1(self.webpackChunkenteropathway=self.webpackChunkenteropathway||[]).push([[179],{26780:(_,k)=>{"use strict";k.N=void 0;var g=/^([^\w]*)(javascript|data|vbscript)/im,b=/&#(\w+)(^\w|;)?/g,S=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,C=/^([^:]+):/gm,w=[".","/"];k.N=function F(N){var B=function L(N){return N.replace(b,function(B,z){return String.fromCharCode(z)})}(N||"").replace(S,"").trim();if(!B)return"about:blank";if(function R(N){return w.indexOf(N[0])>-1}(B))return B;var z=B.match(C);return z&&g.test(z[0])?"about:blank":B}},51184:(_,k,c)=>{"use strict";var g={};c.r(g),c.d(g,{JsonPatchError:()=>Wl,_areEquals:()=>u7,applyOperation:()=>e3,applyPatch:()=>Pp,applyReducer:()=>dye,deepClone:()=>uye,getValueByPointer:()=>c7,validate:()=>YW,validator:()=>ax});var b={};c.r(b),c.d(b,{compare:()=>_ye,generate:()=>Nk,observe:()=>bye,unobserve:()=>yye});var S={};function C(n){return"function"==typeof n}function w(n){const e=n(r=>{Error.call(r),r.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}c.r(S),c.d(S,{cookie:()=>T9e,header:()=>k9e,path:()=>A9e,query:()=>M9e});const R=w(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function L(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class F{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:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:r}=this;if(C(r))try{r()}catch(o){t=o instanceof R?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{z(o)}catch(s){t=t??[],s instanceof R?t=[...t,...s.errors]:t.push(s)}}if(t)throw new R(t)}}add(t){var e;if(t&&t!==this)if(this.closed)z(t);else{if(t instanceof F){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&L(e,t)}remove(t){const{_finalizers:e}=this;e&&L(e,t),t instanceof F&&t._removeParent(this)}}F.EMPTY=(()=>{const n=new F;return n.closed=!0,n})();const N=F.EMPTY;function B(n){return n instanceof F||n&&"closed"in n&&C(n.remove)&&C(n.add)&&C(n.unsubscribe)}function z(n){C(n)?n():n.unsubscribe()}const A={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},M={setTimeout(n,t,...e){const{delegate:r}=M;return r?.setTimeout?r.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=M;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function O(n){M.setTimeout(()=>{const{onUnhandledError:t}=A;if(!t)throw n;t(n)})}function V(){}const W=te("C",void 0,void 0);function te(n,t,e){return{kind:n,value:t,error:e}}let ae=null;function re(n){if(A.useDeprecatedSynchronousErrorHandling){const t=!ae;if(t&&(ae={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:r}=ae;if(ae=null,e)throw r}}else n()}class se extends F{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,B(t)&&t.add(this)):this.destination=at}static create(t,e,r){return new Qe(t,e,r)}next(t){this.isStopped?Ve(function J(n){return te("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ve(function q(n){return te("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ve(W,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 le=Function.prototype.bind;function Y(n,t){return le.call(n,t)}class _e{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(r){We(r)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(r){We(r)}else We(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){We(e)}}}class Qe extends se{constructor(t,e,r){let i;if(super(),C(t)||!t)i={next:t??void 0,error:e??void 0,complete:r??void 0};else{let o;
vendor: 6,971 bytes, line 1
1this&&A.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&Y(t.next,o),error:t.error&&Y(t.error,o),complete:t.complete&&Y(t.complete,o)}):i=t}this.destination=new _e(i)}}function We(n){A.useDeprecatedSynchronousErrorHandling?function oe(n){A.useDeprecatedSynchronousErrorHandling&&ae&&(ae.errorThrown=!0,ae.error=n)}(n):O(n)}function Ve(n,t){const{onStoppedNotification:e}=A;e&&M.setTimeout(()=>e(n,t))}const at={closed:!0,next:V,error:function st(n){throw n},complete:V},vt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sn(n){return n}function Wt(n){return 0===n.length?Sn:1===n.length?n[0]:function(e){return n.reduce((r,i)=>i(r),e)}}let wt=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const r=new n;return r.source=this,r.operator=e,r}subscribe(e,r,i){const o=function tn(n){return n&&n instanceof se||function Yt(n){return n&&C(n.next)&&C(n.error)&&C(n.complete)}(n)&&B(n)}(e)?e:new Qe(e,r,i);return re(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return new(r=ln(r))((i,o)=>{const s=new Qe({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(e){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(e)}[vt](){return this}pipe(...e){return Wt(e)(this)}toPromise(e){return new(e=ln(e))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return n.create=t=>new n(t),n})();function ln(n){var t;return null!==(t=n??A.Promise)&&void 0!==t?t:Promise}const Gt=w(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let nt=(()=>{class n extends wt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const r=new jt(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new Gt}next(e){re(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(e)}})}error(e){re(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){re(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:r,isStopped:i,observers:o}=this;return r||i?N:(this.currentObservers=null,o.push(e),new F(()=>{this.currentObservers=null,L(o,e)}))}_checkFinalizedStatuses(e){const{hasError:r,thrownError:i,isStopped:o}=this;r?e.error(i):o&&e.complete()}asObservable(){const e=new wt;return e.source=this,e}}return n.create=(t,e)=>new jt(t,e),n})();class jt extends nt{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)}error(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:N}}function kn(n){return C(n?.lift)}function Bn(n){return t=>{if(kn(t))return t.lift(function(e){try{return n(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Jn(n,t,e,r,i){return new Pr(n,t,e,r,i)}class Pr extends se{constructor(t,e,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){t.error(l)}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:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function qn(n,t){return Bn((e,r)=>{let i=0;e.subscribe(Jn(r,o=>{r.next(n.call(t,o,i++))}))})}var Dr=function(n,t){return(Dr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])})(n,t)};function ni(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}Dr(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}var oi=function(){return oi=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},oi.apply(this,arguments)};function An(n){return this instanceof An?(this.v=n,this):new An(n)}function bn(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=e.apply(n,t||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(v){r[v]&&(i[v]=function(m){return new Promise(function(x,p){o.push([v,m,x,p])>1||a(v,m)})})}function a(v,m){try{!function l(v){v.value instanceof An?Promise.resolve(v.value.v).then(u,f):h(o[0][2],v)}(r[v](m))}catch(x){h(o[0][3],x)}}function u(v){a("next",v)}function f(v){a("throw",v)}function h(v,m){v(m),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Oe(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function cn(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],r=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}const tt=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Mt(n){return C(n?.then)}function nn(n){return C(n[vt])}function tr(n){return Symbol.asyncIterator&&C(n?.[Symbol.asyncIterator])}function si(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invali
1d object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Nr=function Lr(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ei(n){return C(n?.[Nr])}function Wi(n){return bn(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:r,done:i}=yield An(e.read());if(i)return yield An(void 0);yield yield An(r)}}finally{e.releaseLock()}})}function es(n){return C(n?.getReader)}function Ms(n){if(n instanceof wt)return n;if(null!=n){if(nn(n))return function Ml(n){return new wt(t=>{const e=n[vt]();if(C(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(tt(n))return function va(n){return new wt(t=>{for(let e=0;e<n.length&&!t.closed;e++)t.next(n[e]);t.complete()})}(n);if(Mt(n))return function Oa(n){return new wt(t=>{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,O)})}(n);if(tr(n))return Zl(n);if(Ei(n))return function ya(n){return new wt(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(es(n))return function Ra(n){return Zl(Wi(n))}(n)}throw si(n)}function Zl(n){return new wt(t=>{(function Ea(n,t){var e,r,i,o;return function be(n,t,e,r){return new(e||(e=Promise))(function(o,s){function a(f){try{u(r.next(f))}catch(h){s(h)}}function l(f){try{u(r.throw(f))}catch(h){s(h)}}function u(f){f.done?o(f.value):function i(o){return o instanceof e?o:new e(function(s){s(o)})}(f.value).then(a,l)}u((r=r.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Oe(n);!(r=yield e.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=e.return)&&(yield o.call(e))}finally{if(i)throw i.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function ia(n,t,e,r=0,i=!1){const o=t.schedule(function(){e(),i?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(o),!i)return o}function Ai(n,t,e=1/0){return C(t)?Ai((r,i)=>qn((o,s)=>t(r,o,i,s))(Ms(n(r,i))),e):("number"==typeof t&&(e=t),Bn((r,i)=>function ol(n,t,e,r,i,o,s,a){const l=[];let u=0,f=0,h=!1;const v=()=>{h&&!l.length&&!u&&t.complete()},m=p=>u<r?x(p):l.push(p),x=p=>{o&&t.next(p),u++;let P=!1;Ms(e(p,f++)).subscribe(Jn(t,T=>{i?.(T),o?m(T):t.next(T)},()=>{P=!0},void 0,()=>{if(P)try{for(u--;l.length&&u<r;){const T=l.shift();s?ia(t,s,()=>x(T)):x(T)}v()}catch(T){t.error(T)}}))};return n.subscribe(Jn(t,m,()=>{h=!0,v()})),()=>{a?.()}}(r,i,n,e)))}function Bo(n=1/0){return Ai(Sn,n)}const fi=new wt(n=>n.complete());function Vn(n){return n&&C(n.schedule)}function zn(n){return n[n.length-1]}function yn(n){return C(zn(n))?n.pop():void 0}function sr(n){return Vn(zn(n))?n.pop():void 0}function Xr(n,t=0){return Bn((e,r)=>{e.subscribe(Jn(r,i=>ia(r,n,()=>r.next(i),t),()=>ia(r,n,()=>r.complete(),t),i=>ia(r,n,()=>r.error(i),t)))})}function ds(n,t=0){return Bn((e,r)=>{r.add(n.schedule(()=>e.subscribe(r),t))})}function ts(n,t){if(!n)throw new Error("Iterable cannot be null");return new wt(e=>{ia(e,t,()=>{const r=n[Symbol.asyncIterator]();ia(e,t,()=>{r.next().then(i=>{i.done?e.complete():e.next(i.value)})},0,!0)})})}function gi(n,t){return t?function pi(n,t){if(null!=n){if(nn(n))return function ws(n,t){return Ms(n).pipe(ds(t),Xr(t))}(n,t);if(tt(n))return function Ys(n,t){return new wt(e=>{let r=0;return t.schedule(function(){r===n.length?e.complete():(e.next(n[r++]),e.closed||this.schedule())})})}(n,t);if(Mt(n))return function oa(n,t){return Ms(n).pipe(ds(t),Xr(t))}(n,t);if(tr(n))return ts(n,t);if(Ei(n))return function yr(n,t){return new wt(e=>{let r;return ia(e,t,()=>{r=n[Nr](),ia(e,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void e.error(s)}o?e.complete():e.next(i)},0,!0)}),()=>C(r?.return)&&r.return()})}(n,t);if(es(n))return function ur(n,t){return ts(Wi(n),t)}(n,t)}throw si(n)}(n,t):Ms(n)}function Ui(...n){const t=sr(n),e=function Ii(n,t){return"number"==typeof zn(n)?n.pop():t}(n,1/0),r=n;return r.length?1===r.length?Ms(r[0]):Bo(e)(gi(r,t)):fi}function Os(n={}){const{connector:t=(()=>new nt),resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=n;return o=>{let s,a,l,u=0,f=!1,h=!1;const v=()=>{a?.unsubscribe(),a=void 0},m=()=>{v(),s=l=void 0,f=h=!1},x=()=>{const p=s;m(),p?.unsubscribe()};return Bn((p,P)=>{u++,!h&&!f&&v();const T=l=l??t();P.add(()=>
1{u--,0===u&&!h&&!f&&(a=bc(x,i))}),T.subscribe(P),!s&&u>0&&(s=new Qe({next:H=>T.next(H),error:H=>{h=!0,v(),a=bc(m,e,H),T.error(H)},complete:()=>{f=!0,v(),a=bc(m,r),T.complete()}}),Ms(p).subscribe(s))})(o)}}function bc(n,t,...e){if(!0===t)return void n();if(!1===t)return;const r=new Qe({next:()=>{r.unsubscribe(),n()}});return t(...e).subscribe(r)}function uo(n){for(let t in n)if(n[t]===uo)return t;throw Error("Could not find renamed property on target object.")}function sa(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function fo(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(fo).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function La(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const ku=uo({__forward_ref__:uo});function No(n){return n.__forward_ref__=No,n.toString=function(){return fo(this())},n}function Oi(n){return Tu(n)?n():n}function Tu(n){return"function"==typeof n&&n.hasOwnProperty(ku)&&n.__forward_ref__===No}class ir extends Error{constructor(t,e){super(function Jl(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function vo(n){return"string"==typeof n?n:null==n?"":String(n)}function Co(n,t){throw new ir(-201,!1)}function as(n,t){null==n&&function Ds(n,t,e,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${e} ${r} ${t} <=Actual]`))}(t,n,null,"!=")}function un(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Rn(n){return{providers:n.providers||[],imports:n.imports||[]}}function Zr(n){return vl(n,yl)||vl(n,D2)}function vl(n,t){return n.hasOwnProperty(t)?n[t]:null}function Df(n){return n&&(n.hasOwnProperty(M2)||n.hasOwnProperty(O3))?n[M2]:null}const yl=uo({\u0275prov:uo}),M2=uo({\u0275inj:uo}),D2=uo({ngInjectableDef:uo}),O3=uo({ngInjectorDef:uo});var Ji=(()=>((Ji=Ji||{})[Ji.Default=0]="Default",Ji[Ji.Host=1]="Host",Ji[Ji.Self=2]="Self",Ji[Ji.SkipSelf=4]="SkipSelf",Ji[Ji.Optional=8]="Optional",Ji))();let x4;function eu(n){const t=x4;return x4=n,t}function N0(n,t,e){const r=Zr(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:e&Ji.Optional?null:void 0!==t?t:void Co(fo(n))}function vu(n){return{toString:n}.toString()}var Fc=(()=>((Fc=Fc||{})[Fc.OnPush=0]="OnPush",Fc[Fc.Default=1]="Default",Fc))(),zc=(()=>{return(n=zc||(zc={}
1))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",zc;var n})();const ta=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),m1={},ys=[],xh=uo({\u0275cmp:uo}),ec=uo({\u0275dir:uo}),al=uo({\u0275pipe:uo}),X1=uo({\u0275mod:uo}),bu=uo({\u0275fac:uo}),wd=uo({__NG_ELEMENT_ID__:uo});let F5=0;function Ir(n){return vu(()=>{const e=!0===n.standalone,r={},i={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Fc.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||ys,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||zc.Emulated,id:"c"+F5++,styles:n.styles||ys,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return i.inputs=S4(n.inputs,r),i.outputs=S4(n.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(wh).filter(nu):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(_c).filter(nu):null,i})}function wh(n){return Us(n)||Fl(n)}function nu(n){return null!==n}function Mi(n){return vu(()=>({type:n.type,bootstrap:n.bootstrap||ys,declarations:n.declarations||ys,imports:n.imports||ys,exports:n.exports||ys,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function S4(n,t){if(null==n)return m1;const e={};for(const r in n)if(n.hasOwnProperty(r)){let i=n[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),e[i]=r,t&&(t[i]=o)}return e}const _n=Ir;function Ma(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Us(n){return n[xh]||null}function Fl(n){return n[ec]||null}function _c(n){return n[al]||null}function tc(n,t){const e=n[X1]||null;if(!e&&!0===t)throw new Error(`Type ${fo(n)} does not have '\u0275mod' property.`);return e}const G=22;function Wr(n){return Array.isArray(n)&&"object"==typeof n[1]}function ri(n){return Array.isArray(n)&&!0===n[1]}function So(n){return 0!=(8&n.flags)}function Go(n){return 2==(2&n.flags)}function aa(n){return 1==(1&n.flags)}function ll(n){return null!==n.template}function g1(n){return 0!=(256&n[2])}function Zs(n,t){return n.hasOwnProperty(bu)?n[bu]:null}class oy{constructor(t,e,r){this.previousValue=t,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}}function Hs(){return z5}function z5(n){return n.type.prototype.ngOnChanges&&(n.setInput=ay),sy}function sy(){const n=M4(this),t=n?.current;if(t){const e=n.previous;if(e===m1)n.previous=t;else for(let r in t)e[r]=t[r];n.current=null,this.ngOnChanges(t)}}function ay(n,t,e,r){const i=M4(n)||function z0(n,t){return n[F0]=t}(n,{previous:m1,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[e],l=s[a];o[a]=new oy(l&&l.currentValue,t,s===m1),n[r]=t}Hs.ngInherit=!0;const F0="__ngSimpleChanges__";function M4(n){return n[F0]||null}function _l(n){for(;Array.isArray(n);)n=n[0];return n}function V0(n,t){return _l(t[n])}function y1(n,t){return _l(t[n.index])}function Of(n,t){return n.data[t]}function O2(n,t){return n[t]}function wc(n,t){const e=t[n];return Wr(e)?e:e[0]}function Rf(n){return 64==(64&n[2])}function Zu(n,t){return null==t?null:n[t]}function I4(n){n[18]=0}function H3(n,t){n[5]+=t;let e=n,r=n[3];for(;null!==r&&(1===t&&1===e[5]||-1===t&&0===e[5]);)r[5]+=t,e=r,r=r[3]}const ko={lFrame:U0(null),bindingsEnabled:!0};function Bc(){return ko.bindingsEnabled}function gr(){return ko.lFrame.lView}function To(){return ko.lFrame.tView}function hs(n){return ko.lFrame.contextLView=n,n[8]}function Ss(n){return ko.lFrame.contextLView=null,n}function Bl(){let n=O4();for(;null!==n&&64===n.type;)n=n.parent;return n}function O4(){return ko.lFrame.currentTNode}function b1(n,t){const e=ko.lFrame;e.currentTNode=n,e.isParent=t}function R2(){return ko.lFrame.isParent}function B5(){ko.lFrame.isParent=!1}function Vc(){const n=ko.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function kh(){return ko.lFrame.bindingIndex++}function Lf(n){const t=ko.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function U5(n,t){const e=ko.lFrame;e.bindingIndex=e.bindingRootIndex=n,Z1(t)}function Z1(n){ko.lFrame.currentDirectiveIndex=n}function j0(n){const t=ko.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function j3(){return ko.lFrame.currentQueryIndex}function U3(n){ko.lFrame.currentQueryIndex=n}function ru(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Th(n,t,e){if(e&Ji.SkipSelf){let i=t,o=n;for(;!(i=i.parent,null!==i||e&Ji.Host||(i=ru(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,n=o}const r=ko.lFrame=Ad();return r.currentTNode=t,r.lView=n,!0}function $3(n){const t=Ad(),e=n[1];ko.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Ad(){const n=ko.lFrame,t=null===n?null:n.child;return null===t?U0(n):t}function U0(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,
1selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function J1(){const n=ko.lFrame;return ko.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const $5=J1;function G5(){const n=J1();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Cc(){return ko.lFrame.selectedIndex}function Ju(n){ko.lFrame.selectedIndex=n}function Na(){const n=ko.lFrame;return Of(n.tView,n.selectedIndex)}function Qu(){ko.lFrame.currentNamespace="svg"}function $0(){!function G0(){ko.lFrame.currentNamespace=null}()}function W0(n,t){for(let e=t.directiveStart,r=t.directiveEnd;e<r;e++){const o=n.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:f}=o;s&&(n.contentHooks||(n.contentHooks=[])).push(-e,s),a&&((n.contentHooks||(n.contentHooks=[])).push(e,a),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(e,a)),l&&(n.viewHooks||(n.viewHooks=[])).push(-e,l),u&&((n.viewHooks||(n.viewHooks=[])).push(e,u),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(e,u)),null!=f&&(n.destroyHooks||(n.destroyHooks=[])).push(e,f)}}function L4(n,t,e){q5(n,t,3,e)}function ef(n,t,e,r){(3&n[2])===e&&q5(n,t,e,r)}function Pf(n,t){let e=n[2];(3&e)===t&&(e&=2047,e+=1,n[2]=e)}function q5(n,t,e,r){const o=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&n[18]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(n[18]+=65536),(a<o||-1==o)&&(P4(n,e,t,l),n[18]=(4294901760&n[18])+l+2),l++}function P4(n,t,e,r){const i=e[r]<0,o=e[r+1],a=n[i?-e[r]:e[r]];if(i){if(n[2]>>11<n[18]>>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class q0{constructor(t,e,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=r}}function Ih(n,t,e){let r=0;for(;r<e.length;){const i=e[r];if("number"==typeof i){if(0!==i)break;r++;const o=e[r++],s=e[r++],a=e[r++];n.setAttribute(t,s,a,o)}else{const o=i,s=e[++r];N4(o)?n.setProperty(t,o,s):n.setAttribute(t,o,s),r++}}return r}function X5(n){return 3===n||4===n||6===n}function N4(n){return 64===n.charCodeAt(0)}function F4(n,t){if(null!==t&&0!==t.length)if(null===n||0===n.length)n=t.slice();else{let e=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?e=i:0===e||K0(n,e,i,null,-1===e||2===e?t[++r]:null)}}return n}function K0(n,t,e,r,i){let o=0,s=n.length;if(-1===t)s=-1;else for(;o<n.length;){const a=n[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<n.length;){const a=n[o];if("number"==typeof a)break;if(a===e){if(null===r)return void(null!==i&&(n[o+1]=i));if(r===n[o+1])return void(n[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(n.splice(s,0,t),o=s+1),n.splice(o++,0,e),null!==r&&n.splice(o++,0,r),null!==i&&n.splice(o++,0,i)}function tf(n){return-1!==n}function Nf(n){return 32767&n}function x1(n,t){let e=function z4(n){return n>>16}(n),r=t;for(;e>0;)r=r[15],e--;return r}let B4=!0;function N2(n){const t=B4;return B4=n,t}let Z3=0;const Sc={};function Nu(n,t){const e=Q3(n,t);if(-1!==e)return e;const r=t[1];r.firstCreatePass&&(n.injectorIndex=t.length,J3(r.data,n),J3(t,null),J3(r.blueprint,null));const i=X0(n,t),o=n.injectorIndex;if(tf(i)){const s=Nf(i),a=x1(i,t),l=a[1].data;for(let u=0;u<8;u++)t[o+u]=a[s+u]|l[s+u]}return t[o+8]=i,o}function J3(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Q3(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function X0(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,r=null,i=t;for(;null!==i;){if(r=Td(i),null===r)return-1;if(e++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|e<<16}return-1}function V4(n,t,e){!function Dd(n,t,e){let r;"string"==typeof e?r=e.charCodeAt(0)||0:e.hasOwnProperty(wd)&&(r=e[wd]),null==r&&(r=e[wd]=Z3++);const i=255&r;t.data[n+(i>>5)]|=1<<i}(n,t,e)}function tm(n,t,e){if(e&Ji.Optional||void 0!==n)return n;Co()}function Oh(n,t,e,r){if(e&Ji.Optional&&void 0===r&&(r=null),0==(e&(Ji.Self|Ji.Host))){const i=n[9],o=eu(void 0);try{return i?i.get(t,r,e&Ji.Optional):N0(t,r,e&Ji.Optional)}finally{eu(o)}}return tm(r,0,e)}function nm(n,t,e,r=Ji.Default,i){if(null!==n){if(1024&t[2]){const s=function Rh(n,t,e,r,i){let o=n,s=t;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=Z0(o,s,e,r|Ji.Self,Sc);if(a!==Sc)return a;let l=o.parent;if(!l){const u=s[21];if(u){const f=u.get(e,Sc,r);if(f!==Sc)return f}l=Td(s),s=s[15]}o=l}return i}(n,t,e,r,Sc);if(s!==Sc)return s}const o=Z0(n,t,e,r,Sc);if(o!==Sc)return o}return Oh(t,e,r,i)}function Z0(n,t,e,r,i){const o=function iu(n){if("string"==typeof n)return n.charCo
1deAt(0)||0;const t=n.hasOwnProperty(wd)?n[wd]:void 0;return"number"==typeof t?t>=0?255&t:Fu:t}(e);if("function"==typeof o){if(!Th(t,n,r))return r&Ji.Host?tm(i,0,r):Oh(t,e,r,i);try{const s=o(r);if(null!=s||r&Ji.Optional)return s;Co()}finally{$5()}}else if("number"==typeof o){let s=null,a=Q3(n,t),l=-1,u=r&Ji.Host?t[16][6]:null;for((-1===a||r&Ji.SkipSelf)&&(l=-1===a?X0(n,t):t[a+8],-1!==l&&H4(r,!1)?(s=t[1],a=Nf(l),t=x1(l,t)):a=-1);-1!==a;){const f=t[1];if(Ec(o,a,f.data)){const h=w1(a,t,e,s,r,u);if(h!==Sc)return h}l=t[a+8],-1!==l&&H4(r,t[1].data[a+8]===u)&&Ec(o,a,t)?(s=f,a=Nf(l),t=x1(l,t)):a=-1}}return i}function w1(n,t,e,r,i,o){const s=t[1],a=s.data[n+8],f=kd(a,s,e,null==r?Go(a)&&B4:r!=s&&0!=(3&a.type),i&Ji.Host&&o===a);return null!==f?Fa(t,s,f,a):Sc}function kd(n,t,e,r,i){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,f=o>>20,v=i?a+f:n.directiveEnd;for(let m=r?a:a+f;m<v;m++){const x=s[m];if(m<l&&e===x||m>=l&&x.type===e)return m}if(i){const m=s[l];if(m&&ll(m)&&m.type===e)return l}return null}function Fa(n,t,e,r){let i=n[e];const o=t.data;if(function W3(n){return n instanceof q0}(i)){const s=i;s.resolving&&function di(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new ir(-200,`Circular dependency in DI detected for ${n}${e}`)}(function to(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():vo(n)}(o[e]));const a=N2(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?eu(s.injectImpl):null;Th(n,r,Ji.Default);try{i=n[e]=s.factory(void 0,o,n,r),t.firstCreatePass&&e>=r.directiveStart&&function Md(n,t,e){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=z5(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}i&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,i),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&eu(l),N2(a),s.resolving=!1,$5()}}return i}function Ec(n,t,e){return!!(e[t+(n>>5)]&1<<n)}function H4(n,t){return!(n&Ji.Self||n&Ji.Host&&t)}class Ff{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,r){return nm(this._tNode,this._lView,t,r,e)}}function Fu(){return new Ff(Bl(),gr())}function qr(n){return vu(()=>{const t=n.prototype.constructor,e=t[bu]||j4(t),r=Object.prototype;let i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==r;){const o=i[bu]||j4(i);if(o&&o!==e)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function j4(n){return Tu(n)?()=>{const t=j4(Oi(n));return t&&t()}:Zs(n)}function Td(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Xa(n){return function em(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const r=e.length;let i=0;for(;i<r;){const o=e[i];if(X5(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof e[i];)i++;else{if(o===t)return e[i+1];i+=2}}}return null}(Bl(),n)}const Bf="__parameters__";function Vf(n,t,e){return vu(()=>{const r=function rm(n){return function(...e){if(n){const r=n(...e);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,u,f){const h=l.hasOwnProperty(Bf)?l[Bf]:Object.defineProperty(l,Bf,{value:[]})[Bf];for(;h.length<=f;)h.push(null);return(h[f]=h[f]||[]).push(s),l}}return e&&(i.prototype=Object.create(e.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}class or{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=un({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function e1(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let r=n[e];Array.isArray(r)?(t===n&&(t=n.slice(0,e)),e1(r,t)):t!==n&&t.push(r)}return t}function F2(n,t){n.forEach(e=>Array.isArray(e)?F2(e,t):t(e))}function C1(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Hc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function J0(n,t){const e=[];for(let r=0;r<n;r++)e.push(t);return e}function _u(n,t,e){let r=z2(n,t);return r>=0?n[1|r]=e:(r=~r,function t8(n,t,e,r){let i=n.length;if(i==t)n.push(e,r);else if(1===i)n.push(r,n[0]),n[0]=e;else{for(i--,n.push(n[i-1],n[i]);i>t;)n[i]=n[i-2],i--;
1n[t]=e,n[t+1]=r}}(n,r,t,e)),r}function im(n,t){const e=z2(n,t);if(e>=0)return n[1|e]}function z2(n,t){return function r8(n,t,e){let r=0,i=n.length>>e;for(;i!==r;){const o=r+(i-r>>1),s=n[o<<e];if(t===s)return o<<e;s>t?i=o:r=o+1}return~(i<<e)}(n,t,1)}const ep={},Nh="__NG_DI_FLAG__",sm="ngTempTokenPath",o8=/\n/gm,Cy="__source";let tp;function Fh(n){const t=tp;return tp=n,t}function cC(n,t=Ji.Default){if(void 0===tp)throw new ir(-203,!1);return null===tp?N0(n,void 0,t):tp.get(n,t&Ji.Optional?null:void 0,t)}function qt(n,t=Ji.Default){return(function R3(){return x4}()||cC)(Oi(n),t)}function la(n,t=Ji.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),qt(n,t)}function am(n){const t=[];for(let e=0;e<n.length;e++){const r=Oi(n[e]);if(Array.isArray(r)){if(0===r.length)throw new ir(900,!1);let i,o=Ji.Default;for(let s=0;s<r.length;s++){const a=r[s],l=Ey(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}t.push(qt(i,o))}else t.push(qt(r))}return t}function np(n,t){return n[Nh]=t,n.prototype[Nh]=t,n}function Ey(n){return n[Nh]}const S1=np(Vf("Optional"),8),Hf=np(Vf("SkipSelf"),4);let E1,Rd,Hh;function Ld(n){var t;return(null===(t=function K4(){if(void 0===Rd&&(Rd=null,ta.trustedTypes))try{Rd=ta.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Rd}())||void 0===t?void 0:t.createHTML(n))||n}function Z4(n){var t;return(null===(t=function nf(){if(void 0===Hh&&(Hh=null,ta.trustedTypes))try{Hh=ta.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Hh}())||void 0===t?void 0:t.createHTML(n))||n}class oc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Pd extends oc{getTypeName(){return"HTML"}}class Nd extends oc{getTypeName(){return"Style"}}class fm extends oc{getTypeName(){return"Script"}}class A1 extends oc{getTypeName(){return"URL"}}class Ry extends oc{getTypeName(){return"ResourceURL"}}function Mc(n){return n instanceof oc?n.changingThisBreaksApplicationSecurity:n}function M1(n,t){const e=function uC(n){return n instanceof oc&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}class Ny{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Ld(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class Q4{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const r=this.inertDocument.createElement("body");e.appendChild(r)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Ld(t),e;const r=this.inertDocument.createElement("body");return r.innerHTML=Ld(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const s=e.item(i).name;("xmlns:ns1"===s||0===s.indexOf("ns1:"))&&t.removeAttribute(s)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const dC=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function e6(n){return(n=String(n)).match(dC)?n:"unsafe:"+n}function jf(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function rf(...n){const t={};for(const e of n)for(const r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}const Fy=jf("area,br,col,hr,img,wbr"),zy=jf("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),H2=jf("rp,rt"),hm=rf(Fy,rf(zy,jf("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")),rf(H2,jf("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")),rf(H2,zy)),Uf=jf("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),d8=rf(Uf,jf("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"),jf("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")),pC=jf("script,style,template");class D1{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,r=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!hm.hasOwnProperty(e))return this.sanitizedSomething=!0,!pC.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!d8.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Uf[a]&&(l=e6(l)),this.buf.push(" ",s,'="',j2(l),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();hm.hasOwnProperty(e)&&!Fy.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(j2(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const h8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mC=/([^\#-~ |!])/g;function j2(n){return n.replace(/&/g,"&").replace(h8,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(mC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let jh;function Uh(n,t){let e=null;try{jh=jh||function f8(n){const t=new Q4(n);return function fC(){try{return!!(new window.DOMParser).parseFromString(Ld(""),"text/html")}catch{return!1}}()?new Ny(t):t}(n);let r=t?String(t):"";e=jh.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=e.innerHTML,e=jh.getInertBodyElement(r)}while(r!==o);return Ld((new D1).sanitizeChildren(t6(e)||e))}finally{if(e){const r=t6(e)||e;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function t6(n){return"content"in n&&function p8(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Fs=(()=>((Fs=Fs||{})[Fs.NONE=0]="NONE",Fs[Fs.HTML=1]="HTML",Fs[Fs.STYLE=2]="STYLE",Fs[Fs.SCRIPT=3]="SCRIPT",Fs[Fs.URL=4]="URL",Fs[Fs.RESOURCE_URL=5]="RESOURCE_URL",Fs))();function n6(n){const t=lp();return t?Z4(t.sanitize(Fs.HTML,n)||""):M1(n,"HTML")?Z4(Mc(n)):Uh(function op(){return void 0!==E1?E1:typeof document<"u"?document:void 0}(),vo(n))}function jc(n){const t=lp();return t?t.sanitize(Fs.URL,n)||"":M1(n,"URL")?Mc(n):e6(vo(n))}function lp(){const n=gr();return n&&n[12]}const y8=new or("ENVIRONMENT_INITIALIZER"),cp=new or("INJECTOR",-1),Vy=new or("INJECTOR_DEF_TYPES");class i6{get(t,e=ep){if(e===ep){const r=new Error(`NullInjectorError: No provider for ${fo(t)}!`);throw r.name="NullInjectorError",r}return e}}function d(...n){return{\u0275providers:y(0,n)}}function y(n,...t){const e=[],r=new Set;let i;return F2(t,o=>{const s=o;$(s,e,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&E(i,e),e}function E(n,t){for(let e=0;e<n.length;e++){const{providers:i}=n[e];F2(i,o=>{t.push(o)})}}function $(n,t,e,r){if(!(n=Oi(n)))return!1;let i=null,o=Df(n);const s=!o&&Us(n);if(o||s){if(s&&!s.standalone)return!1;i=n}else{const l=n.ngModule;if(o=Df(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)$(u,t,e,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let u;r.add(i);try{F2(o.imports,f=>{$(f,t,e,r)&&(u||(u=[]),u.push(f))})}finally{}void 0!==u&&E(u,t)}if(!a){const u=Zs(i)||(()=>new i);t.push({provide:i,useFactory:u,deps:ys},{provide:Vy,useValue:i,multi:!0},{provide:y8,useValue:()=>qt(i),multi:!0})}const l=o.providers;null==l||a||F2(l,f=>{t.push(f)})}}return i!==n&&void 0!==n.providers}const ke=uo({provide:String,useValue:uo});function et(n){return null!==n&&"object"==typeof n&&ke in n}function Wn(n){return"function"==typeof n}const Io=new or("Set Injector scope."),Ar={},Yi={};let Mo;function ho(){return void 0===Mo&&(Mo=new i6),Mo}class Dn{}class fn extends Dn{constructor(t,e,r,i){super(),this.parent=e,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,b8(t,s=>this.processProvider(s)),this.records.set(cp,Ci(void 0,this)),i.has("environment")&&this.records.set(Dn,Ci(void 0,this));const o=this.records.get(Io);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Vy.multi,ys,Ji.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}
1runInContext(t){this.assertNotDestroyed();const e=Fh(this),r=eu(void 0);try{return t()}finally{Fh(e),eu(r)}}get(t,e=ep,r=Ji.Default){this.assertNotDestroyed();const i=Fh(this),o=eu(void 0);try{if(!(r&Ji.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function Xo(n){return"function"==typeof n||"object"==typeof n&&n instanceof or}(t)&&Zr(t);a=l&&this.injectableDefInScope(l)?Ci(Mn(t),Ar):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&Ji.Self?ho():this.parent).get(t,e=r&Ji.Optional&&e===ep?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[sm]=s[sm]||[]).unshift(fo(t)),i)throw s;return function Ay(n,t,e,r){const i=n[sm];throw t[Cy]&&i.unshift(t[Cy]),n.message=function My(n,t,e,r=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let i=fo(t);if(Array.isArray(t))i=t.map(fo).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):fo(a)))}i=`{${o.join(", ")}}`}return`${e}${r?"("+r+")":""}[${i}]: ${n.replace(o8,"\n ")}`}("\n"+n.message,i,e,r),n.ngTokenPath=i,n[sm]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{eu(o),Fh(i)}}resolveInjectorInitializers(){const t=Fh(this),e=eu(void 0);try{const r=this.get(y8.multi,ys,Ji.Self);for(const i of r)i()}finally{Fh(t),eu(e)}}toString(){const t=[],e=this.records;for(const r of e.keys())t.push(fo(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ir(205,!1)}processProvider(t){let e=Wn(t=Oi(t))?t:Oi(t&&t.provide);const r=function br(n){return et(n)?Ci(void 0,n.useValue):Ci(Ho(n),Ar)}(t);if(Wn(t)||!0!==t.multi)this.records.get(e);else{let i=this.records.get(e);i||(i=Ci(void 0,Ar,!0),i.factory=()=>am(i.multi),this.records.set(e,i)),e=t,i.multi.push(t)}this.records.set(e,r)}hydrate(t,e){return e.value===Ar&&(e.value=Yi,e.value=e.factory()),"object"==typeof e.value&&e.value&&function _s(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Oi(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Mn(n){const t=Zr(n),e=null!==t?t.factory:Zs(n);if(null!==e)return e;if(n instanceof or)throw new ir(204,!1);if(n instanceof Function)return function fr(n){const t=n.length;if(t>0)throw J0(t,"?"),new ir(204,!1);const e=function Ka(n){const t=n&&(n[yl]||n[D2]);if(t){const e=function ea(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new ir(204,!1)}function Ho(n,t,e){let r;if(Wn(n)){const i=Oi(n);return Zs(i)||Mn(i)}if(et(n))r=()=>Oi(n.useValue);else if(function Jt(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...am(n.deps||[]));else if(function St(n){return!(!n||!n.useExisting)}(n))r=()=>qt(Oi(n.useExisting));else{const i=Oi(n&&(n.useClass||n.provide));if(!function Wo(n){return!!n.deps}(n))return Zs(i)||Mn(i);r=()=>new i(...am(n.deps))}return r}function Ci(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Fd(n){return!!n.\u0275providers}function b8(n,t){for(const e of n)Array.isArray(e)?b8(e,t):Fd(e)?b8(e.\u0275providers,t):t(e)}class sR{}class dJ{resolveComponentFactory(t){throw function fJ(n){const t=Error(`No component factory found for ${fo(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let o6=(()=>{class n{}return n.NULL=new dJ,n})();function hJ(){return mm(Bl(),gr())}function mm(n,t){return new Jr(y1(n,t))}let Jr=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=hJ,n})();function pJ(n){return n instanceof Jr?n.nativeElement:n}class _8{}let k1=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function mJ(){const n=gr(),e=wc(Bl().index,n);return(Wr(e)?e:n)[11]}(),n})(),gJ=(()=>{class n{}return n.\u0275prov=un({token:n,providedIn:"root",factory:()=>null}),n})();class up{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const vJ=new up("14.2.9"),yC={};function CC(n){return n.ngOriginalError}class $h{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&CC(t);for(;e&&CC(e);)e=CC(e);return e||null}}const SC=new Map;let kJ=0;const AC="__ngContext__";function zu(n,t){Wr(t)?(n[AC]=t[20],function IJ(n){SC.set(n[20],n)}(t)):n[AC]=t}function Gh(n){return n instanceof Function?n():n}var T1=(()=>((T1=T1||{})[T1.Important=1]="Important",T1[T1.DashCase=2]="DashCase",T1))();function DC(n,t){return undefined(n,t)}function w8(n){const t=n[3];return ri(t)?t[3]:t}function kC(n){return xR(n[13])}function TC(n){return xR(n[4])}function xR(n){for(;null!==n&&!ri(n);)n=n[4];return n}function vm(n,t,e,r,i){if(null!=r){let o,s=!1;ri(r)?o=r:Wr(r)&&(s=!0,r=r[0]);const a=_l(r);0===n&&null!==e?null==i?MR(t,e,a):s6(t,e,a,i||null,!0):1===n&&null!==e?s6(t,e,a,i||null,!0):2===n?function LR(n,t,e){const r=Hy(n,t);r&&function iQ(n,t,e,r){n.removeChild(t,e,r)}(n,r,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function aQ(n,t,e,r,i){const o=e[7];o!==_l(e)&&vm(t,n,r,o,i);for(let a=10;a<e.length;a++){const l=e[a];C8(l[1],l,n,t,r,o)}}(t,n,o,e,i)}}function OC(n,t,e){return n.createElement(t,e)}function CR(n,t){const e=n[9],r=e.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,H3(i,-1)),e.splice(r,1)}function RC(n,t){if(n.length<=10)return;const e=10+t,r=n[e];if(r){const i=r[17];null!==i&&i!==n&&CR(i,r),t>0&&(n[e-1][4]=r[4]);const o=Hc(n,10+t);!function XJ(n,t){C8(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}
vendor: 3,350 bytes, line 1
1function SR(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&C8(n,t,e,3,null,null),function QJ(n){let t=n[13];if(!t)return LC(n[1],n);for(;t;){let e=null;if(Wr(t))e=t[13];else{const r=t[10];r&&(e=r)}if(!e){for(;t&&!t[4]&&t!==n;)Wr(t)&&LC(t[1],t),t=t[3];null===t&&(t=n),Wr(t)&&LC(t[1],t),e=t&&t[4]}t=e}}(t)}}function LC(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function rQ(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let r=0;r<e.length;r+=2){const i=t[e[r]];if(!(i instanceof q0)){const o=e[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(i)}finally{}}}}(n,t),function nQ(n,t){const e=n.cleanup,r=t[7];let i=-1;if(null!==e)for(let o=0;o<e.length-1;o+=2)if("string"==typeof e[o]){const s=e[o+1],a="function"==typeof s?s(t):_l(t[s]),l=r[i=e[o+2]],u=e[o+3];"boolean"==typeof u?a.removeEventListener(e[o],l,u):u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const s=r[i=e[o+1]];e[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();t[7]=null}}(n,t),1===t[1].type&&t[11].destroy();const e=t[17];if(null!==e&&ri(t[3])){e!==t[3]&&CR(e,t);const r=t[19];null!==r&&r.detachView(n)}!function OJ(n){SC.delete(n[20])}(t)}}function ER(n,t,e){return function AR(n,t,e){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return e[0];if(2&r.flags){const i=n.data[r.directiveStart].encapsulation;if(i===zc.None||i===zc.Emulated)return null}return y1(r,e)}(n,t.parent,e)}function s6(n,t,e,r,i){n.insertBefore(t,e,r,i)}function MR(n,t,e){n.appendChild(t,e)}function DR(n,t,e,r,i){null!==r?s6(n,t,e,r,i):MR(n,t,e)}function Hy(n,t){return n.parentNode(t)}function kR(n,t,e){return IR(n,t,e)}let IR=function TR(n,t,e){return 40&n.type?y1(n,e):null};function jy(n,t,e,r){const i=ER(n,r,t),o=t[11],a=kR(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(e))for(let l=0;l<e.length;l++)DR(o,i,e[l],a,!1);else DR(o,i,e,a,!1)}function Uy(n,t){if(null!==t){const e=t.type;if(3&e)return y1(t,n);if(4&e)return NC(-1,n[t.index]);if(8&e){const r=t.child;if(null!==r)return Uy(n,r);{const i=n[t.index];return ri(i)?NC(-1,i):_l(i)}}if(32&e)return DC(t,n)()||_l(n[t.index]);{const r=RR(n,t);return null!==r?Array.isArray(r)?r[0]:Uy(w8(n[16]),r):Uy(n,t.next)}}return null}function RR(n,t){return null!==t?n[16][6].projection[t.projection]:null}function NC(n,t){const e=10+n+1;if(e<t.length){const r=t[e],i=r[1].firstChild;if(null!==i)return Uy(r,i)}return t[7]}function FC(n,t,e,r,i,o,s){for(;null!=e;){const a=r[e.index],l=e.type;if(s&&0===t&&(a&&zu(_l(a),r),e.flags|=4),64!=(64&e.flags))if(8&l)FC(n,t,e.child,r,i,o,!1),vm(t,n,i,a,o);else if(32&l){const u=DC(e,r);let f;for(;f=u();)vm(t,n,i,f,o);vm(t,n,i,a,o)}else 16&l?PR(n,t,r,e,i,o):vm(t,n,i,a,o);e=s?e.projectionNext:e.next}}function C8(n,t,e,r,i,o){FC(e,r,n.firstChild,t,i,o,!1)}function PR(n,t,e,r,i,o){const s=e[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)vm(t,n,i,l[u],o);else FC(n,t,l,s[3],i,o,!0)}function NR(n,t,e){n.setAttribute(t,"style",e)}function zC(n,t,e){""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}function FR(n,t,e){let r=n.length;for(;;){const i=n.indexOf(t,e);if(-1===i)return i;if(0===i||n.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||n.charCodeAt(i+o)<=32)return i}e=i+1}}const zR="ng-template";function cQ(n,t,e){let r=0;for(;r<n.length;){let i=n[r++];
1if(e&&"class"===i){if(i=n[r],-1!==FR(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<n.length&&"string"==typeof(i=n[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function BR(n){return 4===n.type&&n.value!==zR}function uQ(n,t,e){return t===(4!==n.type||e?n.value:zR)}function fQ(n,t,e){let r=4;const i=n.attrs||[],o=function pQ(n){for(let t=0;t<n.length;t++)if(X5(n[t]))return t;return n.length}(i);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!uQ(n,l,e)||""===l&&1===t.length){if(U2(r))return!1;s=!0}}else{const u=8&r?l:t[++a];if(8&r&&null!==n.attrs){if(!cQ(n.attrs,u,e)){if(U2(r))return!1;s=!0}continue}const h=dQ(8&r?"class":l,i,BR(n),e);if(-1===h){if(U2(r))return!1;s=!0;continue}if(""!==u){let v;v=h>o?"":i[h+1].toLowerCase();const m=8&r?v:null;if(m&&-1!==FR(m,u,0)||2&r&&u!==v){if(U2(r))return!1;s=!0}}}}else{if(!s&&!U2(r)&&!U2(l))return!1;if(s&&U2(l))continue;s=!1,r=l|1&r}}return U2(r)||s}function U2(n){return 0==(1&n)}function dQ(n,t,e,r){if(null===t)return-1;let i=0;if(r||!e){let o=!1;for(;i<t.length;){const s=t[i];if(s===n)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function mQ(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){const r=n[e];if("number"==typeof r)return-1;if(r===t)return e;e++}return-1}(t,n)}function VR(n,t,e=!1){for(let r=0;r<t.length;r++)if(fQ(n,t[r],e))return!0;return!1}function gQ(n,t){e:for(let e=0;e<t.length;e++){const r=t[e];if(n.length===r.length){for(let i=0;i<n.length;i++)if(n[i]!==r[i])continue e;return!0}}return!1}function HR(n,t){return n?":not("+t.trim()+")":t}function vQ(n){let t=n[0],e=1,r=2,i="",o=!1;for(;e<n.length;){let s=n[e];if("string"==typeof s)if(2&r){const a=n[++e];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!U2(s)&&(t+=HR(o,i),i=""),r=s,o=o||!U2(r);e++}return""!==i&&(t+=HR(o,i)),t}const Zo={};function ct(n){jR(To(),gr(),Cc()+n,!1)}function jR(n,t,e,r){if(!r)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&L4(t,o,e)}else{const o=n.preOrderHooks;null!==o&&ef(t,o,0,e)}Ju(e)}function WR(n,t=null,e=null,r){const i=qR(n,t,e,r);return i.resolveInjectorInitializers(),i}function qR(n,t=null,e=null,r,i=new Set){const o=[e||ys,d(n)];return r=r||("object"==typeof n?void 0:fo(n)),new fn(o,t||ho(),r||null,i)}let Dc=(()=>{class n{static create(e,r){if(Array.isArray(e))return WR({name:""},r,e,"");{var i;const o=null!==(i=e.name)&&void 0!==i?i:"";return WR({name:o},e.parent,e.providers,o)}}}return n.THROW_IF_NOT_FOUND=ep,n.NULL=new i6,n.\u0275prov=un({token:n,providedIn:"any",factory:()=>qt(cp)}),n.__NG_ELEMENT_ID__=-1,n})();function he(n,t=Ji.Default){const e=gr();return null===e?qt(n,t):nm(Bl(),e,Oi(n),t)}function $2(){throw new Error("invalid")}function Gy(n,t){return n<<17|t<<2}function G2(n){return n>>17&32767}function UC(n){return 2|n}function Wh(n){return(131068&n)>>2}function $C(n,t){return-131069&n|t<<2}function GC(n){return 1|n}function uL(n,t){const e=n.contentQueries;if(null!==e)for(let r=0;r<e.length;r+=2){const i=e[r],o=e[r+1];if(-1!==o){const s=n.data[o];U3(i),s.contentQueries(2,t[o],o)}}}function Yy(n,t,e,r,i,o,s,a,l,u,f){const h=t.blueprint.slice();return h[0]=i,h[2]=76|r,(null!==f||n&&1024&n[2])&&(h[2]|=1024),I4(h),h[3]=h[15]=n,h[8]=e,h[10]=s||n&&n[10],h[11]=a||n&&n[11],h[12]=l||n&&n[12]||null,h[9]=u||n&&n[9]||null,h[6]=o,h[20]=function TJ(){return kJ++}(),h[21]=f,h[16]=2==t.type?n[16]:h,h}function bm(n,t,e,r,i){let o=n.data[t];if(null===o)o=function QC(n,t,e,r,i){const o=O4(),s=R2(),l=n.data[t]=function QQ(n,t,e,r,i,o){return{type:e,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,e,t,r,i);return null===n.firstChild&&(n.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(n,t,e,r,i),function dy(){return ko.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=e,o.value=r,o.attrs=i;const s=function H0(){const n=ko.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return b1(o,!0),o}function _m(n,t,e,r){if(0===e)return-1;const i=t.length;for(let o=0;o<e;o++)t.push(r),n.blueprint.push(r),n.data.push(null);return i}function eS(n,t,e){$3(t);try{const r=n.viewQuery;null!==r&&lS(1,r,e);const i=n.template;null!==i&&fL(n,t,i,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&uL(n,t),n.staticViewQueries&&lS(2,n.viewQuery,e);const o=n.components;null!==o&&function XQ(n,t){for(let e=0;e<t.length;e++)mee(n,t[e])}(t,o)}catch(r){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),r}finally{t[2]&=-5,G5()}}function Ky(n,t,e,r){const i=t[2];if(128!=(128&i)){$3(t);try{I4(t),function R4(n){return ko.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&fL(n,t,e,2,r);const s=3==(3&i);if(s){const u=n.preOrderCheckHooks;null!==u&&L4(t,u,null)}else{const u=n.preOrderHooks;null!==u&&ef(t,u,0,null),Pf(t,0)}if(function hee(n){for(let t=kC(n);null!==t;t=TC(t)){if(!t[2])continue;const e=t[9];for(let r=0;r<e.length;r++){const i=e[r],o=i[3];0==(512&i[2])&&H3(o,1),i[2]|=512}}}(t),function dee(n){for(let t=kC(n);null!==t;t=TC(t))for(let e=10;e<t.length;e++){const r=t[e],i=r[1];Rf(r)&&Ky(i,r,i.template,r[8])}}(t),null!==n.contentQueries&&uL(n,t),s){const u=n.contentCheckHooks;null!==u&&L4(t,u)}else{const u=n.contentHooks;null!==u&&ef(t,u,1),Pf(t,1)}!function YQ(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let r=0;r<e.length;r++){const i=e[r];if(i<0)Ju(~i);else{const o=i,s=e[++r],a=e[++r];U5(s,o),a(2,t[o])}}}finally{Ju(-1)}}(n,t);const a=n.components;null!==a&&function KQ(n,t){for(let e=0;e<t.length;e++)pee(n,t[e])}(t,a);const l=n.viewQuery;if(null!==l&&lS(2,l,r),s){const u=n.viewCheckHooks;null!==u&&L4(t,u)}else{const u=n.viewHooks;null!==u&&ef(t,u,2),Pf(t,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,H3(t[3],-1))}finally{G5()}}}function fL(n,t,e,r,i){const o=Cc(),s=2&r;try{Ju(-1),s&&t.length>G&&jR(n,t,G,!1),e(r,i)}finally{Ju(o)}}function dL(n,t,e){if(So(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const s=n.data[o];s.contentQueries&&s.contentQueries(1,e[o],o)}}}function tS(n,t,e){!Bc()||(function iee(n,t,e,r){const i=e.directiveStart,o=e.directiveEnd;n.firstCreatePass||Nu(e,t),zu(r,t);const s=e.initialInputs;for(let a=i;a<o;a++){const l=n.data[a],u=ll(l);u&&cee(t,e,l);const f=Fa(t,n,a,e);zu(f,t),null!==s&&uee(0,a-i,f,l,0,s),u&&(wc(e.index,t)[8]=f)}}(n,t,e,y1(e,t)),128==(128&e.flags)&&function oee(n,t,e){const r=e.directiveStart,i=e.directiveEnd,o=e.index,s=function Xw(){return ko.lFrame.currentDirectiveIndex}();try{Ju(o);for(let a=r;a<i;a++){const l=n.data[a],u=t[a];Z1(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&bL(l,u)}}finally{Ju(-1),Z1(s)}}(n,t,e))}function nS(n,t,e=y1){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?e(t,n):n[s];n[i++]=a}}}function hL(n){const t=n.tView;
1return null===t||t.incompleteFirstPass?n.tView=rS(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):t}function rS(n,t,e,r,i,o,s,a,l,u){const f=G+r,h=f+i,v=function ZQ(n,t){const e=[];for(let r=0;r<t;r++)e.push(r<n?null:Zo);return e}(f,h),m="function"==typeof u?u():u;return v[1]={type:n,blueprint:v,template:e,queries:null,viewQuery:a,declTNode:t,data:v.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:h,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1}}function pL(n,t,e,r){const i=SL(t);null===e?i.push(r):(i.push(e),n.firstCreatePass&&EL(n).push(r,i.length-1))}function mL(n,t,e){for(let r in n)if(n.hasOwnProperty(r)){const i=n[r];(e=null===e?{}:e).hasOwnProperty(r)?e[r].push(t,i):e[r]=[t,i]}return e}function gL(n,t){const r=t.directiveEnd,i=n.data,o=t.attrs,s=[];let a=null,l=null;for(let u=t.directiveStart;u<r;u++){const f=i[u],h=f.inputs,v=null===o||BR(t)?null:fee(h,o);s.push(v),a=mL(h,u,a),l=mL(f.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=l}function sf(n,t,e,r,i,o,s,a){const l=y1(t,e);let f,u=t.inputs;!a&&null!=u&&(f=u[r])?(cS(n,e,f,r,i),Go(t)&&vL(e,t.index)):3&t.type&&(r=function eee(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(r),i=null!=s?s(i,t.value||"",r):i,o.setProperty(l,r,i))}function vL(n,t){const e=wc(t,n);16&e[2]||(e[2]|=32)}function iS(n,t,e,r){let i=!1;if(Bc()){const o=function see(n,t,e){const r=n.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];VR(e,s.selectors,!1)&&(i||(i=[]),V4(Nu(e,t),n,s.type),ll(s)?(_L(n,e),i.unshift(s)):i.push(s))}return i}(n,t,e),s=null===r?null:{"":-1};if(null!==o){i=!0,xL(e,n.data.length,o.length);for(let f=0;f<o.length;f++){const h=o[f];h.providersResolver&&h.providersResolver(h)}let a=!1,l=!1,u=_m(n,t,o.length,null);for(let f=0;f<o.length;f++){const h=o[f];e.mergedAttrs=F4(e.mergedAttrs,h.hostAttrs),wL(n,e,t,u,h),lee(u,h,s),null!==h.contentQueries&&(e.flags|=8),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(e.flags|=128);const v=h.type.prototype;!a&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e.index),a=!0),!l&&(v.ngOnChanges||v.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e.index),l=!0),u++}gL(n,e)}s&&function aee(n,t,e){if(t){const r=n.localNames=[];for(let i=0;i<t.length;i+=2){const o=e[t[i+1]];if(null==o)throw new ir(-301,!1);r.push(t[i],o)}}}(e,r,s)}return e.mergedAttrs=F4(e.mergedAttrs,e.attrs),i}function yL(n,t,e,r,i,o){const s=o.hostBindings;if(s){let a=n.hostBindingOpCodes;null===a&&(a=n.hostBindingOpCodes=[]);const l=~t.index;(function ree(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(r,i,s)}}function bL(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function _L(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function lee(n,t,e){if(e){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)e[t.exportAs[r]]=n;ll(t)&&(e[""]=n)}}function xL(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}function wL(n,t,e,r,i){n.data[r]=i;const o=i.factory||(i.factory=Zs(i.type)),s=new q0(o,ll(i),he);n.blueprint[r]=s,e[r]=s,yL(n,t,0,r,_m(n,e,i.hostVars,Zo),i)}function cee(n,t,e){const r=y1(t,n),i=hL(e),o=n[10],s=Xy(n,Yy(n,i,null,e.onPush?32:16,r,t,o,o.createRenderer(r,e),null,
1null,null));n[t.index]=s}function zd(n,t,e,r,i,o){const s=y1(n,t);!function oS(n,t,e,r,i,o,s){if(null==o)n.removeAttribute(t,i,e);else{const a=null==s?vo(o):s(o,r||"",i);n.setAttribute(t,i,a,e)}}(t[11],s,o,n.value,e,r,i)}function uee(n,t,e,r,i,o){const s=o[t];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const u=s[l++],f=s[l++],h=s[l++];null!==a?r.setInput(e,h,u,f):e[f]=h}}}function fee(n,t){let e=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;n.hasOwnProperty(i)&&(null===e&&(e=[]),e.push(i,n[i],t[r+1])),r+=2}else r+=2;else r+=4}return e}function CL(n,t,e,r){return new Array(n,!0,!1,t,null,0,r,e,null,null)}function pee(n,t){const e=wc(t,n);if(Rf(e)){const r=e[1];48&e[2]?Ky(r,e,r.template,e[8]):e[5]>0&&sS(e)}}function sS(n){for(let r=kC(n);null!==r;r=TC(r))for(let i=10;i<r.length;i++){const o=r[i];if(Rf(o))if(512&o[2]){const s=o[1];Ky(s,o,s.template,o[8])}else o[5]>0&&sS(o)}const e=n[1].components;if(null!==e)for(let r=0;r<e.length;r++){const i=wc(e[r],n);Rf(i)&&i[5]>0&&sS(i)}}function mee(n,t){const e=wc(t,n),r=e[1];(function gee(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])})(r,e),eS(r,e,e[8])}function Xy(n,t){return n[13]?n[14][4]=t:n[13]=t,n[14]=t,t}function aS(n){for(;n;){n[2]|=32;const t=w8(n);if(g1(n)&&!t)return n;n=t}return null}function Zy(n,t,e,r=!0){const i=t[10];i.begin&&i.begin();try{Ky(n,t,n.template,e)}catch(s){throw r&&ML(t,s),s}finally{i.end&&i.end()}}function lS(n,t,e){U3(0),t(n,e)}function SL(n){return n[7]||(n[7]=[])}function EL(n){return n.cleanup||(n.cleanup=[])}function AL(n,t,e){return(null===n||ll(n))&&(e=function B0(n){for(;Array.isArray(n);){if("object"==typeof n[1])return n;n=n[0]}return null}(e[t.index])),e[11]}function ML(n,t){const e=n[9],r=e?e.get($h,null):null;r&&r.handleError(t)}function cS(n,t,e,r,i){for(let o=0;o<e.length;){const s=e[o++],a=e[o++],l=t[s],u=n.data[s];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}function qh(n,t,e){const r=V0(t,n);!function wR(n,t,e){n.setValue(t,e)}(n[11],r,e)}function Jy(n,t,e){let r=e?n.styles:null,i=e?n.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=La(i,a):2==o&&(r=La(r,a+": "+t[++s]+";"))}e?n.styles=r:n.stylesWithoutHost=r,e?n.classes=i:n.classesWithoutHost=i}function Qy(n,t,e,r,i=!1){for(;null!==e;){const o=t[e.index];if(null!==o&&r.push(_l(o)),ri(o))for(let a=10;a<o.length;a++){const l=o[a],u=l[1].firstChild;null!==u&&Qy(l[1],l,u,r)}const s=e.type;if(8&s)Qy(n,t,e.child,r);else if(32&s){const a=DC(e,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=RR(t,e);if(Array.isArray(a))r.push(...a);else{const l=w8(t[16]);Qy(l[1],l,a,r,!0)}}e=i?e.projectionNext:e.next}return r}class S8{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Qy(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ri(t)){const e=t[8],r=e?e.indexOf(this):-1;r>-1&&(RC(t,r),Hc(e,r))}this._attachedToViewContainer=!1}SR(this._lView[1],this._lView)}onDestroy(t){pL(this._lView[1],this._lView,null,t)}markForCheck(){aS(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Zy(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ir(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function JJ(n,t){C8(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ir(902,!1);this._appRef=t}}class vee extends S8{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Zy(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class uS extends o6{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Us(t);return new E8(e,this.ngModule)}}function DL(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class bee{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,r){const i=this.injector.get(t,yC,r);return i!==yC||e===yC?i:this.parentInjector.get(t,e,r)}}class E8 extends sR{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function yQ(n){return n.map(vQ).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return DL(this.componentDef.inputs)}get outputs(){return DL(this.componentDef.outputs)}create(t,e,r,i){var o;let s=(i=i||this.ngModule)instanceof Dn?i:null===(o=i)||void 0===o?void 0:o.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new bee(t,s):t,l=a.get(_8,null);if(null===l)throw new ir(407,!1);const u=a.get(gJ,null),f=l.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",v=r?function JQ(n,t,e){return n.selectRootElement(t,e===zc.ShadowDom)}(f,r,this.componentDef.encapsulation):OC(l.createRenderer(null,this.componentDef),h,function yee(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}
1(h)),m=this.componentDef.onPush?288:272,x=rS(0,null,null,1,0,null,null,null,null,null),p=Yy(null,x,null,m,null,null,l,f,u,a,null);let P,T;$3(p);try{const H=function wee(n,t,e,r,i,o){const s=e[1];e[22]=n;const l=bm(s,22,2,"#host",null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(Jy(l,u,!0),null!==n&&(Ih(i,n,u),null!==l.classes&&zC(i,n,l.classes),null!==l.styles&&NR(i,n,l.styles)));const f=r.createRenderer(n,t),h=Yy(e,hL(t),null,t.onPush?32:16,e[22],l,r,f,o||null,null,null);return s.firstCreatePass&&(V4(Nu(l,e),s,t.type),_L(s,l),xL(l,e.length,1)),Xy(e,h),e[22]=h}(v,this.componentDef,p,l,f);if(v)if(r)Ih(f,v,["ng-version",vJ.full]);else{const{attrs:U,classes:ee}=function bQ(n){const t=[],e=[];let r=1,i=2;for(;r<n.length;){let o=n[r];if("string"==typeof o)2===i?""!==o&&t.push(o,n[++r]):8===i&&e.push(o);else{if(!U2(i))break;i=o}r++}return{attrs:t,classes:e}}(this.componentDef.selectors[0]);U&&Ih(f,v,U),ee&&ee.length>0&&zC(f,v,ee.join(" "))}if(T=Of(x,G),void 0!==e){const U=T.projection=[];for(let ee=0;ee<this.ngContentSelectors.length;ee++){const ie=e[ee];U.push(null!=ie?Array.from(ie):null)}}P=function Cee(n,t,e,r){const i=e[1],o=function nee(n,t,e){const r=Bl();n.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),wL(n,r,t,_m(n,t,1,null),e),gL(n,r));const i=Fa(t,n,r.directiveStart,r);zu(i,t);const o=y1(r,t);return o&&zu(o,t),i}(i,e,t);if(n[8]=e[8]=o,null!==r)for(const a of r)a(o,t);if(t.contentQueries){const a=Bl();t.contentQueries(1,o,a.directiveStart)}const s=Bl();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ju(s.index),yL(e[1],s,0,s.directiveStart,s.directiveEnd,t),bL(t,o)),o}(H,this.componentDef,p,[See]),eS(x,p,null)}finally{G5()}return new xee(this.componentType,P,mm(T,p),p,T)}}class xee extends class uJ{}{constructor(t,e,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=e,this.hostView=this.changeDetectorRef=new vee(i),this.componentType=t}setInput(t,e){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const o=this._rootLView;cS(o[1],o,i,t,e),vL(o,this._tNode.index)}}get injector(){return new Ff(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function See(){const n=Bl();W0(gr()[1],n)}function Kn(n){let t=function kL(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const r=[n];for(;t;){let i;if(ll(n))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ir(903,!1);i=t.\u0275dir}if(i){if(e){r.push(i);const s=n;s.inputs=fS(n.inputs),s.declaredInputs=fS(n.declaredInputs),s.outputs=fS(n.outputs);const a=i.hostBindings;a&&Dee(n,a);const l=i.viewQuery,u=i.contentQueries;if(l&&Aee(n,l),u&&Mee(n,u),sa(n.inputs,i.inputs),sa(n.declaredInputs,i.declaredInputs),sa(n.outputs,i.outputs),ll(i)&&i.data.animation){const f=n.data;f.animation=(f.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(n),a===Kn&&(e=!1)}}t=Object.getPrototypeOf(t)}!function Eee(n){let t=0,e=null;for(let r=n.length-1;r>=0;r--){const i=n[r];i.hostVars=t+=i.hostVars,i.hostAttrs=F4(i.hostAttrs,e=F4(e,i.hostAttrs))}}(r)}function fS(n){return n===m1?{}:n===ys?[]:n}function Aee(n,t){const e=n.viewQuery;n.viewQuery=e?(r,i)=>{t(r,i),e(r,i)}:t}function Mee(n,t){const e=n.contentQueries;n.contentQueries=e?(r,i,o)=>{t(r,i,o),e(r,i,o)}:t}function Dee(n,t){const e=n.hostBindings;n.hostBindings=e?(r,i)=>{t(r,i),e(r,i)}:t}let e9=null;function a6(){if(!e9){const n=ta.Symbol;if(n&&n.iterator)e9=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const r=t[e];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(e9=r)}}}return e9}function A8(n){return!!dS(n)&&(Array.isArray(n)||!(n instanceof Map)&&a6()in n)}function dS(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Bd(n,t,e){return n[t]=e}function Bu(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function ro(n,t,e,r){const i=gr();return Bu(i,kh(),t)&&(To(),zd(Na(),i,n,t,e,r)),ro}function wm(n,t,e,r){return Bu(n,kh(),e)?t+vo(e)+r:Zo}function Cm(n,t,e,r,i,o){const a=function l6(n,t,e,r){const i=Bu(n,t,e);return Bu(n,t+1,r)||i}(n,function L2(){return ko.lFrame.bindingIndex}(),e,i);return Lf(2),a?t+vo(e)+r+vo(i)+o:Zo}function Ln(n,t,e,r,i,o,s,a){const l=gr(),u=To(),f=n+G,h=u.firstCreatePass?function Nee(n,t,e,r,i,o,s,a,l){const u=t.consts,f=bm(t,n,4,s||null,Zu(u,a));iS(t,e,f,Zu(u,l)),W0(t,f);const h=f.tViews=rS(2,f,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,f),h.queries=t.queries.embeddedTView(f)),f}(f,u,l,t,e,r,i,o,s):u.data[f];b1(h,!1);const v=l[11].createComment("");jy(u,l,v,h),zu(v,l),Xy(l,l[f]=CL(v,l,v,h)),aa(h)&&tS(u,l,h),null!=s&&nS(l,h,a)}function Da(n){return O2(function V5(){return ko.lFrame.contextLView}(),G+n)}function Dt(n,t,e){const r=gr();return Bu(r,kh(),t)&&sf(To(),Na(),r,n,t,r[11],e,!1),Dt}function hS(n,t,e,r,i){const s=i?"class":"style";cS(n,e,t.inputs[s],s,r)}function Te(n,t,e,r){const i=gr(),o=To(),s=G+n,a=i[11],l=i[s]=OC(a,t,function _1(){return ko.lFrame.currentNamespace}()),u=o.firstCreatePass?function zee(n,t,e,r,i,o,s){const a=t.consts,u=bm(t,n,2,i,Zu(a,o));return iS(t,e,u,Zu(a,s)),null!==u.attrs&&Jy(u,u.attrs,!1),null!==u.mergedAttrs&&Jy(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,o,i,0,t,e,r):o.data[s];b1(u,!0);const f=u.mergedAttrs;null!==f&&Ih(a,l,f);const h=u.classes;null!==h&&zC(a,l,h);const v=u.styles;return null!==v&&NR(a,l,v),64!=(64&u.flags)&&jy(o,i,l,u),0===function Pa(){return ko.lFrame.elementDepthCount}()&&zu(l,i),function xl(){ko.lFrame.elementDepthCount++}(),aa(u)&&(tS(o,i,u),dL(o,u,i)),null!==r&&nS(i,u),Te}function Re(){let n=Bl();
1R2()?B5():(n=n.parent,b1(n,!1));const t=n;!function Ed(){ko.lFrame.elementDepthCount--}();const e=To();return e.firstCreatePass&&(W0(e,n),So(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function hy(n){return 0!=(16&n.flags)}(t)&&hS(e,t,gr(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Y5(n){return 0!=(32&n.flags)}(t)&&hS(e,t,gr(),t.stylesWithoutHost,!1),Re}function ar(n,t,e,r){return Te(n,t,e,r),Re(),ar}function za(n,t,e){const r=gr(),i=To(),o=n+G,s=i.firstCreatePass?function Bee(n,t,e,r,i){const o=t.consts,s=Zu(o,r),a=bm(t,n,8,"ng-container",s);return null!==s&&Jy(a,s,!0),iS(t,e,a,Zu(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,i,r,t,e):i.data[o];b1(s,!0);const a=r[o]=r[11].createComment("");return jy(i,r,a,s),zu(a,r),aa(s)&&(tS(i,r,s),dL(i,s,r)),null!=e&&nS(r,s),za}function Ba(){let n=Bl();const t=To();return R2()?B5():(n=n.parent,b1(n,!1)),t.firstCreatePass&&(W0(t,n),So(n)&&t.queries.elementEnd(n)),Ba}function I1(n,t,e){return za(n,t,e),Ba(),I1}function ca(){return gr()}function D8(n){return!!n&&"function"==typeof n.then}function BL(n){return!!n&&"function"==typeof n.subscribe}const pS=BL;function pr(n,t,e,r){const i=gr(),o=To(),s=Bl();return VL(o,i,i[11],s,n,t,0,r),pr}function mS(n,t){const e=Bl(),r=gr(),i=To();return VL(i,r,AL(j0(i.data),e,r),e,n,t),mS}function VL(n,t,e,r,i,o,s,a){const l=aa(r),f=n.firstCreatePass&&EL(n),h=t[8],v=SL(t);let m=!0;if(3&r.type||a){const P=y1(r,t),T=a?a(P):P,H=v.length,U=a?ie=>a(_l(ie[r.index])):r.index;let ee=null;if(!a&&l&&(ee=function Vee(n,t,e,r){const i=n.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===e&&i[o+1]===r){const a=t[7],l=i[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,i,r.index)),null!==ee)(ee.__ngLastListenerFn__||ee).__ngNextListenerFn__=o,ee.__ngLastListenerFn__=o,m=!1;else{o=jL(r,t,h,o,!1);const ie=e.listen(T,i,o);v.push(o,ie),f&&f.push(i,U,H,H+1)}}else o=jL(r,t,h,o,!1);const x=r.outputs;let p;if(m&&null!==x&&(p=x[i])){const P=p.length;if(P)for(let T=0;T<P;T+=2){const me=t[p[T]][p[T+1]].subscribe(o),ue=v.length;v.push(o,me),f&&f.push(i,r.index,ue,-(ue+1))}}}function HL(n,t,e,r){try{return!1!==e(r)}catch(i){return ML(n,i),!1}}function jL(n,t,e,r,i){return function o(s){if(s===Function)return r;aS(2&n.flags?wc(n.index,t):t);let l=HL(t,0,r,s),u=o.__ngNextListenerFn__;for(;u;)l=HL(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return i&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function xr(n=1){return function Q1(n){return(ko.lFrame.contextLView=function G3(n,t){for(;n>0;)t=t[15],n--;return t}(n,ko.lFrame.contextLView))[8]}(n)}function Hee(n,t){let e=null;const r=function hQ(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?VR(n,o,!0):gQ(r,o))return i}else e=i}return e}function wu(n){const t=gr()[16][6];if(!t.projection){const r=t.projection=J0(n?n.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const s=n?Hee(o,n):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}function ba(n,t=0,e){const r=gr(),i=To(),o=bm(i,G+n,16,null,e||null);null===o.projection&&(o.projection=t),B5(),64!=(64&o.flags)&&function sQ(n,t,e){PR(t[11],0,t,e,ER(n,e,t),kR(e.parent||t[6],e,t))}(i,r,o)}function gS(n,t,e){return vS(n,"",t,"",e),gS}function vS(n,t,e,r,i){const o=gr(),s=wm(o,t,e,r);return s!==Zo&&sf(To(),Na(),o,n,s,o[11],i,!1),vS}function ZL(n,t,e,r,i){const o=n[e+1],s=null===t;let a=r?G2(o):Wh(o),l=!1;for(;0!==a&&(!1===l||s);){const f=n[a+1];$ee(n[a],t)&&(l=!0,n[a+1]=r?GC(f):UC(f)),a=r?G2(f):Wh(f)}l&&(n[e+1]=r?UC(o):GC(o))}function $ee(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&z2(n,t)>=0}const Uc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function JL(n){return n.substring(Uc.key,Uc.keyEnd)}function Gee(n){return n.substring(Uc.value,Uc.valueEnd)}function QL(n,t){const e=Uc.textEnd;return e===t?-1:(t=Uc.keyEnd=function Yee(n,t,e){for(;t<e&&n.charCodeAt(t)>32;)t++;return t}(n,Uc.key=t,e),Tm(n,t,e))}function eP(n,t){const e=Uc.textEnd;let r=Uc.key=Tm(n,t,e);return e===r?-1:(r=Uc.keyEnd=function Kee(n,t,e){let r;for(;t<e&&(45===(r=n.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(n,r,e),r=nP(n,r,e),r=Uc.value=Tm(n,r,e),r=Uc.valueEnd=function Xee(n,t,e){let r=-1,i=-1,o=-1,s=t,a=s;for(;s<e;){const l=n.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=rP(n,l,s,e):t===s-4&&85===o&&82===i&&76===r&&40===l?a=s=rP(n,41,s,e):l>32&&(a=s),o=i,i=r,r=-33&l}return a}(n,r,e),nP(n,r,e))}function tP(n){Uc.key=0,Uc.keyEnd=0,Uc.value=0,Uc.valueEnd=0,Uc.textEnd=n.length}function Tm(n,t,e){for(;
vendor: 4,793 bytes, line 1
1t<e&&n.charCodeAt(t)<=32;)t++;return t}function nP(n,t,e,r){return(t=Tm(n,t,e))<e&&t++,t}function rP(n,t,e,r){let i=-1,o=e;for(;o<r;){const s=n.charCodeAt(o++);if(s==t&&92!==i)return o;i=92==s&&92===i?0:s}throw new Error}function Vu(n,t,e){return W2(n,t,e,!1),Vu}function Rs(n,t){return W2(n,t,null,!0),Rs}function Gf(n){q2(aP,Zee,n,!1)}function Zee(n,t){for(let e=function qee(n){return tP(n),eP(n,Tm(n,0,Uc.textEnd))}(t);e>=0;e=eP(t,e))aP(n,JL(t),Gee(t))}function Vd(n,t){for(let e=function Wee(n){return tP(n),QL(n,Tm(n,0,Uc.textEnd))}(t);e>=0;e=QL(t,e))_u(n,JL(t),!0)}function W2(n,t,e,r){const i=gr(),o=To(),s=Lf(2);o.firstUpdatePass&&sP(o,n,s,r),t!==Zo&&Bu(i,s,t)&&lP(o,o.data[Cc()],i,i[11],n,i[s+1]=function ite(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=fo(Mc(n)))),n}(t,e),r,s)}function q2(n,t,e,r){const i=To(),o=Lf(2);i.firstUpdatePass&&sP(i,null,o,r);const s=gr();if(e!==Zo&&Bu(s,o,e)){const a=i.data[Cc()];if(uP(a,r)&&!oP(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=La(l,e||"")),hS(i,a,s,e,r)}else!function rte(n,t,e,r,i,o,s,a){i===Zo&&(i=ys);let l=0,u=0,f=0<i.length?i[0]:null,h=0<o.length?o[0]:null;for(;null!==f||null!==h;){const v=l<i.length?i[l+1]:void 0,m=u<o.length?o[u+1]:void 0;let p,x=null;f===h?(l+=2,u+=2,v!==m&&(x=h,p=m)):null===h||null!==f&&f<h?(l+=2,x=f):(u+=2,x=h,p=m),null!==x&&lP(n,t,e,r,x,p,s,a),f=l<i.length?i[l]:null,h=u<o.length?o[u]:null}}(i,a,s,s[11],s[o+1],s[o+1]=function nte(n,t,e){if(null==e||""===e)return ys;const r=[],i=Mc(e);if(Array.isArray(i))for(let o=0;o<i.length;o++)n(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&n(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(n,t,e),r,o)}}function oP(n,t){return t>=n.expandoStartIndex}function sP(n,t,e,r){const i=n.data;if(null===i[e+1]){const o=i[Cc()],s=oP(n,e);uP(o,r)&&null===t&&!s&&(t=!1),t=function Jee(n,t,e,r){const i=j0(n);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(e=k8(e=yS(null,n,t,e,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==i)if(e=yS(i,n,t,e,r),null===o){let l=function Qee(n,t,e){const r=e?t.classBindings:t.styleBindings;if(0!==Wh(r))return n[G2(r)]}(n,t,r);void 0!==l&&Array.isArray(l)&&(l=yS(null,n,t,l[1],r),l=k8(l,t.attrs,r),function ete(n,t,e,r){n[G2(e?t.classBindings:t.styleBindings)]=r}(n,t,r,l))}else o=function tte(n,t,e){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=k8(r,n[o].hostAttrs,e);return k8(r,t.attrs,e)}(n,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),e}(i,o,t,r),function jee(n,t,e,r,i,o){let s=o?t.classBindings:t.styleBindings,a=G2(s),l=Wh(s);n[r]=e;let f,u=!1;if(Array.isArray(e)){const h=e;f=h[1],(null===f||z2(h,f)>0)&&(u=!0)}else f=e;if(i)if(0!==l){const v=G2(n[a+1]);n[r+1]=Gy(v,a),0!==v&&(n[v+1]=$C(n[v+1],r)),n[a+1]=function zQ(n,t){return 131071&n|t<<17}(n[a+1],r)}else n[r+1]=Gy(a,0),0!==a&&(n[a+1]=$C(n[a+1],r)),a=r;else n[r+1]=Gy(l,0),0===a?a=r:n[l+1]=$C(n[l+1],r),l=r;u&&(n[r+1]=UC(n[r+1])),ZL(n,f,r,!0),ZL(n,f,r,!1),function Uee(n,t,e,r,i){const o=i?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&z2(o,t)>=0&&(e[r+1]=GC(e[r+1]))}(t,f,n,r,o),s=Gy(a,l),o?t.classBindings=s:t.styleBindings=s}(i,o,t,e,s,r)}}function yS(n,t,e,r,i){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<s&&(o=t[a],r=k8(r,o.hostAttrs,i),o!==n);)a++;return null!==n&&(e.directiveStylingLast=a),r}function k8(n,t,e){const r=e?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),_u(n,s,!!e||t[++o]))}return void 0===n?null:n}function aP(n,t,e){_u(n,t,Mc(e))}function lP(n,t,e,r,i,o,s,a){if(!(3&t.type))return;const l=n.data,u=l[a+1];n9(function nL(n){return 1==(1&n)}(u)?cP(l,t,e,i,Wh(u),s):void 0)||(n9(o)||function tL(n){return 2==(2&n)}(u)&&(o=cP(l,null,e,i,a,s)),function lQ(n,t,e,r,i){if(t)i?n.addClass(e,r):n.removeClass(e,r);else{let o=-1===r.indexOf("-")?void 0:T1.DashCase;null==i?n.removeStyle(e,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=T1.Important),n.setStyle(e,r,i,o))}}(r,s,V0(Cc(),e),i,o))}function cP(n,t,e,r,i,o){const s=null===t;let a;for(;i>0;){const l=n[i],u=Array.isArray(l),f=u?l[1]:l,h=null===f;let v=e[i+1];v===Zo&&(v=h?ys:void 0);let m=h?im(v,r):f===r?v:void 0;if(u&&!n9(m)&&(m=im(l,r)),n9(m)&&(a=m,s))return a;const x=n[i+1];i=s?G2(x):Wh(x)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=im(l,r))}return a}function n9(n){return void 0!==n}function uP(n,t){return 0!=(n.flags&(t?16:32))}function pt(n,t=""){const e=gr(),r=To(),i=n+G,o=r.firstCreatePass?bm(r,i,1,t,null):r.data[i],s=e[i]=function IC(n,t){return n.createText(t)}
1(e[11],t);jy(r,e,s,o),b1(o,!1)}function oo(n){return ns("",n,""),oo}function ns(n,t,e){const r=gr(),i=wm(r,n,t,e);return i!==Zo&&qh(r,Cc(),i),ns}function T8(n,t,e,r,i){const o=gr(),s=Cm(o,n,t,e,r,i);return s!==Zo&&qh(o,Cc(),s),T8}function Wf(n,t,e){const r=gr();return Bu(r,kh(),t)&&sf(To(),Na(),r,n,t,r[11],e,!0),Wf}function bS(n,t,e){const r=gr();if(Bu(r,kh(),t)){const o=To(),s=Na();sf(o,s,r,n,t,AL(j0(o.data),s,r),e,!0)}return bS}const c6=void 0;var Cte=["en",[["a","p"],["AM","PM"],c6],[["AM","PM"],c6,c6],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],c6,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],c6,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",c6,"{1} 'at' {0}",c6],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function wte(n){const e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===r?1:5}];let Im={};function n1(n){const t=function Ste(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=kP(t);if(e)return e;const r=t.split("-")[0];if(e=kP(r),e)return e;if("en"===r)return Cte;throw new ir(701,!1)}function kP(n){return n in Im||(Im[n]=ta.ng&&ta.ng.common&&ta.ng.common.locales&&ta.ng.common.locales[n]),Im[n]}var bi=(()=>((bi=bi||{})[bi.LocaleId=0]="LocaleId",bi[bi.DayPeriodsFormat=1]="DayPeriodsFormat",bi[bi.DayPeriodsStandalone=2]="DayPeriodsStandalone",bi[bi.DaysFormat=3]="DaysFormat",bi[bi.DaysStandalone=4]="DaysStandalone",bi[bi.MonthsFormat=5]="MonthsFormat",bi[bi.MonthsStandalone=6]="MonthsStandalone",bi[bi.Eras=7]="Eras",bi[bi.FirstDayOfWeek=8]="FirstDayOfWeek",bi[bi.WeekendRange=9]="WeekendRange",bi[bi.DateFormat=10]="DateFormat",bi[bi.TimeFormat=11]="TimeFormat",bi[bi.DateTimeFormat=12]="DateTimeFormat",bi[bi.NumberSymbols=13]="NumberSymbols",bi[bi.NumberFormats=14]="NumberFormats",bi[bi.CurrencyCode=15]="CurrencyCode",bi[bi.CurrencySymbol=16]="CurrencySymbol",bi[bi.CurrencyName=17]="CurrencyName",bi[bi.Currencies=18]="Currencies",bi[bi.Directionality=19]="Directionality",bi[bi.PluralCase=20]="PluralCase",bi[bi.ExtraData=21]="ExtraData",bi))();const Om="en-US";let TP=Om;function wS(n,t,e,r,i){if(n=Oi(n),Array.isArray(n))for(let o=0;o<n.length;o++)wS(n[o],t,e,r,i);else{const o=To(),s=gr();let a=Wn(n)?n:Oi(n.provide),l=Ho(n);const u=Bl(),f=1048575&u.providerIndexes,h=u.directiveStart,v=u.providerIndexes>>20;if(Wn(n)||!n.multi){const m=new q0(l,i,he),x=SS(a,t,i?f:f+v,h);-1===x?(V4(Nu(u,s),o,a),CS(o,n,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),e.push(m),s.push(m)):(e[x]=m,s[x]=m)}else{const m=SS(a,t,f+v,h),x=SS(a,t,f,f+v),p=m>=0&&e[m],P=x>=0&&e[x];if(i&&!P||!i&&!p){V4(Nu(u,s),o,a);const T=function xne(n,t,e,r,i){const o=new q0(n,e,he);return o.multi=[],o.index=t,o.componentProviders=0,tN(o,i,r&&!e),o}(i?_ne:bne,e.length,i,r,l);!i&&P&&(e[x].providerFactory=T),CS(o,n,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),e.push(T),s.push(T)}else CS(o,n,m>-1?m:x,tN(e[i?x:m],l,!i&&r));!i&&r&&P&&e[x].componentProviders++}}}function CS(n,t,e,r){const i=Wn(t),o=function yi(n){return!!n.useClass}(t);if(i||o){const l=(o?Oi(t.useClass):t).prototype.ngOnDestroy;if(l){const u=n.destroyHooks||(n.destroyHooks=[]);if(!i&&t.multi){const f=u.indexOf(e);-1===f?u.push(e,[r,l]):u[f+1].push(r,l)}else u.push(e,l)}}}function tN(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function SS(n,t,e,r){for(let i=e;i<r;i++)if(t[i]===n)return i;return-1}function bne(n,t,e,r){return ES(this.multi,[])}function _ne(n,t,e,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Fa(e,e[1],this.providerFactory.index,r);o=a.slice(0,s),ES(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],ES(i,o);return o}function ES(n,t){for(let e=0;e<n.length;e++)t.push((0,n[e])());return t}function Vi(n,t=[]){return e=>{e.providersResolver=(r,i)=>function yne(n,t,e){const r=To();if(r.firstCreatePass){const i=ll(n);wS(e,r.data,r.blueprint,i,!0),wS(t,r.data,r.blueprint,i,!1)}}(r,i?i(n):n,t)}}class u6{}class nN{}class rN extends u6{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new uS(this);const r=tc(t);this._bootstrapComponents=Gh(r.bootstrap),this._r3Injector=qR(t,e,[{provide:u6,useValue:this},{provide:o6,useValue:this.componentFactoryResolver}],fo(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
1s(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class AS extends nN{constructor(t){super(),this.moduleType=t}create(t){return new rN(this.moduleType,t)}}class Cne extends u6{constructor(t,e,r){super(),this.componentFactoryResolver=new uS(this),this.instance=null;const i=new fn([...t,{provide:u6,useValue:this},{provide:o6,useValue:this.componentFactoryResolver}],e||ho(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function a9(n,t,e=null){return new Cne(n,t,e).injector}let Sne=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const r=y(0,e.type),i=r.length>0?a9([r],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,i)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=un({token:n,providedIn:"environment",factory:()=>new n(qt(Dn))}),n})();function iN(n){n.getStandaloneInjector=t=>t.get(Sne).getOrCreateStandaloneInjector(n)}function Gs(n,t,e){const r=Vc()+n,i=gr();return i[r]===Zo?Bd(i,r,e?t.call(e):t()):function M8(n,t){return n[t]}(i,r)}function Hu(n,t,e,r){return fN(gr(),Vc(),n,t,e,r)}function fN(n,t,e,r,i,o){const s=t+e;return Bu(n,s,i)?Bd(n,s+1,o?r.call(o,i):r(i)):function N8(n,t){const e=n[t];return e===Zo?void 0:e}(n,s+1)}function DS(n,t){const e=To();let r;const i=n+G;e.firstCreatePass?(r=function Hne(n,t){if(t)for(let e=t.length-1;e>=0;e--){const r=t[e];if(n===r.name)return r}}(t,e.pipeRegistry),e.data[i]=r,r.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(i,r.onDestroy)):r=e.data[i];const o=r.factory||(r.factory=Zs(r.type)),s=eu(he);try{const a=N2(!1),l=o();return N2(a),function Fee(n,t,e,r){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=r}(e,gr(),i,l),l}finally{eu(s)}}function kS(n,t,e){const r=n+G,i=gr(),o=O2(i,r);return function F8(n,t){return n[1].data[t].pure}(i,r)?fN(i,Vc(),t,o.transform,e,o):o.transform(e)}function TS(n){return t=>{setTimeout(n,void 0,t)}}const zi=class Wne extends nt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,r){let i=t,o=e||(()=>null),s=r;if(t&&"object"==typeof t){var a,l,u;const h=t;i=null===(a=h.next)||void 0===a?void 0:a.bind(h),o=null===(l=h.error)||void 0===l?void 0:l.bind(h),s=null===(u=h.complete)||void 0===u?void 0:u.bind(h)}this.__isAsync&&(o=TS(o),i&&(i=TS(i)),s&&(s=TS(s)));const f=super.subscribe({next:i,error:o,complete:s});return t instanceof F&&t.add(f),f}};function qne(){return this._results[a6()]()}class z8{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=a6(),r=z8.prototype;r[e]||(r[e]=qne)}get changes(){return this._changes||(this._changes=new zi)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const r=this;r.dirty=!1;const i=e1(t);(this._changesDetected=!function iC(n,t,e){if(n.length!==t.length)return!1;for(let r=0;r<n.length;r++){let i=n[r],o=t[r];if(e&&(i=e(i),o=e(o)),o!==i)return!1}return!0}(r._results,i,e))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let sc=(()=>{class n{}return n.__NG_ELEMENT_ID__=Xne,n})();const Yne=sc,Kne=class extends Yne{constructor(t,e,r){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=r}createEmbeddedView(t,e){const r=this._declarationTContainer.tViews,i=Yy(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,e||null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(r)),eS(r,i,t),new S8(i)}};function Xne(){return l9(Bl(),gr())}
1function l9(n,t){return 4&n.type?new Kne(t,n,mm(n,t)):null}let wl=(()=>{class n{}return n.__NG_ELEMENT_ID__=Zne,n})();function Zne(){return yN(Bl(),gr())}const Jne=wl,gN=class extends Jne{constructor(t,e,r){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=r}get element(){return mm(this._hostTNode,this._hostLView)}get injector(){return new Ff(this._hostTNode,this._hostLView)}get parentInjector(){const t=X0(this._hostTNode,this._hostLView);if(tf(t)){const e=x1(t,this._hostLView),r=Nf(t);return new Ff(e[1].data[r+8],e)}return new Ff(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=vN(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,i),s}createComponent(t,e,r,i,o){const s=t&&!function Id(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const h=e||{};a=h.index,r=h.injector,i=h.projectableNodes,o=h.environmentInjector||h.ngModuleRef}const l=s?t:new E8(Us(t)),u=r||this.parentInjector;if(!o&&null==l.ngModule){const v=(s?u:this.parentInjector).get(Dn,null);v&&(o=v)}const f=l.create(u,i,void 0,o);return this.insert(f.hostView,a),f}insert(t,e){const r=t._lView,i=r[1];if(function T4(n){return ri(n[3])}(r)){const f=this.indexOf(t);if(-1!==f)this.detach(f);else{const h=r[3],v=new gN(h,h[6],h[3]);v.detach(v.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function eQ(n,t,e,r){const i=10+r,o=e.length;r>0&&(e[i-1][4]=t),r<o-10?(t[4]=e[i],C1(e,10+r,t)):(e.push(t),t[4]=null),t[3]=e;const s=t[17];null!==s&&e!==s&&function tQ(n,t){const e=n[9];t[16]!==t[3][3][16]&&(n[2]=!0),null===e?n[9]=[t]:e.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(n),t[2]|=64}(i,r,s,o);const a=NC(o,s),l=r[11],u=Hy(l,s[7]);return null!==u&&function ZJ(n,t,e,r,i,o){r[0]=i,r[6]=t,C8(n,r,e,1,i,o)}(i,s[6],l,r,u,a),t.attachToViewContainerRef(),C1(IS(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=vN(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),r=RC(this._lContainer,e);r&&(Hc(IS(this._lContainer),e),SR(r[1],r))}detach(t){const e=this._adjustIndex(t,-1),r=RC(this._lContainer,e);return r&&null!=Hc(IS(this._lContainer),e)?new S8(r):null}_adjustIndex(t,e=0){return t??this.length+e}};function vN(n){return n[8]}function IS(n){return n[8]||(n[8]=[])}function yN(n,t){let e;const r=t[n.index];if(ri(r))e=r;else{let i;if(8&n.type)i=_l(r);else{const o=t[11];i=o.createComment("");const s=y1(n,t);s6(o,Hy(o,s),i,function oQ(n,t){return n.nextSibling(t)}(o,s),!1)}t[n.index]=e=CL(r,t,i,n),Xy(t,e)}return new gN(e,n,t)}class OS{constructor(t){this.queryList=t,this.matches=null}clone(){return new OS(this.queryList)}setDirty(){this.queryList.setDirty()}}class RS{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const r=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let o=0;o<r;o++){const s=e.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new RS(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==CN(t,e).matches&&this.queries[e].setDirty()}}class bN{constructor(t,e,r=null){this.predicate=t,this.flags=e,this.read=r}}class LS{constructor(t=[]){this.queries=t}elementStart(t,e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let r=0;r<this.length;r++){const i=null!==e?e.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==e?e.push(o):e=[o])}return null!==e?new LS(e):null}template(t,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class PS{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new PS(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==e;)r=r.parent;return e===(null!==r?r.index:-1)}return this._appliesToNextNode}
1matchTNode(t,e){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,e,tre(e,o)),this.matchTNodeWithReadOption(t,e,kd(e,t,o,!1,!1))}else r===sc?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,kd(e,t,r,!1,!1))}matchTNodeWithReadOption(t,e,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Jr||i===wl||i===sc&&4&e.type)this.addMatch(e.index,-2);else{const o=kd(e,t,i,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,r)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function tre(n,t){const e=n.localNames;if(null!==e)for(let r=0;r<e.length;r+=2)if(e[r]===t)return e[r+1];return null}function rre(n,t,e,r){return-1===e?function nre(n,t){return 11&n.type?mm(n,t):4&n.type?l9(n,t):null}(t,n):-2===e?function ire(n,t,e){return e===Jr?mm(t,n):e===sc?l9(t,n):e===wl?yN(t,n):void 0}(n,t,r):Fa(n,n[1],e,t)}function _N(n,t,e,r){const i=t[19].queries[r];if(null===i.matches){const o=n.data,s=e.matches,a=[];for(let l=0;l<s.length;l+=2){const u=s[l];a.push(u<0?null:rre(t,o[u],s[l+1],e.metadata.read))}i.matches=a}return i.matches}function NS(n,t,e,r){const i=n.queries.getByIndex(e),o=i.matches;if(null!==o){const s=_N(n,t,i,e);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)r.push(s[a/2]);else{const u=o[a+1],f=t[-l];for(let h=10;h<f.length;h++){const v=f[h];v[17]===v[3]&&NS(v[1],v,u,r)}if(null!==f[9]){const h=f[9];for(let v=0;v<h.length;v++){const m=h[v];NS(m[1],m,u,r)}}}}}return r}function _i(n){const t=gr(),e=To(),r=j3();U3(r+1);const i=CN(e,r);if(n.dirty&&function uy(n){return 4==(4&n[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)n.reset([]);else{const o=i.crossesNgTemplate?NS(e,t,r,[]):_N(e,t,i,r);n.reset(o,pJ),n.notifyOnChanges()}return!0}return!1}function ps(n,t,e){const r=To();r.firstCreatePass&&(wN(r,new bN(n,t,e),-1),2==(2&t)&&(r.staticViewQueries=!0)),xN(r,gr(),t)}function na(n,t,e,r){const i=To();if(i.firstCreatePass){const o=Bl();wN(i,new bN(t,e,r),o.index),function sre(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(i,n),2==(2&e)&&(i.staticContentQueries=!0)}xN(i,gr(),e)}function xi(){return function ore(n,t){return n[19].queries[t].queryList}(gr(),j3())}function xN(n,t,e){const r=new z8(4==(4&e));pL(n,t,r,r.destroy),null===t[19]&&(t[19]=new RS),t[19].queries.push(new OS(r))}function wN(n,t,e){null===n.queries&&(n.queries=new LS),n.queries.track(new PS(t,e))}function CN(n,t){return n.queries.getByIndex(t)}function hp(n,t){return l9(n,t)}function u9(...n){}const f9=new or("Application Initializer");let d9=(()=>{class n{constructor(e){this.appInits=e,this.resolve=u9,this.reject=u9,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const e=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(D8(o))e.push(o);else if(pS(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{r()}).catch(i=>{this.reject(i)}),0===e.length&&r(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(qt(f9,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Pm=new or("AppId",{providedIn:"root",factory:function jN(){return`${HS()}${HS()}${HS()}`}});function HS(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const UN=new or("Platform Initializer"),o1=new or("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),jS=new or("appBootstrapListener"),Cu=new or("AnimationModuleType");let Are=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Hd=new or("LocaleId",{providedIn:"root",factory:()=>la(Hd,Ji.Optional|Ji.SkipSelf)||function Mre(){return typeof $localize<"u"&&$localize.locale||Om}()});class kre{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let US=(()=>{class n{compileModuleSync(e){return new AS(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const r=this.compileModuleSync(e),o=Gh(tc(e).declarations).reduce((s,a)=>{const l=Us(a);return l&&s.push(new E8(l)),s},[]);return new kre(r,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ore=(()=>Promise.resolve(0))();function $S(n){typeof Zone>"u"?Ore.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Qi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new zi(!1),this.onMicrotaskEmpty=new zi(!1),this.onStable=new zi(!1),this.onError=ne
1w zi(!1),typeof Zone>"u")throw new ir(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&e,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Rre(){let n=ta.requestAnimationFrame,t=ta.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Nre(n){const t=()=>{!function Pre(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ta,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,WS(n),n.isCheckStableRunning=!0,GS(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),WS(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,r,i,o,s,a)=>{try{return WN(n),e.invokeTask(i,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),qN(n)}},onInvoke:(e,r,i,o,s,a,l)=>{try{return WN(n),e.invoke(i,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),qN(n)}},onHasTask:(e,r,i,o)=>{e.hasTask(i,o),r===i&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,WS(n),GS(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,r,i,o)=>(e.handleError(i,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qi.isInAngularZone())throw new ir(909,!1)}static assertNotInAngularZone(){if(Qi.isInAngularZone())throw new ir(909,!1)}run(t,e,r){return this._inner.run(t,e,r)}runTask(t,e,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,Lre,u9,u9);try{return o.runTask(s,e,r)}finally{o.cancelTask(s)}}runGuarded(t,e,r){return this._inner.runGuarded(t,e,r)}runOutsideAngular(t){return this._outer.run(t)}}const Lre={};function GS(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function WS(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function WN(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function qN(n){n._nesting--,GS(n)}class Fre{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zi,this.onMicrotaskEmpty=new zi,this.onStable=new zi,this.onError=new zi}run(t,e,r){return t.apply(e,r)}runGuarded(t,e,r){return t.apply(e,r)}runOutsideAngular(t){return t()}runTask(t,e,r,i){return t.apply(e,r)}}const YN=new or(""),h9=new or("");let KS,qS=(()=>{class n{constructor(e,r,i){this._ngZone=e,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,KS||(function zre(n){KS=n}(i),i.addToWindow(r)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Qi.assertNotInAngularZone(),$S(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}
1decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())$S(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(e)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:i})}whenStable(e,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,r,i){return[]}}return n.\u0275fac=function(e){return new(e||n)(qt(Qi),qt(YS),qt(h9))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),YS=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,r){this._applications.set(e,r)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,r=!0){var i,o;return null!==(i=null===(o=KS)||void 0===o?void 0:o.findTestabilityInTree(this,e,r))&&void 0!==i?i:null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),pp=null;const KN=new or("AllowMultipleToken"),XS=new or("PlatformDestroyListeners");class XN{constructor(t,e){this.name=t,this.token=e}}function JN(n,t,e=[]){const r=`Platform: ${t}`,i=new or(r);return(o=[])=>{let s=ZS();if(!s||s.injector.get(KN,!1)){const a=[...e,...o,{provide:i,useValue:!0}];n?n(a):function Hre(n){if(pp&&!pp.get(KN,!1))throw new ir(400,!1);pp=n;const t=n.get(eF);(function ZN(n){const t=n.get(UN,null);t&&t.forEach(e=>e())})(n)}(function QN(n=[],t){return Dc.create({name:t,providers:[{provide:Io,useValue:"platform"},{provide:XS,useValue:new Set([()=>pp=null])},...n]})}(a,r))}return function Ure(n){const t=ZS();if(!t)throw new ir(401,!1);return t}()}}function ZS(){var n,t;return null!==(n=null===(t=pp)||void 0===t?void 0:t.get(eF))&&void 0!==n?n:null}let eF=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,r){const i=function nF(n,t){let e;return e="noop"===n?new Fre:("zone.js"===n?void 0:n)||new Qi(t),e}(r?.ngZone,function tF(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Qi,useValue:i}];return i.run(()=>{const s=Dc.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get($h,null);if(!l)throw new ir(402,!1);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:f=>{l.handleError(f)}});a.onDestroy(()=>{p9(this._modules,a),u.unsubscribe()})}),function rF(n,t,e){try{const r=e();return D8(r)?r.catch(i=>{throw t.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>n.handleError(r)),r}}(l,i,()=>{const u=a.injector.get(d9);return u.runInitializers(),u.donePromise.then(()=>(function IP(n){as(n,"Expected localeId to be defined"),"string"==typeof n&&(TP=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Hd,Om)||Om),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,r=[]){const i=iF({},r);return function Bre(n,t,e){const r=new AS(e);return Promise.resolve(r)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(e){const r=e.injector.get(Nm);if(e._bootstrapComponents.length>
10)e._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new ir(403,!1);e.instance.ngDoBootstrap(r)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ir(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const e=this._injector.get(XS,null);e&&(e.forEach(r=>r()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(qt(Dc))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function iF(n,t){return Array.isArray(t)?t.reduce(iF,n):{...n,...t}}let Nm=(()=>{class n{constructor(e,r,i){this._zone=e,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new wt(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new wt(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Qi.assertNotInAngularZone(),$S(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Qi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=Ui(o,s.pipe(Os()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,r){const i=e instanceof sR;if(!this._injector.get(d9).done)throw!i&&function k2(n){const t=Us(n)||Fl(n)||_c(n);return null!==t&&t.standalone}(e),new ir(405,false);let s;s=i?e:this._injector.get(o6).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function Vre(n){return n.isBoundToModule}(s)?void 0:this._injector.get(u6),u=s.create(Dc.NULL,[],r||s.selector,a),f=u.location.nativeElement,h=u.injector.get(YN,null);return h?.registerApplication(f),u.onDestroy(()=>{this.detachView(u.hostView),p9(this.components,u),h?.unregisterApplication(f)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new ir(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){const r=e;p9(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(jS,[]).concat(this._bootstrapListeners).forEach(i=>i(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>p9(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ir(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(qt(Qi),qt(Dn),qt($h))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function p9(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let sF=!0,Cl=(()=>{class n{}return n.__NG_ELEMENT_ID__=Wre,n})();function Wre(n){return function qre(n,t,e){if(Go(n)&&!e){const r=wc(n.index,t);return new S8(r,r)}return 47&n.type?new S8(t[16],t):null}(Bl(),gr(),16==(16&n))}class fF{constructor(){}supports(t){return A8(t)}create(t){return new Qre(t)}}const Jre=(n,t)=>t;class Qre{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Jre}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,r=this._removalsHead,i=0,o=null;for(;e||r;){const s=!r||e&&e.currentIndex<hF(r,i,o)?e:r,a=hF(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(e=e._next,null==s.previousIndex)i++;else{o||(o=[]);const u=a-i,f=l-i;if(u!=f){for(let v=0;v<u;v++){const m=v<o.length?o[v]:o[v]=0,x=m+v;f<=x&&x<u&&(o[v]=m+1)}o[s.previousIndex]=f-u}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;
vendor: 5,048 bytes, line 1
1e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!A8(t))throw new ir(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,s,e=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==e&&Object.is(e.trackById,s)?(r&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,s,a),r=!0),e=e._next}else i=0,function Ree(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{const e=n[a6()]();let r;for(;!(r=e.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(i,a),null!==e&&Object.is(e.trackById,s)?(r&&(e=this._verifyReinsertion(e,a,s,i)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,i),r=!0),e=e._next,i++}),this.length=i;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,i)):t=this._addAfter(new eie(e,r),o,i),t}_verifyReinsertion(t,e,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,e,r),this._addToMoves(t,r),t}_moveAfter(t,e,r){return this._unlink(t),this._insertAfter(t,e,r),this._addToMoves(t,r),t}_addAfter(t,e,r){return this._insertAfter(t,e,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,r){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new dF),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,r=t._next;return null===e?this._itHead=r:e._next=r,null===r?this._itTail=e:r._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new dF),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class eie{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class tie{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let r;for(r=this._head;null!==r;
vendor: 5,104 bytes, line 1
1r=r._nextDup)if((null===e||e<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const e=t._prevDup,r=t._nextDup;return null===e?this._head=r:e._nextDup=r,null===r?this._tail=e:r._prevDup=e,null===this._head}}class dF{constructor(){this.map=new Map}put(t){const e=t.trackById;let r=this.map.get(e);r||(r=new tie,this.map.set(e,r)),r.add(t)}get(t,e){const i=this.map.get(t);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function hF(n,t,e){const r=n.previousIndex;if(null===r)return r;let i=0;return e&&r<e.length&&(i=e[r]),r+t+i}class pF{constructor(){}supports(t){return t instanceof Map||dS(t)}create(){return new nie}}class nie{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||dS(t)))throw new ir(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(e&&e.key===i)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(i,r);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const r=t._prev;return e._next=t,e._prev=r,t._prev=e,r&&(r._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new rie(t);return this._records.set(t,r),r.currentValue=e,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(r=>e(t[r],r))}}class rie{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function mF(){return new af([new fF])}let af=(()=>{class n{constructor(e){this.factories=e}static create(e,r){if(null!=r){const i=r.factories.slice();e=e.concat(i)}return new n(e)}static extend(e){return{provide:n,useFactory:r=>n.create(e,r||mF()),deps:[[n,new Hf,new S1]]}}find(e){const r=this.factories.find(i=>i.supports(e));if(null!=r)return r;throw new ir(901,!1)}}return n.\u0275prov=un({token:n,providedIn:"root",factory:mF}),n})();function gF(){return new d6([new pF])}let d6=(()=>{class n{constructor(e){this.factories=e}static create(e,r){if(r){const i=r.factories.slice();e=e.concat(i)}return new n(e)}static extend(e){return{provide:n,useFactory:r=>n.create(e,r||gF()),deps:[[n,new Hf,new S1]]}}find(e){const r=this.factories.find(i=>i.supports(e));if(r)return r;throw new ir(901,!1)}}return n.\u0275prov=un({token:n,providedIn:"root",factory:gF}),n})();const sie=JN(null,"core",[]);let aie=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(qt(Nm))},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();function Kh(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let v9=null;
1function jd(){return v9}const Ki=new or("DocumentToken");let nE=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:function(){return function fie(){return qt(vF)}()},providedIn:"platform"}),n})();const die=new or("Location Initialized");let vF=(()=>{class n extends nE{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return jd().getBaseHref(this._doc)}onPopState(e){const r=jd().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){const r=jd().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,r,i){yF()?this._history.pushState(e,r,i):this.location.hash=i}replaceState(e,r,i){yF()?this._history.replaceState(e,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki))},n.\u0275prov=un({token:n,factory:function(){return function hie(){return new vF(qt(Ki))}()},providedIn:"platform"}),n})();function yF(){return!!window.history.pushState}function rE(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function bF(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Xh(n){return n&&"?"!==n[0]?"?"+n:n}let h6=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:function(){return la(xF)},providedIn:"root"}),n})();const _F=new or("appBaseHref");let xF=(()=>{class n extends h6{constructor(e,r){var i,o,s;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=null!==(i=null!==(o=r??this._platformLocation.getBaseHrefFromDOM())&&void 0!==o?o:null===(s=la(Ki).location)||void 0===s?void 0:s.origin)&&void 0!==i?i:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return rE(this._baseHref,e)}path(e=!1){const r=this._platformLocation.pathname+Xh(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){const s=this.prepareExternalUrl(i+Xh(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){const s=this.prepareExternalUrl(i+Xh(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var r,i;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(qt(nE),qt(_F,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pie=(()=>{class n extends h6{constructor(e,r){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(e){const r=rE(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Xh(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Xh(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var r,i;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(qt(nE),qt(_F,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),V8=(()=>
1{class n{constructor(e){this._subject=new zi,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const r=this._locationStrategy.getBaseHref();this._baseHref=bF(wF(r)),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Xh(r))}normalize(e){return n.stripTrailingSlash(function gie(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,wF(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Xh(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Xh(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var r,i;null===(r=(i=this._locationStrategy).historyGo)||void 0===r||r.call(i,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(e);var i;this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(null===(i=this._urlChangeSubscription)||void 0===i||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r,complete:i})}}return n.normalizeQueryParams=Xh,n.joinWithSlash=rE,n.stripTrailingSlash=bF,n.\u0275fac=function(e){return new(e||n)(qt(h6))},n.\u0275prov=un({token:n,factory:function(){return function mie(){return new V8(qt(h6))}()},providedIn:"root"}),n})();function wF(n){return n.replace(/\/index.html$/,"")}var ac=(()=>((ac=ac||{})[ac.Format=0]="Format",ac[ac.Standalone=1]="Standalone",ac))(),Ls=(()=>((Ls=Ls||{})[Ls.Narrow=0]="Narrow",Ls[Ls.Abbreviated=1]="Abbreviated",Ls[Ls.Wide=2]="Wide",Ls[Ls.Short=3]="Short",Ls))(),kl=(()=>((kl=kl||{})[kl.Short=0]="Short",kl[kl.Medium=1]="Medium",kl[kl.Long=2]="Long",kl[kl.Full=3]="Full",kl))(),Eo=(()=>((Eo=Eo||{})[Eo.Decimal=0]="Decimal",Eo[Eo.Group=1]="Group",Eo[Eo.List=2]="List",Eo[Eo.PercentSign=3]="PercentSign",Eo[Eo.PlusSign=4]="PlusSign",Eo[Eo.MinusSign=5]="MinusSign",Eo[Eo.Exponential=6]="Exponential",Eo[Eo.SuperscriptingExponent=7]="SuperscriptingExponent",Eo[Eo.PerMille=8]="PerMille",Eo[Eo.Infinity=9]="Infinity",Eo[Eo.NaN=10]="NaN",Eo[Eo.TimeSeparator=11]="TimeSeparator",Eo[Eo.CurrencyDecimal=12]="CurrencyDecimal",Eo[Eo.CurrencyGroup=13]="CurrencyGroup",Eo))();function y9(n,t){return Yf(n1(n)[bi.DateFormat],t)}function b9(n,t){return Yf(n1(n)[bi.TimeFormat],t)}function _9(n,t){return Yf(n1(n)[bi.DateTimeFormat],t)}function qf(n,t){const e=n1(n),r=e[bi.NumberSymbols][t];if(typeof r>"u"){if(t===Eo.CurrencyDecimal)return e[bi.NumberSymbols][Eo.Decimal];if(t===Eo.CurrencyGroup)return e[bi.NumberSymbols][Eo.Group]}return r}function SF(n){if(!n[bi.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[bi.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Yf(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function oE(n){const[t,e]=n.split(":");return{hours:+t,minutes:+e}}const kie=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,H8={},Tie=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var $c=(()=>(($c=$c||{})[$c.Short=0]="Short",$c[$c.ShortGMT=1]="ShortGMT",$c[$c.Long=2]="Long",$c[$c.Extended=3]="Extended",$c))(),Oo=(()=>((Oo=Oo||{})[Oo.FullYear=0]="FullYear",Oo[Oo.Month=1]="Month",Oo[Oo.Date=2]="Date",Oo[Oo.Hours=3]="Hours",Oo[Oo.Minutes=4]="Minutes",Oo[Oo.Seconds=5]="Seconds",Oo[Oo.FractionalSeconds=6]="FractionalSeconds",Oo[Oo.Day=7]="Day",Oo))(),ms=(()=>((ms=ms||{})[ms.DayPeriods=0]="DayPeriods",ms[ms.Days=1]="Days",ms[ms.Months=2]="Months",ms[ms.Eras=3]="Eras",ms))();function EF(n,t,e,r){let i=function Bie(n){if(DF(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[i,o=1,s=1]=n.split("-").map(a=>+a);return x9(i,o-1,s)}const e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let r;if(r=n.match(kie))return function Vie(n){const t=new Date(0);let e=0,r=0;
vendor: 6,837 bytes, line 1
1const i=n[8]?t.setUTCFullYear:t.setFullYear,o=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),r=Number(n[9]+n[11])),i.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));const s=Number(n[4]||0)-e,a=Number(n[5]||0)-r,l=Number(n[6]||0),u=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(t,s,a,l,u),t}(r)}const t=new Date(n);if(!DF(t))throw new Error(`Unable to convert "${n}" into a date`);return t}(n);t=Zh(e,t)||t;let a,s=[];for(;t;){if(a=Tie.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const f=s.pop();if(!f)break;t=f}}let l=i.getTimezoneOffset();r&&(l=MF(r,l),i=function zie(n,t,e){const r=e?-1:1,i=n.getTimezoneOffset();return function Fie(n,t){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+t),n}(n,r*(MF(t,i)-i))}(i,r,!0));let u="";return s.forEach(f=>{const h=function Nie(n){if(aE[n])return aE[n];let t;switch(n){case"G":case"GG":case"GGG":t=Ja(ms.Eras,Ls.Abbreviated);break;case"GGGG":t=Ja(ms.Eras,Ls.Wide);break;case"GGGGG":t=Ja(ms.Eras,Ls.Narrow);break;case"y":t=Tc(Oo.FullYear,1,0,!1,!0);break;case"yy":t=Tc(Oo.FullYear,2,0,!0,!0);break;case"yyy":t=Tc(Oo.FullYear,3,0,!1,!0);break;case"yyyy":t=Tc(Oo.FullYear,4,0,!1,!0);break;case"Y":t=E9(1);break;case"YY":t=E9(2,!0);break;case"YYY":t=E9(3);break;case"YYYY":t=E9(4);break;case"M":case"L":t=Tc(Oo.Month,1,1);break;case"MM":case"LL":t=Tc(Oo.Month,2,1);break;case"MMM":t=Ja(ms.Months,Ls.Abbreviated);break;case"MMMM":t=Ja(ms.Months,Ls.Wide);break;case"MMMMM":t=Ja(ms.Months,Ls.Narrow);break;case"LLL":t=Ja(ms.Months,Ls.Abbreviated,ac.Standalone);break;case"LLLL":t=Ja(ms.Months,Ls.Wide,ac.Standalone);break;case"LLLLL":t=Ja(ms.Months,Ls.Narrow,ac.Standalone);break;case"w":t=sE(1);break;case"ww":t=sE(2);break;case"W":t=sE(1,!0);break;case"d":t=Tc(Oo.Date,1);break;case"dd":t=Tc(Oo.Date,2);break;case"c":case"cc":t=Tc(Oo.Day,1);break;case"ccc":t=Ja(ms.Days,Ls.Abbreviated,ac.Standalone);break;case"cccc":t=Ja(ms.Days,Ls.Wide,ac.Standalone);break;case"ccccc":t=Ja(ms.Days,Ls.Narrow,ac.Standalone);break;case"cccccc":t=Ja(ms.Days,Ls.Short,ac.Standalone);break;case"E":case"EE":case"EEE":t=Ja(ms.Days,Ls.Abbreviated);break;case"EEEE":t=Ja(ms.Days,Ls.Wide);break;case"EEEEE":t=Ja(ms.Days,Ls.Narrow);break;case"EEEEEE":t=Ja(ms.Days,Ls.Short);break;case"a":case"aa":case"aaa":t=Ja(ms.DayPeriods,Ls.Abbreviated);break;case"aaaa":t=Ja(ms.DayPeriods,Ls.Wide);break;case"aaaaa":t=Ja(ms.DayPeriods,Ls.Narrow);break;case"b":case"bb":case"bbb":t=Ja(ms.DayPeriods,Ls.Abbreviated,ac.Standalone,!0);break;case"bbbb":t=Ja(ms.DayPeriods,Ls.Wide,ac.Standalone,!0);break;case"bbbbb":t=Ja(ms.DayPeriods,Ls.Narrow,ac.Standalone,!0);break;case"B":case"BB":case"BBB":t=Ja(ms.DayPeriods,Ls.Abbreviated,ac.Format,!0);break;case"BBBB":t=Ja(ms.DayPeriods,Ls.Wide,ac.Format,!0);break;case"BBBBB":t=Ja(ms.DayPeriods,Ls.Narrow,ac.Format,!0);break;case"h":t=Tc(Oo.Hours,1,-12);break;case"hh":t=Tc(Oo.Hours,2,-12);break;case"H":t=Tc(Oo.Hours,1);break;case"HH":t=Tc(Oo.Hours,2);break;case"m":t=Tc(Oo.Minutes,1);break;case"mm":t=Tc(Oo.Minutes,2);break;case"s":t=Tc(Oo.Seconds,1);break;case"ss":t=Tc(Oo.Seconds,2);break;case"S":t=Tc(Oo.FractionalSeconds,1);break;case"SS":t=Tc(Oo.FractionalSeconds,2);break;case"SSS":t=Tc(Oo.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=C9($c.Short);break;case"ZZZZZ":t=C9($c.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=C9($c.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=C9($c.Long);break;default:return null}return aE[n]=t,t}(f);u+=h?h(i,e,l):"''"===f?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function x9(n,t,e){const r=new Date(0);return r.setFullYear(n,t,e),r.setHours(0,0,0),r}function Zh(n,t){const e=function vie(n){return n1(n)[bi.LocaleId]}(n);if(H8[e]=H8[e]||{},H8[e][t])return H8[e][t];let r="";switch(t){case"shortDate":r=y9(n,kl.Short);break;case"mediumDate":r=y9(n,kl.Medium);break;case"longDate":r=y9(n,kl.Long);break;case"fullDate":r=y9(n,kl.Full);break;case"shortTime":r=b9(n,kl.Short);break;case"mediumTime":r=b9(n,kl.Medium);break;case"longTime":r=b9(n,kl.Long);break;case"fullTime":r=b9(n,kl.Full);break;case"short":const i=Zh(n,"shortTime"),o=Zh(n,"shortDate");r=w9(_9(n,kl.Short),[i,o]);break;case"medium":const s=Zh(n,"mediumTime"),a=Zh(n,"mediumDate");r=w9(_9(n,kl.Medium),[s,a]);break;case"long":const l=Zh(n,"longTime"),u=Zh(n,"longDate");r=w9(_9(n,kl.Long),[l,u]);break;case"full":const f=Zh(n,"fullTime"),h=Zh(n,"fullDate");r=w9(_9(n,kl.Full),[f,h])}return r&&(H8[e][t]=r),r}function w9(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,r){return null!=t&&r in t?t[r]:e})),n}function K2(n,t,e="-",r,i){let o="";(n<0||i&&n<=0)&&(i?n=1-n:(n=-n,o=e));let s=String(n);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),o+s}function Tc(n,t,e=0,r=!1,i=!1){return function(o,s){let a=function Oie(n,t){switch(n){case Oo.FullYear:return t.getFullYear();case Oo.Month:return t.getMonth();case Oo.Date:return t.getDate();case Oo.Hours:return t.getHours();case Oo.Minutes:return t.getMinutes();case Oo.Seconds:return t.getSeconds();case Oo.FractionalSeconds:return t.getMilliseconds();case Oo.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${n}".`)}}(n,o);if((e>0||a>-e)&&(a+=e),n===Oo.Hours)0===a&&-12===e&&(a=12);else if(n===Oo.FractionalSeconds)return function Iie(n,t){return K2(n,3).substring(0,t)}(a,t);const l=qf(s,Eo.MinusSign);return K2(a,t,l,r,i)}}function Ja(n,t,e=ac.Format,r=!1){return function(i,o){return function Rie(n,t,e,r,i,o){switch(e){case ms.Months:return function _ie(n,t,e){const r=n1(n),o=Yf([r[bi.MonthsFormat],r[bi.MonthsStandalone]],t);return Yf(o,e)}(t,i,r)[n.getMonth()];case ms.Days:return function bie(n,t,e){const r=n1(n),o=Yf([r[bi.DaysFormat],r[bi.DaysStandalone]],t);return Yf(o,e)}(t,i,r)[n.getDay()];case ms.DayPeriods:const s=n.getHours(),a=n.getMinutes();if(o){const u=function Sie(n){const t=n1(n);return SF(t),(t[bi.ExtraData][2]||[]).map(r=>"string"==typeof r?oE(r):[oE(r[0]),oE(r[1])])}(t),f=function Eie(n,t,e){const r=n1(n);SF(r);const o=Yf([r[bi.ExtraData][0],r[bi.ExtraData][1]],t)||[];return Yf(o,e)||[]}(t,i,r),h=u.findIndex(v=>{if(Array.isArray(v)){const[m,x]=v,p=s>=m.hours&&a>=m.minutes,P=s<x.hours||s===x.hours&&a<x.minutes;if(m.hours<x.hours){if(p&&P)return!0}else if(p||P)return!0}else if(v.hours===s&&v.minutes===a)return!0;return!1});if(-1!==h)return f[h]}return function yie(n,t,e){const r=n1(n),o=Yf([r[bi.DayPeriodsFormat],r[bi.DayPeriodsStandalone]],t);return Yf(o,e)}(t,i,r)[s<12?0:1];case ms.Eras:return function xie(n,t){return Yf(n1(n)[bi.Eras],t)}(t,r)[n.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(i,o,n,t,e,r)}}function C9(n){return function(t,e,r){const i=-1*r,o=qf(e,Eo.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(n){case $c.Short:return(i>=0?"+":"")+K2(s,2,o)+K2(Math.abs(i%60),2,o);case $c.ShortGMT:return"GMT"+(i>
1=0?"+":"")+K2(s,1,o);case $c.Long:return"GMT"+(i>=0?"+":"")+K2(s,2,o)+":"+K2(Math.abs(i%60),2,o);case $c.Extended:return 0===r?"Z":(i>=0?"+":"")+K2(s,2,o)+":"+K2(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}function AF(n){return x9(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))}function sE(n,t=!1){return function(e,r){let i;if(t){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{const o=AF(e),s=function Pie(n){const t=x9(n,0,1).getDay();return x9(n,0,1+(t<=4?4:11)-t)}(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return K2(i,n,qf(r,Eo.MinusSign))}}function E9(n,t=!1){return function(e,r){return K2(AF(e).getFullYear(),n,qf(r,Eo.MinusSign),t)}}const aE={};function MF(n,t){n=n.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function DF(n){return n instanceof Date&&!isNaN(n.valueOf())}function OF(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const r=e.indexOf("="),[i,o]=-1==r?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}let mp=(()=>{class n{constructor(e,r,i,o){this._iterableDiffers=e,this._keyValueDiffers=r,this._ngEl=i,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(A8(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),e.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),e.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${fo(r.item)}`);this._toggleClass(r.item,!0)}),e.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(r=>this._toggleClass(r,!0)):Object.keys(e).forEach(r=>this._toggleClass(r,!!e[r])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(r=>this._toggleClass(r,!1)):Object.keys(e).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(e,r){(e=e.trim())&&e.split(/\s+/g).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return n.\u0275fac=function(e){return new(e||n)(he(af),he(d6),he(Jr),he(k1))},n.\u0275dir=_n({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class Qie{constructor(t,e,r,i){this.$implicit=t,this.ngForOf=e,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let lf=(()=>{class n{constructor(e,r,i){this._viewContainer=e,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const r=this._viewContainer;e.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new Qie(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),PF(a,i)}});for(let i=0,o=r.length;i<o;i++){const a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{PF(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(e,r){return!0}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(sc),he(af))},n.\u0275dir=_n({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function PF(n,t){n.context.$implicit=t.item}let jl=(()=>{class n{constructor(e,r){this._viewContainer=e,this._context=new toe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){NF("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){NF("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,r){return!0}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(sc))},n.\u0275dir=_n({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class toe{constructor(){this.$implicit=null,this.ngIf=null}}function NF(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${fo(t)}'.`)}class hE{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Fm=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const r=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let r=0;r<this._defaultViews.length;r++)this._defaultViews[r].enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),M9=(()=>{class n{constructor(e,r,i){this.ngSwitch=i,i._addCase(),this._view=new hE(e,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(sc),he(Fm,9))},n.\u0275dir=_n({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),FF=(()=>{class n{constructor(e,r,i){i._addDefault(new hE(e,r))}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(sc),he(Fm,9))},n.\u0275dir=_n({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),zm=(()=>{class n{constructor(e,r,i){this._ngEl=e,this._differs=r,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){const[i,o]=e.split("."),s=-1===i.indexOf("-")?void 0:T1.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(d6),he(k1))},n.\u0275dir=_n({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),n})();class ioe{createSubscription(t,e){return t.subscribe({next:e,error:r=>{throw r}})}dispose(t){t.unsubscribe()}}class ooe{createSubscription(t,e){return t.then(e,r=>{throw r})}dispose(t){}}const soe=new ooe,aoe=new ioe;let pE=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r))}_selectStrategy(e){if(D8(e))return soe;if(BL(e))return aoe;throw function X2(n,t){return new ir(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(he(Cl,16))},n.\u0275pipe=Ma({name:"async",type:n,pure:!1,standalone:!0}),n})(),Kf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();const VF="browser";function p6(n){return n===VF}function m6(n){return"server"===n}let Moe=(()=>{class n{}return n.\u0275prov=un({token:n,providedIn:"root",factory:()=>new Doe(qt(Ki),window)}),n})();class Doe{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function koe(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const r=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),r=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=HF(this.window.history)||HF(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function HF(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class jF{}class bE extends class qoe extends class uie{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function cie(n){v9||(v9=n)}(new bE)}onAndCancel(t,e,r){return t.addEventListener(e,r,!1),()=>{t.removeEventListener(e,r,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function Yoe(){return $8=$8||document.querySelector("base"),$8?$8.getAttribute("href"):null}();return null==e?null:function Koe(n){k9=k9||document.createElement("a"),k9.setAttribute("href",n);const t=k9.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){$8=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return OF(document.cookie,t)}}let k9,$8=null;const WF=new or("TRANSITION_ID"),Zoe=[{provide:f9,useFactory:function Xoe(n,t,e){return()=>{e.get(d9).donePromise.then(()=>{const r=jd(),i=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[WF,Ki,Dc],multi:!0}];let Qoe=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();const T9=new or("EventManagerPlugins");let I9=(()=>{class n{constructor(e,r){this._zone=r,this._eventNameToPlugin=new Map,e.forEach(i=>
1i.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,r,i){return this._findPluginFor(r).addEventListener(e,r,i)}addGlobalEventListener(e,r,i){return this._findPluginFor(r).addGlobalEventListener(e,r,i)}getZone(){return this._zone}_findPluginFor(e){const r=this._eventNameToPlugin.get(e);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];if(s.supports(e))return this._eventNameToPlugin.set(e,s),s}throw new Error(`No event manager plugin found for event ${e}`)}}return n.\u0275fac=function(e){return new(e||n)(qt(T9),qt(Qi))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();class qF{constructor(t){this._doc=t}addGlobalEventListener(t,e,r){const i=jd().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,r)}}let YF=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const r=new Set;e.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),G8=(()=>{class n extends YF{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,r,i){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(e){const r=[];this._addStylesToHost(this._stylesSet,e,r),this._hostNodes.set(e,r)}removeHost(e){const r=this._hostNodes.get(e);r&&r.forEach(KF),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(e,i,r)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(KF))}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();function KF(n){jd().remove(n)}const _E={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},xE=/%COMP%/g;function O9(n,t,e){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?O9(n,i,e):(i=i.replace(xE,n),e.push(i))}return e}function JF(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let R9=(()=>{class n{constructor(e,r,i){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new wE(e)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;switch(r.encapsulation){case zc.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new ose(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(e),i}case 1:case zc.ShadowDom:return new sse(this.eventManager,this.sharedStylesHost,e,r);default:if(!this.rendererByCompId.has(r.id)){const i=O9(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(qt(I9),qt(G8),qt(Pm))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();class wE{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(_E[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(ez(t)?t.content:t).appendChild(e)}insertBefore(t,e,r){t&&(ez(t)?t.content:t).insertBefore(e,r)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,i){if(i){e=i+":"+e;const o=_E[i];o?t.setAttributeNS(o,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){const i=_E[r];i?t.removeAttributeNS(i,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,i){i&(T1.DashCase|T1.Important)?t.style.setProperty(e,r,i&T1.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&T1.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t[e]=r}setValue(t,e){t.nodeValue=e}listen(t,e,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,JF(r)):this.eventManager.addEventListener(t,e,JF(r))}}function ez(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class ose extends wE{constructor(t,e,r,i){super(t),this.component=r;const o=O9(i+"-"+r.id,r.styles,[]);e.addStyles(o),this.contentAttr=function nse(n){return"_ngcontent-%COMP%".replace(xE,n)}(i+"-"+r.id),this.hostAttr=function rse(n){return"_nghost-%COMP%".replace(xE,n)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const r=super.createElement(t,e);return super.setAttribute(r,this.contentAttr,""),r}}class sse extends wE{constructor(t,e,r,i){super(t),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=O9(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,r){return super.insertBefore(this.nodeOrShadowRoot(t),e,r)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let ase=(()=>{class n extends qF{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i){return e.addEventListener(r,i,!1),()=>this.removeEventListener(e,r,i)}removeEventListener(e,r,i){return e.removeEventListener(r,i)}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();const tz=["alt","control","meta","shift"],lse={"\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"},cse={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let use=(()=>{class n extends qF{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,r,i){const o=n.parseEventName(r),s=n.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jd().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const r=e.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=n._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),tz.forEach(u=>{const f=r.indexOf(u);f>-1&&(r.splice(f,1),s+=u+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(e,r){let i=lse[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),tz.forEach(s=>{s!==i&&(0,cse[s])(e)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{n.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();const rz=[{provide:o1,useValue:VF},{provide:UN,useValue:function fse(){bE.makeCurrent()},multi:!0},{provide:Ki,useFactory:function hse(){return function Od(n){E1=n}(document),document},deps:[]}],pse=JN(sie,"browser",rz),iz=new or(""),oz=[{provide:h9,useClass:class Joe{addToWindow(t){ta.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},ta.getAllAngularTestabilities=()=>t.getAllTestabilities(),ta.getAllAngularRootElements=()=>t.getAllRootElements(),ta.frameworkStabilizers||(ta.frameworkStabilizers=[]),ta.frameworkStabilizers.push(r=>{const i=ta.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};
1i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,r){return null==e?null:t.getTestability(e)??(r?jd().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:YN,useClass:qS,deps:[Qi,YS,h9]},{provide:qS,useClass:qS,deps:[Qi,YS,h9]}],sz=[{provide:Io,useValue:"root"},{provide:$h,useFactory:function dse(){return new $h},deps:[]},{provide:T9,useClass:ase,multi:!0,deps:[Ki,Qi,o1]},{provide:T9,useClass:use,multi:!0,deps:[Ki]},{provide:R9,useClass:R9,deps:[I9,G8,Pm]},{provide:_8,useExisting:R9},{provide:YF,useExisting:G8},{provide:G8,useClass:G8,deps:[Ki]},{provide:I9,useClass:I9,deps:[T9,Qi]},{provide:jF,useClass:Qoe,deps:[]},[]];let az=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Pm,useValue:e.appId},{provide:WF,useExisting:Pm},Zoe]}}}return n.\u0275fac=function(e){return new(e||n)(qt(iz,12))},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[...sz,...oz],imports:[Kf,aie]}),n})(),lz=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki))},n.\u0275prov=un({token:n,factory:function(e){let r=null;return r=e?new e:function gse(){return new lz(qt(Ki))}(),r},providedIn:"root"}),n})();typeof window<"u"&&window;let vp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:function(e){let r=null;return r=e?new(e||n):qt(fz),r},providedIn:"root"}),n})(),fz=(()=>{class n extends vp{constructor(e){super(),this._doc=e}sanitize(e,r){if(null==r)return null;switch(e){case Fs.NONE:return r;case Fs.HTML:return M1(r,"HTML")?Mc(r):Uh(this._doc,String(r)).toString();case Fs.STYLE:return M1(r,"Style")?Mc(r):r;case Fs.SCRIPT:if(M1(r,"Script"))return Mc(r);throw new Error("unsafe value used in a script context");case Fs.URL:return M1(r,"URL")?Mc(r):e6(String(r));case Fs.RESOURCE_URL:if(M1(r,"ResourceURL"))return Mc(r);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function Ly(n){return new Pd(n)}(e)}bypassSecurityTrustStyle(e){return function Py(n){return new Nd(n)}(e)}bypassSecurityTrustScript(e){return function dm(n){return new fm(n)}(e)}bypassSecurityTrustUrl(e){return function u8(n){return new A1(n)}(e)}bypassSecurityTrustResourceUrl(e){return function ap(n){return new Ry(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki))},n.\u0275prov=un({token:n,factory:function(e){let r=null;return r=e?new e:function Cse(n){return new fz(n.get(Ki))}(qt(Dc)),r},providedIn:"root"}),n})();class dz{}const Jh="*";function cf(n,t){return{type:7,name:n,definitions:t,options:{}}}function Gc(n,t=null){return{type:4,styles:t,timings:n}}function hz(n,t=null){return{type:3,steps:n,options:t}}function pz(n,t=null){return{type:2,steps:n,options:t}}function rs(n){return{type:6,styles:n,offset:null}}function Ul(n,t,e){return{type:0,name:n,styles:t,options:e}}function W8(n){return{type:5,steps:n}}function lc(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function L9(n=null){return{type:9,options:n}}function P9(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function mz(n){Promise.resolve().then(n)}class q8{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){mz(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}class gz{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,r=0,i=0;const o=this.players.length;0==o?mz(()=>
1this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,e/r.totalTime):1;r.setPosition(i)})}getPosition(){const t=this.players.reduce((e,r)=>null===e||r.totalTime>e.totalTime?r:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}function vz(n){return new ir(3e3,!1)}function oae(){return typeof window<"u"&&typeof window.document<"u"}function AE(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function yp(n){switch(n.length){case 0:return new q8;case 1:return n[0];default:return new gz(n)}}function yz(n,t,e,r,i=new Map,o=new Map){const s=[],a=[];let l=-1,u=null;if(r.forEach(f=>{const h=f.get("offset"),v=h==l,m=v&&u||new Map;f.forEach((x,p)=>{let P=p,T=x;if("offset"!==p)switch(P=t.normalizePropertyName(P,s),T){case"!":T=i.get(p);break;case Jh:T=o.get(p);break;default:T=t.normalizeStyleValue(p,P,T,s)}m.set(P,T)}),v||a.push(m),u=m,l=h}),s.length)throw function qse(n){return new ir(3502,!1)}();return a}function ME(n,t,e,r){switch(t){case"start":n.onStart(()=>r(e&&DE(e,"start",n)));break;case"done":n.onDone(()=>r(e&&DE(e,"done",n)));break;case"destroy":n.onDestroy(()=>r(e&&DE(e,"destroy",n)))}}function DE(n,t,e){const o=kE(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function kE(n,t,e,r,i="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function uf(n,t,e){let r=n.get(t);return r||n.set(t,r=e),r}function bz(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let TE=(n,t)=>!1,_z=(n,t,e)=>[],xz=null;function IE(n){const t=n.parentNode||n.host;return t===xz?null:t}(AE()||typeof Element<"u")&&(oae()?(xz=(()=>document.documentElement)(),TE=(n,t)=>{for(;t;){if(t===n)return!0;t=IE(t)}return!1}):TE=(n,t)=>n.contains(t),_z=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const r=n.querySelector(t);return r?[r]:[]});let g6=null,wz=!1;const Cz=TE,Sz=_z;let Ez=(()=>{class n{validateStyleProperty(e){return function aae(n){g6||(g6=function lae(){return typeof document<"u"?document.body:null}()||{},wz=!!g6.style&&"WebkitAppearance"in g6.style);let t=!0;return g6.style&&!function sae(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in g6.style,!t&&wz&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in g6.style)),t}(e)}matchesElement(e,r){return!1}containsElement(e,r){return Cz(e,r)}getParentElement(e){return IE(e)}query(e,r,i){return Sz(e,r,i)}computeStyle(e,r,i){return i||""}animate(e,r,i,o,s,a=[],l){return new q8(i,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),OE=(()=>{class n{}return n.NOOP=new Ez,n})();const RE="ng-enter",N9="ng-leave",F9="ng-trigger",z9=".ng-trigger",Mz="ng-animating",LE=".ng-animating";function Qh(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:PE(parseFloat(t[1]),t[2])}function PE(n,t){return"s"===t?1e3*n:n}function B9(n,t,e){return n.hasOwnProperty("duration")?n:function fae(n,t,e){let i,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(vz()),{duration:0,delay:0,easing:""};i=PE(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=PE(parseFloat(l),a[4]));const u=a[5];u&&(s=u)}else i=n;if(!e){let a=!1,l=t.length;i<0&&(t.push(function Ese(){return new ir(3100,!1)}()),a=!0),o<0&&(t.push(function Ase(){return new ir(3101,!1)}()),a=!0),a&&t.splice(l,0,vz())}return{duration:i,delay:o,easing:s}}(n,t,e)}function Y8(n,t={}
1){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function Dz(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function bp(n,t=new Map,e){if(e)for(let[r,i]of e)t.set(r,i);for(let[r,i]of n)t.set(r,i);return t}function Tz(n,t,e){return e?t+":"+e+";":""}function Iz(n){let t="";for(let e=0;e<n.style.length;e++){const r=n.style.item(e);t+=Tz(0,r,n.style.getPropertyValue(r))}for(const e in n.style)n.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=Tz(0,mae(e),n.style[e]));n.setAttribute("style",t)}function Ud(n,t,e){n.style&&(t.forEach((r,i)=>{const o=FE(i);e&&!e.has(i)&&e.set(i,n.style[o]),n.style[o]=r}),AE()&&Iz(n))}function v6(n,t){n.style&&(t.forEach((e,r)=>{const i=FE(r);n.style[i]=""}),AE()&&Iz(n))}function K8(n){return Array.isArray(n)?1==n.length?n[0]:pz(n):n}const NE=new RegExp("{{\\s*(.+?)\\s*}}","g");function Oz(n){let t=[];if("string"==typeof n){let e;for(;e=NE.exec(n);)t.push(e[1]);NE.lastIndex=0}return t}function X8(n,t,e){const r=n.toString(),i=r.replace(NE,(o,s)=>{let a=t[s];return null==a&&(e.push(function Dse(n){return new ir(3003,!1)}()),a=""),a.toString()});return i==r?n:i}function V9(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const pae=/-+([a-z0-9])/g;function FE(n){return n.replace(pae,(...t)=>t[1].toUpperCase())}function mae(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ff(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function kse(n){return new ir(3004,!1)}()}}function Rz(n,t){return window.getComputedStyle(n)[t]}function xae(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(r=>function wae(n,t,e){if(":"==n[0]){const l=function Cae(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r)<parseFloat(e);default:return t.push(function Use(n){return new ir(3016,!1)}()),"* => *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const r=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return e.push(function jse(n){return new ir(3015,!1)}()),t;const i=r[1],o=r[2],s=r[3];t.push(Lz(i,s));"<"==o[0]&&!("*"==i&&"*"==s)&&t.push(Lz(s,i))}(r,e,t)):e.push(n),e}const $9=new Set(["true","1"]),G9=new Set(["false","0"]);function Lz(n,t){const e=$9.has(n)||G9.has(n),r=$9.has(t)||G9.has(t);return(i,o)=>{let s="*"==n||n==i,a="*"==t||t==o;return!s&&e&&"boolean"==typeof i&&(s=i?$9.has(n):G9.has(n)),!a&&r&&"boolean"==typeof o&&(a=o?$9.has(t):G9.has(t)),s&&a}}const Sae=new RegExp("s*:selfs*,?","g");function zE(n,t,e,r){return new Eae(n).build(t,e,r)}class Eae{constructor(t){this._driver=t}build(t,e,r){const i=new Dae(e);return this._resetContextStyleTimingState(i),ff(this,K8(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let r=e.queryCount=0,i=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function Ise(){return new ir(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(f=>{l.name=f,o.push(this.visitState(l,e))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,e);r+=l.queryCount,i+=l.depCount,s.push(l)}else e.errors.push(function Ose(){return new ir(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(t,e){const r=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Oz(l).forEach(u=>{s.hasOwnProperty(u)||o.add(u)})})}),o.size&&(V9(o.values()),e.errors.push(function Rse(n,t){return new ir(3008,!1)}()))}return{type:0,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const r=ff(this,K8(t.animation),e);return{type:1,matchers:xae(t.expr,e.errors),animation:r,queryCount:e.queryCount,depCount:e.depCount,options:y6(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(r=>ff(this,r,e)),options:y6(t.options)}}visitGroup(t,e){const r=e.currentTime;let i=0;const o=t.steps.map(s=>{e.currentTime=r;const a=ff(this,s,e);return i=Math.max(i,e.currentTime),a}
vendor: 14,235 bytes, line 1
1);return e.currentTime=i,{type:3,steps:o,options:y6(t.options)}}visitAnimate(t,e){const r=function Tae(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return BE(B9(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=BE(0,0,"");return o.dynamic=!0,o.strValue=e,o}const i=B9(e,t);return BE(i.duration,i.delay,i.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;let i,o=t.styles?t.styles:rs({});if(5==o.type)i=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const u={};r.easing&&(u.easing=r.easing),s=rs(u)}e.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,i=l}return e.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(t,e){const r=this._makeStyleAst(t,e);return this._validateStyleAst(r,e),r}_makeStyleAst(t,e){const r=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)"string"==typeof a?a===Jh?r.push(a):e.errors.push(new ir(3002,!1)):r.push(Dz(a));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const r=e.currentAnimateTimings;let i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const u=e.collectedStyles.get(e.currentQuerySelector),f=u.get(l);let h=!0;f&&(o!=i&&o>=f.startTime&&i<=f.endTime&&(e.errors.push(function Pse(n,t,e,r,i){return new ir(3010,!1)}()),h=!1),o=f.startTime),h&&u.set(l,{startTime:o,endTime:i}),e.options&&function hae(n,t,e){const r=t.params||{},i=Oz(n);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||e.push(function Mse(n){return new ir(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Nse(){return new ir(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,u=0;const f=t.steps.map(T=>{const H=this._makeStyleAst(T,e);let U=null!=H.offset?H.offset:function kae(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const r=e;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(H.styles),ee=0;return null!=U&&(o++,ee=H.offset=U),l=l||ee<0||ee>1,a=a||ee<u,u=ee,s.push(ee),H});l&&e.errors.push(function Fse(){return new ir(3012,!1)}()),a&&e.errors.push(function zse(){return new ir(3200,!1)}());const h=t.steps.length;let v=0;o>0&&o<h?e.errors.push(function Bse(){return new ir(3202,!1)}()):0==o&&(v=1/(h-1));const m=h-1,x=e.currentTime,p=e.currentAnimateTimings,P=p.duration;return f.forEach((T,H)=>{const U=v>0?H==m?1:v*H:s[H],ee=U*P;e.currentTime=x+p.delay+ee,p.duration=ee,this._validateStyleAst(T,e),T.offset=U,r.styles.push(T)}),r}visitReference(t,e){return{type:8,animation:ff(this,K8(t.animation),e),options:y6(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:y6(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:y6(t.options)}}visitQuery(t,e){const r=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function Aae(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(Sae,"")),n=n.replace(/@\*/g,z9).replace(/@\w+/g,e=>z9+"-"+e.slice(1)).replace(/:animating/g,LE),[n,t]}(t.selector);e.currentQuerySelector=r.length?r+" "+o:o,uf(e.collectedStyles,e.currentQuerySelector,new Map);const a=ff(this,K8(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:y6(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function Vse(){return new ir(3013,!1)}());const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:B9(t.timings,e.errors,!0);return{type:12,animation:ff(this,K8(t.animation),e),timings:r,options:null}}}class Dae{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function y6(n){return n?(n=Y8(n)).params&&(n.params=function Mae(n){return n?Y8(n):null}(n.params)):n={},n}function BE(n,t,e){return{duration:n,delay:t,easing:e}}function VE(n,t,e,r,i,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class W9{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Rae=new RegExp(":enter","g"),Pae=new RegExp(":leave","g");function HE(n,t,e,r,i,o=new Map,s=new Map,a,l,u=[]){return(new Nae).buildKeyframes(n,t,e,r,i,o,s,a,l,u)}class Nae{buildKeyframes(t,e,r,i,o,s,a,l,u,f=[]){u=u||new W9;const h=new jE(t,e,u,i,o,f,[]);h.options=l;const v=l.delay?Qh(l.delay):0;h.currentTimeline.delayNextStep(v),h.currentTimeline.setStyles([s],null,h.errors,l),ff(this,r,h);const m=h.timelines.filter(x=>x.containsAnimation());if(m.length&&a.size){let x;for(let p=m.length-1;p>=0;p--){const P=m[p];if(P.element===e){x=P;break}}x&&!x.allowOnlyTimelineStyles()&&x.setStyles([a],null,h.errors,l)}return m.length?m.map(x=>x.buildKeyframes()):[VE(e,[],[],[],0,v,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const r=e.subInstructions.get(e.element);if(r){const i=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const r=e.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,r),this.visitReference(t.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,r){for(const o of t){const s=o?.delay;if(s){var i;const a="number"==typeof s?s:Qh(X8(s,null!==(i=o?.params)&&void 0!==i?i:{},e.errors));r.delayNextStep(a)}}}_visitSubInstructions(t,e,r){let o=e.currentTimeline.currentTime;const s=null!=r.duration?Qh(r.duration):null,a=null!=r.delay?Qh(r.delay):null;return 0!==s&&t.forEach(l=>{const u=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),ff(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const r=e.subContextCount;let i=e;const o=t.options;if(o&&(o.params||o.delay)&&(i=e.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=q9);const s=Qh(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>ff(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const r=[];let i=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?Qh(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),ff(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const r=t.strValue;return B9(e.params?X8(r,e.params,e.errors):r,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const r=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),i.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(r.duration),this.visitStyle(o,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const r=e.currentTimeline,i=e.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const r=e.currentAnimateTimings,i=e.currentTimeline.duration,o=r.duration,a=e.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+o),e.previousNode=t}visitQuery(t,e){const r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?Qh(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=q9);let s=r;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((u,f)=>{e.currentQueryIndex=f;const h=e.createSubContext(t.options,u);o&&h.delayNextStep(o),u===e.element&&(l=h.currentTimeline),ff(this,t.animation,h),h.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,h.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const r=e.parentContext,i=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const f=e.currentTimeline;l&&f.delayNextStep(l);const h=f.currentTime;ff(this,t.animation,e),e.previousNode=t,r.currentStaggerTime=i.currentTime-h+(i.startTime-r.currentTimeline.startTime)}}const q9={};class jE{constructor(t,e,r,i,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=q9,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Y9(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const r=t;let i=this.options;null!=r.duration&&(i.duration=Qh(r.duration)),null!=r.delay&&(i.delay=Qh(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=X8(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const r=t.params={};Object.keys(e).forEach(i=>{r[i]=e[i]})}}return t}createSubContext(t=null,e,r){const i=e||this.element,o=new jE(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=q9,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,r){const i={duration:e??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new Fae(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,r,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(Rae,"."+this._enterClassName)).replace(Pae,"."+this._leaveClassName);let u=this._driver.query(this.element,t,1!=r);0!==r&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!o&&0==a.length&&s.push(function Hse(n){return new ir(3014,!1)}()),a}}class Y9{constructor(t,e,r,i){this._driver=t,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Y9(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,r]of this._globalTimelineStyles)this._backFill.set(e,r||Jh),this._currentKeyframe.set(e,Jh);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,r,i){e&&this._previousKeyframe.set("easing",e);const o=i&&i.params||{},s=function zae(n,t){const e=new Map;let r;return n.forEach(i=>{if("*"===i){r=r||t.keys();for(let o of r)e.set(o,Jh)}else bp(i,e)}),e}(t,this._globalTimelineStyles);for(let[l,u]of s){const f=X8(u,o,r);var a;this._pendingStyles.set(l,f),this._localTimelineStyles.has(l)||this._backFill.set(l,null!==(a=this._globalTimelineStyles.get(l))&&void 0!==a?a:Jh),this._updateStyle(l,f)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}
vendor: 11,925 bytes, line 1
1mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,r)=>{const i=this._styleSummary.get(r);(!i||e.time>i.time)&&this._updateStyle(r,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const u=bp(a,new Map,this._backFill);u.forEach((f,h)=>{"!"===f?t.add(h):f===Jh&&e.add(h)}),r||u.set("offset",l/this.duration),i.push(u)});const o=t.size?V9(t.values()):[],s=e.size?V9(e.values()):[];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return VE(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class Fae extends Y9{constructor(t,e,r,i,o,s,a=!1){super(t,e,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=r+e,a=e/s,l=bp(t[0]);l.set("offset",0),o.push(l);const u=bp(t[0]);u.set("offset",Fz(a)),o.push(u);const f=t.length-1;for(let h=1;h<=f;h++){let v=bp(t[h]);const m=v.get("offset");v.set("offset",Fz((e+m*r)/s)),o.push(v)}r=s,e=0,i="",t=o}return VE(this.element,t,this.preStyleProps,this.postStyleProps,r,e,i,!0)}}function Fz(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class UE{}const Bae=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Vae extends UE{normalizePropertyName(t,e){return FE(t)}normalizeStyleValue(t,e,r,i){let o="";const s=r.toString().trim();if(Bae.has(e)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function Tse(n,t){return new ir(3005,!1)}())}return s+o}}function zz(n,t,e,r,i,o,s,a,l,u,f,h,v){return{type:0,element:n,triggerName:t,isRemovalTransition:i,fromState:e,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:f,totalTime:h,errors:v}}const $E={};class Bz{constructor(t,e,r){this._triggerName=t,this.ast=e,this._stateStyles=r}match(t,e,r,i){return function Hae(n,t,e,r,i){return n.some(o=>o(t,e,r,i))}(this.ast.matchers,t,e,r,i)}buildStyles(t,e,r){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(e,r):new Map}build(t,e,r,i,o,s,a,l,u,f){var h;const v=[],m=this.ast.options&&this.ast.options.params||$E,p=this.buildStyles(r,a&&a.params||$E,v),P=l&&l.params||$E,T=this.buildStyles(i,P,v),H=new Set,U=new Map,ee=new Map,ie="void"===i,me={params:jae(P,m),delay:null===(h=this.ast.options)||void 0===h?void 0:h.delay},ue=f?[]:HE(t,e,this.ast.animation,o,s,p,T,me,u,v);let Se=0;if(ue.forEach(it=>{Se=Math.max(it.duration+it.delay,Se)}),v.length)return zz(e,this._triggerName,r,i,ie,p,T,[],[],U,ee,Se,v);ue.forEach(it=>{const ye=it.element,xe=uf(U,ye,new Set);it.preStyleProps.forEach(qe=>xe.add(qe));const ze=uf(ee,ye,new Set);it.postStyleProps.forEach(qe=>ze.add(qe)),ye!==e&&H.add(ye)});const Ue=V9(H.values());return zz(e,this._triggerName,r,i,ie,p,T,ue,Ue,U,ee,Se)}}function jae(n,t){const e=Y8(t);for(const r in n)n.hasOwnProperty(r)&&null!=n[r]&&(e[r]=n[r]);return e}class Uae{constructor(t,e,r){this.styles=t,this.defaultParams=e,this.normalizer=r}buildStyles(t,e){const r=new Map,i=Y8(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(i[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=X8(s,i,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),r.set(l,s)})}),r}}class Gae{constructor(t,e,r){this.name=t,this.ast=e,this._normalizer=r,this.transitionFactories=[],this.states=new Map,e.states.forEach(i=>{this.states.set(i.name,new Uae(i.style,i.options&&i.options.params||{},r))}),Vz(this.states,"true","1"),Vz(this.states,"false","0"),e.transitions.forEach(i=>{this.transitionFactories.push(new Bz(t,i,this.states))}),this.fallbackTransition=function Wae(n,t,e){return new Bz(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,r,i){return this.transitionFactories.find(s=>s.match(t,e,r,i))||null}matchStyles(t,e,r){return this.fallbackTransition.buildStyles(t,e,r)}}function Vz(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const qae=new W9;class Yae{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const r=[],o=zE(this._driver,e,r,[]);if(r.length)throw function Yse(n){return new ir(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,r){const i=t.element,o=yz(0,this._normalizer,0,t.keyframes,e,r);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,r={}){const i=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=HE(this._driver,e,o,RE,N9,new Map,new Map,r,qae,i),s.forEach(f=>{const h=uf(a,f.element,new Map);f.postStyleProps.forEach(v=>h.set(v,null))})):(i.push(function Kse(){return new ir(3300,!1)}()),s=[]),i.length)throw function Xse(n){return new ir(3504,!1)}();a.forEach((f,h)=>{f.forEach((v,m)=>{f.set(m,this._driver.computeStyle(h,m,Jh))})});const u=yp(s.map(f=>{const h=a.get(f.element);return this._buildPlayer(f,new Map,h)}));return this._playersById.set(t,u),u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const r=this.players.indexOf(e);r>=0&&this.players.splice(r,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function Zse(n){return new ir(3301,!1)}();return e}listen(t,e,r,i){const o=kE(e,"","","");return ME(this._getPlayer(t),r,o,i),()=>{}}command(t,e,r,i){if("register"==r)return void this.register(t,i[0]);if("create"==r)return void this.create(t,e,i[0]||{});const o=this._getPlayer(t);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Hz="ng-animate-queued",GE="ng-animate-disabled",Qae=[],jz={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ele={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xf="__ng_removed";class WE{constructor(t,e=""){this.namespaceId=e;const r=t&&t.hasOwnProperty("value");if(this.value=function ile(n){return n??null}(r?t.value:t),r){const o=Y8(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const r=this.options.params;Object.keys(e).forEach(i=>{null==r[i]&&(r[i]=e[i])})}}}const Z8="void",qE=new WE(Z8);class tle{constructor(t,e,r){this.id=t,this.hostElement=e,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Zf(e,this._hostClassName)}listen(t,e,r,i){if(!this._triggers.has(e))throw function Jse(n,t){return new ir(3302,!1)}();if(null==r||0==r.length)throw function Qse(n){return new ir(3303,!1)}();if(!function ole(n){return"start"==n||"done"==n}(r))throw function eae(n,t){return new ir(3400,!1)}();const o=uf(this._elementListeners,t,[]),s={name:e,phase:r,callback:i};o.push(s);const a=uf(this._engine.statesByElement,t,new Map);return a.has(e)||(Zf(t,F9),Zf(t,F9+"-"+e),a.set(e,qE)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function tae(n){return new ir(3401,!1)}();return e}trigger(t,e,r,i=!0){const o=this._getTrigger(e),s=new YE(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(Zf(t,F9),Zf(t,F9+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const u=new WE(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(e,u),l||(l=qE),u.value!==Z8&&l.value===u.value){if(!function lle(n,t){const e=Object.keys(n),r=Object.keys(t);if(e.length!=r.length)return!1;for(let i=0;i<e.length;i++){const o=e[i];if(!t.hasOwnProperty(o)||n[o]!==t[o])return!1}return!0}(l.params,u.params)){const p=[],P=o.matchStyles(l.value,l.params,p),T=o.matchStyles(u.value,u.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush(()=>{v6(t,P),Ud(t,T)})}return}const v=uf(this._engine.playersByElement,t,[]);v.forEach(p=>{p.namespaceId==this.id&&p.triggerName==e&&p.queued&&p.destroy()});let m=o.matchTransition(l.value,u.value,t,u.params),x=!1;if(!m){if(!i)return;m=o.fallbackTransition,x=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:m,fromState:l,toState:u,player:s,isFallbackTransition:x}),x||(Zf(t,Hz),s.onStart(()=>{Bm(t,Hz)})),s.onDone(()=>{let p=this.players.indexOf(s);p>=0&&this.players.splice(p,1);const P=this._engine.playersByElement.get(t);if(P){let T=P.indexOf(s);T>=0&&P.splice(T,1)}}),this.players.push(s),v.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const r=this._engine.driver.query(t,z9,!0);r.forEach(i=>{if(i[Xf])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,e,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,e,r,i){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,u)=>{if(s.set(u,l.value),this._triggers.has(u)){const f=this.trigger(t,u,Z8,i);f&&a.push(f)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),r&&yp(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(e&&r){const i=new Set;e.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const l=this._triggers.get(s).fallbackTransition,u=r.get(s)||qE,f=new WE(Z8),h=new YE(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:u,toState:f,player:h,isFallbackTransition:!0})})}}removeNode(t,e){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Xf];(!o||o===jz)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}}insertNode(t,e){Zf(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);
1s&&s.forEach(a=>{if(a.name==r.triggerName){const l=kE(o,r.triggerName,r.fromState.value,r.toState.value);l._data=t,ME(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(r)}),this._queue=[],e.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(r=>r.element===t)||e,e}}class nle{constructor(t,e,r){this.bodyNode=t,this.driver=e,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,e){const r=new tle(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,e){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=i.get(a);if(l){const u=r.indexOf(l);r.splice(u+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return i.set(e,t),t}register(t,e){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,e)),r}registerTrigger(t,e,r){let i=this._namespaceLookup[t];i&&i.register(e,r)&&this.totalAnimations++}destroy(t,e){if(!t)return;const r=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[t];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,r=this.statesByElement.get(t);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&e.add(o)}return e}trigger(t,e,r,i){if(K9(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,r,i),!0}return!1}insertNode(t,e,r,i){if(!K9(e))return;const o=e[Xf];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,r)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Zf(t,GE)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Bm(t,GE))}removeNode(t,e,r,i){if(K9(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),r){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,r,i,o){this.collectedLeaveElements.push(e),e[Xf]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,r,i,o){return K9(e)?this._fetchNamespace(t).listen(e,r,i,o):()=>{}}_buildInstruction(t,e,r,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,z9,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,LE,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return yp(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const r=t[Xf];if(r&&r.setForRemoval){if(t[Xf]=jz,r.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,r.setForRemoval)}null!==(e=t.classList)&&void 0!==e&&e.contains(GE)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEac
vendor: 3,782 bytes, line 1
1h(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)Zf(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{e=this._flushAnimations(r,t)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],e.length?yp(e).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw function nae(n){return new ir(3402,!1)}()}_flushAnimations(t,e){const r=new W9,i=[],o=new Map,s=[],a=new Map,l=new Map,u=new Map,f=new Set;this.disabledNodes.forEach(Ne=>{f.add(Ne);const je=this.driver.query(Ne,".ng-animate-queued",!0);for(let we=0;we<je.length;we++)f.add(je[we])});const h=this.bodyNode,v=Array.from(this.statesByElement.keys()),m=Gz(v,this.collectedEnterElements),x=new Map;let p=0;m.forEach((Ne,je)=>{const we=RE+p++;x.set(je,we),Ne.forEach(Ke=>Zf(Ke,we))});const P=[],T=new Set,H=new Set;for(let Ne=0;Ne<this.collectedLeaveElements.length;Ne++){const je=this.collectedLeaveElements[Ne],we=je[Xf];we&&we.setForRemoval&&(P.push(je),T.add(je),we.hasAnimation?this.driver.query(je,".ng-star-inserted",!0).forEach(Ke=>T.add(Ke)):H.add(je))}const U=new Map,ee=Gz(v,Array.from(T));ee.forEach((Ne,je)=>{const we=N9+p++;U.set(je,we),Ne.forEach(Ke=>Zf(Ke,we))}),t.push(()=>{m.forEach((Ne,je)=>{const we=x.get(je);Ne.forEach(Ke=>Bm(Ke,we))}),ee.forEach((Ne,je)=>{const we=U.get(je);Ne.forEach(Ke=>Bm(Ke,we))}),P.forEach(Ne=>{this.processLeaveNode(Ne)})});const ie=[],me=[];for(let Ne=this._namespaceList.length-1;Ne>=0;Ne--)this._namespaceList[Ne].drainQueuedTransitions(e).forEach(we=>{const Ke=we.player,dt=we.element;if(ie.push(Ke),this.collectedEnterElements.length){const De=dt[Xf];if(De&&De.setForMove){if(De.previousTriggersValues&&De.previousTriggersValues.has(we.triggerName)){const gt=De.previousTriggersValues.get(we.triggerName),Rt=this.statesByElement.get(we.element);if(Rt&&Rt.has(we.triggerName)){const kt=Rt.get(we.triggerName);kt.value=gt,Rt.set(we.triggerName,kt)}}return void Ke.destroy()}}const Tt=!h||!this.driver.containsElement(h,dt),Ae=U.get(dt),Pe=x.get(dt),Xe=this._buildInstruction(we,r,Pe,Ae,Tt);if(Xe.errors&&Xe.errors.length)return void me.push(Xe);if(Tt)return Ke.onStart(()=>v6(dt,Xe.fromStyles)),Ke.onDestroy(()=>Ud(dt,Xe.toStyles)),void i.push(Ke);if(we.isFallbackTransition)return Ke.onStart(()=>v6(dt,Xe.fromStyles)),Ke.onDestroy(()=>Ud(dt,Xe.toStyles)),void i.push(Ke);const $e=[];Xe.timelines.forEach(De=>{De.stretchStartingKeyframe=!0,this.disabledNodes.has(De.element)||$e.push(De)}),Xe.timelines=$e,r.append(dt,Xe.timelines),s.push({instruction:Xe,player:Ke,element:dt}),Xe.queriedElements.forEach(De=>uf(a,De,[]).push(Ke)),Xe.preStyleProps.forEach((De,gt)=>{if(De.size){let Rt=l.get(gt);Rt||l.set(gt,Rt=new Set),De.forEach((kt,rn)=>Rt.add(rn))}}),Xe.postStyleProps.forEach((De,gt)=>{let Rt=u.get(gt);Rt||u.set(gt,Rt=new Set),De.forEach((kt,rn)=>Rt.add(rn))})});if(me.length){const Ne=[];me.forEach(je=>{Ne.push(function rae(n,t){return new ir(3505,!1)}())}),ie.forEach(je=>je.destroy()),this.reportError(Ne)}const ue=new Map,Se=new Map;s.forEach(Ne=>{const je=Ne.element;r.has(je)&&(Se.set(je,je),this._beforeAnimationBuild(Ne.player.namespaceId,Ne.instruction,ue))}
1),i.forEach(Ne=>{const je=Ne.element;this._getPreviousPlayers(je,!1,Ne.namespaceId,Ne.triggerName,null).forEach(Ke=>{uf(ue,je,[]).push(Ke),Ke.destroy()})});const Ue=P.filter(Ne=>qz(Ne,l,u)),it=new Map;$z(it,this.driver,H,u,Jh).forEach(Ne=>{qz(Ne,l,u)&&Ue.push(Ne)});const xe=new Map;m.forEach((Ne,je)=>{$z(xe,this.driver,new Set(Ne),l,"!")}),Ue.forEach(Ne=>{var je,we;const Ke=it.get(Ne),dt=xe.get(Ne);it.set(Ne,new Map([...Array.from(null!==(je=Ke?.entries())&&void 0!==je?je:[]),...Array.from(null!==(we=dt?.entries())&&void 0!==we?we:[])]))});const ze=[],qe=[],Et={};s.forEach(Ne=>{const{element:je,player:we,instruction:Ke}=Ne;if(r.has(je)){if(f.has(je))return we.onDestroy(()=>Ud(je,Ke.toStyles)),we.disabled=!0,we.overrideTotalTime(Ke.totalTime),void i.push(we);let dt=Et;if(Se.size>1){let Ae=je;const Pe=[];for(;Ae=Ae.parentNode;){const Xe=Se.get(Ae);if(Xe){dt=Xe;break}Pe.push(Ae)}Pe.forEach(Xe=>Se.set(Xe,dt))}const Tt=this._buildAnimation(we.namespaceId,Ke,ue,o,xe,it);if(we.setRealPlayer(Tt),dt===Et)ze.push(we);else{const Ae=this.playersByElement.get(dt);Ae&&Ae.length&&(we.parentPlayer=yp(Ae)),i.push(we)}}else v6(je,Ke.fromStyles),we.onDestroy(()=>Ud(je,Ke.toStyles)),qe.push(we),f.has(je)&&i.push(we)}),qe.forEach(Ne=>{const je=o.get(Ne.element);if(je&&je.length){const we=yp(je);Ne.setRealPlayer(we)}}
vendor: 11,129 bytes, line 1
1),i.forEach(Ne=>{Ne.parentPlayer?Ne.syncPlayerEvents(Ne.parentPlayer):Ne.destroy()});for(let Ne=0;Ne<P.length;Ne++){const je=P[Ne],we=je[Xf];if(Bm(je,N9),we&&we.hasAnimation)continue;let Ke=[];if(a.size){let Tt=a.get(je);Tt&&Tt.length&&Ke.push(...Tt);let Ae=this.driver.query(je,LE,!0);for(let Pe=0;Pe<Ae.length;Pe++){let Xe=a.get(Ae[Pe]);Xe&&Xe.length&&Ke.push(...Xe)}}const dt=Ke.filter(Tt=>!Tt.destroyed);dt.length?sle(this,je,dt):this.processLeaveNode(je)}return P.length=0,ze.forEach(Ne=>{this.players.push(Ne),Ne.onDone(()=>{Ne.destroy();const je=this.players.indexOf(Ne);this.players.splice(je,1)}),Ne.play()}),ze}elementContainsData(t,e){let r=!1;const i=e[Xf];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(e)&&(r=!0),this.playersByQueriedElement.has(e)&&(r=!0),this.statesByElement.has(e)&&(r=!0),this._fetchNamespace(t).elementContainsData(e)||r}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,r,i,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==Z8;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||s.push(u)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(t,e,r){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const u=l.element,f=u!==o,h=uf(r,u,[]);this._getPreviousPlayers(u,f,s,a,e.toState).forEach(m=>{const x=m.getRealPlayer();x.beforeDestroy&&x.beforeDestroy(),m.destroy(),h.push(m)})}v6(o,e.fromStyles)}_buildAnimation(t,e,r,i,o,s){const a=e.triggerName,l=e.element,u=[],f=new Set,h=new Set,v=e.timelines.map(x=>{const p=x.element;f.add(p);const P=p[Xf];if(P&&P.removedBeforeQueried)return new q8(x.duration,x.delay);const T=p!==l,H=function ale(n){const t=[];return Wz(n,t),t}((r.get(p)||Qae).map(ue=>ue.getRealPlayer())).filter(ue=>!!ue.element&&ue.element===p),U=o.get(p),ee=s.get(p),ie=yz(0,this._normalizer,0,x.keyframes,U,ee),me=this._buildPlayer(x,ie,H);if(x.subTimeline&&i&&h.add(p),T){const ue=new YE(t,a,p);ue.setRealPlayer(me),u.push(ue)}return me});u.forEach(x=>{uf(this.playersByQueriedElement,x.element,[]).push(x),x.onDone(()=>function rle(n,t,e){let r=n.get(t);if(r){if(r.length){const i=r.indexOf(e);r.splice(i,1)}0==r.length&&n.delete(t)}return r}(this.playersByQueriedElement,x.element,x))}),f.forEach(x=>Zf(x,Mz));const m=yp(v);return m.onDestroy(()=>{f.forEach(x=>Bm(x,Mz)),Ud(l,e.toStyles)}),h.forEach(x=>{uf(i,x,[]).push(m)}),m}_buildPlayer(t,e,r){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,r):new q8(t.duration,t.delay)}}class YE{constructor(t,e,r){this.namespaceId=t,this.triggerName=e,this.element=r,this._player=new q8,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,r)=>{e.forEach(i=>ME(t,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){uf(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function K9(n){return n&&1===n.nodeType}function Uz(n,t){const e=n.style.display;return n.style.display=t??"none",e}function $z(n,t,e,r,i){const o=[];e.forEach(l=>o.push(Uz(l)));const s=[];r.forEach((l,u)=>{const f=new Map;l.forEach(h=>{const v=t.computeStyle(u,h,i);f.set(h,v),(!v||0==v.length)&&(u[Xf]=ele,s.push(u))}),n.set(u,f)});let a=0;return e.forEach(l=>Uz(l,o[a++])),s}function Gz(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const i=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const u=a.parentNode;return l=e.has(u)?u:i.has(u)?1:s(u),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function Zf(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function Bm(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function sle(n,t,e){yp(e).onDone(()=>n.processLeaveNode(t))}function Wz(n,t){for(let e=0;e<n.length;e++){const r=n[e];r instanceof gz?Wz(r.players,t):t.push(r)}}function qz(n,t,e){const r=e.get(n);if(!r)return!1;let i=t.get(n);return i?r.forEach(o=>i.add(o)):t.set(n,r),e.delete(n),!0}class X9{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new nle(t,e,r),this._timelineEngine=new Yae(t,e,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(t,e,r,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],f=zE(this._driver,o,l,[]);if(l.length)throw function Wse(n,t){return new ir(3404,!1)}();a=function $ae(n,t,e){return new Gae(n,t,e)}(i,f,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,r,i){this._transitionEngine.insertNode(t,e,r,i)}onRemove(t,e,r,i){this._transitionEngine.removeNode(t,e,i||!1,r)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,r,i){if("@"==r.charAt(0)){const[o,s]=bz(r);this._timelineEngine.command(o,e,s,i)}else this._transitionEngine.trigger(t,e,r,i)}listen(t,e,r,i,o){if("@"==r.charAt(0)){const[s,a]=bz(r);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,r,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ule=(()=>{class n{constructor(e,r,i){this._element=e,this._startStyles=r,this._endStyles=i,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ud(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ud(this._element,this._initialStyles),this._endStyles&&(Ud(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(v6(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(v6(this._element,this._endStyles),this._endStyles=null),Ud(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function KE(n){let t=null;return n.forEach((e,r)=>{(function fle(n){return"display"===n||"position"===n})(r)&&(t=t||new Map,t.set(r,e))}),t}class Yz{constructor(t,e,r,i){this.element=t,this.keyframes=e,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(r=>{e.push(Object.fromEntries(r))}),e}_triggerWebAnimation(t,e,r){return t.animate(this._convertKeyframesToObject(e),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&t.set(i,this._finished?r:Rz(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}class dle{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return Cz(t,e)}getParentElement(t){return IE(t)}query(t,e,r){return Sz(t,e,r)}computeStyle(t,e,r){return window.getComputedStyle(t)[e]}animate(t,e,r,i,o,s=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const u=new Map,f=s.filter(m=>m instanceof Yz);(function gae(n,t){return 0===n||0===t})(r,i)&&f.forEach(m=>{m.currentSnapshot.forEach((x,p)=>u.set(p,x))});let h=function dae(n){return n.length?n[0]instanceof Map?n:n.map(t=>Dz(t)):[]}(e).map(m=>bp(m));h=function vae(n,t,e){if(e.size&&t.length){let r=t[0],i=[];if(e.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<t.length;o++){let s=t[o];
1i.forEach(a=>s.set(a,Rz(n,a)))}}return t}(t,h,u);const v=function cle(n,t){let e=null,r=null;return Array.isArray(t)&&t.length?(e=KE(t[0]),t.length>1&&(r=KE(t[t.length-1]))):t instanceof Map&&(e=KE(t)),e||r?new ule(n,e,r):null}(t,h);return new Yz(t,h,l,v)}}let hle=(()=>{class n extends dz{constructor(e,r){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(r.body,{id:"0",encapsulation:zc.None,styles:[],data:{animation:[]}})}build(e){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(e)?pz(e):e;return Kz(this._renderer,null,r,"register",[i]),new ple(r,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(qt(_8),qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();class ple extends class Sse{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new mle(this._id,t,e||{},this._renderer)}}class mle{constructor(t,e,r,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Kz(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function Kz(n,t,e,r,i){return n.setProperty(t,`@@${e}:${r}`,i)}const Xz="@.disabled";let gle=(()=>{class n{constructor(e,r,i){this.delegate=e,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,r){const o=this.delegate.createRenderer(e,r);if(!(e&&r&&r.data&&r.data.animation)){let f=this._rendererCache.get(o);return f||(f=new Zz("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,f)),f}const s=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=f=>{Array.isArray(f)?f.forEach(l):this.engine.registerTrigger(s,a,e,f.name,f)};return r.data.animation.forEach(l),new vle(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,i){e>=0&&e<this._microtaskId?this._zone.run(()=>r(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(qt(_8),qt(X9),qt(Qi))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();class Zz{constructor(t,e,r,i){this.namespaceId=t,this.delegate=e,this.engine=r,this._onDestroy=i,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){var t;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(t=this._onDestroy)||void 0===t||t.call(this)}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,r,i=!0){this.delegate.insertBefore(t,e,r),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,r){this.engine.onRemove(this.namespaceId,e,this.delegate,r)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,r,i){this.delegate.setAttribute(t,e,r,i)}removeAttribute(t,e,r){this.delegate.removeAttribute(t,e,r)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,r,i){this.delegate.setStyle(t,e,r,i)}removeStyle(t,e,r){this.delegate.removeStyle(t,e,r)}setProperty(t,e,r){"@"==e.charAt(0)&&e==Xz?this.disableAnimations(t,!!r):this.delegate.setProperty(t,e,r)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,r){return this.delegate.listen(t,e,r)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class vle extends Zz{constructor(t,e,r,i,o){super(e,r,i,o),this.factory=t,this.namespaceId=e}setProperty(t,e,r){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Xz?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,e.slice(1),r):this.delegate.setProperty(t,e,r)}listen(t,e,r){if("@"==e.charAt(0)){const i=function yle(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function ble(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}
1(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(t,e,r)}}let _le=(()=>{class n extends X9{constructor(e,r,i,o){super(e.body,r,i)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki),qt(OE),qt(UE),qt(Nm))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();const Jz=[{provide:dz,useClass:hle},{provide:UE,useFactory:function xle(){return new Vae}},{provide:X9,useClass:_le},{provide:_8,useFactory:function wle(n,t,e){return new gle(n,t,e)},deps:[R9,X9,Qi]}],XE=[{provide:OE,useFactory:()=>new dle},{provide:Cu,useValue:"BrowserAnimations"},...Jz],Qz=[{provide:OE,useClass:Ez},{provide:Cu,useValue:"NoopAnimations"},...Jz];let Cle=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?Qz:XE}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:XE,imports:[az]}),n})();function eo(n){return null!=n&&"false"!=`${n}`}function ul(n,t=0){return eB(n)?Number(n):t}function eB(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function J9(n){return Array.isArray(n)?n:[n]}function Ic(n){return null==n?"":"string"==typeof n?n:`${n}px`}function $l(n){return n instanceof Jr?n.nativeElement:n}function Di(...n){return gi(n,sr(n))}const{isArray:Ele}=Array;function ZE(n){return qn(t=>function Ale(n,t){return Ele(t)?n(...t):n(t)}(n,t))}const Mle=["addListener","removeListener"],Dle=["addEventListener","removeEventListener"],kle=["on","off"];function e0(n,t,e,r){if(C(e)&&(r=e,e=void 0),r)return e0(n,t,e).pipe(ZE(r));const[i,o]=function Ole(n){return C(n.addEventListener)&&C(n.removeEventListener)}(n)?Dle.map(s=>a=>n[s](t,a,e)):function Tle(n){return C(n.addListener)&&C(n.removeListener)}(n)?Mle.map(tB(n,t)):function Ile(n){return C(n.on)&&C(n.off)}(n)?kle.map(tB(n,t)):[];if(!i&&tt(n))return Ai(s=>e0(s,t,e))(Ms(n));if(!i)throw new TypeError("Invalid event target");return new wt(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return i(a),()=>o(a)})}function tB(n,t){return e=>r=>n[e](t,r)}class Rle extends F{constructor(t,e){super()}schedule(t,e=0){return this}}const Q9={setInterval(n,t,...e){const{delegate:r}=Q9;return r?.setInterval?r.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=Q9;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class JE extends Rle{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var r;if(this.closed)return this;this.state=t;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,e)),this.pending=!0,this.delay=e,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,r=0){return Q9.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,e,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return e;null!=e&&Q9.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,r=!1;try{this.work(t)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,L(r,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const J8={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:r}=J8;r&&(t=r.requestAnimationFrame,e=r.cancelAnimationFrame);const i=t(o=>{e=void 0,n(o)});return new F(()=>e?.(i))},requestAnimationFrame(...n){const{delegate:t}=J8;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=J8;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},nB={now:()=>(nB.delegate||Date).now(),delegate:void 0};class Q8{constructor(t,e=Q8.now){this.schedulerActionCtor=t,this.now=e}
1schedule(t,e=0,r){return new this.schedulerActionCtor(this,t).schedule(r,e)}}Q8.now=nB.now;class QE extends Q8{constructor(t,e=Q8.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}}const rB=new class Ple extends QE{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===e&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===e&&r.shift();)t.unsubscribe();throw i}}}(class Lle extends JE{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,r=0){return null!==r&&r>0?super.requestAsyncId(t,e,r):(t.actions.push(this),t._scheduled||(t._scheduled=J8.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,e,r);const{actions:o}=t;null!=e&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==e&&(J8.cancelAnimationFrame(e),t._scheduled=void 0)}});let eA,Nle=1;const eb={};function iB(n){return n in eb&&(delete eb[n],!0)}const Fle={setImmediate(n){const t=Nle++;return eb[t]=!0,eA||(eA=Promise.resolve()),eA.then(()=>iB(t)&&n()),t},clearImmediate(n){iB(n)}},{setImmediate:zle,clearImmediate:Ble}=Fle,tb={setImmediate(...n){const{delegate:t}=tb;return(t?.setImmediate||zle)(...n)},clearImmediate(n){const{delegate:t}=tb;return(t?.clearImmediate||Ble)(n)},delegate:void 0},ev=(new class Hle extends QE{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===e&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===e&&r.shift();)t.unsubscribe();throw i}}}(class Vle extends JE{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,r=0){return null!==r&&r>0?super.requestAsyncId(t,e,r):(t.actions.push(this),t._scheduled||(t._scheduled=tb.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,e,r);const{actions:o}=t;null!=e&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==e&&(tb.clearImmediate(e),t._scheduled=void 0)}}),new QE(JE)),Ule=ev;function tA(n=0,t,e=Ule){let r=-1;return null!=t&&(Vn(t)?e=t:r=t),new wt(i=>{let o=function Gle(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function nA(n,t=ev){return function $le(n){return Bn((t,e)=>{let r=!1,i=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,r){r=!1;const u=i;i=null,e.next(u)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(Jn(e,u=>{r=!0,i=u,o||Ms(n(u)).subscribe(o=Jn(e,a,l))},()=>{s=!0,(!r||!o||o.closed)&&e.complete()}))})}(()=>tA(n,t))}function Qa(n,t){return Bn((e,r)=>{let i=0;e.subscribe(Jn(r,o=>n.call(t,o,i++)&&r.next(o)))})}let rA;try{rA=typeof Intl<"u"&&Intl.v8BreakIterator}catch{rA=!1}let Vm,cc=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?p6(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!rA)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(qt(o1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const oB=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","t
1ime","url","week"];function sB(){if(Vm)return Vm;if("object"!=typeof document||!document)return Vm=new Set(oB),Vm;let n=document.createElement("input");return Vm=new Set(oB.filter(t=>(n.setAttribute("type",t),n.type===t))),Vm}let tv,b6,iA;function $d(n){return function Wle(){if(null==tv&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>tv=!0}))}finally{tv=tv||!1}return tv}()?n:!!n.capture}function qle(){if(null==b6){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return b6=!1,b6;if("scrollBehavior"in document.documentElement.style)b6=!0;else{const n=Element.prototype.scrollTo;b6=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return b6}function rb(n){if(function Yle(){if(null==iA){const n=typeof document<"u"?document.head:null;iA=!(!n||!n.createShadowRoot&&!n.attachShadow)}return iA}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function oA(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function Jf(n){return n.composedPath?n.composedPath()[0]:n.target}function sA(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const Kle=new or("cdk-dir-doc",{providedIn:"root",factory:function Xle(){return la(Ki)}}),Zle=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let R1=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new zi,e){const i=e.documentElement?e.documentElement.dir:null;this.value=function Jle(n){var t;const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&null!==(t=navigator)&&void 0!==t&&t.language?Zle.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((e.body?e.body.dir:null)||i||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(qt(Kle,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})(),aB=(()=>{class n{constructor(e,r,i){this._ngZone=e,this._platform=r,this._scrolled=new nt,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new wt(r=>{this._globalSubscription||this._addGlobalListener();const i=e>0?this._scrolled.pipe(nA(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Di()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){const i=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(Qa(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(e){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,e)&&r.push(o)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,r){let i=$l(r),o=e.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>e0(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(qt(Qi),qt(cc),qt(Ki,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_6=(()=>{class n{constructor(e,r,i){this._platform=e,this._change=new nt,this._changeListener=o=>{this._change.next(o)},this._document=i,r.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();
1return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,r=this._getWindow(),i=e.documentElement,o=i.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||e.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(nA(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(qt(cc),qt(Qi),qt(Ki,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),x6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})(),aA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Hm,x6,Hm,x6]}),n})();class Wc extends nt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:r}=this;if(t)throw e;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Qf(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function Tl(n,t,e){const r=C(n)||t||e?{next:n,error:t,complete:e}:n;return r?Bn((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Jn(o,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),o.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),o.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),o.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):Sn}function ob(n,t=ev){return Bn((e,r)=>{let i=null,o=null,s=null;const a=()=>{if(i){i.unsubscribe(),i=null;const u=o;o=null,r.next(u)}};function l(){const u=s+n,f=t.now();if(f<u)return i=this.schedule(void 0,u-f),void r.add(i);a()}e.subscribe(Jn(r,u=>{o=u,s=t.now(),i||(i=t.schedule(l,n),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function Va(n){return n<=0?()=>fi:Bn((t,e)=>{let r=0;t.subscribe(Jn(e,i=>{++r<=n&&(e.next(i),n<=r&&e.complete())}))})}function dB(n){return Qa((t,e)=>n<=e)}function sb(n,t=Sn){return n=n??fce,Bn((e,r)=>{let i,o=!0;e.subscribe(Jn(r,s=>{const a=t(s);(o||!n(i,a))&&(o=!1,i=a,r.next(s))}))})}function fce(n,t){return n===t}function ls(n){return Bn((t,e)=>{Ms(n).subscribe(Jn(e,()=>e.complete(),V)),!e.closed&&t.subscribe(e)})}let hB=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dce=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){const r=$l(e);return new wt(i=>{const s=this._observeElement(r).subscribe(i);return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const r=new nt,i=this._mutationObserverFactory.create(o=>r.next(o));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:r,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:r,stream:i}=this._observedElements.get(e);r&&r.disconnect(),i.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(qt(hB))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),uA=(()=>{class n{constructor(e,r,i){this._contentObserver=e,this._elementRef=r,this._ngZone=i,this.event=new zi,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=eo(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=ul(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(ob(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(he(dce),he(Jr),he(Qi))},n.\u0275dir=_n({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),ab=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[hB]}),n})();const{isArray:hce}=Array,{getPrototypeOf:pce,prototype:mce,keys:gce}=Object;function pB(n){if(1===n.length){const t=n[0];if(hce(t))return{args:t,keys:null};if(function vce(n){return n&&"object"==typeof n&&pce(n)===mce}(t)){const e=gce(t);return{args:e.map(r=>t[r]),keys:e}}}return{args:n,keys:null}}function mB(n,t){return n.reduce((e,r,i)=>(e[r]=t[i],e),{})}function $m(...n){const t=sr(n),e=yn(n),{args:r,keys:i}=pB(n);if(0===r.length)return gi([],t);const o=new wt(function yce(n,t,e=Sn){return r=>{gB(t,()=>{const{length:i}=n,o=new Array(i);let s=i,a=i;for(let l=0;l<i;l++)gB(t,()=>{const u=gi(n[l],t);let f=!1;u.subscribe(Jn(r,h=>{o[l]=h,f||(f=!0,a--),a||r.next(e(o.slice()))},()=>{--s||r.complete()}
1))},r)},r)}}(r,t,i?s=>mB(i,s):Sn));return e?o.pipe(ZE(e)):o}function gB(n,t,e){n?ia(e,n,t):t()}function iv(...n){return function bce(){return Bo(1)}()(gi(n,sr(n)))}function e2(...n){const t=sr(n);return Bn((e,r)=>{(t?iv(n,e,t):iv(n,e)).subscribe(r)})}const vB=new Set;let Gm,_ce=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):wce}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function xce(n){if(!vB.has(n))try{Gm||(Gm=document.createElement("style"),Gm.setAttribute("type","text/css"),document.head.appendChild(Gm)),Gm.sheet&&(Gm.sheet.insertRule(`@media ${n} {body{ }}`,0),vB.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(qt(cc))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function wce(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let yB=(()=>{class n{constructor(e,r){this._mediaMatcher=e,this._zone=r,this._queries=new Map,this._destroySubject=new nt}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return bB(J9(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let o=$m(bB(J9(e)).map(s=>this._registerQuery(s).observable));return o=iv(o.pipe(Va(1)),o.pipe(dB(1),ob(0))),o.pipe(qn(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:u})=>{a.matches=a.matches||l,a.breakpoints[u]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const r=this._mediaMatcher.matchMedia(e),o={observable:new wt(s=>{const a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(e2(r),qn(({matches:s})=>({query:e,matches:s})),ls(this._destroySubject)),mql:r};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(qt(_ce),qt(Qi))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function bB(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function lb(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const xB="cdk-describedby-message",cb="cdk-describedby-host";let fA=0,wB=(()=>{class n{constructor(e,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+fA++,this._document=e,this._id=la(Pm)+"-"+fA++}describe(e,r,i){if(!this._canBeDescribed(e,r))return;const o=dA(r,i);"string"!=typeof r?(CB(r,this._id),this._messageRegistry.set(o,{messageElement:r,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(r,i),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,r,i){var o;if(!r||!this._isElementNode(e))return;const s=dA(r,i);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),"string"==typeof r){const a=this._messageRegistry.get(s);a&&0===a.referenceCount&&this._deleteMessageElement(s)}0===(null===(o=this._messagesContainer)||void 0===o?void 0:o.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const r=this._document.querySelectorAll(`[${cb}="${this._id}"]`);for(let i=0;i<r.length;i++)this._removeCdkDescribedByReferenceIds(r[i]),r[i].removeAttribute(cb);null===(e=this._messagesContainer)||void 0===e||e.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,r){const i=this._document.createElement("div");CB(i,this._id),i.textContent=e,r&&i.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(dA(e,r),{messageElement:i,referenceCount:0})}_deleteMessageElement(e){var r,i;null===(r=this._messageRegistry.get(e))||void 0===r||null===(i=r.messageElement)||void 0===i||i.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;const e="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<r.length;o++)r[o].remove();const i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(e),i.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(e){const r=lb(e,"aria-describedby").filter(i=>0!=i.indexOf(xB));e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){const i=this._messageRegistry.get(r);(function Sce(n,t,e){const r=lb(n,t);r.some(i=>i.trim()==e.trim())||(r.push(e.trim()),n.setAttribute(t,r.join(" ")))})(e,"aria-describedby",i.messageElement.id),e.setAttribute(cb,this._id),i.referenceCount++}_removeMessageReference(e,r){const i=this._messageRegistry.get(r);i.referenceCount--,function Ece(n,t,e){const i=lb(n,t).filter(o=>o!=e.trim());i.length?n.setAttribute(t,i.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",i.messageElement.id),e.removeAttribute(cb)}_isElementDescribedByMessage(e,r){const i=lb(e,"aria-describedby"),o=this._messageRegistry.get(r),s=o&&o.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(e,r){if(!this._isElementNode(e))return!1;if(r&&"object"==typeof r)return!0;const i=null==r?"":`${r}`.trim(),o=e.getAttribute("aria-label");return!(!i||o&&o.trim()===i)}
1_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki),qt(cc))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function dA(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function CB(n,t){n.id||(n.id=`${xB}-${t}-${fA++}`)}class SB extends class Ace{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new nt,this._typeaheadSubscription=F.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new nt,this.change=new nt,t instanceof z8&&t.changes.subscribe(e=>{if(this._activeItem){const i=e.toArray().indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Tl(e=>this._pressedLetters.push(e)),ob(t),Qa(()=>this._pressedLetters.length>0),qn(()=>this._pressedLetters.join(""))).subscribe(e=>{const r=this._getItemsArray();for(let i=1;i<r.length+1;i++){const o=(this._activeItemIndex+i)%r.length,s=r[o];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||Qf(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),r="number"==typeof t?t:e.indexOf(t);this._activeItem=e[r]??null,this._activeItemIndex=r}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let r=1;r<=e.length;r++){const i=(this._activeItemIndex+t*r+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const r=this._getItemsArray();if(r[t]){for(;this._skipPredicateFn(r[t]);)if(!r[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof z8?this._items.toArray():this._items}}{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}let ub=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Dce(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const r=function Mce(n){try{return n.frameElement}catch{return null}}(function Nce(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(r&&(-1===AB(r)||!this.isVisible(r)))return!1;let i=e.nodeName.toLowerCase(),o=AB(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===i||"object"===i||this._platform.WEBKIT&&this._platform.IOS&&!function Lce(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==o:"video"===i?-1!==o&&(null!==o||this._platform.FIRE
1FOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,r){return function Pce(n){return!function Tce(n){return function Oce(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function kce(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function Ice(n){return function Rce(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||EB(n))}(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(qt(cc))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function EB(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function AB(n){if(!EB(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class Fce{constructor(t,e,r,i,o=!1){this._element=t,this._checker=e,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const r=this._getFirstTabbableElement(e);return r?.focus(t),!!r}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let r=0;r<e.length;r++){const i=e[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[r]):null;if(i)return i}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let r=e.length-1;r>=0;r--){const i=e[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[r]):null;if(i)return i}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Va(1)).subscribe(t)}}let hA=(()=>{class n{constructor(e,r,i){this._checker=e,this._ngZone=r,this._document=i}create(e,r=!1){return new Fce(e,this._checker,this._ngZone,this._document,r)}}return n.\u0275fac=function(e){return new(e||n)(qt(ub),qt(Qi),qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function pA(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function mA(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const zce=new or("cdk-input-modality-detector-options"),Bce={ignoreKeys:[18,17,224,91,16]},Wm=$d({passive:!0,capture:!0});let Vce=(()=>{class n{constructor(e,r,i,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Wc(null),this._lastTouchMs=0,this._onKeydown=s=>{var a,l;null!==(a=this._options)&&void 0!==a&&null!==(l=a.ignoreKeys)&&void 0!==l&&l.some(u=>u===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Jf(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(pA(s)?"keyboard":"mouse"),this._mostRecentTarget=Jf(s))},this._onTouchstart=s=>{mA(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Jf(s))},this._options={...Bce,...o},this.modalityDetected=this._modality.pipe(dB(1)),this.modalityChanged=this.modalityDetected.pipe(sb(
1)),e.isBrowser&&r.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,Wm),i.addEventListener("mousedown",this._onMousedown,Wm),i.addEventListener("touchstart",this._onTouchstart,Wm)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Wm),document.removeEventListener("mousedown",this._onMousedown,Wm),document.removeEventListener("touchstart",this._onTouchstart,Wm))}}return n.\u0275fac=function(e){return new(e||n)(qt(cc),qt(Qi),qt(Ki),qt(zce,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Hce=new or("liveAnnouncerElement",{providedIn:"root",factory:function jce(){return null}}),Uce=new or("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let $ce=(()=>{class n{constructor(e,r,i,o){this._ngZone=r,this._defaultOptions=o,this._document=i,this._liveElement=e||this._createLiveElement()}announce(e,...r){const i=this._defaultOptions;let o,s;return 1===r.length&&"number"==typeof r[0]?s=r[0]:[o,s]=r,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,r;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(r=this._currentResolve)||void 0===r||r.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",r=this._document.getElementsByClassName(e),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[o].remove();return i.classList.add(e),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),this._document.body.appendChild(i),i}}return n.\u0275fac=function(e){return new(e||n)(qt(Hce,8),qt(Qi),qt(Ki),qt(Uce,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gce=new or("cdk-focus-monitor-default-options"),fb=$d({passive:!0,capture:!0});let Gd=(()=>{class n{constructor(e,r,i,o,s){this._ngZone=e,this._platform=r,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new nt,this._rootNodeFocusAndBlurListener=a=>{for(let u=Jf(a);u;u=u.parentElement)"focus"===a.type?this._onFocus(a,u):this._onBlur(a,u)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(e,r=!1){const i=$l(e);if(!this._platform.isBrowser||1!==i.nodeType)return Di(null);const o=rb(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return r&&(s.checkChildren=!0),s.subject;const a={checkChildren:r,subject:new nt,rootNode:o};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const r=$l(e),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(e,r,i){const o=$l(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,r,l)):(this._setOrigin(r),"function"==typeof o.focus&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!(null==e||!e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused","touch"===r),e.classList.toggle("cdk-keyboard-focused","keyboard"===r),e.classList.toggle("cdk-mouse-focused","mouse"===r),e.classList.toggle("cdk-program-focused","program"===r)}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&r,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,r){const i=this._elementInfo.get(r),o=Jf(e);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i)}_onBlur(e,r){const i=this._elementInfo.get(r);!i||i.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const r=e.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,fb),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,fb)}),this._rootNodeFocusListenerCount.set(r,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ls(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){const i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,fb),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,fb),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,i){this._setClasses(e,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){const r=[];return this._elementInfo.forEach((i,o)=>{(o===e||i.checkChildren&&o.contains(e))&&r.push([o,i])}),r}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;
1if("mouse"!==i||!r||r===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s<o.length;s++)if(o[s].contains(r))return!0;return!1}}return n.\u0275fac=function(e){return new(e||n)(qt(Qi),qt(cc),qt(Vce),qt(Ki,8),qt(Gce,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const DB="cdk-high-contrast-black-on-white",kB="cdk-high-contrast-white-on-black",gA="cdk-high-contrast-active";let TB=(()=>{class n{constructor(e,r){this._platform=e,this._document=r,this._breakpointSubscription=la(yB).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(e):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(gA,DB,kB),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?e.add(gA,DB):2===r&&e.add(gA,kB)}}}return n.\u0275fac=function(e){return new(e||n)(qt(cc),qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vA=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(qt(TB))},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[ab]}),n})();function uc(n,t){return Bn((e,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();e.subscribe(Jn(r,l=>{i?.unsubscribe();let u=0;const f=o++;Ms(n(l,f)).subscribe(i=Jn(r,h=>r.next(t?t(l,h,f,u++):h),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function yA(n,t,e){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];i?n.setProperty(r,i,null!=e&&e.has(r)?"important":""):n.removeProperty(r)}return n}function qm(n,t){const e=t?"":"none";yA(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function IB(n,t,e){yA(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}
1function db(n,t){return t&&"none"!=t?n+" "+t:n}function OB(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function bA(n,t){return n.getPropertyValue(t).split(",").map(r=>r.trim())}function _A(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function xA(n,t,e){const{top:r,bottom:i,left:o,right:s}=n;return e>=r&&e<=i&&t>=o&&t<=s}function ov(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function RB(n,t,e,r){const{top:i,right:o,bottom:s,left:a,width:l,height:u}=n,f=l*t,h=u*t;return r>i-h&&r<s+h&&e>a-f&&e<o+f}class LB{constructor(t){this._document=t,this.positions=new Map}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:_A(e)})})}handleScroll(t){const e=Jf(t),r=this.positions.get(e);if(!r)return null;const i=r.scrollPosition;let o,s;if(e===this._document){const u=this.getViewportScrollPosition();o=u.top,s=u.left}else o=e.scrollTop,s=e.scrollLeft;const a=i.top-o,l=i.left-s;return this.positions.forEach((u,f)=>{u.clientRect&&e!==f&&e.contains(f)&&ov(u.clientRect,a,l)}),i.top=o,i.left=s,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function PB(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),r=n.nodeName.toLowerCase();t.removeAttribute("id");for(let i=0;i<e.length;i++)e[i].removeAttribute("id");return"canvas"===r?zB(n,t):("input"===r||"select"===r||"textarea"===r)&&FB(n,t),NB("canvas",n,t,zB),NB("input, textarea, select",n,t,FB),t}function NB(n,t,e,r){const i=t.querySelectorAll(n);if(i.length){const o=e.querySelectorAll(n);for(let s=0;s<i.length;s++)r(i[s],o[s])}}let Yce=0;function FB(n,t){"file"!==t.type&&(t.value=n.value),"radio"===t.type&&t.name&&(t.name=`mat-clone-${t.name}-${Yce++}`)}function zB(n,t){const e=t.getContext("2d");if(e)try{e.drawImage(n,0,0)}catch{}}const BB=$d({passive:!0}),hb=$d({passive:!1}),wA=new Set(["position"]);class Xce{constructor(t,e,r,i,o,s){this._config=e,this._document=r,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new nt,this._pointerMoveSubscription=F.EMPTY,this._pointerUpSubscription=F.EMPTY,this._scrollSubscription=F.EMPTY,this._resizeSubscription=F.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new nt,this.started=new nt,this.released=new nt,this.ended=new nt,this.entered=new nt,this.exited=new nt,this.dropped=new nt,this.moved=this._moveEvents,this._pointerDown=a=>{if(this.beforeStarted.next(),this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const l=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const m=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),x=this._dropContainer;if(!m)return void this._endDragSequence(a);(!x||!x.isDragging()&&!x.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}a.preventDefault();const u=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(u),this._dropContainer)this._updateActiveDropContainer(u,l);else{const f=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,h=this._activeTransform;h.x=u.x-f.x+this._passiveTransform.x,h.y=u.y-f.y+this._passiveTransform.y,this._applyRootElementTransform(h.x,h.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:u,event:a,distance:this._getDragDistance(u),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>
1{this._endDragSequence(a)},this._nativeDragStart=a=>{if(this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&a.preventDefault()}else this.disabled||a.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new LB(r),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=eo(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(r=>qm(r,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(r=>$l(r)),this._handles.forEach(r=>qm(r,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(r=>{this._handles.indexOf(r)>-1&&e.add(r)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=$l(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,hb),e.addEventListener("touchstart",this._pointerDown,BB),e.addEventListener("dragstart",this._nativeDragStart,hb)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?$l(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){var t,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(e=this._rootElement)||void 0===e||e.remove()),null===(t=this._anchor)||void 0===t||t.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),qm(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),qm(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var t,e;null===(t=this._preview)||void 0===t||t.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}
1_destroyPlaceholder(){var t,e;null===(t=this._placeholder)||void 0===t||t.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){sv(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const r=this._rootElement,i=r.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();i.insertBefore(s,r),this._initialTransform=r.style.transform||"",this._preview=this._createPreviewElement(),IB(r,!1,wA),this._document.body.appendChild(i.replaceChild(o,r)),this._getPreviewInsertionPoint(i,a).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const r=this.isDragging(),i=sv(e),o=!i&&0!==e.button,s=this._rootElement,a=Jf(e),l=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),u=i?mA(e):pA(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),r||o||l||u)return;if(this._handles.length){const v=s.style;this._rootElementTapHighlight=v.webkitTapHighlightColor||"",v.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(v=>this._updateOnScroll(v)),this._boundaryElement&&(this._boundaryRect=_A(this._boundaryElement));const f=this._previewTemplate;this._pickupPositionInElement=f&&f.template&&!f.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const h=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:h.x,y:h.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){IB(this._rootElement,!0,wA),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,r=e.getItemIndex(this),i=this._getPointerPositionOnPage(t),o=this._getDragDistance(i),s=e._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:o,dropPoint:i,event:t}),this.dropped.next({item:this,currentIndex:r,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:o,dropPoint:i,event:t}),e.drop(this,r,this._initialIndex,this._initialContainer,s,o,i,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:r,y:i}){let o=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,t,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(r,i),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,r=t?t.template:null;let i;if(r&&t){const o=t.matchSize?this._initialClientRect:null,s=t.viewContainer.createEmbeddedView(r,t.context);s.detectChanges(),i=HB(s,this._document),this._previewRef=s,t.matchSize?jB(i,o):i.style.transform=pb(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else i=PB(this._rootElement),jB(i,this._initialClientRect),this._initialTransform&&(i.style.transform=this._initialTransform);return yA(i.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},wA),qm(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>i.classList.add(o)):i.classList.add(e)),i}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function qce(n){const t=getComputedStyle(n),e=bA(t,"transition-property"),r=e.find(a=>"transform"===a||"all"===a);if(!r)return 0;const i=e.indexOf(r),o=bA(t,"transition-duration"),s=bA(t,"transition-delay");return OB(o[i])+OB(s[i])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(r=>{const i=s=>{var a;(!s||Jf(s)===this._preview&&"transform"===s.propertyName)&&(null===(a=this._preview)||void 0===a||a.removeEventListener("transitionend",i),r(),clearTimeout(o))},o=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let r;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),r=HB(this._placeholderRef,this._document)):r=PB(this._rootElement),r.style.pointerEvents="none",r.classList.add("cdk-drag-placeholder"),r}_getPointerPositionInElement(t,e,r){const i=e===this._rootElement?null:e,o=i?i.getBoundingClientRect():t,s=sv(r)?r.targetTouches[0]:r,a=this._getViewportScrollPosition();return{x:o.left-t.left+(s.pageX-o.left-a.left),y:o.top-t.top+(s.pageY-o.top-a.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),r=sv(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,i=r.pageX-e.left,o=r.pageY-e.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const a=this._ownerSVGElement.createSVGPoint();return a.x=i,a.y=o,a.matrixTransform(s.inverse())}}return{x:i,y:o}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:r,y:i}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?i=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(r=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:s}=this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:u}=this._getPreviewRect(),f=a.top+s,h=a.bottom-(u-s);r=VB(r,a.left+o,a.right-(l-o)),i=VB(i,f,h)}return{x:r,y:i}}_updatePointerDirectionDelta(t){const{x:e,y:r}=t,i=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-o.x),a=Math.abs(r-o.y);return s>this._config.pointerDirectionChangeThreshold&&(i.x=e>o.x?1:-1,o.x=e),a>this._config.pointerDirectionChangeThreshold&&(i.y=r>o.y?1:-1,o.y=r),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,qm(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,hb),t.removeEventListener("touchstart",this._pointerDown,BB),t.removeEventListener("dragstart",this._nativeDragStart,hb)}_applyRootElementTransform(t,e){const r=pb(t,e),i=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=i.transform&&"none"!=i.transform?i.transform:""),i.transform=db(r,this._initialTransform)}_applyPreviewTransform(t,e){var r;const i=null!==(r=this._previewTemplate)&&void 0!==r&&r.template?void 0:this._initialTransform,o=pb(t,e);this._preview.style.transform=db(o,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const r=this._rootElement.getBoundingClientRect(),i=this._boundaryElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===r.width&&0===r.height)return;const o=i.left-r.left,s=r.right-i.right,a=i.top-r.top,l=r.bottom-i.bottom;i.width>r.width?(o>0&&(t+=o),s>0&&(t-=s)):t=0,i.height>r.height?(a>0&&(e+=a),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:sv(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const r=Jf(t);this._boundaryRect&&r!==this._boundaryElement&&r.contains(this._boundaryElement)&&ov(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var t;return(null===(t=this._parentPositions.positions.get(this._document))||void 0===t?void 0:t.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=rb(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const r=this._previewContainer||"global";if("parent"===r)return t;if("global"===r){const i=this._document;return e||i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body}
1return $l(r)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function pb(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function VB(n,t,e){return Math.max(t,Math.min(e,n))}function sv(n){return"t"===n.type[0]}function HB(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const r=t.createElement("div");return e.forEach(i=>r.appendChild(i)),r}function jB(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=pb(t.left,t.top)}function av(n,t){return Math.max(0,Math.min(t,n))}class Jce{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,r,i){const o=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,r,i);if(-1===s&&o.length>0)return null;const a="horizontal"===this.orientation,l=o.findIndex(P=>P.drag===t),u=o[s],h=u.clientRect,v=l>s?1:-1,m=this._getItemOffsetPx(o[l].clientRect,h,v),x=this._getSiblingOffsetPx(l,o,v),p=o.slice();return function Zce(n,t,e){const r=av(t,n.length-1),i=av(e,n.length-1);if(r===i)return;const o=n[r],s=i<r?-1:1;for(let a=r;a!==i;a+=s)n[a]=n[a+s];n[i]=o}(o,l,s),o.forEach((P,T)=>{if(p[T]===P)return;const H=P.drag===t,U=H?m:x,ee=H?t.getPlaceholderElement():P.drag.getRootElement();P.offset+=U,a?(ee.style.transform=db(`translate3d(${Math.round(P.offset)}px, 0, 0)`,P.initialTransform),ov(P.clientRect,0,U)):(ee.style.transform=db(`translate3d(0, ${Math.round(P.offset)}px, 0)`,P.initialTransform),ov(P.clientRect,U,0))}),this._previousSwap.overlaps=xA(h,e,r),this._previousSwap.drag=u.drag,this._previousSwap.delta=a?i.x:i.y,{previousIndex:l,currentIndex:s}}enter(t,e,r,i){const o=null==i||i<0?this._getItemIndexFromPointerPosition(t,e,r):i,s=this._activeDraggables,a=s.indexOf(t),l=t.getPlaceholderElement();let u=s[o];if(u===t&&(u=s[o+1]),!u&&(null==o||-1===o||o<s.length-1)&&this._shouldEnterAsFirstChild(e,r)&&(u=s[0]),a>-1&&s.splice(a,1),u&&!this._dragDropRegistry.isDragging(u)){const f=u.getRootElement();f.parentElement.insertBefore(l,f),s.splice(o,0,t)}else $l(this._element).appendChild(l),s.push(t);l.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){var r;const i=null===(r=this._itemPositions.find(o=>o.drag===t))||void 0===r?void 0:r.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(r=>r.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:r})=>{ov(r,t,e)}),this._itemPositions.forEach(({drag:r})=>{this._dragDropRegistry.isDragging(r)&&r._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const r=e.getVisibleElement();return{drag:e,offset:0,initialTransform:r.style.transform||"",clientRect:_A(r)}}).sort((e,r)=>t?e.clientRect.left-r.clientRect.left:e.clientRect.top-r.clientRect.top)}_getItemOffsetPx(t,e,r){const i="horizontal"===this.orientation;let o=i?e.left-t.left:e.top-t.top;return-1===r&&(o+=i?e.width-t.width:e.height-t.height),o}_getSiblingOffsetPx(t,e,r){const i="horizontal"===this.orientation,o=e[t].clientRect,s=e[t+-1*r];let a=o[i?"width":"height"]*r;if(s){const l=i?"left":"top",u=i?"right":"bottom";-1===r?a-=s.clientRect[l]-o[u]:a+=o[l]-s.clientRect[u]}return a}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const r=this._itemPositions,i="horizontal"===this.orientation;if(r[0].drag!==this._activeDraggables[0]){const s=r[r.length-1].clientRect;return i?t>=s.right:e>=s.bottom}{const s=r[0].clientRect;return i?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,r,i){const o="horizontal"===this.orientation,s=this._itemPositions.findIndex(({drag:a,clientRect:l})=>
1{if(a===t)return!1;if(i){const u=o?i.x:i.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&u===this._previousSwap.delta)return!1}return o?e>=Math.floor(l.left)&&e<Math.floor(l.right):r>=Math.floor(l.top)&&r<Math.floor(l.bottom)});return-1!==s&&this._sortPredicate(s,t)?s:-1}}class Qce{constructor(t,e,r,i,o){this._dragDropRegistry=e,this._ngZone=i,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new nt,this.entered=new nt,this.exited=new nt,this.dropped=new nt,this.sorted=new nt,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=F.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new nt,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function Wce(n=0,t=ev){return n<0&&(n=0),tA(n,n,t)}(0,rB).pipe(ls(this._stopScrollTimers)).subscribe(()=>{const s=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?s.scrollBy(0,-a):2===this._verticalScrollDirection&&s.scrollBy(0,a),1===this._horizontalScrollDirection?s.scrollBy(-a,0):2===this._horizontalScrollDirection&&s.scrollBy(a,0)})},this.element=$l(t),this._document=r,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new LB(r),this._sortStrategy=new Jce(this.element,e),this._sortStrategy.withSortPredicate((s,a)=>this.sortPredicate(s,a,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,r,i){this._draggingStarted(),null==i&&this.sortingDisabled&&(i=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,r,i),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,r,i,o,s,a,l={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:r,container:this,previousContainer:i,isPointerOverContainer:o,distance:s,dropPoint:a,event:l})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(r=>r._withDropContainer(this)),this.isDragging()&&(e.filter(i=>i.isDragging()).every(i=>-1===t.indexOf(i))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=$l(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,r,i){if(this.sortingDisabled||!this._clientRect||!RB(this._clientRect,.05,e,r))return;const o=this._sortStrategy.sort(t,e,r,i);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let r,i=0,o=0;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||r||RB(s.clientRect,.05,t,e)&&([i,o]=function eue(n,t,e,r){const i=GB(t,r),o=WB(t,e);let s=0,a=0;if(i){const l=n.scrollTop;1===i?l>0&&(s=1):n.scrollHeight-l>n.clientHeight&&(s=2)}if(o){const l=n.scrollLeft;1===o?l>0&&(a=1):n.scrollWidth-l>n.clientWidth&&(a=2)}return[s,a]}(a,s.clientRect,t,e),(i||o)&&(r=a))}),!i&&!o){const{width:s,height:a}=this._viewportRuler.getViewportSize(),l={width:s,height:a,top:0,right:s,bottom:a,left
1:0};i=GB(l,e),o=WB(l,t),r=window}r&&(i!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||r!==this._scrollNode)&&(this._verticalScrollDirection=i,this._horizontalScrollDirection=o,this._scrollNode=r,(i||o)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=$l(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=$l(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=$l(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&xA(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,r){return this._siblings.find(i=>i._canReceive(t,e,r))}_canReceive(t,e,r){if(!this._clientRect||!xA(this._clientRect,e,r)||!this.enterPredicate(t,this))return!1;const i=this._getShadowRoot().elementFromPoint(e,r);if(!i)return!1;const o=$l(this.element);return i===o||o.contains(i)}_startReceiving(t,e){const r=this._activeSiblings;!r.has(t)&&e.every(i=>this.enterPredicate(i,this)||this._draggables.indexOf(i)>-1)&&(r.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=rb($l(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function GB(n,t){const{top:e,bottom:r,height:i}=n,o=.05*i;return t>=e-o&&t<=e+o?1:t>=r-o&&t<=r+o?2:0}function WB(n,t){const{left:e,right:r,width:i}=n,o=.05*i;return t>=e-o&&t<=e+o?1:t>=r-o&&t<=r+o?2:0}const mb=$d({passive:!1,capture:!0});let tue=(()=>{class n{constructor(e,r){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=i=>i.isDragging(),this.pointerMove=new nt,this.pointerUp=new nt,this.scroll=new nt,this._preventDefaultWhileDragging=i=>{this._activeDragInstances.length>0&&i.preventDefault()},this._persistentTouchmoveListener=i=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&i.preventDefault(),this.pointerMove.next(i))},this._document=r}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,mb)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,mb)}startDragging(e,r){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const i=r.type.startsWith("touch");this._globalListeners.set(i?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:mb}),i||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:mb}),this._ngZone.runOutsideAngular(()=>
1{this._globalListeners.forEach((o,s)=>{this._document.addEventListener(s,o.handler,o.options)})})}}stopDragging(e){const r=this._activeDragInstances.indexOf(e);r>-1&&(this._activeDragInstances.splice(r,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const r=[this.scroll];return e&&e!==this._document&&r.push(new wt(i=>this._ngZone.runOutsideAngular(()=>{const s=a=>{this._activeDragInstances.length&&i.next(a)};return e.addEventListener("scroll",s,!0),()=>{e.removeEventListener("scroll",s,!0)}}))),Ui(...r)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,r)=>{this._document.removeEventListener(r,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(qt(Qi),qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nue={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let qB=(()=>{class n{constructor(e,r,i,o){this._document=e,this._ngZone=r,this._viewportRuler=i,this._dragDropRegistry=o}createDrag(e,r=nue){return new Xce(e,r,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new Qce(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki),qt(Qi),qt(_6),qt(tue))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CA=new or("CDK_DRAG_PARENT"),rue=new or("CDK_DRAG_CONFIG"),iue=new or("CdkDropList"),SA=new or("CdkDragHandle");let EA=(()=>{class n{constructor(e,r){this.element=e,this._stateChanges=new nt,this._disabled=!1,this._parentDrag=r}get disabled(){return this._disabled}set disabled(e){this._disabled=eo(e),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(CA,12))},n.\u0275dir=_n({type:n,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[Vi([{provide:SA,useExisting:n}])]}),n})();const oue=new or("CdkDragPlaceholder"),sue=new or("CdkDragPreview");let AA=(()=>{class n{constructor(e,r,i,o,s,a,l,u,f,h,v){this.element=e,this.dropContainer=r,this._ngZone=o,this._viewContainerRef=s,this._dir=l,this._changeDetectorRef=f,this._selfHandle=h,this._parentDrag=v,this._destroyed=new nt,this.started=new zi,this.released=new zi,this.ended=new zi,this.entered=new zi,this.exited=new zi,this.dropped=new zi,this.moved=new wt(m=>{const x=this._dragRef.moved.pipe(qn(p=>({source:this,pointerPosition:p.pointerPosition,event:p.event,delta:p.delta,distance:p.distance}))).subscribe(m);return()=>{x.unsubscribe()}}),this._dragRef=u.createDrag(e,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:a?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),a&&this._assignDefaults(a),r&&(this._dragRef._withDropContainer(r._dropListRef),r.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=eo(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Va(1),ls(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const r=e.rootElementSelector,i=e.freeDragPosition;r&&!r.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let r=e;var i;this.rootElementSelector&&(r=void 0!==e.closest?e.closest(this.rootElementSelector):null===(i=e.parentElement)||void 0===i?void 0:i.closest(this.rootElementSelector)),this._dragRef.withRootElement(r||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):$l(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const r=this._dir,i=this.dragStartDelay,o=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof i&&i?i:ul(i),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),r&&e.
1withDirection(r.value)}}),e.beforeStarted.pipe(Va(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let r=this.element.nativeElement.parentElement;for(;r;){if(r.classList.contains("cdk-drag")){var i;e.withParent((null===(i=n._dragInstances.find(o=>o.element.nativeElement===r))||void 0===i?void 0:i._dragRef)||null);break}r=r.parentElement}})}_handleEvents(e){e.started.subscribe(r=>{this.started.emit({source:this,event:r.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(r=>{this.released.emit({source:this,event:r.event})}),e.ended.subscribe(r=>{this.ended.emit({source:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(r=>{this.entered.emit({container:r.container.data,item:this,currentIndex:r.currentIndex})}),e.exited.subscribe(r=>{this.exited.emit({container:r.container.data,item:this})}),e.dropped.subscribe(r=>{this.dropped.emit({previousIndex:r.previousIndex,currentIndex:r.currentIndex,previousContainer:r.previousContainer.data,container:r.container.data,isPointerOverContainer:r.isPointerOverContainer,item:this,distance:r.distance,dropPoint:r.dropPoint,event:r.event})})}_assignDefaults(e){const{lockAxis:r,dragStartDelay:i,constrainPosition:o,previewClass:s,boundaryElement:a,draggingDisabled:l,rootElementSelector:u,previewContainer:f}=e;this.disabled=l??!1,this.dragStartDelay=i||0,r&&(this.lockAxis=r),o&&(this.constrainPosition=o),s&&(this.previewClass=s),a&&(this.boundaryElement=a),u&&(this.rootElementSelector=u),f&&(this.previewContainer=f)}_setupHandlesListener(){this._handles.changes.pipe(e2(this._handles),Tl(e=>{const r=e.filter(i=>i._parentDrag===this).map(i=>i.element);this._selfHandle&&this.rootElementSelector&&r.push(this.element),this._dragRef.withHandles(r)}),uc(e=>Ui(...e.map(r=>r._stateChanges.pipe(e2(r))))),ls(this._destroyed)).subscribe(e=>{const r=this._dragRef,i=e.element.nativeElement;e.disabled?r.disableHandle(i):r.enableHandle(i)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(he(Jr),he(iue,12),he(Ki),he(Qi),he(wl),he(rue,8),he(R1,8),he(qB),he(Cl),he(SA,10),he(CA,12))},n.\u0275dir=_n({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,r,i){if(1&e&&(na(i,sue,5),na(i,oue,5),na(i,SA,5)),2&e){let o;_i(o=xi())&&(r._previewTemplate=o.first),_i(o=xi())&&(r._placeholderTemplate=o.first),_i(o=xi())&&(r._handles=o)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,r){2&e&&Rs("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Vi([{provide:CA,useExisting:n}]),Hs]}),n})(),lue=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[qB],imports:[x6]}),n})();function _p(n,t){return C(t)?Ai(n,t,1):Ai(n,1)}class YB{}class KB{}class Z2{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const r=e.indexOf(":");if(r>0){const i=e.slice(0,r),o=i.toLowerCase(),s=e.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let r=t[e];const i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Z2?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}
vendor: 8,205 bytes, line 1
1copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Z2;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Z2?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class cue{encodeKey(t){return XB(t)}encodeValue(t){return XB(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const fue=/%(\d[a-f0-9])/gi,due={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function XB(n){return encodeURIComponent(n).replace(fue,(t,e)=>{var r;return null!==(r=due[e])&&void 0!==r?r:t})}function gb(n){return`${n}`}class xp{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new cue,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function uue(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const r=t.fromObject[e],i=Array.isArray(r)?r.map(gb):[gb(r)];this.map.set(e,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new xp({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(gb(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(gb(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class hue{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),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()}}function ZB(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function JB(n){return typeof Blob<"u"&&n instanceof Blob}function QB(n){return typeof FormData<"u"&&n instanceof FormData}class lv{constructor(t,e,r,i){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function pue(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Z2),this.context||(this.context=new hue),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+s}}else this.params=new xp,this.urlWithParams=e}serializeBody(){return null===this.body?null:ZB(this.body)||JB(this.body)||QB(this.body)||function mue(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof xp?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||QB(this.body)?null:JB(this.body)?this.body.type||null:ZB(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof xp?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const r=t.method||this.method,i=t.url||this.url,o=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,l=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,f=t.params||this.params;const h=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((v,m)=>v.set(m,t.setHeaders[m]),u)),t.setParams&&(f=Object.keys(t.setParams).reduce((v,m)=>v.set(m,t.setParams[m]),f)),new lv(r,i,s,{params:f,headers:u,context:h,reportProgress:l,responseType:o,withCredentials:a})}}var Oc=(()=>((Oc=Oc||{})[Oc.Sent=0]="Sent",Oc[Oc.UploadProgress=1]="UploadProgress",Oc[Oc.ResponseHeader=2]="ResponseHeader",Oc[Oc.DownloadProgress=3]="DownloadProgress",Oc[Oc.Response=4]="Response",Oc[Oc.User=5]="User",Oc))();class MA{constructor(t,e=200,r="OK"){this.headers=t.headers||new Z2,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class DA extends MA{constructor(t={}){super(t),this.type=Oc.ResponseHeader}clone(t={}){return new DA({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 vb extends MA{constructor(t={}){super(t),this.type=Oc.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new vb({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class eV extends MA{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function kA(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let L1=(()=>{class n{constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof lv)o=e;else{let l,u;l=i.headers instanceof Z2?i.headers:new Z2(i.headers),i.params&&(u=i.params instanceof xp?i.params:new xp({fromObject:i.params})),o=new lv(e,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=Di(o).pipe(_p(l=>this.handler.handle(l)));if(e instanceof lv||"events"===i.observe)return s;
vendor: 6,125 bytes, line 1
1const a=s.pipe(Qa(l=>l instanceof vb));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(qn(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(qn(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(qn(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(qn(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:(new xp).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,kA(i,r))}post(e,r,i={}){return this.request("POST",e,kA(i,r))}put(e,r,i={}){return this.request("PUT",e,kA(i,r))}}return n.\u0275fac=function(e){return new(e||n)(qt(YB))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();class tV{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const yb=new or("HTTP_INTERCEPTORS");let gue=(()=>{class n{intercept(e,r){return r.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();const vue=/^\)\]\}',?\n/;let nV=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new wt(r=>{const i=this.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((m,x)=>i.setRequestHeader(m,x.join(","))),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const m=e.detectContentTypeHeader();null!==m&&i.setRequestHeader("Content-Type",m)}if(e.responseType){const m=e.responseType.toLowerCase();i.responseType="json"!==m?m:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const m=i.statusText||"OK",x=new Z2(i.getAllResponseHeaders()),p=function yue(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new DA({headers:x,status:i.status,statusText:m,url:p}),s},l=()=>{let{headers:m,status:x,statusText:p,url:P}=a(),T=null;204!==x&&(T=typeof i.response>"u"?i.responseText:i.response),0===x&&(x=T?200:0);let H=x>=200&&x<300;if("json"===e.responseType&&"string"==typeof T){const U=T;T=T.replace(vue,"");try{T=""!==T?JSON.parse(T):null}catch(ee){T=U,H&&(H=!1,T={error:ee,text:T})}}H?(r.next(new vb({body:T,headers:m,status:x,statusText:p,url:P||void 0})),r.complete()):r.error(new eV({error:T,headers:m,status:x,statusText:p,url:P||void 0}))},u=m=>{const{url:x}=a(),p=new eV({error:m,status:i.status||0,statusText:i.statusText||"Unknown Error",url:x||void 0});r.error(p)};let f=!1;const h=m=>{f||(r.next(a()),f=!0);let x={type:Oc.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(x.total=m.total),"text"===e.responseType&&!!i.responseText&&(x.partialText=i.responseText),r.next(x)},v=m=>{let x={type:Oc.UploadProgress,loaded:m.loaded};m.lengthComputable&&(x.total=m.total),r.next(x)};return i.addEventListener("load",l),i.addEventListener("error",u),i.addEventListener("timeout",u),i.addEventListener("abort",u),e.reportProgress&&(i.addEventListener("progress",h),null!==o&&i.upload&&i.upload.addEventListener("progress",v)),i.send(o),r.next({type:Oc.Sent}),()=>{i.removeEventListener("error",u),i.removeEventListener("abort",u),i.removeEventListener("load",l),i.removeEventListener("timeout",u),e.reportProgress&&(i.removeEventListener("progress",h),null!==o&&i.upload&&i.upload.removeEventListener("progress",v)),i.readyState!==i.DONE&&i.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(qt(jF))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();const TA=new or("XSRF_COOKIE_NAME"),IA=new or("XSRF_HEADER_NAME");class rV{}let bue=(()=>{class n{constructor(e,r,i){this.doc=e,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=OF(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki),qt(o1),qt(TA))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),OA=(()=>{class n{constructor(e,r){this.tokenService=e,this.headerName=r}intercept(e,r){const i=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(e);const o=this.tokenService.getToken();return null!==o&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,o)})),r.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(qt(rV),qt(IA))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),_ue=(()=>{class n{constructor(e,r){this.backend=e,this.injector=r,this.chain=null}handle(e){if(null===this.chain){const r=this.injector.get(yb,[]);this.chain=r.reduceRight((i,o)=>new tV(i,o),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(qt(KB),qt(Dc))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),xue=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:OA,useClass:gue}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:TA,useValue:e.cookieName}:[],e.headerName?{provide:IA,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[OA,{provide:yb,useExisting:OA,multi:!0},{provide:rV,useClass:bue},{provide:TA,useValue:"XSRF-TOKEN"},{provide:IA,useValue:"X-XSRF-TOKEN"}
1]}),n})(),wue=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[L1,{provide:YB,useClass:_ue},nV,{provide:KB,useExisting:nV}],imports:[xue.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),n})();function RA(...n){const t=yn(n),{args:e,keys:r}=pB(n),i=new wt(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,u=s;for(let f=0;f<s;f++){let h=!1;Ms(e[f]).subscribe(Jn(o,v=>{h||(h=!0,u--),a[f]=v},()=>l--,void 0,()=>{(!l||!h)&&(u||o.next(r?mB(r,a):a),o.complete())}))}});return t?i.pipe(ZE(t)):i}let iV=(()=>{class n{constructor(e,r){this._renderer=e,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(he(k1),he(Jr))},n.\u0275dir=_n({type:n}),n})(),w6=(()=>{class n extends iV{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,features:[Kn]}),n})();const s1=new or("NgValueAccessor"),Sue={provide:s1,useExisting:No(()=>J2),multi:!0},Aue=new or("CompositionEventMode");let J2=(()=>{class n extends iV{constructor(e,r,i){super(e,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Eue(){const n=jd()?jd().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(he(k1),he(Jr),he(Aue,8))},n.\u0275dir=_n({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,r){1&e&&pr("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[Vi([Sue]),Kn]}),n})();function wp(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function sV(n){return null!=n&&"number"==typeof n.length}const ou=new or("NgValidators"),Cp=new or("NgAsyncValidators"),Due=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class qc{static min(t){return function aV(n){return t=>{if(wp(t.value)||wp(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function lV(n){return t=>{if(wp(t.value)||wp(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return cV(t)}static requiredTrue(t){return function uV(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function fV(n){return wp(n.value)||Due.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function dV(n){return t=>wp(t.value)||!sV(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function hV(n){return t=>sV(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function pV(n){if(!n)return bb;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),r=>{if(wp(r.value))return null;const i=r.value;return t.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return _V(t)}static composeAsync(t){return xV(t)}}function cV(n){return wp(n.value)?{required:!0}:null}function bb(n){return null}function mV(n){return null!=n}function gV(n){return D8(n)?gi(n):n}function vV(n){let t={};
1return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function yV(n,t){return t.map(e=>e(n))}function bV(n){return n.map(t=>function kue(n){return!n.validate}(t)?t:e=>t.validate(e))}function _V(n){if(!n)return null;const t=n.filter(mV);return 0==t.length?null:function(e){return vV(yV(e,t))}}function LA(n){return null!=n?_V(bV(n)):null}function xV(n){if(!n)return null;const t=n.filter(mV);return 0==t.length?null:function(e){return RA(yV(e,t).map(gV)).pipe(qn(vV))}}function PA(n){return null!=n?xV(bV(n)):null}function wV(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function CV(n){return n._rawValidators}function SV(n){return n._rawAsyncValidators}function NA(n){return n?Array.isArray(n)?n:[n]:[]}function _b(n,t){return Array.isArray(n)?n.includes(t):n===t}function EV(n,t){const e=NA(t);return NA(n).forEach(i=>{_b(e,i)||e.push(i)}),e}function AV(n,t){return NA(t).filter(e=>!_b(n,e))}class MV{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=LA(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=PA(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class a1 extends MV{get formDirective(){return null}get path(){return null}}class Wd extends MV{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class DV{constructor(t){this._cd=t}get isTouched(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.touched)}get isUntouched(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.untouched)}get isPristine(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.pristine)}get isDirty(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.dirty)}get isValid(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.valid)}get isInvalid(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.invalid)}get isPending(){var t,e;return!(null===(t=this._cd)||void 0===t||null===(e=t.control)||void 0===e||!e.pending)}get isSubmitted(){var t;return!(null===(t=this._cd)||void 0===t||!t.submitted)}}let t0=(()=>{class n extends DV{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(he(Wd,2))},n.\u0275dir=_n({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,r){2&e&&Rs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[Kn]}),n})(),C6=(()=>{class n extends DV{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(he(a1,10))},n.\u0275dir=_n({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,r){2&e&&Rs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[Kn]}),n})();const cv="VALID",wb="INVALID",Ym="PENDING",uv="DISABLED";function VA(n){return(Cb(n)?n.validators:n)||null}function TV(n){return Array.isArray(n)?LA(n):n||null}function HA(n,t){return(Cb(t)?t.asyncValidators:n)||null}function IV(n){return Array.isArray(n)?PA(n):n||null}function Cb(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function OV(n,t,e){const r=n.controls;if(!(t?Object.keys(r):r).length)throw new ir(1e3,"");if(!r[e])throw new ir(1001,"")}
vendor: 5,275 bytes, line 1
1function RV(n,t,e){n._forEachChild((r,i)=>{if(void 0===e[i])throw new ir(1002,"")})}class Sb{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=TV(this._rawValidators),this._composedAsyncValidatorFn=IV(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===cv}get invalid(){return this.status===wb}get pending(){return this.status==Ym}get disabled(){return this.status===uv}get enabled(){return this.status!==uv}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=TV(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=IV(t)}addValidators(t){this.setValidators(EV(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(EV(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(AV(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(AV(t,this._rawAsyncValidators))}hasValidator(t){return _b(this._rawValidators,t)}hasAsyncValidator(t){return _b(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Ym,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=uv,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=cv,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===cv||this.status===Ym)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?uv:cv}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Ym,this._hasOwnPendingAsyncValidator=!0;const e=gV(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((r,i)=>r&&r._find(i),this)}getError(t,e){const r=e?this.get(e):this;return r&&r.errors?r.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new zi,this.statusChanges=new zi}_calculateStatus(){return this._allControlsDisabled()?uv:this.errors?wb:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ym)?Ym:this._anyControlsHaveStatus(wb)?wb:cv}
1_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Cb(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class Km extends Sb{constructor(t,e,r){super(VA(e),HA(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,r={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){RV(this,0,t),Object.keys(t).forEach(r=>{OV(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(r=>{const i=this.controls[r];i&&i.patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,r)=>(t[r]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,r)=>!!r._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const r=this.controls[e];r&&t(r,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,r]of Object.entries(this.controls))if(this.contains(e)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(t,e){let r=t;return this._forEachChild((i,o)=>{r=e(r,i,o)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class LV extends Km{}function Eb(n,t){return[...t.path,n]}function fv(n,t){var e,r;jA(n,t),t.valueAccessor.writeValue(n.value),n.disabled&&(null===(e=(r=t.valueAccessor).setDisabledState)||void 0===e||e.call(r,!0)),function Fue(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&PV(n,t)})}(n,t),function Bue(n,t){const e=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function zue(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&PV(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function Nue(n,t){if(t.valueAccessor.setDisabledState){const e=r=>{t.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)}
1)}}(n,t)}function Ab(n,t,e=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Db(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Mb(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function jA(n,t){const e=CV(n);null!==t.validator?n.setValidators(wV(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const r=SV(n);null!==t.asyncValidator?n.setAsyncValidators(wV(r,t.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const i=()=>n.updateValueAndValidity();Mb(t._rawValidators,i),Mb(t._rawAsyncValidators,i)}function Db(n,t){let e=!1;if(null!==n){if(null!==t.validator){const i=CV(n);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.validator);o.length!==i.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const i=SV(n);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(e=!0,n.setAsyncValidators(o))}}}const r=()=>{};return Mb(t._rawValidators,r),Mb(t._rawAsyncValidators,r),e}function PV(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function NV(n,t){jA(n,t)}function UA(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function zV(n,t){n._syncPendingControls(),t.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function $A(n,t){if(!t)return null;let e,r,i;return Array.isArray(t),t.forEach(o=>{o.constructor===J2?e=o:function jue(n){return Object.getPrototypeOf(n.constructor)===w6}(o)?r=o:i=o}),i||r||e||null}const $ue={provide:a1,useExisting:No(()=>hv)},dv=(()=>Promise.resolve())();let hv=(()=>{class n extends a1{constructor(e,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new zi,this.form=new Km({},LA(e),PA(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){dv.then(()=>{const r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),fv(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){dv.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){dv.then(()=>{const r=this._findContainer(e.path),i=new Km({});NV(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){dv.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){dv.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){var r;return this.submitted=!0,zV(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(r=e.target)||void 0===r?void 0:r.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(he(ou,10),he(Cp,10))},n.\u0275dir=_n({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,r){1&e&&pr("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vi([$ue]),Kn]}),n})();function BV(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function VV(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const P1=class extends Sb{constructor(t=null,e,r){super(VA(e),HA(r,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cb(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=VV(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){BV(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){BV(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){VV(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},kb=P1,que={provide:Wd,useExisting:No(()=>pv)},UV=(()=>Promise.resolve())();let pv=(()=>{class n extends Wd{constructor(e,r,i,o,s){super(),this._changeDetectorRef=s,this.control=new P1,this._registered=!1,this.update=new zi,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=$A(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),UA(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){fv(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){UV.then(()=>{var r;this.control.setValue(e,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(e){const r=e.isDisabled.currentValue,i=0!==r&&Kh(r);UV.then(()=>{var o;i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(e){return this._parent?Eb(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(he(a1,9),he(ou,10),he(Cp,10),he(s1,10),he(Cl,8))},n.\u0275dir=_n({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Vi([que]),Kn,Hs]}),n})(),S6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const Yue={provide:s1,useExisting:No(()=>GA),multi:!0};let GA=(()=>{class n extends w6{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=r=>{e(""==r?null:parseFloat(r))}}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,r){1&e&&pr("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[Vi([Yue]),Kn]}),n})(),$V=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();const WA=new or("NgModelWithFormControlWarning"),Que={provide:a1,useExisting:No(()=>Q2)};let Q2=(()=>{class n extends a1{constructor(e,r){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new zi,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateV
1alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Db(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const r=this.form.get(e.path);return fv(r,e),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){Ab(e.control||null,e,!1),function Uue(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,r){this.form.get(e.path).setValue(r)}onSubmit(e){var r;return this.submitted=!0,zV(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(r=e.target)||void 0===r?void 0:r.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const r=e.control,i=this.form.get(e.path);r!==i&&(Ab(r||null,e),(n=>n instanceof P1)(i)&&(fv(i,e),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const r=this.form.get(e.path);NV(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const r=this.form.get(e.path);r&&function Vue(n,t){return Db(n,t)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jA(this.form,this),this._oldForm&&Db(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(he(ou,10),he(Cp,10))},n.\u0275dir=_n({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,r){1&e&&pr("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vi([Que]),Kn,Hs]}),n})();const n1e={provide:Wd,useExisting:No(()=>Sp)};let Sp=(()=>{class n extends Wd{constructor(e,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new zi,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=$A(0,o)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),UA(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Eb(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(he(a1,13),he(ou,10),he(Cp,10),he(s1,10),he(WA,8))},n.\u0275dir=_n({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Vi([n1e]),Kn,Hs]}),n})(),E6=(()=>{class n{constructor(){this._validator=bb}ngOnChanges(e){if(this.inputName in e){const r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):bb,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,features:[Hs]}),n})();const f1e={provide:ou,useExisting:No(()=>Tb),multi:!0};let Tb=(()=>{class n extends E6{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Kh,this.createValidator=e=>cV}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,r){2&e&&ro("required",r._enabled?"":null)},inputs:{required:"required"},features:[Vi([f1e]),Kn]}),n})(),oH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[$V]}),n})(),v1e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[oH]}),n})(),ZA=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:WA,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[oH]}),n})();class sH extends Sb{constructor(t,e,r){super(VA(e),HA(r,e)),this.controls=t,this._initOb
1servables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,r={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,e={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,r={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){RV(this,0,t),t.forEach((r,i)=>{OV(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,r)=>!!r._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,r)=>{t(e,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){var e;return null!==(e=this.at(t))&&void 0!==e?e:null}}function aH(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let y1e=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new n;return e.useNonNullable=!0,e}group(e,r=null){const i=this._reduceControls(e);let o={};return aH(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new Km(i,o)}record(e,r=null){const i=this._reduceControls(e);return new LV(i,r)}control(e,r,i){let o={};return this.useNonNullable?(aH(r)?o=r:(o.validators=r,o.asyncValidators=i),new P1(e,{...o,nonNullable:!0})):new P1(e,r,i)}array(e,r,i){const o=e.map(s=>this._createControl(s));return new sH(o,r,i)}_reduceControls(e){const r={};return Object.keys(e).forEach(i=>{r[i]=this._createControl(e[i])}),r}_createControl(e){return e instanceof P1||e instanceof Sb?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:ZA}),n})(),mv=(()=>{class n extends y1e{group(e,r=null){return super.group(e,r)}control(e,r,i){return super.control(e,r,i)}array(e,r,i){return super.array(e,r,i)}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:ZA}),n})();const _1e={provide:jS,useFactory:function b1e(n,t){return()=>{if(p6(t)){const e=Array.from(n.querySelectorAll(`[class*=${lH}]`)),r=/\bflex-layout-.+?\b/g;e.forEach(i=>{i.classList.contains(`${lH}ssr`)&&i.parentNode?i.parentNode.removeChild(i):i.className.replace(r,"")})}}},deps:[Ki,o1],multi:!0},lH="flex-layout-";let JA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[_1e]}),n})();class A6{constructor(t=!1,e="all",r="",i="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=r,this.suffix=i,this.priority=o,this.property=""}clone(){return new A6(this.matches,this.mediaQuery,this.mqAlias,this.suffix
1)}}let cH=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,r,i){const o=this.stylesheet.get(e);o?o.set(r,i):this.stylesheet.set(e,new Map([[r,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,r){const i=this.stylesheet.get(e);let o="";if(i){const s=i.get(r);("number"==typeof s||"string"==typeof s)&&(o=s+"")}return o}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({factory:function(){return new n},token:n,providedIn:"root"}),n})();const QA={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},ed=new or("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>QA}),M6=new or("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),eM=new or("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function uH(n,t){return n=n?n.clone():new A6,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}const tM="inline",fH=["row","column","row-reverse","column-reverse"];function C1e(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}let Il=(()=>{class n{constructor(e,r,i,o){this.elementRef=e,this.styleBuilder=r,this.styler=i,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new nt,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(r=>{if(-1!==this.inputs.indexOf(r)){const i=r.split(".").slice(1).join(".");this.setValue(e[r].currentValue,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,r){const i=this.styleBuilder,o=i.shouldCache;let s=this.styleCache.get(e);(!s||!o)&&(s=i.buildStyles(e,r),o&&this.styleCache.set(e,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),i.sideEffect(e,s,r)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,r=!1){if(e){const[i,o]=this.styler.getFlowDirection(e);if(!o&&r){const s=function x1e(n){let[t,e,r]=function w1e(n){n=n?n.toLowerCase():"";let[t,e,r]=n.split(" ");return fH.find(i=>i===t)||(t=fH[0]),e===tM&&(e=r!==tM?r:"",r=tM),[t,C1e(e),!!r]}(n);return function S1e(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}(t,e,r)}(i);this.styler.applyStyleToElements(s,[e])}return i.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,r,i=this.nativeElement){this.styler.applyStyleToElement(i,e,r)}setValue(e,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,r)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){$2()},n.\u0275dir=_n({type:n,features:[Hs]}),n})();const E1e=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],dH="(orientation: portrait) and (max-width: 599.98px)",hH="(orientation: landscape) and (max-width: 959.98px)",pH="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",mH="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",gH="(orientation: portrait) and (min-width: 840px)",vH="(orientation: landscape) and (min-width: 1280px)",n0={HANDSET:`${dH}, ${hH}`,TABLET:`${pH} , ${mH}`,WEB:`${gH}, ${vH} `,HANDSET_PORTRAIT:`${dH}`,TABLET_PORTRAIT:`${pH} `,WEB_PORTRAIT:`${gH}`,HANDSET_LANDSCAPE:`${hH}`,TABLET_LANDSCAPE:`${mH}`,WEB_LANDSCAPE:`${vH}`},A1e=[{alias:"handset",priority:2e3,mediaQuery:n0.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:n0.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:n0.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:n0.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:n0.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:n0.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:n0.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:n0.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:n0.WEB_PORTRAIT,overlapping:!0}],D1e=/(\.|-|_)/g;function k1e(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}function O1e(n,t=[]){const e={};
1return n.forEach(r=>{e[r.alias]=r}),t.forEach(r=>{e[r.alias]?function M1e(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let r in e)e.hasOwnProperty(r)&&(n[r]=e[r])}(e[r.alias],r):e[r.alias]=r}),function I1e(n){return n.forEach(t=>{t.suffix||(t.suffix=function T1e(n){return n.replace(D1e,"|").split("|").map(k1e).join("")}(t.alias),t.overlapping=!!t.overlapping)}),n}(Object.keys(e).map(r=>e[r]))}const yH=new or("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=la(eM),t=la(ed),e=[].concat.apply([],(n||[]).map(i=>Array.isArray(i)?i:[i]));return O1e((t.disableDefaultBps?[]:E1e).concat(t.addOrientationBps?A1e:[]),e)}});function gv(n,t){return(t&&t.priority||0)-(n&&n.priority||0)}function R1e(n,t){return(n.priority||0)-(t.priority||0)}let vv=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(R1e)}findByAlias(e){return e?this.findWithPredicate(e,r=>r.alias==e):null}findByQuery(e){return this.findWithPredicate(e,r=>r.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,r){let i=this.findByMap.get(e);return i||(i=this.items.find(r)||null,this.findByMap.set(e,i)),i||null}}return n.\u0275fac=function(e){return new(e||n)(qt(yH))},n.\u0275prov=un({factory:function(){return new n(qt(yH))},token:n,providedIn:"root"}),n})(),Ob=(()=>{class n{constructor(e,r,i){this._zone=e,this._platformId=r,this._document=i,this.source=new Wc(new A6(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((r,i)=>{r.matches&&e.push(i)}),e}isActive(e){const r=this.registry.get(e);return r?r.matches:this.registerQuery(e).some(i=>i.matches)}observe(e,r=!1){if(e&&e.length){const i=this._observable$.pipe(Qa(s=>!r||e.indexOf(s.mediaQuery)>-1));return Ui(new wt(s=>{const a=this.registerQuery(e);if(a.length){const l=a.pop();a.forEach(u=>{s.next(u)}),this.source.next(l)}s.complete()}),i)}return this._observable$}registerQuery(e){const r=Array.isArray(e)?e:[e],i=[];return function L1e(n,t){const e=n.filter(r=>!bH[r]);if(e.length>0){const r=e.join(", ");try{const i=t.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${r} {.fx-query-test{ }}\n`)),t.head.appendChild(i),e.forEach(o=>bH[o]=i)}catch(i){console.error(i)}}}(r,this._document),r.forEach(o=>{const s=l=>{this._zone.run(()=>this.source.next(new A6(l.matches,o)))};let a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&i.push(new A6(!0,o))}),i}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function P1e(n,t){return t&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,p6(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(qt(Qi),qt(o1),qt(Ki))},n.\u0275prov=un({factory:function(){return new n(qt(Qi),qt(o1),qt(Ki))},token:n,providedIn:"root"}),n})();const bH={},Xm="print",z1e={alias:Xm,mediaQuery:Xm,priority:1e3};let _H=(()=>{class n{constructor(e,r,i){this.breakpoints=e,this.layoutConfig=r,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new B1e,this.deactivations=[]}withPrintQuery(e){return[...e,Xm]}isPrintEvent(e){return e.mediaQuery.startsWith(Xm)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const r=this.breakpoints.findByQuery(e);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(gv)}updateEvent(e){let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=r?r.mediaQuery:""),uH(e,r)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new A6(!0,Xm))),e.updateStyles())},i=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(i)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),r=>{this.isPrintEvent(r)?r.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(r)),e.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(r)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,r){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const r=this.breakpoints.findByQuery(e.mediaQuery);r&&(this.deactivations.push(r),this.deactivations.sort(gv))}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEac
1h(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(qt(vv),qt(ed),qt(Ki))},n.\u0275prov=un({factory:function(){return new n(qt(vv),qt(ed),qt(Ki))},token:n,providedIn:"root"}),n})();class B1e{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(z1e),t.sort(gv),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(r=>r.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function V1e(n){return!!n&&n.mediaQuery.startsWith(Xm)}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function xH(n){for(let t in n){let e=n[t]||"";switch(t){case"display":n.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+t]=e;break;case"flex-direction":e=e||"row",n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+t]=isNaN(+e)?"0":e}}return n}let fl=(()=>{class n{constructor(e,r,i,o){this._serverStylesheet=e,this._serverModuleLoaded=r,this._platformId=i,this.layoutConfig=o}applyStyleToElement(e,r,i=null){let o={};"string"==typeof r&&(o[r]=i,r=o),o=this.layoutConfig.disableVendorPrefixes?r:xH(r),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,r=[]){const i=this.layoutConfig.disableVendorPrefixes?e:xH(e);r.forEach(o=>{this._applyMultiValueStyleToElement(i,o)})}getFlowDirection(e){const r="flex-direction";let i=this.lookupStyle(e,r);return[i||"row",this.lookupInlineStyle(e,r)||m6(this._platformId)&&this._serverModuleLoaded?i:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,r){return e.getAttribute(r)||""}lookupInlineStyle(e,r){return p6(this._platformId)?e.style.getPropertyValue(r):this._getServerStyle(e,r)}lookupStyle(e,r,i=!1){let o="";return e&&((o=this.lookupInlineStyle(e,r))||(p6(this._platformId)?i||(o=getComputedStyle(e).getPropertyValue(r)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,r)))),o?o.trim():""}_applyMultiValueStyleToElement(e,r){Object.keys(e).sort().forEach(i=>{const o=e[i],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",p6(this._platformId)||!this._serverModuleLoaded?p6(this._platformId)?r.style.setProperty(i,a):this._setServerStyle(r,i,a):this._serverStylesheet.addStyleToElement(r,i,a)})}_setServerStyle(e,r,i){r=r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const o=this._readStyleAttribute(e);o[r]=i||"",this._writeStyleAttribute(e,o)}_getServerStyle(e,r){return this._readStyleAttribute(e)[r]||""}_readStyleAttribute(e){const r={},i=e.getAttribute("style");if(i){const o=i.split(/;+/g);for(let s=0;s<o.length;s++){const a=o[s].trim();if(a.length>0){const l=a.indexOf(":");if(-1===l)throw new Error(`Invalid CSS style: ${a}`);r[a.substr(0,l).trim()]=a.substr(l+1).trim()}}}return r}_writeStyleAttribute(e,r){let i="";for(const o in r)r[o]&&(i+=o+":"+r[o]+";");e.setAttribute("style",i)}}return n.\u0275fac=function(e){return new(e||n)(qt(cH),qt(M6),qt(o1),qt(ed))},n.\u0275prov=un({factory:function(){return new n(qt(cH),qt(M6),qt(o1),qt(ed))},token:n,providedIn:"root"}),n})();class fc{constructor(){this.shouldCache=!0}sideEffect(t,e,r){}}function wH(n,t="1",e="1"){let r=[t,e,n],i=n.indexOf("calc");if(i>0){r[2]=CH(n.substring(i).trim());let o=n.substr(0,i).trim().split(" ");2==o.length&&(r[0]=o[0],r[1]=o[1])}else if(0==i)r[2]=CH(n.trim());else{let o=n.split(" ");r=3===o.length?o:[t,e,n]}return r}function CH(n){return n.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let Ol=(()=>{class n{constructor(e,r,i){this.matchMedia=e,this.breakpoints=r,this.hook=i,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=ne
1w nt,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const r=this.findByQuery(e.mediaQuery);r&&((e=uH(e,r)).matches&&-1===this.activatedBreakpoints.indexOf(r)?(this.activatedBreakpoints.push(r),this.activatedBreakpoints.sort(gv),this.updateStyles()):!e.matches&&-1!==this.activatedBreakpoints.indexOf(r)&&(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(r),1),this.activatedBreakpoints.sort(gv),this.updateStyles()))}init(e,r,i,o,s=[]){SH(this.updateMap,e,r,i),SH(this.clearMap,e,r,o),this.buildElementKeyMap(e,r),this.watchExtraTriggers(e,r,s)}getValue(e,r,i){const o=this.elementMap.get(e);if(o){const s=void 0!==i?o.get(i):this.getActivatedValues(o,r);if(s)return s.get(r)}}hasValue(e,r){const i=this.elementMap.get(e);if(i){const o=this.getActivatedValues(i,r);if(o)return void 0!==o.get(r)||!1}return!1}setValue(e,r,i,o){let s=this.elementMap.get(e);if(s){const l=(s.get(o)||new Map).set(r,i);s.set(o,l),this.elementMap.set(e,s)}else s=(new Map).set(o,(new Map).set(r,i)),this.elementMap.set(e,s);const a=this.getValue(e,r);void 0!==a&&this.updateElement(e,r,a)}trackValue(e,r){return this.subject.asObservable().pipe(Qa(i=>i.element===e&&i.key===r))}updateStyles(){this.elementMap.forEach((e,r)=>{const i=new Set(this.elementKeyMap.get(r));let o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(r,a,s),i.delete(a)}
1),i.forEach(s=>{if(o=this.getActivatedValues(e,s),o){const a=o.get(s);this.updateElement(r,s,a)}else this.clearElement(r,s)})})}clearElement(e,r){const i=this.clearMap.get(e);if(i){const o=i.get(r);o&&(o(),this.subject.next({element:e,key:r,value:""}))}}updateElement(e,r,i){const o=this.updateMap.get(e);if(o){const s=o.get(r);s&&(s(i),this.subject.next({element:e,key:r,value:i}))}}releaseElement(e){const r=this.watcherMap.get(e);r&&(r.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));const i=this.elementMap.get(e);i&&(i.forEach((o,s)=>i.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,r){const i=this.elementMap.get(e);if(i){const o=this.getActivatedValues(i,r);o&&(r?this.updateElement(e,r,o.get(r)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,r){let i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(r)}watchExtraTriggers(e,r,i){if(i&&i.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(r)){const a=Ui(...i).subscribe(()=>{const l=this.getValue(e,r);this.updateElement(e,r,l)});o.set(r,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,r){for(let o=0;o<this.activatedBreakpoints.length;
1o++){const a=e.get(this.activatedBreakpoints[o].alias);if(a&&(void 0===r||a.has(r)&&null!=a.get(r)))return a}const i=e.get("");return void 0===r||i&&i.has(r)?i:void 0}observeActivations(){const r=this.breakpoints.items.map(i=>i.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(r)).pipe(Tl(this.hook.interceptEvents(this)),Qa(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(qt(Ob),qt(vv),qt(_H))},n.\u0275prov=un({factory:function(){return new n(qt(Ob),qt(vv),qt(_H))},token:n,providedIn:"root"}),n})();function SH(n,t,e,r){if(void 0!==r){let i=n.get(t);i||(i=new Map,n.set(t,i)),i.set(e,r)}}let W1e=(()=>{class n extends Il{constructor(e,r,i,o,s,a,l){super(e,null,r,i),this.ngClassInstance=l,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new mp(o,s,e,a)),this.init(),this.setValue("","")}set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(fl),he(Ol),he(af),he(d6),he(k1),he(mp,10))},n.\u0275dir=_n({type:n,inputs:{klass:["class","klass"]},features:[Kn]}),n})();const q1e=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let nM=(()=>{class n extends W1e{constructor(){super(...arguments),this.inputs=q1e}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[Kn]}),n})(),Y1e=(()=>{class n extends fc{buildStyles(e,r){return{display:"true"===e?r.display||(r.isServer?"initial":""):"none"}}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275prov=un({factory:function(){return new n},token:n,providedIn:"root"}),n})(),K1e=(()=>{class n extends Il{constructor(e,r,i,o,s,a,l){super(e,r,i,o),this.layoutConfig=s,this.platformId=a,this.serverModuleLoaded=l,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const e=Array.from(this.nativeElement.children);for(let i=0;i<e.length;i++)if(this.marshal.hasValue(e[i],"flex")){this.hasFlexChild=!0;break}rM.has(this.nativeElement)?this.display=rM.get(this.nativeElement):(this.display=this.getDisplayStyle(),rM.set(this.nativeElement,this.display)),this.init();const r=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY,"");void 0===r||""===r?this.setValue(!0,""):this.triggerUpdate()}ngOnChanges(e){Object.keys(e).forEach(r=>{if(-1!==this.inputs.indexOf(r)){const i=r.split("."),o=i.slice(1).join("."),s=e[r].currentValue;let a=""===s||0!==s&&eo(s);"fxHide"===i[0]&&(a=!a),this.setValue(a,o)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(e=>{this.marshal.trackValue(this.nativeElement,e).pipe(ls(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(e=!0){if(""===e)return;const r=m6(this.platformId);this.addStyles(e?"true":"false",{display:this.display,isServer:r}),r&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Y1e),he(fl),he(Ol),he(ed),he(o1),he(M6))},n.\u0275dir=_n({type:n,features:[Kn,Hs]}),n})();const rM=new WeakMap,X1e=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fx
1Hide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let Rb=(()=>{class n extends K1e{constructor(){super(...arguments),this.inputs=X1e}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[Kn]}),n})();class Z1e{constructor(t,e,r=!0){this.key=t,this.value=e,this.key=r?t.replace(/['"]/g,"").trim():t.trim(),this.value=r?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function EH(n){let t=typeof n;return"object"===t?n.constructor===Array?"array":n.constructor===Set?"set":"object":t}function MH(n){const[t,...e]=n.split(":");return new Z1e(t,e.join(":"))}function DH(n,t){return t.key&&(n[t.key]=t.value),n}let efe=(()=>{class n extends Il{constructor(e,r,i,o,s,a,l,u,f){super(e,null,r,i),this.sanitizer=o,this.ngStyleInstance=l,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new zm(e,s,a)),this.init();const h=this.nativeElement.getAttribute("style")||"";this.fallbackStyles=this.buildStyleMap(h),this.isServer=u&&m6(f)}updateWithValue(e){const r=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),r),this.isServer&&this.applyStyleToElement(r),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const r=i=>this.sanitizer.sanitize(Fs.STYLE,i)||"";if(e)switch(EH(e)){case"string":return kH(function J1e(n,t=";"){return String(n).trim().split(t).map(e=>e.trim()).filter(e=>""!==e)}(e),r);case"array":return kH(e,r);default:return function AH(n,t){let e=[];return"set"===EH(n)?n.forEach(r=>e.push(r)):Object.keys(n).forEach(r=>{e.push(`${r}:${n[r]}`)}),function Q1e(n,t){return n.map(MH).filter(r=>!!r).map(r=>(t&&(r.value=t(r.value)),r)).reduce(DH,{})}(e,t)}(e,r)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(fl),he(Ol),he(vp),he(d6),he(k1),he(zm,10),he(M6),he(o1))},n.\u0275dir=_n({type:n,features:[Kn]}),n})();const tfe=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let yv=(()=>{class n extends efe{constructor(){super(...arguments),this.inputs=tfe}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[Kn]}),n})();function kH(n,t){return n.map(MH).filter(r=>!!r).map(r=>(t&&(r.value=t(r.value)),r)).reduce(DH,{})}let TH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[JA]}),n})();const iM="inline",Lb=["row","column","row-reverse","column-reverse"];function IH(n){n=n?n.toLowerCase():"";let[t,e,r]=n.split(" ");return Lb.find(i=>i===t)||(t=Lb[0]),e===iM&&(e=r!==iM?r:"",r=iM),[t,rfe(e),!!r]}function bv(n){let[t]=IH(n);return t.indexOf("row")>-1}function rfe(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}let ofe=(()=>{class n extends fc{buildStyles(e){return function nfe(n){let[t,e,r]=IH(n);return function ife(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}(t,e,r)}(e)}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275prov=un({factory:function(){return new n},token:n,providedIn:"root"}),n})();const sfe=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let afe=(()=>{class n extends Il{constructor(e,r,i,o){super(e,i,r,o),this.DIRECTIVE_KEY="layout",this.styleCache=lfe,this.init()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(fl),he(ofe),he(Ol))},n.\u0275dir=_n({type:n,features:[Kn]}),n})(),Ha=(()=>{class n extends afe{constructor(){super(...arguments),this.inputs=sfe}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl"
1:"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[Kn]}),n})();const lfe=new Map,OH={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let cfe=(()=>{class n extends fc{constructor(e){super(),this._styler=e}buildStyles(e,r){return e.endsWith(Pb)?function vfe(n,t){const[e,r]=n.split(" "),o=u=>`-${u}`;let s="0px",a=o(r||e),l="0px";return"rtl"===t?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}(e=e.slice(0,e.indexOf(Pb)),r.directionality):{}}sideEffect(e,r,i){const o=i.items;if(e.endsWith(Pb)){const s=function gfe(n,t){const[e,r]=n.split(" ");let o="0px",a="0px";return"rtl"===t?a=e:o=e,{padding:`0px ${o} ${r||e} ${a}`}}(e=e.slice(0,e.indexOf(Pb)),i.directionality);this._styler.applyStyleToElements(s,i.items)}else{const s=o.pop(),a=function yfe(n,t){const e=RH(t.directionality,t.layout),r=Object.assign({},OH);return r[e]=n,r}(e,i);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(OH,[s])}}}return n.\u0275fac=function(e){return new(e||n)(qt(fl))},n.\u0275prov=un({factory:function(){return new n(qt(fl))},token:n,providedIn:"root"}),n})();const ufe=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let ffe=(()=>{class n extends Il{constructor(e,r,i,o,s,a){super(e,s,o,a),this.zone=r,this.directionality=i,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new nt;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(ls(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,r=[];for(let i=e.length;i--;)r[i]=e[i];return r}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],Lb.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const r=this.childrenNodes.filter(i=>1===i.nodeType&&this.willDisplay(i)).sort((i,o)=>{const s=+this.styler.lookupStyle(i,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(r.length>0){const i=this.directionality.value,o=this.layout;"row"===o&&"rtl"===i?this.styleCache=dfe:"row"===o&&"rtl"!==i?this.styleCache=pfe:"column"===o&&"rtl"===i?this.styleCache=hfe:"column"===o&&"rtl"!==i&&(this.styleCache=mfe),this.addStyles(e,{directionality:i,items:r,layout:o})}}clearStyles(){const e=Object.keys(this.mru).length>0,r=e?"padding":RH(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(e){const r=this.marshal.getValue(e,"show-hide");return!0===r||void 0===r&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{e.some(i=>i.addedNodes&&i.addedNodes.length>0||i.removedNodes&&i.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Qi),he(R1),he(fl),he(cfe),he(Ol))},n.\u0275dir=_n({type:n,features:[Kn]}),n})(),qd=(()=>{class n extends ffe{constructor(){super(...arguments),this.inputs=ufe}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm"
1:"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[Kn]}),n})();const dfe=new Map,hfe=new Map,pfe=new Map,mfe=new Map,Pb=" grid";function RH(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===n?"margin-left":"margin-right";case"row-reverse":return"rtl"===n?"margin-right":"margin-left"}}function Ep(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n}let bfe=(()=>{class n extends fc{constructor(e){super(),this.layoutConfig=e}buildStyles(e,r){let[i,o,...s]=e.split(" "),a=s.join(" ");const l=r.direction.indexOf("column")>-1?"column":"row",u=bv(l)?"max-width":"max-height",f=bv(l)?"min-width":"min-height",h=String(a).indexOf("calc")>-1,v=h||"auto"===a,m=String(a).indexOf("%")>-1&&!h,x=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1;let p=h||x;i="0"==i?0:i,o="0"==o?0:o;const P=!i&&!o;let T={};const H={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":const U=!1!==this.layoutConfig.useColumnBasisZero;a="row"===l?"0%":U?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":i=0,o=0,a="auto";break;default:!p&&!m&&!isNaN(a)&&(a+="%"),"0%"===a&&(p=!0),"0px"===a&&(a="0%"),T=Ep(H,h?{"flex-grow":i,"flex-shrink":o,"flex-basis":p?a:"100%"}:{flex:`${i} ${o} ${p?a:"100%"}`})}return T.flex||T["flex-grow"]||(T=Ep(H,h?{"flex-grow":i,"flex-shrink":o,"flex-basis":a}:{flex:`${i} ${o} ${a}`})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(T[f]=P||p&&i?a:null,T[u]=P||!v&&o?a:null),T[f]||T[u]?r.hasWrap&&(T[h?"flex-basis":"flex"]=T[u]?h?T[u]:`${i} ${o} ${T[u]}`:h?T[f]:`${i} ${o} ${T[f]}`):T=Ep(H,h?{"flex-grow":i,"flex-shrink":o,"flex-basis":a}:{flex:`${i} ${o} ${a}`}),Ep(T,{"box-sizing":"border-box"})}}return n.\u0275fac=function(e){return new(e||n)(qt(ed))},n.\u0275prov=un({factory:function(){return new n(qt(ed))},token:n,providedIn:"root"}),n})();const _fe=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let xfe=(()=>{class n extends Il{constructor(e,r,i,o,s){super(e,o,r,s),this.layoutConfig=i,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(ls(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(ls(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const i=e.value.split(" ");this.direction=i[0],this.wrap=void 0!==i[1]&&"wrap"===i[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const i=this.direction,o=i.startsWith("row"),s=this.wrap;o&&s?this.styleCache=Sfe:o&&!s?this.styleCache=wfe:!o&&s?this.styleCache=Efe:!o&&!s&&(this.styleCache=Cfe);const l=wH(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:i,hasWrap:s})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const r=wH(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,r.join(" "))}}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(fl),he(ed),he(bfe),he(Ol))},n.\u0275dir=_n({type:n,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[Kn]}),n})(),Yc=(()=>{class n extends xfe{constructor(){super(...arguments),this.inputs=_fe}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[Kn]}),n})();const wfe=new Map,Cfe=new Map,Sfe=new Map,Efe=new Map;let Ife=(()=>{class n extends fc{buildStyles(e,r){""===e&&(e="0");const i=String(e).indexOf("%")>-1;!(String(e).indexOf("px")>-1)&&!i&&!isNaN(+e)&&(e+="%");const s=r.isRtl?"margin-right":"margin-left";return bv(r.layout)?{[s]:`${e}`}:{"margin-top":`${e}`}}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275prov=un({factory:function(){return new n},token:n,providedIn:"root"}),n})();const Ofe=["fxFlexOffset","fxFlexOffset.xs","fxFlexOffset.sm","fxFlexOffset.md","fxFlexOffset.lg","fxFlexOffset.xl","fxFlexOffset.lt-sm","fxFlexOffset.lt-md","fxFlexOffset.lt-lg","fxFlexOffset.lt-xl","fxFlexOffset.gt-xs","fxFlexOffset.gt-sm","fxFlexOffset.gt-md","fxFlexOffset.gt-lg"];let Rfe=(()=>{class n extends Il{constructor(e,r,i,o,s){super(e,i,s,o),this.directionality=r,this.DIRECTIVE_KEY="flex-offset",this.init([this.directionality.change]),this.parentElement&&this.marshal.trackValue(this.parentElement,"layout-gap").pipe(ls(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))}updateWithValue(e=""){const r=this.getFlexFlowDirection(this.parentElement,!0),i="rtl"===this.directionality.value;"row"===r&&i?this.styleCache=Lfe:"row"!==r||i?"column"===r&&i?this.styleCache=Pfe:"
1column"===r&&!i&&(this.styleCache=Ffe):this.styleCache=Nfe,this.addStyles(e+"",{layout:r,isRtl:i})}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(R1),he(Ife),he(Ol),he(fl))},n.\u0275dir=_n({type:n,features:[Kn]}),n})(),t2=(()=>{class n extends Rfe{constructor(){super(...arguments),this.inputs=Ofe}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","fxFlexOffset",""],["","fxFlexOffset.xs",""],["","fxFlexOffset.sm",""],["","fxFlexOffset.md",""],["","fxFlexOffset.lg",""],["","fxFlexOffset.xl",""],["","fxFlexOffset.lt-sm",""],["","fxFlexOffset.lt-md",""],["","fxFlexOffset.lt-lg",""],["","fxFlexOffset.lt-xl",""],["","fxFlexOffset.gt-xs",""],["","fxFlexOffset.gt-sm",""],["","fxFlexOffset.gt-md",""],["","fxFlexOffset.gt-lg",""]],inputs:{fxFlexOffset:"fxFlexOffset","fxFlexOffset.xs":"fxFlexOffset.xs","fxFlexOffset.sm":"fxFlexOffset.sm","fxFlexOffset.md":"fxFlexOffset.md","fxFlexOffset.lg":"fxFlexOffset.lg","fxFlexOffset.xl":"fxFlexOffset.xl","fxFlexOffset.lt-sm":"fxFlexOffset.lt-sm","fxFlexOffset.lt-md":"fxFlexOffset.lt-md","fxFlexOffset.lt-lg":"fxFlexOffset.lt-lg","fxFlexOffset.lt-xl":"fxFlexOffset.lt-xl","fxFlexOffset.gt-xs":"fxFlexOffset.gt-xs","fxFlexOffset.gt-sm":"fxFlexOffset.gt-sm","fxFlexOffset.gt-md":"fxFlexOffset.gt-md","fxFlexOffset.gt-lg":"fxFlexOffset.gt-lg"},features:[Kn]}),n})();const Lfe=new Map,Pfe=new Map,Nfe=new Map,Ffe=new Map,Ufe={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let $fe=(()=>{class n extends fc{buildStyles(e){return Ufe}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275prov=un({factory:function(){return new n},token:n,providedIn:"root"}),n})(),Ap=(()=>{class n extends Il{constructor(e,r,i,o){super(e,i,r,o),this.styleCache=Gfe,this.addStyles("")}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(fl),he($fe),he(Ol))},n.\u0275dir=_n({type:n,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[Kn]}),n})();const Gfe=new Map;let Wfe=(()=>{class n extends fc{buildStyles(e,r){const i={},[o,s]=e.split(" ");switch(o){case"center":i["justify-content"]="center";break;case"space-around":i["justify-content"]="space-around";break;case"space-between":i["justify-content"]="space-between";break;case"space-evenly":i["justify-content"]="space-evenly";break;case"end":case"flex-end":i["justify-content"]="flex-end";break;default:i["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":i["align-items"]=i["align-content"]="flex-start";break;case"center":i["align-items"]=i["align-content"]="center";break;case"end":case"flex-end":i["align-items"]=i["align-content"]="flex-end";break;case"space-between":i["align-content"]="space-between",i["align-items"]="stretch";break;case"space-around":i["align-content"]="space-around",i["align-items"]="stretch";break;case"baseline":i["align-content"]="stretch",i["align-items"]="baseline";break;default:i["align-items"]=i["align-content"]="stretch"}return Ep(i,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":"stretch"===s?bv(r.layout)?null:"100%":null,"max-height":"stretch"===s&&bv(r.layout)?"100%":null})}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275prov=un({factory:function(){return new n},token:n,providedIn:"root"}),n})();const qfe=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let Yfe=(()=>{class n extends Il{constructor(e,r,i,o){super(e,i,r,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(ls(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const r=this.layout||"row",i=this.inline;"row"===r&&i?this.styleCache=Qfe:"row"!==r||i?"row-reverse"===r&&i?this.styleCache=t2e:"row-reverse"!==r||i?"column"===r&&i?this.styleCache=e2e:"column"!==r||i?"column-reverse"===r&&i?this.styleCache=n2e:"column-reverse"===r&&!i&&(this.styleCache=Jfe):this.styleCache=Xfe:this.styleCache=Zfe:this.styleCache=Kfe,this.addStyles(e,{layout:r,inline:i})}onLayoutChange(e){const r=e.value.split(" ");this.layout=r[0],this.inline=e.value.includes("inline"),Lb.find(i=>i===this.layout)||(this.layout="row"),this.triggerUpdate()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(fl),he(Wfe),he(Ol))},n.\u0275dir=_n({type:n,features:[Kn]}),n})(),ja=(()=>{class n extends Yfe{constructor(){super(...arguments),this.inputs=qfe}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm"
1:"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[Kn]}),n})();const Kfe=new Map,Xfe=new Map,Zfe=new Map,Jfe=new Map,Qfe=new Map,e2e=new Map,t2e=new Map,n2e=new Map;let LH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[JA,Hm]}),n})(),jH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[JA]}),n})(),Cde=(()=>{class n{constructor(e,r){m6(r)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,r=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:ed,useValue:Object.assign(Object.assign({},QA),e)},{provide:eM,useValue:r,multi:!0},{provide:M6,useValue:!0}]:[{provide:ed,useValue:Object.assign(Object.assign({},QA),e)},{provide:eM,useValue:r,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(qt(M6),qt(o1))},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[LH,TH,jH,LH,TH,jH]}),n})();function Sde(n,t){if(1&n&&ar(0,"mat-pseudo-checkbox",4),2&n){const e=xr();Dt("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Ede(n,t){if(1&n&&(Te(0,"span",5),pt(1),Re()),2&n){const e=xr();ct(1),ns("(",e.group.label,")")}}const Ade=["*"];let Mde=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),Dde=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const Tde=new or("mat-sanity-checks",{providedIn:"root",factory:function kde(){return!0}});let jo=(()=>{class n{constructor(e,r,i){this._sanityChecks=r,this._document=i,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!sA()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(qt(TB),qt(Tde,8),qt(Ki))},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Hm,Hm]}),n})();function r0(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=eo(t)}}}function o0(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const r=e||this.defaultColor;r!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),r&&this._elementRef.nativeElement.classList.add(`mat-${r}`),this._color=r)}}}function Zm(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=eo(t)}}}function Jm(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?ul(e):this.defaultTabIndex}}}function GH(n){return class extends n{constructor(...t){super(...t),this.errorState=!1}updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}}}function WH(n){return class extends n{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new wt(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}let oM=(()=>
1{class n{isErrorState(e,r){return!!(e&&e.invalid&&(e.touched||r&&r.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Ode{constructor(t,e,r,i=!1){this._renderer=t,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qH={enterDuration:225,exitDuration:150},sM=$d({passive:!0}),YH=["mousedown","touchstart"],KH=["mouseup","mouseleave","touchend","touchcancel"];class Lde{constructor(t,e,r,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=$l(r))}fadeInRipple(t,e,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...qH,...r.animation};r.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=r.radius||function Pde(n,t,e){const r=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),i=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(r*r+i*i)}(t,e,i),a=t-i.left,l=e-i.top,u=o.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=a-s+"px",f.style.top=l-s+"px",f.style.height=2*s+"px",f.style.width=2*s+"px",null!=r.color&&(f.style.backgroundColor=r.color),f.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(f);const h=window.getComputedStyle(f),m=h.transitionDuration,x="none"===h.transitionProperty||"0s"===m||"0s, 0s"===m,p=new Ode(this,f,r,x);f.style.transform="scale3d(1, 1, 1)",p.state=0,r.persistent||(this._mostRecentTransientRipple=p);let P=null;return!x&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const T=()=>this._finishRippleTransition(p),H=()=>this._destroyRipple(p);f.addEventListener("transitionend",T),f.addEventListener("transitioncancel",H),P={onTransitionEnd:T,onTransitionCancel:H}}),this._activeRipples.set(p,P),(x||!u)&&this._finishRippleTransition(p),p}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,r={...qH,...t.config.animation};e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=$l(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(YH))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(KH),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=1,!r&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){var e;const r=null!==(e=this._activeRipples.get(t))&&void 0!==e?e:null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==r&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=pA(t),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!r&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!mA(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let r=0;r<e.length;r++)this.fadeInRipple(e[r].clientX,e[r].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>
1{t.forEach(e=>{this._triggerElement.addEventListener(e,this,sM)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(YH.forEach(t=>{this._triggerElement.removeEventListener(t,this,sM)}),this._pointerUpEventsRegistered&&KH.forEach(t=>{this._triggerElement.removeEventListener(t,this,sM)}))}}const Nde=new or("mat-ripple-global-options");let D6=(()=>{class n{constructor(e,r,i,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Lde(this,r,e,i)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,r=0,i){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,r,{...this.rippleConfig,...i}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Qi),he(cc),he(Nde,8),he(Cu,8))},n.\u0275dir=_n({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,r){2&e&&Rs("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),Qm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[jo,jo]}),n})(),Fde=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(he(Cu,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,r){2&e&&Rs("mat-pseudo-checkbox-indeterminate","indeterminate"===r.state)("mat-pseudo-checkbox-checked","checked"===r.state)("mat-pseudo-checkbox-disabled",r.disabled)("_mat-animation-noopable","NoopAnimations"===r._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,r){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),n})(),zde=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[jo]}),n})();const aM=new or("MAT_OPTION_PARENT_COMPONENT"),lM=new or("MatOptgroup");let Bde=0;class XH{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let Vde=(()=>{class n{constructor(e,r,i,o){this._element=e,this._changeDetectorRef=r,this._parent=i,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Bde++,this.onSelectionChange=new zi,this._stateChanges=new nt}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=eo(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,r){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Qf(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}
1_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new XH(this,e))}}return n.\u0275fac=function(e){$2()},n.\u0275dir=_n({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),xv=(()=>{class n extends Vde{constructor(e,r,i,o){super(e,r,i,o)}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Cl),he(aM,8),he(lM,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,r){1&e&&pr("click",function(){return r._selectViaInteraction()})("keydown",function(o){return r._handleKeydown(o)}),2&e&&(Wf("id",r.id),ro("tabindex",r._getTabIndex())("aria-selected",r._getAriaSelected())("aria-disabled",r.disabled.toString()),Rs("mat-selected",r.selected)("mat-option-multiple",r.multiple)("mat-active",r.active)("mat-option-disabled",r.disabled))},exportAs:["matOption"],features:[Kn],ngContentSelectors:Ade,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,r){1&e&&(wu(),Ln(0,Sde,1,2,"mat-pseudo-checkbox",0),Te(1,"span",1),ba(2),Re(),Ln(3,Ede,2,1,"span",2),ar(4,"div",3)),2&e&&(Dt("ngIf",r.multiple),ct(3),Dt("ngIf",r.group&&r.group._inert),ct(1),Dt("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[D6,jl,Fde],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),n})();function cM(n,t,e){if(e.length){let r=t.toArray(),i=e.toArray(),o=0;for(let s=0;s<n+1;s++)r[s].group&&r[s].group===i[o]&&o++;return o}return 0}function ZH(n,t,e,r){return n<e?n:n+t>e+r?Math.max(0,n-r+t):e}let Nb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Qm,Kf,jo,zde]}),n})();function eg(n){return new wt(t=>{Ms(n()).subscribe(t)})}class uM{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Fb extends uM{constructor(t,e,r,i){super(),this.component=t,this.viewContainerRef
1=e,this.injector=r,this.componentFactoryResolver=i}}class zb extends uM{constructor(t,e,r,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Hde extends uM{constructor(t){super(),this.element=t instanceof Jr?t.nativeElement:t}}class fM{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Fb?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof zb?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Hde?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class jde extends fM{constructor(t,e,r,i,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=r.create(t.injector||this._defaultInjector||Dc.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let e=t.viewContainerRef,r=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(r);-1!==i&&e.remove(i)}),this._attachedPortal=t,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let dM=(()=>{class n extends fM{constructor(e,r,i){super(),this._componentFactoryResolver=e,this._viewContainerRef=r,this._isInitialized=!1,this.attached=new zi,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=i}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const r=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=r.createComponent(o,r.length,e.injector||r.injector);return r!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;
1return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(he(o6),he(wl),he(Ki))},n.\u0275dir=_n({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Kn]}),n})(),Bb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();function JH(n,t=!1){return Bn((e,r)=>{let i=0;e.subscribe(Jn(r,o=>{const s=n(o,i++);(s||t)&&r.next(o),!s&&r.complete()}))})}const QH=qle();class Ude{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ic(-this._previousScrollPosition.left),t.style.top=Ic(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.style,i=this._document.body.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),QH&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),QH&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}}class $de{constructor(t,e,r,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ej{enable(){}disable(){}attach(){}}function hM(n,t){return t.some(e=>n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right)}function tj(n,t){return t.some(e=>n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right)}class Gde{constructor(t,e,r,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();hM(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Wde=(()=>{class n{constructor(e,r,i,o){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new ej,this.close=s=>new $de(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Ude(this._viewportRuler,this._document),this.reposition=s=>new Gde(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(qt(aB),qt(_6),qt(Qi),qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Vb{constructor(t){if(this.scrollStrategy=new ej,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const r of e)void 0!==t[r]&&(this[r]=t[r])}}}class qde{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let nj=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}
1ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Yde=(()=>{class n extends nj{constructor(e,r){super(e),this._ngZone=r,this._keydownListener=i=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(i)):a.next(i);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki),qt(Qi,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Kde=(()=>{class n extends nj{constructor(e,r,i){super(e),this._platform=r,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Jf(o)},this._clickListener=o=>{const s=Jf(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){const f=l[u];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(f.overlayElement.contains(s)||f.overlayElement.contains(a))break;const h=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o)}}}add(e){if(super.add(e),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki),qt(cc),qt(Qi,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hb=(()=>{class n{constructor(e,r){this._platform=r,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||sA()){const i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}const r=this._document.createElement("div");r.classList.add(e),sA()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki),qt(cc))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class wv{constructor(t,e,r,i,o,s,a,l,u,f=!1){this._portalOutlet=t,this._host=e,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=f,this._backdropElement=null,this._backdropClick=new nt,this._attachments=new nt,this._detachments=new nt,this._locationChanges=F.EMPTY,this._backdropClickHandler=h=>this._backdropClick.next(h),this._backdropTransitionendHandler=h=>{this._disposeBackdrop(h.target)}
1,this._keydownEvents=new nt,this._outsidePointerEvents=new nt,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Va(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var t;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(t=this._host)||void 0===t||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ic(this._config.width),t.height=Ic(this._config.height),t.minWidth=Ic(this._config.minWidth),t.minHeight=Ic(this._config.minHeight),t.maxWidth=Ic(this._config.maxWidth),t.maxHeight=Ic(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,r){const i=J9(e||[]).filter(o=>!!o);i.length&&(r?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ls(Ui(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const rj="cdk-overlay-connected-position-bounding-box",Xde=/([A-Za-z%]+)$/;
vendor: 8,586 bytes, line 1
1class Zde{constructor(t,e,r,i,o){this._viewportRuler=e,this._document=r,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new nt,this._resizeSubscription=F.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(rj),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,i,a),u=this._getOverlayPoint(l,e,a),f=this._getOverlayFit(u,e,r,a);if(f.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(f,u,r)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<f.visibleArea)&&(s={overlayFit:f,overlayPoint:u,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(const u of o){const f=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);f>l&&(l=f,a=u)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&k6(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(rj),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,r){let i,o;if("center"==r.originX)i=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i="start"==r.originX?s:a}return e.left<0&&(i-=e.left),o="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:i,y:o}}_getOverlayPoint(t,e,r){let i,o;return i="center"==r.overlayX?-e.width/2:"start"===r.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==r.overlayY?-e.height/2:"top"==r.overlayY?0:-e.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,e,r,i){const o=oj(e);let{x:s,y:a}=t,l=this._getOffset(i,"x"),u=this._getOffset(i,"y");l&&(s+=l),u&&(a+=u);let v=0-a,m=a+o.height-r.height,x=this._subtractOverflows(o.width,0-s,s+o.width-r.width),p=this._subtractOverflows(o.height,v,m),P=x*p;return{visibleArea:P,isCompletelyWithinViewport:o.width*o.height===P,fitsInViewportVertically:p===o.height,fitsInViewportHorizontally:x==o.width}}_canFitWithFlexibleDimensions(t,e,r){if(this._hasFlexibleDimensions){const i=r.bottom-e.y,o=r.right-e.x,s=ij(this._overlayRef.getConfig().minHeight),a=ij(this._overlayRef.getConfig().minWidth),u=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=i)&&u}return!1}_pushOverlayOnScreen(t,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=oj(e),o=this._viewportRect,s=Math.max(t.x+i.width-o.width,0),a=Math.max(t.y+i.height-o.height,0),l=Math.max(o.top-r.top-t.y,0),u=Math.max(o.left-r.left-t.x,0);let f=0,h=0;return f=i.width<=o.width?u||-s:t.x<this._viewportMargin?o.left-r.left-t.x:0,h=i.height<=o.height?l||-a:t.y<this._viewportMargin?o.top-r.top-t.y:0,this._previousPushAmount={x:f,y:h},{x:t.x+f,y:t.y+h}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const r=this._getScrollVisibility(),i=new qde(t,r);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let r,i=t.overlayY;r="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(t,e){const r=this._viewportRect,i=this._isRtl();let o,s,a,f,h,v;if("top"===e.overlayY)s=t.y,o=r.height-s+this._viewportMargin;else if("bottom"===e.overlayY)a=r.height-t.y+2*this._viewportMargin,o=r.height-a+this._viewportMargin;else{const m=Math.min(r.bottom-t.y+r.top,t.y),x=this._lastBoundingBoxSize.height;o=2*m,s=t.y-m,o>x&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-x/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)v=r.width-t.x+this._viewportMargin,f=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)h=t.x,f=r.right-t.x;else{const m=Math.min(r.right-t.x+r.left,t.x),x=this._lastBoundingBoxSize.width;f=2*m,h=t.x-m,f>x&&!this._isInitialRender&&!this._growAfterOpen&&(h=t.x-x/2)}return{top:s,left:h,bottom:a,right:v,width:f,height:o}}_setBoundingBoxStyles(t,e){const r=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=Ic(r.height),i.top=Ic(r.top),i.bottom=Ic(r.bottom),i.width=Ic(r.width),i.left=Ic(r.left),i.right=Ic(r.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=Ic(o)),s&&(i.maxWidth=Ic(s))}this._lastBoundingBoxSize=r,k6(this._boundingBox.style,i)}_resetBoundingBoxStyles(){k6(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){k6(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const f=this._viewportRuler.getViewportScrollPosition();
1k6(r,this._getExactOverlayY(e,t,f)),k6(r,this._getExactOverlayX(e,t,f))}else r.position="static";let a="",l=this._getOffset(e,"x"),u=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),u&&(a+=`translateY(${u}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=Ic(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=Ic(s.maxWidth):o&&(r.maxWidth="")),k6(this._pane.style,r)}_getExactOverlayY(t,e,r){let i={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=Ic(o.y),i}_getExactOverlayX(t,e,r){let s,i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=Ic(o.x),i}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:tj(t,r),isOriginOutsideView:hM(t,r),isOverlayClipped:tj(e,r),isOverlayOutsideView:hM(e,r)}}_subtractOverflows(t,...e){return e.reduce((r,i)=>r-Math.max(i,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&J9(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Jr)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+e,height:r,width:e}}}function k6(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function ij(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(Xde);return e&&"px"!==e?null:parseFloat(t)}return n||null}function oj(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const sj="cdk-global-overlay-wrapper";class Jde{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(sj),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}
1apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),u=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),f=this._xPosition,h=this._xOffset,v="rtl"===this._overlayRef.getConfig().direction;let m="",x="",p="";l?p="flex-start":"center"===f?(p="center",v?x=h:m=h):v?"left"===f||"end"===f?(p="flex-end",m=h):("right"===f||"start"===f)&&(p="flex-start",x=h):"left"===f||"start"===f?(p="flex-start",m=h):("right"===f||"end"===f)&&(p="flex-end",x=h),t.position=this._cssPosition,t.marginLeft=l?"0":m,t.marginTop=u?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":x,e.justifyContent=p,e.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(sj),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Qde=(()=>{class n{constructor(e,r,i,o){this._viewportRuler=e,this._document=r,this._platform=i,this._overlayContainer=o}global(){return new Jde}flexibleConnectedTo(e){return new Zde(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(qt(_6),qt(Ki),qt(cc),qt(Hb))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ehe=0,df=(()=>{class n{constructor(e,r,i,o,s,a,l,u,f,h,v,m){this.scrollStrategies=e,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=u,this._directionality=f,this._location=h,this._outsideClickDispatcher=v,this._animationsModuleType=m}create(e){const r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),s=new Vb(e);return s.direction=s.direction||this._directionality.value,new wv(o,r,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const r=this._document.createElement("div");return r.id="cdk-overlay-"+ehe++,r.classList.add("cdk-overlay-pane"),e.appendChild(r),r}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Nm)),new jde(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(qt(Wde),qt(Hb),qt(o6),qt(Qde),qt(Yde),qt(Dc),qt(Qi),qt(Ki),qt(R1),qt(V8),qt(Kde),qt(Cu,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();const the=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],aj=new or("cdk-connected-overlay-scroll-strategy");let lj=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(he(Jr))},n.\u0275dir=_n({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),cj=(()=>{class n{constructor(e,r,i,o,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=F.EMPTY,this._attachSubscription=F.EMPTY,this._detachSubscription=F.EMPTY,this._positionSubscription=F.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new zi,this.positionChange=new zi,this.attach=new zi,this.detach=new zi,this.overlayKeydown=new zi,this.overlayOutsideClick=new zi,this._templatePortal=new zb(r,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=eo(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=eo(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=eo(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=eo(e)}get push(){return this._push}set push(e){this._push=eo(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=the);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!Qf(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Vb({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(e){const r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin
1instanceof lj?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(JH(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(he(df),he(sc),he(wl),he(aj),he(R1,8))},n.\u0275dir=_n({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Hs]}),n})();const rhe={provide:aj,deps:[df],useFactory:function nhe(n){return()=>n.scrollStrategies.reposition()}};let tg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[df,rhe],imports:[Hm,Bb,aA,aA]}),n})();const ihe=["connectionContainer"],ohe=["inputContainer"],she=["label"];function ahe(n,t){1&n&&(za(0),Te(1,"div",14),ar(2,"div",15)(3,"div",16)(4,"div",17),Re(),Te(5,"div",18),ar(6,"div",15)(7,"div",16)(8,"div",17),Re(),Ba())}function lhe(n,t){if(1&n){const e=ca();Te(0,"div",19),pr("cdkObserveContent",function(){return hs(e),Ss(xr().updateOutlineGap())}),ba(1,1),Re()}2&n&&Dt("cdkObserveContentDisabled","outline"!=xr().appearance)}function che(n,t){if(1&n&&(za(0),ba(1,2),Te(2,"span"),pt(3),Re(),Ba()),2&n){const e=xr(2);ct(3),oo(e._control.placeholder)}}function uhe(n,t){1&n&&ba(0,3,["*ngSwitchCase","true"])}function fhe(n,t){1&n&&(Te(0,"span",23),pt(1," *"),Re())}function dhe(n,t){if(1&n){const e=ca();Te(0,"label",20,21),pr("cdkObserveContent",function(){return hs(e),Ss(xr().updateOutlineGap())}),Ln(2,che,4,1,"ng-container",12),Ln(3,uhe,1,0,"ng-content",12),Ln(4,fhe,2,0,"span",22),Re()}if(2&n){const e=xr();Rs("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),Dt("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),ro("for",e._control.id)("aria-owns",e._control.id),ct(2),Dt("ngSwitchCase",!1),ct(1),Dt("ngSwitchCase",!0),ct(1),Dt("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function hhe(n,t){1&n&&(Te(0,"div",24),ba(1,4),Re())}function phe(n,t){if(1&n&&(Te(0,"div",25),ar(1,"span",26),Re()),2&n){const e=xr();ct(1),Rs("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function mhe(n,t){1&n&&(Te(0,"div"),ba(1,5),Re()),2&n&&Dt("@transitionMessages",xr()._subscriptAnimationState)}function ghe(n,t){if(1&n&&(Te(0,"div",30),pt(1),Re()),2&n){const e=xr(2);Dt("id",e._hintLabelId),ct(1),oo(e.hintLabel)}}function vhe(n,t){if(1&n&&(Te(0,"div",27),Ln(1,ghe,2,2,"div",28),ba(2,6),ar(3,"div",29),ba(4,7),Re()),2&n){const e=xr();Dt("@transitionMessages",e._subscriptAnimationState),ct(1),Dt("ngIf",e.hintLabel)}}const yhe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],bhe=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let _he=0;const uj=new or("MatError");let Cv=(()=>{class n{constructor(e,r){this.id="mat-error-"+_he++,e||r.nativeElement.setAttribute("aria-live","polite")}}
1return n.\u0275fac=function(e){return new(e||n)(Xa("aria-live"),he(Jr))},n.\u0275dir=_n({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,r){2&e&&ro("id",r.id)},inputs:{id:"id"},features:[Vi([{provide:uj,useExisting:n}])]}),n})();const xhe={transitionMessages:cf("transitionMessages",[Ul("enter",rs({opacity:1,transform:"translateY(0%)"})),lc("void => enter",[rs({opacity:0,transform:"translateY(-5px)"}),Gc("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let jb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n}),n})();const whe=new or("MatHint");let Yd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["mat-label"]]}),n})(),Che=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["mat-placeholder"]]}),n})();const fj=new or("MatPrefix");let Ub=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["","matPrefix",""]],features:[Vi([{provide:fj,useExisting:n}])]}),n})();const dj=new or("MatSuffix");let Sv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["","matSuffix",""]],features:[Vi([{provide:dj,useExisting:n}])]}),n})(),hj=0;const Ehe=o0(class{constructor(n){this._elementRef=n}},"primary"),Ahe=new or("MAT_FORM_FIELD_DEFAULT_OPTIONS"),$b=new or("MatFormField");let n2=(()=>{class n extends Ehe{constructor(e,r,i,o,s,a,l){super(e),this._changeDetectorRef=r,this._dir=i,this._defaults=o,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new nt,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+hj++,this._labelId="mat-form-field-label-"+hj++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){var r;const i=this._appearance;this._appearance=e||(null===(r=this._defaults)||void 0===r?void 0:r.appearance)||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=eo(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(e2(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ls(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ls(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Ui(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(e2(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(e2(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ls(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}
1ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const r=this._control?this._control.ngControl:null;return r&&r[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,e0(this._label.nativeElement,"transitionend").pipe(Va(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];
1if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const r=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,i=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;r?e.push(r.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&e.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,r=this._connectionContainerRef.nativeElement,i=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const f=r.querySelectorAll(`${i}, ${o}`);for(let h=0;h<f.length;h++)f[h].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let s=0,a=0;const l=r.querySelectorAll(i),u=r.querySelectorAll(o);if(this._label&&this._label.nativeElement.children.length){const f=r.getBoundingClientRect();if(0===f.width&&0===f.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const h=this._getStartEnd(f),v=e.children,m=this._getStartEnd(v[0].getBoundingClientRect());let x=0;for(let p=0;p<v.length;p++)x+=v[p].offsetWidth;s=Math.abs(m-h)-5,a=x>0?.75*x+10:0}for(let f=0;f<l.length;f++)l[f].style.width=`${s}px`;for(let f=0;f<u.length;f++)u[f].style.width=`${a}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const r=e.getRootNode();return r&&r!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Cl),he(R1,8),he(Ahe,8),he(cc),he(Qi),he(Cu,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,r,i){if(1&e&&(na(i,jb,5),na(i,jb,7),na(i,Yd,5),na(i,Yd,7),na(i,Che,5),na(i,uj,5),na(i,whe,5),na(i,fj,5),na(i,dj,5)),2&e){let o;_i(o=xi())&&(r._controlNonStatic=o.first),_i(o=xi())&&(r._controlStatic=o.first),_i(o=xi())&&(r._labelChildNonStatic=o.first),_i(o=xi())&&(r._labelChildStatic=o.first),_i(o=xi())&&(r._placeholderChild=o.first),_i(o=xi())&&(r._errorChildren=o),_i(o=xi())&&(r._hintChildren=o),_i(o=xi())&&(r._prefixChildren=o),_i(o=xi())&&(r._suffixChildren=o)}},viewQuery:function(e,r){if(1&e&&(ps(ihe,7),ps(ohe,5),ps(she,5)),2&e){let i;_i(i=xi())&&(r._connectionContainerRef=i.first),_i(i=xi())&&(r._inputContainerRef=i.first),_i(i=xi())&&(r._label=i.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,r){2&e&&Rs("mat-form-field-appearance-standard","standard"==r.appearance)("mat-form-field-appearance-fill","fill"==r.appearance)("mat-form-field-appearance-outline","outline"==r.appearance)("mat-form-field-appearance-legacy","legacy"==r.appearance)("mat-form-field-invalid",r._control.errorState)("mat-form-field-can-float",r._
1canLabelFloat())("mat-form-field-should-float",r._shouldLabelFloat())("mat-form-field-has-label",r._hasFloatingLabel())("mat-form-field-hide-placeholder",r._hideControlPlaceholder())("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-focused",r._control.focused)("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))("_mat-animation-noopable",!r._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[Vi([{provide:$b,useExisting:n}]),Kn],ngContentSelectors:bhe,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,r){1&e&&(wu(yhe),Te(0,"div",0)(1,"div",1,2),pr("click",function(o){return r._control.onContainerClick&&r._control.onContainerClick(o)}),Ln(3,ahe,9,0,"ng-container",3),Ln(4,lhe,2,1,"div",4),Te(5,"div",5,6),ba(7),Te(8,"span",7),Ln(9,dhe,5,16,"label",8),Re()(),Ln(10,hhe,2,0,"div",9),Re(),Ln(11,phe,2,4,"div",10),Te(12,"div",11),Ln(13,mhe,2,1,"div",12),Ln(14,vhe,5,2,"div",13),Re()()),2&e&&(ct(3),Dt("ngIf","outline"==r.appearance),ct(1),Dt("ngIf",r._prefixChildren.length),ct(5),Dt("ngIf",r._hasFloatingLabel()),ct(1),Dt("ngIf",r._suffixChildren.length),ct(1),Dt("ngIf","outline"!=r.appearance),ct(1),Dt("ngSwitch",r._getDisplayedMessages()),ct(1),Dt("ngSwitchCase","error"),ct(1),Dt("ngSwitchCase","hint"))},dependencies:[jl,Fm,M9,uA],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;
1left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;
1left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[xhe.transitionMessages]},changeDetection:0}),n})(),Gb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Kf,jo,ab,jo]}),n})();function mj(n){return qn(()=>n)}function gj(n,t){return t?e=>iv(t.pipe(Va(1),function Mhe(){return Bn((n,t)=>{n.subscribe(Jn(t,V))})}()),e.pipe(gj(n))):Ai((e,r)=>n(e,r).pipe(Va(1),mj(e)))}const khe=["panel"];function The(n,t){if(1&n&&(Te(0,"div",0,1),ba(2),Re()),2&n){const e=t.id,r=xr();Dt("id",r.id)("ngClass",r._classList),ro("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby(e))}}const Ihe=["*"];let Ohe=0;class Rhe{constructor(t,e){this.source=t,this.option=e}}const Lhe=Zm(class{}),vj=new or("mat-autocomplete-default-options",{providedIn:"root",factory:function Phe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let Nhe=(()=>{class n extends Lhe{constructor(e,r,i,o){super(),this._changeDetectorRef=e,this._elementRef=r,this._activeOptionChanges=F.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new zi,this.opened=new zi,this.closed=new zi,this.optionActivated=new zi,this._classList={},this.id="mat-autocomplete-"+Ohe++,this.inertGroups=o?.SAFARI||!1,this._autoActiveFirstOption=!!i.autoActiveFirstOption,this._autoSelectActiveOption=!!i.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=eo(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=eo(e)}set classList(e){this._classList=e&&e.length?function Sle(n,t=/\s+/){const e=[];
1if(null!=n){const r=Array.isArray(n)?n:`${n}`.split(t);for(const i of r){const o=`${i}`.trim();o&&e.push(o)}}return e}(e).reduce((r,i)=>(r[i]=!0,r),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new SB(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const r=new Rhe(this,e);this.optionSelected.emit(r)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return n.\u0275fac=function(e){return new(e||n)(he(Cl),he(Jr),he(vj),he(cc))},n.\u0275dir=_n({type:n,viewQuery:function(e,r){if(1&e&&(ps(sc,7),ps(khe,5)),2&e){let i;_i(i=xi())&&(r.template=i.first),_i(i=xi())&&(r.panel=i.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[Kn]}),n})(),Fhe=(()=>{class n extends Nhe{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275cmp=Ir({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,r,i){if(1&e&&(na(i,lM,5),na(i,xv,5)),2&e){let o;_i(o=xi())&&(r.optionGroups=o),_i(o=xi())&&(r.options=o)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Vi([{provide:aM,useExisting:n}]),Kn],ngContentSelectors:Ihe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,r){1&e&&(wu(),Ln(0,The,3,4,"ng-template"))},dependencies:[mp],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),n})();const yj=new or("mat-autocomplete-scroll-strategy"),Bhe={provide:yj,deps:[df],useFactory:function zhe(n){return()=>n.scrollStrategies.reposition()}},Vhe={provide:s1,useExisting:No(()=>bj),multi:!0};let Hhe=(()=>{class n{constructor(e,r,i,o,s,a,l,u,f,h,v){this._element=e,this._overlay=r,this._viewContainerRef=i,this._zone=o,this._changeDetectorRef=s,this._dir=l,this._formField=u,this._document=f,this._viewportRuler=h,this._defaults=v,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=F.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new nt,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=eg(()=>{const m=this.autocomplete?this.autocomplete.options:null;return m?m.changes.pipe(e2(m),uc(()=>Ui(...m.map(x=>x.onSelectionChange)))):this._zone.onStable.pipe(Va(1),uc(()=>this.optionSelections))}),this._scrollStrategy=a}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=eo(e)}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}
1openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ui(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Qa(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Qa(()=>this._overlayAttached)):Di()).pipe(qn(e=>e instanceof XH?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Ui(e0(this._document,"click"),e0(this._document,"auxclick"),e0(this._document,"touchend")).pipe(Qa(e=>{const r=Jf(e),i=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&r!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!i||!i.contains(r))&&(!o||!o.contains(r))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(r)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const r=e.keyCode,i=Qf(e);if(27===r&&!i&&e.preventDefault(),this.activeOption&&13===r&&this.panelOpen&&!i)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,s=38===r||40===r;9===r||s&&!i&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this.openPanel(),(s||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let r=e.target,i=r.value;"number"===r.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._pendingAutoselectedOption=null,this._onChange(i),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const e=this._zone.onStable.pipe(Va(1)),r=this.autocomplete.options.changes.pipe(Tl(()=>this._positionStrategy.reapplyLastPosition()),function Dhe(n,t=ev){const e=tA(n,t);return gj(()=>e)}(0));return Ui(e,r).pipe(uc(()=>(this._zone.run(()=>{const i=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),i!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),Va(1)).subscribe(i=>this._setValueAndClose(i))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const r=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(r??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}
1_setValueAndClose(e){const r=e?e.source:this._pendingAutoselectedOption;r&&(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),this.autocomplete._emitSelectEvent(r),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(r=>{r!==e&&r.selected&&r.deselect()})}_attachOverlay(){let e=this._overlayRef;var r;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new zb(this.autocomplete.template,this._viewContainerRef,{id:null===(r=this._formField)||void 0===r?void 0:r.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new Vb({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const r=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];let s;s="above"===this.position?o:"below"===this.position?r:[...r,...o],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}_scrollToOption(e){const r=this.autocomplete,i=cM(e,r.options,r.optionGroups);if(0===e&&1===i)r._setScrollTop(0);else if(r.panel){const o=r.options.toArray()[e];if(o){const s=o._getHostElement(),a=ZH(s.offsetTop,s.offsetHeight,r._getScrollTop(),r.panel.nativeElement.offsetHeight);r._setScrollTop(a)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(r=>{var i;(27===r.keyCode&&!Qf(r)||38===r.keyCode&&Qf(r,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(null!==(i=this._valueBeforeAutoSelection)&&void 0!==i?i:""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),r.stopPropagation(),r.preventDefault())}),e.outsidePointerEvents().subscribe()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(df),he(wl),he(Qi),he(Cl),he(yj),he(R1,8),he($b,9),he(Ki,8),he(_6),he(vj,8))},n.\u0275dir=_n({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Hs]}),n})(),bj=(()=>{class n extends Hhe{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,r){1&e&&pr("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(o){return r._handleInput(o)})("keydown",function(o){return r._handleKeydown(o)})("click",function(){return r._handleClick()}),2&e&&ro("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-owns",r.autocompleteDisabled||!r.panelOpen||null==r.autocomplete?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Vi([Vhe]),Kn]}),n})(),jhe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[Bhe],imports:[tg,Nb,jo,Kf,x6,Nb,jo]}),n})(),Uhe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[vA,jo,jo]}),n})();const $he=["mat-button",""],Ghe=["*"],qhe=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Yhe=o0(r0(Zm(class{constructor(n){this._elementRef=n}})));let dc=(()=>{class n extends Yhe{constructor(e,r,i){super(e),this._focusMonitor=r,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of qhe)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,r){e?this._focusMonitor.focusVia(this._getHostElement(),e,r):this._getHostElement().focus(r)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(r=>this._getHostElement().hasAttribute(r))}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Gd),he(Cu,8))},n.\u0275cmp=Ir({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,r){if(1&e&&ps(D6,5),2&e){let i;_i(i=xi())&&(r.ripple=i.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,r){2&e&&(ro("disabled",r.disabled||null),Rs("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-button-disabled",r.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Kn],attrs:$he,ngContentSelectors:Ghe,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,r){1&e&&(wu(),Te(0,"span",0),ba(1),Re(),ar(2,"span",1)(3,"span",2)),2&e&&(ct(2),Rs("mat-button-ripple-round",r.isRoundButton||r.isIconButton),Dt("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",r.isIconButton)("matRippleTrigger",r._getHostElement()))},dependencies:[D6],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}
1.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),_j=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Qm,jo,jo]}),n})();const Khe=["*",[["mat-card-footer"]]],Xhe=["*","mat-card-footer"];let ng=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),rg=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(he(Cu,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,r){2&e&&Rs("_mat-animation-noopable","NoopAnimations"===r._animationMode)},exportAs:["matCard"],ngContentSelectors:Xhe,decls:2,vars:0,template:function(e,r){1&e&&(wu(Khe),ba(0),ba(1,1))}
1,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}
1.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),n})(),Zhe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[jo,jo]}),n})();const Jhe=["input"],Qhe=["label"],e0e=function(n){return{enterDuration:n}},t0e=["*"],n0e=new or("mat-checkbox-default-options",{providedIn:"root",factory:xj});function xj(){return{color:"accent",clickAction:"check-indeterminate"}}let r0e=0;const wj=xj(),i0e={provide:s1,useExisting:No(()=>Ev),multi:!0};class o0e{}const s0e=Jm(o0(Zm(r0(class{constructor(n){this._elementRef=n}}))));let a0e=(()=>{class n extends s0e{constructor(e,r,i,o,s,a,l){super(r),this._changeDetectorRef=i,this._ngZone=o,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new zi,this.indeterminateChange=new zi,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||wj,this.color=this.defaultColor=this._options.color||wj.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`${e}${++r0e}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=eo(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const r=eo(e);r!=this.checked&&(this._checked=r,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const r=eo(e);r!==this.disabled&&(this._disabled=r,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const r=e!=this._indeterminate;this._indeterminate=eo(e),r&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let r=this._currentCheckState,i=this._getAnimationTargetElement();if(r!==e&&i&&(this._currentAnimationClass&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(r,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var e;const r=null===(e=this._options)||void 0===e?void 0:e.clickAction;this.disabled||"noop"===r?!this.disabled&&"noop"===r&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==r&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,r){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===r)return this._animationClasses.uncheckedToChecked;if(3==r)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===r?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===r?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===r?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const r=this._inputElement;r&&(r.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){$2()},n.\u0275dir=_n({type:n,viewQuery:function(e,r){if(1&e&&(ps(Jhe,5),ps(Qhe,5),ps(D6,5)),2&e){let i;_i(i=xi())&&(r._inputElement=i.first),_i(i=xi())&&(r._labelElement=i.first),_i(i=xi())&&(r.ripple=i.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[Kn]}),n})(),Ev=(()=>{class n extends a0e{constructor(e,r,i,o,s,a,l){super("mat-checkbox-",e,r,o,s,a,l),this._focusMonitor=i,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const r=new o0e;return r.source=this,r.checked=e,r}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,r){e?this._focusMonitor.focusVia(this._inputElement,e,r):this._inputElement.nativeElement.focus(r)}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Cl),he(Gd),he(Qi),Xa("tabindex"),he(Cu,8),he(n0e,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,r){2&e&&(Wf("id",r.id),ro("tabindex",null)("aria-label",null)("aria-labelledby",null),Rs("mat-checkbox-indeterminate",r.indeterminate)("mat-checkbox-checked",r.checked)("mat-checkbox-disabled",r.disabled)("mat-checkbox-label-before","before"==r.labelPosition)("_mat-animation-noopable","NoopAnimations"===r._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Vi([i0e]),Kn],ngContentSelectors:t0e,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,r){if(1&e&&(wu(),Te(0,"label",0,1)(2,"span",2)(3,"input",3,4),pr("change",function(o){return r._onInteractionEvent(o)})("click",function(o){return r._onInputClick(o)}),Re(),Te(5,"span",5),ar(6,"span",6),Re(),ar(7,"span",7),Te(8,"span",8),Qu(),Te(9,"svg",9),ar(10,"path",10),Re(),$0(),ar(11,"span",11),Re()(),Te(12,"span",12,13),pr("cdkObserveContent",function(){return r._onLabelTextChange()}),Te(14,"span",14),pt(15,"\xa0"),Re(),ba(16),Re()()),2&e){const i=Da(1),o=Da(13);ro("for",r.inputId),ct(2),Rs("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),ct(1),Dt("id",r.inputId)("required",r.required)("checked",r.checked)("disabled",r.disabled)("tabIndex",r.tabIndex),ro("value",r.value)("name",r.name)("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-checked",r._getAriaChecked())("aria-describedby",r.ariaDescribedby),ct(2),Dt("matRippleTrigger",i)("matRippleDisabled",r._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Hu(19,e0e,"NoopAnimations"===r._animationMode?0:150))}},dependencies:[D6,uA],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}
150%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;
1transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),Cj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})(),u0e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Qm,jo,ab,Cj,jo,Cj]}),n})(),T6=(()=>{class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=eo(e)}get inset(){return this._inset}set inset(e){this._inset=eo(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ir({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,r){2&e&&(ro("aria-orientation",r.vertical?"vertical":"horizontal"),Rs("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,r){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),n})(),f0e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[jo,jo]}),n})();function ig(n,t){const e=C(n)?n:()=>n,r=i=>i.error(e());return new wt(t?i=>t.schedule(r,0,i):r)}function r2(n){return Bn((t,e)=>{let o,r=null,i=!1;r=t.subscribe(Jn(e,void 0,void 0,s=>
vendor: 9,108 bytes, line 1
1{o=Ms(n(s,r2(n)(t))),r?(r.unsubscribe(),r=null,o.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(e))})}function Wb(n){return Bn((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}const d0e=["*"];let qb;function Av(n){var t;return(null===(t=function h0e(){if(void 0===qb&&(qb=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(qb=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return qb}())||void 0===t?void 0:t.createHTML(n))||n}function Sj(n){return Error(`Unable to find icon with the name "${n}"`)}function Ej(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Aj(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class I6{constructor(t,e,r){this.url=t,this.svgText=e,this.options=r}}let Yb=(()=>{class n{constructor(e,r,i,o){this._httpClient=e,this._sanitizer=r,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=i}addSvgIcon(e,r,i){return this.addSvgIconInNamespace("",e,r,i)}addSvgIconLiteral(e,r,i){return this.addSvgIconLiteralInNamespace("",e,r,i)}addSvgIconInNamespace(e,r,i,o){return this._addSvgIconConfig(e,r,new I6(i,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,r,i,o){const s=this._sanitizer.sanitize(Fs.HTML,i);if(!s)throw Aj(i);const a=Av(s);return this._addSvgIconConfig(e,r,new I6("",a,o))}addSvgIconSet(e,r){return this.addSvgIconSetInNamespace("",e,r)}addSvgIconSetLiteral(e,r){return this.addSvgIconSetLiteralInNamespace("",e,r)}addSvgIconSetInNamespace(e,r,i){return this._addSvgIconSetConfig(e,new I6(r,null,i))}addSvgIconSetLiteralInNamespace(e,r,i){const o=this._sanitizer.sanitize(Fs.HTML,r);if(!o)throw Aj(r);const s=Av(o);return this._addSvgIconSetConfig(e,new I6("",s,i))}registerFontClassAlias(e,r=e){return this._fontCssClassesByAlias.set(e,r),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const r=this._sanitizer.sanitize(Fs.RESOURCE_URL,e);if(!r)throw Ej(e);const i=this._cachedIconsByUrl.get(r);return i?Di(Kb(i)):this._loadSvgIconFromConfig(new I6(e,null)).pipe(Tl(o=>this._cachedIconsByUrl.set(r,o)),qn(o=>Kb(o)))}getNamedSvgIcon(e,r=""){const i=Mj(r,e);let o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,e),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(e,s):ig(Sj(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Di(Kb(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(qn(r=>Kb(r)))}_getSvgFromIconSetConfigs(e,r){const i=this._extractIconWithNameFromAnySet(e,r);return i?Di(i):RA(r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(r2(a=>{const u=`Loading icon set URL: ${this._sanitizer.sanitize(Fs.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(u)),Di(null)})))).pipe(qn(()=>{const s=this._extractIconWithNameFromAnySet(e,r);if(!s)throw Sj(e);return s}))}_extractIconWithNameFromAnySet(e,r){for(let i=r.length-1;i>=0;i--){const o=r[i];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Tl(r=>e.svgText=r),qn(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Di(null):this._fetchIcon(e).pipe(Tl(r=>e.svgText=r))}_extractSvgIconFromSet(e,r,i){const o=e.querySelector(`[id="${r}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const a=this._svgElementFromString(Av("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,i)}_svgElementFromString(e){const r=this._document.createElement("DIV");r.innerHTML=e;const i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(e){const r=this._svgElementFromString(Av("<svg></svg>")),i=e.attributes;for(let o=0;o<i.length;o++){const{name:s,value:a}=i[o];"id"!==s&&r.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(e.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(e,r){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),r&&r.viewBox&&e.setAttribute("viewBox",r.viewBox),e}_fetchIcon(e){var r;const{url:i,options:o}=e,s=null!==(r=o?.withCredentials)&&void 0!==r&&r;if(!this._httpClient)throw function p0e(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const a=this._sanitizer.sanitize(Fs.RESOURCE_URL,i);if(!a)throw Ej(i);const l=this._inProgressUrlFetches.get(a);if(l)return l;const u=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(qn(f=>Av(f)),Wb(()=>this._inProgressUrlFetches.delete(a)),Os());return this._inProgressUrlFetches.set(a,u),u}_addSvgIconConfig(e,r,i){return this._svgIconConfigs.set(Mj(e,r),i),this}_addSvgIconSetConfig(e,r){const i=this._iconSetConfigs.get(e);return i?i.push(r):this._iconSetConfigs.set(e,[r]),this}_svgElementFromConfig(e){if(!e.svgElement){const r=this._svgElementFromString(e.svgText);this._setSvgAttributes(r,e.options),e.svgElement=r}return e.svgElement}_getIconConfigFromResolvers(e,r){for(let i=0;i<this._resolvers.length;i++){const o=this._resolvers[i](r,e);if(o)return g0e(o)?new I6(o.url,null,o.options):new I6(o,null)}}}return n.\u0275fac=function(e){return new(e||n)(qt(L1,8),qt(vp),qt(Ki,8),qt($h))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Kb(n){return n.cloneNode(!0)}function Mj(n,t){return n+":"+t}function g0e(n){return!(!n.url||!n.options)}const v0e=o0(class{constructor(n){this._elementRef=n}}),y0e=new or("MAT_ICON_DEFAULT_OPTIONS"),b0e=new or("mat-icon-location",{providedIn:"root",factory:function _0e(){const n=la(Ki),t=n?n.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),Dj=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],x0e=Dj.map(n=>`[${n}]`).join(", "),w0e=/^url\(['"]?#(.*?)['"]?\)$/;let Uu=(()=>{class n extends v0e{constructor(e,r,i,o,s,a){super(e),this._iconRegistry=r,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=F.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),i||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=eo(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const r=this._cleanupFontValue(e);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const r=this._cleanupFontValue(e);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const r=e.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let r=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const i=e.childNodes[r];(1!==i.nodeType||"svg"===i.nodeName.toLowerCase())&&i.remove()}}
1_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>e.classList.remove(i)),r.forEach(i=>e.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const r=e.querySelectorAll(x0e),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)Dj.forEach(s=>{const a=r[o],l=a.getAttribute(s),u=l?l.match(w0e):null;if(u){let f=i.get(a);f||(f=[],i.set(a,f)),f.push({name:s,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[r,i]=this._splitIconName(e);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(Va(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${r}:${i}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Yb),Xa("aria-hidden"),he(b0e),he($h),he(y0e,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,r){2&e&&(ro("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Rs("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Kn],ngContentSelectors:d0e,decls:1,vars:0,template:function(e,r){1&e&&(wu(),ba(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),C0e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[jo,jo]}),n})();const kj=$d({passive:!0});let S0e=(()=>{class n{constructor(e,r){this._platform=e,this._ngZone=r,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return fi;const r=$l(e),i=this._monitoredElements.get(r);if(i)return i.subject;const o=new nt,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||r.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&r.classList.contains(s)&&(r.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(r.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{r.addEventListener("animationstart",a,kj),r.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(r,{subject:o,unlisten:()=>{r.removeEventListener("animationstart",a,kj)}}),o}stopMonitoring(e){const r=$l(e),i=this._monitoredElements.get(r);i&&(i.unlisten(),i.subject.complete(),r.classList.remove("cdk-text-field-autofill-monitored"),r.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(r))}
1ngOnDestroy(){this._monitoredElements.forEach((e,r)=>this.stopMonitoring(r))}}return n.\u0275fac=function(e){return new(e||n)(qt(cc),qt(Qi))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),E0e=(()=>{class n{constructor(e,r,i,o){this._elementRef=e,this._platform=r,this._ngZone=i,this._destroyed=new nt,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=s=>{this._hasFocus="focus"===s.type},this._document=o,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=ul(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=ul(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=eo(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{e0(this._getWindow(),"resize").pipe(nA(16),ls(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,r=e.style.marginBottom||"",i=this._platform.FIREFOX,o=i&&this._hasFocus,s=i?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";o&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(s);const a=e.scrollHeight-4;return e.classList.remove(s),o&&(e.style.marginBottom=r),a}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const r=this._elementRef.nativeElement,i=r.value;if(!e&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const o=this._measureScrollHeight(),s=Math.max(o,this._cachedPlaceholderHeight||0);r.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(r)):setTimeout(()=>this._scrollToCaretPosition(r))}),this._previousValue=i,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:r,selectionEnd:i}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(r,i)}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(cc),he(Qi),he(Ki,8))},n.\u0275dir=_n({type:n,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,r){1&e&&pr("input",function(){return r._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),n})(),Tj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();const A0e=new or("MAT_INPUT_VALUE_ACCESSOR"),M0e=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let D0e=0;const k0e=GH(class{constructor(n,t,e,r){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=r,this.stateChanges=new nt}});let td=(()=>{class n extends k0e{constructor(e,r,i,o,s,a,l,u,f,h){super(a,o,s,i),this._elementRef=e,this._platform=r,this._autofillMonitor=u,this._formField=h,this._uid="mat-input-"+D0e++,this.focused=!1,this.stateChanges=new nt,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(x=>sB().has(x)),this._iOSKeyupListener=x=>{const p=x.target;!p.value&&0===p.selectionStart&&0===p.selectionEnd&&(p.setSelectionRange(1,1),p.setSelectionRange(0,0))};const v=this._elementRef.nativeElement,m=v.nodeName.toLowerCase();this._inputValueAccessor=l||v,this._previousNativeValue=this.value,this.id=this.id,r.IOS&&f.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===m,this._isTextarea="textarea"===m,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=v.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=eo(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,r,i,o;return null!==(e=null!==(r=this._required)&&void 0!==r?r:null===(i=this.ngControl)||void 0===i||null===(o=i.control)||void 0===o?void 0:o.hasValidator(qc.required))&&void 0!==e&&e}set required(e){this._required=eo(e)}get type(){return this._type}
1set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&sB().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=eo(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e;const r=this._formField,i=!r||"legacy"!==r.appearance||null!==(e=r._hasLabel)&&void 0!==e&&e.call(r)?this.placeholder:null;if(i!==this._previousPlaceholder){const o=this._elementRef.nativeElement;this._previousPlaceholder=i,i?o.setAttribute("placeholder",i):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){M0e.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,r=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&r&&r.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(cc),he(Wd,10),he(hv,8),he(Q2,8),he(oM),he(A0e,10),he(S0e),he(Qi),he($b,8))},n.\u0275dir=_n({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,r){1&e&&pr("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),2&e&&(Wf("disabled",r.disabled)("required",r.required),ro("id",r.id)("data-placeholder",r.placeholder)("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required),Rs("mat-input-server",r._isServer)("mat-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Vi([{provide:jb,useExisting:n}]),Kn,Hs]}),n})(),T0e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[oM],imports:[Tj,Gb,jo,Tj,Gb]}),n})();function pM(){return Bn((n,t)=>{let e=null;n._refCount++;const r=Jn(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const i=n._connection,o=e;e=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});n.subscribe(r),r.closed||(e=n.connect())})}class mM extends wt{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,kn(t)&&(this.lift=t.lift)}
1_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new F;const e=this.getSubject();t.add(this.source.subscribe(Jn(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=F.EMPTY)}return t}refCount(){return pM()(this)}}class Ij{}function Xb(n){return n&&"function"==typeof n.connect&&!(n instanceof mM)}class Oj{applyChanges(t,e,r,i,o){t.forEachOperation((s,a,l)=>{let u,f;if(null==s.previousIndex){const v=r(s,a,l);u=e.createEmbeddedView(v.templateRef,v.context,v.index),f=1}else null==l?(e.remove(a),f=3):(u=e.get(a),e.move(u,l),f=2);var h;o&&o({context:null===(h=u)||void 0===h?void 0:h.context,operation:f,record:s})})}detach(){}}class gM{constructor(t=!1,e,r=!0,i){this._multiple=t,this._emitChanges=r,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new nt,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(r=>this._markSelected(r));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(r=>this._unmarkSelected(r));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,r=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!r.has(o)).forEach(o=>this._unmarkSelected(o));const i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,t))return!0;return!1}return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}const Mv=new or("_ViewRepeater"),O0e=["trigger"],R0e=["panel"];function L0e(n,t){if(1&n&&(Te(0,"span",8),pt(1),Re()),2&n){const e=xr();ct(1),oo(e.placeholder)}}function P0e(n,t){if(1&n&&(Te(0,"span",12),pt(1),Re()),2&n){const e=xr(2);ct(1),oo(e.triggerValue)}}function N0e(n,t){1&n&&ba(0,0,["*ngSwitchCase","true"])}function F0e(n,t){1&n&&(Te(0,"span",9),Ln(1,P0e,2,1,"span",10),Ln(2,N0e,1,0,"ng-content",11),Re()),2&n&&(Dt("ngSwitch",!!xr().customTrigger),ct(2),Dt("ngSwitchCase",!0))}function z0e(n,t){if(1&n){const e=ca();Te(0,"div",13)(1,"div",14,15),pr("@transformPanel.done",function(i){return hs(e),Ss(xr()._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){return hs(e),Ss(xr()._handleKeydown(i))}),ba(3,1),Re()()}if(2&n){const e=xr();Dt("@transformPanelWrap",void 0),ct(1),function yP(n,t,e){q2(_u,Vd,wm(gr(),n,t,e),!0)}("mat-select-panel ",e._getPanelTheme(),""),Vu("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),Dt("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),ro("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const B0e=[[["mat-select-trigger"]],"*"],V0e=["mat-select-trigger","*"],Lj={transformPanelWrap:cf("transformPanelWrap",[lc("* => void",P9("@transformPanel",[L9()],{optional:!0}))]),transformPanel:cf("transformPanel",[Ul("void",rs({transform:"scaleY(0.8)",minWidth:"100%",opacity:0}
1)),Ul("showing",rs({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ul("showing-multiple",rs({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),lc("void => *",Gc("120ms cubic-bezier(0, 0, 0.2, 1)")),lc("* => void",Gc("100ms 25ms linear",rs({opacity:0})))])};let Pj=0;const Fj=new or("mat-select-scroll-strategy"),$0e=new or("MAT_SELECT_CONFIG"),G0e={provide:Fj,deps:[df],useFactory:function U0e(n){return()=>n.scrollStrategies.reposition()}};class W0e{constructor(t,e){this.source=t,this.value=e}}const q0e=Zm(Jm(r0(GH(class{constructor(n,t,e,r,i){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=r,this.ngControl=i,this.stateChanges=new nt}})))),Y0e=new or("MatSelectTrigger");let K0e=(()=>{class n extends q0e{constructor(e,r,i,o,s,a,l,u,f,h,v,m,x,p){var P,T,H;super(s,o,l,u,h),this._viewportRuler=e,this._changeDetectorRef=r,this._ngZone=i,this._dir=a,this._parentFormField=f,this._liveAnnouncer=x,this._defaultOptions=p,this._panelOpen=!1,this._compareWith=(U,ee)=>U===ee,this._uid="mat-select-"+Pj++,this._triggerAriaLabelledBy=null,this._destroy=new nt,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Pj++,this._panelDoneAnimatingStream=new nt,this._overlayPanelClass=(null===(P=this._defaultOptions)||void 0===P?void 0:P.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(T=null===(H=this._defaultOptions)||void 0===H?void 0:H.disableOptionCentering)&&void 0!==T&&T,this.ariaLabel="",this.optionSelectionChanges=eg(()=>{const U=this.options;return U?U.changes.pipe(e2(U),uc(()=>Ui(...U.map(ee=>ee.onSelectionChange)))):this._ngZone.onStable.pipe(Va(1),uc(()=>this.optionSelectionChanges))}),this.openedChange=new zi,this._openedStream=this.openedChange.pipe(Qa(U=>U),qn(()=>{}
1)),this._closedStream=this.openedChange.pipe(Qa(U=>!U),qn(()=>{})),this.selectionChange=new zi,this.valueChange=new zi,this.ngControl&&(this.ngControl.valueAccessor=this),null!=p?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._scrollStrategyFactory=m,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(v)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,r,i,o;return null!==(e=null!==(r=this._required)&&void 0!==r?r:null===(i=this.ngControl)||void 0===i||null===(o=i.control)||void 0===o?void 0:o.hasValidator(qc.required))&&void 0!==e&&e}set required(e){this._required=eo(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=eo(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=eo(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=ul(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new gM(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(sb(),ls(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ls(this._destroy)).subscribe(e=>{e.added.forEach(r=>r.select()),e.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(e2(null),ls(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),r=this.ngControl;if(e!==this._triggerAriaLabelledBy){const i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(void 0!==this._previousControl&&null!==r.disabled&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,r;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(r=this._selectionModel)||void 0===r?void 0:r.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const r=e.keyCode,i=40===r||38===r||37===r||39===r,o=13===r||32===r,s=this._keyManager;if(!s.isTyping()&&o&&!Qf(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const r=this._keyManager,i=e.keyCode,o=40===i||38===i,s=r.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(s||13!==i&&32!==i||!r.activeItem||Qf(e))if(!s&&this._multiple&&65===i&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=r.activeItemIndex;r.onKeydown(e),this._multiple&&o&&e.shiftKey&&r.activeItem&&r.activeItemIndex!==a&&r.activeItem._selectViaInteraction()}else e.preventDefault(),r.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Va(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}
1_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{const r=this._selectOptionByValue(e);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const r=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return null!=i.value&&this._compareWith(i.value,e)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new SB(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(ls(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(ls(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Ui(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ls(e)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Ui(...this.options.map(r=>r._stateChanges)).pipe(ls(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,r){const i=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),r&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),r&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((r,i)=>this.sortComparator?this.sortComparator(r,i,e):e.indexOf(r)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let r=null;r=this.multiple?this.selected.map(i=>i.value):this.selected?this.selected.value:e,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const r=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(r?r+" ":"")+this.ariaLabelledby:r}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const r=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let i=(r?r+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(he(_6),he(Cl),he(Qi),he(oM),he(Jr),he(R1,8),he(hv,8),he(Q2,8),he($b,8),he(Wd,10),Xa("tabindex"),he(Fj),he($ce),he($0e,8))},n.\u0275dir=_n({type:n,viewQuery:function(e,r){if(1&e&&(ps(O0e,5),ps(R0e,5),ps(cj,5)),2&e){let i;_i(i=xi())&&(r.trigger=i.first),_i(i=xi())&&(r.panel=i.first),_i(i=xi())&&(r._overlayDir=i.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[Kn,Hs]}),n})(),zj=(()=>{class n extends K0e{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,r,i){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-r+o/2),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ls(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Va(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const r=cM(e,this.options,this.optionGroups),i=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===r?0:ZH((e+r)*i,i,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new W0e(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),r=this._viewportRuler.getViewportSize(),i=this._isRtl(),o=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let u=this._selectionModel.selected[0]||this.options.first;s=u&&u.group?32:16}i||(s*=-1);const a=0-(e.left+s-(i?o:0)),l=e.right+s-r.width+(i?0:o);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,r,i){const o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,a=Math.floor(256/o);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*o:this._scrollTop===i?(e-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):r-o/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(e){const r=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,s=i.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),u=Math.min(this._getItemCount()*r,256)-a-this._triggerRect.height;u>s?this._adjustPanelUp(u,s):a>o?this._adjustPanelDown(a,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,r){const i=Math.round(e-r);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,r,i){const o=Math.round(e-r);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),r=this._getItemCount(),i=Math.min(r*e,256),s=r*e-i;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=cM(a,this.options,this.optionGroups);const l=i/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(
1a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const e=this._getItemHeight(),r=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-r+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275cmp=Ir({type:n,selectors:[["mat-select"]],contentQueries:function(e,r,i){if(1&e&&(na(i,Y0e,5),na(i,xv,5),na(i,lM,5)),2&e){let o;_i(o=xi())&&(r.customTrigger=o.first),_i(o=xi())&&(r.options=o),_i(o=xi())&&(r.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,r){1&e&&pr("keydown",function(o){return r._handleKeydown(o)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),2&e&&(ro("id",r.id)("tabindex",r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),Rs("mat-select-disabled",r.disabled)("mat-select-invalid",r.errorState)("mat-select-required",r.required)("mat-select-empty",r.empty)("mat-select-multiple",r.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Vi([{provide:jb,useExisting:n},{provide:aM,useExisting:n}]),Kn],ngContentSelectors:V0e,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,r){if(1&e&&(wu(B0e),Te(0,"div",0,1),pr("click",function(){return r.toggle()}),Te(3,"div",2),Ln(4,L0e,2,1,"span",3),Ln(5,F0e,3,2,"span",4),Re(),Te(6,"div",5),ar(7,"div",6),Re()(),Ln(8,z0e,4,14,"ng-template",7),pr("backdropClick",function(){return r.close()})("attach",function(){return r._onAttached()})("detach",function(){return r.close()})),2&e){const i=Da(1);ro("aria-owns",r.panelOpen?r.id+"-panel":null),ct(3),Dt("ngSwitch",r.empty),ro("id",r._valueId),ct(1),Dt("ngSwitchCase",!0),ct(1),Dt("ngSwitchCase",!1),ct(3),Dt("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayMinWidth",null==r._triggerRect?null:r._triggerRect.width)("cdkConnectedOverlayOffsetY",r._offsetY)}},dependencies:[mp,Fm,M9,FF,cj,lj],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Lj.transformPanelWrap,Lj.transformPanel]},changeDetection:0}),n})(),Bj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[G0e],imports:[Kf,tg,Nb,jo,x6,Gb,Nb,jo]}),n})();const X0e=["tooltip"],Vj="tooltip-panel",Hj=$d({passive:!0}),jj=new or("mat-tooltip-scroll-strategy"),epe={provide:jj,deps:[df],useFactory:function Q0e(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},tpe=new or("mat-tooltip-default-options",{providedIn:"root",factory:function npe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let rpe=(()=>{class n{constructor(e,r,i,o,s,a,l,u,f,h,v,m){this._overlay=e,this._elementRef=r,this._scrollDispatcher=i,this._viewContainerRef
1=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=u,this._dir=h,this._defaultOptions=v,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new nt,this._scrollStrategy=f,this._document=m,v&&(v.position&&(this.position=v.position),v.touchGestures&&(this.touchGestures=v.touchGestures)),h.change.pipe(ls(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var r;e!==this._position&&(this._position=e,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(r=this._tooltipInstance)||void 0===r||r.show(0),this._overlayRef.updatePosition())}get disabled(){return this._disabled}set disabled(e){this._disabled=eo(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=ul(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=ul(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ls(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,i])=>{e.removeEventListener(r,i,Hj)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){var r;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(r=this._tooltipInstance)||void 0===r||r._cancelPendingAnimations());const i=this._createOverlay();this._detach(),this._portal=this._portal||new Fb(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=i.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(ls(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){const r=this._tooltipInstance;r&&(r.isVisible()?r.hide(e):(r._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var e;if(this._overlayRef)return this._overlayRef;const r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return i.positionChanges.pipe(ls(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${Vj}
1`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ls(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ls(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(ls(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Qf(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(e=this._defaultOptions)&&void 0!==e&&e.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const r=e.getConfig().positionStrategy,i=this._getOrigin(),o=this._getOverlayPosition();r.withPositions([this._addOffset({...i.main,...o.main}),this._addOffset({...i.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,r=this.position;let i;"above"==r||"below"==r?i={originX:"center",originY:"above"==r?"top":"bottom"}:"before"==r||"left"==r&&e||"right"==r&&!e?i={originX:"start",originY:"center"}:("after"==r||"right"==r&&e||"left"==r&&!e)&&(i={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,r=this.position;let i;"above"==r?i={overlayX:"center",overlayY:"bottom"}:"below"==r?i={overlayX:"center",overlayY:"top"}:"before"==r||"left"==r&&e||"right"==r&&!e?i={overlayX:"end",overlayY:"center"}:("after"==r||"right"==r&&e||"left"==r&&!e)&&(i={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Va(1),ls(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,r){return"above"===this.position||"below"===this.position?"top"===r?r="bottom":"bottom"===r&&(r="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:r}}_updateCurrentPositionClass(e){const{overlayY:r,originX:i,originY:o}=e;let s;if(s="center"===r?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===r&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${Vj}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}
1])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",r=>{var i;const o=r.relatedTarget;(!o||null===(i=this._overlayRef)||void 0===i||!i.overlayElement.contains(o))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",r],["touchcancel",r])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([r,i])=>{this._elementRef.nativeElement.addEventListener(r,i,Hj)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const r=this._document.elementFromPoint(e.clientX,e.clientY),i=this._elementRef.nativeElement;r!==i&&!i.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const r=this._elementRef.nativeElement,i=r.style;("on"===e||"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),("on"===e||!r.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){$2()},n.\u0275dir=_n({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),Kd=(()=>{class n extends rpe{constructor(e,r,i,o,s,a,l,u,f,h,v,m){super(e,r,i,o,s,a,l,u,f,h,v,m),this._tooltipComponent=ope}}return n.\u0275fac=function(e){return new(e||n)(he(df),he(Jr),he(aB),he(wl),he(Qi),he(cc),he(wB),he(Gd),he(jj),he(R1,8),he(tpe,8),he(Ki))},n.\u0275dir=_n({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[Kn]}),n})(),ipe=(()=>{class n{constructor(e,r){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new nt,this._animationsDisabled="NoopAnimations"===r}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const r=this._tooltip.nativeElement,i=this._showAnimation,o=this._hideAnimation;if(r.classList.remove(e?o:i),r.classList.add(e?i:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(r);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(he(Cl),he(Cu,8))},n.\u0275dir=_n({type:n}),n})(),ope=(()=>{class n extends ipe{constructor(e,r,i){super(e,i),this._breakpointObserver=r,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(he(Cl),he(yB),he(Cu,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,r){if(1&e&&ps(X0e,7),2&e){let i;_i(i=xi())&&(r._tooltip=i.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,r){1&e&&pr("mouseleave",function(o){return r._handleMouseLeave(o)}),2&e&&Vu("zoom",r.isVisible()?1:null)},features:[Kn],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,r){if(1&e&&(Te(0,"div",0,1),pr("animationend",function(o){return r._handleAnimationEnd(o)}),DS(2,"async"),pt(3),Re()),2&e){let i;Rs("mat-tooltip-handset",null==(i=kS(2,4,r._isHandset))?null:i.matches),Dt("ngClass",r.tooltipClass),ct(3),oo(r.message)}},dependencies:[mp,pE],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),n})(),Uj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[epe],imports:[vA,Kf,tg,jo,jo,x6]}),n})();function spe(n,t){if(1&n&&(Te(0,"mat-option",19),pt(1),Re()),2&n){const e=t.$implicit;Dt("value",e),ct(1),ns(" ",e," ")}}function ape(n,t){if(1&n){const e=ca();Te(0,"mat-form-field",16)(1,"mat-select",17),pr("selectionChange",function(i){return hs(e),Ss(xr(2)._changePageSize(i.value))}),Ln(2,spe,2,2,"mat-option",18),Re()()}if(2&n){const e=xr(2);Dt("appearance",e._formFieldAppearance)("color",e.color),ct(1),Dt("value",e.pageSize)("disabled",e.disabled)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering)("aria-label",e._intl.itemsPerPageLabel),ct(1),Dt("ngForOf",e._displayedPageSizeOptions)}}function lpe(n,t){if(1&n&&(Te(0,"div",20),pt(1),Re()),2&n){const e=xr(2);ct(1),oo(e.pageSize)}}function cpe(n,t){if(1&n&&(Te(0,"div",12)(1,"div",13),pt(2),Re(),Ln(3,ape,3,8,"mat-form-field",14),Ln(4,lpe,2,1,"div",15),Re()),2&n){const e=xr();ct(2),ns(" ",e._intl.itemsPerPageLabel," "),ct(1),Dt("ngIf",e._displayedPageSizeOptions.length>1),ct(1),Dt("ngIf",e._displayedPageSizeOptions.length<=1)}}function upe(n,t){if(1&n){const e=ca();Te(0,"button",21),pr("click",function(){return hs(e),Ss(xr().firstPage())}),Qu(),Te(1,"svg",7),ar(2,"path",22),Re()()}if(2&n){const e=xr();Dt("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ro("aria-label",e._intl.firstPageLabel)}}function fpe(n,t){if(1&n){const e=ca();Qu(),$0(),Te(0,"button",23),pr("click",function(){return hs(e),Ss(xr().lastPage())}),Qu(),Te(1,"svg",7),ar(2,"path",24),Re()()}if(2&n){const e=xr();Dt("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ro("aria-label",e._intl.lastPageLabel)}}let Jb=(()=>{class n{constructor(){this.changes=new nt,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,r,i)=>{if(0==i||0==r)return`0 of ${i}`;const o=e*r;return`${o+1} \u2013 ${o<(i=Math.max(i,0))?Math.min(o+r,i):o+r} of ${i}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const hpe={provide:Jb,deps:[[new S1,new Hf,Jb]],useFactory:function dpe(n){return n||new Jb}},mpe=new or("MAT_PAGINATOR_DEFAULT_OPTIONS"),gpe=r0(WH(class{}));let vpe=(()=>{class n extends gpe{constructor(e,r,i){if(super(),this._intl=e,this._changeDetectorRef=r,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new zi,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:o,pageSizeOptions:s,hidePageSize:a,showFirstLastButtons:l}=i;null!=o&&(this._pageSize=o),null!=s&&(this._pageSizeOptions=s),null!=a&&(this._hidePageSize=a),null!=l&&(this._showFirstLastButtons=l)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(ul(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=ul(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(ul(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(r=>ul(r)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=eo(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=eo(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndex<e&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){const i=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/e)||0,this.pageSize=e,this._emitPageEvent(i)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,r)=>e-r),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){$2()},n.\u0275dir=_n({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[Kn]}),n})(),O6=(()=>{class n extends vpe{constructor(e,r,i){super(e,r,i),i&&null!=i.formFieldAppearance&&(this._formFieldAppearance=i.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(he(Jb),he(Cl),he(mpe,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[Kn],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"div",1),Ln(2,cpe,5,3,"div",2),Te(3,"div",3)(4,"div",4),pt(5),Re(),Ln(6,upe,3,5,"button",5),Te(7,"button",6),pr("click",function(){return r.previousPage()}),Qu(),Te(8,"svg",7),ar(9,"path",8),Re()(),$0(),Te(10,"button",9),pr("click",function(){return r.nextPage()}),Qu(),Te(11,"svg",7),ar(12,"path",10),Re()(),Ln(13,fpe,3,5,"button",11),Re()()()),2&e&&(ct(2),Dt("ngIf",!r.hidePageSize),ct(3),ns(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),ct(1),Dt("ngIf",r.showFirstLastButtons),ct(1),Dt("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),ro("aria-label",r._intl.previousPageLabel),ct(3),Dt("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),ro("aria-label",r._intl.nextPageLabel),ct(3),Dt("ngIf",r.showFirstLastButtons))},dependencies:[lf,jl,dc,n2,zj,xv,Kd],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),ype=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[hpe],imports:[Kf,_j,Bj,Uj,jo]}),n})();const bpe=["primaryValueBar"],_pe=o0(class{cons
1tructor(n){this._elementRef=n}},"primary"),xpe=new or("mat-progress-bar-location",{providedIn:"root",factory:function wpe(){const n=la(Ki),t=n?n.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),Cpe=new or("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let Spe=0,R6=(()=>{class n extends _pe{constructor(e,r,i,o,s,a){super(e),this._ngZone=r,this._animationMode=i,this._changeDetectorRef=a,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new zi,this._animationEndSubscription=F.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+Spe++;const l=o?o.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${l}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===i,s&&(s.color&&(this.color=this.defaultColor=s.color),this.mode=s.mode||this.mode)}get value(){return this._value}set value(e){var r;this._value=$j(ul(e)||0),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(e){var r;this._bufferValue=$j(e||0),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const e=this._primaryValueBar.nativeElement;this._animationEndSubscription=e0(e,"transitionend").pipe(Qa(r=>r.target===e)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Qi),he(Cu,8),he(xpe,8),he(Cpe,8),he(Cl))},n.\u0275cmp=Ir({type:n,selectors:[["mat-progress-bar"]],viewQuery:function(e,r){if(1&e&&ps(bpe,5),2&e){let i;_i(i=xi())&&(r._primaryValueBar=i.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,r){2&e&&(ro("aria-valuenow","indeterminate"===r.mode||"query"===r.mode?null:r.value)("mode",r.mode),Rs("_mat-animation-noopable",r._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[Kn],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,r){1&e&&(Te(0,"div",0),Qu(),Te(1,"svg",1)(2,"defs")(3,"pattern",2),ar(4,"circle",3),Re()(),ar(5,"rect",4),Re(),$0(),ar(6,"div",5)(7,"div",6,7)(9,"div",8),Re()),2&e&&(ct(3),Dt("id",r.progressbarId),ct(2),ro("fill",r._rectangleFillValue),ct(1),Dt("ngStyle",r._bufferTransform()),ct(1),Dt("ngStyle",r._primaryTransform()))},dependencies:[zm],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;
1transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}
1100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}'],encapsulation:2,changeDetection:0}),n})();function $j(n,t=0,e=100){return Math.max(t,Math.min(e,n))}let Epe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Kf,jo,jo]}),n})(),zpe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Qm,jo,jo]}),n})();const Bpe=["sliderWrapper"],o2=$d({passive:!1}),$pe={provide:s1,useExisting:No(()=>vM),multi:!0};class Gpe{}const Wpe=Jm(o0(r0(class{constructor(n){this._elementRef=n}}),"accent"));let vM=(()=>{class n extends Wpe{constructor(e,r,i,o,s,a,l,u){super(e),this._focusMonitor=r,this._changeDetectorRef=i,this._dir=o,this._ngZone=a,this._animationMode=u,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new zi,this.input=new zi,this.valueChange=new zi,this.onTouched=()=>{},this._percent=0,this._isSliding=null,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=F.EMPTY,this._pointerDown=f=>{this.disabled||this._isSliding||!kv(f)&&0!==f.button||this._ngZone.run(()=>{this._touchId=kv(f)?function qpe(n,t){for(let e=0;e<n.touches.length;e++){const r=n.touches[e].target;if(t===r||t.contains(r))return n.touches[e].identifier}}(f,this._elementRef.nativeElement):void 0;const h=Kj(f,this._touchId);if(h){const v=this.value;this._isSliding="pointer",this._lastPointerEvent=f,this._focusHostElement(),this._onMouseenter(),this._bindGlobalEvents(f),this._focusHostElement(),this._updateValueFromPosition(h),this._valueOnSlideStart=v,f.cancelable&&f.preventDefault(),v!=this.value&&this._emitInputEvent()}})},this._pointerMove=f=>{if("pointer"===this._isSliding){const h=Kj(f,this._touchId);if(h){f.cancelable&&f.preventDefault();const v=this.value;this._lastPointerEvent=f,this._updateValueFromPosition(h),v!=this.value&&this._emitInputEvent()}}},this._pointerUp=f=>{"pointer"===this._isSliding&&(!kv(f)||"number"!=typeof this._touchId||yM(f.changedTouches,this._touchId))&&(f.cancelable&&f.preventDefault(),this._removeGlobalEvents(),this._isSliding=null,this._touchId=void 0,this._valueOnSlideStart!=this.value&&!this.disabled&&this._emitChangeEvent(),this._valueOnSlideStart=this._lastPointerEvent=null)},this._windowBlur=()=>{this._lastPointerEvent&&this._pointerUp(this._lastPointerEvent)},this._document=l,this.tabIndex=parseInt(s)||0,a.runOutsideAngular(()=>{const f=e.nativeElement;f.addEventListener("mousedown",this._pointerDown,o2),f.addEventListener("touchstart",this._pointerDown,o2)})}get invert(){return this._invert}set invert(e){this._invert=eo(e)}get max(){return this._max}set max(e){this._max=ul(e,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(e){this._min=ul(e,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(e){this._step=ul(e,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(e){this._thumbLabel=eo(e)}get tickInterval(){return this._tickInterval}set tickInterval(e){this._tickInterval="auto"===e?"auto":"number"==typeof e||"string"==typeof e?ul(e,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(e){if(e!==this._value){let r=ul(e,0);this._roundToDecimal&&r!==this.min&&r!==this.max&&(r=parseFloat(r.toFixed(this._roundToDecimal))),this._value=r,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(e){this._vertical=eo(e)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(e){this._focusHostElement(e)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}
1_shouldInvertAxis(){return this.vertical?!this.invert:this.invert}_isMinValue(){return 0===this.percent}_getThumbGap(){return this.disabled?7:this._isMinValue()&&!this.thumbLabel?this._isActive?10:7:0}_getTrackBackgroundStyles(){const r=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._getThumbGap()}px) scale3d(${r})`}}_getTrackFillStyles(){const e=this.percent,i=this.vertical?`1, ${e}, 1`:`${e}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${i})`,display:0===e?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let e=100*this._tickIntervalPercent,a={backgroundSize:this.vertical?`2px ${e}%`:`${e}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${e/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const l=this._shouldInvertAxis();let u;u=this.vertical?l?"Bottom":"Top":l?"Right":"Left",a[`padding${u}`]=`${this._getThumbGap()}px`}return a}_getThumbContainerStyles(){const e=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?e:!e)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const e=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?e:!e}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{this._isActive=!!e&&"keyboard"!==e,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mousedown",this._pointerDown,o2),e.removeEventListener("touchstart",this._pointerDown,o2),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(e){if(this.disabled||Qf(e)||this._isSliding&&"keyboard"!==this._isSliding)return;const r=this.value;switch(e.keyCode){case 33:this._increment(10);break;case 34:this._increment(-10);break;case 35:this.value=this.max;break;case 36:this.value=this.min;break;case 37:this._increment("rtl"==this._getDirection()?1:-1);break;case 38:this._increment(1);break;case 39:this._increment("rtl"==this._getDirection()?-1:1);break;case 40:this._increment(-1);break;default:return}r!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",e.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(e){const r=this._document,i=kv(e),s=i?"touchend":"mouseup";r.addEventListener(i?"touchmove":"mousemove",this._pointerMove,o2),r.addEventListener(s,this._pointerUp,o2),i&&r.addEventListener("touchcancel",this._pointerUp,o2);const a=this._getWindow();typeof a<"u"&&a&&a.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const e=this._document;e.removeEventListener("mousemove",this._pointerMove,o2),e.removeEventListener("mouseup",this._pointerUp,o2),e.removeEventListener("touchmove",this._pointerMove,o2),e.removeEventListener("touchend",this._pointerUp,o2),e.removeEventListener("touchcancel",this._pointerUp,o2);const r=this._getWindow();typeof r<"u"&&r&&r.removeEventListener("blur",this._windowBlur)}_increment(e){const r=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(r+this.step*e,this.min,this.max)}_updateValueFromPosition(e){if(!this._sliderDimensions)return;let s=this._clamp(((this.vertical?e.y:e.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(s=1-s),0===s)this.value=this.min;else if(1===s)this.value=this.max;else{const a=this._calculateValue(s),l=Math.round((a-this.min)/this.step)*this.step+this.min;this.value=this._clamp(l,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(!this.tickInterval||!this._sliderDimensions)return;let e;if("auto"==this.tickInterval){let r=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;e=Math.ceil(30/(r*this.step/(this.max-this.min)))*this.step/r}else e=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=Yj(e)?e:0}_createChangeEvent(e=this.value){let r=new Gpe;return r.source=this,r.value=e,r}_calculatePercentage(e){const r=((e||0)-this.min)/(this.max-this.min);return Yj(r)?r:0}_calculateValue(e){return this.min+e*(this.max-this.min)}_clamp(e,r=0,i=1){return Math.max(r,Math.min(e,i))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(e){this._elementRef.nativeElement.focus(e)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(e){this.value=e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Gd),he(Cl),he(R1,8),Xa("tabindex"),he(Qi),he(Ki),he(Cu,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-slider"]],viewQuery:function(e,r){if(1&e&&ps(Bpe,5),2&e){let i;_i(i=xi())&&(r._sliderWrapper=i.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(e,r){1&e&&pr("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()})("keydown",function(o){return r._onKeydown(o)})("keyup",function(){return r._onKeyup()})("mouseenter",function(){return r._onMouseenter()})("selectstart",function(o){return o.preventDefault()}),2&e&&(Wf("tabIndex",r.tabIndex),ro("aria-disabled",r.disabled)("aria-valuemax",r.max)("aria-valuemin",r.min)("aria-valuenow",r.value)("aria-valuetext",r.valueText??r.displayValue)("aria-orientation",r.vertical?"vertical":"horizontal"),Rs("mat-slider-disabled",r.disabled)("mat-slider-has-ticks",r.tickInterval)("mat-slider-horizontal",!r.vertical)("mat-slider-axis-inverted",r._shouldInvertAxis())("mat-slider-invert-mouse-coords",r._shouldInvertMouseCoords())("mat-slider-sliding",r._isSliding)("mat-slider-thumb-label-showing",r.thumbLabel)("mat-slider-vertical",r.vertical)("mat-slider-min-value",r._isMinValue())("mat-slider-hide-last-tick",r.disabled||r._isMinValue()&&r._getThumbGap()&&r._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===r._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",step:"step",thumbL
1abel:"thumbLabel",tickInterval:"tickInterval",value:"value",displayWith:"displayWith",valueText:"valueText",vertical:"vertical"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[Vi([$pe]),Kn],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(e,r){1&e&&(Te(0,"div",0,1)(2,"div",2),ar(3,"div",3)(4,"div",4),Re(),Te(5,"div",5),ar(6,"div",6),Re(),Te(7,"div",7),ar(8,"div",8)(9,"div",9),Te(10,"div",10)(11,"span",11),pt(12),Re()()()()),2&e&&(ct(3),Dt("ngStyle",r._getTrackBackgroundStyles()),ct(1),Dt("ngStyle",r._getTrackFillStyles()),ct(1),Dt("ngStyle",r._getTicksContainerStyles()),ct(1),Dt("ngStyle",r._getTicksStyles()),ct(1),Dt("ngStyle",r._getThumbContainerStyles()),ct(5),oo(r.displayValue))},dependencies:[zm],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:grabbing}.mat-slider-wrapper{-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{-webkit-background-clip:content-box;background-clip:content-box;background-repeat:repeat;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid rgba(0,0,0,0);border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}
1.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}'],encapsulation:2,changeDetection:0}),n})();function Yj(n){return!isNaN(n)&&isFinite(n)}function kv(n){return"t"===n.type[0]}function Kj(n,t){let e;return e=kv(n)?"number"==typeof t?yM(n.touches,t)||yM(n.changedTouches,t):n.touches[0]||n.changedTouches[0]:n,e?{x:e.clientX,y:e.clientY}:void 0}function yM(n,t){for(let e=0;e<n.length;e++)if(n[e].identifier===t)return n[e]}let Ype=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Kf,jo,jo]}),n})();const Kpe=["input"],Xpe=function(n){return{enterDuration:n}},Zpe=["*"],Jpe=new or("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let Qpe=0;const e4e={provide:s1,useExisting:No(()=>Qb),multi:!0};class t4e{constructor(t,e){this.source=t,this.checked=e}}
1const n4e=Jm(o0(Zm(r0(class{constructor(n){this._elementRef=n}}))));let r4e=(()=>{class n extends n4e{constructor(e,r,i,o,s,a,l){super(e),this._focusMonitor=r,this._changeDetectorRef=i,this.defaults=s,this._onChange=u=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new zi,this.toggleChange=new zi,this.tabIndex=parseInt(o)||0,this.color=this.defaultColor=s.color||"accent",this._noopAnimations="NoopAnimations"===a,this.id=this._uniqueId=`${l}${++Qpe}`}get required(){return this._required}set required(e){this._required=eo(e)}get checked(){return this._checked}set checked(e){this._checked=eo(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?this._focused=!0:e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return n.\u0275fac=function(e){$2()},n.\u0275dir=_n({type:n,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[Kn]}),n})(),Qb=(()=>{class n extends r4e{constructor(e,r,i,o,s,a){super(e,r,i,o,s,a,"mat-slide-toggle-")}_createChangeEvent(e){return new t4e(this,e)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}focus(e,r){r?this._focusMonitor.focusVia(this._inputElement,r,e):this._inputElement.nativeElement.focus(e)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(Gd),he(Cl),Xa("tabindex"),he(Jpe),he(Cu,8))},n.\u0275cmp=Ir({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,r){if(1&e&&ps(Kpe,5),2&e){let i;_i(i=xi())&&(r._inputElement=i.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,r){2&e&&(Wf("id",r.id),ro("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),Rs("mat-checked",r.checked)("mat-disabled",r.disabled)("mat-slide-toggle-label-before","before"==r.labelPosition)("_mat-animation-noopable",r._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[Vi([e4e]),Kn],ngContentSelectors:Zpe,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,r){if(1&e&&(wu(),Te(0,"label",0,1)(2,"span",2)(3,"input",3,4),pr("change",function(o){return r._onChangeEvent(o)})("click",function(o){return r._onInputClick(o)}),Re(),Te(5,"span",5),ar(6,"span",6),Te(7,"span",7),ar(8,"span",8),Re()()(),Te(9,"span",9,10),pr("cdkObserveContent",function(){return r._onLabelTextChange()}),Te(11,"span",11),pt(12,"\xa0"),Re(),ba(13),Re()()),2&e){const i=Da(1),o=Da(10);ro("for",r.inputId),ct(2),Rs("mat-slide-toggle-bar-no-side-margin",!o.textContent||!o.textContent.trim()),ct(1),Dt("id",r.inputId)("required",r.required)("tabIndex",r.tabIndex)("checked",r.checked)("disabled",r.disabled),ro("name",r.name)("aria-checked",r.checked)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby),ct(4),Dt("matRippleTrigger",i)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Hu(18,Xpe,r._noopAnimations?0:150))}},dependencies:[D6,uA],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}
1@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),n})(),Xj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})(),s4e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Xj,Qm,jo,ab,Xj,jo]}),n})();const a4e=["mat-sort-header",""];function l4e(n,t){if(1&n){const e=ca();Te(0,"div",3),pr("@arrowPosition.start",function(){return hs(e),Ss(xr()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return hs(e),Ss(xr()._disableViewStateAnimation=!1)}),ar(1,"div",4),Te(2,"div",5),ar(3,"div",6)(4,"div",7)(5,"div",8),Re()()}if(2&n){const e=xr();Dt("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),ct(2),Dt("@indicator",e._getArrowDirectionState()),ct(1),Dt("@leftPointer",e._getArrowDirectionState()),ct(1),Dt("@rightPointer",e._getArrowDirectionState())}}const c4e=["*"],Zj=new or("MAT_SORT_DEFAULT_OPTIONS"),u4e=WH(r0(class{}));let Mp=(()=>{class n extends u4e{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new nt,this.start="asc",this._direction="",this.sortChange=new zi}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=eo(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var r,i,o;if(!e)return"";const s=null!==(r=null!==(i=e?.disableClear)&&void 0!==i?i:this.disableClear)&&void 0!==r?r:!(null===(o=this._defaultOptions)||void 0===o||!o.disableClear);let a=function f4e(n,t){let e=["asc","desc"];return"desc"==n&&e.reverse(),t||e.push(""),e}(e.start||this.start,s),l=a.indexOf(this.direction)+1;return l>=a.length&&(l=0),a[l]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(he(Zj,8))},n.\u0275dir=_n({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Kn,Hs]}),n})();const Dp=Dde.ENTERING+" "+Mde.STANDARD_CURVE,sg={indicator:cf("indicator",[Ul("active-asc, asc",rs({transform:"translateY(0px)"})),Ul("active-desc, desc",rs({transform:"translateY(10px)"})),lc("active-asc <=> active-desc",Gc(Dp))]),leftPointer:cf("leftPointer",[Ul("active-asc, asc",rs({transform:"rotate(-45deg)"})),Ul("active-desc, desc",rs({transform:"rotate(45deg)"})),lc("active-asc <=> active-desc",Gc(Dp))]),rightPointer:cf("rightPointer",[Ul("active-asc, asc",rs({transform:"rotate(45deg)"})),Ul("active-desc, desc",rs({transform:"rotate(-45deg)"})),lc("active-asc <=> active-desc",Gc(Dp))]),arrowOpacity:cf("arrowOpacity",[Ul("desc-to-active, asc-to-active, active",rs({opacity:1})),Ul("desc-to-hint, asc-to-hint, hint",rs({opacity:.54})),Ul("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",rs({opacity:0})),lc("* => asc, * => desc, * => active, * => hint, * => void",Gc("0ms")),lc("* <=> *",Gc(Dp))]),arrowPosition:cf("arrowPosition",[lc("* => desc-to-hint, * => desc-to-active",Gc(Dp,W8([rs({transform:"translateY(-25%)"}),rs({transform:"translateY(0)"})]))),lc("* => hint-to-desc, * => active-to-desc",Gc(Dp,W8([rs({transform:"translateY(0)"}),rs({transform:"translateY(25%)"})]))),lc("* => asc-to-hint, * => asc-to-active",Gc(Dp,W8([rs({transform:"translateY(25%)"}),rs({transform:"translateY(0)"})]))),lc("* => hint-to-asc, * => active-to-asc",Gc(Dp,W8([rs({transform:"translateY(0)"}),rs({transform:"translateY(-25%)"})]))),Ul("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",rs({transform:"translateY(0)"})),Ul("hint-to-desc, active-to-desc, desc",rs({transform:"translateY(-25%)"})),Ul("hint-to-asc, active-to-asc, asc",rs({transform:"translateY(25%)"}))]),allowChildren:cf("allowChildren",[lc("* <=> *",[P9("@*",L9(),{optional:!0})])])};let e_=(()=>{class n{constructor(){this.changes=new nt}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const h4e={provide:e_,deps:[[new S1,new Hf,e_]],useFactory:function d4e(n){return n||new e_}},p4e=r0(class{});let t_=(()=>
1{class n extends p4e{constructor(e,r,i,o,s,a,l,u){super(),this._intl=e,this._changeDetectorRef=r,this._sort=i,this._columnDef=o,this._focusMonitor=s,this._elementRef=a,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",null!=u&&u.arrowPosition&&(this.arrowPosition=u?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=eo(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const r=!!e;r!==this._showIndicatorHint&&(this._setIndicatorHintVisible(r),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var r,i;this._sortButton&&(null===(r=this._ariaDescriber)||void 0===r||r.removeDescription(this._sortButton,this._sortActionDescription),null===(i=this._ariaDescriber)||void 0===i||i.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=Ui(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(he(e_),he(Cl),he(Mp,8),he("MAT_SORT_HEADER_COLUMN_DEF",8),he(Gd),he(Jr),he(wB,8),he(Zj,8))},n.\u0275cmp=Ir({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,r){1&e&&pr("click",function(){return r._handleClick()})("keydown",function(o){return r._handleKeydown(o)})("mouseenter",function(){return r._setIndicatorHintVisible(!0)})("mouseleave",function(){return r._setIndicatorHintVisible(!1)}),2&e&&(ro("aria-sort",r._getAriaSortAttribute()),Rs("mat-sort-header-disabled",r._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[Kn],attrs:a4e,ngContentSelectors:c4e,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,r){1&e&&(wu(),Te(0,"div",0)(1,"div",1),ba(2),Re(),Ln(3,l4e,6,6,"div",2),Re()),2&e&&(Rs("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before","before"===r.arrowPosition),ro("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),ct(3),Dt("ngIf",r._renderArrow()))},dependencies:[jl],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}
1.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[sg.indicator,sg.leftPointer,sg.rightPointer,sg.arrowOpacity,sg.arrowPosition,sg.allowChildren]},changeDetection:0}),n})(),m4e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[h4e],imports:[Kf,jo]}),n})();function n_(n){return!!n&&(n instanceof wt||C(n.lift)&&C(n.subscribe))}const g4e=[[["caption"]],[["colgroup"],["col"]]],v4e=["caption","colgroup, col"];function bM(n){return class extends n{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=eo(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const ag=new or("CDK_TABLE");let lg=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(he(sc))},n.\u0275dir=_n({type:n,selectors:[["","cdkCellDef",""]]}),n})(),cg=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(he(sc))},n.\u0275dir=_n({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),r_=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(he(sc))},n.\u0275dir=_n({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class x4e{}const w4e=bM(x4e);let s0=(()=>{class n extends w4e{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const r=this._stickyEnd;this._stickyEnd=eo(e),this._hasStickyChanged=r!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(he(ag,8))},n.\u0275dir=_n({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,r,i){if(1&e&&(na(i,lg,5),na(i,cg,5),na(i,r_,5)),2&e){let o;_i(o=xi())&&(r.cell=o.first),_i(o=xi())&&(r.headerCell=o.first),_i(o=xi())&&(r.footerCell=o.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Vi([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),Kn]}),n})();class _M{constructor(t,e){e.nativeElement.classList.add(...t._columnCssClassName)}}let xM=(()=>{class n extends _M{constructor(e,r){super(e,r)}}return n.\u0275fac=function(e){return new(e||n)(he(s0),he(Jr))},n.\u0275dir=_n({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Kn]}),n})(),wM=(()=>{class n extends _M{constructor(e,r){var i;if(super(e,r),1===(null===(i=e._table)||void 0===i?void 0:i._elementRef.nativeElement.nodeType)){const o=e._table._elementRef.nativeElement.getAttribute("role");r.nativeElement.setAttribute("role","grid"===o||"treegrid"===o?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(he(s0),he(Jr))},n.\u0275dir=_n({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Kn]}),n})();class Qj{constructor(){this.tasks=[],this.endTasks=[]}}const CM=new or("_COALESCED_STYLE_SCHEDULER");let eU=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new nt}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Qj,this._getScheduleObservable().pipe(ls(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new Qj;for(const r of e.tasks)r();for(const r of e.endTasks)r()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?gi(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Va(1))}}return n.\u0275fac=function(e){return new(e||n)(qt(Qi))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),SM=(()=>{class n{constructor(e,r){this.template=e,this._differs=r}ngOnChanges(e){if(!this._columnsDiffer){const r=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(r).create(),this._columnsDiffer.diff(r)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Tv?e.headerCell.template:this instanceof Iv?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(he(sc),he(af))},n.\u0275dir=_n({type:n,features:[Hs]}),n})();class C4e extends SM{}const S4e=bM(C4e);let Tv=(()=>{class n extends S4e{constructor(e,r,i){super(e,r),this._table=i}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(he(sc),he(af),he(ag,8))},n.\u0275dir=_n({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[Kn,Hs]}),n})();class E4e extends SM{}const A4e=bM(E4e);let Iv=(()=>{class n extends A4e{constructor(e,r,i){super(e,r),this._table=i}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(he(sc),he(af),he(ag,8))},n.\u0275dir=_n({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[Kn,Hs]}),n})(),i_=(()=>{class n extends SM{constructor(e,r,i){super(e,r),this._table=i}}return n.\u0275fac=function(e){return new(e||n)(he(sc),he(af),he(ag,8))},n.\u0275dir=_n({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[Kn]}),n})(),a0=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(he(wl))},n.\u0275dir=_n({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),EM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ir({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,r){1&e&&I1(0,0)},dependencies:[a0],encapsulation:2}),n})(),MM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ir({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,r){1&e&&I1(0,0)},dependencies:[a0],encapsulation:2}),n})(),o_=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="
1cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(he(sc))},n.\u0275dir=_n({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const tU=["top","bottom","left","right"];class M4e{constructor(t,e,r,i,o=!0,s=!0,a){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=r,this._coalescedStyleScheduler=i,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(t,e){const r=[];for(const i of t)if(i.nodeType===i.ELEMENT_NODE){r.push(i);for(let o=0;o<i.children.length;o++)r.push(i.children[o])}this._coalescedStyleScheduler.schedule(()=>{for(const i of r)this._removeStickyStyle(i,e)})}updateStickyColumns(t,e,r,i=!0){if(!t.length||!this._isBrowser||!e.some(v=>v)&&!r.some(v=>v))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const o=t[0],s=o.children.length,a=this._getCellWidths(o,i),l=this._getStickyStartColumnPositions(a,e),u=this._getStickyEndColumnPositions(a,r),f=e.lastIndexOf(!0),h=r.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>
1{const v="rtl"===this.direction,m=v?"right":"left",x=v?"left":"right";for(const p of t)for(let P=0;P<s;P++){const T=p.children[P];e[P]&&this._addStickyStyle(T,m,l[P],P===f),r[P]&&this._addStickyStyle(T,x,u[P],P===h)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===f?[]:a.slice(0,f+1).map((p,P)=>e[P]?p:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===h?[]:a.slice(h).map((p,P)=>r[P+h]?p:null).reverse()}))})}stickRows(t,e,r){if(!this._isBrowser)return;const i="bottom"===r?t.slice().reverse():t,o="bottom"===r?e.slice().reverse():e,s=[],a=[],l=[];for(let f=0,h=0;f<i.length;f++){if(!o[f])continue;s[f]=h;const v=i[f];l[f]=this._isNativeHtmlTable?Array.from(v.children):[v];const m=v.getBoundingClientRect().height;h+=m,a[f]=m}const u=o.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let v=0;v<i.length;v++){if(!o[v])continue;const m=s[v],x=v===u;for(const p of l[v])this._addStickyStyle(p,r,m,x)}var f,h;"top"===r?null===(f=this._positionListener)||void 0===f||f.stickyHeaderRowsUpdated({sizes:a,offsets:s,elements:l}):null===(h=this._positionListener)||void 0===h||h.stickyFooterRowsUpdated({sizes:a,offsets:s,elements:l})})}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const r=t.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{e.some(i=>!i)?this._removeStickyStyle(r,["bottom"]):this._addStickyStyle(r,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const i of e)t.style[i]="",t.classList.remove(this._borderCellCss[i]);tU.some(i=>-1===e.indexOf(i)&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,r,i){t.classList.add(this._stickCellCss),i&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${r}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let r=0;for(const i of tU)t.style[i]&&(r+=e[i]);return r?`${r}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const r=[],i=t.children;for(let o=0;o<i.length;o++)r.push(i[o].getBoundingClientRect().width);return this._cachedCellWidths=r,r}_getStickyStartColumnPositions(t,e){const r=[];let i=0;for(let o=0;o<t.length;o++)e[o]&&(r[o]=i,i+=t[o]);return r}_getStickyEndColumnPositions(t,e){const r=[];let i=0;for(let o=t.length;o>0;o--)e[o]&&(r[o]=i,i+=t[o]);return r}}const DM=new or("CDK_SPL");let s_=(()=>{class n{constructor(e,r){this.viewContainer=e,this.elementRef=r}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(Jr))},n.\u0275dir=_n({type:n,selectors:[["","rowOutlet",""]]}),n})(),a_=(()=>{class n{constructor(e,r){this.viewContainer=e,this.elementRef=r}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(Jr))},n.\u0275dir=_n({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),l_=(()=>{class n{constructor(e,r){this.viewContainer=e,this.elementRef=r}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(Jr))},n.\u0275dir=_n({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),c_=(()=>{class n{constructor(e,r){this.viewContainer=e,this.elementRef=r}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(Jr))},n.\u0275dir=_n({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),u_=(()=>{class n{constructor(e,r,i,o,s,a,l,u,f,h,v,m){this._differs=e,this._changeDetectorRef=r,this._elementRef=i,this._dir=s,this._platform=l,this._viewRepeater=u,this._coalescedStyleScheduler
1=f,this._viewportRuler=h,this._stickyPositioningListener=v,this._ngZone=m,this._onDestroy=new nt,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new zi,this.viewChange=new Wc({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","table"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=eo(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=eo(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r),this._viewportRuler.change().pipe(ls(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const r=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||r,this._forceRecalculateCellWidths=r,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Xb(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const r=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,r,(i,o,s)=>this._getEmbeddedViewArgs(i.item,s),i=>i.item.data,i=>{1===i.operation&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(i=>{r.get(i.currentIndex).context.$implicit=i.item.data}),this._updateNoDataRow(),this._ngZone&&Qi.isInAngularZone()?this._ngZone.onStable.pipe(Va(1),ls(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._elementRef.nativeElement.querySelector("thead");i&&(i.style.display=e.length?"":"none");const o=this._headerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,o,"top"),this._headerRowDefs.forEac
1h(s=>s.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),i=this._elementRef.nativeElement.querySelector("tfoot");i&&(i.style.display=e.length?"":"none");const o=this._footerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,o,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,o),this._footerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),r=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...r,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,s)=>{this._addStickyColumnStyles([o],this._headerRowDefs[s])}),this._rowDefs.forEach(o=>{const s=[];for(let a=0;a<r.length;a++)this._renderRows[a].rowDef===o&&s.push(r[a]);this._addStickyColumnStyles(s,o)}
1),i.forEach((o,s)=>{this._addStickyColumnStyles([o],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_getAllRenderRows(){const e=[],r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i<this._data.length;i++){let o=this._data[i];const s=this._getRenderRowsForData(o,i,r.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let a=0;a<s.length;a++){let l=s[a];const u=this._cachedRenderRowsMap.get(l.data);u.has(l.rowDef)?u.get(l.rowDef).push(l):u.set(l.rowDef,[l]),e.push(l)}}return e}_getRenderRowsForData(e,r,i){return this._getRowDefs(e,r).map(s=>{const a=i&&i.has(s)?i.get(s):[];if(a.length){const l=a.shift();return l.dataIndex=r,l}return{data:e,rowDef:s,dataIndex:r}})}_cacheColumnDefs(){this._columnDefsByName.clear(),f_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(r=>{this._columnDefsByName.has(r.name),this._columnDefsByName.set(r.name,r)})}_cacheRowDefs(){this._headerRowDefs=f_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=f_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=f_(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(r=>!r.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(s,a)=>s||!!a.getColumnsDiff(),r=this._rowDefs.reduce(e,!1);r&&this._forceRenderDataRows();const i=this._headerRowDefs.reduce(e,!1);i&&this._forceRenderHeaderRows();const o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),r||i||o}_switchDataSource(e){this._data=[],Xb(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Xb(this.dataSource)?e=this.dataSource.connect(this):n_(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Di(this.dataSource)),this._renderChangeSubscription=e.pipe(ls(this._onDestroy)).subscribe(r=>{this._data=r||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,r)=>this._renderRow(this._headerRowOutlet,e,r)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,r)=>this._renderRow(this._footerRowOutlet,e,r)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,r){const i=Array.from(r.columns||[]).map(a=>this._columnDefsByName.get(a)),o=i.map(a=>a.sticky),s=i.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const r=[];for(let i=0;i<e.viewContainer.length;i++){const o=e.viewContainer.get(i);r.push(o.rootNodes[0])}return r}_getRowDefs(e,r){if(1==this._rowDefs.length)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(o=>!o.when||o.when(r,e));else{let o=this._rowDefs.find(s=>s.when&&s.when(r,e))||this._defaultRowDef;o&&i.push(o)}return i}_getEmbeddedViewArgs(e,r){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:r}}_renderRow(e,r,i,o={}){const s=e.viewContainer.createEmbeddedView(r.template,o,i);return this._renderCellTemplateForItem(r,o),s}_renderCellTemplateForItem(e,r){for(let i of this._getCellTemplates(e))a0.mostRecentCellOutlet&&a0.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,r);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let r=0,i=e.length;r<i;r++){const s=e.get(r).context;s.count=i,s.first=0===r,s.last=r===i-1,s.even=r%2==0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[r].dataIndex,s.renderIndex=r):s.index=this._renderRows[r].dataIndex}}_getCellTemplates(e){return e&&e.columns?Array.from(e.columns,r=>{const i=this._columnDefsByName.get(r);return e.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),r=[{tag:"thead",outlets:[this._headerRowOutlet]}
1,{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const i of r){const o=this._document.createElement(i.tag);o.setAttribute("role","rowgroup");for(const s of i.outlets)o.appendChild(s.elementRef.nativeElement);e.appendChild(o)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(r,i)=>r||i.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new M4e(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Di()).pipe(ls(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(r=>!r._table||r._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const r=0===this._rowOutlet.viewContainer.length;if(r===this._isShowingNoDataRow)return;const i=this._noDataRowOutlet.viewContainer;if(r){const o=i.createEmbeddedView(e.templateRef),s=o.rootNodes[0];1===o.rootNodes.length&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(e._contentClassName))}else i.clear();this._isShowingNoDataRow=r}}return n.\u0275fac=function(e){return new(e||n)(he(af),he(Cl),he(Jr),Xa("role"),he(R1,8),he(Ki),he(cc),he(Mv),he(CM),he(_6),he(DM,12),he(Qi,8))},n.\u0275cmp=Ir({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,r,i){if(1&e&&(na(i,o_,5),na(i,s0,5),na(i,i_,5),na(i,Tv,5),na(i,Iv,5)),2&e){let o;_i(o=xi())&&(r._noDataRow=o.first),_i(o=xi())&&(r._contentColumnDefs=o),_i(o=xi())&&(r._contentRowDefs=o),_i(o=xi())&&(r._contentHeaderRowDefs=o),_i(o=xi())&&(r._contentFooterRowDefs=o)}},viewQuery:function(e,r){if(1&e&&(ps(s_,7),ps(a_,7),ps(l_,7),ps(c_,7)),2&e){let i;_i(i=xi())&&(r._rowOutlet=i.first),_i(i=xi())&&(r._headerRowOutlet=i.first),_i(i=xi())&&(r._footerRowOutlet=i.first),_i(i=xi())&&(r._noDataRowOutlet=i.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,r){2&e&&Rs("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Vi([{provide:ag,useExisting:n},{provide:Mv,useClass:Oj},{provide:CM,useClass:eU},{provide:DM,useValue:null}])],ngContentSelectors:v4e,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,r){1&e&&(wu(g4e),ba(0),ba(1,1),I1(2,0)(3,1)(4,2)(5,3))},dependencies:[s_,a_,l_,c_],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})();function f_(n,t){return n.concat(Array.from(t))}let k4e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[aA]}),n})();const T4e=[[["caption"]],[["colgroup"],["col"]]],I4e=["caption","colgroup, col"];let ug=(()=>{class n extends u_{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275cmp=Ir({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,r){2&e&&Rs("mat-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[Vi([{provide:Mv,useClass:Oj},{provide:u_,useExisting:n},{provide:ag,useExisting:n},{provide:CM,useClass:eU},{provide:DM,useValue:null}]),Kn],ngContentSelectors:I4e,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,r){1&e&&(wu(T4e),ba(0),ba(1,1),I1(2,0)(3,1)(4,2)(5,3))},dependencies:[s_,a_,l_,c_],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})(),L6=(()=>{class n extends lg{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","matCellDef",""]],features:[Vi([{provide:lg,useExisting:n}]),Kn]}),n})(),P6=(()=>{class n extends cg{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","matHeaderCellDef",""]],features:[Vi([{provide:cg,useExisting:n}]),Kn]}),n})(),N6=(()=>{class n extends s0{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Vi([{provide:s0,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),Kn]}),n})(),F6=(()=>{class n extends xM{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[Kn]}),n})(),z6=(()=>{class n extends wM{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[Kn]}),n})(),fg=(()=>{class n extends Tv{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Vi([{provide:Tv,useExisting:n}]),Kn]}),n})(),dg=(()=>{class n extends i_{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Vi([{provide:i_,useExisting:n}]),Kn]}),n})(),hg=(()=>
1{class n extends EM{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275cmp=Ir({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Vi([{provide:EM,useExisting:n}]),Kn],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,r){1&e&&I1(0,0)},dependencies:[a0],encapsulation:2}),n})(),pg=(()=>{class n extends MM{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275cmp=Ir({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Vi([{provide:MM,useExisting:n}]),Kn],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,r){1&e&&I1(0,0)},dependencies:[a0],encapsulation:2}),n})(),rU=(()=>{class n extends o_{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["ng-template","matNoDataRow",""]],features:[Vi([{provide:o_,useExisting:n}]),Kn]}),n})(),V4e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[k4e,jo,jo]}),n})();class j4e extends Ij{constructor(t=[]){super(),this._renderData=new Wc([]),this._filter=new Wc(""),this._internalPageChanges=new nt,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,r)=>{const i=e[r];if(eB(i)){const o=Number(i);return o<9007199254740991?o:i}return i},this.sortData=(e,r)=>{const i=r.active,o=r.direction;return i&&""!=o?e.sort((s,a)=>{let l=this.sortingDataAccessor(s,i),u=this.sortingDataAccessor(a,i);const f=typeof l,h=typeof u;f!==h&&("number"===f&&(l+=""),"number"===h&&(u+=""));let v=0;return null!=l&&null!=u?l>u?v=1:l<u&&(v=-1):null!=l?v=1:null!=u&&(v=-1),v*("asc"==o?1:-1)}):e},this.filterPredicate=(e,r)=>{const i=Object.keys(e).reduce((s,a)=>s+e[a]+"\u25ec","").toLowerCase(),o=r.trim().toLowerCase();return-1!=i.indexOf(o)},this._data=new Wc(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){t=Array.isArray(t)?t:[],this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?Ui(this._sort.sortChange,this._sort.initialized):Di(null),r=this._paginator?Ui(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Di(null),o=$m([this._data,this._filter]).pipe(qn(([l])=>this._filterData(l))),s=$m([o,e]).pipe(qn(([l])=>this._orderData(l))),a=$m([s,r]).pipe(qn(([l])=>this._pageData(l)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=a.subscribe(l=>this._renderData.next(l))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const r=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,r);i!==e.pageIndex&&(e.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}class Ov extends j4e{}class iU extends class U4e{constructor(){this.expansionModel=new gM(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(r=>this._trackByValue(r)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(r=>this._trackByValue(r)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}{constructor(t,e){super(),this.getChildren=t,this.options=e,this.options&&(this.trackBy=this.options.trackBy)}
1expandAll(){this.expansionModel.clear();const t=this.dataNodes.reduce((e,r)=>[...e,...this.getDescendants(r),r],[]);this.expansionModel.select(...t.map(e=>this._trackByValue(e)))}getDescendants(t){const e=[];return this._getDescendants(e,t),e.splice(1)}_getDescendants(t,e){t.push(e);const r=this.getChildren(e);Array.isArray(r)?r.forEach(i=>this._getDescendants(t,i)):n_(r)&&r.pipe(Va(1),Qa(Boolean)).subscribe(i=>{for(const o of i)this._getDescendants(t,o)})}}const d_=new or("CDK_TREE_NODE_OUTLET_NODE");let Rv=(()=>{class n{constructor(e,r){this.viewContainer=e,this._node=r}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(d_,8))},n.\u0275dir=_n({type:n,selectors:[["","cdkTreeNodeOutlet",""]]}),n})();class $4e{constructor(t){this.$implicit=t}}let h_=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(he(sc))},n.\u0275dir=_n({type:n,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),n})(),l0=(()=>{class n{constructor(e,r){this._differs=e,this._changeDetectorRef=r,this._onDestroy=new nt,this._levels=new Map,this.viewChange=new Wc({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const e=this._nodeDefs.filter(r=>!r.when);this._defaultNodeDef=e[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(e){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let e;Xb(this._dataSource)?e=this._dataSource.connect(this):n_(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=Di(this._dataSource)),e&&(this._dataSubscription=e.pipe(ls(this._onDestroy)).subscribe(r=>this.renderNodeChanges(r)))}renderNodeChanges(e,r=this._dataDiffer,i=this._nodeOutlet.viewContainer,o){const s=r.diff(e);!s||(s.forEachOperation((a,l,u)=>{if(null==a.previousIndex)this.insertNode(e[u],u,i,o);else if(null==u)i.remove(l),this._levels.delete(a.item);else{const f=i.get(l);i.move(f,u)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(e,r){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(o=>o.when&&o.when(r,e))||this._defaultNodeDef}insertNode(e,r,i,o){const s=this._getNodeDef(e,r),a=new $4e(e);a.level=this.treeControl.getLevel?this.treeControl.getLevel(e):typeof o<"u"&&this._levels.has(o)?this._levels.get(o)+1:0,this._levels.set(e,a.level),(i||this._nodeOutlet.viewContainer).createEmbeddedView(s.template,a,r),Xd.mostRecentTreeNode&&(Xd.mostRecentTreeNode.data=e)}}return n.\u0275fac=function(e){return new(e||n)(he(af),he(Cl))},n.\u0275cmp=Ir({type:n,selectors:[["cdk-tree"]],contentQueries:function(e,r,i){if(1&e&&na(i,h_,5),2&e){let o;_i(o=xi())&&(r._nodeDefs=o)}},viewQuery:function(e,r){if(1&e&&ps(Rv,7),2&e){let i;_i(i=xi())&&(r._nodeOutlet=i.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(e,r){1&e&&I1(0,0)},dependencies:[Rv],encapsulation:2}),n})(),Xd=(()=>{class n{constructor(e,r){this._elementRef=e,this._tree=r,this._destroyed=new nt,this._dataChanges=new nt,n.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(e){this._elementRef.nativeElement.setAttribute("role",e)}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._setRoleFromData(),this._dataChanges.next())}
1get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function G4e(n){let t=n.parentElement;for(;t&&!W4e(t);)t=t.parentElement;return t?t.classList.contains("cdk-nested-tree-node")?ul(t.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){n.mostRecentTreeNode===this&&(n.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return n.mostRecentTreeNode=null,n.\u0275fac=function(e){return new(e||n)(he(Jr),he(l0))},n.\u0275dir=_n({type:n,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(e,r){2&e&&ro("aria-expanded",r.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),n})();function W4e(n){const t=n.classList;return!!(null!=t&&t.contains("cdk-nested-tree-node")||null!=t&&t.contains("cdk-tree"))}let kM=(()=>{class n extends Xd{constructor(e,r,i){super(e,r),this._differs=i}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const e=this._tree.treeControl.getChildren(this.data);Array.isArray(e)?this.updateChildrenNodes(e):n_(e)&&e.pipe(ls(this._destroyed)).subscribe(r=>this.updateChildrenNodes(r)),this.nodeOutlet.changes.pipe(ls(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(e){const r=this._getNodeOutlet();e&&(this._children=e),r&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,r.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const e=this._getNodeOutlet();e&&(e.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const e=this.nodeOutlet;return e&&e.find(r=>!r._node||r._node===this)}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(l0),he(af))},n.\u0275dir=_n({type:n,selectors:[["cdk-nested-tree-node"]],contentQueries:function(e,r,i){if(1&e&&na(i,Rv,5),2&e){let o;_i(o=xi())&&(r.nodeOutlet=o)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[Vi([{provide:Xd,useExisting:n},{provide:d_,useExisting:n}]),Kn]}),n})(),IM=(()=>{class n{constructor(e,r){this._tree=e,this._treeNode=r,this._recursive=!1}get recursive(){return this._recursive}set recursive(e){this._recursive=eo(e)}_toggle(e){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(he(l0),he(Xd))},n.\u0275dir=_n({type:n,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(e,r){1&e&&pr("click",function(o){return r._toggle(o)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),n})(),Y4e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();const K4e=Jm(r0(Xd));let OM=(()=>{class n extends K4e{constructor(e,r,i){super(e,r),this.tabIndex=Number(i)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(l0),Xa("tabindex"))},n.\u0275dir=_n({type:n,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[Vi([{provide:Xd,useExisting:n}]),Kn]}),n})(),RM=(()=>{class n extends h_{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[Vi([{provide:h_,useExisting:n}]),Kn]}),n})(),LM=(()=>{class n extends kM{constructor(e,r,i,o){super(e,r,i),this._disabled=!1,this.tabIndex=Number(o)||0}get disabled(){return this._disabled}set disabled(e){this._disabled=eo(e)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=e??0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(l0),he(af),Xa("tabindex"))},n.\u0275dir=_n({type:n,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]}
1,exportAs:["matNestedTreeNode"],features:[Vi([{provide:kM,useExisting:n},{provide:Xd,useExisting:n},{provide:d_,useExisting:n}]),Kn]}),n})(),Lv=(()=>{class n{constructor(e,r){this.viewContainer=e,this._node=r}}return n.\u0275fac=function(e){return new(e||n)(he(wl),he(d_,8))},n.\u0275dir=_n({type:n,selectors:[["","matTreeNodeOutlet",""]],features:[Vi([{provide:Rv,useExisting:n}])]}),n})(),PM=(()=>{class n extends l0{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275cmp=Ir({type:n,selectors:[["mat-tree"]],viewQuery:function(e,r){if(1&e&&ps(Lv,7),2&e){let i;_i(i=xi())&&(r._nodeOutlet=i.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[Vi([{provide:l0,useExisting:n}]),Kn],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(e,r){1&e&&I1(0,0)},dependencies:[Lv],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),n})(),NM=(()=>{class n extends IM{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=qr(n)))(r||n)}}(),n.\u0275dir=_n({type:n,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[Vi([{provide:IM,useExisting:n}]),Kn]}),n})(),Z4e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[Y4e,jo,jo]}),n})();class oU extends Ij{constructor(){super(...arguments),this._data=new Wc([])}get data(){return this._data.value}set data(t){this._data.next(t)}connect(t){return Ui(t.viewChange,this._data).pipe(qn(()=>this.data))}disconnect(){}}const J4e=["*",[["mat-toolbar-row"]]],Q4e=["*","mat-toolbar-row"],e6e=o0(class{constructor(n){this._elementRef=n}});let t6e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),n6e=(()=>{class n extends e6e{constructor(e,r,i){super(e),this._platform=r,this._document=i}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(cc),he(Ki))},n.\u0275cmp=Ir({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,r,i){if(1&e&&na(i,t6e,5),2&e){let o;_i(o=xi())&&(r._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,r){2&e&&Rs("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",0===r._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Kn],ngContentSelectors:Q4e,decls:2,vars:0,template:function(e,r){1&e&&(wu(J4e),ba(0),ba(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),n})(),r6e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[jo,jo]}),n})();function sU(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function Li(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?sU(Object(e),!0).forEach(function(r){s6e(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):sU(Object(e)).forEac
1h(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}function p_(n){return(p_="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})(n)}function aU(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function s6e(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function FM(n,t){return function c6e(n){if(Array.isArray(n))return n}(n)||function f6e(n,t){var e=null==n?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var s,a,r=[],i=!0,o=!1;try{for(e=e.call(n);!(i=(s=e.next()).done)&&(r.push(s.value),!t||r.length!==t);i=!0);}catch(l){o=!0,a=l}finally{try{!i&&null!=e.return&&e.return()}finally{if(o)throw a}}return r}}(n,t)||lU(n,t)||function h6e(){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 g_(n){return function l6e(n){if(Array.isArray(n))return zM(n)}(n)||function u6e(n){if(typeof Symbol<"u"&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||lU(n)||function d6e(){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 lU(n,t){if(n){if("string"==typeof n)return zM(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return zM(n,t)}}function zM(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}var cU=function(){},BM={},uU={},fU=null,dU={mark:cU,measure:cU};try{typeof window<"u"&&(BM=window),typeof document<"u"&&(uU=document),typeof MutationObserver<"u"&&(fU=MutationObserver),typeof performance<"u"&&(dU=performance)}catch{}var hU=(BM.navigator||{}).userAgent,pU=void 0===hU?"":hU,kp=BM,dl=uU,mU=fU,v_=dU,c0=!!dl.documentElement&&!!dl.head&&"function"==typeof dl.addEventListener&&"function"==typeof dl.createElement,gU=~pU.indexOf("MSIE")||~pU.indexOf("Trident/"),u0="___FONT_AWESOME___",yU="svg-inline--fa",B6="data-fa-i2svg",HM="data-fa-pseudo-element",jM="data-prefix",UM="data-icon",bU="fontawesome-i2svg",v6e=["HTML","HEAD","STYLE","SCRIPT"],_U=function(){try{return!0}catch{return!1}}(),$M={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},y_={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},xU={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},y6e={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},b6e=/fa[srltdbk\-\ ]/,wU="fa-layers-text",_6e=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,x6e={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},CU=[1,2,3,4,5,6,7,8,9,10],w6e=CU.concat([11,12,13,14,15,16,17,18,19,20]),C6e=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],S6e=[].concat(g_(Object.keys(y_)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","duotone-group","swap-opacity","primary","secondary"]).concat(CU.map(function(n){return"".concat(n,"x")})).concat(w6e.map(function(n){return"w-".concat(n)})),SU=kp.FontAwesomeConfig||{};dl&&"function"==typeof dl.querySelector&&[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEac
1h(function(n){var t=FM(n,2),r=t[1],i=function A6e(n){return""===n||"false"!==n&&("true"===n||n)}(function E6e(n){var t=dl.querySelector("script["+n+"]");if(t)return t.getAttribute(n)}(t[0]));null!=i&&(SU[r]=i)});var Nv=Li(Li({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:yU,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),SU);Nv.autoReplaceSvg||(Nv.observeMutations=!1);var yo={};Object.keys(Nv).forEach(function(n){Object.defineProperty(yo,n,{enumerable:!0,set:function(e){Nv[n]=e,b_.forEach(function(r){return r(yo)})},get:function(){return Nv[n]}})}),kp.FontAwesomeConfig=yo;var b_=[],Zd={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Fv(){for(var n=12,t="";n-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function mg(n){for(var t=[],e=(n||[]).length>>>0;e--;)t[e]=n[e];return t}function GM(n){return n.classList?mg(n.classList):(n.getAttribute("class")||"").split(" ").filter(function(t){return t})}function EU(n){return"".concat(n).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function __(n){return Object.keys(n||{}).reduce(function(t,e){return t+"".concat(e,": ").concat(n[e].trim(),";")},"")}function WM(n){return n.size!==Zd.size||n.x!==Zd.x||n.y!==Zd.y||n.rotate!==Zd.rotate||n.flipX||n.flipY}function AU(){var n="fa",t=yU,e=yo.familyPrefix,r=yo.replacementClass,i=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;
1\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}
1\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(e!==n||r!==t){var o=new RegExp("\\.".concat(n,"\\-"),"g"),s=new RegExp("\\--".concat(n,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(e,"-")).replace(s,"--".concat(e,"-")).replace(a,".".concat(r))}return i}var MU=!1;function qM(){yo.autoAddCss&&!MU&&(function T6e(n){if(n&&c0){var t=dl.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=n;for(var e=dl.head.childNodes,r=null,i=e.length-1;i>-1;i--){var o=e[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}dl.head.insertBefore(t,r)}}(AU()),MU=!0)}var N6e={mixout:function(){return{dom:{css:AU,insertCss:qM}}},hooks:function(){return{beforeDOMElementCreation:function(){qM()},beforeI2svg:function(){qM()}}}},f0=kp||{};f0[u0]||(f0[u0]={}),f0[u0].styles||(f0[u0].styles={}),f0[u0].hooks||(f0[u0].hooks={}),f0[u0].shims||(f0[u0].shims=[]);var nd=f0[u0],DU=[],x_=!1;function z6e(n){!c0||(x_?setTimeout(n,0):DU.push(n))}function zv(n){var t=n.tag,e=n.attributes,r=void 0===e?{}:e,i=n.children,o=void 0===i?[]:i;return"string"==typeof n?EU(n):"<".concat(t," ").concat(function O6e(n){return Object.keys(n||{}).reduce(function(t,e){return t+"".concat(e,'="').concat(EU(n[e]),'" ')},"").trim()}(r),">").concat(o.map(zv).join(""),"</").concat(t,">")}function kU(n,t,e){if(n&&n[t]&&n[t][e])return{prefix:t,iconName:e,icon:n[t][e]}}c0&&((x_=(dl.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(dl.readyState))||dl.addEventListener("DOMContentLoaded",function n(){dl.removeEventListener("DOMContentLoaded",n),x_=1,DU.map(function(t){return t()})}));var YM=function(t,e,r,i){var l,u,f,o=Object.keys(t),s=o.length,a=void 0!==i?function(t,e){return function(r,i,o,s){return t.call(e,r,i,o,s)}}(e,i):e;for(void 0===r?(l=1,f=t[o[0]]):(l=0,f=r);l<s;l++)f=a(f,t[u=o[l]],u,t);return f};function KM(n){var t=function V6e(n){for(var t=[],e=0,r=n.length;e<r;){var i=n.charCodeAt(e++);if(i>=55296&&i<=56319&&e<r){var o=n.charCodeAt(e++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),e--)}else t.push(i)}return t}(n);return 1===t.length?t[0].toString(16):null}function TU(n){return Object.keys(n).reduce(function(t,e){var r=n[e];return r.icon?t[r.iconName]=r.icon:t[e]=r,t},{})}function XM(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.skipHooks,i=void 0!==r&&r,o=TU(t);"function"!=typeof nd.hooks.addPack||i?nd.styles[n]=Li(Li({},nd.styles[n]||{}),o):nd.hooks.addPack(n,TU(t)),"fas"===n&&XM("fa",t)}var Bv=nd.styles,j6e=nd.shims,U6e=Object.values(xU),ZM=null,IU={},OU={},RU={},LU={},PU={},$6e=Object.keys($M);function W6e(n,t){var e=t.split("-"),r=e[0],i=e.slice(1).join("-");return r!==n||""===i||function G6e(n){return~S6e.indexOf(n)}(i)?null:i}var NU=function(){var t=function(o){return YM(Bv,function(s,a,l){return s[l]=YM(a,o,{}),s},{})};IU=t(function(i,o,s){return o[3]&&(i[o[3]]=s),o[2]&&o[2].filter(function(l){return"number"==typeof l}
1).forEach(function(l){i[l.toString(16)]=s}),i}),OU=t(function(i,o,s){return i[s]=s,o[2]&&o[2].filter(function(l){return"string"==typeof l}).forEach(function(l){i[l]=s}),i}),PU=t(function(i,o,s){var a=o[2];return i[s]=s,a.forEach(function(l){i[l]=s}),i});var e="far"in Bv||yo.autoFetchSvg,r=YM(j6e,function(i,o){var s=o[0],a=o[1],l=o[2];return"far"===a&&!e&&(a="fas"),"string"==typeof s&&(i.names[s]={prefix:a,iconName:l}),"number"==typeof s&&(i.unicodes[s.toString(16)]={prefix:a,iconName:l}),i},{names:{},unicodes:{}});RU=r.names,LU=r.unicodes,ZM=w_(yo.styleDefault)};function JM(n,t){return(IU[n]||{})[t]}function gg(n,t){return(PU[n]||{})[t]}function FU(n){return RU[n]||{prefix:null,iconName:null}}function Ip(){return ZM}function w_(n){return y_[n]||y_[$M[n]]||(n in nd.styles?n:null)||null}function C_(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.skipLookups,r=void 0!==e&&e,i=null,o=n.reduce(function(s,a){var l=W6e(yo.familyPrefix,a);if(Bv[a]?(a=U6e.includes(a)?y6e[a]:a,i=a,s.prefix=a):$6e.indexOf(a)>-1?(i=a,s.prefix=w_(a)):l?s.iconName=l:a!==yo.replacementClass&&s.rest.push(a),!r&&s.prefix&&s.iconName){var u="fa"===i?FU(s.iconName):{},f=gg(s.prefix,s.iconName);u.prefix&&(i=null),s.iconName=u.iconName||f||s.iconName,s.prefix=u.prefix||s.prefix,"far"===s.prefix&&!Bv.far&&Bv.fas&&!yo.autoFetchSvg&&(s.prefix="fas")}return s},{prefix:null,iconName:null,rest:[]}
1);return("fa"===o.prefix||"fa"===i)&&(o.prefix=Ip()||"fas"),o}(function k6e(n){b_.push(n)})(function(n){ZM=w_(n.styleDefault)}),NU();var K6e=function(){function n(){(function i6e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")})(this,n),this.definitions={}}return function o6e(n,t,e){t&&aU(n.prototype,t),e&&aU(n,e),Object.defineProperty(n,"prototype",{writable:!1})}(n,[{key:"add",value:function(){for(var e=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=i.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(a){e.definitions[a]=Li(Li({},e.definitions[a]||{}),s[a]),XM(a,s[a]);var l=xU[a];l&&XM(l,s[a]),NU()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(o){var s=i[o],a=s.prefix,l=s.iconName,u=s.icon,f=u[2];e[a]||(e[a]={}),f.length>0&&f.forEach(function(h){"string"==typeof h&&(e[a][h]=u)}),e[a][l]=u}),e}}]),n}(),zU=[],vg={},yg={},X6e=Object.keys(yg);function eD(n,t){for(var e=arguments.length,r=new Array(e>2?e-2:0),i=2;i<e;i++)r[i-2]=arguments[i];var o=vg[n]||[];return o.forEach(function(s){t=s.apply(null,[t].concat(r))}),t}function H6(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var i=vg[n]||[];i.forEach(function(o){o.apply(null,e)})}function d0(){var n=arguments[0],t=Array.prototype.slice.call(arguments,1);return yg[n]?yg[n].apply(null,t):void 0}function tD(n){"fa"===n.prefix&&(n.prefix="fas");var t=n.iconName,e=n.prefix||Ip();if(t)return t=gg(e,t)||t,kU(BU.definitions,e,t)||kU(nd.styles,e,t)}var BU=new K6e,Q6e={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c0?(H6("beforeI2svg",t),d0("pseudoElements2svg",t),d0("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot;!1===yo.autoReplaceSvg&&(yo.autoReplaceSvg=!0),yo.observeMutations=!0,z6e(function(){t3e({autoReplaceSvgRoot:e}),H6("watch",t)})}},e3e={icon:function(t){if(null===t)return null;if("object"===p_(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:gg(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],r=w_(t[0]);return{prefix:r,iconName:gg(r,e)||e}}if("string"==typeof t&&(t.indexOf("".concat(yo.familyPrefix,"-"))>-1||t.match(b6e))){var i=C_(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Ip(),iconName:gg(i.prefix,i.iconName)||i.iconName}}if("string"==typeof t){var o=Ip();return{prefix:o,iconName:gg(o,t)||t}}}},hf={noAuto:function(){yo.autoReplaceSvg=!1,yo.observeMutations=!1,H6("noAuto")},config:yo,dom:Q6e,parse:e3e,library:BU,findIconDefinition:tD,toHtml:zv},t3e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,r=void 0===e?dl:e;(Object.keys(nd.styles).length>0||yo.autoFetchSvg)&&c0&&yo.autoReplaceSvg&&hf.dom.i2svg({node:r})};function S_(n,t){return Object.defineProperty(n,"abstract",{get:t}),Object.defineProperty(n,"html",{get:function(){return n.abstract.map(function(r){return zv(r)})}}),Object.defineProperty(n,"node",{get:function(){if(c0){var r=dl.createElement("div");return r.innerHTML=n.html,r.children}}}),n}function nD(n){var t=n.icons,e=t.main,r=t.mask,i=n.prefix,o=n.iconName,s=n.transform,a=n.symbol,l=n.title,u=n.maskId,f=n.titleId,h=n.extra,v=n.watchable,m=void 0!==v&&v,x=r.found?r:e,p=x.width,P=x.height,T="fak"===i,H=[yo.replacementClass,o?"".concat(yo.familyPrefix,"-").concat(o):""].filter(function(Ue){return-1===h.classes.indexOf(Ue)}).filter(function(Ue){return""!==Ue||!!Ue}).concat(h.classes).join(" "),U={children:[],attributes:Li(Li({},h.attributes),{},{"data-prefix":i,"data-icon":o,class:H,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(P)})},ee=T&&!~h.classes.indexOf("fa-fw")?{width:"".concat(p/P*16*.0625,"em")}:{};m&&(U.attributes[B6]=""),l&&(U.children.push({tag:"title",attributes:{id:U.attributes["aria-labelledby"]||"title-".concat(f||Fv()
1)},children:[l]}),delete U.attributes.title);var ie=Li(Li({},U),{},{prefix:i,iconName:o,main:e,mask:r,maskId:u,transform:s,symbol:a,styles:Li(Li({},ee),h.styles)}),me=r.found&&e.found?d0("generateAbstractMask",ie)||{children:[],attributes:{}}:d0("generateAbstractIcon",ie)||{children:[],attributes:{}},Se=me.attributes;return ie.children=me.children,ie.attributes=Se,a?function r3e(n){var e=n.iconName,r=n.children,i=n.attributes,o=n.symbol,s=!0===o?"".concat(n.prefix,"-").concat(yo.familyPrefix,"-").concat(e):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Li(Li({},i),{},{id:s}),children:r}]}]}(ie):function n3e(n){var t=n.children,e=n.main,r=n.mask,i=n.attributes,o=n.styles,s=n.transform;if(WM(s)&&e.found&&!r.found){var u={x:e.width/e.height/2,y:.5};i.style=__(Li(Li({},o),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(ie)}function VU(n){var t=n.content,e=n.width,r=n.height,i=n.transform,o=n.title,s=n.extra,a=n.watchable,l=void 0!==a&&a,u=Li(Li(Li({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});l&&(u[B6]="");var f=Li({},s.styles);WM(i)&&(f.transform=function L6e(n){var t=n.transform,e=n.width,i=n.height,o=void 0===i?16:i,s=n.startCentered,a=void 0!==s&&s,l="";return l+=a&&gU?"translate(".concat(t.x/16-(void 0===e?16:e)/2,"em, ").concat(t.y/16-o/2,"em) "):a?"translate(calc(-50% + ".concat(t.x/16,"em), calc(-50% + ").concat(t.y/16,"em)) "):"translate(".concat(t.x/16,"em, ").concat(t.y/16,"em) "),(l+="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:e,height:r}),f["-webkit-transform"]=f.transform);var h=__(f);h.length>0&&(u.style=h);var v=[];return v.push({tag:"span",attributes:u,children:[t]}),o&&v.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),v}function i3e(n){var t=n.content,e=n.title,r=n.extra,i=Li(Li(Li({},r.attributes),e?{title:e}:{}),{},{class:r.classes.join(" ")}),o=__(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),e&&s.push({tag:"span",attributes:{class:"sr-only"},children:[e]}),s}var rD=nd.styles;function iD(n){var t=n[0],e=n[1],o=FM(n.slice(4),1)[0];return{found:!0,width:t,height:e,icon:Array.isArray(o)?{tag:"g",attributes:{class:"".concat(yo.familyPrefix,"-").concat("duotone-group")},children:[{tag:"path",attributes:{class:"".concat(yo.familyPrefix,"-").concat("secondary"),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(yo.familyPrefix,"-").concat("primary"),fill:"currentColor",d:o[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:o}}}}var o3e={found:!1,width:512,height:512};function oD(n,t){var e=t;return"fa"===t&&null!==yo.styleDefault&&(t=Ip()),new Promise(function(r,i){if(d0("missingIconAbstract"),"fa"===e){var s=FU(n)||{};n=s.iconName||n,t=s.prefix||t}if(n&&t&&rD[t]&&rD[t][n])return r(iD(rD[t][n]));(function s3e(n,t){!_U&&!yo.showMissingIcons&&n&&console.error('Icon with name "'.concat(n,'" and prefix "').concat(t,'" is missing.'))})(n,t),r(Li(Li({},o3e),{},{icon:yo.showMissingIcons&&n&&d0("missingIconAbstract")||{}}))})}var HU=function(){},sD=yo.measurePerformance&&v_&&v_.mark&&v_.measure?v_:{mark:HU,measure:HU},Vv='FA "6.0.0"',aD_begin=function(t){return sD.mark("".concat(Vv," ").concat(t," begins")),function(){return function(t){sD.mark("".concat(Vv," ").concat(t," ends")),sD.measure("".concat(Vv," ").concat(t),"".concat(Vv," ").concat(t," begins"),"".concat(Vv," ").concat(t," ends"))}(t)}},E_=function(){};function UU(n){return"string"==typeof(n.getAttribute?n.getAttribute(B6):null)}function f3e(n){return dl.createElementNS("http://www.w3.org/2000/svg",n)}function d3e(n){return dl.createElement(n)}function $U(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.ceFn,r=void 0===e?"svg"===n.tag?f3e:d3e:e;if("string"==typeof n)return dl.createTextNode(n);var i=r(n.tag);Object.keys(n.attributes||[]).forEach(function(s){i.setAttribute(s,n.attributes[s])});var o=n.children||[];return o.forEach(function(s){i.appendChild($U(s,{ceFn:r}))}),i}var A_={replace:function(t){var e=t[0];
1if(e.parentNode)if(t[1].forEach(function(i){e.parentNode.insertBefore($U(i),e)}),null===e.getAttribute(B6)&&yo.keepOriginalSource){var r=dl.createComment(function h3e(n){var t=" ".concat(n.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(r,e)}else e.remove()},nest:function(t){var e=t[0],r=t[1];if(~GM(e).indexOf(yo.replacementClass))return A_.replace(t);var i=new RegExp("".concat(yo.familyPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(a,l){return l===yo.replacementClass||l.match(i)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?e.removeAttribute("class"):e.setAttribute("class",o.toNode.join(" "))}var s=r.map(function(a){return zv(a)}).join("\n");e.setAttribute(B6,""),e.innerHTML=s}};function GU(n){n()}function WU(n,t){var e="function"==typeof t?t:E_;if(0===n.length)e();else{var r=GU;"async"===yo.mutateApproach&&(r=kp.requestAnimationFrame||GU),r(function(){var i=function u3e(){return!0===yo.autoReplaceSvg?A_.replace:A_[yo.autoReplaceSvg]||A_.replace}(),o=aD_begin("mutate");n.map(i),o(),e()})}}var lD=!1;function qU(){lD=!0}function cD(){lD=!1}var M_=null;function YU(n){if(mU&&yo.observeMutations){var t=n.treeCallback,e=void 0===t?E_:t,r=n.nodeCallback,i=void 0===r?E_:r,o=n.pseudoElementsCallback,s=void 0===o?E_:o,a=n.observeMutationsRoot,l=void 0===a?dl:a;M_=new mU(function(u){if(!lD){var f=Ip();mg(u).forEach(function(h){if("childList"===h.type&&h.addedNodes.length>0&&!UU(h.addedNodes[0])&&(yo.searchPseudoElements&&s(h.target),e(h.target)),"attributes"===h.type&&h.target.parentNode&&yo.searchPseudoElements&&s(h.target.parentNode),"attributes"===h.type&&UU(h.target)&&~C6e.indexOf(h.attributeName))if("class"===h.attributeName&&function l3e(n){var t=n.getAttribute?n.getAttribute(jM):null,e=n.getAttribute?n.getAttribute(UM):null;return t&&e}(h.target)){var v=C_(GM(h.target)),x=v.iconName;h.target.setAttribute(jM,v.prefix||f),x&&h.target.setAttribute(UM,x)}else(function c3e(n){return n&&n.classList&&n.classList.contains&&n.classList.contains(yo.replacementClass)})(h.target)&&i(h.target)})}}),c0&&M_.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function m3e(n){var t=n.getAttribute("style"),e=[];return t&&(e=t.split(";").reduce(function(r,i){var o=i.split(":"),s=o[0],a=o.slice(1);return s&&a.length>0&&(r[s]=a.join(":").trim()),r},{})),e}function g3e(n){var t=n.getAttribute("data-prefix"),e=n.getAttribute("data-icon"),r=void 0!==n.innerText?n.innerText.trim():"",i=C_(GM(n));return i.prefix||(i.prefix=Ip()),t&&e&&(i.prefix=t,i.iconName=e),i.iconName&&i.prefix||i.prefix&&r.length>0&&(i.iconName=function q6e(n,t){return(OU[n]||{})[t]}(i.prefix,n.innerText)||JM(i.prefix,KM(n.innerText))),i}function v3e(n){var t=mg(n.attributes).reduce(function(i,o){return"class"!==i.name&&"style"!==i.name&&(i[o.name]=o.value),i},{}),e=n.getAttribute("title"),r=n.getAttribute("data-fa-title-id");return yo.autoA11y&&(e?t["aria-labelledby"]="".concat(yo.replacementClass,"-title-").concat(r||Fv()):(t["aria-hidden"]="true",t.focusable="false")),t}function KU(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},e=g3e(n),r=e.iconName,i=e.prefix,o=e.rest,s=v3e(n),a=eD("parseNodeAttributes",{},n),l=t.styleParser?m3e(n):[];return Li({iconName:r,title:n.getAttribute("title"),titleId:n.getAttribute("data-fa-title-id"),prefix:i,transform:Zd,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:s}},a)}var b3e=nd.styles;function XU(n){var t="nest"===yo.autoReplaceSvg?KU(n,{styleParser:!1}):KU(n);return~t.extra.classes.indexOf(wU)?d0("generateLayersText",n,t):d0("generateSvgReplacementMutation",n,t)}function ZU(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!c0)return Promise.resolve();var e=dl.documentElement.classList,r=function(h){return e.add("".concat(bU,"-").concat(h))},i=function(h){return e.remove("".concat(bU,"-").concat(h))},o=Object.keys(yo.autoFetchSvg?$M:b3e),s=[".".concat(wU,":not([").concat(B6,"])")].concat(o.map(function(f){return".".concat(f,":not([").concat(B6,"])")})).join(", ");
vendor: 4,375 bytes, line 1
1if(0===s.length)return Promise.resolve();var a=[];try{a=mg(n.querySelectorAll(s))}catch{}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var l=aD_begin("onTree"),u=a.reduce(function(f,h){try{var v=XU(h);v&&f.push(v)}catch(m){_U||"MissingIcon"===m.name&&console.error(m)}return f},[]);return new Promise(function(f,h){Promise.all(u).then(function(v){WU(v,function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),f()})}).catch(function(v){l(),h(v)})})}function _3e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;XU(n).then(function(e){e&&WU([e],t)})}var w3e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.transform,i=void 0===r?Zd:r,o=e.symbol,s=void 0!==o&&o,a=e.mask,l=void 0===a?null:a,u=e.maskId,f=void 0===u?null:u,h=e.title,v=void 0===h?null:h,m=e.titleId,x=void 0===m?null:m,p=e.classes,P=void 0===p?[]:p,T=e.attributes,H=void 0===T?{}:T,U=e.styles,ee=void 0===U?{}:U;if(t){var ie=t.prefix,me=t.iconName,ue=t.icon;return S_(Li({type:"icon"},t),function(){return H6("beforeDOMElementCreation",{iconDefinition:t,params:e}),yo.autoA11y&&(v?H["aria-labelledby"]="".concat(yo.replacementClass,"-title-").concat(x||Fv()):(H["aria-hidden"]="true",H.focusable="false")),nD({icons:{main:iD(ue),mask:l?iD(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:ie,iconName:me,transform:Li(Li({},Zd),i),symbol:s,title:v,maskId:f,titleId:x,extra:{attributes:H,styles:ee,classes:P}})})}},C3e={mixout:function(){return{icon:(n=w3e,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:tD(t||{}),i=e.mask;return i&&(i=(i||{}).icon?i:tD(i||{})),n(r,Li(Li({},e),{},{mask:i}))})};var n},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=ZU,e.nodeCallback=_3e,e}}},provides:function(t){t.i2svg=function(e){var r=e.node,o=e.callback;return ZU(void 0===r?dl:r,void 0===o?function(){}:o)},t.generateSvgReplacementMutation=function(e,r){var i=r.iconName,o=r.title,s=r.titleId,a=r.prefix,l=r.transform,u=r.symbol,f=r.mask,h=r.maskId,v=r.extra;return new Promise(function(m,x){Promise.all([oD(i,a),f.iconName?oD(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(p){var P=FM(p,2);m([e,nD({icons:{main:P[0],mask:P[1]},prefix:a,iconName:i,transform:l,symbol:u,maskId:h,title:o,titleId:s,extra:v,watchable:!0})])}).catch(x)})},t.generateAbstractIcon=function(e){var u,r=e.children,i=e.attributes,o=e.main,s=e.transform,l=__(e.styles);return l.length>0&&(i.style=l),WM(s)&&(u=d0("generateAbstractTransformGrouping",{main:o,transform:s,containerWidth:o.width,iconWidth:o.width})),r.push(u||o.icon),{children:r,attributes:i}}}},S3e={mixout:function(){return{layer:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.classes,o=void 0===i?[]:i;return S_({type:"layer"},function(){H6("beforeDOMElementCreation",{assembler:e,params:r});var s=[];return e(function(a){Array.isArray(a)?a.map(function(l){s=s.concat(l.abstract)}):s=s.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(yo.familyPrefix,"-layers")].concat(g_(o)).join(" ")},children:s}]})}}}},E3e={mixout:function(){return{counter:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.title,o=void 0===i?null:i,s=r.classes,a=void 0===s?[]:s,l=r.attributes,u=void 0===l?{}:l,f=r.styles,h=void 0===f?{}:f;return S_({type:"counter",content:e},function(){return H6("beforeDOMElementCreation",{content:e,params:r}),i3e({content:e.toString(),title:o,extra:{attributes:u,styles:h,classes:["".concat(yo.familyPrefix,"-layers-counter")].concat(g_(a))}})})}}}},A3e={mixout:function(){return{text:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.transform,o=void 0===i?Zd:i,s=r.title,a=void 0===s?null:s,l=r.classes,u=void 0===l?[]:l,f=r.attributes,h=void 0===f?{}:f,v=r.styles,m=void 0===v?{}:v;return S_({type:"text",content:e},function(){return H6("beforeDOMElementCreation",{content:e,params:r}),VU({content:e,transform:Li(Li({},Zd),o),title:a,extra:{attributes:h,styles:m,classes:["".concat(yo.familyPrefix,"-layers-text")].concat(g_(u))}})})}}},provides:function(t){t.generateLayersText=function(e,r){var i=r.title,o=r.transform,s=r.extra,a=null,l=null;if(gU){var u=parseInt(getComputedStyle(e).fontSize,10),f=e.getBoundingClientRect();
vendor: 6,158 bytes, line 1
1a=f.width/u,l=f.height/u}return yo.autoA11y&&!i&&(s.attributes["aria-hidden"]="true"),Promise.resolve([e,VU({content:e.innerHTML,width:a,height:l,transform:o,title:i,extra:s,watchable:!0})])}}},M3e=new RegExp('"',"ug"),JU=[1105920,1112319];function QU(n,t){var e="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(r,i){if(null!==n.getAttribute(e))return r();var s=mg(n.children).filter(function(me){return me.getAttribute(HM)===t})[0],a=kp.getComputedStyle(n,t),l=a.getPropertyValue("font-family").match(_6e),u=a.getPropertyValue("font-weight"),f=a.getPropertyValue("content");if(s&&!l)return n.removeChild(s),r();if(l&&"none"!==f&&""!==f){var h=a.getPropertyValue("content"),v=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?y_[l[2].toLowerCase()]:x6e[u],m=function D3e(n){var t=n.replace(M3e,""),e=function H6e(n,t){var i,e=n.length,r=n.charCodeAt(t);return r>=55296&&r<=56319&&e>t+1&&(i=n.charCodeAt(t+1))>=56320&&i<=57343?1024*(r-55296)+i-56320+65536:r}(t,0),r=e>=JU[0]&&e<=JU[1],i=2===t.length&&t[0]===t[1];return{value:KM(i?t[0]:t),isSecondary:r||i}}(h),x=m.value,p=m.isSecondary,P=l[0].startsWith("FontAwesome"),T=JM(v,x),H=T;if(P){var U=function Y6e(n){var t=LU[n],e=JM("fas",n);return t||(e?{prefix:"fas",iconName:e}:null)||{prefix:null,iconName:null}}(x);U.iconName&&U.prefix&&(T=U.iconName,v=U.prefix)}if(!T||p||s&&s.getAttribute(jM)===v&&s.getAttribute(UM)===H)r();else{n.setAttribute(e,H),s&&n.removeChild(s);var ee=function y3e(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Zd,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),ie=ee.extra;ie.attributes[HM]=t,oD(T,v).then(function(me){var ue=nD(Li(Li({},ee),{},{icons:{main:me,mask:{prefix:null,iconName:null,rest:[]}},prefix:v,iconName:H,extra:ie,watchable:!0})),Se=dl.createElement("svg");"::before"===t?n.insertBefore(Se,n.firstChild):n.appendChild(Se),Se.outerHTML=ue.map(function(Ue){return zv(Ue)}).join("\n"),n.removeAttribute(e),r()}).catch(i)}}else r()})}function k3e(n){return Promise.all([QU(n,"::before"),QU(n,"::after")])}function T3e(n){return!(n.parentNode===document.head||~v6e.indexOf(n.tagName.toUpperCase())||n.getAttribute(HM)||n.parentNode&&"svg"===n.parentNode.tagName)}function e$(n){if(c0)return new Promise(function(t,e){var r=mg(n.querySelectorAll("*")).filter(T3e).map(k3e),i=aD_begin("searchPseudoElements");qU(),Promise.all(r).then(function(){i(),cD(),t()}).catch(function(){i(),cD(),e()})})}var I3e={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=e$,e}}},provides:function(t){t.pseudoElements2svg=function(e){var r=e.node;yo.searchPseudoElements&&e$(void 0===r?dl:r)}}},t$=!1,O3e={mixout:function(){return{dom:{unwatch:function(){qU(),t$=!0}}}},hooks:function(){return{bootstrap:function(){YU(eD("mutationObserverCallbacks",{}))},noAuto:function(){!function p3e(){!M_||M_.disconnect()}()},watch:function(e){var r=e.observeMutationsRoot;t$?cD():YU(eD("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},n$=function(t){return t.toLowerCase().split(" ").reduce(function(r,i){var o=i.toLowerCase().split("-"),s=o[0],a=o.slice(1).join("-");if(s&&"h"===a)return r.flipX=!0,r;if(s&&"v"===a)return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(s){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a}return r},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},R3e={mixout:function(){return{parse:{transform:function(e){return n$(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,r){var i=r.getAttribute("data-fa-transform");return i&&(e.transform=n$(i)),e}}},provides:function(t){t.generateAbstractTransformGrouping=function(e){var r=e.main,i=e.transform,s=e.iconWidth,a={transform:"translate(".concat(e.containerWidth/2," 256)")},l="translate(".concat(32*i.x,", ").concat(32*i.y,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),f="rotate(".concat(i.rotate," 0 0)"),m={outer:a,inner:{transform:"".concat(l," ").concat(u," ").concat(f)},path:{transform:"translate(".concat(s/2*-1," -256)")}};return{tag:"g",attributes:Li({},m.outer),children:[{tag:"g",attributes:Li({},m.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Li(Li({},r.icon.attributes),m.path)}]}]}}}},uD={x:0,y:0,width:"100%",height:"100%"};function r$(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n.attributes&&(n.attributes.fill||t)&&(n.attributes.fill="black"),n}var P3e={hooks:function(){return{parseNodeAttributes:function(e,r){var i=r.getAttribute("data-fa-mask"),o=i?C_(i.split(" ").map(function(s){return s.trim()})):{prefix:null,iconName:null,rest:[]};return o.prefix||(o.prefix=Ip()),e.mask=o,e.maskId=r.getAttribute("data-fa-mask-id"),e}}},provides:function(t){t.generateAbstractMask=function(e){var n,r=e.children,i=e.attributes,o=e.main,s=e.mask,a=e.maskId,f=o.icon,v=s.icon,m=function R6e(n){var t=n.transform,r=n.iconWidth,i={transform:"translate(".concat(n.containerWidth/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(s," ").concat(a)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:e.transform,containerWidth:s.width,iconWidth:o.width}),x={tag:"rect",attributes:Li(Li({},uD),{},{fill:"white"})},p=f.children?{children:f.children.map(r$)}:{},P={tag:"g",attributes:Li({},m.inner),children:[r$(Li({tag:f.tag,attributes:Li(Li({},f.attributes),m.path)},p))]},T={tag:"g",attributes:Li({},m.outer),children:[P]},H="mask-".concat(a||Fv()),U="clip-".concat(a||Fv()),ee={tag:"mask",attributes:Li(Li({},uD),{},{id:H,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,T]},ie={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:(n=v,"g"===n.tag?n.children:[n])},ee]};
vendor: 3,328 bytes, line 1
1return r.push(ie,{tag:"rect",attributes:Li({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(H,")")},uD)}),{children:r,attributes:i}}}},N3e={provides:function(t){var e=!1;kp.matchMedia&&(e=kp.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Li(Li({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=Li(Li({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:Li(Li({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||a.children.push({tag:"animate",attributes:Li(Li({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Li(Li({},s),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:Li(Li({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:Li(Li({},s),{},{values:"1;0;0;0;0;1;"})}]}),e||r.push({tag:"path",attributes:Li(Li({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Li(Li({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},z3e=[N6e,C3e,S3e,E3e,A3e,I3e,O3e,R3e,P3e,N3e,{hooks:function(){return{parseNodeAttributes:function(e,r){var i=r.getAttribute("data-fa-symbol");return e.symbol=null!==i&&(""===i||i),e}}}}];!function Z6e(n,t){var e=t.mixoutsTo;zU=n,vg={},Object.keys(yg).forEach(function(r){-1===X6e.indexOf(r)&&delete yg[r]}),zU.forEach(function(r){var i=r.mixout?r.mixout():{};
1if(Object.keys(i).forEach(function(s){"function"==typeof i[s]&&(e[s]=i[s]),"object"===p_(i[s])&&Object.keys(i[s]).forEach(function(a){e[s]||(e[s]={}),e[s][a]=i[s][a]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(s){vg[s]||(vg[s]=[]),vg[s].push(o[s])})}r.provides&&r.provides(yg)})}(z3e,{mixoutsTo:hf});var i$=hf.parse,B3e=hf.findIconDefinition,V3e=hf.icon;const o$=["*"];let s$=(()=>{class n{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({factory:function(){return new n},token:n,providedIn:"root"}),n})(),U3e=(()=>{class n{constructor(){this.definitions={}}addIcons(...e){for(const r of e)r.prefix in this.definitions||(this.definitions[r.prefix]={}),this.definitions[r.prefix][r.iconName]=r}addIconPacks(...e){for(const r of e){const i=Object.keys(r).map(o=>r[o]);this.addIcons(...i)}}getIconDefinition(e,r){return e in this.definitions&&r in this.definitions[e]?this.definitions[e][r]:null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({factory:function(){return new n},token:n,providedIn:"root"}),n})();const a$=n=>{const t={"fa-spin":n.spin,"fa-pulse":n.pulse,"fa-fw":n.fixedWidth,"fa-border":n.border,"fa-inverse":n.inverse,"fa-layers-counter":n.counter,"fa-flip-horizontal":"horizontal"===n.flip||"both"===n.flip,"fa-flip-vertical":"vertical"===n.flip||"both"===n.flip,[`fa-${n.size}`]:null!==n.size,[`fa-rotate-${n.rotate}`]:null!==n.rotate,[`fa-pull-${n.pull}`]:null!==n.pull,[`fa-stack-${n.stackItemSize}`]:null!=n.stackItemSize};return Object.keys(t).map(e=>t[e]?e:null).filter(e=>e)};let Y3e=(()=>{class n{constructor(){this.stackItemSize="1x"}ngOnChanges(e){if("size"in e)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[Hs]}),n})(),K3e=(()=>{class n{constructor(e,r){this.renderer=e,this.elementRef=r}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(e){"size"in e&&(null!=e.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${e.size.currentValue}`),null!=e.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${e.size.previousValue}`))}}return n.\u0275fac=function(e){return new(e||n)(he(k1),he(Jr))},n.\u0275cmp=Ir({type:n,selectors:[["fa-stack"]],inputs:{size:"size"},features:[Hs],ngContentSelectors:o$,decls:1,vars:0,template:function(e,r){1&e&&(wu(),ba(0))},encapsulation:2}),n})(),l$=(()=>{class n{constructor(e,r,i,o,s){this.sanitizer=e,this.config=r,this.iconLibrary=i,this.stackItem=o,this.classes=[],null!=s&&null==o&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(e){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();let r=null;if(r=this.icon??this.config.fallbackIcon,e){const i=this.findIconDefinition(r);if(null!=i){const o=this.buildParams();this.renderIcon(i,o)}}}render(){this.ngOnChanges({})}findIconDefinition(e){const r=((n,t)=>(n=>void 0!==n.prefix&&void 0!==n.iconName)(n)?n:Array.isArray(n)&&2===n.length?{prefix:n[0],iconName:n[1]}:"string"==typeof n?{prefix:t,iconName:n}:void 0)(e,this.config.defaultPrefix);if("icon"in r)return r;const i=this.iconLibrary.getIconDefinition(r.prefix,r.iconName);if(null!=i)return i;const o=B3e(r);if(null!=o){const s="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+s);else if(!this.config.globalLibrary)throw new Error(s);return o}return(n=>{throw new Error(`Could not find icon with iconName=${n.iconName} and prefix=${n.prefix} in the icon library.`)})(r),null}buildParams(){const e={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},r="string"==typeof this.transform?i$.transform(this.transform):this.transform;return{title:this.title,transform:r,classes:[...a$(e),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(e,r){const i=V3e(e,r);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(i.html.join("\n"))}}return n.\u0275fac=function(e){return new(e||n)(he(vp),he(s$),he(U3e),he(Y3e,8),he(K3e,8))},n.\u0275cmp=Ir({type:n,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(e,r){2&e&&(Wf("innerHTML",r.renderedIconHTML,n6),ro("title",r.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol
1:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[Hs],decls:0,vars:0,template:function(e,r){},encapsulation:2}),n})(),X3e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();function f$(n,t,e,r,i,o,s){try{var a=n[o](s),l=a.value}catch(u){return void e(u)}a.done?t(l):Promise.resolve(l).then(r,i)}function Mr(n){return function(){var t=this,e=arguments;return new Promise(function(r,i){var o=n.apply(t,e);function s(l){f$(o,r,i,s,a,"next",l)}function a(l){f$(o,r,i,s,a,"throw",l)}s(void 0)})}}class Z3e{constructor(){this._listeners=new Map}addEventListener(t,e){var r;this.removeEventListener(t,e),this._listeners.get(t)||this._listeners.set(t,[]),null===(r=this._listeners.get(t))||void 0===r||r.push(e)}dispatchEvent(t,e){var r;null===(r=this._listeners.get(t))||void 0===r||r.forEach(i=>i(e))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){const r=this._listeners.get(t);if(!r)return;const i=r.length,o=r.indexOf(e);o<0||(1===i?this._listeners.delete(t):r.splice(o,1))}}class pf{constructor(t,e,r){if("number"!=typeof t&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:0}else{if(void 0===t||void 0===e)throw new Error("tsParticles - Vector3d not initialized correctly");this.x=t,this.y=e,this.z=r??0}}static get origin(){return pf.create(0,0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this.updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this.updateFromAngle(this.angle,t)}static clone(t){return pf.create(t.x,t.y,t.z)}static create(t,e,r){return new pf(t,e,r)}add(t){return pf.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return pf.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return pf.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**2+this.y**2}mult(t){return pf.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}rotate(t){return pf.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),0)}setTo(t){this.x=t.x,this.y=t.y,this.z=t.z?t.z:0}sub(t){return pf.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}updateFromAngle(t,e){this.x=Math.cos(t)*e,this.y=Math.sin(t)*e}}class el extends pf{constructor(t,e){super(t,e,0)}static get origin(){return el.create(0,0)}static clone(t){return el.create(t.x,t.y)}static create(t,e){return new el(t,e)}}let d$=Math.random;const fD=new Map;function h$(n){var t;return null!==(t=fD.get(n))&&void 0!==t?t:r=>r}function is(){return rd(d$(),0,1-1e-16)}function rd(n,t,e){return Math.min(Math.max(n,t),e)}function dD(n,t,e,r){return Math.floor((n*e+t*r)/(e+r))}function Kc(n){const t=Jd(n);let e=Hv(n);return t===e&&(e=0),is()*(t-e)+e}function Pi(n){return"number"==typeof n?n:Kc(n)}function Hv(n){return"number"==typeof n?n:n.min}function Jd(n){return"number"==typeof n?n:n.max}function Do(n,t){if(n===t||void 0===t&&"number"==typeof n)return n;const e=Hv(n),r=Jd(n);return void 0!==t?{min:Math.min(e,t),max:Math.max(r,t)}:Do(e,r)}function h0(n){const t=n.random,{enable:e,minimumValue:r}="boolean"==typeof t?{enable:t,minimumValue:0}:t;return Pi(e?Do(n.value,r):n.value)}function l1(n,t){const e=n.x-t.x,r=n.y-t.y;return{dx:e,dy:r,distance:Math.sqrt(e*e+r*r)}}function Xc(n,t){return l1(n,t).distance}function p$(n,t,e,r){return el.create(n.x*(e-r)/(e+r)+2*t.x*r/(e+r),n.y)}function m$(n){var t,e,r,i;return{x:(null!==(e=null===(t=n.position)||void 0===t?void 0:t.x)&&void 0!==e?e:100*is())*n.size.width/100,y:(null!==(i=null===(r=n.position)||void 0===r?void 0:r.y)&&void 0!==i?i:100*is())*n.size.height/100}}function g$(n){var t,e;const r={x:void 0!==(null===(t=n.position)||void 0===t?void 0:t.x)?Pi(n.position.x):void 0,y:void 0!==(null===(e=n.position)||void 0===e?void 0:e.y)?Pi(n.position.y):void 0};return m$({size:n.size,position:r})}function y$(n){return n?n.endsWith("%")?parseFloat(n)/100:parseFloat(n):1}function b$(n,t,e,r,i,o){const s={bounced:!1}
1;return t.min<r.min||t.min>r.max||t.max<r.min||t.max>r.max||(n.max>=e.min&&n.max<=(e.max+e.min)/2&&i>0||n.min<=e.max&&n.min>(e.max+e.min)/2&&i<0)&&(s.velocity=i*-o,s.bounced=!0),s}function j6(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function _$(n){if(function nme(){return!j6()&&typeof matchMedia<"u"}())return matchMedia(n)}function hl(n,t){return n===t||t instanceof Array&&t.indexOf(n)>-1}function hD(){return(hD=Mr(function*(n,t){try{yield document.fonts.load(`${t??"400"} 36px '${n??"Verdana"}'`)}catch{}})).apply(this,arguments)}function x$(n){return Math.floor(is()*n.length)}function jv(n,t,e=!0){return n[void 0!==t&&e?t%n.length:x$(n)]}function Uv(n,t,e,r,i){return function sme(n,t,e,r){let i=!0;return(!r||"bottom"===r)&&(i=n.top<t.height+e.x),i&&(!r||"left"===r)&&(i=n.right>e.x),i&&(!r||"right"===r)&&(i=n.left<t.width+e.y),i&&(!r||"top"===r)&&(i=n.bottom>e.y),i}($v(n,r??0),t,e,i)}function $v(n,t){return{bottom:n.y+t,left:n.x-t,right:n.x+t,top:n.y-t}}function hc(n,...t){for(const e of t){if(null==e)continue;if("object"!=typeof e){n=e;continue}const r=Array.isArray(e);!r||"object"==typeof n&&n&&Array.isArray(n)?!r&&("object"!=typeof n||!n||Array.isArray(n))&&(n={}):n=[];for(const i in e){if("__proto__"===i)continue;const s=e[i],l=n;l[i]="object"==typeof s&&Array.isArray(s)?s.map(u=>hc(l[i],u)):hc(l[i],s)}}return n}function pD(n,t){return!!S$(t,e=>e.enable&&hl(n,e.mode))}function mD(n,t,e){Sl(t,r=>{r.enable&&hl(n,r.mode)&&function ame(n,t){Sl(n.selectors,r=>{t(r,n)})}(r,e)})}function w$(n,t){if(t&&n)return S$(n,e=>function tme(n,t){const e=Sl(t,r=>n.matches(r));return e instanceof Array?e.some(r=>r):e}(t,e.selectors))}function gD(n){return{position:n.getPosition(),radius:n.getRadius(),mass:n.getMass(),velocity:n.velocity,factor:el.create(h0(n.options.bounce.horizontal),h0(n.options.bounce.vertical))}}function C$(n,t){const{x:e,y:r}=n.velocity.sub(t.velocity),[i,o]=[n.position,t.position],{dx:s,dy:a}=l1(o,i);if(e*s+r*a<0)return;const l=-Math.atan2(a,s),u=n.mass,f=t.mass,h=n.velocity.rotate(l),v=t.velocity.rotate(l),m=p$(h,v,u,f),x=p$(v,h,u,f),p=m.rotate(-l),P=x.rotate(-l);n.velocity.x=p.x*n.factor.x,n.velocity.y=p.y*n.factor.y,t.velocity.x=P.x*t.factor.x,t.velocity.y=P.y*t.factor.y}function lme(n,t){const i=$v(n.getPosition(),n.getRadius()),o=b$({min:i.left,max:i.right},{min:i.top,max:i.bottom},{min:t.left,max:t.right},{min:t.top,max:t.bottom},n.velocity.x,h0(n.options.bounce.horizontal));o.bounced&&(void 0!==o.velocity&&(n.velocity.x=o.velocity),void 0!==o.position&&(n.position.x=o.position));const s=b$({min:i.top,max:i.bottom},{min:i.left,max:i.right},{min:t.top,max:t.bottom},{min:t.left,max:t.right},n.velocity.y,h0(n.options.bounce.vertical));s.bounced&&(void 0!==s.velocity&&(n.velocity.y=s.velocity),void 0!==s.position&&(n.position.y=s.position))}function Sl(n,t){return n instanceof Array?n.map(e=>t(e)):t(n)}function s2(n,t,e){return n instanceof Array?jv(n,t,e):n}function S$(n,t){return n instanceof Array?n.find(e=>t(e)):t(n)?n:void 0}const D_="random",k_="mid",T_=new Map;function E$(n){T_.set(n.key,n)}function vD(n,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?n+6*(t-n)*e:e<.5?t:e<2/3?n+(t-n)*(2/3-e)*6:n}function a2(n,t,e=!0){if(!n)return;const r="string"==typeof n?{value:n}:n;if("string"==typeof r.value)return yD(r.value,t,e);if(r.value instanceof Array)return a2({value:jv(r.value,t,e)});for(const[,i]of T_){const o=i.handleRangeColor(r);if(o)return o}}function yD(n,t,e=!0){if(!n)return;const r="string"==typeof n?{value:n}:n;if("string"==typeof r.value)return r.value===D_?M$():function cme(n){return function A$(n){for(const[,o]of T_)if(n.startsWith(o.stringPrefix))return o.parseString(n);const e=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,(o,s,a,l,u)=>s+s+a+a+l+l+(void 0!==u?u+u:"")),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(e);return i?{a:void 0!==i[4]?parseInt(i[4],16)/255:1,b:parseInt(i[3],16),g:parseInt(i[2],16),r:parseInt(i[1],16)}:void 0}(n)}(r.value);if(r.value instanceof Array)return yD({value:jv(r.value,t,e)});for(const[,i]of T_){const o=i.handleColor(r);if(o)return o}}function Op(n,t,e=!0){const r=a2(n,t,e);return r?bD(r):void 0}function bD(n){const t=n.r/255,e=n.g/255,r=n.b/255,i=Math.max(t,e,r),o=Math.min(t,e,r),s={h:0,l:(i+o)/2,s:0};return i!==o&&(s.s=s.l<.5?(i-o)/(i+o):(i-o)/(2-i-o),s.h=t===i?(e-r)/(i-o):s.h=e===i?2+(r-t)/(i-o):4+(t-e)/(i-o)),s.l*=100,s.s*=100,s.h*=60,s.h<0&&(s.h+=360),s.h>=360&&(s.h-=360),s}function bg(n){const t={b:0,g:0,r:0},e={h:n.h/360,l:n.l/100,s:n.s/100};
1if(e.s){const r=e.l<.5?e.l*(1+e.s):e.l+e.s-e.l*e.s,i=2*e.l-r;t.r=vD(i,r,e.h+1/3),t.g=vD(i,r,e.h),t.b=vD(i,r,e.h-1/3)}else t.b=e.l,t.g=e.l,t.r=e.l;return t.r=Math.floor(255*t.r),t.g=Math.floor(255*t.g),t.b=Math.floor(255*t.b),t}function M$(n){const t=n??0;return{b:Math.floor(Kc(Do(t,256))),g:Math.floor(Kc(Do(t,256))),r:Math.floor(Kc(Do(t,256)))}}function Qd(n,t){return`rgba(${n.r}, ${n.g}, ${n.b}, ${t??1})`}function _g(n,t){return`hsla(${n.h}, ${n.s}%, ${n.l}%, ${t??1})`}function _D(n,t,e,r){let i=n,o=t;return void 0===i.r&&(i=bg(n)),void 0===o.r&&(o=bg(t)),{b:dD(i.b,o.b,e,r),g:dD(i.g,o.g,e,r),r:dD(i.r,o.r,e,r)}}function xD(n,t,e){var r,i;if(e===D_)return M$();if(e!==k_)return e;{const o=null!==(r=n.getFillColor())&&void 0!==r?r:n.getStrokeColor(),s=null!==(i=t?.getFillColor())&&void 0!==i?i:t?.getStrokeColor();if(o&&s&&t)return _D(o,s,n.getRadius(),t.getRadius());{const a=o??s;if(a)return bg(a)}}}function D$(n,t,e){const r="string"==typeof n?n:n.value;return r===D_?e?a2({value:r}):t?D_:k_:r===k_?k_:a2({value:r})}function k$(n){return void 0!==n?{h:n.h.value,s:n.s.value,l:n.l.value}:void 0}function T$(n,t,e){const r={h:{enable:!1,value:n.h},s:{enable:!1,value:n.s},l:{enable:!1,value:n.l}};return t&&(wD(r.h,t.h,e),wD(r.s,t.s,e),wD(r.l,t.l,e)),r}function wD(n,t,e){n.enable=t.enable,n.enable?(n.velocity=Pi(t.speed)/100*e,n.decay=1-Pi(t.decay),n.status=0,t.sync||(n.velocity*=is(),n.value*=is())):n.velocity=0}function Gv(n,t,e){n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.closePath()}function CD(n,t){n.clearRect(0,0,t.width,t.height)}const Wv="generated",I$="touchend",U6="pointermove",SD="pointerleave";function Mme(n,t,e){var r;const i=t[e];void 0!==i&&(n[e]=(null!==(r=n[e])&&void 0!==r?r:1)*i)}class Dme{constructor(t){this.container=t,this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[],this._mutationObserver=!j6()&&typeof MutationObserver<"u"?new MutationObserver(e=>{for(const r of e)"attributes"===r.type&&"style"===r.attributeName&&this._repairStyle()}):void 0}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const t=this.container.actualOptions,e=t.particles.move.trail;t.backgroundMask.enable?this.paint():e.enable&&e.length>0&&this._trailFillColor?this._paintBase(Qd(this._trailFillColor,1/e.length)):this.draw(r=>{CD(r,this.size)})}destroy(){var t,e;null===(t=this._mutationObserver)||void 0===t||t.disconnect(),this._generated?null===(e=this.element)||void 0===e||e.remove():this._resetOriginalStyle(),this.draw(r=>{CD(r,this.size)}),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(t){if(this._context)return t(this._context)}drawParticle(t,e){var r;if(t.spawning||t.destroyed)return;const i=t.getRadius();if(i<=0)return;const o=t.getFillColor(),s=null!==(r=t.getStrokeColor())&&void 0!==r?r:o;let[a,l]=this._getPluginParticleColors(t);a||(a=o),l||(l=s),(a||l)&&this.draw(u=>{var f,h,v,m,x;const p=this.container.actualOptions,P=t.options.zIndex,T=(1-t.zIndexFactor)**P.opacityRate,H=null!==(v=null!==(f=t.bubble.opacity)&&void 0!==f?f:null===(h=t.opacity)||void 0===h?void 0:h.value)&&void 0!==v?v:1,ee=H*T,ie=(null!==(x=null===(m=t.stroke)||void 0===m?void 0:m.opacity)&&void 0!==x?x:H)*T,me={},ue={fill:a?_g(a,ee):void 0};ue.stroke=l?_g(l,ie):ue.fill,this._applyPreDrawUpdaters(u,t,i,ee,ue,me),function hme(n){var t,e,r,i,o,s;const{container:a,context:l,particle:u,delta:f,colorStyles:h,backgroundMask:v,composite:m,radius:x,opacity:p,shadow:P,transform:T}=n,H=u.getPosition(),U=u.rotation+(u.pathRotation?u.velocity.angle:0),ee_sin=Math.sin(U),ee_cos=Math.cos(U),ie={a:ee_cos*(null!==(t=T.a)&&void 0!==t?t:1),b:ee_sin*(null!==(e=T.b)&&void 0!==e?e:1),c:-ee_sin*(null!==(r=T.c)&&void 0!==r?r:1),d:ee_cos*(null!==(i=T.d)&&void 0!==i?i:1)};l.setTransform(ie.a,ie.b,ie.c,ie.d,H.x,H.y),l.beginPath(),v&&(l.globalCompositeOperation=m);const me=u.shadowColor;P.enable&&me&&(l.shadowBlur=P.blur,l.shadowColor=Qd(me),l.shadowOffsetX=P.offset.x,l.shadowOffsetY=P.offset.y),h.fill&&(l.fillStyle=h.fill);const ue=u.stroke;l.lineWidth=null!==(o=u.strokeWidth)&&void 0!==o?o:0,h.stroke&&(l.strokeStyle=h.stroke),function pme(n,t,e,r,i,o){if(!e.shape)return;const s=n.drawers.get(e.shape);!s||s.draw(t,e,r,i,o,n.retina.pixelRatio)}(a,l,u,x,p,f),(null!==(s=ue?.width)&&void 0!==s?s:0)>0&&l.stroke(),u.close&&l.closePath(),u.fill&&l.fill(),function mme(n,t,e,r,i,o){if(!e.shape)return;const s=n.drawers.get(e.shape);!s?.afterEffect||s.afterEffect(t,e,r,i,o,n.retina.pixelRatio)}(a,l,u,x,p,f),l.globalCompositeOperation="source-over",l.setTransform(1,0,0,1,0,0)}({container:this.container,context:u,particle:t,delta:e,colorStyles:ue,backgroundMask:p.backgroundMask.enable,composite:p.backgroundMask.composite,radius:i*(1-t.zIndexFactor)**P.sizeRate,opacity:ee,shadow:t.options.shadow,transform:me}),this._applyPostDrawUpdaters(t)})}drawParticlePlugin(t,e,r){this.draw(i=>
1{!function vme(n,t,e,r){!t.drawParticle||t.drawParticle(n,e,r)}(i,t,e,r)})}drawPlugin(t,e){this.draw(r=>{!function gme(n,t,e){!t.draw||t.draw(n,e)}(r,t,e)})}init(){var t;this.resize(),this._initStyle(),this._initCover(),this._initTrail(),this.initBackground(),this.element&&(null===(t=this._mutationObserver)||void 0===t||t.observe(this.element,{attributes:!0})),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions.background,i=this.element?.style;if(i){if(e.color){const o=a2(e.color);i.backgroundColor=o?Qd(o,e.opacity):""}else i.backgroundColor="";i.backgroundImage=e.image||"",i.backgroundPosition=e.position||"",i.backgroundRepeat=e.repeat||"",i.backgroundSize=e.size||""}}initPlugins(){this._resizePlugins=[];for(const[,t]of this.container.plugins)t.resize&&this._resizePlugins.push(t),(t.particleFillColor||t.particleStrokeColor)&&this._colorPlugins.push(t)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const t of this.container.particles.updaters)t.afterDraw&&this._postDrawUpdaters.push(t),(t.getColorStyles||t.getTransformValues||t.beforeDraw)&&this._preDrawUpdaters.push(t)}loadCanvas(t){var e,r;this._generated&&(null===(e=this.element)||void 0===e||e.remove()),this._generated=t.dataset&&Wv in t.dataset?"true"===t.dataset[Wv]:this._generated,this.element=t,this.element.ariaHidden="true",this._originalStyle=hc({},this.element.style),this.size.height=t.offsetHeight,this.size.width=t.offsetWidth,this._context=this.element.getContext("2d"),null===(r=this._mutationObserver)||void 0===r||r.observe(this.element,{attributes:!0}
1),this.container.retina.init(),this.initBackground()}paint(){const t=this.container.actualOptions;this.draw(e=>{t.backgroundMask.enable&&t.backgroundMask.cover?(CD(e,this.size),this._paintBase(this._coverColorStyle)):this._paintBase()})}resize(){if(!this.element)return;const t=this.container,e=t.retina.pixelRatio,r=t.canvas.size,i_width=this.element.offsetWidth*e,i_height=this.element.offsetHeight*e;if(i_height===r.height&&i_width===r.width&&i_height===this.element.height&&i_width===this.element.width)return;const o=Object.assign({},r);this.element.width=r.width=this.element.offsetWidth*e,this.element.height=r.height=this.element.offsetHeight*e,this.container.started&&(this.resizeFactor={width:r.width/o.width,height:r.height/o.height})}windowResize(){var t=this;return Mr(function*(){if(!t.element)return;t.resize();const e=t.container,r=e.updateActualOptions();e.particles.setDensity(),t._applyResizePlugins(),r&&(yield e.refresh())})()}_applyPostDrawUpdaters(t){var e;for(const r of this._postDrawUpdaters)null===(e=r.afterDraw)||void 0===e||e.call(r,t)}_applyPreDrawUpdaters(t,e,r,i,o,s){var a;for(const l of this._preDrawUpdaters){if(l.getColorStyles){const{fill:u,stroke:f}=l.getColorStyles(e,t,r,i);u&&(o.fill=u),f&&(o.stroke=f)}if(l.getTransformValues){const u=l.getTransformValues(e);for(const f in u)Mme(s,u,f)}null===(a=l.beforeDraw)||void 0===a||a.call(l,e)}}_applyResizePlugins(){for(const t of this._resizePlugins)t.resize&&t.resize()}_getPluginParticleColors(t){let e,r;for(const i of this._colorPlugins)if(!e&&i.particleFillColor&&(e=Op(i.particleFillColor(t))),!r&&i.particleStrokeColor&&(r=Op(i.particleStrokeColor(t))),e&&r)break;return[e,r]}_initCover(){const e=this.container.actualOptions.backgroundMask.cover,i=a2(e.color);if(i){const o={r:i.r,g:i.g,b:i.b,a:e.opacity};this._coverColorStyle=Qd(o,o.a)}}_initStyle(){const t=this.element,e=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=hc({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const r in e.style){if(!r||!e.style)continue;const i=e.style[r];!i||t.style.setProperty(r,i,"important")}}}_initTrail(){const t=this.container.actualOptions,r=a2(t.particles.move.trail.fillColor);if(r){const i=t.particles.move.trail;this._trailFillColor=Object.assign(Object.assign({},r),{a:1/i.length})}}_paintBase(t){this.draw(e=>{!function dme(n,t,e){n.fillStyle=e??"rgba(0,0,0,0)",n.fillRect(0,0,t.width,t.height)}(e,this.size,t)})}_repairStyle(){var t,e;const r=this.element;!r||(null===(t=this._mutationObserver)||void 0===t||t.disconnect(),this._initStyle(),this.initBackgroun
1d(),null===(e=this._mutationObserver)||void 0===e||e.observe(r,{attributes:!0}))}_resetOriginalStyle(){const t=this.element,e=this._originalStyle;!t||!e||(t.style.position=e.position,t.style.zIndex=e.zIndex,t.style.top=e.top,t.style.left=e.left,t.style.width=e.width,t.style.height=e.height)}_setFullScreenStyle(){const t=this.element;if(!t)return;const e="important";t.style.setProperty("position","fixed",e),t.style.setProperty("z-index",this.container.actualOptions.fullScreen.zIndex.toString(10),e),t.style.setProperty("top","0",e),t.style.setProperty("left","0",e),t.style.setProperty("width","100%",e),t.style.setProperty("height","100%",e)}}function l2(n,t,e,r,i){if(r){let o={passive:!0};"boolean"==typeof i?o.capture=i:void 0!==i&&(o=i),n.addEventListener(t,e,o)}else n.removeEventListener(t,e,i)}class kme{constructor(t){this.container=t,this.canPush=!0,this.mouseMoveHandler=e=>this.mouseTouchMove(e),this.touchStartHandler=e=>this.mouseTouchMove(e),this.touchMoveHandler=e=>this.mouseTouchMove(e),this.touchEndHandler=()=>this.mouseTouchFinish(),this.mouseLeaveHandler=()=>this.mouseTouchFinish(),this.touchCancelHandler=()=>this.mouseTouchFinish(),this.touchEndClickHandler=e=>this.mouseTouchClick(e),this.mouseUpHandler=e=>this.mouseTouchClick(e),this.mouseDownHandler=()=>this.mouseDown(),this.visibilityChangeHandler=()=>this.handleVisibilityChange(),this.themeChangeHandler=e=>this.handleThemeChange(e),this.oldThemeChangeHandler=e=>this.handleThemeChange(e),this.resizeHandler=()=>this.handleWindowResize()}addListeners(){this.manageListeners(!0)}removeListeners(){this.manageListeners(!1)}doMouseTouchClick(t){const e=this.container,r=e.actualOptions;if(this.canPush){const i=e.interactivity.mouse.position;if(!i)return;e.interactivity.mouse.clickPosition=Object.assign({},i),e.interactivity.mouse.clickTime=(new Date).getTime(),Sl(r.interactivity.events.onClick.mode,s=>this.handleClickMode(s))}"touchend"===t.type&&setTimeout(()=>this.mouseTouchFinish(),500)}handleClickMode(t){this.container.handleClickMode(t)}handleThemeChange(t){const r=t.matches?this.container.options.defaultThemes.dark:this.container.options.defaultThemes.light,i=this.container.options.themes.find(o=>o.name===r);i&&i.default.auto&&this.container.loadTheme(r)}handleVisibilityChange(){const t=this.container,e=t.actualOptions;this.mouseTouchFinish(),e.pauseOnBlur&&(document?.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.getAnimationStatus()?t.play(!0):t.draw(!0)))}handleWindowResize(){var t=this;this.resizeTimeout&&(clearTimeout(this.resizeTimeout),delete this.resizeTimeout),this.resizeTimeout=setTimeout(Mr(function*(){var e;return null===(e=t.container.canvas)||void 0===e?void 0:e.windowResize()}),500)}manageListeners(t){var e;const r=this.container,i=r.actualOptions,o=i.interactivity.detectsOn;let s=SD;if("window"===o)r.interactivity.element=window,s="pointerout";else if("parent"===o&&r.canvas.element){const f=r.canvas.element;r.interactivity.element=null!==(e=f.parentElement)&&void 0!==e?e:f.parentNode}else r.interactivity.element=r.canvas.element;const a=_$("(prefers-color-scheme: dark)");a&&(void 0!==a.addEventListener?l2(a,"change",this.themeChangeHandler,t):void 0!==a.addListener&&(t?a.addListener(this.oldThemeChangeHandler):a.removeListener(this.oldThemeChangeHandler)));const l=r.interactivity.element;if(!l)return;const u=l;(i.interactivity.events.onHover.enable||i.interactivity.events.onClick.enable)&&(l2(l,U6,this.mouseMoveHandler,t),l2(l,"touchstart",this.touchStartHandler,t),l2(l,"touchmove",this.touchMoveHandler,t),i.interactivity.events.onClick.enable?(l2(l,I$,this.touchEndClickHandler,t),l2(l,"pointerup",this.mouseUpHandler,t),l2(l,"pointerdown",this.mouseDownHandler,t)):l2(l,I$,this.touchEndHandler,t),l2(l,s,this.mouseLeaveHandler,t),l2(l,"touchcancel",this.touchCancelHandler,t)),r.canvas.element&&(r.canvas.element.style.pointerEvents=u===r.canvas.element?"initial":"none"),i.interactivity.events.resize&&(typeof ResizeObserver<"u"?this.resizeObserver&&!t?(r.canvas.element&&this.resizeObserver.unobserve(r.canvas.element),this.resizeObserver.disconnect(),delete this.resizeObserver):!this.resizeObserver&&t&&r.canvas.element&&(this.resizeObserver=new ResizeObserver(f=>{!f.find(v=>v.target===r.canvas.element)||this.handleWindowResize()}),this.resizeObserver.observe(r.canvas.element)):l2(window,"resize",this.resizeHandler,t)),document&&l2(document,"visibilitychange",this.visibilityChangeHandler,t,!1)}mouseDown(){const t=this.container.interactivity;if(t){const e=t.mouse;e.clicking=!0,e.downPosition=e.position}}mouseTouchClick(t){const e=this.container,r=e.actualOptions,i=e.interactivity.mouse;i.inside=!0;let o=!1;const s=i.position;if(s&&r.interactivity.events.onClick.enable){for(const[,a]of e.plugins)if(a.clickPositionValid&&
1(o=a.clickPositionValid(s),o))break;o||this.doMouseTouchClick(t),i.clicking=!1}}mouseTouchFinish(){const t=this.container.interactivity;if(!t)return;const e=t.mouse;delete e.position,delete e.clickPosition,delete e.downPosition,t.status=SD,e.inside=!1,e.clicking=!1}mouseTouchMove(t){var e,r,i,o,s,a,l;const u=this.container,f=u.actualOptions;if(null===(e=u.interactivity)||void 0===e||!e.element)return;let h;u.interactivity.mouse.inside=!0;const v=u.canvas.element;if(t.type.startsWith("pointer")){this.canPush=!0;const x=t;if(u.interactivity.element===window){if(v){const p=v.getBoundingClientRect();h={x:x.clientX-p.left,y:x.clientY-p.top}}}else if("parent"===f.interactivity.detectsOn){const p=x.target,P=x.currentTarget,T=u.canvas.element;if(p&&P&&T){const H=p.getBoundingClientRect(),U=P.getBoundingClientRect(),ee=T.getBoundingClientRect();h={x:x.offsetX+2*H.left-(U.left+ee.left),y:x.offsetY+2*H.top-(U.top+ee.top)}}else h={x:null!==(r=x.offsetX)&&void 0!==r?r:x.clientX,y:null!==(i=x.offsetY)&&void 0!==i?i:x.clientY}}else x.target===u.canvas.element&&(h={x:null!==(o=x.offsetX)&&void 0!==o?o:x.clientX,y:null!==(s=x.offsetY)&&void 0!==s?s:x.clientY})}else{this.canPush="touchmove"!==t.type;const p=t.touches[t.touches.length-1],P=v?.getBoundingClientRect();h={x:p.clientX-(null!==(a=P?.left)&&void 0!==a?a:0),y:p.clientY-(null!==(l=P?.top)&&void 0!==l?l:0)}}const m=u.retina.pixelRatio;h&&(h.x*=m,h.y*=m),u.interactivity.mouse.position=h,u.interactivity.status=U6}}class Ime{constructor(t){this.container=t}nextFrame(t){var e=this;return Mr(function*(){var r;try{const i=e.container;if(!i.smooth&&void 0!==i.lastFrameTime&&t<i.lastFrameTime+1e3/i.fpsLimit)return void i.draw(!1);null!==(r=i.lastFrameTime)&&void 0!==r||(i.lastFrameTime=t);const o=function Tme(n,t=60,e=!1){return{value:n,factor:e?60/t:60*n/1e3}}(t-i.lastFrameTime,i.fpsLimit,i.smooth);if(i.lifeTime+=o.value,i.lastFrameTime=t,o.value>1e3)return void i.draw(!1);if(yield i.particles.draw(o),i.duration>0&&i.lifeTime>i.duration)return void i.destroy();i.getAnimationStatus()&&i.draw(!1)}catch(i){console.error("tsParticles error in animation loop",i)}})()}}class Gl{constructor(){this.value=""}static create(t,e){const r=new Gl;return r.load(t),void 0!==e&&r.load("string"==typeof e||e instanceof Array?{value:e}:e),r}load(t){void 0!==t?.value&&(this.value=t.value)}}class Ome{constructor(){this.color=new Gl,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){!t||(void 0!==t.color&&(this.color=Gl.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Rme{constructor(){this.color=new Gl,this.color.value="#fff",this.opacity=1}load(t){!t||(void 0!==t.color&&(this.color=Gl.create(this.color,t.color)),void 0!==t.opacity&&(this.opacity=t.opacity))}}class Lme{constructor(){this.composite="destination-out",this.cover=new Rme,this.enable=!1}load(t){if(t){if(void 0!==t.composite&&(this.composite=t.composite),void 0!==t.cover){const e=t.cover,r="string"==typeof t.cover?{color:t.cover}:t.cover;this.cover.load(void 0!==e.color?e:{color:r})}void 0!==t.enable&&(this.enable=t.enable)}}}class Pme{constructor(){this.enable=!0,this.zIndex=0}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class Nme{constructor(){this.enable=!1,this.mode=[]}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}class O${constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}get el(){return this.elementId}set el(t){this.elementId=t}get elementId(){return this.ids}set elementId(t){this.ids=t}get ids(){return Sl(this.selectors,t=>t.replace("#",""))}set ids(t){this.selectors=Sl(t,e=>`#${e}`)}load(t){var e,r;if(!t)return;const i=null!==(r=null!==(e=t.ids)&&void 0!==e?e:t.elementId)&&void 0!==r?r:t.el;void 0!==i&&(this.ids=i),void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.t
1ype=t.type)}}class Fme{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}class zme{constructor(){this.enable=!1,this.mode=[],this.parallax=new Fme}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}class Bme{constructor(){this.onClick=new Nme,this.onDiv=new O$,this.onHover=new zme,this.resize=!0}get onclick(){return this.onClick}set onclick(t){this.onClick=t}get ondiv(){return this.onDiv}set ondiv(t){this.onDiv=t}get onhover(){return this.onHover}set onhover(t){this.onHover=t}load(t){var e,r,i;if(!t)return;this.onClick.load(null!==(e=t.onClick)&&void 0!==e?e:t.onclick);const o=null!==(r=t.onDiv)&&void 0!==r?r:t.ondiv;void 0!==o&&(this.onDiv=Sl(o,s=>{const a=new O$;return a.load(s),a})),this.onHover.load(null!==(i=t.onHover)&&void 0!==i?i:t.onhover),void 0!==t.resize&&(this.resize=t.resize)}}class Vme{constructor(t,e){this._engine=t,this._container=e}load(t){if(t&&this._container){const e=this._engine.plugins.interactors.get(this._container);if(e)for(const r of e)r.loadModeOptions&&r.loadModeOptions(this,t)}}}class R${constructor(t,e){this.detectsOn="window",this.events=new Bme,this.modes=new Vme(t,e)}get detect_on(){return this.detectsOn}set detect_on(t){this.detectsOn=t}load(t){var e;if(!t)return;const r=null!==(e=t.detectsOn)&&void 0!==e?e:t.detect_on;void 0!==r&&(this.detectsOn=r),this.events.load(t.events),this.modes.load(t.modes)}}class Hme{load(t){var e,r;!t||(void 0!==t.position&&(this.position={x:null!==(e=t.position.x)&&void 0!==e?e:50,y:null!==(r=t.position.y)&&void 0!==r?r:50}),void 0!==t.options&&(this.options=hc({},t.options)))}}class jme{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(t){!t||(void 0!==t.maxWidth&&(this.maxWidth=t.maxWidth),void 0!==t.mode&&(this.mode="screen"===t.mode?"screen":"canvas"),void 0!==t.options&&(this.options=hc({},t.options)))}}class Ume{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(t){!t||(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class $me{constructor(){this.name="",this.default=new Ume}load(t){!t||(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=hc({},t.options)))}}class ED{constructor(){this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.decay=0,this.sync=!0}load(t){!t||(void 0!==t.count&&(this.count=Do(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.offset&&(this.offset=Do(t.offset)),void 0!==t.speed&&(this.speed=Do(t.speed)),void 0!==t.decay&&(this.decay=Do(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class Gme{constructor(){this.h=new ED,this.s=new ED,this.l=new ED}load(t){!t||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class xg extends Gl{constructor(){super(),this.animation=new Gme}static create(t,e){const r=new xg;return r.load(t),void 0!==e&&r.load("string"==typeof e||e instanceof Array?{value:e}:e),r}load(t){if(super.load(t),!t)return;const e=t.animation;void 0!==e&&(void 0!==e.enable?this.animation.h.load(e):this.animation.load(t.animation))}}class Wme{constructor(){this.speed=2}load(t){!t||void 0!==t.speed&&(this.speed=t.speed)}}class qme{constructor(){this.enable=!0,this.retries=0}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.retries&&(this.retries=t.retries))}}class Yme{constructor(){this.enable=!1,this.minimumValue=0}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.minimumValue&&(this.minimumValue=t.minimumValue))}}class c2{constructor(){this.random=new Yme,this.value=0}load(t){!t||("boolean"==typeof t.random?this.random.enable=t.random:this.random.load(t.random),void 0!==t.value&&(this.value=Do(t.value,this.random.enable?this.random.minimumValue:void 0)))}}class L$ extends c2{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class P${constructor(){this.horizontal=new L$,this.vertical=new L$}load(t){!t||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class Kme{constructor(){this.absorb=new Wme,this.bounce=new P$,this.enable=!1,this.mode="bounce",this.overlap=new qme}load(t){!t||(this.absorb.load(t.absorb),this.bounce.load(t.bounce),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.overlap.load(t.overlap))}}class Xme{constructor(){this.offset=0,this.value=90}load(t){!t||(void 0!==t.offset&&(this.offset=Do(t.offset)),void 0!==t.value&&(this.value=Do(t.value)))}}class Zme{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}get rotateX(){return this.rotate.x}set rotateX(t){this.rotate.x=t}get rotateY(){return this.rotate.y}set rotateY(t){this.rotate.y=t}load(t){var e,r,i,o;if(!t)return;
1void 0!==t.distance&&(this.distance=Do(t.distance)),void 0!==t.enable&&(this.enable=t.enable);const s=null!==(r=null===(e=t.rotate)||void 0===e?void 0:e.x)&&void 0!==r?r:t.rotateX;void 0!==s&&(this.rotate.x=s);const a=null!==(o=null===(i=t.rotate)||void 0===i?void 0:i.y)&&void 0!==o?o:t.rotateY;void 0!==a&&(this.rotate.y=a)}}class Jme{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(t){!t||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}class Qme{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){!t||(void 0!==t.acceleration&&(this.acceleration=Do(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=Do(t.maxSpeed)))}}class ege{constructor(){this.clamp=!0,this.delay=new c2,this.enable=!1,this.options={}}load(t){!t||(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=hc(this.options,t.options)))}}class tge{constructor(){this.enable=!1,this.length=10,this.fillColor=new Gl,this.fillColor.value="#000000"}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),this.fillColor=Gl.create(this.fillColor,t.fillColor),void 0!==t.length&&(this.length=t.length))}}class nge{constructor(){this.default="out"}load(t){var e,r,i,o;!t||(void 0!==t.default&&(this.default=t.default),this.bottom=null!==(e=t.bottom)&&void 0!==e?e:t.default,this.left=null!==(r=t.left)&&void 0!==r?r:t.default,this.right=null!==(i=t.right)&&void 0!==i?i:t.default,this.top=null!==(o=t.top)&&void 0!==o?o:t.default)}}class rge{constructor(){this.acceleration=0,this.enable=!1}load(t){!t||(void 0!==t.acceleration&&(this.acceleration=Do(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),this.position=t.position?hc({},t.position):void 0)}}class ige{constructor(){this.angle=new Xme,this.attract=new Zme,this.center=new Jme,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new Qme,this.path=new ege,this.outModes=new nge,this.random=!1,this.size=!1,this.speed=2,this.spin=new rge,this.straight=!1,this.trail=new tge,this.vibrate=!1,this.warp=!1}get bounce(){return this.collisions}set bounce(t){this.collisions=t}get collisions(){return!1}set collisions(t){}get noise(){return this.path}set noise(t){this.path=t}get outMode(){return this.outModes.default}set outMode(t){this.outModes.default=t}get out_mode(){return this.outMode}set out_mode(t){this.outMode=t}load(t){var e,r,i;if(!t)return;this.angle.load("number"==typeof t.angle?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=t.decay),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance="number"==typeof t.distance?{horizontal:t.distance,vertical:t.distance}:Object.assign({},t.distance)),void 0!==t.drift&&(this.drift=Do(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);const o=null!==(r=null!==(e=t.outModes)&&void 0!==e?e:t.outMode)&&void 0!==r?r:t.out_mode;void 0!==o&&this.outModes.load("object"==typeof o?o:{default:o}),this.path.load(null!==(i=t.path)&&void 0!==i?i:t.noise),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=Do(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),this.trail.load(t.trail),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}class N${constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.sync=!1}load(t){!t||(void 0!==t.count&&(this.count=Do(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=Do(t.speed)),void 0!==t.decay&&(this.decay=Do(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class oge extends N${constructor(){super(),this.destroy="none",this.enable=!1,this.speed=2,this.startValue="random",this.sync=!1}get opacity_min(){return this.minimumValue}set opacity_min(t){this.minimumValue=t}load(t){var e;!t||(super.load(t),void 0!==t.destroy&&(this.destroy=t.destroy),void 0!==t.enable&&(this.enable=t.enable),this.minimumValue=null!==(e=t.minimumValue)&&void 0!==e?e:t.opacity_min,void 0!==t.speed&&(this.speed=t.speed),void 0!==t.startValue&&(this.startValue=t.startValue),void 0!==t.sync&&(this.sync=t.sync))}}class sge extends c2{constructor(){super(),this.animation=new oge,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(t){this.animation=t}load(t){var e;if(!t)return;super.load(t);const r=null!==(e=t.animation)&&void 0!==e?e:t.anim;void 0!==r&&(this.animation.load(r),this.value=Do(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class age{constructor(){this.enable=!1,this.area=800,this.factor=1e3}get value_area(){return this.area}set value_area(t){this.area=t}load(t){var e;if(!t)return;void 0!==t.enable&&(this.enable=t.enable);const r=null!==(e=t.area)&&void 0!==e?e:t.value_area;void 0!==r&&(this.area=r),void 0!==t.factor&&(this.factor=t.factor)}}class lge{constructor(){this.density=new age,this.limit=0,this.value=100}get max(){return this.limit}set max(t){this.limit=t}load(t){var e;if(!t)return;this.density.load(t.density);const r=null!==(e=t.limit)&&void 0!==e?e:t.max;void 0!==r&&(this.limit=r),void 0!==t.value&&(this.value=t.value)}}class cge{constructor(){this.blur=0,this.color=new Gl,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){!t||(void 0!==t.blur&&(this.blur=t.blur),this.color=Gl.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.offset&&(void 0!==t.offset.x&&(this.offset.x=t.offset.x),void 0!==t.offset.y&&(this.offset.y=t.offset.y)))}}const AD="character",MD="char",DD="image",kD="images",TD="polygon",ID="star";class uge{constructor(){this.options={},this.type="circle"}get character(){var t;return null!==(t=this.options[AD])&&void 0!==t?t:this.options[MD]}set character(t){this.options[MD]=this.options[AD]=t}get custom(){return this.options}set custom(t){this.options=t}get image(){var t;return null!==(t=this.options[DD])&&void 0!==t?t:this.options[kD]}set image(t){this.options[kD]=this.options[DD]=t}get images(){return this.image}set images(t){this.image=t}get polygon(){var t;return null!==(t=this.options[TD])&&void 0!==t?t:this.options[ID]}set polygon(t){this.options[ID]=this.options[TD]=t}get stroke(){return[]}set stroke(t){}load(t){var e,r,i;if(!t)return;const o=null!==(e=t.options)&&void 0!==e?e:t.custom;if(void 0!==o)for(const s in o){const a=o[s];a&&(this.options[s]=hc(null!==(r=this.options[s])&&void 0!==r?r:{},a))}this.loadShape(t.character,AD,MD,!0),this.loadShape(t.polygon,TD,ID,!1),this.loadShape(null!==(i=t.image)&&void 0!==i?i:t.images,DD,kD,!0),void 0!==t.type&&(this.t
1ype=t.type)}loadShape(t,e,r,i){var o,s;if(!t)return;const a=t instanceof Array,l=a?[]:{},f=a!==this.options[r]instanceof Array;a!==this.options[e]instanceof Array&&(this.options[e]=l),f&&i&&(this.options[r]=l),this.options[e]=hc(null!==(o=this.options[e])&&void 0!==o?o:l,t),(!this.options[r]||i)&&(this.options[r]=hc(null!==(s=this.options[r])&&void 0!==s?s:l,t))}}class fge extends N${constructor(){super(),this.destroy="none",this.enable=!1,this.speed=5,this.startValue="random",this.sync=!1}get size_min(){return this.minimumValue}set size_min(t){this.minimumValue=t}load(t){var e;super.load(t),t&&(void 0!==t.destroy&&(this.destroy=t.destroy),void 0!==t.enable&&(this.enable=t.enable),this.minimumValue=null!==(e=t.minimumValue)&&void 0!==e?e:t.size_min,void 0!==t.speed&&(this.speed=t.speed),void 0!==t.startValue&&(this.startValue=t.startValue),void 0!==t.sync&&(this.sync=t.sync))}}class dge extends c2{constructor(){super(),this.animation=new fge,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(t){this.animation=t}load(t){var e;if(super.load(t),!t)return;const r=null!==(e=t.animation)&&void 0!==e?e:t.anim;void 0!==r&&(this.animation.load(r),this.value=Do(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class F${constructor(){this.width=0}load(t){!t||(void 0!==t.color&&(this.color=xg.create(this.color,t.color)),void 0!==t.width&&(this.width=t.width),void 0!==t.opacity&&(this.opacity=t.opacity))}}class hge extends c2{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),t&&(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}class pge{constructor(t,e){this._engine=t,this._container=e,this.bounce=new P$,this.collisions=new Kme,this.color=new xg,this.color.value="#fff",this.groups={},this.move=new ige,this.number=new lge,this.opacity=new sge,this.reduceDuplicates=!1,this.shadow=new cge,this.shape=new uge,this.size=new dge,this.stroke=new F$,this.zIndex=new hge}load(t){var e,r,i,o,s,a;if(!t)return;if(this.bounce.load(t.bounce),this.color.load(xg.create(this.color,t.color)),void 0!==t.groups)for(const f in t.groups){const h=t.groups[f];void 0!==h&&(this.groups[f]=hc(null!==(e=this.groups[f])&&void 0!==e?e:{},h))}this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.shape.load(t.shape),this.size.load(t.size),this.shadow.load(t.shadow),this.zIndex.load(t.zIndex);const l=null!==(i=null===(r=t.move)||void 0===r?void 0:r.collisions)&&void 0!==i?i:null===(o=t.move)||void 0===o?void 0:o.bounce;void 0!==l&&(this.collisions.enable=l),this.collisions.load(t.collisions),void 0!==t.interactivity&&(this.interactivity=hc({},t.interactivity));const u=null!==(s=t.stroke)&&void 0!==s?s:null===(a=t.shape)||void 0===a?void 0:a.stroke;if(u&&(this.stroke=Sl(u,f=>{const h=new F$;return h.load(f),h})),this._container){const f=this._engine.plugins.updaters.get(this._container);if(f)for(const v of f)v.loadOptions&&v.loadOptions(this,t);const h=this._engine.plugins.interactors.get(this._container);if(h)for(const v of h)v.loadParticlesOptions&&v.loadParticlesOptions(this,t)}}}function z$(n,...t){for(const e of t)n.load(e)}function OD(n,t,...e){const r=new pge(n,t);return z$(r,...e),r}class mge{constructor(t,e){this._engine=t,this._container=e,this.autoPlay=!0,this.background=new Ome,this.backgroundMask=new Lme,this.defaultThemes={},this.delay=0,this.fullScreen=new Pme,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new R$(t,e),this.manualParticles=[],this.particles=OD(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}get backgroundMode(){return this.fullScreen}set backgroundMode(t){this.fullScreen.load(t)}get fps_limit(){return this.fpsLimit}set fps_limit(t){this.fpsLimit=t}get retina_detect(){return this.detectRetina}set retina_detect(t){this.detectRetina=t}load(t){var e,r,i,o,s;if(!t)return;void 0!==t.preset&&Sl(t.preset,h=>this._importPreset(h)),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.delay&&(this.delay=Do(t.delay));const a=null!==(e=t.detectRetina)&&void 0!==e?e:t.retina_detect;void 0!==a&&(this.detectRetina=a),void 0!==t.duration&&(this.duration=Do(t.duration));const l=null!==(r=t.fpsLimit)&&void 0!==r?r:t.fps_limit;void 0!==l&&(this.fpsLimit=l),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);const u=null!==(i=t.fullScreen)&&void 0!==i?i:t.backgroundMode;"boolean"==typeof u?this.fullScreen.enable=u:this.fullScreen.load(u),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),void 0!==t.manualParticles&&(this.manualParticles=t.manualParticles.map(h=>{const v=new Hme;return v.load(h),v})),this.particles.load(t.particles),this.style=hc(this.style,t.style),this._engine.plugins.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);const f=this._engine.plugins.interactors.get(this._container);if(f)for(const h of f)h.loadOptions&&h.loadOptions(this,t);if(void 0!==t.responsive)for(const h of t.responsive){const v=new jme;v.load(h),this.responsive.push(v)}if(this.responsive.sort((h,v)=>h.maxWidth-v.maxWidth),void 0!==t.themes)for(const h of t.themes){const v=new $me;v.load(h),this.themes.push(v)}this.defaultThemes.dark=null===(o=this._findDefaultTheme("dark"))||void 0===o?void 0:o.name,this.defaultThemes.light=null===(s=this._findDefaultTheme("light"))||void 0===s?void 0:s.name}setResponsive(t,e,r){this.load(r);const i=this.responsive.find(o=>"screen"===o.mode&&screen?o.maxWidth>
1screen.availWidth:o.maxWidth*e>t);return this.load(i?.options),i?.maxWidth}setTheme(t){if(t){const e=this.themes.find(r=>r.name===t);e&&this.load(e.options)}else{const e=_$("(prefers-color-scheme: dark)"),i=this._findDefaultTheme(e&&e.matches?"dark":"light");i&&this.load(i.options)}}_findDefaultTheme(t){var e;return null!==(e=this.themes.find(r=>r.default.value&&r.default.mode===t))&&void 0!==e?e:this.themes.find(r=>r.default.value&&"any"===r.default.mode)}_importPreset(t){this.load(this._engine.plugins.getPreset(t))}}class gge{constructor(t,e){this.container=e,this._engine=t,this._interactors=this._engine.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}externalInteract(t){var e=this;return Mr(function*(){for(const r of e._externalInteractors)r.isEnabled()&&(yield r.interact(t))})()}handleClickMode(t){for(const e of this._externalInteractors)e.handleClickMode&&e.handleClickMode(t)}init(){this._externalInteractors=[],this._particleInteractors=[];for(const t of this._interactors){switch(t.type){case 0:this._externalInteractors.push(t);break;case 1:this._particleInteractors.push(t)}t.init()}}particlesInteract(t,e){var r=this;return Mr(function*(){for(const i of r._externalInteractors)i.clear(t,e);for(const i of r._particleInteractors)i.isEnabled(t)&&(yield i.interact(t,e))})()}reset(t){var e=this;return Mr(function*(){for(const r of e._externalInteractors)r.isEnabled()&&(yield r.reset(t));for(const r of e._particleInteractors)r.isEnabled(t)&&(yield r.reset(t))})()}}const B$=n=>{!hl(n.outMode,n.checkModes)||(n.coord>n.maxCoord-2*n.radius?n.setCb(-n.radius):n.coord<2*n.radius&&n.setCb(n.radius))};class vge{constructor(t,e,r,i,o,s){this.container=r,this._engine=t,this.init(e,i,o,s)}destroy(t){if(!this.unbreakable&&!this.destroyed){this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;for(const[,e]of this.container.plugins)e.particleDestroyed&&e.particleDestroyed(this,t);for(const e of this.container.particles.updaters)e.particleDestroyed&&e.particleDestroyed(this,t)}}draw(t){const e=this.container;for(const[,r]of e.plugins)e.canvas.drawParticlePlugin(r,this,t);e.canvas.drawParticle(this,t)}getFillColor(){var t,e;const r=null!==(t=this.bubble.color)&&void 0!==t?t:k$(this.color);if(r&&this.roll&&(this.backColor||this.roll.alter)){const o=this.roll.horizontal?Math.PI/2:0;if(Math.floor(((null!==(e=this.roll.angle)&&void 0!==e?e:0)+o)/(Math.PI/(this.roll.horizontal&&this.roll.vertical?2:1)))%2){if(this.backColor)return this.backColor;if(this.roll.alter)return function yme(n,t,e){return{h:n.h,s:n.s,l:n.l+("darken"===t?-1:1)*e}}(r,this.roll.alter.type,this.roll.alter.value)}}return r}getMass(){return this.getRadius()**2*Math.PI/2}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){var t;return null!==(t=this.bubble.radius)&&void 0!==t?t:this.size.value}getStrokeColor(){var t,e;return null!==(e=null!==(t=this.bubble.color)&&void 0!==t?t:k$(this.strokeColor))&&void 0!==e?e:this.getFillColor()}init(t,e,r,i){var o,s,a,l,u,f,h,v,m;const x=this.container,p=this._engine;this.group=i,this.fill=!0,this.pathRotation=!1,this.close=!0,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const P=x.retina.pixelRatio,H=OD(this._engine,x,x.actualOptions.particles),U=H.shape.type,{reduceDuplicates:ee}=H;this.shape=s2(U,this.id,ee);const ie=H.shape;if(r&&r.shape&&r.shape.type){const we=s2(r.shape.type,this.id,ee);we&&(this.shape=we,ie.load(r.shape))}this.shapeData=this._loadShapeData(ie,ee),H.load(r),H.load(null===(o=this.shapeData)||void 0===o?void 0:o.particles),this.interactivity=new R$(p,x),this.interactivity.load(x.actualOptions.interactivity),this.interactivity.load(H.interactivity),this.fill=null!==(a=null===(s=this.shapeData)||void 0===s?void 0:s.fill)&&void 0!==a?a:this.fill,this.close=null!==(u=null===(l=this.shapeData)||void 0===l?void 0:l.close)&&void 0!==u?u:this.close,this.options=H;const me=this.options.move.path;this.pathDelay=1e3*h0(me.delay),me.generator&&(this.pathGenerator=this._engine.plugins.getPathGenerator(me.generator),this.pathGenerator&&x.addPath(me.generator,this.pathGenerator)&&this.pathGenerator.init(x));const ue=Pi(this.options.zIndex.value);x.retina.initParticle(this);const Se=this.options.size,Ue=Se.value,it=Se.animation;if(this.size={enable:Se.animation.enable,value:Pi(Se.value)*x.retina.pixelRatio,max:Jd(Ue)*P,min:Hv(Ue)*P,loops:0,maxLoops:Pi(Se.animation.count)},it.enable)switch(this.size.status=0,this.size.decay=1-Pi(it.decay),it.startValue){case"min":this.size.value=this.size.min,this.size.status=0;break;case"random":this.size.value=Kc(this.size)*P,this.size.status=is()>=.5?0:1;break;default:this.size.value=this.size.max,this.size.status=1}this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this.position=this._calcPosition(x,e,rd(ue,0,x.zLayers)),this.initialPosition=this.position.copy();const ye=x.canvas.size,xe=Object.assign({},this.options.move.center),ze="percent"===xe.mode;switch(this.moveCenter={x:xe.x*(ze?ye.width/100:1),y:xe.y*(ze?ye.height/100:1),radius:null!==(f=this.options.move.center.radius)&&void 0!==f?f:0,mode:null!==(h=this.options.move.center.mode)&&void 0!==h?h:"percent"},this.direction=function J3e(n,t,e){if("number"==typeof n)return n*Math.PI/180;switch(n){case"top":return-Math.PI/2;case"top-right":return-Math.PI/4;case"right":return 0;case"bottom-right":return Math.PI/4;case"bottom":return Math.PI/2;case"bottom-left":return 3*Math.PI/4;case"left":return Math.PI;case"top-left":return-3*Math.PI/4;case"inside":return Math.atan2(e.y-t.y,e.x-t.x);case"outside":return Math.atan2(t.y-e.y,t.x-e.x);
1default:return is()*Math.PI*2}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside"}this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-Pi(this.options.move.decay),this.offset=el.origin;const qe=x.particles;qe.needsSort=qe.needsSort||qe.lastZIndex<this.position.z,qe.lastZIndex=this.position.z,this.zIndexFactor=this.position.z/x.zLayers,this.sides=24;let Et=x.drawers.get(this.shape);Et||(Et=this._engine.plugins.getShapeDrawer(this.shape),Et&&x.drawers.set(this.shape,Et)),Et?.loadShape&&Et?.loadShape(this);const Ne=Et?.getSidesCount;Ne&&(this.sides=Ne(this)),this.spawning=!1,this.shadowColor=a2(this.options.shadow.color);for(const je of x.particles.updaters)je.init(this);for(const je of x.particles.movers)null===(v=je.init)||void 0===v||v.call(je,this);Et?.particleInit&&Et.particleInit(x,this);for(const[,je]of x.plugins)null===(m=je.particleCreated)||void 0===m||m.call(je,this)}isInsideCanvas(){const t=this.getRadius(),e=this.container.canvas.size;return this.position.x>=-t&&this.position.y>=-t&&this.position.y<=e.height+t&&this.position.x<=e.width+t}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){var t;for(const e of this.container.particles.updaters)null===(t=e.reset)||void 0===t||t.call(e,this)}_calcPosition(t,e,r,i=0){var o,s,a,l;for(const[,P]of t.plugins){const T=void 0!==P.particlePosition?P.particlePosition(e,this):void 0;if(void 0!==T)return pf.create(T.x,T.y,r)}const f=function v$(n){var t,e,r,i;return{x:null!==(e=null===(t=n.position)||void 0===t?void 0:t.x)&&void 0!==e?e:is()*n.size.width,y:null!==(i=null===(r=n.position)||void 0===r?void 0:r.y)&&void 0!==i?i:is()*n.size.height}}({size:t.canvas.size,position:e}),h=pf.create(f.x,f.y,r),v=this.getRadius(),m=this.options.move.outModes,x=P=>{B$({outMode:P,checkModes:["bounce","bounce-horizontal"],coord:h.x,maxCoord:t.canvas.size.width,setCb:T=>h.x+=T,radius:v})},p=P=>{B$({outMode:P,checkModes:["bounce","bounce-vertical"],coord:h.y,maxCoord:t.canvas.size.height,setCb:T=>h.y+=T,radius:v})};return x(null!==(o=m.left)&&void 0!==o?o:m.default),x(null!==(s=m.right)&&void 0!==s?s:m.default),p(null!==(a=m.top)&&void 0!==a?a:m.default),p(null!==(l=m.bottom)&&void 0!==l?l:m.default),this._checkOverlap(h,i)?this._calcPosition(t,void 0,r,i+1):h}_calculateVelocity(){const e=function Q3e(n){const t=el.origin;return t.length=1,t.angle=n,t}(this.direction).copy(),r=this.options.move;if("inside"===r.direction||"outside"===r.direction)return e;const i=Math.PI/180*Pi(r.angle.value),o=Math.PI/180*Pi(r.angle.offset),s={left:o-i/2,right:o+i/2};return r.straight||(e.angle+=Kc(Do(s.left,s.right))),r.random&&"number"==typeof r.speed&&(e.length*=is()),e}_checkOverlap(t,e=0){const r=this.options.collisions,i=this.getRadius();if(!r.enable)return!1;const o=r.overlap;if(o.enable)return!1;const s=o.retries;if(s>=0&&e>s)throw new Error("Particle is overlapping and can't be placed");let a=!1;for(const l of this.container.particles.array)if(Xc(t,l.position)<i+l.getRadius()){a=!0;break}return a}_loadShapeData(t,e){const r=t.options[this.shape];if(r)return hc({},s2(r,this.id,e))}}class yge{constructor(t,e){this.position=t,this.particle=e}}class V${constructor(t,e){this.position={x:t,y:e}}}class N1 extends V${constructor(t,e,r){super(t,e),this.radius=r}contains(t){return Xc(t,this.position)<=this.radius}intersects(t){const e=t,r=t,i=this.position,o=t.position,s_x=Math.abs(o.x-i.x),s_y=Math.abs(o.y-i.y),a=this.radius;if(void 0!==r.radius)return a+r.radius>Math.sqrt(s_x**2+s_y**2);if(void 0!==e.size){const l=e.size.width,u=e.size.height;return Math.pow(s_x-l,2)+Math.pow(s_y-u,2)<=a**2||s_x<=a+l&&s_y<=a+u||s_x<=l||s_y<=u}return!1}}class F1 extends V${constructor(t,e,r,i){super(t,e),this.size={height:i,width:r}}contains(t){const i=this.position;return t.x>=i.x&&t.x<=i.x+this.size.width&&t.y>=i.y&&t.y<=i.y+this.size.height}intersects(t){t instanceof N1&&t.intersects(this);const i=this.position,o=t.position,s=t instanceof F1?t.size:{width:0,height:0};return o.x<i.x+this.size.width&&o.x+s.width>i.x&&o.y<i.y+this.size.height&&o.y+s.height>i.y}}class $6{constructor(t,e){this.rectangle=t,this.capacity=e,this._points=[],this._divided=!1}insert(t){var e,r,i,o,s;return!!this.rectangle.contains(t.position)&&(this._points.length<this.capacity?(this._points.push(t),!0):(this._divided||this.subdivide(),null!==(s=(null===(e=this._NE)||void 0===e?void 0:e.insert(t))||(null===(r=this._NW)||void 0===r?void 0:r.insert(t))||(null===(i=this._SE)||void 0===i?void 0:i.insert(t))||(null===(o=this._SW)||void 0===o?void 0:o.insert(t)))&&void 0!==s&&s))}query(t,e,r){var i,o,s,a;const l=r??[];if(!t.intersects(this.rectangle))return[];for(const u of this._points)!t.contains(u.position)&&Xc(t.position,u.position)>u.particle.getRadius()&&(!e||e(u.particle))||l.push(u.particle);return this._divided&&(null===(i=this._NE)||void 0===i||i.query(t,e,l),null===(o=this._NW)||void 0===o||o.query(t,e,l),null===(s=this._SE)||void 0===s||s.query(t,e,l),null===(a=this._SW)||void 0===a||a.query(t,e,l)),l}queryCircle(t,e,r){return this.query(new N1(t.x,t.y,e),r)}queryRectangle(t,e,r){return this.query(new F1(t.x,t.y,e.width,e.height),r)}subdivide(){const t=this.rectangle.position.x,e=this.rectangle.position.y,r=this.rectangle.size.width,i=this.rectangle.size.height,o=this.capacity;this._NE=new $6(new F1(t,e,r/2,i/2),o),this._NW=new $6(new F1(t+r/2,e,r/2,i/2),o),this._SE=new $6(new F1(t,e+i/2,r/2,i/2),o),this._SW=new $6(new F1(t+r/2,e+i/2,r/2,i/2),o),this._divided=!0}}class bge{constructor(t,e){this.container=e,this._engine=t,this.nextId=0,this.array=[],this.zArray=[],this.pool=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this.interactionManager=new gge(this._engine,e);const r=this.container.canvas.size;this.quadTree=new $6(new F1(-r.width/4,-r.height/4,3*r.width/2,3*r.height/2),4),this.movers=this._engine.plugins.getMovers(e,!0),this.updaters=this._engine.plugins.getUpdaters(e,!0)}get count(){return this.array.length}
1addManualParticles(){const t=this.container,e=t.actualOptions;for(const r of e.manualParticles)this.addParticle((n={size:t.canvas.size,position:r.position}).position&&void 0!==n.position.x&&void 0!==n.position.y?{x:n.position.x*n.size.width/100,y:n.position.y*n.size.height/100}:void 0,r.options);var n}addParticle(t,e,r,i){const a=this.container.actualOptions.particles.number.limit;if(a>0){const l=this.count+1-a;l>0&&this.removeQuantity(l)}return this._pushParticle(t,e,r,i)}clear(){this.array=[],this.zArray=[]}destroy(){this.array=[],this.zArray=[],this.movers=[],this.updaters=[]}draw(t){var e=this;return Mr(function*(){const r=e.container,i=e.container.canvas.size;e.quadTree=new $6(new F1(-i.width/4,-i.height/4,3*i.width/2,3*i.height/2),4),r.canvas.clear(),yield e.update(t),e.needsSort&&(e.zArray.sort((o,s)=>s.position.z-o.position.z||o.id-s.id),e.lastZIndex=e.zArray[e.zArray.length-1].position.z,e.needsSort=!1);for(const[,o]of r.plugins)r.canvas.drawPlugin(o,t);for(const o of e.zArray)o.draw(t)})()}handleClickMode(t){this.interactionManager.handleClickMode(t)}init(){var t;const e=this.container,r=e.actualOptions;this.lastZIndex=0,this.needsSort=!1;let i=!1;this.updaters=this._engine.plugins.getUpdaters(e,!0),this.interactionManager.init();for(const[,o]of e.plugins)if(void 0!==o.particlesInitialization&&(i=o.particlesInitialization()),i)break;this.interactionManager.init();for(const[,o]of e.pathGenerators)o.init(e);if(this.addManualParticles(),!i){for(const o in r.particles.groups){const s=r.particles.groups[o];for(let a=this.count,l=0;l<(null===(t=s.number)||void 0===t?void 0:t.value)&&a<r.particles.number.value;a++,l++)this.addParticle(void 0,s,o)}for(let o=this.count;o<r.particles.number.value;o++)this.addParticle()}}push(t,e,r,i){this.pushing=!0;for(let o=0;o<t;o++)this.addParticle(e?.position,r,i);this.pushing=!1}redraw(){var t=this;return Mr(function*(){t.clear(),t.init(),yield t.draw({value:0,factor:0})})()}remove(t,e,r){this.removeAt(this.array.indexOf(t),void 0,e,r)}removeAt(t,e=1,r,i){if(t<0||t>this.count)return;let o=0;for(let s=t;o<e&&s<this.count;s++){const a=this.array[s];if(!a||a.group!==r)continue;a.destroy(i),this.array.splice(s--,1);const l=this.zArray.indexOf(a);this.zArray.splice(l,1),this.pool.push(a),o++,this._engine.dispatchEvent("particleRemoved",{container:this.container,data:{particle:a}})}}removeQuantity(t,e){this.removeAt(0,t,e)}setDensity(){const t=this.container.actualOptions;for(const e in t.particles.groups)this._applyDensity(t.particles.groups[e],0,e);this._applyDensity(t.particles,t.manualParticles.length)}update(t){var e=this;return Mr(function*(){var r,i;const o=e.container,s=[];for(const[,a]of o.pathGenerators)a.update();for(const[,a]of o.plugins)null===(r=a.update)||void 0===r||r.call(a,t);for(const a of e.array){const l=o.canvas.resizeFactor;l&&!a.ignoresResizeRatio&&(a.position.x*=l.width,a.position.y*=l.height,a.initialPosition.x*=l.width,a.initialPosition.y*=l.height),a.ignoresResizeRatio=!1,yield e.interactionManager.reset(a);for(const[,u]of e.container.plugins){if(a.destroyed)break;null===(i=u.particleUpdate)||void 0===i||i.call(u,a,t)}for(const u of e.movers)u.isEnabled(a)&&u.move(a,t);a.destroyed?s.push(a):e.quadTree.insert(new yge(a.getPosition(),a))}for(const a of s)e.remove(a);yield e.interactionManager.externalInteract(t);for(const a of e.array){for(const l of e.updaters)l.update(a,t);!a.destroyed&&!a.spawning&&(yield e.interactionManager.particlesInteract(a,t))}delete o.canvas.resizeFactor})()}_applyDensity(t,e,r){var i;if(null===(i=t.number.density)||void 0===i||!i.enable)return;const o=t.number,s=this._initDensityFactor(o.density),a=o.value,u=Math.min(a,o.limit>0?o.limit:a)*s+e,f=Math.min(this.count,this.array.filter(h=>h.group===r).length);this.limit=o.limit*s,f<u?this.push(Math.abs(u-f),void 0,t,r):f>u&&this.removeQuantity(f-u,r)}_initDensityFactor(t){const e=this.container;if(!e.canvas.element||!t.enable)return 1;const r=e.canvas.element;return r.width*r.height/(t.factor*e.retina.pixelRatio**2*t.area)}_pushParticle(t,e,r,i){try{let o=this.pool.pop();o?o.init(this.nextId,t,e,r):o=new vge(this._engine,this.nextId,this.container,t,e,r);let s=!0;return i&&(s=i(o)),s?(this.array.push(o),this.zArray.push(o),this.nextId++,this._engine.dispatchEvent("particleAdded",{container:this.container,data:{particle:o}}),o):void 0}catch(o){return void console.warn(`error adding particle: ${o}`)}}}class _ge{constructor(t){this.container=t}init(){const t=this.container,e=t.actualOptions;this.pixelRatio=!e.detectRetina||j6()?1:window.devicePixelRatio,this.reduceFactor=1;const r=this.pixelRatio;if(t.canvas.element){const o=t.canvas.element;t.canvas.size.width=o.offsetWidth*r,t.canvas.size.height=o.offsetHeight*r}const i=e.particles;this.attractDistance=Pi(i.move.attract.distance)*r,this.sizeAnimationSpeed=Pi(i.size.animation.speed)*r,this.maxSpeed=Pi(i.move.gravity.maxSpeed)*r}initParticle(t){const e=t.options,r=this.pixelRatio,i=e.move.distance,o=t.retina;o.attractDistance=Pi(e.move.attract.distance)*r,o.moveDrift=Pi(e.move.drift)*r,o.moveSpeed=Pi(e.move.speed)*r,o.sizeAnimationSpeed=Pi(e.size.animation.speed)*r;const s=o.maxDistance;s.horizontal=void 0!==i.horizontal?i.horizontal*r:void 0,s.vertical=void 0!==i.vertical?i.vertical*r:void 0,o.maxSpeed=Pi(e.move.gravity.maxSpeed)*r}}function Rl(n){return n&&!n.destroyed}function qv(n,t,...e){const r=new mge(n,t);return z$(r,...e),r}const H$={generate:n=>{const t=n.velocity.copy();return t.angle+=t.length*Math.PI/180,t},init:()=>{},update:()=>{}};class wge{constructor(t,e,r){this.id=e,this._engine=t,this.fpsLimit=120,this.smooth=!1,this._delay=0,this.duration=0,this.lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this.lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=r,this._initialSourceOptions=r,this.retina=new _ge(this),this.canvas=new Dme(this),this.particles=new bge(this._engine,this),this.frameManager=new Ime(this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=qv(this._engine,this),this.actualOptions=qv(this._engine,this),this._eventListeners=new kme(this),typeof IntersectionObserver<"u"&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver(i=>this._intersectionManager(i))),this._engine.dispatchEvent("containerBuilt",{container:this})}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(t){if(!Rl(this))return;const e=this.interactivity.element;if(!e)return;const r=(h,v,m)=>{if(!Rl(this))return;const x=this.retina.pixelRatio,P=this.particles.quadTree.queryCircle({x:v.x*x,y:v.y*x},m*x);t(h,P)};let u=!1,f=!1;e.addEventListener("click",h=>{Rl(this)&&r(h,{x:h.offsetX||h.clientX,y:h.offsetY||h.clientY},1)}),e.addEventListener("touchstart",()=>{!Rl(this)||(u=!0,f=!1)}),e.addEventListener("touchmove",()=>{!Rl(this)||(f=!0)}),e.addEventListener("touchend",h=>{if(Rl(this)){if(u&&!f){const v=h;let m=v.touches[v.touches.length-1];if(!m&&(m=v.changedTouches[v.changedTouches.length-1],!m))return;const x=this.canvas.element,p=x?x.getBoundingClientRect():void 0;r(h,{x:m.clientX-(p?p.left:0),y:m.clientY-(p?p.top:0)},Math.max(m.radiusX,m.radiusY))}u=!1,f=!1}}),e.addEventListener("touchcancel",()=>{!Rl(this)||(u=!1,f=!1)})}addPath(t,e,r=!1){return!(!Rl(this)||!r&&this.pathGenerators.has(t)||(this.pathGenerators.set(t,e??H$),0))}destroy(){if(!Rl(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,r]of this.drawers)r.destroy&&r.destroy(this);for(const r of this.drawers.keys())this.drawers.delete(r);this._engine.plugins.destroy(this),this.destroyed=!0;const t=this._engine.dom(),e=t.findIndex(r=>r===this);e>=0&&t.splice(e,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(t){var e=this;if(!Rl(this))return;let r=t;this._drawAnimationFrame=function rme(){return j6()?n=>setTimeout(n):n=>(requestAnimationFrame||setTimeout)(n)}()(function(){var i=Mr(function*(o){r&&(e.lastFrameTime=void 0,r=!1),yield e.frameManager.nextFrame(o)});return function(o){return i.apply(this,arguments)}}())}exportConfiguration(){return JSON.stringify(this.actualOptions,(t,e)=>{if("_engine"!==t&&"_container"!==t)return e},2)}exportImage(t,e,r){const i=this.canvas.element;i&&i.toBlob(t,e??"image/png",r)}exportImg(t){this.exportImage(t)}getAnimationStatus(){return!this._paused&&!this.pageHidden&&Rl(this)}handleClickMode(t){if(Rl(this)){this.particles.handleClickMode(t);for(const[,e]of this.plugins)e.handleClickMode&&e.handleClickMode(t)}}init(){var t=this;return Mr(function*(){if(!Rl(t))return;const e=t._engine.plugins.getSupportedShapes();for(const i of e){const o=t._engine.plugins.getShapeDrawer(i);o&&t.drawers.set(i,o)}t._options=qv(t._engine,t,t._initialSourceOptions,t.sourceOptions),t.actualOptions=qv(t._engine,t,t._options);const r=t._engine.plugins.getAvailablePlugins(t);for(const[i,o]of r)t.plugins.set(i,o);t.retina.init(),t.canvas.init(),t.updateActualOptions(),t.canvas.initBackgroun
1d(),t.canvas.resize(),t.zLayers=t.actualOptions.zLayers,t.duration=1e3*Pi(t.actualOptions.duration),t._delay=1e3*Pi(t.actualOptions.delay),t.lifeTime=0,t.fpsLimit=t.actualOptions.fpsLimit>0?t.actualOptions.fpsLimit:120,t.smooth=t.actualOptions.smooth;for(const[,i]of t.drawers)i.init&&(yield i.init(t));for(const[,i]of t.plugins)i.init&&(yield i.init());t._engine.dispatchEvent("containerInit",{container:t}),t.particles.init(),t.particles.setDensity();for(const[,i]of t.plugins)i.particlesSetup&&i.particlesSetup();t._engine.dispatchEvent("particlesSetup",{container:t})})()}loadTheme(t){var e=this;return Mr(function*(){!Rl(e)||(e._currentTheme=t,yield e.refresh())})()}pause(){if(Rl(this)&&(void 0!==this._drawAnimationFrame&&(function ime(){return j6()?n=>clearTimeout(n):n=>(cancelAnimationFrame||clearTimeout)(n)}()(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,t]of this.plugins)t.pause&&t.pause();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(t){if(!Rl(this))return;const e=this._paused||t;if(!this._firstStart||this.actualOptions.autoPlay){if(this._paused&&(this._paused=!1),e)for(const[,r]of this.plugins)r.play&&r.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(e||!1)}else this._firstStart=!1}refresh(){var t=this;return Mr(function*(){if(Rl(t))return t.stop(),t.start()})()}reset(){var t=this;return Mr(function*(){if(Rl(t))return t._options=qv(t._engine,t),t.refresh()})()}setNoise(t,e,r){!Rl(this)||this.setPath(t,e,r)}setPath(t,e,r){if(!t||!Rl(this))return;const i=Object.assign({},H$);if("function"==typeof t)i.generate=t,e&&(i.init=e),r&&(i.update=r);else{const o=i;i.generate=t.generate||o.generate,i.init=t.init||o.init,i.update=t.update||o.update}this.addPath("default",i,!0)}start(){var t=this;return Mr(function*(){!Rl(t)||t.started||(yield t.init(),t.started=!0,yield new Promise(e=>{t._delayTimeout=setTimeout(Mr(function*(){t._eventListeners.addListeners(),t.interactivity.element instanceof HTMLElement&&t._intersectionObserver&&t._intersectionObserver.observe(t.interactivity.element);for(const[,r]of t.plugins)r.start&&(yield r.start());t._engine.dispatchEvent("containerStarted",{container:t}),t.play(),e()}),t._delay)}))})()}stop(){if(Rl(this)&&this.started){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.clear(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,t]of this.plugins)t.stop&&t.stop();for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const t=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this.responsiveMaxWidth!==t&&(this.responsiveMaxWidth=t,!0)}_intersectionManager(t){if(Rl(this)&&this.actualOptions.pauseOnOutsideViewport)for(const e of t)e.target===this.interactivity.element&&(e.isIntersecting?this.play:this.pause)()}}function Cge(n){console.error(`tsParticles - Error ${n} while retrieving config file`)}function RD(){return(RD=Mr(function*(n,t){const e=s2(n,t);if(!e)return;const r=yield fetch(e);if(r.ok)return r.json();Cge(r.status)})).apply(this,arguments)}class Ege{constructor(t){this._engine=t}load(t,e,r){const i={index:r,remote:!1};return"string"==typeof t?i.tagId=t:i.options=t,"number"==typeof e?i.index=e:i.options=e??i.options,this.loadOptions(i)}loadJSON(t,e,r){var i=this;return Mr(function*(){let o,s;return"number"==typeof e||void 0===e?o=t:(s=t,o=e),i.loadRemoteOptions({tagId:s,url:o,index:r,remote:!0})})()}loadOptions(t){var e=this;return Mr(function*(){var r,i,o;const s=null!==(r=t.tagId)&&void 0!==r?r:`tsparticles${Math.floor(1e4*is())}`,{index:a,url:l,remote:u}=t,f=u?yield function Sge(n,t){return RD.apply(this,arguments)}
1(l,a):t.options;let h=null!==(i=t.element)&&void 0!==i?i:document.getElementById(s);h||(h=document.createElement("div"),h.id=s,null===(o=document.querySelector("body"))||void 0===o||o.append(h));const v=s2(f,a),m=e._engine.dom(),x=m.findIndex(T=>T.id===s);if(x>=0){const T=e._engine.domItem(x);T&&!T.destroyed&&(T.destroy(),m.splice(x,1))}let p;if("canvas"===h.tagName.toLowerCase())p=h,p.dataset[Wv]="false";else{const T=h.getElementsByTagName("canvas");T.length?(p=T[0],p.dataset[Wv]="false"):(p=document.createElement("canvas"),p.dataset[Wv]="true",h.appendChild(p))}p.style.width||(p.style.width="100%"),p.style.height||(p.style.height="100%");const P=new wge(e._engine,s,v);return x>=0?m.splice(x,0,P):m.push(P),P.canvas.loadCanvas(p),yield P.start(),P})()}loadRemoteOptions(t){var e=this;return Mr(function*(){return e.loadOptions(t)})()}set(t,e,r,i){var o=this;return Mr(function*(){const s={index:i,remote:!1};return"string"==typeof t?s.tagId=t:s.element=t,e instanceof HTMLElement?s.element=e:s.options=e,"number"==typeof r?s.index=r:s.options=r??s.options,o.loadOptions(s)})()}setJSON(t,e,r,i){var o=this;return Mr(function*(){let s,a,l,u;return t instanceof HTMLElement?(u=t,s=e,l=r):(a=t,u=e,s=r,l=i),o.loadRemoteOptions({tagId:a,url:s,index:l,element:u,remote:!0})})()}}function LD(n,t,e,r=!1){let i=t.get(n);return(!i||r)&&(i=[...e.values()].map(o=>o(n)),t.set(n,i)),i}class Age{constructor(t){this._engine=t,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}addInteractor(t,e){this._initializers.interactors.set(t,e)}addParticleMover(t,e){this._initializers.movers.set(t,e)}addParticleUpdater(t,e){this._initializers.updaters.set(t,e)}addPathGenerator(t,e){this.getPathGenerator(t)||this.pathGenerators.set(t,e)}addPlugin(t){this.getPlugin(t.id)||this.plugins.push(t)}addPreset(t,e,r=!1){(r||!this.getPreset(t))&&this.presets.set(t,e)}addShapeDrawer(t,e){this.getShapeDrawer(t)||this.drawers.set(t,e)}destroy(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}getAvailablePlugins(t){const e=new Map;for(const r of this.plugins)!r.needsPlugin(t.actualOptions)||e.set(r.id,r.getPlugin(t));return e}getInteractors(t,e=!1){return LD(t,this.interactors,this._initializers.interactors,e)}getMovers(t,e=!1){return LD(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(e=>e.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.drawers.get(t)}getSupportedShapes(){return this.drawers.keys()}getUpdaters(t,e=!1){return LD(t,this.updaters,this._initializers.updaters,e)}loadOptions(t,e){for(const r of this.plugins)r.loadOptions(t,e)}loadParticlesOptions(t,e,...r){const i=this.updaters.get(t);if(i)for(const o of i)o.loadOptions&&o.loadOptions(e,...r)}}class id{constructor(t){this.container=t,this.type=0}}class PD{constructor(t){this.container=t,this.type=1}}const Tge=new class kge{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){var e;const i=null!==(e=t.value.rgb)&&void 0!==e?e:t.value;if(void 0!==i.r)return i}handleRangeColor(t){var e;const i=null!==(e=t.value.rgb)&&void 0!==e?e:t.value;if(void 0!==i.r)return{r:Pi(i.r),g:Pi(i.g),b:Pi(i.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const r=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i.exec(t);return r?{a:r.length>4?y$(r[5]):1,b:parseInt(r[3],10),g:parseInt(r[2],10),r:parseInt(r[1],10)}:void 0}},Ige=new class Dge{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){var e;const i=null!==(e=t.value.hsl)&&void 0!==e?e:t.value;if(void 0!==i.h&&void 0!==i.l)return bg(i)}handleRangeColor(t){var e;const i=null!==(e=t.value.hsl)&&void 0!==e?e:t.value;if(void 0!==i.h&&void 0!==i.l)return bg({h:Pi(i.h),l:Pi(i.l),s:Pi(i.s)})}parseString(t){if(!t.startsWith("hsl"))return;const r=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i.exec(t);return r?function ume(n){const t=bg(n);return{a:n.a,b:t.b,g:t.g,r:t.r}}({a:r.length>4?y$(r[5]):1,h:parseInt(r[1],10),l:parseInt(r[3],10),s:parseInt(r[2],10)}):void 0}};E$(Tge),E$(Ige);const wg=new class Mge{constructor(){this._domArray=[],this._eventDispatcher=new Z3e,this._initialized=!1,this._loader=new Ege(this),this.plugins=new Age(this)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}addInteractor(t,e){var r=this;return Mr(function*(){r.plugins.addInteractor(t,e),yield r.refresh()})()}addMover(t,e){var r=this;return Mr(function*(){r.plugins.addParticleMover(t,e),yield r.refresh()})()}addParticleUpdater(t,e){var r=this;return Mr(function*(){r.plugins.addParticleUpdater(t,e),yield r.refresh()})()}addPathGenerator(t,e){var r=this;return Mr(function*(){r.plugins.addPathGenerator(t,e),yield r.refresh()})()}addPlugin(t){var e=this;return Mr(function*(){e.plugins.addPlugin(t),yield e.refresh()})()}addPreset(t,e,r=!1){var i=this;return Mr(function*(){i.plugins.addPreset(t,e,r),yield i.refresh()})()}addShape(t,e,r,i,o){var s=this;return Mr(function*(){let a;
1a="function"==typeof e?{afterEffect:i,destroy:o,draw:e,init:r}:e,s.plugins.addShapeDrawer(t,a),yield s.refresh()})()}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}dom(){return this._domArray}domItem(t){const e=this.dom(),r=e[t];if(r&&!r.destroyed)return r;e.splice(t,1)}init(){this._initialized||(this._initialized=!0)}load(t,e){var r=this;return Mr(function*(){return r._loader.load(t,e)})()}loadFromArray(t,e,r){var i=this;return Mr(function*(){return i._loader.load(t,e,r)})()}loadJSON(t,e,r){var i=this;return Mr(function*(){return i._loader.loadJSON(t,e,r)})()}refresh(){var t=this;return Mr(function*(){for(const e of t.dom())yield e.refresh()})()}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}set(t,e,r){var i=this;return Mr(function*(){return i._loader.set(t,e,r)})()}setJSON(t,e,r,i){var o=this;return Mr(function*(){return o._loader.setJSON(t,e,r,i)})()}setOnClickHandler(t){const e=this.dom();if(!e.length)throw new Error("Can only set click handlers after calling tsParticles.load() or tsParticles.loadJSON()");for(const r of e)r.addClickHandler(t)}};wg.init();let Oge=(()=>{class n{constructor(e){this.platformId=e,this.particlesLoaded=new zi,this.destroy$=new nt}ngAfterViewInit(){m6(this.platformId)||gi(this.particlesInit?this.particlesInit(wg):Promise.resolve()).pipe(Ai(()=>this.url?this.id?wg.loadJSON(this.id,this.url):wg.loadJSON(this.url):this.options?this.id?wg.load(this.id,this.options):wg.load(this.options):(console.error("You must specify options or url to load tsParticles"),fi)),ls(this.destroy$)).subscribe(r=>{this.particlesLoaded.emit(r)})}ngOnDestroy(){this.destroy$.next()}}return n.\u0275fac=function(e){return new(e||n)(he(o1))},n.\u0275cmp=Ir({type:n,selectors:[["ng-particles"]],inputs:{options:"options",url:"url",id:"id",particlesInit:"particlesInit"},outputs:{particlesLoaded:"particlesLoaded"},decls:1,vars:1,consts:[[3,"id"]],template:function(e,r){1&e&&ar(0,"div",0),2&e&&Dt("id",r.id)},encapsulation:2}),n})(),Rge=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();const I_=w(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function O_(n){return Bn((t,e)=>{let r=!1;t.subscribe(Jn(e,i=>{r=!0,e.next(i)},()=>{r||e.next(n),e.complete()}))})}function j$(n=Lge){return Bn((t,e)=>{let r=!1;t.subscribe(Jn(e,i=>{r=!0,e.next(i)},()=>r?e.complete():e.error(n())))})}function Lge(){return new I_}function u2(n,t){const e=arguments.length>=2;return r=>r.pipe(n?Qa((i,o)=>n(i,o,r)):Sn,Va(1),e?O_(t):j$(()=>new I_))}function Pge(n,t,e,r,i){return(o,s)=>{let a=e,l=t,u=0;o.subscribe(Jn(s,f=>{const h=u++;l=a?n(l,f,h):(a=!0,f),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function U$(n,t){return Bn(Pge(n,t,arguments.length>=2,!0))}function ND(n){return n<=0?()=>fi:Bn((t,e)=>{let r=[];t.subscribe(Jn(e,i=>{r.push(i),n<r.length&&r.shift()},()=>{for(const i of r)e.next(i);e.complete()},void 0,()=>{r=null}))})}function $$(n,t){const e=arguments.length>=2;return r=>r.pipe(n?Qa((i,o)=>n(i,o,r)):Sn,ND(1),e?O_(t):j$(()=>new I_))}const Es="primary",Yv=Symbol("RouteTitle");class Nge{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Cg(n){return new Nge(n)}function Fge(n,t,e){const r=e.path.split("/");if(r.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||r.length<n.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=n[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,r.length),posParams:i}}function eh(n,t){const e=n?Object.keys(n):void 0,r=t?Object.keys(t):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!G$(n[i],t[i]))return!1;return!0}function G$(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;const e=[...n].sort(),r=[...t].sort();return e.every((i,o)=>r[o]===i)}return n===t}function W$(n){return Array.prototype.concat.apply([],n)}function q$(n){return n.length>0?n[n.length-1]:null}function Su(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Rp(n){return pS(n)?n:D8(n)?gi(Promise.resolve(n)):Di(n)}
1const Vge={exact:function X$(n,t,e){if(!W6(n.segments,t.segments)||!R_(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!n.children[r]||!X$(n.children[r],t.children[r],e))return!1;return!0},subset:Z$},Y$={exact:function Hge(n,t){return eh(n,t)},subset:function jge(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>G$(n[e],t[e]))},ignored:()=>!0};function K$(n,t,e){return Vge[e.paths](n.root,t.root,e.matrixParams)&&Y$[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function Z$(n,t,e){return J$(n,t,t.segments,e)}function J$(n,t,e,r){if(n.segments.length>e.length){const i=n.segments.slice(0,e.length);return!(!W6(i,e)||t.hasChildren()||!R_(i,e,r))}if(n.segments.length===e.length){if(!W6(n.segments,e)||!R_(n.segments,e,r))return!1;for(const i in t.children)if(!n.children[i]||!Z$(n.children[i],t.children[i],r))return!1;return!0}{const i=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(W6(n.segments,i)&&R_(n.segments,i,r)&&n.children[Es])&&J$(n.children[Es],t,o,r)}}function R_(n,t,e){return t.every((r,i)=>Y$[e](n[i].parameters,r.parameters))}class G6{constructor(t,e,r){this.root=t,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Cg(this.queryParams)),this._queryParamMap}toString(){return Gge.serialize(this)}}class ks{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Su(e,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return L_(this)}}class Kv{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Cg(this.parameters)),this._parameterMap}toString(){return nG(this)}}function W6(n,t){return n.length===t.length&&n.every((e,r)=>e.path===t[r].path)}let Q$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:function(){return new zD},providedIn:"root"}),n})();class zD{parse(t){const e=new e5e(t);return new G6(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Xv(t.root,!0)}`,r=function Yge(n){const t=Object.keys(n).map(e=>{const r=n[e];return Array.isArray(r)?r.map(i=>`${P_(e)}=${P_(i)}`).join("&"):`${P_(e)}=${P_(r)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${r}${"string"==typeof t.fragment?`#${function Wge(n){return encodeURI(n)}(t.fragment)}`:""}`}}const Gge=new zD;function L_(n){return n.segments.map(t=>nG(t)).join("/")}function Xv(n,t){if(!n.hasChildren())return L_(n);if(t){const e=n.children[Es]?Xv(n.children[Es],!1):"",r=[];return Su(n.children,(i,o)=>{o!==Es&&r.push(`${o}:${Xv(i,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}{const e=function $ge(n,t){let e=[];return Su(n.children,(r,i)=>{i===Es&&(e=e.concat(t(r,i)))}),Su(n.children,(r,i)=>{i!==Es&&(e=e.concat(t(r,i)))}),e}(n,(r,i)=>i===Es?[Xv(n.children[Es],!1)]:[`${i}:${Xv(r,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Es]?`${L_(n)}/${e[0]}`:`${L_(n)}/(${e.join("//")})`}}function eG(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function P_(n){return eG(n).replace(/%3B/gi,";")}function BD(n){return eG(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function N_(n){return decodeURIComponent(n)}function tG(n){return N_(n.replace(/\+/g,"%20"))}function nG(n){return`${BD(n.path)}${function qge(n){return Object.keys(n).map(t=>`;${BD(t)}=${BD(n[t])}`).join("")}(n.parameters)}`}const Kge=/^[^\/()?;=#]+/;function F_(n){const t=n.match(Kge);return t?t[0]:""}const Xge=/^[^=?&#]+/,Jge=/^[^&#]+/;class e5e{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ks([],{}):new ks([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(r[Es]=new ks(t,e)),r}parseSegment(){const t=F_(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new ir(4009,!1);return this.capture(t),new Kv(N_(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=F_(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const i=F_(this.remaining);i&&(r=i,this.capture(r))}t[N_(e)]=N_(r)}parseQueryParam(t){const e=function Zge(n){const t=n.match(Xge);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const s=function Qge(n){const t=n.match(Jge);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=tG(e),o=tG(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=F_(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new ir(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Es);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[Es]:new ks([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new ir(4011,!1)}}function VD(n){return n.segments.length>0?new ks([],{[Es]:n}):n}function z_(n){const t={};for(const r of Object.keys(n.children)){const o=z_(n.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function t5e(n){if(1===n.numberOfChildren&&n.children[Es]){const t=n.children[Es];return new ks(n.segments.concat(t.segments),t.children)}return n}(new ks(n.segments,t))}function q6(n){return n instanceof G6}function i5e(n,t,e,r,i){var o;if(0===e.length)return Sg(t.root,t.root,t.root,r,i);const s=function oG(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new iG(!0,0,n);let t=0,e=!1;const r=n.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Su(o.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new iG(e,t,r)}(e);if(s.toRoot())return Sg(t.root,t.root,new ks([],{}),r,i);const l=function a(f){var h;const v=function s5e(n,t,e,r){if(n.isAbsolute)return new Eg(t.root,!0,0);if(-1===r)return new Eg(e,e===t.root,0);return function sG(n,t,e){let r=n,i=t,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new ir(4005,!1);i=r.segments.length}return new Eg(r,!1,i-o)}(e,r+(Zv(n.commands[0])?0:1),n.numberOfDoubleDots)}(s,t,null===(h=n.snapshot)||void 0===h?void 0:h._urlSegment,f),m=v.processChildren?Qv(v.segmentGroup,v.index,s.commands):jD(v.segmentGroup,v.index,s.commands);return Sg(t.root,v.segmentGroup,m,r,i)}(null===(o=n.snapshot)||void 0===o?void 0:o._lastPathIndex);return l}function Zv(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Jv(n){return"object"==typeof n&&null!=n&&n.outlets}function Sg(n,t,e,r,i){let s,o={};r&&Su(r,(l,u)=>{o[u]=Array.isArray(l)?l.map(f=>`${f}`):`${l}`}),s=n===t?e:rG(n,t,e);const a=VD(z_(s));return new G6(a,o,i)}function rG(n,t,e){const r={};return Su(n.children,(i,o)=>{r[o]=i===t?e:rG(i,t,e)}),new ks(n.segments,r)}class iG{constructor(t,e,r){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=r,t&&r.length>0&&Zv(r[0]))throw new ir(4003,!1);const i=r.find(Jv);if(i&&i!==q$(r))throw new ir(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Eg{constructor(t,e,r){this.segmentGroup=t,this.processChildren=e,this.index=r}}function jD(n,t,e){if(n||(n=new ks([],{})),0===n.segments.length&&n.hasChildren())return Qv(n,t,e);const r=function l5e(n,t,e){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(r>=e.length)return o;const s=n.segments[i],a=e[r];if(Jv(a))break;const l=`${a}`,u=r<e.length-1?e[r+1]:null;if(i>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!lG(l,u,s))return o;r+=2}else{if(!lG(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(n,t,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<n.segments.length){const o=new ks(n.segments.slice(0,r.pathIndex),{});return o.children[Es]=new ks(n.segments.slice(r.pathIndex),n.children),Qv(o,0,i)}return r.match&&0===i.length?new ks(n.segments,{}):r.match&&!n.hasChildren()?UD(n,t,e):r.match?Qv(n,0,i):UD(n,t,e)}function Qv(n,t,e){if(0===e.length)return new ks(n.segments,{});{const r=function a5e(n){return Jv(n[0])?n[0].outlets:{[Es]:n}}(e),i={};return Su(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=jD(n.children[s],t,o))}),Su(n.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new ks(n.segments,i)}}function UD(n,t,e){const r=n.segments.slice(0,t);let i=0;for(;i<e.length;){const o=e[i];if(Jv(o)){const l=c5e(o.outlets);return new ks(r,l)}if(0===i&&Zv(e[0])){r.push(new Kv(n.segments[t].path,aG(e[0]))),i++;continue}const s=Jv(o)?o.outlets[Es]:`${o}`,a=i<e.length-1?e[i+1]:null;
vendor: 4,250 bytes, line 1
1s&&a&&Zv(a)?(r.push(new Kv(s,aG(a))),i+=2):(r.push(new Kv(s,{})),i++)}return new ks(r,{})}function c5e(n){const t={};return Su(n,(e,r)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[r]=UD(new ks([],{}),0,e))}),t}function aG(n){const t={};return Su(n,(e,r)=>t[r]=`${e}`),t}function lG(n,t,e){return n==e.path&&eh(t,e.parameters)}class p0{constructor(t,e){this.id=t,this.url=e}}class $D extends p0{constructor(t,e,r="imperative",i=null){super(t,e),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Y6 extends p0{constructor(t,e,r){super(t,e),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class B_ extends p0{constructor(t,e,r,i){super(t,e),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class cG extends p0{constructor(t,e,r,i){super(t,e),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class u5e extends p0{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class f5e extends p0{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class d5e extends p0{constructor(t,e,r,i,o){super(t,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class h5e extends p0{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class p5e extends p0{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class m5e{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class g5e{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class v5e{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class y5e{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class b5e{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _5e{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uG{constructor(t,e,r){this.routerEvent=t,this.position=e,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class fG{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=GD(t,this._root);return e?e.children.map(r=>r.value):[]}firstChild(t){const e=GD(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=WD(t,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return WD(t,this._root).map(e=>e.value)}}function GD(n,t){if(n===t.value)return t;for(const e of t.children){const r=GD(n,e);if(r)return r}return null}function WD(n,t){if(n===t.value)return[t];for(const e of t.children){const r=WD(n,e);if(r.length)return r.unshift(t),r}return[]}
1class m0{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ag(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class dG extends fG{constructor(t,e){super(t),this.snapshot=e,qD(this,t)}toString(){return this.snapshot.toString()}}function hG(n,t){const e=function w5e(n,t){const s=new V_([],{},{},"",{},Es,t,null,n.root,-1,{});return new mG("",new m0(s,[]))}(n,t),r=new Wc([new Kv("",{})]),i=new Wc({}),o=new Wc({}),s=new Wc({}),a=new Wc(""),l=new z1(r,i,s,a,o,Es,t,e.root);return l.snapshot=e.root,new dG(new m0(l,[]),e)}class z1{constructor(t,e,r,i,o,s,a,l){var u,f;this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=null!==(u=null===(f=this.data)||void 0===f?void 0:f.pipe(qn(h=>h[Yv])))&&void 0!==u?u:Di(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(qn(t=>Cg(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(qn(t=>Cg(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pG(n,t="emptyOnly"){const e=n.pathFromRoot;let r=0;if("always"!==t)for(r=e.length-1;r>=1;){const i=e[r],o=e[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function C5e(n){return n.reduce((t,e)=>{var r;return{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...null===(r=e.routeConfig)||void 0===r?void 0:r.data,...e._resolvedData}}},{params:{},data:{},resolve:{}})}(e.slice(r))}class V_{constructor(t,e,r,i,o,s,a,l,u,f,h,v){var m;this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=null===(m=this.data)||void 0===m?void 0:m[Yv],this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=f,this._correctedLastPathIndex=v??f,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Cg(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Cg(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mG extends fG{constructor(t,e){super(e),this.url=t,qD(this,e)}toString(){return gG(this._root)}}function qD(n,t){t.value._routerState=n,t.children.forEach(e=>qD(n,e))}function gG(n){const t=n.children.length>0?` { ${n.children.map(gG).join(", ")} } `:"";return`${n.value}${t}`}function YD(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,eh(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),eh(t.params,e.params)||n.params.next(e.params),function zge(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!eh(n[e],t[e]))return!1;return!0}(t.url,e.url)||n.url.next(e.url),eh(t.data,e.data)||n.data.next(e.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function KD(n,t){const e=eh(n.params,t.params)&&function Uge(n,t){return W6(n,t)&&n.every((e,r)=>eh(e.parameters,t[r].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||KD(n.parent,t.parent))}function e7(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const r=e.value;r._futureSnapshot=t.value;const i=function E5e(n,t,e){return t.children.map(r=>{for(const i of e.children)if(n.shouldReuseRoute(r.value,i.value.snapshot))return e7(n,r,i);return e7(n,r)})}(n,t,e);return new m0(r,i)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>e7(n,a)),s}}const r=function A5e(n){return new z1(new Wc(n.url),new Wc(n.params),new Wc(n.queryParams),new Wc(n.fragment),new Wc(n.data),n.outlet,n.component,n)}(t.value),i=t.children.map(o=>e7(n,o));return new m0(r,i)}}const XD="ngNavigationCancelingError";function vG(n,t){const{redirectTo:e,navigationBehaviorOptions:r}=q6(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=yG(!1,0,t);return i.url=e,i.navigationBehaviorOptions=r,i}function yG(n,t,e){const r=new Error("NavigationCancelingError: "+(n||""));return r[XD]=!0,r.cancellationCode=t,e&&(r.url=e),r}function bG(n){return _G(n)&&q6(n.url)}function _G(n){return n&&n[XD]}class M5e{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new t7,this.attachRef=null}}let t7=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,r){const i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){const r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new M5e,this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const H_=!1;let ZD=(()=>{class n{constructor(e,r,i,o,s){this.parentContexts=e,this.location=r,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new zi,this.deactivateEvents=new zi,this.attachEvents=new zi,this.detachEvents=new zi,this.name=i||Es,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){var e;(null===(e=this.parentContexts.getContext(this.name))||void 0===e?void 0:e.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ir(4012,H_);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ir(4012,H_);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ir(4012,H_);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new ir(4013,H_);this._activatedRoute=e;const i=this.location,s=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new D5e(e,a,i.injector);if(r&&function k5e(n){return!!n.resolveComponentFactory}
1(r)){const u=r.resolveComponentFactory(s);this.activated=i.createComponent(u,i.length,l)}else this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(he(t7),he(wl),Xa("name"),he(Cl),he(Dn))},n.\u0275dir=_n({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),n})();class D5e{constructor(t,e,r){this.route=t,this.childContexts=e,this.parent=r}get(t,e){return t===z1?this.route:t===t7?this.childContexts:this.parent.get(t,e)}}let JD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ir({type:n,selectors:[["ng-component"]],standalone:!0,features:[iN],decls:1,vars:0,template:function(e,r){1&e&&ar(0,"router-outlet")},dependencies:[ZD],encapsulation:2}),n})();function xG(n,t){var e;return n.providers&&!n._injector&&(n._injector=a9(n.providers,t,`Route: ${n.path}`)),null!==(e=n._injector)&&void 0!==e?e:t}function ek(n){const t=n.children&&n.children.map(ek),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Es&&(e.component=JD),e}function f2(n){return n.outlet||Es}function wG(n,t){const e=n.filter(r=>f2(r)===t);return e.push(...n.filter(r=>f2(r)!==t)),e}function n7(n){var t;if(!n)return null;if(null!==(t=n.routeConfig)&&void 0!==t&&t._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const r=e.routeConfig;if(null!=r&&r._loadedInjector)return r._loadedInjector;if(null!=r&&r._injector)return r._injector}return null}class L5e{constructor(t,e,r,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=r,this.forwardEvent=i}activate(t){const e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,t),YD(this.futureState.root),this.activateChildRoutes(e,r,t)}deactivateChildRoutes(t,e,r){const i=Ag(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Su(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,e,r){const i=t.value,o=e?e.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,o=Ag(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,o=Ag(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,e,r){const i=Ag(e);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new _5e(o.value.snapshot))}),t.children.length&&this.forwardEvent(new y5e(t.value.snapshot))}activateRoutes(t,e,r){const i=t.value,o=e?e.value:null;if(YD(i),i===o)if(i.component){const a=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,r);else if(i.component){const a=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const l=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),YD(l.route.value),this.activateChildRoutes(t,null,a.children)}else{var s;const l=n7(i.snapshot),u=null!==(s=l?.get(o6))&&void 0!==s?s:null;a.attachRef=null,a.route=i,a.resolver=u,a.injector=l,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,r)}}class CG{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class j_{constructor(t,e){this.component=t,this.route=e}}function P5e(n,t,e){const r=n._root;return r7(r,t?t._root:null,e,[r.value])}function Mg(n,t){const e=Symbol(),r=t.get(n,e);return r===e?"function"!=typeof n||function Yo(n){return null!==Zr(n)}(n)?t.get(n):n:r}function r7(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ag(t);
1return n.children.forEach(s=>{(function F5e(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function z5e(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!W6(n.url,t.url);case"pathParamsOrQueryParamsChange":return!W6(n.url,t.url)||!eh(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!KD(n,t)||!eh(n.queryParams,t.queryParams);default:return!KD(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new CG(r)):(o.data=s.data,o._resolvedData=s._resolvedData),r7(n,t,o.component?a?a.children:null:e,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new j_(a.outlet.component,s))}else s&&i7(t,a,i),i.canActivateChecks.push(new CG(r)),r7(n,null,o.component?a?a.children:null:e,r,i)})(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Su(o,(s,a)=>i7(s,e.getContext(a),i)),i}function i7(n,t,e){const r=Ag(n),i=n.value;Su(r,(o,s)=>{i7(o,i.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new j_(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}function o7(n){return"function"==typeof n}function tk(n){return n instanceof I_||"EmptyError"===n?.name}const U_=Symbol("INITIAL_VALUE");function Dg(){return uc(n=>$m(n.map(t=>t.pipe(Va(1),e2(U_)))).pipe(qn(t=>{for(const e of t)if(!0!==e){if(e===U_)return U_;if(!1===e||e instanceof G6)return e}return!0}),Qa(t=>t!==U_),Va(1)))}function SG(n){return function Ge(...n){return Wt(n)}(Tl(t=>{if(q6(t))throw vG(0,t)}),qn(t=>!0===t))}const nk={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function EG(n,t,e,r,i){const o=rk(n,t,e);return o.matched?function t8e(n,t,e,r){const i=t.canMatch;return i&&0!==i.length?Di(i.map(s=>{const a=Mg(s,n);return Rp(function $5e(n){return n&&o7(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(Dg(),SG()):Di(!0)}(r=xG(t,r),t,e).pipe(qn(s=>!0===s?o:{...nk})):Di(o)}function rk(n,t,e){var r;if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...nk}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(t.matcher||Fge)(e,n,t);if(!o)return{...nk};const s={};Su(o.posParams,(l,u)=>{s[u]=l.path});const a=o.consumed.length>0?{...s,...o.consumed[o.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:null!==(r=o.posParams)&&void 0!==r?r:{}}}function $_(n,t,e,r,i="corrected"){if(e.length>0&&function i8e(n,t,e){return e.some(r=>G_(n,t,r)&&f2(r)!==Es)}(n,e,r)){const s=new ks(t,function r8e(n,t,e,r){const i={};i[Es]=r,r._sourceSegment=n,r._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&f2(o)!==Es){const s=new ks([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,i[f2(o)]=s}return i}(n,t,r,new ks(e,n.children)));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function o8e(n,t,e){return e.some(r=>G_(n,t,r))}(n,e,r)){const s=new ks(n.segments,function n8e(n,t,e,r,i,o){const s={};for(const a of r)if(G_(n,e,a)&&!i[f2(a)]){const l=new ks([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===o?n.segments.length:t.length,s[f2(a)]=l}return{...i,...s}}(n,t,e,r,n.children,i));return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}const o=new ks(n.segments,n.children);return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}function G_(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function AG(n,t,e,r){return!!(f2(n)===r||r!==Es&&G_(t,e,n))&&("**"===n.path||rk(t,n,e).matched)}function MG(n,t,e){return 0===t.length&&!n.children[e]}const W_=!1;class q_{constructor(t){this.segmentGroup=t||null}}class DG{constructor(t){this.urlTree=t}}function s7(n){return ig(new q_(n))}function kG(n){return ig(new DG(n))}class c8e{constructor(t,e,r,i,o){this.injector=t,this.configLoader=e,this.urlSerializer
1=r,this.urlTree=i,this.config=o,this.allowRedirects=!0}apply(){const t=$_(this.urlTree.root,[],[],this.config).segmentGroup,e=new ks(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,Es).pipe(qn(o=>this.createUrlTree(z_(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(r2(o=>{if(o instanceof DG)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof q_?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,Es).pipe(qn(i=>this.createUrlTree(z_(i),t.queryParams,t.fragment))).pipe(r2(i=>{throw i instanceof q_?this.noMatchError(i):i}))}noMatchError(t){return new ir(4002,W_)}createUrlTree(t,e,r){const i=VD(t);return new G6(i,e,r)}expandSegmentGroup(t,e,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,e,r).pipe(qn(o=>new ks([],o))):this.expandSegment(t,r,e,r.segments,i,!0)}expandChildren(t,e,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return gi(i).pipe(_p(o=>{const s=r.children[o],a=wG(e,o);return this.expandSegmentGroup(t,a,s,o).pipe(qn(l=>({segment:l,outlet:o})))}),U$((o,s)=>(o[s.outlet]=s.segment,o),{}),$$())}expandSegment(t,e,r,i,o,s){return gi(r).pipe(_p(a=>this.expandSegmentAgainstRoute(t,e,r,a,i,o,s).pipe(r2(u=>{if(u instanceof q_)return Di(null);throw u}))),u2(a=>!!a),r2((a,l)=>{if(tk(a))return MG(e,i,o)?Di(new ks([],{})):s7(e);throw a}))}expandSegmentAgainstRoute(t,e,r,i,o,s,a){return AG(i,e,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,r,i,o,s):s7(e):s7(e)}expandSegmentAgainstRouteUsingRedirect(t,e,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?kG(o):this.lineralizeSegments(r,o).pipe(Ai(s=>{const a=new ks(s,{});return this.expandSegment(t,a,e,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,i,o,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:f}=rk(e,i,o);if(!a)return s7(e);const h=this.applyRedirectCommands(l,i.redirectTo,f);return i.redirectTo.startsWith("/")?kG(h):this.lineralizeSegments(i,h).pipe(Ai(v=>this.expandSegment(t,e,r,v.concat(u),s,!1)))}matchSegmentAgainstRoute(t,e,r,i,o){return"**"===r.path?(t=xG(r,t),r.loadChildren?(r._loadedRoutes?Di({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe(qn(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new ks(i,{})))):Di(new ks(i,{}))):EG(e,r,i,t).pipe(uc(({matched:s,consumedSegments:a,remainingSegments:l})=>{var u;return s?(t=null!==(u=r._injector)&&void 0!==u?u:t,this.getChildConfig(t,r,i).pipe(Ai(h=>{var v;const m=null!==(v=h.injector)&&void 0!==v?v:t,x=h.routes,{segmentGroup:p,slicedSegments:P}=$_(e,a,l,x),T=new ks(p.segments,p.children);if(0===P.length&&T.hasChildren())return this.expandChildren(m,x,T).pipe(qn(ie=>new ks(a,ie)));if(0===x.length&&0===P.length)return Di(new ks(a,{}));const H=f2(r)===o;return this.expandSegment(m,T,x,P,H?Es:o,!0).pipe(qn(ee=>new ks(a.concat(ee.segments),ee.children)))}))):s7(e)}))}getChildConfig(t,e,r){return e.children?Di({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?Di({routes:e._loadedRoutes,injector:e._loadedInjector}):function e8e(n,t,e,r){const i=t.canLoad;return void 0===i||0===i.length?Di(!0):Di(i.map(s=>{const a=Mg(s,n);return Rp(function V5e(n){return n&&o7(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(Dg(),SG())}(t,e,r).pipe(Ai(i=>i?this.configLoader.loadChildren(t,e).pipe(Tl(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function a8e(n){return ig(yG(W_,3))}())):Di({routes:[],injector:t})}lineralizeSegments(t,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return Di(r);if(i.numberOfChildren>1||!i.children[Es])return ig(new ir(4e3,W_));i=i.children[Es]}}applyRedirectCommands(t,e,r){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,r)}
1applyRedirectCreateUrlTree(t,e,r,i){const o=this.createSegmentGroup(t,e.root,r,i);return new G6(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const r={};return Su(t,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=e[a]}else r[o]=i}),r}createSegmentGroup(t,e,r,i){const o=this.createSegments(t,e.segments,r,i);let s={};return Su(e.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,i)}),new ks(o,s)}createSegments(t,e,r,i){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,e,r){const i=r[e.path.substring(1)];if(!i)throw new ir(4001,W_);return i}findOrReturn(t,e){let r=0;for(const i of e){if(i.path===t.path)return e.splice(r),i;r++}return t}}class f8e{}class p8e{constructor(t,e,r,i,o,s,a,l){this.injector=t,this.rootComponentType=e,this.config=r,this.urlTree=i,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=$_(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,Es).pipe(qn(e=>{if(null===e)return null;const r=new V_([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Es,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new m0(r,e),o=new mG(this.url,i);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,r=pG(e,this.paramsInheritanceStrategy);e.params=Object.freeze(r.params),e.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,e,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,e,r):this.processSegment(t,e,r,r.segments,i)}processChildren(t,e,r){return gi(Object.keys(r.children)).pipe(_p(i=>{const o=r.children[i],s=wG(e,i);return this.processSegmentGroup(t,s,o,i)}),U$((i,o)=>i&&o?(i.push(...o),i):null),JH(i=>null!==i),O_(null),$$(),qn(i=>{if(null===i)return null;const o=TG(i);return function m8e(n){n.sort((t,e)=>t.value.outlet===Es?-1:e.value.outlet===Es?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,r,i,o){return gi(e).pipe(_p(s=>{var a;return this.processSegmentAgainstRoute(null!==(a=s._injector)&&void 0!==a?a:t,s,r,i,o)}),u2(s=>!!s),r2(s=>{if(tk(s))return MG(r,i,o)?Di([]):Di(null);throw s}))}processSegmentAgainstRoute(t,e,r,i,o){if(e.redirectTo||!AG(e,r,i,o))return Di(null);let s;if("**"===e.path){var a,l;const u=i.length>0?q$(i).parameters:{},f=OG(r)+i.length;s=Di({snapshot:new V_(i,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,LG(e),f2(e),null!==(a=null!==(l=e.component)&&void 0!==l?l:e._loadedComponent)&&void 0!==a?a:null,e,IG(r),f,PG(e),f),consumedSegments:[],remainingSegments:[]})}else s=EG(r,e,i,t).pipe(qn(({matched:u,consumedSegments:f,remainingSegments:h,parameters:v})=>{var m,x;if(!u)return null;const p=OG(r)+f.length;return{snapshot:new V_(f,v,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,LG(e),f2(e),null!==(m=null!==(x=e.component)&&void 0!==x?x:e._loadedComponent)&&void 0!==m?m:null,e,IG(r),p,PG(e),p),consumedSegments:f,remainingSegments:h}}));return s.pipe(uc(u=>{var f,h;if(null===u)return Di(null);const{snapshot:v,consumedSegments:m,remainingSegments:x}=u;t=null!==(f=e._injector)&&void 0!==f?f:t;const p=null!==(h=e._loadedInjector)&&void 0!==h?h:t,P=function g8e(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:T,slicedSegments:H}=$_(r,m,x,P.filter(ee=>void 0===ee.redirectTo),this.relativeLinkResolution);if(0===H.length&&T.hasChildren())return this.processChildren(p,P,T).pipe(qn(ee=>null===ee?null:[new m0(v,ee)]));if(0===P.length&&0===H.length)return Di([new m0(v,[])]);const U=f2(e)===o;return this.processSegment(p,P,T,H,U?Es:o).pipe(qn(ee=>null===ee?null:[new m0(v,ee)]))}))}}function v8e(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function TG(n){const t=[],e=new Set;for(const r of n){if(!v8e(r)){t.push(r);continue}const i=t.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),e.add(i)):t.push(r)}for(const r of e){const i=TG(r.children);t.push(new m0(r.value,i))}return t.filter(r=>!e.has(r))}function IG(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function OG(n){var t;let e=n,r=null!==(t=e._segmentIndexShift)&&void 0!==t?t:0;for(;e._sourceSegment;){var i;e=e._sourceSegment,r+=null!==(i=e._segmentIndexShift)&&void 0!==i?i:0}return r-1}function LG(n){return n.data||{}}function PG(n){return n.resolve||{}}function NG(n){return"string"==typeof n.title||null===n.title}function ik(n){return uc(t=>{const e=n(t);return e?gi(e).pipe(qn(()=>t)):Di(t)})}let FG=(()=>{class n{buildTitle(e){let r,i=e.root;for(;void 0!==i;){var o;r=null!==(o=this.getResolvedTitleForRoute(i))&&void 0!==o?o:r,i=i.children.find(s=>s.outlet===Es)}return r}getResolvedTitleForRoute(e){return e.data[Yv]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:function(){return la(zG)},providedIn:"root"}),n})(),zG=(()=>{class n extends FG{constructor(e){super(),this.title=e}updateTitle(e){const r=this.buildTitle(e);void 0!==r&&this.title.setTitle(r)}}return n.\u0275fac=function(e){return new(e||n)(qt(lz))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class E8e{}class M8e extends class A8e{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const K_=new or("",{providedIn:"root",factory:()=>({})}),ok=new or("ROUTES");let sk=(()=>{class n{constructor(e,r){this.injector=e,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Di(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const r=Rp(e.loadComponent()).pipe(Tl(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Wb(()=>{this.componentLoaders.delete(e)})),i=new mM(r,()=>new nt).pipe(pM());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Di({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(qn(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,f=!1;Array.isArray(a)?u=a:(l=a.create(e).injector,u=W$(l.get(ok,[],Ji.Self|Ji.Optional)));return{routes:u.map(ek),injector:l}}),Wb(()=>{this.childrenLoaders.delete(r)})),s=new mM(o,()=>new nt).pipe(pM());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(e){return Rp(e()).pipe(Ai(r=>r instanceof nN||Array.isArray(r)?Di(r):gi(this.compiler.compileModuleAsync(r))))}}return n.\u0275fac=function(e){return new(e||n)(qt(Dc),qt(US))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class k8e{}class T8e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function I8e(n){throw n}function O8e(n,t,e){return t.parse("/")}const R8e={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},L8e={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function VG(){var n,t;const e=la(Q$),r=la(t7),i=la(V8),o=la(Dc),s=la(US),a=null!==(n=la(ok,{optional:!0}))&&void 0!==n?n:[],l=null!==(t=la(K_,{optional:!0}))&&void 0!==t?t:{},u=la(zG),f=la(FG,{optional:!0}),h=la(k8e,{optional:!0}),v=la(E8e,{optional:!0}),m=new Ll(null,e,r,i,o,s,W$(a));return h&&(m.urlHandlingStrategy=h),v&&(m.routeReuseStrategy=v),m.titleStrategy=f??u,function P8e(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(l,m),m}let Ll=(()=>{class n{constructor(e,r,i,o,s,a,l){this.rootComponentType=e,this.urlSerializer
1=r,this.rootContexts=i,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new nt,this.errorHandler=I8e,this.malformedUriErrorHandler=O8e,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>Di(void 0),this.urlHandlingStrategy=new T8e,this.routeReuseStrategy=new M8e,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(sk),this.configLoader.onLoadEndListener=v=>this.triggerEvent(new g5e(v)),this.configLoader.onLoadStartListener=v=>this.triggerEvent(new m5e(v)),this.ngModule=s.get(u6),this.console=s.get(Are);const h=s.get(Qi);this.isNgZoneEnabled=h instanceof Qi&&Qi.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function Bge(){return new G6(new ks([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=hG(this.currentUrlTree,this.rootComponentType),this.transitions=new Wc({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const r=this.events;return e.pipe(Qa(i=>0!==i.id),qn(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),uc(i=>{let o=!1,s=!1;return Di(i).pipe(Tl(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),uc(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return HG(a.source)&&(this.browserUrlTree=a.extractedUrl),Di(a).pipe(uc(h=>{const v=this.transitions.getValue();return r.next(new $D(h.id,this.serializeUrl(h.extractedUrl),h.source,h.restoredState)),v!==this.transitions.getValue()?fi:Promise.resolve(h)}),function u8e(n,t,e,r){return uc(i=>function l8e(n,t,e,r,i){return new c8e(n,t,e,r,i).apply()}(n,t,e,i.extractedUrl,r).pipe(qn(o=>({...i,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Tl(h=>{this.currentNavigation={...this.currentNavigation,finalUrl:h.urlAfterRedirects},i.urlAfterRedirects=h.urlAfterRedirects}),function b8e(n,t,e,r,i,o){return Ai(s=>
1function h8e(n,t,e,r,i,o,s="emptyOnly",a="legacy"){return new p8e(n,t,e,r,i,s,a,o).recognize().pipe(uc(l=>null===l?function d8e(n){return new wt(t=>t.error(n))}(new f8e):Di(l)))}(n,t,e,s.urlAfterRedirects,r.serialize(s.urlAfterRedirects),r,i,o).pipe(qn(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Tl(h=>{if(i.targetSnapshot=h.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!h.extras.skipLocationChange){const m=this.urlHandlingStrategy.merge(h.urlAfterRedirects,h.rawUrl);this.setBrowserUrl(m,h)}this.browserUrlTree=h.urlAfterRedirects}const v=new u5e(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(h.urlAfterRedirects),h.targetSnapshot);r.next(v)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:v,extractedUrl:m,source:x,restoredState:p,extras:P}=a,T=new $D(v,this.serializeUrl(m),x,p);r.next(T);const H=hG(m,this.rootComponentType).snapshot;return Di(i={...a,targetSnapshot:H,urlAfterRedirects:m,extras:{...P,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),fi}),Tl(a=>{const l=new f5e(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),qn(a=>i={...a,guards:P5e(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function W5e(n,t){return Ai(e=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?Di({...e,guardsResult:!0}):function q5e(n,t,e,r){return gi(n).pipe(Ai(i=>function Q5e(n,t,e,r,i){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Di(o.map(a=>{var l;const u=null!==(l=n7(t))&&void 0!==l?l:i,f=Mg(a,u);return Rp(function U5e(n){return n&&o7(n.canDeactivate)}(f)?f.canDeactivate(n,t,e,r):u.runInContext(()=>f(n,t,e,r))).pipe(u2())})).pipe(Dg()):Di(!0)}(i.component,i.route,e,t,r)),u2(i=>!0!==i,!0))}(s,r,i,n).pipe(Ai(a=>a&&function B5e(n){return"boolean"==typeof n}(a)?function Y5e(n,t,e,r){return gi(t).pipe(_p(i=>iv(function X5e(n,t){return null!==n&&t&&t(new v5e(n)),Di(!0)}(i.route.parent,r),function K5e(n,t){return null!==n&&t&&t(new b5e(n)),Di(!0)}(i.route,r),function J5e(n,t,e){const r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function N5e(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>eg(()=>Di(s.guards.map(l=>{var u;const f=null!==(u=n7(s.node))&&void 0!==u?u:e,h=Mg(l,f);return Rp(function j5e(n){return n&&o7(n.canActivateChild)}(h)?h.canActivateChild(r,n):f.runInContext(()=>h(r,n))).pipe(u2())})).pipe(Dg())));return Di(o).pipe(Dg())}(n,i.path,e),function Z5e(n,t,e){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Di(!0);const i=r.map(o=>eg(()=>{var s;const a=null!==(s=n7(t))&&void 0!==s?s:e,l=Mg(o,a);return Rp(function H5e(n){return n&&o7(n.canActivate)}(l)?l.canActivate(t,n):a.runInContext(()=>l(t,n))).pipe(u2())}));return Di(i).pipe(Dg())}(n,i.route,e))),u2(i=>!0!==i,!0))}(r,o,n,t):Di(a)),qn(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Tl(a=>{if(i.guardsResult=a.guardsResult,q6(a.guardsResult))throw vG(0,a.guardsResult);const l=new d5e(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),Qa(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),ik(a=>{if(a.guards.canActivateChecks.length)return Di(a).pipe(Tl(l=>{const u=new h5e(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),uc(l=>{let u=!1;return Di(l).pipe(function _8e(n,t){return Ai(e=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return Di(e);let o=0;return gi(i).pipe(_p(s=>function x8e(n,t,e,r){const i=n.routeConfig,o=n._resolve;return void 0!==i?.title&&!NG(i)&&(o[Yv]=i.title),function w8e(n,t,e,r){const i=function C8e(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===i.length)return Di({});const o={};return gi(i).pipe(Ai(s=>function S8e(n,t,e,r){var i;const o=null!==(i=n7(t))&&void 0!==i?i:r,s=Mg(n,o);return Rp(s.resolve?s.resolve(t,e):o.runInContext(()=>s(t,e)))}(n[s],t,e,r).pipe(u2(),Tl(a=>{o[s]=a}))),ND(1),mj(o),r2(s=>tk(s)?fi:ig(s)))}(o,n,t,r).pipe(qn(s=>
1(n._resolvedData=s,n.data=pG(n,e).resolve,i&&NG(i)&&(n.data[Yv]=i.title),null)))}(s.route,r,n,t)),Tl(()=>o++),ND(1),Ai(s=>o===i.length?Di(e):fi))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Tl({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),Tl(l=>{const u=new p5e(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),ik(a=>{const l=u=>{var f;const h=[];null!==(f=u.routeConfig)&&void 0!==f&&f.loadComponent&&!u.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(u.routeConfig).pipe(Tl(v=>{u.component=v}),qn(()=>{})));for(const v of u.children)h.push(...l(v));return h};return $m(l(a.targetSnapshot.root)).pipe(O_(),Va(1))}),ik(()=>this.afterPreactivation()),qn(a=>{const l=function S5e(n,t,e){const r=e7(n,t._root,e?e._root:void 0);return new dG(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i={...a,targetRouterState:l}}),Tl(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>qn(r=>(new L5e(t,r.targetRouterState,r.currentRouterState,e).activate(n),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Tl({next(){o=!0},complete(){o=!0}}),Wb(()=>{var a;o||s||this.cancelNavigationTransition(i,"",1),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),r2(a=>{if(s=!0,_G(a)){bG(a)||(this.navigated=!0,this.restoreHistory(i,!0));const u=new B_(i.id,this.serializeUrl(i.extractedUrl),a.message,a.cancellationCode);
1if(r.next(u),bG(a)){const f=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),h={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||HG(i.source)};this.scheduleNavigation(f,"imperative",null,h,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{var l;this.restoreHistory(i,!0);const u=new cG(i.id,this.serializeUrl(i.extractedUrl),a,null!==(l=i.targetSnapshot)&&void 0!==l?l:void 0);r.next(u);try{i.resolve(this.errorHandler(a))}catch(f){i.reject(f)}}return fi}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const r="popstate"===e.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const o={replaceUrl:!0},s=null!==(i=e.state)&&void 0!==i&&i.navigationId?e.state:null;if(s){const l={...s};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,r,s,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(ek),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=i||this.routerState.root,f=l?this.currentUrlTree.fragment:s;let h=null;switch(a){case"merge":h={...this.currentUrlTree.queryParams,...o};break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}return null!==h&&(h=this.removeEmptyProps(h)),i5e(u,this.currentUrlTree,e,h,f??null)}navigateByUrl(e,r={skipLocationChange:!1}){const i=q6(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(e,r={skipLocationChange:!1}){return function N8e(n){for(let t=0;t<n.length;t++){if(null==n[t])throw new ir(4008,false)}}(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let r;try{r=this.urlSerializer.parse(e)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,e)}return r}isActive(e,r){let i;if(i=!0===r?{...R8e}:!1===r?{...L8e}:r,q6(e))return K$(this.currentUrlTree,e,i);const o=this.parseUrl(e);return K$(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.keys(e).reduce((r,i)=>{const o=e[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(e=>{var r;this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Y6(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(r=this.titleStrategy)||void 0===r||r.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,u;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((x,p)=>{a=x,l=p});const f=++this.navigationId;let h;if("computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(i=this.location.getState()),i&&i.\u0275routerPageId)h=i.\u0275routerPageId;else if(o.replaceUrl||o.skipLocationChange){var v;h=null!==(v=this.browserPageId)&&void 0!==v?v:0}else{var m;h=(null!==(m=this.browserPageId)&&void 0!==m?m:0)+1}else h=0;return this.setTransition({id:f,targetPageId:h,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(x=>Promise.reject(x))}setBrowserUrl(e,r){const i=this.urlSerializer.serialize(e),o={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(e,r=!1){if("computed"===this.canceledNavigationResolution){var i,o;const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===s?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,r,i){const o=new B_(e.id,this.serializeUrl(e.extractedUrl),r,i);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,r){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}}return n.\u0275fac=function(e){$2()},n.\u0275prov=un({token:n,factory:function(){return VG()},providedIn:"root"}),n})();function HG(n){return"imperative"!==n}let B1=(()=>{class n{constructor(e,r,i,o,s){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new nt,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=Kh(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Kh(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Kh(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const r=this.renderer,i=this.el.nativeElement;null!==e?r.setAttribute(i,"tabindex",e):r.removeAttribute(i,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return n.\u0275fac=function(e){return new(e||n)(he(Ll),he(z1),Xa("tabindex"),he(k1),he(Jr))},n.\u0275dir=_n({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,r){1&e&&pr("click",function(){return r.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Hs]}),n})(),od=(()=>{class n{constructor(e,r,i){this.router=e,this.route=r,this.locationStrategy=i,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new nt,this.subscription=e.events.subscribe(o=>{o instanceof Y6&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=Kh(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Kh(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Kh(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,r,i,o,s){return!!(0!==e||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return n.\u0275fac=function(e){return new(e||n)(he(Ll),he(z1),he(h6))},n.\u0275dir=_n({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,r){1&e&&pr("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&ro("target",r.target)("href",r.href,jc)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Hs]}),n})(),jG=(()=>{class n{constructor(e,r,i,o,s,a){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new zi,this.routerEventsSubscription=e.events.subscribe(l=>{l instanceof Y6&&this.update()})}ngAfterContentInit(){Di(this.links.changes,this.linksWithHrefs.changes,Di(null)).pipe(Bo()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const r=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=gi(r).pipe(Bo()).subscribe(i=>{this.isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){const r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEac
1h(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(e))})}isLinkActive(e){const r=function F8e(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&e.isActive(i.urlTree,r)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return n.\u0275fac=function(e){return new(e||n)(he(Ll),he(Jr),he(k1),he(Cl),he(B1,8),he(od,8))},n.\u0275dir=_n({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(e,r,i){if(1&e&&(na(i,B1,5),na(i,od,5)),2&e){let o;_i(o=xi())&&(r.links=o),_i(o=xi())&&(r.linksWithHrefs=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Hs]}),n})();class UG{}let z8e=(()=>{class n{constructor(e,r,i,o,s){this.router=e,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Qa(e=>e instanceof Y6),_p(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){const i=[];for(const l of r){var o,s;l.providers&&!l._injector&&(l._injector=a9(l.providers,e,`Route: ${l.path}`));const u=null!==(o=l._injector)&&void 0!==o?o:e,f=null!==(s=l._loadedInjector)&&void 0!==s?s:u;if(l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent)i.push(this.preloadConfig(u,l));else if(l.children||l._loadedRoutes){var a;i.push(this.processRoutes(f,null!==(a=l.children)&&void 0!==a?a:l._loadedRoutes))}}return gi(i).pipe(Bo())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(e,r):Di(null);const o=i.pipe(Ai(s=>{var a;return null===s?Di(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(null!==(a=s.injector)&&void 0!==a?a:e,s.routes))}));return r.loadComponent&&!r._loadedComponent?gi([o,this.loader.loadComponent(r)]).pipe(Bo()):o})}}return n.\u0275fac=function(e){return new(e||n)(qt(Ll),qt(US),qt(Dn),qt(UG),qt(sk))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ak=new or("");let $G=(()=>{class n{constructor(e,r,i={}){this.router=e,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof $D?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Y6&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof uG&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.router.triggerEvent(new uG(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){$2()},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();function kg(n,t){return{\u0275kind:n,\u0275providers:t}}function lk(n){return[{provide:ok,multi:!0,useValue:n}]}function WG(){const n=la(Dc);return t=>{var e,r;const i=n.get(Nm);if(t!==i.components[0])return;const o=n.get(Ll),s=n.get(qG);1===n.get(ck)&&o.initialNavigation(),null===(e=n.get(YG,null,Ji.Optional))||void 0===e||e.setUpPreloading(),null===(r=n.get(ak,null,Ji.Optional))||void 0===r||r.init(),o.resetRootComponentType(i.componentTypes[0]),s.next(),s.complete()}}const qG=new or("",{factory:()=>new nt}),ck=new or("",{providedIn:"root",factory:()=>1});const YG=new or("");function j8e(n){return kg(0,[{provide:YG,useExisting:z8e},{provide:UG,useExisting:n}])}
1const KG=new or("ROUTER_FORROOT_GUARD"),U8e=[V8,{provide:Q$,useClass:zD},{provide:Ll,useFactory:VG},t7,{provide:z1,useFactory:function GG(n){return n.routerState.root},deps:[Ll]},sk];function $8e(){return new XN("Router",Ll)}let XG=(()=>{class n{constructor(e){}static forRoot(e,r){return{ngModule:n,providers:[U8e,[],lk(e),{provide:KG,useFactory:Y8e,deps:[[Ll,new S1,new Hf]]},{provide:K_,useValue:r||{}},null!=r&&r.useHash?{provide:h6,useClass:pie}:{provide:h6,useClass:xF},{provide:ak,useFactory:()=>{const n=la(Ll),t=la(Moe),e=la(K_);return e.scrollOffset&&t.setOffset(e.scrollOffset),new $G(n,t,e)}},null!=r&&r.preloadingStrategy?j8e(r.preloadingStrategy).\u0275providers:[],{provide:XN,multi:!0,useFactory:$8e},null!=r&&r.initialNavigation?K8e(r):[],[{provide:ZG,useFactory:WG},{provide:jS,multi:!0,useExisting:ZG}]]}}static forChild(e){return{ngModule:n,providers:[lk(e)]}}}return n.\u0275fac=function(e){return new(e||n)(qt(KG,8))},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[JD]}),n})();function Y8e(n){return"guarded"}function K8e(n){return["disabled"===n.initialNavigation?kg(3,[{provide:f9,multi:!0,useFactory:()=>{const t=la(Ll);return()=>{t.setUpLocationChangeListener()}}},{provide:ck,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?kg(2,[{provide:ck,useValue:0},{provide:f9,multi:!0,deps:[Dc],useFactory:t=>{const e=t.get(die,Promise.resolve());let r=!1;return()=>e.then(()=>new Promise(o=>{const s=t.get(Ll),a=t.get(qG);(function i(o){t.get(Ll).events.pipe(Qa(a=>a instanceof Y6||a instanceof B_||a instanceof cG),qn(a=>a instanceof Y6||a instanceof B_&&(0===a.code||1===a.code)&&null),Qa(a=>null!==a),Va(1)).subscribe(()=>{o()})})(()=>{o(!0),r=!0}),s.afterPreactivation=()=>(o(!0),r||a.closed?Di(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const ZG=new or(""),ka={production:!0,enteropathwayApiEndpoint:window.location.protocol+"//"+window.location.hostname+":8081/",enteropathwayGraphicsApiEndpoint:window.location.protocol+"//"+window.location.hostname+":8086/",searchApiEndpoint:window.location.protocol+"//"+window.location.hostname+":8087/",baseHrefHelper:"/",passwordMinLength:12,passwordMaxLength:64};let JG=(()=>{class n{constructor(e){this.http=e,this.api=ka.enteropathwayGraphicsApiEndpoint+"api/graphics"}getStatistics(){return this.http.get(this.api+"/statistics")}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),d2=(()=>{class n{constructor(){this.visible=!0}hide(){this.visible=!1}show(){this.visible=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),Z8e=(()=>{class n{constructor(e,r){this.statisticsService=e,this.nav=r,this.version=c(4147).i8}ngOnInit(){this.nav.show(),this.statisticsService.getStatistics().subscribe(e=>{this.statistics=e})}}return n.\u0275fac=function(e){return new(e||n)(he(JG),he(d2))},n.\u0275cmp=Ir({type:n,selectors:[["app-about"]],decls:57,vars:7,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],[2,"font-size","48px","font-family","'Monoton', cursive"],[2,"font-weight","300"],["href","https://comp.life.isct.ac.jp","target","_blank",1,"link"],["id","statistics"],["fxLayout","row"],["fxFlex","4","fxLayoutAlign","end"],["fxFlex","1"],[1,"text-light"],[1,"permanent-marker"],["href","mailto:[email protected]",1,"link"],["href","https://doi.org/10.1093/bib/bbae419","target","_blank",1,"link"]],template:function(e,r){1&e&&(Te(0,"main")(1,"div",0)(2,"section")(3,"span",1),pt(4,"About"),Re(),Te(5,"p"),pt(6),Re(),Te(7,"p",2),pt(8,"Enteropathway is actively developed at the "),Te(9,"a",3),pt(10,"Yamada Lab"),Re(),pt(11,", Institute of Science Tokyo. "),Re()(),ar(12,"mat-divider"),Te(13,"section",4)(14,"p"),pt(15),Re(),Te(16,"p",5)(17,"span",6),pt(18),Re(),ar(19,"span",7),Te(20,"span",8),pt(21,"Gut Metabolic Modules"),Re()(),Te(22,"p",5)(23,"span",6),pt(24),Re(),ar(25,"span",7),Te(26,"span",8),pt(27,"Reactions"),Re()(),Te(28,"p",5)(29,"span",6),pt(30),Re(),ar(31,"span",7),Te(32,"span",8),pt(33,"Metabol
1ites"),Re()(),Te(34,"p",5)(35,"span",6),pt(36),Re(),ar(37,"span",7),Te(38,"span",8),pt(39,"Literature References"),Re()()(),ar(40,"mat-divider"),Te(41,"section")(42,"h3",9),pt(43,"Contact"),Re(),Te(44,"p",8),pt(45," For questions, feedback or a new feature request, please feel free to write us at "),Te(46,"a",10),pt(47,"[email protected]"),Re()()(),Te(48,"section")(49,"h3",9),pt(50,"Citation"),Re(),Te(51,"p",8),pt(52,"Enteropathway: the metabolic pathway database for the human gut microbiota."),Re(),Te(53,"p",8),pt(54,"doi:"),Te(55,"a",11),pt(56,"https://doi.org/10.1093/bib/bbae419"),Re()()()()()),2&e&&(ct(6),ns("Enteropathway App - version ",r.version,""),ct(9),T8("Database version ",null==r.statistics?null:r.statistics.version," - ",null==r.statistics?null:r.statistics.date,""),ct(3),oo(null==r.statistics?null:r.statistics.modules),ct(6),oo(null==r.statistics?null:r.statistics.reactions),ct(6),oo(null==r.statistics?null:r.statistics.metabolites),ct(6),oo(null==r.statistics?null:r.statistics.references))},dependencies:[Ha,ja,t2,Yc,T6],styles:["main[_ngcontent-%COMP%]{font-family:Roboto,sans-serif}li[_ngcontent-%COMP%]{font-weight:300}"]}),n})();var gs=c(54284),g0=c(8612),J8e=c.n(g0);function Q_(n){return(Q_="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})(n)}function Q8e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function QG(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function tve(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function eW(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function nve(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};
vendor: 13,973 bytes, line 1
1t%2?eW(e,!0).forEach(function(r){tve(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):eW(e).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}function uk(n){return(uk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(n)}function fk(n,t){return(fk=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r})(n,t)}function ove(n,t){return!t||"object"!=typeof t&&"function"!=typeof t?function ive(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):t}var tW={};function lve(n,t,e){return function ave(n){return null==n}(n)?e:function sve(n){return null!==n&&"object"===Q_(n)&&"function"==typeof n.get&&"function"==typeof n.has}(n)?n.has(t)?n.get(t):e:hasOwnProperty.call(n,t)?n[t]:e}function nW(n,t,e){for(var r=0;r!==t.length;)if((n=lve(n,t[r++],tW))===tW)return e;return n}function dk(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=cve(t,e),i=n||Object.keys(nve({},e,{},t));return i.every(r)}function cve(n,t){return function(e){if("string"==typeof e)return(0,g0.is)(t[e],n[e]);if(Array.isArray(e))return(0,g0.is)(nW(t,e),nW(n,e));throw new TypeError("Invalid key: expected Array or string: "+e)}}var uve=function(n){function t(){return Q8e(this,t),ove(this,uk(t).apply(this,arguments))}return function rve(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&fk(n,t)}(t,n),function eve(n,t,e){t&&QG(n.prototype,t),e&&QG(n,e)}(t,[{key:"shouldComponentUpdate",value:function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!dk(this.updateOnProps,this.props,r,"updateOnProps")||!dk(this.updateOnStates,this.state,i,"updateOnStates")}}]),t}(gs.Component);const fve=uve;function rW(n,t){if(Array.prototype.indexOf)return n.indexOf(t);for(var e=0,r=n.length;e<r;e++)if(n[e]===t)return e;return-1}function K6(n,t){for(var e=n.length-1;e>=0;e--)!0===t(n[e])&&n.splice(e,1)}function hk(n){throw new Error("Unhandled case for value: '".concat(n,"'"))}var e,pk=function(){function n(t){void 0===t&&(t={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=t.tagName||"",this.attrs=t.attrs||{},this.innerHTML=t.innerHtml||t.innerHTML||""}return n.prototype.setTagName=function(t){return this.tagName=t,this},n.prototype.getTagName=function(){return this.tagName||""},n.prototype.setAttr=function(t,e){return this.getAttrs()[t]=e,this},n.prototype.getAttr=function(t){return this.getAttrs()[t]},n.prototype.setAttrs=function(t){return Object.assign(this.getAttrs(),t),this},n.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},n.prototype.setClass=function(t){return this.setAttr("class",t)},n.prototype.addClass=function(t){for(var s,e=this.getClass(),r=this.whitespaceRegex,i=e?e.split(r):[],o=t.split(r);s=o.shift();)-1===rW(i,s)&&i.push(s);return this.getAttrs().class=i.join(" "),this},n.prototype.removeClass=function(t){for(var s,e=this.getClass(),r=this.whitespaceRegex,i=e?e.split(r):[],o=t.split(r);i.length&&(s=o.shift());){var a=rW(i,s);-1!==a&&i.splice(a,1)}return this.getAttrs().class=i.join(" "),this},n.prototype.getClass=function(){return this.getAttrs().class||""},n.prototype.hasClass=function(t){return-1!==(" "+this.getClass()+" ").indexOf(" "+t+" ")},n.prototype.setInnerHTML=function(t){return this.innerHTML=t,this},n.prototype.setInnerHtml=function(t){return this.setInnerHTML(t)},n.prototype.getInnerHTML=function(){return this.innerHTML||""},n.prototype.getInnerHtml=function(){return this.getInnerHTML()},n.prototype.toAnchorString=function(){var t=this.getTagName(),e=this.buildAttrsStr();return["<",t,e=e?" "+e:"",">",this.getInnerHtml(),"</",t,">"].join("")},n.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var t=this.getAttrs(),e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r+'="'+t[r]+'"');return e.join(" ")},n}(),iW=function(){function n(t){void 0===t&&(t={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=t.newWindow||!1,this.truncate=t.truncate||{},this.className=t.className||""}return n.prototype.build=function(t){return new pk({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},n.prototype.createAttrs=function(t){var e={href:t.getAnchorHref()},r=this.createCssClass(t);return r&&(e.class=r),this.newWindow&&(e.target="_blank",e.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<t.getAnchorText().length&&(e.title=t.getAnchorHref()),e},n.prototype.createCssClass=function(t){var e=this.className;if(e){for(var r=[e],i=t.getCssClassSuffixes(),o=0,s=i.length;o<s;o++)r.push(e+"-"+i[o]);return r.join(" ")}return""},n.prototype.processAnchorText=function(t){return this.doTruncate(t)},n.prototype.doTruncate=function(t){var e=this.truncate;if(!e||!e.length)return t;var r=e.length,i=e.location;return"smart"===i?function gve(n,t,e){var r,i;null==e?(e="…",i=3,r=8):(i=e.length,r=e.length);var s=function(H){var U="";return H.scheme&&H.host&&(U+=H.scheme+"://"),H.host&&(U+=H.host),H.path&&(U+="/"+H.path),H.query&&(U+="?"+H.query),H.fragment&&(U+="#"+H.fragment),U},a=function(H,U){var ee=U/2,ie=Math.ceil(ee),me=-1*Math.floor(ee),ue="";return me<0&&(ue=H.substr(me)),H.substr(0,ie)+e+ue};if(n.length<=t)return n;var U,ee,ie,l=t-i,u=(U={},(ie=(ee=n).match(/^([a-z]+):\/\//i))&&(U.scheme=ie[1],ee=ee.substr(ie[0].length)),(ie=ee.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(U.host=ie[1],ee=ee.substr(ie[0].length)),(ie=ee.match(/^\/(.*?)(?=(\?|#|$))/i))&&(U.path=ie[1],ee=ee.substr(ie[0].length)),(ie=ee.match(/^\?(.*?)(?=(#|$))/i))&&(U.query=ie[1],ee=ee.substr(ie[0].length)),(ie=ee.match(/^#(.*?)$/i))&&(U.fragment=ie[1]),U);if(u.query){var f=u.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);f&&(u.query=u.query.substr(0,f[1].length),n=s(u))}if(n.length<=t||(u.host&&(u.host=u.host.replace(/^www\./,""),n=s(u)),n.length<=t))return n;var h="";if(u.host&&(h+=u.host),h.length>=l)return u.host.length==t?(u.host.substr(0,t-i)+e).substr(0,l+r):a(h,l).substr(0,l+r);var v="";if(u.path&&(v+="/"+u.path),u.query&&(v+="?"+u.query),v){if((h+v).length>=l)return(h+v).length==t?(h+v).substr(0,t):(h+a(v,l-h.length)).substr(0,l+r);h+=v}if(u.fragment){var x="#"+u.fragment;if((h+x).length>=l)return(h+x).length==t?(h+x).substr(0,t):(h+a(x,l-h.length)).substr(0,l+r);h+=x}if(u.scheme&&u.host){var P=u.scheme+"://";if((h+P).length<l)return(P+h).substr(0,t)}if(h.length<=t)return h;var T="";return l>0&&(T=h.substr(-1*Math.floor(l/2))),(h.substr(0,Math.ceil(l/2))+e+T).substr(0,l+r)}(t,r):"middle"===i?function vve(n,t,e){if(n.length<=t)return n;var r,i;null==e?(e="…",r=8,i=3):(r=e.length,i=e.length);var o=t-i,s="";return o>0&&(s=n.substr(-1*Math.floor(o/2))),(n.substr(0,Math.ceil(o/2))+e+s).substr(0,o+r)}(t,r):function yve(n,t,e){return function pve(n,t,e){var r;return n.length>t&&(null==e?(e="…",r=3):r=e.length,n=n.substring(0,t-r)+e),n}(n,t,e)}(t,r)},n}(),Tg=function(){function n(t){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=t.tagBuilder,this.matchedText=t.matchedText,this.offset=t.offset}return n.prototype.getMatchedText=function(){return this.matchedText},n.prototype.setOffset=function(t){this.offset=t},n.prototype.getOffset=function(){return this.offset},n.prototype.getCssClassSuffixes=function(){return[this.getType()]},n.prototype.buildTag=function(){return this.tagBuilder.build(this)},n}(),oW=function(n){function t(e){var r=n.call(this,e)||this;return r.email="",r.email=e.email,r}return ni(t,n),t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(Tg),sW=function(n){function t(e){var r=n.call(this,e)||this;return r.serviceName="",r.hashtag="",r.serviceName=e.serviceName,r.hashtag=e.hashtag,r}return ni(t,n),t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var e=this.serviceName,r=this.hashtag;switch(e){case"twitter":return"https://twitter.com/hashtag/"+r;case"facebook":return"https://www.facebook.com/hashtag/"+r;case"instagram":return"https://instagram.com/explore/tags/"+r;case"tiktok":return"https://www.tiktok.com/tag/"+r;default:throw new Error("Unknown service name to point hashtag to: "+e)}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t}(Tg),aW=function(n){function t(e){var r=n.call(this,e)||this;return r.serviceName="twitter",r.mention="",r.mention=e.mention,r.serviceName=e.serviceName,r}return ni(t,n),t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var e=n.prototype.getCssClassSuffixes.call(this),r=this.getServiceName();return r&&e.push(r),e},t}(Tg),lW=function(n){function t(e){var r=n.call(this,e)||this;return r.number="",r.plusSign=!1,r.number=e.number,r.plusSign=e.plusSign,r}return ni(t,n),t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(Tg),cW=function(n){function t(e){var r=n.call(this,e)||this;return r.url="",r.urlMatchType="scheme",r.protocolUrlMatch=!1,r.protocolRelativeMatch=!1,r.stripPrefix={scheme:!0,www:!0},r.stripTrailingSlash=!0,r.decodePercentEncoding=!0,r.schemePrefixRegex=/^(https?:\/\/)?/i,r.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,r.protocolRelativeRegex=/^\/\//,r.protocolPrepended=!1,r.urlMatchType=e.urlMatchType,r.url=e.url,r.protocolUrlMatch=e.protocolUrlMatch,r.protocolRelativeMatch=e.protocolRelativeMatch,r.stripPrefix=e.stripPrefix,r.stripTrailingSlash=e.stripTrailingSlash,r.decodePercentEncoding=e.decodePercentEncoding,r}return ni(t,n),t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var e=this.url;return!this.protocolRelativeMatch&&!this.protocolUrlMatch&&!this.protocolPrepended&&(e=this.url="http://"+e,this.protocolPrepended=!0),e},t.prototype.getAnchorHref=function(){return this.getUrl().replace(/&/g,"&")},t.prototype.getAnchorText=function(){var e=this.getMatchedText();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix.scheme&&(e=this.stripSchemePrefix(e)),this.stripPrefix.www&&(e=this.stripWwwPrefix(e)),this.stripTrailingSlash&&(e=this.removeTrailingSlash(e)),this.decodePercentEncoding&&(e=this.removePercentEncoding(e)),e},t.prototype.stripSchemePrefix=function(e){return e.replace(this.schemePrefixRegex,"")},t.prototype.stripWwwPrefix=function(e){return e.replace(this.wwwPrefixRegex,"$1")},t.prototype.stripProtocolRelativePrefix=function(e){return e.replace(this.protocolRelativeRegex,"")},t.prototype.removeTrailingSlash=function(e){return"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e},t.prototype.removePercentEncoding=function(e){var r=e.replace(/%22/gi,""").replace(/%26/gi,"&").replace(/%27/gi,"'").replace(/%3C/gi,"<").replace(/%3E/gi,">");try{return decodeURIComponent(r)}catch{return r}},t}(Tg),Ig=function n(t){this.__jsduckDummyDocProp=null,this.tagBuilder=t.tagBuilder},mk=/[A-Za-z]/,bve=/[\d]/,_ve=/[\D]/,X6=/\s/,gk=/['"]/,xve=/[\x00-\x1F\x7F]/,uW=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,fW=uW+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D
17F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,ex=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,Sve=fW+ex,El=fW+ex,a7=new RegExp("[".concat(El,"]")),Eve="(?:["+ex+"]{1,3}\\.){3}["+ex+"]{1,3}",Ave="["+El+"](?:["+El+"\\-_]{0,61}["+El+"])?",dW=function(n){return"(?=("+Ave+"))\\"+n},vk=function(n){return"(?:"+dW(n)+"(?:\\."+dW(n+1)+"){0,126}|"+Eve+")"},tx=(new RegExp("["+El+".\\-]*["+El+"\\-]"),a7),hW=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|verm\xf6gensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|verm\xf6gensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|c
1ommbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|\u043a\u0430\u0442\u043e\u043b\u0438\u043a|\u0627\u062a\u0635\u0627\u0644\u0627\u062a|\u0627\u0644\u0628\u062d\u0631\u064a\u0646|\u0627\u0644\u062c\u0632\u0627\u0626\u0631|\u0627\u0644\u0639\u0644\u064a\u0627\u0646|\u067e\u0627\u06a9\u0633\u062a\u0627\u0646|\u0643\u0627\u062b\u0648\u0644\u064a\u0643|\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|\u043c\u043e\u0441\u043a\u0432\u0430|\u043e\u043d\u043b\u0430\u0439\u043d|\u0627\u0628\u0648\u0638\u0628\u064a|\u0627\u0631\u0627\u0645\u0643\u0648|\u0627\u0644\u0627\u0631\u062f\u0646|\u0627\u0644\u0645\u063a\u0631\u0628|\u0627\u0645\u0627\u0631\u0627\u062a|\u0641\u0644\u0633\u0637\u064a\u0646|\u0645\u0644\u064a\u0633\u064a\u0627|\u092d\u093e\u0930\u0924\u092e\u094d|\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8|\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|g
1ives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|\u05d9\u05e9\u05e8\u05d0\u05dc|\u0627\u06cc\u0631\u0627\u0646|\u0628\u0627\u0632\u0627\u0631|\u0628\u06be\u0627\u0631\u062a|\u0633\u0648\u062f\u0627\u0646|\u0633\u0648\u0631\u064a\u0629|\u0647\u0645\u0631\u0627\u0647|\u092d\u093e\u0930\u094b\u0924|\u0938\u0902\u0917\u0920\u0928|\u09ac\u09be\u0982\u09b2\u09be|\u0c2d\u0c3e\u0c30\u0c24\u0c4d|\u0d2d\u0d3e\u0d30\u0d24\u0d02|\u5609\u91cc\u5927\u9152\u5e97|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|\u0434\u0435\u0442\u0438|\u0441\u0430\u0439\u0442|\u0628\u0627\u0631\u062a|\u0628\u064a\u062a\u0643|\u0680\u0627\u0631\u062a|\u062a\u0648\u0646\u0633|\u0634\u0628\u0643\u0629|\u0639\u0631\u0627\u0642|\u0639\u0645\u0627\u0646|\u0645\u0648\u0642\u0639|\u092d\u093e\u0930\u0924|\u09ad\u09be\u09b0\u09a4|\u09ad\u09be\u09f0\u09a4|\u0a2d\u0a3e\u0a30\u0a24|\u0aad\u0abe\u0ab0\u0aa4|\u0b2d\u0b3e\u0b30\u0b24|\u0cad\u0cbe\u0cb0\u0ca4|\u0dbd\u0d82\u0d9a\u0dcf|\u30a2\u30de\u30be\u30f3|\u30b0\u30fc\u30b0\u30eb|\u30af\u30e9\u30a6\u30c9|\u30dd\u30a4\u30f3\u30c8|\u7ec4\u7ec7\u673a\u6784|\u96fb\u8a0a\u76c8\u79d1|\u9999\u683c\u91cc\u62c9|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|\u0431\u0435\u043b|\u043a\u043e\u043c|\u049b\u0430\u0437|\u043c\u043a\u0434|\u043c\u043e\u043d|\u043e\u0440\u0433|\u0440\u0443\u0441|\u0441\u0440\u0431|\u0443\u043a\u0440|\u0570\u0561\u0575|\u05e7\u05d5\u05dd|\u0639\u0631\u0628|\u0642\u0637\u0631|\u0643\u0648\u0645|\u0645\u0635\u0631|\u0915\u0949\u092e|\u0928\u0947\u091f|\u0e04\u0e2d\u0e21|\u0e44\u0e17\u0e22|\u0ea5\u0eb2\u0ea7|\u30b9\u30c8\u30a2|\u30bb\u30fc\u30eb|\u307f\u3093\u306a|\u4e2d\u6587\u7f51|\u4e9a\u9a6c\u900a|\u5929\u4e3b\u6559|\u6211\u7231\u4f60|\u65b0\u52a0\u5761|\u6de1\u9a6c\u9521|\u8bfa\u57fa\u4e9a|\u98de\u5229\u6d66|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|\u03b5\u03bb|\u03b5\u03c5|\u0431\u0433|\u0435\u044e|\u0440\u0444|\u10d2\u10d4|\ub2f7\ub137|\ub2f7\ucef4|\uc0bc\uc131|\ud55c\uad6d|\u30b3\u30e0|\u4e16\u754c|\u4e2d\u4fe1|\u4e2d\u56fd|\u4e2d\u570b|\u4f01\u4e1a|\u4f5b\u5c71|\u4fe1\u606f|\u5065\u5eb7|\u516b\u5366|\u516c\u53f8|\u516c\u76ca|\u53f0\u6e7e|\u53f0\u7063|\u5546\u57ce|\u5546\u5e97|\u5546\u6807|\u5609\u91cc|\u5728\u7ebf|\u5927\u62ff|\u5a31\u4e50|\u5bb6\u96fb|\u5e7f\u4e1c|\u5fae\u535a|\u6148\u5584|\u624b\u673a|\u62db\u8058|\u653f\u52a1|\u653f\u5e9c|\u65b0\u95fb|\u65f6\u5c1a|\u66f8\u7c4d|\u673a\u6784|\u6e38\u620f|\u6fb3\u9580|\u70b9\u770b|\u79fb\u52a8|\u7f51\u5740|\u7f51\u5e97|\u7f51\u7ad9|\u7f51\u7edc|\u8054\u901a|\u8c37\u6b4c|\u8d2d\u7269|\u901a\u8ca9|\u96c6\u56e2|\u98df\u54c1|\u9910\u5385|\u9999\u6e2f)/,Mve=new RegExp("[".concat(El,"!#$%&'*+/=?^_`{|}~-]")),Dve=new RegExp("^".concat(hW.source,"$")),pW=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.localPartCharRegex=Mve,e.strictTldRegex=Dve,e}return ni(t,n),t.prototype.parseMatches=function(e){for(var r=this.tagBuilder,i=this.localPartCharRegex,o=this.strictTldRegex,s=[],a=e.length,l=new nx,u={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},f=0,h=0,v=l;f<a;){var m=e.charAt(f);switch(h){case 0:"m"===(Ue=m)?me(1):i.test(Ue)&&me();break;case 1:p(e.charAt(f-1),m);break;case 2:P(m);break;case 3:T(m);break;case 4:H(m);break;case 5:U(m);break;case 6:ee(m);break;case 7:ie(m);break;default:hk(h)}f++}var Ue;return Se(),s;function p(Ue,it){":"===Ue?i.test(it)?(h=2,v=new nx(oi(oi({},v),{hasMailtoPrefix:!0}))):ue():u[Ue]===it||(i.test(it)?h=2:"."===it?h=3:"@"===it?h=4:ue())}function P(Ue){"."===Ue?h=3:"@"===Ue?h=4:i.test(Ue)||ue()}function T(Ue){"."===Ue||"@"===Ue?ue():i.test(Ue)?h=2:ue()}function H(Ue){tx.test(Ue)?h=5:ue()}function U(Ue){"."===Ue?h=7:"-"===Ue?h=6:tx.test(Ue)||Se()}function ee(Ue){"-"===Ue||"."===Ue?Se():tx.test(Ue)?h=5:Se()}function ie(Ue){"."===Ue||"-"===Ue?Se():tx.test(Ue)?(h=5,v=new nx(oi(oi({},v),{hasDomainDot:!0}))):Se()}function me(Ue){void 0===Ue&&(Ue=2),h=Ue,v=new nx({idx:f})}function ue(){h=0,v=l}function Se(){if(v.hasDomainDot){var Ue=e.slice(v.idx,f);/[-.]$/.test(Ue)&&(Ue=Ue.slice(0,-1));var it=v.hasMailtoPrefix?Ue.slice(7):Ue;(function ye(xe){var qe=(xe.split(".").pop()||"").toLowerCase();return o.test(qe)})(it)&&s.push(new oW({tagBuilder:r,matchedText:Ue,offset:v.idx,email:it}))}ue()}},t}(Ig),nx=function n(t){void 0===t&&(t={}),this.idx=void 0!==t.idx?t.idx:-1,this.hasMailtoPrefix=!!t.hasMailtoPrefix,this.hasDomainDot=!!t.hasDomainDot},kve=function(){function n(){}return n.isValid=function(t,e){return!(e&&!this.isValidUriScheme(e)||this.urlMatchDoesNotHaveProtocolOrDot(t,e)||this.urlMatchDoesNotHaveAtLeastOneWordChar(t,e)&&!this.isValidIpAddress(t)||this.containsMultipleDots(t))},n.isValidIpAddress=function(t){var e=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return null!==t.match(e)},n.containsMultipleDots=function(t){var e=t;return this.hasFullProtocolRegex.test(t)&&(e=t.split("://")[1]),e.split("/")[0].indexOf("..")>-1}
1,n.isValidUriScheme=function(t){var e=t.match(this.uriSchemeRegex),r=e&&e[0].toLowerCase();return"javascript:"!==r&&"vbscript:"!==r},n.urlMatchDoesNotHaveProtocolOrDot=function(t,e){return!(!t||e&&this.hasFullProtocolRegex.test(e)||-1!==t.indexOf("."))},n.urlMatchDoesNotHaveAtLeastOneWordChar=function(t,e){return!(!t||!e||this.hasFullProtocolRegex.test(e)||this.hasWordCharAfterProtocolRegex.test(t))},n.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,n.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,n.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+uW+"]"),n.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,n}(),Tve=(e=new RegExp("[/?#](?:["+El+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^\u2713]*["+El+"\\-+&@#/%=~_()|'$*\\[\\]{}\u2713])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,vk(2),")","|","(","(//)?",/(?:www\.)/.source,vk(6),")","|","(","(//)?",vk(10)+"\\.",hW.source,"(?![-"+Sve+"])",")",")","(?::[0-9]+)?","(?:"+e.source+")?"].join(""),"gi")),Ive=new RegExp("["+El+"]"),mW=function(n){function t(e){var r=n.call(this,e)||this;return r.stripPrefix={scheme:!0,www:!0},r.stripTrailingSlash=!0,r.decodePercentEncoding=!0,r.matcherRegex=Tve,r.wordCharRegExp=Ive,r.stripPrefix=e.stripPrefix,r.stripTrailingSlash=e.stripTrailingSlash,r.decodePercentEncoding=e.decodePercentEncoding,r}return ni(t,n),t.prototype.parseMatches=function(e){for(var u,r=this.matcherRegex,i=this.stripPrefix,o=this.stripTrailingSlash,s=this.decodePercentEncoding,a=this.tagBuilder,l=[],f=function(){var v=u[0],m=u[1],x=u[4],T=u.index,H=u[5]||u[9],U=e.charAt(T-1);if(!kve.isValid(v,m)||T>0&&"@"===U||T>0&&H&&h.wordCharRegExp.test(U))return"continue";if(/\?$/.test(v)&&(v=v.substr(0,v.length-1)),h.matchHasUnbalancedClosingParen(v))v=v.substr(0,v.length-1);else{var ee=h.matchHasInvalidCharAfterTld(v,m);ee>-1&&(v=v.substr(0,ee))}var ie=["http://","https://"].find(function(Ue){return!!m&&-1!==m.indexOf(Ue)});if(ie){var me=v.indexOf(ie);v=v.substr(me),m=m.substr(me),T+=me}l.push(new cW({tagBuilder:a,matchedText:v,offset:T,urlMatchType:m?"scheme":x?"www":"tld",url:v,protocolUrlMatch:!!m,protocolRelativeMatch:!!H,stripPrefix:i,stripTrailingSlash:o,decodePercentEncoding:s}))},h=this;null!==(u=r.exec(e));)f();return l},t.prototype.matchHasUnbalancedClosingParen=function(e){var i,r=e.charAt(e.length-1);if(")"===r)i="(";else if("]"===r)i="[";else{if("}"!==r)return!1;i="{"}for(var o=0,s=0,a=e.length-1;s<a;s++){var l=e.charAt(s);l===i?o++:l===r&&(o=Math.max(o-1,0))}return 0===o},t.prototype.matchHasInvalidCharAfterTld=function(e,r){if(!e)return-1;var i=0;r&&(i=e.indexOf(":"),e=e.slice(i));var s=new RegExp("^((.?//)?[-."+El+"]*[-"+El+"]\\.[-"+El+"]+)").exec(e);return null===s?-1:(i+=s[1].length,e=e.slice(s[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(e)?i:-1)},t}(Ig),gW=new RegExp("[_".concat(El,"]")),vW=function(n){function t(e){var r=n.call(this,e)||this;return r.serviceName="twitter",r.serviceName=e.serviceName,r}return ni(t,n),t.prototype.parseMatches=function(e){for(var r=this.tagBuilder,i=this.serviceName,o=[],s=e.length,a=0,l=-1,u=0;a<s;){var f=e.charAt(a);switch(u){case 0:"#"===(P=f)?(u=2,l=a):a7.test(P)&&(u=1);break;case 1:v(f);break;case 2:m(f);break;case 3:x(f);break;default:hk(u)}a++}var P;return p(),o;function v(P){a7.test(P)||(u=0)}function m(P){u=gW.test(P)?3:a7.test(P)?1:0}function x(P){gW.test(P)||(p(),l=-1,u=a7.test(P)?1:0)}function p(){if(l>-1&&a-l<=140){var P=e.slice(l,a),T=new sW({tagBuilder:r,matchedText:P,offset:l,serviceName:i,hashtag:P.slice(1)});o.push(T)}}},t}(Ig),Ove=["twitter","facebook","instagram","tiktok"],Pve=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),yW=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.matcherRegex=Pve,e}return ni(t,n),t.prototype.parseMatches=function(e){for(var s,r=this.matcherRegex,i=this.tagBuilder,o=[];null!==(s=r.exec(e));){var a=s[0],l=a.replace(/[^0-9,;#]/g,""),u=!(!s[1]&&!s[2]),f=0==s.index?"":e.substr(s.index-1,1),h=e.substr(s.index+a.length,1),v=!f.match(/\d/)&&!h.match(/\d/);this.testMatch(s[3])&&this.testMatch(a)&&v&&o.push(new lW({tagBuilder:i,matchedText:a,offset:s.index,number:l,plusSign:u}))}return o},t.prototype.testMatch=function(e){return _ve.test(e)},t}(Ig),Nve=new RegExp("@[_".concat(El,"]{1,50}(?![_").concat(El,"])"),"g"),Fve=new RegExp("@[_.".concat(El,"]{1,30}(?![_").concat(El,"])"),"g"),zve=new RegExp("@[-_.".concat(El,"]{1,50}
1(?![-_").concat(El,"])"),"g"),Bve=new RegExp("@[_.".concat(El,"]{1,23}[_").concat(El,"](?![_").concat(El,"])"),"g"),Vve=new RegExp("[^"+El+"]"),bW=function(n){function t(e){var r=n.call(this,e)||this;return r.serviceName="twitter",r.matcherRegexes={twitter:Nve,instagram:Fve,soundcloud:zve,tiktok:Bve},r.nonWordCharRegex=Vve,r.serviceName=e.serviceName,r}return ni(t,n),t.prototype.parseMatches=function(e){var l,r=this.serviceName,i=this.matcherRegexes[this.serviceName],o=this.nonWordCharRegex,s=this.tagBuilder,a=[];if(!i)return a;for(;null!==(l=i.exec(e));){var u=l.index,f=e.charAt(u-1);if(0===u||o.test(f)){var h=l[0].replace(/\.+$/g,""),v=h.slice(1);a.push(new aW({tagBuilder:s,matchedText:h,offset:u,serviceName:r,mention:v}))}}return a},t}(Ig);var th=function n(t){void 0===t&&(t={}),this.idx=void 0!==t.idx?t.idx:-1,this.type=t.type||"tag",this.name=t.name||"",this.isOpening=!!t.isOpening,this.isClosing=!!t.isClosing},jve=function(){function n(t){void 0===t&&(t={}),this.version=n.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(t.urls),this.email="boolean"==typeof t.email?t.email:this.email,this.phone="boolean"==typeof t.phone?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow="boolean"==typeof t.newWindow?t.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash="boolean"==typeof t.stripTrailingSlash?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding="boolean"==typeof t.decodePercentEncoding?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.sanitizeHtml||!1;var e=this.mention;if(!1!==e&&-1===["twitter","instagram","soundcloud","tiktok"].indexOf(e))throw new Error("invalid `mention` cfg '".concat(e,"' - see docs"));var r=this.hashtag;if(!1!==r&&-1===Ove.indexOf(r))throw new Error("invalid `hashtag` cfg '".concat(r,"' - see docs"));this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return n.link=function(t,e){return new n(e).link(t)},n.parse=function(t,e){return new n(e).parse(t)},n.prototype.normalizeUrlsCfg=function(t){return null==t&&(t=!0),"boolean"==typeof t?{schemeMatches:t,wwwMatches:t,tldMatches:t}:{schemeMatches:"boolean"!=typeof t.schemeMatches||t.schemeMatches,wwwMatches:"boolean"!=typeof t.wwwMatches||t.wwwMatches,tldMatches:"boolean"!=typeof t.tldMatches||t.tldMatches}},n.prototype.normalizeStripPrefixCfg=function(t){return null==t&&(t=!0),"boolean"==typeof t?{scheme:t,www:t}:{scheme:"boolean"!=typeof t.scheme||t.scheme,www:"boolean"!=typeof t.www||t.www}},n.prototype.normalizeTruncateCfg=function(t){return"number"==typeof t?{length:t,location:"end"}:function hve(n,t){for(var e in t)t.hasOwnProperty(e)&&void 0===n[e]&&(n[e]=t[e]);return n}(t||{},{length:Number.POSITIVE_INFINITY,location:"end"})},n.prototype.parse=function(t){var e=this,r=["a","style","script"],i=0,o=[];return function Hve(n,t){for(var e=t.onOpenTag,r=t.onCloseTag,i=t.onText,o=t.onComment,s=t.onDoctype,a=new th,l=0,u=n.length,f=0,h=0,v=a;l<u;){var m=n.charAt(l);switch(f){case 0:"<"===m&&dt();break;case 1:"!"===($e=m)?f=13:"/"===$e?(f=2,v=new th(oi(oi({},v),{isClosing:!0}))):"<"===$e?dt():mk.test($e)?(f=3,v=new th(oi(oi({},v),{isOpening:!0}))):(f=0,v=a);break;case 2:T(m);break;case 3:P(m);break;case 4:H(m);break;case 5:U(m);break;case 6:ee(m);break;case 7:ie(m);break;case 8:me(m);break;case 9:ue(m);break;case 10:Se(m);break;case 11:Ue(m);break;case 12:it(m);break;case 13:"--"===n.substr(l,2)?(l+=2,v=new th(oi(oi({},v),{type:"comment"})),f=14):"DOCTYPE"===n.substr(l,7).toUpperCase()?(l+=7,v=new th(oi(oi({},v),{type:"doctype"})),f=20):Ke();break;case 14:xe(m);break;case 15:ze(m);break;case 16:qe(m);break;case 17:Et(m);break;case 18:Ne(m);break;case 19:je(m);break;case 20:we(m);break;default:hk(f)}l++}var $e;function P($e){X6.test($e)?(v=new th(oi(oi({},v),{name:Pe()})),f=4):"<"===$e?dt():"/"===$e?(v=new th(oi(oi({},v),{name:Pe()})),f=12):">"===$e?(v=new th(oi(oi({},v),{name:Pe()}
vendor: 6,667 bytes, line 1
1)),Tt()):!mk.test($e)&&!bve.test($e)&&":"!==$e&&Ke()}function T($e){">"===$e?Ke():mk.test($e)?f=3:Ke()}function H($e){X6.test($e)||("/"===$e?f=12:">"===$e?Tt():"<"===$e?dt():"="===$e||gk.test($e)||xve.test($e)?Ke():f=5)}function U($e){X6.test($e)?f=6:"/"===$e?f=12:"="===$e?f=7:">"===$e?Tt():"<"===$e?dt():gk.test($e)&&Ke()}function ee($e){X6.test($e)||("/"===$e?f=12:"="===$e?f=7:">"===$e?Tt():"<"===$e?dt():gk.test($e)?Ke():f=5)}function ie($e){X6.test($e)||('"'===$e?f=8:"'"===$e?f=9:/[>=`]/.test($e)?Ke():"<"===$e?dt():f=10)}function me($e){'"'===$e&&(f=11)}function ue($e){"'"===$e&&(f=11)}function Se($e){X6.test($e)?f=4:">"===$e?Tt():"<"===$e&&dt()}function Ue($e){X6.test($e)?f=4:"/"===$e?f=12:">"===$e?Tt():"<"===$e?dt():(f=4,function Xe(){l--}())}function it($e){">"===$e?(v=new th(oi(oi({},v),{isClosing:!0})),Tt()):f=4}function xe($e){"-"===$e?f=15:">"===$e?Ke():f=16}function ze($e){"-"===$e?f=18:">"===$e?Ke():f=16}function qe($e){"-"===$e&&(f=17)}function Et($e){f="-"===$e?18:16}function Ne($e){">"===$e?Tt():"!"===$e?f=19:"-"===$e||(f=16)}function je($e){"-"===$e?f=17:">"===$e?Tt():f=16}function we($e){">"===$e?Tt():"<"===$e&&dt()}function Ke(){f=0,v=a}function dt(){f=1,v=new th({idx:l})}function Tt(){var $e=n.slice(h,v.idx);$e&&i($e,h),"comment"===v.type?o(v.idx):"doctype"===v.type?s(v.idx):(v.isOpening&&e(v.name,v.idx),v.isClosing&&r(v.name,v.idx)),Ke(),h=l+1}function Pe(){return n.slice(v.idx+(v.isClosing?2:1),l).toLowerCase()}h<l&&function Ae(){var $e=n.slice(h,l);i($e,h),h=l+1}()}(t,{onOpenTag:function(s){r.indexOf(s)>=0&&i++},onText:function(s,a){if(0===i){var u=function mve(n,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var i,e=[],r=0;i=t.exec(n);)e.push(n.substring(r,i.index)),e.push(i[0]),r=i.index+i[0].length;return e.push(n.substring(r)),e}(s,/( | |<|<|>|>|"|"|')/gi),f=a;u.forEach(function(h,v){if(v%2==0){var m=e.parseText(h,f);o.push.apply(o,m)}f+=h.length})}},onCloseTag:function(s){r.indexOf(s)>=0&&(i=Math.max(i-1,0))},onComment:function(s){},onDoctype:function(s){}}),o=this.compactMatches(o),o=this.removeUnwantedMatches(o)},n.prototype.compactMatches=function(t){t.sort(function(l,u){return l.getOffset()-u.getOffset()});for(var e=0;e<t.length-1;){var r=t[e],i=r.getOffset(),o=r.getMatchedText().length,s=i+o;if(e+1<t.length){if(t[e+1].getOffset()===i){var a=t[e+1].getMatchedText().length>o?e:e+1;t.splice(a,1);continue}if(t[e+1].getOffset()<s){t.splice(e+1,1);continue}}e++}return t},n.prototype.removeUnwantedMatches=function(t){return this.hashtag||K6(t,function(e){return"hashtag"===e.getType()}),this.email||K6(t,function(e){return"email"===e.getType()}),this.phone||K6(t,function(e){return"phone"===e.getType()}),this.mention||K6(t,function(e){return"mention"===e.getType()}),this.urls.schemeMatches||K6(t,function(e){return"url"===e.getType()&&"scheme"===e.getUrlMatchType()}),this.urls.wwwMatches||K6(t,function(e){return"url"===e.getType()&&"www"===e.getUrlMatchType()}),this.urls.tldMatches||K6(t,function(e){return"url"===e.getType()&&"tld"===e.getUrlMatchType()}),t},n.prototype.parseText=function(t,e){void 0===e&&(e=0),e=e||0;for(var r=this.getMatchers(),i=[],o=0,s=r.length;o<s;o++){for(var a=r[o].parseMatches(t),l=0,u=a.length;l<u;l++)a[l].setOffset(e+a[l].getOffset());i.push.apply(i,a)}return i},n.prototype.link=function(t){if(!t)return"";this.sanitizeHtml&&(t=t.replace(/</g,"<").replace(/>/g,">"));for(var e=this.parse(t),r=[],i=0,o=0,s=e.length;o<s;o++){var a=e[o];r.push(t.substring(i,a.getOffset())),r.push(this.createMatchReturnVal(a)),i=a.getOffset()+a.getMatchedText().length}return r.push(t.substring(i)),r.join("")},n.prototype.createMatchReturnVal=function(t){var e;return this.replaceFn&&(e=this.replaceFn.call(this.context,t)),"string"==typeof e?e:!1===e?t.getMatchedText():e instanceof pk?e.toAnchorString():t.buildTag().toAnchorString()},n.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var t=this.getTagBuilder(),e=[new vW({tagBuilder:t,serviceName:this.hashtag}),new pW({tagBuilder:t}),new yW({tagBuilder:t}),new bW({tagBuilder:t,serviceName:this.mention}),new mW({tagBuilder:t,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=e},n.prototype.getTagBuilder=function(){var t=this.tagBuilder;return t||(t=this.tagBuilder=new iW({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),t},n.version="3.16.2",n.AnchorTagBuilder=iW,n.HtmlTag=pk,n.matcher={Email:pW,Hashtag:vW,Matcher:Ig,Mention:bW,Phone:yW,Url:mW},n.match={Email:oW,Hashtag:sW,Match:Tg,Mention:aW,Phone:lW,Url:cW},n}();const Uve=jve;var $ve=/www|@|\:\/\//;function Gve(n){return/^<a[>\s]/i.test(n)}function Wve(n){return/^<\/a\s*>/i.test(n)}function qve(){var n=[],t=new Uve({stripPrefix:!1,url:!0,email:!0,replaceFn:function(e){switch(e.getType()){case"url":n.push({text:e.matchedText,url:e.getUrl()});break;case"email":n.push({text:e.matchedText,url:"mailto:"+e.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:n,autolinker:t}}function Yve(n){var t,e,r,i,o,s,a,l,u,f,h,x,p,v=n.tokens,m=null;for(e=0,r=v.length;e<r;e++)if("inline"===v[e].type)for(h=0,t=(i=v[e].children).length-1;t>=0;t--)if("link_close"!==(o=i[t]).type){if("htmltag"===o.type&&(Gve(o.content)&&h>0&&h--,Wve(o.content)&&h++),!(h>0)&&"text"===o.type&&$ve.test(o.content)){if(m||(x=(m=qve()).links,p=m.autolinker),s=o.content,x.length=0,p.link(s),!x.length)continue;for(a=[],f=o.level,l=0;l<x.length;l++)!n.inline.validateLink(x[l].url)||((u=s.indexOf(x[l].text))&&a.push({type:"text",content:s.slice(0,u),level:f}),a.push({type:"link_open",href:x[l].url,title:"",level:f++}),a.push({type:"text",content:x[l].text,level:f}),a.push({type:"link_close",level:--f}),s=s.slice(u+x[l].text.length));s.length&&a.push({type:"text",content:s,level:f}),v[e].children=i=[].concat(i.slice(0,t),a,i.slice(t+1))}}else for(t--;i[t].level!==o.level&&"link_open"!==i[t].type;)t--}function Kve(n){n.core.ruler.push("linkify",Yve)}var Xve=c(92735),Zve=c.n(Xve),Jve=c(84504),Qve=c.n(Jve),e7e=c(81337),t7e=c.n(e7e),n7e=c(12196),r7e=c.n(n7e),i7e=c(47475),o7e=c.n(i7e),s7e=c(21617),a7e=c.n(s7e),l7e=c(17039),c7e=c.n(l7e),u7e=c(71973),f7e=c.n(u7e),d7e=c(6226),Lp=c.n(d7e),h7e=c(70586),p7e=c.n(h7e),m7e=c(30248),g7e=c.n(m7e),v7e=c(20406),y7e=c.n(v7e),b7e=c(34793),_7e=c.n(b7e),_W=c(35820);function xW(n,t,e,r,i,o,s){try{var a=n[o](s),l=a.value}catch(u){return void e(u)}a.done?t(l):_W.resolve(l).then(r,i)}function yk(n){return function(){var t=this,e=arguments;return new _W(function(r,i){var o=n.apply(t,e);function s(l){xW(o,r,i,s,a,"next",l)}
1function a(l){xW(o,r,i,s,a,"throw",l)}s(void 0)})}}var x7e=c(30222),nh=c.n(x7e),Z6=c(52472),bk=c(19389),_k=c(98235),w7e=c(35704),wW=c(10349);function xk(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}function wk(n,t){var e;if(n){if("string"==typeof n)return xk(n,t);var r=w7e(e=Object.prototype.toString.call(n)).call(e,8,-1);if("Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r)return wW(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xk(n,t)}}function J6(n,t){var e=typeof Z6<"u"&&bk(n)||n["@@iterator"];if(!e){if(_k(n)||(e=wk(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var r=0,i=function(){};return{s:i,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(u){throw u},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){e=e.call(n)},n:function(){var u=e.next();return o=u.done,u},e:function(u){s=!0,a=u},f:function(){try{!o&&null!=e.return&&e.return()}finally{if(s)throw a}}}}var C7e=c(48994);function Ua(n){return(Ua="function"==typeof Z6&&"symbol"==typeof C7e?function(t){return typeof t}:function(t){return t&&"function"==typeof Z6&&t.constructor===Z6&&t!==Z6.prototype?"symbol":typeof t})(n)}function sd(n,t){return function S7e(n){if(_k(n))return n}(n)||function E7e(n,t){var e=null==n?null:typeof Z6<"u"&&bk(n)||n["@@iterator"];if(null!=e){var s,a,r=[],i=!0,o=!1;try{for(e=e.call(n);!(i=(s=e.next()).done)&&(r.push(s.value),!t||r.length!==t);i=!0);}catch(l){o=!0,a=l}finally{try{!i&&null!=e.return&&e.return()}finally{if(o)throw a}}return r}}(n,t)||wk(n,t)||function A7e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var M7e=c(58118),Og=c.n(M7e),D7e=c(74386),Ck=c.n(D7e),k7e=c(25110),Sk=c.n(k7e),T7e=c(35627),l7=c.n(T7e),I7e=c(97606),ra=c.n(I7e),O7e=c(28222),Ws=c.n(O7e),R7e=c(39022),Zi=c.n(R7e),L7e=c(2018),CW=c.n(L7e),P7e=c(14418),mf=c.n(P7e),N7e=(c(45618),c(81781)),Ek=c.n(N7e),SW=c(71870),Ak=c.n(SW);const F7e=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{FormData:EW,Blob:rx,File:AW}=F7e;function Q6(n){return function z7e(n){if(_k(n))return xk(n)}(n)||function B7e(n){if(typeof Z6<"u"&&null!=bk(n)||null!=n["@@iterator"])return wW(n)}(n)||wk(n)||function V7e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var H7e=c(24278),h2=c.n(H7e),j7e=function(t){return":/?#[]@!$&'()*+,;=".indexOf(t)>-1},U7e=function(t){return/^[a-z0-9\-._~]+$/i.test(t)};function Rg(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.escape,i=arguments.length>2?arguments[2]:void 0;return"number"==typeof n&&(n=n.toString()),"string"==typeof n&&n.length&&r?i?JSON.parse(n):ra()(t=Q6(n)).call(t,function(o){var s,a;if(U7e(o)||j7e(o)&&"unsafe"===r)return o;var l=new TextEncoder;return ra()(s=ra()(a=Sk()(l.encode(o))).call(a,function(f){var h;return h2()(h="0".concat(f.toString(16).toUpperCase())).call(h,-2)})).call(s,function(f){return"%".concat(f)}).join("")}).join(""):n}function Mk(n){var t=n.value;return Array.isArray(t)?function $7e(n){var t=n.key,e=n.value,r=n.style,i=n.explode,o=n.escape,s=function(h){return Rg(h,{escape:o})};if("simple"===r)return ra()(e).call(e,function(f){return s(f)}).join(",");if("label"===r)return".".concat(ra()(e).call(e,function(f){return s(f)}).join("."));if("matrix"===r)return ra()(e).call(e,function(f){return s(f)}).reduce(function(f,h){var v,m,x;return!f||i?Zi()(m=Zi()(x="".concat(f||"",";")).call(x,t,"=")).call(m,h):Zi()(v="".concat(f,",")).call(v,h)},"");if("form"===r){var a=i?"&".concat(t,"="):",";return ra()(e).call(e,function(f){return s(f)}).join(a)}if("spaceDelimited"===r){var l=i?"".concat(t,"="):"";return ra()(e).call(e,function(f){return s(f)}).join(" ".concat(l))}if("pipeDelimited"===r){var u=i?"".concat(t,"="):"";return ra()(e).call(e,function(f){return s(f)}).join("|".concat(u))}}(n):"object"===Ua(t)?function G7e(n){var t=n.key,e=n.value,r=n.style,i=n.explode,o=n.escape,s=function(u){return Rg(u,{escape:o})},a=Ws()(e);return"simple"===r?a.reduce(function(l,u){var f,h,v,m=s(e[u]),x=i?"
1=":",",p=l?"".concat(l,","):"";return Zi()(f=Zi()(h=Zi()(v="".concat(p)).call(v,u)).call(h,x)).call(f,m)},""):"label"===r?a.reduce(function(l,u){var f,h,v,m=s(e[u]),x=i?"=":".",p=l?"".concat(l,"."):".";return Zi()(f=Zi()(h=Zi()(v="".concat(p)).call(v,u)).call(h,x)).call(f,m)},""):"matrix"===r&&i?a.reduce(function(l,u){var f,h,v=s(e[u]),m=l?"".concat(l,";"):";";return Zi()(f=Zi()(h="".concat(m)).call(h,u,"=")).call(f,v)},""):"matrix"===r?a.reduce(function(l,u){var f,h,v=s(e[u]),m=l?"".concat(l,","):";".concat(t,"=");return Zi()(f=Zi()(h="".concat(m)).call(h,u,",")).call(f,v)},""):"form"===r?a.reduce(function(l,u){var f,h,v,m,x=s(e[u]),p=l?Zi()(f="".concat(l)).call(f,i?"&":","):"",P=i?"=":",";return Zi()(h=Zi()(v=Zi()(m="".concat(p)).call(m,u)).call(v,P)).call(h,x)},""):void 0}(n):function W7e(n){var s,t=n.key,e=n.value,r=n.style,i=n.escape,o=function(l){return Rg(l,{escape:i})};return"simple"===r?o(e):"label"===r?".".concat(o(e)):"matrix"===r?Zi()(s=";".concat(t,"=")).call(s,o(e)):"form"===r||"deepObject"===r?o(e):void 0}(n)}const Y7e=function(t,e){e.body=t};var Dk={serializeRes:MW,mergeInQueryOrForm:OW};function kk(n){return Tk.apply(this,arguments)}function Tk(){return Tk=yk(nh().mark(function n(t){var e,i,o,s,a=arguments;return nh().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(e=a.length>1&&void 0!==a[1]?a[1]:{},"object"===Ua(t)&&(t=(e=t).url),e.headers=e.headers||{},Dk.mergeInQueryOrForm(e),e.headers&&Ws()(e.headers).forEach(function(f){var h=e.headers[f];"string"==typeof h&&(e.headers[f]=h.replace(/\n+/g," "))}),!e.requestInterceptor){u.next=12;break}return u.next=8,e.requestInterceptor(e);case 8:if(u.t0=u.sent,u.t0){u.next=11;break}u.t0=e;case 11:e=u.t0;case 12:return/multipart\/form-data/i.test(e.headers["content-type"]||e.headers["Content-Type"])&&e.body instanceof EW&&(delete e.headers["content-type"],delete e.headers["Content-Type"]),u.prev=14,u.next=17,(e.userFetch||fetch)(e.url,e);case 17:return i=u.sent,u.next=20,Dk.serializeRes(i,t,e);case 20:if(i=u.sent,!e.responseInterceptor){u.next=28;break}return u.next=24,e.responseInterceptor(i);case 24:if(u.t1=u.sent,u.t1){u.next=27;break}u.t1=i;case 27:i=u.t1;case 28:u.next=39;break;case 30:if(u.prev=30,u.t2=u.catch(14),i){u.next=34;break}throw u.t2;case 34:throw(o=new Error(i.statusText||"response status is ".concat(i.status))).status=i.status,o.statusCode=i.status,o.responseError=u.t2,o;case 39:if(i.ok){u.next=45;break}throw(s=new Error(i.statusText||"response status is ".concat(i.status))).status=i.status,s.statusCode=i.status,s.response=i,s;case 45:return u.abrupt("return",i);case 46:case"end":return u.stop()}},n,null,[[14,30]])})),Tk.apply(this,arguments)}var K7e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(t)};function X7e(n,t){return t&&(0===t.indexOf("application/json")||t.indexOf("+json")>0)?JSON.parse(n):Ak().load(n)}function MW(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.loadSpec,i=void 0!==r&&r,o={ok:n.ok,url:n.url||t,status:n.status,statusText:n.statusText,headers:J7e(n.headers)},s=o.headers["content-type"],a=i||K7e(s),l=a?n.text:n.blob||n.buffer;return l.call(n).then(function(u){if(o.text=u,o.data=u,a)try{var f=X7e(u,s);o.body=f,o.obj=f}catch(h){o.parseError=h}return o})}function Z7e(n){return Og()(n).call(n,", ")?n.split(", "):n}function J7e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"function"!=typeof Ck()(n)?{}:Sk()(Ck()(n).call(n)).reduce(function(t,e){var r=sd(e,2);return t[r[0]]=Z7e(r[1]),t},{})}function Ik(n,t){return!t&&typeof navigator<"u"&&(t=navigator),t&&"ReactNative"===t.product?!(!n||"object"!==Ua(n)||"string"!=typeof n.uri):!!(typeof AW<"u"&&n instanceof AW||typeof rx<"u"&&n instanceof rx||ArrayBuffer.isView(n))||null!==n&&"object"===Ua(n)&&"function"==typeof n.pipe}function DW(n,t){return Array.isArray(n)&&n.some(function(e){return Ik(e,t)})}var Q7e={form:",",spaceDelimited:"%20",pipeDelimited:"|"},eye={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function kW(n,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.collectionFormat,i=t.allowEmptyValue,o=t.serializationOption,s=t.encoding,a="object"!==Ua(t)||Array.isArray(t)?t:t.value,l=e?function(x){return x.toString()}:function(x){return encodeURIComponent(x)},u=l(n);if(typeof a>"u"&&i)return[[u,""]];
1if(Ik(a)||DW(a))return[[u,a]];if(o)return TW(n,a,e,o);if(s){if([Ua(s.style),Ua(s.explode),Ua(s.allowReserved)].some(function(x){return"undefined"!==x})){var f=s.style,h=s.explode,v=s.allowReserved;return TW(n,a,e,{style:f,explode:h,allowReserved:v})}if(s.contentType){if("application/json"===s.contentType){var m="string"==typeof a?a:l7()(a);return[[u,l(m)]]}return[[u,l(a.toString())]]}return"object"!==Ua(a)?[[u,l(a)]]:Array.isArray(a)&&a.every(function(x){return"object"!==Ua(x)})?[[u,ra()(a).call(a,l).join(",")]]:[[u,l(l7()(a))]]}return"object"!==Ua(a)?[[u,l(a)]]:Array.isArray(a)?"multi"===r?[[u,ra()(a).call(a,l)]]:[[u,ra()(a).call(a,l).join(eye[r||"csv"])]]:[[u,""]]}function TW(n,t,e,r){var i,f,h,o=r.style||"form",s=typeof r.explode>"u"?"form"===o:r.explode,a=!e&&(r&&r.allowReserved?"unsafe":"reserved"),l=function(m){return Rg(m,{escape:a})},u=e?function(v){return v}:function(v){return Rg(v,{escape:a})};return"object"!==Ua(t)?[[u(n),l(t)]]:Array.isArray(t)?s?[[u(n),ra()(t).call(t,l)]]:[[u(n),ra()(t).call(t,l).join(Q7e[o])]]:"deepObject"===o?ra()(f=Ws()(t)).call(f,function(v){var m;return[u(Zi()(m="".concat(n,"[")).call(m,v,"]")),l(t[v])]}):s?ra()(h=Ws()(t)).call(h,function(v){return[u(v),l(t[v])]}):[[u(n),ra()(i=Ws()(t)).call(i,function(v){var m;return[Zi()(m="".concat(u(v),",")).call(m,l(t[v]))]}).join(",")]]}function tye(n){return CW()(n).reduce(function(t,e){var a,r=sd(e,2),s=J6(kW(r[0],r[1],!0));try{for(s.s();!(a=s.n()).done;){var l=sd(a.value,2),u=l[0],f=l[1];if(Array.isArray(f)){var v,h=J6(f);try{for(h.s();!(v=h.n()).done;){var m=v.value;if(ArrayBuffer.isView(m)){var x=new rx([m]);t.append(u,x)}else t.append(u,m)}}catch(P){h.e(P)}finally{h.f()}}else if(ArrayBuffer.isView(f)){var p=new rx([f]);t.append(u,p)}else t.append(u,f)}}catch(P){s.e(P)}finally{s.f()}return t},new EW)}function IW(n){var t=Ws()(n).reduce(function(e,r){var o,i=J6(kW(r,n[r]));try{for(i.s();!(o=i.n()).done;){var s=sd(o.value,2);e[s[0]]=s[1]}}catch(u){i.e(u)}finally{i.f()}return e},{});return Ek().stringify(t,{encode:!1,indices:!1})||""}function OW(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.url,e=void 0===t?"":t,r=n.query,i=n.form,o=function(){for(var H=arguments.length,U=new Array(H),ee=0;ee<H;ee++)U[ee]=arguments[ee];var ie=mf()(U).call(U,function(me){return me}).join("&");return ie?"?".concat(ie):""};if(i){var s=Ws()(i).some(function(T){var H=i[T].value;return Ik(H)||DW(H)}),a=n.headers["content-type"]||n.headers["Content-Type"];if(s||/multipart\/form-data/i.test(a)){var l=tye(n.form);Y7e(l,n)}else n.body=IW(i);delete n.form}if(r){var u=e.split("?"),f=sd(u,2),h=f[0],v=f[1],m="";if(v){var x=Ek().parse(v),p=Ws()(r);p.forEach(function(T){return delete x[T]}),m=Ek().stringify(x,{encode:!0})}var P=o(m,IW(r));n.url=h+P,delete n.query}return n}function nye(n,t,e){return e=e||function(r){return r},t=t||function(r){return r},function(r){return"string"==typeof r&&(r={url:r}),Dk.mergeInQueryOrForm(r),r=t(r),e(n(r))}}var RW=c(62079),ix=c(52020),rye=c(73324),LW=c(88546),PW=c(99595),NW=c(66775),iye=c(2201),ox=c(57445);function FW(n,t,e){return t in n?ox(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function zW(n,t){var e=RW(n);if(ix){var r=ix(n);t&&(r=rye(r).call(r,function(i){return LW(n,i).enumerable})),e.push.apply(e,r)}return e}function pc(n){for(var t=1;t<arguments.length;t++){var e,r,i=null!=arguments[t]?arguments[t]:{};t%2?PW(e=zW(Object(i),!0)).call(e,function(o){FW(n,o,i[o])}):NW?iye(n,NW(i)):PW(r=zW(Object(i))).call(r,function(o){ox(n,o,LW(i,o))})}return n}function BW(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function VW(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),ox(n,r.key,r)}}function HW(n,t,e){return t&&VW(n.prototype,t),e&&VW(n,e),ox(n,"prototype",{writable:!1}),n}var n,oye=c(76986),ad=c.n(oye),sye=c(51679),jW=c.n(sye),aye=c(39940),UW=c.n(aye),lye=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),cye=Object.prototype.hasOwnProperty;function sx(n,t){return cye.call(n,t)}function Ok(n){if(Array.isArray(n)){for(var t=new Array(n.length),e=0;e<t.length;e++)t[e]=""+e;return t}if(Object.keys)return Object.keys(n);var r=[];for(var i in n)sx(n,i)&&r.push(i);return r}function gf(n){switch(typeof n){case"object":return JSON.parse(JSON.stringify(n));case"undefined":return null;default:return n}}function Rk(n){for(var r,t=0,e=n.length;t<e;){if(!((r=n.charCodeAt(t))>=48&&r<=57))return!1;t++}return!0}
vendor: 6,570 bytes, line 1
1function v0(n){return-1===n.indexOf("/")&&-1===n.indexOf("~")?n:n.replace(/~/g,"~0").replace(/\//g,"~1")}function $W(n){return n.replace(/~1/g,"/").replace(/~0/g,"~")}function Lk(n){if(void 0===n)return!0;if(n)if(Array.isArray(n)){for(var t=0,e=n.length;t<e;t++)if(Lk(n[t]))return!0}else if("object"==typeof n)for(var r=Ok(n),i=r.length,o=0;o<i;o++)if(Lk(n[r[o]]))return!0;return!1}function WW(n,t){var e=[n];for(var r in t){var i="object"==typeof t[r]?JSON.stringify(t[r],null,2):t[r];typeof i<"u"&&e.push(r+": "+i)}return e.join("\n")}var qW=function(n){function t(e,r,i,o,s){var a=this.constructor,l=n.call(this,WW(e,{name:r,index:i,operation:o,tree:s}))||this;return l.name=r,l.index=i,l.operation=o,l.tree=s,Object.setPrototypeOf(l,a.prototype),l.message=WW(e,{name:r,index:i,operation:o,tree:s}),l}return lye(t,n),t}(Error),Wl=qW,uye=gf,Lg={add:function(n,t,e){return n[t]=this.value,{newDocument:e}},remove:function(n,t,e){var r=n[t];return delete n[t],{newDocument:e,removed:r}},replace:function(n,t,e){var r=n[t];return n[t]=this.value,{newDocument:e,removed:r}},move:function(n,t,e){var r=c7(e,this.path);r&&(r=gf(r));var i=e3(e,{op:"remove",path:this.from}).removed;return e3(e,{op:"add",path:this.path,value:i}),{newDocument:e,removed:r}},copy:function(n,t,e){var r=c7(e,this.from);return e3(e,{op:"add",path:this.path,value:gf(r)}),{newDocument:e}},test:function(n,t,e){return{newDocument:e,test:u7(n[t],this.value)}},_get:function(n,t,e){return this.value=n[t],{newDocument:e}}},fye={add:function(n,t,e){return Rk(t)?n.splice(t,0,this.value):n[t]=this.value,{newDocument:e,index:t}},remove:function(n,t,e){return{newDocument:e,removed:n.splice(t,1)[0]}},replace:function(n,t,e){var r=n[t];return n[t]=this.value,{newDocument:e,removed:r}},move:Lg.move,copy:Lg.copy,test:Lg.test,_get:Lg._get};function c7(n,t){if(""==t)return n;var e={op:"_get",path:t};return e3(n,e),e.value}function e3(n,t,e,r,i,o){if(void 0===e&&(e=!1),void 0===r&&(r=!0),void 0===i&&(i=!0),void 0===o&&(o=0),e&&("function"==typeof e?e(t,0,n,t.path):ax(t,0)),""===t.path){var s={newDocument:n};if("add"===t.op)return s.newDocument=t.value,s;if("replace"===t.op)return s.newDocument=t.value,s.removed=n,s;if("move"===t.op||"copy"===t.op)return s.newDocument=c7(n,t.from),"move"===t.op&&(s.removed=n),s;if("test"===t.op){if(s.test=u7(n,t.value),!1===s.test)throw new Wl("Test operation failed","TEST_OPERATION_FAILED",o,t,n);return s.newDocument=n,s}if("remove"===t.op)return s.removed=n,s.newDocument=null,s;if("_get"===t.op)return t.value=n,s;if(e)throw new Wl("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,t,n);return s}r||(n=gf(n));var l=(t.path||"").split("/"),u=n,f=1,h=l.length,v=void 0,m=void 0,x=void 0;for(x="function"==typeof e?e:ax;;){if((m=l[f])&&-1!=m.indexOf("~")&&(m=$W(m)),i&&("__proto__"==m||"prototype"==m&&f>0&&"constructor"==l[f-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(e&&void 0===v&&(void 0===u[m]?v=l.slice(0,f).join("/"):f==h-1&&(v=t.path),void 0!==v&&x(t,0,n,v)),f++,Array.isArray(u)){if("-"===m)m=u.length;else{if(e&&!Rk(m))throw new Wl("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",o,t,n);Rk(m)&&(m=~~m)}if(f>=h){if(e&&"add"===t.op&&m>u.length)throw new Wl("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,t,n);if(!1===(s=fye[t.op].call(t,u,m,n)).test)throw new Wl("Test operation failed","TEST_OPERATION_FAILED",o,t,n);return s}}else if(f>=h){if(!1===(s=Lg[t.op].call(t,u,m,n)).test)throw new Wl("Test operation failed","TEST_OPERATION_FAILED",o,t,n);return s}if(u=u[m],e&&f<h&&(!u||"object"!=typeof u))throw new Wl("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",o,t,n)}}function Pp(n,t,e,r,i){if(void 0===r&&(r=!0),void 0===i&&(i=!0),e&&!Array.isArray(t))throw new Wl("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");r||(n=gf(n));for(var o=new Array(t.length),s=0,a=t.length;s<a;s++)o[s]=e3(n,t[s],e,!0,i,s),n=o[s].newDocument;return o.newDocument=n,o}function dye(n,t,e){var r=e3(n,t);if(!1===r.test)throw new Wl("Test operation failed","TEST_OPERATION_FAILED",e,t,n);return r.newDocument}function ax(n,t,e,r){if("object"!=typeof n||null===n||Array.isArray(n))throw new Wl("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,n,e);if(!Lg[n.op])throw new Wl("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,n,e);if("string"!=typeof n.path)throw new Wl("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,n,e);if(0!==n.path.indexOf("/")&&n.path.length>0)throw new Wl('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,n,e);if(("move"===n.op||"copy"===n.op)&&"string"!=typeof n.from)throw new Wl("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,n,e);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&void 0===n.value)throw new Wl("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,n,e);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&Lk(n.value))throw new Wl("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,n,e);if(e)if("add"==n.op){var i=n.path.split("/").length,o=r.split("/").length;if(i!==o+1&&i!==o)throw new Wl("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,n,e)}else if("replace"===n.op||"remove"===n.op||"_get"===n.op){if(n.path!==r)throw new Wl("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,n,e)}else if("move"===n.op||"copy"===n.op){var a=YW([{op:"_get",path:n.from,value:void 0}],e);if(a&&"OPERATION_PATH_UNRESOLVABLE"===a.name)throw new Wl("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,n,e)}}function YW(n,t,e){try{if(!Array.isArray(n))throw new Wl("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Pp(gf(t),gf(n),e||!0);else{e=e||ax;for(var r=0;r<n.length;r++)e(n[r],r,t,void 0)}}catch(i){if(i instanceof Wl)return i;throw i}}function u7(n,t){if(n===t)return!0;
1if(n&&t&&"object"==typeof n&&"object"==typeof t){var i,o,s,e=Array.isArray(n),r=Array.isArray(t);if(e&&r){if((o=n.length)!=t.length)return!1;for(i=o;0!=i--;)if(!u7(n[i],t[i]))return!1;return!0}if(e!=r)return!1;var a=Object.keys(n);if((o=a.length)!==Object.keys(t).length)return!1;for(i=o;0!=i--;)if(!t.hasOwnProperty(a[i]))return!1;for(i=o;0!=i--;)if(!u7(n[s=a[i]],t[s]))return!1;return!0}return n!=n&&t!=t}var Pk=new WeakMap,hye=function n(t){this.observers=new Map,this.obj=t},pye=function n(t,e){this.callback=t,this.observer=e};function yye(n,t){t.unobserve()}function bye(n,t){var r,i=function mye(n){return Pk.get(n)}(n);if(i){var o=function gye(n,t){return n.observers.get(t)}(i,t);r=o&&o.observer}else i=new hye(n),Pk.set(n,i);if(r)return r;if(r={},i.value=gf(n),t){r.callback=t,r.next=null;var s=function(){Nk(r)},a=function(){clearTimeout(r.next),r.next=setTimeout(s)};typeof window<"u"&&(window.addEventListener("mouseup",a),window.addEventListener("keyup",a),window.addEventListener("mousedown",a),window.addEventListener("keydown",a),window.addEventListener("change",a))}return r.patches=[],r.object=n,r.unobserve=function(){Nk(r),clearTimeout(r.next),function vye(n,t){n.observers.delete(t.callback)}(i,r),typeof window<"u"&&(window.removeEventListener("mouseup",a),window.removeEventListener("keyup",a),window.removeEventListener("mousedown",a),window.removeEventListener("keydown",a),window.removeEventListener("change",a))},i.observers.set(t,new pye(t,r)),r}function Nk(n,t){void 0===t&&(t=!1);var e=Pk.get(n.object);Fk(e.value,n.object,n.patches,"",t),n.patches.length&&Pp(e.value,n.patches);var r=n.patches;return r.length>0&&(n.patches=[],n.callback&&n.callback(r)),r}function Fk(n,t,e,r,i){if(t!==n){"function"==typeof t.toJSON&&(t=t.toJSON());for(var o=Ok(t),s=Ok(n),l=!1,u=s.length-1;u>=0;u--){var h=n[f=s[u]];if(!sx(t,f)||void 0===t[f]&&void 0!==h&&!1===Array.isArray(t))Array.isArray(n)===Array.isArray(t)?(i&&e.push({op:"test",path:r+"/"+v0(f),value:gf(h)}),e.push({op:"remove",path:r+"/"+v0(f)}),l=!0):(i&&e.push({op:"test",path:r,value:n}),e.push({op:"replace",path:r,value:t}));else{var v=t[f];"object"==typeof h&&null!=h&&"object"==typeof v&&null!=v&&Array.isArray(h)===Array.isArray(v)?Fk(h,v,e,r+"/"+v0(f),i):h!==v&&(i&&e.push({op:"test",path:r+"/"+v0(f),value:gf(h)}),e.push({op:"replace",path:r+"/"+v0(f),value:gf(v)}))}}if(l||o.length!=s.length)for(u=0;u<o.length;u++){var f;!sx(n,f=o[u])&&void 0!==t[f]&&e.push({op:"add",path:r+"/"+v0(f),value:gf(t[f])})}}}function _ye(n,t,e){void 0===e&&(e=!1);var r=[];return Fk(n,t,r,"",e),r}Object.assign({},g,b,{JsonPatchError:qW,deepClone:gf,escapePathComponent:v0,unescapePathComponent:$W});var xye=c(34999),wye=c.n(xye);const da={add:function Sye(n,t){return{op:"add",path:n,value:t}},replace:lx,remove:function Eye(n){return{op:"remove",path:n}},merge:function Aye(n,t){return{type:"mutation",op:"merge",path:n,value:t}},mergeDeep:function Mye(n,t){return{type:"mutation",op:"mergeDeep",path:n,value:t}},context:function Dye(n,t){return{type:"context",path:n,value:t}},getIn:function Oye(n,t){return t.reduce(function(e,r){return typeof r<"u"&&e?e[r]:e},n)},applyPatch:function Cye(n,t,e){if(e=e||{},"merge"===(t=pc(pc({},t),{},{path:t.path&&KW(t.path)})).op){var r=Vk(n,t.path);ad()(r,t.value),Pp(n,[lx(t.path,r)])}else if("mergeDeep"===t.op){var i=Vk(n,t.path),o=wye()(i,t.value);n=Pp(n,[lx(t.path,o)]).newDocument}else if("add"===t.op&&""===t.path&&t3(t.value)){Pp(n,Ws()(t.value).reduce(function(h,v){return h.push({op:"add",path:"/".concat(KW(v)),value:t.value[v]}),h},[]))}else if("replace"===t.op&&""===t.path){var l=t.value;e.allowMetaPatches&&t.meta&&cx(t)&&(Array.isArray(t.value)||t3(t.value))&&(l=pc(pc({},l),t.meta)),n=l}else if(Pp(n,[t]),e.allowMetaPatches&&t.meta&&cx(t)&&(Array.isArray(t.value)||t3(t.value))){var f=pc(pc({},Vk(n,t.path)),t.meta);Pp(n,[lx(t.path,f)])}return n},parentPathMatch:function Iye(n,t){if(!Array.isArray(t))return!1;for(var e=0,r=t.length;e<r;e+=1)if(t[e]!==n[e])return!1;return!0},flatten:f7,fullyNormalizeArray:function Rye(n){return JW(f7(ZW(n)))},normalizeArray:ZW,isPromise:function Lye(n){return t3(n)&&QW(n.then)}
1,forEachNew:function kye(n,t){try{return XW(n,Bk,t)}catch(e){return e}},forEachNewPrimitive:function Tye(n,t){try{return XW(n,zk,t)}catch(e){return e}},isJsonPatch:eq,isContextPatch:function Fye(n){return ux(n)&&"context"===n.type},isPatch:ux,isMutation:tq,isAdditiveMutation:cx,isGenerator:function Nye(n){return"[object GeneratorFunction]"===Object.prototype.toString.call(n)},isFunction:QW,isObject:t3,isError:function Pye(n){return n instanceof Error}};function KW(n){return Array.isArray(n)?n.length<1?"":"/".concat(ra()(n).call(n,function(t){return(t+"").replace(/~/g,"~0").replace(/\//g,"~1")}).join("/")):n}function lx(n,t,e){return{op:"replace",path:n,value:t,meta:e}}function XW(n,t,e){var r;return JW(f7(ra()(r=mf()(n).call(n,cx)).call(r,function(a){return t(a.value,e,a.path)})||[]))}function zk(n,t,e){return e=e||[],Array.isArray(n)?ra()(n).call(n,function(i,o){return zk(i,t,Zi()(e).call(e,o))}):t3(n)?ra()(r=Ws()(n)).call(r,function(i){return zk(n[i],t,Zi()(e).call(e,i))}):t(n,e[e.length-1],e);var r}function Bk(n,t,e){var r=[];if((e=e||[]).length>0){var i=t(n,e[e.length-1],e);i&&(r=Zi()(r).call(r,i))}if(Array.isArray(n)){var o=ra()(n).call(n,function(l,u){return Bk(l,t,Zi()(e).call(e,u))});o&&(r=Zi()(r).call(r,o))}else if(t3(n)){var s,a=ra()(s=Ws()(n)).call(s,function(l){return Bk(n[l],t,Zi()(e).call(e,l))});a&&(r=Zi()(r).call(r,a))}return f7(r)}function ZW(n){return Array.isArray(n)?n:[n]}function f7(n){var t;return Zi()(t=[]).apply(t,Q6(ra()(n).call(n,function(e){return Array.isArray(e)?f7(e):e})))}function JW(n){return mf()(n).call(n,function(t){return typeof t<"u"})}function t3(n){return n&&"object"===Ua(n)}function QW(n){return n&&"function"==typeof n}function eq(n){if(ux(n)){var t=n.op;return"add"===t||"remove"===t||"replace"===t}return!1}function tq(n){return eq(n)||ux(n)&&"mutation"===n.type}function cx(n){return tq(n)&&("add"===n.op||"replace"===n.op||"merge"===n.op||"mergeDeep"===n.op)}function ux(n){return n&&"object"===Ua(n)}function Vk(n,t){try{return c7(n,t)}catch(e){return console.error(e),{}}}var zye=c(28886),Bye=c.n(zye),Vye=c(37659),nq=c.n(Vye),n3=c(68762);function rq(n,t){function e(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];this.message=i[0],t&&t.apply(this,i)}return(e.prototype=new Error).name=n,e.prototype.constructor=e,e}var Hye=c(75080),jye=c.n(Hye),Uye=["properties"],$ye=["properties"],Gye=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],Wye=["schema/example","items/example"];function iq(n){var t=n[n.length-1],e=n[n.length-2],r=n.join("/");return Uye.indexOf(t)>-1&&-1===$ye.indexOf(e)||Gye.indexOf(r)>-1||Wye.some(function(i){return r.indexOf(i)>-1})}function Hk(n,t){var e,i=sd(n.split("#"),2),s=i[1],a=n3.resolve(i[0]||"",t||"");return s?Zi()(e="".concat(a,"#")).call(e,s):a}var oq="application/json, application/yaml",Yye=/^([a-z]+:\/\/|\/\/)/i,Pg=rq("JSONRefError",function(t,e,r){this.originalError=r,ad()(this,e||{})}),y0={},sq=new(Bye()),Kye=[function(n){return"paths"===n[0]&&"responses"===n[3]&&"examples"===n[5]},function(n){return"paths"===n[0]&&"responses"===n[3]&&"content"===n[5]&&"example"===n[7]},function(n){return"paths"===n[0]&&"responses"===n[3]&&"content"===n[5]&&"examples"===n[7]&&"value"===n[9]},function(n){return"paths"===n[0]&&"requestBody"===n[3]&&"content"===n[4]&&"example"===n[6]},function(n){return"paths"===n[0]&&"requestBody"===n[3]&&"content"===n[4]&&"examples"===n[6]&&"value"===n[8]},function(n){return"paths"===n[0]&&"parameters"===n[2]&&"example"===n[4]},function(n){return"paths"===n[0]&&"parameters"===n[3]&&"example"===n[5]},function(n){return"paths"===n[0]&&"parameters"===n[2]&&"examples"===n[4]&&"value"===n[6]},function(n){return"paths"===n[0]&&"parameters"===n[3]&&"examples"===n[5]&&"value"===n[7]},function(n){return"paths"===n[0]&&"parameters"===n[2]&&"content"===n[4]&&"example"===n[6]},function(n){return"paths"===n[0]&&"parameters"===n[2]&&"content"===n[4]&&"examples"===n[6]&&"value"===n[8]},function(n){return"paths"===n[0]&&"parameters"===n[3]&&"content"===n[4]&&"example"===n[7]},function(n){return"paths"===n[0]&&"parameters"===n[3]&&"content"===n[5
1]&&"examples"===n[7]&&"value"===n[9]}],Zye={key:"$ref",plugin:function(t,e,r,i){var o=i.getInstance(),s=h2()(r).call(r,0,-1);if(!iq(s)&&!function(t){return Kye.some(function(e){return e(t)})}(s)){var l=i.getContext(r).baseDoc;if("string"!=typeof t)return new Pg("$ref: must be a string (JSON-Ref)",{$ref:t,baseDoc:l,fullPath:r});var v,m,x,u=cq(t),f=u[0],h=u[1]||"";try{v=l||f?lq(f,l):null}catch(H){return jk(H,{pointer:h,$ref:t,basePath:v,fullPath:r})}if(function r9e(n,t,e,r){var i,o,s=sq.get(r);s||sq.set(r,s={});var a=function t9e(n){return 0===n.length?"":"/".concat(ra()(n).call(n,hq).join("/"))}(e),l=Zi()(i="".concat(t||"<specmap-base>","#")).call(i,n),u=a.replace(/allOf\/\d+\/?/g,"");if(t===r.contextTree.get([]).baseDoc&&Gk(u,n))return!0;var h="",v=e.some(function(m){var x;return h=Zi()(x="".concat(h,"/")).call(x,hq(m)),s[h]&&s[h].some(function(p){return Gk(p,l)||Gk(l,p)})});if(v)return!0;s[u]=Zi()(o=s[u]||[]).call(o,l)}(h,v,s,i)&&!o.useCircularStructures){var p=Hk(t,v);return t===p?null:da.replace(r,p)}if(null==v?(x=$k(h),typeof(m=i.get(x))>"u"&&(m=new Pg("Could not resolve reference: ".concat(t),{pointer:h,$ref:t,baseDoc:l,fullPath:r}))):m=null!=(m=uq(v,h)).__value?m.__value:m.catch(function(H){throw jk(H,{pointer:h,$ref:t,baseDoc:l,fullPath:r})}),m instanceof Error)return[da.remove(r),m];var P=Hk(t,v),T=da.replace(s,m,{$$ref:P});if(v&&v!==l)return[T,da.context(s,{baseDoc:v})];try{if(!function i9e(n,t){var e=[n];return t.path.reduce(function(i,o){return e.push(i[o]),i[o]},n),function r(i){return da.isObject(i)&&(e.indexOf(i)>=0||Ws()(i).some(function(o){return r(i[o])}))}(t.value)}(i.state,T)||o.useCircularStructures)return T}catch{return null}}}},aq=ad()(Zye,{docCache:y0,absoluteify:lq,clearCache:function Qye(n){typeof n<"u"?delete y0[n]:Ws()(y0).forEach(function(t){delete y0[t]})},JSONRefError:Pg,wrapError:jk,getDoc:fq,split:cq,extractFromDoc:uq,fetchJSON:function e9e(n){return fetch(n,{headers:{Accept:oq},loadSpec:!0}).then(function(t){return t.text()}).then(function(t){return Ak().load(t)})},extract:Uk,jsonPointerToArray:$k,unescapeJsonPointerToken:dq});const Jye=aq;function lq(n,t){if(!Yye.test(n)){var e;if(!t)throw new Pg(Zi()(e="Tried to resolve a relative URL, without having a basePath. path: '".concat(n,"' basePath: '")).call(e,t,"'"));return n3.resolve(t,n)}return n}function jk(n,t){var e,r;return e=n&&n.response&&n.response.body?Zi()(r="".concat(n.response.body.code," ")).call(r,n.response.body.message):n.message,new Pg("Could not resolve reference: ".concat(e),t,n)}function cq(n){return(n+"").split("#")}function uq(n,t){var e=y0[n];if(e&&!da.isPromise(e))try{var r=Uk(t,e);return ad()(Lp().resolve(r),{__value:r})}catch(i){return Lp().reject(i)}return fq(n).then(function(i){return Uk(t,i)})}function fq(n){var t=y0[n];return t?da.isPromise(t)?t:Lp().resolve(t):(y0[n]=aq.fetchJSON(n).then(function(e){return y0[n]=e,e}),y0[n])}function Uk(n,t){var e=$k(n);if(e.length<1)return t;var r=da.getIn(t,e);if(typeof r>"u")throw new Pg("Could not resolve pointer: ".concat(n," does not exist in document"),{pointer:n});return r}function $k(n){var t;if("string"!=typeof n)throw new TypeError("Expected a string, got a ".concat(Ua(n)));return"/"===n[0]&&(n=n.substr(1)),""===n?[]:ra()(t=n.split("/")).call(t,dq)}function dq(n){return"string"!=typeof n?n:new(nq())("=".concat(n.replace(/~1/g,"/").replace(/~0/g,"~"))).get("")}function hq(n){var t,e=new(nq())([["",n.replace(/~/g,"~0").replace(/\//g,"~1")]]);return h2()(t=e.toString()).call(t,1)}function Gk(n,t){if(function(t){return!t||"/"===t||"#"===t}(t))return!0;var e=n.charAt(t.length),r=h2()(t).call(t,-1);return 0===n.indexOf(t)&&(!e||"/"===e||"#"===e)&&"#"!==r}const o9e={key:"allOf",plugin:function(t,e,r,i,o){if(!o.meta||!o.meta.$$ref){var s=h2()(r).call(r,0,-1);if(!iq(s)){if(!Array.isArray(t)){var a=new TypeError("allOf must be an array");return a.fullPath=r,a}var l=!1,u=o.value;if(s.forEach(function(m){!u||(u=u[m])}),u=pc({},u),0!==Ws()(u).length){delete u.allOf;var h,v,f=[];return f.push(i.replace(s,{})),t.forEach(function(m,x){if(!i.isObject(m)){if(l)return null;l=!0;var p=new TypeError("Elements in allOf must be objects");return p.fullPath=r,f.push(p)}f.push(i.mergeDeep(s,m));var T=function qye(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.specmap,i=e.getBaseUrlForNodePath,o=void 0===i?function(u){var f;return r.getContext(Zi()(f=[]).call(f,Q6(t),Q6(u))).baseDoc}:i,s=e.targetKeys,a=void 0===s?["$ref","$$ref"]:s,l=[];
1return jye()(n).forEach(function(){if(Og()(a).call(a,this.key)&&"string"==typeof this.node){var f=this.path,h=Zi()(t).call(t,this.path),v=Hk(this.node,o(f));l.push(r.replace(h,v))}}),l}(m,h2()(r).call(r,0,-1),{getBaseUrlForNodePath:function(U){var ee;return i.getContext(Zi()(ee=[]).call(ee,Q6(r),[x],Q6(U))).baseDoc},specmap:i});f.push.apply(f,Q6(T))}),u.example&&f.push(i.remove(Zi()(h=[]).call(h,s,"example"))),f.push(i.mergeDeep(s,u)),u.$$ref||f.push(i.remove(Zi()(v=[]).call(v,s,"$$ref"))),f}}}}},s9e={key:"parameters",plugin:function(t,e,r,i){if(Array.isArray(t)&&t.length){var o=ad()([],t),s=h2()(r).call(r,0,-1),a=pc({},da.getIn(i.spec,s));return t.forEach(function(l,u){try{o[u].default=i.parameterMacro(a,l)}catch(h){var f=new Error(h);return f.fullPath=r,f}}),da.replace(r,o)}return da.replace(r,t)}},a9e={key:"properties",plugin:function(t,e,r,i){var o=pc({},t);for(var s in t)try{o[s].default=i.modelPropertyMacro(o[s])}catch(u){var a=new Error(u);return a.fullPath=r,a}return da.replace(r,o)}};var l9e=function(){function n(t){BW(this,n),this.root=Wk(t||{})}return HW(n,[{key:"set",value:function(e,r){var i=this.getParent(e,!0);if(i){var o=e[e.length-1],s=i.children;s[o]?fx(s[o],r,i):s[o]=Wk(r,i)}else fx(this.root,r,null)}},{key:"get",value:function(e){if((e=e||[]).length<1)return this.root.value;for(var i,o,r=this.root,s=0;s<e.length&&(i=r.children)[o=e[s]];s+=1)r=i[o];return r&&r.protoValue}},{key:"getParent",value:function(e,r){return!e||e.length<1?null:e.length<2?this.root:h2()(e).call(e,0,-1).reduce(function(i,o){if(!i)return i;var s=i.children;return!s[o]&&r&&(s[o]=Wk(null,i)),s[o]},this.root)}}]),n}();function Wk(n,t){return fx({children:{}},n,t)}function fx(n,t,e){return n.value=t||{},n.protoValue=e?pc(pc({},e.protoValue),n.value):n.value,Ws()(n.children).forEach(function(r){var i=n.children[r];n.children[r]=fx(i,i.value,n)}),n}var mq=function(){},c9e=function(){function n(t){var r,i,e=this;BW(this,n),ad()(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new l9e,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:ad()(Object.create(this),da,{getInstance:function(){return e}}),allowMetaPatches:!1},t),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=mf()(r=ra()(i=this.plugins).call(i,this.wrapPlugin.bind(this))).call(r,da.isFunction),this.patches.push(da.add([],this.spec)),this.patches.push(da.context([],this.context)),this.updatePatches(this.patches)}return HW(n,[{key:"debug",value:function(e){if(this.debugLevel===e){for(var r,i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];(r=console).log.apply(r,o)}}},{key:"verbose",value:function(e){if("verbose"===this.debugLevel){for(var r,i,o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];(r=console).log.apply(r,Zi()(i=["[".concat(e,"] ")]).call(i,s))}}},{key:"wrapPlugin",value:function(e,r){var s,i=this.pathDiscriminator,o=null;return e[this.pluginProp]?(o=e,s=e[this.pluginProp]):da.isFunction(e)?s=e:da.isObject(e)&&(s=function a(l){var u=function(h,v){return!Array.isArray(h)||h.every(function(m,x){return m===v[x]})};return nh().mark(function f(h,v){var m,x,p,P,T,H;return nh().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:H=function(me,ue,Se){var Ue,it,ye,xe,ze,qe,Et,Ne,je,we,Ke,dt,Tt;return nh().wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(da.isObject(me)){Pe.next=6;break}if(l.key!==ue[ue.length-1]){Pe.next=4;break}return Pe.next=4,l.plugin(me,l.key,ue,v);case 4:Pe.next=30;break;case 6:it=ue[Ue=ue.length-1],ye=ue.indexOf("properties"),xe="properties"===it&&Ue===ye,ze=v.allowMetaPatches&&x[me.$$ref],qe=0,Et=Ws()(me);case 12:if(!(qe<Et.length)){Pe.next=30;break}if(je=me[Ne=Et[qe]],we=Zi()(ue).call(ue,Ne),Ke=da.isObject(je),dt=me.$$ref,ze){Pe.next=22;break}if(!Ke){Pe.next=22;break}return v.allowMetaPatches&&dt&&(x[dt]=!0),Pe.delegateYield(H(je,we,Se),"t0",22);case 22:if(xe||Ne!==l.key){Pe.next=27;break}
1if(Tt=u(i,ue),i&&!Tt){Pe.next=27;break}return Pe.next=27,l.plugin(je,Ne,we,v,Se);case 27:qe++,Pe.next=12;break;case 30:case"end":return Pe.stop()}},m)},m=nh().mark(H),x={},p=J6(mf()(h).call(h,da.isAdditiveMutation)),ee.prev=4,p.s();case 6:if((P=p.n()).done){ee.next=11;break}return ee.delegateYield(H((T=P.value).value,T.path,T),"t0",9);case 9:ee.next=6;break;case 11:ee.next=16;break;case 13:ee.prev=13,ee.t1=ee.catch(4),p.e(ee.t1);case 16:return ee.prev=16,p.f(),ee.finish(16);case 19:case"end":return ee.stop()}},f,null,[[4,13,16,19]])})}(e)),ad()(s.bind(o),{pluginName:e.name||r,isGenerator:da.isGenerator(s)})}},{key:"nextPlugin",value:function(){var e,r=this;return jW()(e=this.wrappedPlugins).call(e,function(i){return r.getMutationsForPlugin(i).length>0})}},{key:"nextPromisedPatch",value:function(){var e;if(this.promisedPatches.length>0)return Lp().race(ra()(e=this.promisedPatches).call(e,function(r){return r.value}))}},{key:"getPluginHistory",value:function(e){var r=this.constructor.getPluginName(e);return this.pluginHistory[r]||[]}},{key:"getPluginRunCount",value:function(e){return this.getPluginHistory(e).length}},{key:"getPluginHistoryTip",value:function(e){var r=this.getPluginHistory(e);return r&&r[r.length-1]||{}}},{key:"getPluginMutationIndex",value:function(e){var r=this.getPluginHistoryTip(e).mutationIndex;return"number"!=typeof r?-1:r}},{key:"updatePluginHistory",value:function(e,r){var i=this.constructor.getPluginName(e);this.pluginHistory[i]=this.pluginHistory[i]||[],this.pluginHistory[i].push(r)}},{key:"updatePatches",value:function(e){var r=this;da.normalizeArray(e).forEach(function(i){if(i instanceof Error)r.errors.push(i);else try{if(!da.isObject(i))return void r.debug("updatePatches","Got a non-object patch",i);if(r.showDebug&&r.allPatches.push(i),da.isPromise(i.value))return r.promisedPatches.push(i),void r.promisedPatchThen(i);if(da.isContextPatch(i))return void r.setContext(i.path,i.value);if(da.isMutation(i))return void r.updateMutations(i)}catch(o){console.error(o),r.errors.push(o)}})}},{key:"updateMutations",value:function(e){"object"===Ua(e.value)&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=pc({},e.value));var r=da.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});r&&(this.mutations.push(e),this.state=r)}},{key:"removePromisedPatch",value:function(e){var r,i=this.promisedPatches.indexOf(e);i<0?this.debug("Tried to remove a promisedPatch that isn't there!"):UW()(r=this.promisedPatches).call(r,i,1)}},{key:"promisedPatchThen",value:function(e){var r=this;return e.value=e.value.then(function(i){var o=pc(pc({},e),{},{value:i});r.removePromisedPatch(e),r.updatePatches(o)}).catch(function(i){r.removePromisedPatch(e),r.updatePatches(i)}),e.value}},{key:"getMutations",value:function(e,r){var i;return e=e||0,"number"!=typeof r&&(r=this.mutations.length),h2()(i=this.mutations).call(i,e,r)}},{key:"getCurrentMutations",value:function(){return this.getMutationsForPlugin(this.getCurrentPlugin())}},{key:"getMutationsForPlugin",value:function(e){var r=this.getPluginMutationIndex(e);return this.getMutations(r+1)}},{key:"getCurrentPlugin",value:function(){return this.currentPlugin}},{key:"getLib",value:function(){return this.libMethods}},{key:"_get",value:function(e){return da.getIn(this.state,e)}},{key:"_getContext",value:function(e){return this.contextTree.get(e)}},{key:"setContext",value:function(e,r){return this.contextTree.set(e,r)}},{key:"_hasRun",value:function(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}},{key:"dispatch",value:function(){var a,e=this,r=this,i=this.nextPlugin();if(!i){var o=this.nextPromisedPatch();if(o)return o.then(function(){return e.dispatch()}).catch(function(){return e.dispatch()});var s={spec:this.state,errors:this.errors};return this.showDebug&&(s.patches=this.allPatches),Lp().resolve(s)}if(r.pluginCount=r.pluginCount||{},r.pluginCount[i]=(r.pluginCount[i]||0)+1,r.pluginCount[i]>100)return Lp().resolve({spec:r.state,errors:Zi()(a=r.errors).call(a,new Error("We've reached a hard limit of ".concat(100," plugin runs")))});if(i!==this.currentPlugin&&this.promisedPatches.length){var l,u=ra()(l=this.promisedPatches).call(l,function(v){return v.value});return Lp().all(ra()(u).call(u,function(v){return v.then(mq,mq)})).then(function(){return e.dispatch()})}return function f(){r.currentPlugin=i;var v=r.getCurrentMutations(),m=r.mutations.length-1;try{if(i.isGenerator){var p,x=J6(i(v,r.getLib()));try{for(x.s();!(p=x.n()).done;)h(p.value)}catch(H){x.e(H)}finally{x.f()}}else h(i(v,r.getLib()))}catch(H){console.error(H),h([ad()(Object.create(H),{plugin:i})])}finally{r.updatePluginHistory(i,{mutationIndex:m})}return r.dispatch()}();function h(v){v&&(v=da.fullyNormalizeArray(v),r.updatePatches(v,i))}}}],[{key:"getPluginName",value:function(e){return e.pluginName}},{key:"getPatchesOfType",value:function(e,r){return mf()(e).call(e,r)}}]),n}(),Ng={refs:Jye,allOf:o9e,parameters:s9e,properties:a9e},f9e=c(27043),gq=c.n(f9e),vq=function(t){return String.prototype.toLowerCase.call(t)},yq=function(t){return t.replace(/[^\w]/gi,"_")};function bq(n){var t=n.openapi;return!!t&&gq()(t).call(t,"3")}function qk(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.v2OperationIdCompatibilityMode;if(!n||"object"!==Ua(n))return null;var o=(n.operationId||"").replace(/\s/g,"");return o.length?yq(n.operationId):d9e(t,e,{v2OperationIdCompatibilityMode:i})}function d9e(n,t){var e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.v2OperationIdCompatibilityMode;if(i){var o,s,a=Zi()(o="".concat(t.toLowerCase(),"_")).call(o,n).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(a=a||Zi()(s="".concat(n.substring(1),"_")).call(s,t)).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return Zi()(e="".concat(vq(t))).call(e,yq(n))}function _q(n,t){var e;return Zi()(e="".concat(vq(t),"-")).call(e,n)}function xq(n){var t=n.spec,e=t.paths,r={};if(!e||t.$$normalized)return n;for(var i in e){var o,s=e[i];if(null!=s&&Og()(o=["object","function"]).call(o,Ua(s))){var a=s.parameters,l=function(v){var m,x=s[v];if(null==x||!Og()(m=["object","function"]).call(m,Ua(x)))return"continue";var p=qk(x,i,v);if(p){r[p]?r[p].push(x):r[p]=[x];var P=r[p];if(P.length>1)P.forEach(function(xe,ze){var qe;xe.__originalOperationId=xe.__originalOperationId||xe.operationId,xe.operationId=Zi()(qe="".concat(p)).call(qe,ze+1)});else if(typeof x.operationId<"u"){var T=P[0];T.__originalOperationId=T.__originalOperationId||x.operationId,T.operationId=p}}if("parameters"!==v){var H=[],U={};for(var ee in t)("produces"===ee||"consumes"===ee||"security"===ee)&&(U[ee]=t[ee],H.push(U));if(a&&(U.parameters=a,H.push(U)),H.length){var me,ie=J6(H);try{for(ie.s();!(me=ie.n()).done;){var ue=me.value;for(var Se in ue)if(x[Se]){if("parameters"===Se){var it,Ue=J6(ue[Se]);try{var ye=function(){var ze=it.value;x[Se].some(function(Et){return Et.name&&Et.name===ze.name||Et.$ref&&Et.$ref===ze.$ref||Et.$$ref&&Et.$$ref===ze.$$ref||Et===ze})||x[Se].push(ze)};for(Ue.s();!(it=Ue.n()).done;)ye()}catch(xe){Ue.e(xe)}finally{Ue.f()}}}else x[Se]=ue[Se]}}catch(xe){ie.e(xe)}finally{ie.f()}}}};for(var u in s)l(u)}}return t.$$normalized=!0,n}function wq(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.requestInterceptor,r=t.responseInterceptor,i=n.withCredentials?"include":"same-origin";return function(o){return n({url:o,loadSpec:!0,requestInterceptor:e,responseInterceptor:r,headers:{Accept:oq},credentials:i}).then(function(s){return s.body})}}function Cq(n){var e=n.spec,i=n.mode,o=n.allowMetaPatches,s=void 0===o||o,a=n.pathDiscriminator,l=n.modelPropertyMacro,u=n.parameterMacro,f=n.requestInterceptor,h=n.responseInterceptor,v=n.skipNormalization,m=n.useCircularStructures,x=n.http,p=n.baseDoc;return p=p||n.url,x=n.fetch||x||kk,e?P(e):wq(x,{requestInterceptor:f,responseInterceptor:h})(p).then(P);function P(T){p&&(Ng.refs.docCache[p]=T),Ng.refs.fetchJSON=wq(x,{requestInterceptor:f,responseInterceptor:h});var H=[Ng.refs];return"function"==typeof u&&H.push(Ng.parameters),"function"==typeof l&&H.push(Ng.properties),"strict"!==i&&H.push(Ng.allOf),function u9e(n){return new c9e(n).dispatch()}({spec:T,context:{baseDoc:p},plugins:H,allowMetaPatches:s,pathDiscriminator:a,parameterMacro:u,modelPropertyMacro:l,useCircularStructures:m}).then(v?function(){var U=yk(nh().mark(function ee(ie){return nh().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.abrupt("return",ie);case 1:case"end":return ue.stop()}},ee)}));return function(ee){return U.apply(this,arguments)}}():xq)}}var Sq=c(51791);var y9e=c(8817),Fg=c.n(y9e),b9e=c(23555);function Eq(n){return"[object Object]"===Object.prototype.toString.call(n)}function Aq(n){var t,e;return!1!==Eq(n)&&(void 0===(t=n.constructor)||!(!1===Eq(e=t.prototype)||!1===e.hasOwnProperty("isPrototypeOf")))}const _9e={body:function x9e(n){n.req.body=n.value},header:function C9e(n){var t=n.req,e=n.parameter,r=n.value;t.headers=t.headers||{},typeof r<"u"&&(t.headers[e.name]=r)},query:function E9e(n){var t=n.req,e=n.value,r=n.parameter;if(t.query=t.query||{},!1===e&&"boolean"===r.type&&(e="false"),0===e&&["number","integer"].indexOf(r.type)>-1&&(e="0"),e)t.query[r.name]={collectionFormat:r.collectionFormat,value:e};else if(r.allowEmptyValue&&void 0!==e){var i=r.name;t.query[i]=t.query[i]||{},t.query[i].allowEmptyValue=!0}},path:function S9e(n){var t=n.req,e=n.value;t.url=t.url.split("{".concat(n.parameter.name,"}")).join(encodeURIComponent(e))},formData:function w9e(n){var t=n.req,e=n.value,r=n.parameter;(e||r.allowEmptyValue)&&(t.form=t.form||{},t.form[r.name]={value:e,allowEmptyValue:r.allowEmptyValue,collectionFormat:r.collectionFormat})}};function dx(n,t){return Og()(t).call(t,"application/json")?"string"==typeof n?n:l7()(n):n.toString()}function A9e(n){var t=n.req,e=n.value,r=n.parameter,i=r.name,o=r.style,s=r.explode,a=r.content;if(a){var l=Ws()(a)[0];t.url=t.url.split("{".concat(i,"}
1")).join(Rg(dx(e,l),{escape:!0}))}else{var u=Mk({key:r.name,value:e,style:o||"simple",explode:s||!1,escape:!0});t.url=t.url.split("{".concat(i,"}")).join(u)}}function M9e(n){var t=n.req,e=n.value,r=n.parameter;if(t.query=t.query||{},r.content){var i=Ws()(r.content)[0];t.query[r.name]=dx(e,i)}else if(!1===e&&(e="false"),0===e&&(e="0"),e)t.query[r.name]={value:e,serializationOption:{style:r.style,explode:r.explode,allowReserved:r.allowReserved}};else if(r.allowEmptyValue&&void 0!==e){var l=r.name;t.query[l]=t.query[l]||{},t.query[l].allowEmptyValue=!0}}var D9e=["accept","authorization","content-type"];function k9e(n){var t=n.req,e=n.parameter,r=n.value;if(t.headers=t.headers||{},!(D9e.indexOf(e.name.toLowerCase())>-1)){if(e.content){var i=Ws()(e.content)[0];return void(t.headers[e.name]=dx(r,i))}typeof r<"u"&&(t.headers[e.name]=Mk({key:e.name,value:r,style:e.style||"simple",explode:!(typeof e.explode>"u")&&e.explode,escape:!1}))}}function T9e(n){var t=n.req,e=n.parameter,r=n.value;t.headers=t.headers||{};var i=Ua(r);if(e.content){var o,s=Ws()(e.content)[0];t.headers.Cookie=Zi()(o="".concat(e.name,"=")).call(o,dx(r,s))}else if("undefined"!==i){var a="object"===i&&!Array.isArray(r)&&e.explode?"":"".concat(e.name,"=");t.headers.Cookie=a+Mk({key:e.name,value:r,escape:!1,style:e.style||"form",explode:!(typeof e.explode>"u")&&e.explode})}}var I9e=c(92381),Mq=c.n(I9e);const Dq=(typeof Mq()<"u"?Mq():typeof self<"u"?self:window).btoa;var z9e=["http","fetch","spec","operationId","pathName","method","parameters","securities"],kq=function(t){return Array.isArray(t)?t:[]},B9e=rq("OperationNotFoundError",function(t,e,r){this.originalError=r,ad()(this,e||{})}),j9e={buildRequest:Tq};function U9e(n){var t=n.http,e=n.fetch,r=n.spec,i=n.operationId,o=n.pathName,s=n.method,a=n.parameters,l=n.securities,u=function v9e(n,t){if(null==n)return{};var r,i,e=function g9e(n,t){if(null==n)return{};var i,o,e={},r=RW(n);for(o=0;o<r.length;o++)i=r[o],!(Sq(t).call(t,i)>=0)&&(e[i]=n[i]);return e}(n,t);if(ix){var o=ix(n);for(i=0;i<o.length;i++)r=o[i],!(Sq(t).call(t,r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,r)||(e[r]=n[r]))}return e}(n,z9e),f=t||e||kk;o&&s&&!i&&(i=_q(o,s));var h=j9e.buildRequest(pc({spec:r,operationId:i,parameters:a,securities:l,http:f},u));return h.body&&(Aq(h.body)||Array.isArray(h.body))&&(h.body=l7()(h.body)),f(h)}function Tq(n){var t,e,r=n.spec,i=n.operationId,o=n.responseContentType,s=n.scheme,a=n.requestInterceptor,l=n.responseInterceptor,u=n.contextUrl,f=n.userFetch,h=n.server,v=n.serverVariables,m=n.http,x=n.signal,p=n.parameters,P=n.parameterBuilders,T=bq(r);P||(P=T?S:_9e);var U={url:"",credentials:m&&m.withCredentials?"include":"same-origin",headers:{},cookies:{}};x&&(U.signal=x),a&&(U.requestInterceptor=a),l&&(U.responseInterceptor=l),f&&(U.userFetch=f);var ee=function h9e(n,t){return n&&n.paths?function p9e(n,t){return function m9e(n,t,e){if(!n||"object"!==Ua(n)||!n.paths||"object"!==Ua(n.paths))return null;var r=n.paths;for(var i in r)for(var o in r[i])if("PARAMETERS"!==o.toUpperCase()){var s=r[i][o];if(s&&"object"===Ua(s)){var a={spec:n,pathName:i,method:o.toUpperCase(),operation:s},l=t(a);if(e&&l)return a}}}(n,t,!0)||null}(n,function(e){var r=e.pathName,i=e.method,o=e.operation;if(!o||"object"!==Ua(o))return!1;var s=o.operationId;return[qk(o,r,i),_q(r,i),s].some(function(u){return u&&u===t})}):null}(r,i);if(!ee)throw new B9e("Operation ".concat(i," not found"));var ie=ee.operation,me=void 0===ie?{}:ie,ue=ee.method,Se=ee.pathName;if(U.url+=function $9e(n){return bq(n.spec)?function G9e(n){var t=n.spec,e=n.pathName,r=n.method,i=n.server,o=n.contextUrl,s=n.serverVariables,a=void 0===s?{}:s,l=Fg()(t,["paths",e,(r||"").toLowerCase(),"servers"])||Fg()(t,["paths",e,"servers"])||Fg()(t,["servers"]),u="",f=null;if(i&&l&&l.length){var h=ra()(l).call(l,function(x){return x.url});h.indexOf(i)>-1&&(u=i,f=l[h.indexOf(i)])}if(!u&&l&&l.length){u=l[0].url;var v=sd(l,1);f=v[0]}if(u.indexOf("{")>-1){var m=function q9e(n){for(var r,t=[],e=/{([^}]+)}/g;r=e.exec(n);)t.push(r[1]);return t}(u);m.forEach(function(x){if(f.variables&&f.variables[x]){var P=a[x]||f.variables[x].default,T=new RegExp("{".concat(x,"}"),"g");u=u.replace(T,P)}})}return function W9e(){var a,l,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=n3.parse(n&&t?n3.resolve(t,n):n),r=n3.parse(t),i=Yk(e.protocol)||Yk(r.protocol)||"",o=e.host||r.host,s=e.pathname||"";return"/"===(a=i&&o?Zi()(l="".concat(i,"://")).call(l,o+s):s)[a.length-1]?h2()(a).call(a,0,-1):a}(u,o)}(n):function Y9e(n){var f,h,t=n.spec,e=n.scheme,r=n.contextUrl,o=n3.parse(void 0===r?"":r),s=Array.isArray(t.schemes)?t.schemes[0]:null,a=e||s||Yk(o.protocol)||"http",l=t.host||o.host||"",u=t.basePath||"";return"/"===(f=a&&l?Zi()(h="".concat(a,"://")).call(h,l+u):u)[f.length-1]?h2()(f).call(f,0,-1):f}(n)}({spec:r,scheme:s,contextUrl:u,server:h,serverVariables:v,pathName:Se,method:ue}),!i)return delete U.cookies,U;U.url+=Se,U.method="".concat(ue).toUpperCase(),p=p||{};var Ue=r.paths[Se]||{};o&&(U.headers.accept=o);var it=function(t){var e={};t.forEach(function(i){e[i.in]||(e[i.in]={}),e[i.in][i.name]=i});var r=[];
1return Ws()(e).forEach(function(i){Ws()(e[i]).forEach(function(o){r.push(e[i][o])})}),r}(Zi()(t=Zi()(e=[]).call(e,kq(me.parameters))).call(t,kq(Ue.parameters)));it.forEach(function(ze){var Et,Ne,qe=P[ze.in];if("body"===ze.in&&ze.schema&&ze.schema.properties&&(Et=p),typeof(Et=ze&&ze.name&&p[ze.name])>"u")Et=ze&&ze.name&&p[Zi()(Ne="".concat(ze.in,".")).call(Ne,ze.name)];else if(function(t,e){return mf()(e).call(e,function(r){return r.name===t})}(ze.name,it).length>1){var je;console.warn(Zi()(je="Parameter '".concat(ze.name,"' is ambiguous because the defined spec has more than one parameter with the name: '")).call(je,ze.name,"' and the passed-in parameter values did not define an 'in' value."))}if(null!==Et){if(typeof ze.default<"u"&&typeof Et>"u"&&(Et=ze.default),typeof Et>"u"&&ze.required&&!ze.allowEmptyValue)throw new Error("Required parameter ".concat(ze.name," is not provided"));if(T&&ze.schema&&"object"===ze.schema.type&&"string"==typeof Et)try{Et=JSON.parse(Et)}catch{throw new Error("Could not parse object parameter value string as JSON")}qe&&qe({req:U,parameter:ze,value:Et,operation:me,spec:r})}});var ye=pc(pc({},n),{},{operation:me});if((U=T?function L9e(n,t){var e=n.operation,r=n.requestBody,s=n.attachContentTypeForEmptyPayload,a=n.requestContentType;t=function P9e(n){var t=n.request,e=n.securities,r=void 0===e?{}:e,i=n.operation,o=void 0===i?{}:i,s=n.spec,a=pc({},t),l=r.authorized,u=void 0===l?{}:l,f=o.security||s.security||[],h=u&&!!Ws()(u).length,v=Fg()(s,["components","securitySchemes"])||{};return a.headers=a.headers||{},a.query=a.query||{},Ws()(r).length&&h&&f&&(!Array.isArray(o.security)||o.security.length)?(f.forEach(function(m){Ws()(m).forEach(function(x){var p=u[x],P=v[x];if(p){var T=p.value||p,H=P.type;if(p)if("apiKey"===H)"query"===P.in&&(a.query[P.name]=T),"header"===P.in&&(a.headers[P.name]=T),"cookie"===P.in&&(a.cookies[P.name]=T);else if("http"===H){if(/^basic$/i.test(P.scheme)){var U,ee=T.username||"",ie=T.password||"",me=Dq(Zi()(U="".concat(ee,":")).call(U,ie));a.headers.Authorization="Basic ".concat(me)}/^bearer$/i.test(P.scheme)&&(a.headers.Authorization="Bearer ".concat(T))}else if("oauth2"===H||"openIdConnect"===H){var ue,Se=p.token||{},it=Se[P["x-tokenName"]||"access_token"],ye=Se.token_type;(!ye||"bearer"===ye.toLowerCase())&&(ye="Bearer"),a.headers.Authorization=Zi()(ue="".concat(ye," ")).call(ue,it)}}})}),a):t}({request:t,securities:n.securities,operation:e,spec:n.spec});var l=e.requestBody||{},u=Ws()(l.content||{}),f=a&&u.indexOf(a)>-1;if(r||s){if(a&&f)t.headers["Content-Type"]=a;else if(!a){var h=u[0];h&&(t.headers["Content-Type"]=h,a=h)}}else a&&f&&(t.headers["Content-Type"]=a);if(!n.responseContentType&&e.responses){var v,m=mf()(v=CW()(e.responses)).call(v,function(p){var P=sd(p,2),H=P[1],U=parseInt(P[0],10);return U>=200&&U<300&&Aq(H.content)}).reduce(function(p,P){var H=sd(P,2)[1];return Zi()(p).call(p,Ws()(H.content))},[]);m.length>0&&(t.headers.accept=m.join(", "))}if(r)if(a){if(u.indexOf(a)>-1)if("application/x-www-form-urlencoded"===a||"multipart/form-data"===a)if("object"===Ua(r)){var x=(l.content[a]||{}).encoding||{};t.form={},Ws()(r).forEach(function(p){t.form[p]={value:r[p],encoding:x[p]||{}}})}else t.form=r;else t.body=r}else t.body=r;return t}(ye,U):function N9e(n,t){var l,u,e=n.spec,r=n.operation,o=n.requestContentType,s=n.responseContentType,a=n.attachContentTypeForEmptyPayload;if(t=function F9e(n){var t=n.request,e=n.securities,r=void 0===e?{}:e,i=n.operation,o=void 0===i?{}:i,s=n.spec,a=pc({},t),l=r.authorized,u=void 0===l?{}:l,f=r.specSecurity,v=o.security||(void 0===f?[]:f),m=u&&!!Ws()(u).length,x=s.securityDefinitions;return a.headers=a.headers||{},a.query=a.query||{},Ws()(r).length&&m&&v&&(!Array.isArray(o.security)||o.security.length)?(v.forEach(function(p){Ws()(p).forEach(function(P){var T=u[P];if(T){var H=T.token,U=T.value||T,ee=x[P],ie=ee.type,ue=H&&H[ee["x-tokenName"]||"access_token"],Se=H&&H.token_type;if(T)if("apiKey"===ie){var Ue="query"===ee.in?"query":"headers";a[Ue]=a[Ue]||{},a[Ue][ee.name]=U}else if("basic"===ie)if(U.header)a.headers.authorization=U.header;else{var it,ye=U.username||"",xe=U.password||"";U.base64=Dq(Zi()(it="".concat(ye,":")).call(it,xe)),a.headers.authorization="Basic ".concat(U.base64)}else if("oauth2"===ie&&ue){var ze;Se=Se&&"bearer"!==Se.toLowerCase()?Se:"Bearer",a.headers.authorization=Zi()(ze="".concat(Se," ")).call(ze,ue)}}})}),a):t}({request:t,securities:n.securities,operation:r,spec:e}),t.body||t.form||a)if(o)t.headers["Content-Type"]=o;else if(Array.isArray(r.consumes)){var f=sd(r.consumes,1);t.headers["Content-Type"]=f[0]}else if(Array.isArray(e.consumes)){var h=sd(e.consumes,1);t.headers["Content-Type"]=h[0]}else r.parameters&&mf()(l=r.parameters).call(l,function(P){return"file"===P.type}).length?t.headers["Content-Type"]="multipart/form-data":r.parameters&&mf()(u=r.parameters).call(u,function(P){return"formData"===P.in}).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(o){var v,m,x=r.parameters&&mf()(v=r.parameters).call(v,function(P){return"body"===P.in}).length>0,p=r.parameters&&mf()(m=r.parameters).call(m,function(P){return"formData"===P.in}).length>0;(x||p)&&(t.headers["Content-Type"]=o)}return!s&&Array.isArray(r.produces)&&r.produces.length>0&&(t.headers.accept=r.produces.join(", ")),t}(ye,U)).cookies&&Ws()(U.cookies).length){var xe=Ws()(U.cookies).reduce(function(ze,qe){return ze+(ze?"&":"")+b9e.serialize(qe,U.cookies[qe])},"");U.headers.Cookie=xe}return U.cookies&&delete U.cookies,OW(U),U}var Yk=function(t){return t?t.replace(/\W/g,""):null};function K9e(n,t){return Kk.apply(this,arguments)}function Kk(){return Kk=yk(nh().mark(function n(t,e){var r,i,h,v,m,x,p=arguments;return nh().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return i=(r=p.length>2&&void 0!==p[2]?p[2]:{}).returnEntireTree,h={pathDiscriminator:e,baseDoc:r.baseDoc,requestInterceptor:r.requestInterceptor,responseInterceptor:r.responseInterceptor,parameterMacro:r.parameterMacro,modelPropertyMacro:r.modelPropertyMacro,useCircularStructures:r.useCircularStructures},v=xq({spec:t}),m=v.spec,T.next=6,Cq(pc(pc({},h),{},{spec:m,allowMetaPatches:!0,skipNormalization:!0}));case 6:return x=T.sent,!i&&Array.isArray(e)&&e.length&&(x.spec=Fg()(x.spec,e)||null),T.abrupt("return",x);
1case 9:case"end":return T.stop()}},n)})),Kk.apply(this,arguments)}var Iq=c(51291),Oq=gs.createContext(null),Rq=function X9e(n){n()};var Lq={notify:function(){},get:function(){return[]}};function Pq(n,t){var e,r=Lq;function s(){f.onStateChange&&f.onStateChange()}function l(){e||(e=t?t.addNestedSub(s):n.subscribe(s),r=function Q9e(){var n=Rq,t=null,e=null;return{clear:function(){t=null,e=null},notify:function(){n(function(){for(var i=t;i;)i.callback(),i=i.next})},get:function(){for(var i=[],o=t;o;)i.push(o),o=o.next;return i},subscribe:function(i){var o=!0,s=e={callback:i,next:null,prev:e};return s.prev?s.prev.next=s:t=s,function(){!o||null===t||(o=!1,s.next?s.next.prev=s.prev:e=s.prev,s.prev?s.prev.next=s.next:t=s.next)}}}}())}var f={addNestedSub:function i(h){return l(),r.subscribe(h)},notifyNestedSubs:function o(){r.notify()},handleChangeWrapper:s,isSubscribed:function a(){return Boolean(e)},trySubscribe:l,tryUnsubscribe:function u(){e&&(e(),e=void 0,r.clear(),r=Lq)},getListeners:function(){return r}};return f}var Nq=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?gs.useLayoutEffect:gs.useEffect;const tbe=function ebe(n){var t=n.store,e=n.context,r=n.children,i=(0,gs.useMemo)(function(){var a=Pq(t);return{store:t,subscription:a}},[t]),o=(0,gs.useMemo)(function(){return t.getState()},[t]);return Nq(function(){var a=i.subscription;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),o!==t.getState()&&a.notifyNestedSubs(),function(){a.tryUnsubscribe(),a.onStateChange=null}},[i,o]),gs.createElement((e||Oq).Provider,{value:i},r)};function b0(){return b0=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},b0.apply(this,arguments)}function d7(n,t){if(null==n)return{};var i,o,e={},r=Object.keys(n);for(o=0;o<r.length;o++)!(t.indexOf(i=r[o])>=0)&&(e[i]=n[i]);return e}var nbe=c(89489),Fq=c.n(nbe),rbe=c(71786),ibe=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],obe=["reactReduxForwardedRef"],sbe=[],abe=[null,null];function lbe(n,t){return[t.payload,n[1]+1]}function zq(n,t,e){Nq(function(){return n.apply(void 0,t)},e)}function cbe(n,t,e,r,i,o,s){n.current=r,t.current=i,e.current=!1,o.current&&(o.current=null,s())}function ube(n,t,e,r,i,o,s,a,l,u){if(n){var f=!1,h=null,v=function(){if(!f){var P,T,p=t.getState();try{P=r(p,i.current)}catch(H){T=H,h=H}T||(h=null),P===o.current?s.current||l():(o.current=P,a.current=P,s.current=!0,u({type:"STORE_UPDATED",payload:{error:T}}))}};return e.onStateChange=v,e.trySubscribe(),v(),function(){if(f=!0,e.tryUnsubscribe(),e.onStateChange=null,h)throw h}}}var fbe=function(){return[null,0]};function dbe(n,t){void 0===t&&(t={});var r=t.getDisplayName,i=void 0===r?function(me){return"ConnectAdvanced("+me+")"}:r,o=t.methodName,s=void 0===o?"connectAdvanced":o,a=t.renderCountProp,l=void 0===a?void 0:a,u=t.shouldHandleStateChanges,f=void 0===u||u,h=t.storeKey,v=void 0===h?"store":h,p=t.forwardRef,P=void 0!==p&&p,T=t.context,H=void 0===T?Oq:T,U=d7(t,ibe),ie=H;return function(ue){var Se=ue.displayName||ue.name||"Component",Ue=i(Se),it=b0({},U,{getDisplayName:i,methodName:s,renderCountProp:l,shouldHandleStateChanges:f,storeKey:v,displayName:Ue,wrappedComponentName:Se,WrappedComponent:ue}),ye=U.pure,ze=ye?gs.useMemo:function(je){return je()};function qe(je){var we=(0,gs.useMemo)(function(){var zt=je.reactReduxForwardedRef,hn=d7(je,obe);return[je.context,zt,hn]},[je]),Ke=we[0],dt=we[1],Tt=we[2],Ae=(0,gs.useMemo)(function(){return Ke&&Ke.Consumer&&(0,rbe.isContextConsumer)(gs.createElement(Ke.Consumer,null))?Ke:ie},[Ke,ie]),Pe=(0,gs.useContext)(Ae),Xe=Boolean(je.store)&&Boolean(je.store.getState)&&Boolean(je.store.dispatch),Me=(Boolean(Pe)&&Boolean(Pe.store),Xe?je.store:Pe.store),De=(0,gs.useMemo)(function(){return function xe(je){return n(je.dispatch,it)}(Me)},[Me]),gt=(0,gs.useMemo)(function(){if(!f)return abe;var zt=Pq(Me,Xe?null:Pe.subscription),hn=zt.notifyNestedSubs.bind(zt);return[zt,hn]},[Me,Xe,Pe]),Rt=gt[0],kt=gt[1],rn=(0,gs.useMemo)(function(){return Xe?Pe:b0({},Pe,{subscription:Rt})},[Xe,Pe,Rt]),In=(0,gs.useReducer)(lbe,sbe,fbe),Cr=In[0][0],xn=In[1];if(Cr&&Cr.error)throw Cr.error;var _t=(0,gs.useRef)(),Or=(0,gs.useRef)(Tt),Q=(0,gs.useRef)(),fe=(0,gs.useRef)(!1),Ce=ze(function(){return Q.current&&Tt===Or.current?Q.current:De(Me.getState(),Tt)},[Me,Cr,Tt]);zq(cbe,[Or,_t,fe,Tt,Ce,Q,kt]),zq(ube,[f,Me,Rt,De,Or,_t,fe,Q,kt,xn],[Me,Rt,De]);var mt=(0,gs.useMemo)(function(){return gs.createElement(ue,b0({},Ce,{ref:dt}))},[dt,ue,Ce]);return(0,gs.useMemo)(function(){return f?gs.createElement(Ae.Provider,{value:rn},mt):mt},[Ae,mt,rn])}var Et=ye?gs.memo(qe):qe;if(Et.WrappedComponent=ue,Et.displayName=qe.displayName=Ue,P){var Ne=gs.forwardRef(function(we,Ke){return gs.createElement(Et,b0({},we,{reactReduxForwardedRef:Ke}))});return Ne.displayName=Ue,Ne.WrappedComponent=ue,Fq()(Ne,ue)}return Fq()(Et,ue)}}function Bq(n,t){return n===t?0!==n||0!==t||1/n==1/t:n!=n&&t!=t}function Xk(n,t){if(Bq(n,t))return!0;
1if("object"!=typeof n||null===n||"object"!=typeof t||null===t)return!1;var e=Object.keys(n),r=Object.keys(t);if(e.length!==r.length)return!1;for(var i=0;i<e.length;i++)if(!Object.prototype.hasOwnProperty.call(t,e[i])||!Bq(n[e[i]],t[e[i]]))return!1;return!0}function Zk(n){return function(e,r){var i=n(e,r);function o(){return i}return o.dependsOnOwnProps=!1,o}}function Vq(n){return null!=n.dependsOnOwnProps?Boolean(n.dependsOnOwnProps):1!==n.length}function Hq(n,t){return function(r,i){var s=function(l,u){return s.dependsOnOwnProps?s.mapToProps(l,u):s.mapToProps(l)};return s.dependsOnOwnProps=!0,s.mapToProps=function(l,u){s.mapToProps=n,s.dependsOnOwnProps=Vq(n);var f=s(l,u);return"function"==typeof f&&(s.mapToProps=f,s.dependsOnOwnProps=Vq(f),f=s(l,u)),f},s}}const vbe=[function pbe(n){return"function"==typeof n?Hq(n):void 0},function mbe(n){return n?void 0:Zk(function(t){return{dispatch:t}})},function gbe(n){return n&&"object"==typeof n?Zk(function(t){return function hbe(n,t){var e={},r=function(s){var a=n[s];"function"==typeof a&&(e[s]=function(){return t(a.apply(void 0,arguments))})};for(var i in n)r(i);return e}(n,t)}):void 0}],_be=[function ybe(n){return"function"==typeof n?Hq(n):void 0},function bbe(n){return n?void 0:Zk(function(){return{}})}];function xbe(n,t,e){return b0({},e,n,t)}const Ebe=[function Cbe(n){return"function"==typeof n?function wbe(n){return function(e,r){var l,o=r.pure,s=r.areMergedPropsEqual,a=!1;return function(f,h,v){var m=n(f,h,v);return a?(!o||!s(m,l))&&(l=m):(a=!0,l=m),l}}}(n):void 0},function Sbe(n){return n?void 0:function(){return xbe}}];var Abe=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Mbe(n,t,e,r){return function(o,s){return e(n(o,s),t(r,s),s)}}function Dbe(n,t,e,r,i){var u,f,h,v,m,o=i.areStatesEqual,s=i.areOwnPropsEqual,a=i.areStatePropsEqual,l=!1;return function(ee,ie){return l?function H(U,ee){var ie=!s(ee,f),me=!o(U,u,ee,f);return u=U,f=ee,ie&&me?function p(){return h=n(u,f),t.dependsOnOwnProps&&(v=t(r,f)),m=e(h,v,f)}():ie?function P(){return n.dependsOnOwnProps&&(h=n(u,f)),t.dependsOnOwnProps&&(v=t(r,f)),m=e(h,v,f)}():me?function T(){var U=n(u,f),ee=!a(U,h);return h=U,ee&&(m=e(h,v,f)),m}():m}(ee,ie):function x(U,ee){return h=n(u=U,f=ee),v=t(r,f),m=e(h,v,f),l=!0,m}(ee,ie)}}function kbe(n,t){var e=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=d7(t,Abe),s=e(n,o),a=r(n,o),l=i(n,o);return(o.pure?Dbe:Mbe)(s,a,l,n,o)}var Tbe=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Jk(n,t,e){for(var r=t.length-1;r>=0;r--){var i=t[r](n);if(i)return i}return function(o,s){throw new Error("Invalid value of type "+typeof n+" for "+e+" argument when connecting component "+s.wrappedComponentName+".")}}function Ibe(n,t){return n===t}function Obe(n){var t=void 0===n?{}:n,e=t.connectHOC,r=void 0===e?dbe:e,i=t.mapStateToPropsFactories,o=void 0===i?_be:i,s=t.mapDispatchToPropsFactories,a=void 0===s?vbe:s,l=t.mergePropsFactories,u=void 0===l?Ebe:l,f=t.selectorFactory,h=void 0===f?kbe:f;return function(m,x,p,P){void 0===P&&(P={});var H=P.pure,U=void 0===H||H,ee=P.areStatesEqual,ie=void 0===ee?Ibe:ee,me=P.areOwnPropsEqual,ue=void 0===me?Xk:me,Se=P.areStatePropsEqual,Ue=void 0===Se?Xk:Se,it=P.areMergedPropsEqual,ye=void 0===it?Xk:it,xe=d7(P,Tbe),ze=Jk(m,o,"mapStateToProps"),qe=Jk(x,a,"mapDispatchToProps"),Et=Jk(p,u,"mergeProps");return r(h,b0({methodName:"connect",getDisplayName:function(je){return"Connect("+je+")"},shouldHandleStateChanges:Boolean(m),initMapStateToProps:ze,initMapDispatchToProps:qe,initMergeProps:Et,pure:U,areStatesEqual:ie,areOwnPropsEqual:ue,areStatePropsEqual:Ue,areMergedPropsEqual:ye},xe))}}const Rbe=Obe();Rq=Iq.unstable_batchedUpdates;var Nbe=c(95835),Fbe=c.n(Nbe),zbe=c(32608),Bbe=c.n(zbe);function Qk(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}function Gbe(n){return function Hbe(n){if(Array.isArray(n))return Qk(n)}(n)||function jbe(n){if(typeof Symbol<"u"&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function Ube(n,t){if(n){if("string"==typeof n)return Qk(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Qk(n,t)}}(n)||function $be(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var eT=c(4942);function jq(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function zg(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};
1t%2?jq(Object(e),!0).forEach(function(r){(0,eT.Z)(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):jq(Object(e)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}var tT={};function qbe(n){if(0===n.length||1===n.length)return n;var t=n.join(".");return tT[t]||(tT[t]=function Wbe(n){var t=n.length;return 0===t||1===t?n:2===t?[n[0],n[1],"".concat(n[0],".").concat(n[1]),"".concat(n[1],".").concat(n[0])]:3===t?[n[0],n[1],n[2],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0])]:t>=4?[n[0],n[1],n[2],n[3],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[2],".").concat(n[3]),"".concat(n[3],".").concat(n[0]),"".concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[0]),"".concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[3],".").concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[2],".").concat(n[1],".").concat(n[0])]:void 0}(n)),tT[t]}function Ybe(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0,r=n.filter(function(o){return"token"!==o}),i=qbe(r);return i.reduce(function(o,s){return zg(zg({},o),e[s])},t)}function Uq(n){return n.join(" ")}function $q(n){var t=n.node,e=n.stylesheet,r=n.style,i=void 0===r?{}:r,o=n.useInlineStyles,s=n.key,a=t.properties,u=t.tagName;if("text"===t.type)return t.value;if(u){var v,h=function Kbe(n,t){var e=0;return function(r){return e+=1,r.map(function(i,o){return $q({node:i,stylesheet:n,useInlineStyles:t,key:"code-segment-".concat(e,"-").concat(o)})})}}(e,o);if(o){var m=Object.keys(e).reduce(function(T,H){return H.split(".").forEach(function(U){T.includes(U)||T.push(U)}),T},[]),x=a.className&&a.className.includes("token")?["token"]:[],p=a.className&&x.concat(a.className.filter(function(T){return!m.includes(T)}));v=zg(zg({},a),{},{className:Uq(p)||void 0,style:Ybe(a.className,Object.assign({},a.style,i),e)})}else v=zg(zg({},a),{},{className:Uq(a.className)});var P=h(t.children);return gs.createElement(u,b0({key:s},v),P)}}var Zbe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Gq(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function rh(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};
1t%2?Gq(Object(e),!0).forEach(function(r){(0,eT.Z)(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):Gq(Object(e)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}var Jbe=/\n/g;function t_e(n){var t=n.codeString,r=n.containerStyle,o=n.numberStyle,s=void 0===o?{}:o,a=n.startingLineNumber;return gs.createElement("code",{style:Object.assign({},n.codeStyle,void 0===r?{float:"left",paddingRight:"10px"}:r)},function e_e(n){var e=n.startingLineNumber,r=n.style;return n.lines.map(function(i,o){var s=o+e;return gs.createElement("span",{key:"line-".concat(o),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(s):r},"".concat(s,"\n"))})}({lines:t.replace(/\n$/,"").split("\n"),style:s,startingLineNumber:a}))}function n_e(n){return"".concat(n.toString().length,".25em")}function Wq(n,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(n),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:n}]}}function qq(n,t,e){var r={display:"inline-block",minWidth:n_e(e),paddingRight:"1em",textAlign:"right",userSelect:"none"},i="function"==typeof n?n(t):n;return rh(rh({},r),i)}function hx(n){var t=n.children,e=n.lineNumber,r=n.lineNumberStyle,i=n.largestLineNumber,o=n.showInlineLineNumbers,s=n.lineProps,a=void 0===s?{}:s,l=n.className,u=void 0===l?[]:l,f=n.showLineNumbers,h=n.wrapLongLines,v="function"==typeof a?a(e):a;if(v.className=u,e&&o){var m=qq(r,e,i);t.unshift(Wq(e,m))}return h&f&&(v.style=rh(rh({},v.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:v,children:t}}function Yq(n){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r<n.length;r++){var i=n[r];if("text"===i.type)e.push(hx({children:[i],className:Gbe(new Set(t))}));else if(i.children){var o=t.concat(i.properties.className);Yq(i.children,o).forEach(function(s){return e.push(s)})}}return e}function r_e(n,t,e,r,i,o,s,a,l){var u,f=Yq(n.value),h=[],v=-1,m=0;function x(ie,me){var ue=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return hx({children:ie,lineNumber:me,lineNumberStyle:a,largestLineNumber:s,showInlineLineNumbers:i,lineProps:e,className:ue,showLineNumbers:r,wrapLongLines:l})}function p(ie,me){if(r&&me&&i){var ue=qq(a,me,s);ie.unshift(Wq(me,ue))}return ie}function P(ie,me){var ue=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||ue.length>0?x(ie,me,ue):p(ie,me)}for(var T=function(){var me=f[m],ue=me.children[0].value,Se=function Qbe(n){return n.match(Jbe)}(ue);if(Se){var Ue=ue.split("\n");Ue.forEach(function(it,ye){var xe=r&&h.length+o,ze={type:"text",value:"".concat(it,"\n")};if(0===ye){var Et=P(f.slice(v+1,m).concat(hx({children:[ze],className:me.properties.className})),xe);h.push(Et)}else if(ye===Ue.length-1){var Ne=f[m+1]&&f[m+1].children&&f[m+1].children[0],je={type:"text",value:"".concat(it)};if(Ne){var we=hx({children:[je],className:me.properties.className});f.splice(m+1,0,we)}else{var dt=P([je],xe,me.properties.className);h.push(dt)}}else{var Ae=P([ze],xe,me.properties.className);h.push(Ae)}}),v=m}m++};m<f.length;)T();if(v!==f.length-1){var H=f.slice(v+1,f.length);if(H&&H.length){var ee=P(H,r&&h.length+o);h.push(ee)}}return t?h:(u=[]).concat.apply(u,h)}function i_e(n){var e=n.stylesheet,r=n.useInlineStyles;return n.rows.map(function(i,o){return $q({node:i,stylesheet:e,useInlineStyles:r,key:"code-segement".concat(o)})})}function Kq(n){return n&&typeof n.highlightAuto<"u"}var Xq=c(94399),Zq=function s_e(n,t){return function(r){var i=r.language,o=r.children,s=r.style,a=void 0===s?t:s,l=r.customStyle,u=void 0===l?{}:l,f=r.codeTagProps,h=void 0===f?{className:i?"language-".concat(i):void 0,style:rh(rh({},a['code[class*="language-"]']),a['code[class*="language-'.concat(i,'"]')])}:f,v=r.useInlineStyles,m=void 0===v||v,x=r.showLineNumbers,p=void 0!==x&&x,P=r.showInlineLineNumbers,T=void 0===P||P,H=r.startingLineNumber,U=void 0===H?1:H,ee=r.lineNumberContainerStyle,ie=r.lineNumberStyle,me=void 0===ie?{}:ie,ue=r.wrapLines,Se=r.wrapLongLines,Ue=void 0!==Se&&Se,it=r.lineProps,ye=void 0===it?{}:it,xe=r.renderer,ze=r.PreTag,qe=void 0===ze?"pre":ze,Et=r.CodeTag,Ne=void 0===Et?"code":Et,je=r.code,we=void 0===je?(Array.isArray(o)?o[0]:o)||"":je,Ke=r.astGenerator,dt=function Vbe(n,t){if(null==n)return{};var r,i,e=d7(n,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(i=0;i<o.length;i++)!(t.indexOf(r=o[i])>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,r)||(e[r]=n[r]))}return e}(r,Zbe);Ke=Ke||n;var Tt=p?gs.createElement(t_e,{containerStyle:ee,codeStyle:h.style||{},numberStyle:me,startingLineNumber:U,codeString:we}):null,Ae=a.hljs||a['pre[class*="language-"]']||{backgroundColor:"#fff"},Pe=Kq(Ke)?"hljs":"prismjs",Xe=Object.assign({},dt,m?{style:Object.assign({},Ae,u)}:{className:dt.className?"".concat(Pe," ").concat(dt.className):Pe,style:Object.assign({},u)});if(h.style=rh(rh({},h.style),{},Ue?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!Ke)return gs.createElement(qe,Xe,Tt,gs.createElement(Ne,h,we));(void 0===ue&&xe||Ue)&&(ue=!0),xe=xe||i_e;var $e=[{type:"text",value:we}],Me=function o_e(n){var t=n.astGenerator,e=n.language,r=n.code,i=n.defaultCodeValue;if(Kq(t)){var o=function(n,t){return-1!==n.listLanguages().indexOf(t)}(t,e);return"text"===e?{value:i,language:"text"}:o?t.highlight(e,r):t.highlightAuto(r)}try{return e&&"text"!==e?{value:t.highlight(r,e)}:{value:i}}catch{return{value:i}}}({astGenerator:Ke,language:i,code:we,defaultCodeValue:$e});null===Me.language&&(Me.value=$e);var gt=r_e(Me,ue,ye,p,T,U,Me.value.length+U,me,Ue);return gs.createElement(qe,Xe,gs.createElement(Ne,h,!T&&Tt,xe({rows:gt,stylesheet:a,useInlineStyles:m})))}}(Xq,{});Zq.registerLanguage=Xq.registerLanguage;const a_e=Zq;var l_e=c(71150);const u_e=c.n(l_e)();var f_e=c(67652);const h_e=c.n(f_e)();var p_e=c(31891);const g_e=c.n(p_e)();var v_e=c(71369);const b_e=c.n(v_e)();var __e=c(78463);const w_e=c.n(__e)();var C_e=c(52268);const E_e=c.n(C_e)();var A_e=c(8386);const D_e=c.n(A_e)(),k_e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}},T_e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},I_e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},O_e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},R_e={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},L_e={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var P_e=c(26780),N_e=c(34253),F_e=c.n(N_e),z_e=c(82922),B_e=c.n(z_e),V_e=c(62516),H_e=c.n(V_e),j_e=c(50772),U_e=c.n(j_e),$_e=c(20217),G_e=c.n($_e),W_e=c(9846),q_e=c.n(W_e),Y_e=c(12373),K_e=c.n(Y_e),X_e=c(58309),Z_e=c.n(X_e),J_e=c(11189),Q_e=c.n(J_e),exe=c(2250),txe=c.n(exe),nxe=c(86),rxe=c.n(nxe),ixe=c(11882),oxe=c.n(ixe),sxe=c(8712),axe=c.n(sxe),lxe=c(24282),cxe=c.n(lxe),uxe=c(92039),fxe=c.n(uxe),dxe=c(2578),hxe=c.n(dxe),pxe=c(81607),mxe=c.n(pxe),gxe=c(18492),vxe=c.n(gxe),yxe=c(3665),bxe=c.n(yxe),_xe=c(87198),xxe=c.n(_xe),wxe=c(63460),Cxe=c.n(wxe),Jq=c(67552),Sxe=c(48216);function nT(){var n;return nT=Jq?Sxe(n=Jq).call(n):function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},nT.apply(this,arguments)}var Exe=c(5343),Axe=c.t(Exe,2),Mxe=c(23002),Dxe=c.n(Mxe),kxe=c(48461),Txe=c.t(kxe,2),Ixe=c(75946),Oxe=c.n(Ixe),Rxe=c(30535),Lxe=c.n(Rxe),Pxe=c(92046),Nxe=c.n(Pxe),Fxe=c(19731),zxe=c(63043),Bxe=c.n(zxe);function Qq(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function eY(n){for(var t=1;t<arguments.l
1ength;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?Qq(Object(e),!0).forEach(function(r){(0,eT.Z)(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):Qq(Object(e)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}function Eu(n){return"Minified Redux error #"+n+"; visit https://redux.js.org/Errors?code="+n+" for the full message or use the non-minified dev environment for full errors. "}var px,tY="function"==typeof Symbol&&Symbol.observable||"@@observable",rT=function(){return Math.random().toString(36).substring(7).split("").join(".")},Bg={INIT:"@@redux/INIT"+rT(),REPLACE:"@@redux/REPLACE"+rT(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+rT()}};function nY(n){if("object"!=typeof n||null===n)return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function rY(n,t,e){var r;if("function"==typeof t&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Eu(0));if("function"==typeof t&&typeof e>"u"&&(e=t,t=void 0),typeof e<"u"){if("function"!=typeof e)throw new Error(Eu(1));return e(rY)(n,t)}if("function"!=typeof n)throw new Error(Eu(2));var i=n,o=t,s=[],a=s,l=!1;function u(){a===s&&(a=s.slice())}function f(){if(l)throw new Error(Eu(3));return o}function h(p){if("function"!=typeof p)throw new Error(Eu(4));if(l)throw new Error(Eu(5));var P=!0;return u(),a.push(p),function(){if(P){if(l)throw new Error(Eu(6));P=!1,u();var H=a.indexOf(p);a.splice(H,1),s=null}}}function v(p){if(!nY(p))throw new Error(Eu(7));if(typeof p.type>"u")throw new Error(Eu(8));if(l)throw new Error(Eu(9));try{l=!0,o=i(o,p)}finally{l=!1}for(var P=s=a,T=0;T<P.length;T++)(0,P[T])();return p}function m(p){if("function"!=typeof p)throw new Error(Eu(10));i=p,v({type:Bg.REPLACE})}function x(){var p,P=h;return(p={subscribe:function(H){if("object"!=typeof H||null===H)throw new Error(Eu(11));function U(){H.next&&H.next(f())}return U(),{unsubscribe:P(U)}}})[tY]=function(){return this},p}return v({type:Bg.INIT}),(r={dispatch:v,subscribe:h,getState:f,replaceReducer:m})[tY]=x,r}function iY(n,t){return function(){return t(n.apply(this,arguments))}}function Gxe(n,t){if("function"==typeof n)return iY(n,t);if("object"!=typeof n||null===n)throw new Error(Eu(16));var e={};for(var r in n){var i=n[r];"function"==typeof i&&(e[r]=iY(i,t))}return e}function oY(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return 0===t.length?function(r){return r}:1===t.length?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function Wxe(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return function(r){return function(){var i=r.apply(void 0,arguments),o=function(){throw new Error(Eu(15))},s={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},a=t.map(function(l){return l(s)});return o=oY.apply(void 0,a)(i.dispatch),eY(eY({},i),{},{dispatch:o})}}}function sY(n){return(px=px||document.createElement("textarea")).innerHTML="&"+n+";",px.value}var Kxe=Object.prototype.hasOwnProperty;function iT(n){var t=[].slice.call(arguments,1);return t.forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(r){n[r]=e[r]})}}),n}var Xxe=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Vg(n){return n.indexOf("\\")<0?n:n.replace(Xxe,"$1")}function oT(n){return!(n>=55296&&n<=57343||n>=64976&&n<=65007||65535==(65535&n)||65534==(65535&n)||n>=0&&n<=8||11===n||n>=14&&n<=31||n>=127&&n<=159||n>1114111)}function mx(n){return n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):String.fromCharCode(n)}var Zxe=/&([a-z#][a-z0-9]{1,31});/gi,Jxe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function Qxe(n,t){var e=0,r=sY(t);return t!==r?r:35===t.charCodeAt(0)&&Jxe.test(t)&&oT(e="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?mx(e):n}function Np(n){return n.indexOf("&")<0?n:n.replace(Zxe,Qxe)}var ewe=/[&<>"]/,twe=/[&<>"]/g,nwe={"&":"&","<":"<",">":">",'"':"""};function rwe(n){return nwe[n]}function c1(n){return ewe.test(n)?n.replace(twe,rwe):n}var Bi={};function lY(n,t){return++t>=n.length-2?t:"paragraph_open"===n[t].type&&n[t].tight&&"inline"===n[t+1].type&&0===n[t+1].content.length&&"paragraph_close"===n[t+2].type&&n[t+2].tight?lY(n,t+2):t}Bi.blockquote_open=function(){return"<blockquote>\n"},Bi.blockquote_close=function(n,t){return"</blockquote>"+r3(n,t)},Bi.code=function(n,t){return n[t].block?"<pre><code>"+c1(n[t].content)+"</code></pre>"+r3(n,t):"<code>"+c1(n[t].content)+"</code>"},Bi.fence=function(n,t,e,r,i){var u,f,o=n[t],s="",a=e.langPrefix;if(o.params){if(f=(u=o.params.split(/\s+/g)).join(" "),function aY(n,t){return!!n&&Kxe.call(n,t)}(i.rules.fence_custom,u[0]))return i.rules.fence_custom[u[0]](n,t,e,r,i);s=' class="'+a+c1(Np(Vg(f)))+'"'}return"<pre><code"+s+">"+(e.highlight&&e.highlight.apply(e.highlight,[o.content].concat(u))||c1(o.content))+"</code></pre>"+r3(n,t)},Bi.fence_custom={},Bi.heading_open=function(n,t){return"<h"+n[t].hLevel+">"},Bi.heading_close=function(n,t){return"</h"+n[t].hLevel+">\n"},Bi.hr=function(n,t,e){return(e.xhtmlOut?"<hr />":"<hr>")+r3(n,t)},Bi.bullet_list_open=function(){return"<ul>\n"},Bi.bullet_list_close=function(n,t){return"</ul>"+r3(n,t)},Bi.list_item_open=function(){return"<li>"},Bi.list_item_close=function(){return"</li>\n"},Bi.ordered_list_open=function(n,t){var e=n[t];return"<ol"+(e.order>1?' start="'+e.order+'"':"")+">\n"},Bi.ordered_list_close=function(n,t){return"</ol>"+r3(n,t)},Bi.paragraph_open=function(n,t){return n[t].tight?"":"<p>"},Bi.paragraph_close=function(n,t){return(n[t].tight?"":"</p>")+(n[t].tight&&t&&"inline"===n[t-1].type&&!n[t-1].content?"":r3(n,t))},Bi.link_open=function(n,t,e){var r=n[t].title?' title="'+c1(Np(n[t].title))+'"':"",i=e.linkTarget?' target="'+e.linkTarget+'"':"";return'<a href="'+c1(n[t].href)+'"'+r+i+">"},Bi.link_close=function(){return"</a>"},Bi.image=function(n,t,e){var r=' src="'+c1(n[t].src)+'"',i=n[t].title?' title="'+c1(Np(n[t].title))+'"':"";return"<img"+r+' alt="'+(n[t].alt?c1(Np(Vg(n[t].alt))):"")+'"'+i+(e.x
vendor: 4,188 bytes, line 1
1htmlOut?" /":"")+">"},Bi.table_open=function(){return"<table>\n"},Bi.table_close=function(){return"</table>\n"},Bi.thead_open=function(){return"<thead>\n"},Bi.thead_close=function(){return"</thead>\n"},Bi.tbody_open=function(){return"<tbody>\n"},Bi.tbody_close=function(){return"</tbody>\n"},Bi.tr_open=function(){return"<tr>"},Bi.tr_close=function(){return"</tr>\n"},Bi.th_open=function(n,t){var e=n[t];return"<th"+(e.align?' style="text-align:'+e.align+'"':"")+">"},Bi.th_close=function(){return"</th>"},Bi.td_open=function(n,t){var e=n[t];return"<td"+(e.align?' style="text-align:'+e.align+'"':"")+">"},Bi.td_close=function(){return"</td>"},Bi.strong_open=function(){return"<strong>"},Bi.strong_close=function(){return"</strong>"},Bi.em_open=function(){return"<em>"},Bi.em_close=function(){return"</em>"},Bi.del_open=function(){return"<del>"},Bi.del_close=function(){return"</del>"},Bi.ins_open=function(){return"<ins>"},Bi.ins_close=function(){return"</ins>"},Bi.mark_open=function(){return"<mark>"},Bi.mark_close=function(){return"</mark>"},Bi.sub=function(n,t){return"<sub>"+c1(n[t].content)+"</sub>"},Bi.sup=function(n,t){return"<sup>"+c1(n[t].content)+"</sup>"},Bi.hardbreak=function(n,t,e){return e.xhtmlOut?"<br />\n":"<br>\n"},Bi.softbreak=function(n,t,e){return e.breaks?e.xhtmlOut?"<br />\n":"<br>\n":"\n"},Bi.text=function(n,t){return c1(n[t].content)},Bi.htmlblock=function(n,t){return n[t].content},Bi.htmltag=function(n,t){return n[t].content},Bi.abbr_open=function(n,t){return'<abbr title="'+c1(Np(n[t].title))+'">'},Bi.abbr_close=function(){return"</abbr>"},Bi.footnote_ref=function(n,t){var e=Number(n[t].id+1).toString(),r="fnref"+e;return n[t].subId>0&&(r+=":"+n[t].subId),'<sup class="footnote-ref"><a href="#fn'+e+'" id="'+r+'">['+e+"]</a></sup>"},Bi.footnote_block_open=function(n,t,e){return(e.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'},Bi.footnote_block_close=function(){return"</ol>\n</section>\n"},Bi.footnote_open=function(n,t){return'<li id="fn'+Number(n[t].id+1).toString()+'" class="footnote-item">'},Bi.footnote_close=function(){return"</li>\n"},Bi.footnote_anchor=function(n,t){var r="fnref"+Number(n[t].id+1).toString();return n[t].subId>0&&(r+=":"+n[t].subId),' <a href="#'+r+'" class="footnote-backref">\u21a9</a>'},Bi.dl_open=function(){return"<dl>\n"},Bi.dt_open=function(){return"<dt>"},Bi.dd_open=function(){return"<dd>"},Bi.dl_close=function(){return"</dl>\n"},Bi.dt_close=function(){return"</dt>\n"},Bi.dd_close=function(){return"</dd>\n"};var r3=Bi.getBreak=function(t,e){return(e=lY(t,e))<t.length&&"list_item_close"===t[e].type?"":"\n"};function sT(){this.rules=iT({},Bi),this.getBreak=Bi.getBreak}function vf(){this.__rules__=[],this.__cache__=null}function o3(n,t,e,r,i){this.src=n,this.env=r,this.options=e,this.parser=t,this.tokens=i,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function h7(n,t){var e,r,i,o=-1,s=n.posMax,a=n.pos,l=n.isInLabel;if(n.isInLabel)return-1;if(n.labelUnmatchedScopes)return n.labelUnmatchedScopes--,-1;for(n.pos=t+1,n.isInLabel=!0,e=1;n.pos<s;){if(91===(i=n.src.charCodeAt(n.pos)))e++;else if(93===i&&0==--e){r=!0;break}n.parser.skipToken(n)}return r?(o=n.pos,n.labelUnmatchedScopes=0):n.labelUnmatchedScopes=e-1,n.pos=a,n.isInLabel=l,o}function owe(n,t,e,r){var i,o,s,a,l,u;if(42!==n.charCodeAt(0)||91!==n.charCodeAt(1)||-1===n.indexOf("]:")||(o=h7(i=new o3(n,t,e,r,[]),1))<0||58!==n.charCodeAt(o+1))return-1;for(a=i.posMax,s=o+2;s<a&&10!==i.src.charCodeAt(s);s++);return l=n.slice(2,o),0===(u=n.slice(o+2,s).trim()).length?-1:(r.abbreviations||(r.abbreviations={}),typeof r.abbreviations[":"+l]>"u"&&(r.abbreviations[":"+l]=u),s)}function aT(n){var t=Np(n);try{t=decodeURI(t)}catch{}return encodeURI(t)}function cY(n,t){var e,r,i,o=t,s=n.posMax;if(60===n.src.charCodeAt(t)){for(t++;t<s;){if(10===(e=n.src.charCodeAt(t)))return!1;if(62===e)return i=aT(Vg(n.src.slice(o+1,t))),!!n.parser.validateLink(i)&&(n.pos=t+1,n.linkContent=i,!0);92===e&&t+1<s?t+=2:t++}return!1}for(r=0;
1t<s&&!(32===(e=n.src.charCodeAt(t))||e<32||127===e);)if(92===e&&t+1<s)t+=2;else{if(40===e&&++r>1||41===e&&--r<0)break;t++}return!(o===t||(i=Vg(n.src.slice(o,t)),!n.parser.validateLink(i))||(n.linkContent=i,n.pos=t,0))}function uY(n,t){var e,r=t,i=n.posMax,o=n.src.charCodeAt(t);if(34!==o&&39!==o&&40!==o)return!1;for(t++,40===o&&(o=41);t<i;){if((e=n.src.charCodeAt(t))===o)return n.pos=t+1,n.linkContent=Vg(n.src.slice(r+1,t)),!0;92===e&&t+1<i?t+=2:t++}return!1}function fY(n){return n.trim().replace(/\s+/g," ").toUpperCase()}function awe(n,t,e,r){var i,o,s,a,l,u,f,h,v;if(91!==n.charCodeAt(0)||-1===n.indexOf("]:")||(o=h7(i=new o3(n,t,e,r,[]),0))<0||58!==n.charCodeAt(o+1))return-1;for(a=i.posMax,s=o+2;s<a&&(32===(l=i.src.charCodeAt(s))||10===l);s++);if(!cY(i,s))return-1;for(f=i.linkContent,u=s=i.pos,s+=1;s<a&&(32===(l=i.src.charCodeAt(s))||10===l);s++);for(s<a&&u!==s&&uY(i,s)?(h=i.linkContent,s=i.pos):(h="",s=u);s<a&&32===i.src.charCodeAt(s);)s++;return s<a&&10!==i.src.charCodeAt(s)?-1:(v=fY(n.slice(1,o)),typeof r.references[v]>"u"&&(r.references[v]={title:h,href:f}),s)}sT.prototype.renderInline=function(n,t,e){for(var r=this.rules,i=n.length,o=0,s="";i--;)s+=r[n[o].type](n,o++,t,e,this);return s},sT.prototype.render=function(n,t,e){for(var r=this.rules,i=n.length,o=-1,s="";++o<i;)s+="inline"===n[o].type?this.renderInline(n[o].children,t,e):r[n[o].type](n,o,t,e,this);return s},vf.prototype.__find__=function(n){for(var t=this.__rules__.length,e=-1;t--;)if(this.__rules__[++e].name===n)return e;return-1},vf.prototype.__compile__=function(){var n=this,t=[""];n.__rules__.forEach(function(e){!e.enabled||e.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),n.__cache__={},t.forEach(function(e){n.__cache__[e]=[],n.__rules__.forEach(function(r){!r.enabled||e&&r.alt.indexOf(e)<0||n.__cache__[e].push(r.fn)})})},vf.prototype.at=function(n,t,e){var r=this.__find__(n),i=e||{};if(-1===r)throw new Error("Parser rule not found: "+n);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},vf.prototype.before=function(n,t,e,r){var i=this.__find__(n),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+n);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:e,alt:o.alt||[]}),this.__cache__=null},vf.prototype.after=function(n,t,e,r){var i=this.__find__(n),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+n);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:e,alt:o.alt||[]}),this.__cache__=null},vf.prototype.push=function(n,t,e){this.__rules__.push({name:n,enabled:!0,fn:t,alt:(e||{}).alt||[]}),this.__cache__=null},vf.prototype.enable=function(n,t){n=Array.isArray(n)?n:[n],t&&this.__rules__.forEach(function(e){e.enabled=!1}),n.forEach(function(e){var r=this.__find__(e);if(r<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[r].enabled=!0},this),this.__cache__=null},vf.prototype.disable=function(n){(n=Array.isArray(n)?n:[n]).forEach(function(t){var e=this.__find__(t);if(e<0)throw new Error("Rules manager: invalid rule name "+t);this.__rules__[e].enabled=!1},this),this.__cache__=null},vf.prototype.getRules=function(n){return null===this.__cache__&&this.__compile__(),this.__cache__[n]||[]},o3.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},o3.prototype.push=function(n){this.pending&&this.pushPending(),this.tokens.push(n),this.pendingLevel=this.level},o3.prototype.cacheSet=function(n,t){for(var e=this.cache.length;e<=n;e++)this.cache.push(0);this.cache[n]=t},o3.prototype.cacheGet=function(n){return n<this.cache.length?this.cache[n]:0};var dY=" \n()[]'\".,!?-";function lT(n){return n.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var dwe=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,hwe=/\((c|tm|r|p)\)/gi,pwe={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function mwe(n){return n.indexOf("(")<0?n:n.replace(hwe,function(t,e){return pwe[e.toLowerCase()]})}var vwe=/['"]/,hY=/['"]/g,ywe=/[-\s()\[\]]/;function mY(n,t){return!(t<0||t>=n.length||ywe.test(n[t]))}function Hg(n,t,e){return n.substr(0,t)+e+n.substr(t+1)}var cT=[["block",function iwe(n){n.inlineMode?n.tokens.push({type:"inline",content:n.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):n.block.parse(n.src,n.options,n.env,n.tokens)}],["abbr",function swe(n){var e,r,i,o,t=n.tokens;
vendor: 19,449 bytes, line 1
1if(!n.inlineMode)for(e=1,r=t.length-1;e<r;e++)if("paragraph_open"===t[e-1].type&&"inline"===t[e].type&&"paragraph_close"===t[e+1].type){for(i=t[e].content;i.length&&!((o=owe(i,n.inline,n.options,n.env))<0);)i=i.slice(o).trim();t[e].content=i,i.length||(t[e-1].tight=!0,t[e+1].tight=!0)}}],["references",function lwe(n){var e,r,i,o,t=n.tokens;if(n.env.references=n.env.references||{},!n.inlineMode)for(e=1,r=t.length-1;e<r;e++)if("inline"===t[e].type&&"paragraph_open"===t[e-1].type&&"paragraph_close"===t[e+1].type){for(i=t[e].content;i.length&&!((o=awe(i,n.inline,n.options,n.env))<0);)i=i.slice(o).trim();t[e].content=i,i.length||(t[e-1].tight=!0,t[e+1].tight=!0)}}],["inline",function cwe(n){var e,r,i,t=n.tokens;for(r=0,i=t.length;r<i;r++)"inline"===(e=t[r]).type&&n.inline.parse(e.content,n.options,n.env,e.children)}],["footnote_tail",function uwe(n){var t,e,r,i,o,s,a,l,u,f=0,h=!1,v={};if(n.env.footnotes&&(n.tokens=n.tokens.filter(function(m){return"footnote_reference_open"===m.type?(h=!0,l=[],u=m.label,!1):"footnote_reference_close"===m.type?(h=!1,v[":"+u]=l,!1):(h&&l.push(m),!h)}),n.env.footnotes.list)){for(s=n.env.footnotes.list,n.tokens.push({type:"footnote_block_open",level:f++}),t=0,e=s.length;t<e;t++){for(n.tokens.push({type:"footnote_open",id:t,level:f++}),s[t].tokens?((a=[]).push({type:"paragraph_open",tight:!1,level:f++}),a.push({type:"inline",content:"",level:f,children:s[t].tokens}),a.push({type:"paragraph_close",tight:!1,level:--f})):s[t].label&&(a=v[":"+s[t].label]),n.tokens=n.tokens.concat(a),o="paragraph_close"===n.tokens[n.tokens.length-1].type?n.tokens.pop():null,i=s[t].count>0?s[t].count:1,r=0;r<i;r++)n.tokens.push({type:"footnote_anchor",id:t,subId:r,level:f});o&&n.tokens.push(o),n.tokens.push({type:"footnote_close",level:--f})}n.tokens.push({type:"footnote_block_close",level:--f})}}],["abbr2",function fwe(n){var t,e,r,i,o,s,a,l,u,f,h,v,m=n.tokens;if(n.env.abbreviations)for(n.env.abbrRegExp||(v="(^|["+dY.split("").map(lT).join("")+"])("+Object.keys(n.env.abbreviations).map(function(x){return x.substr(1)}).sort(function(x,p){return p.length-x.length}).map(lT).join("|")+")($|["+dY.split("").map(lT).join("")+"])",n.env.abbrRegExp=new RegExp(v,"g")),f=n.env.abbrRegExp,e=0,r=m.length;e<r;e++)if("inline"===m[e].type)for(t=(i=m[e].children).length-1;t>=0;t--)if("text"===(o=i[t]).type){for(l=0,s=o.content,f.lastIndex=0,u=o.level,a=[];h=f.exec(s);)f.lastIndex>l&&a.push({type:"text",content:s.slice(l,h.index+h[1].length),level:u}),a.push({type:"abbr_open",title:n.env.abbreviations[":"+h[2]],level:u++}),a.push({type:"text",content:h[2],level:u}),a.push({type:"abbr_close",level:--u}),l=f.lastIndex-h[3].length;!a.length||(l<s.length&&a.push({type:"text",content:s.slice(l),level:u}),m[e].children=i=[].concat(i.slice(0,t),a,i.slice(t+1)))}}],["replacements",function gwe(n){var t,e,r,i,o;if(n.options.typographer)for(o=n.tokens.length-1;o>=0;o--)if("inline"===n.tokens[o].type)for(t=(i=n.tokens[o].children).length-1;t>=0;t--)"text"===(e=i[t]).type&&(r=mwe(r=e.content),dwe.test(r)&&(r=r.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),e.content=r)}],["smartquotes",function bwe(n){var t,e,r,i,o,s,a,l,u,f,h,v,m,x,p,P,T;if(n.options.typographer)for(T=[],p=n.tokens.length-1;p>=0;p--)if("inline"===n.tokens[p].type)for(P=n.tokens[p].children,T.length=0,t=0;t<P.length;t++)if("text"===(e=P[t]).type&&!vwe.test(e.text)){for(a=P[t].level,m=T.length-1;m>=0&&!(T[m].level<=a);m--);T.length=m+1,o=0,s=(r=e.content).length;e:for(;o<s&&(hY.lastIndex=o,i=hY.exec(r),i);)if(l=!mY(r,i.index-1),x="'"===i[0],(u=!mY(r,o=i.index+1))||l){if(h=!u,v=!l)for(m=T.length-1;m>=0&&(f=T[m],!(T[m].level<a));m--)if(f.single===x&&T[m].level===a){f=T[m],x?(P[f.token].content=Hg(P[f.token].content,f.pos,n.options.quotes[2]),e.content=Hg(e.content,i.index,n.options.quotes[3])):(P[f.token].content=Hg(P[f.token].content,f.pos,n.options.quotes[0]),e.content=Hg(e.content,i.index,n.options.quotes[1])),T.length=m;continue e}h?T.push({token:t,pos:i.index,single:x,level:a}):v&&x&&(e.content=Hg(e.content,i.index,"\u2019"))}else x&&(e.content=Hg(e.content,i.index,"\u2019"))}}]];function gY(){this.options={},this.ruler=new vf;for(var n=0;n<cT.length;n++)this.ruler.push(cT[n][0],cT[n][1])}function s3(n,t,e,r,i){var o,s,a,l,u,f,h;for(this.src=n,this.parser=t,this.options=e,this.env=r,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",f=0,h=!1,a=l=f=0,u=(s=this.src).length;l<u;l++){if(o=s.charCodeAt(l),!h){if(32===o){f++;continue}h=!0}(10===o||l===u-1)&&(10!==o&&l++,this.bMarks.push(a),this.eMarks.push(l),this.tShift.push(f),h=!1,f=0,a=l+1)}this.bMarks.push(s.length),this.eMarks.push(s.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function vY(n,t){var e,r,i;return(r=n.bMarks[t]+n.tShift[t])>=(i=n.eMarks[t])||42!==(e=n.src.charCodeAt(r++))&&45!==e&&43!==e||r<i&&32!==n.src.charCodeAt(r)?-1:r}function yY(n,t){var e,r=n.bMarks[t]+n.tShift[t],i=n.eMarks[t];if(r+1>=i||(e=n.src.charCodeAt(r++))<48||e>57)return-1;for(;;){if(r>=i)return-1;if(!((e=n.src.charCodeAt(r++))>=48&&e<=57)){if(41===e||46===e)break;return-1}}return r<i&&32!==n.src.charCodeAt(r)?-1:r}gY.prototype.process=function(n){var t,e,r;for(t=0,e=(r=this.ruler.getRules("")).length;t<e;t++)r[t](n)},s3.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},s3.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;t<e&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},s3.prototype.skipSpaces=function(t){for(var e=this.src.length;t<e&&32===this.src.charCodeAt(t);t++);return t},s3.prototype.skipChars=function(t,e){for(var r=this.src.length;t<r&&this.src.charCodeAt(t)===e;t++);return t},s3.prototype.skipCharsBack=function(t,e,r){if(t<=r)return t;for(;t>r;)if(e!==this.src.charCodeAt(--t))return t+1;return t},s3.prototype.getLines=function(t,e,r,i){var o,s,l,u,f=t;if(t>=e)return"";if(f+1===e)return s=this.bMarks[f]+Math.min(this.tShift[f],r),this.src.slice(s,i?this.eMarks[f]+1:this.eMarks[f]);for(l=new Array(e-t),o=0;f<e;f++,o++)(u=this.tShift[f])>r&&(u=r),u<0&&(u=0),l[o]=this.src.slice(s=this.bMarks[f]+u,f+1<e||i?this.eMarks[f]+1:this.eMarks[f]);return l.join("")};var bY={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(n){bY[n]=!0});var kwe=/^<([a-zA-Z]{1,15})[\s\/>]/,Twe=/^<\/([a-zA-Z]{1,15})[\s>]/;function uT(n,t){var e=n.bMarks[t]+n.blkIndent;return n.src.substr(e,n.eMarks[t]-e)}function gx(n,t){var e,r,i=n.bMarks[t]+n.tShift[t],o=n.eMarks[t];return i>=o||126!==(r=n.src.charCodeAt(i++))&&58!==r||i===(e=n.skipSpaces(i))||e>=o?-1:e}var vx=[["code",function _we(n,t,e){var r,i;if(n.tShift[t]-n.blkIndent<4)return!1;for(i=r=t+1;r<e;)if(n.isEmpty(r))r++;else{if(!(n.tShift[r]-n.blkIndent>=4))break;i=++r}return n.line=r,n.tokens.push({type:"code",content:n.getLines(t,i,4+n.blkIndent,!0),block:!0,lines:[t,n.line],level:n.level}),!0}],["fences",function xwe(n,t,e,r){var i,o,s,a,l,u=!1,f=n.bMarks[t]+n.tShift[t],h=n.eMarks[t];if(f+3>h||126!==(i=n.src.charCodeAt(f))&&96!==i||(l=f,(o=(f=n.skipChars(f,i))-l)<3)||(s=n.src.slice(f,h).trim()).indexOf("`")>=0)return!1;if(r)return!0;for(a=t;!(++a>=e||(f=l=n.bMarks[a]+n.tShift[a],h=n.eMarks[a],f<h&&n.tShift[a]<n.blkIndent));)if(!(n.src.charCodeAt(f)!==i||n.tShift[a]-n.blkIndent>=4||(f=n.skipChars(f,i),f-l<o||(f=n.skipSpaces(f),f<h)))){u=!0;break}return o=n.tShift[t],n.line=a+(u?1:0),n.tokens.push({type:"fence",params:s,content:n.getLines(t+1,a,o,!0),lines:[t,n.line],level:n.level}),!0},["paragraph","blockquote","list"]],["blockquote",function wwe(n,t,e,r){var i,o,s,a,l,u,f,h,v,m,x,p=n.bMarks[t]+n.tShift[t],P=n.eMarks[t];if(p>P||62!==n.src.charCodeAt(p++)||n.level>=n.options.maxNesting)return!1;if(r)return!0;for(32===n.src.charCodeAt(p)&&p++,l=n.blkIndent,n.blkIndent=0,a=[n.bMarks[t]],n.bMarks[t]=p,o=(p=p<P?n.skipSpaces(p):p)>=P,s=[n.tShift[t]],n.tShift[t]=p-n.bMarks[t],h=n.parser.ruler.getRules("blockquote"),i=t+1;i<e&&!((p=n.bMarks[i]+n.tShift[i])>=(P=n.eMarks[i]));i++)if(62!==n.src.charCodeAt(p++)){if(o)break;for(x=!1,v=0,m=h.length;v<m;v++)if(h[v](n,i,e,!0)){x=!0;break}if(x)break;a.push(n.bMarks[i]),s.push(n.tShift[i]),n.tShift[i]=-1337}else 32===n.src.charCodeAt(p)&&p++,a.push(n.bMarks[i]),n.bMarks[i]=p,o=(p=p<P?n.skipSpaces(p):p)>=P,s.push(n.tShift[i]),n.tShift[i]=p-n.bMarks[i];for(u=n.parentType,n.parentType="blockquote",n.tokens.push({type:"blockquote_open",lines:f=[t,0],level:n.level++}),n.parser.tokenize(n,t,i),n.tokens.push({type:"blockquote_close",level:--n.level}),n.parentType=u,f[1]=n.line,v=0;v<s.length;v++)n.bMarks[v+t]=a[v],n.tShift[v+t]=s[v];return n.blkIndent=l,!0},["paragraph","blockquote","list"]],["hr",function Cwe(n,t,e,r){var i,o,s,a=n.bMarks[t],l=n.eMarks[t];if((a+=n.tShift[t])>l||42!==(i=n.src.charCodeAt(a++))&&45!==i&&95!==i)return!1;for(o=1;a<l;){if((s=n.src.charCodeAt(a++))!==i&&32!==s)return!1;s===i&&o++}return!(o<3||(r||(n.line=t+1,n.tokens.push({type:"hr",lines:[t,n.line],level:n.level})),0))},["paragraph","blockquote","list"]],["list",function Ewe(n,t,e,r){var i,o,s,a,l,u,f,h,m,x,p,P,T,H,U,ee,ie,ue,Se,Ue,it,me=!0;if((h=yY(n,t))>=0)P=!0;else{if(!((h=vY(n,t))>=0))return!1;P=!1}if(n.level>=n.options.maxNesting)return!1;if(p=n.src.charCodeAt(h-1),r)return!0;for(H=n.tokens.length,P?(f=n.bMarks[t]+n.tShift[t],x=Number(n.src.substr(f,h-f-1)),n.tokens.push({type:"ordered_list_open",order:x,lines:ee=[t,0],level:n.level++})):n.tokens.push({type:"bullet_list_open",lines:ee=[t,0],level:n.level++}),i=t,U=!1,ue=n.parser.ruler.getRules("list");i<e&&((m=(T=n.skipSpaces(h))>=n.eMarks[i]?1:T-h)>4&&(m=1),m<1&&(m=1),o=h-n.bMarks[i]+m,n.tokens.push({type:"list_item_open",lines:ie=[t,0],level:n.level++}),a=n.blkIndent,l=n.tight,s=n.tShift[t],u=n.parentType,n.tShift[t]=T-n.bMarks[t],n.blkIndent=o,n.tight=!0,n.parentType="list",n.parser.tokenize(n,t,e,!0),(!n.tight||U)&&(me=!1),U=n.line-t>1&&n.isEmpty(n.line-1),n.blkIndent=a,n.tShift[t]=s,n.tight=l,n.parentType=u,n.tokens.push({type:"list_item_close",level:--n.level}),i=t=n.line,ie[1]=i,T=n.bMarks[t],!(i>=e||n.isEmpty(i)||n.tShift[i]<n.blkIndent));){for(it=!1,Se=0,Ue=ue.length;Se<Ue;Se++)if(ue[Se](n,i,e,!0)){it=!0;break}if(it)break;if(P){if((h=yY(n,i))<0)break}else if((h=vY(n,i))<0)break;if(p!==n.src.charCodeAt(h-1))break}return n.tokens.push({type:P?"ordered_list_close":"bullet_list_close",level:--n.level}),ee[1]=i,n.line=i,me&&function Swe(n,t){var e,r,i=n.level+2;for(e=t+2,r=n.tokens.length-2;e<r;e++)n.tokens[e].level===i&&"paragraph_open"===n.tokens[e].type&&(n.tokens[e+2].tight=!0,n.tokens[e].tight=!0,e+=2)}(n,H),!0},["paragraph","blockquote"]],["footnote",function Awe(n,t,e,r){var i,o,s,a,l,u=n.bMarks[t]+n.tShift[t],f=n.eMarks[t];if(u+4>f||91!==n.src.charCodeAt(u)||94!==n.src.charCodeAt(u+1)||n.level>=n.options.maxNesting)return!1;for(a=u+2;a<f;a++){if(32===n.src.charCodeAt(a))return!1;if(93===n.src.charCodeAt(a))break}return!(a===u+2||a+1>=f||58!==n.src.charCodeAt(++a)||(r||(a++,n.env.footnotes||(n.env.footnotes={}),n.env.footnotes.refs||(n.env.footnotes.refs={}),l=n.src.slice(u+2,a-2),n.env.footnotes.refs[":"+l]=-1,n.tokens.push({type:"footnote_reference_open",label:l,level:n.level++}),i=n.bMarks[t],o=n.tShift[t],s=n.parentType,n.tShift[t]=n.skipSpaces(a)-a,n.bMarks[t]=a,n.blkIndent+=4,n.parentType="footnote",n.tShift[t]<n.blkIndent&&(n.tShift[t]+=n.blkIndent,n.bMarks[t]-=n.blkIndent),n.parser.tokenize(n,t,e,!0),n.parentType=s,n.blkIndent-=4,n.tShift[t]=o,n.bMarks[t]=i,n.tokens.push({type:"footnote_reference_close",level:--n.level})),0))},["paragraph"]],["heading",function Mwe(n,t,e,r){var i,o,s,a=n.bMarks[t]+n.tShift[t],l=n.eMarks[t];if(a>=l||35!==(i=n.src.charCodeAt(a))||a>=l)return!1;for(o=1,i=n.src.charCodeAt(++a);35===i&&a<l&&o<=6;)o++,i=n.src.charCodeAt(++a);return!(o>6||a<l&&32!==i||(r||(l=n.skipCharsBack(l,32,a),(s=n.skipCharsBack(l,35,a))>a&&32===n.src.charCodeAt(s-1)&&(l=s),n.line=t+1,n.tokens.push({type:"heading_open",hLevel:o,lines:[t,n.line],level:n.level}),a<l&&n.tokens.push({type:"inline",content:n.src.slice(a,l).trim(),level:n.level+1,lines:[t,n.line],children:[]}),n.tokens.push({type:"heading_close",hLevel:o,level:n.level})),0))},["paragraph","blockquote"]],["lheading",function Dwe(n,t,e){var r,i,o,s=t+1;return!(s>=e||n.tShift[s]<n.blkIndent||n.tShift[s]-n.blkIndent>3||(i=n.bMarks[s]+n.tShift[s],o=n.eMarks[s],i>=o)||(r=n.src.charCodeAt(i),45!==r&&61!==r)||(i=n.skipChars(i,r),i=n.skipSpaces(i),i<o)||(i=n.bMarks[t]+n.tShift[t],n.line=s+1,n.tokens.push({type:"heading_open",hLevel:61===r?1:2,lines:[t,n.line],level:n.level}),n.tokens.push({type:"inline",content:n.src.slice(i,n.eMarks[t]).trim(),level:n.level+1,lines:[t,n.line-1],children:[]}),n.tokens.push({type:"heading_close",hLevel:61===r?1:2,level:n.level}),0))}],["htmlblock",function Owe(n,t,e,r){var i,o,s,a=n.bMarks[t],l=n.eMarks[t],u=n.tShift[t];if(a+=u,!n.options.html||u>3||a+2>=l||60!==n.src.charCodeAt(a))return!1;if(33===(i=n.src.charCodeAt(a+1))||63===i){if(r)return!0}else{if(47!==i&&!function Iwe(n){var t=32|n;return t>=97&&t<=122}(i))return!1;if(47===i){if(!(o=n.src.slice(a,l).match(Twe)))return!1}else if(!(o=n.src.slice(a,l).match(kwe)))return!1;if(!0!==bY[o[1].toLowerCase()])return!1;if(r)return!0}for(s=t+1;s<n.lineMax&&!n.isEmpty(s);)s++;return n.line=s,n.tokens.push({type:"htmlblock",level:n.level,lines:[t,n.line],content:n.getLines(t,s,0,!0)}),!0},["paragraph","blockquote"]],["table",function Rwe(n,t,e,r){var i,o,s,a,l,u,f,h,v,m,x;if(t+2>e||n.tShift[l=t+1]<n.blkIndent||(s=n.bMarks[l]+n.tShift[l])>=n.eMarks[l]||124!==(i=n.src.charCodeAt(s))&&45!==i&&58!==i||(o=uT(n,t+1),!/^[-:| ]+$/.test(o))||(u=o.split("|"))<=2)return!1;for(h=[],a=0;a<u.length;a++){if(!(v=u[a].trim())){if(0===a||a===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?h.push(58===v.charCodeAt(0)?"center":"right"):58===v.charCodeAt(0)?h.push("left"):h.push("")}if(-1===(o=uT(n,t).trim()).indexOf("|")||(u=o.replace(/^\||\|$/g,"").split("|"),h.length!==u.length))return!1;if(r)return!0;for(n.tokens.push({type:"table_open",lines:m=[t,0],level:n.level++}),n.tokens.push({type:"thead_open",lines:[t,t+1],level:n.level++}),n.tokens.push({type:"tr_open",lines:[t,t+1],level:n.level++}),a=0;a<u.length;a++)n.tokens.push({type:"th_open",align:h[a],lines:[t,t+1],level:n.level++}),n.tokens.push({type:"inline",content:u[a].trim(),lines:[t,t+1],level:n.level,children:[]}),n.tokens.push({type:"th_close",level:--n.level});for(n.tokens.push({type:"tr_close",level:--n.level}),n.tokens.push({type:"thead_close",level:--n.level}),n.tokens.push({type:"tbody_open",lines:x=[t+2,0],level:n.level++}),l=t+2;l<e&&!(n.tShift[l]<n.blkIndent||(o=uT(n,l).trim(),-1===o.indexOf("|")));l++){for(u=o.replace(/^\||\|$/g,"").split("|"),n.tokens.push({type:"tr_open",level:n.level++}),a=0;a<u.length;a++)n.tokens.push({type:"td_open",align:h[a],level:n.level++}),f=u[a].substring(124===u[a].charCodeAt(0)?1:0,124===u[a].charCodeAt(u[a].length-1)?u[a].length-1:u[a].length).trim(),n.tokens.push({type:"inline",content:f,level:n.level,children:[]}),n.tokens.push({type:"td_close",level:--n.level});n.tokens.push({type:"tr_close",level:--n.level})}return n.tokens.push({type:"tbody_close",level:--n.level}),n.tokens.push({type:"table_close",level:--n.level}),m[1]=x[1]=l,n.line=l,!0},["paragraph"]],["deflist",function Pwe(n,t,e,r){var i,o,s,a,l,u,f,h,v,m,x,p,P,T;if(r)return!(n.ddIndent<0)&&gx(n,t)>=0;if(n.isEmpty(f=t+1)&&++f>e||n.tShift[f]<n.blkIndent||(i=gx(n,f))<0||n.level>=n.options.maxNesting)return!1;u=n.tokens.length,n.tokens.push({type:"dl_open",lines:l=[t,0],level:n.level++}),s=t,o=f;e:for(;;){for(T=!0,P=!1,n.tokens.push({type:"dt_open",lines:[s,s],level:n.level++}),n.tokens.push({type:"inline",content:n.getLines(s,s+1,n.blkIndent,!1).trim(),level:n.level+1,lines:[s,s],children:[]}),n.tokens.push({type:"dt_close",level:--n.level});;){if(n.tokens.push({type:"dd_open",lines:a=[f,0],level:n.level++}),p=n.tight,v=n.ddIndent,h=n.blkIndent,x=n.tShift[o],m=n.parentType,n.blkIndent=n.ddIndent=n.tShift[o]+2,n.tShift[o]=i-n.bMarks[o],n.tight=!0,n.parentType="deflist",n.parser.tokenize(n,o,e,!0),(!n.tight||P)&&(T=!1),P=n.line-o>1&&n.isEmpty(n.line-1),n.tShift[o]=x,n.tight=p,n.parentType=m,n.blkIndent=h,n.ddIndent=v,n.tokens.push({type:"dd_close",level:--n.level}),a[1]=f=n.line,f>=e||n.tShift[f]<n.blkIndent)break e;if((i=gx(n,f))<0)break;o=f}if(f>=e||n.isEmpty(s=f)||n.tShift[s]<n.blkIndent||(o=s+1)>=e||(n.isEmpty(o)&&o++,o>=e)||n.tShift[o]<n.blkIndent||(i=gx(n,o))<0)break}return n.tokens.push({type:"dl_close",level:--n.level}),l[1]=f,n.line=f,T&&function Lwe(n,t){var e,r,i=n.level+2;for(e=t+2,r=n.tokens.length-2;e<r;e++)n.tokens[e].level===i&&"paragraph_open"===n.tokens[e].type&&(n.tokens[e+2].tight=!0,n.tokens[e].tight=!0,e+=2)}(n,u),!0},["paragraph"]],["paragraph",function Nwe(n,t){var e,r,i,o,s,l,a=t+1;if(a<(e=n.lineMax)&&!n.isEmpty(a))for(l=n.parser.ruler.getRules("paragraph");a<e&&!n.isEmpty(a);a++)if(!(n.tShift[a]-n.blkIndent>3)){for(i=!1,o=0,s=l.length;o<s;o++)if(l[o](n,a,e,!0)){i=!0;break}if(i)break}return r=n.getLines(t,a,n.blkIndent,!1).trim(),n.line=a,r.length&&(n.tokens.push({type:"paragraph_open",tight:!1,lines:[t,n.line],level:n.level}),n.tokens.push({type:"inline",content:r,level:n.level+1,lines:[t,n.line],children:[]}),n.tokens.push({type:"paragraph_close",tight:!1,level:n.level})),!0}]];function fT(){this.ruler=new vf;for(var n=0;n<vx.length;n++)this.ruler.push(vx[n][0],vx[n][1],{alt:(vx[n][2]||[]).slice()})}fT.prototype.tokenize=function(n,t,e){for(var l,r=this.ruler.getRules(""),i=r.length,o=t,s=!1;o<e&&(n.line=o=n.skipEmptyLines(o),!(o>=e||n.tShift[o]<n.blkIndent));){for(l=0;l<i&&!r[l](n,o,e,!1);l++);if(n.tight=!s,n.isEmpty(n.line-1)&&(s=!0),(o=n.line)<e&&n.isEmpty(o)){if(s=!0,++o<e&&"list"===n.parentType&&n.isEmpty(o))break;n.line=o}}};var Fwe=/[\n\t]/g,zwe=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,Bwe=/\u00a0/g;function Vwe(n){switch(n){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}fT.prototype.parse=function(n,t,e,r){var i,o=0,s=0;if(!n)return[];(n=(n=n.replace(Bwe," ")).replace(zwe,"\n")).indexOf("\t")>=0&&(n=n.replace(Fwe,function(a,l){var u;return 10===n.charCodeAt(l)?(o=l+1,s=0,a):(u=" ".slice((l-o-s)%4),s=l-o+1,u)})),i=new s3(n,this,t,e,r),this.tokenize(i,i.line,i.lineMax)};for(var dT=[],_Y=0;_Y<256;_Y++)dT.push(0);function xY(n){return n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122}function wY(n,t){var r,i,o,e=t,s=!0,a=!0,l=n.posMax,u=n.src.charCodeAt(t);for(r=t>0?n.src.charCodeAt(t-1):-1;e<l&&n.src.charCodeAt(e)===u;)e++;return e>=l&&(s=!1),(o=e-t)>=4?s=a=!1:((32===(i=e<l?n.src.charCodeAt(e):-1)||10===i)&&(s=!1),(32===r||10===r)&&(a=!1),95===u&&(xY(r)&&(s=!1),xY(i)&&(a=!1))),{can_open:s,can_close:a,delims:o}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}
1~-".split("").forEach(function(n){dT[n.charCodeAt(0)]=1});var Kwe=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,Zwe=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,nCe=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],rCe=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,iCe=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function yx(n,t){return n=n.source,t=t||"",function e(r,i){return r?(n=n.replace(r,i=i.source||i),e):new RegExp(n,t)}}var uCe=yx(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),fCe=yx(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",uCe)(),dCe=yx(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",fCe)(),yCe=yx(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",dCe)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),xCe=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,wCe=/^&([a-z][a-z0-9]{1,31});/i,hT=[["text",function Hwe(n,t){for(var e=n.pos;e<n.posMax&&!Vwe(n.src.charCodeAt(e));)e++;return e!==n.pos&&(t||(n.pending+=n.src.slice(n.pos,e)),n.pos=e,!0)}],["newline",function jwe(n,t){var e,r,i=n.pos;if(10!==n.src.charCodeAt(i))return!1;if(e=n.pending.length-1,r=n.posMax,!t)if(e>=0&&32===n.pending.charCodeAt(e))if(e>=1&&32===n.pending.charCodeAt(e-1)){for(var o=e-2;o>=0;o--)if(32!==n.pending.charCodeAt(o)){n.pending=n.pending.substring(0,o+1);break}n.push({type:"hardbreak",level:n.level})}else n.pending=n.pending.slice(0,-1),n.push({type:"softbreak",level:n.level});else n.push({type:"softbreak",level:n.level});for(i++;i<r&&32===n.src.charCodeAt(i);)i++;return n.pos=i,!0}],["escape",function Uwe(n,t){var e,r=n.pos,i=n.posMax;if(92!==n.src.charCodeAt(r))return!1;if(++r<i){if((e=n.src.charCodeAt(r))<256&&0!==dT[e])return t||(n.pending+=n.src[r]),n.pos+=2,!0;if(10===e){for(t||n.push({type:"hardbreak",level:n.level}),r++;r<i&&32===n.src.charCodeAt(r);)r++;return n.pos=r,!0}}return t||(n.pending+="\\"),n.pos++,!0}],["backticks",function $we(n,t){var e,r,i,o,s,a=n.pos;if(96!==n.src.charCodeAt(a))return!1;for(e=a,a++,r=n.posMax;a<r&&96===n.src.charCodeAt(a);)a++;for(i=n.src.slice(e,a),o=s=a;-1!==(o=n.src.indexOf("`",s));){for(s=o+1;s<r&&96===n.src.charCodeAt(s);)s++;if(s-o===i.length)return t||n.push({type:"code",content:n.src.slice(a,o).replace(/[ \n]+/g," ").trim(),block:!1,level:n.level}),n.pos=s,!0}return t||(n.pending+=i),n.pos+=i.length,!0}],["del",function Gwe(n,t){var e,r,i,a,l,o=n.posMax,s=n.pos;if(126!==n.src.charCodeAt(s)||t||s+4>
vendor: 4,120 bytes, line 1
1=o||126!==n.src.charCodeAt(s+1)||n.level>=n.options.maxNesting||(a=s>0?n.src.charCodeAt(s-1):-1,l=n.src.charCodeAt(s+2),126===a)||126===l||32===l||10===l)return!1;for(r=s+2;r<o&&126===n.src.charCodeAt(r);)r++;if(r>s+3)return n.pos+=r-s,t||(n.pending+=n.src.slice(s,r)),!0;for(n.pos=s+2,i=1;n.pos+1<o;){if(126===n.src.charCodeAt(n.pos)&&126===n.src.charCodeAt(n.pos+1)&&(a=n.src.charCodeAt(n.pos-1),126!==(l=n.pos+2<o?n.src.charCodeAt(n.pos+2):-1)&&126!==a&&(32!==a&&10!==a?i--:32!==l&&10!==l&&i++,i<=0))){e=!0;break}n.parser.skipToken(n)}return e?(n.posMax=n.pos,n.pos=s+2,t||(n.push({type:"del_open",level:n.level++}),n.parser.tokenize(n),n.push({type:"del_close",level:--n.level})),n.pos=n.posMax+2,n.posMax=o,!0):(n.pos=s,!1)}],["ins",function Wwe(n,t){var e,r,i,a,l,o=n.posMax,s=n.pos;if(43!==n.src.charCodeAt(s)||t||s+4>=o||43!==n.src.charCodeAt(s+1)||n.level>=n.options.maxNesting||(a=s>0?n.src.charCodeAt(s-1):-1,l=n.src.charCodeAt(s+2),43===a)||43===l||32===l||10===l)return!1;for(r=s+2;r<o&&43===n.src.charCodeAt(r);)r++;if(r!==s+2)return n.pos+=r-s,t||(n.pending+=n.src.slice(s,r)),!0;for(n.pos=s+2,i=1;n.pos+1<o;){if(43===n.src.charCodeAt(n.pos)&&43===n.src.charCodeAt(n.pos+1)&&(a=n.src.charCodeAt(n.pos-1),43!==(l=n.pos+2<o?n.src.charCodeAt(n.pos+2):-1)&&43!==a&&(32!==a&&10!==a?i--:32!==l&&10!==l&&i++,i<=0))){e=!0;break}n.parser.skipToken(n)}return e?(n.posMax=n.pos,n.pos=s+2,t||(n.push({type:"ins_open",level:n.level++}),n.parser.tokenize(n),n.push({type:"ins_close",level:--n.level})),n.pos=n.posMax+2,n.posMax=o,!0):(n.pos=s,!1)}],["mark",function qwe(n,t){var e,r,i,a,l,o=n.posMax,s=n.pos;if(61!==n.src.charCodeAt(s)||t||s+4>=o||61!==n.src.charCodeAt(s+1)||n.level>=n.options.maxNesting||(a=s>0?n.src.charCodeAt(s-1):-1,l=n.src.charCodeAt(s+2),61===a)||61===l||32===l||10===l)return!1;for(r=s+2;r<o&&61===n.src.charCodeAt(r);)r++;if(r!==s+2)return n.pos+=r-s,t||(n.pending+=n.src.slice(s,r)),!0;for(n.pos=s+2,i=1;n.pos+1<o;){if(61===n.src.charCodeAt(n.pos)&&61===n.src.charCodeAt(n.pos+1)&&(a=n.src.charCodeAt(n.pos-1),61!==(l=n.pos+2<o?n.src.charCodeAt(n.pos+2):-1)&&61!==a&&(32!==a&&10!==a?i--:32!==l&&10!==l&&i++,i<=0))){e=!0;break}n.parser.skipToken(n)}return e?(n.posMax=n.pos,n.pos=s+2,t||(n.push({type:"mark_open",level:n.level++}),n.parser.tokenize(n),n.push({type:"mark_close",level:--n.level})),n.pos=n.posMax+2,n.posMax=o,!0):(n.pos=s,!1)}],["emphasis",function Ywe(n,t){var e,r,i,o,s,a,l,u=n.posMax,f=n.pos,h=n.src.charCodeAt(f);if(95!==h&&42!==h||t)return!1;if(e=(l=wY(n,f)).delims,!l.can_open)return n.pos+=e,t||(n.pending+=n.src.slice(f,n.pos)),!0;if(n.level>=n.options.maxNesting)return!1;for(n.pos=f+e,a=[e];n.pos<u;)if(n.src.charCodeAt(n.pos)!==h)n.parser.skipToken(n);else{if(r=(l=wY(n,n.pos)).delims,l.can_close){for(o=a.pop(),s=r;o!==s;){if(s<o){a.push(o-s);break}if(s-=o,0===a.length)break;n.pos+=o,o=a.pop()}if(0===a.length){e=o,i=!0;break}n.pos+=r;continue}l.can_open&&a.push(r),n.pos+=r}return i?(n.posMax=n.pos,n.pos=f+e,t||((2===e||3===e)&&n.push({type:"strong_open",level:n.level++}),(1===e||3===e)&&n.push({type:"em_open",level:n.level++}),n.parser.tokenize(n),(1===e||3===e)&&n.push({type:"em_close",level:--n.level}),(2===e||3===e)&&n.push({type:"strong_close",level:--n.level})),n.pos=n.posMax+e,n.posMax=u,!0):(n.pos=f,!1)}],["sub",function Xwe(n,t){var e,r,i=n.posMax,o=n.pos;if(126!==n.src.charCodeAt(o)||t||o+2>=i||n.level>=n.options.maxNesting)return!1;for(n.pos=o+1;n.pos<i;){if(126===n.src.charCodeAt(n.pos)){e=!0;break}n.parser.skipToken(n)}return!e||o+1===n.pos||(r=n.src.slice(o+1,n.pos)).match(/(^|[^\\])(\\\\)*\s/)?(n.pos=o,!1):(n.posMax=n.pos,n.pos=o+1,t||n.push({type:"sub",level:n.level,content:r.replace(Kwe,"$1")}),n.pos=n.posMax+1,n.posMax=i,!0)}],["sup",function Jwe(n,t){var e,r,i=n.posMax,o=n.pos;if(94!==n.src.charCodeAt(o)||t||o+2>=i||n.level>=n.options.maxNesting)return!1;for(n.pos=o+1;n.pos<i;){if(94===n.src.charCodeAt(n.pos)){e=!0;break}n.parser.skipToken(n)}return!e||o+1===n.pos||(r=n.src.slice(o+1,n.pos)).match(/(^|[^\\])(\\\\)*\s/)?(n.pos=o,!1):(n.posMax=n.pos,n.pos=o+1,t||n.push({type:"sup",level:n.level,content:r.replace(Zwe,"$1")}
1),n.pos=n.posMax+1,n.posMax=i,!0)}],["links",function Qwe(n,t){var e,r,i,o,s,a,l,u,f=!1,h=n.pos,v=n.posMax,m=n.pos,x=n.src.charCodeAt(m);if(33===x&&(f=!0,x=n.src.charCodeAt(++m)),91!==x||n.level>=n.options.maxNesting||(e=m+1,(r=h7(n,m))<0))return!1;if((a=r+1)<v&&40===n.src.charCodeAt(a)){for(a++;a<v&&(32===(u=n.src.charCodeAt(a))||10===u);a++);if(a>=v)return!1;for(m=a,cY(n,a)?(o=n.linkContent,a=n.pos):o="",m=a;a<v&&(32===(u=n.src.charCodeAt(a))||10===u);a++);if(a<v&&m!==a&&uY(n,a))for(s=n.linkContent,a=n.pos;a<v&&(32===(u=n.src.charCodeAt(a))||10===u);a++);else s="";if(a>=v||41!==n.src.charCodeAt(a))return n.pos=h,!1;a++}else{if(n.linkLevel>0)return!1;for(;a<v&&(32===(u=n.src.charCodeAt(a))||10===u);a++);if(a<v&&91===n.src.charCodeAt(a)&&(m=a+1,(a=h7(n,a))>=0?i=n.src.slice(m,a++):a=m-1),i||(typeof i>"u"&&(a=r+1),i=n.src.slice(e,r)),!(l=n.env.references[fY(i)]))return n.pos=h,!1;o=l.href,s=l.title}return t||(n.pos=e,n.posMax=r,f?n.push({type:"image",src:o,title:s,alt:n.src.substr(e,r-e),level:n.level}):(n.push({type:"link_open",href:o,title:s,level:n.level++}),n.linkLevel++,n.parser.tokenize(n),n.linkLevel--,n.push({type:"link_close",level:--n.level}))),n.pos=a,n.posMax=v,!0}],["footnote_inline",function eCe(n,t){var e,r,i,o,s=n.posMax,a=n.pos;return!(a+2>=s||94!==n.src.charCodeAt(a)||91!==n.src.charCodeAt(a+1)||n.level>=n.options.maxNesting||(e=a+2,r=h7(n,a+1),r<0)||(t||(n.env.footnotes||(n.env.footnotes={}),n.env.footnotes.list||(n.env.footnotes.list=[]),i=n.env.footnotes.list.length,n.pos=e,n.posMax=r,n.push({type:"footnote_ref",id:i,level:n.level}),n.linkLevel++,o=n.tokens.length,n.parser.tokenize(n),n.env.footnotes.list[i]={tokens:n.tokens.splice(o)},n.linkLevel--),n.pos=r+1,n.posMax=s,0))}],["footnote_ref",function tCe(n,t){var e,r,i,o,s=n.posMax,a=n.pos;if(a+3>s||!n.env.footnotes||!n.env.footnotes.refs||91!==n.src.charCodeAt(a)||94!==n.src.charCodeAt(a+1)||n.level>=n.options.maxNesting)return!1;for(r=a+2;r<s;r++){if(32===n.src.charCodeAt(r)||10===n.src.charCodeAt(r))return!1;if(93===n.src.charCodeAt(r))break}return!(r===a+2||r>=s||(r++,e=n.src.slice(a+2,r-1),typeof n.env.footnotes.refs[":"+e]>"u")||(t||(n.env.footnotes.list||(n.env.footnotes.list=[]),n.env.footnotes.refs[":"+e]<0?(n.env.footnotes.list[i=n.env.footnotes.list.length]={label:e,count:0},n.env.footnotes.refs[":"+e]=i):i=n.env.footnotes.refs[":"+e],o=n.env.footnotes.list[i].count,n.env.footnotes.list[i].count++,n.push({type:"footnote_ref",id:i,subId:o,level:n.level})),n.pos=r,n.posMax=s,0))}],["autolink",function oCe(n,t){var e,r,i,o,s,a=n.pos;return!(60!==n.src.charCodeAt(a)||(e=n.src.slice(a),e.indexOf(">")<0)||((r=e.match(iCe))?nCe.indexOf(r[1].toLowerCase())<0||(o=r[0].slice(1,-1),s=aT(o),!n.parser.validateLink(o))||(t||(n.push({type:"link_open",href:s,level:n.level}),n.push({type:"text",content:o,level:n.level+1}),n.push({type:"link_close",level:n.level})),n.pos+=r[0].length,0):!(i=e.match(rCe))||(s=aT("mailto:"+(o=i[0].slice(1,-1))),!n.parser.validateLink(s)||(t||(n.push({type:"link_open",href:s,level:n.level}),n.push({type:"text",content:o,level:n.level+1}),n.push({type:"link_close",level:n.level})),n.pos+=i[0].length,0))))}],["htmltag",function _Ce(n,t){var e,r,i,o=n.pos;return!(!n.options.html||(i=n.posMax,60!==n.src.charCodeAt(o)||o+2>=i)||(e=n.src.charCodeAt(o+1),33!==e&&63!==e&&47!==e&&!function bCe(n){var t=32|n;return t>=97&&t<=122}(e))||(r=n.src.slice(o).match(yCe),!r)||(t||n.push({type:"htmltag",content:n.src.slice(o,o+r[0].length),level:n.level}),n.pos+=r[0].length,0))}],["entity",function CCe(n,t){var r,i,o=n.pos,s=n.posMax;if(38!==n.src.charCodeAt(o))return!1;if(o+1<s)if(35===n.src.charCodeAt(o+1)){if(i=n.src.slice(o).match(xCe))return t||(r="x"===i[1][0].toLowerCase()?parseInt(i[1].slice(1),16):parseInt(i[1],10),n.pending+=oT(r)?mx(r):mx(65533)),n.pos+=i[0].length,!0}else if(i=n.src.slice(o).match(wCe)){var a=sY(i[1]);if(i[1]!==a)return t||(n.pending+=a),n.pos+=i[0].length,!0}return t||(n.pending+="&"),n.pos++,!0}]];function bx(){this.ruler=new vf;for(var n=0;n<hT.length;n++)this.ruler.push(hT[n][0],hT[n][1]);this.validateLink=SCe}function SCe(n){var e=n.trim().toLowerCase();return!(-1!==(e=Np(e)).indexOf(":")&&-1!==["vbscript","javascript","file","data"].indexOf(e.split(":")[0]))}bx.prototype.skipToken=function(n){var i,o,t=this.ruler.getRules(""),e=t.length,r=n.pos;if((o=n.cacheGet(r))>0)n.pos=o;else{for(i=0;i<e;i++)if(t[i](n,!0))return void n.cacheSet(r,n.pos);n.pos++,n.cacheSet(r,n.pos)}},bx.prototype.tokenize=function(n){for(var i,o,t=this.ruler.getRules(""),e=t.length,r=n.posMax;n.pos<r;){for(o=0;o<e&&!(i=t[o](n,!1));o++);if(i){if(n.pos>=r)break}else n.pending+=n.src[n.pos++]}n.pending&&n.pushPending()},bx.prototype.parse=function(n,t,e,r){var i=new o3(n,this,t,e,r);this.tokenize(i)};var DCe={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},full:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{},block:{}
1,inline:{}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}};function CY(n,t,e){this.src=t,this.env=e,this.options=n.options,this.tokens=[],this.inlineMode=!1,this.inline=n.inline,this.block=n.block,this.renderer=n.renderer,this.typographer=n.typographer}function Fp(n,t){"string"!=typeof n&&(t=n,n="default"),t&&null!=t.linkify&&console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"),this.inline=new bx,this.block=new fT,this.core=new gY,this.renderer=new sT,this.ruler=new vf,this.options={},this.configure(DCe[n]),this.set(t||{})}Fp.prototype.set=function(n){iT(this.options,n)},Fp.prototype.configure=function(n){var t=this;if(!n)throw new Error("Wrong `remarkable` preset, check name/content");n.options&&t.set(n.options),n.components&&Object.keys(n.components).forEach(function(e){n.components[e].rules&&t[e].ruler.enable(n.components[e].rules,!0)})},Fp.prototype.use=function(n,t){return n(this,t),this},Fp.prototype.parse=function(n,t){var e=new CY(this,n,t);return this.core.process(e),e.tokens},Fp.prototype.render=function(n,t){return this.renderer.render(this.parse(n,t=t||{}),this.options,t)},Fp.prototype.parseInline=function(n,t){var e=new CY(this,n,t);return e.inlineMode=!0,this.core.process(e),e.tokens},Fp.prototype.renderInline=function(n,t){return this.renderer.render(this.parseInline(n,t=t||{}),this.options,t)};var _x="NOT_FOUND",ICe=function(t,e){return t===e};function RCe(n,t){var e="object"==typeof t?t:{equalityCheck:t},r=e.equalityCheck,o=e.maxSize,s=void 0===o?1:o,a=e.resultEqualityCheck,l=function OCe(n){return function(e,r){if(null===e||null===r||e.length!==r.length)return!1;for(var i=e.length,o=0;o<i;o++)if(!n(e[o],r[o]))return!1;return!0}}(void 0===r?ICe:r),u=1===s?function kCe(n){var t;return{get:function(r){return t&&n(t.key,r)?t.value:_x},put:function(r,i){t={key:r,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}(l):function TCe(n,t){var e=[];function r(a){var l=e.findIndex(function(f){return t(a,f.key)});if(l>-1){var u=e[l];return l>0&&(e.splice(l,1),e.unshift(u)),u.value}return _x}return{get:r,put:function i(a,l){r(a)===_x&&(e.unshift({key:a,value:l}),e.length>n&&e.pop())},getEntries:function o(){return e},clear:function s(){e=[]}}}(s,l);function f(){var h=u.get(arguments);if(h===_x){if(h=n.apply(null,arguments),a){var v=u.getEntries(),m=v.find(function(x){return a(x.value,h)});m&&(h=m.value)}u.put(arguments,h)}return h}return f.clearCache=function(){return u.clear()},f}function LCe(n){var t=Array.isArray(n[0])?n[0]:n;if(!t.every(function(r){return"function"==typeof r})){var e=t.map(function(r){return"function"==typeof r?"function "+(r.name||"unnamed")+"()":typeof r}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+e+"]")}return t}function PCe(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var i=function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];var f,u=0,h={memoizeOptions:void 0},v=a.pop();if("object"==typeof v&&(h=v,v=a.pop()),"function"!=typeof v)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof v+"]");var m=h,x=m.memoizeOptions,p=void 0===x?e:x,P=Array.isArray(p)?p:[p],T=LCe(a),H=n.apply(void 0,[function(){return u++,v.apply(null,arguments)}].concat(P)),U=n(function(){for(var ie=[],me=T.length,ue=0;ue<me;ue++)ie.push(T[ue].apply(null,arguments));return f=H.apply(null,ie)});return Object.assign(U,{resultFunc:v,memoizedResultFunc:H,dependencies:T,lastResult:function(){return f},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),U};return i}var SY=PCe(RCe),NCe=c(12335),FCe=c(87629),zCe=c.n(FCe),BCe=c(57269),VCe=c.n(BCe),HCe=c(86351),jCe=c(80567),UCe=c.n(jCe),$Ce=c(73943),GCe=c.n($Ce),WCe=c(75354),qCe=c.n(WCe),YCe=c(47273),KCe=c.n(YCe),XCe=c(67150),ZCe=c.n(XCe),JCe=c(85593),QCe=c.n(JCe),eSe=c(15451),tSe=c.n(eSe),nSe={1543:(n,t,e)=>{e.d(t,{Z:()=>h});var r=e(863),i=e(775),o=e(8818),s=e(2565),a=e(810);const l=(e.d(m={},{default:()=>fve}),m);var m,u=e(9569),f=e(5053);class h extends l.default{constructor(){super(...arguments),(0,i.default)(this,"getModelName",m=>-1!==(0,o.default)(m).call(m,"#/definitions/")?m.replace(/^.*#\/definitions\//,""):-1!==(0,o.default)(m).call(m,"#/components/schemas/")?m.replace(/^.*#\/components\/schemas\//,""):void 0),(0,i.default)(this,"getRefSchema",m=>{let{specSelectors:x}=this.props;return x.findDefinition(m)})}render(){let{getComponent:m,getConfigs:x,specSelectors:p,schema:P,required:T,name:H,isRef:U,specPath:ee,displayName:ie,includeReadOnly:me,includeWriteOnly:ue}=this.props;const Se=m("ObjectModel"),Ue=m("ArrayModel"),it=m("PrimitiveModel");
1let ye="object",xe=P&&P.get("$$ref");if(!H&&xe&&(H=this.getModelName(xe)),!P&&xe&&(P=this.getRefSchema(H)),!P)return a.default.createElement("span",{className:"model model-title"},a.default.createElement("span",{className:"model-title__text"},ie||H),a.default.createElement("img",{src:e(2517),height:"20px",width:"20px"}));const ze=p.isOAS3()&&P.get("deprecated");switch(U=void 0!==U?U:!!xe,ye=P&&P.get("type")||ye,ye){case"object":return a.default.createElement(Se,(0,r.default)({className:"object"},this.props,{specPath:ee,getConfigs:x,schema:P,name:H,deprecated:ze,isRef:U,includeReadOnly:me,includeWriteOnly:ue}));case"array":return a.default.createElement(Ue,(0,r.default)({className:"array"},this.props,{getConfigs:x,schema:P,name:H,deprecated:ze,required:T,includeReadOnly:me,includeWriteOnly:ue}));default:return a.default.createElement(it,(0,r.default)({},this.props,{getComponent:m,getConfigs:x,schema:P,name:H,deprecated:ze,required:T}))}}}(0,i.default)(h,"propTypes",{schema:(0,s.default)(u.default).isRequired,getComponent:f.default.func.isRequired,getConfigs:f.default.func.isRequired,specSelectors:f.default.object.isRequired,name:f.default.string,displayName:f.default.string,isRef:f.default.bool,required:f.default.bool,expandDepth:f.default.number,depth:f.default.number,specPath:u.default.list.isRequired,includeReadOnly:f.default.bool,includeWriteOnly:f.default.bool})},5623:(n,t,e)=>{e.d(t,{Z:()=>u});var r=e(775),i=e(2740),o=e(810),s=e(8900),a=(e(5053),e(6298)),l=e(7504);class u extends o.default.Component{constructor(v,m){super(v,m),(0,r.default)(this,"getDefinitionUrl",()=>{let{specSelectors:P}=this.props;return new s.default(P.url(),l.Z.location).toString()});let{getConfigs:x}=v,{validatorUrl:p}=x();this.state={url:this.getDefinitionUrl(),validatorUrl:void 0===p?"https://validator.swagger.io/validator":p}}UNSAFE_componentWillReceiveProps(v){let{getConfigs:m}=v,{validatorUrl:x}=m();this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===x?"https://validator.swagger.io/validator":x})}render(){let{getConfigs:v}=this.props,{spec:m}=v(),x=(0,a.Nm)(this.state.validatorUrl);return"object"==typeof m&&(0,i.default)(m).length?null:this.state.url&&(0,a.hW)(this.state.validatorUrl)&&(0,a.hW)(this.state.url)?o.default.createElement("span",{className:"float-right"},o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:`${x}/debug?url=${encodeURIComponent(this.state.url)}`},o.default.createElement(f,{src:`${x}?url=${encodeURIComponent(this.state.url)}`,alt:"Online validator badge"}))):null}}class f extends o.default.Component{constructor(v){super(v),this.state={loaded:!1,error:!1}}componentDidMount(){const v=new Image;v.onload=()=>{this.setState({loaded:!0})},v.onerror=()=>{this.setState({error:!0})},v.src=this.props.src}UNSAFE_componentWillReceiveProps(v){if(v.src!==this.props.src){const m=new Image;m.onload=()=>{this.setState({loaded:!0})},m.onerror=()=>{this.setState({error:!0})},m.src=v.src}}render(){return this.state.error?o.default.createElement("img",{alt:"Error"}):this.state.loaded?o.default.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}},5466:(n,t,e)=>{e.d(t,{Z:()=>u,s:()=>f});var r=e(810),i=(e(5053),e(3952));const o=(e.d(v={},{linkify:()=>Kve}),v),s=(h=>{var v={};return e.d(v,h),v})({default:()=>Zve()});var v,a=e(8096);function l(h){let{source:v,className:m="",getConfigs:x}=h;if("string"!=typeof v)return null;const p=new i.Remarkable({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(o.linkify);p.core.ruler.disable(["replacements","smartquotes"]);const{useUnsafeMarkdown:P}=x(),T=p.render(v),H=f(T,{useUnsafeMarkdown:P});return v&&T&&H?r.default.createElement("div",{className:(0,a.default)(m,"markdown"),dangerouslySetInnerHTML:{__html:H}}):null}s.default.addHook&&s.default.addHook("beforeSanitizeElements",function(h){return h.href&&h.setAttribute("rel","noopener noreferrer"),h}),l.defaultProps={getConfigs:()=>({useUnsafeMarkdown:!1})};const u=l;function f(h){let{useUnsafeMarkdown:v=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const m=v,x=v?[]:["style","class"];return v&&!f.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),f.hasWarnedAboutDeprecation=!0),s.default.sanitize(h,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:m,FORBID_ATTR:x})}f.hasWarnedAboutDeprecation=!1},5308:(n,t,e)=>{e.r(t),e.d(t,{default:()=>f});var r,i=e(29),o=e(5487),s=e(6298),a=e(8102);const l=e(5102),u={},f=u;(0,i.default)(r=(0,o.default)(l).call(l)).call(r,function(h){if("./index.js"===h)return;let v=l(h);u[(0,s.Zl)(h)]=v.default?v.default:v}),u.SafeRender=a.default},5812:(n,t,e)=>{e.r(t),e.d(t,{SHOW_AUTH_POPUP:()=>l,AUTHORIZE:()=>u,LOGOUT:()=>f,PRE_AUTHORIZE_OAUTH2:()=>h,AUTHORIZE_OAUTH2:()=>v,VALIDATE:()=>m,CONFIGURE_AUTH:()=>x,RESTORE_AUTHORIZATION:()=>p,showDefinitions:()=>P,authorize:()=>T,authorizeWithPersistOption:()=>H,logout:()=>U,logoutWithPersistOption:()=>ee,preAuthorizeImplicit:()=>ie,authorizeOauth2:()=>me,authorizeOauth2WithPersistOption:()=>ue,authorizePassword:()=>Se,authorizeApplication:()=>Ue,authorizeAccessCodeWithFormParams:()=>it,authorizeAccessCodeWithBasicAuthentication:()=>ye,authorizeRequest:()=>xe,configureAuth:()=>ze,restoreAuthorization:()=>qe,persistAuthorizationIfNeeded:()=>Et,authPopup:()=>Ne});var r=e(313),i=e(7512),o=e(8900),s=e(7504),a=e(6298);const l="show_popup",u="authorize",f="logout",h="pre_authorize_oauth2",v="authorize_oauth2",m="validate",x="configure_auth",p="restore_authorization";function P(je){return{type:l,payload:je}}function T(je){return{type:u,payload:je}}
1const H=je=>we=>{let{authActions:Ke}=we;Ke.authorize(je),Ke.persistAuthorizationIfNeeded()};function U(je){return{type:f,payload:je}}const ee=je=>we=>{let{authActions:Ke}=we;Ke.logout(je),Ke.persistAuthorizationIfNeeded()},ie=je=>we=>{let{authActions:Ke,errActions:dt}=we,{auth:Tt,token:Ae,isValid:Pe}=je,{schema:Xe,name:$e}=Tt,Me=Xe.get("flow");delete s.Z.swaggerUIRedirectOauth2,"accessCode"===Me||Pe||dt.newAuthErr({authId:$e,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),Ae.error?dt.newAuthErr({authId:$e,source:"auth",level:"error",message:(0,r.default)(Ae)}):Ke.authorizeOauth2WithPersistOption({auth:Tt,token:Ae})};function me(je){return{type:v,payload:je}}const ue=je=>we=>{let{authActions:Ke}=we;Ke.authorizeOauth2(je),Ke.persistAuthorizationIfNeeded()},Se=je=>we=>{let{authActions:Ke}=we,{schema:dt,name:Tt,username:Ae,password:Pe,passwordType:Xe,clientId:$e,clientSecret:Me}=je,De={grant_type:"password",scope:je.scopes.join(" "),username:Ae,password:Pe},gt={};switch(Xe){case"request-body":Rt=De,rn=Me,(kt=$e)&&(0,i.default)(Rt,{client_id:kt}),rn&&(0,i.default)(Rt,{client_secret:rn});break;case"basic":gt.Authorization="Basic "+(0,a.r3)($e+":"+Me);break;default:console.warn(`Warning: invalid passwordType ${Xe} was passed, not including client id and secret`)}var Rt,kt,rn;return Ke.authorizeRequest({body:(0,a.GZ)(De),url:dt.get("tokenUrl"),name:Tt,headers:gt,query:{},auth:je})},Ue=je=>we=>{let{authActions:Ke}=we,{schema:dt,scopes:Tt,name:Ae,clientId:Pe,clientSecret:Xe}=je,$e={Authorization:"Basic "+(0,a.r3)(Pe+":"+Xe)},Me={grant_type:"client_credentials",scope:Tt.join(" ")};return Ke.authorizeRequest({body:(0,a.GZ)(Me),name:Ae,url:dt.get("tokenUrl"),auth:je,headers:$e})},it=je=>{let{auth:we,redirectUrl:Ke}=je;return dt=>{let{authActions:Tt}=dt,{schema:Ae,name:Pe,clientId:Xe,clientSecret:$e,codeVerifier:Me}=we;return Tt.authorizeRequest({body:(0,a.GZ)({grant_type:"authorization_code",code:we.code,client_id:Xe,client_secret:$e,redirect_uri:Ke,code_verifier:Me}),name:Pe,url:Ae.get("tokenUrl"),auth:we})}},ye=je=>{let{auth:we,redirectUrl:Ke}=je;return dt=>{let{authActions:Tt}=dt,{schema:Ae,name:Pe,clientId:Xe,clientSecret:$e,codeVerifier:Me}=we,De={Authorization:"Basic "+(0,a.r3)(Xe+":"+$e)};return Tt.authorizeRequest({body:(0,a.GZ)({grant_type:"authorization_code",code:we.code,client_id:Xe,redirect_uri:Ke,code_verifier:Me}),name:Pe,url:Ae.get("tokenUrl"),auth:we,headers:De})}},xe=je=>we=>{let Ke,{fn:dt,getConfigs:Tt,authActions:Ae,errActions:Pe,oas3Selectors:Xe,specSelectors:$e,authSelectors:Me}=we,{body:De,query:gt={},headers:Rt={},name:kt,url:rn,auth:In}=je,{additionalQueryStringParams:Xn}=Me.getConfigs()||{};if($e.isOAS3()){let _t=Xe.serverEffectiveValue(Xe.selectedServer());Ke=(0,o.default)(rn,_t,!0)}else Ke=(0,o.default)(rn,$e.url(),!0);"object"==typeof Xn&&(Ke.query=(0,i.default)({},Ke.query,Xn));const Cr=Ke.toString();let xn=(0,i.default)({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},Rt);dt.fetch({url:Cr,method:"post",headers:xn,query:gt,body:De,requestInterceptor:Tt().requestInterceptor,responseInterceptor:Tt().responseInterceptor}).then(function(_t){let Or=JSON.parse(_t.data);_t.ok?Or&&Or.error||Or&&Or.parseError?Pe.newAuthErr({authId:kt,level:"error",source:"auth",message:(0,r.default)(Or)}):Ae.authorizeOauth2WithPersistOption({auth:In,token:Or}):Pe.newAuthErr({authId:kt,level:"error",source:"auth",message:_t.statusText})}).catch(_t=>{let Or=new Error(_t).message;if(_t.response&&_t.response.data){const Q=_t.response.data;try{const fe="string"==typeof Q?JSON.parse(Q):Q;fe.error&&(Or+=`, error: ${fe.error}`),fe.error_description&&(Or+=`, description: ${fe.error_description}`)}catch{}}Pe.newAuthErr({authId:kt,level:"error",source:"auth",message:Or})})};function ze(je){return{type:x,payload:je}}function qe(je){return{type:p,payload:je}}const Et=()=>je=>{let{authSelectors:we,getConfigs:Ke}=je;if(Ke().persistAuthorization){const dt=we.authorized();localStorage.setItem("authorized",(0,r.default)(dt.toJS()))}},Ne=(je,we)=>()=>{s.Z.swaggerUIRedirectOauth2=we,s.Z.open(je)}},3705:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l,preauthorizeBasic:()=>u,preauthorizeApiKey:()=>f});var r=e(5527),i=e(3962),o=e(5812),s=e(35),a=e(8302);function l(){return{afterLoad(h){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=h.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=(0,r.default)(f).call(f,null,h),this.rootInjects.preauthorizeBasic=(0,r.default)(u).call(u,null,h)},statePlugins:{auth:{reducers:i.default,actions:o,selectors:s},spec:{wrapActions:a}}}}function u(h,v,m,x){const{authActions:{authorize:p},specSelectors:{specJson:P,isOAS3:T}}=h,H=T()?["components","securitySchemes"]:["securityDefinitions"],U=P().getIn([...H,v]);return U?p({[v]:{value:{username:m,password:x},schema:U.toJS()}}):null}function f(h,v,m){const{authActions:{authorize:x},specSelectors:{specJson:p,isOAS3:P}}=h,T=P()?["components","securitySchemes"]:["securityDefinitions"],H=p().getIn([...T,v]);
1return H?x({[v]:{value:m,schema:H.toJS()}}):null}},3962:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l});var r=e(29),i=e(7512),o=e(9725),s=e(6298),a=e(5812);const l={[a.SHOW_AUTH_POPUP]:(u,f)=>{let{payload:h}=f;return u.set("showDefinitions",h)},[a.AUTHORIZE]:(u,f)=>{var h;let{payload:v}=f,m=(0,o.fromJS)(v),x=u.get("authorized")||(0,o.Map)();return(0,r.default)(h=m.entrySeq()).call(h,p=>{let[P,T]=p;if(!(0,s.Wl)(T.getIn))return u.set("authorized",x);let H=T.getIn(["schema","type"]);if("apiKey"===H||"http"===H)x=x.set(P,T);else if("basic"===H){let U=T.getIn(["value","username"]),ee=T.getIn(["value","password"]);x=x.setIn([P,"value"],{username:U,header:"Basic "+(0,s.r3)(U+":"+ee)}),x=x.setIn([P,"schema"],T.get("schema"))}}),u.set("authorized",x)},[a.AUTHORIZE_OAUTH2]:(u,f)=>{let h,{payload:v}=f,{auth:m,token:x}=v;m.token=(0,i.default)({},x),h=(0,o.fromJS)(m);let p=u.get("authorized")||(0,o.Map)();return p=p.set(h.get("name"),h),u.set("authorized",p)},[a.LOGOUT]:(u,f)=>{let{payload:h}=f,v=u.get("authorized").withMutations(m=>{(0,r.default)(h).call(h,x=>{m.delete(x)})});return u.set("authorized",v)},[a.CONFIGURE_AUTH]:(u,f)=>{let{payload:h}=f;return u.set("configs",h)},[a.RESTORE_AUTHORIZATION]:(u,f)=>{let{payload:h}=f;return u.set("authorized",(0,o.fromJS)(h.authorized))}}},35:(n,t,e)=>{e.r(t),e.d(t,{shownDefinitions:()=>v,definitionsToAuthorize:()=>m,getDefinitionsByNames:()=>x,definitionsForRequirements:()=>p,authorized:()=>P,isAuthorized:()=>T,getConfigs:()=>H});var r=e(29),i=e(1778),o=e(6145),s=e(8818),a=e(2565),l=e(2740),u=e(8639),f=e(9725);const h=U=>U,v=(0,u.createSelector)(h,U=>U.get("showDefinitions")),m=(0,u.createSelector)(h,()=>U=>{var ee;let{specSelectors:ie}=U,me=ie.securityDefinitions()||(0,f.Map)({}),ue=(0,f.List)();return(0,r.default)(ee=me.entrySeq()).call(ee,Se=>{let[Ue,it]=Se,ye=(0,f.Map)();ye=ye.set(Ue,it),ue=ue.push(ye)}),ue}),x=(U,ee)=>ie=>{var me;let{specSelectors:ue}=ie;console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");let Se=ue.securityDefinitions(),Ue=(0,f.List)();return(0,r.default)(me=ee.valueSeq()).call(me,it=>{var ye;let xe=(0,f.Map)();(0,r.default)(ye=it.entrySeq()).call(ye,ze=>{let qe,[Et,Ne]=ze,je=Se.get(Et);var we;"oauth2"===je.get("type")&&Ne.size&&(qe=je.get("scopes"),(0,r.default)(we=qe.keySeq()).call(we,Ke=>{Ne.contains(Ke)||(qe=qe.delete(Ke))}),je=je.set("allowedScopes",qe)),xe=xe.set(Et,je)}),Ue=Ue.push(xe)}),Ue},p=function(U){let ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,f.List)();return ie=>{let{authSelectors:me}=ie;const ue=me.definitionsToAuthorize()||(0,f.List)();let Se=(0,f.List)();return(0,r.default)(ue).call(ue,Ue=>{let it=(0,i.default)(ee).call(ee,ye=>ye.get(Ue.keySeq().first()));it&&((0,r.default)(Ue).call(Ue,(ye,xe)=>{if("oauth2"===ye.get("type")){const qe=it.get(xe);let Et=ye.get("scopes");var ze;f.List.isList(qe)&&f.Map.isMap(Et)&&((0,r.default)(ze=Et.keySeq()).call(ze,Ne=>{qe.contains(Ne)||(Et=Et.delete(Ne))}),Ue=Ue.set(xe,ye.set("scopes",Et)))}}),Se=Se.push(Ue))}),Se}},P=(0,u.createSelector)(h,U=>U.get("authorized")||(0,f.Map)()),T=(U,ee)=>ie=>{var me;let{authSelectors:ue}=ie,Se=ue.authorized();return f.List.isList(ee)?!!(0,o.default)(me=ee.toJS()).call(me,Ue=>{var it,ye;return-1===(0,s.default)(it=(0,a.default)(ye=(0,l.default)(Ue)).call(ye,xe=>!!Se.get(xe))).call(it,!1)}).length:null},H=(0,u.createSelector)(h,U=>U.get("configs"))},8302:(n,t,e)=>{e.r(t),e.d(t,{execute:()=>r});const r=(i,o)=>{let{authSelectors:s,specSelectors:a}=o;return l=>{let{path:u,method:f,operation:h,extras:v}=l,m={authorized:s.authorized()&&s.authorized().toJS(),definitions:a.securityDefinitions()&&a.securityDefinitions().toJS(),specSecurity:a.security()&&a.security().toJS()};return i({path:u,method:f,operation:h,securities:m,...v})}}},714:(n,t,e)=>{e.r(t),e.d(t,{UPDATE_CONFIGS:()=>r,TOGGLE_CONFIGS:()=>i,update:()=>o,toggle:()=>s,loaded:()=>a});const r="configs_update",i="configs_toggle";function o(l,u){return{type:r,payload:{[l]:u}}}function s(l){return{type:i,payload:l}}const a=()=>l=>{let{getConfigs:u,authActions:f}=l;if(u().persistAuthorization){const h=localStorage.getItem("authorized");h&&f.restoreAuthorization({authorized:JSON.parse(h)})}}},2256:(n,t,e)=>{e.r(t),e.d(t,{parseYamlConfig:()=>i});var r=e(626);const i=(o,s)=>{try{return r.default.load(o)}catch(a){return s&&s.errActions.newThrownErr(new Error(a)),{}}}},1661:(n,t,e)=>{e.r(t),e.d(t,{default:()=>f});var r=e(5163),i=e(2256),o=e(714),s=e(2698),a=e(9018),l=e(7743);const u={getLocalConfig:()=>(0,i.parseYamlConfig)(r)}
1;function f(){return{statePlugins:{spec:{actions:s,selectors:u},configs:{reducers:l.default,actions:o,selectors:a}}}}},7743:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(9725),i=e(714);const o={[i.UPDATE_CONFIGS]:(s,a)=>s.merge((0,r.fromJS)(a.payload)),[i.TOGGLE_CONFIGS]:(s,a)=>{const l=a.payload,u=s.get(l);return s.set(l,!u)}}},9018:(n,t,e)=>{e.r(t),e.d(t,{get:()=>i});var r=e(4163);const i=(o,s)=>o.getIn((0,r.default)(s)?s:[s])},2698:(n,t,e)=>{e.r(t),e.d(t,{downloadConfig:()=>i,getConfigByUrl:()=>o});var r=e(2256);const i=s=>a=>{const{fn:{fetch:l}}=a;return l(s)},o=(s,a)=>l=>{let{specActions:u}=l;if(s)return u.downloadConfig(s).then(f,f);function f(h){h instanceof Error||h.status>=400?(u.updateLoadingStatus("failedConfig"),u.updateLoadingStatus("failedConfig"),u.updateUrl(""),console.error(h.statusText+" "+s.url),a(null)):a((0,r.parseYamlConfig)(h.text))}}},1970:(n,t,e)=>{e.r(t),e.d(t,{setHash:()=>r});const r=i=>i?history.pushState(null,null,`#${i}`):window.location.hash=""},4980:(n,t,e)=>{e.r(t),e.d(t,{default:()=>s});var r=e(5858),i=e(877),o=e(4584);function s(){return[r.default,{statePlugins:{configs:{wrapActions:{loaded:(a,l)=>function(){a(...arguments);const u=decodeURIComponent(window.location.hash);l.layoutActions.parseDeepLinkHash(u)}}}},wrapComponents:{operation:i.default,OperationTag:o.default}}]}},5858:(n,t,e)=>{e.r(t),e.d(t,{clearScrollTo:()=>H,default:()=>U,parseDeepLinkHash:()=>p,readyToScroll:()=>P,scrollTo:()=>x,scrollToElement:()=>T,show:()=>m});var r=e(4163),i=e(8136),o=e(2565),s=e(8818),a=e(1970);const l=(e.d(ie={},{default:()=>Qve()}),ie);var ie,u=e(6298),f=e(9725);const h="layout_scroll_to",v="layout_clear_scroll",m=(ee,ie)=>{let{getConfigs:me,layoutSelectors:ue}=ie;return function(){for(var Se=arguments.length,Ue=new Array(Se),it=0;it<Se;it++)Ue[it]=arguments[it];if(ee(...Ue),me().deepLinking)try{let[ye,xe]=Ue;ye=(0,r.default)(ye)?ye:[ye];const ze=ue.urlHashArrayFromIsShownKey(ye);if(!ze.length)return;const[qe,Et]=ze;if(!xe)return(0,a.setHash)("/");2===ze.length?(0,a.setHash)((0,u.oJ)(`/${encodeURIComponent(qe)}/${encodeURIComponent(Et)}`)):1===ze.length&&(0,a.setHash)((0,u.oJ)(`/${encodeURIComponent(qe)}`))}catch(ye){console.error(ye)}}},x=ee=>({type:h,payload:(0,r.default)(ee)?ee:[ee]}),p=ee=>ie=>{let{layoutActions:me,layoutSelectors:ue,getConfigs:Se}=ie;if(Se().deepLinking&&ee){var Ue;let it=(0,i.default)(ee).call(ee,1);"!"===it[0]&&(it=(0,i.default)(it).call(it,1)),"/"===it[0]&&(it=(0,i.default)(it).call(it,1));const ye=(0,o.default)(Ue=it.split("/")).call(Ue,Ne=>Ne||""),xe=ue.isShownKeyFromUrlHashArray(ye),[ze,qe="",Et=""]=xe;if("operations"===ze){const Ne=ue.isShownKeyFromUrlHashArray([qe]);(0,s.default)(qe).call(qe,"_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),me.show((0,o.default)(Ne).call(Ne,je=>je.replace(/_/g," ")),!0)),me.show(Ne,!0)}((0,s.default)(qe).call(qe,"_")>-1||(0,s.default)(Et).call(Et,"_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),me.show((0,o.default)(xe).call(xe,Ne=>Ne.replace(/_/g," ")),!0)),me.show(xe,!0),me.scrollTo(xe)}},P=(ee,ie)=>me=>{const ue=me.layoutSelectors.getScrollToKey();f.default.is(ue,(0,f.fromJS)(ee))&&(me.layoutActions.scrollToElement(ie),me.layoutActions.clearScrollTo())},T=(ee,ie)=>me=>{try{ie=ie||me.fn.getScrollParent(ee),l.default.createScroller(ie).to(ee)}catch(ue){console.error(ue)}},H=()=>({type:v}),U={fn:{getScrollParent:function(ee,ie){const me=document.documentElement;let ue=getComputedStyle(ee);const Se="absolute"===ue.position,Ue=ie?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===ue.position)return me;for(let it=ee;it=it.parentElement;)if(ue=getComputedStyle(it),(!Se||"static"!==ue.position)&&Ue.test(ue.overflow+ue.overflowY+ue.overflowX))return it;return me}},statePlugins:{layout:{actions:{scrollToElement:T,scrollTo:x,clearScrollTo:H,readyToScroll:P,parseDeepLinkHash:p},selectors:{getScrollToKey:ee=>ee.get("scrollToKey"),isShownKeyFromUrlHashArray(ee,ie){const[me,ue]=ie;return ue?["operations",me,ue]:me?["operations-tag",me]:[]},urlHashArrayFromIsShownKey(ee,ie){let[me,ue,Se]=ie;return"operations"==me?[ue,Se]:"operations-tag"==me?[ue]:[]}},reducers:{[h]:(ee,ie)=>ee.set("scrollToKey",f.default.fromJS(ie.payload)),[v]:ee=>ee.delete("scrollToKey")},wrapActions:{show:m}}}}},4584:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(775),i=e(810);e(5053);const o=(s,a)=>class extends i.default.Component{constructor(){super(...arguments),(0,r.default)(this,"onLoad",l=>{const{tag:u}=this.props;a.layoutActions.readyToScroll(["operations-tag",u],l)})}render(){return i.default.createElement("span",{ref:this.onLoad},i.default.createElement(s,this.props))}}},877:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(775),i=e(810);e(9569);const o=(s,a)=>class extends i.default.Component{constructor(){super(...arguments),(0,r.default)(this,"onLoad",l=>{const{operation:u}=this.props,{tag:f,operationId:h}=u.toObject();let{isShownKey:v}=u.toObject();v=v||["operations",f,h],a.layoutActions.readyToScroll(v,l)})}render(){return i.default.createElement("span",{ref:this.onLoad},i.default.createElement(s,this.props))}}},8011:(n,t,e)=>{e.r(t),e.d(t,{default:()=>f});var r=e(7512),i=e(3769),o=e(8818),s=e(313),a=e(8639),l=e(9725),u=e(7504);function f(h){let{fn:v}=h;return{statePlugins:{spec:{actions:{download:m=>x=>{let{errActions:p,specSelectors:P,specActions:T,getConfigs:H}=x,{fetch:U}=v;const ee=H();function ie(me){if(me instanceof Error||me.status>=400)return T.updateLoadingStatus("failed"),p.newThrownErr((0,r.default)(new Error((me.message||me.statusText)+" "+m),{source:"fetch"})),void(!me.status&&me instanceof Error&&function(){try{let ue;if("URL"in u.Z?ue=new i.default(m):(ue=document.createElement("a"),ue.href=m),"https:"!==ue.protocol&&"https:"===u.Z.location.protocol){const Se=(0,r.default)(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${ue.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void p.newThrownErr(Se)}if(ue.origin!==u.Z.location.origin){const Se=(0,r.default)(new Error(`Possible cross-origin (CORS) issue? The URL origin (${ue.origin}) does not match the page (${u.Z.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});p.newThrownErr(Se)}}catch{return}}());T.updateLoadingStatus("success"),T.updateSpec(me.text),P.url()!==m&&T.updateUrl(m)}
1m=m||P.url(),T.updateLoadingStatus("loading"),p.clear({source:"fetch"}),U({url:m,loadSpec:!0,requestInterceptor:ee.requestInterceptor||(me=>me),responseInterceptor:ee.responseInterceptor||(me=>me),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(ie,ie)},updateLoadingStatus:m=>{let x=[null,"loading","failed","success","failedConfig"];return-1===(0,o.default)(x).call(x,m)&&console.error(`Error: ${m} is not one of ${(0,s.default)(x)}`),{type:"spec_update_loading_status",payload:m}}},reducers:{spec_update_loading_status:(m,x)=>"string"==typeof x.payload?m.set("loadingStatus",x.payload):m},selectors:{loadingStatus:(0,a.createSelector)(m=>m||(0,l.Map)(),m=>m.get("loadingStatus")||null)}}}}}},4966:(n,t,e)=>{e.r(t),e.d(t,{NEW_THROWN_ERR:()=>i,NEW_THROWN_ERR_BATCH:()=>o,NEW_SPEC_ERR:()=>s,NEW_SPEC_ERR_BATCH:()=>a,NEW_AUTH_ERR:()=>l,CLEAR:()=>u,CLEAR_BY:()=>f,newThrownErr:()=>h,newThrownErrBatch:()=>v,newSpecErr:()=>m,newSpecErrBatch:()=>x,newAuthErr:()=>p,clear:()=>P,clearBy:()=>T});var r=e(8518);const i="err_new_thrown_err",o="err_new_thrown_err_batch",s="err_new_spec_err",a="err_new_spec_err_batch",l="err_new_auth_err",u="err_clear",f="err_clear_by";function h(H){return{type:i,payload:(0,r.serializeError)(H)}}function v(H){return{type:o,payload:H}}function m(H){return{type:s,payload:H}}function x(H){return{type:a,payload:H}}function p(H){return{type:l,payload:H}}function P(){let H=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:u,payload:H}}function T(){let H=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>!0;return{type:f,payload:H}}},6808:(n,t,e)=>{e.r(t),e.d(t,{default:()=>a});var r=e(6145),i=e(2565);const o=(e.d(u={},{default:()=>t7e()}),u),s=[e(2392),e(1835)];var u;function a(l){var u;let f={jsSpec:{}},h=(0,o.default)(s,(v,m)=>{try{let x=m.transform(v,f);return(0,r.default)(x).call(x,p=>!!p)}catch(x){return console.error("Transformer error:",x),v}},l);return(0,i.default)(u=(0,r.default)(h).call(h,v=>!!v)).call(u,v=>(!v.get("line")&&v.get("path"),v))}},2392:(n,t,e)=>{e.r(t),e.d(t,{transform:()=>a});var r=e(2565),i=e(8818),o=e(8136),s=e(6785);function a(l){return(0,r.default)(l).call(l,u=>{var f;let h="is not of a type(s)",v=(0,i.default)(f=u.get("message")).call(f,h);if(v>-1){var m,x;let p=(0,o.default)(m=u.get("message")).call(m,v+h.length).split(",");return u.set("message",(0,o.default)(x=u.get("message")).call(x,0,v)+(0,s.default)(P=p).call(P,(T,H,U,ee)=>U===ee.length-1&&ee.length>1?T+"or "+H:ee[U+1]&&ee.length>2?T+H+", ":ee[U+1]?T+H+" ":T+H,"should be a"))}var P;return u})}},1835:(n,t,e)=>{function r(i,o){return i}e.r(t),e.d(t,{transform:()=>r}),e(2565),e(8818),e(9908),e(9725)},7793:(n,t,e)=>{e.r(t),e.d(t,{default:()=>s});var r=e(3527),i=e(4966),o=e(7667);function s(a){return{statePlugins:{err:{reducers:(0,r.default)(a),actions:i,selectors:o}}}}},3527:(n,t,e)=>{e.r(t),e.d(t,{default:()=>v});var r=e(7512),i=e(2565),o=e(5171),s=e(6145),a=e(7930),l=e(4966),u=e(9725),f=e(6808);let h={line:0,level:"error",message:"Unknown error"};function v(){return{[l.NEW_THROWN_ERR]:(m,x)=>{let{payload:p}=x,P=(0,r.default)(h,p,{type:"thrown"});return m.update("errors",T=>(T||(0,u.List)()).push((0,u.fromJS)(P))).update("errors",T=>(0,f.default)(T))},[l.NEW_THROWN_ERR_BATCH]:(m,x)=>{let{payload:p}=x;return p=(0,i.default)(p).call(p,P=>(0,u.fromJS)((0,r.default)(h,P,{type:"thrown"}))),m.update("errors",P=>{var T;return(0,o.default)(T=P||(0,u.List)()).call(T,(0,u.fromJS)(p))}).update("errors",P=>(0,f.default)(P))},[l.NEW_SPEC_ERR]:(m,x)=>{let{payload:p}=x,P=(0,u.fromJS)(p);return P=P.set("type","spec"),m.update("errors",T=>(T||(0,u.List)()).push((0,u.fromJS)(P)).sortBy(H=>H.get("line"))).update("errors",T=>(0,f.default)(T))},[l.NEW_SPEC_ERR_BATCH]:(m,x)=>{let{payload:p}=x;return p=(0,i.default)(p).call(p,P=>(0,u.fromJS)((0,r.default)(h,P,{type:"spec"}))),m.update("errors",P=>{var T;return(0,o.default)(T=P||(0,u.List)()).call(T,(0,u.fromJS)(p))}).update("errors",P=>(0,f.default)(P))},[l.NEW_AUTH_ERR]:(m,x)=>{let{payload:p}=x,P=(0,u.fromJS)((0,r.default)({},p));return P=P.set("type","auth"),m.update("errors",T=>(T||(0,u.List)()).push((0,u.fromJS)(P))).update("errors",T=>(0,f.default)(T))},[l.CLEAR]:(m,x)=>{var p;let{payload:P}=x;if(!P||!m.get("errors"))return m;let T=(0,s.default)(p=m.get("errors")).call(p,H=>{var U;return(0,a.default)(U=H.keySeq()).call(U,ee=>{const ie=H.get(ee),me=P[ee];return!me||ie!==me})});return m.merge({errors:T})},[l.CLEAR_BY]:(m,x)=>{var p;let{payload:P}=x;if(!P||"function"!=typeof P)return m;let T=(0,s.default)(p=m.get("errors")).call(p,H=>P(H));return m.merge({errors:T})}}}},7667:(n,t,e)=>{e.r(t),e.d(t,{allErrors:()=>o,lastError:()=>s});var r=e(9725),i=e(8639);const o=(0,i.createSelector)(a=>a,a=>a.get("errors",(0,r.List)())),s=(0,i.createSelector)(o,a=>a.last())},9978:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(4309);function i(){return{fn:{opsFilter:r.default}}}},4309:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(6145),i=e(8818);function o(s,a){return(0,r.default)(s).call(s,(l,u)=>-1!==(0,i.default)(u).call(u,a))}},5474:(n,t,e)=>{e.r(t),e.d(t,{UPDATE_LAYOUT:()=>i,UPDATE_FILTER:()=>o,UPDATE_MODE:()=>s,SHOW:()=>a,updateLayout:()=>l,updateFilter:()=>u,show:()=>f,changeMode:()=>h});var r=e(6298);const i="layout_update_layout",o="layout_update_filter",s="layout_update_mode",a="layout_show";function l(v){return{type:i,payload:v}}function u(v){return{type:o,payload:v}}function f(v){let m=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return v=(0,r.AF)(v),{type:a,payload:{thing:v,shown:m}}}function h(v){let m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return v=(0,r.AF)(v),{type:s,payload:{thing:v,mode:m}}}},6821:(n,t,e)=>{e.r(t),e.d(t,{default:()=>a});var r=e(5672),i=e(5474),o=e(4400),s=e(8989);function a(){return{statePlugins:{layout:{reducers:r.default,actions:i,selectors:o},spec:{wrapSelectors:s}}}}},5672:(n,t,e)=>{e.r(t),e.d(t,{default:()=>s});var r=e(5171),i=e(9725),o=e(5474);const s={[o.UPDATE_LAYOUT]:(a,l)=>a.set("layout",l.payload),[o.UPDATE_FILTER]:(a,l)=>a.set("filter",l.payload),[o.SHOW]:(a,l)=>{const u=l.payload.shown,f=(0,i.fromJS)(l.payload.thing);return a.update("shown",(0,i.fromJS)({}),h=>h.set(f,u))},[o.UPDATE_MODE]:(a,l)=>{var u;let f=l.payload.thing,h=l.payload.mode;return a.setIn((0,r.default)(u=["modes"]).call(u,f),(h||"")+"")}}},4400:(n,t,e)=>{e.r(t),e.d(t,{current:()=>s,currentFilter:()=>a,isShown:()=>l,whatMode:()=>u,showSummary:()=>f});var r=e(8639),i=e(6298),o=e(9725);const s=h=>h.get("layout"),a=h=>h.get("filter"),l=(h,v,m)=>(v=(0,i.AF)(v),h.get("shown",(0,o.fromJS)({})).get((0,o.fromJS)(v),m)),u=function(h,v){let m=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return v=(0,i.AF)(v),h.getIn(["modes",...v],m)},f=(0,r.createSelector)(h=>h,h=>!l(h,"editor"))},8989:(n,t,e)=>{e.r(t),e.d(t,{taggedOperations:()=>i});var r=e(8136);const i=(o,s)=>function(a){for(var l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];let h=o(a,...u);const{fn:v,layoutSelectors:m,getConfigs:x}=s.getSystem(),p=x(),{maxDisplayedTags:P}=p;let T=m.currentFilter();
1return T&&!0!==T&&"true"!==T&&"false"!==T&&(h=v.opsFilter(h,T)),P&&!isNaN(P)&&P>=0&&(h=(0,r.default)(h).call(h,0,P)),h}},9150:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(5527);function i(o){let{configs:s}=o;const a={debug:0,info:1,log:2,warn:3,error:4},l=v=>a[v]||-1;let{logLevel:u}=s,f=l(u);function h(v){for(var m=arguments.length,x=new Array(m>1?m-1:0),p=1;p<m;p++)x[p-1]=arguments[p];l(v)>=f&&console[v](...x)}return h.warn=(0,r.default)(h).call(h,null,"warn"),h.error=(0,r.default)(h).call(h,null,"error"),h.info=(0,r.default)(h).call(h,null,"info"),h.debug=(0,r.default)(h).call(h,null,"debug"),{rootInjects:{log:h}}}},7002:(n,t,e)=>{e.r(t),e.d(t,{UPDATE_SELECTED_SERVER:()=>r,UPDATE_REQUEST_BODY_VALUE:()=>i,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>o,UPDATE_REQUEST_BODY_INCLUSION:()=>s,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>a,UPDATE_REQUEST_CONTENT_TYPE:()=>l,UPDATE_RESPONSE_CONTENT_TYPE:()=>u,UPDATE_SERVER_VARIABLE_VALUE:()=>f,SET_REQUEST_BODY_VALIDATE_ERROR:()=>h,CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>v,CLEAR_REQUEST_BODY_VALUE:()=>m,setSelectedServer:()=>x,setRequestBodyValue:()=>p,setRetainRequestBodyValueFlag:()=>P,setRequestBodyInclusion:()=>T,setActiveExamplesMember:()=>H,setRequestContentType:()=>U,setResponseContentType:()=>ee,setServerVariableValue:()=>ie,setRequestBodyValidateError:()=>me,clearRequestBodyValidateError:()=>ue,initRequestBodyValidateError:()=>Se,clearRequestBodyValue:()=>Ue});const r="oas3_set_servers",i="oas3_set_request_body_value",o="oas3_set_request_body_retain_flag",s="oas3_set_request_body_inclusion",a="oas3_set_active_examples_member",l="oas3_set_request_content_type",u="oas3_set_response_content_type",f="oas3_set_server_variable_value",h="oas3_set_request_body_validate_error",v="oas3_clear_request_body_validate_error",m="oas3_clear_request_body_value";function x(it,ye){return{type:r,payload:{selectedServerUrl:it,namespace:ye}}}function p(it){let{value:ye,pathMethod:xe}=it;return{type:i,payload:{value:ye,pathMethod:xe}}}const P=it=>{let{value:ye,pathMethod:xe}=it;return{type:o,payload:{value:ye,pathMethod:xe}}};function T(it){let{value:ye,pathMethod:xe,name:ze}=it;return{type:s,payload:{value:ye,pathMethod:xe,name:ze}}}function H(it){let{name:ye,pathMethod:xe,contextType:ze,contextName:qe}=it;return{type:a,payload:{name:ye,pathMethod:xe,contextType:ze,contextName:qe}}}function U(it){let{value:ye,pathMethod:xe}=it;return{type:l,payload:{value:ye,pathMethod:xe}}}function ee(it){let{value:ye,path:xe,method:ze}=it;return{type:u,payload:{value:ye,path:xe,method:ze}}}function ie(it){let{server:ye,namespace:xe,key:ze,val:qe}=it;return{type:f,payload:{server:ye,namespace:xe,key:ze,val:qe}}}const me=it=>{let{path:ye,method:xe,validationErrors:ze}=it;return{type:h,payload:{path:ye,method:xe,validationErrors:ze}}},ue=it=>{let{path:ye,method:xe}=it;return{type:v,payload:{path:ye,method:xe}}},Se=it=>{let{pathMethod:ye}=it;return{type:v,payload:{path:ye[0],method:ye[1]}}},Ue=it=>{let{pathMethod:ye}=it;return{type:m,payload:{pathMethod:ye}}}},3723:(n,t,e)=>{e.r(t),e.d(t,{definitionsToAuthorize:()=>u});var r=e(29),i=e(6145),o=e(6785),s=e(8639),a=e(9725),l=e(7779);const u=(f=(0,s.createSelector)(h=>h,h=>{let{specSelectors:v}=h;return v.securityDefinitions()},(h,v)=>{var m;let x=(0,a.List)();return v&&(0,r.default)(m=v.entrySeq()).call(m,p=>{let[P,T]=p;const H=T.get("type");var U;if("oauth2"===H&&(0,r.default)(U=T.get("flows").entrySeq()).call(U,ee=>{let[ie,me]=ee,ue=(0,a.fromJS)({flow:ie,authorizationUrl:me.get("authorizationUrl"),tokenUrl:me.get("tokenUrl"),scopes:me.get("scopes"),type:T.get("type"),description:T.get("description")});x=x.push(new a.Map({[P]:(0,i.default)(ue).call(ue,Se=>void 0!==Se)}))}),"http"!==H&&"apiKey"!==H||(x=x.push(new a.Map({[P]:T}))),"openIdConnect"===H&&T.get("openIdConnectData")){let ee=T.get("openIdConnectData"),ie=ee.get("grant_types_supported")||["authorization_code","implicit"];(0,r.default)(ie).call(ie,me=>{var ue;let Se=ee.get("scopes_supported")&&(0,o.default)(ue=ee.get("scopes_supported")).call(ue,(it,ye)=>it.set(ye,""),new a.Map),Ue=(0,a.fromJS)({flow:me,authorizationUrl:ee.get("authorization_endpoint"),tokenUrl:ee.get("token_endpoint"),scopes:Se,type:"oauth2",openIdConnectUrl:T.get("openIdConnectUrl")});x=x.push(new a.Map({[P]:(0,i.default)(Ue).call(Ue,it=>void 0!==it)}))})}}),x}),(h,v)=>function(){const m=v.getSystem().specSelectors.specJson();for(var x=arguments.length,p=new Array(x),P=0;P<x;P++)p[P]=arguments[P];
1if((0,l.isOAS3)(m)){let T=v.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return f(v,T,...p)}return h(...p)});var f},3427:(n,t,e)=>{e.r(t),e.d(t,{default:()=>a});var r=e(863),i=e(2565),o=e(810),s=(e(5053),e(9569),e(9725));const a=l=>{var u;let{callbacks:f,getComponent:h,specPath:v}=l;const m=h("OperationContainer",!0);if(!f)return o.default.createElement("span",null,"No callbacks");let x=(0,i.default)(u=f.entrySeq()).call(u,p=>{var P;let[T,H]=p;return o.default.createElement("div",{key:T},o.default.createElement("h2",null,T),(0,i.default)(P=H.entrySeq()).call(P,U=>{var ee;let[ie,me]=U;return"$$ref"===ie?null:o.default.createElement("div",{key:ie},(0,i.default)(ee=me.entrySeq()).call(ee,ue=>{let[Se,Ue]=ue;if("$$ref"===Se)return null;let it=(0,s.fromJS)({operation:Ue});return o.default.createElement(m,(0,r.default)({},l,{op:it,key:Se,tag:"",method:Se,path:ie,specPath:v.push(T,ie,Se),allowTryItOut:!1}))}))}))});return o.default.createElement("div",null,x)}},6775:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l});var r=e(775),i=e(7512),o=e(6145),s=e(2565),a=e(810);e(5053);class l extends a.default.Component{constructor(f,h){super(f,h),(0,r.default)(this,"onChange",p=>{let{onChange:P}=this.props,{value:T,name:H}=p.target,U=(0,i.default)({},this.state.value);H?U[H]=T:U=T,this.setState({value:U},()=>P(this.state))});let{name:v,schema:m}=this.props,x=this.getValue();this.state={name:v,schema:m,value:x}}getValue(){let{name:f,authorized:h}=this.props;return h&&h.getIn([f,"value"])}render(){var f;let{schema:h,getComponent:v,errSelectors:m,name:x}=this.props;const p=v("Input"),P=v("Row"),T=v("Col"),H=v("authError"),U=v("Markdown",!0),ee=v("JumpToPath",!0),ie=(h.get("scheme")||"").toLowerCase();let me=this.getValue(),ue=(0,o.default)(f=m.allErrors()).call(f,it=>it.get("authId")===x);if("basic"===ie){var Se;let it=me?me.get("username"):null;return a.default.createElement("div",null,a.default.createElement("h4",null,a.default.createElement("code",null,x||h.get("name")),"\xa0 (http, Basic)",a.default.createElement(ee,{path:["securityDefinitions",x]})),it&&a.default.createElement("h6",null,"Authorized"),a.default.createElement(P,null,a.default.createElement(U,{source:h.get("description")})),a.default.createElement(P,null,a.default.createElement("label",null,"Username:"),it?a.default.createElement("code",null," ",it," "):a.default.createElement(T,null,a.default.createElement(p,{type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),a.default.createElement(P,null,a.default.createElement("label",null,"Password:"),it?a.default.createElement("code",null," ****** "):a.default.createElement(T,null,a.default.createElement(p,{autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),(0,s.default)(Se=ue.valueSeq()).call(Se,(ye,xe)=>a.default.createElement(H,{error:ye,key:xe})))}var Ue;return"bearer"===ie?a.default.createElement("div",null,a.default.createElement("h4",null,a.default.createElement("code",null,x||h.get("name")),"\xa0 (http, Bearer)",a.default.createElement(ee,{path:["securityDefinitions",x]})),me&&a.default.createElement("h6",null,"Authorized"),a.default.createElement(P,null,a.default.createElement(U,{source:h.get("description")})),a.default.createElement(P,null,a.default.createElement("label",null,"Value:"),me?a.default.createElement("code",null," ****** "):a.default.createElement(T,null,a.default.createElement(p,{type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),(0,s.default)(Ue=ue.valueSeq()).call(Ue,(it,ye)=>a.default.createElement(H,{error:it,key:ye}))):a.default.createElement("div",null,a.default.createElement("em",null,a.default.createElement("b",null,x)," HTTP authentication: unsupported scheme ",`'${ie}'`))}}},6467:(n,t,e)=>{e.r(t),e.d(t,{default:()=>h});var r=e(3427),i=e(2458),o=e(5757),s=e(6617),a=e(9928),l=e(5327),u=e(6775),f=e(6796);const h={Callbacks:r.default,HttpAuth:u.default,RequestBody:i.default,Servers:s.default,ServersContainer:a.default,RequestBodyEditor:l.default,OperationServers:f.default,operationLink:o.default}},5757:(n,t,e)=>{e.r(t),e.d(t,{default:()=>a});var r=e(313),i=e(2565),o=e(810);e(5053),e(9569);const a=class s extends o.Component{render(){const{link:u,name:f,getComponent:h}=this.props,v=h("Markdown",!0);let m=u.get("operationId")||u.get("operationRef"),x=u.get("parameters")&&u.get("parameters").toJS(),p=u.get("description");return o.default.createElement("div",{className:"operation-link"},o.default.createElement("div",{className:"description"},o.default.createElement("b",null,o.default.createElement("code",null,f)),p?o.default.createElement(v,{source:p}):null),o.default.createElement("pre",null,"Operation `",m,"`",o.default.createElement("br",null),o.default.createElement("br",null),"Parameters ",("string"!=typeof(T=(0,r.default)(x,null,2))?"":(0,i.default)(H=T.split("\n")).call(H,(U,ee)=>ee>0?Array(1).join(" ")+U:U).join("\n"))||"{}",o.default.createElement("br",null)));var T,H}}},6796:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(775),i=e(810);e(5053),e(9569);class o extends i.default.Component{constructor(){super(...arguments),(0,r.default)(this,"setSelectedServer",a=>{const{path:l,method:u}=this.props;return this.forceUpdate(),this.props.setSelectedServer(a,`${l}:${u}`)}),(0,r.default)(this,"setServerVariableValue",a=>{const{path:l,method:u}=this.props;return this.forceUpdate(),this.props.setServerVariableValue({...a,namespace:`${l}:${u}`})}),(0,r.default)(this,"getSelectedServer",()=>{const{path:a,method:l}=this.props;return this.props.getSelectedServer(`${a}:${l}`)}),(0,r.default)(this,"getServerVariable",(a,l)=>{const{path:u,method:f}=this.props;return this.props.getServerVariable({namespace:`${u}:${f}`,server:a},l)}),(0,r.default)(this,"getEffectiveServerValue",a=>{const{path:l,method:u}=this.props;return this.props.getEffectiveServerValue({server:a,namespace:`${l}:${u}`})})}render(){const{operationServers:a,pathServers:l,getComponent:u}=this.props;if(!a&&!l)return null;const f=u("Servers"),h=a||l,v=a?"operation":"path";return i.default.createElement("div",{className:"opblock-section operation-servers"},i.default.createElement("div",{className:"opblock-section-header"},i.default.createElement("div",{className:"tab-header"},i.default.createElement("h4",{className:"opblock-title"},"Servers"))),i.default.createElement("div",{className:"opblock-description-wrapper"},i.default.createElement("h4",{className:"message"},"These ",v,"-level options override the global server options."),i.default.createElement(f,{servers:h,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}},5327:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l});var r=e(775),i=e(810),o=(e(5053),e(8096)),s=e(6298);const a=Function.prototype;class l extends i.PureComponent{constructor(f,h){super(f,h),(0,r.default)(this,"applyDefaultValue",v=>{const{onChange:m,defaultValue:x}=v||this.props;return this.setState({value:x}),m(x)}),(0,r.default)(this,"onChange",v=>{this.props.onChange((0,s.Pz)(v))}),(0,r.default)(this,"onDomChange",v=>{const m=v.target.value;this.setState({value:m},()=>this.onChange(m))}),this.state={value:(0,s.Pz)(f.value)||f.defaultValue},f.onChange(f.value)}UNSAFE_componentWillReceiveProps(f){this.props.value!==f.value&&f.value!==this.state.value&&this.setState({value:(0,s.Pz)(f.value)}),!f.value&&f.defaultValue&&this.state.value&&this.applyDefaultValue(f)}render(){let{getComponent:f,errors:h}=this.props,{value:v}=this.state,m=h.size>0;const x=f("TextArea");return i.default.createElement("div",{className:"body-param"},i.default.createElement(x,{className:(0,o.default)("body-param__text",{invalid:m}
1),title:h.size?h.join(", "):"",value:v,onChange:this.onDomChange}))}}(0,r.default)(l,"defaultProps",{onChange:a,userHasEditedBody:!1})},2458:(n,t,e)=>{e.r(t),e.d(t,{getDefaultRequestBodyValue:()=>h,default:()=>v});var r=e(2565),i=e(8818),o=e(2372),s=e(4163),a=e(810),l=(e(5053),e(9569),e(9725)),u=e(6298),f=e(2518);const h=(m,x,p)=>{const P=m.getIn(["content",x]),T=P.get("schema").toJS(),H=void 0!==P.get("examples"),U=P.get("example"),ee=H?P.getIn(["examples",p,"value"]):U,ie=(0,u.xi)(T,x,{includeWriteOnly:!0},ee);return(0,u.Pz)(ie)},v=m=>{let{userHasEditedBody:x,requestBody:p,requestBodyValue:P,requestBodyInclusionSetting:T,requestBodyErrors:H,getComponent:U,getConfigs:ee,specSelectors:ie,fn:me,contentType:ue,isExecute:Se,specPath:Ue,onChange:it,onChangeIncludeEmpty:ye,activeExamplesKey:xe,updateActiveExamplesKey:ze,setRetainRequestBodyValueFlag:qe}=m;const Et=Or=>{it(Or.target.files[0])},Ne=Or=>{let Q={key:Or,shouldDispatchInit:!1,defaultValue:!0};return"no value"===T.get(Or,"no value")&&(Q.shouldDispatchInit=!0),Q},je=U("Markdown",!0),we=U("modelExample"),Ke=U("RequestBodyEditor"),dt=U("highlightCode"),Tt=U("ExamplesSelectValueRetainer"),Ae=U("Example"),Pe=U("ParameterIncludeEmpty"),{showCommonExtensions:Xe}=ee(),$e=p&&p.get("description")||null,Me=p&&p.get("content")||new l.OrderedMap;ue=ue||Me.keySeq().first()||"";const De=Me.get(ue,(0,l.OrderedMap)()),gt=De.get("schema",(0,l.OrderedMap)()),Rt=De.get("examples",null),kt=null==Rt?void 0:(0,r.default)(Rt).call(Rt,(Or,Q)=>{var fe;const Ce=null===(fe=Or)||void 0===fe?void 0:fe.get("value",null);return Ce&&(Or=Or.set("value",h(p,ue,Q),Ce)),Or});if(H=l.List.isList(H)?H:(0,l.List)(),!De.size)return null;const rn="object"===De.getIn(["schema","type"]),In="binary"===De.getIn(["schema","format"]),Xn="base64"===De.getIn(["schema","format"]);if("application/octet-stream"===ue||0===(0,i.default)(ue).call(ue,"image/")||0===(0,i.default)(ue).call(ue,"audio/")||0===(0,i.default)(ue).call(ue,"video/")||In||Xn){const Or=U("Input");return Se?a.default.createElement(Or,{type:"file",onChange:Et}):a.default.createElement("i",null,"Example values are not available for ",a.default.createElement("code",null,ue)," media types.")}if(rn&&("application/x-www-form-urlencoded"===ue||0===(0,i.default)(ue).call(ue,"multipart/"))&>.get("properties",(0,l.OrderedMap)()).size>0){var Cr;const Or=U("JsonSchemaForm"),Q=U("ParameterExt"),fe=gt.get("properties",(0,l.OrderedMap)());return P=l.Map.isMap(P)?P:(0,l.OrderedMap)(),a.default.createElement("div",{className:"table-container"},$e&&a.default.createElement(je,{source:$e}),a.default.createElement("table",null,a.default.createElement("tbody",null,l.Map.isMap(fe)&&(0,r.default)(Cr=fe.entrySeq()).call(Cr,Ce=>{var mt,bt;let[zt,hn]=Ce;if(hn.get("readOnly"))return;let wr=Xe?(0,u.po)(hn):null;const Fr=(0,o.default)(mt=gt.get("required",(0,l.List)())).call(mt,zt),li=hn.get("type"),ci=hn.get("format"),Qr=hn.get("description"),so=P.getIn([zt,"value"]),Kr=P.getIn([zt,"errors"])||H,os=T.get(zt)||!1,Hn=hn.has("default")||hn.has("example")||hn.hasIn(["items","example"])||hn.hasIn(["items","default"]),En=hn.has("enum")&&(1===hn.get("enum").size||Fr),Qn=Hn||En;let $r="";"array"!==li||Qn||($r=[]),("object"===li||Qn)&&($r=(0,u.xi)(hn,!1,{includeWriteOnly:!0})),"string"!=typeof $r&&"object"===li&&($r=(0,u.Pz)($r)),"string"==typeof $r&&"array"===li&&($r=JSON.parse($r));const ao="string"===li&&("binary"===ci||"base64"===ci);return a.default.createElement("tr",{key:zt,className:"parameters","data-property-name":zt},a.default.createElement("td",{className:"parameters-col_name"},a.default.createElement("div",{className:Fr?"parameter__name required":"parameter__name"},zt,Fr?a.default.createElement("span",null,"\xa0*"):null),a.default.createElement("div",{className:"parameter__type"},li,ci&&a.default.createElement("span",{className:"prop-format"},"($",ci,")"),Xe&&wr.size?(0,r.default)(bt=wr.entrySeq()).call(bt,Ri=>{let[cs,dn]=Ri;return a.default.createElement(Q,{key:`${cs}-${dn}`,xKey:cs,xVal:dn})}):null),a.default.createElement("div",{className:"parameter__deprecated"},hn.get("deprecated")?"deprecated":null)),a.default.createElement("td",{className:"parameters-col_description"},a.default.createElement(je,{source:Qr}),Se?a.default.createElement("div",null,a.default.createElement(Or,{fn:me,dispatchInitialValue:!ao,schema:hn,description:zt,getComponent:U,value:void 0===so?$r:so,required:Fr,errors:Kr,onChange:Ri=>{it(Ri,[zt])}}),Fr?null:a.default.createElement(Pe,{onChange:Ri=>ye(zt,Ri),isIncluded:os,isIncludedOptions:Ne(zt),isDisabled:(0,s.default)(so)?0!==so.length:!(0,u.O2)(so)})):null))}))))}const xn=h(p,ue,xe);let _t=null;return(0,f.O)(xn)&&(_t="json"),a.default.createElement("div",null,$e&&a.default.createElement(je,{source:$e}),kt?a.default.createElement(Tt,{userHasEditedBody:x,examples:kt,currentKey:xe,currentUserInputValue:P,onSelect:Or=>{ze(Or)}
1,updateValue:it,defaultToFirstExample:!0,getComponent:U,setRetainRequestBodyValueFlag:qe}):null,Se?a.default.createElement("div",null,a.default.createElement(Ke,{value:P,errors:H,defaultValue:xn,onChange:it,getComponent:U})):a.default.createElement(we,{getComponent:U,getConfigs:ee,specSelectors:ie,expandDepth:1,isExecute:Se,schema:De.get("schema"),specPath:Ue.push("content",ue),example:a.default.createElement(dt,{className:"body-param__example",getConfigs:ee,language:_t,value:(0,u.Pz)(P)||xn}),includeWriteOnly:!0}),kt?a.default.createElement(Ae,{example:kt.get(xe),getComponent:U,getConfigs:ee}):null)}},9928:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(810);e(5053);class i extends r.default.Component{render(){const{specSelectors:s,oas3Selectors:a,oas3Actions:l,getComponent:u}=this.props,f=s.servers(),h=u("Servers");return f&&f.size?r.default.createElement("div",null,r.default.createElement("span",{className:"servers-title"},"Servers"),r.default.createElement(h,{servers:f,currentServer:a.selectedServer(),setSelectedServer:l.setSelectedServer,setServerVariableValue:l.setServerVariableValue,getServerVariable:a.serverVariableValue,getEffectiveServerValue:a.serverEffectiveValue})):null}}},6617:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l});var r=e(775),i=e(1778),o=e(2565),s=e(810),a=e(9725);e(5053),e(9569);class l extends s.default.Component{constructor(){super(...arguments),(0,r.default)(this,"onServerChange",f=>{this.setServer(f.target.value)}),(0,r.default)(this,"onServerVariableValueChange",f=>{let{setServerVariableValue:h,currentServer:v}=this.props,m=f.target.getAttribute("data-variable");"function"==typeof h&&h({server:v,key:m,val:f.target.value})}),(0,r.default)(this,"setServer",f=>{let{setSelectedServer:h}=this.props;h(f)})}componentDidMount(){var f;let{servers:h,currentServer:v}=this.props;v||this.setServer(null===(f=h.first())||void 0===f?void 0:f.get("url"))}UNSAFE_componentWillReceiveProps(f){let{servers:h,setServerVariableValue:v,getServerVariable:m}=f;if(this.props.currentServer!==f.currentServer||this.props.servers!==f.servers){var x;let p=(0,i.default)(h).call(h,ie=>ie.get("url")===f.currentServer),P=(0,i.default)(x=this.props.servers).call(x,ie=>ie.get("url")===this.props.currentServer)||(0,a.OrderedMap)();if(!p)return this.setServer(h.first().get("url"));let T=P.get("variables")||(0,a.OrderedMap)(),H=((0,i.default)(T).call(T,ie=>ie.get("default"))||(0,a.OrderedMap)()).get("default"),U=p.get("variables")||(0,a.OrderedMap)(),ee=((0,i.default)(U).call(U,ie=>ie.get("default"))||(0,a.OrderedMap)()).get("default");(0,o.default)(U).call(U,(ie,me)=>{m(f.currentServer,me)&&H===ee||v({server:f.currentServer,key:me,val:ie.get("default")||""})})}}render(){var f,h;let{servers:v,currentServer:m,getServerVariable:x,getEffectiveServerValue:p}=this.props,P=((0,i.default)(v).call(v,H=>H.get("url")===m)||(0,a.OrderedMap)()).get("variables")||(0,a.OrderedMap)(),T=0!==P.size;return s.default.createElement("div",{className:"servers"},s.default.createElement("label",{htmlFor:"servers"},s.default.createElement("select",{onChange:this.onServerChange,value:m},(0,o.default)(f=v.valueSeq()).call(f,H=>s.default.createElement("option",{value:H.get("url"),key:H.get("url")},H.get("url"),H.get("description")&&` - ${H.get("description")}`)).toArray())),T?s.default.createElement("div",null,s.default.createElement("div",{className:"computed-url"},"Computed URL:",s.default.createElement("code",null,p(m))),s.default.createElement("h4",null,"Server variables"),s.default.createElement("table",null,s.default.createElement("tbody",null,(0,o.default)(h=P.entrySeq()).call(h,H=>{var U;let[ee,ie]=H;return s.default.createElement("tr",{key:ee},s.default.createElement("td",null,ee),s.default.createElement("td",null,ie.get("enum")?s.default.createElement("select",{"data-variable":ee,onChange:this.onServerVariableValueChange},(0,o.default)(U=ie.get("enum")).call(U,me=>s.default.createElement("option",{selected:me===x(m,ee),key:me,value:me},me))):s.default.createElement("input",{type:"text",value:x(m,ee)||"",onChange:this.onServerVariableValueChange,"data-variable":ee})))})))):null)}}},7779:(n,t,e)=>{e.r(t),e.d(t,{isOAS3:()=>s,isSwagger2:()=>a,OAS3ComponentWrapFactory:()=>l});var r=e(863),i=e(3590),o=e(810);function s(u){const f=u.get("openapi");return"string"==typeof f&&(0,i.default)(f).call(f,"3.0.")&&f.length>4}function a(u){const f=u.get("swagger");return"string"==typeof f&&(0,i.default)(f).call(f,"2.0")}function l(u){return(f,h)=>v=>h&&h.specSelectors&&h.specSelectors.specJson?s(h.specSelectors.specJson())?o.default.createElement(u,(0,r.default)({},v,h,{Ori:f})):o.default.createElement(f,v):(console.warn("OAS3 wrapper: couldn't get spec"),null)}},7451:(n,t,e)=>{e.r(t),e.d(t,{default:()=>h});var r=e(2044),i=e(3723),o=e(1741),s=e(6467),a=e(7761),l=e(7002),u=e(5065),f=e(2109);function h(){return{components:s.default,wrapComponents:a.default,statePlugins:{spec:{wrapSelectors:r,selectors:o},auth:{wrapSelectors:i},oas3:{actions:l,reducers:f.default,selectors:u}}}}},2109:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l});var r=e(5487),i=e(29),o=e(6785),s=e(9725),a=e(7002);const l={[a.UPDATE_SELECTED_SERVER]:(u,f)=>{let{payload:{selectedServerUrl:h,namespace:v}}=f;return u.setIn(v?[v,"selectedServer"]:["selectedServer"],h)},[a.UPDATE_REQUEST_BODY_VALUE]:(u,f)=>{let{payload:{value:h,pathMethod:v}}=f,[m,x]=v;if(!s.Map.isMap(h))return u.setIn(["requestData",m,x,"bodyValue"],h);let p,P=u.getIn(["requestData",m,x,"bodyValue"])||(0,s.Map)();s.Map.isMap(P)||(P=(0,s.Map)());const[...T]=(0,r.default)(h).call(h);return(0,i.default)(T).call(T,H=>{let U=h.getIn([H]);P.has(H)&&s.Map.isMap(U)||(p=P.setIn([H,"value"],U))}),u.setIn(["requestData",m,x,"bodyValue"],p)},[a.UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG]:(u,f)=>{let{payload:{value:h,pathMethod:v}}=f,[m,x]=v;return u.setIn(["requestData",m,x,"retainBodyValue"],h)},[a.UPDATE_REQUEST_BODY_INCLUSION]:(u,f)=>{let{payload:{value:h,pathMethod:v,name:m}}=f,[x,p]=v;return u.setIn(["requestData",x,p,"bodyInclusion",m],h)},[a.UPDATE_ACTIVE_EXAMPLES_MEMBER]:(u,f)=>{let{payload:{name:h,pathMethod:v,contextType:m,contextName:x}}=f,[p,P]=v;return u.setIn(["examples",p,P,m,x,"activeExample"],h)},[a.UPDATE_REQUEST_CONTENT_TYPE]:(u,f)=>{let{payload:{value:h,pathMethod:v}}=f,[m,x]=v;return u.setIn(["requestData",m,x,"requestContentType"],h)},[a.UPDATE_RESPONSE_CONTENT_TYPE]:(u,f)=>{let{payload:{value:h,path:v,method:m}}=f;return u.setIn(["requestData",v,m,"responseContentType"],h)},[a.UPDATE_SERVER_VARIABLE_VALUE]:(u,f)=>{let{payload:{server:h,namespace:v,key:m,val:x}}=f;return u.setIn(v?[v,"serverVariableValues",h,m]:["serverVariableValues",h,m],x)},[a.SET_REQUEST_BODY_VALIDATE_ERROR]:(u,f)=>{let{payload:{path:h,method:v,validationErrors:m}}=f,x=[];if(x.push("Required field is not provided"),m.missingBodyValue)return u.setIn(["requestData",h,v,"errors"],(0,s.fromJS)(x));if(m.missingRequiredKeys&&m.missingRequiredKeys.length>0){const{missingRequiredKeys:p}=m;return u.updateIn(["requestData",h,v,"bodyValue"],(0,s.fromJS)({}),P=>(0,o.default)(p).call(p,(T,H)=>T.setIn([H,"errors"],(0,s.fromJS)(x)),P))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),u},[a.CLEAR_REQUEST_BODY_VALIDATE_ERROR]:(u,f)=>{let{payload:{path:h,method:v}}=f;const m=u.getIn(["requestData",h,v,"bodyValue"]);if(!s.Map.isMap(m))return u.setIn(["requestData",h,v,"errors"],(0,s.fromJS)([]));const[...x]=(0,r.default)(m).call(m);return x?u.updateIn(["requestData",h,v,"bodyValue"],(0,s.fromJS)({}),p=>(0,o.default)(x).call(x,(P,T)=>P.setIn([T,"errors"],(0,s.fromJS)([])),p)):u},[a.CLEAR_REQUEST_BODY_VALUE]:(u,f)=>{let{payload:{pathMethod:h}}=f,[v,m]=h;const x=u.getIn(["requestData",v,m,"bodyValue"]);return x?s.Map.isMap(x)?u.setIn(["requestData",v,m,"bodyValue"],(0,s.Map)()):u.setIn(["requestData",v,m,"bodyValue"],""):u}}},5065:(n,t,e)=>{e.r(t),e.d(t,{selectedServer:()=>v,requestBodyValue:()=>m,shouldRetainRequestBodyValue:()=>x,hasUserEditedBody:()=>p,requestBodyInclusionSetting:()=>P,requestBodyErrors:()=>T,activeExamplesMember:()=>H,requestContentType:()=>U,responseContentType:()=>ee,serverVariableValue:()=>ie,serverVariables:()=>me,serverEffectiveValue:()=>ue,validateBeforeExecute:()=>Se,validateShallowRequired:()=>it});
1var r=e(2565),i=e(29),o=e(2740),s=e(8818),a=e(9725),l=e(7779),u=e(2458),f=e(6298);function h(ye){return function(){for(var xe=arguments.length,ze=new Array(xe),qe=0;qe<xe;qe++)ze[qe]=arguments[qe];return Et=>{const Ne=Et.getSystem().specSelectors.specJson();return(0,l.isOAS3)(Ne)?ye(...ze):null}}}const v=h((ye,xe)=>ye.getIn(xe?[xe,"selectedServer"]:["selectedServer"])||""),m=h((ye,xe,ze)=>ye.getIn(["requestData",xe,ze,"bodyValue"])||null),x=h((ye,xe,ze)=>ye.getIn(["requestData",xe,ze,"retainBodyValue"])||!1),p=(ye,xe,ze)=>qe=>{const{oas3Selectors:Et,specSelectors:Ne}=qe.getSystem(),je=Ne.specJson();if((0,l.isOAS3)(je)){let we=!1;const Ke=Et.requestContentType(xe,ze);let dt=Et.requestBodyValue(xe,ze);if(a.Map.isMap(dt)&&(dt=(0,f.Pz)(dt.mapEntries(Tt=>a.Map.isMap(Tt[1])?[Tt[0],Tt[1].get("value")]:Tt).toJS())),a.List.isList(dt)&&(dt=(0,f.Pz)(dt)),Ke){const Tt=(0,u.getDefaultRequestBodyValue)(Ne.specResolvedSubtree(["paths",xe,ze,"requestBody"]),Ke,Et.activeExamplesMember(xe,ze,"requestBody","requestBody"));we=!!dt&&dt!==Tt}return we}return null},P=h((ye,xe,ze)=>ye.getIn(["requestData",xe,ze,"bodyInclusion"])||(0,a.Map)()),T=h((ye,xe,ze)=>ye.getIn(["requestData",xe,ze,"errors"])||null),H=h((ye,xe,ze,qe,Et)=>ye.getIn(["examples",xe,ze,qe,Et,"activeExample"])||null),U=h((ye,xe,ze)=>ye.getIn(["requestData",xe,ze,"requestContentType"])||null),ee=h((ye,xe,ze)=>ye.getIn(["requestData",xe,ze,"responseContentType"])||null),ie=h((ye,xe,ze)=>{let qe;if("string"!=typeof xe){const{server:Et,namespace:Ne}=xe;qe=Ne?[Ne,"serverVariableValues",Et,ze]:["serverVariableValues",Et,ze]}else qe=["serverVariableValues",xe,ze];return ye.getIn(qe)||null}),me=h((ye,xe)=>{let ze;if("string"!=typeof xe){const{server:qe,namespace:Et}=xe;ze=Et?[Et,"serverVariableValues",qe]:["serverVariableValues",qe]}else ze=["serverVariableValues",xe];return ye.getIn(ze)||(0,a.OrderedMap)()}),ue=h((ye,xe)=>{var ze,qe;if("string"!=typeof xe){const{server:Ne,namespace:je}=xe;qe=Ne,ze=ye.getIn(je?[je,"serverVariableValues",qe]:["serverVariableValues",qe])}else ze=ye.getIn(["serverVariableValues",qe=xe]);ze=ze||(0,a.OrderedMap)();let Et=qe;return(0,r.default)(ze).call(ze,(Ne,je)=>{Et=Et.replace(new RegExp(`{${je}}`,"g"),Ne)}),Et}),Se=(Ue=(ye,xe)=>{return qe=(qe=xe)||[],!!ye.getIn(["requestData",...qe,"bodyValue"]);var qe},function(){for(var ye=arguments.length,xe=new Array(ye),ze=0;ze<ye;ze++)xe[ze]=arguments[ze];return qe=>{const Et=qe.getSystem().specSelectors.specJson();let Ne=[...xe][1]||[];return!Et.getIn(["paths",...Ne,"requestBody","required"])||Ue(...xe)}});var Ue;const it=(ye,xe)=>{var ze;let{oas3RequiredRequestBodyContentType:qe,oas3RequestContentType:Et,oas3RequestBodyValue:Ne}=xe,je=[];if(!a.Map.isMap(Ne))return je;let we=[];return(0,i.default)(ze=(0,o.default)(qe.requestContentType)).call(ze,Ke=>{if(Ke===Et){let dt=qe.requestContentType[Ke];(0,i.default)(dt).call(dt,Tt=>{(0,s.default)(we).call(we,Tt)<0&&we.push(Tt)})}}),(0,i.default)(we).call(we,Ke=>{Ne.getIn([Ke,"value"])||je.push(Ke)}),je}},1741:(n,t,e)=>{e.r(t),e.d(t,{servers:()=>u,isSwagger2:()=>h});var r=e(8639),i=e(9725),o=e(7779);const s=v=>v||(0,i.Map)(),a=(0,r.createSelector)(s,v=>v.get("json",(0,i.Map)())),l=(0,r.createSelector)(s,v=>v.get("resolved",(0,i.Map)())),u=(f=(0,r.createSelector)(v=>{let m=l(v);return m.count()<1&&(m=a(v)),m},v=>v.getIn(["servers"])||(0,i.Map)()),()=>function(v){const m=v.getSystem().specSelectors.specJson();if((0,o.isOAS3)(m)){for(var x=arguments.length,p=new Array(x>1?x-1:0),P=1;P<x;P++)p[P-1]=arguments[P];return f(...p)}return null});var f;const h=(v,m)=>()=>{const x=m.getSystem().specSelectors.specJson();return(0,o.isSwagger2)(x)}},2044:(n,t,e)=>{e.r(t),e.d(t,{definitions:()=>m,hasHost:()=>x,securityDefinitions:()=>p,host:()=>P,basePath:()=>T,consumes:()=>H,produces:()=>U,schemes:()=>ee,servers:()=>ie,isOAS3:()=>me,isSwagger2:()=>ue});var r=e(8639),i=e(3881),o=e(9725),s=e(7779);function a(Se){return(Ue,it)=>function(){const ye=it.getSystem().specSelectors.specJson();return(0,s.isOAS3)(ye)?Se(...arguments):Ue(...arguments)}}const l=Se=>Se||(0,o.Map)(),u=a((0,r.createSelector)(()=>null)),f=(0,r.createSelector)(l,Se=>Se.get("json",(0,o.Map)())),h=(0,r.createSelector)(l,Se=>Se.get("resolved",(0,o.Map)())),v=Se=>{let Ue=h(Se);return Ue.count()<1&&(Ue=f(Se)),Ue},m=a((0,r.createSelector)(v,Se=>{const Ue=Se.getIn(["components","schemas"]);return o.Map.isMap(Ue)?Ue:(0,o.Map)()})),x=a(Se=>v(Se).hasIn(["servers",0])),p=a((0,r.createSelector)(i.specJsonWithResolvedSubtrees,Se=>Se.getIn(["components","securitySchemes"])||null)),P=u,T=u,H=u,U=u,ee=u,ie=
1a((0,r.createSelector)(v,Se=>Se.getIn(["servers"])||(0,o.Map)())),me=(Se,Ue)=>()=>{const it=Ue.getSystem().specSelectors.specJson();return(0,s.isOAS3)(o.Map.isMap(it)?it:(0,o.Map)())},ue=(Se,Ue)=>()=>{const it=Ue.getSystem().specSelectors.specJson();return(0,s.isSwagger2)(o.Map.isMap(it)?it:(0,o.Map)())}},356:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(810);const i=(0,e(7779).OAS3ComponentWrapFactory)(o=>{let{Ori:s,...a}=o;const{schema:l,getComponent:u,errSelectors:f,authorized:h,onAuthChange:v,name:m}=a,x=u("HttpAuth");return"http"===l.get("type")?r.default.createElement(x,{key:m,schema:l,name:m,errSelectors:f,authorized:h,getComponent:u,onChange:v}):r.default.createElement(s,a)})},7761:(n,t,e)=>{e.r(t),e.d(t,{default:()=>u});var r=e(2460),i=e(356),o=e(9487),s=e(58),a=e(3499),l=e(287);const u={Markdown:r.default,AuthItem:i.default,JsonSchema_string:l.default,VersionStamp:o.default,model:a.default,onlineValidatorBadge:s.default}},287:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(810);const i=(0,e(7779).OAS3ComponentWrapFactory)(o=>{let{Ori:s,...a}=o;const{schema:l,getComponent:u,errors:f,onChange:h}=a,v=l&&l.get?l.get("format"):null,m=l&&l.get?l.get("type"):null,x=u("Input");return m&&"string"===m&&v&&("binary"===v||"base64"===v)?r.default.createElement(x,{type:"file",className:f.length?"invalid":"",title:f.length?f:"",onChange:p=>{h(p.target.files[0])},disabled:s.isDisabled}):r.default.createElement(s,a)})},2460:(n,t,e)=>{e.r(t),e.d(t,{Markdown:()=>f,default:()=>h});var r=e(5942),i=e(810),o=(e(5053),e(8096)),s=e(3952),a=e(7779),l=e(5466);const u=new s.Remarkable("commonmark");u.block.ruler.enable(["table"]),u.set({linkTarget:"_blank"});const f=v=>{let{source:m,className:x="",getConfigs:p}=v;if("string"!=typeof m)return null;if(m){const{useUnsafeMarkdown:P}=p(),T=u.render(m),H=(0,l.s)(T,{useUnsafeMarkdown:P});let U;return"string"==typeof H&&(U=(0,r.default)(H).call(H)),i.default.createElement("div",{dangerouslySetInnerHTML:{__html:U},className:(0,o.default)(x,"renderedMarkdown")})}return null};f.defaultProps={getConfigs:()=>({useUnsafeMarkdown:!1})};const h=(0,a.OAS3ComponentWrapFactory)(f)},3499:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l});var r=e(863),i=e(810),o=(e(5053),e(7779)),s=e(1543);const l=(0,o.OAS3ComponentWrapFactory)(class a extends i.Component{render(){let{getConfigs:f,schema:h}=this.props,v=["model-box"],m=null;return!0===h.get("deprecated")&&(v.push("deprecated"),m=i.default.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),i.default.createElement("div",{className:v.join(" ")},m,i.default.createElement(s.Z,(0,r.default)({},this.props,{getConfigs:f,depth:1,expandDepth:this.props.expandDepth||
10})))}})},58:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(7779),i=e(5623);const o=(0,r.OAS3ComponentWrapFactory)(i.Z)},9487:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(810);const i=(0,e(7779).OAS3ComponentWrapFactory)(o=>{const{Ori:s}=o;return r.default.createElement("span",null,r.default.createElement(s,o),r.default.createElement("small",{className:"version-stamp"},r.default.createElement("pre",{className:"version"},"OAS3")))})},8560:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(6235);let i=!1;function o(){return{statePlugins:{spec:{wrapActions:{updateSpec:s=>function(){return i=!0,s(...arguments)},updateJsonSpec:(s,a)=>function(){const l=a.getConfigs().onComplete;return i&&"function"==typeof l&&((0,r.default)(l,0),i=!1),s(...arguments)}}}}}}},4624:(n,t,e)=>{e.r(t),e.d(t,{requestSnippetGenerator_curl_bash:()=>U,requestSnippetGenerator_curl_cmd:()=>ee,requestSnippetGenerator_curl_powershell:()=>H});var r=e(8818),i=e(5942),o=e(313),s=e(2565);const a=(e.d(me={},{default:()=>r7e()}),me);var me,l=e(2954),u=e(2372),f=e(7504),h=e(9725);const v=ie=>{var me;return(0,r.default)(ie).call(ie,"_**[]")<0?ie:(0,i.default)(me=ie.split("_**[]")[0]).call(me)},m=ie=>"-d "===ie||/^[_\/-]/g.test(ie)?ie:"'"+ie.replace(/'/g,"'\\''")+"'",x=ie=>"-d "===(ie=ie.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?ie.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(ie)?ie:'"'+ie+'"',p=ie=>"-d "===ie?ie:/\n/.test(ie)?'@"\n'+ie.replace(/"/g,'\\"').replace(/`/g,"``").replace(/\$/,"`$")+'\n"@':/^[_\/-]/g.test(ie)?ie:"'"+ie.replace(/"/g,'""').replace(/'/g,"''")+"'";function P(ie){let me=[];for(let[ue,Se]of ie.get("body").entrySeq()){let Ue=v(ue);me.push(Se instanceof f.Z.File?` "${Ue}": {\n "name": "${Se.name}"${Se.type?`,\n "type": "${Se.type}"`:""}\n }`:` "${Ue}": ${(0,o.default)(Se,null,2).replace(/(\r\n|\r|\n)/g,"\n ")}`)}return`{\n${me.join(",\n")}\n}`}const T=function(ie,me,ue){let Se=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",Ue=!1,it="";const ye=function(){for(var Ke=arguments.length,dt=new Array(Ke),Tt=0;Tt<Ke;Tt++)dt[Tt]=arguments[Tt];return it+=" "+(0,s.default)(dt).call(dt,me).join(" ")},xe=function(){for(var Ke=arguments.length,dt=new Array(Ke),Tt=0;Tt<Ke;Tt++)dt[Tt]=arguments[Tt];return it+=(0,s.default)(dt).call(dt,me).join(" ")},ze=()=>it+=` ${ue}`,qe=function(){var Ke;let dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return it+=(0,a.default)(Ke=" ").call(Ke,dt)};let Et=ie.get("headers");if(it+="curl"+Se,ie.has("curlOptions")&&ye(...ie.get("curlOptions")),ye("-X",ie.get("method")),ze(),qe(),xe(`${ie.get("url")}`),Et&&Et.size)for(let Ke of(0,l.default)(Ne=ie.get("headers")).call(Ne)){var Ne;ze(),qe();let[dt,Tt]=Ke;xe("-H",`${dt}: ${Tt}`),Ue=Ue||/^content-type$/i.test(dt)&&/^multipart\/form-data$/i.test(Tt)}const je=ie.get("body");var we;if(je)if(Ue&&(0,u.default)(we=["POST","PUT","PATCH"]).call(we,ie.get("method")))for(let[Ke,dt]of je.entrySeq()){let Tt=v(Ke);ze(),qe(),xe("-F"),ye(dt instanceof f.Z.File?`${Tt}=@${dt.name}${dt.type?`;type=${dt.type}`:""}`:`${Tt}=${dt}`)}else if(je instanceof f.Z.File)ze(),qe(),xe(`--data-binary '@${je.name}'`);else{ze(),qe(),xe("-d ");let Ke=je;h.Map.isMap(Ke)?xe(P(ie)):("string"!=typeof Ke&&(Ke=(0,o.default)(Ke)),xe(Ke))}else je||"POST"!==ie.get("method")||(ze(),qe(),xe("-d ''"));return it},H=ie=>T(ie,p,"`\n",".exe"),U=ie=>T(ie,m,"\\\n"),ee=ie=>T(ie,x,"^\n")},6575:(n,t,e)=>{e.r(t),e.d(t,{default:()=>s});var r=e(4624),i=e(4669),o=e(4206);const s=()=>({components:{RequestSnippets:o.default},fn:r,statePlugins:{requestSnippets:{selectors:i}}})},4206:(n,t,e)=>{e.r(t),e.d(t,{default:()=>x});var r=e(6145),i=e(8898),o=e(29),s=e(2565),a=e(810),l=(e(5053),e(9908)),u=e(7068),f=e(9874),h=e(471);const v={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},m={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"},x=p=>{var P,T;let{request:H,requestSnippetsSelectors:U,getConfigs:ee}=p;const ie=(0,u.default)(ee)?ee():null,me=!1!==(0,l.default)(ie,"syntaxHighlight")&&(0,l.default)(ie,"syntaxHighlight.activated",!0),ue=(0,a.useRef)(null),[Se,Ue]=(0,a.useState)(null===(P=U.getSnippetGenerators())||void 0===P?void 0:P.keySeq().first()),[it,ye]=(0,a.useState)(U?.getDefaultExpanded());(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{var Ke;const dt=(0,r.default)(Ke=(0,i.default)(ue.current.childNodes)).call(Ke,Tt=>{var Ae;return!!Tt.nodeType&&(null===(Ae=Tt.classList)||void 0===Ae?void 0:Ae.contains("curl-command"))});
1return(0,o.default)(dt).call(dt,Tt=>Tt.addEventListener("mousewheel",je,{passive:!1})),()=>{(0,o.default)(dt).call(dt,Tt=>Tt.removeEventListener("mousewheel",je))}},[H]);const xe=U.getSnippetGenerators(),ze=xe.get(Se),qe=ze.get("fn")(H),Et=()=>{ye(!it)},Ne=Ke=>Ke===Se?m:v,je=Ke=>{const{target:dt,deltaY:Tt}=Ke,{scrollHeight:Ae,offsetHeight:Pe,scrollTop:Xe}=dt;Ae>Pe&&(0===Xe&&Tt<0||Pe+Xe>=Ae&&Tt>0)&&Ke.preventDefault()},we=me?a.default.createElement(h.d3,{language:ze.get("syntax"),className:"curl microlight",style:(0,h.C2)((0,l.default)(ie,"syntaxHighlight.theme"))},qe):a.default.createElement("textarea",{readOnly:!0,className:"curl",value:qe});return a.default.createElement("div",{className:"request-snippets",ref:ue},a.default.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},a.default.createElement("h4",{onClick:()=>Et(),style:{cursor:"pointer"}},"Snippets"),a.default.createElement("button",{onClick:()=>Et(),style:{border:"none",background:"none"},title:it?"Collapse operation":"Expand operation"},a.default.createElement("svg",{className:"arrow",width:"10",height:"10"},a.default.createElement("use",{href:it?"#large-arrow-down":"#large-arrow",xlinkHref:it?"#large-arrow-down":"#large-arrow"})))),it&&a.default.createElement("div",{className:"curl-command"},a.default.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},(0,s.default)(T=xe.entrySeq()).call(T,Ke=>{let[dt,Tt]=Ke;return a.default.createElement("div",{style:Ne(dt),className:"btn",key:dt,onClick:()=>{var Ae;Se!==(Ae=dt)&&Ue(Ae)}},a.default.createElement("h4",{style:dt===Se?{color:"white"}:{}},Tt.get("title")))})),a.default.createElement("div",{className:"copy-to-clipboard"},a.default.createElement(f.CopyToClipboard,{text:qe},a.default.createElement("button",null))),a.default.createElement("div",null,we)))}},4669:(n,t,e)=>{e.r(t),e.d(t,{getGenerators:()=>u,getSnippetGenerators:()=>f,getActiveLanguage:()=>h,getDefaultExpanded:()=>v});var r=e(6145),i=e(2372),o=e(2565),s=e(8639),a=e(9725);const l=m=>m||(0,a.Map)(),u=(0,s.createSelector)(l,m=>{const x=m.get("languages"),p=m.get("generators",(0,a.Map)());return!x||x.isEmpty()?p:(0,r.default)(p).call(p,(P,T)=>(0,i.default)(x).call(x,T))}),f=m=>x=>{var p,P;let{fn:T}=x;return(0,r.default)(p=(0,o.default)(P=u(m)).call(P,(H,U)=>{const ee=T[`requestSnippetGenerator_${U}`];return"function"!=typeof ee?null:H.set("fn",ee)})).call(p,H=>H)},h=(0,s.createSelector)(l,m=>m.get("activeLanguage")),v=(0,s.createSelector)(l,m=>m.get("defaultExpanded"))},6195:(n,t,e)=>{e.r(t),e.d(t,{ErrorBoundary:()=>s,default:()=>a}),e(5053);var r=e(810),i=e(6189),o=e(9403);class s extends r.Component{static getDerivedStateFromError(u){return{hasError:!0,error:u}}constructor(){super(...arguments),this.state={hasError:!1,error:null}}componentDidCatch(u,f){this.props.fn.componentDidCatch(u,f)}render(){const{getComponent:u,targetName:f,children:h}=this.props;if(this.state.hasError){const v=u("Fallback");return r.default.createElement(v,{name:f})}return h}}s.defaultProps={targetName:"this component",getComponent:()=>o.default,fn:{componentDidCatch:i.componentDidCatch},children:null};const a=s},9403:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(810);e(5053);const i=o=>{let{name:s}=o;return r.default.createElement("div",{className:"fallback"},"\u{1f631} ",r.default.createElement("i",null,"Could not render ","t"===s?"this component":s,", see the console."))}},6189:(n,t,e)=>{e.r(t),e.d(t,{componentDidCatch:()=>o,withErrorBoundary:()=>s});var r=e(863),i=e(810);const o=console.error,s=a=>l=>{const{getComponent:u,fn:f}=a(),h=u("ErrorBoundary"),v=f.getDisplayName(l);class m extends i.Component{render(){return i.default.createElement(h,{targetName:v,getComponent:u,fn:f},i.default.createElement(l,(0,r.default)({},this.props,this.context)))}}var x;return m.displayName=`WithErrorBoundary(${v})`,(x=l).prototype&&x.prototype.isReactComponent&&(m.prototype.mapStateToProps=l.prototype.mapStateToProps),m}},8102:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l});const r=(e.d(f={},{default:()=>o7e()}),f),i=(u=>{var f={};return e.d(f,u),f})({default:()=>a7e()});var f,o=e(6195),s=e(9403),a=e(6189);const l=function(){let{componentList:u=[],fullOverride:f=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h=>{var v;let{getSystem:m}=h;const x=f?u:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...u],p=(0,i.default)(x,(0,r.default)(v=Array(x.length)).call(v,(P,T)=>{let{fn:H}=T;return H.withErrorBoundary(P)}));return{fn:{componentDidCatch:a.componentDidCatch,withErrorBoundary:(0,a.withErrorBoundary)(m)},components:{ErrorBoundary:o.default,Fallback:s.default},wrapComponents:p}}}},2473:(n,t,e)=>{e.r(t),e.d(t,{createXMLExample:()=>ze,inferSchema:()=>xe,memoizedCreateXMLExample:()=>Ne,memoizedSampleFromSchema:()=>je,sampleFromSchema:()=>qe,sampleFromSchemaGeneric:()=>ye});var r=e(8818),i=e(29),o=e(4163),s=e(2372),a=e(9963),l=e(8136),u=e(1778),f=e(5171),h=e(2565),v=e(313),m=e(3479),x=e.n(m);const p=(e.d(Ke={},{default:()=>c7e()}),Ke),P=(we=>{var Ke={};return e.d(Ke,we),Ke})({default:()=>f7e()});var Ke,T=e(6298),H=e(9669);const U={string:we=>we.pattern?(Ke=>{try{return new p.default(Ke).gen()}catch{return"string"}})(we.pattern):"string",string_email:()=>"[email protected]","string_date-time":()=>(new Date).toISOString(),string_date:()=>(new Date).toISOString().substring(0,10),string_uuid:()=>
1"3fa85f64-5717-4562-b3fc-2c963f66afa6",string_hostname:()=>"example.com",string_ipv4:()=>"198.51.100.42",string_ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",number:()=>0,number_float:()=>0,integer:()=>0,boolean:we=>"boolean"!=typeof we.default||we.default},ee=we=>{we=(0,T.mz)(we);let{type:Ke,format:dt}=we,Tt=U[`${Ke}_${dt}`]||U[Ke];return(0,T.Wl)(Tt)?Tt(we):"Unknown Type: "+we.type},ie=we=>(0,T.XV)(we,"$$ref",Ke=>"string"==typeof Ke&&(0,r.default)(Ke).call(Ke,"#")>-1),me=["maxProperties","minProperties"],ue=["minItems","maxItems"],Se=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],Ue=["minLength","maxLength"],it=function(we,Ke){var dt;let Tt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const Ae=$e=>{void 0===Ke[$e]&&void 0!==we[$e]&&(Ke[$e]=we[$e])};var Pe;if((0,i.default)(dt=["example","default","enum","xml","type",...me,...ue,...Se,...Ue]).call(dt,$e=>Ae($e)),void 0!==we.required&&(0,o.default)(we.required)&&(void 0!==Ke.required&&Ke.required.length||(Ke.required=[]),(0,i.default)(Pe=we.required).call(Pe,$e=>{var Me;(0,s.default)(Me=Ke.required).call(Me,$e)||Ke.required.push($e)})),we.properties){Ke.properties||(Ke.properties={});let $e=(0,T.mz)(we.properties);for(let Me in $e){var Xe;Object.prototype.hasOwnProperty.call($e,Me)&&(!$e[Me]||!$e[Me].deprecated)&&(!$e[Me]||!$e[Me].readOnly||Tt.includeReadOnly)&&(!$e[Me]||!$e[Me].writeOnly||Tt.includeWriteOnly)&&(Ke.properties[Me]||(Ke.properties[Me]=$e[Me],!we.required&&(0,o.default)(we.required)&&-1!==(0,r.default)(Xe=we.required).call(Xe,Me)&&(Ke.required?Ke.required.push(Me):Ke.required=[Me])))}}return we.items&&(Ke.items||(Ke.items={}),Ke.items=it(we.items,Ke.items,Tt)),Ke},ye=function(we){let Ke=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},dt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,Tt=arguments.length>3&&void 0!==arguments[3]&&arguments[3];we&&(0,T.Wl)(we.toJS)&&(we=we.toJS());let Ae=void 0!==dt||we&&void 0!==we.example||we&&void 0!==we.default;const Pe=!Ae&&we&&we.oneOf&&we.oneOf.length>0,Xe=!Ae&&we&&we.anyOf&&we.anyOf.length>0;if(!Ae&&(Pe||Xe)){const Hn=(0,T.mz)(Pe?we.oneOf[0]:we.anyOf[0]);if(it(Hn,we,Ke),!we.xml&&Hn.xml&&(we.xml=Hn.xml),void 0!==we.example&&void 0!==Hn.example)Ae=!0;else if(Hn.properties){we.properties||(we.properties={});let En=(0,T.mz)(Hn.properties);for(let Qn in En){var $e;Object.prototype.hasOwnProperty.call(En,Qn)&&(!En[Qn]||!En[Qn].deprecated)&&(!En[Qn]||!En[Qn].readOnly||Ke.includeReadOnly)&&(!En[Qn]||!En[Qn].writeOnly||Ke.includeWriteOnly)&&(we.properties[Qn]||(we.properties[Qn]=En[Qn],!Hn.required&&(0,o.default)(Hn.required)&&-1!==(0,r.default)($e=Hn.required).call($e,Qn)&&(we.required?we.required.push(Qn):we.required=[Qn])))}}}const Me={};let{xml:De,type:gt,example:Rt,properties:kt,additionalProperties:rn,items:In}=we||{},{includeReadOnly:Xn,includeWriteOnly:Cr}=Ke;De=De||{};let xn,{name:_t,prefix:Or,namespace:Q}=De,fe={};Tt&&(_t=_t||"notagname",xn=(Or?Or+":":"")+_t,Q)&&(Me[Or?"xmlns:"+Or:"xmlns"]=Q),Tt&&(fe[xn]=[]);const Ce=Hn=>(0,a.default)(Hn).call(Hn,En=>Object.prototype.hasOwnProperty.call(we,En));we&&!gt&&(kt||rn||Ce(me)?gt="object":In||Ce(ue)?gt="array":Ce(Se)?(gt="number",we.type="number"):Ae||we.enum||(gt="string",we.type="string"));const mt=Hn=>{var En,Qn,$r,ao,Ri;if(null!==(null===(En=we)||void 0===En?void 0:En.maxItems)&&void 0!==(null===(Qn=we)||void 0===Qn?void 0:Qn.maxItems)&&(Hn=(0,l.default)(Hn).call(Hn,0,null===(Ri=we)||void 0===Ri?void 0:Ri.maxItems)),null!==(null===($r=we)||void 0===$r?void 0:$r.minItems)&&void 0!==(null===(ao=we)||void 0===ao?void 0:ao.minItems)){let dn=0;for(;Hn.length<(null===(cs=we)||void 0===cs?void 0:cs.minItems);){var cs;Hn.push(Hn[dn++%Hn.length])}}return Hn},bt=(0,T.mz)(kt);let zt,hn=0;const wr=()=>we&&null!=we.maxProperties&&hn>=we.maxProperties,Fr=()=>{if(!we||!we.required)return 0;let Hn=0;var En,Qn;return Tt?(0,i.default)(En=we.required).call(En,$r=>Hn+=void 0===fe[$r]?0:1):(0,i.default)(Qn=we.required).call(Qn,$r=>{var ao;return Hn+=void 0===(null===(ao=fe[xn])||void 0===ao?void 0:(0,u.default)(ao).call(ao,Ri=>void 0!==Ri[$r]))?0:1}),we.required.length-Hn},li=Hn=>{var En;return!(we&&we.required&&we.required.length&&(0,s.default)(En=we.required).call(En,Hn))},ci=Hn=>
1!we||null==we.maxProperties||!wr()&&(!li(Hn)||we.maxProperties-hn-Fr()>0);if(zt=Tt?function(Hn){let En=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(we&&bt[Hn]){if(bt[Hn].xml=bt[Hn].xml||{},bt[Hn].xml.attribute){const ao=(0,o.default)(bt[Hn].enum)?bt[Hn].enum[0]:void 0,Ri=bt[Hn].example,cs=bt[Hn].default;return void(Me[bt[Hn].xml.name||Hn]=void 0!==Ri?Ri:void 0!==cs?cs:void 0!==ao?ao:ee(bt[Hn]))}bt[Hn].xml.name=bt[Hn].xml.name||Hn}else bt[Hn]||!1===rn||(bt[Hn]={xml:{name:Hn}});let Qn=ye(we&&bt[Hn]||void 0,Ke,En,Tt);var $r;ci(Hn)&&(hn++,(0,o.default)(Qn)?fe[xn]=(0,f.default)($r=fe[xn]).call($r,Qn):fe[xn].push(Qn))}:(Hn,En)=>{if(ci(Hn)){if(Object.prototype.hasOwnProperty.call(we,"discriminator")&&we.discriminator&&Object.prototype.hasOwnProperty.call(we.discriminator,"mapping")&&we.discriminator.mapping&&Object.prototype.hasOwnProperty.call(we,"$$ref")&&we.$$ref&&we.discriminator.propertyName===Hn){for(let Qn in we.discriminator.mapping)if(-1!==we.$$ref.search(we.discriminator.mapping[Qn])){fe[Hn]=Qn;break}}else fe[Hn]=ye(bt[Hn],Ke,En,Tt);hn++}},Ae){let Hn;if(Hn=ie(void 0!==dt?dt:void 0!==Rt?Rt:we.default),!Tt){if("number"==typeof Hn&&"string"===gt)return`${Hn}`;if("string"!=typeof Hn||"string"===gt)return Hn;try{return JSON.parse(Hn)}catch{return Hn}}if(we||(gt=(0,o.default)(Hn)?"array":typeof Hn),"array"===gt){if(!(0,o.default)(Hn)){if("string"==typeof Hn)return Hn;Hn=[Hn]}const En=we?we.items:void 0;En&&(En.xml=En.xml||De||{},En.xml.name=En.xml.name||De.name);let Qn=(0,h.default)(Hn).call(Hn,$r=>ye(En,Ke,$r,Tt));return Qn=mt(Qn),De.wrapped?(fe[xn]=Qn,(0,P.default)(Me)||fe[xn].push({_attr:Me})):fe=Qn,fe}if("object"===gt){if("string"==typeof Hn)return Hn;
1for(let En in Hn)Object.prototype.hasOwnProperty.call(Hn,En)&&(we&&bt[En]&&bt[En].readOnly&&!Xn||we&&bt[En]&&bt[En].writeOnly&&!Cr||(we&&bt[En]&&bt[En].xml&&bt[En].xml.attribute?Me[bt[En].xml.name||En]=Hn[En]:zt(En,Hn[En])));return(0,P.default)(Me)||fe[xn].push({_attr:Me}),fe}return fe[xn]=(0,P.default)(Me)?Hn:[{_attr:Me},Hn],fe}if("object"===gt){for(let Hn in bt)Object.prototype.hasOwnProperty.call(bt,Hn)&&(bt[Hn]&&bt[Hn].deprecated||bt[Hn]&&bt[Hn].readOnly&&!Xn||bt[Hn]&&bt[Hn].writeOnly&&!Cr||zt(Hn));if(Tt&&Me&&fe[xn].push({_attr:Me}),wr())return fe;if(!0===rn)Tt?fe[xn].push({additionalProp:"Anything can be here"}):fe.additionalProp1={},hn++;else if(rn){const Hn=(0,T.mz)(rn),En=ye(Hn,Ke,void 0,Tt);if(Tt&&Hn.xml&&Hn.xml.name&&"notagname"!==Hn.xml.name)fe[xn].push(En);else{const Qn=null!=we.minProperties&&hn<we.minProperties?we.minProperties-hn:3;for(let $r=1;$r<=Qn;$r++){if(wr())return fe;if(Tt){const ao={};ao["additionalProp"+$r]=En.notagname,fe[xn].push(ao)}else fe["additionalProp"+$r]=En;hn++}}}return fe}if("array"===gt){if(!In)return;let Hn;var Qr,so;if(Tt&&(In.xml=In.xml||(null===(Qr=we)||void 0===Qr?void 0:Qr.xml)||{},In.xml.name=In.xml.name||De.name),(0,o.default)(In.anyOf))Hn=(0,h.default)(so=In.anyOf).call(so,En=>ye(it(In,En,Ke),Ke,void 0,Tt));else if((0,o.default)(In.oneOf)){var Kr;Hn=(0,h.default)(Kr=In.oneOf).call(Kr,En=>ye(it(In,En,Ke),Ke,void 0,Tt))}else{if(!(!Tt||Tt&&De.wrapped))return ye(In,Ke,void 0,Tt);Hn=[ye(In,Ke,void 0,Tt)]}return Hn=mt(Hn),Tt&&De.wrapped?(fe[xn]=Hn,(0,P.default)(Me)||fe[xn].push({_attr:Me}),fe):Hn}let os;if(we&&(0,o.default)(we.enum))os=(0,T.AF)(we.enum)[0];else{if(!we)return;if(os=ee(we),"number"==typeof os){let Hn=we.minimum;null!=Hn&&(we.exclusiveMinimum&&Hn++,os=Hn);let En=we.maximum;null!=En&&(we.exclusiveMaximum&&En--,os=En)}if("string"==typeof os&&(null!=we.maxLength&&(os=(0,l.default)(os).call(os,0,we.maxLength)),null!=we.minLength)){let Hn=0;for(;os.length<we.minLength;)os+=os[Hn++%os.length]}}if("file"!==gt)return Tt?(fe[xn]=(0,P.default)(Me)?os:[{_attr:Me},os],fe):os},xe=we=>(we.schema&&(we=we.schema),we.properties&&(we.type="object"),we),ze=(we,Ke,dt)=>{const Tt=ye(we,Ke,dt,!0);if(Tt)return"string"==typeof Tt?Tt:x()(Tt,{declaration:!0,indent:"\t"})},qe=(we,Ke,dt)=>ye(we,Ke,dt,!1),Et=(we,Ke,dt)=>[we,(0,v.default)(Ke),(0,v.default)(dt)],Ne=(0,H.Z)(ze,Et),je=(0,H.Z)(qe,Et)},8883:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(2473);function i(){return{fn:r}}},5179:(n,t,e)=>{e.r(t),e.d(t,{CLEAR_REQUEST:()=>dt,CLEAR_RESPONSE:()=>Ke,CLEAR_VALIDATE_PARAMS:()=>Tt,LOG_REQUEST:()=>we,SET_MUTATED_REQUEST:()=>je,SET_REQUEST:()=>Ne,SET_RESPONSE:()=>Et,SET_SCHEME:()=>$e,UPDATE_EMPTY_PARAM_INCLUSION:()=>ze,UPDATE_JSON:()=>ye,UPDATE_OPERATION_META_VALUE:()=>Ae,UPDATE_PARAM:()=>xe,UPDATE_RESOLVED:()=>Pe,UPDATE_RESOLVED_SUBTREE:()=>Xe,UPDATE_SPEC:()=>Ue,UPDATE_URL:()=>it,VALIDATE_PARAMS:()=>qe,changeConsumesValue:()=>zt,changeParam:()=>_t,changeParamByIdentity:()=>Or,changeProducesValue:()=>hn,clearRequest:()=>os,clearResponse:()=>Kr,clearValidateParams:()=>bt,execute:()=>so,executeRequest:()=>Qr,invalidateResolvedSubtreeCache:()=>fe,logRequest:()=>ci,parseToJson:()=>kt,requestResolvedSubtree:()=>xn,resolveSpec:()=>In,setMutatedRequest:()=>li,setRequest:()=>Fr,setResponse:()=>wr,setScheme:()=>Hn,updateEmptyParamInclusion:()=>mt,updateJsonSpec:()=>Rt,updateResolved:()=>De,updateResolvedSubtree:()=>Q,updateSpec:()=>Me,updateUrl:()=>gt,validateParams:()=>Ce});var r=e(4163),i=e(2565),o=e(6718),s=e.n(o),a=e(6785),l=e(7930);const u=(e.d(Qn={},{default:()=>Lp()}),Qn);var Qn,f=e(6145),h=e(374),v=e(8818),m=e(29),x=e(2740),p=e(7512);const P=(En=>{var Qn={};return e.d(Qn,En),Qn})({default:()=>p7e()});var T=e(626),H=e(9725),U=e(8900),ee=e(8518);const ie=(En=>{var Qn={};return e.d(Qn,En),Qn})({default:()=>g7e()}),me=(En=>{var Qn={};return e.d(Qn,En),Qn})({default:()=>y7e()}),ue=(En=>{var Qn={};return e.d(Qn,En),Qn})({default:()=>_7e()});var Se=e(6298);const Ue="spec_update_spec",it="spec_update_url",ye="spec_update_json",xe="spec_update_param",ze="spec_update_empty_param_inclusion",qe="spec_validate_param",Et="spec_set_response",Ne="spec_set_request",je="spec_set_mutated_request",we="spec_log_request",Ke="spec_clear_response",dt="spec_clear_request",Tt="spec_clear_val
1idate_param",Ae="spec_update_operation_meta_value",Pe="spec_update_resolved",Xe="spec_update_resolved_subtree",$e="set_scheme";function Me(En){const Qn=($r=En,(0,ie.default)($r)?$r:"").replace(/\t/g," ");var $r;if("string"==typeof En)return{type:Ue,payload:Qn}}function De(En){return{type:Pe,payload:En}}function gt(En){return{type:it,payload:En}}function Rt(En){return{type:ye,payload:En}}const kt=En=>Qn=>{let{specActions:$r,specSelectors:ao,errActions:Ri}=Qn,{specStr:cs}=ao,dn=null;try{En=En||cs(),Ri.clear({source:"parser"}),dn=T.default.load(En,{schema:T.JSON_SCHEMA})}catch(Yn){return console.error(Yn),Ri.newSpecErr({source:"parser",level:"error",message:Yn.reason,line:Yn.mark&&Yn.mark.line?Yn.mark.line+1:void 0})}return dn&&"object"==typeof dn?$r.updateJsonSpec(dn):{}};let rn=!1;const In=(En,Qn)=>$r=>{let{specActions:ao,specSelectors:Ri,errActions:cs,fn:{fetch:dn,resolve:Yn,AST:dr={}},getConfigs:kr}=$r;rn||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),rn=!0);const{modelPropertyMacro:_r,parameterMacro:zr,requestInterceptor:Ni,responseInterceptor:zo}=kr();void 0===En&&(En=Ri.specJson()),void 0===Qn&&(Qn=Ri.url());let Ft=dr.getLineNumberForPath?dr.getLineNumberForPath:()=>{},er=Ri.specStr();return Yn({fetch:dn,spec:En,baseDoc:Qn,modelPropertyMacro:_r,parameterMacro:zr,requestInterceptor:Ni,responseInterceptor:zo}).then(lr=>{let{spec:Gr,errors:ei}=lr;if(cs.clear({type:"thrown"}),(0,r.default)(ei)&&ei.length>0){let Tr=(0,i.default)(ei).call(ei,Xi=>(console.error(Xi),Xi.line=Xi.fullPath?Ft(er,Xi.fullPath):null,Xi.path=Xi.fullPath?Xi.fullPath.join("."):null,Xi.level="error",Xi.type="thrown",Xi.source="resolver",s()(Xi,"message",{enumerable:!0,value:Xi.message}),Xi));cs.newThrownErrBatch(Tr)}return ao.updateResolved(Gr)})};let Xn=[];const Cr=(0,me.default)(Mr(function*(){const En=Xn.system;if(!En)return void console.error("debResolveSubtrees: don't have a system to operate on, aborting.");const{errActions:Qn,errSelectors:$r,fn:{resolveSubtree:ao,fetch:Ri,AST:cs={}},specSelectors:dn,specActions:Yn}=En;if(!ao)return void console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing.");let dr=cs.getLineNumberForPath?cs.getLineNumberForPath:()=>{};const kr=dn.specStr(),{modelPropertyMacro:_r,parameterMacro:zr,requestInterceptor:Ni,responseInterceptor:zo}=En.getConfigs();try{var Ft=yield(0,a.default)(Xn).call(Xn,function(){var er=Mr(function*(lr,Gr){const{resultMap:ei,specWithCurrentSubtrees:Tr}=yield lr,{errors:Xi,spec:Lo}=yield ao(Tr,Gr,{baseDoc:dn.url(),modelPropertyMacro:_r,parameterMacro:zr,requestInterceptor:Ni,responseInterceptor:zo});if($r.allErrors().size&&Qn.clearBy(Po=>{var xs;return"thrown"!==Po.get("type")||"resolver"!==Po.get("source")||!(0,l.default)(xs=Po.get("fullPath")).call(xs,(Yl,rl)=>Yl===Gr[rl]||void 0===Gr[rl])}),(0,r.default)(Xi)&&Xi.length>0){let Po=(0,i.default)(Xi).call(Xi,xs=>(xs.line=xs.fullPath?dr(kr,xs.fullPath):null,xs.path=xs.fullPath?xs.fullPath.join("."):null,xs.level="error",xs.type="thrown",xs.source="resolver",s()(xs,"message",{enumerable:!0,value:xs.message}),xs));Qn.newThrownErrBatch(Po)}var Ps,qo;return Lo&&dn.isOAS3()&&"components"===Gr[0]&&"securitySchemes"===Gr[1]&&(yield u.default.all((0,i.default)(Ps=(0,f.default)(qo=(0,h.default)(Lo)).call(qo,Po=>"openIdConnect"===Po.type)).call(Ps,function(){var Po=Mr(function*(xs){const Yl={url:xs.openIdConnectUrl,requestInterceptor:Ni,responseInterceptor:zo};try{const rl=yield Ri(Yl);rl instanceof Error||rl.status>=400?console.error(rl.statusText+" "+Yl.url):xs.openIdConnectData=JSON.parse(rl.text)}catch(rl){console.error(rl)}});return function(xs){return Po.apply(this,arguments)}}()))),(0,ue.default)(ei,Gr,Lo),(0,ue.default)(Tr,Gr,Lo),{resultMap:ei,specWithCurrentSubtrees:Tr}});return function(lr,Gr){return er.apply(this,arguments)}}(),u.default.resolve({resultMap:(dn.specResolvedSubtree([])||(0,H.Map)()).toJS(),specWithCurrentSubtrees:dn.specJson().toJS()}));delete Xn.system,Xn=[]}catch(er){console.error(er)}Yn.updateResolvedSubtree([],Ft.resultMap)}),35),xn=En=>Qn=>{var $r;(0,v.default)($r=(0,i.default)(Xn).call(Xn,ao=>ao.join("@@"))).call($r,En.join("@@"))>-1||(Xn.push(En),Xn.system=Qn,Cr())};function _t(En,Qn,$r,ao,Ri){return{type:xe,payload:{path:En,value:ao,paramName:Qn,paramIn:$r,isXml:Ri}}}function Or(En,Qn,$r,ao){return{type:xe,payload:{path:En,param:Qn,value:$r,isXml:a
1o}}}const Q=(En,Qn)=>({type:Xe,payload:{path:En,value:Qn}}),fe=()=>({type:Xe,payload:{path:[],value:(0,H.Map)()}}),Ce=(En,Qn)=>({type:qe,payload:{pathMethod:En,isOAS3:Qn}}),mt=(En,Qn,$r,ao)=>({type:ze,payload:{pathMethod:En,paramName:Qn,paramIn:$r,includeEmptyValue:ao}});function bt(En){return{type:Tt,payload:{pathMethod:En}}}function zt(En,Qn){return{type:Ae,payload:{path:En,value:Qn,key:"consumes_value"}}}function hn(En,Qn){return{type:Ae,payload:{path:En,value:Qn,key:"produces_value"}}}const wr=(En,Qn,$r)=>({payload:{path:En,method:Qn,res:$r},type:Et}),Fr=(En,Qn,$r)=>({payload:{path:En,method:Qn,req:$r},type:Ne}),li=(En,Qn,$r)=>({payload:{path:En,method:Qn,req:$r},type:je}),ci=En=>({payload:En,type:we}),Qr=En=>Qn=>{let{fn:$r,specActions:ao,specSelectors:Ri,getConfigs:cs,oas3Selectors:dn}=Qn,{pathName:Yn,method:dr,operation:kr}=En,{requestInterceptor:_r,responseInterceptor:zr}=cs(),Ni=kr.toJS();var zo,Ft;if(kr&&kr.get("parameters")&&(0,m.default)(zo=(0,f.default)(Ft=kr.get("parameters")).call(Ft,ei=>ei&&!0===ei.get("allowEmptyValue"))).call(zo,ei=>{if(Ri.parameterInclusionSettingFor([Yn,dr],ei.get("name"),ei.get("in"))){En.parameters=En.parameters||{};const Tr=(0,Se.cz)(ei,En.parameters);(!Tr||Tr&&0===Tr.size)&&(En.parameters[ei.get("name")]="")}}),En.contextUrl=(0,U.default)(Ri.url()).toString(),Ni&&Ni.operationId?En.operationId=Ni.operationId:Ni&&Yn&&dr&&(En.operationId=$r.opId(Ni,Yn,dr)),Ri.isOAS3()){const ei=`${Yn}:${dr}`;En.server=dn.selectedServer(ei)||dn.selectedServer();const Tr=dn.serverVariables({server:En.server,namespace:ei}).toJS(),Xi=dn.serverVariables({server:En.server}).toJS();En.serverVariables=(0,x.default)(Tr).length?Tr:Xi,En.requestContentType=dn.requestContentType(Yn,dr),En.responseContentType=dn.responseContentType(Yn,dr)||"*/*";const Lo=dn.requestBodyValue(Yn,dr),Ps=dn.requestBodyInclusionSetting(Yn,dr);var er;En.requestBody=Lo&&Lo.toJS?(0,f.default)(er=(0,i.default)(Lo).call(Lo,qo=>H.Map.isMap(qo)?qo.get("value"):qo)).call(er,(qo,Po)=>((0,r.default)(qo)?0!==qo.length:!(0,Se.O2)(qo))||Ps.get(Po)).toJS():Lo}let lr=(0,p.default)({},En);lr=$r.buildRequest(lr),ao.setRequest(En.pathName,En.method,lr),En.requestInterceptor=function(){var ei=Mr(function*(Tr){let Xi=yield _r.apply(void 0,[Tr]),Lo=(0,p.default)({},Xi);return ao.setMutatedRequest(En.pathName,En.method,Lo),Xi});return function(Tr){return ei.apply(this,arguments)}}(),En.responseInterceptor=zr;const Gr=(0,P.default)();return $r.execute(En).then(ei=>{ei.duration=(0,P.default)()-Gr,ao.setResponse(En.pathName,En.method,ei)}).catch(ei=>{"Failed to fetch"===ei.message&&(ei.name="",ei.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),ao.setResponse(En.pathName,En.method,{error:!0,err:(0,ee.serializeError)(ei)})})},so=function(){let{path:En,method:Qn,...$r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ao=>{let{fn:{fetch:Ri},specSelectors:cs,specActions:dn}=ao,Yn=cs.specJsonWithResolvedSubtrees().toJS(),dr=cs.operationScheme(En,Qn),{requestContentType:kr,responseContentType:_r}=cs.contentTypeValues([En,Qn]).toJS(),zr=/xml/i.test(kr),Ni=cs.parameterValues([En,Qn],zr).toJS();return dn.executeRequest({...$r,fetch:Ri,spec:Yn,pathName:En,method:Qn,parameters:Ni,requestContentType:kr,scheme:dr,responseContentType:_r})}};function Kr(En,Qn){return{type:Ke,payload:{path:En,method:Qn}}}function os(En,Qn){return{type:dt,payload:{path:En,method:Qn}}}function Hn(En,Qn,$r){return{type:$e,payload:{scheme:En,path:Qn,method:$r}}}},7038:(n,t,e)=>{e.r(t),e.d(t,{default:()=>a});var r=e(32),i=e(5179),o=e(3881),s=e(7508);function a(){return{statePlugins:{spec:{wrapActions:s,reducers:r.default,actions:i,selectors:o}}}}},32:(n,t,e)=>{e.r(t),e.d(t,{default:()=>h});var r=e(6785),i=e(2565),o=e(7512),s=e(9725),a=e(6298),l=e(7504),u=e(3881),f=e(5179);const h={[f.UPDATE_SPEC]:(v,m)=>"string"==typeof m.payload?v.set("spec",m.payload):v,[f.UPDATE_URL]:(v,m)=>v.set("url",m.payload+""),[f.UPDATE_JSON]:(v,m)=>v.set("json",(0,a.oG)(m.payload)),[f.UPDATE_RESOLVED]:(v,m)=>v.setIn(["resolved"],(0,a.oG)(m.payload)),[f.UPDATE_RESOLVED_SUBTREE]:(v,m)=>{const{value:x,path:p}=m.payload;return v.setIn(["resolvedSubtrees",...p],(0,a.oG)(x))},[f.UPDATE_PARAM]:(v,m)=>{let{payload:x}=m,{path:p,paramName:P,paramIn:T,param:H,value:U,isXml:ee}=x,ie=H?(0,a.V9)(H):`${T}.${P}`;return v.setIn(["meta","paths",...p,"parameters",ie,ee?"value_xml":"value"],U)},[f.UPDATE_EMPTY_PARAM_INCLUSION]:(v,m)=>{let{payload:x}=m,{pathMethod:p,paramName:P,paramIn:T,includeEmptyValue:H}=x;return P&&T?v.setIn(["meta","paths",...p,"parameter_inclusions",`${T}.${P}`],H):(console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),v)},[f.VALIDATE_PARAMS]:(v,m)=>{let{payload:{pathMethod:x,isOAS3:p}}=m;const P=(0,u.specJsonWithResolvedSubtrees)(v).getIn(["paths",...x]),T=(0,u.parameterValues)(v,x).toJS();return v.updateIn(["meta","paths",...x,"parameters"],(0,s.fromJS)({}),H=>{var U;return(0,r.default)(U=P.get("parameters",(0,s.List)())).call(U,(ee,ie)=>{const me=(0,a.cz)(ie,T),ue=(0,u.parameterInclusionSettingFor)(v,x,ie.get("name"),ie.get("in")),Se=(0,a.Ik)(ie,me,{bypassRequiredCheck:ue,isOAS3:p});return ee.setIn([(0,a.V9)(ie),"errors"],(0,s.fromJS)(Se))},H)})},[f.CLEAR_VALIDATE_PARAMS]:(v,m)=>{let{payload:{pathMethod:x}}=m;return v.updateIn(["meta","paths",...x,"parameters"],(0,s.fromJS)([]),p=>(0,i.default)(p).call(p,P=>P.set("errors",(0,s.fromJS)([]))))},[f.SET_RESPONSE]:(v,m)=>{let x,{payload:{res:p,path:P,method:T}}=m;x=p.error?(0,o.default)({error:!0,name:p.err.name,message:p.err.message,statusCode:p.err.statusCode},p.err.response):p,x.headers=x.headers||{};let H=v.setIn(["responses",P,T],(0,a.oG)(x));return l.Z.Blob&&p.data instanceof l.Z.Blob&&(H=H.setIn(["responses",P,T,"text"],p.data)),H},[f.SET_REQUEST]:(v,m)=>{let{payload:{req:x,path:p,method:P}}=m;return v.setIn(["requests",p,P],(0,a.oG)(x))},[f.SET_MUTATED_REQUEST]:(v,m)=>{let{payload:{req:x,path:p,method:P}}=m;return v.setIn(["mutatedRequests",p,P],(0,a.oG)(x))},[f.UPDATE_OPERATION_META_VALUE]:(v,m)=>{let{payload:{path:x,value:p,key:P}}=m,T=["paths",...x],H=["meta","paths",...x];return v.getIn(["json",...T])||v.getIn(["resolved",...T])||v.getIn(["resolvedSubtrees",...T])?v.setIn([...H,P],(0,s.fromJS)(p)):v},[f.CLEAR_RESPONSE]:(v,m)=>{let{payload:{path:x,method:p}}=m;return v.deleteIn(["responses",x,p])},[f.CLEAR_REQUEST]:(v,m)=>{let{payload:{path:x,method:p}}=m;return v.deleteIn(["requests",x,p])},[f.SET_SCHEME]:(v,m)=>{let{payload:{scheme:x,path:p,method:P}}=m;return p&&P?v.setIn(["scheme",p,P],x):p||P?void 0:v.setIn(["scheme","_defaultScheme"],x)}}},3881:(n,t,e)=>{e.r(t),e.d(t,{lastError:()=>H,url:()=>U,specStr:()=>ee,specSource:()=>ie,specJson:()=>me,specResolved:()=>ue,specResolvedSubtree:()=>Se,specJsonWithResolvedSubtrees:()=>it,spec:()=>ye,isOAS3:()=>xe,info:()=>ze,externalDocs:()=>qe,version:()=>Et,semver:()=>Ne,paths:()=>je,operations:()=>we,consumes:()=>Ke,produces:()=>dt,security:()=>Tt,securityDefinitions:()=>Ae,findDefinition:()=>Pe,definitions:()=>Xe,basePath:()=>$e,host:()=>Me,schemes:()=>De,operationsWithRootInherited:()=>gt,tags:()=>Rt,tagDetails:()=>kt,operationsWithTags:()=>rn,taggedOperations:()=>In,responses:()=>Xn,requests:()=>Cr,mutatedRequests:()=>xn,responseFor:()=>_t,requestFor:()=>Or,mutatedRequestFor:()=>Q,allowTryItOutFor:()=>fe,parameterWithMetaByIdentity:()=>Ce,parameterInclusionSettingFor:()=>mt,parameterWithMeta:()=>bt,operationWithMeta:()=>zt,getParameter:()=>hn,hasHost:()=>wr,parameterValues:()=>Fr,parametersIncludeIn:()=>li,parametersIncludeType:()=>ci,contentTypeValues:()=>Qr,currentProducesFor:()=>so,producesOptionsFor:()=>Kr,consumesOptionsFor:()=>
1os,operationScheme:()=>Hn,canExecuteScheme:()=>En,validationErrors:()=>Qn,validateBeforeExecute:()=>$r,getOAS3RequiredRequestBodyContentType:()=>ao,isMediaTypeSchemaPropertiesEqual:()=>Ri});var r=e(8136),i=e(29),o=e(8818),s=e(2565),a=e(6145),l=e(1778),u=e(6785),f=e(4350),h=e(9963),v=e(4163),m=e(8639),x=e(6298),p=e(9725);const P=["get","put","post","delete","options","head","patch","trace"],T=dn=>dn||(0,p.Map)(),H=(0,m.createSelector)(T,dn=>dn.get("lastError")),U=(0,m.createSelector)(T,dn=>dn.get("url")),ee=(0,m.createSelector)(T,dn=>dn.get("spec")||""),ie=(0,m.createSelector)(T,dn=>dn.get("specSource")||"not-editor"),me=(0,m.createSelector)(T,dn=>dn.get("json",(0,p.Map)())),ue=(0,m.createSelector)(T,dn=>dn.get("resolved",(0,p.Map)())),Se=(dn,Yn)=>dn.getIn(["resolvedSubtrees",...Yn],void 0),Ue=(dn,Yn)=>p.Map.isMap(dn)&&p.Map.isMap(Yn)?Yn.get("$$ref")?Yn:(0,p.OrderedMap)().mergeWith(Ue,dn,Yn):Yn,it=(0,m.createSelector)(T,dn=>(0,p.OrderedMap)().mergeWith(Ue,dn.get("json"),dn.get("resolvedSubtrees"))),ye=dn=>me(dn),xe=(0,m.createSelector)(ye,()=>!1),ze=(0,m.createSelector)(ye,dn=>cs(dn&&dn.get("info"))),qe=(0,m.createSelector)(ye,dn=>cs(dn&&dn.get("externalDocs"))),Et=(0,m.createSelector)(ze,dn=>dn&&dn.get("version")),Ne=(0,m.createSelector)(Et,dn=>{var Yn;return(0,r.default)(Yn=/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(dn)).call(Yn,1)}),je=(0,m.createSelector)(it,dn=>dn.get("paths")),we=(0,m.createSelector)(je,dn=>{if(!dn||dn.size<1)return(0,p.List)();let Yn=(0,p.List)();return dn&&(0,i.default)(dn)?((0,i.default)(dn).call(dn,(dr,kr)=>{if(!dr||!(0,i.default)(dr))return{};(0,i.default)(dr).call(dr,(_r,zr)=>{(0,o.default)(P).call(P,zr)<0||(Yn=Yn.push((0,p.fromJS)({path:kr,method:zr,operation:_r,id:`${zr}-${kr}`})))})}),Yn):(0,p.List)()}),Ke=(0,m.createSelector)(ye,dn=>(0,p.Set)(dn.get("consumes"))),dt=(0,m.createSelector)(ye,dn=>(0,p.Set)(dn.get("produces"))),Tt=(0,m.createSelector)(ye,dn=>dn.get("security",(0,p.List)())),Ae=(0,m.createSelector)(ye,dn=>dn.get("securityDefinitions")),Pe=(dn,Yn)=>{const dr=dn.getIn(["resolvedSubtrees","definitions",Yn],null),kr=dn.getIn(["json","definitions",Yn],null);return dr||kr||null},Xe=(0,m.createSelector)(ye,dn=>{const Yn=dn.get("definitions");return p.Map.isMap(Yn)?Yn:(0,p.Map)()}),$e=(0,m.createSelector)(ye,dn=>dn.get("basePath")),Me=(0,m.createSelector)(ye,dn=>dn.get("host")),De=(0,m.createSelector)(ye,dn=>dn.get("schemes",(0,p.Map)())),gt=(0,m.createSelector)(we,Ke,dt,(dn,Yn,dr)=>(0,s.default)(dn).call(dn,kr=>kr.update("operation",_r=>_r?p.Map.isMap(_r)?_r.withMutations(zr=>(zr.get("consumes")||zr.update("consumes",Ni=>(0,p.Set)(Ni).merge(Yn)),zr.get("produces")||zr.update("produces",Ni=>(0,p.Set)(Ni).merge(dr)),zr)):void 0:(0,p.Map)()))),Rt=(0,m.createSelector)(ye,dn=>{const Yn=dn.get("tags",(0,p.List)());return p.List.isList(Yn)?(0,a.default)(Yn).call(Yn,dr=>p.Map.isMap(dr)):(0,p.List)()}),kt=(dn,Yn)=>{var dr;let kr=Rt(dn)||(0,p.List)();return(0,l.default)(dr=(0,a.default)(kr).call(kr,p.Map.isMap)).call(dr,_r=>_r.get("name")===Yn,(0,p.Map)())},rn=(0,m.createSelector)(gt,Rt,(dn,Yn)=>(0,u.default)(dn).call(dn,(dr,kr)=>{let _r=(0,p.Set)(kr.getIn(["operation","tags"]));return _r.count()<1?dr.update("default",(0,p.List)(),zr=>zr.push(kr)):(0,u.default)(_r).call(_r,(zr,Ni)=>zr.update(Ni,(0,p.List)(),zo=>zo.push(kr)),dr)},(0,u.default)(Yn).call(Yn,(dr,kr)=>dr.set(kr.get("name"),(0,p.List)()),(0,p.OrderedMap)()))),In=dn=>Yn=>{var dr;let{getConfigs:kr}=Yn,{tagsSorter:_r,operationsSorter:zr}=kr();return(0,s.default)(dr=rn(dn).sortBy((Ni,zo)=>zo,(Ni,zo)=>{let Ft="function"==typeof _r?_r:x.wh.tagsSorter[_r];return Ft?Ft(Ni,zo):null})).call(dr,(Ni,zo)=>{let Ft="function"==typeof zr?zr:x.wh.operationsSorter[zr],er=Ft?(0,f.default)(Ni).call(Ni,Ft):Ni;return(0,p.Map)({tagDetails:kt(dn,zo),operations:er})})},Xn=(0,m.createSelector)(T,dn=>dn.get("responses",(0,p.Map)())),Cr=(0,m.createSelector)(T,dn=>dn.get("requests",(0,p.Map)())),xn=(0,m.createSelector)(T,dn=>dn.get("mutatedRequests",(0,p.Map)())),_t=(dn,Yn,dr)=>Xn(dn).getIn([Yn,dr],null),Or=(dn,Yn,dr)=>Cr(dn).getIn([Yn,dr],null),Q=(dn,Yn,dr)=>xn(dn).getIn([Yn,dr],null),fe=()=>!0,Ce=(dn,Yn,dr)=>{const kr=it(dn).getIn(["paths",...Yn,"parameters"],(0,p.OrderedMap)()),_r=dn.getIn(["meta","paths",...Yn,"parameters"],(0,p.OrderedMap)()),zr=(0,s.default)(kr).call(kr,Ni=>{const zo=_r.get(`${dr.get("in")}.${dr.get("name")}`),Ft=_r.get(`${dr.get("in")}.${dr.get("name")}.hash-${dr.hashCode()}`);return(0,p.OrderedMap)().merge(Ni,zo,Ft)});return(0,l.default)(zr).call(zr,Ni=>Ni.get("in")===dr.get("in")&&Ni.get("name")===dr.get("name"),(0,p.OrderedMap)())},mt=(dn,Yn,dr,kr)=>dn.getIn(["meta","paths",...Yn,"parameter_inclusions",`${kr}.${dr}`],!1),bt=(dn,Yn,dr,kr)=>{const _r=it(dn).getIn(["paths",...Yn,"parameters"],(0,p.OrderedMap)()),zr=(0,l.default)(_r).call(_r,Ni=>Ni.get("in")===kr&&Ni.get("name")===dr,(0,p.OrderedMap)());return Ce(dn,Yn,zr)},zt=(dn,Yn,dr)=>{var kr;
1const _r=it(dn).getIn(["paths",Yn,dr],(0,p.OrderedMap)()),zr=dn.getIn(["meta","paths",Yn,dr],(0,p.OrderedMap)()),Ni=(0,s.default)(kr=_r.get("parameters",(0,p.List)())).call(kr,zo=>Ce(dn,[Yn,dr],zo));return(0,p.OrderedMap)().merge(_r,zr).set("parameters",Ni)};function hn(dn,Yn,dr,kr){Yn=Yn||[];let _r=dn.getIn(["meta","paths",...Yn,"parameters"],(0,p.fromJS)([]));return(0,l.default)(_r).call(_r,zr=>p.Map.isMap(zr)&&zr.get("name")===dr&&zr.get("in")===kr)||(0,p.Map)()}const wr=(0,m.createSelector)(ye,dn=>{const Yn=dn.get("host");return"string"==typeof Yn&&Yn.length>0&&"/"!==Yn[0]});function Fr(dn,Yn,dr){Yn=Yn||[];let kr=zt(dn,...Yn).get("parameters",(0,p.List)());return(0,u.default)(kr).call(kr,(_r,zr)=>{let Ni=dr&&"body"===zr.get("in")?zr.get("value_xml"):zr.get("value");return _r.set((0,x.V9)(zr,{allowHashes:!1}),Ni)},(0,p.fromJS)({}))}function li(dn){let Yn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(p.List.isList(dn))return(0,h.default)(dn).call(dn,dr=>p.Map.isMap(dr)&&dr.get("in")===Yn)}function ci(dn){let Yn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(p.List.isList(dn))return(0,h.default)(dn).call(dn,dr=>p.Map.isMap(dr)&&dr.get("type")===Yn)}function Qr(dn,Yn){Yn=Yn||[];let dr=it(dn).getIn(["paths",...Yn],(0,p.fromJS)({})),kr=dn.getIn(["meta","paths",...Yn],(0,p.fromJS)({})),_r=so(dn,Yn);const zr=dr.get("parameters")||new p.List,Ni=kr.get("consumes_value")?kr.get("consumes_value"):ci(zr,"file")?"multipart/form-data":ci(zr,"formData")?"application/x-www-form-urlencoded":void 0;return(0,p.fromJS)({requestContentType:Ni,responseContentType:_r})}function so(dn,Yn){Yn=Yn||[];const dr=it(dn).getIn(["paths",...Yn],null);if(null===dr)return;const kr=dn.getIn(["meta","paths",...Yn,"produces_value"],null),_r=dr.getIn(["produces",0],null);return kr||_r||"application/json"}function Kr(dn,Yn){Yn=Yn||[];const dr=it(dn),kr=dr.getIn(["paths",...Yn],null);if(null===kr)return;const[_r]=Yn,zr=kr.get("produces",null),Ni=dr.getIn(["paths",_r,"produces"],null),zo=dr.getIn(["produces"],null);return zr||Ni||zo}function os(dn,Yn){Yn=Yn||[];const dr=it(dn),kr=dr.getIn(["paths",...Yn],null);if(null===kr)return;const[_r]=Yn,zr=kr.get("consumes",null),Ni=dr.getIn(["paths",_r,"consumes"],null),zo=dr.getIn(["consumes"],null);return zr||Ni||zo}const Hn=(dn,Yn,dr)=>{let kr=dn.get("url").match(/^([a-z][a-z0-9+\-.]*):/),_r=(0,v.default)(kr)?kr[1]:null;return dn.getIn(["scheme",Yn,dr])||dn.getIn(["scheme","_defaultScheme"])||_r||""},En=(dn,Yn,dr)=>{var kr;return(0,o.default)(kr=["http","https"]).call(kr,Hn(dn,Yn,dr))>-1},Qn=(dn,Yn)=>{Yn=Yn||[];let dr=dn.getIn(["meta","paths",...Yn,"parameters"],(0,p.fromJS)([]));const kr=[];return(0,i.default)(dr).call(dr,_r=>{let zr=_r.get("errors");zr&&zr.count()&&(0,i.default)(zr).call(zr,Ni=>kr.push(Ni))}),kr},$r=(dn,Yn)=>0===Qn(dn,Yn).length,ao=(dn,Yn)=>{var dr;let kr={requestBody:!1,requestContentType:{}},_r=dn.getIn(["resolvedSubtrees","paths",...Yn,"requestBody"],(0,p.fromJS)([]));return _r.size<1||(_r.getIn(["required"])&&(kr.requestBody=_r.getIn(["required"])),(0,i.default)(dr=_r.getIn(["content"]).entrySeq()).call(dr,zr=>{const Ni=zr[0];if(zr[1].getIn(["schema","required"])){const zo=zr[1].getIn(["schema","required"]).toJS();kr.requestContentType[Ni]=zo}})),kr},Ri=(dn,Yn,dr,kr)=>{if((dr||kr)&&dr===kr)return!0;let _r=dn.getIn(["resolvedSubtrees","paths",...Yn,"requestBody","content"],(0,p.fromJS)([]));if(_r.size<2||!dr||!kr)return!1;let zr=_r.getIn([dr,"schema","properties"],(0,p.fromJS)([])),Ni=_r.getIn([kr,"schema","properties"],(0,p.fromJS)([]));return!!zr.equals(Ni)};function cs(dn){return p.Map.isMap(dn)?dn:new p.Map}},7508:(n,t,e)=>{e.r(t),e.d(t,{updateSpec:()=>s,updateJsonSpec:()=>a,executeRequest:()=>l,validateParams:()=>u});var r=e(2740),i=e(29),o=e(9908);const s=(f,h)=>{let{specActions:v}=h;return function(){f(...arguments),v.parseToJson(...arguments)}},a=(f,h)=>{let{specActions:v}=h;return function(){for(var m=arguments.length,x=new Array(m),p=0;p<m;p++)x[p]=arguments[p];f(...x),v.invalidateResolvedSubtreeCache();const[P]=x,T=(0,o.default)(P,["paths"])||{},H=(0,r.default)(T);(0,i.default)(H).call(H,U=>{(0,o.default)(T,[U]).$ref&&v.requestResolvedSubtree(["paths",U])}),v.requestResolvedSubtree(["components","securitySchemes"])}},l=(f,h)=>{let{specActions:v}=h;return m=>(v.logRequest(m),f(m))},u=(f,h)=>{let{specSelectors:v}=h;return m=>f(m,v.isOAS3())}},4852:(n,t,e)=>{e.r(t),e.d(t,{loaded:()=>r});const r=(i,o)=>function(){i(...arguments);const s=o.getConfigs().withCredentials;void 0!==s&&(o.fn.fetch.withCredentials="string"==typeof s?"true"===s:!!s)}},2990:(n,t,e)=>{e.r(t),e.d(t,{default:()=>u});const r=(e.d(h={},{default:()=>Cq}),h),i=(f=>{var h={};return e.d(h,f),h})({buildRequest:()=>Tq,execute:()=>U9e}),o=(f=>{var h={};return e.d(h,f),h})({default:()=>kk,makeHttp:()=>nye,serializeRes:()=>MW}),s=(f=>{var h={};return e.d(h,f),h})({default:()=>K9e});var h,a=e(5013),l=e(4852);function u(f){let{configs:h,getConfigs:v}=f;return{fn:{fetch:(0,o.makeHttp)(o.default,h.preFetch,h.postFetch),buildRequest:i.buildRequest,execute:i.execute,resolve:r.default,resolveSubtree:function(m,x,p){if(void 0===p){const U=v();p={modelPropertyMacro:U.modelPropertyMacro,parameterMacro:U.parameterMacro,requestInterceptor:U.requestInterceptor,responseInterceptor:U.responseInterceptor}}for(var P=arguments.length,T=new Array(P>3?P-3:0),H=3;H<P;H++)T[H-3]=arguments[H];return(0,s.default)(m,x,p,...T)},serializeRes:o.serializeRes,opId:a.opId},statePlugins:{configs:{wrapActions:{loaded:l.loaded}}}}}},8525:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});var r=e(6298);function i(){return{fn:{shallowEqualKeys:r.be}}}},8347:(n,t,e)=>{e.r(t),e.d(t,{getDisplayName:()=>r});const r=i=>i.displayName||i.name||"Component"},3420:(n,t,e)=>{e.r(t),e.d(t,{default:()=>l});
1var r=e(313),i=e(6298),o=e(5005),s=e(8347),a=e(9669);const l=u=>{let{getComponents:f,getStore:h,getSystem:v}=u;const m=(x=(0,o.getComponent)(v,h,f),(0,i.HP)(x,function(){for(var P=arguments.length,T=new Array(P),H=0;H<P;H++)T[H]=arguments[H];return(0,r.default)(T)}));var x,P;return{rootInjects:{getComponent:m,makeMappedContainer:(P=(0,o.withMappedContainer)(v,h,m),(0,a.Z)(P,function(){for(var T=arguments.length,H=new Array(T),U=0;U<T;U++)H[U]=arguments[U];return H})),render:(0,o.render)(v,h,o.getComponent,f)},fn:{getDisplayName:s.getDisplayName}}}},5005:(n,t,e)=>{e.r(t),e.d(t,{getComponent:()=>T,render:()=>P,withMappedContainer:()=>p});var r=e(863),i=e(2740),o=e(810);const s=(e.d(U={},{default:()=>Iq}),U);var U,a=e(9871);const l=(H=>{var U={};return e.d(U,H),U})({Provider:()=>tbe,connect:()=>Rbe}),u=(H=>{var U={};return e.d(U,H),U})({default:()=>Fbe()}),f=(H=>{var U={};return e.d(U,H),U})({default:()=>Bbe()}),h=H=>U=>{const{fn:ee}=H();class ie extends o.Component{render(){return o.default.createElement(U,(0,r.default)({},H(),this.props,this.context))}}return ie.displayName=`WithSystem(${ee.getDisplayName(U)})`,ie},v=(H,U)=>ee=>{const{fn:ie}=H();class me extends o.Component{render(){return o.default.createElement(l.Provider,{store:U},o.default.createElement(ee,(0,r.default)({},this.props,this.context)))}}return me.displayName=`WithRoot(${ie.getDisplayName(ee)})`,me},m=(H,U,ee)=>(0,a.compose)(ee?v(H,ee):f.default,(0,l.connect)((ie,me)=>{var ue;const Se={...me,...H()};return((null===(ue=U.prototype)||void 0===ue?void 0:ue.mapStateToProps)||(it=>({state:it})))(ie,Se)}),h(H))(U),x=(H,U,ee,ie)=>{for(const me in U){const ue=U[me];"function"==typeof ue&&ue(ee[me],ie[me],H())}},p=(H,U,ee)=>(ie,me)=>{const{fn:ue}=H(),Se=ee(ie,"root");class Ue extends o.Component{constructor(ye,xe){super(ye,xe),x(H,me,ye,{})}UNSAFE_componentWillReceiveProps(ye){x(H,me,ye,this.props)}render(){const ye=(0,u.default)(this.props,me?(0,i.default)(me):[]);return o.default.createElement(Se,ye)}}return Ue.displayName=`WithMappedContainer(${ue.getDisplayName(Se)})`,Ue},P=(H,U,ee,ie)=>me=>{const ue=ee(H,U,ie)("App","root");s.default.render(o.default.createElement(ue,null),me)},T=(H,U,ee)=>function(ie,me){let ue=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"!=typeof ie)throw new TypeError("Need a string, to fetch a component. Was given a "+typeof ie);const Se=ee(ie);return Se?me?"root"===me?m(H,Se,U()):m(H,Se):Se:(ue.failSilently||H().log.warn("Could not find component:",ie),null)}},471:(n,t,e)=>{e.d(t,{d3:()=>o.default,C2:()=>ie});var r=e(2740),i=e(2372);const o=(e.d(ue={},{default:()=>a_e}),ue),s=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>u_e}),a=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>h_e}),l=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>g_e}),u=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>b_e}),f=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>w_e}),h=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>E_e}),v=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>D_e}),m=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>k_e}),x=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>T_e}),p=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>I_e}),P=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>O_e}),T=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>R_e}),H=(me=>{var ue={};return e.d(ue,me),ue})({default:()=>L_e});var ue;o.default.registerLanguage("json",a.default),o.default.registerLanguage("js",s.default),o.default.registerLanguage("xml",l.default),o.default.registerLanguage("yaml",f.default),o.default.registerLanguage("http",h.default),o.default.registerLanguage("bash",u.default),o.default.registerLanguage("powershell",v.default),o.default.registerLanguage("javascript",s.default);const U={agate:m.default,arta:x.default,monokai:p.default,nord:P.default,obsidian:T.default,"tomorrow-night":H.default},ee=(0,r.default)(U),ie=me=>(0,i.default)(ee).call(ee,me)?U[me]:(console.warn(`Request style '${me}' is not available, returning default instead`),m.default)},6298:(n,t,e)=>{e.d(t,{r3:()=>ci,GZ:()=>so,Xb:()=>zr,oJ:()=>Qn,XV:()=>cs,iQ:()=>xn,J6:()=>$r,DR:()=>Or,oG:()=>$e,Uj:()=>_r,QG:()=>En,po:()=>Ri,nX:()=>ao,gp:()=>_t,xi:()=>Fr,kJ:()=>kt,O2:()=>zo,LQ:()=>De,Wl:()=>Rt,Kn:()=>gt,HP:()=>rn,AF:()=>Me,D$:()=>Yn,Ay:()=>In,Q2:()=>Xn,mz:()=>Xe,V9:()=>dr,cz:()=>kr,UG:()=>
1li,Zl:()=>Q,hW:()=>Hn,Nm:()=>os,be:()=>Kr,wh:()=>Qr,Pz:()=>dn,_5:()=>Cr,Ik:()=>Ce});var r=e(4163),i=e(2565),o=e(2954),s=e(29),a=e(6145),l=e(2740),u=(e(5527),e(6785)),f=e(7512),h=e(4350),v=e(8136),m=(e(5171),e(9963)),x=(e(2372),e(313)),p=e(8818),P=e(1778),T=e(3590),H=e(5942),U=e(9725);const ee=(e.d(er={},{sanitizeUrl:()=>P_e.N}),er),ie=(Ft=>{var er={};return e.d(er,Ft),er})({default:()=>F_e()}),me=(Ft=>{var er={};return e.d(er,Ft),er})({default:()=>B_e()});var er,ue=e(5476);const Se=(Ft=>{var er={};return e.d(er,Ft),er})({default:()=>H_e()}),Ue=(Ft=>{var er={};return e.d(er,Ft),er})({default:()=>U_e()}),it=(Ft=>{var er={};return e.d(er,Ft),er})({default:()=>G_e()});var ye=e(7068),xe=e(2473),ze=e(7504);const qe=(Ft=>{var er={};return e.d(er,Ft),er})({default:()=>q_e()});var Et=e(9069),Ne=e(1798),je=e.n(Ne),we=e(9072),Ke=e.n(we),dt=e(626),Tt=e(8764).Buffer;const Ae="default",Pe=Ft=>U.default.Iterable.isIterable(Ft);function Xe(Ft){return gt(Ft)?Pe(Ft)?Ft.toJS():Ft:{}}function $e(Ft){var er,lr;if(Pe(Ft)||Ft instanceof ze.Z.File||!gt(Ft))return Ft;if((0,r.default)(Ft))return(0,i.default)(lr=U.default.Seq(Ft)).call(lr,$e).toList();if((0,ye.default)((0,o.default)(Ft))){var Gr;const ei=function(Tr){if(!(0,ye.default)((0,o.default)(Tr)))return Tr;const Xi={},Ps={};for(let qo of(0,o.default)(Tr).call(Tr))Xi[qo[0]]||Ps[qo[0]]&&Ps[qo[0]].containsMultiple?(Ps[qo[0]]||(Ps[qo[0]]={containsMultiple:!0,length:1},Xi[`${qo[0]}_**[]${Ps[qo[0]].length}`]=Xi[qo[0]],delete Xi[qo[0]]),Ps[qo[0]].length+=1,Xi[`${qo[0]}_**[]${Ps[qo[0]].length}`]=qo[1]):Xi[qo[0]]=qo[1];return Xi}(Ft);return(0,i.default)(Gr=U.default.OrderedMap(ei)).call(Gr,$e)}return(0,i.default)(er=U.default.OrderedMap(Ft)).call(er,$e)}function Me(Ft){return(0,r.default)(Ft)?Ft:[Ft]}function De(Ft){return"function"==typeof Ft}function gt(Ft){return!!Ft&&"object"==typeof Ft}function Rt(Ft){return"function"==typeof Ft}function kt(Ft){return(0,r.default)(Ft)}const rn=ue.default;function In(Ft,er){var lr;return(0,u.default)(lr=(0,l.default)(Ft)).call(lr,(Gr,ei)=>(Gr[ei]=er(Ft[ei],ei),Gr),{})}function Xn(Ft,er){var lr;return(0,u.default)(lr=(0,l.default)(Ft)).call(lr,(Gr,ei)=>{let Tr=er(Ft[ei],ei);return Tr&&"object"==typeof Tr&&(0,f.default)(Gr,Tr),Gr},{})}function Cr(Ft){return er=>ei=>Tr=>"function"==typeof Tr?Tr(Ft()):ei(Tr)}function xn(Ft){var er;let lr=Ft.keySeq();return lr.contains(Ae)?Ae:(0,h.default)(er=(0,a.default)(lr).call(lr,Gr=>"2"===(Gr+"")[0])).call(er).first()}function _t(Ft,er){if(!U.default.Iterable.isIterable(Ft))return U.default.List();let lr=Ft.getIn((0,r.default)(er)?er:[er]);return U.default.List.isList(lr)?lr:U.default.List()}function Or(Ft){let er,lr=[/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i];if((0,m.default)(lr).call(lr,Gr=>(er=Gr.exec(Ft),null!==er)),null!==er&&er.length>1)try{return decodeURIComponent(er[1])}catch(Gr){console.error(Gr)}return null}function Q(Ft){return er=Ft.replace(/\.[^./]*$/,""),(0,me.default)((0,ie.default)(er));var er}function fe(Ft,er,lr,Gr,ei){if(!er)return[];let Tr=[],Xi=er.get("nullable"),Lo=er.get("required"),Ps=er.get("maximum"),qo=er.get("minimum"),Po=er.get("type"),xs=er.get("format"),Yl=er.get("maxLength"),rl=er.get("minLength"),Au=er.get("uniqueItems"),du=er.get("maxItems"),d1=er.get("minItems"),h1=er.get("pattern");const y2=lr||!0===Lo,xf=null!=Ft;if(Xi&&null===Ft||!Po||!(y2||xf&&"array"===Po||y2||xf))return[];let hd="string"===Po&&Ft,pd="array"===Po&&(0,r.default)(Ft)&&Ft.length,E0="array"===Po&&U.default.List.isList(Ft)&&Ft.count();const A0=[hd,pd,E0,"array"===Po&&"string"==typeof Ft&&Ft,"file"===Po&&Ft instanceof ze.Z.File,"boolean"===Po&&(Ft||!1===Ft),"number"===Po&&(Ft||0===Ft),"integer"===Po&&(Ft||0===Ft),"object"===Po&&"object"==typeof Ft&&null!==Ft,"object"===Po&&"string"==typeof Ft&&Ft],x3=(0,m.default)(A0).call(A0,lo=>!!lo);if(y2&&!x3&&!Gr)return Tr.push("Required field is not provided"),Tr;if("object"===Po&&(null===ei||"application/json"===ei)){let lo=Ft;if("string"==typeof Ft)try{lo=JSON.parse(Ft)}catch{return Tr.push("Parameter string value must be valid JSON"),Tr}var md;er&&er.has("required")&&Rt(Lo.isList)&&Lo.isList()&&(0,s.default)(Lo).call(Lo,co=>{void 0===lo[co]&&Tr.push({propKey:co,error:"Required property not found"})}),er&&er.has("properties")&&(0,s.default)(md=er.get("properties")).call(md,(co,us)=>{const Mu=fe(lo[us],co,!1,Gr,ei);Tr.push(...(0,i.default)(Mu).call(Mu,b2=>({propKey:us,error:b2})))})}if(h1){let lo=((co,us)=>{if(!new RegExp(us).test(co))return"Value must follow pattern "+us})(Ft,h1);lo&&Tr.push(lo)}if(d1&&"array"===Po){let lo=((co,us)=>{if(!co&&us>=1||co&&co.length<us)return`Array must contain at least ${us} item${1===us?"":"s"}`})(Ft,d1);lo&&Tr.push(lo)}if(du&&"array"===Po){let lo=((co,us)=>{if(co&&co.length>us)return`Array must not contain more then ${us} item${1===us?"":"s"}`})(Ft,du);lo&&Tr.push({needRemove:!0,error:lo})}if(Au&&"array"===Po){let lo=((co,us)=>{if(co&&("true"===us||!0===us)){const Mu=(0,U.fromJS)(co),b2=Mu.toSet();if(co.length>b2.size){let gd=(0,U.Set)();if((0,s.default)(Mu).call(Mu,(wf,w3)=>{(0,a.default)(Mu).call(Mu,Wa=>Rt(Wa.equals)?Wa.equals(wf):Wa===wf).size>1&&(gd=gd.add(w3))}),0!==gd.size)return(0,i.default)(gd).call(gd,wf=>({index:wf,error:"No duplicates allowed."})).toArray()}}})(Ft,Au);lo&&Tr.push(...lo)}if(Yl||0===Yl){let lo=((co,us)=>{if(co.length>us)return`Value must be no longer than ${us} character${1!==us?"s":""}`})(Ft,Yl);lo&&Tr.push(lo)}if(rl){let lo=((co,us)=>{if(co.length<us)return`Value must be at least ${us} character${1!==us?"s":""}`})(Ft,rl);lo&&Tr.push(lo)}if(Ps||0===Ps){let lo=((co,us)=>{if(co>us)return`Value must be less than ${us}`})(Ft,Ps);lo&&Tr.push(lo)}if(qo||0===qo){let lo=((co,us)=>{if(co<us)return`Value must be greater than ${us}`})(Ft,qo);lo&&Tr.push(lo)}if("string"===Po){let lo;if(lo="date-time"===xs?(co=>{if(isNaN(Date.parse(co)))return"Value must be a DateTime"})(Ft):"uuid"===xs?(co=>{if(co=co.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(co))return"Value must be a Guid"})(Ft):(co=>
1{if(co&&"string"!=typeof co)return"Value must be a string"})(Ft),!lo)return Tr;Tr.push(lo)}else if("boolean"===Po){let lo=(co=>{if("true"!==co&&"false"!==co&&!0!==co&&!1!==co)return"Value must be a boolean"})(Ft);if(!lo)return Tr;Tr.push(lo)}else if("number"===Po){let lo=(co=>{if(!/^-?\d+(\.?\d+)?$/.test(co))return"Value must be a number"})(Ft);if(!lo)return Tr;Tr.push(lo)}else if("integer"===Po){let lo=(co=>{if(!/^-?\d+$/.test(co))return"Value must be an integer"})(Ft);if(!lo)return Tr;Tr.push(lo)}else if("array"===Po){if(!pd&&!E0)return Tr;Ft&&(0,s.default)(Ft).call(Ft,(lo,co)=>{const us=fe(lo,er.get("items"),!1,Gr,ei);Tr.push(...(0,i.default)(us).call(us,Mu=>({index:co,error:Mu})))})}else if("file"===Po){let lo=(co=>{if(co&&!(co instanceof ze.Z.File))return"Value must be a file"})(Ft);if(!lo)return Tr;Tr.push(lo)}return Tr}const Ce=function(Ft,er){let{isOAS3:lr=!1,bypassRequiredCheck:Gr=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ei=Ft.get("required"),{schema:Tr,parameterContentMediaType:Xi}=(0,Et.Z)(Ft,{isOAS3:lr});return fe(er,Tr,ei,Gr,Xi)},mt=(Ft,er,lr)=>{if(Ft&&!Ft.xml&&(Ft.xml={}),Ft&&!Ft.xml.name){if(!Ft.$$ref&&(Ft.type||Ft.items||Ft.properties||Ft.additionalProperties))return'<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e';if(Ft.$$ref){let Gr=Ft.$$ref.match(/\S*\/(\S+)$/);Ft.xml.name=Gr[1]}}return(0,xe.memoizedCreateXMLExample)(Ft,er,lr)},bt=[{when:/json/,shouldStringifyTypes:["string"]}],zt=["object"],hn=(Ft,er,lr,Gr)=>{const ei=(0,xe.memoizedSampleFromSchema)(Ft,er,Gr),Tr=typeof ei,Xi=(0,u.default)(bt).call(bt,(Lo,Ps)=>Ps.when.test(lr)?[...Lo,...Ps.shouldStringifyTypes]:Lo,zt);return(0,Ue.default)(Xi,Lo=>Lo===Tr)?(0,x.default)(ei,null,2):ei},wr=(Ft,er,lr,Gr)=>{const ei=hn(Ft,er,lr,Gr);let Tr;try{Tr=dt.default.dump(dt.default.load(ei),{lineWidth:-1},{schema:dt.JSON_SCHEMA}),"\n"===Tr[Tr.length-1]&&(Tr=(0,v.default)(Tr).call(Tr,0,Tr.length-1))}catch(Xi){return console.error(Xi),"error: could not generate yaml example"}return Tr.replace(/\t/g," ")},Fr=function(Ft){let er=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",lr=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Gr=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return Ft&&Rt(Ft.toJS)&&(Ft=Ft.toJS()),Gr&&Rt(Gr.toJS)&&(Gr=Gr.toJS()),/xml/.test(er)?mt(Ft,lr,Gr):/(yaml|yml)/.test(er)?wr(Ft,lr,er,Gr):hn(Ft,lr,er,Gr)},li=()=>{let Ft={},er=ze.Z.location.search;if(!er)return{};if(""!=er){let lr=er.substr(1).split("&");for(let Gr in lr)Object.prototype.hasOwnProperty.call(lr,Gr)&&(Gr=lr[Gr].split("="),Ft[decodeURIComponent(Gr[0])]=Gr[1]&&decodeURIComponent(Gr[1])||"")}return Ft},ci=Ft=>{let er;return er=Ft instanceof Tt?Ft:Tt.from(Ft.toString(),"utf-8"),er.toString("base64")},Qr={operationsSorter:{alpha:(Ft,er)=>Ft.get("path").localeCompare(er.get("path")),method:(Ft,er)=>Ft.get("method").localeCompare(er.get("method"))},tagsSorter:{alpha:(Ft,er)=>Ft.localeCompare(er)}},so=Ft=>{let er=[];for(let lr in Ft){let Gr=Ft[lr];void 0!==Gr&&""!==Gr&&er.push([lr,"=",encodeURIComponent(Gr).replace(/%20/g,"+")].join(""))}return er.join("&")},Kr=(Ft,er,lr)=>!!(0,Se.default)(lr,Gr=>(0,it.default)(Ft[Gr],er[Gr]));function os(Ft){return"string"!=typeof Ft||""===Ft?"":(0,ee.sanitizeUrl)(Ft)}function Hn(Ft){return!(!Ft||(0,p.default)(Ft).call(Ft,"localhost")>=0||(0,p.default)(Ft).call(Ft,"127.0.0.1")>=0||"none"===Ft)}function En(Ft){if(!U.default.OrderedMap.isOrderedMap(Ft)||!Ft.size)return null;const er=(0,P.default)(Ft).call(Ft,(ei,Tr)=>(0,T.default)(Tr).call(Tr,"2")&&(0,l.default)(ei.get("content")||{}).length>0),lr=Ft.get("default")||U.default.OrderedMap(),Gr=(lr.get("content")||U.default.OrderedMap()).keySeq().toJS().length?lr:null;return er||Gr}const Qn=Ft=>"string"==typeof Ft||Ft instanceof String?(0,H.default)(Ft).call(Ft).replace(/\s/g,"%20"):"",$r=Ft=>(0,qe.default)(Qn(Ft).replace(/%20/g,"_")),ao=Ft=>(0,a.default)(Ft).call(Ft,(er,lr)=>/^x-/.test(lr)),Ri=Ft=>(0,a.default)(Ft).call(Ft,(er,lr)=>/^pattern|maxLength|minLength|maximum|minimum/.test(lr));function cs(Ft,er){var lr;let Gr=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>!0;if("object"!=typeof Ft||(0,r.default)(Ft)||null===Ft||!er)return Ft;const ei=(0,f.default)({},Ft);
1return(0,s.default)(lr=(0,l.default)(ei)).call(lr,Tr=>{Tr===er&&Gr(ei[Tr],Tr)?delete ei[Tr]:ei[Tr]=cs(ei[Tr],er,Gr)}),ei}function dn(Ft){if("string"==typeof Ft)return Ft;if(Ft&&Ft.toJS&&(Ft=Ft.toJS()),"object"==typeof Ft&&null!==Ft)try{return(0,x.default)(Ft,null,2)}catch{return String(Ft)}return null==Ft?"":Ft.toString()}function Yn(Ft){return"number"==typeof Ft?Ft.toString():Ft}function dr(Ft){let{returnAll:er=!1,allowHashes:lr=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!U.default.Map.isMap(Ft))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");const Gr=Ft.get("name"),ei=Ft.get("in");let Tr=[];return Ft&&Ft.hashCode&&ei&&Gr&&lr&&Tr.push(`${ei}.${Gr}.hash-${Ft.hashCode()}`),ei&&Gr&&Tr.push(`${ei}.${Gr}`),Tr.push(Gr),er?Tr:Tr[0]||""}function kr(Ft,er){var lr;const Gr=dr(Ft,{returnAll:!0});return(0,a.default)(lr=(0,i.default)(Gr).call(Gr,ei=>er[ei])).call(lr,ei=>void 0!==ei)[0]}function _r(){return Ni(je()(32).toString("base64"))}function zr(Ft){return Ni(Ke()("sha256").update(Ft).digest("base64"))}function Ni(Ft){return Ft.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const zo=Ft=>!Ft||!(!Pe(Ft)||!Ft.isEmpty())},2518:(n,t,e)=>{function r(i){return function(o){try{return!!JSON.parse(o)}catch{return null}}(i)?"json":null}e.d(t,{O:()=>r})},7504:(n,t,e)=>{e.d(t,{Z:()=>r});const r=function(){var i={location:{},history:{},open:()=>{},close:()=>{},File:function(){}};if(typeof window>"u")return i;try{for(var o of(i=window,["File","Blob","FormData"]))o in window&&(i[o]=window[o])}catch(s){console.error(s)}return i}()},9069:(n,t,e)=>{e.d(t,{Z:()=>a});var r=e(6145),i=e(2372),o=e(9725);const s=o.default.Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function a(l){let{isOAS3:u}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!o.default.Map.isMap(l))return{schema:o.default.Map(),parameterContentMediaType:null};if(!u)return"body"===l.get("in")?{schema:l.get("schema",o.default.Map()),parameterContentMediaType:null}:{schema:(0,r.default)(l).call(l,(f,h)=>(0,i.default)(s).call(s,h)),parameterContentMediaType:null};if(l.get("content")){const f=l.get("content",o.default.Map({})).keySeq().first();return{schema:l.getIn(["content",f,"schema"],o.default.Map()),parameterContentMediaType:f}}return{schema:l.get("schema")?l.get("schema",o.default.Map()):o.default.Map(),parameterContentMediaType:null}}},9669:(n,t,e)=>{e.d(t,{Z:()=>x});var r=e(4163),i=e(7930),o=e(8898),s=e(5487),a=e(1778);const l=(e.d(P={},{default:()=>K_e()}),P);var P,u=e(6914),f=e(5476);const h=p=>P=>(0,r.default)(p)&&(0,r.default)(P)&&p.length===P.length&&(0,i.default)(p).call(p,(T,H)=>T===P[H]),v=function(){for(var p=arguments.length,P=new Array(p),T=0;T<p;T++)P[T]=arguments[T];return P};class m extends u.default{delete(P){const T=(0,o.default)((0,s.default)(this).call(this)),H=(0,a.default)(T).call(T,h(P));return super.delete(H)}get(P){const T=(0,o.default)((0,s.default)(this).call(this)),H=(0,a.default)(T).call(T,h(P));return super.get(H)}has(P){const T=(0,o.default)((0,s.default)(this).call(this));return-1!==(0,l.default)(T).call(T,h(P))}}const x=function(p){let P=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;const{Cache:T}=f.default;f.default.Cache=m;const H=(0,f.default)(p,P);return f.default.Cache=T,H}},8764:(n,t,e)=>{const r=e(4780),i=e(3294),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(Q){return+Q!=Q&&(Q=0),l.alloc(+Q)},t.INSPECT_MAX_BYTES=50;const s=2147483647;function a(Q){if(Q>s)throw new RangeError('The value "'+Q+'" is invalid for option "size"');const fe=new Uint8Array(Q);return Object.setPrototypeOf(fe,l.prototype),fe}function l(Q,fe,Ce){if("number"==typeof Q){if("string"==typeof fe)throw new TypeError('The "string" argument must be of type string. Received type number');return h(Q)}return u(Q,fe,Ce)}function u(Q,fe,Ce){if("string"==typeof Q)return function(zt,hn){if("string"==typeof hn&&""!==hn||(hn="utf8"),!l.isEncoding(hn))throw new TypeError("Unknown encoding: "+hn);const wr=0|p(zt,hn);let Fr=a(wr);const li=Fr.write(zt,hn);
vendor: 4,680 bytes, line 1
1return li!==wr&&(Fr=Fr.slice(0,li)),Fr}(Q,fe);if(ArrayBuffer.isView(Q))return function(zt){if(Xn(zt,Uint8Array)){const hn=new Uint8Array(zt);return m(hn.buffer,hn.byteOffset,hn.byteLength)}return v(zt)}(Q);if(null==Q)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Q);if(Xn(Q,ArrayBuffer)||Q&&Xn(Q.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Xn(Q,SharedArrayBuffer)||Q&&Xn(Q.buffer,SharedArrayBuffer)))return m(Q,fe,Ce);if("number"==typeof Q)throw new TypeError('The "value" argument must not be of type number. Received type number');const mt=Q.valueOf&&Q.valueOf();if(null!=mt&&mt!==Q)return l.from(mt,fe,Ce);const bt=function(zt){if(l.isBuffer(zt)){const hn=0|x(zt.length),wr=a(hn);return 0===wr.length||zt.copy(wr,0,0,hn),wr}return void 0!==zt.length?"number"!=typeof zt.length||Cr(zt.length)?a(0):v(zt):"Buffer"===zt.type&&Array.isArray(zt.data)?v(zt.data):void 0}(Q);if(bt)return bt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof Q[Symbol.toPrimitive])return l.from(Q[Symbol.toPrimitive]("string"),fe,Ce);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Q)}function f(Q){if("number"!=typeof Q)throw new TypeError('"size" argument must be of type number');if(Q<0)throw new RangeError('The value "'+Q+'" is invalid for option "size"')}function h(Q){return f(Q),a(Q<0?0:0|x(Q))}function v(Q){const fe=Q.length<0?0:0|x(Q.length),Ce=a(fe);for(let mt=0;mt<fe;mt+=1)Ce[mt]=255&Q[mt];return Ce}function m(Q,fe,Ce){if(fe<0||Q.byteLength<fe)throw new RangeError('"offset" is outside of buffer bounds');if(Q.byteLength<fe+(Ce||0))throw new RangeError('"length" is outside of buffer bounds');let mt;return mt=void 0===fe&&void 0===Ce?new Uint8Array(Q):void 0===Ce?new Uint8Array(Q,fe):new Uint8Array(Q,fe,Ce),Object.setPrototypeOf(mt,l.prototype),mt}function x(Q){if(Q>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|Q}function p(Q,fe){if(l.isBuffer(Q))return Q.length;if(ArrayBuffer.isView(Q)||Xn(Q,ArrayBuffer))return Q.byteLength;if("string"!=typeof Q)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Q);const Ce=Q.length,mt=arguments.length>2&&!0===arguments[2];if(!mt&&0===Ce)return 0;let bt=!1;for(;;)switch(fe){case"ascii":case"latin1":case"binary":return Ce;case"utf8":case"utf-8":return kt(Q).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ce;case"hex":return Ce>>>1;case"base64":return rn(Q).length;default:if(bt)return mt?-1:kt(Q).length;fe=(""+fe).toLowerCase(),bt=!0}}function P(Q,fe,Ce){let mt=!1;if((void 0===fe||fe<0)&&(fe=0),fe>this.length||((void 0===Ce||Ce>this.length)&&(Ce=this.length),Ce<=0)||(Ce>>>=0)<=(fe>>>=0))return"";for(Q||(Q="utf8");;)switch(Q){case"hex":return qe(this,fe,Ce);case"utf8":case"utf-8":return it(this,fe,Ce);case"ascii":return xe(this,fe,Ce);case"latin1":case"binary":return ze(this,fe,Ce);case"base64":return Ue(this,fe,Ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Et(this,fe,Ce);default:if(mt)throw new TypeError("Unknown encoding: "+Q);Q=(Q+"").toLowerCase(),mt=!0}}function T(Q,fe,Ce){const mt=Q[fe];Q[fe]=Q[Ce],Q[Ce]=mt}function H(Q,fe,Ce,mt,bt){if(0===Q.length)return-1;if("string"==typeof Ce?(mt=Ce,Ce=0):Ce>2147483647?Ce=2147483647:Ce<-2147483648&&(Ce=-2147483648),Cr(Ce=+Ce)&&(Ce=bt?0:Q.length-1),Ce<0&&(Ce=Q.length+Ce),Ce>=Q.length){if(bt)return-1;Ce=Q.length-1}else if(Ce<0){if(!bt)return-1;Ce=0}if("string"==typeof fe&&(fe=l.from(fe,mt)),l.isBuffer(fe))return 0===fe.length?-1:U(Q,fe,Ce,mt,bt);if("number"==typeof fe)return fe&=255,"function"==typeof Uint8Array.prototype.indexOf?bt?Uint8Array.prototype.indexOf.call(Q,fe,Ce):Uint8Array.prototype.lastIndexOf.call(Q,fe,Ce):U(Q,[fe],Ce,mt,bt);throw new TypeError("val must be string, number or Buffer")}function U(Q,fe,Ce,mt,bt){let zt,hn=1,wr=Q.length,Fr=fe.length;if(void 0!==mt&&("ucs2"===(mt=String(mt).toLowerCase())||"ucs-2"===mt||"utf16le"===mt||"utf-16le"===mt)){if(Q.length<2||fe.length<2)return-1;hn=2,wr/=2,Fr/=2,Ce/=2}function li(ci,Qr){return 1===hn?ci[Qr]:ci.readUInt16BE(Qr*hn)}if(bt){let ci=-1;for(zt=Ce;zt<wr;zt++)if(li(Q,zt)===li(fe,-1===ci?0:zt-ci)){if(-1===ci&&(ci=zt),zt-ci+1===Fr)return ci*hn}else-1!==ci&&(zt-=zt-ci),ci=-1}else for(Ce+Fr>wr&&(Ce=wr-Fr),zt=Ce;zt>=0;zt--){let ci=!0;for(let Qr=0;Qr<Fr;Qr++)if(li(Q,zt+Qr)!==li(fe,Qr)){ci=!1;break}if(ci)return zt}return-1}function ee(Q,fe,Ce,mt){Ce=Number(Ce)||0;const bt=Q.length-Ce;mt?(mt=Number(mt))>bt&&(mt=bt):mt=bt;
vendor: 4,585 bytes, line 1
1const zt=fe.length;let hn;for(mt>zt/2&&(mt=zt/2),hn=0;hn<mt;++hn){const wr=parseInt(fe.substr(2*hn,2),16);if(Cr(wr))return hn;Q[Ce+hn]=wr}return hn}function ie(Q,fe,Ce,mt){return In(kt(fe,Q.length-Ce),Q,Ce,mt)}function me(Q,fe,Ce,mt){return In(function(bt){const zt=[];for(let hn=0;hn<bt.length;++hn)zt.push(255&bt.charCodeAt(hn));return zt}(fe),Q,Ce,mt)}function ue(Q,fe,Ce,mt){return In(rn(fe),Q,Ce,mt)}function Se(Q,fe,Ce,mt){return In(function(bt,zt){let hn,wr,Fr;const li=[];for(let ci=0;ci<bt.length&&!((zt-=2)<0);++ci)hn=bt.charCodeAt(ci),wr=hn>>8,Fr=hn%256,li.push(Fr),li.push(wr);return li}(fe,Q.length-Ce),Q,Ce,mt)}function Ue(Q,fe,Ce){return r.fromByteArray(0===fe&&Ce===Q.length?Q:Q.slice(fe,Ce))}function it(Q,fe,Ce){Ce=Math.min(Q.length,Ce);const mt=[];let bt=fe;for(;bt<Ce;){const zt=Q[bt];let hn=null,wr=zt>239?4:zt>223?3:zt>191?2:1;if(bt+wr<=Ce){let Fr,li,ci,Qr;switch(wr){case 1:zt<128&&(hn=zt);break;case 2:Fr=Q[bt+1],128==(192&Fr)&&(Qr=(31&zt)<<6|63&Fr,Qr>127&&(hn=Qr));break;case 3:Fr=Q[bt+1],li=Q[bt+2],128==(192&Fr)&&128==(192&li)&&(Qr=(15&zt)<<12|(63&Fr)<<6|63&li,Qr>2047&&(Qr<55296||Qr>57343)&&(hn=Qr));break;case 4:Fr=Q[bt+1],li=Q[bt+2],ci=Q[bt+3],128==(192&Fr)&&128==(192&li)&&128==(192&ci)&&(Qr=(15&zt)<<18|(63&Fr)<<12|(63&li)<<6|63&ci,Qr>65535&&Qr<1114112&&(hn=Qr))}}null===hn?(hn=65533,wr=1):hn>65535&&(hn-=65536,mt.push(hn>>>10&1023|55296),hn=56320|1023&hn),mt.push(hn),bt+=wr}return function(zt){const hn=zt.length;if(hn<=ye)return String.fromCharCode.apply(String,zt);let wr="",Fr=0;for(;Fr<hn;)wr+=String.fromCharCode.apply(String,zt.slice(Fr,Fr+=ye));return wr}(mt)}t.kMaxLength=s,(l.TYPED_ARRAY_SUPPORT=function(){try{const Q=new Uint8Array(1),fe={foo:function(){return 42}};return Object.setPrototypeOf(fe,Uint8Array.prototype),Object.setPrototypeOf(Q,fe),42===Q.foo()}catch{return!1}}())||typeof console>"u"||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(Q,fe,Ce){return u(Q,fe,Ce)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(Q,fe,Ce){return bt=fe,zt=Ce,f(mt=Q),mt<=0?a(mt):void 0!==bt?"string"==typeof zt?a(mt).fill(bt,zt):a(mt).fill(bt):a(mt);var mt,bt,zt},l.allocUnsafe=function(Q){return h(Q)},l.allocUnsafeSlow=function(Q){return h(Q)},l.isBuffer=function(Q){return null!=Q&&!0===Q._isBuffer&&Q!==l.prototype},l.compare=function(Q,fe){if(Xn(Q,Uint8Array)&&(Q=l.from(Q,Q.offset,Q.byteLength)),Xn(fe,Uint8Array)&&(fe=l.from(fe,fe.offset,fe.byteLength)),!l.isBuffer(Q)||!l.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Q===fe)return 0;let Ce=Q.length,mt=fe.length;for(let bt=0,zt=Math.min(Ce,mt);bt<zt;++bt)if(Q[bt]!==fe[bt]){Ce=Q[bt],mt=fe[bt];break}return Ce<mt?-1:mt<Ce?1:0},l.isEncoding=function(Q){switch(String(Q).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(Q,fe){if(!Array.isArray(Q))throw new TypeError('"list" argument must be an Array of Buffers');if(0===Q.length)return l.alloc(0);let Ce;if(void 0===fe)for(fe=0,Ce=0;Ce<Q.length;++Ce)fe+=Q[Ce].length;const mt=l.allocUnsafe(fe);let bt=0;for(Ce=0;Ce<Q.length;++Ce){let zt=Q[Ce];if(Xn(zt,Uint8Array))bt+zt.length>mt.length?(l.isBuffer(zt)||(zt=l.from(zt)),zt.copy(mt,bt)):Uint8Array.prototype.set.call(mt,zt,bt);else{if(!l.isBuffer(zt))throw new TypeError('"list" argument must be an Array of Buffers');zt.copy(mt,bt)}bt+=zt.length}return mt},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const Q=this.length;if(Q%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let fe=0;fe<Q;fe+=2)T(this,fe,fe+1);return this},l.prototype.swap32=function(){const Q=this.length;if(Q%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let fe=0;fe<Q;fe+=4)T(this,fe,fe+3),T(this,fe+1,fe+2);return this},l.prototype.swap64=function(){const Q=this.length;if(Q%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let fe=0;fe<Q;fe+=8)T(this,fe,fe+7),T(this,fe+1,fe+6),T(this,fe+2,fe+5),T(this,fe+3,fe+4);return this}
vendor: 9,824 bytes, line 1
1,l.prototype.toLocaleString=l.prototype.toString=function(){const Q=this.length;return 0===Q?"":0===arguments.length?it(this,0,Q):P.apply(this,arguments)},l.prototype.equals=function(Q){if(!l.isBuffer(Q))throw new TypeError("Argument must be a Buffer");return this===Q||0===l.compare(this,Q)},l.prototype.inspect=function(){let Q="";const fe=t.INSPECT_MAX_BYTES;return Q=this.toString("hex",0,fe).replace(/(.{2})/g,"$1 ").trim(),this.length>fe&&(Q+=" ... "),"<Buffer "+Q+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(Q,fe,Ce,mt,bt){if(Xn(Q,Uint8Array)&&(Q=l.from(Q,Q.offset,Q.byteLength)),!l.isBuffer(Q))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Q);if(void 0===fe&&(fe=0),void 0===Ce&&(Ce=Q?Q.length:0),void 0===mt&&(mt=0),void 0===bt&&(bt=this.length),fe<0||Ce>Q.length||mt<0||bt>this.length)throw new RangeError("out of range index");if(mt>=bt&&fe>=Ce)return 0;if(mt>=bt)return-1;if(fe>=Ce)return 1;if(this===Q)return 0;let zt=(bt>>>=0)-(mt>>>=0),hn=(Ce>>>=0)-(fe>>>=0);const wr=Math.min(zt,hn),Fr=this.slice(mt,bt),li=Q.slice(fe,Ce);for(let ci=0;ci<wr;++ci)if(Fr[ci]!==li[ci]){zt=Fr[ci],hn=li[ci];break}return zt<hn?-1:hn<zt?1:0},l.prototype.includes=function(Q,fe,Ce){return-1!==this.indexOf(Q,fe,Ce)},l.prototype.indexOf=function(Q,fe,Ce){return H(this,Q,fe,Ce,!0)},l.prototype.lastIndexOf=function(Q,fe,Ce){return H(this,Q,fe,Ce,!1)},l.prototype.write=function(Q,fe,Ce,mt){if(void 0===fe)mt="utf8",Ce=this.length,fe=0;else if(void 0===Ce&&"string"==typeof fe)mt=fe,Ce=this.length,fe=0;else{if(!isFinite(fe))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");fe>>>=0,isFinite(Ce)?(Ce>>>=0,void 0===mt&&(mt="utf8")):(mt=Ce,Ce=void 0)}const bt=this.length-fe;if((void 0===Ce||Ce>bt)&&(Ce=bt),Q.length>0&&(Ce<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");mt||(mt="utf8");let zt=!1;for(;;)switch(mt){case"hex":return ee(this,Q,fe,Ce);case"utf8":case"utf-8":return ie(this,Q,fe,Ce);case"ascii":case"latin1":case"binary":return me(this,Q,fe,Ce);case"base64":return ue(this,Q,fe,Ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Se(this,Q,fe,Ce);default:if(zt)throw new TypeError("Unknown encoding: "+mt);mt=(""+mt).toLowerCase(),zt=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const ye=4096;function xe(Q,fe,Ce){let mt="";Ce=Math.min(Q.length,Ce);for(let bt=fe;bt<Ce;++bt)mt+=String.fromCharCode(127&Q[bt]);return mt}function ze(Q,fe,Ce){let mt="";Ce=Math.min(Q.length,Ce);for(let bt=fe;bt<Ce;++bt)mt+=String.fromCharCode(Q[bt]);return mt}function qe(Q,fe,Ce){const mt=Q.length;(!fe||fe<0)&&(fe=0),(!Ce||Ce<0||Ce>mt)&&(Ce=mt);let bt="";for(let zt=fe;zt<Ce;++zt)bt+=xn[Q[zt]];return bt}function Et(Q,fe,Ce){const mt=Q.slice(fe,Ce);let bt="";for(let zt=0;zt<mt.length-1;zt+=2)bt+=String.fromCharCode(mt[zt]+256*mt[zt+1]);return bt}function Ne(Q,fe,Ce){if(Q%1!=0||Q<0)throw new RangeError("offset is not uint");if(Q+fe>Ce)throw new RangeError("Trying to access beyond buffer length")}function je(Q,fe,Ce,mt,bt,zt){if(!l.isBuffer(Q))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>bt||fe<zt)throw new RangeError('"value" argument is out of bounds');if(Ce+mt>Q.length)throw new RangeError("Index out of range")}function we(Q,fe,Ce,mt,bt){Me(fe,mt,bt,Q,Ce,7);let zt=Number(fe&BigInt(4294967295));Q[Ce++]=zt,zt>>=8,Q[Ce++]=zt,zt>>=8,Q[Ce++]=zt,zt>>=8,Q[Ce++]=zt;let hn=Number(fe>>BigInt(32)&BigInt(4294967295));return Q[Ce++]=hn,hn>>=8,Q[Ce++]=hn,hn>>=8,Q[Ce++]=hn,hn>>=8,Q[Ce++]=hn,Ce}function Ke(Q,fe,Ce,mt,bt){Me(fe,mt,bt,Q,Ce,7);let zt=Number(fe&BigInt(4294967295));Q[Ce+7]=zt,zt>>=8,Q[Ce+6]=zt,zt>>=8,Q[Ce+5]=zt,zt>>=8,Q[Ce+4]=zt;let hn=Number(fe>>BigInt(32)&BigInt(4294967295));return Q[Ce+3]=hn,hn>>=8,Q[Ce+2]=hn,hn>>=8,Q[Ce+1]=hn,hn>>=8,Q[Ce]=hn,Ce+8}function dt(Q,fe,Ce,mt,bt,zt){if(Ce+mt>Q.length)throw new RangeError("Index out of range");if(Ce<0)throw new RangeError("Index out of range")}function Tt(Q,fe,Ce,mt,bt){return fe=+fe,Ce>>>=0,bt||dt(Q,0,Ce,4),i.write(Q,fe,Ce,mt,23,4),Ce+4}function Ae(Q,fe,Ce,mt,bt){return fe=+fe,Ce>>>=0,bt||dt(Q,0,Ce,8),i.write(Q,fe,Ce,mt,52,8),Ce+8}l.prototype.slice=function(Q,fe){const Ce=this.length;(Q=~~Q)<0?(Q+=Ce)<0&&(Q=0):Q>Ce&&(Q=Ce),(fe=void 0===fe?Ce:~~fe)<0?(fe+=Ce)<0&&(fe=0):fe>Ce&&(fe=Ce),fe<Q&&(fe=Q);const mt=this.subarray(Q,fe);return Object.setPrototypeOf(mt,l.prototype),mt},l.prototype.readUintLE=l.prototype.readUIntLE=function(Q,fe,Ce){Q>>>=0,fe>>>=0,Ce||Ne(Q,fe,this.length);let mt=this[Q],bt=1,zt=0;for(;++zt<fe&&(bt*=256);)mt+=this[Q+zt]*bt;return mt},l.prototype.readUintBE=l.prototype.readUIntBE=function(Q,fe,Ce){Q>>>=0,fe>>>=0,Ce||Ne(Q,fe,this.length);let mt=this[Q+--fe],bt=1;for(;fe>0&&(bt*=256);)mt+=this[Q+--fe]*bt;return mt},l.prototype.readUint8=l.prototype.readUInt8=function(Q,fe){return Q>>>=0,fe||Ne(Q,1,this.length),this[Q]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(Q,fe){return Q>>>=0,fe||Ne(Q,2,this.length),this[Q]|this[Q+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(Q,fe){return Q>>>=0,fe||Ne(Q,2,this.length),this[Q]<<8|this[Q+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(Q,fe){return Q>>>=0,fe||Ne(Q,4,this.length),(this[Q]|this[Q+1]<<8|this[Q+2]<<16)+16777216*this[Q+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(Q,fe){return Q>>>=0,fe||Ne(Q,4,this.length),16777216*this[Q]+(this[Q+1]<<16|this[Q+2]<<8|this[Q+3])},l.prototype.readBigUInt64LE=_t(function(Q){De(Q>>>=0,"offset");const fe=this[Q],Ce=this[Q+7];void 0!==fe&&void 0!==Ce||gt(Q,this.length-8);const mt=fe+256*this[++Q]+65536*this[++Q]+this[++Q]*2**24,bt=this[++Q]+256*this[++Q]+65536*this[++Q]+Ce*2**24;return BigInt(mt)+(BigInt(bt)<<BigInt(32))}),l.prototype.readBigUInt64BE=_t(function(Q){De(Q>>>=0,"offset");const fe=this[Q],Ce=this[Q+7];void 0!==fe&&void 0!==Ce||gt(Q,this.length-8);const mt=fe*2**24+65536*this[++Q]+256*this[++Q]+this[++Q],bt=this[++Q]*2**24+65536*this[++Q]+256*this[++Q]+Ce;return(BigInt(mt)<<BigInt(32))+BigInt(bt)}),l.prototype.readIntLE=function(Q,fe,Ce){Q>>>=0,fe>>>=0,Ce||Ne(Q,fe,this.length);let mt=this[Q],bt=1,zt=0;for(;++zt<fe&&(bt*=256);)mt+=this[Q+zt]*bt;return bt*=128,mt>=bt&&(mt-=Math.pow(2,8*fe)),mt},l.prototype.readIntBE=function(Q,fe,Ce){Q>>>=0,fe>>>=0,Ce||Ne(Q,fe,this.length);let mt=fe,bt=1,zt=this[Q+--mt];for(;mt>0&&(bt*=256);)zt+=this[Q+--mt]*bt;return bt*=128,zt>=bt&&(zt-=Math.pow(2,8*fe)),zt},l.prototype.readInt8=function(Q,fe){return Q>>>=0,fe||Ne(Q,1,this.length),128&this[Q]?-1*(255-this[Q]+1):this[Q]},l.prototype.readInt16LE=function(Q,fe){Q>>>=0,fe||Ne(Q,2,this.length);const Ce=this[Q]|this[Q+1]<<8;return 32768&Ce?4294901760|Ce:Ce},l.prototype.readInt16BE=function(Q,fe){Q>>>=0,fe||Ne(Q,2,this.length);const Ce=this[Q+1]|this[Q]<<8;return 32768&Ce?4294901760|Ce:Ce},l.prototype.readInt32LE=function(Q,fe){return Q>>>=0,fe||Ne(Q,4,this.length),this[Q]|this[Q+1]<<8|this[Q+2]<<16|this[Q+3]<<24},l.prototype.readInt32BE=function(Q,fe){return Q>>>=0,fe||Ne(Q,4,this.length),this[Q]<<24|this[Q+1]<<16|this[Q+2]<<8|this[Q+3]},l.prototype.readBigInt64LE=_t(function(Q){De(Q>>>=0,"offset");const fe=this[Q],Ce=this[Q+7];return void 0!==fe&&void 0!==Ce||gt(Q,this.length-8),(BigInt(this[Q+4]+256*this[Q+5]+65536*this[Q+6]+(Ce<<24))<<BigInt(32))+BigInt(fe+256*this[++Q]+65536*this[++Q]+this[++Q]*2**24)}),l.prototype.readBigInt64BE=_t(function(Q){De(Q>>>=0,"offset");const fe=this[Q],Ce=this[Q+7];void 0!==fe&&void 0!==Ce||gt(Q,this.length-8);const mt=(fe<<24)+65536*this[++Q]+256*this[++Q]+this[++Q];return(BigInt(mt)<<BigInt(32))+BigInt(this[++Q]*2**24+65536*this[++Q]+256*this[++Q]+Ce)}),l.prototype.readFloatLE=function(Q,fe){return Q>>>=0,fe||Ne(Q,4,this.length),i.read(this,Q,!0,23,4)},l.prototype.readFloatBE=function(Q,fe){return Q>>>=0,fe||Ne(Q,4,this.length),i.read(this,Q,!1,23,4)},l.prototype.readDoubleLE=function(Q,fe){return Q>>>=0,fe||Ne(Q,8,this.length),i.read(this,Q,!0,52,8)},l.prototype.readDoubleBE=function(Q,fe){return Q>>>=0,fe||Ne(Q,8,this.length),i.read(this,Q,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(Q,fe,Ce,mt){Q=+Q,fe>>>=0,Ce>>>=0,!mt&&je(this,Q,fe,Ce,Math.pow(2,8*Ce)-1,0);let bt=1,zt=0;for(this[fe]=255&Q;++zt<Ce&&(bt*=256);)this[fe+zt]=Q/bt&255;return fe+Ce},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(Q,fe,Ce,mt){Q=+Q,fe>>>=0,Ce>>>=0,!mt&&je(this,Q,fe,Ce,Math.pow(2,8*Ce)-1,0);let bt=Ce-1,zt=1;for(this[fe+bt]=255&Q;--bt>=0&&(zt*=256);)this[fe+bt]=Q/zt&255;return fe+Ce},l.prototype.writeUint8=l.prototype.writeUInt8=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,1,255,0),this[fe]=255&Q,fe+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,2,65535,0),this[fe]=255&Q,this[fe+1]=Q>>>8,fe+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,2,65535,0),this[fe]=Q>>>8,this[fe+1]=255&Q,fe+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,4,4294967295,0),this[fe+3]=Q>>>24,this[fe+2]=Q>>>16,this[fe+1]=Q>>>8,this[fe]=255&Q,fe+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,4,4294967295,0),this[fe]=Q>>>24,this[fe+1]=Q>>>16,this[fe+2]=Q>>>8,this[fe+3]=255&Q,fe+4},l.prototype.writeBigUInt64LE=_t(function(Q,fe=0){return we(this,Q,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=_t(function(Q,fe=0){return Ke(this,Q,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(Q,fe,Ce,mt){if(Q=+Q,fe>>>=0,!mt){const wr=Math.pow(2,8*Ce-1);je(this,Q,fe,Ce,wr-1,-wr)}let bt=0,zt=1,hn=0;for(this[fe]=255&Q;++bt<Ce&&(zt*=256);
vendor: 4,286 bytes, line 1
1)Q<0&&0===hn&&0!==this[fe+bt-1]&&(hn=1),this[fe+bt]=(Q/zt>>0)-hn&255;return fe+Ce},l.prototype.writeIntBE=function(Q,fe,Ce,mt){if(Q=+Q,fe>>>=0,!mt){const wr=Math.pow(2,8*Ce-1);je(this,Q,fe,Ce,wr-1,-wr)}let bt=Ce-1,zt=1,hn=0;for(this[fe+bt]=255&Q;--bt>=0&&(zt*=256);)Q<0&&0===hn&&0!==this[fe+bt+1]&&(hn=1),this[fe+bt]=(Q/zt>>0)-hn&255;return fe+Ce},l.prototype.writeInt8=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,1,127,-128),Q<0&&(Q=255+Q+1),this[fe]=255&Q,fe+1},l.prototype.writeInt16LE=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,2,32767,-32768),this[fe]=255&Q,this[fe+1]=Q>>>8,fe+2},l.prototype.writeInt16BE=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,2,32767,-32768),this[fe]=Q>>>8,this[fe+1]=255&Q,fe+2},l.prototype.writeInt32LE=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,4,2147483647,-2147483648),this[fe]=255&Q,this[fe+1]=Q>>>8,this[fe+2]=Q>>>16,this[fe+3]=Q>>>24,fe+4},l.prototype.writeInt32BE=function(Q,fe,Ce){return Q=+Q,fe>>>=0,Ce||je(this,Q,fe,4,2147483647,-2147483648),Q<0&&(Q=4294967295+Q+1),this[fe]=Q>>>24,this[fe+1]=Q>>>16,this[fe+2]=Q>>>8,this[fe+3]=255&Q,fe+4},l.prototype.writeBigInt64LE=_t(function(Q,fe=0){return we(this,Q,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=_t(function(Q,fe=0){return Ke(this,Q,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeFloatLE=function(Q,fe,Ce){return Tt(this,Q,fe,!0,Ce)},l.prototype.writeFloatBE=function(Q,fe,Ce){return Tt(this,Q,fe,!1,Ce)},l.prototype.writeDoubleLE=function(Q,fe,Ce){return Ae(this,Q,fe,!0,Ce)},l.prototype.writeDoubleBE=function(Q,fe,Ce){return Ae(this,Q,fe,!1,Ce)},l.prototype.copy=function(Q,fe,Ce,mt){if(!l.isBuffer(Q))throw new TypeError("argument should be a Buffer");if(Ce||(Ce=0),mt||0===mt||(mt=this.length),fe>=Q.length&&(fe=Q.length),fe||(fe=0),mt>0&&mt<Ce&&(mt=Ce),mt===Ce||0===Q.length||0===this.length)return 0;if(fe<0)throw new RangeError("targetStart out of bounds");if(Ce<0||Ce>=this.length)throw new RangeError("Index out of range");if(mt<0)throw new RangeError("sourceEnd out of bounds");mt>this.length&&(mt=this.length),Q.length-fe<mt-Ce&&(mt=Q.length-fe+Ce);const bt=mt-Ce;return this===Q&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(fe,Ce,mt):Uint8Array.prototype.set.call(Q,this.subarray(Ce,mt),fe),bt},l.prototype.fill=function(Q,fe,Ce,mt){if("string"==typeof Q){if("string"==typeof fe?(mt=fe,fe=0,Ce=this.length):"string"==typeof Ce&&(mt=Ce,Ce=this.length),void 0!==mt&&"string"!=typeof mt)throw new TypeError("encoding must be a string");if("string"==typeof mt&&!l.isEncoding(mt))throw new TypeError("Unknown encoding: "+mt);if(1===Q.length){const zt=Q.charCodeAt(0);("utf8"===mt&&zt<128||"latin1"===mt)&&(Q=zt)}}else"number"==typeof Q?Q&=255:"boolean"==typeof Q&&(Q=Number(Q));if(fe<0||this.length<fe||this.length<Ce)throw new RangeError("Out of range index");if(Ce<=fe)return this;let bt;if(fe>>>=0,Ce=void 0===Ce?this.length:Ce>>>0,Q||(Q=0),"number"==typeof Q)for(bt=fe;bt<Ce;++bt)this[bt]=Q;else{const zt=l.isBuffer(Q)?Q:l.from(Q,mt),hn=zt.length;if(0===hn)throw new TypeError('The value "'+Q+'" is invalid for argument "value"');for(bt=0;bt<Ce-fe;++bt)this[bt+fe]=zt[bt%hn]}return this};const Pe={};function Xe(Q,fe,Ce){Pe[Q]=class extends Ce{constructor(){super(),Object.defineProperty(this,"message",{value:fe.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Q}]`,delete this.name}get code(){return Q}set code(mt){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:mt,writable:!0})}toString(){return`${this.name} [${Q}]: ${this.message}`}}}function $e(Q){let fe="",Ce=Q.length;const mt="-"===Q[0]?1:0;for(;Ce>=mt+4;Ce-=3)fe=`_${Q.slice(Ce-3,Ce)}${fe}`;return`${Q.slice(0,Ce)}${fe}`}function Me(Q,fe,Ce,mt,bt,zt){if(Q>Ce||Q<fe){const hn="bigint"==typeof fe?"n":"";let wr;throw wr=zt>3?0===fe||fe===BigInt(0)?`>= 0${hn} and < 2${hn} ** ${8*(zt+1)}${hn}`:`>= -(2${hn} ** ${8*(zt+1)-1}${hn}) and < 2 ** ${8*(zt+1)-1}${hn}`:`>= ${fe}${hn} and <= ${Ce}${hn}`,new Pe.ERR_OUT_OF_RANGE("value",wr,Q)}var hn,wr,Fr;hn=mt,Fr=zt,De(wr=bt,"offset"),void 0!==hn[wr]&&void 0!==hn[wr+Fr]||gt(wr,hn.length-(Fr+1))}function De(Q,fe){if("number"!=typeof Q)throw new Pe.ERR_INVALID_ARG_TYPE(fe,"
1number",Q)}function gt(Q,fe,Ce){throw Math.floor(Q)!==Q?(De(Q,Ce),new Pe.ERR_OUT_OF_RANGE(Ce||"offset","an integer",Q)):fe<0?new Pe.ERR_BUFFER_OUT_OF_BOUNDS:new Pe.ERR_OUT_OF_RANGE(Ce||"offset",`>= ${Ce?1:0} and <= ${fe}`,Q)}Xe("ERR_BUFFER_OUT_OF_BOUNDS",function(Q){return Q?`${Q} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Xe("ERR_INVALID_ARG_TYPE",function(Q,fe){return`The "${Q}" argument must be of type number. Received type ${typeof fe}`},TypeError),Xe("ERR_OUT_OF_RANGE",function(Q,fe,Ce){let mt=`The value of "${Q}" is out of range.`,bt=Ce;return Number.isInteger(Ce)&&Math.abs(Ce)>2**32?bt=$e(String(Ce)):"bigint"==typeof Ce&&(bt=String(Ce),(Ce>BigInt(2)**BigInt(32)||Ce<-(BigInt(2)**BigInt(32)))&&(bt=$e(bt)),bt+="n"),mt+=` It must be ${fe}. Received ${bt}`,mt},RangeError);const Rt=/[^+/0-9A-Za-z-_]/g;function kt(Q,fe){let Ce;fe=fe||1/0;const mt=Q.length;let bt=null;const zt=[];for(let hn=0;hn<mt;++hn){if(Ce=Q.charCodeAt(hn),Ce>55295&&Ce<57344){if(!bt){if(Ce>56319){(fe-=3)>-1&&zt.push(239,191,189);continue}if(hn+1===mt){(fe-=3)>-1&&zt.push(239,191,189);continue}bt=Ce;continue}if(Ce<56320){(fe-=3)>-1&&zt.push(239,191,189),bt=Ce;continue}Ce=65536+(bt-55296<<10|Ce-56320)}else bt&&(fe-=3)>-1&&zt.push(239,191,189);if(bt=null,Ce<128){if((fe-=1)<0)break;zt.push(Ce)}else if(Ce<2048){if((fe-=2)<0)break;zt.push(Ce>>6|192,63&Ce|128)}else if(Ce<65536){if((fe-=3)<0)break;zt.push(Ce>>12|224,Ce>>6&63|128,63&Ce|128)}else{if(!(Ce<1114112))throw new Error("Invalid code point");if((fe-=4)<0)break;zt.push(Ce>>18|240,Ce>>12&63|128,Ce>>6&63|128,63&Ce|128)}}return zt}function rn(Q){return r.toByteArray(function(fe){if((fe=(fe=fe.split("=")[0]).trim().replace(Rt,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(Q))}function In(Q,fe,Ce,mt){let bt;for(bt=0;bt<mt&&!(bt+Ce>=fe.length||bt>=Q.length);++bt)fe[bt+Ce]=Q[bt];return bt}function Xn(Q,fe){return Q instanceof fe||null!=Q&&null!=Q.constructor&&null!=Q.constructor.name&&Q.constructor.name===fe.name}function Cr(Q){return Q!=Q}const xn=function(){const Q="0123456789abcdef",fe=new Array(256);for(let Ce=0;Ce<16;++Ce){const mt=16*Ce;for(let bt=0;bt<16;++bt)fe[mt+bt]=Q[Ce]+Q[bt]}return fe}();function _t(Q){return typeof BigInt>"u"?Or:Q}function Or(){throw new Error("BigInt not supported")}},8171:(n,t,e)=>{e(6450);var r=e(4058).Object,i=n.exports=function(o,s,a){return r.defineProperty(o,s,a)};r.defineProperty.sham&&(i.sham=!0)},4883:(n,t,e)=>{var r=e(1899),i=e(7475),o=e(9826),s=r.TypeError;n.exports=function(a){if(i(a))return a;throw s(o(a)+" is not a function")}},6059:(n,t,e)=>{var r=e(1899),i=e(941),o=r.String,s=r.TypeError;n.exports=function(a){if(i(a))return a;throw s(o(a)+" is not an object")}},2532:(n,t,e)=>{var r=e(5329),i=r({}.toString),o=r("".slice);n.exports=function(s){return o(i(s),8,-1)}},2029:(n,t,e)=>{var r=e(5746),i=e(5988),o=e(1887);n.exports=r?function(s,a,l){return i.f(s,a,o(1,l))}:function(s,a,l){return s[a]=l,s}},1887:n=>{n.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5746:(n,t,e)=>{var r=e(5981);n.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},1333:(n,t,e)=>{var r=e(1899),i=e(941),o=r.document,s=i(o)&&i(o.createElement);n.exports=function(a){return s?o.createElement(a):{}}},2861:(n,t,e)=>{var r=e(224);n.exports=r("navigator","userAgent")||""},3385:(n,t,e)=>{var r,i,o=e(1899),s=e(2861),a=o.process,l=o.Deno,u=a&&a.versions||l&&l.version,f=u&&u.v8;f&&(i=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(i=+r[1]),n.exports=i},6887:(n,t,e)=>{var r=e(1899),i=e(9730),o=e(5329),s=e(7475),a=e(9677).f,l=e(7252),u=e(4058),f=e(6843),h=e(2029),v=e(953),m=function(x){var p=function(P,T,H){if(this instanceof p){switch(arguments.length){case 0:return new x;case 1:return new x(P);case 2:return new x(P,T)}return new x(P,T,H)}return i(x,this,arguments)};return p.prototype=x.prototype,p};n.exports=function(x,p){var P,T,H,U,ee,ie,me,ue,Se=x.target,Ue=x.global,it=x.stat,ye=x.proto,xe=Ue?r:it?r[Se]:(r[Se]||{}).prototype,ze=Ue?u:u[Se]||h(u,Se,{})[Se],qe=ze.prototype;for(H in p)P=!l(Ue?H:Se+(it?".":"#")+H,x.forced)&&xe&&v(xe,H),ee=ze[H],P&&(ie=x.noTargetGet?(ue=a(xe,H))&&ue.value:xe[H]),U=P&&ie?ie:p[H],P&&typeof ee==typeof U||(me=x.bind&&P?f(U,r):x.wrap&&P?m(U):ye&&s(U)?o(U):U,(x.sham||U&&U.sham||ee&&ee.sham)&&h(me,"sham",!0),h(ze,H,me),ye&&(v(u,T=Se+"Prototype")||h(u,T,{}),h(u[T],H,U),x.real&&qe&&!qe[H]&&h(qe,H,U)))}},5981:n=>{n.exports=function(t){try{return!!t()}catch{return!0}}},9730:(n,t,e)=>{var r=e(8285),i=Function.prototype,o=i.apply,s=i.call;n.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},6843:(n,t,e)=>{var r=e(5329),i=e(4883),o=e(8285),s=r(r.bind);n.exports=function(a,l){return i(a),void 0===l?a:o?s(a,l):function(){return a.apply(l,arguments)}}},8285:(n,t,e)=>{var r=e(5981);n.exports=!r(function(){var i=function(){}.bind();return"function"!=typeof i||i.hasOwnProperty("prototype")})},8834:(n,t,e)=>{var r=e(8285),i=Function.prototype.call;n.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},5329:(n,t,e)=>{var r=e(8285),i=Function.prototype,s=i.call,a=r&&i.bind.bind(s,s);n.exports=r?function(l){return l&&a(l)}:function(l){return l&&function(){return s.apply(l,arguments)}}},224:(n,t,e)=>{var r=e(4058),i=e(1899),o=e(7475),s=function(a){return o(a)?a:void 0};n.exports=function(a,l){return arguments.length<2?s(r[a])||s(i[a]):r[a]&&r[a][l]||i[a]&&i[a][l]}},9733:(n,t,e)=>{var r=e(4883);n.exports=function(i,o){var s=i[o];return null==s?void 0:r(s)}},1899:(n,t,e)=>{var r=function(i){return i&&i.Math==Math&&i};n.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e.g&&e.g)||function(){return this}()||Function("return this")()},953:(n,t,e)=>{var r=e(5329),i=e(9678),o=r({}.hasOwnProperty);n.exports=Object.hasOwn||function(s,a){return o(i(s),a)}},2840:(n,t,e)=>{var r=e(5746),i=e(5981),o=e(1333);n.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},7026:(n,t,e)=>{var r=e(1899),i=e(5329),o=e(5981),s=e(2532),a=r.Object,l=i("".split);n.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(u){return"String"==s(u)?l(u,""):a(u)}:a},7475:n=>{n.exports=function(t){return"function"==typeof t}},7252:(n,t,e)=>{var r=e(5981),i=e(7475),o=/#|\.prototype\./,s=function(h,v){var m=l[a(h)];return m==f||m!=u&&(i(v)?r(v):!!v)},a=s.normalize=function(h){return String(h).replace(o,".").toLowerCase()},l=s.data={},u=s.NATIVE="N",f=s.POLYFILL="P";n.exports=s},941:(n,t,e)=>{var r=e(7475);n.exports=function(i){return"object"==typeof i?null!==i:r(i)}},2529:n=>{n.exports=!0},6664:(n,t,e)=>{var r=e(1899),i=e(224),o=e(7475),s=e(7046),a=e(2302),l=r.Object;n.exports=a?function(u){return"symbol"==typeof u}:function(u){var f=i("Symbol");return o(f)&&s(f.prototype,l(u))}},2497:(n,t,e)=>{var r=e(3385),i=e(5981);n.exports=!!Object.getOwnPropertySymbols&&!i(function(){var o=Symbol();return!String(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41})},5988:(n,t,e)=>{var r=e(1899),i=e(5746),o=e(2840),s=e(3937),a=e(6059),l=e(3894),u=r.TypeError,f=Object.defineProperty,h=Object.getOwnPropertyDescriptor;t.f=i?s?function(p,P,T){if(a(p),P=l(P),a(T),"function"==typeof p&&"prototype"===P&&"value"in T&&"writable"in T&&!T.writable){var H=h(p,P);H&&H.writable&&(p[P]=T.value,T={configurable:"configurable"in T?T.configurable:H.configurable,enumerable:"enumerable"in T?T.enumerable:H.enumerable,writable:!1})}return f(p,P,T)}:f:function(p,P,T){if(a(p),P=l(P),a(T),o)try{return f(p,P,T)}catch{}if("get"in T||"set"in T)throw u("Accessors not supported");return"value"in T&&(p[P]=T.value),p}},9677:(n,t,e)=>{var r=e(5746),i=e(8834),o=e(6760),s=e(1887),a=e(4529),l=e(3894),u=e(953),f=e(2840),h=Object.getOwnPropertyDescriptor;t.f=r?h:function(v,m){if(v=a(v),m=l(m),f)try{return h(v,m)}catch{}if(u(v,m))return s(!i(o.f,v,m),v[m])}},7046:(n,t,e)=>{var r=e(5329);n.exports=r({}.isPrototypeOf)},6760:(n,t)=>{var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!e.call({1:2},1);t.f=i?function(o){var s=r(this,o);return!!s&&s.enumerable}:e},9811:(n,t,e)=>{var r=e(1899),i=e(8834),o=e(7475),s=e(941),a=r.TypeError;n.exports=function(l,u){var f,h;if("string"===u&&o(f=l.toString)&&!s(h=i(f,l))||o(f=l.valueOf)&&!s(h=i(f,l))||"string"!==u&&o(f=l.toString)&&!s(h=i(f,l)))return h;throw a("Can't convert object to primitive value")}},4058:n=>{n.exports={}},8219:(n,t,e)=>{var r=e(1899).TypeError;n.exports=function(i){if(null==i)throw r("Can't call method on "+i);return i}},4911:(n,t,e)=>{var r=e(1899),i=Object.defineProperty;n.exports=function(o,s){try{i(r,o,{value:s,configurable:!0,writable:!0})}catch{r[o]=s}return s}},3030:(n,t,e)=>{var r=e(1899),i=e(4911),o="__core-js_shared__",s=r[o]||i(o,{});n.exports=s},8726:(n,t,e)=>{var r=e(2529),i=e(3030);(n.exports=function(o,s){return i[o]||(i[o]=void 0!==s?s:{})})("versions",[]).push({version:"3.20.3",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"})},4529:(n,t,e)=>{var r=e(7026),i=e(8219);n.exports=function(o){return r(i(o))}},9678:(n,t,e)=>{var r=e(1899),i=e(8219),o=r.Object;n.exports=function(s){return o(i(s))}},6935:(n,t,e)=>{var r=e(1899),i=e(8834),o=e(941),s=e(6664),a=e(9733),l=e(9811),u=e(9813),f=r.TypeError,h=u("toPrimitive");n.exports=function(v,m){if(!o(v)||s(v))return v;var x,p=a(v,h);if(p){if(void 0===m&&(m="default"),x=i(p,v,m),!o(x)||s(x))return x;throw f("Can't convert object to primitive value")}return void 0===m&&(m="number"),l(v,m)}},3894:(n,t,e)=>{var r=e(6935),i=e(6664);n.exports=function(o){var s=r(o,"string");return i(s)?s:s+""}},9826:(n,t,e)=>{var r=e(1899).String;n.exports=function(i){try{return r(i)}catch{return"Object"}}},9418:(n,t,e)=>{var r=e(5329),i=0,o=Math.random(),s=r(1..toString);n.exports=function(a){return"Symbol("+(void 0===a?"":a)+")_"+s(++i+o,36)}},2302:(n,t,e)=>{var r=e(2497);n.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3937:(n,t,e)=>{var r=e(5746),i=e(5981);n.exports=r&&i(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},9813:(n,t,e)=>{var r=e(1899),i=e(8726),o=e(953),s=e(9418),a=e(2497),l=e(2302),u=i("wks"),f=r.Symbol,h=f&&f.for,v=l?f:f&&f.withoutSetter||s;n.exports=function(m){if(!o(u,m)||!a&&"string"!=typeof u[m]){var x="Symbol."+m;u[m]=a&&o(f,m)?f[m]:l&&h?h(x):v(x)}return u[m]}},6450:(n,t,e)=>{var r=e(6887),i=e(5746),o=e(5988).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},1910:(n,t,e)=>{var r=e(8171);n.exports=r},7698:(n,t,e)=>{var r=e(8764).Buffer;function i(u){return u instanceof r||u instanceof Date||u instanceof RegExp}function o(u){if(u instanceof r){var f=r.alloc?r.alloc(u.length):new r(u.length);return u.copy(f),f}if(u instanceof Date)return new Date(u.getTime());if(u instanceof RegExp)return new RegExp(u);throw new Error("Unexpected situation")}function s(u){var f=[];return u.forEach(function(h,v){f[v]="object"==typeof h&&null!==h?Array.isArray(h)?s(h):i(h)?o(h):l({},h):h}),f}function a(u,f){return"__proto__"===f?void 0:u[f]}var l=n.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];
1var u,f,h=arguments[0],v=Array.prototype.slice.call(arguments,1);return v.forEach(function(m){"object"!=typeof m||null===m||Array.isArray(m)||Object.keys(m).forEach(function(x){return f=a(h,x),(u=a(m,x))===h?void 0:"object"!=typeof u||null===u?void(h[x]=u):Array.isArray(u)?void(h[x]=s(u)):i(u)?void(h[x]=o(u)):"object"!=typeof f||null===f||Array.isArray(f)?void(h[x]=l({},u)):void(h[x]=l(f,u))})}),h}},7187:n=>{var t,e="object"==typeof Reflect?Reflect:null,r=e&&"function"==typeof e.apply?e.apply:function(P,T,H){return Function.prototype.apply.call(P,T,H)};t=e&&"function"==typeof e.ownKeys?e.ownKeys:Object.getOwnPropertySymbols?function(P){return Object.getOwnPropertyNames(P).concat(Object.getOwnPropertySymbols(P))}:function(P){return Object.getOwnPropertyNames(P)};var i=Number.isNaN||function(P){return P!=P};function o(){o.init.call(this)}n.exports=o,n.exports.once=function(P,T){return new Promise(function(H,U){function ee(me){P.removeListener(T,ie),U(me)}function ie(){"function"==typeof P.removeListener&&P.removeListener("error",ee),H([].slice.call(arguments))}var me;p(P,T,ie,{once:!0}),"error"!==T&&("function"==typeof(me=P).on&&p(me,"error",ee,{once:!0}))})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(P){if("function"!=typeof P)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof P)}function l(P){return void 0===P._maxListeners?o.defaultMaxListeners:P._maxListeners}function u(P,T,H,U){var ee,ie,me;if(a(H),void 0===(ie=P._events)?(ie=P._events=Object.create(null),P._eventsCount=0):(void 0!==ie.newListener&&(P.emit("newListener",T,H.listener?H.listener:H),ie=P._events),me=ie[T]),void 0===me)me=ie[T]=H,++P._eventsCount;else if("function"==typeof me?me=ie[T]=U?[H,me]:[me,H]:U?me.unshift(H):me.push(H),(ee=l(P))>0&&me.length>ee&&!me.warned){me.warned=!0;var Se=new Error("Possible EventEmitter memory leak detected. "+me.length+" "+String(T)+" listeners added. Use emitter.setMaxListeners() to increase limit");Se.name="MaxListenersExceededWarning",Se.emitter=P,Se.type=T,Se.count=me.length,console&&console.warn&&console.warn(Se)}return P}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(P,T,H){var U={fired:!1,wrapFn:void 0,target:P,type:T,listener:H},ee=f.bind(U);return ee.listener=H,U.wrapFn=ee,ee}function v(P,T,H){var U=P._events;if(void 0===U)return[];var ee=U[T];return void 0===ee?[]:"function"==typeof ee?H?[ee.listener||ee]:[ee]:H?function(ie){for(var me=new Array(ie.length),ue=0;ue<me.length;++ue)me[ue]=ie[ue].listener||ie[ue];return me}(ee):x(ee,ee.length)}function m(P){var T=this._events;if(void 0!==T){var H=T[P];if("function"==typeof H)return 1;if(void 0!==H)return H.length}return 0}function x(P,T){for(var H=new Array(T),U=0;U<T;++U)H[U]=P[U];return H}function p(P,T,H,U){if("function"==typeof P.on)U.once?P.once(T,H):P.on(T,H);else{if("function"!=typeof P.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof P);P.addEventListener(T,function ee(ie){U.once&&P.removeEventListener(T,ee),H(ie)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(P){if("number"!=typeof P||P<0||i(P))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+P+".");s=P}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(P){if("number"!=typeof P||P<0||i(P))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+P+".");return this._maxListeners=P,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(P){for(var T=[],H=1;H<arguments.length;H++)T.push(arguments[H]);var U="error"===P,ee=this._events;if(void 0!==ee)U=U&&void 0===ee.error;else if(!U)return!1;if(U){var ie;if(T.length>0&&(ie=T[0]),ie instanceof Error)throw ie;var me=new Error("Unhandled error."+(ie?" ("+ie.message+")":""));throw me.context=ie,me}var ue=ee[P];if(void 0===ue)return!1;if("function"==typeof ue)r(ue,this,T);else{var Se=ue.length,Ue=x(ue,Se);for(H=0;H<Se;++H)r(Ue[H],this,T)}return!0},o.prototype.on=o.prototype.addListener=function(P,T){return u(this,P,T,!1)},o.prototype.prependListener=function(P,T){return u(this,P,T,!0)},o.prototype.once=function(P,T){return a(T),this.on(P,h(this,P,T)),this},o.prototype.prependOnceListener=function(P,T){return a(T),this.prependListener(P,h(this,P,T)),this},o.prototype.off=o.prototype.removeListener=function(P,T){var H,U,ee,ie,me;if(a(T),void 0===(U=this._events))return this;if(void 0===(H=U[P]))return this;if(H===T||H.listener===T)0==--this._eventsCount?this._events=Object.create(null):(delete U[P],U.removeListener&&this.emit
vendor: 2,456 bytes, line 1
1("removeListener",P,H.listener||T));else if("function"!=typeof H){for(ee=-1,ie=H.length-1;ie>=0;ie--)if(H[ie]===T||H[ie].listener===T){me=H[ie].listener,ee=ie;break}if(ee<0)return this;0===ee?H.shift():function(ue,Se){for(;Se+1<ue.length;Se++)ue[Se]=ue[Se+1];ue.pop()}(H,ee),1===H.length&&(U[P]=H[0]),void 0!==U.removeListener&&this.emit("removeListener",P,me||T)}return this},o.prototype.removeAllListeners=function(P){var T,H,U;if(void 0===(H=this._events))return this;if(void 0===H.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==H[P]&&(0==--this._eventsCount?this._events=Object.create(null):delete H[P]),this;if(0===arguments.length){var ee,ie=Object.keys(H);for(U=0;U<ie.length;++U)"removeListener"!==(ee=ie[U])&&this.removeAllListeners(ee);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(T=H[P]))this.removeListener(P,T);else if(void 0!==T)for(U=T.length-1;U>=0;U--)this.removeListener(P,T[U]);return this},o.prototype.listeners=function(P){return v(this,P,!0)},o.prototype.rawListeners=function(P){return v(this,P,!1)},o.listenerCount=function(P,T){return"function"==typeof P.listenerCount?P.listenerCount(T):m.call(P,T)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},5717:n=>{n.exports="function"==typeof Object.create?function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},4155:n=>{var t,e,r=n.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(p){if(t===setTimeout)return setTimeout(p,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(p,0);try{return t(p,0)}catch{try{return t.call(null,p,0)}catch{return t.call(this,p,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch{t=i}try{e="function"==typeof clearTimeout?clearTimeout:o}catch{e=o}}();var a,l=[],u=!1,f=-1;function h(){u&&a&&(u=!1,a.length?l=a.concat(l):f=-1,l.length&&v())}function v(){if(!u){var p=s(h);u=!0;for(var P=l.length;P;){for(a=l,l=[];++f<P;)a&&a[f].run();f=-1,P=l.length}a=null,u=!1,function(T){if(e===clearTimeout)return clearTimeout(T);
1if((e===o||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(T);try{e(T)}catch{try{return e.call(null,T)}catch{return e.call(this,T)}}}(p)}}function m(p,P){this.fun=p,this.array=P}function x(){}r.nextTick=function(p){var P=new Array(arguments.length-1);if(arguments.length>1)for(var T=1;T<arguments.length;T++)P[T-1]=arguments[T];l.push(new m(p,P)),1!==l.length||u||s(v)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=x,r.addListener=x,r.once=x,r.off=x,r.removeListener=x,r.removeAllListeners=x,r.emit=x,r.prependListener=x,r.prependOnceListener=x,r.listeners=function(p){return[]},r.binding=function(p){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(p){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},1798:(n,t,e)=>{var r=e(4155),i=65536,s=e(396).Buffer,a=e.g.crypto||e.g.msCrypto;n.exports=a&&a.getRandomValues?function(l,u){if(l>4294967295)throw new RangeError("requested too many random bytes");var f=s.allocUnsafe(l);if(l>0)if(l>i)for(var h=0;h<l;h+=i)a.getRandomValues(f.slice(h,h+i));else a.getRandomValues(f);return"function"==typeof u?r.nextTick(function(){u(null,f)}):f}:function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},4281:n=>{var t={};function e(i,o,s){s||(s=Error);var a=function(l){var u,f;function h(v,m,x){return l.call(this,"string"==typeof o?o:o(v,m,x))||this}return f=l,(u=h).prototype=Object.create(f.prototype),u.prototype.constructor=u,u.__proto__=f,h}(s);a.prototype.name=s.name,a.prototype.code=i,t[i]=a}function r(i,o){if(Array.isArray(i)){var s=i.length;return i=i.map(function(a){return String(a)}),s>2?"one of ".concat(o," ").concat(i.slice(0,s-1).join(", "),", or ")+i[s-1]:2===s?"one of ".concat(o," ").concat(i[0]," or ").concat(i[1]):"of ".concat(o," ").concat(i[0])}return"of ".concat(o," ").concat(String(i))}e("ERR_INVALID_OPT_VALUE",function(i,o){return'The value "'+o+'" is invalid for option "'+i+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(i,o,s){var a,f,v,x;if("string"==typeof o&&"not "===o.substr(0,"not ".length)?(a="must not be",o=o.replace(/^not /,"")):a="must be",v=i,(void 0===x||x>v.length)&&(x=v.length)," argument"===v.substring(x-" argument".length,x))f="The ".concat(i," ").concat(a," ").concat(r(o,"type"));else{var h=function(v,m,x){return"number"!=typeof x&&(x=0),!(x+".".length>v.length)&&-1!==v.indexOf(".",x)}(i)?"property":"argument";f='The "'.concat(i,'" ').concat(h," ").concat(a," ").concat(r(o,"type"))}return f+". Received type ".concat(typeof s)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(i){return"The "+i+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(i){return"Cannot call "+i+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(i){return"Unknown encoding: "+i},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),n.exports.q=t},6753:(n,t,e)=>{var r=e(4155),i=Object.keys||function(m){var x=[];for(var p in m)x.push(p);return x};n.exports=f;var o=e(9481),s=e(4229);e(5717)(f,o);for(var a=i(s.prototype),l=0;l<a.length;l++){var u=a[l];f.prototype[u]||(f.prototype[u]=s.prototype[u])}function f(m){if(!(this instanceof f))return new f(m);o.call(this,m),s.call(this,m),this.allowHalfOpen=!0,m&&(!1===m.readable&&(this.readable=!1),!1===m.writable&&(this.writable=!1),!1===m.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||r.nextTick(v,this)}function v(m){m.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(f.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(f.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(m){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=m,this._writableState.destroyed=m)}})},2725:(n,t,e)=>{n.exports=i;var r=e(4605);function i(o){if(!(this instanceof i))return new i(o);r.call(this,o)}e(5717)(i,r),i.prototype._transform=function(o,s,a){a(null,o)}},9481:(n,t,e)=>{var r,i=e(4155);n.exports=Ue,Ue.ReadableState=Se,e(7187);var u,o=function(Me,De){return Me.listeners(De).length},s=e(2503),a=e(8764).Buffer,l=e.g.Uint8Array||function(){},f=e(4616);u=f&&f.debuglog?f.debuglog("stream"):function(){};var h,v,m,x=e(7327),p=e(1195),P=e(2457).getHighWaterMark,T=e(4281).q,H=T.ERR_INVALID_ARG_TYPE,U=T.ERR_STREAM_PUSH_AFTER_EOF,ee=T.ERR_METHOD_NOT_IMPLEMENT
vendor: 6,767 bytes, line 1
1ED,ie=T.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e(5717)(Ue,s);var me=p.errorOrDestroy,ue=["error","close","destroy","pause","resume"];function Se(Me,De,gt){r=r||e(6753),"boolean"!=typeof gt&&(gt=De instanceof r),this.objectMode=!!(Me=Me||{}).objectMode,gt&&(this.objectMode=this.objectMode||!!Me.readableObjectMode),this.highWaterMark=P(this,Me,"readableHighWaterMark",gt),this.buffer=new x,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==Me.emitClose,this.autoDestroy=!!Me.autoDestroy,this.destroyed=!1,this.defaultEncoding=Me.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Me.encoding&&(h||(h=e(2553).s),this.decoder=new h(Me.encoding),this.encoding=Me.encoding)}function Ue(Me){if(r=r||e(6753),!(this instanceof Ue))return new Ue(Me);this._readableState=new Se(Me,this,this instanceof r),this.readable=!0,Me&&("function"==typeof Me.read&&(this._read=Me.read),"function"==typeof Me.destroy&&(this._destroy=Me.destroy)),s.call(this)}function it(Me,De,gt,Rt,kt){u("readableAddChunk",De);var rn,Xn,Cr,xn,_t,In=Me._readableState;if(null===De)In.reading=!1,function(Xn,Cr){if(u("onEofChunk"),!Cr.ended){if(Cr.decoder){var xn=Cr.decoder.end();xn&&xn.length&&(Cr.buffer.push(xn),Cr.length+=Cr.objectMode?1:xn.length)}Cr.ended=!0,Cr.sync?qe(Xn):(Cr.needReadable=!1,Cr.emittedReadable||(Cr.emittedReadable=!0,Et(Xn)))}}(Me,In);else if(kt||(Xn=In,a.isBuffer(_t=Cr=De)||_t instanceof l||"string"==typeof Cr||void 0===Cr||Xn.objectMode||(xn=new H("chunk",["string","Buffer","Uint8Array"],Cr)),rn=xn),rn)me(Me,rn);else if(In.objectMode||De&&De.length>0)if("string"==typeof De||In.objectMode||Object.getPrototypeOf(De)===a.prototype||(De=function(Xn){return a.from(Xn)}(De)),Rt)In.endEmitted?me(Me,new ie):ye(Me,In,De,!0);else if(In.ended)me(Me,new U);else{if(In.destroyed)return!1;In.reading=!1,In.decoder&&!gt?(De=In.decoder.write(De),In.objectMode||0!==De.length?ye(Me,In,De,!1):Ne(Me,In)):ye(Me,In,De,!1)}else Rt||(In.reading=!1,Ne(Me,In));return!In.ended&&(In.length<In.highWaterMark||0===In.length)}function ye(Me,De,gt,Rt){De.flowing&&0===De.length&&!De.sync?(De.awaitDrain=0,Me.emit("data",gt)):(De.length+=De.objectMode?1:gt.length,Rt?De.buffer.unshift(gt):De.buffer.push(gt),De.needReadable&&qe(Me)),Ne(Me,De)}Object.defineProperty(Ue.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(Me){this._readableState&&(this._readableState.destroyed=Me)}}),Ue.prototype.destroy=p.destroy,Ue.prototype._undestroy=p.undestroy,Ue.prototype._destroy=function(Me,De){De(Me)},Ue.prototype.push=function(Me,De){var gt,Rt=this._readableState;return Rt.objectMode?gt=!0:"string"==typeof Me&&((De=De||Rt.defaultEncoding)!==Rt.encoding&&(Me=a.from(Me,De),De=""),gt=!0),it(this,Me,De,!1,gt)},Ue.prototype.unshift=function(Me){return it(this,Me,null,!0,!1)},Ue.prototype.isPaused=function(){return!1===this._readableState.flowing},Ue.prototype.setEncoding=function(Me){h||(h=e(2553).s);var De=new h(Me);this._readableState.decoder=De,this._readableState.encoding=this._readableState.decoder.encoding;for(var gt=this._readableState.buffer.head,Rt="";null!==gt;)Rt+=De.write(gt.data),gt=gt.next;return this._readableState.buffer.clear(),""!==Rt&&this._readableState.buffer.push(Rt),this._readableState.length=Rt.length,this};var xe=1073741824;function ze(Me,De){return Me<=0||0===De.length&&De.ended?0:De.objectMode?1:Me!=Me?De.flowing&&De.length?De.buffer.head.data.length:De.length:(Me>De.highWaterMark&&(De.highWaterMark=((gt=Me)>=xe?gt=xe:(gt--,gt|=gt>>>1,gt|=gt>>>2,gt|=gt>>>4,gt|=gt>>>8,gt|=gt>>>16,gt++),gt)),Me<=De.length?Me:De.ended?De.length:(De.needReadable=!0,0));var gt}function qe(Me){var De=Me._readableState;u("emitReadable",De.needReadable,De.emittedReadable),De.needReadable=!1,De.emittedReadable||(u("emitReadable",De.flowing),De.emittedReadable=!0,i.nextTick(Et,Me))}function Et(Me){var De=Me._readableState;u("emitReadable_",De.destroyed,De.length,De.ended),De.destroyed||!De.length&&!De.ended||(Me.emit("readable"),De.emittedReadable=!1),De.needReadable=!De.flowing&&!De.ended&&De.length<=De.highWaterMark,Tt(Me)}function Ne(Me,De){De.readingMore||(De.readingMore=!0,i.nextTick(je,Me,De))}function je(Me,De){for(;!De.reading&&!De.ended&&(De.length<De.highWaterMark||De.flowing&&0===De.length);){var gt=De.length;if(u("maybeReadMore read 0"),Me.read(0),gt===De.length)break}De.readingMore=!1}function we(Me){var De=Me._readableState;De.readableListening=Me.listenerCount("readable")>0,De.resumeScheduled&&!De.paused?De.flowing=!0:Me.listenerCount("data")>0&&Me.resume()}function Ke(Me){u("readable nexttick read 0"),Me.read(0)}function dt(Me,De){u("resume",De.reading),De.reading||Me.read(0),De.resumeScheduled=!1,Me.emit("resume"),Tt(Me),De.flowing&&!De.reading&&Me.read(0)}function Tt(Me){var De=Me._readableState;for(u("flow",De.flowing);De.flowing&&null!==Me.read(););}function Ae(Me,De){return 0===De.length?null:(De.objectMode?gt=De.buffer.shift():!Me||Me>=De.length?(gt=De.decoder?De.buffer.join(""):1===De.buffer.length?De.buffer.first():De.buffer.concat(De.length),De.buffer.clear()):gt=De.buffer.consume(Me,De.decoder),gt);var gt}function Pe(Me){var De=Me._readableState;u("endReadable",De.endEmitted),De.endEmitted||(De.ended=!0,i.nextTick(Xe,De,Me))}function Xe(Me,De){if(u("endReadableNT",Me.endEmitted,Me.length),!Me.endEmitted&&0===Me.length&&(Me.endEmitted=!0,De.readable=!1,De.emit("end"),Me.autoDestroy)){var gt=De._writableState;(!gt||gt.autoDestroy&>.finished)&&De.destroy()}}function $e(Me,De){for(var gt=0,Rt=Me.length;gt<Rt;gt++)if(Me[gt]===De)return gt;return-1}Ue.prototype.read=function(Me){u("read",Me),Me=parseInt(Me,10);var De=this._readableState,gt=Me;if(0!==Me&&(De.emittedReadable=!1),0===Me&&De.needReadable&&((0!==De.highWaterMark?De.length>=De.highWaterMark:De.length>0)||De.ended))return u("read: emitReadable",De.length,De.ended),0===De.length&&De.ended?Pe(this):qe(this),null;if(0===(Me=ze(Me,De))&&De.ended)return 0===De.length&&Pe(this),null;var Rt,kt=De.needReadable;return u("need readable",kt),(0===De.length||De.length-Me<De.highWaterMark)&&u("length less than watermark",kt=!0),De.ended||De.reading?u("reading or ended",kt=!1):kt&&(u("do read"),De.reading=!0,De.sync=!0,0===De.length&&(De.needReadable=!0),this._read(De.highWaterMark),De.sync=!1,De.reading||(Me=ze(gt,De))),null===(Rt=Me>0?Ae(Me,De):null)?(De.needReadable=De.length<=De.highWaterMark,Me=0):(De.length-=Me,De.awaitDrain=0),0===De.length&&(De.ended||(De.needReadable=!0),gt!==Me&&De.ended&&Pe(this)),null!==Rt&&this.emit
vendor: 5,239 bytes, line 1
1("data",Rt),Rt},Ue.prototype._read=function(Me){me(this,new ee("_read()"))},Ue.prototype.pipe=function(Me,De){var gt=this,Rt=this._readableState;switch(Rt.pipesCount){case 0:Rt.pipes=Me;break;case 1:Rt.pipes=[Rt.pipes,Me];break;default:Rt.pipes.push(Me)}Rt.pipesCount+=1,u("pipe count=%d opts=%j",Rt.pipesCount,De);var kt=De&&!1===De.end||Me===i.stdout||Me===i.stderr?fe:In;function In(){u("onend"),Me.end()}Rt.endEmitted?i.nextTick(kt):gt.once("end",kt),Me.on("unpipe",function rn(Ce,mt){u("onunpipe"),Ce===gt&&mt&&!1===mt.hasUnpiped&&(mt.hasUnpiped=!0,u("cleanup"),Me.removeListener("close",Or),Me.removeListener("finish",Q),Me.removeListener("drain",Xn),Me.removeListener("error",_t),Me.removeListener("unpipe",rn),gt.removeListener("end",In),gt.removeListener("end",fe),gt.removeListener("data",xn),Cr=!0,!Rt.awaitDrain||Me._writableState&&!Me._writableState.needDrain||Xn())});var Ce,Xn=(Ce=gt,function(){var mt=Ce._readableState;u("pipeOnDrain",mt.awaitDrain),mt.awaitDrain&&mt.awaitDrain--,0===mt.awaitDrain&&o(Ce,"data")&&(mt.flowing=!0,Tt(Ce))});Me.on("drain",Xn);var Cr=!1;function xn(Ce){u("ondata");var mt=Me.write(Ce);u("dest.write",mt),!1===mt&&((1===Rt.pipesCount&&Rt.pipes===Me||Rt.pipesCount>1&&-1!==$e(Rt.pipes,Me))&&!Cr&&(u("false write response, pause",Rt.awaitDrain),Rt.awaitDrain++),gt.pause())}function _t(Ce){u("onerror",Ce),fe(),Me.removeListener("error",_t),0===o(Me,"error")&&me(Me,Ce)}function Or(){Me.removeListener("finish",Q),fe()}function Q(){u("onfinish"),Me.removeListener("close",Or),fe()}function fe(){u("unpipe"),gt.unpipe(Me)}return gt.on("data",xn),function(Ce,mt,bt){if("function"==typeof Ce.prependListener)return Ce.prependListener(mt,bt);Ce._events&&Ce._events[mt]?Array.isArray(Ce._events[mt])?Ce._events[mt].unshift(bt):Ce._events[mt]=[bt,Ce._events[mt]]:Ce.on(mt,bt)}(Me,"error",_t),Me.once("close",Or),Me.once("finish",Q),Me.emit("pipe",gt),Rt.flowing||(u("pipe resume"),gt.resume()),Me},Ue.prototype.unpipe=function(Me){var De=this._readableState,gt={hasUnpiped:!1};if(0===De.pipesCount)return this;if(1===De.pipesCount)return Me&&Me!==De.pipes||(Me||(Me=De.pipes),De.pipes=null,De.pipesCount=0,De.flowing=!1,Me&&Me.emit("unpipe",this,gt)),this;if(!Me){var Rt=De.pipes,kt=De.pipesCount;De.pipes=null,De.pipesCount=0,De.flowing=!1;for(var rn=0;rn<kt;rn++)Rt[rn].emit("unpipe",this,{hasUnpiped:!1});return this}var In=$e(De.pipes,Me);return-1===In||(De.pipes.splice(In,1),De.pipesCount-=1,1===De.pipesCount&&(De.pipes=De.pipes[0]),Me.emit("unpipe",this,gt)),this},Ue.prototype.addListener=Ue.prototype.on=function(Me,De){var gt=s.prototype.on.call(this,Me,De),Rt=this._readableState;return"data"===Me?(Rt.readableListening=this.listenerCount("readable")>0,!1!==Rt.flowing&&this.resume()):"readable"===Me&&(Rt.endEmitted||Rt.readableListening||(Rt.readableListening=Rt.needReadable=!0,Rt.flowing=!1,Rt.emittedReadable=!1,u("on readable",Rt.length,Rt.reading),Rt.length?qe(this):Rt.reading||i.nextTick(Ke,this))),gt},Ue.prototype.removeListener=function(Me,De){var gt=s.prototype.removeListener.call(this,Me,De);return"readable"===Me&&i.nextTick(we,this),gt},Ue.prototype.removeAllListeners=function(Me){var De=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==Me&&void 0!==Me||i.nextTick(we,this),De},Ue.prototype.resume=function(){var gt,Me=this._readableState;return Me.flowing||(u("resume"),Me.flowing=!Me.readableListening,this,(gt=Me).resumeScheduled||(gt.resumeScheduled=!0,i.nextTick(dt,this,gt))),Me.paused=!1,this},Ue.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Ue.prototype.wrap=function(Me){var De=this,gt=this._readableState,Rt=!1;for(var kt in Me.on("end",function(){if(u("wrapped end"),gt.decoder&&!gt.ended){var In=gt.decoder.end();In&&In.length&&De.push(In)}De.push(null)}),Me.on("data",function(In){u("wrapped data"),gt.decoder&&(In=gt.decoder.write(In)),gt.objectMode&&null==In||(gt.objectMode||In&&In.length)&&(De.push(In)||(Rt=!0,Me.pause()))}),Me)void 0===this[kt]&&"function"==typeof Me[kt]&&(this[kt]=function(In){return function(){return Me[In].apply(Me,arguments)}}(kt));for(var rn=0;rn<ue.length;rn++)Me.on(ue[rn],this.emit.bind(this,ue[rn]));return this._read=function(In){u("wrapped _read",In),Rt&&(Rt=!1,Me.resume())},this},"function"==typeof Symbol&&(Ue.prototype[Symbol.asyncIterator]=function(){return void 0===v&&(v=e(5850)),v(this)}),Object.defineProperty(Ue.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Ue.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Ue.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Me){this._readableState&&(this._readableState.flowing=Me)}}),Ue._fromList=Ae,Object.defineProperty(Ue.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(Ue.from=function(Me,De){return void 0===m&&(m=e(5167)),m(Ue,Me,De)})},4605:(n,t,e)=>{n.exports=f;
vendor: 5,152 bytes, line 1
1var r=e(4281).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,l=e(6753);function u(m,x){var p=this._transformState;p.transforming=!1;var P=p.writecb;if(null===P)return this.emit("error",new o);p.writechunk=null,p.writecb=null,null!=x&&this.push(x),P(m);var T=this._readableState;T.reading=!1,(T.needReadable||T.length<T.highWaterMark)&&this._read(T.highWaterMark)}function f(m){if(!(this instanceof f))return new f(m);l.call(this,m),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,m&&("function"==typeof m.transform&&(this._transform=m.transform),"function"==typeof m.flush&&(this._flush=m.flush)),this.on("prefinish",h)}function h(){var m=this;"function"!=typeof this._flush||this._readableState.destroyed?v(this,null,null):this._flush(function(x,p){v(m,x,p)})}function v(m,x,p){if(x)return m.emit("error",x);if(null!=p&&m.push(p),m._writableState.length)throw new a;if(m._transformState.transforming)throw new s;return m.push(null)}e(5717)(f,l),f.prototype.push=function(m,x){return this._transformState.needTransform=!1,l.prototype.push.call(this,m,x)},f.prototype._transform=function(m,x,p){p(new i("_transform()"))},f.prototype._write=function(m,x,p){var P=this._transformState;if(P.writecb=p,P.writechunk=m,P.writeencoding=x,!P.transforming){var T=this._readableState;(P.needTransform||T.needReadable||T.length<T.highWaterMark)&&this._read(T.highWaterMark)}},f.prototype._read=function(m){var x=this._transformState;null===x.writechunk||x.transforming?x.needTransform=!0:(x.transforming=!0,this._transform(x.writechunk,x.writeencoding,x.afterTransform))},f.prototype._destroy=function(m,x){l.prototype._destroy.call(this,m,function(p){x(p)})}},4229:(n,t,e)=>{var r,i=e(4155);function o(Ne){var je=this;this.next=null,this.entry=null,this.finish=function(){!function(we,Ke,dt){var Tt=we.entry;for(we.entry=null;Tt;){var Ae=Tt.callback;Ke.pendingcb--,Ae(void 0),Tt=Tt.next}Ke.corkedRequestsFree.next=we}(je,Ne)}}n.exports=Ue,Ue.WritableState=Se;var f,s={deprecate:e(4927)},a=e(2503),l=e(8764).Buffer,u=e.g.Uint8Array||function(){},h=e(1195),v=e(2457).getHighWaterMark,m=e(4281).q,x=m.ERR_INVALID_ARG_TYPE,p=m.ERR_METHOD_NOT_IMPLEMENTED,P=m.ERR_MULTIPLE_CALLBACK,T=m.ERR_STREAM_CANNOT_PIPE,H=m.ERR_STREAM_DESTROYED,U=m.ERR_STREAM_NULL_VALUES,ee=m.ERR_STREAM_WRITE_AFTER_END,ie=m.ERR_UNKNOWN_ENCODING,me=h.errorOrDestroy;function ue(){}function Se(Ne,je,we){r=r||e(6753),"boolean"!=typeof we&&(we=je instanceof r),this.objectMode=!!(Ne=Ne||{}).objectMode,we&&(this.objectMode=this.objectMode||!!Ne.writableObjectMode),this.highWaterMark=v(this,Ne,"writableHighWaterMark",we),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Ne.decodeStrings),this.defaultEncoding=Ne.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(dt){!function(Tt,Ae){var De,Pe=Tt._writableState,Xe=Pe.sync,$e=Pe.writecb;if("function"!=typeof $e)throw new P;if((De=Pe).writing=!1,De.writecb=null,De.length-=De.writelen,De.writelen=0,Ae)!function(De,gt,Rt,kt,rn){--gt.pendingcb,Rt?(i.nextTick(rn,kt),i.nextTick(Et,De,gt),De._writableState.errorEmitted=!0,me(De,kt)):(rn(kt),De._writableState.errorEmitted=!0,me(De,kt),Et(De,gt))}(Tt,Pe,Xe,Ae,$e);else{var Me=ze(Pe)||Tt.destroyed;Me||Pe.corked||Pe.bufferProcessing||!Pe.bufferedRequest||xe(Tt,Pe),Xe?i.nextTick(ye,Tt,Pe,Me,$e):ye(Tt,Pe,Me,$e)}}(je,dt)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Ne.emitClose,this.autoDestroy=!!Ne.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function Ue(Ne){var je=this instanceof(r=r||e(6753));if(!je&&!f.call(Ue,this))return new Ue(Ne);this._writableState=new Se(Ne,this,je),this.writable=!0,Ne&&("function"==typeof Ne.write&&(this._write=Ne.write),"function"==typeof Ne.writev&&(this._writev=Ne.writev),"function"==typeof Ne.destroy&&(this._destroy=Ne.destroy),"function"==typeof Ne.final&&(this._final=Ne.final)),a.call(this)}function it(Ne,je,we,Ke,dt,Tt,Ae){je.writelen=Ke,je.writecb=Ae,je.writing=!0,je.sync=!0,je.destroyed?je.onwrite(new H("write")):we?Ne._writev(dt,je.onwrite):Ne._write(dt,Tt,je.onwrite),je.sync=!1}function ye(Ne,je,we,Ke){var dt,Tt;we||(dt=Ne,0===(Tt=je).length&&Tt.needDrain&&(Tt.needDrain=!1,dt.emit("drain"))),je.pendingcb--,Ke(),Et(Ne,je)}function xe(Ne,je){je.bufferProcessing=!0;var we=je.bufferedRequest;if(Ne._writev&&we&&we.next){var dt=new Array(je.bufferedRequestCount),Tt=je.corkedRequestsFree;Tt.entry=we;for(var Ae=0,Pe=!0;we;)dt[Ae]=we,we.isBuf||(Pe=!1),we=we.next,Ae+=1;dt.allBuffers=Pe,it(Ne,je,!0,je.length,dt,"",Tt.finish),je.pendingcb++,je.lastBufferedRequest=null,Tt.next?(je.corkedRequestsFree=Tt.next,Tt.next=null):je.corkedRequestsFree=new o(je),je.bufferedRequestCount=0}else{for(;we;){var Xe=we.chunk;
1if(it(Ne,je,!1,je.objectMode?1:Xe.length,Xe,we.encoding,we.callback),we=we.next,je.bufferedRequestCount--,je.writing)break}null===we&&(je.lastBufferedRequest=null)}je.bufferedRequest=we,je.bufferProcessing=!1}function ze(Ne){return Ne.ending&&0===Ne.length&&null===Ne.bufferedRequest&&!Ne.finished&&!Ne.writing}function qe(Ne,je){Ne._final(function(we){je.pendingcb--,we&&me(Ne,we),je.prefinished=!0,Ne.emit("prefinish"),Et(Ne,je)})}function Et(Ne,je){var dt,Tt,we=ze(je);if(we&&(dt=Ne,(Tt=je).prefinished||Tt.finalCalled||("function"!=typeof dt._final||Tt.destroyed?(Tt.prefinished=!0,dt.emit("prefinish")):(Tt.pendingcb++,Tt.finalCalled=!0,i.nextTick(qe,dt,Tt))),0===je.pendingcb&&(je.finished=!0,Ne.emit("finish"),je.autoDestroy))){var Ke=Ne._readableState;(!Ke||Ke.autoDestroy&&Ke.endEmitted)&&Ne.destroy()}return we}e(5717)(Ue,a),Se.prototype.getBuffer=function(){for(var Ne=this.bufferedRequest,je=[];Ne;)je.push(Ne),Ne=Ne.next;return je},function(){try{Object.defineProperty(Se.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ue,Symbol.hasInstance,{value:function(Ne){return!!f.call(this,Ne)||this===Ue&&Ne&&Ne._writableState instanceof Se}})):f=function(Ne){return Ne instanceof this},Ue.prototype.pipe=function(){me(this,new T)},Ue.prototype.write=function(Ne,je,we){var Ke,Pe,Xe,$e,dt=this._writableState,Tt=!1,Ae=!dt.objectMode&&(l.isBuffer(Ke=Ne)||Ke instanceof u);return Ae&&!l.isBuffer(Ne)&&(Ne=l.from(Ne)),"function"==typeof je&&(we=je,je=null),Ae?je="buffer":je||(je=dt.defaultEncoding),"function"!=typeof we&&(we=ue),dt.ending?(Pe=this,Xe=we,$e=new ee,me(Pe,$e),i.nextTick(Xe,$e)):(Ae||function(Pe,Xe,$e,Me){var De;return null===$e?De=new U:"string"==typeof $e||Xe.objectMode||(De=new x("chunk",["string","Buffer"],$e)),!De||(me(Pe,De),i.nextTick(Me,De),!1)}(this,dt,Ne,we))&&(dt.pendingcb++,Tt=function(Pe,Xe,$e,Me,De,gt){if(!$e){var Rt=(Cr=Me,(Xn=Xe).objectMode||!1===Xn.decodeStrings||"string"!=typeof Cr||(Cr=l.from(Cr,De)),Cr);Me!==Rt&&($e=!0,De="buffer",Me=Rt)}var Xn,Cr,kt=Xe.objectMode?1:Me.length;Xe.length+=kt;var rn=Xe.length<Xe.highWaterMark;if(rn||(Xe.needDrain=!0),Xe.writing||Xe.corked){var In=Xe.lastBufferedRequest;Xe.lastBufferedRequest={chunk:Me,encoding:De,isBuf:$e,callback:gt,next:null},In?In.next=Xe.lastBufferedRequest:Xe.bufferedRequest=Xe.lastBufferedRequest,Xe.bufferedRequestCount+=1}else it(Pe,Xe,!1,kt,Me,De,gt);return rn}(this,dt,Ae,Ne,je,we)),Tt},Ue.prototype.cork=function(){this._writableState.corked++},Ue.prototype.uncork=function(){var Ne=this._writableState;Ne.corked&&(Ne.corked--,Ne.writing||Ne.corked||Ne.bufferProcessing||!Ne.bufferedRequest||xe(this,Ne))},Ue.prototype.setDefaultEncoding=function(Ne){if("string"==typeof Ne&&(Ne=Ne.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ne+"").toLowerCase())>-1))throw new ie(Ne);return this._writableState.defaultEncoding=Ne,this},Object.defineProperty(Ue.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Ue.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Ue.prototype._write=function(Ne,je,we){we(new p("_write()"))},Ue.prototype._writev=null,Ue.prototype.end=function(Ne,je,we){var Tt,Ae,Ke=this._writableState;return"function"==typeof Ne?(we=Ne,Ne=null,je=null):"function"==typeof je&&(we=je,je=null),null!=Ne&&this.write(Ne,je),Ke.corked&&(Ke.corked=1,this.uncork()),Ke.ending||(this,Ae=we,(Tt=Ke).ending=!0,Et(this,Tt),Ae&&(Tt.finished?i.nextTick(Ae):this.once("finish",Ae)),Tt.ended=!0,this.writable=!1),this},Object.defineProperty(Ue.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Ue.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Ne){this._writableState&&(this._writableState.destroyed=Ne)}}),Ue.prototype.destroy=h.destroy,Ue.prototype._undestroy=h.undestroy,Ue.prototype._destroy=function(Ne,je){je(Ne)}},5850:(n,t,e)=>{var r,i=e(4155);function o(U,ee,ie){return ee in U?Object.defineProperty(U,ee,{value:ie,enumerable:!0,configurable:!0,writable:!0}):U[ee]=ie,U}var s=e(8610),a=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),f=Symbol("ended"),h=Symbol("lastPromise"),v=Symbol("handlePromise"),m=Symbol("stream");function x(U,ee){return{value:U,done:ee}}function p(U){var ee=U[a];if(null!==ee){var ie=U[m].read();null!==ie&&(U[h]=null,U[a]=null,U[l]=null,ee(x(ie,!1)))}}function P(U){i.nextTick(p,U)}var T=Object.getPrototypeOf(function(){}
1),H=Object.setPrototypeOf((o(r={get stream(){return this[m]},next:function(){var U=this,ee=this[u];if(null!==ee)return Promise.reject(ee);if(this[f])return Promise.resolve(x(void 0,!0));if(this[m].destroyed)return new Promise(function(Se,Ue){i.nextTick(function(){U[u]?Ue(U[u]):Se(x(void 0,!0))})});var ie,Se,Ue,me=this[h];if(me)ie=new Promise((Se=me,Ue=this,function(it,ye){Se.then(function(){Ue[f]?it(x(void 0,!0)):Ue[v](it,ye)},ye)}));else{var ue=this[m].read();if(null!==ue)return Promise.resolve(x(ue,!1));ie=new Promise(this[v])}return this[h]=ie,ie}},Symbol.asyncIterator,function(){return this}),o(r,"return",function(){var U=this;return new Promise(function(ee,ie){U[m].destroy(null,function(me){me?ie(me):ee(x(void 0,!0))})})}),r),T);n.exports=function(U){var ee,ie=Object.create(H,(o(ee={},m,{value:U,writable:!0}),o(ee,a,{value:null,writable:!0}),o(ee,l,{value:null,writable:!0}),o(ee,u,{value:null,writable:!0}),o(ee,f,{value:U._readableState.endEmitted,writable:!0}),o(ee,v,{value:function(me,ue){var Se=ie[m].read();Se?(ie[h]=null,ie[a]=null,ie[l]=null,me(x(Se,!1))):(ie[a]=me,ie[l]=ue)},writable:!0}),ee));return ie[h]=null,s(U,function(me){if(me&&"ERR_STREAM_PREMATURE_CLOSE"!==me.code){var ue=ie[l];return null!==ue&&(ie[h]=null,ie[a]=null,ie[l]=null,ue(me)),void(ie[u]=me)}var Se=ie[a];null!==Se&&(ie[h]=null,ie[a]=null,ie[l]=null,Se(x(void 0,!0))),ie[f]=!0}),U.on("readable",P.bind(null,ie)),ie}},7327:(n,t,e)=>{function r(u,f){var h=Object.keys(u);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(u);f&&(v=v.filter(function(m){return Object.getOwnPropertyDescriptor(u,m).enumerable})),h.push.apply(h,v)}return h}function i(u,f,h){return f in u?Object.defineProperty(u,f,{value:h,enumerable:!0,configurable:!0,writable:!0}):u[f]=h,u}var s=e(8764).Buffer,a=e(2361).inspect,l=a&&a.custom||"inspect";n.exports=function(){function u(){(function(m,x){if(!(m instanceof x))throw new TypeError("Cannot call a class as a function")})(this,u),this.head=null,this.tail=null,this.length=0}var h;return h=[{key:"push",value:function(m){var x={data:m,next:null};this.length>0?this.tail.next=x:this.head=x,this.tail=x,++this.length}},{key:"unshift",value:function(m){var x={data:m,next:this.head};0===this.length&&(this.tail=x),this.head=x,++this.length}},{key:"shift",value:function(){if(0!==this.length){var m=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,m}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(m){if(0===this.length)return"";for(var x=this.head,p=""+x.data;x=x.next;)p+=m+x.data;return p}},{key:"concat",value:function(m){if(0===this.length)return s.alloc(0);for(var T=s.allocUnsafe(m>>>0),H=this.head,U=0;H;)s.prototype.copy.call(H.data,T,U),U+=H.data.length,H=H.next;return T}},{key:"consume",value:function(m,x){var p;return m<this.head.data.length?(p=this.head.data.slice(0,m),this.head.data=this.head.data.slice(m)):p=m===this.head.data.length?this.shift():x?this._getString(m):this._getBuffer(m),p}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(m){var x=this.head,p=1,P=x.data;for(m-=P.length;x=x.next;){var T=x.data,H=m>T.length?T.length:m;if(P+=H===T.length?T:T.slice(0,m),0==(m-=H)){H===T.length?(++p,this.head=x.next?x.next:this.tail=null):(this.head=x,x.data=T.slice(H));break}++p}return this.length-=p,P}},{key:"_getBuffer",value:function(m){var x=s.allocUnsafe(m),p=this.head,P=1;for(p.data.copy(x),m-=p.data.length;p=p.next;){var T=p.data,H=m>T.length?T.length:m;if(T.copy(x,x.length-m,0,H),0==(m-=H)){H===T.length?(++P,this.head=p.next?p.next:this.tail=null):(this.head=p,p.data=T.slice(H));break}++P}return this.length-=P,x}},{key:l,value:function(m,x){return a(this,function(p){for(var P=1;P<arguments.length;P++){var T=null!=arguments[P]?arguments[P]:{};P%2?r(Object(T),!0).forEach(function(H){i(p,H,T[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(T)):r(Object(T)).forEach(function(H){Object.defineProperty(p,H,Object.getOwnPropertyDescriptor(T,H))})}return p}({},x,{depth:0,customInspect:!1}))}}],h&&function o(u,f){for(var h=0;h<f.length;h++){var v=f[h];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(u,v.key,v)}}(u.prototype,h),u}()},1195:(n,t,e)=>{var r=e(4155);function i(a,l){s(a,l),o(a)}function o(a){a._writableState&&!a._writableState.emitClose||a._readableState&&!a._readableState.emitClose||a.emit("close")}function s(a,l){a.emit("error",l)}n.exports={destroy:function(a,l){var u=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(l?l(a):a&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(s,this,a)):r.nextTick(s,this,a)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(v){!l&&v?u._writableState?u._writableState.errorEmitted?r.nextTick(o,u):(u._writableState.errorEmitted=!0,r.nextTick(i,u,v)):r.nextTick(i,u,v):l?(r.nextTick(o,u),l(v)):r.nextTick(o,u)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(a,l){var u=a._readableState,f=a._writableState;u&&u.autoDestroy||f&&f.autoDestroy?a.destroy(l):a.emit("error",l)}}},8610:(n,t,e)=>
1{var r=e(4281).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}n.exports=function o(s,a,l){if("function"==typeof a)return o(s,null,a);var U,ee;a||(a={}),U=l||i,ee=!1,l=function(){if(!ee){ee=!0;for(var ie=arguments.length,me=new Array(ie),ue=0;ue<ie;ue++)me[ue]=arguments[ue];U.apply(this,me)}};var u=a.readable||!1!==a.readable&&s.readable,f=a.writable||!1!==a.writable&&s.writable,h=function(){s.writable||m()},v=s._writableState&&s._writableState.finished,m=function(){f=!1,v=!0,u||l.call(s)},x=s._readableState&&s._readableState.endEmitted,p=function(){u=!1,x=!0,f||l.call(s)},P=function(U){l.call(s,U)},T=function(){var U;return u&&!x?(s._readableState&&s._readableState.ended||(U=new r),l.call(s,U)):f&&!v?(s._writableState&&s._writableState.ended||(U=new r),l.call(s,U)):void 0},H=function(){s.req.on("finish",m)};return function(U){return U.setHeader&&"function"==typeof U.abort}(s)?(s.on("complete",m),s.on("abort",T),s.req?H():s.on("request",H)):f&&!s._writableState&&(s.on("end",h),s.on("close",h)),s.on("end",p),s.on("finish",m),!1!==a.error&&s.on("error",P),s.on("close",T),function(){s.removeListener("complete",m),s.removeListener("abort",T),s.removeListener("request",H),s.req&&s.req.removeListener("finish",m),s.removeListener("end",h),s.removeListener("close",h),s.removeListener("finish",m),s.removeListener("end",p),s.removeListener("error",P),s.removeListener("close",T)}}},5167:n=>{n.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(n,t,e)=>{var r,i=e(4281).q,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(v){if(v)throw v}function l(v,m,x,p){var H,U;H=p,U=!1,p=function(){U||(U=!0,H.apply(void 0,arguments))};var P=!1;v.on("close",function(){P=!0}),void 0===r&&(r=e(8610)),r(v,{readable:m,writable:x},function(H){if(H)return p(H);P=!0,p()});var T=!1;return function(H){if(!P&&!T)return T=!0,function(U){return U.setHeader&&"function"==typeof U.abort}(v)?v.abort():"function"==typeof v.destroy?v.destroy():void p(H||new s("pipe"))}}function u(v){v()}function f(v,m){return v.pipe(m)}function h(v){return v.length?"function"!=typeof v[v.length-1]?a:v.pop():a}n.exports=function(){for(var v=arguments.length,m=new Array(v),x=0;x<v;x++)m[x]=arguments[x];var p,P=h(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new o("streams");var T=m.map(function(H,U){var ee=U<m.length-1;return l(H,ee,U>0,function(ie){p||(p=ie),ie&&T.forEach(u),ee||(T.forEach(u),P(p))})});return m.reduce(f)}},2457:(n,t,e)=>
vendor: 18,016 bytes, line 1
1{var r=e(4281).q.ERR_INVALID_OPT_VALUE;n.exports={getHighWaterMark:function(i,o,s,a){var u,l=null!=(u=o).highWaterMark?u.highWaterMark:a?u[s]:null;if(null!=l){if(!isFinite(l)||Math.floor(l)!==l||l<0)throw new r(a?s:"highWaterMark",l);return Math.floor(l)}return i.objectMode?16:16384}}},2503:(n,t,e)=>{n.exports=e(7187).EventEmitter},4189:(n,t,e)=>{var r=e(396).Buffer;function i(o,s){this._block=r.alloc(o),this._finalSize=s,this._blockSize=o,this._len=0}i.prototype.update=function(o,s){"string"==typeof o&&(o=r.from(o,s=s||"utf8"));for(var a=this._block,l=this._blockSize,u=o.length,f=this._len,h=0;h<u;){for(var v=f%l,m=Math.min(u-h,l-v),x=0;x<m;x++)a[v+x]=o[h+x];h+=m,(f+=m)%l==0&&this._update(a)}return this._len+=u,this},i.prototype.digest=function(o){var s=this._len%this._blockSize;this._block[s]=128,this._block.fill(0,s+1),s>=this._finalSize&&(this._update(this._block),this._block.fill(0));var a=8*this._len;if(a<=4294967295)this._block.writeUInt32BE(a,this._blockSize-4);else{var l=(4294967295&a)>>>0;this._block.writeUInt32BE((a-l)/4294967296,this._blockSize-8),this._block.writeUInt32BE(l,this._blockSize-4)}this._update(this._block);var f=this._hash();return o?f.toString(o):f},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},n.exports=i},9072:(n,t,e)=>{var r=n.exports=function(i){i=i.toLowerCase();var o=r[i];if(!o)throw new Error(i+" is not supported (we accept pull requests)");return new o};r.sha=e(4448),r.sha1=e(8336),r.sha224=e(8432),r.sha256=e(7499),r.sha384=e(1686),r.sha512=e(7816)},4448:(n,t,e)=>{var r=e(5717),i=e(4189),o=e(396).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,i.call(this,64,56)}function u(h){return h<<30|h>>>2}function f(h,v,m,x){return 0===h?v&m|~v&x:2===h?v&m|v&x|m&x:v^m^x}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(h){for(var v,m=this._w,x=0|this._a,p=0|this._b,P=0|this._c,T=0|this._d,H=0|this._e,U=0;U<16;++U)m[U]=h.readInt32BE(4*U);for(;U<80;++U)m[U]=m[U-3]^m[U-8]^m[U-14]^m[U-16];for(var ee=0;ee<80;++ee){var ie=~~(ee/20),me=0|((v=x)<<5|v>>>27)+f(ie,p,P,T)+H+m[ee]+s[ie];H=T,T=P,P=u(p),p=x,x=me}this._a=x+this._a|0,this._b=p+this._b|0,this._c=P+this._c|0,this._d=T+this._d|0,this._e=H+this._e|0},l.prototype._hash=function(){var h=o.allocUnsafe(20);return h.writeInt32BE(0|this._a,0),h.writeInt32BE(0|this._b,4),h.writeInt32BE(0|this._c,8),h.writeInt32BE(0|this._d,12),h.writeInt32BE(0|this._e,16),h},n.exports=l},8336:(n,t,e)=>{var r=e(5717),i=e(4189),o=e(396).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,i.call(this,64,56)}function u(v){return v<<5|v>>>27}function f(v){return v<<30|v>>>2}function h(v,m,x,p){return 0===v?m&x|~m&p:2===v?m&x|m&p|x&p:m^x^p}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(v){for(var m,x=this._w,p=0|this._a,P=0|this._b,T=0|this._c,H=0|this._d,U=0|this._e,ee=0;ee<16;++ee)x[ee]=v.readInt32BE(4*ee);for(;ee<80;++ee)x[ee]=(m=x[ee-3]^x[ee-8]^x[ee-14]^x[ee-16])<<1|m>>>31;for(var ie=0;ie<80;++ie){var me=~~(ie/20),ue=u(p)+h(me,P,T,H)+U+x[ie]+s[me]|0;U=H,H=T,T=f(P),P=p,p=ue}this._a=p+this._a|0,this._b=P+this._b|0,this._c=T+this._c|0,this._d=H+this._d|0,this._e=U+this._e|0},l.prototype._hash=function(){var v=o.allocUnsafe(20);return v.writeInt32BE(0|this._a,0),v.writeInt32BE(0|this._b,4),v.writeInt32BE(0|this._c,8),v.writeInt32BE(0|this._d,12),v.writeInt32BE(0|this._e,16),v},n.exports=l},8432:(n,t,e)=>{var r=e(5717),i=e(7499),o=e(4189),s=e(396).Buffer,a=new Array(64);function l(){this.init(),this._w=a,o.call(this,64,56)}r(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var u=s.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},n.exports=l},7499:(n,t,e)=>{var r=e(5717),i=e(4189),o=e(396).Buffer,s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function l(){this.init(),this._w=a,i.call(this,64,56)}function u(x,p,P){return P^x&(p^P)}function f(x,p,P){return x&p|P&(x|p)}function h(x){return(x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10)}function v(x){return(x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7)}function m(x){return(x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3}r(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(x){for(var p,P=this._w,T=0|this._a,H=0|this._b,U=0|this._c,ee=0|this._d,ie=0|this._e,me=0|this._f,ue=0|this._g,Se=0|this._h,Ue=0;Ue<16;++Ue)P[Ue]=x.readInt32BE(4*Ue);for(;Ue<64;++Ue)P[Ue]=0|(((p=P[Ue-2])>>>17|p<<15)^(p>>>19|p<<13)^p>>>10)+P[Ue-7]+m(P[Ue-15])+P[Ue-16];for(var it=0;it<64;++it){var ye=Se+v(ie)+u(ie,me,ue)+s[it]+P[it]|0,xe=h(T)+f(T,H,U)|0;Se=ue,ue=me,me=ie,ie=ee+ye|0,ee=U,U=H,H=T,T=ye+xe|0}this._a=T+this._a|0,this._b=H+this._b|0,this._c=U+this._c|0,this._d=ee+this._d|0,this._e=ie+this._e|0,this._f=me+this._f|0,this._g=ue+this._g|0,this._h=Se+this._h|0},l.prototype._hash=function(){var x=o.allocUnsafe(32);return x.writeInt32BE(this._a,0),x.writeInt32BE(this._b,4),x.writeInt32BE(this._c,8),x.writeInt32BE(this._d,12),x.writeInt32BE(this._e,16),x.writeInt32BE(this._f,20),x.writeInt32BE(this._g,24),x.writeInt32BE(this._h,28),x},n.exports=l},1686:(n,t,e)=>{var r=e(5717),i=e(7816),o=e(4189),s=e(396).Buffer,a=new Array(160);function l(){this.init(),this._w=a,o.call(this,128,112)}r(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var u=s.allocUnsafe(48);function f(h,v,m){u.writeInt32BE(h,m),u.writeInt32BE(v,m+4)}return f(this._ah,this._al,0),f(this._bh,this._bl,8),f(this._ch,this._cl,16),f(this._dh,this._dl,24),f(this._eh,this._el,32),f(this._fh,this._fl,40),u},n.exports=l},7816:(n,t,e)=>{var r=e(5717),i=e(4189),o=e(396).Buffer,s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function l(){this.init(),this._w=a,i.call(this,128,112)}function u(H,U,ee){return ee^H&(U^ee)}function f(H,U,ee){return H&U|ee&(H|U)}function h(H,U){return(H>>>28|U<<4)^(U>>>2|H<<30)^(U>>>7|H<<25)}function v(H,U){return(H>>>14|U<<18)^(H>>>18|U<<14)^(U>>>9|H<<23)}function m(H,U){return(H>>>1|U<<31)^(H>>>8|U<<24)^H>>>7}function x(H,U){return(H>>>1|U<<31)^(H>>>8|U<<24)^(H>>>7|U<<25)}function p(H,U){return(H>>>19|U<<13)^(U>>>29|H<<3)^H>>>6}function P(H,U){return(H>>>19|U<<13)^(U>>>29|H<<3)^(H>>>6|U<<26)}function T(H,U){return H>>>0<U>>>0?1:0}r(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(H){for(var U=this._w,ee=0|this._ah,ie=0|this._bh,me=0|this._ch,ue=0|this._dh,Se=0|this._eh,Ue=0|this._fh,it=0|this._gh,ye=0|this._hh,xe=0|this._al,ze=0|this._bl,qe=0|this._cl,Et=0|this._dl,Ne=0|this._el,je=0|this._fl,we=0|this._gl,Ke=0|this._hl,dt=0;dt<32;dt+=2)U[dt]=H.readInt32BE(4*dt),U[dt+1]=H.readInt32BE(4*dt+4);for(;dt<160;dt+=2){var Tt=U[dt-30],Ae=U[dt-30+1],Pe=m(Tt,Ae),Xe=x(Ae,Tt),$e=p(Tt=U[dt-4],Ae=U[dt-4+1]),Me=P(Ae,Tt),Rt=U[dt-32],kt=U[dt-32+1],rn=Xe+U[dt-14+1]|0,In=Pe+U[dt-14]+T(rn,Xe)|0;In=(In=In+$e+T(rn=rn+Me|0,Me)|0)+Rt+T(rn=rn+kt|0,kt)|0,U[dt]=In,U[dt+1]=rn}for(var Xn=0;Xn<160;Xn+=2){In=U[Xn],rn=U[Xn+1];var Cr=f(ee,ie,me),xn=f(xe,ze,qe),_t=h(ee,xe),Or=h(xe,ee),Q=v(Se,Ne),fe=v(Ne,Se),Ce=s[Xn],mt=s[Xn+1],bt=u(Se,Ue,it),zt=u(Ne,je,we),hn=Ke+fe|0,wr=ye+Q+T(hn,Ke)|0;wr=(wr=(wr=wr+bt+T(hn=hn+zt|0,zt)|0)+Ce+T(hn=hn+mt|0,mt)|0)+In+T(hn=hn+rn|0,rn)|0;var Fr=Or+xn|0,li=_t+Cr+T(Fr,Or)|0;ye=it,Ke=we,it=Ue,we=je,Ue=Se,je=Ne,Se=ue+wr+T(Ne=Et+hn|0,Et)|0,ue=me,Et=qe,me=ie,qe=ze,ie=ee,ze=xe,ee=wr+li+T(xe=hn+Fr|0,hn)|0}this._al=this._al+xe|0,this._bl=this._bl+ze|0,this._cl=this._cl+qe|0,this._dl=this._dl+Et|0,this._el=this._el+Ne|0,this._fl=this._fl+je|0,this._gl=this._gl+we|0,this._hl=this._hl+Ke|0,this._ah=this._ah+ee+T(this._al,xe)|0,this._bh=this._bh+ie+T(this._bl,ze)|0,this._ch=this._ch+me+T(this._cl,qe)|0,this._dh=this._dh+ue+T(this._dl,Et)|0,this._eh=this._eh+Se+T(this._el,Ne)|0,this._fh=this._fh+Ue+T(this._fl,je)|0,this._gh=this._gh+it+T(this._gl,we)|0,this._hh=this._hh+ye+T(this._hl,Ke)|0},l.prototype._hash=function(){var H=o.allocUnsafe(64);function U(ee,ie,me){H.writeInt32BE(ee,me),H.writeInt32BE(ie,me+4)}return U(this._ah,this._al,0),U(this._bh,this._bl,8),U(this._ch,this._cl,16),U(this._dh,this._dl,24),U(this._eh,this._el,32),U(this._fh,this._fl,40),U(this._gh,this._gl,48),U(this._hh,this._hl,56),H},n.exports=l},2830:(n,t,e)=>{n.exports=i;var r=e(7187).EventEmitter;function i(){r.call(this)}e(5717)(i,r),i.Readable=e(9481),i.Writable=e(4229),i.Duplex=e(6753),i.Transform=e(4605),i.PassThrough=e(2725),i.finished=e(8610),i.pipeline=e(9946),i.Stream=i,i.prototype.pipe=function(o,s){var a=this;function l(p){o.writable&&!1===o.write(p)&&a.pause&&a.pause()}function u(){a.readable&&a.resume&&a.resume()}a.on("data",l),o.on("drain",u),o._isStdio||s&&!1===s.end||(a.on("end",h),a.on("close",v));var f=!1;function h(){f||(f=!0,o.end())}function v(){f||(f=!0,"function"==typeof o.destroy&&o.destroy())}function m(p){if(x(),0===r.listenerCount(this,"error"))throw p}function x(){a.removeListener("data",l),o.removeListener("drain",u),a.removeListener("end",h),a.removeListener("close",v),a.removeListener("error",m),o.removeListener("error",m),a.removeListener("end",x),a.removeListener("close",x),o.removeListener("close",x)}return a.on("error",m),o.on("error",m),a.on("end",x),a.on("close",x),o.on("close",x),o.emit("pipe",a),o}},2553:(n,t,e)=>{var r=e(396).Buffer,i=r.isEncoding||function(x){switch((x=""+x)&&x.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(x){var p;switch(this.encoding=function(P){var T=function(H){if(!H)return"utf8";for(var U;;)switch(H){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return H;default:if(U)return;H=(""+H).toLowerCase(),U=!0}}(P);if("string"!=typeof T&&(r.isEncoding===i||!i(P)))throw new Error("Unknown encoding: "+P);return T||P}(x),this.encoding){case"utf16le":this.text=l,this.end=u,p=4;break;case"utf8":this.fillLast=a,p=4;break;case"base64":this.text=f,this.end=h,p=3;break;default:return this.write=v,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(p)}function s(x){return x<=127?0:x>>5==6?2:x>>4==14?3:x>>3==30?4:x>>6==2?-1:-2}function a(x){var p=this.lastTotal-this.lastNeed,P=function(T,H,U){if(128!=(192&H[0]))return T.lastNeed=0,"\ufffd";if(T.lastNeed>1&&H.length>1){if(128!=(192&H[1]))return T.lastNeed=1,"\ufffd";if(T.lastNeed>2&&H.length>2&&128!=(192&H[2]))return T.lastNeed=2,"\ufffd"}}(this,x);return void 0!==P?P:this.lastNeed<=x.length?(x.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(x.copy(this.lastChar,p,0,x.length),void(this.lastNeed-=x.length))}function l(x,p){if((x.length-p)%2==0){var P=x.toString("utf16le",p);if(P){var T=P.charCodeAt(P.length-1);if(T>=55296&&T<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1],P.slice(0,-1)}return P}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=x[x.length-1],x.toString("utf16le",p,x.length-1)}function u(x){var p=x&&x.length?this.write(x):"";return this.lastNeed?p+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):p}function f(x,p){var P=(x.length-p)%3;return 0===P?x.toString("base64",p):(this.lastNeed=3-P,this.lastTotal=3,1===P?this.lastChar[0]=x[x.length-1]:(this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1]),x.toString("base64",p,x.length-P))}function h(x){var p=x&&x.length?this.write(x):"";return this.lastNeed?p+this.lastChar.toString("base64",0,3-this.lastNeed):p}function v(x){return x.toString(this.encoding)}function m(x){return x&&x.length?this.write(x):""}t.s=o,o.prototype.write=function(x){if(0===x.length)return"";var p,P;if(this.lastNeed){if(void 0===(p=this.fillLast(x)))return"";P=this.lastNeed,this.lastNeed=0}else P=0;return P<x.length?p?p+this.text(x,P):this.text(x,P):p||""},o.prototype.end=function(x){var p=x&&x.length?this.write(x):"";return this.lastNeed?p+"\ufffd":p},o.prototype.text=function(x,p){var P=function(H,U,ee){var ie=U.length-1;if(ie<ee)return 0;var me=s(U[ie]);return me>=0?(me>0&&(H.lastNeed=me-1),me):--ie<ee||-2===me?0:(me=s(U[ie]))>=0?(me>0&&(H.lastNeed=me-2),me):--ie<ee||-2===me?0:(me=s(U[ie]))>=0?(me>0&&(2===me?me=0:H.lastNeed=me-3),me):0}(this,x,p);if(!this.lastNeed)return x.toString("utf8",p);this.lastTotal=P;var T=x.length-(P-this.lastNeed);return x.copy(this.lastChar,0,T),x.toString("utf8",p,T)},o.prototype.fillLast=function(x){if(this.lastNeed<=x.length)return x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,x.length),this.lastNeed-=x.length}},396:(n,t,e)=>{var r=e(8764),i=r.Buffer;function o(a,l){for(var u in a)l[u]=a[u]}function s(a,l,u){return i(a,l,u)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?n.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(a,l,u){if("number"==typeof a)throw new TypeError("Argument must not be a number");return i(a,l,u)},s.alloc=function(a,l,u){if("number"!=typeof a)throw new TypeError("Argument must be a number");var f=i(a);return void 0!==l?"string"==typeof u?f.fill(l,u):f.fill(l):f.fill(0),f},s.allocUnsafe=function(a){if("number"!=typeof a)throw new TypeError("Argument must be a number");return i(a)},s.allocUnsafeSlow=function(a){if("number"!=typeof a)throw new TypeError("Argument must be a number");return r.SlowBuffer(a)}},4927:(n,t,e)=>{function r(i){try{if(!e.g.localStorage)return!1}catch{return!1}var o=e.g.localStorage[i];return null!=o&&"true"===String(o).toLowerCase()}n.exports=function(i,o){if(r("noDeprecation"))return i;var s=!1;return function(){if(!s){if(r("throwDeprecation"))throw new Error(o);r("traceDeprecation")?console.trace(o):console.warn(o),s=!0}return i.apply(this,arguments)}}},255:n=>{var t={"&":"&",'"':""","'":"'","<":"<",">":">"};n.exports=function(e){return e&&e.replace?e.replace(/([&"<>'])/g,function(r,i){return t[i]}):e}},3479:(n,t,e)=>{var r=e(4155),i=e(255),o=e(2830).Stream;function s(l,u,f){f=f||0;var h,v,m=(h=u,new Array(f||0).join(h||"")),x=l;if("object"==typeof l&&(x=l[v=Object.keys(l)[0]])&&x._elem)return x._elem.name=v,x._elem.icount=f,x._elem.indent=u,x._elem.indents=m,x._elem.interrupt=x,x._elem;var p,P=[],T=[];
1function H(U){Object.keys(U).forEach(function(ee){P.push(ee+'="'+i(U[ee])+'"')})}switch(typeof x){case"object":if(null===x)break;x._attr&&H(x._attr),x._cdata&&T.push(("<![CDATA["+x._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),x.forEach&&(p=!1,T.push(""),x.forEach(function(U){"object"==typeof U?"_attr"==Object.keys(U)[0]?H(U._attr):T.push(s(U,u,f+1)):(T.pop(),p=!0,T.push(i(U)))}),p||T.push(""));break;default:T.push(i(x))}return{name:v,interrupt:!1,attributes:P,content:T,icount:f,indents:m,indent:u}}function a(l,u,f){if("object"!=typeof u)return l(!1,u);var h=u.interrupt?1:u.content.length;function v(){for(;u.content.length;){var x=u.content.shift();if(void 0!==x){if(m(x))return;a(l,x)}}l(!1,(h>1?u.indents:"")+(u.name?"</"+u.name+">":"")+(u.indent&&!f?"\n":"")),f&&f()}function m(x){return!!x.interrupt&&(x.interrupt.append=l,x.interrupt.end=v,x.interrupt=!1,l(!0),!0)}if(l(!1,u.indents+(u.name?"<"+u.name:"")+(u.attributes.length?" "+u.attributes.join(" "):"")+(h?u.name?">":"":u.name?"/>":"")+(u.indent&&h>1?"\n":"")),!h)return l(!1,u.indent?"\n":"");m(u)||v()}n.exports=function(l,u){"object"!=typeof u&&(u={indent:u});var f,h,v=u.stream?new o:null,m="",x=!1,p=u.indent?!0===u.indent?" ":u.indent:"",P=!0;function T(ie){P?r.nextTick(ie):ie()}function H(ie,me){if(void 0!==me&&(m+=me),ie&&!x&&(v=v||new o,x=!0),ie&&x){var ue=m;T(function(){v.emit("data",ue)}),m=""}}function U(ie,me){a(H,s(ie,p,p?1:0),me)}function ee(){if(v){var ie=m;T(function(){v.emit("data",ie),v.emit("end"),v.readable=!1,v.emit("close")})}}return T(function(){P=!1}),u.declaration&&(h={version:"1.0",encoding:(f=u.declaration).encoding||"UTF-8"},f.standalone&&(h.standalone=f.standalone),U({"?xml":{_attr:h}}),m=m.replace("/>","?>")),l&&l.forEach?l.forEach(function(ie,me){var ue;me+1===l.length&&(ue=ee),U(ie,ue)}):U(l,ee),v?(v.readable=!0,v):m},n.exports.element=n.exports.Element=function(){var l=Array.prototype.slice.call(arguments),u={_elem:s(l),push:function(f){if(!this.append)throw new Error("not assigned to a parent!");var h=this,v=this._elem.indent;a(this.append,s(f,v,this._elem.icount+(v?1:0)),function(){h.append(!0)})},close:function(f){void 0!==f&&this.push(f),this.end&&this.end()}};return u}},5102:(n,t,e)=>{var r={"./all.js":5308,"./auth/actions.js":5812,"./auth/index.js":3705,"./auth/reducers.js":3962,"./auth/selectors.js":35,"./auth/spec-wrap-actions.js":8302,"./configs/actions.js":714,"./configs/helpers.js":2256,"./configs/index.js":1661,"./configs/reducers.js":7743,"./configs/selectors.js":9018,"./configs/spec-actions.js":2698,"./deep-linking/helpers.js":1970,"./deep-linking/index.js":4980,"./deep-linking/layout.js":5858,"./deep-linking/operation-tag-wrapper.jsx":4584,"./deep-linking/operation-wrapper.jsx":877,"./download-url.js":8011,"./err/actions.js":4966,"./err/error-transformers/hook.js":6808,"./err/error-transformers/transformers/not-of-type.js":2392,"./err/error-transformers/transformers/parameter-oneof.js":1835,"./err/index.js":7793,"./err/reducers.js":3527,"./err/selectors.js":7667,"./filter/index.js":9978,"./filter/opsFilter.js":4309,"./layout/actions.js":5474,"./layout/index.js":6821,"./layout/reducers.js":5672,"./layout/selectors.js":4400,"./layout/spec-extensions/wrap-selector.js":8989,"./logs/index.js":9150,"./oas3/actions.js":7002,"./oas3/auth-extensions/wrap-selectors.js":3723,"./oas3/components/callbacks.jsx":3427,"./oas3/components/http-auth.jsx":6775,"./oas3/components/index.js":6467,"./oas3/components/operation-link.jsx":5757,"./oas3/components/operation-servers.jsx":6796,"./oas3/components/request-body-editor.jsx":5327,"./oas3/components/request-body.jsx":2458,"./oas3/components/servers-container.jsx":9928,"./oas3/components/servers.jsx":6617,"./oas3/helpers.jsx":7779,"./oas3/index.js":7451,"./oas3/reducers.js":2109,"./oas3/selectors.js":5065,"./oas3/spec-extensions/selectors.js":1741,"./oas3/spec-extensions/wrap-selectors.js":2044,"./oas3/wrap-components/auth-item.jsx":356,"./oas3/wrap-components/index.js":7761,"./oas3/wrap-components/json-schema-string.jsx":287,"./oas3/wrap-components/markdown.jsx":2460,"./oas3/wrap-components/model.jsx":3499,"./oas3/wrap-components/online-validator-badge.js":58,"./oas3/wrap-components/version-stamp.jsx":9487,"./on-complete/index.js":8560,"./request-snippets/fn.js":4624,"./request-snippets/index.js":6575,"./request-snippets/request-snippets.jsx":4206,"./request-snippets/selectors.js":4669,"./safe-render/components/error-boundary.jsx":6195,"./safe-render/components/fallback.jsx":9403,"./safe-render/fn.jsx":6189,"./safe-render/index.js":8102,"./samples/fn.js":2473,"./samples/index.js":8883,"./spec/actions.js":5179,"./spec/index.js":7038,"./spec/reducers.js":32,"./spec/selectors.js":3881,"./spec/wrap-actions.js":7508,"./swagger-js/configs-wrap-actions.js":4852,"./swagger-js/index.js":2990,"./util/index.js":8525,"./view/fn.js":8347,"./view/index.js":3420,"./view/root-injects.jsx":5005,"core/plugins/all.js":5308,"core/plugins/auth/actions.js":5812,"core/plugins/auth/index.js":3705,"core/plugins/auth/reducers.js":3962,"core/plugins/auth/selectors.js":35,"core/plugins/auth/spec-wrap-actions.js":8302,"core/plugins/configs/actions.js":714,"core/plugins/configs/helpers.js":2256,"core/plugins/configs/index.js":1661,"core/plugins/configs/reducers.js":7743,"core/plugins/configs/selectors.js":9018,"core/plugins/configs/spec-actions.js":2698,"core/plugins/deep-linking/helpers.js":1970,"core/plugins/deep-linking/index.js":4980,"core/plugins/deep-linking/layout.js":5858,"core/plugins/deep-linking/operation-tag-wrapper.jsx":4584,"core/plugins/deep-linking/operation-wrapper.jsx":877,"core/plugins/download-url.js":8011,"core/plugins/err/actions.js":4966,"core/plugins/err/error-transformers/hook.js":6808,"core/plugins/err/error-transformers/transformers/not-of-type.js":2392,"core/plugins/err/error-transformers/transformers/parameter-oneof.js":1835,"core/plugins/err/index.js":7793,"core/plugins/err/reducers.js":3527,"core/plugins/err/selectors.js":7667,"core/plugins/filter/index.js":9978,"core/plugins/filter/opsFilter.js":4309,"core/plugins/layout/actions.js":5474,"core/plugins/layout/index.js":6821,"core/plugins/layout/reducers.js":5672,"core/plugins/layout/selectors.js":4400,"core/plugins/layout/spec-extensions/wrap-selector.js":8989,"core/plugins/logs/index.js":9150,"core/plugins/o
1as3/actions.js":7002,"core/plugins/oas3/auth-extensions/wrap-selectors.js":3723,"core/plugins/oas3/components/callbacks.jsx":3427,"core/plugins/oas3/components/http-auth.jsx":6775,"core/plugins/oas3/components/index.js":6467,"core/plugins/oas3/components/operation-link.jsx":5757,"core/plugins/oas3/components/operation-servers.jsx":6796,"core/plugins/oas3/components/request-body-editor.jsx":5327,"core/plugins/oas3/components/request-body.jsx":2458,"core/plugins/oas3/components/servers-container.jsx":9928,"core/plugins/oas3/components/servers.jsx":6617,"core/plugins/oas3/helpers.jsx":7779,"core/plugins/oas3/index.js":7451,"core/plugins/oas3/reducers.js":2109,"core/plugins/oas3/selectors.js":5065,"core/plugins/oas3/spec-extensions/selectors.js":1741,"core/plugins/oas3/spec-extensions/wrap-selectors.js":2044,"core/plugins/oas3/wrap-components/auth-item.jsx":356,"core/plugins/oas3/wrap-components/index.js":7761,"core/plugins/oas3/wrap-components/json-schema-string.jsx":287,"core/plugins/oas3/wrap-components/markdown.jsx":2460,"core/plugins/oas3/wrap-components/model.jsx":3499,"core/plugins/oas3/wrap-components/online-validator-badge.js":58,"core/plugins/oas3/wrap-components/version-stamp.jsx":9487,"core/plugins/on-complete/index.js":8560,"core/plugins/request-snippets/fn.js":4624,"core/plugins/request-snippets/index.js":6575,"core/plugins/request-snippets/request-snippets.jsx":4206,"core/plugins/request-snippets/selectors.js":4669,"core/plugins/safe-render/components/error-boundary.jsx":6195,"core/plugins/safe-render/components/fallback.jsx":9403,"core/plugins/safe-render/fn.jsx":6189,"core/plugins/safe-render/index.js":8102,"core/plugins/samples/fn.js":2473,"core/plugins/samples/index.js":8883,"core/plugins/spec/actions.js":5179,"core/plugins/spec/index.js":7038,"core/plugins/spec/reducers.js":32,"core/plugins/spec/selectors.js":3881,"core/plugins/spec/wrap-actions.js":7508,"core/plugins/swagger-js/configs-wrap-actions.js":4852,"core/plugins/swagger-js/index.js":2990,"core/plugins/util/index.js":8525,"core/plugins/view/fn.js":8347,"core/plugins/view/index.js":3420,"core/plugins/view/root-injects.jsx":5005};function i(s){var a=o(s);return e(a)}function o(s){if(!e.o(r,s)){var a=new Error("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}return r[s]}i.keys=function(){return Object.keys(r)},i.resolve=o,n.exports=i,i.id=5102},2517:n=>{n.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwcHgiICBoZWlnaHQ9IjIwMHB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiIGNsYXNzPSJsZHMtcm9sbGluZyIgc3R5bGU9ImJhY2tncm91bmQtaW1hZ2U6IG5vbmU7IGJhY2tncm91bmQtcG9zaXRpb246IGluaXRpYWwgaW5pdGlhbDsgYmFja2dyb3VuZC1yZXBlYXQ6IGluaXRpYWwgaW5pdGlhbDsiPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIGZpbGw9Im5vbmUiIG5nLWF0dHItc3Ryb2tlPSJ7e2NvbmZpZy5jb2xvcn19IiBuZy1hdHRyLXN0cm9rZS13aWR0aD0ie3tjb25maWcud2lkdGh9fSIgbmctYXR0ci1yPSJ7e2NvbmZpZy5yYWRpdXN9fSIgbmctYXR0ci1zdHJva2UtZGFzaGFycmF5PSJ7e2NvbmZpZy5kYXNoYXJyYXl9fSIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjEwIiByPSIzNSIgc3Ryb2tlLWRhc2hhcnJheT0iMTY0LjkzMzYxNDMxMzQ2NDE1IDU2Ljk3Nzg3MTQzNzgyMTM4Ij48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgY2FsY01vZGU9ImxpbmVhciIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49IjBzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvc3ZnPgo="},5163:n=>{n.exports='---\nurl: "https://petstore.swagger.io/v2/swagger.json"\ndom_id: "#swagger-ui"\nvalidatorUrl: "https://validator.swagger.io/validator"\n'},8898:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Sk()}),i)},4163:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Z_e()}),i)},5527:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Q_e()}),i)},5171:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Zi()}),i)},2954:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Ck()}),i)},7930:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>txe()}),i)},6145:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>mf()}),i)},1778:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>jW()}),i)},29:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>rxe()}),i)},2372:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Og()}),i)},8818:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>oxe()}),i)},5487:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>axe()}),i)},2565:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>ra()}),i)},6785:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>cxe()}),i)},8136:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>
1h2()}),i)},9963:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>fxe()}),i)},4350:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>hxe()}),i)},3590:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>gq()}),i)},5942:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>mxe()}),i)},313:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>l7()}),i)},6914:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>vxe()}),i)},7512:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>ad()}),i)},2740:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Ws()}),i)},374:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>bxe()}),i)},6235:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>xxe()}),i)},3769:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Cxe()}),i)},775:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>FW}),i)},863:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>nT}),i)},4780:n=>{n.exports=Axe},8096:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Dxe()}),i)},3294:n=>{n.exports=Txe},9725:(n,t,e)=>{var i;n.exports=(e.d(i={},{List:()=>g0.List,Map:()=>g0.Map,OrderedMap:()=>g0.OrderedMap,Seq:()=>g0.Seq,Set:()=>g0.Set,default:()=>J8e(),fromJS:()=>g0.fromJS}),i)},626:(n,t,e)=>{var i;n.exports=(e.d(i={},{JSON_SCHEMA:()=>SW.JSON_SCHEMA,default:()=>Ak()}),i)},9908:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Fg()}),i)},7068:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Oxe()}),i)},5476:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Lxe()}),i)},5053:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Nxe()}),i)},810:(n,t,e)=>{var i;n.exports=(e.d(i={},{Component:()=>gs.Component,PureComponent:()=>gs.PureComponent,default:()=>gs,useEffect:()=>gs.useEffect,useRef:()=>gs.useRef,useState:()=>gs.useState}),i)},9874:(n,t,e)=>{var i;n.exports=(e.d(i={},{CopyToClipboard:()=>Fxe.CopyToClipboard}),i)},9569:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>Bxe()}),i)},9871:(n,t,e)=>{var i;n.exports=(e.d(i={},{applyMiddleware:()=>Wxe,bindActionCreators:()=>Gxe,compose:()=>oY,createStore:()=>rY}),i)},3952:(n,t,e)=>{var i;n.exports=(e.d(i={},{Remarkable:()=>Fp}),i)},8639:(n,t,e)=>{var i;n.exports=(e.d(i={},{createSelector:()=>SY}),i)},8518:(n,t,e)=>{var i;n.exports=(e.d(i={},{serializeError:()=>NCe.serializeError}),i)},5013:(n,t,e)=>{var i;n.exports=(e.d(i={},{opId:()=>qk}),i)},8900:(n,t,e)=>{var i;n.exports=(e.d(i={},{default:()=>zCe()}),i)},2361:()=>{},4616:()=>{},6718:(n,t,e)=>{n.exports=e(1910)}},EY={};function jr(n){var t=EY[n];if(void 0!==t)return t.exports;var e=EY[n]={exports:{}};return nSe[n](e,e.exports,jr),e.exports}jr.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return jr.d(t,{a:t}),t},jr.d=(n,t)=>{for(var e in t)jr.o(t,e)&&!jr.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},jr.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch{if("object"==typeof window)return window}}(),jr.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),jr.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var AY={};(()=>{jr.d(AY,{Z:()=>vi});var n={};jr.r(n),jr.d(n,{Button:()=>y5,Col:()=>z7,Collapse:()=>w5,Container:()=>S3,Input:()=>B7,Link:()=>_5,Row:()=>v5,Select:()=>r4,TextArea:()=>b5});var t={};jr.r(t),jr.d(t,{JsonSchemaArrayItemFile:()=>f4,JsonSchemaArrayItemText:()=>T0,JsonSchemaForm:()=>D3,JsonSchema_array:()=>u4,JsonSchema_boolean:()=>I5,JsonSchema_object:()=>vh,JsonSchema_string:()=>k0});const e=(jr.d(ne={},{default:()=>VCe()}),ne);var ne,r=jr(6145),i=jr(2740),o=jr(313),s=jr(7698),a=jr.n(s),l=jr(5527),u=jr(7512),f=jr(8136),h=jr(4163),v=jr(6785),m=jr(2565),x=jr(5171),p=jr(810),P=jr(9871),T=jr(9725);const H=(Ot=>{var ne={};return jr.d(ne,Ot),ne}
1)({combineReducers:()=>HCe.U});var U=jr(8518);const ee=(Ot=>{var ne={};return jr.d(ne,Ot),ne})({default:()=>UCe()});var ie=jr(4966),me=jr(7504),ue=jr(6298);const Se=Ot=>Ot;class Ue{constructor(){var ne;let de=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a()(this,{state:{},plugins:[],pluginsOptions:{},system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},de),this.getSystem=(0,l.default)(ne=this._getSystem).call(ne,this),this.store=function(Lt,Pt,Ut){let Vt=[(0,ue._5)(Ut)];return(0,P.createStore)(Lt,Pt,(me.Z.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||P.compose)((0,P.applyMiddleware)(...Vt)))}(Se,(0,T.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(ne){let de=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];var Ee=it(ne,this.getSystem(),this.pluginsOptions);xe(this.system,Ee),de&&this.buildSystem(),ye.call(this.system,ne,this.getSystem())&&this.buildSystem()}buildSystem(){let ne=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],de=this.getStore().dispatch,Ee=this.getStore().getState;this.boundSystem=(0,u.default)({},this.getRootInjects(),this.getWrappedAndBoundActions(de),this.getWrappedAndBoundSelectors(Ee,this.getSystem),this.getStateThunks(Ee),this.getFn(),this.getConfigs()),ne&&this.rebuildReducer()}_getSystem(){return this.boundSystem}getRootInjects(){var ne,de,Ee;return(0,u.default)({getSystem:this.getSystem,getStore:(0,l.default)(ne=this.getStore).call(ne,this),getComponents:(0,l.default)(de=this.getComponents).call(de,this),getState:this.getStore().getState,getConfigs:(0,l.default)(Ee=this._getConfigs).call(Ee,this),Im:T.default,React:p.default},this.system.rootInjects||{})}_getConfigs(){return this.system.configs}getConfigs(){return{configs:this.system.configs}}setConfigs(ne){this.system.configs=ne}rebuildReducer(){this.store.replaceReducer(function(de){var Ee;let Le=(0,v.default)(Ee=(0,i.default)(de)).call(Ee,(Je,Lt)=>{return Je[Lt]=(Pt=de[Lt],function(){let Ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new T.Map,Vt=arguments.length>1?arguments[1]:void 0;if(!Pt)return Ut;let Qt=Pt[Vt.type];if(Qt){const On=ze(Qt)(Ut,Vt);return null===On?Ut:On}return Ut}),Je;var Pt},{});return(0,i.default)(Le).length?(0,H.combineReducers)(Le):Se}((0,ue.Ay)(this.system.statePlugins,de=>de.reducers)))}getType(ne){let de=ne[0].toUpperCase()+(0,f.default)(ne).call(ne,1);return(0,ue.Q2)(this.system.statePlugins,(Ee,Le)=>{let Je=Ee[ne];if(Je)return{[Le+de]:Je}})}getSelectors(){return this.getType("selectors")}getActions(){let ne=this.getType("actions");return(0,ue.Ay)(ne,de=>(0,ue.Q2)(de,(Ee,Le)=>{if((0,ue.LQ)(Ee))return{[Le]:Ee}}))}getWrappedAndBoundActions(ne){var de=this;let Ee=this.getBoundActions(ne);return(0,ue.Ay)(Ee,(Le,Je)=>{let Lt=this.system.statePlugins[(0,f.default)(Je).call(Je,0,-7)].wrapActions;return Lt?(0,ue.Ay)(Le,(Pt,Ut)=>{let Vt=Lt[Ut];return Vt?((0,h.default)(Vt)||(Vt=[Vt]),(0,v.default)(Vt).call(Vt,(Qt,On)=>{let Un=function(){return On(Qt,de.getSystem())(...arguments)};if(!(0,ue.LQ)(Un))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return ze(Un)},Pt||Function.prototype)):Pt}):Le})}getWrappedAndBoundSelectors(ne,de){var Ee=this;let Le=this.getBoundSelectors(ne,de);return(0,ue.Ay)(Le,(Je,Lt)=>{let Pt=[(0,f.default)(Lt).call(Lt,0,-9)],Ut=this.system.statePlugins[Pt].wrapSelectors;return Ut?(0,ue.Ay)(Je,(Vt,Qt)=>{let On=Ut[Qt];return On?((0,h.default)(On)||(On=[On]),(0,v.default)(On).call(On,(Un,rr)=>{let Gn=function(){for(var Sr=arguments.length,Br=new Array(Sr),ti=0;ti<Sr;ti++)Br[ti]=arguments[ti];return rr(Un,Ee.getSystem())(ne().getIn(Pt),...Br)};if(!(0,ue.LQ)(Gn))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return Gn},Vt||Function.prototype)):Vt}):Je})}getStates(ne){var de;return(0,v.default)(de=(0,i.default)(this.system.statePlugins)).call(de,(Ee,Le)=>(Ee[Le]=ne.get(Le),Ee),{})}getStateThunks(ne){var de;return(0,v.default)(de=(0,i.default)(this.system.statePlugins)).call(de,(Ee,Le)=>(Ee[Le]=()=>ne().get(Le),Ee),{})}getFn(){return{fn:this.system.fn}}getComponents(ne){const de=this.system.components[ne];
1return(0,h.default)(de)?(0,v.default)(de).call(de,(Ee,Le)=>Le(Ee,this.getSystem())):void 0!==ne?this.system.components[ne]:this.system.components}getBoundSelectors(ne,de){return(0,ue.Ay)(this.getSelectors(),(Ee,Le)=>{let Je=[(0,f.default)(Le).call(Le,0,-9)];const Lt=()=>ne().getIn(Je);return(0,ue.Ay)(Ee,Pt=>function(){for(var Ut=arguments.length,Vt=new Array(Ut),Qt=0;Qt<Ut;Qt++)Vt[Qt]=arguments[Qt];let On=ze(Pt).apply(null,[Lt(),...Vt]);return"function"==typeof On&&(On=ze(On)(de())),On})})}getBoundActions(ne){ne=ne||this.getStore().dispatch;const de=this.getActions(),Ee=Le=>"function"!=typeof Le?(0,ue.Ay)(Le,Je=>Ee(Je)):function(){var Je=null;try{Je=Le(...arguments)}catch(Lt){Je={type:ie.NEW_THROWN_ERR,error:!0,payload:(0,U.serializeError)(Lt)}}finally{return Je}};return(0,ue.Ay)(de,Le=>(0,P.bindActionCreators)(Ee(Le),ne))}getMapStateToProps(){return()=>(0,u.default)({},this.getSystem())}getMapDispatchToProps(ne){return de=>a()({},this.getWrappedAndBoundActions(de),this.getFn(),ne)}}function it(Ot,ne,de){if((0,ue.Kn)(Ot)&&!(0,ue.kJ)(Ot))return(0,ee.default)({},Ot);if((0,ue.Wl)(Ot))return it(Ot(ne),ne,de);if((0,ue.kJ)(Ot)){var Ee;const Le="chain"===de.pluginLoadType?ne.getComponents():{};return(0,v.default)(Ee=(0,m.default)(Ot).call(Ot,Je=>it(Je,ne,de))).call(Ee,xe,Le)}return{}}function ye(Ot,ne){let{hasLoaded:de}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Ee=de;return(0,ue.Kn)(Ot)&&!(0,ue.kJ)(Ot)&&"function"==typeof Ot.afterLoad&&(Ee=!0,ze(Ot.afterLoad).call(this,ne)),(0,ue.Wl)(Ot)?ye.call(this,Ot(ne),ne,{hasLoaded:Ee}):(0,ue.kJ)(Ot)?(0,m.default)(Ot).call(Ot,Le=>ye.call(this,Le,ne,{hasLoaded:Ee})):Ee}function xe(){let Ot=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,ue.Kn)(Ot))return{};if(!(0,ue.Kn)(ne))return Ot;ne.wrapComponents&&((0,ue.Ay)(ne.wrapComponents,(Je,Lt)=>{const Pt=Ot.components&&Ot.components[Lt];Pt&&(0,h.default)(Pt)?(Ot.components[Lt]=(0,x.default)(Pt).call(Pt,[Je]),delete ne.wrapComponents[Lt]):Pt&&(Ot.components[Lt]=[Pt,Je],delete ne.wrapComponents[Lt])}),(0,i.default)(ne.wrapComponents).length||delete ne.wrapComponents);const{statePlugins:de}=Ot;if((0,ue.Kn)(de))for(let Je in de){const Lt=de[Je];if(!(0,ue.Kn)(Lt))continue;const{wrapActions:Pt,wrapSelectors:Ut}=Lt;if((0,ue.Kn)(Pt))for(let Vt in Pt){let Qt=Pt[Vt];var Ee;(0,h.default)(Qt)||(Qt=[Qt],Pt[Vt]=Qt),ne&&ne.statePlugins&&ne.statePlugins[Je]&&ne.statePlugins[Je].wrapActions&&ne.statePlugins[Je].wrapActions[Vt]&&(ne.statePlugins[Je].wrapActions[Vt]=(0,x.default)(Ee=Pt[Vt]).call(Ee,ne.statePlugins[Je].wrapActions[Vt]))}if((0,ue.Kn)(Ut))for(let Vt in Ut){let Qt=Ut[Vt];var Le;(0,h.default)(Qt)||(Qt=[Qt],Ut[Vt]=Qt),ne&&ne.statePlugins&&ne.statePlugins[Je]&&ne.statePlugins[Je].wrapSelectors&&ne.statePlugins[Je].wrapSelectors[Vt]&&(ne.statePlugins[Je].wrapSelectors[Vt]=(0,x.default)(Le=Ut[Vt]).call(Le,ne.statePlugins[Je].wrapSelectors[Vt]))}}return a()(Ot,ne)}function ze(Ot){let{logErrors:ne=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"function"!=typeof Ot?Ot:function(){try{for(var de=arguments.length,Ee=new Array(de),Le=0;Le<de;Le++)Ee[Le]=arguments[Le];return Ot.call(this,...Ee)}catch(Je){return ne&&console.error(Je),null}}}var qe=jr(7793),Et=jr(6821),Ne=jr(7038),je=jr(3420),we=jr(8883),Ke=jr(6575),dt=jr(9150),Tt=jr(2990),Ae=jr(3705),Pe=jr(8525),Xe=jr(8011),$e=jr(1661),Me=jr(4980),De=jr(9978),gt=jr(8560),Rt=jr(8102),kt=jr(775),rn=jr(8818),In=(jr(5053),jr(9569),jr(5013));class Xn extends p.PureComponent{constructor(ne,de){super(ne,de),(0,kt.default)(this,"toggleShown",()=>{let{layoutActions:Le,tag:Je,operationId:Lt,isShown:Pt}=this.props;const Ut=this.getResolvedSubtree();Pt||void 0!==Ut||this.requestResolvedSubtree(),Le.show(["operations",Je,Lt],!Pt)}),(0,kt.default)(this,"onCancelClick",()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})}),(0,kt.default)(this,"onTryoutClick",()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})}),(0,kt.default)(this,"onExecute",()=>{this.setState({executeInProgress:!0})}),(0,kt.default)(this,"getResolvedSubtree",()=>{const{specSelectors:Le,path:Je,method:Lt,specPath:Pt}=this.props;return Le.specResolvedSubtree(Pt?Pt.toJS():["paths",Je,Lt])}),(0,kt.default)(this,"requestResolvedSubtree",()=>{const{specActions:Le,path:Je,method:Lt,specPath:Pt}=this.props;return Le.requestResolvedSubtree(Pt?Pt.toJS():["paths",Je,Lt])});const{tryItOutEnabled:Ee}=ne.getConfigs();this.state={tryItOutEnabled:!0===Ee||"true"===Ee,executeInProgress:!1}}mapStateToProps(ne,de){const{op:Ee,layoutSelectors:Le,getConfigs:Je}=de,{docExpansion:Lt,deepLinking:Pt,displayOperationId:Ut,displayRequestDuration:Vt,supp
1ortedSubmitMethods:Qt}=Je(),On=Le.showSummary(),Un=Ee.getIn(["operation","__originalOperationId"])||Ee.getIn(["operation","operationId"])||(0,In.opId)(Ee.get("operation"),de.path,de.method)||Ee.get("id"),rr=["operations",de.tag,Un],Gn=Pt&&"false"!==Pt,Sr=(0,rn.default)(Qt).call(Qt,de.method)>=0&&(void 0===de.allowTryItOut?de.specSelectors.allowTryItOutFor(de.path,de.method):de.allowTryItOut),Br=Ee.getIn(["operation","security"])||de.specSelectors.security();return{operationId:Un,isDeepLinkingEnabled:Gn,showSummary:On,displayOperationId:Ut,displayRequestDuration:Vt,allowTryItOut:Sr,security:Br,isAuthorized:de.authSelectors.isAuthorized(Br),isShown:Le.isShown(rr,"full"===Lt),jumpToKey:`paths.${de.path}.${de.method}`,response:de.specSelectors.responseFor(de.path,de.method),request:de.specSelectors.requestFor(de.path,de.method)}}componentDidMount(){const{isShown:ne}=this.props,de=this.getResolvedSubtree();ne&&void 0===de&&this.requestResolvedSubtree()}UNSAFE_componentWillReceiveProps(ne){const{response:de,isShown:Ee}=ne,Le=this.getResolvedSubtree();de!==this.props.response&&this.setState({executeInProgress:!1}),Ee&&void 0===Le&&this.requestResolvedSubtree()}render(){let{op:ne,tag:de,path:Ee,method:Le,security:Je,isAuthorized:Lt,operationId:Pt,showSummary:Ut,isShown:Vt,jumpToKey:Qt,allowTryItOut:On,response:Un,request:rr,displayOperationId:Gn,displayRequestDuration:Sr,isDeepLinkingEnabled:Br,specPath:ti,specSelectors:wi,specActions:ki,getComponent:Yr,getConfigs:ui,layoutSelectors:Ti,layoutActions:$i,authActions:Vr,authSelectors:ji,oas3Actions:no,oas3Selectors:io,fn:Ao}=this.props;const ss=Yr("operation"),Is=this.getResolvedSubtree()||(0,T.Map)(),Ko=(0,T.fromJS)({op:Is,tag:de,path:Ee,summary:ne.getIn(["operation","summary"])||"",deprecated:Is.get("deprecated")||ne.getIn(["operation","deprecated"])||!1,method:Le,security:Je,isAuthorized:Lt,operationId:Pt,originalOperationId:Is.getIn(["operation","__originalOperationId"]),showSummary:Ut,isShown:Vt,jumpToKey:Qt,allowTryItOut:On,request:rr,displayOperationId:Gn,displayRequestDuration:Sr,isDeepLinkingEnabled:Br,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return p.default.createElement(ss,{operation:Ko,response:Un,request:rr,isShown:Vt,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:ti,specActions:ki,specSelectors:wi,oas3Actions:no,oas3Selectors:io,layoutActions:$i,layoutSelectors:Ti,authActions:Vr,authSelectors:ji,getComponent:Yr,getConfigs:ui,fn:Ao})}}(0,kt.default)(Xn,"defaultProps",{showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1});let Cr=(()=>{class Ot extends p.default.Component{getLayout(){let{getComponent:de,layoutSelectors:Ee}=this.props;const Le=Ee.current();return de(Le,!0)||(()=>p.default.createElement("h1",null,' No layout defined for "',Le,'" '))}render(){const de=this.getLayout();return p.default.createElement(de,null)}}return Ot.defaultProps={},Ot})();class xn extends p.default.Component{constructor(){super(...arguments),(0,kt.default)(this,"close",()=>{let{authActions:ne}=this.props;ne.showDefinitions(!1)})}render(){var ne;let{authSelectors:de,authActions:Ee,getComponent:Le,errSelectors:Je,specSelectors:Lt,fn:{AST:Pt={}}}=this.props,Ut=de.shownDefinitions();const Vt=Le("auths");return p.default.createElement("div",{className:"dialog-ux"},p.default.createElement("div",{className:"backdrop-ux"}),p.default.createElement("div",{className:"modal-ux"},p.default.createElement("div",{className:"modal-dialog-ux"},p.default.createElement("div",{className:"modal-ux-inner"},p.default.createElement("div",{className:"modal-ux-header"},p.default.createElement("h3",null,"Available authorizations"),p.default.createElement("button",{type:"button",className:"close-modal",onClick:this.close},p.default.createElement("svg",{width:"20",height:"20"},p.default.createElement("use",{href:"#close",xlinkHref:"#close"})))),p.default.createElement("div",{className:"modal-ux-content"},(0,m.default)(ne=Ut.valueSeq()).call(ne,(Qt,On)=>p.default.createElement(Vt,{key:On,AST:Pt,definitions:Qt,getComponent:Le,errSelectors:Je,authSelectors:de,authActions:Ee,specSelectors:Lt})))))))}}class _t extends p.default.Component{render(){let{isAuthorized:ne,showPopup:de,onClick:Ee,getComponent:Le}=this.props;const Je=Le("authorizationPopup",!0);return p.default.createElement("div",{className:"auth-wrapper"},p.default.createElement("button",{className:ne?"btn authorize locked":"btn authorize unlocked",onClick:Ee},p.default.createElement("span",null,"Authorize"),p.default.createElement("svg",{width:"20",height:"20"},p.default.createElement("use",{href:ne?"#locked":"#unlocked",xlinkHref:ne?"#locked":"#unlocked"}))),de&&p.default.createElement(Je,null))}}class Or extends p.default.Component{render(){const{authActions:ne,authSelectors:de,specSelectors:Ee,getComponent:Le}=this.props,Je=Ee.securityDefinitions(),Lt=de.definitionsToAuthorize(),Pt=Le("authorizeBtn");return Je?p.default.createElement(Pt,{onClick:()=>ne.showDefinitions(Lt),isAuthorized:!!de.authorized().size,showPopup:!!de.shownDefinitions(),getComponent:Le}):null}}class Q extends p.default.Component{constructor(){super(...arguments),(0,kt.default)(this,"onClick",ne=>{ne.stopPropagation();let{onClick:de}=this.props;de&&de()})}render(){let{isAuthorized:ne}=this.props;return p.default.createElement("button",{className:ne?"authorization__btn locked":"authorization__btn unlocked","aria-label":ne?"authorization button locked":"authorization button unlocked",onClick:this.onClick},p.default.createElement("svg",{width:"20",height:"20"},p.default.createElement("use",{href:ne?"#locked":"#unlocked",xlinkHref:ne?"#locked":"#unlocked"})))}}class fe extends p.default.Component{constructor(ne,de){super(ne,de),(0,kt.default)(this,"onAuthChange",Ee=>{let{name:Le}=Ee;this.setState({[Le]:Ee})}),(0,kt.default)(this,"submitAuth",Ee=>
1{Ee.preventDefault();let{authActions:Le}=this.props;Le.authorizeWithPersistOption(this.state)}),(0,kt.default)(this,"logoutClick",Ee=>{Ee.preventDefault();let{authActions:Le,definitions:Je}=this.props,Lt=(0,m.default)(Je).call(Je,(Pt,Ut)=>Ut).toArray();this.setState((0,v.default)(Lt).call(Lt,(Pt,Ut)=>(Pt[Ut]="",Pt),{})),Le.logoutWithPersistOption(Lt)}),(0,kt.default)(this,"close",Ee=>{Ee.preventDefault();let{authActions:Le}=this.props;Le.showDefinitions(!1)}),this.state={}}render(){var ne;let{definitions:de,getComponent:Ee,authSelectors:Le,errSelectors:Je}=this.props;const Lt=Ee("AuthItem"),Pt=Ee("oauth2",!0),Ut=Ee("Button");let Vt=Le.authorized(),Qt=(0,r.default)(de).call(de,(rr,Gn)=>!!Vt.get(Gn)),On=(0,r.default)(de).call(de,rr=>"oauth2"!==rr.get("type")),Un=(0,r.default)(de).call(de,rr=>"oauth2"===rr.get("type"));return p.default.createElement("div",{className:"auth-container"},!!On.size&&p.default.createElement("form",{onSubmit:this.submitAuth},(0,m.default)(On).call(On,(rr,Gn)=>p.default.createElement(Lt,{key:Gn,schema:rr,name:Gn,getComponent:Ee,onAuthChange:this.onAuthChange,authorized:Vt,errSelectors:Je})).toArray(),p.default.createElement("div",{className:"auth-btn-wrapper"},On.size===Qt.size?p.default.createElement(Ut,{className:"btn modal-btn auth",onClick:this.logoutClick},"Logout"):p.default.createElement(Ut,{type:"submit",className:"btn modal-btn auth authorize"},"Authorize"),p.default.createElement(Ut,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),Un&&Un.size?p.default.createElement("div",null,p.default.createElement("div",{className:"scope-def"},p.default.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),p.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),(0,m.default)(ne=(0,r.default)(de).call(de,rr=>"oauth2"===rr.get("type"))).call(ne,(rr,Gn)=>p.default.createElement("div",{key:Gn},p.default.createElement(Pt,{authorized:Vt,schema:rr,name:Gn}))).toArray()):null)}}class Ce extends p.default.Component{render(){let{schema:ne,name:de,getComponent:Ee,onAuthChange:Le,authorized:Je,errSelectors:Lt}=this.props;const Pt=Ee("apiKeyAuth"),Ut=Ee("basicAuth");let Vt;const Qt=ne.get("type");switch(Qt){case"apiKey":Vt=p.default.createElement(Pt,{key:de,schema:ne,name:de,errSelectors:Lt,authorized:Je,getComponent:Ee,onChange:Le});break;case"basic":Vt=p.default.createElement(Ut,{key:de,schema:ne,name:de,errSelectors:Lt,authorized:Je,getComponent:Ee,onChange:Le});break;default:Vt=p.default.createElement("div",{key:de},"Unknown security definition type ",Qt)}return p.default.createElement("div",{key:`${de}-jump`},Vt)}}class mt extends p.default.Component{render(){let{error:ne}=this.props,de=ne.get("level"),Ee=ne.get("message"),Le=ne.get("source");return p.default.createElement("div",{className:"errors"},p.default.createElement("b",null,Le," ",de),p.default.createElement("span",null,Ee))}}class bt extends p.default.Component{constructor(ne,de){super(ne,de),(0,kt.default)(this,"onChange",Lt=>{let{onChange:Pt}=this.props,Vt=(0,u.default)({},this.state,{value:Lt.target.value});this.setState(Vt),Pt(Vt)});let{name:Ee,schema:Le}=this.props,Je=this.getValue();this.state={name:Ee,schema:Le,value:Je}}getValue(){let{name:ne,authorized:de}=this.props;return de&&de.getIn([ne,"value"])}render(){var ne,de;let{schema:Ee,getComponent:Le,errSelectors:Je,name:Lt}=this.props;const Pt=Le("Input"),Ut=Le("Row"),Vt=Le("Col"),Qt=Le("authError"),On=Le("Markdown",!0),Un=Le("JumpToPath",!0);let rr=this.getValue(),Gn=(0,r.default)(ne=Je.allErrors()).call(ne,Sr=>Sr.get("authId")===Lt);return p.default.createElement("div",null,p.default.createElement("h4",null,p.default.createElement("code",null,Lt||Ee.get("name")),"\xa0(apiKey)",p.default.createElement(Un,{path:["securityDefinitions",Lt]})),rr&&p.default.createElement("h6",null,"Authorized"),p.default.createElement(Ut,null,p.default.createElement(On,{source:Ee.get("description")})),p.default.createElement(Ut,null,p.default.createElement("p",null,"Name: ",p.default.createElement("code",null,Ee.get("name")))),p.default.createElement(Ut,null,p.default.createElement("p",null,"In: ",p.default.createElement("code",null,Ee.get("in")))),p.default.createElement(Ut,null,p.default.createElement("label",null,"Value:"),rr?p.default.createElement("code",null," ****** "):p.default.createElement(Vt,null,p.default.createElement(Pt,{type:"text",onCh
1ange:this.onChange,autoFocus:!0}))),(0,m.default)(de=Gn.valueSeq()).call(de,(Sr,Br)=>p.default.createElement(Qt,{error:Sr,key:Br})))}}class zt extends p.default.Component{constructor(ne,de){super(ne,de),(0,kt.default)(this,"onChange",Lt=>{let{onChange:Pt}=this.props,{value:Ut,name:Vt}=Lt.target,Qt=this.state.value;Qt[Vt]=Ut,this.setState({value:Qt}),Pt(this.state)});let{schema:Ee,name:Le}=this.props,Je=this.getValue().username;this.state={name:Le,schema:Ee,value:Je?{username:Je}:{}}}getValue(){let{authorized:ne,name:de}=this.props;return ne&&ne.getIn([de,"value"])||{}}render(){var ne,de;let{schema:Ee,getComponent:Le,name:Je,errSelectors:Lt}=this.props;const Pt=Le("Input"),Ut=Le("Row"),Vt=Le("Col"),Qt=Le("authError"),On=Le("JumpToPath",!0),Un=Le("Markdown",!0);let rr=this.getValue().username,Gn=(0,r.default)(ne=Lt.allErrors()).call(ne,Sr=>Sr.get("authId")===Je);return p.default.createElement("div",null,p.default.createElement("h4",null,"Basic authorization",p.default.createElement(On,{path:["securityDefinitions",Je]})),rr&&p.default.createElement("h6",null,"Authorized"),p.default.createElement(Ut,null,p.default.createElement(Un,{source:Ee.get("description")})),p.default.createElement(Ut,null,p.default.createElement("label",null,"Username:"),rr?p.default.createElement("code",null," ",rr," "):p.default.createElement(Vt,null,p.default.createElement(Pt,{type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),p.default.createElement(Ut,null,p.default.createElement("label",null,"Password:"),rr?p.default.createElement("code",null," ****** "):p.default.createElement(Vt,null,p.default.createElement(Pt,{autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),(0,m.default)(de=Gn.valueSeq()).call(de,(Sr,Br)=>p.default.createElement(Qt,{error:Sr,key:Br})))}}function hn(Ot){const{example:ne,showValue:de,getComponent:Ee,getConfigs:Le}=Ot,Je=Ee("Markdown",!0),Lt=Ee("highlightCode");return ne?p.default.createElement("div",{className:"example"},ne.get("description")?p.default.createElement("section",{className:"example__section"},p.default.createElement("div",{className:"example__section-header"},"Example Description"),p.default.createElement("p",null,p.default.createElement(Je,{source:ne.get("description")}))):null,de&&ne.has("value")?p.default.createElement("section",{className:"example__section"},p.default.createElement("div",{className:"example__section-header"},"Example Value"),p.default.createElement(Lt,{getConfigs:Le,value:(0,ue.Pz)(ne.get("value"))})):null):null}var wr=jr(6914);class Fr extends p.default.PureComponent{constructor(){var ne;super(...arguments),ne=this,(0,kt.default)(this,"_onSelect",function(de){let{isSyntheticChange:Ee=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"function"==typeof ne.props.onSelect&&ne.props.onSelect(de,{isSyntheticChange:Ee})}),(0,kt.default)(this,"_onDomSelect",de=>{if("function"==typeof this.props.onSelect){const Ee=de.target.selectedOptions[0].getAttribute("value");this._onSelect(Ee,{isSyntheticChange:!1})}}),(0,kt.default)(this,"getCurrentExample",()=>{const{examples:de,currentExampleKey:Ee}=this.props,Le=de.get(Ee),Je=de.keySeq().first(),Lt=de.get(Je);return Le||Lt||(0,wr.default)({})})}componentDidMount(){const{onSelect:ne,examples:de}=this.props;if("function"==typeof ne){const Ee=de.first(),Le=de.keyOf(Ee);this._onSelect(Le,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(ne){const{currentExampleKey:de,examples:Ee}=ne;if(Ee!==this.props.examples&&!Ee.has(de)){const Le=Ee.first(),Je=Ee.keyOf(Le);this._onSelect(Je,{isSyntheticChange:!0})}}render(){const{examples:ne,currentExampleKey:de,isValueModified:Ee,isModifiedValueAvailable:Le,showLabels:Je}=this.props;return p.default.createElement("div",{className:"examples-select"},Je?p.default.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,p.default.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:Le&&Ee?"__MODIFIED__VALUE__":de||""},Le?p.default.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,(0,m.default)(ne).call(ne,(Lt,Pt)=>p.default.createElement("option",{key:Pt,value:Pt},Lt.get("summary")||Pt)).valueSeq()))}}(0,kt.default)(Fr,"defaultProps",{examples:T.default.Map({}),onSelect:function(){for(var Ot=arguments.length,ne=new Array(Ot),de=0;de<Ot;de++)ne[de]=arguments[de];return console.log("DEBUG: ExamplesSelect was not given an onSelect callback",...ne)}
1,currentExampleKey:null,showLabels:!0});const li=Ot=>T.List.isList(Ot)?Ot:(0,ue.Pz)(Ot);class ci extends p.default.PureComponent{constructor(ne){var de;super(ne),de=this,(0,kt.default)(this,"_getStateForCurrentNamespace",()=>{const{currentNamespace:Le}=this.props;return(this.state[Le]||(0,T.Map)()).toObject()}),(0,kt.default)(this,"_setStateForCurrentNamespace",Le=>{const{currentNamespace:Je}=this.props;return this._setStateForNamespace(Je,Le)}),(0,kt.default)(this,"_setStateForNamespace",(Le,Je)=>{const Lt=(this.state[Le]||(0,T.Map)()).mergeDeep(Je);return this.setState({[Le]:Lt})}),(0,kt.default)(this,"_isCurrentUserInputSameAsExampleValue",()=>{const{currentUserInputValue:Le}=this.props;return this._getCurrentExampleValue()===Le}),(0,kt.default)(this,"_getValueForExample",(Le,Je)=>{const{examples:Lt}=Je||this.props;return li((Lt||(0,T.Map)({})).getIn([Le,"value"]))}),(0,kt.default)(this,"_getCurrentExampleValue",Le=>{const{currentKey:Je}=Le||this.props;return this._getValueForExample(Je,Le||this.props)}),(0,kt.default)(this,"_onExamplesSelect",function(Le){let{isSyntheticChange:Je}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{onSelect:Lt,updateValue:Pt,currentUserInputValue:Ut,userHasEditedBody:Vt}=de.props,{lastUserEditedValue:Qt}=de._getStateForCurrentNamespace(),On=de._getValueForExample(Le);if("__MODIFIED__VALUE__"===Le)return Pt(li(Qt)),de._setStateForCurrentNamespace({isModifiedValueSelected:!0});if("function"==typeof Lt){for(var Un=arguments.length,rr=new Array(Un>2?Un-2:0),Gn=2;Gn<Un;Gn++)rr[Gn-2]=arguments[Gn];Lt(Le,{isSyntheticChange:Je},...rr)}de._setStateForCurrentNamespace({lastDownstreamValue:On,isModifiedValueSelected:Je&&Vt||!!Ut&&Ut!==On}),Je||"function"==typeof Pt&&Pt(li(On))});const Ee=this._getCurrentExampleValue();this.state={[ne.currentNamespace]:(0,T.Map)({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:Ee,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==Ee})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}UNSAFE_componentWillReceiveProps(ne){const{currentUserInputValue:de,examples:Ee,onSelect:Le,userHasEditedBody:Je}=ne,{lastUserEditedValue:Lt,lastDownstreamValue:Pt}=this._getStateForCurrentNamespace(),Ut=this._getValueForExample(ne.currentKey,ne),Vt=(0,r.default)(Ee).call(Ee,Qt=>Qt.get("value")===de||(0,ue.Pz)(Qt.get("value"))===de);if(Vt.size){let Qt;Qt=Vt.has(ne.currentKey)?ne.currentKey:Vt.keySeq().first(),Le(Qt,{isSyntheticChange:!0})}else de!==this.props.currentUserInputValue&&de!==Lt&&de!==Pt&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(ne.currentNamespace,{lastUserEditedValue:ne.currentUserInputValue,isModifiedValueSelected:Je||de!==Ut}))}render(){const{currentUserInputValue:ne,examples:de,currentKey:Ee,getComponent:Le,userHasEditedBody:Je}=this.props,{lastDownstreamValue:Lt,lastUserEditedValue:Pt,isModifiedValueSelected:Ut}=this._getStateForCurrentNamespace(),Vt=Le("ExamplesSelect");return p.default.createElement(Vt,{examples:de,currentExampleKey:Ee,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!Pt&&Pt!==Lt,isValueModified:void 0!==ne&&Ut&&ne!==this._getCurrentExampleValue()||Je})}}(0,kt.default)(ci,"defaultProps",{userHasEditedBody:!1,examples:(0,T.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:()=>{},onSelect:function(){for(var Ot=arguments.length,ne=new Array(Ot),de=0;de<Ot;de++)ne[de]=arguments[de];return console.log("ExamplesSelectValueRetainer: no `onSelect` function was provided",...ne)},updateValue:function(){for(var Ot=arguments.length,ne=new Array(Ot),de=0;de<Ot;de++)ne[de]=arguments[de];return console.log("ExamplesSelectValueRetainer: no `updateValue` function was provided",...ne)}});var Qr=jr(8898),so=jr(5487),Kr=jr(2372),os=jr(8900);class Hn extends p.default.Component{constructor(ne,de){super(ne,de),(0,kt.default)(this,"close",Gn=>{Gn.preventDefault();let{authActions:Sr}=this.props;Sr.showDefinitions(!1)}),(0,kt.default)(this,"authorize",()=>{let{authActions:Gn,errActions:Sr,getConfigs:Br,authSelectors:ti,oas3Selectors:wi}=this.props,ki=Br(),Yr=ti.getConfigs();Sr.clear({authId:name,type:"auth",source:"auth"}),function(ui){let{auth:Ti,authActions:$i,errActions:Vr,configs:ji,authConfigs:no={},currentServer:io}=ui,{schema:Ao,scopes:ss,name:Is,clientId:Ko}=Ti,Ns=Ao.get("flow"),_o=[];switch(Ns){case"password":return void $i.authorizePassword(Ti);case"application":case"clientCredentials":case"client_credentials":return void $i.authorizeApplication(Ti);case"accessCode":case"authorizationCode":case"authorization_code":_o.push("response_type=code");break;case"implicit":_o.push("response_type=token")}"string"==typeof Ko&&_o.push("client_id="+encodeURIComponent(Ko));let ua=ji.oauth2RedirectUrl;if(void 0===ua)return void Vr.newAuthErr({authId:Is,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});_o.push("redirect_uri="+encodeURIComponent(ua));let wa=[];(0,h.default)(ss)?wa=ss:T.default.List.isList(ss)&&(wa=ss.toArray()),wa.length>0&&_o.push("scope="+encodeURIComponent(wa.join(no.scopeSeparator||" ")));let il=(0,ue.r3)(new Date);if(_o.push("state="+encodeURIComponent(il)),void 0!==no.realm&&_o.push("realm="+encodeURIComponent(no.realm)),("authorizationCode"===Ns||"authorization_code"===Ns||"accessCode"===Ns)&&no.usePkceWithAuthorizationCodeGrant){const xo=(0,ue.Uj)(),mo=(0,ue.Xb)(xo);_o.push("code_challenge="+mo),_o.push("code_challenge_method=S256"),Ti.codeVerifier=x
1o}let{additionalQueryStringParams:Al}=no;for(let xo in Al){var Pl;void 0!==Al[xo]&&_o.push((0,m.default)(Pl=[xo,Al[xo]]).call(Pl,encodeURIComponent).join("="))}const pa=Ao.get("authorizationUrl");let Kl;Kl=io?(0,os.default)((0,ue.Nm)(pa),io,!0).toString():(0,ue.Nm)(pa);let Zc,zs=[Kl,_o.join("&")].join(-1===(0,rn.default)(pa).call(pa,"?")?"?":"&");Zc="implicit"===Ns?$i.preAuthorizeImplicit:no.useBasicAuthenticationWithAccessCodeGrant?$i.authorizeAccessCodeWithBasicAuthentication:$i.authorizeAccessCodeWithFormParams,$i.authPopup(zs,{auth:Ti,state:il,redirectUrl:ua,callback:Zc,errCb:Vr.newAuthErr})}({auth:this.state,currentServer:wi.serverEffectiveValue(wi.selectedServer()),authActions:Gn,errActions:Sr,configs:ki,authConfigs:Yr})}),(0,kt.default)(this,"onScopeChange",Gn=>{var Sr,Br;let{target:ti}=Gn,{checked:wi}=ti,ki=ti.dataset.value;if(wi&&-1===(0,rn.default)(Sr=this.state.scopes).call(Sr,ki)){var Yr;let Ti=(0,x.default)(Yr=this.state.scopes).call(Yr,[ki]);this.setState({scopes:Ti})}else if(!wi&&(0,rn.default)(Br=this.state.scopes).call(Br,ki)>-1){var ui;this.setState({scopes:(0,r.default)(ui=this.state.scopes).call(ui,Ti=>Ti!==ki)})}}),(0,kt.default)(this,"onInputChange",Gn=>{let{target:{dataset:{name:Sr},value:Br}}=Gn;this.setState({[Sr]:Br})}),(0,kt.default)(this,"selectScopes",Gn=>{var Sr;this.setState(Gn.target.dataset.all?{scopes:(0,Qr.default)((0,so.default)(Sr=this.props.schema.get("allowedScopes")||this.props.schema.get("scopes")).call(Sr))}:{scopes:[]})}),(0,kt.default)(this,"logout",Gn=>{Gn.preventDefault();let{authActions:Sr,errActions:Br,name:ti}=this.props;Br.clear({authId:ti,type:"auth",source:"auth"}),Sr.logoutWithPersistOption([ti])});let{name:Ee,schema:Le,authorized:Je,authSelectors:Lt}=this.props,Pt=Je&&Je.get(Ee),Ut=Lt.getConfigs()||{},Vt=Pt&&Pt.get("username")||"",Qt=Pt&&Pt.get("clientId")||Ut.clientId||"",On=Pt&&Pt.get("clientSecret")||Ut.clientSecret||"",Un=Pt&&Pt.get("passwordType")||"basic",rr=Pt&&Pt.get("scopes")||Ut.scopes||[];"string"==typeof rr&&(rr=rr.split(Ut.scopeSeparator||" ")),this.state={appName:Ut.appName,name:Ee,schema:Le,scopes:rr,clientId:Qt,clientSecret:On,username:Vt,password:"",passwordType:Un}}render(){var ne,de;let{schema:Ee,getComponent:Le,authSelectors:Je,errSelectors:Lt,name:Pt,specSelectors:Ut}=this.props;const Vt=Le("Input"),Qt=Le("Row"),On=Le("Col"),Un=Le("Button"),rr=Le("authError"),Gn=Le("JumpToPath",!0),Sr=Le("Markdown",!0),Br=Le("InitializedInput"),{isOAS3:ti}=Ut;let wi=ti()?Ee.get("openIdConnectUrl"):null;const ki="implicit",Yr="password",ui=ti()?wi?"authorization_code":"authorizationCode":"accessCode",Ti=ti()?wi?"client_credentials":"clientCredentials":"application";let $i=!!(Je.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,Vr=Ee.get("flow"),ji=Vr===ui&&$i?Vr+" with PKCE":Vr,no=Ee.get("allowedScopes")||Ee.get("scopes"),io=!!Je.authorized().get(Pt),Ao=(0,r.default)(ne=Lt.allErrors()).call(ne,Ko=>Ko.get("authId")===Pt),ss=!(0,r.default)(Ao).call(Ao,Ko=>"validation"===Ko.get("source")).size,Is=Ee.get("description");return p.default.createElement("div",null,p.default.createElement("h4",null,Pt," (OAuth2, ",ji,") ",p.default.createElement(Gn,{path:["securityDefinitions",Pt]})),this.state.appName?p.default.createElement("h5",null,"Application: ",this.state.appName," "):null,Is&&p.default.createElement(Sr,{source:Ee.get("description")}),io&&p.default.createElement("h6",null,"Authorized"),wi&&p.default.createElement("p",null,"OpenID Connect URL: ",p.default.createElement("code",null,wi)),(Vr===ki||Vr===ui)&&p.default.createElement("p",null,"Authorization URL: ",p.default.createElement("code",null,Ee.get("authorizationUrl"))),(Vr===Yr||Vr===ui||Vr===Ti)&&p.default.createElement("p",null,"Token URL:",p.default.createElement("code",null," ",Ee.get("tokenUrl"))),p.default.createElement("p",{className:"flow"},"Flow: ",p.default.createElement("code",null,ji)),Vr!==Yr?null:p.default.createElement(Qt,null,p.default.createElement(Qt,null,p.default.createElement("label",{htmlFor:"oauth_username"},"username:"),io?p.default.createElement("code",null," ",this.state.username," "):p.default.createElement(On,{tablet:10,desktop:10},p.default.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),p.default.createElement(Qt,null,p.default.createElement("label",{htmlFor:"oauth_password"},"password:"),io?p.default.createElement("code",null," ****** "):p.default.createElement(On,{tablet:10,desktop:10},p.default.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}
1))),p.default.createElement(Qt,null,p.default.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),io?p.default.createElement("code",null," ",this.state.passwordType," "):p.default.createElement(On,{tablet:10,desktop:10},p.default.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},p.default.createElement("option",{value:"basic"},"Authorization header"),p.default.createElement("option",{value:"request-body"},"Request body"))))),(Vr===Ti||Vr===ki||Vr===ui||Vr===Yr)&&(!io||io&&this.state.clientId)&&p.default.createElement(Qt,null,p.default.createElement("label",{htmlFor:"client_id"},"client_id:"),io?p.default.createElement("code",null," ****** "):p.default.createElement(On,{tablet:10,desktop:10},p.default.createElement(Br,{id:"client_id",type:"text",required:Vr===Yr,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(Vr===Ti||Vr===ui&&!$i||Vr===Yr)&&p.default.createElement(Qt,null,p.default.createElement("label",{htmlFor:"client_secret"},"client_secret:"),io?p.default.createElement("code",null," ****** "):p.default.createElement(On,{tablet:10,desktop:10},p.default.createElement(Br,{id:"client_secret",initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!io&&no&&no.size?p.default.createElement("div",{className:"scopes"},p.default.createElement("h2",null,"Scopes:",p.default.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),p.default.createElement("a",{onClick:this.selectScopes},"select none")),(0,m.default)(no).call(no,(Ko,Ns)=>{var _o;return p.default.createElement(Qt,{key:Ns},p.default.createElement("div",{className:"checkbox"},p.default.createElement(Vt,{"data-value":Ns,id:`${Ns}-${Vr}-checkbox-${this.state.name}`,disabled:io,checked:(0,Kr.default)(_o=this.state.scopes).call(_o,Ns),type:"checkbox",onChange:this.onScopeChange}),p.default.createElement("label",{htmlFor:`${Ns}-${Vr}-checkbox-${this.state.name}`},p.default.createElement("span",{className:"item"}),p.default.createElement("div",{className:"text"},p.default.createElement("p",{className:"name"},Ns),p.default.createElement("p",{className:"description"},Ko)))))}).toArray()):null,(0,m.default)(de=Ao.valueSeq()).call(de,(Ko,Ns)=>p.default.createElement(rr,{error:Ko,key:Ns})),p.default.createElement("div",{className:"auth-btn-wrapper"},ss&&(io?p.default.createElement(Un,{className:"btn modal-btn auth authorize",onClick:this.logout},"Logout"):p.default.createElement(Un,{className:"btn modal-btn auth authorize",onClick:this.authorize},"Authorize")),p.default.createElement(Un,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class En extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"onClick",()=>{let{specActions:ne,path:de,method:Ee}=this.props;ne.clearResponse(de,Ee),ne.clearRequest(de,Ee)})}render(){return p.default.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const Qn=Ot=>{let{headers:ne}=Ot;return p.default.createElement("div",null,p.default.createElement("h5",null,"Response headers"),p.default.createElement("pre",{className:"microlight"},ne))},$r=Ot=>{let{duration:ne}=Ot;return p.default.createElement("div",null,p.default.createElement("h5",null,"Request duration"),p.default.createElement("pre",{className:"microlight"},ne," ms"))};class ao extends p.default.Component{shouldComponentUpdate(ne){return this.props.response!==ne.response||this.props.path!==ne.path||this.props.method!==ne.method||this.props.displayRequestDuration!==ne.displayRequestDuration}render(){const{response:ne,getComponent:de,getConfigs:Ee,displayRequestDuration:Le,specSelectors:Je,path:Lt,method:Pt}=this.props,{showMutatedRequest:Ut,requestSnippetsEnabled:Vt}=Ee(),Qt=Ut?Je.mutatedRequestFor(Lt,Pt):Je.requestFor(Lt,Pt),On=ne.get("status"),Un=Qt.get("url"),rr=ne.get("headers").toJS(),Gn=ne.get("notDocumented"),Sr=ne.get("error"),Br=ne.get("text"),ti=ne.get("duration"),wi=(0,i.default)(rr),ki=rr["content-type"]||rr["Content-Type"],Yr=de("responseBody"),ui=(0,m.default)(wi).call(wi,no=>{var io=(0,h.default)(rr[no])?rr[no].join():rr[no];return p.default.createElement("span",{className:"headerline",key:no}," ",no,": ",io," ")}),Ti=0!==ui.length,$i=de("Markdown",!0),Vr=de("RequestSnippets",!0),ji=de("curl");return p.default.createElement("div",null,Qt&&(!0===Vt||"true"===Vt?p.default.createElement(Vr,{request:Qt}):p.default.createElement(ji,{request:Qt,getConfigs:Ee})),Un&&p.default.createElement("div",null,p.default.createElement("div",{className:"request-url"},p.default.createElement("h4",null,"Request URL"),p.default.createElement("pre",{className:"microlight"},Un))),p.default.createElement("h4",null,"Server response"),p.default.createElement("table",{className:"responses-table live-responses-table"},p.default.createElement("thead",null,p.default.createElement("tr",{className:"responses-header"},p.default.createElement("td",{className:"col_header response-col_status"},"Code"),p.default.createElement("td",{className:"col_header response-col_description"},"Details"))),p.default.createElement("tbody",null,p.default.createElement("tr",{className:"response"},p.default.createElement("td",{className:"response-col_status"},On,Gn?p.default.createElement("div",{className:"response-undocumented"},p.default.createElement("i",null," Undocumented ")):null),p.default.createElement("td",{className:"response-col_description"},Sr?p.default.createElement($i,{source:`${""!==ne.get("name")?`${ne.get("name")}: `:""}${ne.get("message")}`}):null,Br?p.default.createElement(Yr,{content:Br,contentType:ki,url:Un,headers:rr,getConfigs:Ee,getComponent:de}):null,Ti?p.default.createElement(Qn,{headers:ui}):null,Le&&ti?p.default.createElement($r,{duration:ti}):null)))))}}var Ri=jr(5623);const cs=["get","put","post","delete","options","head","patch"],dn=(0,x.default)(cs).call(cs,["trace"]);class Yn extends p.default.Component{constructor(){super(...arguments),(0,kt.default)(this,"renderOperationTag",(ne,de)=>{const{specSelectors:Ee,getComponent:Le,oas3Selectors:Je,layoutSelectors:Lt,layoutActions:Pt,getConfigs:Ut}=this.props,Vt=Le("OperationContainer",!0),Qt=Le("OperationTag"),On=ne.get("operations");return p.default.createElement(Qt,{key:"operation-"+de,tagObj:ne,tag:de,oas3Selectors:Je,layoutSelectors:Lt,layoutActions:Pt,getConfigs:Ut,getComponent:Le,specUrl:Ee.url()},p.default.createElement("div",{className:"operation-tag-content"},(0,m.default)(On).call(On,Un=>{const rr=Un.get("path"),Gn=Un.get("method"),Sr=T.default.List(["paths",rr,G
1n]),Br=Ee.isOAS3()?dn:cs;return-1===(0,rn.default)(Br).call(Br,Gn)?null:p.default.createElement(Vt,{key:`${rr}-${Gn}`,specPath:Sr,op:Un,path:rr,method:Gn,tag:de})}).toArray()))})}render(){let{specSelectors:ne}=this.props;const de=ne.taggedOperations();return 0===de.size?p.default.createElement("h3",null," No operations defined in spec!"):p.default.createElement("div",null,(0,m.default)(de).call(de,this.renderOperationTag).toArray(),de.size<1?p.default.createElement("h3",null," No operations defined in spec! "):null)}}var dr=jr(3769);function kr(Ot){return Ot.match(/^(?:[a-z]+:)?\/\//i)}function _r(Ot,ne){return Ot?kr(Ot)?(de=Ot).match(/^\/\//i)?`${window.location.protocol}${de}`:de:new dr.default(Ot,ne).href:ne;var de}function zr(Ot,ne){let{selectedServer:de=""}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Ot)return;if(kr(Ot))return Ot;const Ee=_r(de,ne);return kr(Ee)?new dr.default(Ot,Ee).href:new dr.default(Ot,window.location.href).href}function Ni(Ot,ne){let{selectedServer:de=""}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{return zr(Ot,ne,{selectedServer:de})}catch{return}}class zo extends p.default.Component{render(){const{tagObj:ne,tag:de,children:Ee,oas3Selectors:Le,layoutSelectors:Je,layoutActions:Lt,getConfigs:Pt,getComponent:Ut,specUrl:Vt}=this.props;let{docExpansion:Qt,deepLinking:On}=Pt();const Un=On&&"false"!==On,rr=Ut("Collapse"),Gn=Ut("Markdown",!0),Sr=Ut("DeepLink"),Br=Ut("Link");let ti,wi=ne.getIn(["tagDetails","description"],null),ki=ne.getIn(["tagDetails","externalDocs","description"]),Yr=ne.getIn(["tagDetails","externalDocs","url"]);ti=(0,ue.Wl)(Le)&&(0,ue.Wl)(Le.selectedServer)?Ni(Yr,Vt,{selectedServer:Le.selectedServer()}):Yr;let ui=["operations-tag",de],Ti=Je.isShown(ui,"full"===Qt||"list"===Qt);return p.default.createElement("div",{className:Ti?"opblock-tag-section is-open":"opblock-tag-section"},p.default.createElement("h3",{onClick:()=>Lt.show(ui,!Ti),className:wi?"opblock-tag":"opblock-tag no-desc",id:(0,m.default)(ui).call(ui,$i=>(0,ue.J6)($i)).join("-"),"data-tag":de,"data-is-open":Ti},p.default.createElement(Sr,{enabled:Un,isShown:Ti,path:(0,ue.oJ)(de),text:de}),wi?p.default.createElement("small",null,p.default.createElement(Gn,{source:wi})):p.default.createElement("small",null),ti?p.default.createElement("div",{className:"info__externaldocs"},p.default.createElement("small",null,p.default.createElement(Br,{href:(0,ue.Nm)(ti),onClick:$i=>$i.stopPropagation(),target:"_blank"},ki||ti))):null,p.default.createElement("button",{"aria-expanded":Ti,className:"expand-operation",title:Ti?"Collapse operation":"Expand operation",onClick:()=>Lt.show(ui,!Ti)},p.default.createElement("svg",{className:"arrow",width:"20",height:"20","aria-hidden":"true",focusable:"false"},p.default.createElement("use",{href:Ti?"#large-arrow-up":"#large-arrow-down",xlinkHref:Ti?"#large-arrow-up":"#large-arrow-down"})))),p.default.createElement(rr,{isOpened:Ti},Ee))}}(0,kt.default)(zo,"defaultProps",{tagObj:T.default.fromJS({}),tag:""});class Ft extends p.PureComponent{render(){let{specPath:ne,response:de,request:Ee,toggleShown:Le,onTryoutClick:Je,onCancelClick:Lt,onExecute:Pt,fn:Ut,getComponent:Vt,getConfigs:Qt,specActions:On,specSelectors:Un,authActions:rr,authSelectors:Gn,oas3Actions:Sr,oas3Selectors:Br}=this.props,ti=this.props.operation,{deprecated:wi,isShown:ki,path:Yr,method:ui,op:Ti,tag:$i,operationId:Vr,allowTryItOut:ji,displayRequestDuration:no,tryItOutEnabled:io,executeInProgress:Ao}=ti.toJS(),{description:ss,externalDocs:Is,schemes:Ko}=Ti;const Ns=Is?Ni(Is.url,Un.url(),{selectedServer:Br.selectedServer()}):"";let _o=ti.getIn(["op"]),ua=_o.get("responses"),wa=(0,ue.gp)(_o,["parameters"]),il=Un.operationScheme(Yr,ui),Al=["operations",$i,Vr],Pl=(0,ue.nX)(_o);const pa=Vt("responses"),Kl=Vt("parameters"),Zc=Vt("execute"),zs=Vt("clear"),xo=Vt("Collapse"),mo=Vt("Markdown",!0),Js=Vt("schemes"),w2=Vt("OperationServers"),Sf=Vt("OperationExt"),G1=Vt("OperationSummary"),T3=Vt("Link"),{showExtensions:W1}=Qt();if(ua&&de&&de.size>0){let ga=!ua.get(String(de.get("status")))&&!ua.get("default");de=de.set("notDocumented",ga)}let bd=[Yr,ui];const ma=Un.validationErrors([Yr,ui]);return p.default.createElement("div",{className:wi?"opblock opblock-deprecated":ki?`opblock opblock-${ui} is-open`:`opblock opblock-${ui}`,id:(0,ue.J6)(Al.join("-"))}
1,p.default.createElement(G1,{operationProps:ti,isShown:ki,toggleShown:Le,getComponent:Vt,authActions:rr,authSelectors:Gn,specPath:ne}),p.default.createElement(xo,{isOpened:ki},p.default.createElement("div",{className:"opblock-body"},_o&&_o.size||null===_o?null:p.default.createElement("img",{height:"32px",width:"32px",src:jr(2517),className:"opblock-loading-animation"}),wi&&p.default.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),ss&&p.default.createElement("div",{className:"opblock-description-wrapper"},p.default.createElement("div",{className:"opblock-description"},p.default.createElement(mo,{source:ss}))),Ns?p.default.createElement("div",{className:"opblock-external-docs-wrapper"},p.default.createElement("h4",{className:"opblock-title_normal"},"Find more details"),p.default.createElement("div",{className:"opblock-external-docs"},Is.description&&p.default.createElement("span",{className:"opblock-external-docs__description"},p.default.createElement(mo,{source:Is.description})),p.default.createElement(T3,{target:"_blank",className:"opblock-external-docs__link",href:(0,ue.Nm)(Ns)},Ns))):null,_o&&_o.size?p.default.createElement(Kl,{parameters:wa,specPath:ne.push("parameters"),operation:_o,onChangeKey:bd,onTryoutClick:Je,onCancelClick:Lt,tryItOutEnabled:io,allowTryItOut:ji,fn:Ut,getComponent:Vt,specActions:On,specSelectors:Un,pathMethod:[Yr,ui],getConfigs:Qt,oas3Actions:Sr,oas3Selectors:Br}):null,io?p.default.createElement(w2,{getComponent:Vt,path:Yr,method:ui,operationServers:_o.get("servers"),pathServers:Un.paths().getIn([Yr,"servers"]),getSelectedServer:Br.selectedServer,setSelectedServer:Sr.setSelectedServer,setServerVariableValue:Sr.setServerVariableValue,getServerVariable:Br.serverVariableValue,getEffectiveServerValue:Br.serverEffectiveValue}):null,io&&ji&&Ko&&Ko.size?p.default.createElement("div",{className:"opblock-schemes"},p.default.createElement(Js,{schemes:Ko,path:Yr,method:ui,specActions:On,currentScheme:il})):null,!io||!ji||ma.length<=0?null:p.default.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",p.default.createElement("ul",null,(0,m.default)(ma).call(ma,(ga,Nl)=>p.default.createElement("li",{key:Nl}," ",ga," ")))),p.default.createElement("div",{className:io&&de&&ji?"btn-group":"execute-wrapper"},io&&ji?p.default.createElement(Zc,{operation:_o,specActions:On,specSelectors:Un,oas3Selectors:Br,oas3Actions:Sr,path:Yr,method:ui,onExecute:Pt,disabled:Ao}):null,io&&de&&ji?p.default.createElement(zs,{specActions:On,path:Yr,method:ui}):null),Ao?p.default.createElement("div",{className:"loading-container"},p.default.createElement("div",{className:"loading"})):null,ua?p.default.createElement(pa,{responses:ua,request:Ee,tryItOutResponse:de,getComponent:Vt,getConfigs:Qt,specSelectors:Un,oas3Actions:Sr,oas3Selectors:Br,specActions:On,produces:Un.producesOptionsFor([Yr,ui]),producesValue:Un.currentProducesFor([Yr,ui]),specPath:ne.push("responses"),path:Yr,method:ui,displayRequestDuration:no,fn:Ut}):null,W1&&Pl.size?p.default.createElement(Sf,{extensions:Pl,getComponent:Vt}):null)))}}(0,kt.default)(Ft,"defaultProps",{operation:null,response:null,request:null,specPath:(0,T.List)(),summary:""});const er=(Ot=>{var ne={};return jr.d(ne,Ot),ne})({default:()=>GCe()});class lr extends p.PureComponent{render(){let{isShown:ne,toggleShown:de,getComponent:Ee,authActions:Le,authSelectors:Je,operationProps:Lt,specPath:Pt}=this.props,{summary:Ut,isAuthorized:Vt,method:Qt,op:On,showSummary:Un,path:rr,operationId:Gn,originalOperationId:Sr,displayOperationId:Br}=Lt.toJS(),{summary:ti}=On,wi=Lt.get("security");const ki=Ee("authorizeOperationBtn"),Yr=Ee("OperationSummaryMethod"),ui=Ee("OperationSummaryPath"),Ti=Ee("JumpToPath",!0),$i=Ee("CopyToClipboardBtn",!0),Vr=wi&&!!wi.count(),ji=Vr&&1===wi.size&&wi.first().isEmpty(),no=!Vr||ji;return p.default.createElement("div",{className:`opblock-summary opblock-summary-${Qt}`},p.default.createElement("button",{"aria-label":`${Qt} ${rr.replace(/\//g,"\u200b/")}`,"aria-expanded":ne,className:"opblock-summary-control",onClick:de},p.default.createElement(Yr,{method:Qt}),p.default.createElement(ui,{getComponent:Ee,operationProps:Lt,specPath:Pt}),Un?p.default.createElement("div",{className:"opblock-summary-description"},(0,er.default)(ti||Ut)):null,Br&&(Sr||Gn)?p.default.createElement("span",{className:"opblock-summary-operation-id"},Sr||Gn):null,p.default.createElement("svg",{className:"arrow",width:"20",height:"20","aria-hidden":"true",focusable:"false"},p.default.createElement("use",{href:ne?"#large-arrow-up":"#large-arrow-down",xlinkHref:ne?"#large-arrow-up":"#large-arrow-down"}
1))),no?null:p.default.createElement(ki,{isAuthorized:Vt,onClick:()=>{const io=Je.definitionsForRequirements(wi);Le.showDefinitions(io)}}),p.default.createElement($i,{textToCopy:`${Pt.get(1)}`}),p.default.createElement(Ti,{path:Pt}))}}(0,kt.default)(lr,"defaultProps",{operationProps:null,specPath:(0,T.List)(),summary:""});class Gr extends p.PureComponent{render(){let{method:ne}=this.props;return p.default.createElement("span",{className:"opblock-summary-method"},ne.toUpperCase())}}(0,kt.default)(Gr,"defaultProps",{operationProps:null});const ei=(Ot=>{var ne={};return jr.d(ne,Ot),ne})({default:()=>UW()});class Tr extends p.PureComponent{render(){let{getComponent:ne,operationProps:de}=this.props,{deprecated:Ee,isShown:Le,path:Je,tag:Lt,operationId:Pt,isDeepLinkingEnabled:Ut}=de.toJS();const Vt=Je.split(/(?=\/)/g);for(let On=1;On<Vt.length;On+=2)(0,ei.default)(Vt).call(Vt,On,0,p.default.createElement("wbr",{key:On}));const Qt=ne("DeepLink");return p.default.createElement("span",{className:Ee?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":Je},p.default.createElement(Qt,{enabled:Ut,isShown:Le,path:(0,ue.oJ)(`${Lt}/${Pt}`),text:Vt}))}}const Xi=Ot=>{var ne;let{extensions:de,getComponent:Ee}=Ot,Le=Ee("OperationExtRow");return p.default.createElement("div",{className:"opblock-section"},p.default.createElement("div",{className:"opblock-section-header"},p.default.createElement("h4",null,"Extensions")),p.default.createElement("div",{className:"table-container"},p.default.createElement("table",null,p.default.createElement("thead",null,p.default.createElement("tr",null,p.default.createElement("td",{className:"col_header"},"Field"),p.default.createElement("td",{className:"col_header"},"Value"))),p.default.createElement("tbody",null,(0,m.default)(ne=de.entrySeq()).call(ne,Je=>{let[Lt,Pt]=Je;return p.default.createElement(Le,{key:`${Lt}-${Pt}`,xKey:Lt,xVal:Pt})})))))},Lo=Ot=>{let{xKey:ne,xVal:de}=Ot;const Ee=de?de.toJS?de.toJS():de:null;return p.default.createElement("tr",null,p.default.createElement("td",null,ne),p.default.createElement("td",null,(0,o.default)(Ee)))};var Ps=jr(29),qo=jr(8096),Po=jr(471),xs=jr(9908),Yl=jr(7068);const rl=(Ot=>{var ne={};return jr.d(ne,Ot),ne})({default:()=>qCe()});var Au=jr(9874);const du=Ot=>{let{value:ne,fileName:de,className:Ee,downloadable:Le,getConfigs:Je,canCopy:Lt,language:Pt}=Ot;const Ut=(0,Yl.default)(Je)?Je():null,Vt=!1!==(0,xs.default)(Ut,"syntaxHighlight")&&(0,xs.default)(Ut,"syntaxHighlight.activated",!0),Qt=(0,p.useRef)(null);(0,p.useEffect)(()=>{var Un;const rr=(0,r.default)(Un=(0,Qr.default)(Qt.current.childNodes)).call(Un,Gn=>!!Gn.nodeType&&Gn.classList.contains("microlight"));return(0,Ps.default)(rr).call(rr,Gn=>Gn.addEventListener("mousewheel",On,{passive:!1})),()=>{(0,Ps.default)(rr).call(rr,Gn=>Gn.removeEventListener("mousewheel",On))}},[ne,Ee,Pt]);const On=Un=>{const{target:rr,deltaY:Gn}=Un,{scrollHeight:Sr,offsetHeight:Br,scrollTop:ti}=rr;Sr>Br&&(0===ti&&Gn<0||Br+ti>=Sr&&Gn>0)&&Un.preventDefault()};return p.default.createElement("div",{className:"highlight-code",ref:Qt},Le?p.default.createElement("div",{className:"download-contents",onClick:()=>{(0,rl.default)(ne,de)}},"Download"):null,Lt&&p.default.createElement("div",{className:"copy-to-clipboard"},p.default.createElement(Au.CopyToClipboard,{text:ne},p.default.createElement("button",null))),Vt?p.default.createElement(Po.d3,{language:Pt,className:(0,qo.default)(Ee,"microlight"),style:(0,Po.C2)((0,xs.default)(Ut,"syntaxHighlight.theme","agate"))},ne):p.default.createElement("pre",{className:(0,qo.default)(Ee,"microlight")},ne))};du.defaultProps={fileName:"response.txt"};const d1=du;class h1 extends p.default.Component{constructor(){super(...arguments),(0,kt.default)(this,"onChangeProducesWrapper",ne=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],ne)),(0,kt.default)(this,"onResponseContentTypeChange",ne=>{let{controlsAcceptHeader:de,value:Ee}=ne;const{oas3Actions:Le,path:Je,method:Lt}=this.props;de&&Le.setResponseContentType({value:Ee,path:Je,method:Lt})})}render(){var ne;let{responses:de,tryItOutResponse:Ee,getComponent:Le,getConfigs:Je,specSelectors:Lt,fn:Pt,producesValue:Ut,displayRequestDuration:Vt,specPath:Qt,path:On,method:Un,oas3Selectors:rr,oas3Actions:Gn}=this.props,Sr=(0,ue.iQ)(de);const Br=Le("contentType"),ti=Le("liveResponse"),wi=Le("response");let ki=this.props.produces&&this.props.produces.size?this.props.produces:h1.defaultProps.produces;const Yr=Lt.isOAS3()?(0,ue.QG)(de):null,ui=function($i){let Vr=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return $i.replace(/[^\w-]/g,Vr)}(`${Un}${On}_responses`),Ti=`${ui}_select`;return p.default.createElement("div",{className:"responses-wrapper"},p.default.createElement("div",{className:"opblock-section-header"},p.default.createElement("h4",null,"Responses"),Lt.isOAS3()?null:p.default.createElement("label",{htmlFor:Ti},p.default.createElement("span",null,"Response content type"),p.default.createElement(Br,{value:Ut,ariaControl
1s:ui,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:ki,controlId:Ti,onChange:this.onChangeProducesWrapper}))),p.default.createElement("div",{className:"responses-inner"},Ee?p.default.createElement("div",null,p.default.createElement(ti,{response:Ee,getComponent:Le,getConfigs:Je,specSelectors:Lt,path:this.props.path,method:this.props.method,displayRequestDuration:Vt}),p.default.createElement("h4",null,"Responses")):null,p.default.createElement("table",{"aria-live":"polite",className:"responses-table",id:ui,role:"region"},p.default.createElement("thead",null,p.default.createElement("tr",{className:"responses-header"},p.default.createElement("td",{className:"col_header response-col_status"},"Code"),p.default.createElement("td",{className:"col_header response-col_description"},"Description"),Lt.isOAS3()?p.default.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),p.default.createElement("tbody",null,(0,m.default)(ne=de.entrySeq()).call(ne,$i=>{let[Vr,ji]=$i,no=Ee&&Ee.get("status")==Vr?"response_current":"";return p.default.createElement(wi,{key:Vr,path:On,method:Un,specPath:Qt.push(Vr),isDefault:Sr===Vr,fn:Pt,className:no,code:Vr,response:ji,specSelectors:Lt,controlsAcceptHeader:ji===Yr,onContentTypeChange:this.onResponseContentTypeChange,contentType:Ut,getConfigs:Je,activeExamplesKey:rr.activeExamplesMember(On,Un,"responses",Vr),oas3Actions:Gn,getComponent:Le})}).toArray()))))}}(0,kt.default)(h1,"defaultProps",{tryItOutResponse:null,produces:(0,T.fromJS)(["application/json"]),displayRequestDuration:!1});const y2=(Ot=>{var ne={};return jr.d(ne,Ot),ne})({default:()=>KCe()});var xf=jr(2518);class hd extends p.default.Component{constructor(ne,de){super(ne,de),(0,kt.default)(this,"_onContentTypeChange",Ee=>{const{onContentTypeChange:Le,controlsAcceptHeader:Je}=this.props;this.setState({responseContentType:Ee}),Le({value:Ee,controlsAcceptHeader:Je})}),(0,kt.default)(this,"getTargetExamplesKey",()=>{const{response:Ee,contentType:Le,activeExamplesKey:Je}=this.props,Pt=Ee.getIn(["content",this.state.responseContentType||Le],(0,T.Map)({})).get("examples",null).keySeq().first();return Je||Pt}),this.state={responseContentType:""}}render(){var ne,de;let{path:Ee,method:Le,code:Je,response:Lt,className:Pt,specPath:Ut,fn:Vt,getComponent:Qt,getConfigs:On,specSelectors:Un,contentType:rr,controlsAcceptHeader:Gn,oas3Actions:Sr}=this.props,{inferSchema:Br}=Vt,ti=Un.isOAS3();const{showExtensions:wi}=On();let ki=wi?(0,ue.nX)(Lt):null,Yr=Lt.get("headers"),ui=Lt.get("links");const Ti=Qt("ResponseExtension"),$i=Qt("headers"),Vr=Qt("highlightCode"),ji=Qt("modelExample"),no=Qt("Markdown",!0),io=Qt("operationLink"),Ao=Qt("contentType"),ss=Qt("ExamplesSelect"),Is=Qt("Example");var Ko,Ns;const _o=this.state.responseContentType||rr,ua=Lt.getIn(["content",_o],(0,T.Map)({})),wa=ua.get("examples",null);if(ti){const zs=ua.get("schema");Ko=zs?Br(zs.toJS()):null,Ns=zs?(0,T.List)(["content",this.state.responseContentType,"schema"]):Ut}else Ko=Lt.get("schema"),Ns=Lt.has("schema")?Ut.push("schema"):Ut;let il,Al,Pl=!1,pa={includeReadOnly:!0};if(ti){var Kl;if(Al=null===(Kl=ua.get("schema"))||void 0===Kl?void 0:Kl.toJS(),wa){const zs=this.getTargetExamplesKey(),xo=mo=>mo.get("value");il=xo(wa.get(zs,(0,T.Map)({}))),void 0===il&&(il=xo((0,y2.default)(wa).call(wa).next().value)),Pl=!0}else void 0!==ua.get("example")&&(il=ua.get("example"),Pl=!0)}else{Al=Ko,pa={...pa,includeWriteOnly:!0};const zs=Lt.getIn(["examples",_o]);zs&&(il=zs,Pl=!0)}let Zc=((zs,xo,mo)=>{if(null!=zs){let Js=null;return(0,xf.O)(zs)&&(Js="json"),p.default.createElement("div",null,p.default.createElement(xo,{className:"example",getConfigs:mo,language:Js,value:(0,ue.Pz)(zs)}))}return null})((0,ue.xi)(Al,_o,pa,Pl?il:void 0),Vr,On);return p.default.createElement("tr",{className:"response "+(Pt||""),"data-code":Je},p.default.createElement("td",{className:"response-col_status"},Je),p.default.createElement("td",{className:"response-col_description"},p.default.createElement("div",{className:"response-col_description__inner"},p.default.createElement(no,{source:Lt.get("description")})),wi&&ki.size?(0,m.default)(ne=ki.entrySeq()).call(ne,zs=>{let[xo,mo]=zs;return p.default.createElement(Ti,{key:`${xo}-${mo}`,xKey:xo,xVal:mo})}):null,ti&&Lt.get("content")?p.default.createElement("section",{className:"response-control
1s"},p.default.createElement("div",{className:(0,qo.default)("response-control-media-type",{"response-control-media-type--accept-controller":Gn})},p.default.createElement("small",{className:"response-control-media-type__title"},"Media type"),p.default.createElement(Ao,{value:this.state.responseContentType,contentTypes:Lt.get("content")?Lt.get("content").keySeq():(0,T.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),Gn?p.default.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",p.default.createElement("code",null,"Accept")," header."):null),wa?p.default.createElement("div",{className:"response-control-examples"},p.default.createElement("small",{className:"response-control-examples__title"},"Examples"),p.default.createElement(ss,{examples:wa,currentExampleKey:this.getTargetExamplesKey(),onSelect:zs=>Sr.setActiveExamplesMember({name:zs,pathMethod:[Ee,Le],contextType:"responses",contextName:Je}),showLabels:!1})):null):null,Zc||Ko?p.default.createElement(ji,{specPath:Ns,getComponent:Qt,getConfigs:On,specSelectors:Un,schema:(0,ue.oG)(Ko),example:Zc,includeReadOnly:!0}):null,ti&&wa?p.default.createElement(Is,{example:wa.get(this.getTargetExamplesKey(),(0,T.Map)({})),getComponent:Qt,getConfigs:On,omitValue:!0}):null,Yr?p.default.createElement($i,{headers:Yr,getComponent:Qt}):null),ti?p.default.createElement("td",{className:"response-col_links"},ui?(0,m.default)(de=ui.toSeq().entrySeq()).call(de,zs=>{let[xo,mo]=zs;return p.default.createElement(io,{key:xo,name:xo,link:mo,getComponent:Qt})}):p.default.createElement("i",null,"No links")):null)}}(0,kt.default)(hd,"defaultProps",{response:(0,T.fromJS)({}),onContentTypeChange:()=>{}});const pd=Ot=>{let{xKey:ne,xVal:de}=Ot;return p.default.createElement("div",{className:"response__extension"},ne,": ",String(de))},E0=(Ot=>{var ne={};return jr.d(ne,Ot),ne})({default:()=>ZCe()}),A0=(Ot=>{var ne={};return jr.d(ne,Ot),ne})({default:()=>QCe()});class x3 extends p.default.PureComponent{constructor(){super(...arguments),(0,kt.default)(this,"state",{parsedContent:null}),(0,kt.default)(this,"updateParsedContent",ne=>{const{content:de}=this.props;if(ne!==de)if(de&&de instanceof Blob){var Ee=new FileReader;Ee.onload=()=>{this.setState({parsedContent:Ee.result})},Ee.readAsText(de)}else this.setState({parsedContent:de.toString()})})}componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(ne){this.updateParsedContent(ne.content)}render(){let{content:ne,contentType:de,url:Ee,headers:Le={},getConfigs:Je,getComponent:Lt}=this.props;const{parsedContent:Pt}=this.state,Ut=Lt("highlightCode"),Vt="response_"+(new Date).getTime();let Qt,On;if(Ee=Ee||"",/^application\/octet-stream/i.test(de)||Le["Content-Disposition"]&&/attachment/i.test(Le["Content-Disposition"])||Le["content-disposition"]&&/attachment/i.test(Le["content-disposition"])||Le["Content-Description"]&&/File Transfer/i.test(Le["Content-Description"])||Le["content-description"]&&/File Transfer/i.test(Le["content-description"]))if("Blob"in window){let Un=de||"text/html",rr=ne instanceof Blob?ne:new Blob([ne],{type:Un}),Gn=dr.default.createObjectURL(rr),Sr=[Un,Ee.substr((0,e.default)(Ee).call(Ee,"/")+1),Gn].join(":"),Br=Le["content-disposition"]||Le["Content-Disposition"];if(void 0!==Br){let ti=(0,ue.DR)(Br);null!==ti&&(Sr=ti)}On=p.default.createElement("div",null,p.default.createElement("a",me.Z.navigator&&me.Z.navigator.msSaveOrOpenBlob?{href:Gn,onClick:()=>me.Z.navigator.msSaveOrOpenBlob(rr,Sr)}:{href:Gn,download:Sr},"Download file"))}else On=p.default.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(de)){let Un=null;(0,xf.O)(ne)&&(Un="json");try{Qt=(0,o.default)(JSON.parse(ne),null," ")}catch{Qt="can't parse JSON. Raw result:\n\n"+ne}On=p.default.createElement(Ut,{language:Un,downloadable:!0,fileName:`${Vt}.json`,value:Qt,getConfigs:Je,canCopy:!0})}else/xml/i.test(de)?(Qt=(0,E0.default)(ne,{textNodesOnSameLine:!0,indentor:" "}),On=p.default.createElement(Ut,{downloadable:!0,fileName:`${Vt}.xml`,value:Qt,getConfigs:Je,canCopy:!0})):On="text/html"===(0,A0.default)(de)||/text\/plain/.test(de)?p.default.createElement(Ut,{downloadable:!0,fileName:`${Vt}.html`,value:ne,getConfigs:Je,canCopy:!0}):"text/csv"===(0,A0.default)(de)||/text\/csv/.test(de)?p.default.createElement(Ut,{downloadable:!0,fileName:`${Vt}.csv`,value:ne,getConfigs:Je,canCopy:!0}
1):/^image\//i.test(de)?(0,Kr.default)(de).call(de,"svg")?p.default.createElement("div",null," ",ne," "):p.default.createElement("img",{src:dr.default.createObjectURL(ne)}):/^audio\//i.test(de)?p.default.createElement("pre",{className:"microlight"},p.default.createElement("audio",{controls:!0,key:Ee},p.default.createElement("source",{src:Ee,type:de}))):"string"==typeof ne?p.default.createElement(Ut,{downloadable:!0,fileName:`${Vt}.txt`,value:ne,getConfigs:Je,canCopy:!0}):ne.size>0?Pt?p.default.createElement("div",null,p.default.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),p.default.createElement(Ut,{downloadable:!0,fileName:`${Vt}.txt`,value:Pt,getConfigs:Je,canCopy:!0})):p.default.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return On?p.default.createElement("div",null,p.default.createElement("h5",null,"Response body"),On):null}}var md=jr(374);class lo extends p.Component{constructor(ne){super(ne),(0,kt.default)(this,"onChange",(de,Ee,Le)=>{let{specActions:{changeParamByIdentity:Je},onChangeKey:Lt}=this.props;Je(Lt,de,Ee,Le)}),(0,kt.default)(this,"onChangeConsumesWrapper",de=>{let{specActions:{changeConsumesValue:Ee},onChangeKey:Le}=this.props;Ee(Le,de)}),(0,kt.default)(this,"toggleTab",de=>"parameters"===de?this.setState({parametersVisible:!0,callbackVisible:!1}):"callbacks"===de?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0),(0,kt.default)(this,"onChangeMediaType",de=>{let{value:Ee,pathMethod:Le}=de,{specActions:Je,oas3Selectors:Lt,oas3Actions:Pt}=this.props;const Ut=Lt.hasUserEditedBody(...Le),Vt=Lt.shouldRetainRequestBodyValue(...Le);Pt.setRequestContentType({value:Ee,pathMethod:Le}),Pt.initRequestBodyValidateError({pathMethod:Le}),Ut||(Vt||Pt.setRequestBodyValue({value:void 0,pathMethod:Le}),Je.clearResponse(...Le),Je.clearRequest(...Le),Je.clearValidateParams(Le))}),this.state={callbackVisible:!1,parametersVisible:!0}}render(){var ne;let{onTryoutClick:de,parameters:Ee,allowTryItOut:Le,tryItOutEnabled:Je,specPath:Lt,fn:Pt,getComponent:Ut,getConfigs:Vt,specSelectors:Qt,specActions:On,pathMethod:Un,oas3Actions:rr,oas3Selectors:Gn,operation:Sr}=this.props;const Br=Ut("parameterRow"),ti=Ut("TryItOutButton"),wi=Ut("contentType"),ki=Ut("Callbacks",!0),Yr=Ut("RequestBody",!0),ui=Je&&Le,Ti=Qt.isOAS3(),$i=Sr.get("requestBody"),Vr=(0,v.default)(ne=(0,md.default)((0,v.default)(Ee).call(Ee,(ji,no)=>{var io;const Ao=no.get("in");return null!==(io=ji[Ao])&&void 0!==io||(ji[Ao]=[]),ji[Ao].push(no),ji},{}))).call(ne,(ji,no)=>(0,x.default)(ji).call(ji,no),[]);return p.default.createElement("div",{className:"opblock-section"},p.default.createElement("div",{className:"opblock-section-header"},Ti?p.default.createElement("div",{className:"tab-header"},p.default.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},p.default.createElement("h4",{className:"opblock-title"},p.default.createElement("span",null,"Parameters"))),Sr.get("callbacks")?p.default.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},p.default.createElement("h4",{className:"opblock-title"},p.default.createElement("span",null,"Callbacks"))):null):p.default.createElement("div",{className:"tab-header"},p.default.createElement("h4",{className:"opblock-title"},"Parameters")),Le?p.default.createElement(ti,{isOAS3:Qt.isOAS3(),hasUserEditedBody:Gn.hasUserEditedBody(...Un),enabled:Je,onCancelClick:this.props.onCancelClick,onTryoutClick:de,onResetClick:()=>rr.setRequestBodyValue({value:void 0,pathMethod:Un})}):null),this.state.parametersVisible?p.default.createElement("div",{className:"parameters-container"},Vr.length?p.default.createElement("div",{className:"table-container"},p.default.createElement("table",{className:"parameters"},p.default.createElement("thead",null,p.default.createElement("tr",null,p.default.createElement("th",{className:"col_header parameters-col_name"},"Name"),p.default.createElement("th",{className:"col_header parameters-col_description"},"Description"))),p.default.createElement("tbody",null,(0,m.default)(Vr).call(Vr,(ji,no)=>p.default.createElement(Br,{fn:Pt,specPath:Lt.push(no.toString()),getComponent:Ut,getConfigs:Vt,rawParam:ji,param:Qt.parameterWithMetaByIdentity(Un,ji),key:`${ji.get("in")}.${ji.get("name")}`,onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:Qt,specActions:On,oas3Actions:rr,oas3Selectors:Gn,pathMethod:Un,isExecute:ui}))))):p.default.createElement("div",{className:"opblock-description-wrapper"},p.default.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?p.default.createElement("div",{className:"callbacks-container opblock-description-wrapper"},p.default.createElement(ki,{callbacks:(0,T.Map)(Sr.get("callbacks")),specPath:(0,f.default)(Lt).call(Lt,0,-1).push("callbacks")})):null,Ti&&$i&&this.state.parametersVisible&&p.default.createElement("div",{className:"opblock-section opblock-section-request-body"},p.default.createElement("div",{className:"opblock-section-header"},p.default.createElement("h4",{className:`opblock-title parameter__name ${$i.get("required")&&"required"}`},"Request body"),p.default.createElement("label",null,p.default.createElement(wi,{value:Gn.requestContentType(...Un),contentTypes:$i.get("content",(0,T.List)()).keySeq(),onChange:ji=>{this.onChangeMediaType({value:ji,pathMethod:Un})},className:"body-param-content-type",ariaLabel:"Request content type"}))),p.default.createElement("div",{className:"opblock-description-wrapper"},p.default.createElement(Yr,{setRetainRequestBodyValueFlag:ji=>rr.setRetainRequestBodyValueFlag({value:ji,pathMethod:Un}),userHasEditedBody:Gn.hasUserEditedBody(...Un),specPath:(0,f.default)(Lt).call(Lt,0,-1).push("requestBody"),requestBody:$i,requestBodyValue:Gn.requestBodyValue(...Un),requestBodyInclusionSetting:Gn.requestBodyInclusionSetting(...Un),requestBodyErrors:Gn.requestBodyErrors(...Un),isExecute:ui,getConfigs:Vt,activeExamplesKey:Gn.activeExamplesMember(...Un,"requestBody","requestBody"),updateActiveExamplesKey:ji=>{this.props.oas3Actions.setActiveExamplesMember({name:ji,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(ji,no)=>{if(no){const io=Gn.requestBodyValue(...Un),Ao=T.Map.isMap(io)?io:(0,T.Map)();return rr.setRequestBodyValue({pathMethod:Un,value:Ao.setIn(no,ji)})}rr.setRequestBodyValue({value:ji,pathMethod:Un})},onChangeIncludeEmpty:(ji,no)=>{rr.setRequestBodyInclusion({pathMethod:Un,value:no,name:ji})},contentType:Gn.requestContentType(...Un)}))))}}(0,kt.default)(lo,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]});const co=Ot=>{let{xKey:ne,xVal:de}=Ot;return p.default.createElement("div",{className:"parameter__extension"},ne,": ",String(de))};class Mu extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"onCheckboxChange",ne=>{const{onChange:de}=this.props;de(ne.target.checked)})}componentDidMount(){const{isIncludedOptions:ne,onChange:de}=this.props,{shouldDispatchInit:Ee,defaultValue:Le}=ne;Ee&&de(Le)}render(){let{isIncluded:ne,isDisabled:de}=this.props;return p.default.createElement("div",null,p.default.createElement("label",{className:(0,qo.default)("parameter__empty_value_toggle",{disabled:de})},p.default.createElement("input",{type:"checkbox",disabled:de,checked:!de&&ne,onCh
1ange:this.onCheckboxChange}),"Send empty value"))}}(0,kt.default)(Mu,"defaultProps",{onChange:()=>{},isIncludedOptions:{}});var b2=jr(9069);class gd extends p.Component{constructor(ne,de){var Ee;super(ne,de),Ee=this,(0,kt.default)(this,"onChangeWrapper",function(Le){let Je,Lt=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{onChange:Pt,rawParam:Ut}=Ee.props;return Je=""===Le||Le&&0===Le.size?null:Le,Pt(Ut,Je,Lt)}),(0,kt.default)(this,"_onExampleSelect",Le=>{this.props.oas3Actions.setActiveExamplesMember({name:Le,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})}),(0,kt.default)(this,"onChangeIncludeEmpty",Le=>{let{specActions:Je,param:Lt,pathMethod:Pt}=this.props;const Ut=Lt.get("name"),Vt=Lt.get("in");return Je.updateEmptyParamInclusion(Pt,Ut,Vt,Le)}),(0,kt.default)(this,"setDefaultValue",()=>{let{specSelectors:Le,pathMethod:Je,rawParam:Lt,oas3Selectors:Pt}=this.props;const Ut=Le.parameterWithMetaByIdentity(Je,Lt)||(0,T.Map)(),{schema:Vt}=(0,b2.Z)(Ut,{isOAS3:Le.isOAS3()}),Qt=Ut.get("content",(0,T.Map)()).keySeq().first(),On=Vt?(0,ue.xi)(Vt.toJS(),Qt,{includeWriteOnly:!0}):null;if(Ut&&void 0===Ut.get("value")&&"body"!==Ut.get("in")){let Un;if(Le.isSwagger2())Un=void 0!==Ut.get("x-example")?Ut.get("x-example"):void 0!==Ut.getIn(["schema","example"])?Ut.getIn(["schema","example"]):Vt&&Vt.getIn(["default"]);else if(Le.isOAS3()){const rr=Pt.activeExamplesMember(...Je,"parameters",this.getParamKey());Un=void 0!==Ut.getIn(["examples",rr,"value"])?Ut.getIn(["examples",rr,"value"]):void 0!==Ut.getIn(["content",Qt,"example"])?Ut.getIn(["content",Qt,"example"]):void 0!==Ut.get("example")?Ut.get("example"):void 0!==(Vt&&Vt.get("example"))?Vt&&Vt.get("example"):void 0!==(Vt&&Vt.get("default"))?Vt&&Vt.get("default"):Ut.get("default")}void 0===Un||T.List.isList(Un)||(Un=(0,ue.Pz)(Un)),void 0!==Un?this.onChangeWrapper(Un):Vt&&"object"===Vt.get("type")&&On&&!Ut.get("examples")&&this.onChangeWrapper(T.List.isList(On)?On:(0,ue.Pz)(On))}}),this.setDefaultValue()}UNSAFE_componentWillReceiveProps(ne){let de,{specSelectors:Ee,pathMethod:Le,rawParam:Je}=ne,Lt=Ee.isOAS3(),Pt=Ee.parameterWithMetaByIdentity(Le,Je)||new T.Map;if(Pt=Pt.isEmpty()?Je:Pt,Lt){let{schema:Qt}=(0,b2.Z)(Pt,{isOAS3:Lt});de=Qt?Qt.get("enum"):void 0}else de=Pt?Pt.get("enum"):void 0;let Ut,Vt=Pt?Pt.get("value"):void 0;void 0!==Vt?Ut=Vt:Je.get("required")&&de&&de.size&&(Ut=de.first()),void 0!==Ut&&Ut!==Vt&&this.onChangeWrapper((0,ue.D$)(Ut)),this.setDefaultValue()}getParamKey(){const{param:ne}=this.props;return ne?`${ne.get("name")}-${ne.get("in")}`:null}render(){var ne,de;let{param:Ee,rawParam:Le,getComponent:Je,getConfigs:Lt,isExecute:Pt,fn:Ut,onChangeConsumes:Vt,specSelectors:Qt,pathMethod:On,specPath:Un,oas3Selectors:rr}=this.props,Gn=Qt.isOAS3();const{showExtensions:Sr,showCommonExtensions:Br}=Lt();if(Ee||(Ee=Le),!Le)return null;const ti=Je("JsonSchemaForm"),wi=Je("ParamBody");let ki=Ee.get("in"),Yr="body"!==ki?null:p.default.createElement(wi,{getComponent:Je,getConfigs:Lt,fn:Ut,param:Ee,consumes:Qt.consumesOptionsFor(On),consumesValue:Qt.contentTypeValues(On).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:Vt,isExecute:Pt,specSelectors:Qt,pathMethod:On});const ui=Je("modelExample"),Ti=Je("Markdown",!0),$i=Je("ParameterExt"),Vr=Je("ParameterIncludeEmpty"),ji=Je("ExamplesSelectValueRetainer"),no=Je("Example");let io,Ao,ss,Is,{schema:Ko}=(0,b2.Z)(Ee,{isOAS3:Gn}),Ns=Qt.parameterWithMetaByIdentity(On,Le)||(0,T.Map)(),_o=Ko?Ko.get("format"):null,ua=Ko?Ko.get("type"):null,wa=Ko?Ko.getIn(["items","type"]):null,il="formData"===ki,Al="FormData"in me.Z,Pl=Ee.get("required"),pa=Ns?Ns.get("value"):"",Kl=Br?(0,ue.po)(Ko):null,Zc=Sr?(0,ue.nX)(Ee):null,zs=!1;return void 0!==Ee&&Ko&&(io=Ko.get("items")),void 0!==io?(Ao=io.get("enum"),ss=io.get("default")):Ko&&(Ao=Ko.get("enum")),Ao&&Ao.size&&Ao.size>0&&(zs=!0),void 0!==Ee&&(Ko&&(ss=Ko.get("default")),void 0===ss&&(ss=Ee.get("default")),Is=Ee.get("example"),void 0===Is&&(Is=Ee.get("x-example"))),p.default.createElement("tr",{"data-param-name":Ee.get("name"),"data-param-in":Ee.get("in")},p.default.createElement("td",{className:"parameters-col_name"},p.default.createElement("div",{className:Pl?"parameter__name required":"parameter__name"},Ee.get("name"),Pl?p.default.createElement("span",null,"\xa0*"):null),p.default.createElement("div",{className:"parameter__type"},ua,wa&&`[${wa}]`,_o&&p.default.createElement("span",{className:"prop-format"},"($",_o,")")),p.default.createElement("div",{className:"parameter__deprecated"},Gn&&Ee.get("deprecated")?"deprecated":null),p.default.createElement("div",{className:"parameter__in"},"(",Ee.get("in"),")"),Br&&Kl.size?(0,m.default)(ne=Kl.entrySeq()).call(ne,xo=>{let[mo,Js]=xo;return p.default.createElement($i,{key:`${mo}-${Js}`,xKey:mo,xVal:Js})}):null,Sr&&Zc.size?(0,m.default)(de=Zc.entrySeq()).call(de,xo=>{let[mo,Js]=xo;return p.default.createElement($i,{key:`${mo}-${Js}`,xKey:mo,xVal:Js})}):null),p.default.createElement("td",{className:"parameters-col_description"},Ee.get("description")?p.default.createElement(Ti,{source:Ee.get("description")}):null,!Yr&&Pt||!zs?null:p.default.createElement(Ti,{className:"parameter__enum",source:"<i>Available values</i> : "+(0,m.default)(Ao).call(Ao,function(xo){return xo}).toArray().join(", ")}),!Yr&&Pt||void 0===ss?null:p.default.createElement(Ti,{className:"parameter__default",source:"<i>Default value</i> : "+ss}),!Yr&&Pt||void 0===Is?null:p.default.createElement(Ti,{source:"<i>Example</i> : "+Is}
1),il&&!Al&&p.default.createElement("div",null,"Error: your browser does not support FormData"),Gn&&Ee.get("examples")?p.default.createElement("section",{className:"parameter-controls"},p.default.createElement(ji,{examples:Ee.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:Je,defaultToFirstExample:!0,currentKey:rr.activeExamplesMember(...On,"parameters",this.getParamKey()),currentUserInputValue:pa})):null,Yr?null:p.default.createElement(ti,{fn:Ut,getComponent:Je,value:pa,required:Pl,disabled:!Pt,description:Ee.get("name"),onChange:this.onChangeWrapper,errors:Ns.get("errors"),schema:Ko}),Yr&&Ko?p.default.createElement(ui,{getComponent:Je,specPath:Un.push("schema"),getConfigs:Lt,isExecute:Pt,specSelectors:Qt,schema:Ko,example:Yr,includeWriteOnly:!0}):null,!Yr&&Pt&&Ee.get("allowEmptyValue")?p.default.createElement(Vr,{onChange:this.onChangeIncludeEmpty,isIncluded:Qt.parameterInclusionSettingFor(On,Ee.get("name"),Ee.get("in")),isDisabled:!(0,ue.O2)(pa)}):null,Gn&&Ee.get("examples")?p.default.createElement(no,{example:Ee.getIn(["examples",rr.activeExamplesMember(...On,"parameters",this.getParamKey())]),getComponent:Je,getConfigs:Lt}):null))}}var wf=jr(6235);class w3 extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"handleValidateParameters",()=>{let{specSelectors:ne,specActions:de,path:Ee,method:Le}=this.props;return de.validateParams([Ee,Le]),ne.validateBeforeExecute([Ee,Le])}),(0,kt.default)(this,"handleValidateRequestBody",()=>{let{path:ne,method:de,specSelectors:Ee,oas3Selectors:Le,oas3Actions:Je}=this.props,Lt={missingBodyValue:!1,missingRequiredKeys:[]};Je.clearRequestBodyValidateError({path:ne,method:de});let Pt=Ee.getOAS3RequiredRequestBodyContentType([ne,de]),Ut=Le.requestBodyValue(ne,de),Vt=Le.validateBeforeExecute([ne,de]),Qt=Le.requestContentType(ne,de);if(!Vt)return Lt.missingBodyValue=!0,Je.setRequestBodyValidateError({path:ne,method:de,validationErrors:Lt}),!1;if(!Pt)return!0;let On=Le.validateShallowRequired({oas3RequiredRequestBodyContentType:Pt,oas3RequestContentType:Qt,oas3RequestBodyValue:Ut});return!On||On.length<1||((0,Ps.default)(On).call(On,Un=>{Lt.missingRequiredKeys.push(Un)}),Je.setRequestBodyValidateError({path:ne,method:de,validationErrors:Lt}),!1)}),(0,kt.default)(this,"handleValidationResultPass",()=>{let{specActions:ne,operation:de,path:Ee,method:Le}=this.props;this.props.onExecute&&this.props.onExecute(),ne.execute({operation:de,path:Ee,method:Le})}),(0,kt.default)(this,"handleValidationResultFail",()=>{let{specActions:ne,path:de,method:Ee}=this.props;ne.clearValidateParams([de,Ee]),(0,wf.default)(()=>{ne.validateParams([de,Ee])},40)}),(0,kt.default)(this,"handleValidationResult",ne=>{ne?this.handleValidationResultPass():this.handleValidationResultFail()}),(0,kt.default)(this,"onClick",()=>{let ne=this.handleValidateParameters(),de=this.handleValidateRequestBody();this.handleValidationResult(ne&&de)}),(0,kt.default)(this,"onChangeProducesWrapper",ne=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],ne))}render(){const{disabled:ne}=this.props;return p.default.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:ne},"Execute")}}class Wa extends p.default.Component{render(){var ne;let{headers:de,getComponent:Ee}=this.props;const Le=Ee("Property"),Je=Ee("Markdown",!0);return de&&de.size?p.default.createElement("div",{className:"headers-wrapper"},p.default.createElement("h4",{className:"headers__title"},"Headers:"),p.default.createElement("table",{className:"headers"},p.default.createElement("thead",null,p.default.createElement("tr",{className:"header-row"},p.default.createElement("th",{className:"header-col"},"Name"),p.default.createElement("th",{className:"header-col"},"Description"),p.default.createElement("th",{className:"header-col"},"Type"))),p.default.createElement("tbody",null,(0,m.default)(ne=de.entrySeq()).call(ne,Lt=>{let[Pt,Ut]=Lt;if(!T.default.Map.isMap(Ut))return null;const Vt=Ut.get("description"),Qt=Ut.getIn(["schema"])?Ut.getIn(["schema","type"]):Ut.getIn(["type"]),On=Ut.getIn(["schema","example"]);return p.default.createElement("tr",{key:Pt},p.default.createElement("td",{className:"header-col"},Pt),p.default.createElement("td",{className:"header-col"},Vt?p.default.createElement(Je,{source:Vt}):null),p.default.createElement("td",{className:"header-col"},Qt," ",On?p.default.createElement(Le,{propKey:"Example",propVal:On,propClass:"header-example"}):null))}).toArray()))):null}}class p5 extends p.default.Component{render(){let{editorActions:ne,errSelectors:de,layoutSelectors:Ee,layoutActions:Le,getComponent:Je}=this.props;const Lt=Je("Collapse");if(ne&&ne.jumpToLine)var Pt=ne.jumpToLine;let Ut=de.allErrors(),Vt=(0,r.default)(Ut).call(Ut,Un=>"thrown"===Un.get("type")||"error"===Un.get("level"));if(!Vt||Vt.count()<1)return null;
1let Qt=Ee.isShown(["errorPane"],!0),On=Vt.sortBy(Un=>Un.get("line"));return p.default.createElement("pre",{className:"errors-wrapper"},p.default.createElement("hgroup",{className:"error"},p.default.createElement("h4",{className:"errors__title"},"Errors"),p.default.createElement("button",{className:"btn errors__clear-btn",onClick:()=>Le.show(["errorPane"],!Qt)},Qt?"Hide":"Show")),p.default.createElement(Lt,{isOpened:Qt,animated:!0},p.default.createElement("div",{className:"errors"},(0,m.default)(On).call(On,(Un,rr)=>{let Gn=Un.get("type");return"thrown"===Gn||"auth"===Gn?p.default.createElement(C3,{key:rr,error:Un.get("error")||Un,jumpToLine:Pt}):"spec"===Gn?p.default.createElement(m5,{key:rr,error:Un,jumpToLine:Pt}):void 0}))))}}const C3=Ot=>{let{error:ne,jumpToLine:de}=Ot;if(!ne)return null;let Ee=ne.get("line");return p.default.createElement("div",{className:"error-wrapper"},ne?p.default.createElement("div",null,p.default.createElement("h4",null,ne.get("source")&&ne.get("level")?e4(ne.get("source"))+" "+ne.get("level"):"",ne.get("path")?p.default.createElement("small",null," at ",ne.get("path")):null),p.default.createElement("span",{className:"message thrown"},ne.get("message")),p.default.createElement("div",{className:"error-line"},Ee&&de?p.default.createElement("a",{onClick:(0,l.default)(de).call(de,null,Ee)},"Jump to line ",Ee):null)):null)},m5=Ot=>{let{error:ne,jumpToLine:de}=Ot,Ee=null;return ne.get("path")?Ee=T.List.isList(ne.get("path"))?p.default.createElement("small",null,"at ",ne.get("path").join(".")):p.default.createElement("small",null,"at ",ne.get("path")):ne.get("line")&&!de&&(Ee=p.default.createElement("small",null,"on line ",ne.get("line"))),p.default.createElement("div",{className:"error-wrapper"},ne?p.default.createElement("div",null,p.default.createElement("h4",null,e4(ne.get("source"))+" "+ne.get("level"),"\xa0",Ee),p.default.createElement("span",{className:"message"},ne.get("message")),p.default.createElement("div",{className:"error-line"},de?p.default.createElement("a",{onClick:(0,l.default)(de).call(de,null,ne.get("line"))},"Jump to line ",ne.get("line")):null)):null)};function e4(Ot){var ne;return(0,m.default)(ne=(Ot||"").split(" ")).call(ne,de=>de[0].toUpperCase()+(0,f.default)(de).call(de,1)).join(" ")}C3.defaultProps={jumpToLine:null};class g5 extends p.default.Component{constructor(){super(...arguments),(0,kt.default)(this,"onChangeWrapper",ne=>this.props.onChange(ne.target.value))}componentDidMount(){this.props.contentTypes&&this.props.onChange(this.props.contentTypes.first())}UNSAFE_componentWillReceiveProps(ne){var de;ne.contentTypes&&ne.contentTypes.size&&((0,Kr.default)(de=ne.contentTypes).call(de,ne.value)||ne.onChange(ne.contentTypes.first()))}render(){let{ariaControls:ne,ariaLabel:de,className:Ee,contentTypes:Le,controlId:Je,value:Lt}=this.props;return Le&&Le.size?p.default.createElement("div",{className:"content-type-wrapper "+(Ee||"")},p.default.createElement("select",{"aria-controls":ne,"aria-label":de,className:"content-type",id:Je,onChange:this.onChangeWrapper,value:Lt||""},(0,m.default)(Le).call(Le,Pt=>p.default.createElement("option",{key:Pt,value:Pt},Pt)).toArray())):null}}(0,kt.default)(g5,"defaultProps",{onChange:()=>{},value:null,contentTypes:(0,T.fromJS)(["application/json"])});var qa=jr(863),t4=jr(5942);function Rc(){for(var Ot,ne=arguments.length,de=new Array(ne),Ee=0;Ee<ne;Ee++)de[Ee]=arguments[Ee];return(0,t4.default)(Ot=(0,r.default)(de).call(de,Le=>!!Le).join(" ")).call(Ot)}class S3 extends p.default.Component{render(){let{fullscreen:ne,full:de,...Ee}=this.props;return p.default.createElement("section",ne?Ee:(0,qa.default)({},Ee,{className:Rc(Ee.className,"swagger-container"+(de?"-full":""))}))}}const n4={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};class z7 extends p.default.Component{render(){const{hide:ne,keepContents:de,mobile:Ee,tablet:Le,desktop:Je,large:Lt,...Pt}=this.props;if(ne&&!de)return p.default.createElement("span",null);let Ut=[];for(let Qt in n4){if(!Object.prototype.hasOwnProperty.call(n4,Qt))continue;let On=n4[Qt];if(Qt in this.props){let Un=this.props[Qt];if(Un<1){Ut.push("none"+On);continue}Ut.push("block"+On),Ut.push("col-"+Un+On)}}ne&&Ut.push("hidden");let Vt=Rc(Pt.className,...Ut);return p.default.createElement("section",(0,qa.default)({},Pt,{className:Vt}))}}class v5 extends p.default.Component{render(){return p.default.createElement("div",(0,qa.default)({},this.props,{className:Rc(this.props.className,"wrapper")}))}}class y5 extends p.default.Component{render(){return p.default.createElement("button",(0,qa.default)({},this.props,{className:Rc(this.props.className,"button")}))}}(0,kt.default)(y5,"defaultProps",{className:""});const b5=Ot=>p.default.createElement("textarea",Ot),B7=Ot=>p.default.createElement("input",Ot);class r4 extends p.default.Component{constructor(ne,de){let Ee;super(ne,de),(0,kt.default)(this,"onChange",Le=>{let Je,{onChange:Lt,multiple:Pt}=this.props,Ut=(0,f.default)([]).call(Le.target.options);var Vt;Je=Pt?(0,m.default)(Vt=(0,r.default)(Ut).call(Ut,function(Qt){return Qt.selected})).call(Vt,function(Qt){return Qt.value}):Le.target.value,this.setState({value:Je}),Lt&&Lt(Je)}
1),Ee=ne.value?ne.value:ne.multiple?[""]:"",this.state={value:Ee}}UNSAFE_componentWillReceiveProps(ne){ne.value!==this.props.value&&this.setState({value:ne.value})}render(){var ne,de;let{allowedValues:Ee,multiple:Le,allowEmptyValue:Je,disabled:Lt}=this.props,Pt=(null===(ne=this.state.value)||void 0===ne||null===(de=ne.toJS)||void 0===de?void 0:de.call(ne))||this.state.value;return p.default.createElement("select",{className:this.props.className,multiple:Le,value:Pt,onChange:this.onChange,disabled:Lt},Je?p.default.createElement("option",{value:""},"--"):null,(0,m.default)(Ee).call(Ee,function(Ut,Vt){return p.default.createElement("option",{key:Vt,value:String(Ut)},String(Ut))}))}}(0,kt.default)(r4,"defaultProps",{multiple:!1,allowEmptyValue:!0});class _5 extends p.default.Component{render(){return p.default.createElement("a",(0,qa.default)({},this.props,{rel:"noopener noreferrer",className:Rc(this.props.className,"link")}))}}const x5=Ot=>{let{children:ne}=Ot;return p.default.createElement("div",{className:"no-margin"}," ",ne," ")};class w5 extends p.default.Component{renderNotAnimated(){return this.props.isOpened?p.default.createElement(x5,null,this.props.children):p.default.createElement("noscript",null)}render(){let{animated:ne,isOpened:de,children:Ee}=this.props;return ne?(Ee=de?Ee:null,p.default.createElement(x5,null,Ee)):this.renderNotAnimated()}}(0,kt.default)(w5,"defaultProps",{isOpened:!1,animated:!1});class vd extends p.default.Component{constructor(){var ne;super(...arguments),this.setTagShown=(0,l.default)(ne=this._setTagShown).call(ne,this)}_setTagShown(ne,de){this.props.layoutActions.show(ne,de)}showOp(ne,de){let{layoutActions:Ee}=this.props;Ee.show(ne,de)}render(){let{specSelectors:ne,layoutSelectors:de,layoutActions:Ee,getComponent:Le}=this.props,Je=ne.taggedOperations();const Lt=Le("Collapse");return p.default.createElement("div",null,p.default.createElement("h4",{className:"overview-title"},"Overview"),(0,m.default)(Je).call(Je,(Pt,Ut)=>{let Vt=Pt.get("operations"),Qt=["overview-tags",Ut],On=de.isShown(Qt,!0);return p.default.createElement("div",{key:"overview-"+Ut},p.default.createElement("h4",{onClick:()=>Ee.show(Qt,!On),className:"link overview-tag"}," ",On?"-":"+",Ut),p.default.createElement(Lt,{isOpened:On,animated:!0},(0,m.default)(Vt).call(Vt,Un=>{let{path:rr,method:Gn,id:Sr}=Un.toObject(),Br="operations",ti=Sr,wi=de.isShown([Br,ti]);return p.default.createElement(i4,{key:Sr,path:rr,method:Gn,id:rr+"-"+Gn,shown:wi,showOpId:ti,showOpIdPrefix:Br,href:`#operation-${ti}`,onClick:Ee.show})}).toArray()))}).toArray(),Je.size<1&&p.default.createElement("h3",null," No operations defined in spec! "))}}class i4 extends p.default.Component{constructor(ne){var de;super(ne),this.onClick=(0,l.default)(de=this._onClick).call(de,this)}_onClick(){let{showOpId:ne,showOpIdPrefix:de,onClick:Ee,shown:Le}=this.props;Ee([de,ne],!Le)}render(){let{id:ne,method:de,shown:Ee,href:Le}=this.props;return p.default.createElement(_5,{href:Le,onClick:this.onClick,className:"block opblock-link "+(Ee?"shown":"")},p.default.createElement("div",null,p.default.createElement("small",{className:`bold-label-${de}`},de.toUpperCase()),p.default.createElement("span",{className:"bold-label"},ne)))}}class o4 extends p.default.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const{value:ne,defaultValue:de,initialValue:Ee,...Le}=this.props;return p.default.createElement("input",(0,qa.default)({},Le,{ref:Je=>this.inputRef=Je}))}}class C5 extends p.default.Component{render(){let{host:ne,basePath:de}=this.props;return p.default.createElement("pre",{className:"base-url"},"[ Base URL: ",ne,de," ]")}}class hu extends p.default.Component{render(){let{data:ne,getComponent:de,selectedServer:Ee,url:Le}=this.props,Je=ne.get("name")||"the developer",Lt=Ni(ne.get("url"),Le,{selectedServer:Ee}),Pt=ne.get("email");const Ut=de("Link");return p.default.createElement("div",{className:"info__contact"},Lt&&p.default.createElement("div",null,p.default.createElement(Ut,{href:(0,ue.Nm)(Lt),target:"_blank"},Je," - Website")),Pt&&p.default.createElement(Ut,{href:(0,ue.Nm)(`mailto:${Pt}`)},Lt?`Send email to ${Je}`:`Contact ${Je}`))}}class V7 extends p.default.Component{render(){let{license:ne,getComponent:de,selectedServer:Ee,url:Le}=this.props;const Je=de("Link");let Lt=ne.get("name")||"License",Pt=Ni(ne.get("url"),Le,{selectedServer:Ee});return p.default.createElement("div",{className:"info__license"},Pt?p.default.createElement(Je,{target:"_blank",href:(0,ue.Nm)(Pt)},Lt):p.default.createElement("span",null,Lt))}}class S5 extends p.default.PureComponent{render(){const{url:ne,getComponent:de}=this.props,Ee=de("Link");return p.default.createElement(Ee,{target:"_blank",href:(0,ue.Nm)(ne)},p.default.createElement("span",{className:"url"}," ",ne))}}class Uo extends p.default.Component{render(){let{info:ne,url:de,host:Ee,basePath:Le,getComponent:Je,externalDocs:Lt,selectedServer:Pt,url:Ut}=this.props,Vt=ne.get("version"),Qt=ne.get("description"),On=ne.get("title"),Un=Ni(ne.get("termsOfService"),Ut,{selectedServer:Pt}
1),rr=ne.get("contact"),Gn=ne.get("license"),Sr=Ni(Lt&&Lt.get("url"),Ut,{selectedServer:Pt}),Br=Lt&&Lt.get("description");const ti=Je("Markdown",!0),wi=Je("Link"),ki=Je("VersionStamp"),Yr=Je("InfoUrl"),ui=Je("InfoBasePath");return p.default.createElement("div",{className:"info"},p.default.createElement("hgroup",{className:"main"},p.default.createElement("h2",{className:"title"},On,Vt&&p.default.createElement(ki,{version:Vt})),Ee||Le?p.default.createElement(ui,{host:Ee,basePath:Le}):null,de&&p.default.createElement(Yr,{getComponent:Je,url:de})),p.default.createElement("div",{className:"description"},p.default.createElement(ti,{source:Qt})),Un&&p.default.createElement("div",{className:"info__tos"},p.default.createElement(wi,{target:"_blank",href:(0,ue.Nm)(Un)},"Terms of service")),rr&&rr.size?p.default.createElement(hu,{getComponent:Je,data:rr,selectedServer:Pt,url:de}):null,Gn&&Gn.size?p.default.createElement(V7,{getComponent:Je,license:Gn,selectedServer:Pt,url:de}):null,Sr?p.default.createElement(wi,{className:"info__extdocs",target:"_blank",href:(0,ue.Nm)(Sr)},Br||Sr):null)}}class H7 extends p.default.Component{render(){const{specSelectors:ne,getComponent:de,oas3Selectors:Ee}=this.props,Le=ne.info(),Je=ne.url(),Lt=ne.basePath(),Pt=ne.host(),Ut=ne.externalDocs(),Vt=Ee.selectedServer(),Qt=de("info");return p.default.createElement("div",null,Le&&Le.count()?p.default.createElement(Qt,{info:Le,url:Je,host:Pt,basePath:Lt,externalDocs:Ut,getComponent:de,selectedServer:Vt}):null)}}class j7 extends p.default.Component{render(){return null}}class _2 extends p.default.Component{render(){return p.default.createElement("div",{className:"view-line-link copy-to-clipboard",title:"Copy to clipboard"},p.default.createElement(Au.CopyToClipboard,{text:this.props.textToCopy},p.default.createElement("svg",{width:"15",height:"16"},p.default.createElement("use",{href:"#copy",xlinkHref:"#copy"}))))}}class E5 extends p.default.Component{render(){return p.default.createElement("div",{className:"footer"})}}class A5 extends p.default.Component{constructor(){super(...arguments),(0,kt.default)(this,"onFilterChange",ne=>{const{target:{value:de}}=ne;this.props.layoutActions.updateFilter(de)})}render(){const{specSelectors:ne,layoutSelectors:de,getComponent:Ee}=this.props,Le=Ee("Col"),Je="loading"===ne.loadingStatus(),Lt="failed"===ne.loadingStatus(),Pt=de.currentFilter(),Ut=["operation-filter-input"];return Lt&&Ut.push("failed"),Je&&Ut.push("loading"),p.default.createElement("div",null,null===Pt||!1===Pt||"false"===Pt?null:p.default.createElement("div",{className:"filter-container"},p.default.createElement(Le,{className:"filter wrapper",mobile:12},p.default.createElement("input",{className:Ut.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:!0===Pt||"true"===Pt?"":Pt,disabled:Je}))))}}const hh=Function.prototype;class ph extends p.PureComponent{constructor(ne,de){super(ne,de),(0,kt.default)(this,"updateValues",Ee=>{let{param:Le,isExecute:Je,consumesValue:Lt=""}=Ee,Pt=/xml/i.test(Lt),Ut=/json/i.test(Lt),Vt=Le.get(Pt?"value_xml":"value");if(void 0!==Vt){let Qt=!Vt&&Ut?"{}":Vt;this.setState({value:Qt}),this.onChange(Qt,{isXml:Pt,isEditBox:Je})}else Pt?this.onChange(this.sample("xml"),{isXml:Pt,isEditBox:Je}):this.onChange(this.sample(),{isEditBox:Je})}),(0,kt.default)(this,"sample",Ee=>{let{param:Le,fn:{inferSchema:Je}}=this.props,Lt=Je(Le.toJS());return(0,ue.xi)(Lt,Ee,{includeWriteOnly:!0})}),(0,kt.default)(this,"onChange",(Ee,Le)=>{let{isEditBox:Je,isXml:Lt}=Le;this.setState({value:Ee,isEditBox:Je}),this._onChange(Ee,Lt)}),(0,kt.default)(this,"_onChange",(Ee,Le)=>{(this.props.onChange||hh)(Ee,Le)}),(0,kt.default)(this,"handleOnChange",Ee=>{const{consumesValue:Le}=this.props,Je=/xml/i.test(Le);this.onChange(Ee.target.value,{isXml:Je,isEditBox:this.state.isEditBox})}),(0,kt.default)(this,"toggleIsEditBox",()=>this.setState(Ee=>({isEditBox:!Ee.isEditBox}))),this.state={isEditBox:!1,value:""}}componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(ne){this.updateValues.call(this,ne)}render(){let{onChangeConsumes:ne,param:de,isExecute:Ee,specSelectors:Le,pathMethod:Je,getConfigs:Lt,getComponent:Pt}=this.props;const Ut=Pt("Button"),Vt=Pt("TextArea"),Qt=Pt("highlightCode"),On=Pt("contentType");let Un=(Le?Le.parameterWithMetaByIdentity(Je,de):de).get("errors",(0,T.List)()),rr=Le.contentTypeValues(Je).get("requestContentType"),Gn=this.props.consumes&&this.props.consumes.size?this.props.consumes:ph.defaultProp.consumes,{value:Sr,isEditBox:Br}=this.state,ti=null;return(0,xf.O)(Sr)&&(ti="json"),p.default.createElement("div",{className:"body-param","data-param-name":de.get("name"),"data-param-in":de.get("in")},Br&&Ee?p.default.createElement(Vt,{className:"body-param__text"+(Un.count()?" invalid":""),value:Sr,onChange:this.handleOnChange}):Sr&&p.default.createElement(Qt,{className:"body-param__example",language:ti,getConfigs:Lt,value:Sr}),p.default.createElement("div",{className:"body-param-options"},Ee?p.default.createElement("div",{className:"body-param-edit"},p.default.createElement(Ut,{className:Br?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},Br?"Cancel":"Edit")):null,p.default.createElement("label",{htmlFor:""},p.default.createElement("span",null,"Parameter content type"),p.default.createElement(On,{value:rr,contentTypes:Gn,onChange:ne,className:"body-param-content-type",ariaLabel:"Parameter content type"}))))}}(0,kt.default)(ph,"defaultProp",{consumes:(0,T.fromJS)(["application/json"]),param:(0,T.fromJS)({}),onChange:hh,onChangeConsumes:hh});var U7=jr(4624);class $7 extends p.default.Component{render(){let{request:ne,getConfigs:de}=this.props,Ee=(0,U7.requestSnippetGenerator_curl_bash)(ne);const Le=de(),Je=(0,xs.default)(Le,"syntaxHighlight.activated")?p.default.createElement(Po.d3,{language:"bash",className:"curl microlight",style:(0,Po.C2)((0,xs.default)(Le,"syntaxHighlight.theme"))},Ee):p.default.createElement("textarea",{readOnly:!0,className:"curl",value:Ee});return p.default.createElement("div",{className:"curl-command"},p.default.createElement("h4",null,"Curl"),p.default.createElement("div",{className:"copy-to-cl
1ipboard"},p.default.createElement(Au.CopyToClipboard,{text:Ee},p.default.createElement("button",null))),p.default.createElement("div",null,Je))}}class G7 extends p.default.Component{constructor(){super(...arguments),(0,kt.default)(this,"onChange",ne=>{this.setScheme(ne.target.value)}),(0,kt.default)(this,"setScheme",ne=>{let{path:de,method:Ee,specActions:Le}=this.props;Le.setScheme(ne,de,Ee)})}UNSAFE_componentWillMount(){let{schemes:ne}=this.props;this.setScheme(ne.first())}UNSAFE_componentWillReceiveProps(ne){var de;this.props.currentScheme&&(0,Kr.default)(de=ne.schemes).call(de,this.props.currentScheme)||this.setScheme(ne.schemes.first())}render(){var ne;let{schemes:de,currentScheme:Ee}=this.props;return p.default.createElement("label",{htmlFor:"schemes"},p.default.createElement("span",{className:"schemes-title"},"Schemes"),p.default.createElement("select",{onChange:this.onChange,value:Ee},(0,m.default)(ne=de.valueSeq()).call(ne,Le=>p.default.createElement("option",{value:Le,key:Le},Le)).toArray()))}}class E3 extends p.default.Component{render(){const{specActions:ne,specSelectors:de,getComponent:Ee}=this.props,Le=de.operationScheme(),Je=de.schemes(),Lt=Ee("schemes");return Je&&Je.size?p.default.createElement(Lt,{currentScheme:Le,schemes:Je,specActions:ne}):null}}class x2 extends p.Component{constructor(ne,de){super(ne,de),(0,kt.default)(this,"toggleCollapsed",()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})}),(0,kt.default)(this,"onLoad",Je=>{if(Je&&this.props.layoutSelectors){const Lt=this.props.layoutSelectors.getScrollToKey();T.default.is(Lt,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,Je.parentElement)}});let{expanded:Ee,collapsedContent:Le}=this.props;this.state={expanded:Ee,collapsedContent:Le||x2.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:ne,expanded:de,modelName:Ee}=this.props;ne&&de&&this.props.onToggle(Ee,de)}UNSAFE_componentWillReceiveProps(ne){this.props.expanded!==ne.expanded&&this.setState({expanded:ne.expanded})}render(){const{title:ne,classes:de}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?p.default.createElement("span",{className:de||""},this.props.children):p.default.createElement("span",{className:de||"",ref:this.onLoad},p.default.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},ne&&p.default.createElement("span",{className:"pointer"},ne),p.default.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&p.default.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}(0,kt.default)(x2,"defaultProps",{collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:T.default.List([])});var mh=jr(1798),s4=jr.n(mh);class M0 extends p.default.Component{constructor(ne,de){super(ne,de),(0,kt.default)(this,"activeTab",Pt=>{let{target:{dataset:{name:Ut}}}=Pt;this.setState({activeTab:Ut})});let{getConfigs:Ee,isExecute:Le}=this.props,{defaultModelRendering:Je}=Ee(),Lt=Je;"example"!==Je&&"model"!==Je&&(Lt="example"),Le&&(Lt="example"),this.state={activeTab:Lt}}UNSAFE_componentWillReceiveProps(ne){ne.isExecute&&!this.props.isExecute&&this.props.example&&this.setState({activeTab:"example"})}render(){let{getComponent:ne,specSelectors:de,schema:Ee,example:Le,isExecute:Je,getConfigs:Lt,specPath:Pt,includeReadOnly:Ut,includeWriteOnly:Vt}=this.props,{defaultModelExpandDepth:Qt}=Lt();const On=ne("ModelWrapper"),Un=ne("highlightCode"),rr=s4()(5).toString("base64"),Gn=s4()(5).toString("base64"),Sr=s4()(5).toString("base64"),Br=s4()(5).toString("base64");let ti=de.isOAS3();return p.default.createElement("div",{className:"model-example"},p.default.createElement("ul",{className:"tab",role:"tablist"},p.default.createElement("li",{className:(0,qo.default)("tabitem",{active:"example"===this.state.activeTab}),role:"presentation"},p.default.createElement("button",{"aria-controls":Gn,"aria-selected":"example"===this.state.activeTab,className:"tablinks","data-name":"example",id:rr,onClick:this.activeTab,role:"tab"},Je?"Edit Value":"Example Value")),Ee&&p.default.createElement("li",{className:(0,qo.default)("tabitem",{active:"model"===this.state.activeTab}),role:"presentation"},p.default.createElement("button",{"aria-controls":Br,"aria-selected":"model"===this.state.activeTab,className:(0,qo.default)("tablinks",{inactive:Je}),"data-name":"model",id:Sr,onClick:this.activeTab,role:"tab"}
1,ti?"Schema":"Model"))),"example"===this.state.activeTab&&p.default.createElement("div",{"aria-hidden":"example"!==this.state.activeTab,"aria-labelledby":rr,"data-name":"examplePanel",id:Gn,role:"tabpanel",tabIndex:"0"},Le||p.default.createElement(Un,{value:"(no example available)",getConfigs:Lt})),"model"===this.state.activeTab&&p.default.createElement("div",{"aria-hidden":"example"===this.state.activeTab,"aria-labelledby":Sr,"data-name":"modelPanel",id:Br,role:"tabpanel",tabIndex:"0"},p.default.createElement(On,{schema:Ee,getComponent:ne,getConfigs:Lt,specSelectors:de,expandDepth:Qt,specPath:Pt,includeReadOnly:Ut,includeWriteOnly:Vt})))}}class A3 extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"onToggle",(ne,de)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,de)})}render(){let{getComponent:ne,getConfigs:de}=this.props;const Ee=ne("Model");let Le;return this.props.layoutSelectors&&(Le=this.props.layoutSelectors.isShown(this.props.fullPath)),p.default.createElement("div",{className:"model-box"},p.default.createElement(Ee,(0,qa.default)({},this.props,{getConfigs:de,expanded:Le,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||
10})))}}var a4=jr(1543);class M5 extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"getSchemaBasePath",()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"]),(0,kt.default)(this,"getCollapsedContent",()=>" "),(0,kt.default)(this,"handleToggle",(ne,de)=>{const{layoutActions:Ee}=this.props;Ee.show([...this.getSchemaBasePath(),ne],de),de&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),ne])}),(0,kt.default)(this,"onLoadModels",ne=>{ne&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),ne)}),(0,kt.default)(this,"onLoadModel",ne=>{if(ne){const de=ne.getAttribute("data-name");this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),de],ne)}})}render(){var ne;let{specSelectors:de,getComponent:Ee,layoutSelectors:Le,layoutActions:Je,getConfigs:Lt}=this.props,Pt=de.definitions(),{docExpansion:Ut,defaultModelsExpandDepth:Vt}=Lt();if(!Pt.size||Vt<0)return null;const Qt=this.getSchemaBasePath();let On=Le.isShown(Qt,Vt>0&&"none"!==Ut);const Un=de.isOAS3(),rr=Ee("ModelWrapper"),Gn=Ee("Collapse"),Sr=Ee("ModelCollapse"),Br=Ee("JumpToPath",!0);return p.default.createElement("section",{className:On?"models is-open":"models",ref:this.onLoadModels},p.default.createElement("h4",null,p.default.createElement("button",{"aria-expanded":On,className:"models-control",onClick:()=>Je.show(Qt,!On)},p.default.createElement("span",null,Un?"Schemas":"Models"),p.default.createElement("svg",{width:"20",height:"20","aria-hidden":"true",focusable:"false"},p.default.createElement("use",{xlinkHref:On?"#large-arrow-up":"#large-arrow-down"})))),p.default.createElement(Gn,{isOpened:On},(0,m.default)(ne=Pt.entrySeq()).call(ne,ti=>{let[wi]=ti;const ki=[...Qt,wi],Yr=T.default.List(ki),ui=de.specResolvedSubtree(ki),Ti=de.specJson().getIn(ki),$i=T.Map.isMap(ui)?ui:T.default.Map(),Vr=T.Map.isMap(Ti)?Ti:T.default.Map(),ji=$i.get("title")||Vr.get("title")||wi,no=Le.isShown(ki,!1);no&&0===$i.size&&Vr.size>0&&this.props.specActions.requestResolvedSubtree(ki);const io=p.default.createElement(rr,{name:wi,expandDepth:Vt,schema:$i||T.default.Map(),displayName:ji,fullPath:ki,specPath:Yr,getComponent:Ee,specSelectors:de,getConfigs:Lt,layoutSelectors:Le,layoutActions:Je,includeReadOnly:!0,includeWriteOnly:!0}),Ao=p.default.createElement("span",{className:"model-box"},p.default.createElement("span",{className:"model model-title"},ji));return p.default.createElement("div",{id:`model-${wi}`,className:"model-container",key:`models-section-${wi}`,"data-name":wi,ref:this.onLoadModel},p.default.createElement("span",{className:"models-jump-to-path"},p.default.createElement(Br,{specPath:Yr})),p.default.createElement(Sr,{classes:"model-box",collapsedContent:this.getCollapsedContent(wi),onToggle:this.handleToggle,title:Ao,displayName:ji,modelName:wi,specPath:Yr,layoutSelectors:Le,layoutActions:Je,hideSelfOnExpand:!0,expanded:Vt>0&&no},io))}).toArray()))}}const D5=Ot=>{let{value:ne,getComponent:de}=Ot,Ee=de("ModelCollapse"),Le=p.default.createElement("span",null,"Array [ ",ne.count()," ]");return p.default.createElement("span",{className:"prop-enum"},"Enum:",p.default.createElement("br",null),p.default.createElement(Ee,{collapsedContent:Le},"[ ",ne.join(", ")," ]"))};class k5 extends p.Component{render(){var ne,de,Ee,Le;let{schema:Je,name:Lt,displayName:Pt,isRef:Ut,getComponent:Vt,getConfigs:Qt,depth:On,onToggle:Un,expanded:rr,specPath:Gn,...Sr}=this.props,{specSelectors:Br,expandDepth:ti,includeReadOnly:wi,includeWriteOnly:ki}=Sr;
1const{isOAS3:Yr}=Br;if(!Je)return null;const{showExtensions:ui}=Qt();let Ti=Je.get("description"),$i=Je.get("properties"),Vr=Je.get("additionalProperties"),ji=Je.get("title")||Pt||Lt,no=Je.get("required"),io=(0,r.default)(Je).call(Je,(xo,mo)=>{var Js;return-1!==(0,rn.default)(Js=["maxProperties","minProperties","nullable","example"]).call(Js,mo)}),Ao=Je.get("deprecated"),ss=Je.getIn(["externalDocs","url"]),Is=Je.getIn(["externalDocs","description"]);const Ko=Vt("JumpToPath",!0),Ns=Vt("Markdown",!0),_o=Vt("Model"),ua=Vt("ModelCollapse"),wa=Vt("Property"),il=Vt("Link"),Al=()=>p.default.createElement("span",{className:"model-jump-to-path"},p.default.createElement(Ko,{specPath:Gn})),Pl=p.default.createElement("span",null,p.default.createElement("span",null,"{"),"...",p.default.createElement("span",null,"}"),Ut?p.default.createElement(Al,null):""),pa=Br.isOAS3()?Je.get("anyOf"):null,Kl=Br.isOAS3()?Je.get("oneOf"):null,Zc=Br.isOAS3()?Je.get("not"):null,zs=ji&&p.default.createElement("span",{className:"model-title"},Ut&&Je.get("$$ref")&&p.default.createElement("span",{className:"model-hint"},Je.get("$$ref")),p.default.createElement("span",{className:"model-title__text"},ji));return p.default.createElement("span",{className:"model"},p.default.createElement(ua,{modelName:Lt,title:zs,onToggle:Un,expanded:!!rr||On<=ti,collapsedContent:Pl},p.default.createElement("span",{className:"brace-open object"},"{"),Ut?p.default.createElement(Al,null):null,p.default.createElement("span",{className:"inner-object"},p.default.createElement("table",{className:"model"},p.default.createElement("tbody",null,Ti?p.default.createElement("tr",{className:"description"},p.default.createElement("td",null,"description:"),p.default.createElement("td",null,p.default.createElement(Ns,{source:Ti}))):null,ss&&p.default.createElement("tr",{className:"external-docs"},p.default.createElement("td",null,"externalDocs:"),p.default.createElement("td",null,p.default.createElement(il,{target:"_blank",href:(0,ue.Nm)(ss)},Is||ss))),Ao?p.default.createElement("tr",{className:"property"},p.default.createElement("td",null,"deprecated:"),p.default.createElement("td",null,"true")):null,$i&&$i.size?(0,m.default)(ne=(0,r.default)(de=$i.entrySeq()).call(de,xo=>{let[,mo]=xo;return(!mo.get("readOnly")||wi)&&(!mo.get("writeOnly")||ki)})).call(ne,xo=>{let[mo,Js]=xo,w2=Yr()&&Js.get("deprecated"),Sf=T.List.isList(no)&&no.contains(mo),G1=["property-row"];return w2&&G1.push("deprecated"),Sf&&G1.push("required"),p.default.createElement("tr",{key:mo,className:G1.join(" ")},p.default.createElement("td",null,mo,Sf&&p.default.createElement("span",{className:"star"},"*")),p.default.createElement("td",null,p.default.createElement(_o,(0,qa.default)({key:`object-${Lt}-${mo}_${Js}`},Sr,{required:Sf,getComponent:Vt,specPath:Gn.push("properties",mo),getConfigs:Qt,schema:Js,depth:On+1}))))}).toArray():null,ui?p.default.createElement("tr",null,p.default.createElement("td",null,"\xa0")):null,ui?(0,m.default)(Ee=Je.entrySeq()).call(Ee,xo=>{let[mo,Js]=xo;if("x-"!==(0,f.default)(mo).call(mo,0,2))return;const w2=Js?Js.toJS?Js.toJS():Js:null;return p.default.createElement("tr",{key:mo,className:"extension"},p.default.createElement("td",null,mo),p.default.createElement("td",null,(0,o.default)(w2)))}).toArray():null,Vr&&Vr.size?p.default.createElement("tr",null,p.default.createElement("td",null,"< * >:"),p.default.createElement("td",null,p.default.createElement(_o,(0,qa.default)({},Sr,{required:!1,getComponent:Vt,specPath:Gn.push("additionalProperties"),getConfigs:Qt,schema:Vr,depth:On+1})))):null,pa?p.default.createElement("tr",null,p.default.createElement("td",null,"anyOf ->"),p.default.createElement("td",null,(0,m.default)(pa).call(pa,(xo,mo)=>p.default.createElement("div",{key:mo},p.default.createElement(_o,(0,qa.default)({},Sr,{required:!1,getComponent:Vt,specPath:Gn.push("anyOf",mo),getConfigs:Qt,schema:xo,depth:On+1})))))):null,Kl?p.default.createElement("tr",null,p.default.createElement("td",null,"oneOf ->"),p.default.createElement("td",null,(0,m.default)(Kl).call(Kl,(xo,mo)=>p.default.createElement("div",{key:mo},p.default.createElement(_o,(0,qa.default)({},Sr,{required:!1,getComponent:Vt,specPath:Gn.push("oneOf",mo),getConfigs:Qt,schema:xo,depth:On+1})))))):null,Zc?p.default.createElement("tr",null,p.default.createElement("td",null,"not ->"),p.default.createElement("td",null,p.default.createElement("div",null,p.default.createElement(_o,(0,qa.default)({},Sr,{required:!1,getComponent:Vt,specPath:Gn.push("not"),getConfigs:Qt,schema:Zc,depth:On+1}))))):null))),p.default.createElement("span",{className:"brace-close"},"}")),io.size?(0,m.default)(Le=io.entrySeq()).call(Le,xo=>{let[mo,Js]=xo;return p.default.createElement(wa,{key:`${mo}-${Js}`,propKey:mo,propVal:Js,propClass:"property"})}):null)}}class T5 extends p.Component{render(){var ne;let{getComponent:de,getConfigs:Ee,schema:Le,depth:Je,expandDepth:Lt,name:Pt,displayName:Ut,specPath:Vt}=this.props,Qt=Le.get("description"),On=Le.get("items"),Un=Le.get("title")||Ut||Pt,rr=(0,r.default)(Le).call(Le,(Ti,$i)=>{var Vr;
1return-1===(0,rn.default)(Vr=["type","items","description","$$ref","externalDocs"]).call(Vr,$i)}),Gn=Le.getIn(["externalDocs","url"]),Sr=Le.getIn(["externalDocs","description"]);const Br=de("Markdown",!0),ti=de("ModelCollapse"),wi=de("Model"),ki=de("Property"),Yr=de("Link"),ui=Un&&p.default.createElement("span",{className:"model-title"},p.default.createElement("span",{className:"model-title__text"},Un));return p.default.createElement("span",{className:"model"},p.default.createElement(ti,{title:ui,expanded:Je<=Lt,collapsedContent:"[...]"},"[",rr.size?(0,m.default)(ne=rr.entrySeq()).call(ne,Ti=>{let[$i,Vr]=Ti;return p.default.createElement(ki,{key:`${$i}-${Vr}`,propKey:$i,propVal:Vr,propClass:"property"})}):null,Qt?p.default.createElement(Br,{source:Qt}):rr.size?p.default.createElement("div",{className:"markdown"}):null,Gn&&p.default.createElement("div",{className:"external-docs"},p.default.createElement(Yr,{target:"_blank",href:(0,ue.Nm)(Gn)},Sr||Gn)),p.default.createElement("span",null,p.default.createElement(wi,(0,qa.default)({},this.props,{getConfigs:Ee,specPath:Vt.push("items"),name:null,schema:On,required:!1,depth:Je+1}))),"]"))}}const U1="property primitive";class gh extends p.Component{render(){var ne,de,Ee;let{schema:Le,getComponent:Je,getConfigs:Lt,name:Pt,displayName:Ut,depth:Vt,expandDepth:Qt}=this.props;const{showExtensions:On}=Lt();if(!Le||!Le.get)return p.default.createElement("div",null);let Un=Le.get("type"),rr=Le.get("format"),Gn=Le.get("xml"),Sr=Le.get("enum"),Br=Le.get("title")||Ut||Pt,ti=Le.get("description"),wi=(0,ue.nX)(Le),ki=(0,r.default)(Le).call(Le,(Ao,ss)=>{var Is;return-1===(0,rn.default)(Is=["enum","type","format","description","$$ref","externalDocs"]).call(Is,ss)}).filterNot((Ao,ss)=>wi.has(ss)),Yr=Le.getIn(["externalDocs","url"]),ui=Le.getIn(["externalDocs","description"]);const Ti=Je("Markdown",!0),$i=Je("EnumModel"),Vr=Je("Property"),ji=Je("ModelCollapse"),no=Je("Link"),io=Br&&p.default.createElement("span",{className:"model-title"},p.default.createElement("span",{className:"model-title__text"},Br));return p.default.createElement("span",{className:"model"},p.default.createElement(ji,{title:io,expanded:Vt<=Qt,collapsedContent:"[...]",hideSelfOnExpand:Qt!==Vt},p.default.createElement("span",{className:"prop"},Pt&&Vt>1&&p.default.createElement("span",{className:"prop-name"},Br),p.default.createElement("span",{className:"prop-type"},Un),rr&&p.default.createElement("span",{className:"prop-format"},"($",rr,")"),ki.size?(0,m.default)(ne=ki.entrySeq()).call(ne,Ao=>{let[ss,Is]=Ao;return p.default.createElement(Vr,{key:`${ss}-${Is}`,propKey:ss,propVal:Is,propClass:U1})}):null,On&&wi.size?(0,m.default)(de=wi.entrySeq()).call(de,Ao=>{let[ss,Is]=Ao;return p.default.createElement(Vr,{key:`${ss}-${Is}`,propKey:ss,propVal:Is,propClass:U1})}):null,ti?p.default.createElement(Ti,{source:ti}):null,Yr&&p.default.createElement("div",{className:"external-docs"},p.default.createElement(no,{target:"_blank",href:(0,ue.Nm)(Yr)},ui||Yr)),Gn&&Gn.size?p.default.createElement("span",null,p.default.createElement("br",null),p.default.createElement("span",{className:U1},"xml:"),(0,m.default)(Ee=Gn.entrySeq()).call(Ee,Ao=>{let[ss,Is]=Ao;return p.default.createElement("span",{key:`${ss}-${Is}`,className:U1},p.default.createElement("br",null),"\xa0\xa0\xa0",ss,": ",String(Is))}).toArray()):null,Sr&&p.default.createElement($i,{value:Sr,getComponent:Je}))))}}const W7=Ot=>{let{propKey:ne,propVal:de,propClass:Ee}=Ot;return p.default.createElement("span",{className:Ee},p.default.createElement("br",null),ne,": ",String(de))};class yd extends p.default.Component{render(){const{onTryoutClick:ne,onCancelClick:de,onResetClick:Ee,enabled:Le,hasUserEditedBody:Je,isOAS3:Lt}=this.props,Pt=Lt&&Je;return p.default.createElement("div",{className:Pt?"try-out btn-group":"try-out"},Le?p.default.createElement("button",{className:"btn try-out__btn cancel",onClick:de},"Cancel"):p.default.createElement("button",{className:"btn try-out__btn",onClick:ne},"Try it out "),Pt&&p.default.createElement("button",{className:"btn try-out__btn reset",onClick:Ee},"Reset"))}}(0,kt.default)(yd,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1});class $1 extends p.default.PureComponent{render(){const{bypass:ne,isSwagger2:de,isOAS3:Ee,alsoShow:Le}=this.props;return ne?p.default.createElement("div",null,this.props.children):de&&Ee?p.default.createElement("div",{className:"version-pragma"},Le,p.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguou
1s"},p.default.createElement("div",null,p.default.createElement("h3",null,"Unable to render this definition"),p.default.createElement("p",null,p.default.createElement("code",null,"swagger")," and ",p.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),p.default.createElement("p",null,"Supported version fields are ",p.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",p.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",p.default.createElement("code",null,"openapi: 3.0.0"),").")))):de||Ee?p.default.createElement("div",null,this.props.children):p.default.createElement("div",{className:"version-pragma"},Le,p.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},p.default.createElement("div",null,p.default.createElement("h3",null,"Unable to render this definition"),p.default.createElement("p",null,"The provided definition does not specify a valid version field."),p.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",p.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",p.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",p.default.createElement("code",null,"openapi: 3.0.0"),").")))
1)}}(0,kt.default)($1,"defaultProps",{alsoShow:null,children:null,bypass:!1});const M3=Ot=>{let{version:ne}=Ot;return p.default.createElement("small",null,p.default.createElement("pre",{className:"version"}," ",ne," "))},D0=Ot=>{let{enabled:ne,path:de,text:Ee}=Ot;return p.default.createElement("a",{className:"nostyle",onClick:ne?Le=>Le.preventDefault():null,href:ne?`#/${de}`:null},p.default.createElement("span",null,Ee))},q7=()=>p.default.createElement("div",null,p.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},p.default.createElement("defs",null,p.default.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},p.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),p.default.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},p.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),p.default.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},p.default.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),p.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},p.default.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),p.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},p.default.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),p.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},p.default.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),p.default.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},p.default.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),p.default.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},p.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),p.default.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},p.default.createElement("g",{transform:"translate(2, -1)"},p.default.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"}))))));var l4=jr(5466);class Y7 extends p.default.Component{render(){let{errSelectors:ne,specSelectors:de,getComponent:Ee}=this.props,Le=Ee("SvgAssets"),Je=Ee("InfoContainer",!0),Lt=Ee("VersionPragmaFilter"),Pt=Ee("operations",!0),Ut=Ee("Models",!0),Vt=Ee("Row"),Qt=Ee("Col"),On=Ee("errors",!0);const Un=Ee("ServersContainer",!0),rr=Ee("SchemesContainer",!0),Gn=Ee("AuthorizeBtnContainer",!0),Sr=Ee("FilterContainer",!0);let Br=de.isSwagger2(),ti=de.isOAS3();const wi=!de.specStr(),ki=de.loadingStatus();let Yr=null;if("loading"===ki&&(Yr=p.default.createElement("div",{className:"info"},p.default.createElement("div",{className:"loading-container"},p.default.createElement("div",{className:"loading"})))),"failed"===ki&&(Yr=p.default.createElement("div",{className:"info"},p.default.createElement("div",{className:"loading-container"},p.default.createElement("h4",{className:"title"},"Failed to load API definition."),p.default.createElement(On,null)))),"failedConfig"===ki){const no=ne.lastError(),io=no?no.get("message"):"";Yr=p.default.createElement("div",{className:"info failed-config"},p.default.createElement("div",{className:"loading-container"},p.default.createElement("h4",{className:"title"},"Failed to load remote configuration."),p.default.createElement("p",null,io)))}if(!Yr&&wi&&(Yr=p.default.createElement("h4",null,"No API definition provided.")),Yr)return p.default.createElement("div",{className:"swagger-ui"},p.default.createElement("div",{className:"loading-container"},Yr));const ui=de.servers(),Ti=de.schemes(),$i=ui&&ui.size,Vr=Ti&&Ti.size,ji=!!de.securityDefinitions();return p.default.createElement("div",{className:"swagger-ui"},p.default.createElement(Le,null),p.default.createElement(Lt,{isSwagger2:Br,isOAS3:ti,alsoShow:p.default.createElement(On,null)},p.default.createElement(On,null),p.default.createElement(Vt,{className:"information-container"},p.default.createElement(Qt,{mobile:12},p.default.createElement(Je,null))),$i||Vr||ji?p.default.createElement("div",{className:"scheme-container"},p.default.createElement(Qt,{className:"schemes wrapper",mobile:12},$i?p.default.createElement(Un,null):null,Vr?p.default.createElement(rr,null):null,ji?p.default.createElement(Gn,null):null)):null,p.default.createElement(Sr,null),p.default.createElement(Vt,null,p.default.createElement(Qt,{mobile:12,desktop:12},p.default.createElement(Pt,null))),p.default.createElement(Vt,null,p.default.createElement(Qt,{mobile:12,desktop:12},p.default.createElement(Ut,null)))))}}const c4=(Ot=>{var ne={};return jr.d(ne,Ot),ne})({default:()=>tSe()}),Cf={value:"",onChange:()=>{},schema:{},keyName:"",required:!1,errors:(0,T.List)()};class D3 extends p.Component{componentDidMount(){const{dispatchInitialValue:ne,value:de,onChange:Ee}=this.props;ne?Ee(de):!1===ne&&Ee("")}render(){let{schema:ne,errors:de,value:Ee,onChange:Le,getComponent:Je,fn:Lt,disabled:Pt}=this.props;const Ut=ne&&ne.get?ne.get("format"):null,Vt=ne&&ne.get?ne.get("type"):null;let On=Vt?Je(Ut?`JsonSchema_${Vt}_${Ut}`:`JsonSchema_${Vt}`,!1,{failSilently:!0}):Je("JsonSchema_string");return On||(On=Je("JsonSchema_string")),p.default.createElement(On,(0,qa.default)({},this.props,{errors:de,fn:Lt,getComponent:Je,value:Ee,onChange:Le,schema:ne,disabled:Pt}))}}(0,kt.default)(D3,"defaultProps",Cf);class k0 extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"onChange",ne=>{const de=this.props.schema&&"file"===this.props.schema.get("type")?ne.target.files[0]:ne.target.value;this.props.onChange(de,this.props.keyName)}),(0,kt.default)(this,"onEnumChange",ne=>this.props.onChange(ne))}render(){let{getComponent:ne,value:de,schema:Ee,errors:Le,required:Je,description:Lt,disabled:Pt}=this.props;const Ut=Ee&&Ee.get?Ee.get("enum"):null,Vt=Ee&&Ee.get?Ee.get("format"):null,Qt=Ee&&Ee.get?Ee.get("type"):null,On=Ee&&Ee.get?Ee.get("in"):null;if(de||(de=""),Le=Le.toJS?Le.toJS():[],Ut){const Gn=ne("Select");
1return p.default.createElement(Gn,{className:Le.length?"invalid":"",title:Le.length?Le:"",allowedValues:[...Ut],value:de,allowEmptyValue:!Je,disabled:Pt,onChange:this.onEnumChange})}const Un=Pt||On&&"formData"===On&&!("FormData"in window),rr=ne("Input");return Qt&&"file"===Qt?p.default.createElement(rr,{type:"file",className:Le.length?"invalid":"",title:Le.length?Le:"",onChange:this.onChange,disabled:Un}):p.default.createElement(c4.default,{type:Vt&&"password"===Vt?"password":"text",className:Le.length?"invalid":"",title:Le.length?Le:"",value:de,minLength:0,debounceTimeout:350,placeholder:Lt,onChange:this.onChange,disabled:Un})}}(0,kt.default)(k0,"defaultProps",Cf);class u4 extends p.PureComponent{constructor(ne,de){super(ne,de),(0,kt.default)(this,"onChange",()=>{this.props.onChange(this.state.value)}),(0,kt.default)(this,"onItemChange",(Ee,Le)=>{this.setState(Je=>{let{value:Lt}=Je;return{value:Lt.set(Le,Ee)}},this.onChange)}),(0,kt.default)(this,"removeItem",Ee=>{this.setState(Le=>{let{value:Je}=Le;return{value:Je.delete(Ee)}},this.onChange)}),(0,kt.default)(this,"addItem",()=>{let Ee=I0(this.state.value);this.setState(()=>({value:Ee.push((0,ue.xi)(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))}),this.onChange)}),(0,kt.default)(this,"onEnumChange",Ee=>{this.setState(()=>({value:Ee}),this.onChange)}),this.state={value:I0(ne.value),schema:ne.schema}}UNSAFE_componentWillReceiveProps(ne){const de=I0(ne.value);de!==this.state.value&&this.setState({value:de}),ne.schema!==this.state.schema&&this.setState({schema:ne.schema})}render(){var ne;let{getComponent:de,required:Ee,schema:Le,errors:Je,fn:Lt,disabled:Pt}=this.props;Je=Je.toJS?Je.toJS():(0,h.default)(Je)?Je:[];const Ut=(0,r.default)(Je).call(Je,Yr=>"string"==typeof Yr),Vt=(0,m.default)(ne=(0,r.default)(Je).call(Je,Yr=>void 0!==Yr.needRemove)).call(ne,Yr=>Yr.error),Qt=this.state.value,On=!!(Qt&&Qt.count&&Qt.count()>0),Un=Le.getIn(["items","enum"]),rr=Le.getIn(["items","type"]),Gn=Le.getIn(["items","format"]),Sr=Le.get("items");let Br,ti=!1,wi="file"===rr||"string"===rr&&"binary"===Gn;if(rr&&Gn?Br=de(`JsonSchema_${rr}_${Gn}`):"boolean"!==rr&&"array"!==rr&&"object"!==rr||(Br=de(`JsonSchema_${rr}`)),Br||wi||(ti=!0),Un){const Yr=de("Select");return p.default.createElement(Yr,{className:Je.length?"invalid":"",title:Je.length?Je:"",multiple:!0,value:Qt,disabled:Pt,allowedValues:Un,allowEmptyValue:!Ee,onChange:this.onEnumChange})}const ki=de("Button");return p.default.createElement("div",{className:"json-schema-array"},On?(0,m.default)(Qt).call(Qt,(Yr,ui)=>{var Ti;const $i=(0,T.fromJS)([...(0,m.default)(Ti=(0,r.default)(Je).call(Je,Vr=>Vr.index===ui)).call(Ti,Vr=>Vr.error)]);return p.default.createElement("div",{key:ui,className:"json-schema-form-item"},wi?p.default.createElement(f4,{value:Yr,onChange:Vr=>this.onItemChange(Vr,ui),disabled:Pt,errors:$i,getComponent:de}):ti?p.default.createElement(T0,{value:Yr,onChange:Vr=>this.onItemChange(Vr,ui),disabled:Pt,errors:$i}):p.default.createElement(Br,(0,qa.default)({},this.props,{value:Yr,onChange:Vr=>this.onItemChange(Vr,ui),disabled:Pt,errors:$i,schema:Sr,getComponent:de,fn:Lt})),Pt?null:p.default.createElement(ki,{className:`btn btn-sm json-schema-form-item-remove ${Vt.length?"invalid":null}`,title:Vt.length?Vt:"",onClick:()=>this.removeItem(ui)}," - "))}):null,Pt?null:p.default.createElement(ki,{className:`btn btn-sm json-schema-form-item-add ${Ut.length?"invalid":null}`,title:Ut.length?Ut:"",onClick:this.addItem},"Add ",rr?`${rr} `:"","item"))}}(0,kt.default)(u4,"defaultProps",Cf);class T0 extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"onChange",ne=>{this.props.onChange(ne.target.value,this.props.keyName)})}render(){let{value:ne,errors:de,description:Ee,disabled:Le}=this.props;return ne||(ne=""),de=de.toJS?de.toJS():[],p.default.createElement(c4.default,{type:"text",className:de.length?"invalid":"",title:de.length?de:"",value:ne,minLength:0,debounceTimeout:350,placeholder:Ee,onChange:this.onChange,disabled:Le})}}(0,kt.default)(T0,"defaultProps",Cf);class f4 extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"onFileChange",ne=>{this.props.onChange(ne.target.files[0],this.props.keyName)})}render(){let{getComponent:ne,errors:de,disabled:Ee}=this.props;const Le=ne("Input"),Je=Ee||!("FormData"in window);return p.default.createElement(Le,{type:"file",className:de.length?"invali
1d":"",title:de.length?de:"",onChange:this.onFileChange,disabled:Je})}}(0,kt.default)(f4,"defaultProps",Cf);class I5 extends p.Component{constructor(){super(...arguments),(0,kt.default)(this,"onEnumChange",ne=>this.props.onChange(ne))}render(){let{getComponent:ne,value:de,errors:Ee,schema:Le,required:Je,disabled:Lt}=this.props;Ee=Ee.toJS?Ee.toJS():[];let Pt=Le&&Le.get?Le.get("enum"):null,Ut=!Pt||!Je,Vt=!Pt&&["true","false"];const Qt=ne("Select");return p.default.createElement(Qt,{className:Ee.length?"invalid":"",title:Ee.length?Ee:"",value:String(de),disabled:Lt,allowedValues:Pt?[...Pt]:Vt,allowEmptyValue:Ut,onChange:this.onEnumChange})}}(0,kt.default)(I5,"defaultProps",Cf);class vh extends p.PureComponent{constructor(){super(),(0,kt.default)(this,"onChange",ne=>{this.props.onChange(ne)}),(0,kt.default)(this,"handleOnChange",ne=>{this.onChange(ne.target.value)})}render(){let{getComponent:ne,value:de,errors:Ee,disabled:Le}=this.props;const Je=ne("TextArea");return Ee=Ee.toJS?Ee.toJS():(0,h.default)(Ee)?Ee:[],p.default.createElement("div",null,p.default.createElement(Je,{className:(0,qo.default)({invalid:Ee.length}),title:Ee.length?(Ot=Ee,(0,m.default)(Ot).call(Ot,ne=>{let Ee="string"==typeof ne?ne:"string"==typeof ne.error?ne.error:null;if(!(void 0!==ne.propKey?ne.propKey:ne.index)&&Ee)return Ee;let Le=ne.error,Je=`/${ne.propKey}`;for(;"object"==typeof Le;){const Lt=void 0!==Le.propKey?Le.propKey:Le.index;if(void 0===Lt||(Je+=`/${Lt}`,!Le.error))break;Le=Le.error}return`${Je}: ${Le}`})).join(", "):"",value:(0,ue.Pz)(de),disabled:Le,onChange:this.handleOnChange}));var Ot}}function I0(Ot){return T.List.isList(Ot)?Ot:(0,h.default)(Ot)?(0,T.fromJS)(Ot):(0,T.List)()}function yh(){return[$e.default,Pe.default,dt.default,je.default,Ne.default,qe.default,Et.default,we.default,{components:{App:Cr,authorizationPopup:xn,authorizeBtn:_t,AuthorizeBtnContainer:Or,authorizeOperationBtn:Q,auths:fe,AuthItem:Ce,authError:mt,oauth2:Hn,apiKeyAuth:bt,basicAuth:zt,clear:En,liveResponse:ao,InitializedInput:o4,info:Uo,InfoContainer:H7,JumpToPath:j7,CopyToClipboardBtn:_2,onlineValidatorBadge:Ri.Z,operations:Yn,operation:Ft,OperationSummary:lr,OperationSummaryMethod:Gr,OperationSummaryPath:Tr,highlightCode:d1,responses:h1,response:hd,ResponseExtension:pd,responseBody:x3,parameters:lo,parameterRow:gd,execute:w3,headers:Wa,errors:p5,contentType:g5,overview:vd,footer:E5,FilterContainer:A5,ParamBody:ph,curl:$7,schemes:G7,SchemesContainer:E3,modelExample:M0,ModelWrapper:A3,ModelCollapse:x2,Model:a4.Z,Models:M5,EnumModel:D5,ObjectModel:k5,ArrayModel:T5,PrimitiveModel:gh,Property:W7,TryItOutButton:yd,Markdown:l4.Z,BaseLayout:Y7,VersionPragmaFilter:$1,VersionStamp:M3,OperationExt:Xi,OperationExtRow:Lo,ParameterExt:co,ParameterIncludeEmpty:Mu,OperationTag:zo,OperationContainer:Xn,DeepLink:D0,InfoUrl:S5,InfoBasePath:C5,SvgAssets:q7,Example:hn,ExamplesSelect:Fr,ExamplesSelectValueRetainer:ci}},{components:n},Tt.default,{components:t},Ae.default,Xe.default,Me.default,De.default,gt.default,Ke.default,(0,Rt.default)()]}(0,kt.default)(vh,"defaultProps",Cf);var k3=jr(7451);function K(){return[yh,k3.default]}var Be=jr(5308);const{GIT_DIRTY:It,GIT_COMMIT:Zt,PACKAGE_VERSION:Tn,BUILD_TIME:nr}={PACKAGE_VERSION:"4.15.2",GIT_COMMIT:"gb010b55",GIT_DIRTY:!0,BUILD_TIME:"Wed, 26 Oct 2022 19:46:31 GMT"};function Rr(Ot){var ne;me.Z.versions=me.Z.versions||{},me.Z.versions.swaggerUi={version:Tn,gitRevision:Zt,gitDirty:It,buildTimestamp:nr};const de={dom_id:null,domNode:null,spec:{},url:"",urls:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:null,filter:null,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:`${window.location.protocol}//${window.location.host}${window.location.pathname.substring(0,(0,e.default)(ne=window.location.pathname).call(ne,"/"))}/oauth2-redirect.html`,persistAuthorization:!1,configs:{},custom:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:Un=>Un,responseInterceptor:Un=>Un,showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:void 0,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[K],plugins:[],pluginsOptions:{pluginLoadType:"legacy"},initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"}};let Ee=Ot.queryConfigEnabled?(0,ue.UG)():{};const Le=Ot.domNode;delete Ot.domNode;const Je=a()({},de,Ot,Ee),Lt={system:{configs:Je.configs},plugins:Je.presets,pluginsOptions:Je.pluginsOptions,state:a()({layout:{layout:Je.layout,filter:(0,r.default)(Je)},spec:{spec:"",url:Je.url},requestSnippets:Je.requestSnippets},Je.initialState)};if(Je.initialState)for(var Pt in Je.initialState)Object.prototype.hasOwnProperty.call(Je.initialState,Pt)&&void 0===Je.initialState[Pt]&&delete Lt.state[Pt];var Ut=new Ue(Lt);Ut.register([Je.plugins,()=>({fn:Je.fn,components:Je.components,state:Je.state})]);var Vt=Ut.getSystem();const Qt=Un=>{let rr=Vt.specSelectors.getLocalConfig?Vt.specSelectors.getLocalConfig():{},Gn=a()({},rr,Je,Un||{},Ee);
1if(Le&&(Gn.domNode=Le),Ut.setConfigs(Gn),Vt.configsActions.loaded(),null!==Un&&(!Ee.url&&"object"==typeof Gn.spec&&(0,i.default)(Gn.spec).length?(Vt.specActions.updateUrl(""),Vt.specActions.updateLoadingStatus("success"),Vt.specActions.updateSpec((0,o.default)(Gn.spec))):Vt.specActions.download&&Gn.url&&!Gn.urls&&(Vt.specActions.updateUrl(Gn.url),Vt.specActions.download(Gn.url))),Gn.domNode)Vt.render(Gn.domNode,"App");else if(Gn.dom_id){let Sr=document.querySelector(Gn.dom_id);Vt.render(Sr,"App")}else null===Gn.dom_id||null===Gn.domNode||console.error("Skipped rendering: no `dom_id` or `domNode` was specified");return Vt},On=Ee.config||Je.configUrl;return On&&Vt.specActions&&Vt.specActions.getConfigByUrl?(Vt.specActions.getConfigByUrl({url:On,loadRemoteConfig:!0,requestInterceptor:Je.requestInterceptor,responseInterceptor:Je.responseInterceptor},Qt),Vt):Qt()}Rr.presets={apis:K},Rr.plugins=Be.default;const vi=Rr})();var MY=AY.Z;let rSe=(()=>{class n{constructor(e){this.el=e}ngOnInit(){}ngAfterViewInit(){MY({url:ka.enteropathwayApiEndpoint+"swagger/enteropathway-0.11.3.yml",domNode:this.el.nativeElement.querySelector(".swagger-container"),deepLinking:!0,tryItOutEnabled:!1,supportedSubmitMethods:[""],presets:[MY.presets.apis]})}}return n.\u0275fac=function(e){return new(e||n)(he(Jr))},n.\u0275cmp=Ir({type:n,selectors:[["app-api"]],decls:3,vars:0,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stetch","fxFlex","60","fxFlexOffset","20",2,"padding-top","30px"],[1,"swagger-container"]],template:function(e,r){1&e&&(Te(0,"main")(1,"div",0),ar(2,"div",1),Re()())},dependencies:[Ha,ja,t2,Yc],styles:['@import"https://fonts.googleapis.com/css?family=Roboto:100,300,400,900&display=swap";main[_ngcontent-%COMP%]{font-family:Roboto,sans-serif}']}),n})();const pT={},DY=[];function vs(n,t){if(Array.isArray(n))for(const e of n)vs(e,t);else if("object"!=typeof n)kY(Object.getOwnPropertyNames(t)),pT[n]=Object.assign(pT[n]||{},t);else for(const e in n)vs(e,n[e])}function V1(n){return pT[n]||{}}function kY(n){DY.push(...n)}function xx(n,t){let e;const r=n.length,i=[];for(e=0;e<r;e++)i.push(t(n[e]));return i}function TY(n,t){let e;const r=n.length,i=[];for(e=0;e<r;e++)t(n[e])&&i.push(n[e]);return i}function wx(n){return n%360*Math.PI/180}function p7(n){return n.toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function IY(n){return n.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()})}function mT(n){return n.charAt(0).toUpperCase()+n.slice(1)}function a3(n,t,e,r){return(null==t||null==e)&&(r=r||n.bbox(),null==t?t=r.width/r.height*e:null==e&&(e=r.height/r.width*t)),{width:t,height:e}}function Cx(n,t){const e=n.origin;let r=null!=n.ox?n.ox:null!=n.originX?n.originX:"center",i=null!=n.oy?n.oy:null!=n.originY?n.originY:"center";null!=e&&([r,i]=Array.isArray(e)?e:"object"==typeof e?[e.x,e.y]:[e,e]);const o="string"==typeof r,s="string"==typeof i;if(o||s){const{height:a,width:l,x:u,y:f}=t.bbox();o&&(r=r.includes("left")?u:r.includes("right")?u+l:u+l/2),s&&(i=i.includes("top")?f:i.includes("bottom")?f+a:f+a/2)}return[r,i]}const Sx="http://www.w3.org/2000/svg",m7="http://www.w3.org/2000/xmlns/",jg="http://www.w3.org/1999/xlink",As={window:typeof window>"u"?null:window,document:typeof document>"u"?null:document};class gT{}const l3={},vT="___SYMBOL___ROOT___";function g7(n,t=Sx){return As.document.createElementNS(t,n)}function u1(n,t=!1){if(n instanceof gT)return n;if("object"==typeof n)return Ax(n);if(null==n)return new l3[vT];if("string"==typeof n&&"<"!==n.charAt(0))return Ax(As.document.querySelector(n));const e=t?As.document.createElement("div"):g7("svg");return e.innerHTML=n,n=Ax(e.firstChild),e.removeChild(e.firstChild),n}function pl(n,t){return t&&t.ownerDocument&&t instanceof t.ownerDocument.defaultView.Node?t:g7(n)}function yf(n){if(!n)return null;if(n.instance instanceof gT)return n.instance;if("#document-fragment"===n.nodeName)return new l3.Fragment(n);let t=mT(n.nodeName||"Dom");return"LinearGradient"===t||"RadialGradient"===t?t="Gradient":l3[t]||(t="Dom"),new l3[t](n)}let Ax=yf;function qs(n,t=n.name,e=!1){return l3[t]=n,e&&(l3[vT]=n),kY(Object.getOwnPropertyNames(n.prototype)),n}let uSe=1e3;function LY(n){return"Svgjs"+mT(n)+uSe++}function PY(n){for(let t=n.children.length-1;t>=0;t--)PY(n.children[t]);return n.id&&(n.id=LY(n.nodeName)),n}function Ts(n,t){let e,r;for(r=(n=Array.isArray(n)?n:[n]).length-1;r>=0;r--)for(e in t)n[r].prototype[e]=t[e]}function ml(n){return function(...t){const e=t[t.length-1];return!e||e.constructor!==Object||e instanceof Array?n.apply(this,t):n.apply(this,t.slice(0,-1)).attr(e)}}vs("Dom",{siblings:function fSe(){return this.parent().children()},position:function dSe(){return this.parent().index(this)},next:function hSe(){return this.siblings()[this.position()+1]},prev:function pSe(){return this.siblings()[this.position()-1]},forward:function mSe(){const n=this.position();return this.parent().add(this.remove(),n+1),this},backward:function gSe(){const n=this.position();return this.parent().add(this.remove(),n?n-1:0),this},front:function vSe(){return this.parent().add(this.remove()),this},back:function ySe(){return this.parent().add(this.remove(),0),this},before:function bSe(n){(n=u1(n)).remove();const t=this.position();return this.parent().add(n,t),this},after:function _Se(n){(n=u1(n)).remove();const t=this.position();return this.parent().add(n,t+1),this},insertBefore:function xSe(n){return(n=u1(n)).before(this),this},insertAfter:function wSe(n){return(n=u1(n)).after(this),this}});const yT=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,NY=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,FY=/rgb\((\d+),(\d+),(\d+)\)/,zY=/(#[a-z_][a-z0-9\-_]*)/i,BY=/\)\s*,?\s*/,VY=/\s/g,bT=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,_T=/^rgb\(/,xT=/^(\s+)?$/,wT=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,HY=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,ih=/[\s,]+/,Mx=/[MLHVCSQTAZ]/i;function FSe(n){const t=Math.round(n),r=Math.max(0,Math.min(255,t)).toString(16);return 1===r.length?"0"+r:r}function Ug(n,t){for(let e=t.length;e--;)if(null==n[t[e]])return!1;return!0}function CT(n,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?n+6*(t-n)*e:e<.5?t:e<2/3?n+(t-n)*(2/3-e)*6:n}vs("Dom",{classes:function CSe(){const n=this.attr("class");return null==n?[]:n.trim().split(ih)},hasClass:function SSe(n){return-1!==this.classes().indexOf(n)},addClass:function ESe(n){if(!this.hasClass(n)){const t=this.classes();t.push(n),this.attr("class",t.join(" "))}return this},removeClass:function ASe(n){return this.hasClass(n)&&this.attr("class",this.classes().filter(function(t){return t!==n}).join(" ")),this},toggleClass:function MSe(n){return this.hasClass(n)?this.removeClass(n):this.addClass(n)}}),vs("Dom",{css:function DSe(n,t){const e={};if(0===arguments.length)return this.node.style.cssText.split(/\s*;\s*/).filter(function(r){return!!r.length}
1).forEach(function(r){const i=r.split(/\s*:\s*/);e[i[0]]=i[1]}),e;if(arguments.length<2){if(Array.isArray(n)){for(const r of n){const i=p7(r);e[r]=this.node.style[i]}return e}if("string"==typeof n)return this.node.style[p7(n)];if("object"==typeof n)for(const r in n)this.node.style[p7(r)]=null==n[r]||xT.test(n[r])?"":n[r]}return 2===arguments.length&&(this.node.style[p7(n)]=null==t||xT.test(t)?"":t),this},show:function kSe(){return this.css("display","")},hide:function TSe(){return this.css("display","none")},visible:function ISe(){return"none"!==this.css("display")}}),vs("Dom",{data:function OSe(n,t,e){if(null==n)return this.data(xx(TY(this.node.attributes,r=>0===r.nodeName.indexOf("data-")),r=>r.nodeName.slice(5)));if(n instanceof Array){const r={};for(const i of n)r[i]=this.data(i);return r}if("object"==typeof n)for(t in n)this.data(t,n[t]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+n))}catch{return this.attr("data-"+n)}else this.attr("data-"+n,null===t?null:!0===e||"string"==typeof t||"number"==typeof t?t:JSON.stringify(t));return this}}),vs("Dom",{remember:function RSe(n,t){if("object"==typeof arguments[0])for(const e in n)this.remember(e,n[e]);else{if(1===arguments.length)return this.memory()[n];this.memory()[n]=t}return this},forget:function LSe(){if(0===arguments.length)this._memory={};else for(let n=arguments.length-1;n>=0;n--)delete this.memory()[arguments[n]];return this},memory:function PSe(){return this._memory=this._memory||{}}});class _a{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof _a||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&"number"==typeof t.r&&"number"==typeof t.g&&"number"==typeof t.b}static random(t="vibrant",e,r){const{random:i,round:o,sin:s,PI:a}=Math;if("vibrant"===t){const l=24*i()+57,u=38*i()+45,f=360*i();return new _a(l,u,f,"lch")}if("sine"===t){const l=o(80*s(2*a*(e=e??i())/.5+.01)+150),u=o(50*s(2*a*e/.5+4.6)+200),f=o(100*s(2*a*e/.5+2.3)+150);return new _a(l,u,f)}if("pastel"===t){const l=8*i()+86,u=17*i()+9,f=360*i();return new _a(l,u,f,"lch")}if("dark"===t){const l=10+10*i(),u=50*i()+86,f=360*i();return new _a(l,u,f,"lch")}if("rgb"===t){const l=255*i(),u=255*i(),f=255*i();return new _a(l,u,f)}if("lab"===t){const l=100*i(),u=256*i()-128,f=256*i()-128;return new _a(l,u,f,"lab")}if("grey"===t){const l=255*i();return new _a(l,l,l)}throw new Error("Unsupported random color mode")}static test(t){return"string"==typeof t&&(bT.test(t)||_T.test(t))}cmyk(){const{_a:t,_b:e,_c:r}=this.rgb(),[i,o,s]=[t,e,r].map(v=>v/255),a=Math.min(1-i,1-o,1-s);return 1===a?new _a(0,0,0,1,"cmyk"):new _a((1-i-a)/(1-a),(1-o-a)/(1-a),(1-s-a)/(1-a),a,"cmyk")}hsl(){const{_a:t,_b:e,_c:r}=this.rgb(),[i,o,s]=[t,e,r].map(p=>p/255),a=Math.max(i,o,s),l=Math.min(i,o,s),u=(a+l)/2,f=a===l,h=a-l;return new _a(360*(f?0:a===i?((o-s)/h+(o<s?6:0))/6:a===o?((s-i)/h+2)/6:a===s?((i-o)/h+4)/6:0),100*(f?0:u>.5?h/(2-a-l):h/(a+l)),100*u,"hsl")}init(t=0,e=0,r=0,i=0,o="rgb"){if(t=t||0,this.space)for(const h in this.space)delete this[this.space[h]];if("number"==typeof t)o="string"==typeof i?i:o,i="string"==typeof i?0:i,Object.assign(this,{_a:t,_b:e,_c:r,_d:i,space:o});else if(t instanceof Array)this.space=e||("string"==typeof t[3]?t[3]:t[4])||"rgb",Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0});else if(t instanceof Object){const h=function zSe(n,t){const e=Ug(n,"rgb")?{_a:n.r,_b:n.g,_c:n.b,_d:0,space:"rgb"}:Ug(n,"xyz")?{_a:n.x,_b:n.y,_c:n.z,_d:0,space:"xyz"}:Ug(n,"hsl")?{_a:n.h,_b:n.s,_c:n.l,_d:0,space:"hsl"}:Ug(n,"lab")?{_a:n.l,_b:n.a,_c:n.b,_d:0,space:"lab"}:Ug(n,"lch")?{_a:n.l,_b:n.c,_c:n.h,_d:0,space:"lch"}:Ug(n,"cmyk")?{_a:n.c,_b:n.m,_c:n.y,_d:n.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return e.space=t||e.space,e}(t,e);Object.assign(this,h)}else if("string"==typeof t)if(_T.test(t)){const h=t.replace(VY,""),[v,m,x]=FY.exec(h).slice(1,4).map(p=>parseInt(p));Object.assign(this,{_a:v,_b:m,_c:x,_d:0,space:"rgb"})}else{if(!bT.test(t))throw Error("Unsupported string format, can't construct Color");{const h=p=>parseInt(p,16),[,v,m,x]=NY.exec(function NSe(n){return 4===n.length?["#",n.substring(1,2),n.substring(1,2),n.substring(2,3),n.substring(2,3),n.substring(3,4),n.substring(3,4)].join(""):n}(t)).map(h);Object.assign(this,{_a:v,_b:m,_c:x,_d:0,space:"rgb"})}}const{_a:s,_b:a,_c:l,_d:u}=this;Object.assign(this,"rgb"===this.space?{r:s,g:a,b:l}:"xyz"===this.space?{x:s,y:a,z:l}:"hsl"===this.space?{h:s,s:a,l}:"lab"===this.space?{l:s,a,b:l}
vendor: 6,156 bytes, line 1
1:"lch"===this.space?{l:s,c:a,h:l}:"cmyk"===this.space?{c:s,m:a,y:l,k:u}:{})}lab(){const{x:t,y:e,z:r}=this.xyz();return new _a(116*e-16,500*(t-e),200*(e-r),"lab")}lch(){const{l:t,a:e,b:r}=this.lab(),i=Math.sqrt(e**2+r**2);let o=180*Math.atan2(r,e)/Math.PI;return o<0&&(o*=-1,o=360-o),new _a(t,i,o,"lch")}rgb(){if("rgb"===this.space)return this;if(function BSe(n){return"lab"===n||"xyz"===n||"lch"===n}(this.space)){let{x:t,y:e,z:r}=this;if("lab"===this.space||"lch"===this.space){let{l:m,a:x,b:p}=this;if("lch"===this.space){const{c:me,h:ue}=this,Se=Math.PI/180;x=me*Math.cos(Se*ue),p=me*Math.sin(Se*ue)}const P=(m+16)/116,T=x/500+P,H=P-p/200,U=16/116,ee=.008856,ie=7.787;t=.95047*(T**3>ee?T**3:(T-U)/ie),e=1*(P**3>ee?P**3:(P-U)/ie),r=1.08883*(H**3>ee?H**3:(H-U)/ie)}const i=3.2406*t+-1.5372*e+-.4986*r,o=-.9689*t+1.8758*e+.0415*r,s=.0557*t+-.204*e+1.057*r,a=Math.pow,l=.0031308,u=i>l?1.055*a(i,1/2.4)-.055:12.92*i,f=o>l?1.055*a(o,1/2.4)-.055:12.92*o,h=s>l?1.055*a(s,1/2.4)-.055:12.92*s;return new _a(255*u,255*f,255*h)}if("hsl"===this.space){let{h:t,s:e,l:r}=this;if(t/=360,e/=100,r/=100,0===e)return r*=255,new _a(r,r,r);const i=r<.5?r*(1+e):r+e-r*e,o=2*r-i,s=255*CT(o,i,t+1/3),a=255*CT(o,i,t),l=255*CT(o,i,t-1/3);return new _a(s,a,l)}if("cmyk"===this.space){const{c:t,m:e,y:r,k:i}=this,o=255*(1-Math.min(1,t*(1-i)+i)),s=255*(1-Math.min(1,e*(1-i)+i)),a=255*(1-Math.min(1,r*(1-i)+i));return new _a(o,s,a)}return this}toArray(){const{_a:t,_b:e,_c:r,_d:i,space:o}=this;return[t,e,r,i,o]}toHex(){const[t,e,r]=this._clamped().map(FSe);return`#${t}${e}${r}`}toRgb(){const[t,e,r]=this._clamped();return`rgb(${t},${e},${r})`}toString(){return this.toHex()}xyz(){const{_a:t,_b:e,_c:r}=this.rgb(),[i,o,s]=[t,e,r].map(T=>T/255),a=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,l=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92,u=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92,f=(.4124*a+.3576*l+.1805*u)/.95047,h=(.2126*a+.7152*l+.0722*u)/1,v=(.0193*a+.1192*l+.9505*u)/1.08883,m=f>.008856?Math.pow(f,1/3):7.787*f+16/116,x=h>.008856?Math.pow(h,1/3):7.787*h+16/116,p=v>.008856?Math.pow(v,1/3):7.787*v+16/116;return new _a(m,x,p,"xyz")}_clamped(){const{_a:t,_b:e,_c:r}=this.rgb(),{max:i,min:o,round:s}=Math;return[t,e,r].map(l=>i(0,o(s(l),255)))}}class mc{constructor(...t){this.init(...t)}clone(){return new mc(this)}init(t,e){const i=Array.isArray(t)?{x:t[0],y:t[1]}:"object"==typeof t?{x:t.x,y:t.y}:{x:t,y:e};return this.x=i.x??0,this.y=i.y??0,this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){po.isMatrixLike(t)||(t=new po(t));const{x:e,y:r}=this;return this.x=t.a*e+t.c*r+t.e,this.y=t.b*e+t.d*r+t.f,this}}function $g(n,t,e){return Math.abs(t-n)<(e||1e-6)}class po{constructor(...t){this.init(...t)}static formatTransforms(t){const e="both"===t.flip||!0===t.flip,r=t.flip&&(e||"x"===t.flip)?-1:1,i=t.flip&&(e||"y"===t.flip)?-1:1,o=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0,s=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0,a=t.scale&&t.scale.length?t.scale[0]*r:isFinite(t.scale)?t.scale*r:isFinite(t.scaleX)?t.scaleX*r:r,l=t.scale&&t.scale.length?t.scale[1]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleY)?t.scaleY*i:i,u=t.shear||0,f=t.rotate||t.theta||0,h=new mc(t.origin||t.around||t.ox||t.originX,t.oy||t.originY),v=h.x,m=h.y,x=new mc(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN),p=x.x,P=x.y,T=new mc(t.translate||t.tx||t.translateX,t.ty||t.translateY),H=T.x,U=T.y,ee=new mc(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);return{scaleX:a,scaleY:l,skewX:o,skewY:s,shear:u,theta:f,rx:ee.x,ry:ee.y,tx:H,ty:U,ox:v,oy:m,px:p,py:P}}static fromArray(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}static isMatrixLike(t){return null!=t.a||null!=t.b||null!=t.c||null!=t.d||null!=t.e||null!=t.f}static matrixMultiply(t,e,r){const o=t.b*e.a+t.d*e.b,s=t.a*e.c+t.c*e.d,a=t.b*e.c+t.d*e.d,l=t.e+t.a*e.e+t.c*e.f,u=t.f+t.b*e.e+t.d*e.f;return r.a=t.a*e.a+t.c*e.b,r.b=o,r.c=s,r.d=a,r.e=l,r.f=u,r}around(t,e,r){return this.clone().aroundO(t,e,r)}aroundO(t,e,r){const i=t||0,o=e||0;return this.translateO(-i,-o).lmultiplyO(r).translateO(i,o)}clone(){return new po(this)}decompose(t=0,e=0){const r=this.a,i=this.b,o=this.c,s=this.d,a=this.e,l=this.f,u=r*s-i*o,f=u>0?1:-1,h=f*Math.sqrt(r*r+i*i),v=Math.atan2(f*i,f*r),m=180/Math.PI*v,x=Math.cos(v),p=Math.sin(v),P=(r*o+i*s)/u,T=o*h/(P*r-i)||s*h/(P*i+r);return{scaleX:h,scaleY:T,shear:P,rotate:m,translateX:a-t+t*x*h+e*(P*x*h-p*T),translateY:l-e+t*p*h+e*(P*p*h+x*T),originX:t,originY:e,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return!0;const e=new po(t);return $g(this.a,e.a)&&$g(this.b,e.b)&&$g(this.c,e.c)&&$g(this.d,e.d)&&$g(this.e,e.e)&&$g(this.f,e.f)}flip(t,e){return this.clone().flipO(t,e)}flipO(t,e){return"x"===t?this.scaleO(-1,1,e,0):"y"===t?this.scaleO(1,-1,0,e):this.scaleO(-1,-1,t,e||t)}init(t){const e=po.fromArray([1,0,0,1,0,0]);return t=t instanceof sh?t.matrixify():"string"==typeof t?po.fromArray(t.split(ih).map(parseFloat)):Array.isArray(t)?po.fromArray(t):"object"==typeof t&&po.isMatrixLike(t)?t:"object"==typeof t?(new po).transform(t):6===arguments.length?po.fromArray([].slice.call(arguments)):e,this.a=null!=t.a?t.a:e.a,this.b=null!=t.b?t.b:e.b,this.c=null!=t.c?t.c:e.c,this.d=null!=t.d?t.d:e.d,this.e=null!=t.e?t.e:e.e,this.f=null!=t.f?t.f:e.f,this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a,e=this.b,r=this.c,i=this.d,o=this.e,s=this.f,a=t*i-e*r;if(!a)throw new Error("Cannot invert "+this);const l=i/a,u=-e/a,f=-r/a,h=t/a,v=-(l*o+f*s),m=-(u*o+h*s);return this.a=l,this.b=u,this.c=f,this.d=h,this.e=v,this.f=m,this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const r=t instanceof po?t:new po(t);return po.matrixMultiply(r,this,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const r=t instanceof po?t:new po(t);return po.matrixMultiply(this,r,this)}rotate(t,e,r){return this.clone().rotateO(t,e,r)}rotateO(t,e=0,r=0){t=wx(t);const i=Math.cos(t),o=Math.sin(t),{a:s,b:a,c:l,d:u,e:f,f:h}=this;return this.a=s*i-a*o,this.b=a*i+s*o,this.c=l*i-u*o,this.d=u*i+l*o,this.e=f*i-h*
1o+r*o-e*i+e,this.f=h*i+f*o-e*o-r*i+r,this}scale(t,e,r,i){return this.clone().scaleO(...arguments)}scaleO(t,e=t,r=0,i=0){3===arguments.length&&(i=r,r=e,e=t);const{a:o,b:s,c:a,d:l,e:u,f}=this;return this.a=o*t,this.b=s*e,this.c=a*t,this.d=l*e,this.e=u*t-r*t+r,this.f=f*e-i*e+i,this}shear(t,e,r){return this.clone().shearO(t,e,r)}shearO(t,e=0,r=0){const{a:i,b:o,c:s,d:a,e:l,f:u}=this;return this.a=i+o*t,this.c=s+a*t,this.e=l+u*t-r*t,this}skew(t,e,r,i){return this.clone().skewO(...arguments)}skewO(t,e=t,r=0,i=0){3===arguments.length&&(i=r,r=e,e=t),t=wx(t),e=wx(e);const o=Math.tan(t),s=Math.tan(e),{a,b:l,c:u,d:f,e:h,f:v}=this;return this.a=a+l*o,this.b=l+a*s,this.c=u+f*o,this.d=f+u*s,this.e=h+v*o-i*o,this.f=v+h*s-r*s,this}skewX(t,e,r){return this.skew(t,0,e,r)}skewY(t,e,r){return this.skew(0,t,e,r)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(t){if(po.isMatrixLike(t))return new po(t).multiplyO(this);const e=po.formatTransforms(t),{x:i,y:o}=new mc(e.ox,e.oy).transform(this),s=(new po).translateO(e.rx,e.ry).lmultiplyO(this).translateO(-i,-o).scaleO(e.scaleX,e.scaleY).skewO(e.skewX,e.skewY).shearO(e.shear).rotateO(e.theta).translateO(i,o);if(isFinite(e.px)||isFinite(e.py)){const a=new mc(i,o).transform(s),l=isFinite(e.px)?e.px-a.x:0,u=isFinite(e.py)?e.py-a.y:0;s.translateO(l,u)}return s.translateO(e.tx,e.ty),s}translate(t,e){return this.clone().translateO(t,e)}translateO(t,e){return this.e+=t||0,this.f+=e||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function zp(){if(!zp.nodes){const n=u1().size(2,0);n.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),n.attr("focusable","false"),n.attr("aria-hidden","true");const t=n.path().node;zp.nodes={svg:n,path:t}}return zp.nodes.svg.node.parentNode||zp.nodes.svg.addTo(As.document.body||As.document.documentElement),zp.nodes}function jY(n){return!(n.width||n.height||n.x||n.y)}qs(po,"Matrix");class su{constructor(...t){this.init(...t)}addOffset(){return this.x+=As.window.pageXOffset,this.y+=As.window.pageYOffset,new su(this)}init(t){return t="string"==typeof t?t.split(ih).map(parseFloat):Array.isArray(t)?t:"object"==typeof t?[null!=t.left?t.left:t.x,null!=t.top?t.top:t.y,t.width,t.height]:4===arguments.length?[].slice.call(arguments):[0,0,0,0],this.x=t[0]||0,this.y=t[1]||0,this.width=this.w=t[2]||0,this.height=this.h=t[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return jY(this)}merge(t){const e=Math.min(this.x,t.x),r=Math.min(this.y,t.y),i=Math.max(this.x+this.width,t.x+t.width)-e,o=Math.max(this.y+this.height,t.y+t.height)-r;return new su(e,r,i,o)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){t instanceof po||(t=new po(t));let e=1/0,r=-1/0,i=1/0,o=-1/0;return[new mc(this.x,this.y),new mc(this.x2,this.y),new mc(this.x,this.y2),new mc(this.x2,this.y2)].forEach(function(a){a=a.transform(t),e=Math.min(e,a.x),r=Math.max(r,a.x),i=Math.min(i,a.y),o=Math.max(o,a.y)}),new su(e,i,r-e,o-i)}}function UY(n,t,e){let r;try{if(r=t(n.node),jY(r)&&!function USe(n){return n===As.document||(As.document.documentElement.contains||function(t){for(;t.parentNode;)t=t.parentNode;return t===As.document}).call(As.document.documentElement,n)}(n.node))throw new Error("Element not in the dom")}catch{r=e(n)}return r}vs({viewbox:{viewbox(n,t,e,r){return null==n?new su(this.attr("viewBox")):this.attr("viewBox",new su(n,t,e,r))},zoom(n,t){let{width:e,height:r}=this.attr(["width","height"]);if((!e&&!r||"string"==typeof e||"string"==typeof r)&&(e=this.node.clientWidth,r=this.node.clientHeight),!e||!r)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const i=this.viewbox(),o=e/i.width,s=r/i.height,a=Math.min(o,s);if(null==n)return a;let l=a/n;l===1/0&&(l=Number.MAX_SAFE_INTEGER/100),t=t||new mc(e/2/o+i.x,r/2/s+i.y);const u=new su(i).transform(new po({scale:l,origin:t}));return this.viewbox(u)}}}),qs(su,"Box");class c3 extends Array{constructor(t=[],...e){if(super(t,...e),"number"==typeof t)return this;this.length=0,this.push(...t)}}Ts([c3],{each(n,...t){return this.map("function"==typeof n?(e,r,i)=>n.call(e,e,r,i):e=>e[n](...t))},toArray(){return Array.prototype.concat.apply([],this)}});const qSe=["toArray","constructor","each"];function Gg(n,t){return new c3(xx((t||As.document).querySelectorAll(n),function(e){return yf(e)}))}c3.extend=function(n){n=n.reduce((t,e)=>(qSe.includes(e)||"_"===e[0]||(t[e]=function(...r){return this.each(e,...r)}),t),{}),Ts([c3],n)};let XSe=0;const $Y={};function GY(n){let t=n.getEventHolder();return t===As.window&&(t=$Y),t.events||(t.events={}),t.events}function ST(n){return n.getEventTarget()}function u3(n,t,e,r,i){const o=e.bind(r||n),s=u1(n),a=GY(s),l=ST(s);t=Array.isArray(t)?t:t.split(ih),e._svgjsListenerId||(e._svgjsListenerId=++XSe),t.forEach(function(u){const f=u.split(".")[0],h=u.split(".")[1]||"*";a[f]=a[f]||{},a[f][h]=a[f][h]||{},a[f][h][e._svgjsListenerId]=o,l.addEventListener(f,o,i||!1)})}function oh(n,t,e,r){const i=u1(n),o=GY(i),s=ST(i);"function"==typeof e&&!(e=e._svgjsListenerId)||(t=Array.isArray(t)?t:(t||"").split(ih)).forEac
vendor: 2,661 bytes, line 1
1h(function(a){const l=a&&a.split(".")[0],u=a&&a.split(".")[1];let f,h;if(e)o[l]&&o[l][u||"*"]&&(s.removeEventListener(l,o[l][u||"*"][e],r||!1),delete o[l][u||"*"][e]);else if(l&&u){if(o[l]&&o[l][u]){for(h in o[l][u])oh(s,[l,u].join("."),h);delete o[l][u]}}else if(u)for(a in o)for(f in o[a])u===f&&oh(s,[a,u].join("."));else if(l){if(o[l]){for(f in o[l])oh(s,[l,f].join("."));delete o[l]}}else{for(a in o)oh(s,a);!function ZSe(n){let t=n.getEventHolder();t===As.window&&(t=$Y),t.events&&(t.events={})}(i)}})}class v7 extends gT{addEventListener(){}dispatch(t,e,r){return function JSe(n,t,e,r){const i=ST(n);return t instanceof As.window.Event||(t=new As.window.CustomEvent(t,{detail:e,cancelable:!0,...r})),i.dispatchEvent(t),t}(this,t,e,r)}dispatchEvent(t){const e=this.getEventHolder().events;if(!e)return!0;const r=e[t.type];for(const i in r)for(const o in r[i])r[i][o](t);return!t.defaultPrevented}fire(t,e,r){return this.dispatch(t,e,r),this}getEventHolder(){return this}getEventTarget(){return this}off(t,e,r){return oh(this,t,e,r),this}on(t,e,r,i){return u3(this,t,e,r,i),this}removeEventListener(){}}function ET(){}qs(v7,"EventTarget");const Wg_duration=400,Wg_ease=">",Wg_delay=0,WY={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class qg extends Array{constructor(...t){super(...t),this.init(...t)}clone(){return new this.constructor(this)}init(t){return"number"==typeof t||(this.length=0,this.push(...this.parse(t))),this}parse(t=[]){return t instanceof Array?t:t.trim().split(ih).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];return t.push(...this),t}}class Jo{constructor(...t){this.init(...t)}convert(t){return new Jo(this.value,t)}divide(t){return t=new Jo(t),new Jo(this/t,this.unit||t.unit)}init(t,e){return e=Array.isArray(t)?t[1]:e,t=Array.isArray(t)?t[0]:t,this.value=0,this.unit=e||"","number"==typeof t?this.value=isNaN(t)?0:isFinite(t)?t:t<0?-34e37:34e37:"string"==typeof t?(e=t.match(yT))&&(this.value=parseFloat(e[1]),"%"===e[5]?this.value/=100:"s"===e[5]&&(this.value*=1e3),this.unit=e[5]):t instanceof Jo&&(this.value=t.valueOf(),this.unit=t.unit),this}minus(t){return t=new Jo(t),new Jo(this-t,this.unit||t.unit)}plus(t){return t=new Jo(t),new Jo(this+t,this.unit||t.unit)}times(t){return t=new Jo(t),new Jo(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}
1toString(){return("%"===this.unit?~~(1e8*this.value)/1e6:"s"===this.unit?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const qY=[];class Bp extends v7{constructor(t,e){super(),this.node=t,this.type=t.nodeName,e&&t!==e&&this.attr(e)}add(t,e){return(t=u1(t)).removeNamespace&&this.node instanceof As.window.SVGElement&&t.removeNamespace(),null==e?this.node.appendChild(t.node):t.node!==this.node.childNodes[e]&&this.node.insertBefore(t.node,this.node.childNodes[e]),this}addTo(t,e){return u1(t).put(this,e)}children(){return new c3(xx(this.node.children,function(t){return yf(t)}))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(t=!0){return this.writeDataToDom(),new this.constructor(PY(this.node.cloneNode(t)))}each(t,e){const r=this.children();let i,o;for(i=0,o=r.length;i<o;i++)t.apply(r[i],[i,r]),e&&r[i].each(t,e);return this}element(t,e){return this.put(new Bp(g7(t),e))}first(){return yf(this.node.firstChild)}get(t){return yf(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,e){return this.xml(t,e,"http://www.w3.org/1999/xhtml")}id(t){return typeof t>"u"&&!this.node.id&&(this.node.id=LY(this.type)),this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return yf(this.node.lastChild)}matches(t){const e=this.node,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector||null;return r&&r.call(e,t)}parent(t){let e=this;if(!e.node.parentNode)return null;if(e=yf(e.node.parentNode),!t)return e;do{if("string"==typeof t?e.matches(t):e instanceof t)return e}while(e=yf(e.node.parentNode));return e}put(t,e){return t=u1(t),this.add(t,e),t}putIn(t,e){return u1(t).add(this,e)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(t){return this.node.removeChild(t.node),this}replace(t){return t=u1(t),this.node.parentNode&&this.node.parentNode.replaceChild(t.node,this.node),t}round(t=2,e=null){const r=10**t,i=this.attr(e);for(const o in i)"number"==typeof i[o]&&(i[o]=Math.round(i[o]*r)/r);return this.attr(i),this}svg(t,e){return this.xml(t,e,Sx)}toString(){return this.id()}words(t){return this.node.textContent=t,this}wrap(t){const e=this.parent();if(!e)return this.addTo(t);const r=e.index(this);return e.put(t,r).put(this)}writeDataToDom(){return this.each(function(){this.writeDataToDom()}),this}xml(t,e,r){if("boolean"==typeof t&&(r=e,e=t,t=null),null==t||"function"==typeof t){e=e??!0,this.writeDataToDom();let a=this;if(null!=t){if(a=yf(a.node.cloneNode(!0)),e){const l=t(a);if(a=l||a,!1===l)return""}a.each(function(){const l=t(this),u=l||this;!1===l?this.remove():l&&this!==u&&this.replace(u)},!0)}return e?a.node.outerHTML:a.node.innerHTML}e=e??!1;const i=g7("wrapper",r),o=As.document.createDocumentFragment();i.innerHTML=t;for(let a=i.children.length;a--;)o.appendChild(i.firstElementChild);const s=this.parent();return e?this.replace(o)&&s:this.add(o)}}Ts(Bp,{attr:function eEe(n,t,e){if(null==n){n={},t=this.node.attributes;for(const r of t)n[r.nodeName]=wT.test(r.nodeValue)?parseFloat(r.nodeValue):r.nodeValue;return n}if(n instanceof Array)return n.reduce((r,i)=>(r[i]=this.attr(i),r),{});if("object"==typeof n&&n.constructor===Object)for(t in n)this.attr(t,n[t]);else if(null===t)this.node.removeAttribute(n);else{if(null==t)return null==(t=this.node.getAttribute(n))?WY[n]:wT.test(t)?parseFloat(t):t;"number"==typeof(t=qY.reduce((r,i)=>i(n,r,this),t))?t=new Jo(t):_a.isColor(t)?t=new _a(t):t.constructor===Array&&(t=new qg(t)),"leading"===n?this.leading&&this.leading(t):"string"==typeof e?this.node.setAttributeNS(e,n,t.toString()):this.node.setAttribute(n,t.toString()),this.rebuild&&("font-size"===n||"x"===n)&&this.rebuild()}return this},find:function YSe(n){return Gg(n,this.node)},findOne:function KSe(n){return yf(this.node.querySelector(n))}}),qs(Bp,"Dom");class sh extends Bp{constructor(t,e){super(t,e),this.dom={},this.node.instance=this,t.hasAttribute("svgjs:data")&&this.setData(JSON.parse(t.getAttribute("svgjs:data"))||{})}center(t,e){return this.cx(t).cy(e)}cx(t){return null==t?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return null==t?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,e){return this.dx(t).dy(e)}dx(t=0){return this.x(new Jo(t).plus(this.x()))}dy(t=0){return this.y(new Jo(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,e){return this.x(t).y(e)}parents(t=this.root()){const e="string"==typeof t;e||(t=u1(t));const r=new c3;let i=this;for(;(i=i.parent())&&i.node!==As.document&&"#document-fragment"!==i.nodeName&&(r.push(i),!(!e&&i.node===t.node||e&&i.matches(t)));)if(i.node===this.root().node)return null;return r}reference(t){if(!(t=this.attr(t)))return null;const e=(t+"").match(zY);return e?u1(e[1]):null}root(){const t=this.parent(function cSe(n){return l3[n]}(vT));
1return t&&t.root()}setData(t){return this.dom=t,this}size(t,e){const r=a3(this,t,e);return this.width(new Jo(r.width)).height(new Jo(r.height))}width(t){return this.attr("width",t)}writeDataToDom(){return this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}Ts(sh,{bbox:function $Se(){const e=UY(this,i=>i.getBBox(),i=>{try{const o=i.clone().addTo(zp().svg).show(),s=o.node.getBBox();return o.remove(),s}catch(o){throw new Error(`Getting bbox of element "${i.node.nodeName}" is not possible: ${o.toString()}`)}});return new su(e)},rbox:function GSe(n){const r=UY(this,o=>o.getBoundingClientRect(),o=>{throw new Error(`Getting rbox of element "${o.node.nodeName}" is not possible`)}),i=new su(r);return n?i.transform(n.screenCTM().inverseO()):i.addOffset()},inside:function WSe(n,t){const e=this.bbox();return n>e.x&&t>e.y&&n<e.x+e.width&&t<e.y+e.height},point:function VSe(n,t){return new mc(n,t).transform(this.screenCTM().inverse())},ctm:function HSe(){return new po(this.node.getCTM())},screenCTM:function jSe(){if("function"==typeof this.isRoot&&!this.isRoot()){const n=this.rect(1,1),t=n.node.getScreenCTM();return n.remove(),new po(t)}return new po(this.node.getScreenCTM())}}),qs(sh,"Element");const y7={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(n,t){return"color"===t?n:n+"-"+t}};["fill","stroke"].forEach(function(n){const t={};let e;t[n]=function(r){if(typeof r>"u")return this.attr(n);if("string"==typeof r||r instanceof _a||_a.isRgb(r)||r instanceof sh)this.attr(n,r);else for(e=y7[n].length-1;e>=0;e--)null!=r[y7[n][e]]&&this.attr(y7.prefix(n,y7[n][e]),r[y7[n][e]]);return this},vs(["Element","Runner"],t)}),vs(["Element","Runner"],{matrix:function(n,t,e,r,i,o){return null==n?new po(this):this.attr("transform",new po(n,t,e,r,i,o))},rotate:function(n,t,e){return this.transform({rotate:n,ox:t,oy:e},!0)},skew:function(n,t,e,r){return this.transform(1===arguments.length||3===arguments.length?{skew:n,ox:t,oy:e}:{skew:[n,t],ox:e,oy:r},!0)},shear:function(n,t,e){return this.transform({shear:n,ox:t,oy:e},!0)},scale:function(n,t,e,r){return this.transform(1===arguments.length||3===arguments.length?{scale:n,ox:t,oy:e}:{scale:[n,t],ox:e,oy:r},!0)},translate:function(n,t){return this.transform({translate:[n,t]},!0)},relative:function(n,t){return this.transform({relative:[n,t]},!0)},flip:function(n="both",t="center"){return-1==="xybothtrue".indexOf(n)&&(t=n,n="both"),this.transform({flip:n,origin:t},!0)},opacity:function(n){return this.attr("opacity",n)}}),vs("radius",{radius:function(n,t=n){return"radialGradient"===(this._element||this).type?this.attr("r",new Jo(n)):this.rx(n).ry(t)}}),vs("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(n){return new mc(this.node.getPointAtLength(n))}}),vs(["Element","Runner"],{font:function(n,t){if("object"==typeof n){for(t in n)this.font(t,n[t]);return this}return"leading"===n?this.leading(t):this.attr("anchor"===n?"text-anchor":"size"===n||"family"===n||"weight"===n||"stretch"===n||"variant"===n||"style"===n?"font-"+n:n,t)}});const tEe=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel"].reduce(function(n,t){return n[t]=function(r){return null===r?this.off(t):this.on(t,r),this},n},{});vs("Element",tEe),vs("Element",{untransform:function nEe(){return this.attr("transform",null)},matrixify:function rEe(){return(this.attr("transform")||"").split(BY).slice(0,-1).map(function(t){const e=t.trim().split("(");return[e[0],e[1].split(ih).map(function(r){return parseFloat(r)})]}).reverse().reduce(function(t,e){return"matrix"===e[0]?t.lmultiply(po.fromArray(e[1])):t[e[0]].apply(t,e[1])},new po)},toParent:function iEe(n,t){if(this===n)return this;const e=this.screenCTM(),r=n.screenCTM().inverse();return this.addTo(n,t).untransform().transform(r.multiply(e)),this},toRoot:function oEe(n){return this.toParent(this.root(),n)},transform:function sEe(n,t){if(null==n||"string"==typeof n){const i=new po(this).decompose();return null==n?i:i[n]}po.isMatrixLike(n)||(n={...n,origin:Cx(n,this)});const r=new po(!0===t?this:t||!1).transform(n);return this.attr("transform",r)}});class H1 extends sh{flatten(t=this,e){return this.each(function(){if(this instanceof H1)return this.flatten().ungroup()}),this}ungroup(t=this.parent(),e=t.index(this)){return e=-1===e?t.children().length:e,this.each(function(r,i){return i[i.length-r-1].toParent(t,e)}),this.remove()}}qs(H1,"Container");class AT extends H1{constructor(t,e=t){super(pl("defs",t),e)}flatten(){return this}ungroup(){return this}}qs(AT,"Defs");class bf extends sh{}function MT(n){return this.attr("rx",n)}function DT(n){return this.attr("ry",n)}
1function YY(n){return null==n?this.cx()-this.rx():this.cx(n+this.rx())}function KY(n){return null==n?this.cy()-this.ry():this.cy(n+this.ry())}function XY(n){return this.attr("cx",n)}function ZY(n){return this.attr("cy",n)}function JY(n){return null==n?2*this.rx():this.rx(new Jo(n).divide(2))}function QY(n){return null==n?2*this.ry():this.ry(new Jo(n).divide(2))}qs(bf,"Shape");var aEe={__proto__:null,rx:MT,ry:DT,x:YY,y:KY,cx:XY,cy:ZY,width:JY,height:QY};class Dx extends bf{constructor(t,e=t){super(pl("ellipse",t),e)}size(t,e){const r=a3(this,t,e);return this.rx(new Jo(r.width).divide(2)).ry(new Jo(r.height).divide(2))}}Ts(Dx,aEe),vs("Container",{ellipse:ml(function(n=0,t=n){return this.put(new Dx).size(n,t).move(0,0)})}),qs(Dx,"Ellipse");class eK extends Bp{constructor(t=As.document.createDocumentFragment()){super(t)}xml(t,e,r){if("boolean"==typeof t&&(r=e,e=t,t=null),null==t||"function"==typeof t){const i=new Bp(g7("wrapper",r));return i.add(this.node.cloneNode(!0)),i.xml(!1,r)}return super.xml(t,!1,r)}}function tK(n,t){return this.attr("radialGradient"===(this._element||this).type?{fx:new Jo(n),fy:new Jo(t)}:{x1:new Jo(n),y1:new Jo(t)})}function nK(n,t){return this.attr("radialGradient"===(this._element||this).type?{cx:new Jo(n),cy:new Jo(t)}:{x2:new Jo(n),y2:new Jo(t)})}qs(eK,"Fragment");var lEe={__proto__:null,from:tK,to:nK};class b7 extends H1{constructor(t,e){super(pl(t+"Gradient","string"==typeof t?null:t),e)}attr(t,e,r){return"transform"===t&&(t="gradientTransform"),super.attr(t,e,r)}bbox(){return new su}targets(){return Gg('svg [fill*="'+this.id()+'"]')}toString(){return this.url()}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}url(){return'url("#'+this.id()+'")'}}Ts(b7,lEe),vs({Container:{gradient(...n){return this.defs().gradient(...n)}},Defs:{gradient:ml(function(n,t){return this.put(new b7(n)).update(t)})}}),qs(b7,"Gradient");class _7 extends H1{constructor(t,e=t){super(pl("pattern",t),e)}attr(t,e,r){return"transform"===t&&(t="patternTransform"),super.attr(t,e,r)}bbox(){return new su}targets(){return Gg('svg [fill*="'+this.id()+'"]')}toString(){return this.url()}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}url(){return'url("#'+this.id()+'")'}}vs({Container:{pattern(...n){return this.defs().pattern(...n)}},Defs:{pattern:ml(function(n,t,e){return this.put(new _7).update(e).attr({x:0,y:0,width:n,height:t,patternUnits:"userSpaceOnUse"})})}}),qs(_7,"Pattern");class kx extends bf{constructor(t,e=t){super(pl("image",t),e)}load(t,e){if(!t)return this;const r=new As.window.Image;return u3(r,"load",function(i){const o=this.parent(_7);0===this.width()&&0===this.height()&&this.size(r.width,r.height),o instanceof _7&&0===o.width()&&0===o.height()&&o.size(this.width(),this.height()),"function"==typeof e&&e.call(this,i)},this),u3(r,"load error",function(){oh(r)}),this.attr("href",r.src=t,jg)}}(function QSe(n){qY.push(n)})(function(n,t,e){return("fill"===n||"stroke"===n)&&HY.test(t)&&(t=e.root().defs().image(t)),t instanceof kx&&(t=e.root().defs().pattern(0,0,r=>{r.add(t)})),t}),vs({Container:{image:ml(function(n,t){return this.put(new kx).size(0,0).load(n,t)})}}),qs(kx,"Image");class Vp extends qg{bbox(){let t=-1/0,e=-1/0,r=1/0,i=1/0;return this.forEach(function(o){t=Math.max(o[0],t),e=Math.max(o[1],e),r=Math.min(o[0],r),i=Math.min(o[1],i)}),new su(r,i,t-r,e-i)}move(t,e){const r=this.bbox();if(t-=r.x,e-=r.y,!isNaN(t)&&!isNaN(e))for(let i=this.length-1;i>=0;i--)this[i]=[this[i][0]+t,this[i][1]+e];return this}parse(t=[0,0]){const e=[];(t=t instanceof Array?Array.prototype.concat.apply([],t):t.trim().split(ih).map(parseFloat)).length%2!=0&&t.pop();for(let r=0,i=t.length;r<i;r+=2)e.push([t[r],t[r+1]]);return e}size(t,e){let r;const i=this.bbox();for(r=this.length-1;r>=0;r--)i.width&&(this[r][0]=(this[r][0]-i.x)*t/i.width+i.x),i.height&&(this[r][1]=(this[r][1]-i.y)*e/i.height+i.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const t=[];for(let e=0,r=this.length;e<r;e++)t.push(this[e].join(","));return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){po.isMatrixLike(t)||(t=new po(t));for(let e=this.length;e--;){const[r,i]=this[e];this[e][0]=t.a*r+t.c*i+t.e,this[e][1]=t.b*r+t.d*i+t.f}return this}}var kT={__proto__:null,MorphArray:Vp,x:function uEe(n){return null==n?this.bbox().x:this.move(n,this.bbox().y)},y:function fEe(n){return null==n?this.bbox().y:this.move(this.bbox().x,n)},width:function dEe(n){const t=this.bbox();return null==n?t.width:this.size(n,t.height)},height:function hEe(n){const t=this.bbox();return null==n?t.height:this.size(t.width,n)}};class x7 extends bf{constructor(t,e=t){super(pl("line",t),e)}array(){return new Vp([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,e){return this.attr(this.array().move(t,e).toLine())}plot(t,e,r,i){return null==t?this.array():(t=typeof e<"u"?{x1:t,y1:e,x2:r,y2:i}:new Vp(t).toLine(),this.attr(t))}size(t,e){const r=a3(this,t,e);return this.attr(this.array().size(r.width,r.height).toLine())}}Ts(x7,kT),vs({Container:{line:ml(function(...n){return x7.prototype.plot.apply(this.put(new x7),null!=n[0]?n:[0,0,0,0])})}}),qs(x7,"Line");class Tx extends H1{constructor(t,e=t){super(pl("marker",t),e)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,e){return this.attr("refX",t).attr("refY",e)}
1toString(){return"url(#"+this.id()+")"}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}width(t){return this.attr("markerWidth",t)}}function Yg(n,t){return function(e){return null==e?this[n]:(this[n]=e,t&&t.call(this),this)}}vs({Container:{marker(...n){return this.defs().marker(...n)}},Defs:{marker:ml(function(n,t,e){return this.put(new Tx).size(n,t).ref(n/2,t/2).viewbox(0,0,n,t).attr("orient","auto").update(e)})},marker:{marker(n,t,e,r){let i=["marker"];return"all"!==n&&i.push(n),i=i.join("-"),n=arguments[1]instanceof Tx?arguments[1]:this.defs().marker(t,e,r),this.attr(i,n)}}}),qs(Tx,"Marker");const pEe={"-":function(n){return n},"<>":function(n){return-Math.cos(n*Math.PI)/2+.5},">":function(n){return Math.sin(n*Math.PI/2)},"<":function(n){return 1-Math.cos(n*Math.PI/2)},bezier:function(n,t,e,r){return function(i){return i<0?n>0?t/n*i:e>0?r/e*i:0:i>1?e<1?(1-r)/(1-e)*i+(r-e)/(1-e):n<1?(1-t)/(1-n)*i+(t-n)/(1-n):1:3*i*(1-i)**2*t+3*i**2*(1-i)*r+i**3}},steps:function(n,t="end"){t=t.split("-").reverse()[0];let e=n;return"none"===t?--e:"both"===t&&++e,(r,i=!1)=>{let o=Math.floor(r*n);const s=r*o%1==0;return("start"===t||"both"===t)&&++o,i&&s&&--o,r>=0&&o<0&&(o=0),r<=1&&o>e&&(o=e),o/e}}};class TT{done(){return!1}}class IT extends TT{constructor(t=Wg_ease){super(),this.ease=pEe[t]||t}step(t,e,r){return"number"!=typeof t?r<1?t:e:t+(e-t)*this.ease(r)}}class Ix extends TT{constructor(t){super(),this.stepper=t}done(t){return t.done}step(t,e,r,i){return this.stepper(t,e,r,i)}}function rK(){const n=(this._duration||500)/1e3,r=Math.PI,i=Math.log((this._overshoot||0)/100+1e-10),o=-i/Math.sqrt(r*r+i*i),s=3.9/(o*n);this.d=2*o*s,this.k=s*s}Ts(class mEe extends Ix{constructor(t=500,e=0){super(),this.duration(t).overshoot(e)}step(t,e,r,i){if("string"==typeof t)return t;if(i.done=r===1/0,r===1/0)return e;if(0===r)return t;r>100&&(r=16);const o=i.velocity||0,s=-this.d*o-this.k*(t-e),a=t+o*(r/=1e3)+s*r*r/2;return i.velocity=o+s*r,i.done=Math.abs(e-a)+Math.abs(o)<.002,i.done?e:a}},{duration:Yg("_duration",rK),overshoot:Yg("_overshoot",rK)}),Ts(class gEe extends Ix{constructor(t=.1,e=.01,r=0,i=1e3){super(),this.p(t).i(e).d(r).windup(i)}step(t,e,r,i){if("string"==typeof t)return t;if(i.done=r===1/0,r===1/0)return e;if(0===r)return t;const o=e-t;let s=(i.integral||0)+o*r;const a=(o-(i.error||0))/r,l=this._windup;return!1!==l&&(s=Math.max(-l,Math.min(s,l))),i.error=o,i.integral=s,i.done=Math.abs(o)<.001,i.done?e:t+(this.P*o+this.I*s+this.D*a)}},{windup:Yg("_windup"),p:Yg("P"),i:Yg("I"),d:Yg("D")});const vEe={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},OT={M:function(n,t,e){return t.x=e.x=n[0],t.y=e.y=n[1],["M",t.x,t.y]},L:function(n,t){return t.x=n[0],t.y=n[1],["L",n[0],n[1]]},H:function(n,t){return t.x=n[0],["H",n[0]]},V:function(n,t){return t.y=n[0],["V",n[0]]},C:function(n,t){return t.x=n[4],t.y=n[5],["C",n[0],n[1],n[2],n[3],n[4],n[5]]},S:function(n,t){return t.x=n[2],t.y=n[3],["S",n[0],n[1],n[2],n[3]]},Q:function(n,t){return t.x=n[2],t.y=n[3],["Q",n[0],n[1],n[2],n[3]]},T:function(n,t){return t.x=n[0],t.y=n[1],["T",n[0],n[1]]},Z:function(n,t,e){return t.x=e.x,t.y=e.y,["Z"]},A:function(n,t){return t.x=n[5],t.y=n[6],["A",n[0],n[1],n[2],n[3],n[4],n[5],n[6]]}},RT="mlhvqtcsaz".split("");for(let n=0,t=RT.length;n<t;++n)OT[RT[n]]=function(e){return function(r,i,o){if("H"===e)r[0]=r[0]+i.x;else if("V"===e)r[0]=r[0]+i.y;else if("A"===e)r[5]=r[5]+i.x,r[6]=r[6]+i.y;else for(let s=0,a=r.length;s<a;++s)r[s]=r[s]+(s%2?i.y:i.x);return OT[e](r,i,o)}}(RT[n].toUpperCase());function LT(n){return n.segment.length&&n.segment.length-1===vEe[n.segment[0].toUpperCase()]}function bEe(n,t){n.inNumber&&f3(n,!1);const e=Mx.test(t);if(e)n.segment=[t];else{const r=n.lastCommand,i=r.toLowerCase(),o=r===i;n.segment=["m"===i?o?"l":"L":r]}return n.inSegment=!0,n.lastCommand=n.segment[0],e}function f3(n,t){if(!n.inNumber)throw new Error("Parser Error");n.number&&n.segment.push(parseFloat(n.number)),n.inNumber=t,n.number="",n.pointSeen=!1,n.hasExponent=!1,LT(n)&&PT(n)}function PT(n){n.inSegment=!1,n.absolute&&(n.segment=function yEe(n){return OT[n.segment[0]](n.segment.slice(1),n.p,n.p0)}(n)),n.segments.push(n.segment)}function _Ee(n){if(!n.segment.length)return!1;const t="A"===n.segment[0].toUpperCase(),e=n.segment.length;return t&&(4===e||5===e)}function xEe(n){return"E"===n.lastToken.toUpperCase()}class d3 extends qg{bbox(){return zp().path.setAttribute("d",this.toString()),new su(zp.nodes.path.getBBox())}move(t,e){const r=this.bbox();if(t-=r.x,e-=r.y,!isNaN(t)&&!isNaN(e))for(let i,o=this.length-1;o>=0;o--)i=this[o][0],"M"===i||"L"===i||"T"===i?(this[o][1]+=t,this[o][2]+=e):"H"===i?this[o][1]+=t:"V"===i?this[o][1]+=e:"C"===i||"S"===i||"Q"===i?(this[o][1]+=t,this[o][2]+=e,this[o][3]+=t,this[o][4]+=e,"C"===i&&(this[o][5]+=t,this[o][6]+=e)):"A"===i&&(this[o][6]+=t,this[o][7]+=e);return this}parse(t="M0 0"){return Array.isArray(t)&&(t=Array.prototype.concat.apply([],t).toString()),function wEe(n,t=!0){let e=0,r="";const i={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:t,p0:new mc,p:new mc};for(;i.lastToken=r,r=n.charAt(e++);)if(i.inSegment||!bEe(i,r)){if("."===r){if(i.pointSeen||i.hasExponent){f3(i,!1),--e;continue}i.inNumber=!0,i.pointSeen=!0,i.number+=r;continue}if(!isNaN(parseInt(r))){if("0"===i.number||_Ee(i)){i.inNumber=!0,i.number=r,f3(i,!0);continue}i.inNumber=!0,i.number+=r;continue}if(" "===r||","===r){i.inNumber&&f3(i,!1);continue}if("-"===r){if(i.inNumber&&!xEe(i)){f3(i,!1),--e;continue}i.number+=r,i.inNumber=!0;continue}if("E"===r.toUpperCase()){i.number+=r,i.hasExponent=!0;continue}if(Mx.test(r)){if(i.inNumber)f3(i,!1);else{if(!LT(i))throw new Error("parser Error");PT(i)}--e}}return i.inNumber&&f3(i,!1),i.inSegment&<(i)&&PT(i),i.segments}(t)}size(t,e){const r=this.bbox();let i,o;for(r.width=0===r.width?1:r.width,r.height=0===r.height?1:r.height,i=this.length-1;i>=0;i--)o=this[i][0],"M"===o||"L"===o||"T"===o?(this[i][1]=(this[i][1]-r.x)*t/r.width+r.x,this[i][2]=(this[i][2]-r.y)*e/r.height+r.y):"H"===o?this[i][1]=(this[i][1]-r.x)*t/r.width+r.x:"V"===o?this[i][1]=(this[i][1]-r.y)*e/r.height+r.y:"C"===o||"S"===o||"Q"===o?(this[i][1]=(this[i][1]-r.x)*t/r.width+r.x,this[i][2]=(this[i][2]-r.y)*e/r.height+r.y,this[i][3]=(this[i][3]-r.x)*t/r.width+r.x,this[i][4]=(this[i][4]-r.y)*e/r.height+r.y,"C"===o&&(this[i][5]=(this[i][5]-r.x)*t/r.width+r.x,this[i][6]=(this[i][
16]-r.y)*e/r.height+r.y)):"A"===o&&(this[i][1]=this[i][1]*t/r.width,this[i][2]=this[i][2]*e/r.height,this[i][6]=(this[i][6]-r.x)*t/r.width+r.x,this[i][7]=(this[i][7]-r.y)*e/r.height+r.y);return this}toString(){return function CEe(n){let t="";for(let e=0,r=n.length;e<r;e++)t+=n[e][0],null!=n[e][1]&&(t+=n[e][1],null!=n[e][2]&&(t+=" ",t+=n[e][2],null!=n[e][3]&&(t+=" ",t+=n[e][3],t+=" ",t+=n[e][4],null!=n[e][5]&&(t+=" ",t+=n[e][5],t+=" ",t+=n[e][6],null!=n[e][7]&&(t+=" ",t+=n[e][7])))));return t+" "}(this)}}const iK=n=>{const t=typeof n;return"number"===t?Jo:"string"===t?_a.isColor(n)?_a:ih.test(n)?Mx.test(n)?d3:qg:yT.test(n)?Jo:NT:FT.indexOf(n.constructor)>-1?n.constructor:Array.isArray(n)?qg:"object"===t?w7:NT};class h3{constructor(t){this._stepper=t||new IT("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce(function(e,r){return e&&r},!0)}from(t){return null==t?this._from:(this._from=this._set(t),this)}stepper(t){return null==t?this._stepper:(this._stepper=t,this)}to(t){return null==t?this._to:(this._to=this._set(t),this)}type(t){return null==t?this._type:(this._type=t,this)}_set(t){this._type||this.type(iK(t));let e=new this._type(t);return this._type===_a&&(e=this._to?e[this._to[4]]():this._from?e[this._from[4]]():e),this._type===w7&&(e=this._to?e.align(this._to):this._from?e.align(this._from):e),e=e.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(e.length)).map(Object).map(function(r){return r.done=!0,r}),e}}class NT{constructor(...t){this.init(...t)}init(t){return t=Array.isArray(t)?t[0]:t,this.value=t,this}toArray(){return[this.value]}valueOf(){return this.value}}let oK=(()=>{class n{constructor(...e){this.init(...e)}init(e){return Array.isArray(e)&&(e={scaleX:e[0],scaleY:e[1],shear:e[2],rotate:e[3],translateX:e[4],translateY:e[5],originX:e[6],originY:e[7]}),Object.assign(this,n.defaults,e),this}toArray(){const e=this;return[e.scaleX,e.scaleY,e.shear,e.rotate,e.translateX,e.translateY,e.originX,e.originY]}}return n.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0},n})();const SEe=(n,t)=>n[0]<t[0]?-1:n[0]>t[0]?1:0;class w7{constructor(...t){this.init(...t)}align(t){const e=this.values;for(let r=0,i=e.length;r<i;++r){if(e[r+1]===t[r+1]){if(e[r+1]===_a&&t[r+7]!==e[r+7]){const a=t[r+7],l=new _a(this.values.splice(r+3,5))[a]().toArray();this.values.splice(r+3,0,...l)}r+=e[r+2]+2;continue}if(!t[r+1])return this;const o=(new t[r+1]).toArray();e.splice(r,e[r+2]+3,t[r],t[r+1],t[r+2],...o),r+=e[r+2]+2}return this}init(t){if(this.values=[],Array.isArray(t))return void(this.values=t.slice());t=t||{};const e=[];for(const r in t){const i=iK(t[r]),o=new i(t[r]).toArray();e.push([r,i,o.length,...o])}return e.sort(SEe),this.values=e.reduce((r,i)=>r.concat(i),[]),this}toArray(){return this.values}valueOf(){const t={},e=this.values;for(;e.length;){const r=e.shift(),i=e.shift(),o=e.shift(),s=e.splice(0,o);t[r]=new i(s)}return t}}const FT=[NT,oK,w7];class Kg extends bf{constructor(t,e=t){super(pl("path",t),e)}array(){return this._array||(this._array=new d3(this.attr("d")))}clear(){return delete this._array,this}height(t){return null==t?this.bbox().height:this.size(this.bbox().width,t)}move(t,e){return this.attr("d",this.array().move(t,e))}plot(t){return null==t?this.array():this.clear().attr("d","string"==typeof t?t:this._array=new d3(t))}size(t,e){const r=a3(this,t,e);return this.attr("d",this.array().size(r.width,r.height))}width(t){return null==t?this.bbox().width:this.size(t,this.bbox().height)}x(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)}y(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)}}Kg.prototype.MorphArray=d3,vs({Container:{path:ml(function(n){return this.put(new Kg).plot(n||new d3)})}}),qs(Kg,"Path");var sK={__proto__:null,array:function MEe(){return this._array||(this._array=new Vp(this.attr("points")))},clear:function DEe(){return delete this._array,this},move:function kEe(n,t){return this.attr("points",this.array().move(n,t))},plot:function TEe(n){return null==n?this.array():this.clear().attr("points","string"==typeof n?n:this._array=new Vp(n))},size:function IEe(n,t){const e=a3(this,n,t);return this.attr("points",this.array().size(e.width,e.height))}};class C7 extends bf{constructor(t,e=t){super(pl("polygon",t),e)}}vs({Container:{polygon:ml(function(n){return this.put(new C7).plot(n||new Vp)})}}),Ts(C7,kT),Ts(C7,sK),qs(C7,"Polygon");class S7 extends bf{constructor(t,e=t){super(pl("polyline",t),e)}}vs({Container:{polyline:ml(function(n){return this.put(new S7).plot(n||new Vp)})}}),Ts(S7,kT),Ts(S7,sK),qs(S7,"Polyline");class Ox extends bf{constructor(t,e=t){super(pl("rect",t),e)}}Ts(Ox,{rx:MT,ry:DT}),vs({Container:{rect:ml(function(n,t){return this.put(new Ox).size(n,t)})}}),qs(Ox,"Rect");class zT{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const e=typeof t.next<"u"?t:{value:t,next:null,prev:null};return this._last?(e.prev=this._last,this._last.next=e,this._last=e):(this._last=e,this._first=e),e}remove(t){t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t===this._last&&(this._last=t.prev),t===this._first&&(this._first=t.next),t.prev=null,t.next=null}shift(){const t=this._first;return t?(this._first=t.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,t.value):null}}const ha={nextDraw:null,frames:new zT,timeouts:new zT,immediates:new zT,timer:()=>As.window.performance||As.window.Date,transforms:[],frame(n){const t=ha.frames.push({run:n});return null===ha.nextDraw&&(ha.nextDraw=As.window.requestAnimationFrame(ha._draw)),t},timeout(n,t){t=t||0;const e=ha.timer().now()+t,r=ha.timeouts.push({run:n,time:e});return null===ha.nextDraw&&(ha.nextDraw=As.window.requestAnimationFrame(ha._draw)),r},immediate(n){const t=ha.immediates.push(n);return null===ha.nextDraw&&(ha.nextDraw=As.window.requestAnimationFrame(ha._draw)),t},cancelFrame(n){null!=n&&ha.frames.remove(n)},clearTimeout(n){null!=n&&ha.timeouts.remove(n)}
1,cancelImmediate(n){null!=n&&ha.immediates.remove(n)},_draw(n){let t=null;const e=ha.timeouts.last();for(;(t=ha.timeouts.shift())&&(n>=t.time?t.run():ha.timeouts.push(t),t!==e););let r=null;const i=ha.frames.last();for(;r!==i&&(r=ha.frames.shift());)r.run(n);let o=null;for(;o=ha.immediates.shift();)o();ha.nextDraw=ha.timeouts.first()||ha.frames.first()?As.window.requestAnimationFrame(ha._draw):null}},OEe=function(n){const t=n.start,e=n.runner.duration();return{start:t,duration:e,end:t+e,runner:n.runner}},REe=function(){const n=As.window;return(n.performance||n.Date).now()};class aK extends v7{constructor(t=REe){super(),this._timeSource=t,this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const t=this.getLastRunnerInfo(),e=t?t.runner.duration():0;return(t?t.start:this._time)+e}getEndTimeOfTimeline(){const t=this._runners.map(e=>e.start+e.runner.duration());return Math.max(0,...t)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){return this._paused=!0,this._continue()}persist(t){return null==t?this._persist:(this._persist=t,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(t){const e=this.speed();if(null==t)return this.speed(-e);const r=Math.abs(e);return this.speed(t?-r:r)}schedule(t,e,r){if(null==t)return this._runners.map(OEe);let i=0;const o=this.getEndTime();if(e=e||0,null==r||"last"===r||"after"===r)i=o;else if("absolute"===r||"start"===r)i=e,e=0;else if("now"===r)i=this._time;else if("relative"===r){const l=this.getRunnerInfoById(t.id);l&&(i=l.start+e,e=0)}else{if("with-last"!==r)throw new Error('Invalid value for the "when" parameter');{const l=this.getLastRunnerInfo();i=l?l.start:this._time}}t.unschedule(),t.timeline(this);const s=t.persist(),a={persist:null===s?this._persist:s,start:i+e,runner:t};return this._lastRunnerId=t.id,this._runners.push(a),this._runners.sort((l,u)=>l.start-u.start),this._runnerIds=this._runners.map(l=>l.runner.id),this.updateTime()._continue(),this}seek(t){return this.time(this._time+t)}source(t){return null==t?this._timeSource:(this._timeSource=t,this)}speed(t){return null==t?this._speed:(this._speed=t,this)}stop(){return this.time(0),this.pause()}time(t){return null==t?this._time:(this._time=t,this._continue(!0))}unschedule(t){const e=this._runnerIds.indexOf(t.id);return e<0||(this._runners.splice(e,1),this._runnerIds.splice(e,1),t.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(t=!1){return ha.cancelFrame(this._nextFrame),this._nextFrame=null,t?this._stepImmediate():(this._paused||(this._nextFrame=ha.frame(this._step)),this)}_stepFn(t=!1){const e=this._timeSource();let r=e-this._lastSourceTime;t&&(r=0);const i=this._speed*r+(this._time-this._lastStepTime);this._lastSourceTime=e,t||(this._time+=i,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let s=this._runners.length;s--;){const a=this._runners[s],l=a.runner;this._time-a.start<=0&&l.reset()}let o=!1;for(let s=0,a=this._runners.length;s<a;s++){const l=this._runners[s],u=l.runner;let f=i;const h=this._time-l.start;h<=0?o=!0:(h<f&&(f=h),u.active()&&(u.step(f).done?!0!==l.persist&&u.duration()-u.time()+this._time+l.persist<this._time&&(u.unschedule(),--s,--a):o=!0))}return o&&!(this._speed<0&&0===this._time)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}}vs({Element:{timeline:function(n){return null==n?(this._timeline=this._timeline||new aK,this._timeline):(this._timeline=n,this)}}});let Hp=(()=>{class n extends v7{constructor(e){super(),this.id=n.id++,e="function"==typeof(e=e??Wg_duration)?new Ix(e):e,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration="number"==typeof e&&e,this._isDeclarative=e instanceof Ix,this._stepper=this._isDeclarative?e:new IT,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new po,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(e,r,i){let o=1,s=!1,a=0;return r=r||Wg_delay,i=i||"last","object"==typeof(e=e||Wg_duration)&&!(e instanceof TT)&&(r=e.delay||r,i=e.when||i,s=e.swing||s,o=e.times||o,a=e.wait||a,e=e.duration||Wg_duration),{duration:e,delay:r,swing:s,times:o,wait:a,when:i}}active(e){return null==e?this.enabled:(this.enabled=e,this)}addTransform(e,r){return this.transforms.lmultiplyO(e),this}after(e){return this.on("finished",e)}animate(e,r,i){const o=n.sanitise(e,r,i),s=new n(o.duration);return this._timeline&&s.timeline(this._timeline),this._element&&s.element
1(this._element),s.loop(o).schedule(o.delay,o.when)}clearTransform(){return this.transforms=new po,this}clearTransformsFromQueue(){(!this.done||!this._timeline||!this._timeline._runnerIds.includes(this.id))&&(this._queue=this._queue.filter(e=>!e.isTransform))}delay(e){return this.animate(0,e)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(e){return this.queue(null,e)}ease(e){return this._stepper=new IT(e),this}element(e){return null==e?this._element:(this._element=e,e._prepareRunner(),this)}finish(){return this.step(1/0)}loop(e,r,i){return"object"==typeof e&&(r=e.swing,i=e.wait,e=e.times),this._times=e||1/0,this._swing=r||!1,this._wait=i||0,!0===this._times&&(this._times=1/0),this}loops(e){const r=this._duration+this._wait;if(null==e){const a=Math.floor(this._time/r);return Math.min(a+(this._time-a*r)/this._duration,this._times)}const i=Math.floor(e);return this.time(r*i+this._duration*(e%1))}persist(e){return null==e?this._persist:(this._persist=e,this)}position(e){const r=this._time,i=this._duration,o=this._wait,a=this._swing,l=this._reverse;let u;if(null==e){const m=function(p){const P=a*Math.floor(p%(2*(o+i))/(o+i)),T=P&&!l||!P&&l,H=Math.pow(-1,T)*(p%(o+i))/i+T;return Math.max(Math.min(H,1),0)},x=this._times*(o+i)-o;return u=r<=0?Math.round(m(1e-5)):r<x?m(r):Math.round(m(x-1e-5)),u}const f=Math.floor(this.loops()),h=a&&f%2==0;return u=f+(h&&!l||l&&h?e:1-e),this.loops(u)}progress(e){return null==e?Math.min(1,this._time/this.duration()):this.time(e*this.duration())}queue(e,r,i,o){return this._queue.push({initialiser:e||ET,runner:r||ET,retarget:i,isTransform:o,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(e){return this._reverse=e??!this._reverse,this}schedule(e,r,i){if(e instanceof aK||(i=r,r=e,e=this.timeline()),!e)throw Error("Runner cannot be scheduled without timeline");return e.schedule(this,r,i),this}step(e){if(!this.enabled)return this;this._time+=e=e??16;const r=this.position(),i=this._lastPosition!==r&&this._time>=0;this._lastPosition=r;const o=this.duration(),s=this._lastTime<=0&&this._time>0,a=this._lastTime<o&&this._time>=o;this._lastTime=this._time,s&&this.fire("start",this);const l=this._isDeclarative;this.done=!l&&!a&&this._time>=o,this._reseted=!1;let u=!1;return(i||l)&&(this._initialise(i),this.transforms=new po,u=this._run(l?e:r),this.fire("step",this)),this.done=this.done||u&&l,a&&this.fire("finished",this),this}time(e){return null==e?this._time:(this.step(e-this._time),this)}timeline(e){return typeof e>"u"?this._timeline:(this._timeline=e,this)}unschedule(){const e=this.timeline();return e&&e.unschedule(this),this}_initialise(e){if(e||this._isDeclarative)for(let r=0,i=this._queue.length;r<i;++r){const o=this._queue[r],s=this._isDeclarative||!o.initialised&&e;e=!o.finished,s&&e&&(o.initialiser.call(this),o.initialised=!0)}}_rememberMorpher(e,r){if(this._history[e]={morpher:r,caller:this._queue[this._queue.length-1]},this._isDeclarative){const i=this.timeline();i&&i.play()}}_run(e){let r=!0;for(let i=0,o=this._queue.length;i<o;++i){const s=this._queue[i],a=s.runner.call(this,e);s.finished=s.finished||!0===a,r=r&&s.finished}return r}_tryRetarget(e,r,i){if(this._history[e]){if(!this._history[e].caller.initialised){const s=this._queue.indexOf(this._history[e].caller);return this._queue.splice(s,1),!1}this._history[e].caller.retarget?this._history[e].caller.retarget.call(this,r,i):this._history[e].morpher.to(r),this._history[e].caller.finished=!1;const o=this.timeline();return o&&o.play(),!0}return!1}}return n.id=0,n})();class Rx{constructor(t=new po,e=-1,r=!0){this.transforms=t,this.id=e,this.done=r}clearTransformsFromQueue(){}}Ts([Hp,Rx],{mergeWith(n){return new Rx(n.transforms.lmultiply(this.transforms),n.id)}});const lK=(n,t)=>n.lmultiplyO(t),cK=n=>n.transforms;function LEe(){const t=this._transformationRunners.runners.map(cK).reduce(lK,new po);this.transform(t),this._transformationRunners.merge(),1===this._transformationRunners.length()&&(this._frameId=null)}class PEe{constructor(){this.runners=[],this.ids=[]}add(t){if(this.runners.includes(t))return;const e=t.id+1;return this.runners.push(t),this.ids.push(e),this}clearBefore(t){const e=this.ids.indexOf(t+1)||1;return this.ids.splice(0,e,0),this.runners.splice(0,e,new Rx).forEac
1h(r=>r.clearTransformsFromQueue()),this}edit(t,e){const r=this.ids.indexOf(t+1);return this.ids.splice(r,1,t+1),this.runners.splice(r,1,e),this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let e=0;e<this.runners.length;++e){const r=this.runners[e];if(!(t&&r.done&&t.done)||r._timeline&&r._timeline._runnerIds.includes(r.id)||t._timeline&&t._timeline._runnerIds.includes(t.id))t=r;else{this.remove(r.id);const o=r.mergeWith(t);this.edit(t.id,o),t=o,--e}}return this}remove(t){const e=this.ids.indexOf(t+1);return this.ids.splice(e,1),this.runners.splice(e,1),this}}vs({Element:{animate(n,t,e){const r=Hp.sanitise(n,t,e),i=this.timeline();return new Hp(r.duration).loop(r).element(this).timeline(i.play()).schedule(r.delay,r.when)},delay(n,t){return this.animate(0,n,t)},_clearTransformRunnersBefore(n){this._transformationRunners.clearBefore(n.id)},_currentTransform(n){return this._transformationRunners.runners.filter(t=>t.id<=n.id).map(cK).reduce(lK,new po)},_addRunner(n){this._transformationRunners.add(n),ha.cancelImmediate(this._frameId),this._frameId=ha.immediate(LEe.bind(this))},_prepareRunner(){null==this._frameId&&(this._transformationRunners=(new PEe).add(new Rx(new po(this))))}}}),Ts(Hp,{attr(n,t){return this.styleAttr("attr",n,t)},css(n,t){return this.styleAttr("css",n,t)},styleAttr(n,t,e){if("string"==typeof t)return this.styleAttr(n,{[t]:e});let r=t;if(this._tryRetarget(n,r))return this;let i=new h3(this._stepper).to(r),o=Object.keys(r);return this.queue(function(){i=i.from(this.element()[n](o))},function(s){return this.element()[n](i.at(s).valueOf()),i.done()},function(s){const a=Object.keys(s),l=((n,t)=>n.filter(e=>!t.includes(e)))(a,o);if(l.length){const f=this.element()[n](l),h=new w7(i.from()).valueOf();Object.assign(h,f),i.from(h)}const u=new w7(i.to()).valueOf();Object.assign(u,s),i.to(u),o=a,r=s}),this._rememberMorpher(n,i),this},zoom(n,t){if(this._tryRetarget("zoom",n,t))return this;let e=new h3(this._stepper).to(new Jo(n));return this.queue(function(){e=e.from(this.element().zoom())},function(r){return this.element().zoom(e.at(r),t),e.done()},function(r,i){t=i,e.to(r)}),this._rememberMorpher("zoom",e),this},transform(n,t,e){if(t=n.relative||t,this._isDeclarative&&!t&&this._tryRetarget("transform",n))return this;const r=po.isMatrixLike(n);e=null!=n.affine?n.affine:e??!r;const i=new h3(this._stepper).type(e?oK:po);let o,s,a,l,u;return this.queue(function f(){s=s||this.element(),o=o||Cx(n,s),u=new po(t?void 0:s),s._addRunner(this),t||s._clearTransformRunnersBefore(this)},function h(m){t||this.clearTransform();const{x,y:p}=new mc(o).transform(s._currentTransform(this));let P=new po({...n,origin:[x,p]}),T=this._isDeclarative&&a?a:u;if(e){P=P.decompose(x,p),T=T.decompose(x,p);const U=P.rotate,ee=T.rotate,ie=[U-360,U,U+360],me=ie.map(Ue=>Math.abs(Ue-ee)),ue=Math.min(...me),Se=me.indexOf(ue);P.rotate=ie[Se]}t&&(r||(P.rotate=n.rotate||0),this._isDeclarative&&l&&(T.rotate=l)),i.from(T),i.to(P);const H=i.at(m);return l=H.rotate,a=new po(H),this.addTransform(a),s._addRunner(this),i.done()},function v(m){(m.origin||"center").toString()!==(n.origin||"center").toString()&&(o=Cx(m,s)),n={...m,origin:o}},!0),this._isDeclarative&&this._rememberMorpher("transform",i),this},x(n,t){return this._queueNumber("x",n)},y(n){return this._queueNumber("y",n)},dx(n=0){return this._queueNumberDelta("x",n)},dy(n=0){return this._queueNumberDelta("y",n)},dmove(n,t){return this.dx(n).dy(t)},_queueNumberDelta(n,t){if(t=new Jo(t),this._tryRetarget(n,t))return this;const e=new h3(this._stepper).to(t);let r=null;return this.queue(function(){r=this.element()[n](),e.from(r),e.to(r+t)},function(i){return this.element()[n](e.at(i)),e.done()},function(i){e.to(r+new Jo(i))}),this._rememberMorpher(n,e),this},_queueObject(n,t){if(this._tryRetarget(n,t))return this;const e=new h3(this._stepper).to(t);return this.queue(function(){e.from(this.element()[n]())},function(r){return this.element()[n](e.at(r)),e.done()}),this._rememberMorpher(n,e),this},_queueNumber(n,t){return this._queueObject(n,new Jo(t))},cx(n){return this._queueNumber("cx",n)},cy(n){return this._queueNumber("cy",n)},move(n,t){return this.x(n).y(t)},center(n,t){return this.cx(n).cy(t)},size(n,t){let e;return(!n||!t)&&(e=this._element.bbox()),n||(n=e.width/e.height*t),t||(t=e.height/e.width*n),this.width(n).height(t)},width(n){return this._queueNumber("width",n)},height(n){return this._queueNumber("height",n)},plot(n,t,e,r){if(4===arguments.length)return this.plot([n,t,e,r]);if(this._tryRetarget("plot",n))return this;const i=new h3(this._stepper).type(this._element.MorphArray).to(n);return this.queue(function(){i.from(this._element.array())},function(o){return this._element.plot(i.at(o)),i.done()}
1),this._rememberMorpher("plot",i),this},leading(n){return this._queueNumber("leading",n)},viewbox(n,t,e,r){return this._queueObject("viewbox",new su(n,t,e,r))},update(n){return"object"!=typeof n?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(null!=n.opacity&&this.attr("stop-opacity",n.opacity),null!=n.color&&this.attr("stop-color",n.color),null!=n.offset&&this.attr("offset",n.offset),this)}}),Ts(Hp,{rx:MT,ry:DT,from:tK,to:nK}),qs(Hp,"Runner");class Lx extends H1{constructor(t,e=t){super(pl("svg",t),e),this.namespace()}defs(){return this.isRoot()?yf(this.node.querySelector("defs"))||this.put(new AT):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof As.window.SVGElement)&&"#document-fragment"!==this.node.parentNode.nodeName}namespace(){return this.isRoot()?this.attr({xmlns:Sx,version:"1.1"}).attr("xmlns:xlink",jg,m7).attr("xmlns:svgjs","http://svgjs.dev/svgjs",m7):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,m7).attr("xmlns:svgjs",null,m7)}root(){return this.isRoot()?this:super.root()}}vs({Container:{nested:ml(function(){return this.put(new Lx)})}}),qs(Lx,"Svg",!0);class BT extends H1{constructor(t,e=t){super(pl("symbol",t),e)}}vs({Container:{symbol:ml(function(){return this.put(new BT)})}}),qs(BT,"Symbol");var uK={__proto__:null,plain:function FEe(n){return!1===this._build&&this.clear(),this.node.appendChild(As.document.createTextNode(n)),this},length:function zEe(){return this.node.getComputedTextLength()},x:function BEe(n,t=this.bbox()){return null==n?t.x:this.attr("x",this.attr("x")+n-t.x)},y:function VEe(n,t=this.bbox()){return null==n?t.y:this.attr("y",this.attr("y")+n-t.y)},move:function HEe(n,t,e=this.bbox()){return this.x(n,e).y(t,e)},cx:function jEe(n,t=this.bbox()){return null==n?t.cx:this.attr("x",this.attr("x")+n-t.cx)},cy:function UEe(n,t=this.bbox()){return null==n?t.cy:this.attr("y",this.attr("y")+n-t.cy)},center:function $Ee(n,t,e=this.bbox()){return this.cx(n,e).cy(t,e)},ax:function GEe(n){return this.attr("x",n)},ay:function WEe(n){return this.attr("y",n)},amove:function qEe(n,t){return this.ax(n).ay(t)},build:function YEe(n){return this._build=!!n,this}};class ld extends bf{constructor(t,e=t){super(pl("text",t),e),this.dom.leading=new Jo(1.3),this._rebuild=!0,this._build=!1}leading(t){return null==t?this.dom.leading:(this.dom.leading=new Jo(t),this.rebuild())}rebuild(t){if("boolean"==typeof t&&(this._rebuild=t),this._rebuild){const e=this;let r=0;const i=this.dom.leading;this.each(function(o){const s=As.window.getComputedStyle(this.node).getPropertyValue("font-size"),a=i*new Jo(s);this.dom.newLined&&(this.attr("x",e.attr("x")),"\n"===this.text()?r+=a:(this.attr("dy",o?a+r:0),r=0))}),this.fire("rebuild")}return this}setData(t){return this.dom=t,this.dom.leading=new Jo(t.leading||1.3),this}text(t){if(void 0===t){const e=this.node.childNodes;let r=0;t="";for(let i=0,o=e.length;i<o;++i)"textPath"!==e[i].nodeName?(i!==r&&3!==e[i].nodeType&&!0===yf(e[i]).dom.newLined&&(t+="\n"),t+=e[i].textContent):0===i&&(r=1);return t}if(this.clear().build(!0),"function"==typeof t)t.call(this,this);else for(let e=0,r=(t=(t+"").split("\n")).length;e<r;e++)this.newLine(t[e]);return this.build(!1).rebuild()}}Ts(ld,uK),vs({Container:{text:ml(function(n=""){return this.put(new ld).text(n)}),plain:ml(function(n=""){return this.put(new ld).plain(n)})}}),qs(ld,"Text");class Px extends bf{constructor(t,e=t){super(pl("tspan",t),e),this._build=!1}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=!0;const t=this.parent();if(!(t instanceof ld))return this;const e=t.index(this),r=As.window.getComputedStyle(this.node).getPropertyValue("font-size"),i=t.dom.leading*new Jo(r);return this.dy(e?i:0).attr("x",t.x())}text(t){return null==t?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof t?(this.clear().build(!0),t.call(this,this),this.build(!1)):this.plain(t),this)}}Ts(Px,uK),vs({Tspan:{tspan:ml(function(n=""){const t=new Px;return this._build||this.clear(),this.put(t).text(n)})},Text:{newLine:function(n=""){return this.tspan(n).newLine()}}}),qs(Px,"Tspan");class VT extends bf{constructor(t,e=t){super(pl("circle",t),e)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new Jo(t).divide(2))}}Ts(VT,{x:YY,y:KY,cx:XY,cy:ZY,width:JY,height:QY}),vs({Container:{circle:ml(function(n=0){return this.put(new VT).size(n).move(0,0)})}}),qs(VT,"Circle");class HT extends H1{constructor(t,e=t){super(pl("clipPath",t),e)}
1remove(){return this.targets().forEach(function(t){t.unclip()}),super.remove()}targets(){return Gg('svg [clip-path*="'+this.id()+'"]')}}vs({Container:{clip:ml(function(){return this.defs().put(new HT)})},Element:{clipper(){return this.reference("clip-path")},clipWith(n){const t=n instanceof HT?n:this.parent().clip().add(n);return this.attr("clip-path",'url("#'+t.id()+'")')},unclip(){return this.attr("clip-path",null)}}}),qs(HT,"ClipPath");class fK extends sh{constructor(t,e=t){super(pl("foreignObject",t),e)}}vs({Container:{foreignObject:ml(function(n,t){return this.put(new fK).size(n,t)})}}),qs(fK,"ForeignObject");var dK={__proto__:null,dmove:function KEe(n,t){return this.children().forEach((e,r)=>{let i;try{i=e.bbox()}catch{return}const o=new po(e),s=o.translate(n,t).transform(o.inverse()),a=new mc(i.x,i.y).transform(s);e.move(a.x,a.y)}),this},dx:function XEe(n){return this.dmove(n,0)},dy:function ZEe(n){return this.dmove(0,n)},height:function JEe(n,t=this.bbox()){return null==n?t.height:this.size(t.width,n,t)},move:function QEe(n=0,t=0,e=this.bbox()){return this.dmove(n-e.x,t-e.y)},size:function eAe(n,t,e=this.bbox()){const r=a3(this,n,t,e),i=r.width/e.width,o=r.height/e.height;
1return this.children().forEach((s,a)=>{const l=new mc(e).transform(new po(s).inverse());s.scale(i,o,l.x,l.y)}),this},width:function tAe(n,t=this.bbox()){return null==n?t.width:this.size(n,t.height,t)},x:function nAe(n,t=this.bbox()){return null==n?t.x:this.move(n,t.y,t)},y:function rAe(n,t=this.bbox()){return null==n?t.y:this.move(t.x,n,t)}};class jT extends H1{constructor(t,e=t){super(pl("g",t),e)}}Ts(jT,dK),vs({Container:{group:ml(function(){return this.put(new jT)})}}),qs(jT,"G");class Nx extends H1{constructor(t,e=t){super(pl("a",t),e)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,jg)}}Ts(Nx,dK),vs({Container:{link:ml(function(n){return this.put(new Nx).to(n)})},Element:{unlink(){const n=this.linker();if(!n)return this;const t=n.parent();if(!t)return this.remove();const e=t.index(n);return t.add(this,e),n.remove(),this},linkTo(n){let t=this.linker();return t||(t=new Nx,this.wrap(t)),"function"==typeof n?n.call(t,t):t.to(n),this},linker(){const n=this.parent();return n&&"a"===n.node.nodeName.toLowerCase()?n:null}}}),qs(Nx,"A");class UT extends H1{constructor(t,e=t){super(pl("mask",t),e)}remove(){return this.targets().forEach(function(t){t.unmask()}),super.remove()}targets(){return Gg('svg [mask*="'+this.id()+'"]')}}vs({Container:{mask:ml(function(){return this.defs().put(new UT)})},Element:{masker(){return this.reference("mask")},maskWith(n){const t=n instanceof UT?n:this.parent().mask().add(n);return this.attr("mask",'url("#'+t.id()+'")')},unmask(){return this.attr("mask",null)}}}),qs(UT,"Mask");class hK extends sh{constructor(t,e=t){super(pl("stop",t),e)}update(t){return("number"==typeof t||t instanceof Jo)&&(t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",new Jo(t.offset)),this}}vs({Gradient:{stop:function(n,t,e){return this.put(new hK).update(n,t,e)}}}),qs(hK,"Stop");class $T extends sh{constructor(t,e=t){super(pl("style",t),e)}addText(t=""){return this.node.textContent+=t,this}font(t,e,r={}){return this.rule("@font-face",{fontFamily:t,src:e,...r})}rule(t,e){return this.addText(function iAe(n,t){if(!n)return"";if(!t)return n;let e=n+"{";for(const r in t)e+=IY(r)+":"+t[r]+";";return e+="}",e}(t,e))}}vs("Dom",{style(n,t){return this.put(new $T).rule(n,t)},fontface(n,t,e){return this.put(new $T).font(n,t,e)}}),qs($T,"Style");class GT extends ld{constructor(t,e=t){super(pl("textPath",t),e)}array(){const t=this.track();return t?t.array():null}plot(t){const e=this.track();let r=null;return e&&(r=e.plot(t)),null==t?r:this}track(){return this.reference("href")}}vs({Container:{textPath:ml(function(n,t){return n instanceof ld||(n=this.text(n)),n.path(t)})},Text:{path:ml(function(n,t=!0){const e=new GT;let r;if(n instanceof Kg||(n=this.defs().path(n)),e.attr("href","#"+n,jg),t)for(;r=this.node.firstChild;)e.node.appendChild(r);return this.put(e)}),textPath(){return this.findOne("textPath")}},Path:{text:ml(function(n){return n instanceof ld||(n=(new ld).addTo(this.parent()).text(n)),n.path(this)}),targets(){return Gg("svg textPath").filter(n=>(n.attr("href")||"").includes(this.id()))}}}),GT.prototype.MorphArray=d3,qs(GT,"TextPath");class pK extends bf{constructor(t,e=t){super(pl("use",t),e)}use(t,e){return this.attr("href",(e||"")+"#"+t,jg)}}vs({Container:{use:ml(function(n,t){return this.put(new pK).use(n,t)})}}),qs(pK,"Use");const WT=u1;Ts([Lx,BT,kx,_7,Tx],V1("viewbox")),Ts([x7,S7,C7,Kg],V1("marker")),Ts(ld,V1("Text")),Ts(Kg,V1("Path")),Ts(AT,V1("Defs")),Ts([ld,Px],V1("Tspan")),Ts([Ox,Dx,b7,Hp],V1("radius")),Ts(v7,V1("EventTarget")),Ts(Bp,V1("Dom")),Ts(sh,V1("Element")),Ts(bf,V1("Shape")),Ts([H1,eK],V1("Container")),Ts(b7,V1("Gradient")),Ts(Hp,V1("Runner")),c3.extend(function iSe(){return[...new Set(DY)]}()),function EEe(n=[]){FT.push(...[].concat(n))}([Jo,_a,su,po,qg,Vp,d3,mc]),function AEe(){Ts(FT,{to(n){return(new h3).type(this.constructor).from(this.toArray()).to(n)},fromArray(n){return this.init(n),this},toConsumable(){return this.toArray()},morph(n,t,e,r,i){return this.fromArray(n.map(function(s,a){return r.step(s,t[a],e,i[a],i)}))}})}();class qT{constructor(t={}){Object.assign(this,t)}set references(t){this._references=t}get references(){return this._references}set crossReferences(t){this._crossReferences=t}get crossReferences(){return this._crossReferences}}var _f;!function(n){class t extends qT{set svg(o){this._svg=o}get svg(){return this._svg}isExternal(){return!this.identifier.startsWith("EPC")}getLink(){return(this.isExternal()?"https://www.kegg.jp/entry/":"/compound/")+this.identifier}getInternalLink(){return"/compound/"+this.identifier}}n.Compound=t,n.Module=class e extends qT{set reactions(o){this._reactions=o}get reactions(){return this._reactions}getCompounds(){let o=new Set,s=[];return this.reactions.forEach(a=>{a?.substrates?.forEach(l=>{o.has(l.identifier)||(o.add(l.identifier),s.push(new t({identifier:l.identifier})))}),a?.products?.forEach(l=>{o.has(l.identifier)||(o.add(l.identifier),s.push(new t({identifier:l.identifier})))})}),s}isExternal(){return!this.identifier.startsWith("EPM")}getLink(){return(this.isExternal()?"https://www.kegg.jp/entry/":"/module/")+this.identifier}getInternalLink(){return"/module/"+this.identifier}},n.Reaction=class r extends qT{isExternal(){return!this.identifier.startsWith("EPR")}getLink(){return(this.isExternal()?"https://www.kegg.jp/entry/":"/reaction/")+this.identifier}set definition(o){this._definition=o}get definition(){return this._definition}set equation(o){this._equation=o}get equation(){return this._equation}set kos(o){this._kos=o}get kos(){return this._kos}set substrates(o){this._substrates=o}get substrates(){return this._substrates}set products(o){this._products=o}get products(){return this._products}getInternalLink(){return"/reaction/"+this.identifier}}}(_f||(_f={}));class YT{constructor(t,e,r){this.name=t,this.url=e,this.value=r}toURL(){return this.url+this.value}}var oAe=_f.Module,mK=_f.Reaction,sAe=_f.Compound;let Fx=(()=>{class n{constructor(e){this.http=e,this.entityUrl=ka.searchApiEndpoint+"api/search"}findEntity(e){return this.http.get(`${this.entityUrl}/entity/${e}`).pipe(qn(r=>{let i;if("Module"==r.type){let o=r.reactions.map(s=>new mK({identifier:s.identifier,name:s.name,definition:s.definition,equation:s.equation,kos:s.kos,substrates:s.substrates,products:s.products,references:s.references}));
1i=new oAe({identifier:r.identifier,name:r.name,description:r.description,references:r.references,reactions:o,crossReferences:r.crossReferences?.map(s=>new YT(s.name,s.url,s.value))})}else i="Reaction"==r.type?new mK({identifier:r.identifier,name:r.name,definition:r.definition,equation:r.equation,kos:r.kos,substrates:r.substrates,products:r.products,references:r.references,crossReferences:r.crossReferences?.map(o=>new YT(o.name,o.url,o.value))}):new sAe({identifier:r.identifier,name:r.name,references:r.references,svg:r.svg,crossReferences:r.crossReferences?.map(o=>new YT(o.name,o.url,o.value))});return i}))}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function aAe(n,t){if(1&n&&(Te(0,"span")(1,"a",13),pt(2),Re()()),2&n){const e=t.$implicit;ct(1),Dt("href","https://pubmed.ncbi.nlm.nih.gov/"+e.split(":")[1],jc),ct(1),oo(e)}}function lAe(n,t){if(1&n&&(Te(0,"a",13),pt(1),Re()),2&n){const e=xr().$implicit;Dt("href",e.toURL(),jc),ct(1),oo(e.name+":"+e.value)}}function cAe(n,t){if(1&n&&(Te(0,"span"),pt(1),Re()),2&n){const e=xr().$implicit;ct(1),oo(e.name+":"+e.value)}}function uAe(n,t){if(1&n&&(Te(0,"span"),Ln(1,lAe,2,2,"a",14),Ln(2,cAe,2,1,"ng-template",null,15,hp),Re()),2&n){const e=t.$implicit,r=Da(3),i=xr();ct(1),Dt("ngIf",i.isLinkCrossReference(e))("ngIfElse",r)}}const fAe=function(){return["/diagram"]},dAe=function(n){return{data:n}};let hAe=(()=>{class n{constructor(e,r,i){this.route=e,this.entityService=r,this.nav=i}ngOnInit(){this.nav.show(),this.route.paramMap.pipe(uc(e=>this.setId(e.get("id")))).subscribe(e=>{}),this.findAndDraw(this.id)}setId(e){return this.id=e,this.id}findAndDraw(e){this.entityService.findEntity(e).subscribe(r=>{this.compound=r,WT(this.compound.svg).addTo("#structure")})}isLinkCrossReference(e){return"CAS_ID"!=e.name}}return n.\u0275fac=function(e){return new(e||n)(he(z1),he(Fx),he(d2))},n.\u0275cmp=Ir({type:n,selectors:[["app-compound"]],decls:38,vars:10,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],["fxLayout","row","fxLayoutAlign","start center"],[2,"font-size","32px","font-family","'Monoton', cursive"],["mat-icon-button","","matTooltip","Show in diagram",2,"color","#dee2e6",3,"routerLink","state"],["fxLayout","row"],["fxFlex","9","fxLayoutAlign","end"],["fxFlex","2"],[1,"text-light"],["fxFlex","9","fxLayoutAlign","end center"],["id","structure"],["fxLayoutGap","8px",2,"display","grid"],[4,"ngFor","ngForOf"],["fxLayout","row",2,"margin-top","14px"],["target","_blank",1,"link",3,"href"],["class","link","target","_blank",3,"href",4,"ngIf","ngIfElse"],["referenceInfo",""]],template:function(e,r){1&e&&(Te(0,"main")(1,"div",0)(2,"div",1)(3,"span",2),pt(4),Re(),Te(5,"button",3)(6,"mat-icon"),pt(7,"open_in_new"),Re()()(),ar(8,"mat-divider"),Te(9,"p",4)(10,"span",5),pt(11,"Name"),Re(),ar(12,"span",6),Te(13,"span",7),pt(14),Re()(),Te(15,"p",4)(16,"span",5),pt(17,"Description"),Re(),ar(18,"span",6),Te(19,"span",7),pt(20),Re()(),Te(21,"div",4)(22,"span",8),pt(23,"Structure"),Re(),ar(24,"span",6)(25,"div",9),Re(),Te(26,"div",4)(27,"span",5),pt(28,"References"),Re(),ar(29,"span",6),Te(30,"div",10),Ln(31,aAe,3,2,"span",11),Re()(),Te(32,"div",12)(33,"span",5),pt(34,"External\xa0references"),Re(),ar(35,"span",6),Te(36,"div",10),Ln(37,uAe,4,2,"span",11),Re()()()()),2&e&&(ct(4),oo(r.compound.identifier),ct(1),Dt("routerLink",Gs(7,fAe))("state",Hu(8,dAe,r.compound.identifier)),ct(9),oo(r.compound.name),ct(6),oo(r.compound.description),ct(11),Dt("ngForOf",r.compound.references),ct(6),Dt("ngForOf",r.compound.crossReferences))},dependencies:[lf,jl,B1,Ha,qd,ja,t2,Yc,dc,T6,Uu,Kd],styles:['@import"https://fonts.googleapis.com/icon?family=Material+Icons&display=block";']}),n})();var E7=function(t){return t.touches||[{clientX:t.clientX,clientY:t.clientY}]};function xa(n){return(xa="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})(n)}Ts(Lx,{panZoom:function(t){var e,r,i,o,s,a,l,u,f,h,v,m,x=this;if(this.off(".panZoom"),!1===t)return this;var it,ye,p=null!=(r=(t=null!=(e=t)?e:{}).zoomFactor)?r:2,P=null!=(i=t.zoomMin)?i:Number.MIN_VALUE,T=null!=(o=t.zoomMax)?o:Number.MAX_VALUE,H=null==(s=t.wheelZoom)||s,U=null==(a=t.pinchZoom)||a,ee=null==(l=t.panning)||l,ie=null!=(u=t.panButton)?u:0,me=null!=(f=t.oneFingerPan)&&f,ue=null!=(h=t.margins)&&h,Se=null!=(v=t.wheelZoomDeltaModeLinePixels)?v:17,Ue=null!=(m=t.wheelZoomDeltaModeScreenPixels)?m:53,xe=!1,ze=this.viewbox(),qe=function(Pe){if(!ue)return Pe;var Xe=ue.top,$e=ue.left,Me=ue.bottom,De=ue.right,gt=x.attr(["width","height"]),rn=x.node.preserveAspectRatio.baseVal,In=0,Xn=0,Cr=0,xn=0;if(rn.align!==rn.SVG_PRESERVEASPECTRATIO_NONE){var _t=gt.width/gt.height,Or=ze.width/ze.height;if(Or!==_t){var Q=rn.meetOrSlice!==rn.SVG_MEETORSLICE_SLICE,fe=_t>Or?"width":"height",Ce="width"===fe,mt=Q&&Ce||!Q&&!Ce,zt=Pe[fe]-Pe[fe]*(mt?_t/Or:Or/_t);mt?rn.align===rn.SVG_PRESERVEASPECTRATIO_XMIDYMIN||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMIDYMID||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMIDYMAX?(In=zt/2,Xn=-zt/2):rn.align===rn.SVG_PRESERVEASPECTRATIO_XMINYMIN||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMINYMID||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMINYMAX?Xn=-zt:(rn.align===rn.SVG_PRESERVEASPECTRATIO_XMAXYMIN||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMAXYMID||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMAXYMAX)&&(In=zt):rn.align===rn.SVG_PRESERVEASPECTRATIO_XMINYMID||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMIDYMID||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMAXYMID?(Cr=zt/2,xn=-zt/2):rn.align===rn.SVG_PRESERVEASPECTRATIO_XMINYMIN||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMIDYMIN||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMAXYMIN?xn=-zt:(rn.align===rn.SVG_PRESERVEASPECTRATIO_XMINYMAX||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMIDYMAX||rn.align===rn.SVG_PRESERVEASPECTRATIO_XMAXYMAX)&&(Cr=zt)}}var Fr=ze.height+ze.y-Xe-Cr,li=ze.y+Me-Pe.height-xn;return Pe.x=Math.min(ze.width+ze.x-$e-In,Math.max(ze.x+De-Pe.width-Xn,Pe.x)),Pe.y=Math.min(Fr,Math.max(li,Pe.y)),Pe},Ne=function Ae(Pe){(ye=E7(Pe)).length<2?ee&&me&&Ke.call(this,Pe):(ee&&me&&dt.call(this,Pe),Pe.preventDefault(),!this.dispatch("pinchZoomStart",{event:Pe}).defaultPrevented&&(this.off("touchstart.panZoom",Ae),xe=!0,u3(document,"touchmove.panZoom",we,this,{passive:!1}),u3(document,"touchend.panZoom",je,this,{passive:!1})))},je=function Ae(Pe){Pe.preventDefault();var Xe=E7(Pe);Xe.length>1||(xe=!1,this.dispatch("pinchZoomEnd",{event:Pe}),oh(document,"touchmove.panZoom",we),oh(document,"touchend.panZoom",Ae),this.on("touchstart.panZoom",Ne),Xe.length&&ee&&me&&Ke.call(this,Pe))},we=function(Pe){Pe.preventDefault();var Xe=E7(Pe),$e=this.zoom(),gt=Math.sqrt(Math.pow(ye[0].clientX-ye[1].clientX,2)+Math.pow(ye[0].clientY-ye[1].clientY,2))/Math.sqrt(Math.pow(Xe[0].clientX-Xe[1].clientX,2)+Math.pow(Xe[0].clientY-Xe[1].clientY,2));($e<P&>>1||$e>T&><1)&&(gt=1);var Rt={x:Xe[0].clientX+.5*(Xe[1].clientX-Xe[0].clientX),y:Xe[0].clientY+.5*(Xe[1].clientY-Xe[0].clientY)},kt_x=ye[0].clientX+.5*(ye[1].clientX-ye[0].clientX),kt_y=ye[0].clientY+.5*(ye[1].clientY-ye[0].clientY),rn=this.point(Rt.x,Rt.y),In=this.point(2*Rt.x-kt_x,2*Rt.y-kt_y),Xn=new su(this.viewbox()).transform((new po).translate(-In.x,-In.y).scale(gt,0,0).translate(rn.x,rn.y));qe(Xn),this.viewbox(Xn),ye=Xe,this.dispatch("zoom",{box:Xn,focus:In})}
1,Ke=function Ae(Pe){Pe.type.indexOf("mouse")>-1&&Pe.button!==ie&&Pe.which!==ie+1||(Pe.preventDefault(),this.off("mousedown.panZoom",Ae),ye=E7(Pe),!xe&&(this.dispatch("panStart",{event:Pe}),it={x:ye[0].clientX,y:ye[0].clientY},u3(document,"touchmove.panZoom mousemove.panZoom",Tt,this,{passive:!1}),u3(document,"touchend.panZoom mouseup.panZoom",dt,this,{passive:!1})))},dt=function Ae(Pe){Pe.preventDefault(),oh(document,"touchmove.panZoom mousemove.panZoom",Tt),oh(document,"touchend.panZoom mouseup.panZoom",Ae),this.on("mousedown.panZoom",Ke),this.dispatch("panEnd",{event:Pe})},Tt=function(Pe){Pe.preventDefault();var Xe=E7(Pe),$e={x:Xe[0].clientX,y:Xe[0].clientY},Me=this.point($e.x,$e.y),De=this.point(it.x,it.y),gt=[De.x-Me.x,De.y-Me.y];if(gt[0]||gt[1]){var Rt=new su(this.viewbox()).transform((new po).translate(gt[0],gt[1]));it=$e,qe(Rt),!this.dispatch("panning",{box:Rt,event:Pe}).defaultPrevented&&this.viewbox(Rt)}};return H&&this.on("wheel.panZoom",function(Pe){var Xe;switch(Pe.preventDefault(),Pe.deltaMode){case 1:Xe=Pe.deltaY*Se;break;case 2:Xe=Pe.deltaY*Ue;break;default:Xe=Pe.deltaY}var $e=Math.pow(1+p,-1*Xe/100)*this.zoom(),Me=this.point(Pe.clientX,Pe.clientY);if($e>T&&($e=T),$e<P&&($e=P),this.dispatch("zoom",{level:$e,focus:Me}).defaultPrevented)return this;if(this.zoom($e,Me),ue){var De=qe(this.viewbox());this.viewbox(De)}},this,{passive:!1}),U&&this.on("touchstart.panZoom",Ne,this,{passive:!1}),ee&&this.on("mousedown.panZoom",Ke,this,{passive:!1}),this}});var Ta=Uint8Array,au=Uint16Array,jp=Uint32Array,Xg=new Ta([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Zg=new Ta([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),A7=new Ta([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),vK=function(n,t){for(var e=new au(31),r=0;r<31;++r)e[r]=t+=1<<n[r-1];var i=new jp(e[30]);for(r=1;r<30;++r)for(var o=e[r];o<e[r+1];++o)i[o]=o-e[r]<<5|r;return[e,i]},yK=vK(Xg,2),KT=yK[0],zx=yK[1];KT[28]=258,zx[258]=28;for(var bK=vK(Zg,0),_K=bK[0],XT=bK[1],M7=new au(32768),gl=0;gl<32768;++gl){var Up=(43690&gl)>>>1|(21845&gl)<<1;M7[gl]=((65280&(Up=(61680&(Up=(52428&Up)>>>2|(13107&Up)<<2))>>>4|(3855&Up)<<4))>>>8|(255&Up)<<8)>>>1}var p2=function(n,t,e){for(var r=n.length,i=0,o=new au(t);i<r;++i)++o[n[i]-1];var a,s=new au(t);for(i=0;i<t;++i)s[i]=s[i-1]+o[i-1]<<1;if(e){a=new au(1<<t);var l=15-t;for(i=0;i<r;++i)if(n[i])for(var u=i<<4|n[i],f=t-n[i],h=s[n[i]-1]++<<f,v=h|(1<<f)-1;h<=v;++h)a[M7[h]>>>l]=u}else for(a=new au(r),i=0;i<r;++i)a[i]=M7[s[n[i]-1]++]>>>15-n[i];return a},_0=new Ta(288);for(gl=0;gl<144;++gl)_0[gl]=8;for(gl=144;gl<256;++gl)_0[gl]=9;for(gl=256;gl<280;++gl)_0[gl]=7;for(gl=280;gl<288;++gl)_0[gl]=8;var Jg=new Ta(32);for(gl=0;gl<32;++gl)Jg[gl]=5;var xK=p2(_0,9,0),wK=p2(_0,9,1),CK=p2(Jg,5,0),SK=p2(Jg,5,1),Bx=function(n){for(var t=n[0],e=1;e<n.length;++e)n[e]>t&&(t=n[e]);return t},m2=function(n,t,e){var r=t/8>>0;return(n[r]|n[r+1]<<8)>>>(7&t)&e},Vx=function(n,t){var e=t/8>>0;return(n[e]|n[e+1]<<8|n[e+2]<<16)>>>(7&t)},D7=function(n){return(n/8>>0)+(7&n&&1)},p3=function(n,t,e){(null==t||t<0)&&(t=0),(null==e||e>n.length)&&(e=n.length);var r=new(n instanceof au?au:n instanceof jp?jp:Ta)(e-t);return r.set(n.subarray(t,e)),r},ah=function(n,t,e){var r=t/8>>0;n[r]|=e<<=7&t,n[r+1]|=e>>>8},Qg=function(n,t,e){var r=t/8>>0;n[r]|=e<<=7&t,n[r+1]|=e>>>8,n[r+2]|=e>>>16},jx=function(n,t){for(var e=[],r=0;r<n.length;++r)n[r]&&e.push({s:r,f:n[r]});var i=e.length,o=e.slice();if(!i)return[new Ta(0),0];if(1==i){var s=new Ta(e[0].s+1);return s[e[0].s]=1,[s,1]}e.sort(function(ie,me){return ie.f-me.f}),e.push({s:-1,f:25001});var a=e[0],l=e[1],u=0,f=1,h=2;for(e[0]={s:-1,f:a.f+l.f,l:a,r:l};f!=i-1;)a=e[e[u].f<e[h].f?u++:h++],l=e[u!=f&&e[u].f<e[h].f?u++:h++],e[f++]={s:-1,f:a.f+l.f,l:a,r:l};var v=o[0].s;for(r=1;r<i;++r)o[r].s>v&&(v=o[r].s);var m=new au(v+1),x=Ux(e[f-1],m,0);if(x>t){r=0;var p=0,P=x-t,T=1<<P;for(o.sort(function(me,ue){return m[ue.s]-m[me.s]||me.f-ue.f});r<i;++r){var H=o[r].s;if(!(m[H]>t))break;p+=T-(1<<x-m[H]),m[H]=t}for(p>>>=P;p>0;){var U=o[r].s;m[U]<t?p-=1<<t-m[U]++-1:++r}for(;r>=0&&p;--r){var ee=o[r].s;m[ee]==t&&(--m[ee],++p)}x=t}return[new Ta(m),x]},Ux=function(n,t,e){return-1==n.s?Math.max(Ux(n.l,t,e+1),Ux(n.r,t,e+1)):t[n.s]=e},ZT=function(n){for(var t=n.length;t&&!n[--t];);for(var e=new au(++t),r=0,i=n[0],o=1,s=function(l){e[r++]=l},a=1;a<=t;++a)if(n[a]==i&&a!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(i),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}for(;o--;)s(i);o=1,i=n[a]}return[e.subarray(0,r),t]},e5=function(n,t){for(var e=0,r=0;r<t.length;++r)e+=n[r]*t[r];return e},k7=function(n,t,e){var r=e.length,i=D7(t+2);n[i]=255&r,n[i+1]=r>>>8,n[i+2]=255^n[i],n[i+3]=255^n[i+1];for(var o=0;o<r;++o)n[i+o+4]=e[o];return 8*(i+4+r)},JT=function(n,t,e,r,i,o,s,a,l,u,f){ah(t,f++,e),++i[256];for(var h=jx(i,15),v=h[0],m=h[1],x=jx(o,15),p=x[0],P=x[1],T=ZT(v),H=T[0],U=T[1],ee=ZT(p),ie=ee[0],me=ee[1],ue=new au(19),Se=0;Se<H.length;++Se)ue[31&H[Se]]++;for(Se=0;Se<ie.length;++Se)ue[31&ie[Se]]++;for(var Ue=jx(ue,7),it=Ue[0],ye=Ue[1],xe=19;xe>4&&!it[A7[xe-1]];--xe);var Ne,je,we,Ke,ze=u+5<<3,qe=e5(i,_0)+e5(o,Jg)+s,Et=e5(i,v)+e5(o,p)+s+14+3*xe+e5(ue,it)+(2*ue[16]+3*ue[17]+7*ue[18]);if(ze<=qe&&ze<=Et)return k7(t,f,n.subarray(l,l+u));if(ah(t,f,1+(Et<qe)),f+=2,Et<qe){Ne=p2(v,m,0),je=v,we=p2(p,P,0),Ke=p;var dt=p2(it,ye,0);for(ah(t,f,U-257),ah(t,f+5,me-1),ah(t,f+10,xe-4),f+=14,Se=0;Se<xe;++Se)ah(t,f+3*Se,it[A7[Se]]);f+=3*xe;for(var Tt=[H,ie],Ae=0;Ae<2;++Ae){var Pe=Tt[Ae];for(Se=0;Se<Pe.length;++Se)ah(t,f,dt[Xe=31&Pe[Se]]),f+=it[Xe],Xe>15&&(ah(t,f,Pe[Se]>>>5&127),f+=Pe[Se]>>>12)}}else Ne=xK,je=_0,we=CK,Ke=Jg;for(Se=0;Se<a;++Se)if(r[Se]>255){var Xe;Qg(t,f,Ne[257+(Xe=r[Se]>>>18&31)]),f+=je[Xe+257],Xe>7&&(ah(t,f,r[Se]>>>23&31),f+=Xg[Xe]);var $e=31&r[Se];Qg(t,f,we[$e]),f+=Ke[$e],$e>3&&(Qg(t,f,r[Se]>>>5&8191),f+=Zg[$e])}else Qg(t,f,Ne[r[Se]]),f+=je[r[Se]];return Qg(t,f,Ne[256]),f+je[256]},EK=new jp([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),AK=new Ta(0),Gx=function(n,t,e,r,i){return function(n,t,e,r,i,o){var s=n.length,a=new Ta(r+s+5*(1+Math.floor(s/7e3))+i),l=a.subarray(r,a.length-i),u=0;if(!t||s<8)for(var f=0;f<=s;f+=65535){var h=f+65535;h<s?u=k7(l,u,n.subarray(f,h)):(l[f]=o,u=k7(l,u,n.subarray(f,s)))}else{for(var v=EK[t-1],m=v>>>13,x=8191&v,p=(1<<e)-1,P=new au(32768),T=new au(p+1),H=Math.ceil(e/3),U=2*H,ee=function(Cr){return(n[Cr]^n[Cr+1]<<H^n[Cr+2]<<U)&p},ie=new jp(25e3),me=new au(288),ue=new au(32),Se=0,Ue=0,it=(f=0,0),ye=0,xe=0;f<s;++f){var ze=ee(f),qe=32767&f,Et=T[ze];if(P[qe]=Et,T[ze]=qe,ye<=f){var Ne=s-f;if((Se>7e3||it>24576)&&Ne>423){u=JT(n,l,0,ie,me,ue,Ue,it,xe,f-xe,u),it=Se=Ue=0,xe=f;for(var je=0;je<286;++je)me[je]=0;for(je=0;je<30;++je)ue[je]=0}var we=2,Ke=0,dt=x,Tt=qe-Et&32767;if(Ne>2&&ze==ee(f-Tt))for(var Ae=Math.min(m,Ne)-1,Pe=Math.min(32767,f),Xe=Math.min(258,Ne);Tt<=Pe&&--dt&&qe!=Et;){if(n[f+we]==n[f+we-Tt]){for(var $e=0;$e<Xe&&n[f+$e]==n[f+$e-Tt];++$e);
vendor: 7,034 bytes, line 1
1if($e>we){if(we=$e,Ke=Tt,$e>Ae)break;var Me=Math.min(Tt,$e-2),De=0;for(je=0;je<Me;++je){var gt=f-Tt+je+32768&32767,kt=gt-P[gt]+32768&32767;kt>De&&(De=kt,Et=gt)}}}Tt+=(qe=Et)-(Et=P[qe])+32768&32767}if(Ke){ie[it++]=268435456|zx[we]<<18|XT[Ke];var rn=31&zx[we],In=31&XT[Ke];Ue+=Xg[rn]+Zg[In],++me[257+rn],++ue[In],ye=f+we,++Se}else ie[it++]=n[f],++me[n[f]]}}u=JT(n,l,o,ie,me,ue,Ue,it,xe,f-xe,u),o||(u=k7(l,u,AK))}return p3(a,0,r+D7(u)+i)}(n,t.level??6,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(n.length)))):12+t.mem,e,r,!i)};function I7(n,t){void 0===t&&(t={});var e=function(){var n=1,t=0;return{p:function(e){for(var r=n,i=t,o=e.length,s=0;s!=o;){for(var a=Math.min(s+5552,o);s<a;++s)i+=r+=e[s];r%=65521,i%=65521}n=r,t=i},d:function(){return(n>>>8<<16|(255&t)<<8|t>>>8)+2*((255&n)<<23)}}}();e.p(n);var r=Gx(n,t,2,4);return function(n,t){var e=t.level,r=0==e?0:e<6?1:9==e?3:2;n[0]=120,n[1]=r<<6|(r?32-2*r:1)}(r,t),function(n,t,e){for(;e;++t)n[t]=e,e>>>=8}(r,r.length-4,e.d()),r}function Yx(n,t){return function(n,t,e){var r=n.length,i=!t||e,o=!e||e.i;e||(e={}),t||(t=new Ta(3*r));var s=function(Me){var De=t.length;if(Me>De){var gt=new Ta(Math.max(2*De,Me));gt.set(t),t=gt}},a=e.f||0,l=e.p||0,u=e.b||0,f=e.l,h=e.d,v=e.m,m=e.n,x=8*r;do{if(!f){e.f=a=m2(n,l,1);var p=m2(n,l+1,3);if(l+=3,!p){var T=n[(P=D7(l)+4)-4]|n[P-3]<<8,H=P+T;if(H>r){if(o)throw"unexpected EOF";break}i&&s(u+T),t.set(n.subarray(P,H),u),e.b=u+=T,e.p=l=8*H;continue}if(1==p)f=wK,h=SK,v=9,m=5;else{if(2!=p)throw"invalid block type";var U=m2(n,l,31)+257,ee=m2(n,l+10,15)+4,ie=U+m2(n,l+5,31)+1;l+=14;for(var me=new Ta(ie),ue=new Ta(19),Se=0;Se<ee;++Se)ue[A7[Se]]=m2(n,l+3*Se,7);l+=3*ee;var Ue=Bx(ue),it=(1<<Ue)-1;if(!o&&l+ie*(Ue+7)>x)break;var ye=p2(ue,Ue,1);for(Se=0;Se<ie;){var P,xe=ye[m2(n,l,it)];if(l+=15&xe,(P=xe>>>4)<16)me[Se++]=P;else{var ze=0,qe=0;for(16==P?(qe=3+m2(n,l,3),l+=2,ze=me[Se-1]):17==P?(qe=3+m2(n,l,7),l+=3):18==P&&(qe=11+m2(n,l,127),l+=7);qe--;)me[Se++]=ze}}var Et=me.subarray(0,U),Ne=me.subarray(U);v=Bx(Et),m=Bx(Ne),f=p2(Et,v,1),h=p2(Ne,m,1)}if(l>x)throw"unexpected EOF"}i&&s(u+131072);for(var je=(1<<v)-1,we=(1<<m)-1,Ke=v+m+18;o||l+Ke<x;){var dt=(ze=f[Vx(n,l)&je])>>>4;if((l+=15&ze)>x)throw"unexpected EOF";if(!ze)throw"invalid length/literal";if(dt<256)t[u++]=dt;else{if(256==dt){f=null;break}var Tt=dt-254;dt>264&&(Tt=m2(n,l,(1<<(Ae=Xg[Se=dt-257]))-1)+KT[Se],l+=Ae);var Pe=h[Vx(n,l)&we],Xe=Pe>>>4;if(!Pe)throw"invalid distance";if(l+=15&Pe,Ne=_K[Xe],Xe>3){var Ae=Zg[Xe];Ne+=Vx(n,l)&(1<<Ae)-1,l+=Ae}if(l>x)throw"unexpected EOF";i&&s(u+131072);for(var $e=u+Tt;u<$e;u+=4)t[u]=t[u-Ne],t[u+1]=t[u+1-Ne],t[u+2]=t[u+2-Ne],t[u+3]=t[u+3-Ne];u=$e}}e.l=f,e.p=l,e.b=u,f&&(a=1,e.m=v,e.d=h,e.n=m)}while(!a);return u==t.length?t:p3(t,0,u)}((function(n){if(8!=(15&n[0])||n[0]>>>4>7||(n[0]<<8|n[1])%31)throw"invalid zlib data";if(32&n[1])throw"invalid zlib data: preset dictionaries not supported"}(n),n.subarray(2,-4)),t)}var Ro=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function iI(){Ro.console&&"function"==typeof Ro.console.log&&Ro.console.log.apply(Ro.console,arguments)}var $a={log:iI,warn:function(n){Ro.console&&("function"==typeof Ro.console.warn?Ro.console.warn.apply(Ro.console,arguments):iI.call(null,arguments))},error:function(n){Ro.console&&("function"==typeof Ro.console.error?Ro.console.error.apply(Ro.console,arguments):iI(n))}};function oI(n,t,e){var r=new XMLHttpRequest;r.open("GET",n),r.responseType="blob",r.onload=function(){m3(r.response,t,e)},r.onerror=function(){$a.error("could not download file")},r.send()}function GK(n){var t=new XMLHttpRequest;t.open("HEAD",n,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Xx(n){try{n.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),n.dispatchEvent(t)}}var O7,sI,m3=Ro.saveAs||("object"!==(typeof window>"u"?"undefined":xa(window))||window!==Ro?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(n,t,e){var r=Ro.URL||Ro.webkitURL,i=document.createElement("a");i.download=t=t||n.name||"download",i.rel="noopener","string"==typeof n?(i.href=n,i.origin!==location.origin?GK(i.href)?oI(n,t,e):Xx(i,i.target="_blank"):Xx(i)):(i.href=r.createObjectURL(n),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){Xx(i)},0))}:"msSaveOrOpenBlob"in navigator?function(n,t,e){if(t=t||n.name||"download","string"==typeof n)if(GK(n))oI(n,t,e);else{var r=document.createElement("a");r.href=n,r.target="_blank",setTimeout(function(){Xx(r)})}else navigator.msSaveOrOpenBlob((i=n,void 0===(o=e)?o={autoBom:!1}:"object"!==xa(o)&&($a.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob([String.fromCharCode(65279),i],{type:i.type}):i),t);var i,o}:function(n,t,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof n)return oI(n,t,e);var i="application/octet-stream"===n.type,o=/constructor/i.test(Ro.HTMLElement)||Ro.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&o)&&"object"===(typeof FileReader>"u"?"undefined":xa(FileReader))){var a=new FileReader;a.onloadend=function(){var f=a.result;f=s?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=f:location=f,r=null},a.readAsDataURL(n)}else{var l=Ro.URL||Ro.webkitURL,u=l.createObjectURL(n);r?r.location=u:location.href=u,r=null,setTimeout(function(){l.revokeObjectURL(u)},4e4)}});function WK(n){var t;n=n||"",this.ok=!1,"#"==n.charAt(0)&&(n=n.substr(1,6)),n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
10",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[n=(n=n.replace(/ /g,"")).toLowerCase()]||n;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(a){return[parseInt(a[1]),parseInt(a[2]),parseInt(a[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}}],r=0;r<e.length;r++){var o=e[r].process,s=e[r].re.exec(n);s&&(t=o(s),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var a=this.r.toString(16),l=this.g.toString(16),u=this.b.toString(16);return 1==a.length&&(a="0"+a),1==l.length&&(l="0"+l),1==u.length&&(u="0"+u),"#"+a+l+u}}function aI(n,t){var e=n[0],r=n[1],i=n[2],o=n[3];e=$u(e,r,i,o,t[0],7,-680876936),o=$u(o,e,r,i,t[1],12,-389564586),i=$u(i,o,e,r,t[2],17,606105819),r=$u(r,i,o,e,t[3],22,-1044525330),e=$u(e,r,i,o,t[4],7,-176418897),o=$u(o,e,r,i,t[5],12,1200080426),i=$u(i,o,e,r,t[6],17,-1473231341),r=$u(r,i,o,e,t[7],22,-45705983),e=$u(e,r,i,o,t[8],7,1770035416),o=$u(o,e,r,i,t[9],12,-1958414417),i=$u(i,o,e,r,t[10],17,-42063),r=$u(r,i,o,e,t[11],22,-1990404162),e=$u(e,r,i,o,t[12],7,1804603682),o=$u(o,e,r,i,t[13],12,-40341101),i=$u(i,o,e,r,t[14],17,-1502002290),e=Gu(e,r=$u(r,i,o,e,t[15],22,1236535329),i,o,t[1],5,-165796510),o=Gu(o,e,r,i,t[6],9,-1069501632),i=Gu(i,o,e,r,t[11],14,643717713),r=Gu(r,i,o,e,t[0],20,-373897302),e=Gu(e,r,i,o,t[5],5,-701558691),o=Gu(o,e,r,i,t[10],9,38016083),i=Gu(i,o,e,r,t[15],14,-660478335),r=Gu(r,i,o,e,t[4],20,-405537848),e=Gu(e,r,i,o,t[9],5,568446438),o=Gu(o,e,r,i,t[14],9,-1019803690),i=Gu(i,o,e,r,t[3],14,-187363961),r=Gu(r,i,o,e,t[8],20,1163531501),e=Gu(e,r,i,o,t[13],5,-1444681467),o=Gu(o,e,r,i,t[2],9,-51403784),i=Gu(i,o,e,r,t[7],14,1735328473),e=Wu(e,r=Gu(r,i,o,e,t[12],20,-1926607734),i,o,t[5],4,-378558),o=Wu(o,e,r,i,t[8],11,-2022574463),i=Wu(i,o,e,r,t[11],16,1839030562),r=Wu(r,i,o,e,t[14],23,-35309556),e=Wu(e,r,i,o,t[1],4,-1530992060),o=Wu(o,e,r,i,t[4],11,1272893353),i=Wu(i,o,e,r,t[7],16,-155497632),r=Wu(r,i,o,e,t[10],23,-1094730640),e=Wu(e,r,i,o,t[13],4,681279174),o=Wu(o,e,r,i,t[0],11,-358537222),i=Wu(i,o,e,r,t[3],16,-722521979),r=Wu(r,i,o,e,t[6],23,76029189),e=Wu(e,r,i,o,t[9],4,-640364487),o=Wu(o,e,r,i,t[12],11,-421815835),i=Wu(i,o,e,r,t[15],16,530742520),e=qu(e,r=Wu(r,i,o,e,t[2],23,-995338651),i,o,t[0],6,-198630844),o=qu(o,e,r,i,t[7],10,1126891415),i=qu(i,o,e,r,t[14],15,-1416354905),r=qu(r,i,o,e,t[5],21,-57434055),e=qu(e,r,i,o,t[12],6,1700485571),o=qu(o,e,r,i,t[3],10,-1894986606),i=qu(i,o,e,r,t[10],15,-1051523),r=qu(r,i,o,e,t[1],21,-2054922799),e=qu(e,r,i,o,t[8],6,1873313359),o=qu(o,e,r,i,t[15],10,-30611744),i=qu(i,o,e,r,t[6],15,-1560198380),r=qu(r,i,o,e,t[13],21,1309151649),e=qu(e,r,i,o,t[4],6,-145523070),o=qu(o,e,r,i,t[11],10,-1120210379),i=qu(i,o,e,r,t[2],15,718787259),r=qu(r,i,o,e,t[9],21,-343485551),n[0]=Gp(e,n[0]),n[1]=Gp(r,n[1]),n[2]=Gp(i,n[2]),n[3]=Gp(o,n[3])}function Zx(n,t,e,r,i,o){return t=Gp(Gp(t,n),Gp(r,o)),Gp(t<<i|t>>>32-i,e)}function $u(n,t,e,r,i,o,s){return Zx(t&e|~t&r,n,t,i,o,s)}function Gu(n,t,e,r,i,o,s){return Zx(t&r|e&~r,n,t,i,o,s)}function Wu(n,t,e,r,i,o,s){return Zx(t^e^r,n,t,i,o,s)}function qu(n,t,e,r,i,o,s){return Zx(e^(t|~r),n,t,i,o,s)}function qK(n){var t,e=n.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=n.length;t+=64)aI(r,EAe(n.substring(t-64,t)));n=n.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<n.length;t++)i[t>>2]|=n.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(aI(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*e,aI(r,i),r}function EAe(n){var t,e=[];for(t=0;t<64;t+=4)e[t>>2]=n.charCodeAt(t)+(n.charCodeAt(t+1)<<8)+(n.charCodeAt(t+2)<<16)+(n.charCodeAt(t+3)<<24);return e}
vendor: 5,501 bytes, line 1
1O7=Ro.atob.bind(Ro),sI=Ro.btoa.bind(Ro);var YK="0123456789abcdef".split("");function AAe(n){for(var t="",e=0;e<4;e++)t+=YK[n>>8*e+4&15]+YK[n>>8*e&15];return t}function MAe(n){return String.fromCharCode((255&n)>>0,(65280&n)>>8,(16711680&n)>>16,(4278190080&n)>>24)}function lI(n){return qK(n).map(MAe).join("")}var DAe="5d41402abc4b2a76b9719d911017c592"!=function(n){for(var t=0;t<n.length;t++)n[t]=AAe(n[t]);return n.join("")}(qK("hello"));function Gp(n,t){if(DAe){var e=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(e>>16)<<16|65535&e}return n+t&4294967295}function cI(n,t){var e,r,i;if(n!==e){for(var s=(i=n,new Array(1+(256/n.length>>0)+1).join(i)),a=[],l=0;l<256;l++)a[l]=l;var u=0;for(l=0;l<256;l++){var f=a[l];u=(u+f+s.charCodeAt(l))%256,a[l]=a[u],a[u]=f}e=n,r=a}else a=r;var h=t.length,v=0,m=0,x="";for(l=0;l<h;l++)m=(m+(f=a[v=(v+1)%256]))%256,a[v]=a[m],a[m]=f,s=a[(a[v]+a[m])%256],x+=String.fromCharCode(t.charCodeAt(l)^s);return x}var KK={print:4,modify:8,copy:16,"annot-forms":32};function n5(n,t,e,r){this.v=1,this.r=2;var i=192;n.forEach(function(a){if(void 0!==KK.perm)throw new Error("Invalid permission: "+a);i+=KK[a]}),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var o=(t+this.padding).substr(0,32),s=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,s),this.P=-(1+(255^i)),this.encryptionKey=lI(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=cI(this.encryptionKey,this.padding)}function r5(n){if(/[^\u0000-\u00ff]/.test(n))throw new Error("Invalid PDF Name Object: "+n+", Only accept ASCII characters.");for(var t="",e=n.length,r=0;r<e;r++){var i=n.charCodeAt(r);t+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):n[r]}return t}function XK(n){if("object"!==xa(n))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,r,i){if(i=i||!1,"string"!=typeof e||"function"!=typeof r||"boolean"!=typeof i)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var o=Math.random().toString(35);return t[e][o]=[r,!!i],o},this.unsubscribe=function(e){for(var r in t)if(t[r][e])return delete t[r][e],0===Object.keys(t[r]).length&&delete t[r],!0;return!1},this.publish=function(e){if(t.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in t[e]){var s=t[e][o];try{s[0].apply(n,r)}catch(a){Ro.console&&$a.error("jsPDF PubSub Error",a.message,a)}s[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function g3(n){if(!(this instanceof g3))return new g3(n);var t="opacity,stroke-opacity".split(",");for(var e in n)n.hasOwnProperty(e)&&t.indexOf(e)>=0&&(this[e]=n[e]);this.id="",this.objectNumber=-1}function ZK(n,t){this.gState=n,this.matrix=t,this.id="",this.objectNumber=-1}function Wp(n,t,e,r,i){if(!(this instanceof Wp))return new Wp(n,t,e,r,i);this.type="axial"===n?2:3,this.coords=t,this.colors=e,ZK.call(this,r,i)}function v3(n,t,e,r,i){if(!(this instanceof v3))return new v3(n,t,e,r,i);this.boundingBox=n,this.xStep=t,this.yStep=e,this.stream="",this.cloneIndex=0,ZK.call(this,r,i)}function bo(n){var t,e="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],i=arguments[2],o=arguments[3],s=[],a=1,l=16,u="S",f=null;"object"===xa(n=n||{})&&(e=n.orientation,r=n.unit||r,i=n.format||i,o=n.compress||n.compressPdf||o,null!==(f=n.encryption||null)&&(f.userPassword=f.userPassword||"",f.ownerPassword=f.ownerPassword||"",f.userPermissions=f.userPermissions||[]),a="number"==typeof n.userUnit?Math.abs(n.userUnit):1,void 0!==n.precision&&(t=n.precision),void 0!==n.floatPrecision&&(l=n.floatPrecision),u=n.defaultPathOperation||"S"),s=n.filters||(!0===o?["FlateEncode"]:s),r=r||"mm",e=(""+(e||"P")).toLowerCase();var h=n.putOnlyUsedFonts||!1,v={},m={internal:{},__private__:{}};m.__private__.PubSub=XK;var x="1.3",p=m.__private__.getPdfVersion=function(){return x};m.__private__.setPdfVersion=function(K){x=K};var P={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};m.__private__.getPageFormats=function(){return P};var T=m.__private__.getPageFormat=function(K){return P[K]};i=i||"a4";var H={COMPAT:"compat",ADVANCED:"advanced"},U=H.COMPAT;function ee(){this.saveGraphicsState(),_t(new lr(Kr,0,0,-Kr,0,yh()*Kr).toString()+" cm"),this.setFontSize(this.getFontSize()/Kr),u="n",U=H.ADVANCED}function ie(){this.restoreGraphicsState(),u="S",U=H.COMPAT}var me=m.__private__.combineFontStyleAndFontWeight=function(K,Be){if("bold"==K&&"normal"==Be||"bold"==K&&400==Be||"normal"==K&&"italic"==Be||"bold"==K&&"italic"==Be)throw new Error("Invalid Combination of fontweight and fontstyle");
vendor: 4,136 bytes, line 1
1return Be&&(K=400==Be||"normal"===Be?"italic"===K?"italic":"normal":700!=Be&&"bold"!==Be||"normal"!==K?(700==Be?"bold":Be)+""+K:"bold"),K};m.advancedAPI=function(K){var Be=U===H.COMPAT;return Be&&ee.call(this),"function"!=typeof K||(K(this),Be&&ie.call(this)),this},m.compatAPI=function(K){var Be=U===H.ADVANCED;return Be&&ie.call(this),"function"!=typeof K||(K(this),Be&&ee.call(this)),this},m.isAdvancedAPI=function(){return U===H.ADVANCED};var ue,Se=function(K){if(U!==H.ADVANCED)throw new Error(K+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Ue=m.roundToPrecision=m.__private__.roundToPrecision=function(K,Be){var It=t||Be;if(isNaN(K)||isNaN(It))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return K.toFixed(It).replace(/0+$/,"")};ue=m.hpf=m.__private__.hpf="number"==typeof l?function(K){if(isNaN(K))throw new Error("Invalid argument passed to jsPDF.hpf");return Ue(K,l)}:"smart"===l?function(K){if(isNaN(K))throw new Error("Invalid argument passed to jsPDF.hpf");return Ue(K,K>-1&&K<1?16:5)}:function(K){if(isNaN(K))throw new Error("Invalid argument passed to jsPDF.hpf");return Ue(K,16)};var it=m.f2=m.__private__.f2=function(K){if(isNaN(K))throw new Error("Invalid argument passed to jsPDF.f2");return Ue(K,2)},ye=m.__private__.f3=function(K){if(isNaN(K))throw new Error("Invalid argument passed to jsPDF.f3");return Ue(K,3)},xe=m.scale=m.__private__.scale=function(K){if(isNaN(K))throw new Error("Invalid argument passed to jsPDF.scale");return U===H.COMPAT?K*Kr:U===H.ADVANCED?K:void 0},ze=function(K){return U===H.COMPAT?yh()-K:U===H.ADVANCED?K:void 0},qe=function(K){return xe(ze(K))};m.__private__.setPrecision=m.setPrecision=function(K){"number"==typeof parseInt(K,10)&&(t=parseInt(K,10))};var Et,Ne="00000000000000000000000000000000",je=m.__private__.getFileId=function(){return Ne},we=m.__private__.setFileId=function(K){return Ne=void 0!==K&&/^[a-fA-F0-9]{32}$/.test(K)?K.toUpperCase():Ne.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==f&&(hu=new n5(f.userPermissions,f.userPassword,f.ownerPassword,Ne)),Ne};m.setFileId=function(K){return we(K),this},m.getFileId=function(){return je()};var Ke=m.__private__.convertDateToPDFDate=function(K){var Be=K.getTimezoneOffset(),It=Be<0?"+":"-",Zt=Math.floor(Math.abs(Be/60)),Tn=Math.abs(Be%60),nr=[It,Xe(Zt),"'",Xe(Tn),"'"].join("");return["D:",K.getFullYear(),Xe(K.getMonth()+1),Xe(K.getDate()),Xe(K.getHours()),Xe(K.getMinutes()),Xe(K.getSeconds()),nr].join("")},dt=m.__private__.convertPDFDateToDate=function(K){var Be=parseInt(K.substr(2,4),10),It=parseInt(K.substr(6,2),10)-1,Zt=parseInt(K.substr(8,2),10),Tn=parseInt(K.substr(10,2),10),nr=parseInt(K.substr(12,2),10),Rr=parseInt(K.substr(14,2),10);return new Date(Be,It,Zt,Tn,nr,Rr,0)},Tt=m.__private__.setCreationDate=function(K){var Be;if(void 0===K&&(K=new Date),K instanceof Date)Be=Ke(K);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(K))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Be=K}return Et=Be},Ae=m.__private__.getCreationDate=function(K){var Be=Et;return"jsDate"===K&&(Be=dt(Et)),Be};m.setCreationDate=function(K){return Tt(K),this},m.getCreationDate=function(K){return Ae(K)};var Pe,Xe=m.__private__.padd2=function(K){return("0"+parseInt(K)).slice(-2)},$e=m.__private__.padd2Hex=function(K){return("00"+(K=K.toString())).substr(K.length)},Me=0,De=[],gt=[],Rt=0,kt=[],rn=[],In=!1,Xn=gt,Cr=function(){Me=0,Rt=0,gt=[],De=[],kt=[],Po=Lo(),xs=Lo()};m.__private__.setCustomOutputDestination=function(K){In=!0,Xn=K};var xn=function(K){In||(Xn=K)};m.__private__.resetCustomOutputDestination=function(){In=!1,Xn=gt};var _t=m.__private__.out=function(K){return K=K.toString(),Rt+=K.length+1,Xn.push(K),Xn},Or=m.__private__.write=function(K){return _t(1===arguments.length?K.toString():Array.prototype.join.call(arguments," "))},Q=m.__private__.getArrayBuffer=function(K){for(var Be=K.length,It=new ArrayBuffer(
vendor: 4,204 bytes, line 1
1Be),Zt=new Uint8Array(It);Be--;)Zt[Be]=K.charCodeAt(Be);return It},fe=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];m.__private__.getStandardFonts=function(){return fe};var Ce=n.fontSize||16;m.__private__.setFontSize=m.setFontSize=function(K){return Ce=U===H.ADVANCED?K/Kr:K,this};var mt,bt=m.__private__.getFontSize=m.getFontSize=function(){return U===H.COMPAT?Ce:Ce*Kr},zt=n.R2L||!1;m.__private__.setR2L=m.setR2L=function(K){return zt=K,this},m.__private__.getR2L=m.getR2L=function(){return zt};var hn,wr=m.__private__.setZoomMode=function(K){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(K))mt=K;else if(isNaN(K)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(K))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+K+'" is not recognized.');mt=K}else mt=parseInt(K,10)};m.__private__.getZoomMode=function(){return mt};var Fr,li=m.__private__.setPageMode=function(K){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(K))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+K+'" is not recognized.');hn=K};m.__private__.getPageMode=function(){return hn};var ci=m.__private__.setLayoutMode=function(K){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(K))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+K+'" is not recognized.');Fr=K};m.__private__.getLayoutMode=function(){return Fr},m.__private__.setDisplayMode=m.setDisplayMode=function(K,Be,It){return wr(K),ci(Be),li(It),this};var Qr={title:"",subject:"",author:"",keywords:"",creator:""};m.__private__.getDocumentProperty=function(K){if(-1===Object.keys(Qr).indexOf(K))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Qr[K]},m.__private__.getDocumentProperties=function(){return Qr},m.__private__.setDocumentProperties=m.setProperties=m.setDocumentProperties=function(K){for(var Be in Qr)Qr.hasOwnProperty(Be)&&K[Be]&&(Qr[Be]=K[Be]);return this},m.__private__.setDocumentProperty=function(K,Be){if(-1===Object.keys(Qr).indexOf(K))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Qr[K]=Be};var so,Kr,os,Hn,En,Qn={},$r={},ao=[],Ri={},cs={},dn={},Yn={},dr=null,kr=0,_r=[],zr=new XK(m),Ni=n.hotfixes||[],zo={},Ft={},er=[],lr=function K(Be,It,Zt,Tn,nr,Rr){if(!(this instanceof K))return new K(Be,It,Zt,Tn,nr,Rr);isNaN(Be)&&(Be=1),isNaN(It)&&(It=0),isNaN(Zt)&&(Zt=0),isNaN(Tn)&&(Tn=1),isNaN(nr)&&(nr=0),isNaN(Rr)&&(Rr=0),this._matrix=[Be,It,Zt,Tn,nr,Rr]};Object.defineProperty(lr.prototype,"sx",{get:function(){return this._matrix[0]},set:function(K){this._matrix[0]=K}}),Object.defineProperty(lr.prototype,"shy",{get:function(){return this._matrix[1]},set:function(K){this._matrix[1]=K}}),Object.defineProperty(lr.prototype,"shx",{get:function(){return this._matrix[2]},set:function(K){this._matrix[2]=K}}),Object.defineProperty(lr.prototype,"sy",{get:function(){return this._matrix[3]},set:function(K){this._matrix[3]=K}}),Object.defineProperty(lr.prototype,"tx",{get:function(){return this._matrix[4]},set:function(K){this._matrix[4]=K}}),Object.defineProperty(lr.prototype,"ty",{get:function(){return this._matrix[5]},set:function(K){this._matrix[5]=K}}),Object.defineProperty(lr.prototype,"a",{get:function(){return this._matrix[0]},set:function(K){this._matrix[0]=K}}),Object.defineProperty(lr.prototype,"b",{get:function(){return this._matrix[
vendor: 4,158 bytes, line 1
11]},set:function(K){this._matrix[1]=K}}),Object.defineProperty(lr.prototype,"c",{get:function(){return this._matrix[2]},set:function(K){this._matrix[2]=K}}),Object.defineProperty(lr.prototype,"d",{get:function(){return this._matrix[3]},set:function(K){this._matrix[3]=K}}),Object.defineProperty(lr.prototype,"e",{get:function(){return this._matrix[4]},set:function(K){this._matrix[4]=K}}),Object.defineProperty(lr.prototype,"f",{get:function(){return this._matrix[5]},set:function(K){this._matrix[5]=K}}),Object.defineProperty(lr.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(lr.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(lr.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(lr.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),lr.prototype.join=function(K){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(ue).join(K)},lr.prototype.multiply=function(K){return new lr(K.sx*this.sx+K.shy*this.shx,K.sx*this.shy+K.shy*this.sy,K.shx*this.sx+K.sy*this.shx,K.shx*this.shy+K.sy*this.sy,K.tx*this.sx+K.ty*this.shx+this.tx,K.tx*this.shy+K.ty*this.sy+this.ty)},lr.prototype.decompose=function(){var K=this.sx,Be=this.shy,It=this.shx,Zt=this.sy,Tn=this.tx,nr=this.ty,Rr=Math.sqrt(K*K+Be*Be),vi=(K/=Rr)*It+(Be/=Rr)*Zt;It-=K*vi,Zt-=Be*vi;var Ot=Math.sqrt(It*It+Zt*Zt);return vi/=Ot,K*(Zt/=Ot)<Be*(It/=Ot)&&(K=-K,Be=-Be,vi=-vi,Rr=-Rr),{scale:new lr(Rr,0,0,Ot,0,0),translate:new lr(1,0,0,1,Tn,nr),rotate:new lr(K,Be,-Be,K,0,0),skew:new lr(1,0,vi,1,0,0)}},lr.prototype.toString=function(K){return this.join(" ")},lr.prototype.inversed=function(){var K=this.sx,Be=this.shy,It=this.shx,Zt=this.sy,Tn=this.tx,nr=this.ty,Rr=1/(K*Zt-Be*It),vi=Zt*Rr,Ot=-Be*Rr,ne=-It*Rr,de=K*Rr;return new lr(vi,Ot,ne,de,-vi*Tn-ne*nr,-Ot*Tn-de*nr)},lr.prototype.applyToPoint=function(K){return new k0(K.x*this.sx+K.y*this.shx+this.tx,K.x*this.shy+K.y*this.sy+this.ty)},lr.prototype.applyToRectangle=function(K){var Be=this.applyToPoint(K),It=this.applyToPoint(new k0(K.x+K.w,K.y+K.h));return new u4(Be.x,Be.y,It.x-Be.x,It.y-Be.y)},lr.prototype.clone=function(){return new lr(this.sx,this.shy,this.shx,this.sy,this.tx,this.ty)},m.Matrix=lr;var Gr=m.matrixMult=function(K,Be){return Be.multiply(K)},ei=new lr(1,0,0,1,0,0);m.unitMatrix=m.identityMatrix=ei;var Tr=function(K,Be){if(!cs[K]){var It=(Be instanceof Wp?"Sh":"P")+(Object.keys(Ri).length+1).toString(10);Be.id=It,cs[K]=It,Ri[It]=Be,zr.publish("addPattern",Be)}};m.ShadingPattern=Wp,m.TilingPattern=v3,m.addShadingPattern=function(K,Be){return Se("addShadingPattern()"),Tr(K,Be),this},m.beginTilingPattern=function(K){Se("beginTilingPattern()"),f4(K.boundingBox[0],K.boundingBox[1],K.boundingBox[2]-K.boundingBox[0],K.boundingBox[3]-K.boundingBox[1],K.matrix)},m.endTilingPattern=function(K,Be){Se("endTilingPattern()"),Be.stream=rn[Pe].join("\n"),Tr(K,Be),zr.publish("endTilingPattern",Be),er.pop().restore()};var Xi=m.__private__.newObject=function(){var K=Lo();return Ps(K,!0),K},Lo=m.__private__.newObjectDeferred=function(){return Me++,De[Me]=function(){return Rt},Me},Ps=function(K,Be){return Be="boolean"==typeof Be&&Be,De[K]=Rt,Be&&_t(K+" 0 obj"),K},qo=m.__private__.newAdditionalObject=function(){var K={objId:Lo(),content:""};return kt.push(K),K},Po=Lo(),xs=Lo(),Yl=m.__private__.decodeColorString=function(K){var Be=K.split(" ");if(2!==Be.length||"g"!==Be[1]&&"G"!==Be[1])5===Be.length&&("k"===Be[4]||"K"===Be[4])&&(Be=[(1-Be[0])*(1-Be[3]),(1-Be[1])*(1-Be[3]),(1-Be[2])*(1-Be[3]),"r"]);else{var It=parseFloat(Be[0]);Be=[It,It,It,"r"]}for(var Zt="#",Tn=0;Tn<3;Tn++)Zt+=("0"+Math.floor(255*parseFloat(Be[Tn])).toString(16)).slice(-2);return Zt},rl=m.__private__.encodeColorString=function(K){var Be;"string"==typeof K&&(K={ch1:K});var It=K.ch1,Zt=K.ch2,Tn=K.ch3,nr=K.ch4,Rr="draw"===K.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof It&&"#"!==It.charAt(0)){var vi=new WK(It);if(vi.ok)It=vi.toHex();else if(!/^\d*\.?\d*$/.test(It))throw new Error('Invalid color "'+It+'" passed to
1jsPDF.encodeColorString.')}if("string"==typeof It&&/^#[0-9A-Fa-f]{3}$/.test(It)&&(It="#"+It[1]+It[1]+It[2]+It[2]+It[3]+It[3]),"string"==typeof It&&/^#[0-9A-Fa-f]{6}$/.test(It)){var Ot=parseInt(It.substr(1),16);It=Ot>>16&255,Zt=Ot>>8&255,Tn=255&Ot}if(void 0===Zt||void 0===nr&&It===Zt&&Zt===Tn)Be="string"==typeof It?It+" "+Rr[0]:2===K.precision?it(It/255)+" "+Rr[0]:ye(It/255)+" "+Rr[0];else if(void 0===nr||"object"===xa(nr)){if(nr&&!isNaN(nr.a)&&0===nr.a)return["1.","1.","1.",Rr[1]].join(" ");Be="string"==typeof It?[It,Zt,Tn,Rr[1]].join(" "):2===K.precision?[it(It/255),it(Zt/255),it(Tn/255),Rr[1]].join(" "):[ye(It/255),ye(Zt/255),ye(Tn/255),Rr[1]].join(" ")}else Be="string"==typeof It?[It,Zt,Tn,nr,Rr[2]].join(" "):2===K.precision?[it(It),it(Zt),it(Tn),it(nr),Rr[2]].join(" "):[ye(It),ye(Zt),ye(Tn),ye(nr),Rr[2]].join(" ");return Be},Au=m.__private__.getFilters=function(){return s},du=m.__private__.putStream=function(K){var Be=(K=K||{}).data||"",It=K.filters||Au(),Zt=K.alreadyAppliedFilters||[],Tn=K.addLength1||!1,nr=Be.length,Rr=K.objectId,vi=function(Pt){return Pt};if(null!==f&&void 0===Rr)throw new Error("ObjectId must be passed to putStream for file encryption");null!==f&&(vi=hu.encryptor(Rr,0));var Ot={};!0===It&&(It=["FlateEncode"]);var ne=K.additionalKeyValues||[],de=(Ot=void 0!==bo.API.processDataByFilters?bo.API.processDataByFilters(Be,It):{data:Be,reverseChain:[]}).reverseChain+(Array.isArray(Zt)?Zt.join(" "):Zt.toString());if(0!==Ot.data.length&&(ne.push({key:"Length",value:Ot.data.length}),!0===Tn&&ne.push({key:"Length1",value:nr})),0!=de.length)if(de.split("/").length-1==1)ne.push({key:"Filter",value:de});else{ne.push({key:"Filter",value:"["+de+"]"});for(var Ee=0;Ee<ne.length;Ee+=1)if("DecodeParms"===ne[Ee].key){for(var Le=[],Je=0;Je<Ot.reverseChain.split("/").length-1;Je+=1)Le.push("null");Le.push(ne[Ee].value),ne[Ee].value="["+Le.join(" ")+"]"}}_t("<<");for(var Lt=0;Lt<ne.length;Lt++)_t("/"+ne[Lt].key+" "+ne[Lt].value);_t(">>"),0!==Ot.data.length&&(_t("stream"),_t(vi(Ot.data)),_t("endstream"))},d1=m.__private__.putPage=function(K){var Be=K.number,It=K.data,Zt=K.objId,Tn=K.contentsObjId;Ps(Zt,!0),_t("<</Type /Page"),_t("/Parent "+K.rootDictionaryObjId+" 0 R"),_t("/Resources "+K.resourceDictionaryObjId+" 0 R"),_t("/MediaBox ["+parseFloat(ue(K.mediaBox.bottomLeftX))+" "+parseFloat(ue(K.mediaBox.bottomLeftY))+" "+ue(K.mediaBox.topRightX)+" "+ue(K.mediaBox.topRightY)+"]"),null!==K.cropBox&&_t("/CropBox ["+ue(K.cropBox.bottomLeftX)+" "+ue(K.cropBox.bottomLeftY)+" "+ue(K.cropBox.topRightX)+" "+ue(K.cropBox.topRightY)+"]"),null!==K.bleedBox&&_t("/BleedBox ["+ue(K.bleedBox.bottomLeftX)+" "+ue(K.bleedBox.bottomLeftY)+" "+ue(K.bleedBox.topRightX)+" "+ue(K.bleedBox.topRightY)+"]"),null!==K.trimBox&&_t("/TrimBox ["+ue(K.trimBox.bottomLeftX)+" "+ue(K.trimBox.bottomLeftY)+" "+ue(K.trimBox.topRightX)+" "+ue(K.trimBox.topRightY)+"]"),null!==K.artBox&&_t("/ArtBox ["+ue(K.artBox.bottomLeftX)+" "+ue(K.artBox.bottomLeftY)+" "+ue(K.artBox.topRightX)+" "+ue(K.artBox.topRightY)+"]"),"number"==typeof K.userUnit&&1!==K.userUnit&&_t("/UserUnit "+K.userUnit),zr.publish("putPage",{objId:Zt,pageContext:_r[Be],pageNumber:Be,page:It}),_t("/Contents "+Tn+" 0 R"),_t(">>"),_t("endobj");var nr=It.join("\n");return U===H.ADVANCED&&(nr+="\nQ"),Ps(Tn,!0),du({data:nr,filters:Au(),objectId:Tn}),_t("endobj"),Zt},h1=m.__private__.putPages=function(){var K,Be,It=[];for(K=1;K<=kr;K++)_r[K].objId=Lo(),_r[K].contentsObjId=Lo();for(K=1;K<=kr;K++)It.push(d1({number:K,data:rn[K],objId:_r[K].objId,contentsObjId:_r[K].contentsObjId,mediaBox:_r[K].mediaBox,cropBox:_r[K].cropBox,bleedBox:_r[K].bleedBox,trimBox:_r[K].trimBox,artBox:_r[K].artBox,userUnit:_r[K].userUnit,rootDictionaryObjId:Po,resourceDictionaryObjId:xs}));Ps(Po,!0),_t("<</Type /Pages");var Zt="/Kids [";for(Be=0;Be<kr;Be++)Zt+=It[Be]+" 0 R ";_t(Zt+"]"),_t("/Count "+kr),_t(">>"),_t("endobj"),zr.publish("postPutPages")},y2=function(K){zr.publish("putFont",{font:K,out:_t,newObject:Xi,putStream:du}),!0!==K.isAlreadyPutted&&(K.objectNumber=Xi(),_t("<<"),_t("/Type /Font"),_t("/BaseFont /"+r5(K.postScriptName)),_t("/Subtype /Type1"),"string"==typeof K.encoding&&_t("/Encoding /"+K.encoding),_t("/FirstChar 32"),_t("/LastChar 255"),_t(">>
1"),_t("endobj"))},xf=function(){for(var K in Qn)Qn.hasOwnProperty(K)&&(!1===h||!0===h&&v.hasOwnProperty(K))&&y2(Qn[K])},hd=function(K){K.objectNumber=Xi();var Be=[];Be.push({key:"Type",value:"/XObject"}),Be.push({key:"Subtype",value:"/Form"}),Be.push({key:"BBox",value:"["+[ue(K.x),ue(K.y),ue(K.x+K.width),ue(K.y+K.height)].join(" ")+"]"}),Be.push({key:"Matrix",value:"["+K.matrix.toString()+"]"});var It=K.pages[1].join("\n");du({data:It,additionalKeyValues:Be,objectId:K.objectNumber}),_t("endobj")},pd=function(){for(var K in zo)zo.hasOwnProperty(K)&&hd(zo[K])},E0=function(K,Be){var It,Zt=[],Tn=1/(Be-1);for(It=0;It<1;It+=Tn)Zt.push(It);Zt.push(1),0!=K[0].offset&&K.unshift({offset:0,color:K[0].color}),1!=K[K.length-1].offset&&K.push({offset:1,color:K[K.length-1].color});for(var vi="",Ot=0,ne=0;ne<Zt.length;ne++){for(It=Zt[ne];It>K[Ot+1].offset;)Ot++;var de=K[Ot].offset,Ee=(It-de)/(K[Ot+1].offset-de),Le=K[Ot].color,Je=K[Ot+1].color;vi+=$e(Math.round((1-Ee)*Le[0]+Ee*Je[0]).toString(16))+$e(Math.round((1-Ee)*Le[1]+Ee*Je[1]).toString(16))+$e(Math.round((1-Ee)*Le[2]+Ee*Je[2]).toString(16))}return vi.trim()},A0=function(K,Be){Be||(Be=21);var It=Xi(),Zt=E0(K.colors,Be),Tn=[];Tn.push({key:"FunctionType",value:"0"}),Tn.push({key:"Domain",value:"[0.0 1.0]"}),Tn.push({key:"Size",value:"["+Be+"]"}),Tn.push({key:"BitsPerSample",value:"8"}),Tn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Tn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),du({data:Zt,additionalKeyValues:Tn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:It}),_t("endobj"),K.objectNumber=Xi(),_t("<< /ShadingType "+K.type),_t("/ColorSpace /DeviceRGB");var nr="/Coords ["+ue(parseFloat(K.coords[0]))+" "+ue(parseFloat(K.coords[1]))+" ";nr+=2===K.type?ue(parseFloat(K.coords[2]))+" "+ue(parseFloat(K.coords[3])):ue(parseFloat(K.coords[2]))+" "+ue(parseFloat(K.coords[3]))+" "+ue(parseFloat(K.coords[4]))+" "+ue(parseFloat(K.coords[5])),_t(nr+="]"),K.matrix&&_t("/Matrix ["+K.matrix.toString()+"]"),_t("/Function "+It+" 0 R"),_t("/Extend [true true]"),_t(">>"),_t("endobj")},x3=function(K,Be){var It=Lo(),Zt=Xi();Be.push({resourcesOid:It,objectOid:Zt}),K.objectNumber=Zt;var Tn=[];Tn.push({key:"Type",value:"/Pattern"}),Tn.push({key:"PatternType",value:"1"}),Tn.push({key:"PaintType",value:"1"}),Tn.push({key:"TilingType",value:"1"}),Tn.push({key:"BBox",value:"["+K.boundingBox.map(ue).join(" ")+"]"}),Tn.push({key:"XStep",value:ue(K.xStep)}),Tn.push({key:"YStep",value:ue(K.yStep)}),Tn.push({key:"Resources",value:It+" 0 R"}),K.matrix&&Tn.push({key:"Matrix",value:"["+K.matrix.toString()+"]"}),du({data:K.stream,additionalKeyValues:Tn,objectId:K.objectNumber}),_t("endobj")},md=function(K){var Be;for(Be in Ri)Ri.hasOwnProperty(Be)&&(Ri[Be]instanceof Wp?A0(Ri[Be]):Ri[Be]instanceof v3&&x3(Ri[Be],K))},lo=function(K){for(var Be in K.objectNumber=Xi(),_t("<<"),K)switch(Be){case"opacity":_t("/ca "+it(K[Be]));break;case"stroke-opacity":_t("/CA "+it(K[Be]))}_t(">>"),_t("endobj")},co=function(){var K;for(K in dn)dn.hasOwnProperty(K)&&lo(dn[K])},us=function(){for(var K in _t("/XObject <<"),zo)zo.hasOwnProperty(K)&&zo[K].objectNumber>=0&&_t("/"+K+" "+zo[K].objectNumber+" 0 R");zr.publish("putXobjectDict"),_t(">>")},Mu=function(){hu.oid=Xi(),_t("<<"),_t("/Filter /Standard"),_t("/V "+hu.v),_t("/R "+hu.r),_t("/U <"+hu.toHexString(hu.U)+">"),_t("/O <"+hu.toHexString(hu.O)+">"),_t("/P "+hu.P),_t(">>"),_t("endobj")},b2=function(){for(var K in _t("/Font <<"),Qn)Qn.hasOwnProperty(K)&&(!1===h||!0===h&&v.hasOwnProperty(K))&&_t("/"+K+" "+Qn[K].objectNumber+" 0 R");_t(">>")},gd=function(){if(Object.keys(Ri).length>0){for(var K in _t("/Shading <<"),Ri)Ri.hasOwnProperty(K)&&Ri[K]instanceof Wp&&Ri[K].objectNumber>=0&&_t("/"+K+" "+Ri[K].objectNumber+" 0 R");zr.publish("putShadingPatternDict"),_t(">>")}},wf=function(K){if(Object.keys(Ri).length>0){for(var Be in _t("/Pattern <<"),Ri)Ri.hasOwnProperty(Be)&&Ri[Be]instanceof m.TilingPattern&&Ri[Be].objectNumber>=0&&Ri[Be].objectNumber<K&&_t("/"+Be+" "+Ri[Be].objectNumber+" 0 R");zr.publish("putTilingPatternDict"),_t(">>")}},w3=function(){if(Object.keys(dn).length>0){var K;for(K in _t("/ExtGState <<"),dn)dn.hasOwnProperty(K)&&dn[K].objectNumber>=0&&_t("/"+K+" "+dn[K].objectNumber+" 0 R");zr.publish("putGStateDict"),_t(">>")}},Wa=function(K){Ps(K.resourcesOid,!0),_t("<<"),_t("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),b2(),gd(),wf(K.objectOid),w3(),us(),_t(">>
1"),_t("endobj")},p5=function(){var K=[];xf(),co(),pd(),md(K),zr.publish("putResources"),K.forEach(Wa),Wa({resourcesOid:xs,objectOid:Number.MAX_SAFE_INTEGER}),zr.publish("postPutResources")},C3=function(){zr.publish("putAdditionalObjects");for(var K=0;K<kt.length;K++){var Be=kt[K];Ps(Be.objId,!0),_t(Be.content),_t("endobj")}zr.publish("postPutAdditionalObjects")},m5=function(K){$r[K.fontName]=$r[K.fontName]||{},$r[K.fontName][K.fontStyle]=K.id},e4=function(K,Be,It,Zt,Tn){var nr={id:"F"+(Object.keys(Qn).length+1).toString(10),postScriptName:K,fontName:Be,fontStyle:It,encoding:Zt,isStandardFont:Tn||!1,metadata:{}};return zr.publish("addFont",{font:nr,instance:this}),Qn[nr.id]=nr,m5(nr),nr.id},g5=function(K){for(var Be=0,It=fe.length;Be<It;Be++){var Zt=e4.call(this,K[Be][0],K[Be][1],K[Be][2],fe[Be][3],!0);!1===h&&(v[Zt]=!0);var Tn=K[Be][0].split("-");m5({id:Zt,fontName:Tn[0],fontStyle:Tn[1]||""})}zr.publish("addFonts",{fonts:Qn,dictionary:$r})},qa=function(K){return K.foo=function(){try{return K.apply(this,arguments)}catch(Zt){var Be=Zt.stack||"";~Be.indexOf(" at ")&&(Be=Be.split(" at ")[1]);var It="Error in function "+Be.split("\n")[0].split("<")[0]+": "+Zt.message;if(!Ro.console)throw new Error(It);Ro.console.error(It,Zt),Ro.alert&&alert(It)}},K.foo.bar=K,K.foo},t4=function(K,Be){var It,Zt,Tn,nr,Rr,vi,Ot,ne,de;if(Tn=(Be=Be||{}).sourceEncoding||"Unicode",Rr=Be.outputEncoding,(Be.autoencode||Rr)&&Qn[so].metadata&&Qn[so].metadata[Tn]&&Qn[so].metadata[Tn].encoding&&(nr=Qn[so].metadata[Tn].encoding,!Rr&&Qn[so].encoding&&(Rr=Qn[so].encoding),!Rr&&nr.codePages&&(Rr=nr.codePages[0]),"string"==typeof Rr&&(Rr=nr[Rr]),Rr)){for(Ot=!1,vi=[],It=0,Zt=K.length;It<Zt;It++)(ne=Rr[K.charCodeAt(It)])?vi.push(String.fromCharCode(ne)):vi.push(K[It]),vi[It].charCodeAt(0)>>8&&(Ot=!0);K=vi.join("")}for(It=K.length;void 0===Ot&&0!==It;)K.charCodeAt(It-1)>>8&&(Ot=!0),It--;if(!Ot)return K;for(vi=Be.noBOM?[]:[254,255],It=0,Zt=K.length;It<Zt;It++){if((de=(ne=K.charCodeAt(It))>>8)>>8)throw new Error("Character at position "+It+" of string '"+K+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");vi.push(de),vi.push(ne-(de<<8))}return String.fromCharCode.apply(void 0,vi)},Rc=m.__private__.pdfEscape=m.pdfEscape=function(K,Be){return t4(K,Be).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},S3=m.__private__.beginPage=function(K){rn[++kr]=[],_r[kr]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(K[0]),topRightY:Number(K[1])}},v5(kr),xn(rn[Pe])},n4=function(K,Be){var It,Zt,Tn;switch(e=Be||e,"string"==typeof K&&(It=T(K.toLowerCase()),Array.isArray(It)&&(Zt=It[0],Tn=It[1])),Array.isArray(K)&&(Zt=K[0]*Kr,Tn=K[1]*Kr),isNaN(Zt)&&(Zt=i[0],Tn=i[1]),(Zt>14400||Tn>14400)&&($a.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Zt=Math.min(14400,Zt),Tn=Math.min(14400,Tn)),i=[Zt,Tn],e.substr(0,1)){case"l":Tn>Zt&&(i=[Tn,Zt]);break;case"p":Zt>Tn&&(i=[Tn,Zt])}S3(i),M5(A3),_t($1),0!==c4&&_t(c4+" J"),0!==Cf&&_t(Cf+" j"),zr.publish("addPage",{pageNumber:kr})},z7=function(K){K>0&&K<=kr&&(rn.splice(K,1),_r.splice(K,1),kr--,Pe>kr&&(Pe=kr),this.setPage(Pe))},v5=function(K){K>0&&K<=kr&&(Pe=K)},y5=m.__private__.getNumberOfPages=m.getNumberOfPages=function(){return rn.length-1},b5=function(K,Be,It){var Zt,Tn=void 0;return It=It||{},Be=void 0!==Be?Be:Qn[so].fontStyle,Zt=(K=void 0!==K?K:Qn[so].fontName).toLowerCase(),void 0!==$r[Zt]&&void 0!==$r[Zt][Be]?Tn=$r[Zt][Be]:void 0!==$r[K]&&void 0!==$r[K][Be]?Tn=$r[K][Be]:!1===It.disableWarning&&$a.warn("Unable to look up font label for font '"+K+"', '"+Be+"'. Refer to getFontList() for available fonts."),Tn||It.noFallback||null==(Tn=$r.times[Be])&&(Tn=$r.times.normal),Tn},B7=m.__private__.putInfo=function(){var K=Xi(),Be=function(Zt){return Zt};for(var It in null!==f&&(Be=hu.encryptor(K,0)),_t("<<"),_t("/Producer ("+Rc(Be("jsPDF "+bo.version))+")"),Qr)Qr.hasOwnProperty(It)&&Qr[It]&&_t("/"+It.substr(0,1).toUpperCase()+It.substr(1)+" ("+Rc(Be(Qr[It]))+")");_t("/CreationDate ("+Rc(Be(Et))+")"),_t(">>
1"),_t("endobj")},r4=m.__private__.putCatalog=function(K){var Be=(K=K||{}).rootDictionaryObjId||Po;switch(Xi(),_t("<<"),_t("/Type /Catalog"),_t("/Pages "+Be+" 0 R"),mt||(mt="fullwidth"),mt){case"fullwidth":_t("/OpenAction [3 0 R /FitH null]");break;case"fullheight":_t("/OpenAction [3 0 R /FitV null]");break;case"fullpage":_t("/OpenAction [3 0 R /Fit]");break;case"original":_t("/OpenAction [3 0 R /XYZ null null 1]");break;default:var It=""+mt;"%"===It.substr(It.length-1)&&(mt=parseInt(mt)/100),"number"==typeof mt&&_t("/OpenAction [3 0 R /XYZ null null "+it(mt)+"]")}switch(Fr||(Fr="continuous"),Fr){case"continuous":_t("/PageLayout /OneColumn");break;case"single":_t("/PageLayout /SinglePage");break;case"two":case"twoleft":_t("/PageLayout /TwoColumnLeft");break;case"tworight":_t("/PageLayout /TwoColumnRight")}hn&&_t("/PageMode /"+hn),zr.publish("putCatalog"),_t(">>"),_t("endobj")},_5=m.__private__.putTrailer=function(){_t("trailer"),_t("<<"),_t("/Size "+(Me+1)),_t("/Root "+Me+" 0 R"),_t("/Info "+(Me-1)+" 0 R"),null!==f&&_t("/Encrypt "+hu.oid+" 0 R"),_t("/ID [ <"+Ne+"> <"+Ne+"> ]"),_t(">>")},x5=m.__private__.putHeader=function(){_t("%PDF-"+x),_t("%\xba\xdf\xac\xe0")},w5=m.__private__.putXRef=function(){var K="0000000000";_t("xref"),_t("0 "+(Me+1)),_t("0000000000 65535 f ");for(var Be=1;Be<=Me;Be++)_t("function"==typeof De[Be]?(K+De[Be]()).slice(-10)+" 00000 n ":void 0!==De[Be]?(K+De[Be]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},vd=m.__private__.buildDocument=function(){Cr(),xn(gt),zr.publish("buildDocument"),x5(),h1(),C3(),p5(),null!==f&&Mu(),B7(),r4();var K=Rt;return w5(),_5(),_t("startxref"),_t(""+K),_t("%%EOF"),xn(rn[Pe]),gt.join("\n")},i4=m.__private__.getBlob=function(K){return new Blob([Q(K)],{type:"application/pdf"})},o4=m.output=m.__private__.output=qa(function(K,Be){switch("string"==typeof(Be=Be||{})?Be={filename:Be}:Be.filename=Be.filename||"generated.pdf",K){case void 0:return vd();case"save":m.save(Be.filename);break;case"arraybuffer":return Q(vd());case"blob":return i4(vd());case"bloburi":case"bloburl":if(void 0!==Ro.URL&&"function"==typeof Ro.URL.createObjectURL)return Ro.URL&&Ro.URL.createObjectURL(i4(vd()))||void 0;$a.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var It="",Zt=vd();try{It=sI(Zt)}catch{It=sI(unescape(encodeURIComponent(Zt)))}return"data:application/pdf;filename="+Be.filename+";base64,"+It;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(Ro)){var Tn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",nr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Be.pdfObjectUrl&&(Tn=Be.pdfObjectUrl,nr="");var Rr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Tn+'"'+nr+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Be)+");<\/script></body></html>",vi=Ro.open();return null!==vi&&vi.document.write(Rr),vi}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(Ro)){var Ot='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Be.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Be.filename+'" width="500px" height="400px" /></body></html>',ne=Ro.open();if(null!==ne){ne.document.write(Ot);var de=this;ne.document.documentElement.querySelector("#pdfViewer").onload=function(){ne.document.title=Be.filename,ne.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(de.output("bloburl"))}}return ne}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(Ro))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ee='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Be)+'"></iframe></body></html>',Le=Ro.open();if(null!==Le&&(Le.document.write(Ee),Le.document.title=Be.filename),Le||typeof safari>"u")return Le;break;case"datauri":case"dataurl":return Ro.document.location.href=this.output("datauristring",Be);default:return null}}),C5=function(K){return!0===Array.isArray(Ni)&&Ni.indexOf(K)>-1};switch(r){case"pt":Kr=1;break;case"mm":Kr=72/25.4;break;case"cm":Kr=72/2.54;break;case"in":Kr=72;break;case"px":Kr=1==C5("px_scaling")?.75:96/72;break;case"pc":case"em":Kr=12;break;case"ex":Kr=6;break;default:if("number"!=typeof r)throw new Error("Invalid unit: "+r);Kr=r}var hu=null;Tt(),we();var V7=function(K){return null!==f?hu.encryptor(K,0):function(Be){return Be}},S5=m.__private__.getPageInfo=m.getPageInfo=function(K){if(isNaN(K)||K%1!=0)throw new Error("Invalid argument passed to
1jsPDF.getPageInfo");return{objId:_r[K].objId,pageNumber:K,pageContext:_r[K]}},Uo=m.__private__.getPageInfoByObjId=function(K){if(isNaN(K)||K%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Be in _r)if(_r[Be].objId===K)break;return S5(Be)},H7=m.__private__.getCurrentPageInfo=m.getCurrentPageInfo=function(){return{objId:_r[Pe].objId,pageNumber:Pe,pageContext:_r[Pe]}};m.addPage=function(){return n4.apply(this,arguments),this},m.setPage=function(){return v5.apply(this,arguments),xn.call(this,rn[Pe]),this},m.insertPage=function(K){return this.addPage(),this.movePage(Pe,K),this},m.movePage=function(K,Be){var It,Zt;if(K>Be){It=rn[K],Zt=_r[K];for(var Tn=K;Tn>Be;Tn--)rn[Tn]=rn[Tn-1],_r[Tn]=_r[Tn-1];rn[Be]=It,_r[Be]=Zt,this.setPage(Be)}else if(K<Be){It=rn[K],Zt=_r[K];for(var nr=K;nr<Be;nr++)rn[nr]=rn[nr+1],_r[nr]=_r[nr+1];rn[Be]=It,_r[Be]=Zt,this.setPage(Be)}return this},m.deletePage=function(){return z7.apply(this,arguments),this},m.__private__.text=m.text=function(K,Be,It,Zt,Tn){var nr,Rr,vi,Ot,ne,de,Ee,Le,Je,Lt=(Zt=Zt||{}).scope||this;if("number"==typeof K&&"number"==typeof Be&&("string"==typeof It||Array.isArray(It))){var Pt=It;It=Be,Be=K,K=Pt}if(arguments[3]instanceof lr?(Se("The transform parameter of text() with a Matrix value"),Je=Tn):(vi=arguments[4],Ot=arguments[5],"object"===xa(Ee=arguments[3])&&null!==Ee||("string"==typeof vi&&(Ot=vi,vi=null),"string"==typeof Ee&&(Ot=Ee,Ee=null),"number"==typeof Ee&&(vi=Ee,Ee=null),Zt={flags:Ee,angle:vi,align:Ot})),isNaN(Be)||isNaN(It)||null==K)throw new Error("Invalid arguments passed to jsPDF.text");if(0===K.length)return Lt;var Ut="",Vt=!1,Qt="number"==typeof Zt.lineHeightFactor?Zt.lineHeightFactor:M0,On=Lt.internal.scaleFactor;function Un(ma){return ma=ma.split("\t").join(Array(Zt.TabLen||9).join(" ")),Rc(ma,Ee)}function rr(ma){for(var ga,Nl=ma.concat(),Jc=[],O0=Nl.length;O0--;)"string"==typeof(ga=Nl.shift())?Jc.push(ga):Array.isArray(ma)&&(1===ga.length||void 0===ga[1]&&void 0===ga[2])?Jc.push(ga[0]):Jc.push([ga[0],ga[1],ga[2]]);return Jc}function Gn(ma,ga){var Nl;if("string"==typeof ma)Nl=ga(ma)[0];else if(Array.isArray(ma)){for(var Jc,O0,h4=ma.concat(),O5=[],bw=h4.length;bw--;)"string"==typeof(Jc=h4.shift())?O5.push(ga(Jc)[0]):Array.isArray(Jc)&&"string"==typeof Jc[0]&&(O0=ga(Jc[0],Jc[1],Jc[2]),O5.push([O0[0],O0[1],O0[2]]));Nl=O5}return Nl}var Sr=!1,Br=!0;if("string"==typeof K)Sr=!0;else if(Array.isArray(K)){var ti=K.concat();Rr=[];for(var wi,ki=ti.length;ki--;)("string"!=typeof(wi=ti.shift())||Array.isArray(wi)&&"string"!=typeof wi[0])&&(Br=!1);Sr=Br}if(!1===Sr)throw new Error('Type of text must be string or Array. "'+K+'" is not recognized.');"string"==typeof K&&(K=K.match(/[\r?\n]/)?K.split(/\r\n|\r|\n/g):[K]);var Yr=Ce/Lt.internal.scaleFactor,ui=Yr*(Qt-1);switch(Zt.baseline){case"bottom":It-=ui;break;case"top":It+=Yr-ui;break;case"hanging":It+=Yr-2*ui;break;case"middle":It+=Yr/2-ui}if((de=Zt.maxWidth||0)>0&&("string"==typeof K?K=Lt.splitTextToSize(K,de):"[object Array]"===Object.prototype.toString.call(K)&&(K=K.reduce(function(ma,ga){return ma.concat(Lt.splitTextToSize(ga,de))},[]))),zr.publish("preProcessText",nr={text:K,x:Be,y:It,options:Zt,mutex:{pdfEscape:Rc,activeFontKey:so,fonts:Qn,activeFontSize:Ce}}),K=nr.text,vi=(Zt=nr.options).angle,Je instanceof lr||!vi||"number"!=typeof vi)vi&&vi instanceof lr&&(Je=vi);else{vi*=Math.PI/180,0===Zt.rotationDirection&&(vi=-vi),U===H.ADVANCED&&(vi=-vi);var Ti=Math.cos(vi),$i=Math.sin(vi);Je=new lr(Ti,$i,-$i,Ti,0,0)}U!==H.ADVANCED||Je||(Je=ei),void 0!==(ne=Zt.charSpace||l4)&&(Ut+=ue(xe(ne))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(Le=Zt.horizontalScale)&&(Ut+=ue(100*Le)+" Tz\n");var Vr=-1,ji=void 0!==Zt.renderingMode?Zt.renderingMode:Zt.stroke,no=Lt.internal.getCurrentPageInfo().pageContext;switch(ji){case 0:case!1:case"fill":Vr=0;break;case 1:case!0:case"stroke":Vr=1;break;case 2:case"fillThenStroke":Vr=2;break;case 3:case"invisible":Vr=3;break;case 4:case"fillAndAddForClipping":Vr=4;break;case 5:case"strokeAndAddPathForClipping":Vr=5;break;
vendor: 4,099 bytes, line 1
1case 6:case"fillThenStrokeAndAddToPathForClipping":Vr=6;break;case 7:case"addToPathForClipping":Vr=7}var io=void 0!==no.usedRenderingMode?no.usedRenderingMode:-1;-1!==Vr?Ut+=Vr+" Tr\n":-1!==io&&(Ut+="0 Tr\n"),-1!==Vr&&(no.usedRenderingMode=Vr),Ot=Zt.align||"left";var Ao,ss=Ce*Qt,Is=Lt.internal.pageSize.getWidth(),Ko=Qn[so];ne=Zt.charSpace||l4,de=Zt.maxWidth||0,Ee=Object.assign({autoencode:!0,noBOM:!0},Zt.flags);var Ns=[];if("[object Array]"===Object.prototype.toString.call(K)){var _o;Rr=rr(K),"left"!==Ot&&(Ao=Rr.map(function(ma){return Lt.getStringUnitWidth(ma,{font:Ko,charSpace:ne,fontSize:Ce,doKerning:!1})*Ce/On}));var ua,wa=0;if("right"===Ot){Be-=Ao[0],K=[],ki=Rr.length;for(var il=0;il<ki;il++)0===il?(ua=U1(Be),_o=gh(It)):(ua=xe(wa-Ao[il]),_o=-ss),K.push([Rr[il],ua,_o]),wa=Ao[il]}else if("center"===Ot){Be-=Ao[0]/2,K=[],ki=Rr.length;for(var Al=0;Al<ki;Al++)0===Al?(ua=U1(Be),_o=gh(It)):(ua=xe((wa-Ao[Al])/2),_o=-ss),K.push([Rr[Al],ua,_o]),wa=Ao[Al]}else if("left"===Ot){K=[],ki=Rr.length;for(var Pl=0;Pl<ki;Pl++)K.push(Rr[Pl])}else{if("justify"!==Ot)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');K=[],ki=Rr.length,de=0!==de?de:Is;for(var pa=0;pa<ki;pa++)_o=0===pa?gh(It):-ss,ua=0===pa?U1(Be):0,Ns.push(pa<ki-1?ue(xe((de-Ao[pa])/(Rr[pa].split(" ").length-1))):0),K.push([Rr[pa],ua,_o])}}var Kl="boolean"==typeof Zt.R2L?Zt.R2L:zt;!0===Kl&&(K=Gn(K,function(ma,ga,Nl){return[ma.split("").reverse().join(""),ga,Nl]})),zr.publish("postProcessText",nr={text:K,x:Be,y:It,options:Zt,mutex:{pdfEscape:Rc,activeFontKey:so,fonts:Qn,activeFontSize:Ce}}),K=nr.text,Vt=nr.mutex.isHex||!1;var Zc=Qn[so].encoding;"WinAnsiEncoding"!==Zc&&"StandardEncoding"!==Zc||(K=Gn(K,function(ma,ga,Nl){return[Un(ma),ga,Nl]})),Rr=rr(K),K=[];for(var zs,xo,mo,Js=0,w2=1,Sf=Array.isArray(Rr[0])?w2:Js,G1="",T3=function(ma,ga,Nl){var Jc="";return Nl instanceof lr?(Nl="number"==typeof Zt.angle?Gr(Nl,new lr(1,0,0,1,ma,ga)):Gr(new lr(1,0,0,1,ma,ga),Nl),U===H.ADVANCED&&(Nl=Gr(new lr(1,0,0,-1,0,0),Nl)),Jc=Nl.join(" ")+" Tm\n"):Jc=ue(ma)+" "+ue(ga)+" Td\n",Jc},W1=0;W1<Rr.length;W1++){switch(G1="",Sf){case w2:mo=(Vt?"<":"(")+Rr[W1][0]+(Vt?">":")"),zs=parseFloat(Rr[W1][1]),xo=parseFloat(Rr[W1][2]);break;case Js:mo=(Vt?"<":"(")+Rr[W1]+(Vt?">":")"),zs=U1(Be),xo=gh(It)}void 0!==Ns&&void 0!==Ns[W1]&&(G1=Ns[W1]+" Tw\n"),0===W1?K.push(G1+T3(zs,xo,Je)+mo):Sf===Js?K.push(G1+mo):Sf===w2&&K.push(G1+T3(zs,xo,Je)+mo)}K=K.join(Sf===Js?" Tj\nT* ":" Tj\n"),K+=" Tj\n";var bd="BT\n/";return bd+=so+" "+Ce+" Tf\n",bd+=ue(Ce*Qt)+" TL\n",bd+=D0+"\n",bd+=Ut,bd+=K,_t(bd+="ET"),v[so]=!0,Lt};var j7=m.__private__.clip=m.clip=function(K){return _t("evenodd"===K?"W*":"W"),this};m.clipEvenOdd=function(){return j7("evenodd")},m.__private__.discardPath=m.discardPath=function(){return _t("n"),this};var _2=m.__private__.isValidStyle=function(K){var Be=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(K)&&(Be=!0),Be};m.__private__.setDefaultPathOperation=m.setDefaultPathOperation=function(K){return _2(K)&&(u=K),this};var E5=m.__private__.getStyle=m.getStyle=function(K){var Be=u;switch(K){case"D":case"S":Be="S";break;case"F":Be="f";break;case"FD":case"DF":Be="B";break;case"f":case"f*":case"B":case"B*":Be=K}return Be},A5=m.close=function(){return _t("h"),this};m.stroke=function(){return _t("S"),this},m.fill=function(K){return hh("f",K),this},m.fillEvenOdd=function(K){return hh("f*",K),this},m.fillStroke=function(K){return hh("B",K),this},m.fillStrokeEvenOdd=function(K){return hh("B*",K),this};var hh=function(K,Be){"object"===xa(Be)?$7(Be,K):_t(K)},ph=function(K){null===K||U===H.ADVANCED&&void 0===K||(K=E5(K),_t(K))};function U7(K,Be,It,Zt,Tn){var nr=new v3(Be||this.boundingBox,It||this.xStep,Zt||this.yStep,this.gState,Tn||this.matrix);nr.stream=this.stream;var Rr=K+"$$"+this.cloneIndex+++"$$";return Tr(Rr,nr),nr}var $7=function(K,Be){var It=cs[K.key],Zt=Ri[It];if(Zt instanceof Wp)_t("q"),_t(G7(Be)),Zt.gState&&m.setGState(Zt.gState),_t(K.matrix.toString()+" cm"),_t("/"+It+" sh"),_t("Q");else if(Zt instanceof v3){var Tn=new lr(1,0,0,-1,0,yh());
vendor: 4,271 bytes, line 1
1K.matrix&&(Tn=Tn.multiply(K.matrix||ei),It=U7.call(Zt,K.key,K.boundingBox,K.xStep,K.yStep,Tn).id),_t("q"),_t("/Pattern cs"),_t("/"+It+" scn"),Zt.gState&&m.setGState(Zt.gState),_t(Be),_t("Q")}},G7=function(K){switch(K){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},E3=m.moveTo=function(K,Be){return _t(ue(xe(K))+" "+ue(qe(Be))+" m"),this},x2=m.lineTo=function(K,Be){return _t(ue(xe(K))+" "+ue(qe(Be))+" l"),this},mh=m.curveTo=function(K,Be,It,Zt,Tn,nr){return _t([ue(xe(K)),ue(qe(Be)),ue(xe(It)),ue(qe(Zt)),ue(xe(Tn)),ue(qe(nr)),"c"].join(" ")),this};m.__private__.line=m.line=function(K,Be,It,Zt,Tn){if(isNaN(K)||isNaN(Be)||isNaN(It)||isNaN(Zt)||!_2(Tn))throw new Error("Invalid arguments passed to jsPDF.line");return U===H.COMPAT?this.lines([[It-K,Zt-Be]],K,Be,[1,1],Tn||"S"):this.lines([[It-K,Zt-Be]],K,Be,[1,1]).stroke()},m.__private__.lines=m.lines=function(K,Be,It,Zt,Tn,nr){var Rr,vi,Ot,ne,de,Pt,Ut,Vt;if("number"==typeof K&&(Vt=It,It=Be,Be=K,K=Vt),Zt=Zt||[1,1],nr=nr||!1,isNaN(Be)||isNaN(It)||!Array.isArray(K)||!Array.isArray(Zt)||!_2(Tn)||"boolean"!=typeof nr)throw new Error("Invalid arguments passed to jsPDF.lines");for(E3(Be,It),Rr=Zt[0],vi=Zt[1],ne=K.length,Pt=Be,Ut=It,Ot=0;Ot<ne;Ot++)2===(de=K[Ot]).length?x2(Pt=de[0]*Rr+Pt,Ut=de[1]*vi+Ut):mh(de[0]*Rr+Pt,de[1]*vi+Ut,de[2]*Rr+Pt,de[3]*vi+Ut,Pt=de[4]*Rr+Pt,Ut=de[5]*vi+Ut);return nr&&A5(),ph(Tn),this},m.path=function(K){for(var Be=0;Be<K.length;Be++){var It=K[Be],Zt=It.c;switch(It.op){case"m":E3(Zt[0],Zt[1]);break;case"l":x2(Zt[0],Zt[1]);break;case"c":mh.apply(this,Zt);break;case"h":A5()}}return this},m.__private__.rect=m.rect=function(K,Be,It,Zt,Tn){if(isNaN(K)||isNaN(Be)||isNaN(It)||isNaN(Zt)||!_2(Tn))throw new Error("Invalid arguments passed to jsPDF.rect");return U===H.COMPAT&&(Zt=-Zt),_t([ue(xe(K)),ue(qe(Be)),ue(xe(It)),ue(xe(Zt)),"re"].join(" ")),ph(Tn),this},m.__private__.triangle=m.triangle=function(K,Be,It,Zt,Tn,nr,Rr){if(isNaN(K)||isNaN(Be)||isNaN(It)||isNaN(Zt)||isNaN(Tn)||isNaN(nr)||!_2(Rr))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[It-K,Zt-Be],[Tn-It,nr-Zt],[K-Tn,Be-nr]],K,Be,[1,1],Rr,!0),this},m.__private__.roundedRect=m.roundedRect=function(K,Be,It,Zt,Tn,nr,Rr){if(isNaN(K)||isNaN(Be)||isNaN(It)||isNaN(Zt)||isNaN(Tn)||isNaN(nr)||!_2(Rr))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var vi=4/3*(Math.SQRT2-1);return Tn=Math.min(Tn,.5*It),nr=Math.min(nr,.5*Zt),this.lines([[It-2*Tn,0],[Tn*vi,0,Tn,nr-nr*vi,Tn,nr],[0,Zt-2*nr],[0,nr*vi,-Tn*vi,nr,-Tn,nr],[2*Tn-It,0],[-Tn*vi,0,-Tn,-nr*vi,-Tn,-nr],[0,2*nr-Zt],[0,-nr*vi,Tn*vi,-nr,Tn,-nr]],K+Tn,Be,[1,1],Rr,!0),this},m.__private__.ellipse=m.ellipse=function(K,Be,It,Zt,Tn){if(isNaN(K)||isNaN(Be)||isNaN(It)||isNaN(Zt)||!_2(Tn))throw new Error("Invalid arguments passed to jsPDF.ellipse");var nr=4/3*(Math.SQRT2-1)*It,Rr=4/3*(Math.SQRT2-1)*Zt;return E3(K+It,Be),mh(K+It,Be-Rr,K+nr,Be-Zt,K,Be-Zt),mh(K-nr,Be-Zt,K-It,Be-Rr,K-It,Be),mh(K-It,Be+Rr,K-nr,Be+Zt,K,Be+Zt),mh(K+nr,Be+Zt,K+It,Be+Rr,K+It,Be),ph(Tn),this},m.__private__.circle=m.circle=function(K,Be,It,Zt){if(isNaN(K)||isNaN(Be)||isNaN(It)||!_2(Zt))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(K,Be,It,It,Zt)},m.setFont=function(K,Be,It){return It&&(Be=me(Be,It)),so=b5(K,Be,{disableWarning:!1}),this};var s4=m.__private__.getFont=m.getFont=function(){return Qn[b5.apply(m,arguments)]};m.__private__.getFontList=m.getFontList=function(){var K,Be,It={};for(K in $r)if($r.hasOwnProperty(K))for(Be in It[K]=[],$r[K])$r[K].hasOwnProperty(Be)&&It[K].push(Be);return It},m.addFont=function(K,Be,It,Zt,Tn){var nr=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==nr.indexOf(arguments[3])?Tn=arguments[3]:arguments[3]&&-1==nr.indexOf(arguments[3])&&(It=me(It,Zt)),e4.call(this,K,Be,It,Tn=Tn||"Identity-H")};var M0,A3=n.lineWidth||.200025,a4=m.__private__.getLineWidth=m.getLineWidth=function(){return A3},M5=m.__private__.setLineWidth=m.setLineWidth=function(K){return A3=K,_t(ue(xe(K))+" w"),this};m.__private__.setLineDash=bo.API.setLineDash=bo.API.setLineDashPattern=function(K,Be){if(K=K||[],Be=Be||0,isNaN(Be)||!Array.isArray(K))throw new Error("Invalid arguments passed to
1jsPDF.setLineDash");return K=K.map(function(It){return ue(xe(It))}).join(" "),Be=ue(xe(Be)),_t("["+K+"] "+Be+" d"),this};var D5=m.__private__.getLineHeight=m.getLineHeight=function(){return Ce*M0};m.__private__.getLineHeight=m.getLineHeight=function(){return Ce*M0};var k5=m.__private__.setLineHeightFactor=m.setLineHeightFactor=function(K){return"number"==typeof(K=K||1.15)&&(M0=K),this},T5=m.__private__.getLineHeightFactor=m.getLineHeightFactor=function(){return M0};k5(n.lineHeight);var U1=m.__private__.getHorizontalCoordinate=function(K){return xe(K)},gh=m.__private__.getVerticalCoordinate=function(K){return U===H.ADVANCED?K:_r[Pe].mediaBox.topRightY-_r[Pe].mediaBox.bottomLeftY-xe(K)},W7=m.__private__.getHorizontalCoordinateString=m.getHorizontalCoordinateString=function(K){return ue(U1(K))},yd=m.__private__.getVerticalCoordinateString=m.getVerticalCoordinateString=function(K){return ue(gh(K))},$1=n.strokeColor||"0 G";m.__private__.getStrokeColor=m.getDrawColor=function(){return Yl($1)},m.__private__.setStrokeColor=m.setDrawColor=function(K,Be,It,Zt){return $1=rl({ch1:K,ch2:Be,ch3:It,ch4:Zt,pdfColorType:"draw",precision:2}),_t($1),this};var M3=n.fillColor||"0 g";m.__private__.getFillColor=m.getFillColor=function(){return Yl(M3)},m.__private__.setFillColor=m.setFillColor=function(K,Be,It,Zt){return M3=rl({ch1:K,ch2:Be,ch3:It,ch4:Zt,pdfColorType:"fill",precision:2}),_t(M3),this};var D0=n.textColor||"0 g",q7=m.__private__.getTextColor=m.getTextColor=function(){return Yl(D0)};m.__private__.setTextColor=m.setTextColor=function(K,Be,It,Zt){return D0=rl({ch1:K,ch2:Be,ch3:It,ch4:Zt,pdfColorType:"text",precision:3}),this};var l4=n.charSpace,Y7=m.__private__.getCharSpace=m.getCharSpace=function(){return parseFloat(l4||0)};m.__private__.setCharSpace=m.setCharSpace=function(K){if(isNaN(K))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return l4=K,this};var c4=0;m.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},m.__private__.setLineCap=m.setLineCap=function(K){var Be=m.CapJoinStyles[K];if(void 0===Be)throw new Error("Line cap style of '"+K+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return c4=Be,_t(Be+" J"),this};var Cf=0;m.__private__.setLineJoin=m.setLineJoin=function(K){var Be=m.CapJoinStyles[K];if(void 0===Be)throw new Error("Line join style of '"+K+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Cf=Be,_t(Be+" j"),this},m.__private__.setLineMiterLimit=m.__private__.setMiterLimit=m.setLineMiterLimit=m.setMiterLimit=function(K){if(K=K||0,isNaN(K))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return _t(ue(xe(K))+" M"),this},m.GState=g3,m.setGState=function(K){(K="string"==typeof K?dn[Yn[K]]:D3(null,K)).equals(dr)||(_t("/"+K.id+" gs"),dr=K)};var D3=function(K,Be){if(!K||!Yn[K]){var It=!1;for(var Zt in dn)if(dn.hasOwnProperty(Zt)&&dn[Zt].equals(Be)){It=!0;break}if(It)Be=dn[Zt];else{var Tn="GS"+(Object.keys(dn).length+1).toString(10);dn[Tn]=Be,Be.id=Tn}return K&&(Yn[K]=Be.id),zr.publish("addGState",Be),Be}};m.addGState=function(K,Be){return D3(K,Be),this},m.saveGraphicsState=function(){return _t("q"),ao.push({key:so,size:Ce,color:D0}),this},m.restoreGraphicsState=function(){_t("Q");var K=ao.pop();
vendor: 10,069 bytes, line 1
1return so=K.key,Ce=K.size,D0=K.color,dr=null,this},m.setCurrentTransformationMatrix=function(K){return _t(K.toString()+" cm"),this},m.comment=function(K){return _t("#"+K),this};var k0=function(K,Be){var It=K||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return It},set:function(nr){isNaN(nr)||(It=parseFloat(nr))}});var Zt=Be||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Zt},set:function(nr){isNaN(nr)||(Zt=parseFloat(nr))}});var Tn="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Tn},set:function(nr){Tn=nr.toString()}}),this},u4=function(K,Be,It,Zt){k0.call(this,K,Be),this.type="rect";var Tn=It||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Tn},set:function(Rr){isNaN(Rr)||(Tn=parseFloat(Rr))}});var nr=Zt||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return nr},set:function(Rr){isNaN(Rr)||(nr=parseFloat(Rr))}}),this},T0=function(){this.page=kr,this.currentPage=Pe,this.pages=rn.slice(0),this.pagesContext=_r.slice(0),this.x=os,this.y=Hn,this.matrix=En,this.width=vh(Pe),this.height=yh(Pe),this.outputDestination=Xn,this.id="",this.objectNumber=-1};T0.prototype.restore=function(){kr=this.page,_r=this.pagesContext,rn=this.pages,os=this.x,Hn=this.y,En=this.matrix,I0(Pe=this.currentPage,this.width),k3(Pe,this.height),Xn=this.outputDestination};var f4=function(K,Be,It,Zt,Tn){er.push(new T0),kr=Pe=0,rn=[],os=K,Hn=Be,En=Tn,S3([It,Zt])},I5=function(K){if(Ft[K])er.pop().restore();else{var Be=new T0,It="Xo"+(Object.keys(zo).length+1).toString(10);Be.id=It,Ft[K]=It,zo[It]=Be,zr.publish("addFormObject",Be),er.pop().restore()}};for(var d4 in m.beginFormObject=function(K,Be,It,Zt,Tn){return f4(K,Be,It,Zt,Tn),this},m.endFormObject=function(K){return I5(K),this},m.doFormObject=function(K,Be){var It=zo[Ft[K]];return _t("q"),_t(Be.toString()+" cm"),_t("/"+It.id+" Do"),_t("Q"),this},m.getFormObject=function(K){var Be=zo[Ft[K]];return{x:Be.x,y:Be.y,width:Be.width,height:Be.height,matrix:Be.matrix}},m.save=function(K,Be){return K=K||"generated.pdf",(Be=Be||{}).returnPromise=Be.returnPromise||!1,!1===Be.returnPromise?(m3(i4(vd()),K),"function"==typeof m3.unload&&Ro.setTimeout&&setTimeout(m3.unload,911),this):new Promise(function(It,Zt){try{var Tn=m3(i4(vd()),K);"function"==typeof m3.unload&&Ro.setTimeout&&setTimeout(m3.unload,911),It(Tn)}catch(nr){Zt(nr.message)}})},bo.API)bo.API.hasOwnProperty(d4)&&("events"===d4&&bo.API.events.length?function(K,Be){var Zt,Tn;for(Tn=Be.length-1;-1!==Tn;Tn--)K.subscribe.apply(K,[Be[Tn][0]].concat("function"==typeof(Zt=Be[Tn][1])?[Zt]:Zt))}(zr,bo.API.events):m[d4]=bo.API[d4]);var vh=m.getPageWidth=function(K){return(_r[K=K||Pe].mediaBox.topRightX-_r[K].mediaBox.bottomLeftX)/Kr},I0=m.setPageWidth=function(K,Be){_r[K].mediaBox.topRightX=Be*Kr+_r[K].mediaBox.bottomLeftX},yh=m.getPageHeight=function(K){return(_r[K=K||Pe].mediaBox.topRightY-_r[K].mediaBox.bottomLeftY)/Kr},k3=m.setPageHeight=function(K,Be){_r[K].mediaBox.topRightY=Be*Kr+_r[K].mediaBox.bottomLeftY};return m.internal={pdfEscape:Rc,getStyle:E5,getFont:s4,getFontSize:bt,getCharSpace:Y7,getTextColor:q7,getLineHeight:D5,getLineHeightFactor:T5,getLineWidth:a4,write:Or,getHorizontalCoordinate:U1,getVerticalCoordinate:gh,getCoordinateString:W7,getVerticalCoordinateString:yd,collections:{},newObject:Xi,newAdditionalObject:qo,newObjectDeferred:Lo,newObjectDeferredBegin:Ps,getFilters:Au,putStream:du,events:zr,scaleFactor:Kr,pageSize:{getWidth:function(){return vh(Pe)},setWidth:function(K){I0(Pe,K)},getHeight:function(){return yh(Pe)},setHeight:function(K){k3(Pe,K)}},encryptionOptions:f,encryption:hu,getEncryptor:V7,output:o4,getNumberOfPages:y5,pages:rn,out:_t,f2:it,f3:ye,getPageInfo:S5,getPageInfoByObjId:Uo,getCurrentPageInfo:H7,getPDFVersion:p,Point:k0,Rectangle:u4,Matrix:lr,hasHotfix:C5},Object.defineProperty(m.internal.pageSize,"width",{get:function(){return vh(Pe)},set:function(K){I0(Pe,K)},enumerable:!0,configurable:!0}),Object.defineProperty(m.internal.pageSize,"height",{get:function(){return yh(Pe)},set:function(K){k3(Pe,K)},enumerable:!0,configurable:!0}),g5.call(m,fe),so="F1",n4(i,e),zr.publish("initialized"),m}n5.prototype.lsbFirstWord=function(n){return String.fromCharCode(n>>0&255,n>>8&255,n>>16&255,n>>24&255)},n5.prototype.toHexString=function(n){return n.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},n5.prototype.hexToBytes=function(n){for(var t=[],e=0;e<n.length;e+=2)t.push(String.fromCharCode(parseInt(n.substr(e,2),16)));return t.join("")},n5.prototype.processOwnerPassword=function(n,t){return cI(lI(t).substr(0,5),n)},n5.prototype.encryptor=function(n,t){var e=lI(this.encryptionKey+String.fromCharCode(255&n,n>>8&255,n>>16&255,255&t,t>>8&255)).substr(0,10);return function(r){return cI(e,r)}},g3.prototype.equals=function(n){var t,e="id,objectNumber,equals";if(!n||xa(n)!==xa(this))return!1;var r=0;for(t in this)if(!(e.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!n.hasOwnProperty(t)||this[t]!==n[t])return!1;r++}for(t in n)n.hasOwnProperty(t)&&e.indexOf(t)<0&&r--;return 0===r},bo.API={events:[]},bo.version="2.5.1";var ql=bo.API,uI=1,y3=function(n){return n.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},i5=function(n){return n.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Qo=function(n){return n.toFixed(2)},qp=function(n){return n.toFixed(5)};ql.__acroform__={};var j1=function(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n},JK=function(n){return n*uI},lh=function(n){var t=new eX,e=Hi.internal.getHeight(n)||0,r=Hi.internal.getWidth(n)||0;return t.BBox=[0,0,Number(Qo(r)),Number(Qo(e))],t},kAe=ql.__acroform__.setBit=function(n,t){if(n=n||0,t=t||0,isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return n|1<<t},TAe=ql.__acroform__.clearBit=function(n,t){if(n=n||0,t=t||0,isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return n&~(1<<t)},IAe=ql.__acroform__.getBit=function(n,t){if(isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(n&1<<t)?0:1},gc=ql.__acroform__.getBitForPdf=function(n,t){if(isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return IAe(n,t-1)},vc=ql.__acroform__.setBitForPdf=function(n,t){if(isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return kAe(n,t-1)},yc=ql.__acroform__.clearBitForPdf=function(n,t){if(isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return TAe(n,t-1)},OAe=ql.__acroform__.calculateCoordinates=function(n,t){var e=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=n[0],o=n[1],s=n[2],a=n[3],l={};return l.lowerLeft_X=e(i)||0,l.lowerLeft_Y=r(o+a)||0,l.upperRight_X=e(i+s)||0,l.upperRight_Y=r(o)||0,[Number(Qo(l.lowerLeft_X)),Number(Qo(l.lowerLeft_Y)),Number(Qo(l.upperRight_X)),Number(Qo(l.upperRight_Y))]},RAe=function(n){if(n.appearanceStreamContent)return n.appearanceStreamContent;if(n.V||n.DV){var t=[],r=fI(n,n._V||n.DV),i=n.scope.internal.getFont(n.fontName,n.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(n.scope.__private__.encodeColorString(n.color)),t.push("/"+i+" "+Qo(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=lh(n);return o.scope=n.scope,o.stream=t.join("\n"),o}},fI=function(n,t){var e=0===n.fontSize?n.maxFontSize:n.fontSize,r={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");i=i.map(n.multiline?function(ye){return ye.split("\n")}:function(ye){return[ye]});var o=e,s=Hi.internal.getHeight(n)||0;s=s<0?-s:s;var ye,a=Hi.internal.getWidth(n)||0;a=a<0?-a:a,o++;e:for(;o>0;){t="",o--;var u,f,h=Jx("3",n,o).height,v=n.multiline?s-o:(s-h)/2,m=v+=2,x=0,p=0,P=0;if(o<=0){t="(...) Tj\n",t+="% Width of Text: "+Jx(t,n,o=12).width+", FieldWidth:"+a+"\n";break}for(var T="",H=0,U=0;U<i.length;U++)if(i.hasOwnProperty(U)){var ee=!1;if(1!==i[U].length&&P!==i[U].length-1){if((h+2)*(H+2)+2>s)continue e;T+=i[U][P],ee=!0,p=U,U--}else{T=" "==(T+=i[U][P]+" ").substr(T.length-1)?T.substr(0,T.length-1):T;var ie=parseInt(U),me=(ye=ie)+1<i.length&&Jx(T+" "+i[ye+1][0],n,o).width<=a-4,ue=U>=i.length-1;if(me&&!ue){T+=" ",P=0;continue}if(me||ue){if(ue)p=ie;else if(n.multiline&&(h+2)*(H+2)+2>s)continue e}else{if(!n.multiline||(h+2)*(H+2)+2>s)continue e;p=ie}}for(var Se="",Ue=x;Ue<=p;Ue++){var it=i[Ue];if(n.multiline){if(Ue===p){Se+=it[P]+" ",P=(P+1)%it.length;continue}if(Ue===x){Se+=it[it.length-1]+" ";continue}}Se+=it[0]+" "}switch(Se=" "==Se.substr(Se.length-1)?Se.substr(0,Se.length-1):Se,f=Jx(Se,n,o).width,n.textAlign){case"right":u=a-f-2;break;case"center":u=(a-f)/2;break;default:u=2}t+=Qo(u)+" "+Qo(m)+" Td\n",t+="("+y3(Se)+") Tj\n",t+=-Qo(u)+" 0 Td\n",m=-(o+2),f=0,x=ee?p:p+1,H++,T=""}break}return r.text=t,r.fontSize=o,r},Jx=function(n,t,e){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(n,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:i}},LAe={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},PAe=function(n,t){var e={type:"reference",object:n};void 0===t.internal.getPageInfo(n.page).pageContext.annotations.find(function(r){return r.type===e.type&&r.object===e.object})&&t.internal.getPageInfo(n.page).pageContext.annotations.push(e)},QK=ql.__acroform__.arrayToPdfArray=function(n,t,e){var r=function(s){return s};if(Array.isArray(n)){for(var i="[",o=0;o<n.length;o++)switch(0!==o&&(i+=" "),xa(n[o])){case"boolean":case"number":case"object":i+=n[o].toString();break;case"string":"/"!==n[o].substr(0,1)?(void 0!==t&&e&&(r=e.internal.getEncryptor(t)),i+="("+y3(r(n[o].toString()))+")"):i+=n[o].toString()}return i+"]"}
vendor: 4,369 bytes, line 1
1throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},dI=function(n,t,e){var r=function(i){return i};return void 0!==t&&e&&(r=e.internal.getEncryptor(t)),(n=n||"").toString(),"("+y3(r(n))+")"},ch=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(n){this._objId=n}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ch.prototype.toString=function(){return this.objId+" 0 R"},ch.prototype.putStream=function(){var n=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:n,objectId:this.objId}),this.scope.internal.out("endobj")},ch.prototype.getKeyValueListForStream=function(){var n=[],t=Object.getOwnPropertyNames(this).filter(function(o){return"content"!=o&&"appearanceStreamContent"!=o&&"scope"!=o&&"objId"!=o&&"_"!=o.substring(0,1)});for(var e in t)if(!1===Object.getOwnPropertyDescriptor(this,t[e]).configurable){var r=t[e],i=this[r];i&&(Array.isArray(i)?n.push({key:r,value:QK(i,this.objId,this.scope)}):i instanceof ch?(i.scope=this.scope,n.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&n.push({key:r,value:i}))}return n};var eX=function(){ch.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var n,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){n=e.trim()},get:function(){return n||null}})};j1(eX,ch);var tX=function(){ch.call(this);var n,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(n){var e=function(r){return r};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+y3(e(n))+")"}},set:function(e){n=e}})};j1(tX,ch);var ud=function n(){ch.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(T){if(isNaN(T))throw new Error('Invalid value "'+T+'" for attribute F supplied.');t=T}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(t,3))},set:function(T){this.F=!0===Boolean(T)?vc(t,3):yc(t,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(T){if(isNaN(T))throw new Error('Invalid value "'+T+'" for attribute Ff supplied.');e=T}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(T){r=void 0!==T?T:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(T){r[0]=T}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(T){r[1]=T}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(T){r[2]=T}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(T){r[3]=T}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(T){switch(T){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=T;break;default:throw new Error('Invalid value "'+T+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof tw)return;o="FieldObject"+n.FieldNum++}var T=function(H){return H};return this.scope&&(T=this.scope.internal.getEncryptor(this.objId)),"("+y3(T(o))+")"},set:function(T){o=T.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o}
vendor: 4,120 bytes, line 1
1,set:function(T){o=T}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(T){s=T}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(T){a=T}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(T){l=T}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/uI:u},set:function(T){u=T}});var f="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return f},set:function(T){f=T}});var h="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!h||this instanceof tw||this instanceof b3))return dI(h,this.objId,this.scope)},set:function(T){T=T.toString(),h=T}});var v=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(v)return this instanceof uu?v:dI(v,this.objId,this.scope)},set:function(T){T=T.toString(),v=this instanceof uu?T:"("===T.substr(0,1)?i5(T.substr(1,T.length-2)):i5(T)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof uu?i5(v.substr(1,v.length-1)):v},set:function(T){T=T.toString(),v=this instanceof uu?"/"+T:T}});var m=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(m)return m},set:function(T){this.V=T}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(m)return this instanceof uu?m:dI(m,this.objId,this.scope)},set:function(T){T=T.toString(),m=this instanceof uu?T:"("===T.substr(0,1)?i5(T.substr(1,T.length-2)):i5(T)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof uu?i5(m.substr(1,m.length-1)):m},set:function(T){T=T.toString(),m=this instanceof uu?"/"+T:T}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var x,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(T){T=Boolean(T),p=T}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(x)return x},set:function(T){x=T}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,1))},set:function(T){this.Ff=!0===Boolean(T)?vc(this.Ff,1):yc(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,2))},set:function(T){this.Ff=!0===Boolean(T)?vc(this.Ff,2):yc(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,3))},set:function(T){this.Ff=!0===Boolean(T)?vc(this.Ff,3):yc(this.Ff,3)}});var P=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==P)return P},set:function(T){if(-1===[0,1,2].indexOf(T))throw new Error('Invalid value "'+T+'" for attribute Q supplied.');P=T}}),Object.defineProperty(this,"textAlign",{get:function(){var T;switch(P){case 0:default:T="left";break;case 1:T="center";break;case 2:T="right"}return T},configurable:!0,enumerable:!0,set:function(T){switch(T){case"right":case 2:P=2;break;case"center":case 1:P=1;break;default:P=0}}})};j1(ud,ch);var o5=function(){ud.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var n=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return n},set:function(e){n=e}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return QK(t,this.objId,this.scope)}
vendor: 4,472 bytes, line 1
1,set:function(e){var r,i;i=[],"string"==typeof(r=e)&&(i=function(o,s,a){a||(a=1);for(var l,u=[];l=s.exec(o);)u.push(l[a]);return u}(r,/\((.*?)\)/g)),t=i}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,18))},set:function(e){this.Ff=!0===Boolean(e)?vc(this.Ff,18):yc(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,19))},set:function(e){!0===this.combo&&(this.Ff=!0===Boolean(e)?vc(this.Ff,19):yc(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=vc(this.Ff,20),t.sort()):this.Ff=yc(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,22))},set:function(e){this.Ff=!0===Boolean(e)?vc(this.Ff,22):yc(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,23))},set:function(e){this.Ff=!0===Boolean(e)?vc(this.Ff,23):yc(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,27))},set:function(e){this.Ff=!0===Boolean(e)?vc(this.Ff,27):yc(this.Ff,27)}}),this.hasAppearanceStream=!1};j1(o5,ud);var s5=function(){o5.call(this),this.fontName="helvetica",this.combo=!1};j1(s5,o5);var a5=function(){s5.call(this),this.combo=!0};j1(a5,s5);var Qx=function(){a5.call(this),this.edit=!0};j1(Qx,a5);var uu=function(){ud.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,15))},set:function(e){this.Ff=!0===Boolean(e)?vc(this.Ff,15):yc(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,16))},set:function(e){this.Ff=!0===Boolean(e)?vc(this.Ff,16):yc(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,17))},set:function(e){this.Ff=!0===Boolean(e)?vc(this.Ff,17):yc(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,26))},set:function(e){this.Ff=!0===Boolean(e)?vc(this.Ff,26):yc(this.Ff,26)}});var n,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(o){return o};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var r,i=[];for(r in i.push("<<"),t)i.push("/"+r+" ("+y3(e(t[r]))+")");return i.push(">>"),i.join("\n")}},set:function(e){"object"===xa(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}})};j1(uu,ud);var ew=function(){uu.call(this),this.pushButton=!0};j1(ew,uu);var l5=function(){uu.call(this),this.radio=!0,this.pushButton=!1;var n=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){n=void 0!==t?t:[]}})};j1(l5,uu);var tw=function(){var n,t;ud.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return n},set:function(i){n=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(i){t=i}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(a){return a};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var o,s=[];for(o in s.push("<<"),r)s.push("/"+o+" ("+y3(i(r[o]))+")");return s.push(">>"),s.join("\n")},set:function(i){"object"===xa(i)&&(r=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(i){"string"==typeof i&&(r.CA=i)}}
vendor: 4,460 bytes, line 1
1),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(i){e=i}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(i){e="/"+i}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Hi.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};j1(tw,ud),l5.prototype.setAppearance=function(n){if(!("createAppearanceStream"in n)||!("getCA"in n))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var e=this.Kids[t];e.appearanceStreamContent=n.createAppearanceStream(e.optionName),e.caption=n.getCA()}},l5.prototype.createOption=function(n){var t=new tw;return t.Parent=this,t.optionName=n,this.Kids.push(t),zAe.call(this.scope,t),t};var nw=function(){uu.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Hi.CheckBox.createAppearanceStream()};j1(nw,uu);var b3=function(){ud.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,13))},set:function(t){this.Ff=!0===Boolean(t)?vc(this.Ff,13):yc(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,21))},set:function(t){this.Ff=!0===Boolean(t)?vc(this.Ff,21):yc(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,23))},set:function(t){this.Ff=!0===Boolean(t)?vc(this.Ff,23):yc(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,24))},set:function(t){this.Ff=!0===Boolean(t)?vc(this.Ff,24):yc(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,25))},set:function(t){this.Ff=!0===Boolean(t)?vc(this.Ff,25):yc(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,26))},set:function(t){this.Ff=!0===Boolean(t)?vc(this.Ff,26):yc(this.Ff,26)}});var n=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return n},set:function(t){Number.isInteger(t)&&(n=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};j1(b3,ud);var rw=function(){b3.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(gc(this.Ff,14))},set:function(n){this.Ff=!0===Boolean(n)?vc(this.Ff,14):yc(this.Ff,14)}}),this.password=!0};j1(rw,b3);var Hi={CheckBox:{createAppearanceStream:function(){return{N:{On:Hi.CheckBox.YesNormal},D:{On:Hi.CheckBox.YesPushDown,Off:Hi.CheckBox.OffPushDown}}},YesPushDown:function(n){var t=lh(n);t.scope=n.scope;var e=[],r=n.scope.internal.getFont(n.fontName,n.fontStyle).id,i=n.scope.__private__.encodeColorString(n.color),o=fI(n,n.caption);return e.push("0.749023 g"),e.push("0 0 "+Qo(Hi.internal.getWidth(n))+" "+Qo(Hi.internal.getHeight(n))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+Qo(o.fontSize)+" Tf "+i),e.push("BT"),e.push(o.text),e.push("ET"),e.push("Q"),e.push("EMC"),t.stream=e.join("\n"),t},YesNormal:function(n){var t=lh(n);t.scope=n.scope;var e=n.scope.internal.getFont(n.fontName,n.fontStyle).id,r=n.scope.__private__.encodeColorString(n.color),i=[],o=Hi.internal.getHeight(n),s=Hi.internal.getWidth(n),a=fI(n,n.caption);return i.push("1 g"),i.push("0 0 "+Qo(s)+" "+Qo(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Qo(s-1)+" "+Qo(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+e+" "+Qo(a.fontSize)+" Tf "+r),i.push(a.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(n){var t=lh(n);t.scope=n.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Qo(Hi.internal.getWidth(n))+" "+Qo(Hi.internal.getHeight(n))+" re"),e.push("f"),t.stream=e.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(n){var t={D:{Off:Hi.RadioButton.Circle.OffPushDown},N:{}}
vendor: 10,313 bytes, line 1
1;return t.N[n]=Hi.RadioButton.Circle.YesNormal,t.D[n]=Hi.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(n){var t=lh(n);t.scope=n.scope;var e=[],r=Hi.internal.getWidth(n)<=Hi.internal.getHeight(n)?Hi.internal.getWidth(n)/4:Hi.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var o=Number((r*Hi.internal.Bezier_C).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+qp(Hi.internal.getWidth(n)/2)+" "+qp(Hi.internal.getHeight(n)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),e.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),e.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),e.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t},YesPushDown:function(n){var t=lh(n);t.scope=n.scope;var e=[],r=Hi.internal.getWidth(n)<=Hi.internal.getHeight(n)?Hi.internal.getWidth(n)/4:Hi.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*Hi.internal.Bezier_C).toFixed(5)),s=Number((r*Hi.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+qp(Hi.internal.getWidth(n)/2)+" "+qp(Hi.internal.getHeight(n)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),e.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),e.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),e.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+qp(Hi.internal.getWidth(n)/2)+" "+qp(Hi.internal.getHeight(n)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),e.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),e.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),e.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t},OffPushDown:function(n){var t=lh(n);t.scope=n.scope;var e=[],r=Hi.internal.getWidth(n)<=Hi.internal.getHeight(n)?Hi.internal.getWidth(n)/4:Hi.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*Hi.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+qp(Hi.internal.getWidth(n)/2)+" "+qp(Hi.internal.getHeight(n)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),e.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),e.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),e.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t}},Cross:{createAppearanceStream:function(n){var t={D:{Off:Hi.RadioButton.Cross.OffPushDown},N:{}};return t.N[n]=Hi.RadioButton.Cross.YesNormal,t.D[n]=Hi.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(n){var t=lh(n);t.scope=n.scope;var e=[],r=Hi.internal.calculateCross(n);return e.push("q"),e.push("1 1 "+Qo(Hi.internal.getWidth(n)-2)+" "+Qo(Hi.internal.getHeight(n)-2)+" re"),e.push("W"),e.push("n"),e.push(Qo(r.x1.x)+" "+Qo(r.x1.y)+" m"),e.push(Qo(r.x2.x)+" "+Qo(r.x2.y)+" l"),e.push(Qo(r.x4.x)+" "+Qo(r.x4.y)+" m"),e.push(Qo(r.x3.x)+" "+Qo(r.x3.y)+" l"),e.push("s"),e.push("Q"),t.stream=e.join("\n"),t},YesPushDown:function(n){var t=lh(n);t.scope=n.scope;var e=Hi.internal.calculateCross(n),r=[];return r.push("0.749023 g"),r.push("0 0 "+Qo(Hi.internal.getWidth(n))+" "+Qo(Hi.internal.getHeight(n))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Qo(Hi.internal.getWidth(n)-2)+" "+Qo(Hi.internal.getHeight(n)-2)+" re"),r.push("W"),r.push("n"),r.push(Qo(e.x1.x)+" "+Qo(e.x1.y)+" m"),r.push(Qo(e.x2.x)+" "+Qo(e.x2.y)+" l"),r.push(Qo(e.x4.x)+" "+Qo(e.x4.y)+" m"),r.push(Qo(e.x3.x)+" "+Qo(e.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(n){var t=lh(n);t.scope=n.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Qo(Hi.internal.getWidth(n))+" "+Qo(Hi.internal.getHeight(n))+" re"),e.push("f"),t.stream=e.join("\n"),t}}},createDefaultAppearanceStream:function(n){var t=n.scope.internal.getFont(n.fontName,n.fontStyle).id,e=n.scope.__private__.encodeColorString(n.color);return"/"+t+" "+n.fontSize+" Tf "+e}};Hi.internal={Bezier_C:.551915024494,calculateCross:function(n){var t=Hi.internal.getWidth(n),e=Hi.internal.getHeight(n),r=Math.min(t,e);return{x1:{x:(t-r)/2,y:(e-r)/2+r},x2:{x:(t-r)/2+r,y:(e-r)/2},x3:{x:(t-r)/2,y:(e-r)/2},x4:{x:(t-r)/2+r,y:(e-r)/2+r}}}},Hi.internal.getWidth=function(n){var t=0;return"object"===xa(n)&&(t=JK(n.Rect[2])),t},Hi.internal.getHeight=function(n){var t=0;return"object"===xa(n)&&(t=JK(n.Rect[3])),t};var zAe=ql.addField=function(n){if(function(n,t){if(t.scope=n,void 0!==n.internal&&(void 0===n.internal.acroformPlugin||!1===n.internal.acroformPlugin.isInitialized)){if(ud.FieldNum=0,n.internal.acroformPlugin=JSON.parse(JSON.stringify(LAe)),n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");uI=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new tX,n.internal.acroformPlugin.acroFormDictionaryRoot.scope=n,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(n)}),n.internal.events.subscribe("buildDocument",function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o.objId=void 0,o.hasAnnotation&&PAe(o,e)}}(n)}),n.internal.events.subscribe("putCatalog",function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(n)}),n.internal.events.subscribe("postPutPages",function(e){!function(r,i){var o=!r;for(var s in r||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(s)){var a=r[s],l=[],u=a.Rect;if(a.Rect&&(a.Rect=OAe(a.Rect,i)),i.internal.newObjectDeferredBegin(a.objId,!0),a.DA=Hi.createDefaultAppearanceStream(a),"object"===xa(a)&&"function"==typeof a.getKeyValueListForStream&&(l=a.getKeyValueListForStream()),a.Rect=u,a.hasAppearanceStream&&!a.appearanceStreamContent){var f=RAe(a);l.push({key:"AP",value:"<</N "+f+">>"}),i.internal.acroformPlugin.xForms.push(f)}if(a.appearanceStreamContent){var h="";for(var v in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(v)){var m=a.appearanceStreamContent[v];if(h+="/"+v+" ",h+="<<",Object.keys(m).length>=1||Array.isArray(m)){for(var s in m)if(m.hasOwnProperty(s)){var x=m[s];"function"==typeof x&&(x=x.call(i,a)),h+="/"+s+" "+x+" ",i.internal.acroformPlugin.xForms.indexOf(x)>=0||i.internal.acroformPlugin.xForms.push(x)}}else"function"==typeof(x=m)&&(x=x.call(i,a)),h+="/"+s+" "+x,i.internal.acroformPlugin.xForms.indexOf(x)>=0||i.internal.acroformPlugin.xForms.push(x);h+=">>"}l.push({key:"AP",value:"<<\n"+h+">>"})}i.internal.putStream({additionalKeyValues:l,objectId:a.objId}),i.internal.out("endobj")}o&&function(n,t){for(var e in n)if(n.hasOwnProperty(e)){var r=e,i=n[e];t.internal.newObjectDeferredBegin(i.objId,!0),"object"===xa(i)&&"function"==typeof i.putStream&&i.putStream(),delete n[r]}}(i.internal.acroformPlugin.xForms,i)}(e,n)}),n.internal.acroformPlugin.isInitialized=!0}}(this,n),!(n instanceof ud))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=n).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),n.page=n.scope.internal.getCurrentPageInfo().pageNumber,this};function nX(n){return n.reduce(function(t,e,r){return t[e]=r,t},{})}ql.AcroFormChoiceField=o5,ql.AcroFormListBox=s5,ql.AcroFormComboBox=a5,ql.AcroFormEditBox=Qx,ql.AcroFormButton=uu,ql.AcroFormPushButton=ew,ql.AcroFormRadioButton=l5,ql.AcroFormCheckBox=nw,ql.AcroFormTextField=b3,ql.AcroFormPasswordField=rw,ql.AcroFormAppearance=Hi,ql.AcroForm={ChoiceField:o5,ListBox:s5,ComboBox:a5,EditBox:Qx,Button:uu,PushButton:ew,RadioButton:l5,CheckBox:nw,TextField:b3,PasswordField:rw,Appearance:Hi},bo.AcroForm={ChoiceField:o5,ListBox:s5,ComboBox:a5,EditBox:Qx,Button:uu,PushButton:ew,RadioButton:l5,CheckBox:nw,TextField:b3,PasswordField:rw,Appearance:Hi},function(n){n.__addimage__={};var t="UNKNOWN",e={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=n.__addimage__.getImageFileTypeByImageData=function(ye,xe){var ze,qe,Et,Ne,je,we=t;if("RGBA"===(xe=xe||t)||void 0!==ye.data&&ye.data instanceof Uint8ClampedArray&&"height"in ye&&"width"in ye)return"RGBA";if(me(ye))for(je in e)for(Et=e[je],ze=0;ze<Et.length;ze+=1){for(Ne=!0,qe=0;qe<Et[ze].length;qe+=1)if(void 0!==Et[ze][qe]&&Et[ze][qe]!==ye[qe]){Ne=!1;break}if(!0===Ne){we=je;break}}else for(je in e)for(Et=e[je],ze=0;ze<Et.length;ze+=1){for(Ne=!0,qe=0;qe<Et[ze].length;qe+=1)if(void 0!==Et[ze][qe]&&Et[ze][qe]!==ye.charCodeAt(qe)){Ne=!1;break}if(!0===Ne){we=je;break}}return we===t&&xe!==t&&(we=xe),we},i=function ye(xe){for(var ze=this.internal.write,qe=this.internal.putStream,Et=(0,this.internal.getFilters)();-1!==Et.indexOf("FlateEncode");)Et.splice(Et.indexOf("FlateEncode"),1);xe.objectId=this.internal.newObject();var Ne=[];if(Ne.push({key:"Type",value:"/XObject"}),Ne.push({key:"Subtype",value:"/Image"}),Ne.push({key:"Width",value:xe.width}),Ne.push({key:"Height",value:xe.height}),xe.colorSpace===P.INDEXED?Ne.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(xe.palette.length/3-1)+" "+("sMask"in xe&&void 0!==xe.sMask?xe.objectId+2:xe.objectId+1)+" 0 R]"}):(Ne.push({key:"ColorSpace",value:"/"+xe.colorSpace}),xe.colorSpace===P.DEVICE_CMYK&&Ne.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"}
vendor: 17,724 bytes, line 1
1)),Ne.push({key:"BitsPerComponent",value:xe.bitsPerComponent}),"decodeParameters"in xe&&void 0!==xe.decodeParameters&&Ne.push({key:"DecodeParms",value:"<<"+xe.decodeParameters+">>"}),"transparency"in xe&&Array.isArray(xe.transparency)){for(var je="",we=0,Ke=xe.transparency.length;we<Ke;we++)je+=xe.transparency[we]+" "+xe.transparency[we]+" ";Ne.push({key:"Mask",value:"["+je+"]"})}if(void 0!==xe.sMask&&Ne.push({key:"SMask",value:xe.objectId+1+" 0 R"}),qe({data:xe.data,additionalKeyValues:Ne,alreadyAppliedFilters:void 0!==xe.filter?["/"+xe.filter]:void 0,objectId:xe.objectId}),ze("endobj"),"sMask"in xe&&void 0!==xe.sMask){var Ae={width:xe.width,height:xe.height,colorSpace:"DeviceGray",bitsPerComponent:xe.bitsPerComponent,decodeParameters:"/Predictor "+xe.predictor+" /Colors 1 /BitsPerComponent "+xe.bitsPerComponent+" /Columns "+xe.width,data:xe.sMask};"filter"in xe&&(Ae.filter=xe.filter),ye.call(this,Ae)}if(xe.colorSpace===P.INDEXED){var Pe=this.internal.newObject();qe({data:Se(new Uint8Array(xe.palette)),objectId:Pe}),ze("endobj")}},o=function(){var ye=this.internal.collections.addImage_images;for(var xe in ye)i.call(this,ye[xe])},s=function(){var ye,xe=this.internal.collections.addImage_images,ze=this.internal.write;for(var qe in xe)ze("/I"+(ye=xe[qe]).index,ye.objectId,"0","R")},a=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",s))},l=function(){var ye=this.internal.collections.addImage_images;return a.call(this),ye},u=function(){return Object.keys(this.internal.collections.addImage_images).length},f=function(ye){return"function"==typeof n["process"+ye.toUpperCase()]},h=function(ye){return"object"===xa(ye)&&1===ye.nodeType},v=function(ye,xe){if("IMG"===ye.nodeName&&ye.hasAttribute("src")){var ze=""+ye.getAttribute("src");if(0===ze.indexOf("data:image/"))return O7(unescape(ze).split("base64,").pop());var qe=n.loadFile(ze,!0);if(void 0!==qe)return qe}if("CANVAS"===ye.nodeName){if(0===ye.width||0===ye.height)throw new Error("Given canvas must have data. Canvas width: "+ye.width+", height: "+ye.height);var Et;switch(xe){case"PNG":Et="image/png";break;case"WEBP":Et="image/webp";break;default:Et="image/jpeg"}return O7(ye.toDataURL(Et,1).split("base64,").pop())}},m=function(ye){var xe=this.internal.collections.addImage_images;if(xe)for(var ze in xe)if(ye===xe[ze].alias)return xe[ze]},x=function(ye,xe,ze){return ye||xe||(ye=-96,xe=-96),ye<0&&(ye=-1*ze.width*72/ye/this.internal.scaleFactor),xe<0&&(xe=-1*ze.height*72/xe/this.internal.scaleFactor),0===ye&&(ye=xe*ze.width/ze.height),0===xe&&(xe=ye*ze.height/ze.width),[ye,xe]},p=function(ye,xe,ze,qe,Et,Ne){var je=x.call(this,ze,qe,Et),we=this.internal.getCoordinateString,Ke=this.internal.getVerticalCoordinateString,dt=l.call(this);if(ze=je[0],qe=je[1],dt[Et.index]=Et,Ne){Ne*=Math.PI/180;var Tt=Math.cos(Ne),Ae=Math.sin(Ne),Pe=function($e){return $e.toFixed(4)},Xe=[Pe(Tt),Pe(Ae),Pe(-1*Ae),Pe(Tt),0,0,"cm"]}this.internal.write("q"),Ne?(this.internal.write([1,"0","0",1,we(ye),Ke(xe+qe),"cm"].join(" ")),this.internal.write(Xe.join(" ")),this.internal.write([we(ze),"0","0",we(qe),"0","0","cm"].join(" "))):this.internal.write([we(ze),"0","0",we(qe),we(ye),Ke(xe+qe),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Et.index+" Do"),this.internal.write("Q")},P=n.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};n.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var T=n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},H=n.__addimage__.sHashCode=function(ye){var xe,ze,qe=0;if("string"==typeof ye)for(ze=ye.length,xe=0;xe<ze;xe++)qe=(qe<<5)-qe+ye.charCodeAt(xe),qe|=0;else if(me(ye))for(ze=ye.byteLength/2,xe=0;xe<ze;xe++)qe=(qe<<5)-qe+ye[xe],qe|=0;return qe},U=n.__addimage__.validateStringAsBase64=function(ye){(ye=ye||"").toString().trim();var xe=!0;return 0===ye.length&&(xe=!1),ye.length%4!=0&&(xe=!1),!1===/^[A-Za-z0-9+/]+$/.test(ye.substr(0,ye.length-2))&&(xe=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(ye.substr(-2))&&(xe=!1),xe},ee=n.__addimage__.extractImageFromDataUrl=function(ye){var xe=(ye=ye||"").split("base64,"),ze=null;if(2===xe.length){var qe=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(xe[0]);Array.isArray(qe)&&(ze={mimeType:qe[1],charset:qe[2],data:xe[1]})}return ze},ie=n.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};n.__addimage__.isArrayBuffer=function(ye){return ie()&&ye instanceof ArrayBuffer};var me=n.__addimage__.isArrayBufferView=function(ye){return ie()&&typeof Uint32Array<"u"&&(ye instanceof Int8Array||ye instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&ye instanceof Uint8ClampedArray||ye instanceof Int16Array||ye instanceof Uint16Array||ye instanceof Int32Array||ye instanceof Uint32Array||ye instanceof Float32Array||ye instanceof Float64Array)},ue=n.__addimage__.binaryStringToUint8Array=function(ye){for(var xe=ye.length,ze=new Uint8Array(xe),qe=0;qe<xe;qe++)ze[qe]=ye.charCodeAt(qe);return ze},Se=n.__addimage__.arrayBufferToBinaryString=function(ye){for(var xe="",ze=me(ye)?ye:new Uint8Array(ye),qe=0;qe<ze.length;qe+=8192)xe+=String.fromCharCode.apply(null,ze.subarray(qe,qe+8192));return xe};n.addImage=function(){var ye,xe,ze,qe,Et,Ne,je,we,Ke;if("number"==typeof arguments[1]?(xe=t,ze=arguments[1],qe=arguments[2],Et=arguments[3],Ne=arguments[4],je=arguments[5],we=arguments[6],Ke=arguments[7]):(xe=arguments[1],ze=arguments[2],qe=arguments[3],Et=arguments[4],Ne=arguments[5],je=arguments[6],we=arguments[7],Ke=arguments[8]),"object"===xa(ye=arguments[0])&&!h(ye)&&"imageData"in ye){var dt=ye;ye=dt.imageData,xe=dt.format||xe||t,ze=dt.x||ze||0,qe=dt.y||qe||0,Et=dt.w||dt.width||Et,Ne=dt.h||dt.height||Ne,je=dt.alias||je,we=dt.compression||we,Ke=dt.rotation||dt.angle||Ke}var Tt=this.internal.getFilters();if(void 0===we&&-1!==Tt.indexOf("FlateEncode")&&(we="SLOW"),isNaN(ze)||isNaN(qe))throw new Error("Invalid coordinates passed to jsPDF.addImage");a.call(this);var Ae=Ue.call(this,ye,xe,je,we);return p.call(this,ze,qe,Et,Ne,Ae,Ke),this};var Ue=function(ye,xe,ze,qe){var Et,Ne,je,Ke;if("string"==typeof ye&&r(ye)===t){ye=unescape(ye);var we=it(ye,!1);(""!==we||void 0!==(we=n.loadFile(ye,!0)))&&(ye=we)}if(h(ye)&&(ye=v(ye,xe)),xe=r(ye,xe),!f(xe))throw new Error("addImage does not support files of type '"+xe+"', please ensure that a plugin for '"+xe+"' support is added.");if((null==(je=ze)||0===je.length)&&(ze="string"==typeof(Ke=ye)||me(Ke)?H(Ke):me(Ke.data)?H(Ke.data):null),(Et=m.call(this,ze))||(ie()&&(ye instanceof Uint8Array||"RGBA"===xe||(Ne=ye,ye=ue(ye))),Et=this["process"+xe.toUpperCase()](ye,u.call(this),ze,function(Ke){return Ke&&"string"==typeof Ke&&(Ke=Ke.toUpperCase()),Ke in n.image_compression?Ke:T.NONE}(qe),Ne)),!Et)throw new Error("An unknown error occurred whilst processing the image.");return Et},it=n.__addimage__.convertBase64ToBinaryString=function(ye,xe){var ze;xe="boolean"!=typeof xe||xe;var qe,Et="";if("string"==typeof ye){qe=null!==(ze=ee(ye))?ze.data:ye;try{Et=O7(qe)}catch(Ne){if(xe)throw U(qe)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Ne.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Et};n.getImageProperties=function(ye){var xe,ze,qe="";if(h(ye)&&(ye=v(ye)),"string"==typeof ye&&r(ye)===t&&(""===(qe=it(ye,!1))&&(qe=n.loadFile(ye)||""),ye=qe),ze=r(ye),!f(ze))throw new Error("addImage does not support files of type '"+ze+"', please ensure that a plugin for '"+ze+"' support is added.");if(!ie()||ye instanceof Uint8Array||(ye=ue(ye)),!(xe=this["process"+ze.toUpperCase()](ye)))throw new Error("An unknown error occurred whilst processing the image");return xe.fileType=ze,xe}}(bo.API),function(n){var t=function(e){if(void 0!==e&&""!=e)return!0};bo.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),n.events.push(["putPage",function(e){for(var r,i,o,s=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,l=this.internal.getPageInfoByObjId(e.objId),u=e.pageContext.annotations,f=!1,h=0;h<u.length&&!f;h++)switch((r=u[h]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(f=!0);break;case"reference":case"text":case"freetext":f=!0}if(0!=f){this.internal.write("/Annots [");for(var v=0;v<u.length;v++){r=u[v];var m=this.internal.pdfEscape,x=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),P=this.internal.newAdditionalObject(),T=this.internal.getEncryptor(p.objId),H=r.title||"Note";o="<</Type /Annot /Subtype /Text "+(i="/Rect ["+s(r.bounds.x)+" "+a(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y)+"] ")+"/Contents ("+m(T(r.contents))+")",o+=" /Popup "+P.objId+" 0 R",o+=" /P "+l.objId+" 0 R",o+=" /T ("+m(T(H))+") >>",p.content=o;var U=p.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+s(r.bounds.x+30)+" "+a(r.bounds.y+r.bounds.h)+" "+s(r.bounds.x+r.bounds.w+30)+" "+a(r.bounds.y)+"] ")+" /Parent "+U,r.open&&(o+=" /Open true"),P.content=o+=" >>",this.internal.write(p.objId,"0 R",P.objId,"0 R");break;case"freetext":i="/Rect ["+s(r.bounds.x)+" "+a(r.bounds.y)+" "+s(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y+r.bounds.h)+"] ";var ee=r.color||"#000000";o="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+m(x(r.contents))+")",o+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+ee+")",o+=" /Border [0 0 0]",this.internal.write(o+=" >>");break;case"link":if(r.options.name){var ie=this.annotations._nameMap[r.options.name];r.options.pageNumber=ie.page,r.options.top=ie.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",o="",r.options.url)o="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+m(x(r.options.url))+") >>";else if(r.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,o+=" /FitV "+r.options.left+"]";break;default:var me=a(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),o+=" /XYZ "+r.options.left+" "+me+" "+r.options.zoom+"]"}""!=o&&this.internal.write(o+=" >>")}}this.internal.write("]")}}]),n.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},n.link=function(e,r,i,o,s){var a=this.internal.getCurrentPageInfo(),l=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:l(e),y:u(r),w:l(e+i),h:u(r+o)},options:s,type:"link"})},n.textWithLink=function(e,r,i,o){var s,a,l=this.getTextWidth(e),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==o.maxWidth){var f=this.splitTextToSize(e,a=o.maxWidth).length;s=Math.ceil(u*f)}else a=l,s=u;return this.text(e,r,i,o),"center"===o.align&&(r-=l/2),"right"===o.align&&(r-=l),this.link(r,(i+=.2*u)-u,a,s,o),l},n.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}}(bo.API),function(n){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];n.__arabicParser__={};var o=n.__arabicParser__.isInArabicSubstitutionA=function(p){return void 0!==t[p.charCodeAt(0)]},s=n.__arabicParser__.isArabicLetter=function(p){return"string"==typeof p&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(p)},a=n.__arabicParser__.isArabicEndLetter=function(p){return s(p)&&o(p)&&t[p.charCodeAt(0)].length<=2},l=n.__arabicParser__.isArabicAlfLetter=function(p){return s(p)&&i.indexOf(p.charCodeAt(0))>=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(p){return s(p)&&o(p)&&t[p.charCodeAt(0)].length>=1};var u=n.__arabicParser__.arabicLetterHasFinalForm=function(p){return s(p)&&o(p)&&t[p.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(p){return s(p)&&o(p)&&t[p.charCodeAt(0)].length>=3};var f=n.__arabicParser__.arabicLetterHasMedialForm=function(p){return s(p)&&o(p)&&4==t[p.charCodeAt(0)].length},h=n.__arabicParser__.resolveLigatures=function(p){var P=0,T=e,H="",U=0;for(P=0;P<p.length;P+=1)void 0!==T[p.charCodeAt(P)]?(U++,"number"==typeof(T=T[p.charCodeAt(P)])&&(H+=String.fromCharCode(T),T=e,U=0),P===p.length-1&&(T=e,H+=p.charAt(P-(U-1)),P-=U-1,U=0)):(T=e,H+=p.charAt(P-U),P-=U,U=0);return H};n.__arabicParser__.isArabicDiacritic=function(p){return void 0!==p&&void 0!==r[p.charCodeAt(0)]};var v=n.__arabicParser__.getCorrectForm=function(p,P,T){return s(p)?!1===o(p)?-1:!u(p)||!s(P)&&!s(T)||!s(T)&&a(P)||a(p)&&!s(P)||a(p)&&l(P)||a(p)&&a(P)?0:f(p)&&s(P)&&!a(P)&&s(T)&&u(T)?3:a(p)||!s(T)?1:2:-1},m=function(p){var P=0,T=0,H=0,U="",ee="",ie="",me=(p=p||"").split("\\s+"),ue=[];for(P=0;P<me.length;P+=1){for(ue.push(""),T=0;T<me[P].length;T+=1)ee=me[P][T-1],ie=me[P][T+1],s(U=me[P][T])?(H=v(U,ee,ie),ue[P]+=-1!==H?String.fromCharCode(t[U.charCodeAt(0)][H]):U):ue[P]+=U;ue[P]=h(ue[P])}return ue.join(" ")},x=n.__arabicParser__.processArabic=n.processArabic=function(){var p,P="string"==typeof arguments[0]?arguments[0]:arguments[0].text,T=[];if(Array.isArray(P)){var H=0;for(T=[],H=0;H<P.length;H+=1)Array.isArray(P[H])?T.push([m(P[H][0]),P[H][1],P[H][2]]):T.push([m(P[H])]);p=T}else p=m(P);return"string"==typeof arguments[0]?p:(arguments[0].text=p,arguments[0])};n.events.push(["preProcessText",x])}(bo.API),bo.API.autoPrint=function(n){var t;return"javascript"===((n=n||{}).variant=n.variant||"non-conform",n.variant)?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(n){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(a){e=a}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(a){r=isNaN(a)||!1===Number.isInteger(a)||a<0?150:a,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(a){i=isNaN(a)||!1===Number.isInteger(a)||a<0?300:a,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var o=[];Object.defineProperty(this,"childNodes",{get:function(){return o}
vendor: 6,133 bytes, line 1
1,set:function(a){o=a}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(a){s=a}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var i;if("2d"!==(e=e||"2d"))return null;for(i in r)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=r[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(bo.API),function(n){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var l=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return l},set:function(p){l=p}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(p){u=p}});var f=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return f},set:function(p){f=p}});var h=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return h},set:function(p){h=p}});var v=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return v},set:function(p){v=p}});var m=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return m},set:function(p){m=p}});var x=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return x},set:function(p){x=p}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(l){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof l?l:void 0,this},n.getTextDimensions=function(l,u){r.call(this);var f=(u=u||{}).fontSize||this.getFontSize(),h=u.font||this.getFont(),v=u.scaleFactor||this.internal.scaleFactor,m=0,x=0,p=0,P=this;if(!Array.isArray(l)&&"string"!=typeof l){if("number"!=typeof l)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");l=String(l)}var T=u.maxWidth;T>0?"string"==typeof l?l=this.splitTextToSize(l,T):"[object Array]"===Object.prototype.toString.call(l)&&(l=l.reduce(function(U,ee){return U.concat(P.splitTextToSize(ee,T))},[])):l=Array.isArray(l)?l:[l];for(var H=0;H<l.length;H++)m<(p=this.getStringUnitWidth(l[H],{font:h})*f)&&(m=p);return 0!==m&&(x=l.length),{w:m/=v,h:Math.max((x*f*this.getLineHeightFactor()-f*(this.getLineHeightFactor()-1))/v,0)}},n.cellAddPage=function(){r.call(this),this.addPage();var l=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new o(l.left,l.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=n.cell=function(){var l;l=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var u=this.internal.__cell__.lastCell,f=this.internal.__cell__.padding,h=this.internal.__cell__.margins||t,v=this.internal.__cell__.tableHeaderRow,m=this.internal.__cell__.printHeaders;return void 0!==u.lineNumber&&(u.lineNumber===l.lineNumber?(l.x=(u.x||0)+(u.width||0),l.y=u.y||0):u.y+u.height+l.height+h.bottom>this.getPageHeight()?(this.cellAddPage(),l.y=h.top,m&&v&&(this.printHeaderRow(l.lineNumber,!0),l.y+=v[0].height)):l.y=u.y+u.height||l.y),void 0!==l.text[0]&&(this.rect(l.x,l.y,l.width,l.height,!0===e?"FD":void 0),"right"===l.align?this.text(l.text,l.x+l.width-f,l.y+f,{align:"right",baseline:"top"}):"center"===l.align?this.text(l.text,l.x+l.width/2,l.y+f,{align:"center",baseline:"top",maxWidth:l.width-f-f}):this.text(l.text,l.x+f,l.y+f,{align:"left",baseline:"top",maxWidth:l.width-f-f})),this.internal.__cell__.lastCell=l,this};n.table=function(l,u,f,h,v){if(r.call(this),!f)throw new Error("No data for PDF table.");var m,x,p,P,T=[],H=[],U=[],ee={},ie={},me=[],ue=[],Se=(v=v||{}).autoSize||!1,Ue=!1!==v.printHeaders,it=v.css&&void 0!==v.css["font-size"]?16*v.css["font-size"]:v.fontSize||12,ye=v.margins||Object.assign({width:this.getPageWidth()},t),xe="number"==typeof v.padding?v.padding:3,ze=v.headerBackgroundColor||"#c8c8c8",qe=v.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=Ue,this.internal.__cell__.margins=ye,this.internal.__cell__.table_font_size=it,this.internal.__cell__.padding=xe,this.internal.__cell__.headerBackgroundColor=ze,this.internal.__cell__.headerTextColor=qe,this.setFontSize(it),null==h)H=T=Object.keys(f[0]),U=T.map(function(){return"left"});else if(Array.isArray(h)&&"object"===xa(h[0]))for(T=h.map(function(dt){return dt.name}),H=h.map(function(dt){return dt.prompt||dt.name||""}),U=h.map(function(dt){return dt.align||"left"}),m=0;m<h.length;m+=1)ie[h[m].name]=h[m].width*(19.049976/25.4);else Array.isArray(h)&&"string"==typeof h[0]&&(H=T=h,U=T.map(function(){return"left"}));if(Se||Array.isArray(h)&&"string"==typeof h[0])for(m=0;m<T.length;m+=1){for(ee[P=T[m]]=f.map(function(dt){return dt[P]}),this.setFont(void 0,"bold"),me.push(this.getTextDimensions(H[m],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),x=ee[P],this.setFont(void 0,"normal"),p=0;p<x.length;p+=1)me.push(this.getTextDimensions(x[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);ie[P]=Math.max.apply(null,me)+xe+xe,me=[]}if(Ue){var Et={};for(m=0;m<T.length;m+=1)Et[T[m]]={},Et[T[m]].text=H[m],Et[T[m]].align=U[m];var Ne=a.call(this,Et,ie);ue=T.map(function(dt){return new o(l,u,ie[dt],Ne,Et[dt].text,void 0,Et[dt].align)}),this.setTableHeaderRow(ue),this.printHeaderRow(1,!1)}var je=h.reduce(function(dt,Tt){return dt[Tt.name]=Tt.align,dt},{});for(m=0;m<f.length;
vendor: 13,026 bytes, line 1
1m+=1){"rowStart"in v&&v.rowStart instanceof Function&&v.rowStart({row:m,data:f[m]},this);var we=a.call(this,f[m],ie);for(p=0;p<T.length;p+=1){var Ke=f[m][T[p]];"cellStart"in v&&v.cellStart instanceof Function&&v.cellStart({row:m,col:p,data:Ke},this),s.call(this,new o(l,u,ie[T[p]],we,Ke,m+2,je[T[p]]))}}return this.internal.__cell__.table_x=l,this.internal.__cell__.table_y=u,this};var a=function(l,u){var f=this.internal.__cell__.padding,h=this.internal.__cell__.table_font_size,v=this.internal.scaleFactor;return Object.keys(l).map(function(m){var x=l[m];return this.splitTextToSize(x.hasOwnProperty("text")?x.text:x,u[m]-f-f)},this).map(function(m){return this.getLineHeightFactor()*m.length*h/v+f+f},this).reduce(function(m,x){return Math.max(m,x)},0)};n.setTableHeaderRow=function(l){r.call(this),this.internal.__cell__.tableHeaderRow=l},n.printHeaderRow=function(l,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var f;if(e=!0,"function"==typeof this.internal.__cell__.headerFunction){var h=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(h[0],h[1],h[2],h[3],void 0,-1)}this.setFont(void 0,"bold");for(var v=[],m=0;m<this.internal.__cell__.tableHeaderRow.length;m+=1){f=this.internal.__cell__.tableHeaderRow[m].clone(),u&&(f.y=this.internal.__cell__.margins.top||0,v.push(f)),f.lineNumber=l;var x=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,f),this.setTextColor(x)}v.length>0&&this.setTableHeaderRow(v),this.setFont(void 0,"normal"),e=!1}}(bo.API);var rX={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},iX=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],hI=nX(iX),oX=[100,200,300,400,500,600,700,800,900],BAe=nX(oX);function pI(n){var o,t=n.family.replace(/"|'/g,"").toLowerCase(),e=rX[o=(o=n.style)||"normal"]?o:"normal",r=function(o){return o?"number"==typeof o?o>=100&&o<=900&&o%100==0?o:400:/^\d00$/.test(o)?parseInt(o):"bold"===o?700:400:400}(n.weight),i=function(o){return"number"==typeof hI[o=o||"normal"]?o:"normal"}(n.stretch);return{family:t,style:e,weight:r,stretch:i,src:n.src||[],ref:n.ref||{name:t,style:[i,e,r].join(" ")}}}function sX(n,t,e,r){var i;for(i=e;i>=0&&i<t.length;i+=r)if(n[t[i]])return n[t[i]];for(i=e;i>=0&&i<t.length;i-=r)if(n[t[i]])return n[t[i]]}var VAe={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},aX={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function lX(n){return[n.stretch,n.style,n.weight,n.family].join(" ")}function cX(n){return n.trimLeft()}function jAe(n,t){for(var e=0;e<n.length;){if(n.charAt(e)===t)return[n.substring(0,e),n.substring(e+1)];e+=1}return null}function UAe(n){var t=n.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],n.substring(t[0].length)]}var iw,uX,fX,mI=["times"];(function(n){var t,e,r,i,o,s,a,l,u,f=function(Ae){return this.isStrokeTransparent=(Ae=Ae||{}).isStrokeTransparent||!1,this.strokeOpacity=Ae.strokeOpacity||1,this.strokeStyle=Ae.strokeStyle||"#000000",this.fillStyle=Ae.fillStyle||"#000000",this.isFillTransparent=Ae.isFillTransparent||!1,this.fillOpacity=Ae.fillOpacity||1,this.font=Ae.font||"10px sans-serif",this.textBaseline=Ae.textBaseline||"alphabetic",this.textAlign=Ae.textAlign||"left",this.lineWidth=Ae.lineWidth||1,this.lineJoin=Ae.lineJoin||"miter",this.lineCap=Ae.lineCap||"butt",this.path=Ae.path||[],this.transform=void 0!==Ae.transform?Ae.transform.clone():new l,this.globalCompositeOperation=Ae.globalCompositeOperation||"normal",this.globalAlpha=Ae.globalAlpha||1,this.clip_path=Ae.clip_path||[],this.currentPoint=Ae.currentPoint||new s,this.miterLimit=Ae.miterLimit||10,this.lastPoint=Ae.lastPoint||new s,this.lineDashOffset=Ae.lineDashOffset||0,this.lineDash=Ae.lineDash||[],this.margin=Ae.margin||[0,0,0,0],this.prevPageLastElemOffset=Ae.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof Ae.ignoreClearRect||Ae.ignoreClearRect,this};n.events.push(["initialized",function(){this.context2d=new h(this),t=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,s=this.internal.Point,a=this.internal.Rectangle,l=this.internal.Matrix,u=new f}]);var h=function(Ae){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var Pe=Ae;Object.defineProperty(this,"pdf",{get:function(){return Pe}});var Xe=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Xe},set:function(xn){Xe=Boolean(xn)}});var $e=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return $e},set:function(xn){$e=Boolean(xn)}});var Me=0;Object.defineProperty(this,"posX",{get:function(){return Me},set:function(xn){isNaN(xn)||(Me=xn)}});var De=0;Object.defineProperty(this,"posY",{get:function(){return De},set:function(xn){isNaN(xn)||(De=xn)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(xn){var _t;"number"==typeof xn?_t=[xn,xn,xn,xn]:((_t=new Array(4))[0]=xn[0],_t[1]=xn.length>=2?xn[1]:_t[0],_t[2]=xn.length>=3?xn[2]:_t[0],_t[3]=xn.length>=4?xn[3]:_t[1]),u.margin=_t}});var gt=!1;Object.defineProperty(this,"autoPaging",{get:function(){return gt},set:function(xn){gt=xn}});var Rt=0;Object.defineProperty(this,"lastBreak",{get:function(){return Rt},set:function(xn){Rt=xn}});var kt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return kt},set:function(xn){kt=xn}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(xn){xn instanceof f&&(u=xn)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(xn){u.path=xn}});var rn=[];Object.defineProperty(this,"ctxStack",{get:function(){return rn},set:function(xn){rn=xn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(xn){var _t;_t=v(xn),this.ctx.fillStyle=_t.style,this.ctx.isFillTransparent=0===_t.a,this.ctx.fillOpacity=_t.a,this.pdf.setFillColor(_t.r,_t.g,_t.b,{a:_t.a}),this.pdf.setTextColor(_t.r,_t.g,_t.b,{a:_t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(xn){var _t=v(xn);this.ctx.strokeStyle=_t.style,this.ctx.isStrokeTransparent=0===_t.a,this.ctx.strokeOpacity=_t.a,0===_t.a?this.pdf.setDrawColor(255,255,255):this.pdf.setDrawColor(_t.r,_t.g,_t.b)}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(xn){-1!==["butt","round","square"].indexOf(xn)&&(this.ctx.lineCap=xn,this.pdf.setLineCap(xn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(xn){isNaN(xn)||(this.ctx.lineWidth=xn,this.pdf.setLineWidth(xn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(xn){-1!==["bevel","round","miter"].indexOf(xn)&&(this.ctx.lineJoin=xn,this.pdf.setLineJoin(xn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(xn){isNaN(xn)||(this.ctx.miterLimit=xn,this.pdf.setMiterLimit(xn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(xn){this.ctx.textBaseline=xn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(xn){-1!==["right","end","center","left","start"].indexOf(xn)&&(this.ctx.textAlign=xn)}});var In=null,Cr=null;Object.defineProperty(this,"fontFaces",{get:function(){return Cr},set:function(xn){In=null,Cr=xn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(xn){var _t;if(this.ctx.font=xn,null!==(_t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(xn))){var Or=_t[1],Q=_t[3],fe=_t[4],Ce=_t[6],mt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(fe)[2];fe=Math.floor("px"===mt?parseFloat(fe)*this.pdf.internal.scaleFactor:"em"===mt?parseFloat(fe)*this.pdf.getFontSize():parseFloat(fe)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(fe);var bt=function(Qr){var so,Kr,os=[],Hn=Qr.trim();if(""===Hn)return mI;if(Hn in aX)return[aX[Hn]];for(;""!==Hn;){switch(Kr=null,so=(Hn=cX(Hn)).charAt(0)){case'"':case"'":Kr=jAe(Hn.substring(1),so);break;default:Kr=UAe(Hn)}if(null===Kr||(os.push(Kr[0]),""!==(Hn=cX(Kr[1]))&&","!==Hn.charAt(0)))return mI;Hn=Hn.replace(/^,/,"")}return os}(Ce);if(this.fontFaces){var zt=function HAe(n,t,e){for(var r=(e=e||{}).defaultFontFamily||"times",i=Object.assign({},VAe,e.genericFontFamilies||{}),o=null,s=null,a=0;a<t.length;++a)if(i[(o=pI(t[a])).family]&&(o.family=i[o.family]),n.hasOwnProperty(o.family)){s=n[o.family];break}if(!(s=s||n[r]))throw new Error("Could not find a font-family for the rule '"+lX(o)+"' and default family '"+r+"'.");if(s=function(l,u){if(u[l])return u[l];var f=hI[l],v=sX(u,iX,f,f<=hI.normal?-1:1);if(!v)throw new Error("Could not find a matching font-stretch value for "+l);return v}(o.stretch,s),s=function(l,u){if(u[l])return u[l];for(var f=rX[l],h=0;h<f.length;++h)if(u[f[h]])return u[f[h]];throw new Error("Could not find a matching font-style for "+l)}(o.style,s),!(s=function(l,u){if(u[l])return u[l];if(400===l&&u[500])return u[500];if(500===l&&u[400])return u[400];var h=sX(u,oX,BAe[l],l<400?-1:1);if(!h)throw new Error("Could not find a matching font-weight for value "+l);return h}(o.weight,s)))throw new Error("Failed to resolve a font for the rule '"+lX(o)+"'.");return s}(function Xn(xn,_t){if(null===In){var Or=(Q=xn.getFontList(),fe=[],Object.keys(Q).forEach(function(Ce){Q[Ce].forEach(function(mt){var bt=null;switch(mt){case"bold":bt={family:Ce,weight:"bold"};break;case"italic":bt={family:Ce,style:"italic"};break;case"bolditalic":bt={family:Ce,weight:"bold",style:"italic"};break;case"":case"normal":bt={family:Ce}}null!==bt&&(bt.ref={name:Ce,style:mt},fe.push(bt))})}),fe);In=function(Q){for(var fe={},Ce=0;Ce<Q.length;++Ce){var mt=pI(Q[Ce]),bt=mt.family,zt=mt.stretch,hn=mt.style,wr=mt.weight;fe[bt]=fe[bt]||{},fe[bt][zt]=fe[bt][zt]||{},fe[bt][zt][hn]=fe[bt][zt][hn]||{},fe[bt][zt][hn][wr]=mt}return fe}(Or.concat(_t))}var Q,fe;return In}(this.pdf,this.fontFaces),bt.map(function(Qr){return{family:Qr,stretch:"normal",weight:Q,style:Or}}));this.pdf.setFont(zt.ref.name,zt.ref.style)}else{var hn="";("bold"===Q||parseInt(Q,10)>=700||"bold"===Or)&&(hn="bold"),"italic"===Or&&(hn+="italic"),0===hn.length&&(hn="normal");for(var wr="",Fr={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},li=0;li<bt.length;li++){if(void 0!==this.pdf.internal.getFont(bt[li],hn,{noFallback:!0,disableWarning:!0})){wr=bt[li];break}if("bolditalic"===hn&&void 0!==this.pdf.internal.getFont(bt[li],"bold",{noFallback:!0,disableWarning:!0}))wr=bt[li],hn="bold";else if(void 0!==this.pdf.internal.getFont(bt[li],"normal",{noFallback:!0,disableWarning:!0})){wr=bt[li],hn="normal";break}}if(""===wr)for(var ci=0;ci<bt.length;ci++)if(Fr[bt[ci]]){wr=Fr[bt[ci]];break}this.pdf.setFont(wr=""===wr?"Times":wr,hn)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(xn){this.ctx.globalCompositeOperation=xn}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(xn){this.ctx.globalAlpha=xn}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(xn){this.ctx.lineDashOffset=xn,Tt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(xn){this.ctx.lineDash=xn,Tt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(xn){this.ctx.ignoreClearRect=Boolean(xn)}})};h.prototype.setLineDash=function(Ae){this.lineDash=Ae},h.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},h.prototype.fill=function(){ee.call(this,"fill",!1)},h.prototype.stroke=function(){ee.call(this,"stroke",!1)},h.prototype.beginPath=function(){this.path=[{type:"begin"}]},h.prototype.moveTo=function(Ae,Pe){if(isNaN(Ae)||isNaN(Pe))throw $a.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to
1jsPDF.context2d.moveTo");var Xe=this.ctx.transform.applyToPoint(new s(Ae,Pe));this.path.push({type:"mt",x:Xe.x,y:Xe.y}),this.ctx.lastPoint=new s(Ae,Pe)},h.prototype.closePath=function(){var Ae=new s(0,0),Pe=0;for(Pe=this.path.length-1;-1!==Pe;Pe--)if("begin"===this.path[Pe].type&&"object"===xa(this.path[Pe+1])&&"number"==typeof this.path[Pe+1].x){Ae=new s(this.path[Pe+1].x,this.path[Pe+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(Ae.x,Ae.y)},h.prototype.lineTo=function(Ae,Pe){if(isNaN(Ae)||isNaN(Pe))throw $a.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Xe=this.ctx.transform.applyToPoint(new s(Ae,Pe));this.path.push({type:"lt",x:Xe.x,y:Xe.y}),this.ctx.lastPoint=new s(Xe.x,Xe.y)},h.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),ee.call(this,null,!0)},h.prototype.quadraticCurveTo=function(Ae,Pe,Xe,$e){if(isNaN(Xe)||isNaN($e)||isNaN(Ae)||isNaN(Pe))throw $a.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Me=this.ctx.transform.applyToPoint(new s(Xe,$e)),De=this.ctx.transform.applyToPoint(new s(Ae,Pe));this.path.push({type:"qct",x1:De.x,y1:De.y,x:Me.x,y:Me.y}),this.ctx.lastPoint=new s(Me.x,Me.y)},h.prototype.bezierCurveTo=function(Ae,Pe,Xe,$e,Me,De){if(isNaN(Me)||isNaN(De)||isNaN(Ae)||isNaN(Pe)||isNaN(Xe)||isNaN($e))throw $a.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var gt=this.ctx.transform.applyToPoint(new s(Me,De)),Rt=this.ctx.transform.applyToPoint(new s(Ae,Pe)),kt=this.ctx.transform.applyToPoint(new s(Xe,$e));this.path.push({type:"bct",x1:Rt.x,y1:Rt.y,x2:kt.x,y2:kt.y,x:gt.x,y:gt.y}),this.ctx.lastPoint=new s(gt.x,gt.y)},h.prototype.arc=function(Ae,Pe,Xe,$e,Me,De){if(isNaN(Ae)||isNaN(Pe)||isNaN(Xe)||isNaN($e)||isNaN(Me))throw $a.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(De=Boolean(De),!this.ctx.transform.isIdentity){var gt=this.ctx.transform.applyToPoint(new s(Ae,Pe));Ae=gt.x,Pe=gt.y;var Rt=this.ctx.transform.applyToPoint(new s(0,Xe)),kt=this.ctx.transform.applyToPoint(new s(0,0));Xe=Math.sqrt(Math.pow(Rt.x-kt.x,2)+Math.pow(Rt.y-kt.y,2))}Math.abs(Me-$e)>=2*Math.PI&&($e=0,Me=2*Math.PI),this.path.push({type:"arc",x:Ae,y:Pe,radius:Xe,startAngle:$e,endAngle:Me,counterclockwise:De})},h.prototype.arcTo=function(Ae,Pe,Xe,$e,Me){throw new Error("arcTo not implemented.")},h.prototype.rect=function(Ae,Pe,Xe,$e){if(isNaN(Ae)||isNaN(Pe)||isNaN(Xe)||isNaN($e))throw $a.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ae,Pe),this.lineTo(Ae+Xe,Pe),this.lineTo(Ae+Xe,Pe+$e),this.lineTo(Ae,Pe+$e),this.lineTo(Ae,Pe),this.lineTo(Ae+Xe,Pe),this.lineTo(Ae,Pe)},h.prototype.fillRect=function(Ae,Pe,Xe,$e){if(isNaN(Ae)||isNaN(Pe)||isNaN(Xe)||isNaN($e))throw $a.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!m.call(this)){var Me={};"butt"!==this.lineCap&&(Me.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(Me.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ae,Pe,Xe,$e),this.fill(),Me.hasOwnProperty("lineCap")&&(this.lineCap=Me.lineCap),Me.hasOwnProperty("lineJoin")&&(this.lineJoin=Me.lineJoin)}},h.prototype.strokeRect=function(Ae,Pe,Xe,$e){if(isNaN(Ae)||isNaN(Pe)||isNaN(Xe)||isNaN($e))throw $a.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");x.call(this)||(this.beginPath(),this.rect(Ae,Pe,Xe,$e),this.stroke())},h.prototype.clearRect=function(Ae,Pe,Xe,$e){if(isNaN(Ae)||isNaN(Pe)||isNaN(Xe)||isNaN($e))throw $a.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ae,Pe,Xe,$e))},h.prototype.save=function(Ae){Ae="boolean"!=typeof Ae||Ae;
vendor: 4,142 bytes, line 1
1for(var Pe=this.pdf.internal.getCurrentPageInfo().pageNumber,Xe=0;Xe<this.pdf.internal.getNumberOfPages();Xe++)this.pdf.setPage(Xe+1),this.pdf.internal.out("q");if(this.pdf.setPage(Pe),Ae){this.ctx.fontSize=this.pdf.internal.getFontSize();var $e=new f(this.ctx);this.ctxStack.push(this.ctx),this.ctx=$e}},h.prototype.restore=function(Ae){Ae="boolean"!=typeof Ae||Ae;for(var Pe=this.pdf.internal.getCurrentPageInfo().pageNumber,Xe=0;Xe<this.pdf.internal.getNumberOfPages();Xe++)this.pdf.setPage(Xe+1),this.pdf.internal.out("Q");this.pdf.setPage(Pe),Ae&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},h.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var v=function(Ae){var Pe,Xe,$e,Me;if(!0===Ae.isCanvasGradient&&(Ae=Ae.getColor()),!Ae)return{r:0,g:0,b:0,a:0,style:Ae};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Ae))Pe=0,Xe=0,$e=0,Me=0;else{var De=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Ae);if(null!==De)Pe=parseInt(De[1]),Xe=parseInt(De[2]),$e=parseInt(De[3]),Me=1;else if(null!==(De=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Ae)))Pe=parseInt(De[1]),Xe=parseInt(De[2]),$e=parseInt(De[3]),Me=parseFloat(De[4]);else{if(Me=1,"string"==typeof Ae&&"#"!==Ae.charAt(0)){var gt=new WK(Ae);Ae=gt.ok?gt.toHex():"#000000"}4===Ae.length?(Pe=Ae.substring(1,2),Pe+=Pe,Xe=Ae.substring(2,3),Xe+=Xe,$e=Ae.substring(3,4),$e+=$e):(Pe=Ae.substring(1,3),Xe=Ae.substring(3,5),$e=Ae.substring(5,7)),Pe=parseInt(Pe,16),Xe=parseInt(Xe,16),$e=parseInt($e,16)}}return{r:Pe,g:Xe,b:$e,a:Me,style:Ae}},m=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},x=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};h.prototype.fillText=function(Ae,Pe,Xe,$e){if(isNaN(Pe)||isNaN(Xe)||"string"!=typeof Ae)throw $a.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if($e=isNaN($e)?void 0:$e,!m.call(this)){var Me=we(this.ctx.transform.rotation),De=this.ctx.transform.scaleX;xe.call(this,{text:Ae,x:Pe,y:Xe,scale:De,angle:Me,align:this.textAlign,maxWidth:$e})}},h.prototype.strokeText=function(Ae,Pe,Xe,$e){if(isNaN(Pe)||isNaN(Xe)||"string"!=typeof Ae)throw $a.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!x.call(this)){$e=isNaN($e)?void 0:$e;var Me=we(this.ctx.transform.rotation),De=this.ctx.transform.scaleX;xe.call(this,{text:Ae,x:Pe,y:Xe,scale:De,renderingMode:"stroke",angle:Me,align:this.textAlign,maxWidth:$e})}},h.prototype.measureText=function(Ae){if("string"!=typeof Ae)throw $a.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Pe=this.pdf,Xe=this.pdf.internal.scaleFactor,$e=Pe.internal.getFontSize(),Me=Pe.getStringUnitWidth(Ae)*$e/Pe.internal.scaleFactor,De=function(gt){var Rt=(gt=gt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Rt}}),this};return new De({width:Me*=Math.round(96*Xe/72*1e4)/1e4})},h.prototype.scale=function(Ae,Pe){if(isNaN(Ae)||isNaN(Pe))throw $a.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Xe=new l(Ae,0,0,Pe,0,0);this.ctx.transform=this.ctx.transform.multiply(Xe)},h.prototype.rotate=function(Ae){if(isNaN(Ae))throw $a.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Pe=new l(Math.cos(Ae),Math.sin(Ae),-Math.sin(Ae),Math.cos(Ae),0,0);this.ctx.transform=this.ctx.transform.multiply(Pe)},h.prototype.translate=function(Ae,Pe){if(isNaN(Ae)||isNaN(Pe))throw $a.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to
1jsPDF.context2d.translate");var Xe=new l(1,0,0,1,Ae,Pe);this.ctx.transform=this.ctx.transform.multiply(Xe)},h.prototype.transform=function(Ae,Pe,Xe,$e,Me,De){if(isNaN(Ae)||isNaN(Pe)||isNaN(Xe)||isNaN($e)||isNaN(Me)||isNaN(De))throw $a.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var gt=new l(Ae,Pe,Xe,$e,Me,De);this.ctx.transform=this.ctx.transform.multiply(gt)},h.prototype.setTransform=function(Ae,Pe,Xe,$e,Me,De){Ae=isNaN(Ae)?1:Ae,Pe=isNaN(Pe)?0:Pe,Xe=isNaN(Xe)?0:Xe,$e=isNaN($e)?1:$e,Me=isNaN(Me)?0:Me,De=isNaN(De)?0:De,this.ctx.transform=new l(Ae,Pe,Xe,$e,Me,De)};var p=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};h.prototype.drawImage=function(Ae,Pe,Xe,$e,Me,De,gt,Rt,kt){var rn=this.pdf.getImageProperties(Ae),In=1,Xn=1,Cr=1,xn=1;void 0!==$e&&void 0!==Rt&&(Cr=Rt/$e,xn=kt/Me,In=rn.width/$e*Rt/$e,Xn=rn.height/Me*kt/Me),void 0===De&&(De=Pe,gt=Xe,Pe=0,Xe=0),void 0!==$e&&void 0===Rt&&(Rt=$e,kt=Me),void 0===$e&&void 0===Rt&&(Rt=rn.width,kt=rn.height);for(var _t,Or=this.ctx.transform.decompose(),Q=we(Or.rotate.shx),fe=new l,Ce=(fe=(fe=(fe=fe.multiply(Or.translate)).multiply(Or.skew)).multiply(Or.scale)).applyToRectangle(new a(De-Pe*Cr,gt-Xe*xn,$e*In,Me*Xn)),mt=P.call(this,Ce),bt=[],zt=0;zt<mt.length;zt+=1)-1===bt.indexOf(mt[zt])&&bt.push(mt[zt]);if(U(bt),this.autoPaging)for(var hn=bt[0],wr=bt[bt.length-1],Fr=hn;Fr<wr+1;Fr++){this.pdf.setPage(Fr);var li=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ci=1===Fr?this.posY+this.margin[0]:this.margin[0],so=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Kr=1===Fr?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(Fr-2)*so;if(0!==this.ctx.clip_path.length){var os=this.path;_t=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(_t,this.posX+this.margin[3],-Kr+ci+this.ctx.prevPageLastElemOffset),ie.call(this,"fill",!0),this.path=os}var Hn=JSON.parse(JSON.stringify(Ce));Hn=H([Hn],this.posX+this.margin[3],-Kr+ci+this.ctx.prevPageLastElemOffset)[0];var En=(Fr>hn||Fr<wr)&&p.call(this);En&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],li,so,null).clip().discardPath()),this.pdf.addImage(Ae,"JPEG",Hn.x,Hn.y,Hn.w,Hn.h,null,null,Q),En&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Ae,"JPEG",Ce.x,Ce.y,Ce.w,Ce.h,null,null,Q)};var P=function(Ae,Pe,Xe){var $e=[];Pe=Pe||this.pdf.internal.pageSize.width,Xe=Xe||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Me=this.posY+this.ctx.prevPageLastElemOffset;switch(Ae.type){default:case"mt":case"lt":$e.push(Math.floor((Ae.y+Me)/Xe)+1);break;case"arc":$e.push(Math.floor((Ae.y+Me-Ae.radius)/Xe)+1),$e.push(Math.floor((Ae.y+Me+Ae.radius)/Xe)+1);break;case"qct":var De=Ke(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ae.x1,Ae.y1,Ae.x,Ae.y);$e.push(Math.floor((De.y+Me)/Xe)+1),$e.push(Math.floor((De.y+De.h+Me)/Xe)+1);break;case"bct":var gt=dt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Ae.x1,Ae.y1,Ae.x2,Ae.y2,Ae.x,Ae.y);$e.push(Math.floor((gt.y+Me)/Xe)+1),$e.push(Math.floor((gt.y+gt.h+Me)/Xe)+1);break;case"rect":$e.push(Math.floor((Ae.y+Me)/Xe)+1),$e.push(Math.floor((Ae.y+Ae.h+Me)/Xe)+1)}for(var Rt=0;Rt<$e.length;Rt+=1)for(;this.pdf.internal.getNumberOfPages()<$e[Rt];)T.call(this);return $e},T=function(){var Ae=this.fillStyle,Pe=this.strokeStyle,Xe=this.font,$e=this.lineCap,Me=this.lineWidth,De=this.lineJoin;this.pdf.addPage(),this.fillStyle=Ae,this.strokeStyle=Pe,this.font=Xe,this.lineCap=$e,this.lineWidth=Me,this.lineJoin=De},H=function(Ae,Pe,Xe){for(var $e=0;$e<Ae.length;$e++)switch(Ae[$e].type){case"bct":Ae[$e].x2+=Pe,Ae[$e].y2+=Xe;case"qct":Ae[$e].x1+=Pe,Ae[$e].y1+=Xe;default:Ae[$e].x+=Pe,Ae[$e].y+=Xe}return Ae},U=function(Ae){return Ae.sort(function(Pe,Xe){return Pe-Xe})},ee=function(Ae,Pe){for(var Xe,$e,Me=this.fillStyle,De=this.strokeStyle,gt=this.lineCap,Rt=this.lineWidth,kt=Math.abs(Rt*this.ctx.transform.scaleX),rn=this.lineJoin,In=JSON.parse(JSON.stringify(this.path)),Xn=JSON.parse(JSON.stringify(this.path)),Cr=[],xn=0;xn<Xn.length;xn++)if(void 0!==Xn[xn].x)for(var _t=P.call(this,Xn[xn]),Or=0;Or<_t.length;Or+=1)-1===Cr.indexOf(_t[Or])&&Cr.push(_t[Or]);for(var Q=0;Q<Cr.length;Q++)for(;this.pdf.internal.getNumberOfPages()<Cr[Q];)T.call(this);if(U(Cr),this.autoPaging)for(var fe=Cr[0],Ce=Cr[Cr.length-1],mt=fe;mt<Ce+1;mt++){this.pdf.setPage(mt),this.fillStyle=Me,this.strokeStyle=De,this.lineCap=gt,this.lineWidth=kt,this.lineJoin=rn;var bt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],zt=1===mt?this.posY+this.margin[0]:this.margin[0],wr=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Fr=1===mt?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(mt-2)*wr;if(0!==this.ctx.clip_path.length){var li=this.path;Xe=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(Xe,this.posX+this.margin[3],-Fr+zt+this.ctx.prevPageLastElemOffset),ie.call(this,Ae,!0),this.path=li}if($e=JSON.parse(JSON.stringify(In)),this.path=H($e,this.posX+this.margin[3],-Fr+zt+this.ctx.prevPageLastElemOffset),!1===Pe||0===mt){var ci=(mt>fe||mt<Ce)&&p.call(this);ci&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],bt,wr,null).clip().discardPath()),ie.call(this,Ae,Pe),ci&&this.pdf.restoreGraphicsState()}this.lineWidth=Rt}else this.lineWidth=kt,ie.call(this,Ae,Pe),this.lineWidth=Rt;this.path=In},ie=function(Ae,Pe){if(("stroke"!==Ae||Pe||!x.call(this))&&("stroke"===Ae||Pe||!m.call(this))){for(var Xe,$e,Me=[],De=this.path,gt=0;gt<De.length;gt++){var Rt=De[gt];
vendor: 92,675 bytes, line 1
1switch(Rt.type){case"begin":Me.push({begin:!0});break;case"close":Me.push({close:!0});break;case"mt":Me.push({start:Rt,deltas:[],abs:[]});break;case"lt":var kt=Me.length;if(De[gt-1]&&!isNaN(De[gt-1].x)&&(Xe=[Rt.x-De[gt-1].x,Rt.y-De[gt-1].y],kt>0))for(;kt>=0;kt--)if(!0!==Me[kt-1].close&&!0!==Me[kt-1].begin){Me[kt-1].deltas.push(Xe),Me[kt-1].abs.push(Rt);break}break;case"bct":Me[Me.length-1].deltas.push(Xe=[Rt.x1-De[gt-1].x,Rt.y1-De[gt-1].y,Rt.x2-De[gt-1].x,Rt.y2-De[gt-1].y,Rt.x-De[gt-1].x,Rt.y-De[gt-1].y]);break;case"qct":Me[Me.length-1].deltas.push(Xe=[De[gt-1].x+2/3*(Rt.x1-De[gt-1].x)-De[gt-1].x,De[gt-1].y+2/3*(Rt.y1-De[gt-1].y)-De[gt-1].y,Rt.x+2/3*(Rt.x1-Rt.x)-De[gt-1].x,Rt.y+2/3*(Rt.y1-Rt.y)-De[gt-1].y,Rt.x-De[gt-1].x,Rt.y-De[gt-1].y]);break;case"arc":Me.push({deltas:[],abs:[],arc:!0}),Array.isArray(Me[Me.length-1].abs)&&Me[Me.length-1].abs.push(Rt)}}$e=Pe?null:"stroke"===Ae?"stroke":"fill";for(var Or=!1,Q=0;Q<Me.length;Q++)if(Me[Q].arc)for(var fe=Me[Q].abs,Ce=0;Ce<fe.length;Ce++){var mt=fe[Ce];"arc"===mt.type?Se.call(this,mt.x,mt.y,mt.radius,mt.startAngle,mt.endAngle,mt.counterclockwise,void 0,Pe,!Or):ze.call(this,mt.x,mt.y),Or=!0}else!0===Me[Q].close?(this.pdf.internal.out("h"),Or=!1):!0!==Me[Q].begin&&(qe.call(this,Me[Q].deltas,Me[Q].start.x,Me[Q].start.y),Or=!0);$e&&Ue.call(this,$e),Pe&&it.call(this)}},me=function(Ae){var Pe=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Xe=Pe*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Ae-Xe;case"top":return Ae+Pe-Xe;case"hanging":return Ae+Pe-2*Xe;case"middle":return Ae+Pe/2-Xe;default:return Ae}},ue=function(Ae){return Ae+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};h.prototype.createLinearGradient=function(){var Ae=function(){};return Ae.colorStops=[],Ae.addColorStop=function(Pe,Xe){this.colorStops.push([Pe,Xe])},Ae.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},Ae.isCanvasGradient=!0,Ae},h.prototype.createPattern=function(){return this.createLinearGradient()},h.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Se=function(Ae,Pe,Xe,$e,Me,De,gt,Rt,kt){for(var rn=Ne.call(this,Xe,$e,Me,De),In=0;In<rn.length;In++){var Xn=rn[In];0===In&&(kt?ye.call(this,Xn.x1+Ae,Xn.y1+Pe):ze.call(this,Xn.x1+Ae,Xn.y1+Pe)),Et.call(this,Ae,Pe,Xn.x2,Xn.y2,Xn.x3,Xn.y3,Xn.x4,Xn.y4)}Rt?it.call(this):Ue.call(this,gt)},Ue=function(Ae){switch(Ae){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},it=function(){this.pdf.clip(),this.pdf.discardPath()},ye=function(Ae,Pe){this.pdf.internal.out(e(Ae)+" "+r(Pe)+" m")},xe=function(Ae){var Pe;switch(Ae.align){case"right":case"end":Pe="right";break;case"center":Pe="center";break;default:Pe="left"}var Xe=this.pdf.getTextDimensions(Ae.text),$e=me.call(this,Ae.y),Me=ue.call(this,$e)-Xe.h,De=this.ctx.transform.applyToPoint(new s(Ae.x,$e)),gt=this.ctx.transform.decompose(),Rt=new l;Rt=(Rt=(Rt=Rt.multiply(gt.translate)).multiply(gt.skew)).multiply(gt.scale);for(var kt,rn,In,Xn=this.ctx.transform.applyToRectangle(new a(Ae.x,$e,Xe.w,Xe.h)),Cr=Rt.applyToRectangle(new a(Ae.x,Me,Xe.w,Xe.h)),xn=P.call(this,Cr),_t=[],Or=0;Or<xn.length;Or+=1)-1===_t.indexOf(xn[Or])&&_t.push(xn[Or]);if(U(_t),this.autoPaging)for(var Q=_t[0],fe=_t[_t.length-1],Ce=Q;Ce<fe+1;Ce++){this.pdf.setPage(Ce);var mt=1===Ce?this.posY+this.margin[0]:this.margin[0],zt=this.pdf.internal.pageSize.height-this.margin[2],hn=zt-this.margin[0],wr=this.pdf.internal.pageSize.width-this.margin[1],Fr=wr-this.margin[3],li=1===Ce?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(Ce-2)*hn;if(0!==this.ctx.clip_path.length){var ci=this.path;kt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(kt,this.posX+this.margin[3],-1*li+mt),ie.call(this,"fill",!0),this.path=ci}var Qr=H([JSON.parse(JSON.stringify(Cr))],this.posX+this.margin[3],-li+mt+this.ctx.prevPageLastElemOffset)[0];Ae.scale>=.01&&(rn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(rn*Ae.scale),this.lineWidth=(In=this.lineWidth)*Ae.scale);var so="text"!==this.autoPaging;if(so||Qr.y+Qr.h<=zt){if(so||Qr.y>=mt&&Qr.x<=wr){var Kr=so?Ae.text:this.pdf.splitTextToSize(Ae.text,Ae.maxWidth||wr-Qr.x)[0],os=H([JSON.parse(JSON.stringify(Xn))],this.posX+this.margin[3],-li+mt+this.ctx.prevPageLastElemOffset)[0],Hn=so&&(Ce>Q||Ce<fe)&&p.call(this);Hn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Fr,hn,null).clip().discardPath()),this.pdf.text(Kr,os.x,os.y,{angle:Ae.angle,align:Pe,renderingMode:Ae.renderingMode}),Hn&&this.pdf.restoreGraphicsState()}}else Qr.y<zt&&(this.ctx.prevPageLastElemOffset+=zt-Qr.y);Ae.scale>=.01&&(this.pdf.setFontSize(rn),this.lineWidth=In)}else Ae.scale>=.01&&(rn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(rn*Ae.scale),this.lineWidth=(In=this.lineWidth)*Ae.scale),this.pdf.text(Ae.text,De.x+this.posX,De.y+this.posY,{angle:Ae.angle,align:Pe,renderingMode:Ae.renderingMode,maxWidth:Ae.maxWidth}),Ae.scale>=.01&&(this.pdf.setFontSize(rn),this.lineWidth=In)},ze=function(Ae,Pe,Xe,$e){$e=$e||0,this.pdf.internal.out(e(Ae+(Xe=Xe||0))+" "+r(Pe+$e)+" l")},qe=function(Ae,Pe,Xe){return this.pdf.lines(Ae,Pe,Xe,null,null)},Et=function(Ae,Pe,Xe,$e,Me,De,gt,Rt){this.pdf.internal.out([t(i(Xe+Ae)),t(o($e+Pe)),t(i(Me+Ae)),t(o(De+Pe)),t(i(gt+Ae)),t(o(Rt+Pe)),"c"].join(" "))},Ne=function(Ae,Pe,Xe,$e){for(var Me=2*Math.PI,De=Math.PI/2;Pe>Xe;)Pe-=Me;var gt=Math.abs(Xe-Pe);gt<Me&&$e&&(gt=Me-gt);for(var Rt=[],kt=$e?-1:1,rn=Pe;gt>1e-5;){var In=rn+kt*Math.min(gt,De);Rt.push(je.call(this,Ae,rn,In)),gt-=Math.abs(In-rn),rn=In}return Rt},je=function(Ae,Pe,Xe){var $e=(Xe-Pe)/2,Me=Ae*Math.cos($e),De=Ae*Math.sin($e),gt=Me,Rt=-De,kt=gt*gt+Rt*Rt,rn=kt+gt*Me+Rt*De,In=4/3*(Math.sqrt(2*kt*rn)-rn)/(gt*De-Rt*Me),Xn=gt-In*Rt,Cr=Rt+In*gt,xn=Xn,_t=-Cr,Or=$e+Pe,Q=Math.cos(Or),fe=Math.sin(Or);return{x1:Ae*Math.cos(Pe),y1:Ae*Math.sin(Pe),x2:Xn*Q-Cr*fe,y2:Xn*fe+Cr*Q,x3:xn*Q-_t*fe,y3:xn*fe+_t*Q,x4:Ae*Math.cos(Xe),y4:Ae*Math.sin(Xe)}},we=function(Ae){return 180*Ae/Math.PI},Ke=function(Ae,Pe,Xe,$e,Me,De){var gt=Ae+.5*(Xe-Ae),Rt=Pe+.5*($e-Pe),kt=Me+.5*(Xe-Me),rn=De+.5*($e-De),In=Math.min(Ae,Me,gt,kt),Xn=Math.max(Ae,Me,gt,kt),Cr=Math.min(Pe,De,Rt,rn),xn=Math.max(Pe,De,Rt,rn);return new a(In,Cr,Xn-In,xn-Cr)},dt=function(Ae,Pe,Xe,$e,Me,De,gt,Rt){var kt,rn,In,Xn,Cr,xn,_t,Or,Q,fe,Ce,mt,bt,zt,hn=Xe-Ae,wr=$e-Pe,Fr=Me-Xe,li=De-$e,ci=gt-Me,Qr=Rt-De;for(rn=0;rn<41;rn++)Q=(_t=(In=Ae+(kt=rn/40)*hn)+kt*((Cr=Xe+kt*Fr)-In))+kt*(Cr+kt*(Me+kt*ci-Cr)-_t),fe=(Or=(Xn=Pe+kt*wr)+kt*((xn=$e+kt*li)-Xn))+kt*(xn+kt*(De+kt*Qr-xn)-Or),0==rn?(Ce=Q,mt=fe,bt=Q,zt=fe):(Ce=Math.min(Ce,Q),mt=Math.min(mt,fe),bt=Math.max(bt,Q),zt=Math.max(zt,fe));return new a(Math.round(Ce),Math.round(mt),Math.round(bt-Ce),Math.round(zt-mt))},Tt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Xe=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==Xe&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Xe)}}})(bo.API),function(n){var t=function(o){var s,a,l,u,f,h,v,m,x,p;for(/[^\x00-\xFF]/.test(o),a=[],l=0,u=(o+=s="\0\0\0\0".slice(o.length%4||4)).length;u>l;l+=4)0!==(f=(o.charCodeAt(l)<<24)+(o.charCodeAt(l+1)<<16)+(o.charCodeAt(l+2)<<8)+o.charCodeAt(l+3))?(h=(f=((f=((f=((f=(f-(p=f%85))/85)-(x=f%85))/85)-(m=f%85))/85)-(v=f%85))/85)%85,a.push(h+33,v+33,m+33,x+33,p+33)):a.push(122);return function(P,T){for(var H=T;H>0;H--)P.pop()}(a,s.length),String.fromCharCode.apply(String,a)+"~>"},e=function(o){var s,a,l,u,f,h=String,v="length",m=255,x="charCodeAt",p="slice",P="replace";for(o[p](-2),o=o[p](0,-2)[P](/\s/g,"")[P]("z","!!!!!"),l=[],u=0,f=(o+=s="uuuuu"[p](o[v]%5||5))[v];f>u;u+=5)a=52200625*(o[x](u)-33)+614125*(o[x](u+1)-33)+7225*(o[x](u+2)-33)+85*(o[x](u+3)-33)+(o[x](u+4)-33),l.push(m&a>>24,m&a>>16,m&a>>8,m&a);return function(T,H){for(var U=H;U>0;U--)T.pop()}(l,s[v]),h.fromCharCode.apply(h,l)},r=function(o){var s=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(o=o.replace(/\s/g,"")).indexOf(">")&&(o=o.substr(0,o.indexOf(">"))),o.length%2&&(o+="0"),!1===s.test(o))return"";for(var a="",l=0;l<o.length;l+=2)a+=String.fromCharCode("0x"+(o[l]+o[l+1]));return a},i=function(o){for(var s=new Uint8Array(o.length),a=o.length;a--;)s[a]=o.charCodeAt(a);return(s=I7(s)).reduce(function(l,u){return l+String.fromCharCode(u)},"")};n.processDataByFilters=function(o,s){var a=0,l=o||"",u=[];for("string"==typeof(s=s||[])&&(s=[s]),a=0;a<s.length;a+=1)switch(s[a]){case"ASCII85Decode":case"/ASCII85Decode":l=e(l),u.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=t(l),u.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=r(l),u.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=l.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">",u.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=i(l),u.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[a]+'" is not implemented')}return{data:l,reverseChain:u.reverse().join(" ")}}}(bo.API),function(n){n.loadFile=function(t,e,r){return function(i,o,s){o=!1!==o,s="function"==typeof s?s:function(){};var a=void 0;try{a=function(l,u,f){var h=new XMLHttpRequest,v=0,m=function(x){var p=x.length,P=[],T=String.fromCharCode;for(v=0;v<p;v+=1)P.push(T(255&x.charCodeAt(v)));return P.join("")};if(h.open("GET",l,!u),h.overrideMimeType("text/plain; charset=x-user-defined"),!1===u&&(h.onload=function(){f(200===h.status?m(this.responseText):void 0)}),h.send(null),u&&200===h.status)return m(h.responseText)}(i,o,s)}catch{}return a}(t,e,r)},n.loadImageFile=n.loadFile}(bo.API),function(n){function t(){return(Ro.html2canvas?Promise.resolve(Ro.html2canvas):c.e(159).then(c.t.bind(c,4159,23))).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function e(){return(Ro.DOMPurify?Promise.resolve(Ro.DOMPurify):Promise.resolve().then(c.t.bind(c,92735,23))).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var r=function(s){var a=xa(s);return"undefined"===a?"undefined":"string"===a||s instanceof String?"string":"number"===a||s instanceof Number?"number":"function"===a||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&1===s.nodeType?"element":"object"===a?"object":"unknown"},i=function(s,a){var l=document.createElement(s);for(var u in a.className&&(l.className=a.className),a.innerHTML&&a.dompurify&&(l.innerHTML=a.dompurify.sanitize(a.innerHTML)),a.style)l.style[u]=a.style[u];return l},o=function s(a){var l=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),u=s.convert(Promise.resolve(),l);return(u=u.setProgress(1,s,1,[s])).set(a)};(o.prototype=Object.create(Promise.prototype)).constructor=o,o.convert=function(s,a){return s.__proto__=a||o.prototype,s},o.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},o.prototype.from=function(s,a){return this.then(function(){switch(a=a||function(l){switch(r(l)){case"string":return"string";case"element":return"canvas"===l.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(s)){case"string":return this.then(e).then(function(l){return this.set({src:i("div",{innerHTML:s,dompurify:l})})});case"element":return this.set({src:s});case"canvas":return this.set({canvas:s});case"img":return this.set({img:s});default:return this.error("Unknown source type.")}})},o.prototype.to=function(s){switch(s){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},o.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var s={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},a=function l(u,f){for(var h=3===u.nodeType?document.createTextNode(u.nodeValue):u.cloneNode(!1),v=u.firstChild;v;v=v.nextSibling)!0!==f&&1===v.nodeType&&"SCRIPT"===v.nodeName||h.appendChild(l(v,f));return 1===u.nodeType&&("CANVAS"===u.nodeName?(h.width=u.width,h.height=u.height,h.getContext("2d").drawImage(u,0,0)):"TEXTAREA"!==u.nodeName&&"SELECT"!==u.nodeName||(h.value=u.value),h.addEventListener("load",function(){h.scrollTop=u.scrollTop,h.scrollLeft=u.scrollLeft},!0)),h}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===a.tagName&&(s.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:s}),this.prop.container.appendChild(a),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},o.prototype.toCanvas=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(t).then(function(a){var l=Object.assign({},this.opt.html2canvas);return delete l.onrendered,a(this.prop.container,l)}).then(function(a){(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,document.body.removeChild(this.prop.overlay)})},o.prototype.toContext2d=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(t).then(function(a){var l=this.opt.jsPDF,u=this.opt.fontFaces,f="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,h=Object.assign({async:!0,allowTaint:!0,scale:f,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete h.onrendered,l.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,l.context2d.posX=this.opt.x,l.context2d.posY=this.opt.y,l.context2d.margin=this.opt.margin,l.context2d.fontFaces=u,u)for(var v=0;v<u.length;++v){var m=u[v],x=m.src.find(function(p){return"truetype"===p.format});x&&l.addFont(x.url,m.ref.name,m.ref.style)}return h.windowHeight=h.windowHeight||0,h.windowHeight=0==h.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):h.windowHeight,l.context2d.save(!0),a(this.prop.container,h)}).then(function(a){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,document.body.removeChild(this.prop.overlay)})},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var s=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=s})},o.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},o.prototype.output=function(s,a,l){return"img"===(l=l||"pdf").toLowerCase()||"image"===l.toLowerCase()?this.outputImg(s,a):this.outputPdf(s,a)},o.prototype.outputPdf=function(s,a){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,a)})},o.prototype.outputImg=function(s){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(s){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+s+'" is not supported.'}})},o.prototype.save=function(s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(s?{filename:s}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},o.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},o.prototype.set=function(s){if("object"!==r(s))return this;var a=Object.keys(s||{}).map(function(l){if(l in o.template.prop)return function(){this.prop[l]=s[l]};switch(l){case"margin":return this.setMargin.bind(this,s.margin);case"jsPDF":return function(){return this.opt.jsPDF=s.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,s.pageSize);default:return function(){this.opt[l]=s[l]}}},this);return this.then(function(){return this.thenList(a)})},o.prototype.get=function(s,a){return this.then(function(){var l=s in o.template.prop?this.prop[s]:this.opt[s];return a?a(l):l})},o.prototype.setMargin=function(s){return this.then(function(){switch(r(s)){case"number":s=[s,s,s,s];case"array":if(2===s.length&&(s=[s[0],s[1],s[0],s[1]]),4===s.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=s}).then(this.setPageSize)},o.prototype.setPageSize=function(s){function a(l,u){return Math.floor(l*u/72*96)}return this.then(function(){(s=s||bo.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(s.inner={width:s.width-this.opt.margin[1]-this.opt.margin[3],height:s.height-this.opt.margin[0]-this.opt.margin[2]},s.inner.px={width:a(s.inner.width,s.k),height:a(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},o.prototype.setProgress=function(s,a,l,u){return null!=s&&(this.progress.val=s),null!=a&&(this.progress.state=a),null!=l&&(this.progress.n=l),null!=u&&(this.progress.stack=u),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(s,a,l,u){return this.setProgress(s?this.progress.val+s:null,a||null,l?this.progress.n+l:null,u?this.progress.stack.concat(u):null)},o.prototype.then=function(s,a){var l=this;return this.thenCore(s,a,function(u,f){return l.updateProgress(null,null,1,[u]),Promise.prototype.then.call(this,function(h){return l.updateProgress(null,u),h}).then(u,f).then(function(h){return l.updateProgress(1),h})})},o.prototype.thenCore=function(s,a,l){l=l||Promise.prototype.then,s&&(s=s.bind(this)),a&&(a=a.bind(this));var u=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:o.convert(Object.assign({},this),Promise.prototype),f=l.call(u,s,a);return o.convert(f,this.__proto__)},o.prototype.thenExternal=function(s,a){return Promise.prototype.then.call(this,s,a)},o.prototype.thenList=function(s){var a=this;return s.forEach(function(l){a=a.thenCore(l)}),a},o.prototype.catch=function(s){s&&(s=s.bind(this));var a=Promise.prototype.catch.call(this,s);return o.convert(a,this)},o.prototype.catchExternal=function(s){return Promise.prototype.catch.call(this,s)},o.prototype.error=function(s){return this.then(function(){throw new Error(s)})},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,bo.getPageSize=function(s,a,l){if("object"===xa(s)){var u=s;s=u.orientation,a=u.unit||a,l=u.format||l}a=a||"mm",l=l||"a4",s=(""+(s||"P")).toLowerCase();var f,h=(""+l).toLowerCase(),v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(a){case"pt":f=1;break;case"mm":f=72/25.4;break;case"cm":f=72/2.54;break;case"in":f=72;break;case"px":f=.75;break;case"pc":case"em":f=12;break;case"ex":f=6;break;default:throw"Invalid unit: "+a}var m,x=0,p=0;if(v.hasOwnProperty(h))x=v[h][1]/f,p=v[h][0]/f;else try{x=l[1],p=l[0]}catch{throw new Error("Invalid format: "+l)}if("p"===s||"portrait"===s)s="p",p>x&&(m=p,p=x,x=m);else{if("l"!==s&&"landscape"!==s)throw"Invalid orientation: "+s;s="l",x>p&&(m=p,p=x,x=m)}return{width:p,height:x,unit:a,k:f,orientation:s}},n.html=function(s,a){(a=a||{}).callback=a.callback||function(){},a.html2canvas=a.html2canvas||{},a.html2canvas.canvas=a.html2canvas.canvas||this.canvas,a.jsPDF=a.jsPDF||this,a.fontFaces=a.fontFaces?a.fontFaces.map(pI):null;var l=new o(a);return a.worker?l:l.from(s).doCallback()}}(bo.API),bo.API.addJS=function(n){return fX=n,this.internal.events.subscribe("postPutResources",function(){iw=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(iw+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),uX=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+fX+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==iw&&void 0!==uX&&this.internal.out("/Names <</JavaScript "+iw+" 0 R>>")}),this},function(n){var t;n.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),o=0;o<i.length;o++){var s=i[o],a=r.exec(s);null!=a&&e.internal.newObjectDeferredBegin(a[1],!1),e.internal.write(s)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,f=[];for(o=0;o<u;o++){var h=e.internal.newObject();f.push(h);var v=e.internal.getPageInfo(o+1);e.internal.write("<< /D["+v.objId+" 0 R /XYZ null null null]>> endobj")}var m=e.internal.newObject();for(e.internal.write("<< /Names [ "),o=0;o<f.length;o++)e.internal.write("(page_"+(o+1)+")"+f[o]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+m+" 0 R"),e.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),n.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,i,o){var s={title:i,options:o,children:[]};return null==r&&(r=this.root),r.children.push(s),s},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var i=0;i<r.children.length;i++)this.genIds_r(r.children[i])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,o=0;o<r.children.length;o++){var s=r.children[o];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(r)),o>0&&this.line("/Prev "+this.makeRef(r.children[o-1])),o<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[o+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var a=this.count=this.count_r({count:0},s);if(a>0&&this.line("/Count "+a),s.options&&s.options.pageNumber){var l=e.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+l.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},e.outline.line=function(r){this.ctx.val+=r+"\r\n"},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+="\r\n"+r.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(r,i){for(var o=0;o<i.children.length;o++)r.count++,this.count_r(r,i.children[o]);return r.count}}])}(bo.API),function(n){var t=[192,193,194,195,196,197,198,199];n.processJPEG=function(e,r,i,o,s,a){var l,u=this.decode.DCT_DECODE,f=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=this.__addimage__.isArrayBuffer(e=s||e)?new Uint8Array(e):e,(l=function(h){for(var v,m=256*h.charCodeAt(4)+h.charCodeAt(5),x=h.length,p={width:0,height:0,numcomponents:1},P=4;P<x;P+=2){if(-1!==t.indexOf(h.charCodeAt((P+=m)+1))){v=256*h.charCodeAt(P+5)+h.charCodeAt(P+6),p={width:256*h.charCodeAt(P+7)+h.charCodeAt(P+8),height:v,numcomponents:h.charCodeAt(P+9)};break}m=256*h.charCodeAt(P+2)+h.charCodeAt(P+3)}return p}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}f={data:e,width:l.width,height:l.height,colorSpace:a,bitsPerComponent:8,filter:u,index:r,alias:i}}return f}}(bo.API);var c5,ow,dX,hX,pX,$Ae=function(){var n,t,e;function r(o){var s,l,u,f,h,v,m,x,p,P,T,H,U;for(this.data=o,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},h=null;;){switch(s=this.readUInt32(),x=function(){var ee,ie;for(ie=[],ee=0;ee<4;++ee)ie.push(String.fromCharCode(this.data[this.pos++]));return ie}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(s);break;case"fcTL":h&&this.animation.frames.push(h),this.pos+=4,h={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},f=this.readUInt16(),u=this.readUInt16()||100,h.delay=1e3*f/u,h.disposeOp=this.data[this.pos++],h.blendOp=this.data[this.pos++],h.data=[];break;case"IDAT":case"fdAT":for("fdAT"===x&&(this.pos+=4,s-=4),o=h?.data||this.imgData,T=0;0<=s?T<s:T>s;0<=s?++T:--T)o.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(l=this.palette.length/3,this.transparency.indexed=this.read(s),this.transparency.indexed.length>l)throw new Error("More transparent colors than palette size");if((p=l-this.transparency.indexed.length)>0)for(H=0;0<=p?H<p:H>p;0<=p?++H:--H)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(s)[0];break;case 2:this.transparency.rgb=this.read(s)}break;case"tEXt":v=(P=this.read(s)).indexOf(0),m=String.fromCharCode.apply(String,P.slice(0,v)),this.text[m]=String.fromCharCode.apply(String,P.slice(v+1));break;case"IEND":return h&&this.animation.frames.push(h),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(U=this.colorType)||6===U,this.pixelBitlength=this.bits*(this.colors+(this.hasAlphaChannel?1:0)),this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=s}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(o){var s,a;for(a=[],s=0;0<=o?s<o:s>o;0<=o?++s:--s)a.push(this.data[this.pos++]);return a},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(o){var s=this.pixelBitlength/8,a=new Uint8Array(this.width*this.height*s),l=0,u=this;if(null==o&&(o=this.imgData),0===o.length)return new Uint8Array(0);function f(h,v,m,x){var p,P,T,H,U,ee,ie,me,Se,Ue,it,ye,xe,ze,qe,Et,Ne,je,we,Ke,dt=Math.ceil((u.width-h)/m),Tt=Math.ceil((u.height-v)/x),Ae=u.width==dt&&u.height==Tt;for(xe=s*dt,it=Ae?a:new Uint8Array(xe*Tt),ee=o.length,ye=0,P=0;ye<Tt&&l<ee;){switch(o[l++]){case 0:for(H=Et=0;Et<xe;H=Et+=1)it[P++]=o[l++];break;case 1:for(H=Ne=0;Ne<xe;H=Ne+=1)p=o[l++],U=H<s?0:it[P-s],it[P++]=(p+U)%256;break;case 2:for(H=je=0;je<xe;H=je+=1)p=o[l++],T=(H-H%s)/s,it[P++]=((ze=ye&&it[(ye-1)*xe+T*s+H%s])+p)%256;break;case 3:for(H=we=0;we<xe;H=we+=1)p=o[l++],T=(H-H%s)/s,U=H<s?0:it[P-s],ze=ye&&it[(ye-1)*xe+T*s+H%s],it[P++]=(p+Math.floor((U+ze)/2))%256;break;case 4:for(H=Ke=0;Ke<xe;H=Ke+=1)p=o[l++],T=(H-H%s)/s,0===ye?ze=qe=0:(ze=it[(ye-1)*xe+T*s+H%s],qe=T&&it[(ye-1)*xe+(T-1)*s+H%s]),ie=(U=H<s?0:it[P-s])+ze-qe,me=Math.abs(ie-U),Se=Math.abs(ie-ze),Ue=Math.abs(ie-qe),it[P++]=(p+(me<=Se&&me<=Ue?U:Se<=Ue?ze:qe))%256;break;default:throw new Error("Invalid filter algorithm: "+o[l-1])}if(!Ae){var Pe=((v+ye*x)*u.width+h)*s,Xe=ye*xe;for(H=0;H<dt;H+=1){for(var $e=0;$e<s;$e+=1)a[Pe++]=it[Xe++];Pe+=(m-1)*s}}ye++}}return o=Yx(o),1==u.interlaceMethod?(f(0,0,8,8),f(4,0,8,8),f(0,4,4,8),f(2,0,4,4),f(0,2,2,4),f(1,0,2,2),f(0,1,1,2)):f(0,0,1,1),a},r.prototype.decodePalette=function(){var o,s,a,l,u,f,h,v,m;for(a=this.palette,f=this.transparency.indexed||[],u=new Uint8Array((f.length||0)+a.length),l=0,o=0,s=h=0,v=a.length;h<v;s=h+=3)u[l++]=a[s],u[l++]=a[s+1],u[l++]=a[s+2],u[l++]=null!=(m=f[o++])?m:255;return u},r.prototype.copyToImageData=function(o,s){var a,l,u,f,h,v,m,x,p,P,T;if(l=this.colors,p=null,a=this.hasAlphaChannel,this.palette.length&&(p=null!=(T=this._decodedPalette)?T:this._decodedPalette=this.decodePalette(),l=4,a=!0),x=(u=o.data||o).length,h=p||s,f=v=0,1===l)for(;f<x;)m=p?4*s[f/4]:v,P=h[m++],u[f++]=P,u[f++]=P,u[f++]=P,u[f++]=a?h[m++]:255,v=m;else for(;f<x;)m=p?4*s[f/4]:v,u[f++]=h[m++],u[f++]=h[m++],u[f++]=h[m++],u[f++]=a?h[m++]:255,v=m},r.prototype.decode=function(){var o;return o=new Uint8Array(this.width*this.height*4),this.copyToImageData(o,this.decodePixels()),o};var i=function(){if("[object Window]"===Object.prototype.toString.call(Ro)){try{t=Ro.document.createElement("canvas"),e=t.getContext("2d")}catch{return!1}return!0}return!1};return i(),n=function(o){var s;if(!0===i())return e.width=o.width,e.height=o.height,e.clearRect(0,0,o.width,o.height),e.putImageData(o,0,0),(s=new Image).src=t.toDataURL(),s;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(o){var s,a,l,u,f,h,v,m;if(this.animation){for(m=[],a=f=0,h=(v=this.animation.frames).length;f<h;a=++f)l=o.createImageData((s=v[a]).width,s.height),u=this.decodePixels(new Uint8Array(s.data)),this.copyToImageData(l,u),s.imageData=l,m.push(s.image=n(l));return m}},r.prototype.renderFrame=function(o,s){var a,l,u;return a=(l=this.animation.frames)[s],u=l[s-1],0===s&&o.clearRect(0,0,this.width,this.height),1===u?.disposeOp?o.clearRect(u.xOffset,u.yOffset,u.width,u.height):2===u?.disposeOp&&o.putImageData(u.imageData,u.xOffset,u.yOffset),0===a.blendOp&&o.clearRect(a.xOffset,a.yOffset,a.width,a.height),o.drawImage(a.image,a.xOffset,a.yOffset)},r.prototype.animate=function(o){var s,a,l,u,f,h,v=this;return a=0,u=(h=this.animation).numFrames,l=h.frames,f=h.numPlays,(s=function(){var m,x;if(m=a++%u,x=l[m],v.renderFrame(o,m),u>1&&a/u<f)return v.animation._timeout=setTimeout(s,x.delay)})()},r.prototype.stopAnimation=function(){var o;return clearTimeout(null!=(o=this.animation)?o._timeout:void 0)},r.prototype.render=function(o){var s,a;return o._png&&o._png.stopAnimation(),o._png=this,o.width=this.width,o.height=this.height,s=o.getContext("2d"),this.animation?(this.decodeFrames(s),this.animate(s)):(a=s.createImageData(this.width,this.height),this.copyToImageData(a,this.decodePixels()),s.putImageData(a,0,0))},r}();function GAe(n){var t=0;if(71!==n[t++]||73!==n[t++]||70!==n[t++]||56!==n[t++]||56!=(n[t++]+1&253)||97!==n[t++])throw new Error("Invalid GIF 87a/89a header.");var e=n[t++]|n[t++]<<8,r=n[t++]|n[t++]<<8,i=n[t++],s=1<<1+(7&i);t++,t++;var a=null,l=null;i>>7&&(a=t,l=s,t+=3*s);var u=!0,f=[],h=0,v=null,m=0,x=null;for(this.width=e,this.height=r;u&&t<n.length;)switch(n[t++]){case 33:switch(n[t++]){case 255:if(11!==n[t]||78==n[t+1]&&69==n[t+2]&&84==n[t+3]&&83==n[t+4]&&67==n[t+5]&&65==n[t+6]&&80==n[t+7]&&69==n[t+8]&&50==n[t+9]&&46==n[t+10]&&48==n[t+11]&&3==n[t+12]&&1==n[t+13]&&0==n[t+16])t+=14,x=n[t++]|n[t++]<<8,t++;else for(t+=12;;){if(!((ye=n[t++])>=0))throw Error("Invalid block size");if(0===ye)break;t+=ye}break;case 249:if(4!==n[t++]||0!==n[t+4])throw new Error("Invalid graphics extension block.");var p=n[t++];h=n[t++]|n[t++]<<8,v=n[t++],0==(1&p)&&(v=null),m=p>>2&7,t++;break;case 254:for(;;){if(!((ye=n[t++])>=0))throw Error("Invalid block size");if(0===ye)break;t+=ye}break;default:throw new Error("Unknown graphic control label: 0x"+n[t-1].toString(16))}break;case 44:var P=n[t++]|n[t++]<<8,T=n[t++]|n[t++]<<8,H=n[t++]|n[t++]<<8,U=n[t++]|n[t++]<<8,ee=n[t++],ie=ee>>6&1,me=1<<1+(7&ee),ue=a,Se=l,Ue=!1;ee>>7&&(Ue=!0,ue=t,Se=me,t+=3*me);var it=t;for(t++;;){var ye;if(!((ye=n[t++])>=0))throw Error("Invalid block size");if(0===ye)break;t+=ye}f.push({x:P,y:T,width:H,height:U,has_local_palette:Ue,palette_offset:ue,palette_size:Se,data_offset:it,data_length:t-it,transparent_index:v,interlaced:!!ie,delay:h,disposal:m});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+n[t-1].toString(16))}this.numFrames=function(){return f.length},this.loopCount=function(){return x},this.frameInfo=function(xe){if(xe<0||xe>=f.length)throw new Error("Frame index out of range.");return f[xe]},this.decodeAndBlitFrameBGRA=function(xe,ze){var qe=this.frameInfo(xe),Et=qe.width*qe.height,Ne=new Uint8Array(Et);mX(n,qe.data_offset,Ne,Et);var je=qe.palette_offset,we=qe.transparent_index;null===we&&(we=256);var Ke=qe.width,dt=e-Ke,Tt=Ke,Ae=4*(qe.y*e+qe.x),Pe=4*((qe.y+qe.height)*e+qe.x),Xe=Ae,$e=4*dt;!0===qe.interlaced&&($e+=4*e*7);for(var Me=8,De=0,gt=Ne.length;De<gt;++De){var Rt=Ne[De];if(0===Tt&&(Tt=Ke,(Xe+=$e)>=Pe&&($e=4*dt+4*e*(Me-1),Xe=Ae+(Ke+dt)*(Me<<1),Me>>=1)),Rt===we)Xe+=4;else{var kt=n[je+3*Rt],rn=n[je+3*Rt+1];ze[Xe++]=n[je+3*Rt+2],ze[Xe++]=rn,ze[Xe++]=kt,ze[Xe++]=255}--Tt}},this.decodeAndBlitFrameRGBA=function(xe,ze){var qe=this.frameInfo(xe),Et=qe.width*qe.height,Ne=new Uint8Array(Et);mX(n,qe.data_offset,Ne,Et);var je=qe.palette_offset,we=qe.transparent_index;null===we&&(we=256);var Ke=qe.width,dt=e-Ke,Tt=Ke,Ae=4*(qe.y*e+qe.x),Pe=4*((qe.y+qe.height)*e+qe.x),Xe=Ae,$e=4*dt;!0===qe.interlaced&&($e+=4*e*7);for(var Me=8,De=0,gt=Ne.length;De<gt;++De){var Rt=Ne[De];if(0===Tt&&(Tt=Ke,(Xe+=$e)>=Pe&&($e=4*dt+4*e*(Me-1),Xe=Ae+(Ke+dt)*(Me<<1),Me>>=1)),Rt===we)Xe+=4;else{var rn=n[je+3*Rt+1],In=n[je+3*Rt+2];ze[Xe++]=n[je+3*Rt],ze[Xe++]=rn,ze[Xe++]=In,ze[Xe++]=255}--Tt}}}function mX(n,t,e,r){for(var i=n[t++],o=1<<i,s=o+1,a=s+1,l=i+1,u=(1<<l)-1,f=0,h=0,v=0,m=n[t++],x=new Int32Array(4096),p=null;;){for(;f<16&&0!==m;)h|=n[t++]<<f,f+=8,1===m?m=n[t++]:--m;if(f<l)break;var P=h&u;if(h>>=l,f-=l,P!==o){if(P===s)break;for(var T=P<a?P:p,H=0,U=T;U>o;)U=x[U]>>8,++H;var ee=U;if(v+H+(T!==P?1:0)>r)return void $a.log("Warning, gif stream longer than expected.");e[v++]=ee;var ie=v+=H;for(T!==P&&(e[v++]=ee),U=T;H--;)e[--ie]=255&(U=x[U]),U>>=8;null!==p&&a<4096&&(x[a++]=p<<8|ee,a>=u+1&&l<12&&(++l,u=u<<1|1)),p=P}else a=s+1,u=(1<<(l=i+1))-1,p=null}return v!==r&&$a.log("Warning, gif stream shorter than expected."),e}function gI(n){var t,e,r,i,o,s=Math.floor,a=new Array(64),l=new Array(64),u=new Array(64),f=new Array(64),h=new Array(65535),v=new Array(65535),m=new Array(64),x=new Array(64),p=[],P=0,T=7,H=new Array(64),U=new Array(64),ee=new Array(64),ie=new Array(256),me=new Array(2048),ue=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Se=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ue=[0,1,2,3,4,5,6,7,8,9,10,11],it=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],ye=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],xe=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ze=[0,1,2,3,4,5,6,7,8,9,10,11],qe=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Et=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Ne(Ae,Pe){for(var Xe=0,$e=0,Me=new Array,De=1;De<=16;De++){for(var gt=1;gt<=Ae[De];gt++)Me[Pe[$e]]=[],Me[Pe[$e]][0]=Xe,Me[Pe[$e]][1]=De,$e++,Xe++;Xe*=2}return Me}function je(Ae){for(var Pe=Ae[0],Xe=Ae[1]-1;Xe>=0;)Pe&1<<Xe&&(P|=1<<T),Xe--,--T<0&&(255==P?(we(255),we(0)):we(P),T=7,P=0)}function we(Ae){p.push(Ae)}function Ke(Ae){we(Ae>>8&255),we(255&Ae)}function dt(Ae,Pe,Xe,$e,Me){for(var De,gt=Me[0],Rt=Me[240],kt=function(fe,Ce){var mt,bt,zt,hn,wr,Fr,li,ci,Qr,so,Kr=0;for(Qr=0;Qr<8;++Qr){var os=(mt=fe[Kr])+(ci=fe[Kr+7]),Hn=mt-ci,En=(bt=fe[Kr+1])+(li=fe[Kr+6]),Qn=bt-li,$r=(zt=fe[Kr+2])+(Fr=fe[Kr+5]),ao=zt-Fr,Ri=(hn=fe[Kr+3])+(wr=fe[Kr+4]),cs=hn-wr,dn=os+Ri,Yn=os-Ri,dr=En+$r,kr=En-$r;fe[Kr]=dn+dr,fe[Kr+4]=dn-dr;var _r=.707106781*(kr+Yn);fe[Kr+2]=Yn+_r,fe[Kr+6]=Yn-_r;var zr=.382683433*((dn=cs+ao)-(kr=Qn+Hn)),Ni=.5411961*dn+zr,zo=1.306562965*kr+zr,Ft=.707106781*(dr=ao+Qn),er=Hn+Ft,lr=Hn-Ft;fe[Kr+5]=lr+Ni,fe[Kr+3]=lr-Ni,fe[Kr+1]=er+zo,fe[Kr+7]=er-zo,Kr+=8}for(Kr=0,Qr=0;Qr<8;++Qr){var Gr=(mt=fe[Kr])+(ci=fe[Kr+56]),ei=mt-ci,Tr=(bt=fe[Kr+8])+(li=fe[Kr+48]),Xi=bt-li,Lo=(zt=fe[Kr+16])+(Fr=fe[Kr+40]),Ps=zt-Fr,qo=(hn=fe[Kr+24])+(wr=fe[Kr+32]),Po=hn-wr,xs=Gr+qo,Yl=Gr-qo,rl=Tr+Lo,Au=Tr-Lo;fe[Kr]=xs+rl,fe[Kr+32]=xs-rl;var du=.707106781*(Au+Yl);fe[Kr+16]=Yl+du,fe[Kr+48]=Yl-du;var d1=.382683433*((xs=Po+Ps)-(Au=Xi+ei)),h1=.5411961*xs+d1,y2=1.306562965*Au+d1,xf=.707106781*(rl=Ps+Xi),hd=ei+xf,pd=ei-xf;fe[Kr+40]=pd+h1,fe[Kr+24]=pd-h1,fe[Kr+8]=hd+y2,fe[Kr+56]=hd-y2,Kr++}for(Qr=0;Qr<64;++Qr)m[Qr]=(so=fe[Qr]*Ce[Qr])>0?so+.5|0:so-.5|0;return m}(Ae,Pe),rn=0;rn<64;++rn)x[ue[rn]]=kt[rn];var In=x[0]-Xe;Xe=x[0],0==In?je($e[0]):(je($e[v[De=32767+In]]),je(h[De]));for(var Xn=63;Xn>0&&0==x[Xn];)Xn--;if(0==Xn)return je(gt),Xe;for(var Cr,xn=1;xn<=Xn;){for(var _t=xn;0==x[xn]&&xn<=Xn;)++xn;var Or=xn-_t;if(Or>=16){Cr=Or>>4;for(var Q=1;Q<=Cr;++Q)je(Rt);Or&=15}je(Me[(Or<<4)+v[De=32767+x[xn]]]),je(h[De]),xn++}return 63!=Xn&&je(gt),Xe}function Tt(Ae){Ae=Math.min(Math.max(Ae,1),100),o!=Ae&&(function(Pe){for(var Xe=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],$e=0;$e<64;$e++){var Me=s((Xe[$e]*Pe+50)/100);Me=Math.min(Math.max(Me,1),255),a[ue[$e]]=Me}for(var De=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],gt=0;gt<64;gt++){var Rt=s((De[gt]*Pe+50)/100);Rt=Math.min(Math.max(Rt,1),255),l[ue[gt]]=Rt}for(var kt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],rn=0,In=0;In<8;In++)for(var Xn=0;Xn<8;Xn++)u[rn]=1/(a[ue[rn]]*kt[In]*kt[Xn]*8),f[rn]=1/(l[ue[rn]]*kt[In]*kt[Xn]*8),rn++}(Ae<50?Math.floor(5e3/Ae):Math.floor(200-2*Ae)),o=Ae)}this.encode=function(Ae,Pe){var bt,zt;Pe&&Tt(Pe),p=new Array,P=0,T=7,Ke(65496),Ke(65504),Ke(16),we(74),we(70),we(73),we(70),we(0),we(1),we(1),we(0),Ke(1),Ke(1),we(0),we(0),function(){Ke(65499),Ke(132),we(0);for(var bt=0;bt<64;bt++)we(a[bt]);we(1);for(var zt=0;zt<64;zt++)we(l[zt])}(),bt=Ae.width,zt=Ae.height,Ke(65472),Ke(17),we(8),Ke(zt),Ke(bt),we(3),we(1),we(17),we(0),we(2),we(17),we(1),we(3),we(17),we(1),function(){Ke(65476),Ke(418),we(0);for(var bt=0;bt<16;bt++)we(Se[bt+1]);for(var zt=0;zt<=11;zt++)we(Ue[zt]);we(16);for(var hn=0;hn<16;hn++)we(it[hn+1]);for(var wr=0;wr<=161;wr++)we(ye[wr]);we(1);for(var Fr=0;Fr<16;Fr++)we(xe[Fr+1]);for(var li=0;li<=11;li++)we(ze[li]);we(17);for(var ci=0;ci<16;ci++)we(qe[ci+1]);for(var Qr=0;Qr<=161;Qr++)we(Et[Qr])}(),Ke(65498),Ke(12),we(3),we(1),we(0),we(2),we(17),we(3),we(17),we(0),we(63),we(0);var Xe=0,$e=0,Me=0;P=0,T=7,this.encode.displayName="_encode_";for(var De,gt,Rt,kt,rn,In,Xn,Cr,xn,_t=Ae.data,Q=Ae.height,fe=4*Ae.width,Ce=0;Ce<Q;){for(De=0;De<fe;){for(rn=fe*Ce+De,Xn=-1,Cr=0,xn=0;xn<64;xn++)In=rn+(Cr=xn>>3)*fe+(Xn=4*(7&xn)),Ce+Cr>=Q&&(In-=fe*(Ce+1+Cr-Q)),De+Xn>=fe&&(In-=De+Xn-fe+4),gt=_t[In++],Rt=_t[In++],kt=_t[In++],H[xn]=(me[gt]+me[Rt+256>>0]+me[kt+512>>0]>>16)-128,U[xn]=(me[gt+768>>0]+me[Rt+1024>>0]+me[kt+1280>>0]>>16)-128,ee[xn]=(me[gt+1280>>0]+me[Rt+1536>>0]+me[kt+1792>>0]>>16)-128;Xe=dt(H,u,Xe,t,r),$e=dt(U,f,$e,e,i),Me=dt(ee,f,Me,e,i),De+=32}Ce+=8}if(T>=0){var mt=[];mt[1]=T+1,mt[0]=(1<<T+1)-1,je(mt)}return Ke(65497),new Uint8Array(p)},n=n||50,function(){for(var Ae=String.fromCharCode,Pe=0;Pe<256;Pe++)ie[Pe]=Ae(Pe)}(),t=Ne(Se,Ue),e=Ne(xe,ze),r=Ne(it,ye),i=Ne(qe,Et),function(){for(var Ae=1,Pe=2,Xe=1;Xe<=15;Xe++){for(var $e=Ae;$e<Pe;$e++)v[32767+$e]=Xe,h[32767+$e]=[],h[32767+$e][1]=Xe,h[32767+$e][0]=$e;for(var Me=-(Pe-1);Me<=-Ae;Me++)v[32767+Me]=Xe,h[32767+Me]=[],h[32767+Me][1]=Xe,h[32767+Me][0]=Pe-1+Me;Ae<<=1,Pe<<=1}}(),function(){for(var Ae=0;Ae<256;Ae++)me[Ae]=19595*Ae,me[Ae+256>>0]=38470*Ae,me[Ae+512>>0]=7471*Ae+32768,me[Ae+768>>0]=-11059*Ae,me[Ae+1024>>0]=-21709*Ae,me[Ae+1280>>0]=32768*Ae+8421375,me[Ae+1536>>0]=-27439*Ae,me[Ae+1792>>0]=-5329*Ae}(),Tt(n)}function fd(n,t){if(this.pos=0,this.buffer=n,this.datav=new DataView(n.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function gX(n){function t(Se){if(!Se)throw Error("assert :P")}function e(Se,Ue,it){for(var ye=0;4>ye;ye++)if(Se[Ue+ye]!=it.charCodeAt(ye))return!0;return!1}function r(Se,Ue,it,ye,xe){for(var ze=0;ze<xe;ze++)Se[Ue+ze]=it[ye+ze]}function i(Se,Ue,it,ye){for(var xe=0;xe<ye;xe++)Se[Ue+xe]=it}function o(Se){return new Int32Array(Se)}function s(Se,Ue){for(var it=[],ye=0;ye<Se;ye++)it.push(new Ue);return it}function a(Se,Ue){var it=[];return function ye(xe,ze,qe){for(var Et=qe[ze],Ne=0;Ne<Et&&(xe.push(qe.length>ze+1?[]:new Ue),!(qe.length<ze+1));Ne++)ye(xe[Ne],ze+1,qe)}(it,0,Se),it}var l=function(){var Se=this;function Ue(I,j){for(var Z=1<<j-1>>>0;I&Z;)Z>>>=1;return Z?(I&Z-1)+Z:I}function it(I,j,Z,ge,Fe){t(!(ge%Z));do{I[j+(ge-=Z)]=Fe}while(0<ge)}function ye(I,j,Z,ge,Fe){if(t(2328>=Fe),512>=Fe)var Ye=o(512);else if(null==(Ye=o(Fe)))return 0;return function(Ze,ot,ut,Ct,sn,Pn){var Nn,wn,vr=ot,Zn=1<<ut,an=o(16),gn=o(16);for(t(0!=sn),t(null!=Ct),t(null!=Ze),t(0<ut),wn=0;wn<sn;++wn){if(15<Ct[wn])return 0;++an[Ct[wn]]}if(an[0]==sn)return 0;for(gn[1]=0,Nn=1;15>Nn;++Nn){if(an[Nn]>1<<Nn)return 0;gn[Nn+1]=gn[Nn]+an[Nn]}for(wn=0;wn<sn;++wn)Nn=Ct[wn],0<Ct[wn]&&(Pn[gn[Nn]++]=wn);if(1==gn[15])return(Ct=new xe).g=0,Ct.value=Pn[0],it(Ze,vr,1,Zn,Ct),Zn;var hr,Er=-1,mr=Zn-1,Si=0,ii=1,wo=1,mi=1<<ut;for(wn=0,Nn=1,sn=2;Nn<=ut;++Nn,sn<<=1){if(ii+=wo<<=1,0>(wo-=an[Nn]))return 0;for(;0<an[Nn];--an[Nn])(Ct=new xe).g=Nn,Ct.value=Pn[wn++],it(Ze,vr+Si,sn,mi,Ct),Si=Ue(Si,Nn)}for(Nn=ut+1,sn=2;15>=Nn;++Nn,sn<<=1){if(ii+=wo<<=1,0>(wo-=an[Nn]))return 0;for(;0<an[Nn];--an[Nn]){if(Ct=new xe,(Si&mr)!=Er){for(vr+=mi,hr=1<<(Er=Nn)-ut;15>Er&&!(0>=(hr-=an[Er]));)++Er,hr<<=1;Zn+=mi=1<<(hr=Er-ut),Ze[ot+(Er=Si&mr)].g=hr+ut,Ze[ot+Er].value=vr-ot-Er}Ct.g=Nn-ut,Ct.value=Pn[wn++],it(Ze,vr+(Si>>ut),sn,mi,Ct),Si=Ue(Si,Nn)}}return ii!=2*gn[15]-1?0:Zn}(I,j,Z,ge,Fe,Ye)}function xe(){this.value=this.g=0}function ze(){this.value=this.g=0}function qe(){this.G=s(5,xe),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(ki,ze)}function Et(I,j,Z,ge){t(null!=I),t(null!=j),t(2147483648>ge),I.Ca=254,I.I=0,I.b=-8,I.Ka=0,I.oa=j,I.pa=Z,I.Jd=j,I.Yc=Z+ge,I.Zc=4<=ge?Z+ge-4+1:Z,De(I)}function Ne(I,j){for(var Z=0;0<j--;)Z|=Rt(I,128)<<j;return Z}function je(I,j){var Z=Ne(I,j);return gt(I)?-Z:Z}function we(I,j,Z,ge){var Fe,Ye=0;for(t(null!=I),t(null!=j),t(4294967288>ge),I.Sb=ge,I.Ra=0,I.u=0,I.h=0,4<ge&&(ge=4),Fe=0;Fe<ge;++Fe)Ye+=j[Z+Fe]<<8*Fe;I.Ra=Ye,I.bb=ge,I.oa=j,I.pa=Z}function Ke(I){for(;8<=I.u&&I.bb<I.Sb;)I.Ra>>>=8,I.Ra+=I.oa[I.pa+I.bb]<<Ti-8>>>0,++I.bb,I.u-=8;Xe(I)&&(I.h=1,I.u=0)}function dt(I,j){if(t(0<=j),!I.h&&j<=ui){var Z=Pe(I)&Yr[j];return I.u+=j,Ke(I),Z}return I.h=1,I.u=0}function Tt(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Ae(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Pe(I){return I.Ra>>>(I.u&Ti-1)>>>0}function Xe(I){return t(I.bb<=I.Sb),I.h||I.bb==I.Sb&&I.u>Ti}function $e(I,j){I.u=j,I.h=Xe(I)}function Me(I){I.u>=$i&&(t(I.u>=$i),Ke(I))}function De(I){t(null!=I&&null!=I.oa),I.pa<I.Zc?(I.I=(I.oa[I.pa++]|I.I<<8)>>>0,I.b+=8):(t(null!=I&&null!=I.oa),I.pa<I.Yc?(I.b+=8,I.I=I.oa[I.pa++]|I.I<<8):I.Ka?I.b=0:(I.I<<=8,I.b+=8,I.Ka=1))}function gt(I){return Ne(I,1)}function Rt(I,j){var Z=I.Ca;0>I.b&&De(I);var ge=I.b,Fe=Z*j>>>8,Ye=(I.I>>>ge>Fe)+0;for(Ye?(Z-=Fe,I.I-=Fe+1<<ge>>>0):Z=Fe+1,ge=Z,Fe=0;256<=ge;)Fe+=8,ge>>=8;return I.b-=ge=7^Fe+Vr[ge],I.Ca=(Z<<ge)-1,Ye}function kt(I,j,Z){I[j+0]=Z>>24&255,I[j+1]=Z>>16&255,I[j+2]=Z>>8&255,I[j+3]=Z>>0&255}function rn(I,j){return I[j+0]<<0|I[j+1]<<8}function In(I,j){return rn(I,j)|I[j+2]<<16}function Xn(I,j){return rn(I,j)|rn(I,j+2)<<16}function Cr(I,j){var Z=1<<j;return t(null!=I),t(0<j),I.X=o(Z),null==I.X?0:(I.Mb=32-j,I.Xa=j,1)}function xn(I,j){t(null!=I),t(null!=j),t(I.Xa==j.Xa),r(j.X,0,I.X,0,1<<j.Xa)}function _t(){this.X=[],this.Xa=this.Mb=0}function Or(I,j,Z,ge){t(null!=Z),t(null!=ge);var Fe=Z[0],Ye=ge[0];return 0==Fe&&(Fe=(I*Ye+j/2)/j),0==Ye&&(Ye=(j*Fe+I/2)/I),0>=Fe||0>=Ye?0:(Z[0]=Fe,ge[0]=Ye,1)}function Q(I,j){return I+(1<<j)-1>>>j}function fe(I,j){return((4278255360&I)+(4278255360&j)>>>0&4278255360)+((16711935&I)+(16711935&j)>>>0&16711935)>>>0}function Ce(I,j){Se[j]=function(Z,ge,Fe,Ye,Ze,ot,ut){var Ct;for(Ct=0;Ct<Ze;++Ct){var sn=Se[I](ot[ut+Ct-1],Fe,Ye+Ct);ot[ut+Ct]=fe(Z[ge+Ct],sn)}}}function mt(){this.ud=this.hd=this.jd=0}function bt(I,j){return((4278124286&(I^j))>>>1)+(I&j)>>>0}function zt(I){return 0<=I&&256>I?I:0>I?0:255<I?255:void 0}function hn(I,j){return zt(I+(I-j+.5>>1))}function wr(I,j,Z){return Math.abs(j-Z)-Math.abs(I-Z)}function Fr(I,j,Z,ge,Fe,Ye,Ze){for(ge=Ye[Ze-1],Z=0;Z<Fe;++Z)Ye[Ze+Z]=ge=fe(I[j+Z],ge)}function li(I,j,Z,ge,Fe){var Ye;for(Ye=0;Ye<Z;++Ye){var Ze=I[j+Ye],ot=Ze>>8&255,ut=16711935&(ut=(ut=16711935&Ze)+((ot<<16)+ot));ge[Fe+Ye]=(4278255360&Ze)+ut>>>0}}function ci(I,j){j.jd=I>>0&255,j.hd=I>>8&255,j.ud=I>>16&255}function Qr(I,j,Z,ge,Fe,Ye){var Ze;for(Ze=0;Ze<ge;++Ze){var ot=j[Z+Ze],ut=ot>>>8,Ct=ot,sn=255&(sn=(sn=ot>>>16)+((I.jd<<24>>24)*(ut<<24>>24)>>>5));Ct=255&(Ct=(Ct+=(I.hd<<24>>24)*(ut<<24>>24)>>>5)+((I.ud<<24>>24)*(sn<<24>>24)>>>5)),Fe[Ye+Ze]=(4278255360&ot)+(sn<<16)+Ct}}function so(I,j,Z,ge,Fe){Se[j]=function(Ye,Ze,ot,ut,Ct,sn,Pn,Nn,wn){for(ut=Pn;ut<Nn;++ut)for(Pn=0;Pn<wn;++Pn)Ct[sn++]=Fe(ot[ge(Ye[Ze++])])},Se[I]=function(Ye,Ze,ot,ut,Ct,sn,Pn){var Nn=8>>Ye.b,wn=Ye.Ea,vr=Ye.K[0],Zn=Ye.w;if(8>Nn)for(Ye=(1<<Ye.b)-1,Zn=(1<<Nn)-1;Ze<ot;++Ze){var an,gn=0;for(an=0;an<wn;++an)an&Ye||(gn=ge(ut[Ct++])),sn[Pn++]=Fe(vr[gn&Zn]),gn>>=Nn}else Se["VP8LMapColor"+Z](ut,Ct,vr,Zn,sn,Pn,Ze,ot,wn)}}function Kr(I,j,Z,ge,Fe){for(Z=j+Z;j<Z;){var Ye=I[j++];ge[Fe++]=Ye>>16&255,ge[Fe++]=Ye>>8&255,ge[Fe++]=Ye>>0&255}}function os(I,j,Z,ge,Fe){for(Z=j+Z;j<Z;){var Ye=I[j++];ge[Fe++]=Ye>>16&255,ge[Fe++]=Ye>>8&255,ge[Fe++]=Ye>>0&255,ge[Fe++]=Ye>>24&255}}function Hn(I,j,Z,ge,Fe){for(Z=j+Z;j<Z;){var Ye=(Ze=I[j++])>>16&240|Ze>>12&15,Ze=Ze>>0&240|Ze>>28&15;ge[Fe++]=Ye,ge[Fe++]=Ze}}function En(I,j,Z,ge,Fe){for(Z=j+Z;j<Z;){var Ye=(Ze=I[j++])>>16&248|Ze>>13&7,Ze=Ze>>5&224|Ze>>3&31;ge[Fe++]=Ye,ge[Fe++]=Ze}}function Qn(I,j,Z,ge,Fe){for(Z=j+Z;j<Z;){var Ye=I[j++];ge[Fe++]=Ye>>0&255,ge[Fe++]=Ye>>8&255,ge[Fe++]=Ye>>16&255}}function $r(I,j,Z,ge,Fe,Ye){if(0==Ye)for(Z=j+Z;j<Z;)kt(ge,((Ye=I[j++])[0]>>24|Ye[1]>>8&65280|Ye[2]<<8&16711680|Ye[3]<<24)>>>0),Fe+=32;else r(ge,Fe,I,j,Z)}function ao(I,j){Se[j][0]=Se[I+"0"],Se[j][1]=Se[I+"1"],Se[j][2]=Se[I+"2"],Se[j][3]=Se[I+"3"],Se[j][4]=Se[I+"4"],Se[j][5]=Se[I+"5"],Se[j][6]=Se[I+"6"],Se[j][7]=Se[I+"7"],Se[j][8]=Se[I+"8"],Se[j][9]=Se[I+"9"],Se[j][10]=Se[I+"10"],Se[j][11]=Se[I+"11"],Se[j][12]=Se[I+"12"],Se[j][13]=Se[I+"13"],Se[j][14]=Se[I+"0"],Se[j][15]=Se[I+"0"]}function Ri(I){return I==PO||I==NO||I==Ew||I==FO}function cs(){this.eb=[],this.size=this.A=this.fb=0}function dn(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Yn(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new cs,this.f.kb=new dn,this.sd=null}function dr(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function kr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function _r(I){return alert("todo:WebPSamplerProcessPlane"),I.T}function zr(I,j){var Z=I.T,ge=j.ba.f.RGBA,Fe=ge.eb,Ye=ge.fb+I.ka*ge.A,Ze=S2[j.ba.S],ot=I.y,ut=I.O,Ct=I.f,sn=I.N,Pn=I.ea,Nn=I.W,wn=j.cc,vr=j.dc,Zn=j.Mc,an=j.Nc,gn=I.ka,hr=I.ka+I.T,Er=I.U,mr=Er+1>>1;for(0==gn?Ze(ot,ut,null,null,Ct,sn,Pn,Nn,Ct,sn,Pn,Nn,Fe,Ye,null,null,Er):(Ze(j.ec,j.fc,ot,ut,wn,vr,Zn,an,Ct,sn,Pn,Nn,Fe,Ye-ge.A,Fe,Ye,Er),++Z);gn+2<hr;gn+=2)Ze(ot,(ut+=2*I.fa)-I.fa,ot,ut,wn=Ct,vr=sn,Zn=Pn,an=Nn,Ct,sn+=I.Rc,Pn,Nn+=I.Rc,Fe,(Ye+=2*ge.A)-ge.A,Fe,Ye,Er);return ut+=I.fa,I.j+hr<I.o?(r(j.ec,j.fc,ot,ut,Er),r(j.cc,j.dc,Ct,sn,mr),r(j.Mc,j.Nc,Pn,Nn,mr),Z--):1&hr||Ze(ot,ut,null,null,Ct,sn,Pn,Nn,Ct,sn,Pn,Nn,Fe,Ye+ge.A,null,null,Er),Z}function Ni(I,j,Z){var ge=I.F,Fe=[I.J];if(null!=ge){var Ye=I.U,Ze=j.ba.S,ot=Ze==Sw||Ze==Ew;j=j.ba.f.RGBA;var ut=[0],Ct=I.ka;ut[0]=I.T,I.Kb&&(0==Ct?--ut[0]:(--Ct,Fe[0]-=I.width),I.j+I.ka+I.T==I.o&&(ut[0]=I.o-I.j-Ct));var sn=j.eb;I=bw(ge,Fe[0],I.width,Ye,ut,sn,(Ct=j.fb+Ct*j.A)+(ot?0:3),j.A),t(Z==ut),I&&Ri(Ze)&&h4(sn,Ct,ot,Ye,ut,j.A)}return 0}function zo(I){var j=I.ma,Z=j.ba.S,ge=11>Z,Fe=Z==ww||Z==Cw||Z==Sw||Z==LO||12==Z||Ri(Z);if(j.memory=null,j.Ib=null,j.Jb=null,j.Nd=null,!Br(j.Oa,I,Fe?11:12))return 0;if(Fe&&Ri(Z)&&Rr(),I.da)alert("todo:use_scaling");else{if(ge){if(j.Ib=_r,I.Kb){if(j.memory=o(I.U+2*(Z=I.U+1>>1)),null==j.memory)return 0;j.ec=j.memory,j.fc=0,j.cc=j.ec,j.dc=j.fc+I.U,j.Mc=j.cc,j.Nc=j.dc+Z,j.Ib=zr,Rr()}}else alert("todo:EmitYUV");Fe&&(j.Jb=Ni,ge&&Tn())}if(ge&&!WZ){for(I=0;256>I;++I)net[I]=89858*(I-128)+Mw>>Aw,oet[I]=-22014*(I-128)+Mw,iet[I]=-45773*(I-128),ret[I]=113618*(I-128)+Mw>>Aw;for(I=X7;I<VO;++I)set[I-X7]=Qt(j=76283*(I-16)+Mw>>Aw,255),aet[I-X7]=Qt(j+8>>4,15);WZ=1}return 1}function Ft(I){var j=I.ma,Z=I.U,ge=I.T;return t(!(1&I.ka)),0>=Z||0>=ge?0:(Z=j.Ib(I,j),null!=j.Jb&&j.Jb(I,j,Z),j.Dc+=Z,1)}function er(I){I.ma.memory=null}function lr(I,j,Z,ge){return 47!=dt(I,8)?0:(j[0]=dt(I,14)+1,Z[0]=dt(I,14)+1,ge[0]=dt(I,1),0!=dt(I,3)?0:!I.h)}function Gr(I,j){if(4>I)return I+1;var Z=I-2>>1;return(2+(1&I)<<Z)+dt(j,Z)+1}function ei(I,j){return 120<j?j-120:1<=(Z=((Z=jQe[j-1])>>4)*I+(8-(15&Z)))?Z:1;var Z}function Tr(I,j,Z){var ge=Pe(Z),Fe=I[j+=255&ge].g-8;return 0<Fe&&($e(Z,Z.u+8),ge=Pe(Z),j+=I[j].value,j+=ge&(1<<Fe)-1),$e(Z,Z.u+I[j].g),I[j].value}function Xi(I,j,Z){return Z.g+=I.g,Z.value+=I.value<<j>>>0,t(8>=Z.g),I.g}function Lo(I,j,Z){var ge=I.xc;return t((j=0==ge?0:I.vc[I.md*(Z>>ge)+(j>>ge)])<I.Wb),I.Ya[j]}function Ps(I,j,Z,ge){var Fe=I.ab,Ye=I.c*j,Ze=I.C;j=Ze+j;var ot=Z,ut=ge;for(ge=I.Ta,Z=I.Ua;0<Fe--;){var Ct=I.gc[Fe],sn=Ze,Pn=j,Nn=ot,wn=ut,vr=(ut=ge,ot=Z,Ct.Ea);switch(t(sn<Pn),t(Pn<=Ct.nc),Ct.hc){case 2:io(Nn,wn,(Pn-sn)*vr,ut,ot);break;case 0:var Zn=sn,an=Pn,gn=ut,hr=ot,Er=(mi=Ct).Ea;0==Zn&&(ji(Nn,wn,null,null,1,gn,hr),Fr(Nn,wn+1,0,0,Er-1,gn,hr+1),wn+=Er,hr+=Er,++Zn);for(var mr=1<<mi.b,Si=mr-1,ii=Q(Er,mi.b),wo=mi.K,mi=mi.w+(Zn>>mi.b)*ii;Zn<an;){var fa=wo,Ca=mi,Qs=1;for(no(Nn,wn,gn,hr-Er,1,gn,hr);Qs<Er;){var Bs=(Qs&~Si)+mr;Bs>Er&&(Bs=Er),(0,Ns[fa[Ca++]>>8&15])(Nn,wn+ +Qs,gn,hr+Qs-Er,Bs-Qs,gn,hr+Qs),Qs=Bs}wn+=Er,hr+=Er,++Zn&Si||(mi+=ii)}Pn!=Ct.nc&&r(ut,ot-vr,ut,ot+(Pn-sn-1)*vr,vr);break;case 1:for(vr=Nn,an=wn,Er=(Nn=Ct.Ea)-(hr=Nn&~(gn=(wn=1<<Ct.b)-1)),Zn=Q(Nn,Ct.b),mr=Ct.K,Ct=Ct.w+(sn>>Ct.b)*Zn;sn<Pn;){for(Si=mr,ii=Ct,wo=new mt,mi=an+hr,fa=an+Nn;an<mi;)ci(Si[ii++],wo),_o(wo,vr,an,wn,ut,ot),an+=wn,ot+=wn;an<fa&&(ci(Si[ii++],wo),_o(wo,vr,an,Er,ut,ot),an+=Er,ot+=Er),++sn&gn||(Ct+=Zn)}break;case 3:if(Nn==ut&&wn==ot&&0<Ct.b){for(an=ut,Nn=vr=ot+(Pn-sn)*vr-(hr=(Pn-sn)*Q(Ct.Ea,Ct.b)),wn=ut,gn=ot,Zn=[],hr=(Er=hr)-1;0<=hr;--hr)Zn[hr]=wn[gn+hr];for(hr=Er-1;0<=hr;--hr)an[Nn+hr]=Zn[hr];Ao(Ct,sn,Pn,ut,vr,ut,ot)}else Ao(Ct,sn,Pn,Nn,wn,ut,ot)}ot=ge,ut=Z}ut!=Z&&r(ge,Z,ot,ut,Ye)}function qo(I,j){var Z=I.V,ge=I.Ba+I.c*I.C,Fe=j-I.C;if(t(j<=I.l.o),t(16>=Fe),0<Fe){var Ye=I.l,Ze=I.Ta,ot=I.Ua,ut=Ye.width;if(Ps(I,Fe,Z,ge),Fe=ot=[ot],t((Z=I.C)<(ge=j)),t(Ye.v<Ye.va),ge>Ye.o&&(ge=Ye.o),Z<Ye.j){var Ct=Ye.j-Z;Z=Ye.j,Fe[0]+=Ct*ut}if(Z>=ge?Z=0:(Fe[0]+=4*Ye.v,Ye.ka=Z-Ye.j,Ye.U=Ye.va-Ye.v,Ye.T=ge-Z,Z=1),Z){if(ot=ot[0],11>(Z=I.ca).S){var sn=Z.f.RGBA,Pn=(ge=Z.S,Fe=Ye.U,Ye=Ye.T,Ct=sn.eb,sn.A),Nn=Ye;for(sn=sn.fb+I.Ma*sn.A;0<Nn--;){var wn=Ze,vr=ot,Zn=Fe,an=Ct,gn=sn;switch(ge){case xw:ua(wn,vr,Zn,an,gn);break;case ww:wa(wn,vr,Zn,an,gn);break;case PO:wa(wn,vr,Zn,an,gn),h4(an,gn,0,Zn,1,0);break;case NZ:Pl(wn,vr,Zn,an,gn);break;case Cw:$r(wn,vr,Zn,an,gn,1);break;case NO:$r(wn,vr,Zn,an,gn,1),h4(an,gn,0,Zn,1,0);break;case Sw:$r(wn,vr,Zn,an,gn,0);break;case Ew:$r(wn,vr,Zn,an,gn,0),h4(an,gn,1,Zn,1,0);break;case LO:il(wn,vr,Zn,an,gn);break;case FO:il(wn,vr,Zn,an,gn),O5(an,gn,Zn,1,0);break;case FZ:Al(wn,vr,Zn,an,gn);break;default:t(0)}ot+=ut,sn+=Pn}I.Ma+=Ye}else alert("todo:EmitRescaledRowsYUVA");t(I.Ma<=Z.height)}}I.C=j,t(I.C<=I.i)}function Po(I){var j;if(0<I.ua)return 0;for(j=0;j<I.Wb;++j){var Z=I.Ya[j].G,ge=I.Ya[j].H;if(0<Z[1][ge[1]+0].g||0<Z[2][ge[2]+0].g||0<Z[3][ge[3]+0].g)return 0}return 1}function xs(I,j,Z,ge,Fe,Ye){if(0!=I.Z){var Ze=I.qd,ot=I.rd;for(t(null!=m4[I.Z]);j<Z;++j)m4[I.Z](Ze,ot,ge,Fe,ge,Fe,Ye),Ze=ge,ot=Fe,Fe+=Ye;I.qd=Ze,I.rd=ot}}function Yl(I,j){var Z=I.l.ma,ge=0==Z.Z||1==Z.Z?I.l.j:I.C;if(ge=I.C<ge?ge:I.C,t(j<=I.l.o),j>ge){var Fe=I.l.width,Ye=Z.ca,Ze=Z.tb+Fe*ge,ot=I.V,ut=I.Ba+I.c*ge,Ct=I.gc;t(1==I.ab),t(3==Ct[0].hc),Is(Ct[0],ge,j,ot,ut,Ye,Ze),xs(Z,ge,j,Ye,Ze,Fe)}I.C=I.Ma=j}function rl(I,j,Z,ge,Fe,Ye,Ze){var ot=I.$/ge,ut=I.$%ge,Ct=I.m,sn=I.s,Pn=Z+I.$,Nn=Pn;Fe=Z+ge*Fe;var wn=Z+ge*Ye,vr=280+sn.ua,Zn=I.Pb?ot:16777216,an=0<sn.ua?sn.Wa:null,gn=sn.wc,hr=Pn<wn?Lo(sn,ut,ot):null;t(I.C<Ye),t(wn<=Fe);var Er=!1;e:for(;;){for(;Er||Pn<wn;){var mr=0;if(ot>=Zn){var Si=Pn-Z;t((Zn=I).Pb),Zn.wd=Zn.m,Zn.xd=Si,0<Zn.s.ua&&xn(Zn.s.Wa,Zn.s.vb),Zn=ot+$Qe}if(ut&gn||(hr=Lo(sn,ut,ot)),t(null!=hr),hr.Qb&&(j[Pn]=hr.qb,Er=!0),!Er)if(Me(Ct),hr.jc){Si=j;var ii=Pn,wo=hr.pd[Pe(mr=Ct)&ki-1];t(hr.jc),256>wo.g?($e(mr,mr.u+wo.g),Si[ii]=wo.value,mr=0):($e(mr,mr.u+wo.g-256),t(256<=wo.value),mr=wo.value),0==mr&&(Er=!0)}else mr=Tr(hr.G[0],hr.H[0],Ct);if(Ct.h)break;if(Er||256>mr){if(!Er)if(hr.nd)j[Pn]=(hr.qb|mr<<8)>>>0;else{if(Me(Ct),Er=Tr(hr.G[1],hr.H[1],Ct),Me(Ct),Si=Tr(hr.G[2],hr.H[2],Ct),ii=Tr(hr.G[3],hr.H[3],Ct),Ct.h)break;j[Pn]=(ii<<24|Er<<16|mr<<8|Si)>>>0}if(Er=!1,++Pn,++ut>=ge&&(ut=0,++ot,null!=Ze&&ot<=Ye&&!(ot%16)&&Ze(I,ot),null!=an))for(;Nn<Pn;)mr=j[Nn++],an.X[(506832829*mr&4294967295)>>>an.Mb]=mr}else if(280>mr){if(mr=Gr(mr-256,Ct),Si=Tr(hr.G[4],hr.H[4],Ct),Me(Ct),Si=ei(ge,Si=Gr(Si,Ct)),Ct.h)break;if(Pn-Z<Si||Fe-Pn<mr)break e;for(ii=0;ii<mr;++ii)j[Pn+ii]=j[Pn+ii-Si];for(Pn+=mr,ut+=mr;ut>=ge;)ut-=ge,++ot,null!=Ze&&ot<=Ye&&!(ot%16)&&Ze(I,ot);if(t(Pn<=Fe),ut&gn&&(hr=Lo(sn,ut,ot)),null!=an)for(;Nn<Pn;)mr=j[Nn++],an.X[(506832829*mr&4294967295)>>>an.Mb]=mr}else{if(!(mr<vr))break e;for(Er=mr-280,t(null!=an);Nn<Pn;)mr=j[Nn++],an.X[(506832829*mr&4294967295)>>>an.Mb]=mr;mr=Pn,t(!(Er>>>(Si=an).Xa)),j[mr]=Si.X[Er],Er=!0}Er||t(Ct.h==Xe(Ct))}if(I.Pb&&Ct.h&&Pn<Fe)t(I.m.h),I.a=5,I.m=I.wd,I.$=I.xd,0<I.s.ua&&xn(I.s.vb,I.s.Wa);else{if(Ct.h)break e;Ze?.(I,ot>Ye?Ye:ot),I.a=0,I.$=Pn-Z}return 1}return I.a=3,0}function Au(I){t(null!=I),I.vc=null,I.yc=null,I.Ya=null;var j=I.Wa;null!=j&&(j.X=null),I.vb=null,t(null!=I)}function du(){var I=new I5;return null==I?null:(I.a=0,I.xb=VZ,ao("Predictor","VP8LPredictors"),ao("Predictor","VP8LPredictors_C"),ao("PredictorAdd","VP8LPredictorsAdd"),ao("PredictorAdd","VP8LPredictorsAdd_C"),io=li,_o=Qr,ua=Kr,wa=os,il=Hn,Al=En,Pl=Qn,Se.VP8LMapColor32b=ss,Se.VP8LMapColor8b=Ko,I)}function d1(I,j,Z,ge,Fe){var Ye=1,Ze=[I],ot=[j],ut=ge.m,Ct=ge.s,sn=null,Pn=0;e:for(;;){if(Z)for(;Ye&&dt(ut,1);){var Nn=Ze,wn=ot,vr=ge,Zn=1,an=vr.m,gn=vr.gc[vr.ab],hr=dt(an,2);if(vr.Oc&1<<hr)Ye=0;else{switch(vr.Oc|=1<<hr,gn.hc=hr,gn.Ea=Nn[0],gn.nc=wn[0],gn.K=[null],++vr.ab,t(4>=vr.ab),hr){case 0:case 1:gn.b=dt(an,3)+2,Zn=d1(Q(gn.Ea,gn.b),Q(gn.nc,gn.b),0,vr,gn.K),gn.K=gn.K[0];break;case 3:var Er,mr=dt(an,8)+1,Si=16<mr?0:4<mr?1:2<mr?2:3;if(Nn[0]=Q(gn.Ea,Si),gn.b=Si,Er=Zn=d1(mr,1,0,vr,gn.K)){var ii,wo=mr,mi=gn,fa=1<<(8>>mi.b),Ca=o(fa);if(null==Ca)Er=0;else{var Qs=mi.K[0],Bs=mi.w;for(Ca[0]=mi.K[0][0],ii=1;ii<1*wo;++ii)Ca[ii]=fe(Qs[Bs+ii],Ca[ii-1]);for(;ii<4*fa;++ii)Ca[ii]=0;mi.K[0]=null,mi.K[0]=Ca,Er=1}}Zn=Er;break;case 2:break;default:t(0)}Ye=Zn}}if(Ze=Ze[0],ot=ot[0],Ye&&dt(ut,1)&&!(Ye=1<=(Pn=dt(ut,4))&&11>=Pn)){ge.a=3;break e}var Ya;if(Ya=Ye)t:{var Ia,fs,Lc,q1=ge,Pc=Ze,Y1=ot,Sa=Pn,Af=Z,Mf=q1.m,pu=q1.s,Du=[null],p1=1,E2=0,bh=UQe[Sa];n:for(;;){if(Af&&dt(Mf,1)){var mu=dt(Mf,3)+2,L0=Q(Pc,mu),I3=Q(Y1,mu),R5=L0*I3;if(!d1(L0,I3,0,q1,Du))break n;for(Du=Du[0],pu.xc=mu,Ia=0;Ia<R5;++Ia){var g4=Du[Ia]>>8&65535;Du[Ia]=g4,g4>=p1&&(p1=g4+1)}}if(Mf.h)break n;for(fs=0;5>fs;++fs){var Xl=zZ[fs];!fs&&0<Sa&&(Xl+=1<<Sa),E2<Xl&&(E2=Xl)}var HO=s(p1*bh,xe),KZ=p1,XZ=s(KZ,qe);if(null==XZ)var kw=null;else t(65536>=KZ),kw=XZ;var Z7=o(E2);if(null==kw||null==Z7||null==HO){q1.a=1;break n}var Tw=HO;for(Ia=Lc=0;Ia<p1;++Ia){var xd=kw[Ia],L5=xd.G,P5=xd.H,ZZ=0,Iw=1,JZ=0;for(fs=0;5>fs;++fs){Xl=zZ[fs],L5[fs]=Tw,P5[fs]=Lc,!fs&&0<Sa&&(Xl+=1<<Sa);i:{var Ow,jO=Xl,Rw=q1,J7=Z7,fet=Tw,det=Lc,UO=0,v4=Rw.m,het=dt(v4,1);if(i(J7,0,0,jO),het){var pet=dt(v4,1)+1,met=dt(v4,1),QZ=dt(v4,0==met?1:8);J7[QZ]=1,2==pet&&(J7[QZ=dt(v4,8)]=1);var Lw=1}else{var eJ=o(19),tJ=dt(v4,4)+4;if(19<tJ){Rw.a=3;var Pw=0;break i}for(Ow=0;Ow<tJ;++Ow)eJ[HQe[Ow]]=dt(v4,3);var $O=void 0,Q7=void 0,nJ=Rw,get=eJ,Nw=jO,rJ=J7,GO=0,y4=nJ.m,iJ=8,oJ=s(128,xe);r:for(;ye(oJ,0,7,get,19);){if(dt(y4,1)){var vet=2+2*dt(y4,3);if(($O=2+dt(y4,vet))>Nw)break r}else $O=Nw;for(Q7=0;Q7<Nw&&$O--;){Me(y4);var sJ=oJ[0+(127&Pe(y4))];$e(y4,y4.u+sJ.g);var N5=sJ.value;if(16>N5)rJ[Q7++]=N5,0!=N5&&(iJ=N5);else{var yet=16==N5,aJ=N5-16,bet=BQe[aJ],lJ=dt(y4,zQe[aJ])+bet;if(Q7+lJ>Nw)break r;for(var _et=yet?iJ:0;0<lJ--;)rJ[Q7++]=_et}}GO=1;break r}GO||(nJ.a=3),Lw=GO}(Lw=Lw&&!v4.h)&&(UO=ye(fet,det,8,J7,jO)),Lw&&0!=UO?Pw=UO:(Rw.a=3,Pw=0)}if(0==Pw)break n;if(Iw&&1==VQe[fs]&&(Iw=0==Tw[Lc].g),ZZ+=Tw[Lc].g,Lc+=Pw,3>=fs){var ey,WO=Z7[0];for(ey=1;ey<Xl;++ey)Z7[ey]>WO&&(WO=Z7[ey]);JZ+=WO}}if(xd.nd=Iw,xd.Qb=0,Iw&&(xd.qb=(L5[3][P5[3]+0].value<<24|L5[1][P5[1]+0].value<<16|L5[2][P5[2]+0].value)>>>0,0==ZZ&&256>L5[0][P5[0]+0].value&&(xd.Qb=1,xd.qb+=L5[0][P5[0]+0].value<<8)),xd.jc=!xd.Qb&&6>JZ,xd.jc){var Fw,P0=xd;for(Fw=0;Fw<ki;++Fw){var b4=Fw,_4=P0.pd[b4],zw=P0.G[0][P0.H[0]+b4];256<=zw.value?(_4.g=zw.g+256,_4.value=zw.value):(_4.g=0,_4.value=0,b4>>=Xi(zw,8,_4),b4>>=Xi(P0.G[1][P0.H[1]+b4],16,_4),b4>>=Xi(P0.G[2][P0.H[2]+b4],0,_4),Xi(P0.G[3][P0.H[3]+b4],24,_4))}}}pu.vc=Du,pu.Wb=p1,pu.Ya=kw,pu.yc=HO,Ya=1;break t}Ya=0}if(!(Ye=Ya)){ge.a=3;break e}if(0<Pn){if(Ct.ua=1<<Pn,!Cr(Ct.Wa,Pn)){ge.a=1,Ye=0;break e}}else Ct.ua=0;var qO=ge,cJ=Ze,xet=ot,YO=qO.s,KO=YO.xc;if(qO.c=cJ,qO.i=xet,YO.md=Q(cJ,KO),YO.wc=0==KO?-1:(1<<KO)-1,Z){ge.xb=ZQe;break e}if(null==(sn=o(Ze*ot))){ge.a=1,Ye=0;break e}Ye=(Ye=rl(ge,sn,0,Ze,ot,ot,null))&&!ut.h;break e}return Ye?(null!=Fe?Fe[0]=sn:(t(null==sn),t(Z)),ge.$=0,Z||Au(Ct)):Au(Ct),Ye}function h1(I,j){var Z=I.c*I.i,ge=Z+j+16*j;return t(I.c<=j),I.V=o(ge),null==I.V?(I.Ta=null,I.Ua=0,I.a=1,0):(I.Ta=I.V,I.Ua=I.Ba+Z+j,1)}function y2(I,j){var Z=I.C,ge=j-Z,Fe=I.V,Ye=I.Ba+I.c*Z;for(t(j<=I.l.o);0<ge;){var Ze=16<ge?16:ge,ot=I.l.ma,ut=I.l.width,Ct=ut*Ze,sn=ot.ca,Pn=ot.tb+ut*Z,Nn=I.Ta,wn=I.Ua;Ps(I,Ze,Fe,Ye),TZ(Nn,wn,sn,Pn,Ct),xs(ot,Z,Z+Ze,sn,Pn,ut),ge-=Ze,Fe+=Ze*I.c,Z+=Ze}t(Z==j),I.C=I.Ma=j}function xf(){this.ub=this.yd=this.td=this.Rb=0}function hd(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function pd(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function E0(){var I;this.Yb=(function j(Z,ge,Fe){for(var Ye=Fe[ge],Ze=0;Ze<Ye&&(Z.push(Fe.length>ge+1?[]:0),!(Fe.length<ge+1));Ze++)j(Z[Ze],ge+1,Fe)}(I=[],0,[3,11]),I)}function A0(){this.jb=o(3),this.Wc=a([4,8],E0),this.Xc=a([4,17],E0)}function x3(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function md(){this.ld=this.La=this.dd=this.tc=0}function lo(){this.Na=this.la=0}function co(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function us(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Mu(){this.uc=this.M=this.Nb=0,this.wa=Array(new md),this.Y=0,this.ya=Array(new us),this.aa=0,this.l=new wf}function b2(){this.y=o(16),this.f=o(8),this.ea=o(8)}function gd(){this.cb=this.a=0,this.sc="",this.m=new Tt,this.Od=new xf,this.Kc=new hd,this.ed=new x3,this.Qa=new pd,this.Ic=this.$c=this.Aa=0,this.D=new Mu,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,Tt),this.ia=0,this.pb=s(4,co),this.Pa=new A0,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new b2),this.Hd=0,this.rb=Array(new lo),this.sb=0,this.wa=Array(new md),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new us),this.L=this.aa=0,this.gd=a([4,2],md),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function wf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function w3(){var I=new gd;return null!=I&&(I.a=0,I.sc="OK",I.cb=0,I.Xb=0,K7||(K7=m5)),I}function Wa(I,j,Z){return 0==I.a&&(I.a=j,I.sc=Z,I.cb=0),0}function p5(I,j,Z){return 3<=Z&&157==I[j+0]&&1==I[j+1]&&42==I[j+2]}function C3(I,j){if(null==I)return 0;if(I.a=0,I.sc="OK",null==j)return Wa(I,2,"null VP8Io passed to VP8GetHeaders()");var Z=j.data,ge=j.w,Fe=j.ha;if(4>Fe)return Wa(I,7,"Truncated header.");var Ye=Z[ge+0]|Z[ge+1]<<8|Z[ge+2]<<16,Ze=I.Od;if(Ze.Rb=!(1&Ye),Ze.td=Ye>>1&7,Ze.yd=Ye>>4&1,Ze.ub=Ye>>5,3<Ze.td)return Wa(I,3,"Incorrect keyframe parameters.");if(!Ze.yd)return Wa(I,4,"Frame not displayable.");ge+=3,Fe-=3;var ot=I.Kc;if(Ze.Rb){if(7>Fe)return Wa(I,7,"cannot parse picture header");if(!p5(Z,ge,Fe))return Wa(I,3,"Bad code word");ot.c=16383&(Z[ge+4]<<8|Z[ge+3]),ot.Td=Z[ge+4]>>6,ot.i=16383&(Z[ge+6]<<8|Z[ge+5]),ot.Ud=Z[ge+6]>>6,ge+=7,Fe-=7,I.za=ot.c+15>>4,I.Ub=ot.i+15>>4,j.width=ot.c,j.height=ot.i,j.Da=0,j.j=0,j.v=0,j.va=j.width,j.o=j.height,j.da=0,j.ib=j.width,j.hb=j.height,j.U=j.width,j.T=j.height,i((Ye=I.Pa).jb,0,255,Ye.jb.length),t(null!=(Ye=I.Qa)),Ye.Cb=0,Ye.Bb=0,Ye.Fb=1,i(Ye.Zb,0,0,Ye.Zb.length),i(Ye.Lb,0,0,Ye.Lb)}if(Ze.ub>Fe)return Wa(I,7,"bad partition length");Et(Ye=I.m,Z,ge,Ze.ub),ge+=Ze.ub,Fe-=Ze.ub,Ze.Rb&&(ot.Ld=gt(Ye),ot.Kd=gt(Ye)),ot=I.Qa;var ut,Ct=I.Pa;if(t(null!=Ye),t(null!=ot),ot.Cb=gt(Ye),ot.Cb){if(ot.Bb=gt(Ye),gt(Ye)){for(ot.Fb=gt(Ye),ut=0;4>ut;++ut)ot.Zb[ut]=gt(Ye)?je(Ye,7):0;for(ut=0;4>ut;++ut)ot.Lb[ut]=gt(Ye)?je(Ye,6):0}if(ot.Bb)for(ut=0;3>ut;++ut)Ct.jb[ut]=gt(Ye)?Ne(Ye,8):255}else ot.Bb=0;if(Ye.Ka)return Wa(I,3,"cannot parse segment header");if((ot=I.ed).zd=gt(Ye),ot.Tb=Ne(Ye,6),ot.wb=Ne(Ye,3),ot.Pc=gt(Ye),ot.Pc&>(Ye)){for(Ct=0;4>Ct;++Ct)gt(Ye)&&(ot.vd[Ct]=je(Ye,6));for(Ct=0;4>Ct;++Ct)gt(Ye)&&(ot.od[Ct]=je(Ye,6))}if(I.L=0==ot.Tb?0:ot.zd?1:2,Ye.Ka)return Wa(I,3,"cannot parse filter header");var sn=Fe;if(Fe=ut=ge,ge=ut+sn,ot=sn,I.Xb=(1<<Ne(I.m,2))-1,sn<3*(Ct=I.Xb))Z=7;else{for(ut+=3*Ct,ot-=3*Ct,sn=0;sn<Ct;++sn){var Pn=Z[Fe+0]|Z[Fe+1]<<8|Z[Fe+2]<<16;Pn>ot&&(Pn=ot),Et(I.Jc[+sn],Z,ut,Pn),ut+=Pn,ot-=Pn,Fe+=3}Et(I.Jc[+Ct],Z,ut,ot),Z=ut<ge?0:5}if(0!=Z)return Wa(I,Z,"cannot parse partitions");for(Z=Ne(ut=I.m,7),Fe=gt(ut)?je(ut,4):0,ge=gt(ut)?je(ut,4):0,ot=gt(ut)?je(ut,4):0,Ct=gt(ut)?je(ut,4):0,ut=gt(ut)?je(ut,4):0,sn=I.Qa,Pn=0;4>Pn;++Pn){if(sn.Cb){var Nn=sn.Zb[Pn];sn.Fb||(Nn+=Z)}else{if(0<Pn){I.pb[Pn]=I.pb[0];continue}Nn=Z}var wn=I.pb[Pn];wn.Sc[0]=zO[Qt(Nn+Fe,127)],wn.Sc[1]=BO[Qt(Nn+0,127)],wn.Eb[0]=2*zO[Qt(Nn+ge,127)],wn.Eb[1]=101581*BO[Qt(Nn+ot,127)]>>16,8>wn.Eb[1]&&(wn.Eb[1]=8),wn.Qc[0]=zO[Qt(Nn+Ct,117)],wn.Qc[1]=BO[Qt(Nn+ut,127)],wn.lc=Nn+ut}if(!Ze.Rb)return Wa(I,4,"Not a key frame.");for(gt(Ye),Ze=I.Pa,Z=0;4>Z;++Z){for(Fe=0;8>Fe;++Fe)for(ge=0;3>ge;++ge)for(ot=0;11>ot;++ot)Ct=Rt(Ye,KQe[Z][Fe][ge][ot])?Ne(Ye,8):qQe[Z][Fe][ge][ot],Ze.Wc[Z][Fe].Yb[ge][ot]=Ct;for(Fe=0;17>Fe;++Fe)Ze.Xc[Z][Fe]=Ze.Wc[Z][XQe[Fe]]}return I.kc=gt(Ye),I.kc&&(I.Bd=Ne(Ye,8)),I.cb=1}function m5(I,j,Z,ge,Fe,Ye,Ze){var ot=j[Fe].Yb[Z];for(Z=0;16>Fe;++Fe){if(!Rt(I,ot[Z+0]))return Fe;for(;!Rt(I,ot[Z+1]);)if(ot=j[++Fe].Yb[0],Z=0,16==Fe)return 16;var ut=j[Fe+1].Yb;if(Rt(I,ot[Z+2])){var Ct=I,sn=0;if(Rt(Ct,(Nn=ot)[(Pn=Z)+3]))if(Rt(Ct,Nn[Pn+6])){for(ot=0,Pn=2*(sn=Rt(Ct,Nn[Pn+8]))+(Nn=Rt(Ct,Nn[Pn+9+sn])),sn=0,Nn=GQe[Pn];Nn[ot];++ot)sn+=sn+Rt(Ct,Nn[ot]);sn+=3+(8<<Pn)}else Rt(Ct,Nn[Pn+7])?(sn=7+2*Rt(Ct,165),sn+=Rt(Ct,145)):sn=5+Rt(Ct,159);else sn=Rt(Ct,Nn[Pn+4])?3+Rt(Ct,Nn[Pn+5]):2;ot=ut[2]}else sn=1,ot=ut[1];ut=Ze+WQe[Fe],0>(Ct=I).b&&De(Ct);var Pn,Nn=Ct.b,wn=(Pn=Ct.Ca>>1)-(Ct.I>>Nn)>>31;--Ct.b,Ct.Ca+=wn,Ct.Ca|=1,Ct.I-=(Pn+1&wn)<<Nn,Ye[ut]=((sn^wn)-wn)*ge[(0<Fe)+0]}return 16}function e4(I){var j=I.rb[I.sb-1];j.la=0,j.Na=0,i(I.zc,0,0,I.zc.length),I.ja=0}function qa(I,j,Z,ge,Fe){I[j+Z+32*ge]=-256&(Fe=I[j+Z+32*ge]+(Fe>>3))?0>Fe?0:255:Fe}function t4(I,j,Z,ge,Fe,Ye){qa(I,j,0,Z,ge+Fe),qa(I,j,1,Z,ge+Ye),qa(I,j,2,Z,ge-Ye),qa(I,j,3,Z,ge-Fe)}function Rc(I){return(20091*I>>16)+I}function S3(I,j,Z,ge){var Fe,Ye=0,Ze=o(16);for(Fe=0;4>Fe;++Fe){var ot=I[j+0]+I[j+8],ut=I[j+0]-I[j+8],Ct=(35468*I[j+4]>>16)-Rc(I[j+12]),sn=Rc(I[j+4])+(35468*I[j+12]>>16);Ze[Ye+0]=ot+sn,Ze[Ye+1]=ut+Ct,Ze[Ye+2]=ut-Ct,Ze[Ye+3]=ot-sn,Ye+=4,j++}for(Fe=Ye=0;4>Fe;++Fe)ot=(I=Ze[Ye+0]+4)+Ze[Ye+8],ut=I-Ze[Ye+8],Ct=(35468*Ze[Ye+4]>>16)-Rc(Ze[Ye+12]),qa(Z,ge,0,0,ot+(sn=Rc(Ze[Ye+4])+(35468*Ze[Ye+12]>>16))),qa(Z,ge,1,0,ut+Ct),qa(Z,ge,2,0,ut-Ct),qa(Z,ge,3,0,ot-sn),Ye++,ge+=32}function n4(I,j,Z,ge){var Fe=I[j+0]+4,Ye=35468*I[j+4]>>16,Ze=Rc(I[j+4]),ot=35468*I[j+1]>>16;t4(Z,ge,0,Fe+Ze,I=Rc(I[j+1]),ot),t4(Z,ge,1,Fe+Ye,I,ot),t4(Z,ge,2,Fe-Ye,I,ot),t4(Z,ge,3,Fe-Ze,I,ot)}function z7(I,j,Z,ge,Fe){S3(I,j,Z,ge),Fe&&S3(I,j+16,Z,ge+4)}function v5(I,j,Z,ge){Kl(I,j+0,Z,ge,1),Kl(I,j+32,Z,ge+128,1)}function y5(I,j,Z,ge){var Fe;for(I=I[j+0]+4,Fe=0;4>Fe;++Fe)for(j=0;4>j;++j)qa(Z,ge,j,Fe,I)}function b5(I,j,Z,ge){I[j+0]&&xo(I,j+0,Z,ge),I[j+16]&&xo(I,j+16,Z,ge+4),I[j+32]&&xo(I,j+32,Z,ge+128),I[j+48]&&xo(I,j+48,Z,ge+128+4)}function B7(I,j,Z,ge){var Fe,Ye=o(16);for(Fe=0;4>Fe;++Fe){var Ze=I[j+0+Fe]+I[j+12+Fe],ot=I[j+4+Fe]+I[j+8+Fe],ut=I[j+4+Fe]-I[j+8+Fe],Ct=I[j+0+Fe]-I[j+12+Fe];Ye[0+Fe]=Ze+ot,Ye[8+Fe]=Ze-ot,Ye[4+Fe]=Ct+ut,Ye[12+Fe]=Ct-ut}for(Fe=0;4>Fe;++Fe)Ze=(I=Ye[0+4*Fe]+3)+Ye[3+4*Fe],ut=Ye[1+4*Fe]-Ye[2+4*Fe],Ct=I-Ye[3+4*Fe],Z[ge+0]=Ze+(ot=Ye[1+4*Fe]+Ye[2+4*Fe])>>3,Z[ge+16]=Ct+ut>>3,Z[ge+32]=Ze-ot>>3,Z[ge+48]=Ct-ut>>3,ge+=64}function r4(I,j,Z){var ge,Fe=j-32,Ye=Ef,Ze=255-I[Fe-1];for(ge=0;ge<Z;++ge){var ot,ut=Ye,Ct=Ze+I[j-1];for(ot=0;ot<Z;++ot)I[j+ot]=ut[Ct+I[Fe+ot]];j+=32}}function _5(I,j){r4(I,j,4)}function x5(I,j){r4(I,j,8)}function w5(I,j){r4(I,j,16)}function vd(I,j){var Z;for(Z=0;16>Z;++Z)r(I,j+32*Z,I,j-32,16)}function i4(I,j){var Z;for(Z=16;0<Z;--Z)i(I,j,I[j-1],16),j+=32}function o4(I,j,Z){var ge;for(ge=0;16>ge;++ge)i(j,Z+32*ge,I,16)}function C5(I,j){var Z,ge=16;for(Z=0;16>Z;++Z)ge+=I[j-1+32*Z]+I[j+Z-32];o4(ge>>5,I,j)}function hu(I,j){var Z,ge=8;for(Z=0;16>Z;++Z)ge+=I[j-1+32*Z];o4(ge>>4,I,j)}function V7(I,j){var Z,ge=8;for(Z=0;16>Z;++Z)ge+=I[j+Z-32];o4(ge>>4,I,j)}function S5(I,j){o4(128,I,j)}function Uo(I,j,Z){return I+2*j+Z+2>>2}function H7(I,j){var Z,ge=j-32;for(ge=new Uint8Array([Uo(I[ge-1],I[ge+0],I[ge+1]),Uo(I[ge+0],I[ge+1],I[ge+2]),Uo(I[ge+1],I[ge+2],I[ge+3]),Uo(I[ge+2],I[ge+3],I[ge+4])]),Z=0;4>Z;++Z)r(I,j+32*Z,ge,0,ge.length)}function j7(I,j){var Z=I[j-1],ge=I[j-1+32],Fe=I[j-1+64],Ye=I[j-1+96];kt(I,j+0,16843009*Uo(I[j-1-32],Z,ge)),kt(I,j+32,16843009*Uo(Z,ge,Fe)),kt(I,j+64,16843009*Uo(ge,Fe,Ye)),kt(I,j+96,16843009*Uo(Fe,Ye,Ye))}function _2(I,j){var Z,ge=4;for(Z=0;4>Z;++Z)ge+=I[j+Z-32]+I[j-1+32*Z];for(ge>>=3,Z=0;4>Z;++Z)i(I,j+32*Z,ge,4)}function E5(I,j){var Z=I[j-1+0],ge=I[j-1+32],Fe=I[j-1+64],Ye=I[j-1-32],Ze=I[j+0-32],ot=I[j+1-32],ut=I[j+2-32],Ct=I[j+3-32];I[j+0+96]=Uo(ge,Fe,I[j-1+96]),I[j+1+96]=I[j+0+64]=Uo(Z,ge,Fe),I[j+2+96]=I[j+1+64]=I[j+0+32]=Uo(Ye,Z,ge),I[j+3+96]=I[j+2+64]=I[j+1+32]=I[j+0+0]=Uo(Ze,Ye,Z),I[j+3+64]=I[j+2+32]=I[j+1+0]=Uo(ot,Ze,Ye),I[j+3+32]=I[j+2+0]=Uo(ut,ot,Ze),I[j+3+0]=Uo(Ct,ut,ot)}function A5(I,j){var Z=I[j+1-32],ge=I[j+2-32],Fe=I[j+3-32],Ye=I[j+4-32],Ze=I[j+5-32],ot=I[j+6-32],ut=I[j+7-32];I[j+0+0]=Uo(I[j+0-32],Z,ge),I[j+1+0]=I[j+0+32]=Uo(Z,ge,Fe),I[j+2+0]=I[j+1+32]=I[j+0+64]=Uo(ge,Fe,Ye),I[j+3+0]=I[j+2+32]=I[j+1+64]=I[j+0+96]=Uo(Fe,Ye,Ze),I[j+3+32]=I[j+2+64]=I[j+1+96]=Uo(Ye,Ze,ot),I[j+3+64]=I[j+2+96]=Uo(Ze,ot,ut),I[j+3+96]=Uo(ot,ut,ut)}function hh(I,j){var Z=I[j-1+0],ge=I[j-1+32],Fe=I[j-1+64],Ye=I[j-1-32],Ze=I[j+0-32],ot=I[j+1-32],ut=I[j+2-32],Ct=I[j+3-32];I[j+0+0]=I[j+1+64]=Ye+Ze+1>>1,I[j+1+0]=I[j+2+64]=Ze+ot+1>>1,I[j+2+0]=I[j+3+64]=ot+ut+1>>1,I[j+3+0]=ut+Ct+1>>1,I[j+0+96]=Uo(Fe,ge,Z),I[j+0+64]=Uo(ge,Z,Ye),I[j+0+32]=I[j+1+96]=Uo(Z,Ye,Ze),I[j+1+32]=I[j+2+96]=Uo(Ye,Ze,ot),I[j+2+32]=I[j+3+96]=Uo(Ze,ot,ut),I[j+3+32]=Uo(ot,ut,Ct)}function ph(I,j){var Z=I[j+0-32],ge=I[j+1-32],Fe=I[j+2-32],Ye=I[j+3-32],Ze=I[j+4-32],ot=I[j+5-32],ut=I[j+6-32],Ct=I[j+7-32];I[j+0+0]=Z+ge+1>>1,I[j+1+0]=I[j+0+64]=ge+Fe+1>>1,I[j+2+0]=I[j+1+64]=Fe+Ye+1>>1,I[j+3+0]=I[j+2+64]=Ye+Ze+1>>1,I[j+0+32]=Uo(Z,ge,Fe),I[j+1+32]=I[j+0+96]=Uo(ge,Fe,Ye),I[j+2+32]=I[j+1+96]=Uo(Fe,Ye,Ze),I[j+3+32]=I[j+2+96]=Uo(Ye,Ze,ot),I[j+3+64]=Uo(Ze,ot,ut),I[j+3+96]=Uo(ot,ut,Ct)}function U7(I,j){var Z=I[j-1+0],ge=I[j-1+32],Fe=I[j-1+64],Ye=I[j-1+96];I[j+0+0]=Z+ge+1>>1,I[j+2+0]=I[j+0+32]=ge+Fe+1>>1,I[j+2+32]=I[j+0+64]=Fe+Ye+1>>1,I[j+1+0]=Uo(Z,ge,Fe),I[j+3+0]=I[j+1+32]=Uo(ge,Fe,Ye),I[j+3+32]=I[j+1+64]=Uo(Fe,Ye,Ye),I[j+3+64]=I[j+2+64]=I[j+0+96]=I[j+1+96]=I[j+2+96]=I[j+3+96]=Ye}function $7(I,j){var Z=I[j-1+0],ge=I[j-1+32],Fe=I[j-1+64],Ye=I[j-1+96],Ze=I[j-1-32],ot=I[j+0-32],ut=I[j+1-32],Ct=I[j+2-32];I[j+0+0]=I[j+2+32]=Z+Ze+1>>1,I[j+0+32]=I[j+2+64]=ge+Z+1>>1,I[j+0+64]=I[j+2+96]=Fe+ge+1>>1,I[j+0+96]=Ye+Fe+1>>1,I[j+3+0]=Uo(ot,ut,Ct),I[j+2+0]=Uo(Ze,ot,ut),I[j+1+0]=I[j+3+32]=Uo(Z,Ze,ot),I[j+1+32]=I[j+3+64]=Uo(ge,Z,Ze),I[j+1+64]=I[j+3+96]=Uo(Fe,ge,Z),I[j+1+96]=Uo(Ye,Fe,ge)}function G7(I,j){var Z;for(Z=0;8>Z;++Z)r(I,j+32*Z,I,j-32,8)}function E3(I,j){var Z;for(Z=0;8>Z;++Z)i(I,j,I[j-1],8),j+=32}function x2(I,j,Z){var ge;for(ge=0;8>ge;++ge)i(j,Z+32*ge,I,8)}function mh(I,j){var Z,ge=8;for(Z=0;8>Z;++Z)ge+=I[j+Z-32]+I[j-1+32*Z];x2(ge>>4,I,j)}function s4(I,j){var Z,ge=4;for(Z=0;8>Z;++Z)ge+=I[j+Z-32];x2(ge>>3,I,j)}function M0(I,j){var Z,ge=4;for(Z=0;8>Z;++Z)ge+=I[j-1+32*Z];x2(ge>>3,I,j)}function A3(I,j){x2(128,I,j)}function a4(I,j,Z){var ge=I[j-Z],Fe=I[j+0],Ye=3*(Fe-ge)+RO[1020+I[j-2*Z]-I[j+Z]],Ze=_w[112+(Ye+4>>3)];I[j-Z]=Ef[255+ge+_w[112+(Ye+3>>3)]],I[j+0]=Ef[255+Fe-Ze]}function M5(I,j,Z,ge){return C2[255+I[j-2*Z]-I[j-Z]]>ge||C2[255+I[j+Z]-I[j+0]]>ge}function D5(I,j,Z,ge){return 4*C2[255+I[j-Z]-I[j+0]]+C2[255+I[j-2*Z]-I[j+Z]]<=ge}function k5(I,j,Z,ge,Fe){var Ye=I[j-3*Z],Ze=I[j-2*Z],ot=I[j-Z],ut=I[j+0],Ct=I[j+Z],sn=I[j+2*Z];return 4*C2[255+ot-ut]+C2[255+Ze-Ct]>ge?0:C2[255+I[j-4*Z]-Ye]<=Fe&&C2[255+Ye-Ze]<=Fe&&C2[255+Ze-ot]<=Fe&&C2[255+I[j+3*Z]-sn]<=Fe&&C2[255+sn-Ct]<=Fe&&C2[255+Ct-ut]<=Fe}function T5(I,j,Z,ge){var Fe=2*ge+1;for(ge=0;16>ge;++ge)D5(I,j+ge,Z,Fe)&&a4(I,j+ge,Z)}function U1(I,j,Z,ge){var Fe=2*ge+1;for(ge=0;16>ge;++ge)D5(I,j+ge*Z,1,Fe)&&a4(I,j+ge*Z,1)}function gh(I,j,Z,ge){var Fe;for(Fe=3;0<Fe;--Fe)T5(I,j+=4*Z,Z,ge)}function W7(I,j,Z,ge){var Fe;for(Fe=3;0<Fe;--Fe)U1(I,j+=4,Z,ge)}function yd(I,j,Z,ge,Fe,Ye,Ze,ot){for(Ye=2*Ye+1;0<Fe--;){if(k5(I,j,Z,Ye,Ze))if(M5(I,j,Z,ot))a4(I,j,Z);else{var ut=I,Ct=j,sn=Z,Pn=ut[Ct-2*sn],Nn=ut[Ct-sn],wn=ut[Ct+0],vr=ut[Ct+sn],Zn=ut[Ct+2*sn],an=27*(hr=RO[1020+3*(wn-Nn)+RO[1020+Pn-vr]])+63>>7,gn=18*hr+63>>7,hr=9*hr+63>>7;ut[Ct-3*sn]=Ef[255+ut[Ct-3*sn]+hr],ut[Ct-2*sn]=Ef[255+Pn+gn],ut[Ct-sn]=Ef[255+Nn+an],ut[Ct+0]=Ef[255+wn-an],ut[Ct+sn]=Ef[255+vr-gn],ut[Ct+2*sn]=Ef[255+Zn-hr]}j+=ge}}function $1(I,j,Z,ge,Fe,Ye,Ze,ot){for(Ye=2*Ye+1;0<Fe--;){if(k5(I,j,Z,Ye,Ze))if(M5(I,j,Z,ot))a4(I,j,Z);else{var ut=I,Ct=j,sn=Z,Pn=ut[Ct-sn],Nn=ut[Ct+0],wn=ut[Ct+sn],vr=_w[112+(4+(Zn=3*(Nn-Pn))>>3)],Zn=_w[112+(Zn+3>>3)],an=vr+1>>1;ut[Ct-2*sn]=Ef[255+ut[Ct-2*sn]+an],ut[Ct-sn]=Ef[255+Pn+Zn],ut[Ct+0]=Ef[255+Nn-vr],ut[Ct+sn]=Ef[255+wn-an]}j+=ge}}function M3(I,j,Z,ge,Fe,Ye){yd(I,j,Z,1,16,ge,Fe,Ye)}function D0(I,j,Z,ge,Fe,Ye){yd(I,j,1,Z,16,ge,Fe,Ye)}function q7(I,j,Z,ge,Fe,Ye){var Ze;for(Ze=3;0<Ze;--Ze)$1(I,j+=4*Z,Z,1,16,ge,Fe,Ye)}function l4(I,j,Z,ge,Fe,Ye){var Ze;for(Ze=3;0<Ze;--Ze)$1(I,j+=4,1,Z,16,ge,Fe,Ye)}function Y7(I,j,Z,ge,Fe,Ye,Ze,ot){yd(I,j,Fe,1,8,Ye,Ze,ot),yd(Z,ge,Fe,1,8,Ye,Ze,ot)}function c4(I,j,Z,ge,Fe,Ye,Ze,ot){yd(I,j,1,Fe,8,Ye,Ze,ot),yd(Z,ge,1,Fe,8,Ye,Ze,ot)}function Cf(I,j,Z,ge,Fe,Ye,Ze,ot){$1(I,j+4*Fe,Fe,1,8,Ye,Ze,ot),$1(Z,ge+4*Fe,Fe,1,8,Ye,Ze,ot)}function D3(I,j,Z,ge,Fe,Ye,Ze,ot){$1(I,j+4,1,Fe,8,Ye,Ze,ot),$1(Z,ge+4,1,Fe,8,Ye,Ze,ot)}function k0(){this.ba=new Yn,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new kr,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function u4(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function T0(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function f4(){this.ua=0,this.Wa=new _t,this.vb=new _t,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new qe,this.yc=new xe}function I5(){this.xb=this.a=0,this.l=new wf,this.ca=new Yn,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Ae,this.Pb=0,this.wd=new Ae,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new f4,this.ab=0,this.gc=s(4,T0),this.Oc=0}function d4(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new wf,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function vh(I,j,Z,ge,Fe,Ye,Ze){for(I=null==I?0:I[j+0],j=0;j<Ze;++j)Fe[Ye+j]=I+Z[ge+j]&255,I=Fe[Ye+j]}function I0(I,j,Z,ge,Fe,Ye,Ze){var ot;if(null==I)vh(null,null,Z,ge,Fe,Ye,Ze);else for(ot=0;ot<Ze;++ot)Fe[Ye+ot]=I[j+ot]+Z[ge+ot]&255}function yh(I,j,Z,ge,Fe,Ye,Ze){if(null==I)vh(null,null,Z,ge,Fe,Ye,Ze);else{var ot,ut=I[j+0],Ct=ut,sn=ut;for(ot=0;ot<Ze;++ot)Ct=sn+(ut=I[j+ot])-Ct,sn=Z[ge+ot]+(-256&Ct?0>Ct?0:255:Ct)&255,Ct=ut,Fe[Ye+ot]=sn}}function k3(I,j,Z,ge){var Fe=j.width,Ye=j.o;if(t(null!=I&&null!=j),0>Z||0>=ge||Z+ge>Ye)return null;if(!I.Cc){if(null==I.ga){var Ze;if(I.ga=new d4,(Ze=null==I.ga)||(Ze=j.width*j.o,t(0==I.Gb.length),I.Gb=o(Ze),I.Uc=0,null==I.Gb?Ze=0:(I.mb=I.Gb,I.nb=I.Uc,I.rc=null,Ze=1),Ze=!Ze),!Ze){var ot=I.Fa,ut=I.P,Ct=I.qc,sn=I.mb,Pn=I.nb,Nn=ut+1,wn=Ct-1,vr=(Ze=I.ga).l;if(t(null!=ot&&null!=sn&&null!=j),m4[0]=null,m4[1]=vh,m4[2]=I0,m4[3]=yh,Ze.ca=sn,Ze.tb=Pn,Ze.c=j.width,Ze.i=j.height,t(0<Ze.c&&0<Ze.i),1>=Ct)j=0;else if(Ze.$a=ot[ut+0]>>0&3,Ze.Z=ot[ut+0]>>2&3,Ze.Lc=ot[ut+0]>>4&3,ut=ot[ut+0]>>6&3,0>Ze.$a||1<Ze.$a||4<=Ze.Z||1<Ze.Lc||ut)j=0;else if(vr.put=Ft,vr.ac=zo,vr.bc=er,vr.ma=Ze,vr.width=j.width,vr.height=j.height,vr.Da=j.Da,vr.v=j.v,vr.va=j.va,vr.j=j.j,vr.o=j.o,Ze.$a)e:{t(1==Ze.$a),j=du();t:for(;;){if(null==j){j=0;break e}if(t(null!=Ze),Ze.mc=j,j.c=Ze.c,j.i=Ze.i,j.l=Ze.l,j.l.ma=Ze,j.l.width=Ze.c,j.l.height=Ze.i,j.a=0,we(j.m,ot,Nn,wn),!d1(Ze.c,Ze.i,1,j,null)||(1==j.ab&&3==j.gc[0].hc&&Po(j.s)?(Ze.ic=1,ot=j.c*j.i,j.Ta=null,j.Ua=0,j.V=o(ot),j.Ba=0,null==j.V?(j.a=1,j=0):j=1):(Ze.ic=0,j=h1(j,Ze.c)),!j))break t;j=1;break e}Ze.mc=null,j=0}else j=wn>=Ze.c*Ze.i;Ze=!j}if(Ze)return null;1!=I.ga.Lc?I.Ga=0:ge=Ye-Z}t(null!=I.ga),t(Z+ge<=Ye);e:{if(j=(ot=I.ga).c,Ye=ot.l.o,0==ot.$a){if(Nn=I.rc,wn=I.Vc,vr=I.Fa,Ct=I.mb,sn=I.nb+Z*j,t((ut=I.P+1+Z*j)<=I.P+I.qc),0!=ot.Z)for(t(null!=m4[ot.Z]),Ze=0;Ze<ge;++Ze)m4[ot.Z](Nn,wn,vr,ut,Ct,sn,j),Nn=Ct,wn=sn,sn+=j,ut+=j;else for(Ze=0;Ze<ge;++Ze)r(Ct,sn,vr,ut,j),Nn=Ct,wn=sn,sn+=j,ut+=j;I.rc=Nn,I.Vc=wn}else{if(t(null!=ot.mc),j=Z+ge,t(null!=(Ze=ot.mc)),t(j<=Ze.i),Ze.C>=j)j=1;else if(ot.ic||Tn(),ot.ic){ot=Ze.V,Nn=Ze.Ba;var Zn=Ze.i,an=(vr=1,ut=Ze.$/(wn=Ze.c),Ct=Ze.$%wn,sn=Ze.m,Pn=Ze.s,Ze.$),gn=wn*Zn,hr=wn*j,Er=Pn.wc,mr=an<hr?Lo(Pn,Ct,ut):null;t(an<=gn),t(j<=Zn),t(Po(Pn));t:for(;;){for(;!sn.h&&an<hr;){if(Ct&Er||(mr=Lo(Pn,Ct,ut)),t(null!=mr),Me(sn),256>(Zn=Tr(mr.G[0],mr.H[0],sn)))ot[Nn+an]=Zn,++an,++Ct>=wn&&(Ct=0,++ut<=j&&!(ut%16)&&Yl(Ze,ut));else{if(!(280>Zn)){vr=0;break t}Zn=Gr(Zn-256,sn);var Si,ii=Tr(mr.G[4],mr.H[4],sn);if(Me(sn),!(an>=(ii=ei(wn,ii=Gr(ii,sn)))&&gn-an>=Zn)){vr=0;break t}for(Si=0;Si<Zn;++Si)ot[Nn+an+Si]=ot[Nn+an+Si-ii];for(an+=Zn,Ct+=Zn;Ct>=wn;)Ct-=wn,++ut<=j&&!(ut%16)&&Yl(Ze,ut);an<hr&&Ct&Er&&(mr=Lo(Pn,Ct,ut))}t(sn.h==Xe(sn))}Yl(Ze,ut>j?j:ut);break t}!vr||sn.h&&an<gn?(vr=0,Ze.a=sn.h?5:3):Ze.$=an,j=vr}else j=rl(Ze,Ze.V,Ze.Ba,Ze.c,Ze.i,j,y2);if(!j){ge=0;break e}}Z+ge>=Ye&&(I.Cc=1),ge=1}if(!ge)return null;if(I.Cc&&(null!=(ge=I.ga)&&(ge.mc=null),I.ga=null,0<I.Ga))return alert("todo:WebPDequantizeLevels"),null}return I.nb+Z*Fe}function K(I,j,Z,ge,Fe,Ye){for(;0<Fe--;){var Ze,ot=I,ut=j+(Z?1:0),Ct=I,sn=j+(Z?0:3);for(Ze=0;Ze<ge;++Ze){var Pn=Ct[sn+4*Ze];255!=Pn&&(ot[ut+4*Ze+0]=ot[ut+4*Ze+0]*(Pn*=32897)>>23,ot[ut+4*Ze+1]=ot[ut+4*Ze+1]*Pn>>23,ot[ut+4*Ze+2]=ot[ut+4*Ze+2]*Pn>>23)}j+=Ye}}function Be(I,j,Z,ge,Fe){for(;0<ge--;){var Ye;for(Ye=0;Ye<Z;++Ye){var Ze=I[j+2*Ye+0],ot=15&(Ct=I[j+2*Ye+1]),ut=4369*ot,Ct=(240&Ct|Ct>>4)*ut>>16;I[j+2*Ye+0]=(240&Ze|Ze>>4)*ut>>16&240|(15&Ze|Ze<<4)*ut>>16>>4&15,I[j+2*Ye+1]=240&Ct|ot}j+=Fe}}function It(I,j,Z,ge,Fe,Ye,Ze,ot){var ut,Ct,sn=255;for(Ct=0;Ct<Fe;++Ct){for(ut=0;ut<ge;++ut){var Pn=I[j+ut];Ye[Ze+4*ut]=Pn,sn&=Pn}j+=Z,Ze+=ot}return 255!=sn}function Zt(I,j,Z,ge,Fe){var Ye;for(Ye=0;Ye<Fe;++Ye)Z[ge+Ye]=I[j+Ye]>>8}function Tn(){h4=K,O5=Be,bw=It,TZ=Zt}function nr(I,j,Z){Se[I]=function(ge,Fe,Ye,Ze,ot,ut,Ct,sn,Pn,Nn,wn,vr,Zn,an,gn,hr,Er){var mr,Si=Er-1>>1,ii=ot[ut+0]|Ct[sn+0]<<16,wo=Pn[Nn+0]|wn[vr+0]<<16;t(null!=ge);var mi=3*ii+wo+131074>>2;for(j(ge[Fe+0],255&mi,mi>>16,Zn,an),null!=Ye&&j(Ye[Ze+0],255&(mi=3*wo+ii+131074>>2),mi>>16,gn,hr),mr=1;mr<=Si;++mr){var fa=ot[ut+mr]|Ct[sn+mr]<<16,Ca=Pn[Nn+mr]|wn[vr+mr]<<16,Qs=ii+fa+wo+Ca+524296,Bs=Qs+2*(fa+wo)>>3;mi=Bs+ii>>1,ii=(Qs=Qs+2*(ii+Ca)>>3)+fa>>1,j(ge[Fe+2*mr-1],255&mi,mi>>16,Zn,an+(2*mr-1)*Z),j(ge[Fe+2*mr-0],255&ii,ii>>16,Zn,an+(2*mr-0)*Z),null!=Ye&&(ii=Bs+Ca>>1,j(Ye[Ze+2*mr-1],255&(mi=Qs+wo>>1),mi>>16,gn,hr+(2*mr-1)*Z),j(Ye[Ze+2*mr+0],255&ii,ii>>16,gn,hr+(2*mr+0)*Z)),ii=fa,wo=Ca}1&Er||(j(ge[Fe+Er-1],255&(mi=3*ii+wo+131074>>2),mi>>16,Zn,an+(Er-1)*Z),null!=Ye&&j(Ye[Ze+Er-1],255&(mi=3*wo+ii+131074>>2),mi>>16,gn,hr+(Er-1)*Z))}}function Rr(){S2[xw]=JQe,S2[ww]=HZ,S2[NZ]=QQe,S2[Cw]=jZ,S2[Sw]=UZ,S2[LO]=$Z,S2[FZ]=eet,S2[PO]=HZ,S2[NO]=jZ,S2[Ew]=UZ,S2[FO]=$Z}function vi(I){return I&~tet?0>I?0:255:I>>GZ}function Ot(I,j){return vi((19077*I>>8)+(26149*j>>8)-14234)}function ne(I,j,Z){return vi((19077*I>>8)-(6419*j>>8)-(13320*Z>>8)+8708)}function de(I,j){return vi((19077*I>>8)+(33050*j>>8)-17685)}function Ee(I,j,Z,ge,Fe){ge[Fe+0]=Ot(I,Z),ge[Fe+1]=ne(I,j,Z),ge[Fe+2]=de(I,j)}function Le(I,j,Z,ge,Fe){ge[Fe+0]=de(I,j),ge[Fe+1]=ne(I,j,Z),ge[Fe+2]=Ot(I,Z)}function Je(I,j,Z,ge,Fe){var Ye=ne(I,j,Z);j=Ye<<3&224|de(I,j)>>3,ge[Fe+0]=248&Ot(I,Z)|Ye>>5,ge[Fe+1]=j}function Lt(I,j,Z,ge,Fe){var Ye=240&de(I,j)|15;ge[Fe+0]=240&Ot(I,Z)|ne(I,j,Z)>>4,ge[Fe+1]=Ye}function Pt(I,j,Z,ge,Fe){ge[Fe+0]=255,Ee(I,j,Z,ge,Fe+1)}function Ut(I,j,Z,ge,Fe){Le(I,j,Z,ge,Fe),ge[Fe+3]=255}function Vt(I,j,Z,ge,Fe){Ee(I,j,Z,ge,Fe),ge[Fe+3]=255}function Qt(I,j){return 0>I?0:I>j?j:I}function On(I,j,Z){Se[I]=function(ge,Fe,Ye,Ze,ot,ut,Ct,sn,Pn){for(var Nn=sn+(-2&Pn)*Z;sn!=Nn;)j(ge[Fe+0],Ye[Ze+0],ot[ut+0],Ct,sn),j(ge[Fe+1],Ye[Ze+0],ot[ut+0],Ct,sn+Z),Fe+=2,++Ze,++ut,sn+=2*Z;1&Pn&&j(ge[Fe+0],Ye[Ze+0],ot[ut+0],Ct,sn)}}function Un(I,j,Z){return 0==Z?0==I?0==j?6:5:0==j?4:0:Z}function rr(I,j,Z,ge,Fe){switch(I>>>30){case 3:Kl(j,Z,ge,Fe,0);break;case 2:Zc(j,Z,ge,Fe);break;case 1:xo(j,Z,ge,Fe)}}function Gn(I,j){var Z,ge,Fe=j.M,Ye=j.Nb,Ze=I.oc,ot=I.pc+40,ut=I.oc,Ct=I.pc+584,sn=I.oc,Pn=I.pc+600;for(Z=0;16>Z;++Z)Ze[ot+32*Z-1]=129;for(Z=0;8>Z;++Z)ut[Ct+32*Z-1]=129,sn[Pn+32*Z-1]=129;for(0<Fe?Ze[ot-1-32]=ut[Ct-1-32]=sn[Pn-1-32]=129:(i(Ze,ot-32-1,127,21),i(ut,Ct-32-1,127,9),i(sn,Pn-32-1,127,9)),ge=0;ge<I.za;++ge){var Nn=j.ya[j.aa+ge];if(0<ge){for(Z=-1;16>Z;++Z)r(Ze,ot+32*Z-4,Ze,ot+32*Z+12,4);for(Z=-1;8>Z;++Z)r(ut,Ct+32*Z-4,ut,Ct+32*Z+4,4),r(sn,Pn+32*Z-4,sn,Pn+32*Z+4,4)}var wn=I.Gd,vr=I.Hd+ge,Zn=Nn.ad,an=Nn.Hc;if(0<Fe&&(r(Ze,ot-32,wn[vr].y,0,16),r(ut,Ct-32,wn[vr].f,0,8),r(sn,Pn-32,wn[vr].ea,0,8)),Nn.Za){var gn=Ze,hr=ot-32+16;for(0<Fe&&(ge>=I.za-1?i(gn,hr,wn[vr].y[15],4):r(gn,hr,wn[vr+1].y,0,4)),Z=0;4>Z;Z++)gn[hr+128+Z]=gn[hr+256+Z]=gn[hr+384+Z]=gn[hr+0+Z];for(Z=0;16>Z;++Z,an<<=2)_d[Nn.Ob[Z]](gn=Ze,hr=ot+qZ[Z]),rr(an,Zn,16*+Z,gn,hr)}else if(gn=Un(ge,Fe,Nn.Ob[0]),p4[gn](Ze,ot),0!=an)for(Z=0;16>Z;++Z,an<<=2)rr(an,Zn,16*+Z,Ze,ot+qZ[Z]);for(Z=Nn.Gc,gn=Un(ge,Fe,Nn.Dd),R0[gn](ut,Ct),R0[gn](sn,Pn),an=Zn,gn=ut,hr=Ct,255&(Nn=Z>>0)&&(170&Nn?zs(an,256,gn,hr):mo(an,256,gn,hr)),Nn=sn,an=Pn,255&(Z>>=8)&&(170&Z?zs(Zn,320,Nn,an):mo(Zn,320,Nn,an)),Fe<I.Ub-1&&(r(wn[vr].y,0,Ze,ot+480,16),r(wn[vr].f,0,ut,Ct+224,8),r(wn[vr].ea,0,sn,Pn+224,8)),wn=I.sa,vr=I.ta+16*ge+16*Ye*I.R,Zn=I.qa,Nn=I.ra+8*ge+(Z=8*Ye*I.B),an=I.Ha,gn=I.Ia+8*ge+Z,Z=0;16>Z;++Z)r(wn,vr+Z*I.R,Ze,ot+32*Z,16);for(Z=0;8>Z;++Z)r(Zn,Nn+Z*I.B,ut,Ct+32*Z,8),r(an,gn+Z*I.B,sn,Pn+32*Z,8)}}function Sr(I,j,Z,ge,Fe,Ye,Ze,ot,ut){var Ct=[0],sn=[0],Pn=0,Nn=null!=ut?ut.kd:0,wn=ut??new u4;if(null==I||12>Z)return 7;wn.data=I,wn.w=j,wn.ha=Z,j=[j],Z=[Z],wn.gb=[wn.gb];e:{var vr=j,Zn=Z,an=wn.gb;if(t(null!=I),t(null!=Zn),t(null!=an),an[0]=0,12<=Zn[0]&&!e(I,vr[0],"RIFF")){if(e(I,vr[0]+8,"WEBP")){an=3;break e}var gn=Xn(I,vr[0]+4);if(12>gn||4294967286<gn){an=3;break e}if(Nn&&gn>Zn[0]-8){an=7;break e}an[0]=gn,vr[0]+=12,Zn[0]-=12}an=0}if(0!=an)return an;for(gn=0<wn.gb[0],Z=Z[0];;){e:{var hr=I;Zn=j,an=Z;var Er=Ct,mr=sn,Si=vr=[0];if((mi=Pn=[Pn])[0]=0,8>an[0])an=7;else{if(!e(hr,Zn[0],"VP8X")){if(10!=Xn(hr,Zn[0]+4)){an=3;break e}if(18>an[0]){an=7;break e}var ii=Xn(hr,Zn[0]+8),wo=1+In(hr,Zn[0]+12);if(2147483648<=wo*(hr=1+In(hr,Zn[0]+15))){an=3;break e}null!=Si&&(Si[0]=ii),null!=Er&&(Er[0]=wo),null!=mr&&(mr[0]=hr),Zn[0]+=18,an[0]-=18,mi[0]=1}an=0}}if(Pn=Pn[0],0!=an)return an;if(Zn=!!(2&(vr=vr[0])),!gn&&Pn)return 3;if(null!=Ye&&(Ye[0]=!!(16&vr)),null!=Ze&&(Ze[0]=Zn),null!=ot&&(ot[0]=0),Ze=Ct[0],vr=sn[0],Pn&&Zn&&null==ut){an=0;break}if(4>Z){an=7;break}if(gn&&Pn||!gn&&!Pn&&!e(I,j[0],"ALPH")){Z=[Z],wn.na=[wn.na],wn.P=[wn.P],wn.Sa=[wn.Sa];e:{an=j,gn=Z;var mi=wn.gb;Er=wn.na,mr=wn.P,Si=wn.Sa,wo=22,t(null!=(ii=I)),t(null!=gn),hr=an[0];var fa=gn[0];for(t(null!=Er),t(null!=Si),Er[0]=null,mr[0]=null,Si[0]=0;;){if(an[0]=hr,gn[0]=fa,8>fa){an=7;break e}var Ca=Xn(ii,hr+4);if(4294967286<Ca){an=3;break e}var Qs=8+Ca+1&-2;if(wo+=Qs,0<mi&&wo>mi){an=3;break e}if(!e(ii,hr,"VP8 ")||!e(ii,hr,"VP8L")){an=0;break e}if(fa[0]<Qs){an=7;break e}e(ii,hr,"ALPH")||(Er[0]=ii,mr[0]=hr+8,Si[0]=Ca),hr+=Qs,fa-=Qs}}if(Z=Z[0],wn.na=wn.na[0],wn.P=wn.P[0],wn.Sa=wn.Sa[0],0!=an)break}Z=[Z],wn.Ja=[wn.Ja],wn.xa=[wn.xa];e:if(mi=I,an=j,gn=Z,Er=wn.gb[0],mr=wn.Ja,Si=wn.xa,ii=an[0],hr=!e(mi,ii,"VP8 "),wo=!e(mi,ii,"VP8L"),t(null!=mi),t(null!=gn),t(null!=mr),t(null!=Si),8>gn[0])an=7;else{if(hr||wo){if(mi=Xn(mi,ii+4),12<=Er&&mi>Er-12){an=3;break e}if(Nn&&mi>gn[0]-8){an=7;break e}mr[0]=mi,an[0]+=8,gn[0]-=8,Si[0]=wo}else Si[0]=5<=gn[0]&&47==mi[ii+0]&&!(mi[ii+4]>>5),mr[0]=gn[0];an=0}if(Z=Z[0],wn.Ja=wn.Ja[0],wn.xa=wn.xa[0],j=j[0],0!=an)break;if(4294967286<wn.Ja)return 3;if(null==ot||Zn||(ot[0]=wn.xa?2:1),Ze=[Ze],vr=[vr],wn.xa){if(5>Z){an=7;break}ot=Ze,Nn=vr,Zn=Ye,null==I||5>Z?I=0:5<=Z&&47==I[j+0]&&!(I[j+4]>>5)?(gn=[0],mi=[0],Er=[0],we(mr=new Ae,I,j,Z),lr(mr,gn,mi,Er)?(null!=ot&&(ot[0]=gn[0]),null!=Nn&&(Nn[0]=mi[0]),null!=Zn&&(Zn[0]=Er[0]),I=1):I=0):I=0}else{if(10>Z){an=7;break}ot=vr,null==I||10>Z||!p5(I,j+3,Z-3)?I=0:(Nn=I[j+0]|I[j+1]<<8|I[j+2]<<16,Zn=16383&(I[j+7]<<8|I[j+6]),I=16383&(I[j+9]<<8|I[j+8]),1&Nn||3<(Nn>>1&7)||!(Nn>>4&1)||Nn>>5>=wn.Ja||!Zn||!I?I=0:(Ze&&(Ze[0]=Zn),ot&&(ot[0]=I),I=1))}if(!I||(Ze=Ze[0],vr=vr[0],Pn&&(Ct[0]!=Ze||sn[0]!=vr)))return 3;null!=ut&&(ut[0]=wn,ut.offset=j-ut.w,t(4294967286>j-ut.w),t(ut.offset==ut.ha-Z));break}return 0==an||7==an&&Pn&&null==ut?(null!=Ye&&(Ye[0]|=null!=wn.na&&0<wn.na.length),null!=ge&&(ge[0]=Ze),null!=Fe&&(Fe[0]=vr),0):an}function Br(I,j,Z){var ge=j.width,Fe=j.height,Ye=0,Ze=0,ot=ge,ut=Fe;if(j.Da=null!=I&&0<I.Da,j.Da&&(ot=I.cd,ut=I.bd,Ye=I.v,Ze=I.j,11>Z||(Ye&=-2,Ze&=-2),0>Ye||0>Ze||0>=ot||0>=ut||Ye+ot>ge||Ze+ut>Fe))return 0;if(j.v=Ye,j.j=Ze,j.va=Ye+ot,j.o=Ze+ut,j.U=ot,j.T=ut,j.da=null!=I&&0<I.da,j.da){if(!Or(ot,ut,Z=[I.ib],Ye=[I.hb]))return 0;j.ib=Z[0],j.hb=Ye[0]}return j.ob=null!=I&&I.ob,j.Kb=null==I||!I.Sd,j.da&&(j.ob=j.ib<3*ge/4&&j.hb<3*Fe/4,j.Kb=0),1}function ti(I){if(null==I)return 2;if(11>I.S){var j=I.f.RGBA;j.fb+=(I.height-1)*j.A,j.A=-j.A}else(j=I.f.kb).O+=((I=I.height)-1)*j.fa,j.fa=-j.fa,j.N+=(I-1>>1)*j.Ab,j.Ab=-j.Ab,j.W+=(I-1>>1)*j.Db,j.Db=-j.Db,null!=j.F&&(j.J+=(I-1)*j.lb,j.lb=-j.lb);return 0}function wi(I,j,Z,ge){if(null==ge||0>=I||0>=j)return 2;if(null!=Z){if(Z.Da){var Fe=Z.cd,Ye=Z.bd,Ze=-2&Z.v,ot=-2&Z.j;if(0>Ze||0>ot||0>=Fe||0>=Ye||Ze+Fe>I||ot+Ye>j)return 2;I=Fe,j=Ye}if(Z.da){if(!Or(I,j,Fe=[Z.ib],Ye=[Z.hb]))return 2;I=Fe[0],j=Ye[0]}}ge.width=I,ge.height=j;e:{var ut=ge.width,Ct=ge.height;if(I=ge.S,0>=ut||0>=Ct||!(I>=xw&&13>I))I=2;else{if(0>=ge.Rd&&null==ge.sd){Ze=Ye=Fe=j=0;var sn=(ot=ut*YZ[I])*Ct;if(11>I||(Ye=(Ct+1)/2*(j=(ut+1)/2),12==I&&(Ze=(Fe=ut)*Ct)),null==(Ct=o(sn+2*Ye+Ze))){I=1;break e}ge.sd=Ct,11>I?((ut=ge.f.RGBA).eb=Ct,ut.fb=0,ut.A=ot,ut.size=sn):((ut=ge.f.kb).y=Ct,ut.O=0,ut.fa=ot,ut.Fd=sn,ut.f=Ct,ut.N=0+sn,ut.Ab=j,ut.Cd=Ye,ut.ea=Ct,ut.W=0+sn+Ye,ut.Db=j,ut.Ed=Ye,12==I&&(ut.F=Ct,ut.J=0+sn+2*Ye),ut.Tc=Ze,ut.lb=Fe)}if(j=1,Ye=ge.width,Ze=ge.height,(Fe=ge.S)>=xw&&13>Fe)if(11>Fe)I=ge.f.RGBA,j&=(ot=Math.abs(I.A))*(Ze-1)+Ye<=I.size,j&=ot>=Ye*YZ[Fe],j&=null!=I.eb;else{I=ge.f.kb,ot=(Ye+1)/2,sn=(Ze+1)/2,ut=Math.abs(I.fa),Ct=Math.abs(I.Ab);var Pn=Math.abs(I.Db),Nn=Math.abs(I.lb);j&=ut*(Ze-1)+Ye<=I.Fd,j&=Ct*(sn-1)+ot<=I.Cd,j=(j&=Pn*(sn-1)+ot<=I.Ed)&ut>=Ye&Ct>=ot&Pn>=ot,j&=null!=I.y,j&=null!=I.f,j&=null!=I.ea,12==Fe&&(j&=Nn>=Ye,j&=Nn*(Ze-1)+Ye<=I.Tc,j&=null!=I.F)}else j=0;I=j?0:2}}return 0!=I||null!=Z&&Z.fd&&(I=ti(ge)),I}var ki=64,Yr=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],ui=24,Ti=32,$i=8,Vr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Ce("Predictor0","PredictorAdd0"),Se.Predictor0=function(){return 4278190080},Se.Predictor1=function(I){return I},Se.Predictor2=function(I,j,Z){return j[Z+0]},Se.Predictor3=function(I,j,Z){return j[Z+1]},Se.Predictor4=function(I,j,Z){return j[Z-1]},Se.Predictor5=function(I,j,Z){return bt(bt(I,j[Z+1]),j[Z+0])},Se.Predictor6=function(I,j,Z){return bt(I,j[Z-1])},Se.Predictor7=function(I,j,Z){return bt(I,j[Z+0])},Se.Predictor8=function(I,j,Z){return bt(j[Z-1],j[Z+0])},Se.Predictor9=function(I,j,Z){return bt(j[Z+0],j[Z+1])},Se.Predictor10=function(I,j,Z){return bt(bt(I,j[Z-1]),bt(j[Z+0],j[Z+1]))},Se.Predictor11=function(I,j,Z){var ge=j[Z+0];return 0>=wr(ge>>24&255,I>>24&255,(j=j[Z-1])>>24&255)+wr(ge>>16&255,I>>16&255,j>>16&255)+wr(ge>>8&255,I>>8&255,j>>8&255)+wr(255&ge,255&I,255&j)?ge:I},Se.Predictor12=function(I,j,Z){var ge=j[Z+0];return(zt((I>>24&255)+(ge>>24&255)-((j=j[Z-1])>>24&255))<<24|zt((I>>16&255)+(ge>>16&255)-(j>>16&255))<<16|zt((I>>8&255)+(ge>>8&255)-(j>>8&255))<<8|zt((255&I)+(255&ge)-(255&j)))>>>0},Se.Predictor13=function(I,j,Z){var ge=j[Z-1];return(hn((I=bt(I,j[Z+0]))>>24&255,ge>>24&255)<<24|hn(I>>16&255,ge>>16&255)<<16|hn(I>>8&255,ge>>8&255)<<8|hn(I>>0&255,ge>>0&255))>>>0};var ji=Se.PredictorAdd0;Se.PredictorAdd1=Fr,Ce("Predictor2","PredictorAdd2"),Ce("Predictor3","PredictorAdd3"),Ce("Predictor4","PredictorAdd4"),Ce("Predictor5","PredictorAdd5"),Ce("Predictor6","PredictorAdd6"),Ce("Predictor7","PredictorAdd7"),Ce("Predictor8","PredictorAdd8"),Ce("Predictor9","PredictorAdd9"),Ce("Predictor10","PredictorAdd10"),Ce("Predictor11","PredictorAdd11"),Ce("Predictor12","PredictorAdd12"),Ce("Predictor13","PredictorAdd13");var no=Se.PredictorAdd2;so("ColorIndexInverseTransform","MapARGB","32b",function(I){return I>>8&255},function(I){return I}),so("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(I){return I},function(I){return I>>8&255});var io,Ao=Se.ColorIndexInverseTransform,ss=Se.MapARGB,Is=Se.VP8LColorIndexInverseTransformAlpha,Ko=Se.MapAlpha,Ns=Se.VP8LPredictorsAdd=[];Ns.length=16,(Se.VP8LPredictors=[]).length=16,(Se.VP8LPredictorsAdd_C=[]).length=16,(Se.VP8LPredictors_C=[]).length=16;var _o,ua,wa,il,Al,Pl,pa,Kl,Zc,zs,xo,mo,Js,w2,Sf,G1,T3,W1,bd,ma,ga,Nl,Jc,O0,h4,O5,bw,TZ,IZ=o(511),OZ=o(2041),RZ=o(225),LZ=o(767),PZ=0,RO=OZ,_w=RZ,Ef=LZ,C2=IZ,xw=0,ww=1,NZ=2,Cw=3,Sw=4,LO=5,FZ=6,PO=7,NO=8,Ew=9,FO=10,zQe=[2,3,7],BQe=[3,3,11],zZ=[280,256,256,256,40],VQe=[0,1,1,1,0],HQe=[
vendor: 4,537 bytes, line 1
117,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],jQe=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],UQe=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],$Qe=8,zO=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],BO=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],K7=null,GQe=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],WQe=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],BZ=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],qQe=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,25
15,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],YQe=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,
11,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],KQe=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 28,486 bytes, line 1
15,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],XQe=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],p4=[],_d=[],R0=[],ZQe=1,VZ=2,m4=[],S2=[];nr("UpsampleRgbLinePair",Ee,3),nr("UpsampleBgrLinePair",Le,3),nr("UpsampleRgbaLinePair",Vt,4),nr("UpsampleBgraLinePair",Ut,4),nr("UpsampleArgbLinePair",Pt,4),nr("UpsampleRgba4444LinePair",Lt,2),nr("UpsampleRgb565LinePair",Je,2);var JQe=Se.UpsampleRgbLinePair,QQe=Se.UpsampleBgrLinePair,HZ=Se.UpsampleRgbaLinePair,jZ=Se.UpsampleBgraLinePair,UZ=Se.UpsampleArgbLinePair,$Z=Se.UpsampleRgba4444LinePair,eet=Se.UpsampleRgb565LinePair,Aw=16,Mw=1<<Aw-1,X7=-227,VO=482,GZ=6,tet=(256<<GZ)-1,WZ=0,net=o(256),ret=o(256),iet=o(256),oet=o(256),set=o(VO-X7),aet=o(VO-X7);On("YuvToRgbRow",Ee,3),On("YuvToBgrRow",Le,3),On("YuvToRgbaRow",Vt,4),On("YuvToBgraRow",Ut,4),On("YuvToArgbRow",Pt,4),On("YuvToRgba4444Row",Lt,2),On("YuvToRgb565Row",Je,2);var qZ=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Dw=[0,2,8],cet=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(I,j,Z,ge,Fe){var Ye=ww,Ze=new k0,ot=new Yn;Ze.ba=ot,ot.S=Ye,ot.width=[ot.width],ot.height=[ot.height];var ut=ot.width,Ct=ot.height,sn=new dr;if(null==sn||null==I)var Pn=2;else t(null!=sn),Pn=Sr(I,j,Z,sn.width,sn.height,sn.Pd,sn.Qd,sn.format,null);if(0!=Pn?ut=0:(null!=ut&&(ut[0]=sn.width[0]),null!=Ct&&(Ct[0]=sn.height[0]),ut=1),ut){ot.width=ot.width[0],ot.height=ot.height[0],null!=ge&&(ge[0]=ot.width),null!=Fe&&(Fe[0]=ot.height);e:{if(ge=new wf,(Fe=new u4).data=I,Fe.w=j,Fe.ha=Z,Fe.kd=1,j=[0],t(null!=Fe),(0==(I=Sr(Fe.data,Fe.w,Fe.ha,null,null,null,j,null,Fe))||7==I)&&j[0]&&(I=4),0==(j=I)){if(t(null!=Ze),ge.data=Fe.data,ge.w=Fe.w+Fe.offset,ge.ha=Fe.ha-Fe.offset,ge.put=Ft,ge.ac=zo,ge.bc=er,ge.ma=Ze,Fe.xa){if(null==(I=du())){Ze=1;break e}if(function(Nn,wn){var vr=[0],Zn=[0],an=[0];t:for(;;){if(null==Nn)return 0;if(null==wn)return Nn.a=2,0;if(Nn.l=wn,Nn.a=0,we(Nn.m,wn.data,wn.w,wn.ha),!lr(Nn.m,vr,Zn,an)){Nn.a=3;break t}if(Nn.xb=VZ,wn.width=vr[0],wn.height=Zn[0],!d1(vr[0],Zn[0],1,Nn,null))break t;return 1}return t(0!=Nn.a),0}(I,ge)){if(ge=0==(j=wi(ge.width,ge.height,Ze.Oa,Ze.ba))){t:{ge=I;n:for(;;){if(null==ge){ge=0;break t}if(t(null!=ge.s.yc),t(null!=ge.s.Ya),t(0<ge.s.Wb),t(null!=(Z=ge.l)),t(null!=(Fe=Z.ma)),0!=ge.xb){if(ge.ca=Fe.ba,ge.tb=Fe.tb,t(null!=ge.ca),!Br(Fe.Oa,Z,Cw)){ge.a=2;break n}if(!h1(ge,Z.width)||Z.da)break n;if((Z.da||Ri(ge.ca.S))&&Tn(),11>ge.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=ge.ca.f.kb.F&&Tn()),ge.Pb&&0<ge.s.ua&&null==ge.s.vb.X&&!Cr(ge.s.vb,ge.s.Wa.Xa)){ge.a=1;break n}ge.xb=0}if(!rl(ge,ge.V,ge.Ba,ge.c,ge.i,Z.o,qo))break n;Fe.Dc=ge.Ma,ge=1;break t}t(0!=ge.a),ge=0}ge=!ge}ge&&(j=I.a)}else j=I.a}else{if(null==(I=new w3)){Ze=1;break e}if(I.Fa=Fe.na,I.P=Fe.P,I.qc=Fe.Sa,C3(I,ge)){if(0==(j=wi(ge.width,ge.height,Ze.Oa,Ze.ba))){if(I.Aa=0,Z=Ze.Oa,t(null!=(Fe=I)),null!=Z){if(0<(ut=0>(ut=Z.Md)?0:100<ut?255:255*ut/100)){for(Ct=sn=0;4>Ct;++Ct)12>(Pn=Fe.pb[Ct]).lc&&(Pn.ia=ut*cet[0>Pn.lc?0:Pn.lc]>>3),sn|=Pn.ia;sn&&(alert("todo:VP8InitRandom"),Fe.ia=1)}Fe.Ga=Z.Id,100<Fe.Ga?Fe.Ga=100:0>Fe.Ga&&(Fe.Ga=0)}(function g5(I,j){if(null==I)return 0;if(null==j)return Wa(I,2,"NULL VP8Io parameter in VP8Decode().");if(!I.cb&&!C3(I,j))return 0;if(t(I.cb),null==j.ac||j.ac(j)){j.ob&&(I.L=0);var Z=Dw[I.L];if(2==I.L?(I.yb=0,I.zb=0):(I.yb=j.v-Z>>4,I.zb=j.j-Z>>4,0>I.yb&&(I.yb=0),0>I.zb&&(I.zb=0)),I.Va=j.o+15+Z>>4,I.Hb=j.va+15+Z>>4,I.Hb>I.za&&(I.Hb=I.za),I.Va>I.Ub&&(I.Va=I.Ub),0<I.L){var ge=I.ed;for(Z=0;4>Z;++Z){var Fe;if(I.Qa.Cb){var Ye=I.Qa.Lb[Z];I.Qa.Fb||(Ye+=ge.Tb)}else Ye=ge.Tb;for(Fe=0;1>=Fe;++Fe){var Ze=I.gd[Z][Fe],ot=Ye;if(ge.Pc&&(ot+=ge.vd[0],Fe&&(ot+=ge.od[0])),0<(ot=0>ot?0:63<ot?63:ot)){var ut=ot;0<ge.wb&&(ut=4<ge.wb?ut>>2:ut>>1)>9-ge.wb&&(ut=9-ge.wb),1>ut&&(ut=1),Ze.dd=ut,Ze.tc=2*ot+ut,Ze.ld=40<=ot?2:15<=ot?1:0}else Ze.tc=0;Ze.La=Fe}}}Z=0}else Wa(I,6,"Frame setup failed"),Z=I.a;if(Z=0==Z){if(Z){I.$c=0,0<I.Aa||(I.Ic=1);e:{ge=4*(ut=I.za);var Ct=32*ut,sn=ut+1,Pn=0<I.L?ut*(0<I.Aa?2:1):0,Nn=(2==I.Aa?2:1)*ut;if((Ze=ge+832+(Fe=3*(16*(Z=I.Ic)+Dw[I.L])/2*Ct)+(Ye=null!=I.Fa&&0<I.Fa.length?I.Kc.c*I.Kc.i:0))!=Ze)Z=0;else{if(Ze>I.Vb){if(I.Vb=0,I.Ec=o(Ze),I.Fc=0,null==I.Ec){Z=Wa(I,1,"no memory during frame initialization.");break e}I.Vb=Ze}ot=I.Fc,I.Ac=Ze=I.Ec,I.Bc=ot,ot+=ge,I.Gd=s(Ct,b2),I.Hd=0,I.rb=s(sn+1,lo),I.sb=1,I.wa=Pn?s(Pn,md):null,I.Y=0,I.D.Nb=0,I.D.wa=I.wa,I.D.Y=I.Y,0<I.Aa&&(I.D.Y+=ut),t(!0),I.oc=Ze,I.pc=ot,ot+=832,I.ya=s(Nn,us),I.aa=0,I.D.ya=I.ya,I.D.aa=I.aa,2==I.Aa&&(I.D.aa+=ut),I.R=16*ut,I.B=8*ut,ut=(Ct=Dw[I.L])*I.R,Ct=Ct/2*I.B,I.sa=Ze,I.ta=ot+ut,I.qa=I.sa,I.ra=I.ta+16*Z*I.R+Ct,I.Ha=I.qa,I.Ia=I.ra+8*Z*I.B+Ct,I.$c=0,ot+=Fe,I.mb=Ye?Ze:null,I.nb=Ye?ot:null,t(ot+Ye<=I.Fc+I.Vb),e4(I),i(I.Ac,I.Bc,0,ge),Z=1}}if(Z){if(j.ka=0,j.y=I.sa,j.O=I.ta,j.f=I.qa,j.N=I.ra,j.ea=I.Ha,j.Vd=I.Ia,j.fa=I.R,j.Rc=I.B,j.F=null,j.J=0,!PZ){for(Z=-255;255>=Z;++Z)IZ[255+Z]=0>Z?-Z:Z;for(Z=-1020;1020>=Z;++Z)OZ[1020+Z]=-128>Z?-128:127<Z?127:Z;for(Z=-112;112>=Z;++Z)RZ[112+Z]=-16>Z?-16:15<Z?15:Z;for(Z=-255;510>=Z;++Z)LZ[255+Z]=0>Z?0:255<Z?255:Z;PZ=1}pa=B7,Kl=z7,zs=v5,xo=y5,mo=b5,Zc=n4,Js=M3,w2=D0,Sf=Y7,G1=c4,T3=q7,W1=l4,bd=Cf,ma=D3,ga=T5,Nl=U1,Jc=gh,O0=W7,_d[0]=_2,_d[1]=_5,_d[2]=H7,_d[3]=j7,_d[4]=E5,_d[5]=hh,_d[6]=A5,_d[7]=ph,_d[8]=$7,_d[9]=U7,p4[0]=C5,p4[1]=w5,p4[2]=vd,p4[3]=i4,p4[4]=hu,p4[5]=V7,p4[6]=S5,R0[0]=mh,R0[1]=x5,R0[2]=G7,R0[3]=E3,R0[4]=M0,R0[5]=s4,R0[6]=A3,Z=1}else Z=0}Z&&(Z=function(wn,vr){for(wn.M=0;wn.M<wn.Va;++wn.M){var Zn,an=wn.Jc[wn.M&wn.Xb],gn=wn.m,hr=wn;for(Zn=0;Zn<hr.za;++Zn){var Er=gn,mr=hr,Si=mr.Ac,ii=mr.Bc+4*Zn,wo=mr.zc,mi=mr.ya[mr.aa+Zn];if(mi.$b=mr.Qa.Bb?Rt(Er,mr.Pa.jb[0])?2+Rt(Er,mr.Pa.jb[2]):Rt(Er,mr.Pa.jb[1]):0,mr.kc&&(mi.Ad=Rt(Er,mr.Bd)),mi.Za=!Rt(Er,145)+0,mi.Za){var fa=mi.Ob,Ca=0;for(mr=0;4>mr;++mr){var Qs,Bs=wo[0+mr];for(Qs=0;4>Qs;++Qs){for(var Ya=BZ[Rt(Er,(Bs=YQe[Si[ii+Qs]][Bs])[0])];0<Ya;)Ya=BZ[2*Ya+Rt(Er,Bs[Ya])];Si[ii+Qs]=Bs=-Ya}r(fa,Ca,Si,ii,4),Ca+=4,wo[0+mr]=Bs}}else Bs=Rt(Er,156)?Rt(Er,128)?1:3:Rt(Er,163)?2:0,mi.Ob[0]=Bs,i(Si,ii,Bs,4),i(wo,0,Bs,4);mi.Dd=Rt(Er,142)?Rt(Er,114)?Rt(Er,183)?1:3:2:0}if(hr.m.Ka)return Wa(wn,7,"Premature end-of-partition0 encountered.");for(;wn.ja<wn.za;++wn.ja){if(hr=an,Er=(gn=wn).rb[gn.sb-1],Si=gn.rb[gn.sb+gn.ja],Zn=gn.ya[gn.aa+gn.ja],ii=gn.kc?Zn.Ad:0)Er.la=Si.la=0,Zn.Za||(Er.Na=Si.Na=0),Zn.Hc=0,Zn.Gc=0,Zn.ia=0;else{var Ia,fs;if(Er=Si,Si=hr,ii=gn.Pa.Xc,mi=gn.pb[(wo=gn.ya[gn.aa+gn.ja]).$b],Ca=gn.rb[gn.sb-1],Bs=Qs=0,i(mr=wo.ad,fa=0,0,384),wo.Za)var Lc=0,q1=ii[3];else{Ya=o(16);var Pc=Er.Na+Ca.Na;if(Pc=K7(Si,ii[1],Pc,mi.Eb,0,Ya,0),Er.Na=Ca.Na=(0<Pc)+0,1<Pc)pa(Ya,0,mr,fa);else{var Y1=Ya[0]+3>>3;for(Ya=0;256>Ya;Ya+=16)mr[fa+Ya]=Y1}Lc=1,q1=ii[0]}var Sa=15&Er.la,Af=15&Ca.la;for(Ya=0;4>Ya;++Ya){var Mf=1&Af;for(Y1=fs=0;4>Y1;++Y1)Sa=Sa>>1|(Mf=(Pc=K7(Si,q1,Pc=Mf+(1&Sa),mi.Sc,Lc,mr,fa))>Lc)<<7,fs=fs<<2|(3<Pc?3:1<Pc?2:0!=mr[fa+0]),fa+=16;Sa>>=4,Af=Af>>1|Mf<<7,Qs=(Qs<<8|fs)>>>0}for(q1=Sa,Lc=Af>>4,Ia=0;4>Ia;Ia+=2){for(fs=0,Sa=Er.la>>4+Ia,Af=Ca.la>>4+Ia,Ya=0;2>Ya;++Ya){for(Mf=1&Af,Y1=0;2>Y1;++Y1)Sa=Sa>>1|(Mf=0<(Pc=K7(Si,ii[2],Pc=Mf+(1&Sa),mi.Qc,0,mr,fa)))<<3,fs=fs<<2|(3<Pc?3:1<Pc?2:0!=mr[fa+0]),fa+=16;Sa>>=2,Af=Af>>1|Mf<<5}Bs|=fs<<4*Ia,q1|=Sa<<4<<Ia,Lc|=(240&Af)<<Ia}Er.la=q1,Ca.la=Lc,wo.Hc=Qs,wo.Gc=Bs,wo.ia=43690&Bs?0:mi.ia,ii=!(Qs|Bs)}if(0<gn.L&&(gn.wa[gn.Y+gn.ja]=gn.gd[Zn.$b][Zn.Za],gn.wa[gn.Y+gn.ja].La|=!ii),hr.Ka)return Wa(wn,7,"Premature end-of-file encountered.")}if(e4(wn),gn=vr,hr=1,Zn=(an=wn).D,Er=0<an.L&&an.M>=an.zb&&an.M<=an.Va,0==an.Aa)e:{if(Zn.M=an.M,Zn.uc=Er,Gn(an,Zn),hr=1,Zn=(fs=an.D).Nb,Er=(Bs=Dw[an.L])*an.R,ii=an.sa,wo=an.ta-Er+(Ya=16*Zn*an.R),mi=an.qa,mr=an.ra-(Si=Bs/2*an.B)+(Y1=8*Zn*an.B),fa=an.Ha,Ca=an.Ia-Si+Y1,Af=0==(Sa=fs.M),Qs=Sa>=an.Va-1,2==an.Aa&&Gn(an,fs),fs.uc)for(Mf=(Pc=an).D.M,t(Pc.D.uc),fs=Pc.yb;fs<Pc.Hb;++fs){q1=Mf;var pu=(Du=(Xl=Pc).D).Nb,Du=Du.wa[Du.Y+(Lc=fs)],p1=Xl.sa,E2=Xl.ta+16*pu*(Ia=Xl.R)+16*Lc,bh=Du.dd,mu=Du.tc;if(0!=mu)if(t(3<=mu),1==Xl.L)0<Lc&&Nl(p1,E2,Ia,mu+4),Du.La&&O0(p1,E2,Ia,mu),0<q1&&ga(p1,E2,Ia,mu+4),Du.La&&Jc(p1,E2,Ia,mu);else{var L0=Xl.B,I3=Xl.qa,R5=Xl.ra+8*pu*L0+8*Lc,g4=Xl.Ha,Xl=Xl.Ia+8*pu*L0+8*Lc;pu=Du.ld,0<Lc&&(w2(p1,E2,Ia,mu+4,bh,pu),G1(I3,R5,g4,Xl,L0,mu+4,bh,pu)),Du.La&&(W1(p1,E2,Ia,mu,bh,pu),ma(I3,R5,g4,Xl,L0,mu,bh,pu)),0<q1&&(Js(p1,E2,Ia,mu+4,bh,pu),Sf(I3,R5,g4,Xl,L0,mu+4,bh,pu)),Du.La&&(T3(p1,E2,Ia,mu,bh,pu),bd(I3,R5,g4,Xl,L0,mu,bh,pu))}}if(an.ia&&alert("todo:DitherRow"),null!=gn.put){if(fs=16*Sa,Sa=16*(Sa+1),Af?(gn.y=an.sa,gn.O=an.ta+Ya,gn.f=an.qa,gn.N=an.ra+Y1,gn.ea=an.Ha,gn.W=an.Ia+Y1):(fs-=Bs,gn.y=ii,gn.O=wo,gn.f=mi,gn.N=mr,gn.ea=fa,gn.W=Ca),Qs||(Sa-=Bs),Sa>gn.o&&(Sa=gn.o),gn.F=null,gn.J=null,null!=an.Fa&&0<an.Fa.length&&fs<Sa&&(gn.J=k3(an,gn,fs,Sa-fs),gn.F=an.mb,null==gn.F&&0==gn.F.length)){hr=Wa(an,3,"Could not decode alpha data.");break e}fs<gn.j&&(Bs=gn.j-fs,fs=gn.j,t(!(1&Bs)),gn.O+=an.R*Bs,gn.N+=an.B*(Bs>>1),gn.W+=an.B*(Bs>>1),null!=gn.F&&(gn.J+=gn.width*Bs)),fs<Sa&&(gn.O+=gn.v,gn.N+=gn.v>>1,gn.W+=gn.v>>1,null!=gn.F&&(gn.J+=gn.v),gn.ka=fs-gn.j,gn.U=gn.va-gn.v,gn.T=Sa-fs,hr=gn.put(gn))}Zn+1!=an.Ic||Qs||(r(an.sa,an.ta-Er,ii,wo+16*an.R,Er),r(an.qa,an.ra-Si,mi,mr+8*an.B,Si),r(an.Ha,an.Ia-Si,fa,Ca+8*an.B,Si))}if(!hr)return Wa(wn,6,"Output aborted.")}return 1}(I,j)),null!=j.bc&&j.bc(j),Z&=1}return Z?(I.cb=0,Z):0})(I,ge)||(j=I.a)}}else j=I.a}0==j&&null!=Ze.Oa&&Ze.Oa.fd&&(j=ti(Ze.ba))}Ze=j}Ye=0!=Ze?null:11>Ye?ot.f.RGBA.eb:ot.f.kb.y}else Ye=null;return Ye};var YZ=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(Se,Ue){for(var it="",ye=0;ye<4;ye++)it+=String.fromCharCode(Se[Ue++]);return it}function f(Se,Ue){return(Se[Ue+0]<<0|Se[Ue+1]<<8|Se[Ue+2]<<16)>>>0}function h(Se,Ue){return(Se[Ue+0]<<0|Se[Ue+1]<<8|Se[Ue+2]<<16|Se[Ue+3]<<24)>>>0}new l;var v=[0],m=[0],x=[],p=new l,P=n,T=function(Se,Ue){var it={},ye=0,xe=!1,ze=0,qe=0;if(it.frames=[],!function(Pe,Xe,$e,Me){for(var De=0;De<4;De++)if(Pe[Xe+De]!="RIFF".charCodeAt(De))return!0;return!1}(Se,Ue)){var Et,Ne;for(h(Se,Ue+=4),Ue+=8;Ue<Se.length;){var je=u(Se,Ue),we=h(Se,Ue+=4);Ue+=4;var Ke=we+(1&we);switch(je){case"VP8 ":case"VP8L":void 0===it.frames[ye]&&(it.frames[ye]={}),(Ae=it.frames[ye]).src_off=xe?qe:Ue-8,Ae.src_size=ze+we+8,ye++,xe&&(xe=!1,ze=0,qe=0);break;case"VP8X":(Ae=it.header={}).feature_flags=Se[Ue];var dt=Ue+4;Ae.canvas_width=1+f(Se,dt),Ae.canvas_height=1+f(Se,dt+=3),dt+=3;break;case"ALPH":xe=!0,ze=Ke+8,qe=Ue-8;break;case"ANIM":(Ae=it.header).bgcolor=h(Se,Ue),Ae.loop_count=(Et=Se)[(Ne=dt=Ue+4)+0]<<0|Et[Ne+1]<<8,dt+=2;break;case"ANMF":var Tt,Ae;(Ae=it.frames[ye]={}).offset_x=2*f(Se,Ue),Ae.offset_y=2*f(Se,Ue+=3),Ae.width=1+f(Se,Ue+=3),Ae.height=1+f(Se,Ue+=3),Ae.duration=f(Se,Ue+=3),Ue+=3,Tt=Se[Ue++],Ae.dispose=1&Tt,Ae.blend=Tt>>1&1}"ANMF"!=je&&(Ue+=Ke)}return it}}(P,0);T.response=P,T.rgbaoutput=!0,T.dataurl=!1;var H=T.header?T.header:null,U=T.frames?T.frames:null;if(H){H.loop_counter=H.loop_count,v=[H.canvas_height],m=[H.canvas_width];for(var ee=0;ee<U.length&&0!=U[ee].blend;ee++);}var ie=U[0],me=p.WebPDecodeRGBA(P,ie.src_off,ie.src_size,m,v);ie.rgba=me,ie.imgwidth=m[0],ie.imgheight=v[0];for(var ue=0;ue<m[0]*v[0]*4;ue++)x[ue]=me[ue];return this.width=m,this.height=v,this.data=x,this}(function(n){var e=function(v,m,x,p){var P=4,T=s;switch(p){case n.image_compression.FAST:P=1,T=o;break;case n.image_compression.MEDIUM:P=6,T=a;break;case n.image_compression.SLOW:P=9,T=l}var H=I7(v=r(v,m,x,T),{level:P});return n.__addimage__.arrayBufferToBinaryString(H)},r=function(v,m,x,p){for(var P,T,H,U=v.length/m,ee=new Uint8Array(v.length+U),ie=f(),me=0;me<U;me+=1){if(P=v.subarray(H=me*m,H+m),p)ee.set(p(P,x,T),H+me);else{for(var ue,Se=ie.length,Ue=[];ue<Se;ue+=1)Ue[ue]=ie[ue](P,x,T);var it=h(Ue.concat());ee.set(Ue[it],H+me)}T=P}return ee},i=function(v){var m=Array.apply([],v);return m.unshift(0),m},o=function(v,m){var p=[],P=v.length;p[0]=1;for(var T=0;T<P;T+=1)p[T+1]=v[T]-(v[T-m]||0)+256&255;return p},s=function(v,m,x){var P=[],T=v.length;P[0]=2;for(var H=0;H<T;H+=1)P[H+1]=v[H]-(x&&x[H]||0)+256&255;return P},a=function(v,m,x){var T=[],H=v.length;T[0]=3;for(var U=0;U<H;U+=1)T[U+1]=v[U]+256-((v[U-m]||0)+(x&&x[U]||0)>>>1)&255;return T},l=function(v,m,x){var H,U=[],ee=v.length;U[0]=4;for(var ie=0;ie<ee;ie+=1)H=u(v[ie-m]||0,x&&x[ie]||0,x&&x[ie-m]||0),U[ie+1]=v[ie]-H+256&255;return U},u=function(v,m,x){if(v===m&&m===x)return v;var p=Math.abs(m-x),P=Math.abs(v-x),T=Math.abs(v+m-x-x);return p<=P&&p<=T?v:P<=T?m:x},f=function(){return[i,o,s,a,l]},h=function(v){var m=v.map(function(x){return x.reduce(function(p,P){return p+Math.abs(P)},0)});return m.indexOf(Math.min.apply(null,m))};n.processPNG=function(v,m,x,p){var P,T,H,U,ee,ie,me,ue,Se,Ue,it,ye,xe,ze,qe,Et=this.decode.FLATE_DECODE,Ne="";if(this.__addimage__.isArrayBuffer(v)&&(v=new Uint8Array(v)),this.__addimage__.isArrayBufferView(v)){if(v=(H=new $Ae(v)).imgData,T=H.bits,P=H.colorSpace,ee=H.colors,-1!==[4,6].indexOf(H.colorType)){if(8===H.bits){Se=(ue=32==H.pixelBitlength?new Uint32Array(H.decodePixels().buffer):16==H.pixelBitlength?new Uint16Array(H.decodePixels().buffer):new Uint8Array(H.decodePixels().buffer)).length,it=new Uint8Array(Se*H.colors),Ue=new Uint8Array(Se);var je,we=H.pixelBitlength-H.bits;for(ze=0,qe=0;ze<Se;ze++){for(xe=ue[ze],je=0;je<we;)it[qe++]=xe>>>je&255,je+=H.bits;Ue[ze]=xe>>>je&255}}if(16===H.bits){Se=(ue=new Uint32Array(H.decodePixels().buffer)).length,it=new Uint8Array(Se*(32/H.pixelBitlength)*H.colors),Ue=new Uint8Array(Se*(32/H.pixelBitlength)),ye=H.colors>1,ze=0,qe=0;for(var Ke=0;ze<Se;)xe=ue[ze++],it[qe++]=xe>>>0&255,ye&&(it[qe++]=xe>>>16&255,xe=ue[ze++],it[qe++]=xe>>>0&255),Ue[Ke++]=xe>>>16&255;T=8}p!==n.image_compression.NONE?(v=e(it,H.width*H.colors,H.colors,p),me=e(Ue,H.width,1,p)):(v=it,me=Ue,Et=void 0)}if(3===H.colorType&&(P=this.color_spaces.INDEXED,ie=H.palette,H.transparency.indexed)){var dt=H.transparency.indexed,Tt=0;for(ze=0,Se=dt.length;ze<Se;++ze)Tt+=dt[ze];if((Tt/=255)==Se-1&&-1!==dt.indexOf(0))U=[dt.indexOf(0)];else if(Tt!==Se){for(ue=H.decodePixels(),Ue=new Uint8Array(ue.length),ze=0,Se=ue.length;ze<Se;ze++)Ue[ze]=dt[ue[ze]];me=e(Ue,H.width,1)}}var Ae=function(Pe){var Xe;switch(Pe){case n.image_compression.FAST:Xe=11;break;case n.image_compression.MEDIUM:Xe=13;break;case n.image_compression.SLOW:Xe=14;break;default:Xe=12}return Xe}(p);return Et===this.decode.FLATE_DECODE&&(Ne="/Predictor "+Ae+" "),Ne+="/Colors "+ee+" /BitsPerComponent "+T+" /Columns "+H.width,(this.__addimage__.isArrayBuffer(v)||this.__addimage__.isArrayBufferView(v))&&(v=this.__addimage__.arrayBufferToBinaryString(v)),(me&&this.__addimage__.isArrayBuffer(me)||this.__addimage__.isArrayBufferView(me))&&(me=this.__addimage__.arrayBufferToBinaryString(me)),{alias:x,data:v,index:m,filter:Et,decodeParameters:Ne,transparency:U,palette:ie,sMask:me,predictor:Ae,width:H.width,height:H.height,bitsPerComponent:T,colorSpace:P}}}})(bo.API),function(n){n.processGIF89A=function(t,e,r,i){var o=new GAe(t),s=o.width,a=o.height,l=[];o.decodeAndBlitFrameRGBA(0,l);var u={data:l,width:s,height:a},f=new gI(100).encode(u,100);return n.processJPEG.call(this,f,e,r,i)},n.processGIF87A=n.processGIF89A}(bo.API),fd.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var n=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(n);for(var t=0;t<n;t++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:e,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},fd.prototype.parseBGR=function(){this.pos=this.offset;try{var n="bit"+this.bitPP;this.data=new Uint8Array(this.width*this.height*4),this[n]()}catch(e){$a.log("bit decode error:"+e)}},fd.prototype.bit1=function(){var n,t=Math.ceil(this.width/8),e=t%4;for(n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<t;i++)for(var o=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*i*4,a=0;a<8&&8*i+a<this.width;a++){var l=this.palette[o>>7-a&1];this.data[s+4*a]=l.blue,this.data[s+4*a+1]=l.green,this.data[s+4*a+2]=l.red,this.data[s+4*a+3]=255}0!==e&&(this.pos+=4-e)}},fd.prototype.bit4=function(){for(var n=Math.ceil(this.width/2),t=n%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<n;i++){var o=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*i*4,l=15&o,u=this.palette[o>>4];if(this.data[s]=u.blue,this.data[s+1]=u.green,this.data[s+2]=u.red,this.data[s+3]=255,2*i+1>=this.width)break;this.data[s+4]=(u=this.palette[l]).blue,this.data[s+4+1]=u.green,this.data[s+4+2]=u.red,this.data[s+4+3]=255}0!==t&&(this.pos+=4-t)}},fd.prototype.bit8=function(){for(var n=this.width%4,t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=e*this.width*4+4*r;if(i<this.palette.length){var s=this.palette[i];this.data[o]=s.red,this.data[o+1]=s.green,this.data[o+2]=s.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==n&&(this.pos+=4-n)}},fd.prototype.bit15=function(){for(var n=this.width%3,t=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,a=(o>>5&t)/t*255|0,u=o>>15?255:0,f=r*this.width*4+4*i;this.data[f]=(o>>10&t)/t*255|0,this.data[f+1]=a,this.data[f+2]=s,this.data[f+3]=u}this.pos+=n}},fd.prototype.bit16=function(){for(var n=this.width%3,t=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(s&t)/t*255|0,l=(s>>5&e)/e*255|0,f=i*this.width*4+4*o;this.data[f]=(s>>11)/t*255|0,this.data[f+1]=l,this.data[f+2]=a,this.data[f+3]=255}this.pos+=n}},fd.prototype.bit24=function(){for(var n=this.height-1;n>=0;n--){for(var t=this.bottom_up?n:this.height-1-n,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*e;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},fd.prototype.bit32=function(){for(var n=this.height-1;n>=0;n--)for(var t=this.bottom_up?n:this.height-1-n,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*e;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=s}},fd.prototype.getData=function(){return this.data},function(n){n.processBMP=function(t,e,r,i){var o=new fd(t,!1),s=o.width,a=o.height,l={data:o.getData(),width:s,height:a},u=new gI(100).encode(l,100);return n.processJPEG.call(this,u,e,r,i)}}(bo.API),gX.prototype.getData=function(){return this.data},function(n){n.processWEBP=function(t,e,r,i){var o=new gX(t,!1),s=o.width,a=o.height,l={data:o.getData(),width:s,height:a},u=new gI(100).encode(l,100);return n.processJPEG.call(this,u,e,r,i)}}(bo.API),bo.API.processRGBA=function(n,t,e){for(var r=n.data,i=r.length,o=new Uint8Array(i/4*3),s=new Uint8Array(i/4),a=0,l=0,u=0;u<i;u+=4){var h=r[u+1],v=r[u+2],m=r[u+3];o[a++]=r[u],o[a++]=h,o[a++]=v,s[l++]=m}var x=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:x,index:t,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:n.width,height:n.height}},bo.API.setLanguage=function(n){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[n]&&(this.internal.languageSettings.languageCode=n,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},ow=(c5=bo.API).getCharWidthsArray=function(n,t){var e,r,i=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),a=t.widths?t.widths:i.metadata.Unicode.widths,l=a.fof?a.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,f=u.fof?u.fof:1,h=!1!==t.doKerning,v=0,m=n.length,x=0,p=a[0]||l,P=[];for(e=0;e<m;e++)r=n.charCodeAt(e),"function"==typeof i.metadata.widthOfString?P.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+s*(1e3/o)||0)/1e3):(v=h&&"object"===xa(u[r])&&!isNaN(parseInt(u[r][x],10))?u[r][x]/f:0,P.push((a[r]||p)/l+v)),x=r;return P},dX=c5.getStringUnitWidth=function(n,t){var e=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return c5.processArabic&&(n=c5.processArabic(n)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(n,e,i)/e:ow.apply(this,arguments).reduce(function(o,s){return o+s},0)},hX=function(n,t,e,r){for(var i=[],o=0,s=n.length,a=0;o!==s&&a+t[o]<e;)a+=t[o],o++;i.push(n.slice(0,o));var l=o;for(a=0;o!==s;)a+t[o]>r&&(i.push(n.slice(l,o)),a=0,l=o),a+=t[o],o++;return l!==o&&i.push(n.slice(l,o)),i},pX=function(n,t,e){e||(e={});var r,i,o,s,a,l,f=[],h=[f],v=e.textIndent||0,m=0,x=0,p=n.split(" "),P=ow.apply(this,[" ",e])[0];if(l=-1===e.lineIndent?p[0].length+2:e.lineIndent||0){var T=Array(l).join(" "),H=[];p.map(function(ee){(ee=ee.split(/\s*\n/)).length>1?H=H.concat(ee.map(function(ie,me){return(me&&ie.length?"\n":"")+ie})):H.push(ee[0])}),p=H,l=dX.apply(this,[T,e])}for(o=0,s=p.length;o<s;o++){var U=0;if(r=p[o],l&&"\n"==r[0]&&(r=r.substr(1),U=1),v+m+(x=(i=ow.apply(this,[r,e])).reduce(function(ee,ie){return ee+ie},0))>t||U){if(x>t){for(a=hX.apply(this,[r,i,t-(v+m),t]),f.push(a.shift()),f=[a.pop()];a.length;)h.push([a.shift()]);x=i.slice(r.length-(f[0]?f[0].length:0)).reduce(function(ee,ie){return ee+ie},0)}else f=[r];h.push(f),v=x+l,m=P}else f.push(r),v+=m+x,m=P}return h.map(l?function(ee,ie){return(ie?T:"")+ee.join(" ")}:function(ee){return ee.join(" ")})},c5.splitTextToSize=function(n,t,e){var r,i=(e=e||{}).fontSize||this.internal.getFontSize(),o=function(f){if(f.widths&&f.kerning)return{widths:f.widths,kerning:f.kerning};var h=this.internal.getFont(f.fontName,f.fontStyle);return h.metadata.Unicode?{widths:h.metadata.Unicode.widths||{0:1},kerning:h.metadata.Unicode.kerning||{}}:{font:h.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);r=Array.isArray(n)?n:String(n).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/i;o.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=e.lineIndent;var a,l,u=[];for(a=0,l=r.length;a<l;a++)u=u.concat(pX.apply(this,[r[a],s,o]));return u},function(n){n.__fontmetrics__=n.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",e={},r={},i=0;i<t.length;i++)e[t[i]]="0123456789abcdef"[i],r["0123456789abcdef"[i]]=t[i];var o=function(h){return"0x"+parseInt(h,10).toString(16)},s=n.__fontmetrics__.compress=function(h){var v,m,x,p,P=["{"];for(var T in h){if(v=h[T],isNaN(parseInt(T,10))?m="'"+T+"'":(T=parseInt(T,10),m=(m=o(T).slice(2)).slice(0,-1)+r[m.slice(-1)]),"number"==typeof v)v<0?(x=o(v).slice(3),p="-"):(x=o(v).slice(2),p=""),x=p+x.slice(0,-1)+r[x.slice(-1)];
vendor: 1,109 bytes, line 1
1else{if("object"!==xa(v))throw new Error("Don't know what to do with value type "+xa(v)+".");x=s(v)}P.push(m+x)}return P.push("}"),P.join("")},a=n.__fontmetrics__.uncompress=function(h){if("string"!=typeof h)throw new Error("Invalid argument passed to uncompress.");for(var v,m,x,p,P={},T=1,H=P,U=[],ee="",ie="",me=h.length-1,ue=1;ue<me;ue+=1)"'"==(p=h[ue])?v?(x=v.join(""),v=void 0):v=[]:v?v.push(p):"{"==p?(U.push([H,x]),H={},x=void 0):"}"==p?((m=U.pop())[0][m[1]]=H,x=void 0,H=m[0]):"-"==p?T=-1:void 0===x?e.hasOwnProperty(p)?(ee+=e[p],x=parseInt(ee,16)*T,T=1,ee=""):ee+=p:e.hasOwnProperty(p)?(ie+=e[p],H[x]=parseInt(ie,16)*T,T=1,x=void 0,ie=""):ie+=p;return P},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},f
vendor: 14,693 bytes, line 1
1={Unicode:{"Courier-Oblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":a("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":a("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:a("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:a("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":a("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":a("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};
vendor: 10,662 bytes, line 1
1n.events.push(["addFont",function(h){var v=h.font,m=f.Unicode[v.postScriptName];m&&(v.metadata.Unicode={},v.metadata.Unicode.widths=m.widths,v.metadata.Unicode.kerning=m.kerning);var x=u.Unicode[v.postScriptName];x&&(v.metadata.Unicode.encoding=x,v.encoding=x.codePages[0])}])}(bo.API),function(n){var t=function(e){for(var r=e.length,i=new Uint8Array(r),o=0;o<r;o++)i[o]=e.charCodeAt(o);return i};n.API.events.push(["addFont",function(e){var s,a,r=void 0,i=e.font,o=e.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");s=i,a=/^\x00\x01\x00\x00/.test(a=r)?t(a):t(O7(a)),s.metadata=n.API.TTFFont.open(a),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]}}])}(bo),function(n){function t(){return(Ro.canvg?Promise.resolve(Ro.canvg):c.e(820).then(c.bind(c,88820))).catch(function(e){return Promise.reject(new Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e})}bo.API.addSvgAsImage=function(e,r,i,o,s,a,l,u){if(isNaN(r)||isNaN(i))throw $a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(s))throw $a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=o,f.height=s;var h=f.getContext("2d");h.fillStyle="#fff",h.fillRect(0,0,f.width,f.height);var v={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},m=this;return t().then(function(x){return x.fromString(h,e,v)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(x){return x.render(v)}).then(function(){m.addImage(f.toDataURL("image/jpeg",1),r,i,o,s,l,u)})}}(),bo.API.putTotalPages=function(n){var t,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(n,"g"),e=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(n,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,e);return this},bo.API.viewerPreferences=function(n,t){var e;n=n||{},t=t||!1;var r,i,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(s),l=[],u=0,f=0,h=0;function v(x,p){var P,T=!1;for(P=0;P<x.length;P+=1)x[P]===p&&(T=!0);return T}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,"reset"===n||!0===t){var m=a.length;for(h=0;h<m;h+=1)e[a[h]].value=e[a[h]].defaultValue,e[a[h]].explicitSet=!1}if("object"===xa(n))for(i in n)if(o=n[i],v(a,i)&&void 0!==o){if("boolean"===e[i].type&&"boolean"==typeof o)e[i].value=o;else if("name"===e[i].type&&v(e[i].valueSet,o))e[i].value=o;else if("integer"===e[i].type&&Number.isInteger(o))e[i].value=o;else if("array"===e[i].type){for(u=0;u<o.length;u+=1)if(r=!0,1===o[u].length&&"number"==typeof o[u][0])l.push(String(o[u]-1));else if(o[u].length>1){for(f=0;f<o[u].length;f+=1)"number"!=typeof o[u][f]&&(r=!1);!0===r&&l.push([o[u][0]-1,o[u][1]-1].join(" "))}e[i].value="["+l.join(" ")+"]"}else e[i].value=e[i].defaultValue;e[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var x,p=[];for(x in e)!0===e[x].explicitSet&&p.push("name"===e[x].type?"/"+x+" /"+e[x].value:"/"+x+" "+e[x].value);0!==p.length&&this.internal.write("/ViewerPreferences\n<<\n"+p.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},function(n){var t=function(){var r='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',i=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),o=unescape(encodeURIComponent(r)),s=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),l=unescape(encodeURIComponent("</x:xmpmeta>")),u=o.length+s.length+a.length+i.length+l.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+u+" >>"),this.internal.write("stream"),this.internal.write(i+o+s+a+l),this.internal.write("endstream"),this.internal.write("endobj")},e=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};n.addMetadata=function(r,i){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:r,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",e),this.internal.events.subscribe("postPutResources",t)),this}}(bo.API),function(n){var t=n.API,e=t.pdfEscape16=function(o,s){for(var a,l=s.metadata.Unicode.widths,u=["","0","00","000","0000"],f=[""],h=0,v=o.length;h<v;++h){if(a=s.metadata.characterToGlyph(o.charCodeAt(h)),s.metadata.glyIdsUsed.push(a),s.metadata.toUnicode[a]=o.charCodeAt(h),-1==l.indexOf(a)&&(l.push(a),l.push([parseInt(s.metadata.widthOfGlyph(a),10)])),"0"==a)return f.join("");a=a.toString(16),f.push(u[4-a.length],a)}return f.join("")},r=function(o){var s,a,l,u,f,h,v;for(f="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",l=[],h=0,v=(a=Object.keys(o).sort(function(m,x){return m-x})).length;h<v;h++)s=a[h],l.length>=100&&(f+="\n"+l.length+" beginbfchar\n"+l.join("\n")+"\nendbfchar",l=[]),null!=o[s]&&"function"==typeof o[s].toString&&(u=("0000"+o[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),l.push("<"+s+"><"+u+">"));return l.length&&(f+="\n"+l.length+" beginbfchar\n"+l.join("\n")+"\nendbfchar\n"),f+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(o){!function(s){var a=s.font,l=s.out,u=s.newObject,f=s.putStream;if(a.metadata instanceof n.API.TTFFont&&"Identity-H"===a.encoding){for(var h=a.metadata.Unicode.widths,v=a.metadata.subset.encode(a.metadata.glyIdsUsed,1),m="",x=0;x<v.length;x++)m+=String.fromCharCode(v[x]);var p=u();f({data:m,addLength1:!0,objectId:p}),l("endobj");var P=u();f({data:r(a.metadata.toUnicode),addLength1:!0,objectId:P}),l("endobj");var T=u();l("<<"),l("/Type /FontDescriptor"),l("/FontName /"+r5(a.fontName)),l("/FontFile2 "+p+" 0 R"),l("/FontBBox "+n.API.PDFObject.convert(a.metadata.bbox)),l("/Flags "+a.metadata.flags),l("/StemV "+a.metadata.stemV),l("/ItalicAngle "+a.metadata.italicAngle),l("/Ascent "+a.metadata.ascender),l("/Descent "+a.metadata.decender),l("/CapHeight "+a.metadata.capHeight),l(">>"),l("endobj");var H=u();l("<<"),l("/Type /Font"),l("/BaseFont /"+r5(a.fontName)),l("/FontDescriptor "+T+" 0 R"),l("/W "+n.API.PDFObject.convert(h)),l("/CIDToGIDMap /Identity"),l("/DW 1000"),l("/Subtype /CIDFontType2"),l("/CIDSystemInfo"),l("<<"),l("/Supplement 0"),l("/Registry (Adobe)"),l("/Ordering ("+a.encoding+")"),l(">>"),l(">>"),l("endobj"),a.objectNumber=u(),l("<<"),l("/Type /Font"),l("/Subtype /Type0"),l("/ToUnicode "+P+" 0 R"),l("/BaseFont /"+r5(a.fontName)),l("/Encoding /"+a.encoding),l("/DescendantFonts ["+H+" 0 R]"),l(">>"),l("endobj"),a.isAlreadyPutted=!0}}(o)}]),t.events.push(["putFont",function(o){!function(s){var a=s.font,l=s.out,u=s.newObject,f=s.putStream;if(a.metadata instanceof n.API.TTFFont&&"WinAnsiEncoding"===a.encoding){for(var h=a.metadata.rawData,v="",m=0;m<h.length;m++)v+=String.fromCharCode(h[m]);var x=u();f({data:v,addLength1:!0,objectId:x}),l("endobj");var p=u();f({data:r(a.metadata.toUnicode),addLength1:!0,objectId:p}),l("endobj");var P=u();l("<<"),l("/Descent "+a.metadata.decender),l("/CapHeight "+a.metadata.capHeight),l("/StemV "+a.metadata.stemV),l("/Type /FontDescriptor"),l("/
1FontFile2 "+x+" 0 R"),l("/Flags 96"),l("/FontBBox "+n.API.PDFObject.convert(a.metadata.bbox)),l("/FontName /"+r5(a.fontName)),l("/ItalicAngle "+a.metadata.italicAngle),l("/Ascent "+a.metadata.ascender),l(">>"),l("endobj"),a.objectNumber=u();for(var T=0;T<a.metadata.hmtx.widths.length;T++)a.metadata.hmtx.widths[T]=parseInt(a.metadata.hmtx.widths[T]*(1e3/a.metadata.head.unitsPerEm));l("<</Subtype/TrueType/Type/Font/ToUnicode "+p+" 0 R/BaseFont/"+r5(a.fontName)+"/FontDescriptor "+P+" 0 R/Encoding/"+a.encoding+" /FirstChar 29 /LastChar 255 /Widths "+n.API.PDFObject.convert(a.metadata.hmtx.widths)+">>"),l("endobj"),a.isAlreadyPutted=!0}}(o)}]);var i=function(o){var s,a=o.text||"",l=o.x,u=o.y,f=o.options||{},h=o.mutex||{},v=h.pdfEscape,m=h.activeFontKey,x=h.fonts,p=m,P="",T=0,H="",U=x[p].encoding;if("Identity-H"!==x[p].encoding)return{text:a,x:l,y:u,options:f,mutex:h};for(H=a,p=m,Array.isArray(a)&&(H=a[0]),T=0;T<H.length;T+=1)x[p].metadata.hasOwnProperty("cmap")&&(s=x[p].metadata.cmap.unicode.codeMap[H[T].charCodeAt(0)]),s||H[T].charCodeAt(0)<256&&x[p].metadata.hasOwnProperty("Unicode")?P+=H[T]:P+="";var ee="";return parseInt(p.slice(1))<14||"WinAnsiEncoding"===U?ee=v(P,p).split("").map(function(ie){return ie.charCodeAt(0).toString(16)}).join(""):"Identity-H"===U&&(ee=e(P,x[p])),h.isHex=!0,{text:ee,x:l,y:u,options:f,mutex:h}};t.events.push(["postProcessText",function(o){var s=o.text||"",a=[],l={text:s,x:o.x,y:o.y,options:o.options,mutex:o.mutex};if(Array.isArray(s)){var u=0;for(u=0;u<s.length;u+=1)Array.isArray(s[u])&&3===s[u].length?a.push([i(Object.assign({},l,{text:s[u][0]})).text,s[u][1],s[u][2]]):a.push(i(Object.assign({},l,{text:s[u]})).text);o.text=a}else o.text=i(Object.assign({},l,{text:s})).text}])}(bo),function(n){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};n.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},n.addFileToVFS=function(e,r){return t.call(this),this.internal.vFS[e]=r,this},n.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(bo.API),function(n){n.__bidiEngine__=n.prototype.__bidiEngine__=function(r){var i,o,s,a,l,u,f,h=t,v=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],m=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],x={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},p={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},P=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],T=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),H=!1,U=0;this.__bidiEngine__={};var ee=function(ye){var xe=ye.charCodeAt(),ze=xe>>8,qe=p[ze];return void 0!==qe?h[256*qe+(255&xe)]:252===ze||253===ze?"AL":T.test(ze)?"L":8===ze?"R":"N"},ie=function(ye){for(var xe,ze=0;ze<ye.length;ze++){if("L"===(xe=ee(ye.charAt(ze))))return!1;if("R"===xe)return!0}return!1},me=function(ye,xe,ze,qe){var Et,Ne,je,we,Ke=xe[qe];switch(Ke){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":H=!1;break;case"N":case"AN":break;case"EN":H&&(Ke="AN");break;case"AL":H=!0,Ke="R";break;case"WS":case"BN":Ke="N";break;case"CS":qe<1||qe+1>=xe.length||"EN"!==(Et=ze[qe-1])&&"AN"!==Et||"EN"!==(Ne=xe[qe+1])&&"AN"!==Ne?Ke="N":H&&(Ne="AN"),Ke=Ne===Et?Ne:"N";break;case"ES":Ke="EN"===(Et=qe>0?ze[qe-1]:"B")&&qe+1<xe.length&&"EN"===xe[qe+1]?"EN":"N";break;case"ET":if(qe>0&&"EN"===ze[qe-1]){Ke="EN";break}if(H){Ke="N";break}for(je=qe+1,we=xe.length;je<we&&"ET"===xe[je];)je++;Ke=je<we&&"EN"===xe[je]?"EN":"N";break;case"NSM":if(s&&!a){for(we=xe.length,je=qe+1;je<we&&"NSM"===xe[je];)je++;if(je<we){var dt=ye[qe];if(Et=xe[je],(dt>=1425&&dt<=2303||64286===dt)&&("R"===Et||"AL"===Et)){Ke="R";break}}}Ke=qe<1||"B"===(Et=xe[qe-1])?"N":ze[qe-1];break;case"B":H=!1,i=!0,Ke=U;break;case"S":o=!0,Ke="N"}return Ke},ue=function(ye,xe,ze){var qe=ye.split("");return ze&&Se(qe,ze,{hiLevel:U}),qe.reverse(),xe&&xe.reverse(),qe.join("")},Se=function(ye,xe,ze){var qe,Et,Ne,je,we,Ke=-1,dt=ye.length,Tt=0,Ae=[],Pe=U?m:v,Xe=[];for(H=!1,i=!1,o=!1,Et=0;Et<dt;
vendor: 35,070 bytes, line 1
1Et++)Xe[Et]=ee(ye[Et]);for(Ne=0;Ne<dt;Ne++){if(we=Tt,Ae[Ne]=me(ye,Xe,Ae,Ne),qe=240&(Tt=Pe[we][x[Ae[Ne]]]),xe[Ne]=je=Pe[Tt&=15][5],qe>0)if(16===qe){for(Et=Ke;Et<Ne;Et++)xe[Et]=1;Ke=-1}else Ke=-1;if(Pe[Tt][6])-1===Ke&&(Ke=Ne);else if(Ke>-1){for(Et=Ke;Et<Ne;Et++)xe[Et]=je;Ke=-1}"B"===Xe[Ne]&&(xe[Ne]=0),ze.hiLevel|=je}o&&function($e,Me,De){for(var gt=0;gt<De;gt++)if("S"===$e[gt]){Me[gt]=U;for(var Rt=gt-1;Rt>=0&&"WS"===$e[Rt];Rt--)Me[Rt]=U}}(Xe,xe,dt)},Ue=function(ye,xe,ze,qe,Et){if(!(Et.hiLevel<ye)){if(1===ye&&1===U&&!i)return xe.reverse(),void(ze&&ze.reverse());for(var Ne,je,we,Ke,dt=xe.length,Tt=0;Tt<dt;){if(qe[Tt]>=ye){for(we=Tt+1;we<dt&&qe[we]>=ye;)we++;for(Ke=Tt,je=we-1;Ke<je;Ke++,je--)Ne=xe[Ke],xe[Ke]=xe[je],xe[je]=Ne,ze&&(Ne=ze[Ke],ze[Ke]=ze[je],ze[je]=Ne);Tt=we}Tt++}}},it=function(ye,xe,ze){var qe=ye.split(""),Et={hiLevel:U};return ze||(ze=[]),Se(qe,ze,Et),function(Ne,je,we){if(0!==we.hiLevel&&f)for(var Ke,dt=0;dt<Ne.length;dt++)1===je[dt]&&(Ke=P.indexOf(Ne[dt]))>=0&&(Ne[dt]=P[Ke+1])}(qe,ze,Et),Ue(2,qe,xe,ze,Et),Ue(1,qe,xe,ze,Et),qe.join("")};return this.__bidiEngine__.doBidiReorder=function(ye,xe,ze){if(function(Et,Ne){if(Ne)for(var je=0;je<Et.length;je++)Ne[je]=je;void 0===a&&(a=ie(Et)),void 0===u&&(u=ie(Et))}(ye,xe),s||!l||u)if(s&&l&&a^u)U=a?1:0,ye=ue(ye,xe,ze);else if(!s&&l&&u)U=a?1:0,ye=it(ye,xe,ze),ye=ue(ye,xe);else if(!s||a||l||u){if(s&&!l&&a^u)ye=ue(ye,xe),a?(U=0,ye=it(ye,xe,ze)):(U=1,ye=it(ye,xe,ze),ye=ue(ye,xe));else if(s&&a&&!l&&u)U=1,ye=it(ye,xe,ze),ye=ue(ye,xe);else if(!s&&!l&&a^u){var qe=f;a?(U=1,ye=it(ye,xe,ze),U=0,f=!1,ye=it(ye,xe,ze),f=qe):(U=0,ye=it(ye,xe,ze),ye=ue(ye,xe),U=1,f=!1,ye=it(ye,xe,ze),f=qe,ye=ue(ye,xe))}}else U=0,ye=it(ye,xe,ze);else U=a?1:0,ye=it(ye,xe,ze);return ye},this.__bidiEngine__.setOptions=function(ye){ye&&(s=ye.isInputVisual,l=ye.isOutputVisual,a=ye.isInputRtl,u=ye.isOutputRtl,f=ye.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],e=new n.__bidiEngine__({isInputVisual:!0});n.API.events.push(["postProcessText",function(r){var i=r.text,o=r.options||{},s=[];if(o.isInputVisual="boolean"!=typeof o.isInputVisual||o.isInputVisual,e.setOptions(o),"[object Array]"===Object.prototype.toString.call(i)){var a=0;for(s=[],a=0;a<i.length;a+=1)"[object Array]"===Object.prototype.toString.call(i[a])?s.push([e.doBidiReorder(i[a][0]),i[a][1],i[a][2]]):s.push([e.doBidiReorder(i[a])]);r.text=s}else r.text=e.doBidiReorder(i);e.setOptions({isInputVisual:!0})}])}(bo),bo.API.TTFFont=function(){function n(t){var e;if(this.rawData=t,e=this.contents=new Yp(t),this.contents.pos=4,"ttcf"===e.readString(4))throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new sMe(this),this.registerTTF()}return n.open=function(t){return new n(t)},n.prototype.parse=function(){return this.directory=new WAe(this.contents),this.head=new YAe(this),this.name=new QAe(this),this.cmap=new yX(this),this.toUnicode={},this.hhea=new KAe(this),this.maxp=new eMe(this),this.hmtx=new tMe(this),this.post=new ZAe(this),this.os2=new XAe(this),this.loca=new oMe(this),this.glyf=new nMe(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},n.prototype.registerTTF=function(){var e,r,i,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var s,a,l,u;for(u=[],s=0,a=(l=this.bbox).length;s<a;s++)u.push(Math.round(l[s]*this.scaleFactor));return u}.call(this),this.stemV=0,this.post.exists?(r=255&(i=this.post.italic_angle),0!=(32768&(e=i>>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(o=this.familyClass)||2===o||3===o||4===o||5===o||7===o,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},n.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},n.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},n.prototype.widthOfString=function(t,e,r){var i,o,s,a;for(s=0,o=0,a=(t=""+t).length;0<=a?o<a:o>a;o=0<=a?++o:--o)i=t.charCodeAt(o),s+=this.widthOfGlyph(this.characterToGlyph(i))+r*(1e3/e)||0;return s*(e/1e3)},n.prototype.lineHeight=function(t,e){return null==e&&(e=!1),(this.ascender+(e?this.lineGap:0)-this.decender)/1e3*t},n}();var dd,Yp=function(){function n(t){this.data=t??[],this.pos=0,this.length=this.data.length}return n.prototype.readByte=function(){return this.data[this.pos++]},n.prototype.writeByte=function(t){return this.data[this.pos++]=t},n.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},n.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},n.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},n.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},n.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},n.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},n.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},n.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},n.prototype.readString=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},n.prototype.writeString=function(t){var e,r,i;for(i=[],e=0,r=t.length;0<=r?e<r:e>r;e=0<=r?++e:--e)i.push(this.writeByte(t.charCodeAt(e)));return i},n.prototype.readShort=function(){return this.readInt16()},n.prototype.writeShort=function(t){return this.writeInt16(t)},n.prototype.readLongLong=function(){var t,e,r,i,o,s,a,l;return t=this.readByte(),e=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),s=this.readByte(),a=this.readByte(),l=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^i)+16777216*(255^o)+65536*(255^s)+256*(255^a)+(255^l)+1):72057594037927940*t+281474976710656*e+1099511627776*r+4294967296*i+16777216*o+65536*s+256*a+l},n.prototype.writeLongLong=function(t){var e,r;return e=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},n.prototype.readInt=function(){return this.readInt32()},n.prototype.writeInt=function(t){return this.writeInt32(t)},n.prototype.read=function(t){var e,r;for(e=[],r=0;0<=t?r<t:r>t;r=0<=t?++r:--r)e.push(this.readByte());return e},n.prototype.write=function(t){var r,i,o;for(o=[],r=0,i=t.length;r<i;r++)o.push(this.writeByte(t[r]));return o},n}(),WAe=function(){var n;function t(e){var r,i,o;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},i=0,o=this.tableCount;0<=o?i<o:i>o;i=0<=o?++i:--i)r={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[r.tag]=r}return t.prototype.encode=function(e){var r,i,s,a,l,u,f,h,v,m,x,p;for(p in m=Object.keys(e).length,l=Math.log(2),h=16*Math.floor(Math.log(m)/l),s=Math.floor(h/l),f=16*m-h,(i=new Yp).writeInt(this.scalarType),i.writeShort(m),i.writeShort(h),i.writeShort(s),i.writeShort(f),u=i.pos+16*m,a=null,x=[],e)for(v=e[p],i.writeString(p),i.writeInt(n(v)),i.writeInt(u),i.writeInt(v.length),x=x.concat(v),"head"===p&&(a=u),u+=v.length;u%4;)x.push(0),u++;return i.write(x),r=2981146554-n(i.data),i.pos=a+8,i.writeUInt32(r),i.data},n=function(e){var r,i,o,s;for(e=bX.call(e);e.length%4;)e.push(0);for(o=new Yp(e),i=0,r=0,s=e.length;r<s;r=r+=4)i+=o.readUInt32();return 4294967295&i},t}(),qAe={}.hasOwnProperty,uh=function(n,t){for(var e in t)qAe.call(t,e)&&(n[e]=t[e]);function r(){this.constructor=n}return r.prototype=t.prototype,n.prototype=new r,n.__super__=t.prototype,n};dd=function(){function n(t){var e;this.file=t,this.exists=!!(e=this.file.directory.tables[this.tag]),e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return n.prototype.parse=function(){},n.prototype.encode=function(){},n.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},n}();var YAe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var r;return(r=new Yp).writeInt(this.version),r.writeInt(this.revision),r.writeInt(this.checkSumAdjustment),r.writeInt(this.magicNumber),r.writeShort(this.flags),r.writeShort(this.unitsPerEm),r.writeLongLong(this.created),r.writeLongLong(this.modified),r.writeShort(this.xMin),r.writeShort(this.yMin),r.writeShort(this.xMax),r.writeShort(this.yMax),r.writeShort(this.macStyle),r.writeShort(this.lowestRecPPEM),r.writeShort(this.fontDirectionHint),r.writeShort(e),r.writeShort(this.glyphDataFormat),r.data},t}(),vX=function(){function n(t,e){var r,i,o,s,a,l,u,f,h,v,m,x,p,P,T,H,U;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),h=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(l=0;l<256;++l)this.codeMap[l]=t.readByte();break;case 4:for(m=t.readUInt16(),v=m/2,t.pos+=6,o=function(){var ee,ie;for(ie=[],l=ee=0;0<=v?ee<v:ee>v;l=0<=v?++ee:--ee)ie.push(t.readUInt16());return ie}(),t.pos+=2,p=function(){var ee,ie;for(ie=[],l=ee=0;0<=v?ee<v:ee>v;l=0<=v?++ee:--ee)ie.push(t.readUInt16());return ie}(),u=function(){var ee,ie;for(ie=[],l=ee=0;0<=v?ee<v:ee>v;l=0<=v?++ee:--ee)ie.push(t.readUInt16());return ie}(),f=function(){var ee,ie;for(ie=[],l=ee=0;0<=v?ee<v:ee>v;l=0<=v?++ee:--ee)ie.push(t.readUInt16());return ie}(),i=(this.length-t.pos+this.offset)/2,a=function(){var ee,ie;for(ie=[],l=ee=0;0<=i?ee<i:ee>i;l=0<=i?++ee:--ee)ie.push(t.readUInt16());return ie}(),l=T=0,U=o.length;T<U;l=++T)for(P=o[l],r=H=x=p[l];x<=P?H<=P:H>=P;r=x<=P?++H:--H)0===f[l]?s=r+u[l]:0!==(s=a[f[l]/2+(r-x)-(v-l)]||0)&&(s+=u[l]),this.codeMap[r]=65535&s}t.pos=h}return n.encode=function(t,e){var r,i,o,s,a,l,u,f,h,v,m,x,p,P,T,H,U,ie,me,ue,Se,Ue,it,ye,xe,ze,qe,Et,Ne,je,we,Ke,dt,Tt,Ae,Pe,Xe,$e,Me,De,gt,Rt,kt,rn,In;switch(qe=new Yp,s=Object.keys(t).sort(function(Xn,Cr){return Xn-Cr}),e){case"macroman":for(p=0,P=function(){var Xn=[];for(x=0;x<256;++x)Xn.push(0);return Xn}(),H={0:0},o={},Et=0,Ke=s.length;Et<Ke;Et++)null==H[Rt=t[i=s[Et]]]&&(H[Rt]=++p),o[i]={old:t[i],new:H[t[i]]},P[i]=H[t[i]];return qe.writeUInt16(1),qe.writeUInt16(0),qe.writeUInt32(12),qe.writeUInt16(0),qe.writeUInt16(262),qe.writeUInt16(0),qe.write(P),{charMap:o,subtable:qe.data,maxGlyphID:p+1};case"unicode":for(xe=[],h=[],U=0,H={},r={},T=u=null,Ne=0,dt=s.length;Ne<dt;Ne++)null==H[ie=t[i=s[Ne]]]&&(H[ie]=++U),r[i]={old:ie,new:H[ie]},a=H[ie]-i,null!=T&&a===u||(T&&h.push(T),xe.push(i),u=a),T=i;for(T&&h.push(T),h.push(65535),xe.push(65535),it=2*(Ue=xe.length),Se=2*Math.pow(Math.log(Ue)/Math.LN2,2),v=Math.log(Se/2)/Math.LN2,ue=2*Ue-Se,l=[],me=[],m=[],x=je=0,Tt=xe.length;je<Tt;x=++je){if(f=h[x],65535===(ye=xe[x])){l.push(0),me.push(0);break}if(ye-(ze=r[ye].new)>=32768)for(l.push(0),me.push(2*(m.length+Ue-x)),i=we=ye;ye<=f?we<=f:we>=f;i=ye<=f?++we:--we)m.push(r[i].new);else l.push(ze-ye),me.push(0)}for(qe.writeUInt16(3),qe.writeUInt16(1),qe.writeUInt32(12),qe.writeUInt16(4),qe.writeUInt16(16+8*Ue+2*m.length),qe.writeUInt16(0),qe.writeUInt16(it),qe.writeUInt16(Se),qe.writeUInt16(v),qe.writeUInt16(ue),De=0,Ae=h.length;De<Ae;De++)qe.writeUInt16(i=h[De]);for(qe.writeUInt16(0),gt=0,Pe=xe.length;gt<Pe;gt++)qe.writeUInt16(i=xe[gt]);for(kt=0,Xe=l.length;kt<Xe;kt++)qe.writeUInt16(a=l[kt]);for(rn=0,$e=me.length;rn<$e;rn++)qe.writeUInt16(me[rn]);for(In=0,Me=m.length;In<Me;In++)qe.writeUInt16(p=m[In]);return{charMap:r,subtable:qe.data,maxGlyphID:U+1}}},n}(),yX=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="cmap",t.prototype.parse=function(e){var r,i,o;for(e.pos=this.offset,this.version=e.readUInt16(),o=e.readUInt16(),this.tables=[],this.unicode=null,i=0;0<=o?i<o:i>o;i=0<=o?++i:--i)r=new vX(e,this.offset),this.tables.push(r),r.isUnicode&&null==this.unicode&&(this.unicode=r);return!0},t.encode=function(e,r){var i,o;return null==r&&(r="macroman"),i=vX.encode(e,r),(o=new Yp).writeUInt16(0),o.writeUInt16(1),i.table=o.data.concat(i.subtable),i},t}(),KAe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),XAe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var r,i;for(i=[],r=0;r<10;++r)i.push(e.readByte());return i}(),this.charRange=function(){var r,i;for(i=[],r=0;r<4;++r)i.push(e.readInt());return i}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var r,i;for(i=[],r=0;r<2;r=++r)i.push(e.readInt());return i}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),ZAe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="post",t.prototype.parse=function(e){var r,i,o;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var s;for(i=e.readUInt16(),this.glyphNameIndex=[],s=0;0<=i?s<i:s>i;s=0<=i?++s:--s)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],o=[];e.pos<this.offset+this.length;)r=e.readByte(),o.push(this.names.push(e.readString(r)));return o;case 151552:return i=e.readUInt16(),this.offsets=e.read(i);case 262144:return this.map=function(){var a,l,u;for(u=[],s=a=0,l=this.file.maxp.numGlyphs;0<=l?a<l:a>l;s=0<=l?++a:--a)u.push(e.readUInt32());return u}.call(this)}},t}(),JAe=function(n,t){this.raw=n,this.length=n.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},QAe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="name",t.prototype.parse=function(e){var r,i,o,s,a,l,u,f,h,v,m;for(e.pos=this.offset,e.readShort(),r=e.readShort(),l=e.readShort(),i=[],s=0;0<=r?s<r:s>r;s=0<=r?++s:--s)i.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+l+e.readShort()});for(u={},s=h=0,v=i.length;h<v;s=++h)e.pos=(o=i[s]).offset,f=e.readString(o.length),a=new JAe(f,o),null==u[m=o.nameID]&&(u[m]=[]),u[o.nameID].push(a);this.strings=u,this.copyright=u[0],this.fontFamily=u[1],this.fontSubfamily=u[2],this.uniqueSubfamily=u[3],this.fontName=u[4],this.version=u[5];try{this.postscriptName=u[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=u[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=u[7],this.manufacturer=u[8],this.designer=u[9],this.description=u[10],this.vendorUrl=u[11],this.designerUrl=u[12],this.license=u[13],this.licenseUrl=u[14],this.preferredFamily=u[15],this.preferredSubfamily=u[17],this.compatibleFull=u[18],this.sampleText=u[19]},t}(),eMe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),tMe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="hmtx",t.prototype.parse=function(e){var r,i,o,a,l,u;for(e.pos=this.offset,this.metrics=[],r=0,l=this.file.hhea.numberOfMetrics;0<=l?r<l:r>l;r=0<=l?++r:--r)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(o=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var f,h;for(h=[],r=f=0;0<=o?f<o:f>o;r=0<=o?++f:--f)h.push(e.readInt16());return h}(),this.widths=function(){var f,h,v,m;for(m=[],f=0,h=(v=this.metrics).length;f<h;f++)m.push(v[f].advance);return m}.call(this),i=this.widths[this.widths.length-1],u=[],r=a=0;0<=o?a<o:a>o;r=0<=o?++a:--a)u.push(this.widths.push(i));return u},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),bX=[].slice,nMe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var r,i,o,s,a,l,u,f,h,v;return e in this.cache?this.cache[e]:(r=this.file.contents,i=(s=this.file.loca).indexOf(e),0===(o=s.lengthOf(e))?this.cache[e]=null:(r.pos=this.offset+i,a=(l=new Yp(r.read(o))).readShort(),f=l.readShort(),v=l.readShort(),u=l.readShort(),h=l.readShort(),this.cache[e]=-1===a?new iMe(l,f,v,u,h):new rMe(l,a,f,v,u,h),this.cache[e]))},t.prototype.encode=function(e,r,i){var o,s,a,l,u;for(a=[],s=[],l=0,u=r.length;l<u;l++)o=e[r[l]],s.push(a.length),o&&(a=a.concat(o.encode(i)));return s.push(a.length),{table:a,offsets:s}},t}(),rMe=function(){function n(t,e,r,i,o,s){this.raw=t,this.numberOfContours=e,this.xMin=r,this.yMin=i,this.xMax=o,this.yMax=s,this.compound=!1}return n.prototype.encode=function(){return this.raw.data},n}(),iMe=function(){function n(t,e,r,i,o){var s,a;for(this.raw=t,this.xMin=e,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;a=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&a;)s.pos+=1&a?4:2,128&a?s.pos+=8:64&a?s.pos+=4:8&a&&(s.pos+=2)}return n.prototype.encode=function(){var t,e,r;for(e=new Yp(bX.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)e.pos=this.glyphOffsets[t];return e.data},n}(),oMe=function(n){function t(){return t.__super__.constructor.apply(this,arguments)}return uh(t,dd),t.prototype.tag="loca",t.prototype.parse=function(e){var i;return e.pos=this.offset,this.offsets=0===this.file.head.indexToLocFormat?function(){var o,s;for(s=[],i=0,o=this.length;i<o;i+=2)s.push(2*e.readUInt16());return s}.call(this):function(){var o,s;for(s=[],i=0,o=this.length;i<o;i+=4)s.push(e.readUInt32());return s}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,r){for(var i=new Uint32Array(this.offsets.length),o=0,s=0,a=0;a<i.length;++a)if(i[a]=o,s<r.length&&r[s]==a){++s,i[a]=o;var u=this.offsets[a+1]-this.offsets[a];u>0&&(o+=u)}for(var f=new Array(4*i.length),h=0;h<i.length;++h)f[4*h+3]=255&i[h],f[4*h+2]=(65280&i[h])>>8,f[4*h+1]=(16711680&i[h])>>16,f[4*h]=(4278190080&i[h])>>24;return f},t}(),sMe=function(){function n(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return n.prototype.generateCmap=function(){var t,e,i,o;for(e in i=this.font.cmap.tables[0].codeMap,t={},o=this.subset)t[e]=i[o[e]];return t},n.prototype.glyphsFor=function(t){var e,r,i,o,s,a,l;for(i={},s=0,a=t.length;s<a;s++)i[o=t[s]]=this.font.glyf.glyphFor(o);for(o in e=[],i)null!=(r=i[o])&&r.compound&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(o in l=this.glyphsFor(e))i[o]=r=l[o];return i},n.prototype.encode=function(t,e){var r,i,o,s,l,u,f,h,v,m,x,p,P,T;for(i in r=yX.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(t),m={0:0},T=r.charMap)m[(l=T[i]).old]=l.new;for(x in v=r.maxGlyphID,s)x in m||(m[x]=v++);return f=function(H){var U,ee;for(U in ee={},H)ee[H[U]]=U;return ee}(m),h=Object.keys(f).sort(function(H,U){return H-U}),p=function(){var H,U,ee;for(ee=[],H=0,U=h.length;H<U;H++)ee.push(f[h[H]]);return ee}(),o=this.font.glyf.encode(s,p,m),u=this.font.loca.encode(o.offsets,p),P={cmap:this.font.cmap.raw(),glyf:o.table,loca:u,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(e)},this.font.os2.exists&&(P["OS/2"]=this.font.os2.raw()),this.font.directory.encode(P)},n}();bo.API.PDFObject=function(){var n;function t(){}return n=function(e,r){return(Array(r+1).join("0")+e).slice(-r)},t.convert=function(e){var i,o;if(Array.isArray(e))return"["+function(){var a,l,u;for(u=[],a=0,l=e.length;a<l;a++)u.push(t.convert(e[a]));return u}().join(" ")+"]";if("string"==typeof e)return"/"+e;if(e?.isString)return"("+e+")";if(e instanceof Date)return"(D:"+n(e.getUTCFullYear(),4)+n(e.getUTCMonth(),2)+n(e.getUTCDate(),2)+n(e.getUTCHours(),2)+n(e.getUTCMinutes(),2)+n(e.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(e)){for(i in o=["<<"],e)o.push("/"+i+" "+t.convert(e[i]));return o.push(">>"),o.join("\n")}return""+e},t}();const aMe=bo;var lMe=c(65478),_X=c.n(lMe),cMe=c(644),uMe=c.n(cMe),fMe=c(47376),dMe=c.n(fMe),vI=function(n){var e,v,t=n,r={a:0,b:0,c:0},i=[];return e=function(v,m){var x,p,P,T,H,U;if(v.test(t))for(p=0,P=(x=t.match(v)).length;p<P;p+=1)r[m]+=1,H=t.indexOf(T=x[p]),i.push({selector:n.substr(H,U=T.length),type:m,index:H,length:U}),t=t.replace(T,Array(U+1).join(" "))},(v=function(P){var T,H,U,ee;if(P.test(t))for(H=0,U=(T=t.match(P)).length;H<U;H+=1)t=t.replace(ee=T[H],Array(ee.length+1).join("A"))})(/\\[0-9A-Fa-f]{6}\s?/g),v(/\\[0-9A-Fa-f]{1,5}\s/g),v(/\\./g),function(){var m,x,p,P,v=/{[^]*/gm;if(v.test(t))for(x=0,p=(m=t.match(v)).length;x<p;x+=1)t=t.replace(P=m[x],Array(P.length+1).join(" "))}(),e(/(\[[^\]]+\])/g,"b"),e(/(#[^\#\s\+>~\.\[:\)]+)/g,"a"),e(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),e(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),e(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),e(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),t=(t=(t=(t=(t=(t=t.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),e(/([^\s\+>~\.\[:]+)/g,"c"),i.sort(function(v,m){return v.index-m.index}),{selector:n,specificity:"0,"+r.a.toString()+","+r.b.toString()+","+r.c.toString(),specificityArray:[0,r.a,r.b,r.c],parts:i}}
1,xX=function(n,t){return(xX=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])})(n,t)};function Ga(n,t){function e(){this.constructor=n}xX(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}var yI=function(){return(yI=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};function tl(n,t,e,r){return new(e||(e=Promise))(function(i,o){function s(u){try{l(r.next(u))}catch(f){o(f)}}function a(u){try{l(r.throw(u))}catch(f){o(f)}}function l(u){var f;u.done?i(u.value):(f=u.value,f instanceof e?f:new e(function(h){h(f)})).then(s,a)}l((r=r.apply(n,t||[])).next())})}function nl(n,t){var e,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(u){return function(f){if(e)throw new TypeError("Generator is already executing.");for(;s;)try{if(e=1,r&&(i=2&f[0]?r.return:f[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,f[1])).done)return i;switch(r=0,i&&(f=[2&f[0],i.value]),f[0]){case 0:case 1:i=f;break;case 4:return s.label++,{value:f[1],done:!1};case 5:s.label++,r=f[1],f=[0];continue;case 7:f=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==f[0]&&2!==f[0])){s=0;continue}if(3===f[0]&&(!i||f[1]>i[0]&&f[1]<i[3])){s.label=f[1];break}if(6===f[0]&&s.label<i[1]){s.label=i[1],i=f;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(f);break}i[2]&&s.ops.pop(),s.trys.pop();continue}f=t.call(n,s)}catch(h){f=[6,h],r=0}finally{e=i=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([l,u])}}}var fh=function(){function n(t){if(this.a=void 0,this.r=0,this.g=0,this.b=0,this.simpleColors={},this.colorDefs=[],this.ok=!1,t){for(var e in"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase(),this.simpleColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee9
10",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightslategrey:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},this.simpleColors)t==e&&(t=this.simpleColors[e]);this.colorDefs=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(l){return[parseInt(l[1]),parseInt(l[2]),parseInt(l[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(l){return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(l){return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)]}}];for(var r=0;r<this.colorDefs.length;r++){var o=this.colorDefs[r].process,s=this.colorDefs[r].re.exec(t);if(s){var a=o(s);this.r=a[0],this.g=a[1],this.b=a[2],this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b}}return n.prototype.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},n.prototype.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+(this.a||"1")+")"},n.prototype.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r},n.prototype.getHelpXML=function(){for(var t=[],e=0;e<this.colorDefs.length;e++)for(var r=this.colorDefs[e].example,i=0;i<r.length;i++)t[t.length]=r[i];for(var o in this.simpleColors)t[t.length]=o;var s=document.createElement("ul");for(s.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var a=document.createElement("li"),l=new n(t[e]),u=document.createElement("div");u.style.cssText="margin: 3px; border: 1px solid black; background:"+l.toHex()+"; color:"+l.toHex(),u.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[e]+" -> "+l.toRGB()+" -> "+l.toHex());a.appendChild(u),a.appendChild(f),s.appendChild(a)}catch{}return s},n}(),f1=function(){function n(t){this.color=t}return n.prototype.getFillData=function(t,e){return tl(this,void 0,void 0,function(){return nl(this,function(r){return[2,void 0]})})},n}(),pMe=function(){function n(){this.xmlSpace="",this.fill=null,this.fillOpacity=1,this.fontFamily="",this.fontSize=16,this.fontStyle="",this.fontWeight="",this.opacity=1,this.stroke=null,this.strokeDasharray=null,this.strokeDashoffset=0,this.strokeLinecap="",this.strokeLinejoin="",this.strokeMiterlimit=4,this.strokeOpacity=1,this.strokeWidth=1,this.alignmentBaseline="",this.textAnchor="",this.visibility="",this.color=null}return n.prototype.clone=function(){var t=new n;return t.xmlSpace=this.xmlSpace,t.fill=this.fill,t.fillOpacity=this.fillOpacity,t.fontFamily=this.fontFamily,t.fontSize=this.fontSize,t.fontStyle=this.fontStyle,t.fontWeight=this.fontWeight,t.opacity=this.opacity,t.stroke=this.stroke,t.strokeDasharray=this.strokeDasharray,t.strokeDashoffset=this.strokeDashoffset,t.strokeLinecap=this.strokeLinecap,t.strokeLinejoin=this.strokeLinejoin,t.strokeMiterlimit=this.strokeMiterlimit,t.strokeOpacity=this.strokeOpacity,t.strokeWidth=this.strokeWidth,t.textAnchor=this.textAnchor,t.alignmentBaseline=this.alignmentBaseline,t.visibility=this.visibility,t.color=this.color,t},n.default=function(){var t=new n;
1return t.xmlSpace="default",t.fill=new f1(new fh("rgb(0, 0, 0)")),t.fillOpacity=1,t.fontFamily="times",t.fontSize=16,t.fontStyle="normal",t.fontWeight="normal",t.opacity=1,t.stroke=null,t.strokeDasharray=null,t.strokeDashoffset=0,t.strokeLinecap="butt",t.strokeLinejoin="miter",t.strokeMiterlimit=4,t.strokeOpacity=1,t.strokeWidth=1,t.alignmentBaseline="baseline",t.textAnchor="start",t.visibility="visible",t.color=new fh("rgb(0, 0, 0)"),t},n}(),bI=/url\(["']?#([^"']+)["']?\)/,mMe={bottom:"bottom","text-bottom":"bottom",top:"top","text-top":"top",hanging:"hanging",middle:"middle",central:"middle",center:"middle",mathematical:"middle",ideographic:"ideographic",alphabetic:"alphabetic",baseline:"alphabetic"},gMe=function(){function n(){this.measureMethods={}}return n.prototype.getTextOffset=function(t,e){var r=e.textAnchor;if("start"===r)return 0;var i=this.measureTextWidth(t,e),o=0;switch(r){case"end":o=i;break;case"middle":o=i/2}return o},n.prototype.measureTextWidth=function(t,e){return 0===t.length?0:this.getMeasureFunction(e.fontFamily).call(this,t,e.fontFamily,e.fontSize+"px",e.fontStyle,e.fontWeight)},n.prototype.getMeasurementTextNode=function(){if(!this.textMeasuringTextElement){this.textMeasuringTextElement=document.createElementNS("http://www.w3.org/2000/svg","text");var t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.appendChild(this.textMeasuringTextElement),t.style.setProperty("position","absolute"),t.style.setProperty("visibility","hidden"),document.body.appendChild(t)}return this.textMeasuringTextElement},n.prototype.canvasTextMeasure=function(t,e,r,i,o){var s=document.createElement("canvas").getContext("2d");return null!=s?(s.font=[i,o,r,e].join(" "),s.measureText(t).width):0},n.prototype.svgTextMeasure=function(t,e,r,i,o,s){void 0===s&&(s=this.getMeasurementTextNode());var a=s;return a.setAttribute("font-family",e),a.setAttribute("font-size",r),a.setAttribute("font-style",i),a.setAttribute("font-weight",o),a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.textContent=t,a.getBBox().width},n.prototype.getMeasureFunction=function(t){var e=this.measureMethods[t];if(!e){var r=this.canvasTextMeasure(n.testString,t,"16px","normal","normal"),i=this.svgTextMeasure(n.testString,t,"16px","normal","normal");e=Math.abs(r-i)<n.epsilon?this.canvasTextMeasure:this.svgTextMeasure,this.measureMethods[t]=e}return e},n.prototype.cleanupTextMeasuring=function(){if(this.textMeasuringTextElement){var t=this.textMeasuringTextElement.parentNode;t&&document.body.removeChild(t),this.textMeasuringTextElement=void 0}},n.testString="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789!\"$%&/()=?'\\+*-_.:,;^}][{#~|<>",n.epsilon=.1,n}(),Kp=function(){function n(t,e){var r,i,o,s,a,l;this.pdf=t,this.svg2pdfParameters=e.svg2pdfParameters,this.attributeState=e.attributeState?e.attributeState.clone():pMe.default(),this.viewport=e.viewport,this.refsHandler=null!==(r=e.refsHandler)&&void 0!==r?r:null,this.styleSheets=null!==(i=e.styleSheets)&&void 0!==i?i:null,this.textMeasure=null!==(o=e.textMeasure)&&void 0!==o?o:new gMe,this.transform=null!==(s=e.transform)&&void 0!==s?s:this.pdf.unitMatrix,this.withinClipPath=null!==(a=e.withinClipPath)&&void 0!==a&&a,this.withinUse=null!==(l=e.withinUse)&&void 0!==l&&l}return n.prototype.clone=function(t){var e,r,i,o,s,a,l,u;return void 0===t&&(t={}),new n(this.pdf,{svg2pdfParameters:null!==(e=t.svg2pdfParameters)&&void 0!==e?e:this.svg2pdfParameters,attributeState:t.attributeState?t.attributeState.clone():this.attributeState.clone(),viewport:null!==(r=t.viewport)&&void 0!==r?r:this.viewport,refsHandler:null!==(i=t.refsHandler)&&void 0!==i?i:this.refsHandler,styleSheets:null!==(o=t.styleSheets)&&void 0!==o?o:this.styleSheets,textMeasure:null!==(s=t.textMeasure)&&void 0!==s?s:this.textMeasure,transform:null!==(a=t.transform)&&void 0!==a?a:this.transform,withinClipPath:null!==(l=t.withinClipPath)&&void 0!==l?l:this.withinClipPath,withinUse:null!==(u=t.withinUse)&&void 0!==u?u:this.withinUse})},n}(),wX=function(){function n(t){this.renderedElements={},this.idMap=t,this.idPrefix=String(n.instanceCounter++)}return n.prototype.getRendered=function(t,e,r){return tl(this,void 0,void 0,function(){var i,o;return nl(this,function(s){switch(s.label){case 0:return i=this.generateKey(t,e),this.renderedElements.hasOwnProperty(i)?[2,this.renderedElements[t]]:(o=this.get(t),this.renderedElements[i]=o,[4,r(o)]);case 1:return s.sent(),[2,o]}})})},n.prototype.get=function(t){return this.idMap[_X()(t,{isIdentifier:!0})]},n.prototype.generateKey=function(t,e){return this.idPrefix+"|"+t+"|"+(e||new fh("rgb(0,0,0)")).toRGBA()},n.instanceCounter=0,n}();function CX(n,t){return Math.atan2(t[1]-n[1],t[0]-n[0])}function SX(n,t){return[2/3*(t[0]-n[0])+n[0],2/3*(t[1]-n[1])+n[1]]}function R7(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]);return[n[0]/t,n[1]/t]}function u5(n,t){return R7([t[0]-n[0],t[1]-n[1]])}function sw(n,t){return[n[0]+t[0],n[1]+t[1]]}function _I(n,t){var e=n[0],r=n[1];return[t.a*e+t.c*r+t.e,t.b*e+t.d*r+t.f]}var f5=function(){function n(){this.segments=[]}return n.prototype.moveTo=function(t,e){return this.segments.push(new fu(t,e)),this},n.prototype.lineTo=function(t,e){return this.segments.push(new Xp(t,e)),this},n.prototype.curveTo=function(t,e,r,i,o,s){return this.segments.push(new dh(t,e,r,i,o,s)),this},n.prototype.close=function(){return this.segments.push(new xI),this}
1,n.prototype.transform=function(t){this.segments.forEach(function(e){if(e instanceof fu||e instanceof Xp||e instanceof dh){var r=_I([e.x,e.y],t);e.x=r[0],e.y=r[1]}if(e instanceof dh){var i=_I([e.x1,e.y1],t),o=_I([e.x2,e.y2],t);e.x1=i[0],e.y1=i[1],e.x2=o[0],e.y2=o[1]}})},n.prototype.draw=function(t){var e=t.pdf;this.segments.forEach(function(r){r instanceof fu?e.moveTo(r.x,r.y):r instanceof Xp?e.lineTo(r.x,r.y):r instanceof dh?e.curveTo(r.x1,r.y1,r.x2,r.y2,r.x,r.y):e.close()})},n}(),fu=function(n,t){this.x=n,this.y=t},Xp=function(n,t){this.x=n,this.y=t},dh=function(n,t,e,r,i,o){this.x1=n,this.y1=t,this.x2=e,this.y2=r,this.x=i,this.y=o},xI=function(){};function _3(n,t){return t.split(",").indexOf((n.nodeName||n.tagName).toLowerCase())>=0}function Ur(n,t,e,r){var i;return void 0===r&&(r=e),(null===(i=n.style)||void 0===i?void 0:i.getPropertyValue(r))||t.getPropertyValue(n,r)||n.hasAttribute(e)&&n.getAttribute(e)||void 0}function x0(n,t,e){if("none"===Ur(n.element,e.styleSheets,"display"))return!1;var r=t,i=Ur(n.element,e.styleSheets,"visibility");return i&&(r="hidden"!==i),r}function Zp(n,t,e){var r=x0(n,t,e);return 0!==n.element.childNodes.length&&(n.children.forEach(function(i){i.isVisible(r,e)&&(r=!0)}),r)}var vMe=function(){function n(){this.markers=[]}return n.prototype.addMarker=function(t){this.markers.push(t)},n.prototype.draw=function(t){return tl(this,void 0,void 0,function(){var e,r,i,o,s,a,l;return nl(this,function(u){switch(u.label){case 0:e=0,u.label=1;case 1:return e<this.markers.length?(i=void 0,o=(r=this.markers[e]).angle,s=r.anchor,a=Math.cos(o),l=Math.sin(o),i=t.pdf.Matrix(a,l,-l,a,s[0],s[1]),i=t.pdf.matrixMult(t.pdf.Matrix(t.attributeState.strokeWidth,0,0,t.attributeState.strokeWidth,0,0),i),i=t.pdf.matrixMult(i,t.transform),t.pdf.saveGraphicsState(),[4,t.refsHandler.getRendered(r.id,null,function(f){return f.apply(t)})]):[3,4];case 2:u.sent(),t.pdf.doFormObject(r.id,i),t.pdf.restoreGraphicsState(),u.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},n}(),Jp=function(n,t,e){this.id=n,this.anchor=t,this.angle=e};function w0(n,t){var e;return(e=n&&n.toString().match(/^([\-0-9.]+)em$/))?parseFloat(e[1])*t:(e=n&&n.toString().match(/^([\-0-9.]+)(px|)$/))?parseFloat(e[1]):0}function EX(n){return mMe[n]||"alphabetic"}function g2(n){for(var t,e=[],r=/[+-]?(?:(?:\d+\.?\d*)|(?:\d*\.?\d+))(?:[eE][+-]?\d+)?/g;t=r.exec(n);)e.push(parseFloat(t[0]));return e}function d5(n,t){if("transparent"===n){var e=new fh("rgb(0,0,0)");return e.a=0,e}if("currentcolor"===n.toLowerCase())return t||new fh("rgb(0,0,0)");var r=/\s*rgba\(((?:[^,\)]*,){3}[^,\)]*)\)\s*/.exec(n);if(r){var i=g2(r[1]),o=new fh("rgb("+i.slice(0,3).join(",")+")");return o.a=i[3],o}return new fh(n)}var wI,C0={"sans-serif":"helvetica",verdana:"helvetica",arial:"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",serif:"times",cursive:"times",fantasy:"times"},yMe=(wI=aMe.version.split("."),2===parseFloat(wI[0])&&3===parseFloat(wI[1]));function AX(n,t){return yMe?400==t?"italic"==n?"italic":"normal":700==t&&"italic"!==n?"bold":n+""+t:400==t||"normal"===t?"italic"===n?"italic":"normal":700!=t&&"bold"!==t||"normal"!==n?(700==t?"bold":t)+""+n:"bold"}function CI(n,t){if("none"===Ur(t.element,n.styleSheets,"display"))return[0,0,0,0];var e=[0,0,0,0];return t.children.forEach(function(r){var i=r.getBoundingBox(n);e=[Math.min(e[0],i[0]),Math.min(e[1],i[1]),Math.max(e[0]+e[2],i[0]+i[2])-Math.min(e[0],i[0]),Math.max(e[1]+e[3],i[1]+i[3])-Math.min(e[1],i[1])]}),e}function L7(n,t){var e=parseFloat,r=e(n.getAttribute("x1"))||e(Ur(n,t.styleSheets,"x"))||e(Ur(n,t.styleSheets,"cx"))-e(Ur(n,t.styleSheets,"r"))||0,i=e(n.getAttribute("x2"))||r+e(Ur(n,t.styleSheets,"width"))||e(Ur(n,t.styleSheets,"cx"))+e(Ur(n,t.styleSheets,"r"))||0,o=e(n.getAttribute("y1"))||e(Ur(n,t.styleSheets,"y"))||e(Ur(n,t.styleSheets,"cy"))-e(Ur(n,t.styleSheets,"r"))||0,s=e(n.getAttribute("y2"))||o+e(Ur(n,t.styleSheets,"height"))||e(Ur(n,t.styleSheets,"cy"))+e(Ur(n,t.styleSheets,"r"))||0;return[Math.min(r,i),Math.min(o,s),Math.max(r,i)-Math.min(r,i),Math.max(o,s)-Math.min(o,s)]}function aw(n,t,e,r,i,o,s,a){void 0===a&&(a=!1);var l,u,f=t[0],h=t[1],v=t[2],m=t[3],x=i/v,p=o/m,P=n.getAttribute("preserveAspectRatio");if(P){var T=P.split(" ");"defer"===T[0]&&(T=T.slice(1)),l=T[0],u=T[1]||"meet"}else l="xMidYMid",u="meet";
vendor: 5,226 bytes, line 1
1if("none"!==l&&("meet"===u?x=p=Math.min(x,p):"slice"===u&&(x=p=Math.max(x,p))),a)return s.pdf.Matrix(x,0,0,p,0,0);var H=e-f*x,U=r-h*p;l.indexOf("xMid")>=0?H+=(i-v*x)/2:l.indexOf("xMax")>=0&&(H+=i-v*x),l.indexOf("YMid")>=0?U+=(o-m*p)/2:l.indexOf("YMax")>=0&&(U+=o-m*p);var ee=s.pdf.Matrix(1,0,0,1,H,U),ie=s.pdf.Matrix(x,0,0,p,0,0);return s.pdf.matrixMult(ie,ee)}function lw(n,t){if(!n||"none"===n)return t.pdf.unitMatrix;for(var e,r,i=/^[\s,]*matrix\(([^)]+)\)\s*/,o=/^[\s,]*translate\(([^)]+)\)\s*/,s=/^[\s,]*rotate\(([^)]+)\)\s*/,a=/^[\s,]*scale\(([^)]+)\)\s*/,l=/^[\s,]*skewX\(([^)]+)\)\s*/,u=/^[\s,]*skewY\(([^)]+)\)\s*/,f=t.pdf.unitMatrix;n.length>0&&n.length!==r;){r=n.length;var h=i.exec(n);if(h&&(e=g2(h[1]),f=t.pdf.matrixMult(t.pdf.Matrix(e[0],e[1],e[2],e[3],e[4],e[5]),f),n=n.substr(h[0].length)),h=s.exec(n)){e=g2(h[1]);var v=Math.PI*e[0]/180;if(f=t.pdf.matrixMult(t.pdf.Matrix(Math.cos(v),Math.sin(v),-Math.sin(v),Math.cos(v),0,0),f),e[1]||e[2]){var m=t.pdf.Matrix(1,0,0,1,e[1],e[2]),x=t.pdf.Matrix(1,0,0,1,-e[1],-e[2]);f=t.pdf.matrixMult(x,t.pdf.matrixMult(f,m))}n=n.substr(h[0].length)}(h=o.exec(n))&&(e=g2(h[1]),f=t.pdf.matrixMult(t.pdf.Matrix(1,0,0,1,e[0],e[1]||0),f),n=n.substr(h[0].length)),(h=a.exec(n))&&((e=g2(h[1]))[1]||(e[1]=e[0]),f=t.pdf.matrixMult(t.pdf.Matrix(e[0],0,0,e[1],0,0),f),n=n.substr(h[0].length)),(h=l.exec(n))&&(e=parseFloat(h[1]),e*=Math.PI/180,f=t.pdf.matrixMult(t.pdf.Matrix(1,0,Math.tan(e),1,0,0),f),n=n.substr(h[0].length)),(h=u.exec(n))&&(e=parseFloat(h[1]),e*=Math.PI/180,f=t.pdf.matrixMult(t.pdf.Matrix(1,Math.tan(e),0,1,0,0),f),n=n.substr(h[0].length))}return f}var SI=function(){function n(t,e){this.element=t,this.children=e,this.parent=null}return n.prototype.setParent=function(t){this.parent=t},n.prototype.getParent=function(){return this.parent},n.prototype.getBoundingBox=function(t){return"none"===Ur(this.element,t.styleSheets,"display")?[0,0,0,0]:this.getBoundingBoxCore(t)},n.prototype.computeNodeTransform=function(t){var e=this.computeNodeTransformCore(t),r=Ur(this.element,t.styleSheets,"transform");return r?t.pdf.matrixMult(e,lw(r,t)):e},n}(),P7=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.render=function(e){return Promise.resolve()},t.prototype.getBoundingBoxCore=function(e){return[]},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t}(SI),MX=function(n){function t(e,r,i){var o=n.call(this,r,i)||this;return o.pdfGradientType=e,o.contextColor=void 0,o}return Ga(t,n),t.prototype.apply=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a,l;return nl(this,function(u){return(r=this.element.getAttribute("id"))?(i=this.getStops(e.styleSheets),o=0,s=!1,i.forEach(function(f){var h=f.opacity;h&&1!==h&&(o+=h,s=!0)}),s&&(a=new g3({opacity:o/i.length})),l=new Wp(this.pdfGradientType,this.getCoordinates(),i,a),e.pdf.addShadingPattern(r,l),[2]):[2]})})},t.prototype.getStops=function(e){var r=this;if(this.stops)return this.stops;if(void 0===this.contextColor){this.contextColor=null;for(var i=this;i;){var o=Ur(i.element,e,"color");if(o){this.contextColor=d5(o,null);break}i=i.getParent()}}var s=[];return this.children.forEach(function(a){if("stop"===a.element.tagName.toLowerCase()){var l=Ur(a.element,e,"color"),u=d5(Ur(a.element,e,"stop-color")||"",l?d5(l,null):r.contextColor),f=parseFloat(Ur(a.element,e,"stop-opacity")||"1");s.push({offset:t.parseGradientOffset(a.element.getAttribute("offset")||"0"),color:[u.r,u.g,u.b],opacity:f})}}),this.stops=s},t.prototype.getBoundingBoxCore=function(e){return L7(this.element,e)},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.prototype.isVisible=function(e,r){return Zp(this,e,r)},t.parseGradientOffset=function(e){var r=parseFloat(e);return!isNaN(r)&&e.indexOf("%")>=0?r/100:r},t}(P7),DX=function(n){function t(e,r){return n.call(this,"axial",e,r)||this}return Ga(t,n),t.prototype.getCoordinates=function(){return[parseFloat(this.element.getAttribute("x1")||"0"),parseFloat(this.element.getAttribute("y1")||"0"),parseFloat(this.element.getAttribute("x2")||"1"),parseFloat(this.element.getAttribute("y2")||"0")]},t}(MX),kX=function(n){function t(e,r){return n.call(this,"radial",e,r)||this}return Ga(t,n),t.prototype.getCoordinates=function(){var e=this.element.getAttribute("cx"),r=this.element.getAttribute("cy"),i=this.element.getAttribute("fx"),o=this.element.getAttribute("fy");return[parseFloat(i||e||"0.5"),parseFloat(o||r||"0.5"),0,parseFloat(e||"0.5"),parseFloat(r||"0.5"),parseFloat(this.element.getAttribute("r")||"0.5")]},t}(MX),bMe=function(){function n(t,e){this.key=t,this.gradient=e}return n.prototype.getFillData=function(t,e){return tl(this,void 0,void 0,function(){var r,i,o;return nl(this,function(s){switch(s.label){case 0:return[4,e.refsHandler.getRendered(this.key,null,function(a){return a.apply(new Kp(e.pdf,{refsHandler:e.refsHandler,textMeasure:e.textMeasure,styleSheets:e.styleSheets,viewport:e.viewport,svg2pdfParameters:e.svg2pdfParameters}))})];case 1:return s.sent(),this.gradient.element.hasAttribute("gradientUnits")&&"objectboundingbox"!==this.gradient.element.getAttribute("gradientUnits").toLowerCase()?r=e.pdf.unitMatrix:(i=t.getBoundingBox(e),r=e.pdf.Matr
1ix(i[2],0,0,i[3],i[0],i[1])),o=lw(Ur(this.gradient.element,e.styleSheets,"gradientTransform","transform"),e),[2,{key:this.key,matrix:e.pdf.matrixMult(o,r)}]}})})},n}(),TX=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.apply=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a;return nl(this,function(l){switch(l.label){case 0:if(!(r=this.element.getAttribute("id")))return[2];i=this.getBoundingBox(e),o=new v3([i[0],i[1],i[0]+i[2],i[1]+i[3]],i[2],i[3]),e.pdf.beginTilingPattern(o),s=0,a=this.children,l.label=1;case 1:return s<a.length?[4,a[s].render(new Kp(e.pdf,{attributeState:e.attributeState,refsHandler:e.refsHandler,styleSheets:e.styleSheets,viewport:e.viewport,svg2pdfParameters:e.svg2pdfParameters}))]:[3,4];case 2:l.sent(),l.label=3;case 3:return s++,[3,1];case 4:return e.pdf.endTilingPattern(r,o),[2]}})})},t.prototype.getBoundingBoxCore=function(e){return L7(this.element,e)},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.prototype.isVisible=function(e,r){return Zp(this,e,r)},t}(P7),_Me=function(){function n(t,e){this.key=t,this.pattern=e}return n.prototype.getFillData=function(t,e){return tl(this,void 0,void 0,function(){var r,i,o,s,a,l,u,f,h,v,m,x;return nl(this,function(p){switch(p.label){case 0:return[4,e.refsHandler.getRendered(this.key,null,function(P){return P.apply(new Kp(e.pdf,{refsHandler:e.refsHandler,textMeasure:e.textMeasure,styleSheets:e.styleSheets,viewport:e.viewport,svg2pdfParameters:e.svg2pdfParameters}))})];case 1:return p.sent(),r={key:this.key,boundingBox:void 0,xStep:0,yStep:0,matrix:void 0},o=e.pdf.unitMatrix,this.pattern.element.hasAttribute("patternUnits")&&"objectboundingbox"!==this.pattern.element.getAttribute("patternUnits").toLowerCase()||(i=t.getBoundingBox(e),o=e.pdf.Matrix(1,0,0,1,i[0],i[1]),a=this.pattern.getBoundingBox(e),r.boundingBox=[l=a[0]*i[0]||0,u=a[1]*i[1]||0,l+(f=a[2]*i[2]||0),u+(h=a[3]*i[3]||0)],r.xStep=f,r.yStep=h),s=e.pdf.unitMatrix,this.pattern.element.hasAttribute("patternContentUnits")&&"objectboundingbox"===this.pattern.element.getAttribute("patternContentUnits").toLowerCase()&&(i||(i=t.getBoundingBox(e)),s=e.pdf.Matr
1ix(i[2],0,0,i[3],0,0),a=r.boundingBox||this.pattern.getBoundingBox(e),r.boundingBox=[l=a[0]/i[0]||0,u=a[1]/i[1]||0,l+(f=a[2]/i[2]||0),u+(h=a[3]/i[3]||0)],r.xStep=f,r.yStep=h),v=e.pdf.unitMatrix,(m=Ur(this.pattern.element,e.styleSheets,"patternTransform","transform"))&&(v=lw(m,e)),x=e.pdf.matrixMult(x=s,o),x=e.pdf.matrixMult(x,v),x=e.pdf.matrixMult(x,e.transform),r.matrix=x,[2,r]}})})},n}();function EI(n,t,e){var r=e||t.element,i=Ur(r,n.styleSheets,"color");if(i){var o=d5(i,n.attributeState.color);n.attributeState.color=o.ok?o:new fh("rgb(0,0,0)")}var s=Ur(r,n.styleSheets,"visibility");s&&(n.attributeState.visibility=s);var a=Ur(r,n.styleSheets,"fill");a&&(n.attributeState.fill=function xMe(n,t){var e=bI.exec(n);if(e){var r=e[1],i=t.refsHandler.get(r);return i&&(i instanceof DX||i instanceof kX)?function(s,a,l){var u=a.getStops(l.styleSheets);if(0===u.length)return null;if(1===u.length){var f=u[0].color,h=new fh;return h.ok=!0,h.r=f[0],h.g=f[1],h.b=f[2],h.a=u[0].opacity,new f1(h)}return new bMe(s,a)}(r,i,t):i&&i instanceof TX?new _Me(r,i):new f1(new fh("rgb(0, 0, 0)"))}var o=d5(n,t.attributeState.color);return o.ok?new f1(o):null}(a,n));var l=Ur(r,n.styleSheets,"fill-opacity");l&&(n.attributeState.fillOpacity=parseFloat(l));var u=Ur(r,n.styleSheets,"stroke-opacity");u&&(n.attributeState.strokeOpacity=parseFloat(u));var f=Ur(r,n.styleSheets,"opacity");f&&(n.attributeState.opacity=parseFloat(f));var h=Ur(r,n.styleSheets,"stroke-width");void 0!==h&&""!==h&&(n.attributeState.strokeWidth=Math.abs(parseFloat(h)));var v=Ur(r,n.styleSheets,"stroke");if(v)if("none"===v)n.attributeState.stroke=null;else{var m=d5(v,n.attributeState.color);m.ok&&(n.attributeState.stroke=new f1(m))}var x=Ur(r,n.styleSheets,"stroke-linecap");x&&(n.attributeState.strokeLinecap=x);var p=Ur(r,n.styleSheets,"stroke-linejoin");p&&(n.attributeState.strokeLinejoin=p);var P=Ur(r,n.styleSheets,"stroke-dasharray");if(P){var T=parseInt(Ur(r,n.styleSheets,"stroke-dashoffset")||"0");n.attributeState.strokeDasharray=g2(P),n.attributeState.strokeDashoffset=T}var H=Ur(r,n.styleSheets,"stroke-miterlimit");void 0!==H&&""!==H&&(n.attributeState.strokeMiterlimit=parseFloat(H));var U=r.getAttribute("xml:space");U&&(n.attributeState.xmlSpace=U);var ee=Ur(r,n.styleSheets,"font-weight");ee&&(n.attributeState.fontWeight=ee);var ie=Ur(r,n.styleSheets,"font-style");ie&&(n.attributeState.fontStyle=ie);var ze,qe,Et,Ne,je,we,me=Ur(r,n.styleSheets,"font-family");if(me){var ue=uMe().parse(me);n.attributeState.fontFamily=(qe=ue,Et=n,Ne=AX((ze=n.attributeState).fontStyle,ze.fontWeight),je=Et.pdf.getFontList(),we="",qe.some(function(Ke){var dt=je[Ke];return dt&&dt.indexOf(Ne)>=0?(we=Ke,!0):(Ke=Ke.toLowerCase(),!!C0.hasOwnProperty(Ke)&&(we=Ke,!0))})||(we="times"),we)}var Se=Ur(r,n.styleSheets,"font-size");if(Se){var Ue=n.pdf.getFontSize();n.attributeState.fontSize=w0(Se,Ue)}var it=Ur(r,n.styleSheets,"vertical-align")||Ur(r,n.styleSheets,"alignment-baseline");if(it){var ye=it.match(/(baseline|text-bottom|alphabetic|ideographic|middle|central|mathematical|text-top|bottom|center|top|hanging)/);ye&&(n.attributeState.alignmentBaseline=ye[0])}var xe=Ur(r,n.styleSheets,"text-anchor");xe&&(n.attributeState.textAnchor=xe)}function AI(n,t,e){var r=1,i=1;r*=n.attributeState.fillOpacity,r*=n.attributeState.opacity,n.attributeState.fill instanceof f1&&void 0!==n.attributeState.fill.color.a&&(r*=n.attributeState.fill.color.a),i*=n.attributeState.strokeOpacity,i*=n.attributeState.opacity,n.attributeState.stroke instanceof f1&&void 0!==n.attributeState.stroke.color.a&&(i*=n.attributeState.stroke.color.a);var o,s,a=r<1,l=i<1;if(_3(e,"use")?(a=!0,l=!0,r*=n.attributeState.fill?1:0,i*=n.attributeState.stroke?1:0):n.withinUse&&(n.attributeState.fill!==t.attributeState.fill?(a=!0,r*=n.attributeState.fill?1:0):a&&!n.attributeState.fill&&(r=0),n.attributeState.stroke!==t.attributeState.stroke?(l=!0,i*=n.attributeState.stroke?1:0):l&&!n.attributeState.stroke&&(i=0)),a||l){var u={};a&&(u.opacity=r),l&&(u["stroke-opacity"]=i),n.pdf.setGState(new g3(u))}if(n.attributeState.fill&&n.attributeState.fill!==t.attributeState.fill&&n.attributeState.fill instanceof f1&&n.attributeState.fill.color.ok&&!_3(e,"text")&&n.pdf.setFillColor(n.attributeState.fill.color.r,n.attributeState.fill.color.g,n.attributeState.fill.color.b),n.attributeState.strokeWidth!==t.attributeState.strokeWidth&&n.pdf.setLineWidth(n.attributeState.strokeWidth),n.attributeState.stroke!==t.attributeState.stroke&&n.attributeState.stroke instanceof f1&&n.pdf.setDrawColor(n.attributeState.stroke.color.r,n.attributeState.stroke.color.g,n.attributeState.stroke.color.b),n.attributeState.strokeLinecap!==t.attributeState.strokeLinecap&&n.pdf.setLineCap(n.attributeState.strokeLinecap),n.attributeState.strokeLinejoin!==t.attributeState.strokeLinejoin&&n.pdf.setLineJoin(n.attributeState.strokeLinejoin),n.attributeState.strokeDasharray===t.attributeState.strokeDasharray&&n.attributeState.strokeDashoffset===t.attributeState.strokeDashoffset||!n.attributeState.strokeDasharray||n.pdf.setLineDashPattern(n.attributeState.strokeDasharray,n.attributeState.strokeDashoffset),n.attributeState.strokeMiterlimit!==t.attributeState.strokeMiterlimit&&n.pdf.setLineMiterLimit(n.attributeState.strokeMiterlimit),n.attributeState.fontFamily!==t.attributeState.fontFamily&&
1(o=C0.hasOwnProperty(n.attributeState.fontFamily)?C0[n.attributeState.fontFamily]:n.attributeState.fontFamily),n.attributeState.fill&&n.attributeState.fill!==t.attributeState.fill&&n.attributeState.fill instanceof f1&&n.attributeState.fill.color.ok){var f=n.attributeState.fill.color;n.pdf.setTextColor(f.r,f.g,f.b)}n.attributeState.fontWeight===t.attributeState.fontWeight&&n.attributeState.fontStyle===t.attributeState.fontStyle||(s=AX(n.attributeState.fontStyle,n.attributeState.fontWeight)),void 0===o&&void 0===s||(void 0===o&&(o=C0.hasOwnProperty(n.attributeState.fontFamily)?C0[n.attributeState.fontFamily]:n.attributeState.fontFamily),n.pdf.setFont(o,s)),n.attributeState.fontSize!==t.attributeState.fontSize&&n.pdf.setFontSize(n.attributeState.fontSize*n.pdf.internal.scaleFactor)}function IX(n,t,e){var r=bI.exec(n);if(r)return e.refsHandler.get(r[1])||void 0}function OX(n,t,e){return tl(this,void 0,void 0,function(){var r,i;return nl(this,function(o){switch(o.label){case 0:return r=e.clone(),t.element.hasAttribute("clipPathUnits")&&"objectboundingbox"===t.element.getAttribute("clipPathUnits").toLowerCase()&&(i=n.getBoundingBox(e),r.transform=e.pdf.matrixMult(e.pdf.Matrix(i[2],0,0,i[3],i[0],i[1]),e.transform)),[4,t.apply(r)];case 1:return o.sent(),[2]}})})}var RX=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.render=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s;return nl(this,function(a){switch(a.label){case 0:return this.isVisible("hidden"!==e.attributeState.visibility,e)?((r=e.clone()).transform=r.pdf.matrixMult(this.computeNodeTransform(r),e.transform),EI(r,this),i=Ur(this.element,r.styleSheets,"clip-path"),(o=i&&"none"!==i)?(s=IX(i,0,r))?s.isVisible(!0,r)?(r.pdf.saveGraphicsState(),[4,OX(this,s,r)]):[3,2]:[3,4]:[3,5]):[2];case 1:return a.sent(),[3,3];case 2:return[2];case 3:return[3,5];case 4:o=!1,a.label=5;case 5:return r.withinClipPath||r.pdf.saveGraphicsState(),AI(r,e,this.element),[4,this.renderCore(r)];case 6:return a.sent(),r.withinClipPath||r.pdf.restoreGraphicsState(),o&&r.pdf.restoreGraphicsState(),[2]}})})},t}(SI),cw=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t}(RX),N7=function(n){function t(e,r,i){var o=n.call(this,r,i)||this;return o.cachedPath=null,o.hasMarkers=e,o}return Ga(t,n),t.prototype.renderCore=function(e){return tl(this,void 0,void 0,function(){var r;return nl(this,function(i){switch(i.label){case 0:return null===(r=this.getCachedPath(e))||0===r.segments.length?[2]:(e.withinClipPath?r.transform(e.transform):e.pdf.setCurrentTransformationMatrix(e.transform),r.draw(e),[4,this.fillOrStroke(e)]);case 1:return i.sent(),this.hasMarkers?[4,this.drawMarkers(e,r)]:[3,3];case 2:i.sent(),i.label=3;case 3:return[2]}})})},t.prototype.getCachedPath=function(e){return this.cachedPath||(this.cachedPath=this.getPath(e))},t.prototype.drawMarkers=function(e,r){return tl(this,void 0,void 0,function(){return nl(this,function(i){switch(i.label){case 0:return[4,this.getMarkers(r,e).draw(e.clone({transform:e.pdf.unitMatrix}))];case 1:return i.sent(),[2]}})})},t.prototype.fillOrStroke=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a;return nl(this,function(l){switch(l.label){case 0:return e.withinClipPath?[2]:(i=e.attributeState.stroke&&0!==e.attributeState.strokeWidth,(r=e.attributeState.fill)?[4,r.getFillData(this,e)]:[3,2]);case 1:return s=l.sent(),[3,3];case 2:s=void 0,l.label=3;case 3:return o=s,a="evenodd"===Ur(this.element,e.styleSheets,"fill-rule"),r&&i||e.withinUse?a?e.pdf.fillStrokeEvenOdd(o):e.pdf.fillStroke(o):r?a?e.pdf.fillEvenOdd(o):e.pdf.fill(o):i?e.pdf.stroke():e.pdf.discardPath(),[2]}})})},t.prototype.getBoundingBoxCore=function(e){var r=this.getCachedPath(e);if(!r)return[0,0,0,0];for(var i=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY,l=0,u=0,f=0;f<r.segments.length;f++){var h=r.segments[f];(h instanceof fu||h instanceof Xp||h instanceof dh)&&(l=h.x,u=h.y),h instanceof dh?(i=Math.min(i,l,h.x1,h.x2,h.x),s=Math.max(s,l,h.x1,h.x2,h.x),o=Math.min(o,u,h.y1,h.y2,h.y),a=Math.max(a,u,h.y1,h.y2,h.y)):(i=Math.min(i,l),s=Math.max(s,l),o=Math.min(o,u),a=Math.max(a,u))}return[i,o,s-i,a-o]},t.prototype.getMarkers=function(e,r){var i=Ur(this.element,r.styleSheets,"marker-start"),o=Ur(this.element,r.styleSheets,"marker-mid"),s=Ur(this.element,r.styleSheets,"marker-end"),a=new vMe;if(i||o||s){s&&(s=MI(s)),i&&(i=MI(i)),o&&(o=MI(o));for(var l=e.segments,u=[1,0],f=void 0,h=!1,v=[1,0],m=!1,x=function(P){var T=l[P],H=i&&(1===P||!(l[P]instanceof fu)&&l[P-1]instanceof fu);H&&l.forEach(function(Se,Ue){if(!m&&Se instanceof xI&&Ue>P){var it=l[Ue-1];m=(it instanceof fu||it instanceof Xp||it instanceof dh)&&it}});var U=s&&(P===l.length-1||!(l[P]instanceof fu)&&l[P+1]instanceof fu),ee=o&&P>0&&!(1===P&&l[P-1]instanceof fu),ie=l[P-1]||null;if(ie instanceof fu||ie instanceof Xp||ie instanceof dh)if(T instanceof dh)H&&a.addMarker(new Jp(i,[ie.x,ie.y],CX(m?[m.x,m.y]:[ie.x,ie.y],[T.x1,T.y1]))),U&&a.addMarker(new Jp(s,[T.x,T.y],CX([T.x2,T.y2],[T.x,T.y]))),ee&&(f=u5([ie.x,ie.y],[T.x1,T.y1]),f=ie instanceof fu?f:R7(sw(u,f)),a.addMarker(new Jp(o,[ie.x,ie.y],Math.atan2(f[1],f[0])))),u=u5([T.x2,T.y2],[T.x,T.y]);
1else if(T instanceof fu||T instanceof Xp){if(f=u5([ie.x,ie.y],[T.x,T.y]),H){var me=m?u5([m.x,m.y],[T.x,T.y]):f;a.addMarker(new Jp(i,[ie.x,ie.y],Math.atan2(me[1],me[0])))}U&&a.addMarker(new Jp(s,[T.x,T.y],Math.atan2(f[1],f[0]))),ee&&(me=T instanceof fu?u:ie instanceof fu?f:R7(sw(u,f)),a.addMarker(new Jp(o,[ie.x,ie.y],Math.atan2(me[1],me[0])))),u=f}else T instanceof xI&&(f=u5([ie.x,ie.y],[h.x,h.y]),ee&&(me=ie instanceof fu?f:R7(sw(u,f)),a.addMarker(new Jp(o,[ie.x,ie.y],Math.atan2(me[1],me[0])))),U&&(me=R7(sw(f,v)),a.addMarker(new Jp(s,[h.x,h.y],Math.atan2(me[1],me[0])))),u=f);else{h=T instanceof fu&&T;var ue=l[P+1];(ue instanceof fu||ue instanceof Xp||ue instanceof dh)&&(v=u5([h.x,h.y],[ue.x,ue.y]))}},p=0;p<l.length;p++)x(p)}return a},t}(cw);function MI(n){var t=bI.exec(n);return t&&t[1]||void 0}var wMe=function(n){function t(e,r){return n.call(this,!0,e,r)||this}return Ga(t,n),t.prototype.getPath=function(e){if(e.withinClipPath||null===e.attributeState.stroke)return null;var r=parseFloat(this.element.getAttribute("x1")||"0"),i=parseFloat(this.element.getAttribute("y1")||"0"),o=parseFloat(this.element.getAttribute("x2")||"0"),s=parseFloat(this.element.getAttribute("y2")||"0");return r||o||i||s?(new f5).moveTo(r,i).lineTo(o,s):null},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.prototype.isVisible=function(e,r){return x0(this,e,r)},t.prototype.fillOrStroke=function(e){return tl(this,void 0,void 0,function(){return nl(this,function(r){switch(r.label){case 0:return e.attributeState.fill=null,[4,n.prototype.fillOrStroke.call(this,e)];case 1:return r.sent(),[2]}})})},t}(N7),LX=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.apply=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a;return nl(this,function(l){switch(l.label){case 0:return this.isVisible("hidden"!==e.attributeState.visibility,e)?((r=e.clone()).transform=r.pdf.unitMatrix,EI(r,this),(i=Ur
vendor: 6,746 bytes, line 1
1(this.element,r.styleSheets,"clip-path"))&&"none"!==i&&(o=IX(i,0,r))?o.isVisible(!0,r)?[4,OX(this,o,r)]:[3,2]:[3,3]):[2];case 1:return l.sent(),[3,3];case 2:return[2];case 3:AI(r,e,this.element),s=0,a=this.children,l.label=4;case 4:return s<a.length?[4,a[s].render(r)]:[3,7];case 5:l.sent(),l.label=6;case 6:return s++,[3,4];case 7:return[2]}})})},t.prototype.getBoundingBoxCore=function(e){return CI(e,this)},t.prototype.isVisible=function(e,r){return Zp(this,e,r)},t.prototype.computeNodeTransformCore=function(e){var r=parseFloat(Ur(this.element,e.styleSheets,"x")||"0"),i=parseFloat(Ur(this.element,e.styleSheets,"y")||"0"),o=this.element.getAttribute("viewBox");if(o){var s=g2(o),a=parseFloat(Ur(this.element,e.styleSheets,"width")||Ur(this.element.ownerSVGElement,e.styleSheets,"width")||o[2]),l=parseFloat(Ur(this.element,e.styleSheets,"height")||Ur(this.element.ownerSVGElement,e.styleSheets,"height")||o[3]);return aw(this.element,s,r,i,a,l,e)}return e.pdf.Matrix(1,0,0,1,r,i)},t}(P7),uw=function(n,t){this.width=n,this.height=t},CMe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.renderCore=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a,l,u,f,h,v,m,x,p;return nl(this,function(P){switch(P.label){case 0:return r=parseFloat,(i=this.element.getAttribute("href")||this.element.getAttribute("xlink:href"))?(o=i.substring(1),s=e.refsHandler.get(o),a=_3(s.element,"symbol,svg")&&s.element.hasAttribute("viewBox"),l=r(Ur(this.element,e.styleSheets,"x")||"0"),u=r(Ur(this.element,e.styleSheets,"y")||"0"),f=void 0,h=void 0,a?(f=r(Ur(this.element,e.styleSheets,"width")||Ur(s.element,e.styleSheets,"width")||"0"),h=r(Ur(this.element,e.styleSheets,"height")||Ur(s.element,e.styleSheets,"height")||"0"),l+=r(Ur(s.element,e.styleSheets,"x")||"0"),u+=r(Ur(s.element,e.styleSheets,"y")||"0"),m=g2(s.element.getAttribute("viewBox")),v=aw(s.element,m,l,u,f,h,e)):v=e.pdf.Matrix(1,0,0,1,l,u),x=new Kp(e.pdf,{refsHandler:e.refsHandler,styleSheets:e.styleSheets,withinUse:!0,viewport:a?new uw(f,h):e.viewport,svg2pdfParameters:e.svg2pdfParameters}),[4,e.refsHandler.getRendered(o,p=e.attributeState.color,function(T){return t.renderReferencedNode(T,o,p,x)})]):[2];case 1:return P.sent(),e.pdf.saveGraphicsState(),e.pdf.setCurrentTransformationMatrix(e.transform),a&&"visible"!==Ur(s.element,e.styleSheets,"overflow")&&(e.pdf.rect(l,u,f,h),e.pdf.clip().discardPath()),e.pdf.doFormObject(e.refsHandler.generateKey(o,p),v),e.pdf.restoreGraphicsState(),[2]}})})},t.renderReferencedNode=function(e,r,i,o){return tl(this,void 0,void 0,function(){var s;return nl(this,function(a){switch(a.label){case 0:return s=[(s=e.getBoundingBox(o))[0]-.5*s[2],s[1]-.5*s[3],2*s[2],2*s[3]],o.attributeState.color=i,o.pdf.beginFormObject(s[0],s[1],s[2],s[3],o.pdf.unitMatrix),e instanceof LX?[4,e.apply(o)]:[3,2];case 1:return a.sent(),[3,4];case 2:return[4,e.render(o)];case 3:a.sent(),a.label=4;case 4:return o.pdf.endFormObject(o.refsHandler.generateKey(r,i)),[2]}})})},t.prototype.getBoundingBoxCore=function(e){return L7(this.element,e)},t.prototype.isVisible=function(e,r){return x0(this,e,r)},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t}(cw),SMe=function(n){function t(e,r){return n.call(this,!1,e,r)||this}return Ga(t,n),t.prototype.getPath=function(e){var r=parseFloat(Ur(this.element,e.styleSheets,"width")||"0"),i=parseFloat(Ur(this.element,e.styleSheets,"height")||"0");if(!isFinite(r)||r<=0||!isFinite(i)||i<=0)return null;var o=Ur(this.element,e.styleSheets,"rx"),s=Ur(this.element,e.styleSheets,"ry"),a=Math.min(parseFloat(o||s||"0"),.5*r),l=Math.min(parseFloat(s||o||"0"),.5*i),u=parseFloat(Ur(this.element,e.styleSheets,"x")||"0"),f=parseFloat(Ur(this.element,e.styleSheets,"y")||"0"),h=4/3*(Math.SQRT2-1);return 0===a&&0===l?(new f5).moveTo(u,f).lineTo(u+r,f).lineTo(u+r,f+i).lineTo(u,f+i).close():(new f5).moveTo(u+=a,f).lineTo(u+=r-2*a,f).curveTo(u+a*h,f,u+a,f+(l-l*h),u+=a,f+=l).lineTo(u,f+=i-2*l).curveTo(u,f+l*h,u-a*h,f+l,u-=a,f+=l).lineTo(u+=2*a-r,f).curveTo(u-a*h,f,u-a,f-l*h,u-=a,f-=l).lineTo(u,f+=2*l-i).curveTo(u,f-l*h,u+a*h,f-l,u+=a,f-=l).close()},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.prototype.isVisible=function(e,r){return x0(this,e,r)},t}(N7),PX=function(n){function t(e,r){return n.call(this,!1,e,r)||this}return Ga(t,n),t.prototype.getPath=function(e){var r=this.getRx(e),i=this.getRy(e);if(!isFinite(r)||i<=0||!isFinite(i)||i<=0)return null;var o=parseFloat(Ur(this.element,e.styleSheets,"cx")||"0"),s=parseFloat(Ur(this.element,e.styleSheets,"cy")||"0"),a=4/3*(Math.SQRT2-1)*r,l=4/3*(Math.SQRT2-1)*i;return(new f5).moveTo(o+r,s).curveTo(o+r,s-l,o+a,s-i,o,s-i).curveTo(o-a,s-i,o-r,s-l,o-r,s).curveTo(o-r,s+l,o-a,s+i,o,s+i).curveTo(o+a,s+i,o+r,s+l,o+r,s)},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.prototype.isVisible=function(e,r){return x0(this,e,r)},t}(N7),EMe=function(n){function t(e,r){return n.call(this,e,r)||this}return Ga(t,n),t.prototype.getRx=function(e){return parseFloat(Ur(this.element,e.styleSheets,"rx")||"0")},t.prototype.getRy=function(e){return parseFloat(Ur(this.element,e.styleSheets,"ry")||"0")},t}(PX);function NX(n){var t="invisible";return n.fill&&n.stroke?t="fillThenStroke":n.fill?t="fill":n.stroke&&(t="stroke"),t}function FX(n){return n.replace(/[\n\r]/g,"")}function zX(n){return n.replace(/[\t]/g," ")}function BX(n){return n.replace(/ +/g," ")}function VX(n,t,e){switch(Ur(n,e.styleSheets,"text-transform")){case"uppercase":return t.toUpperCase();case"lowercase":return t.toLowerCase();default:return t}}var DI=function(){function n(t,e,r,i){this.textNode=t,this.texts=[],this.textNodes=[],this.contexts=[],this.textAnchor=e,this.originX=r,this.originY=i,this.textMeasures=[]}return n.prototype.setX=function(t){this.originX=t},n.prototype.setY=function(t){this.originY=t},n.prototype.add=function(t,e,r){this.texts.push(e),this.textNodes.push(t),this.contexts.push(r)},n.prototype.rightTrimText=function(){for(var t=this.texts.length-1;t>=0;t--)if("default"===this.contexts[t].attributeState.xmlSpace&&(this.texts[t]=this.texts[t].replace(/\s+$/,"")),this.texts[t].match(/[^\s]/))return!1;return!0},n.prototype.measureText=function(t){for(var e=0;e<this.texts.length;e++)this.textMeasures.push({width:t.textMeasure.measureTextWidth(this.texts[e],this.contexts[e].attributeState),length:this.texts[e].length})},n.prototype.put=function(t,e){var r,i,o,s,a=[],l=[],u=[],f=this.originX,h=this.originY,v=f,m=f;for(r=0;r<this.textNodes.length;r++){i=this.textNodes[r],o=this.contexts[r],s=this.textMeasures[r]||{width:t.textMeasure.measureTextWidth(this.texts[r],this.contexts[r].attributeState),length:this.texts[r].length};var x=f,p=h;
1if("#text"!==i.nodeName&&!a.includes(i)){a.push(i);var P=i.getAttribute("dx");null!==P&&(x+=w0(P,o.attributeState.fontSize));var T=i.getAttribute("dy");null!==T&&(p+=w0(T,o.attributeState.fontSize))}l[r]=x,u[r]=p,f=x+s.width+s.length*e,h=p,v=Math.min(v,x),m=Math.max(m,f)}var H=0;switch(this.textAnchor){case"start":H=0;break;case"middle":H=(m-v)/2;break;case"end":H=m-v}for(r=0;r<this.textNodes.length;r++)if(o=this.contexts[r],"#text"===(i=this.textNodes[r]).nodeName||"hidden"!==o.attributeState.visibility){t.pdf.saveGraphicsState(),AI(o,t,i);var U=o.attributeState.alignmentBaseline,ee=NX(o.attributeState);t.pdf.text(this.texts[r],l[r]-H,u[r],{baseline:EX(U),angle:t.transform,renderingMode:"fill"===ee?void 0:ee,charSpace:0===e?void 0:e}),t.pdf.restoreGraphicsState()}return[f,h]},n}(),AMe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.processTSpans=function(e,r,i,o,s,a){for(var l=i.pdf.getFontSize(),u=i.attributeState.xmlSpace,f=!0,h=!1,v=0;v<r.childNodes.length;v++){var m=r.childNodes[v];if(m.textContent){var x=m.textContent;if("#text"===m.nodeName){var p=FX(x);p=zX(p),"default"===u&&(p=BX(p),f&&p.match(/^\s/)&&(h=!0),p.match(/[^\s]/)&&(f=!1),a.prevText.match(/\s$/)&&(p=p.replace(/^\s+/,"")));var P=VX(r,p,i);s.add(r,P,i),a.prevText=x,a.prevContext=i}else if(!_3(m,"title")&&_3(m,"tspan")){var T=m,H=T.getAttribute("x");if(null!==H){var U=w0(H,l);s=new DI(this,Ur(T,i.styleSheets,"text-anchor")||i.attributeState.textAnchor,U,0),o.push({type:"y",chunk:s})}var ee=T.getAttribute("y");if(null!==ee){var ie=w0(ee,l);s=new DI(this,Ur(T,i.styleSheets,"text-anchor")||i.attributeState.textAnchor,0,ie),o.push({type:"x",chunk:s})}var me=i.clone();EI(me,e,T),this.processTSpans(e,T,me,o,s,a)}}}return h},t.prototype.renderCore=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a,l,u,f,h,v,m,p,P,T,H,U,ee,ie,me,ue,Se,Ue;return nl(this,function(it){if(e.pdf.saveGraphicsState(),r=0,i=0,o=1,s=e.pdf.getFontSize(),a=w0(this.element.getAttribute("x"),s),l=w0(this.element.getAttribute("y"),s),u=w0(this.element.getAttribute("dx"),s),f=w0(this.element.getAttribute("dy"),s),h=parseFloat(this.element.getAttribute("textLength")||"0"),v=e.attributeState.visibility,0===this.element.childElementCount)xe=e.attributeState,ye=zX(ye=FX(ye=m=this.element.textContent||"")),"default"===xe.xmlSpace&&(ye=BX(ye=ye.trim())),p=VX(this.element,ye,e),r=e.textMeasure.getTextOffset(p,e.attributeState),h>0&&(P=e.textMeasure.measureTextWidth(p,e.attributeState),"default"===e.attributeState.xmlSpace&&m.match(/^\s/)&&(o=0),i=(h-P)/(p.length-o)||0),"visible"===v&&(T=e.attributeState.alignmentBaseline,H=NX(e.attributeState),e.pdf.text(p,a+u-r,l+f,{baseline:EX(T),angle:e.transform,renderingMode:"fill"===H?void 0:H,charSpace:0===i?void 0:i}));else{for(U=[],ee=new DI(this,e.attributeState.textAnchor,a+u,l+f),U.push({type:"",chunk:ee}),ie=this.processTSpans(this,this.element,e,U,ee,{prevText:" ",prevContext:e}),o=ie?0:1,me=!0,ue=U.length-1;ue>=0;ue--)me&&(me=U[ue].chunk.rightTrimText());h>
10&&(Se=0,Ue=0,U.forEach(function(ye){var xe=ye.chunk;xe.measureText(e),xe.textMeasures.forEach(function(ze){Se+=ze.width,Ue+=ze.length})}),i=(h-Se)/(Ue-o)),U.reduce(function(ye,xe){var ze=xe.type,qe=xe.chunk;return"x"===ze?qe.setX(ye[0]):"y"===ze&&qe.setY(ye[1]),qe.put(e,i)},[0,0])}var ye,xe;return e.pdf.restoreGraphicsState(),[2]})})},t.prototype.isVisible=function(e,r){return Zp(this,e,r)},t.prototype.getBoundingBoxCore=function(e){return L7(this.element,e)},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t}(cw),MMe=function(n){function t(e,r){return n.call(this,!0,e,r)||this}return Ga(t,n),t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.prototype.isVisible=function(e,r){return x0(this,e,r)},t.prototype.getPath=function(e){var r,i,o=new(dMe())(Ur(this.element,e.styleSheets,"d")||"").unshort().unarc().abs(),s=new f5;return o.iterate(function(a){switch(a[0]){case"M":s.moveTo(a[1],a[2]);break;case"L":s.lineTo(a[1],a[2]);break;case"H":s.lineTo(a[1],i);break;case"V":s.lineTo(r,a[1]);break;case"C":s.curveTo(a[1],a[2],a[3],a[4],a[5],a[6]);break;case"Q":var l=SX([r,i],[a[1],a[2]]),u=SX([a[3],a[4]],[a[1],a[2]]);s.curveTo(l[0],l[1],u[0],u[1],a[3],a[4]);break;case"Z":s.close()}switch(a[0]){case"M":case"L":r=a[1],i=a[2];break;case"H":r=a[1];break;case"V":i=a[1];break;case"C":r=a[5],i=a[6];break;case"Q":r=a[3],i=a[4]}}),s},t}(N7),DMe=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*\s*)$/i,kMe=function(n){function t(e,r){var i=n.call(this,e,r)||this;return i.imageLoadingPromise=null,i.imageUrl=i.element.getAttribute("xlink:href")||i.element.getAttribute("href"),i.imageUrl&&(i.imageLoadingPromise=t.fetchImageData(i.imageUrl)),i}return Ga(t,n),t.prototype.renderCore=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a,l,u,f,h,v,m,x;return nl(this,function(p){switch(p.label){case 0:return this.imageLoadingPromise?(e.pdf.setCurrentTransformationMatrix(e.transform),r=parseFloat(Ur(this.element,e.styleSheets,"width")||"0"),i=parseFloat(Ur(this.element,e.styleSheets,"height")||"0"),o=parseFloat(Ur(this.element,e.styleSheets,"x")||"0"),s=parseFloat(Ur(this.element,e.styleSheets,"y")||"0"),!isFinite(r)||r<=0||!isFinite(i)||i<=0?[2]:[4,this.imageLoadingPromise]):[2];case 1:return a=p.sent(),l=a.data,0!==(u=a.format).indexOf("svg")?[3,3]:(f=new DOMParser,h=f.parseFromString(l,"image/svg+xml").firstElementChild,(!(v=this.element.getAttribute("preserveAspectRatio"))||v.indexOf("defer")<0||!h.getAttribute("preserveAspectRatio"))&&h.setAttribute("preserveAspectRatio",v||""),h.setAttribute("x",String(o)),h.setAttribute("y",String(s)),h.setAttribute("width",String(r)),h.setAttribute("height",String(i)),[4,kI(h,m={}).render(new Kp(e.pdf,{refsHandler:new wX(m),styleSheets:e.styleSheets,viewport:new uw(r,i),svg2pdfParameters:e.svg2pdfParameters}))]);case 2:return p.sent(),[2];case 3:x="data:image/"+u+";base64,"+btoa(l);try{e.pdf.addImage(x,"",o,s,r,i)}catch(P){"object"==typeof console&&console.warn&&console.warn("Could not load image "+this.imageUrl+".\n"+P)}p.label=4;case 4:return[2]}})})},t.prototype.getBoundingBoxCore=function(e){return L7(this.element,e)},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.prototype.isVisible=function(e,r){return x0(this,e,r)},t.fetchImageData=function(e){return tl(this,void 0,void 0,function(){var r,i,o,a;return nl(this,function(l){switch(l.label){case 0:if(!(o=e.match(DMe)))return[3,1];if("image"!==(a=o[2].split("/"))[0])throw new Error("Unsupported image URL: "+e);return i=a[1],r=o[5],r="base64"===o[4]?atob(r):decodeURIComponent(r),[3,3];case 1:return[4,t.fetchImage(e)];case 2:r=l.sent(),i=e.substring(e.lastIndexOf(".")+1),l.label=3;case 3:return[2,{data:r,format:i}]}})})},t.fetchImage=function(e){return new Promise(function(r,i){var o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="arraybuffer",o.onload=function(){if(200!==o.status)throw new Error("Error "+o.status+": Failed to load image '"+e+"'");for(var s=new Uint8Array(o.response),a="",l=0;l<s.length;l++)a+=String.fromCharCode(s[l]);r(a)},o.onerror=i,o.onabort=i,o.send(null)})},t.getMimeType=function(e){switch(e=e.toLowerCase()){case"jpg":case"jpeg":return"image/jpeg";default:return"image/"+e}},t}(cw),HX=function(n){function t(e,r,i){var o=n.call(this,!0,r,i)||this;return o.closed=e,o}return Ga(t,n),t.prototype.getPath=function(e){if(!this.element.hasAttribute("points")||""===this.element.getAttribute("points"))return null;var r=t.parsePointsString(this.element.getAttribute("points")),i=new f5;if(r.length<1)return i;i.moveTo(r[0][0],r[0][1]);for(var o=1;o<r.length;o++)i.lineTo(r[o][0],r[o][1]);return this.closed&&i.close(),i},t.prototype.isVisible=function(e,r){return x0(this,e,r)},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.parsePointsString=function(e){for(var r=g2(e),i=[],o=0;o<r.length-1;o+=2)i.push([r[o],r[o+1]]);return i},t}(N7),TMe=function(n){function t(e,r){return n.call(this,!0,e,r)||this}return Ga(t,n),t}(HX),IMe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.render=function(e){return Promise.resolve()},t.prototype.getBoundingBoxCore=function(e){return[0,0,0,0]},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t.prototype.isVisible=function(e,r){return x0(this,e,r)},t}(SI),OMe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.apply=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a;return nl(this,function(l){switch(l.label){case 0:r=this.computeNodeTransform(e),i=this.getBoundingBox(e),e.pdf.beginFormObject(i[0],i[1],i[2],i[3],r),function(u){var f=u.attributeState,h=u.pdf,v=1,m=1;v*=f.fillOpacity,v*=f.opacity,f.fill instanceof f1&&void 0!==f.fill.color.a&&(v*=f.fill.color.a),m*=f.strokeOpacity,m*=f.opacity,f.stroke instanceof f1&&void 0!==f.stroke.color.a&&(m*=f.stroke.color.a);var x,p={};if(p.opacity=v,p["stroke-opacity"]=m,h.setGState(new g3(p)),f.fill&&f.fill instanceof f1&&f.fill.color.ok?h.setFillColor(f.fill.color.r,f.fill.color.g,f.fill.color.b):h.setFillColor(0,0,0),h.setLineWidth(f.strokeWidth),f.stroke instanceof f1?h.setDrawColor(f.stroke.color.r,f.stroke.color.g,f.stroke.color.b):h.setDrawColor(0,0,0),h.setLineCap(f.strokeLinecap),h.setLineJoin(f.strokeLinejoin),f.strokeDasharray?h.setLineDashPattern(f.strokeDasharray,f.strokeDashoffset):h.setLineDashPattern([],0),h.setLineMiterLimit(f.strokeMiterlimit),x=C0.hasOwnProperty(f.fontFamily)?C0[f.fontFamily]:f.fontFamily,f.fill&&f.fill instanceof f1&&f.fill.color.ok){var P=f.fill.color;h.setTextColor(P.r,P.g,P.b)}else h.setTextColor(0,0,0);var T="";"bold"===f.fontWeight&&(T="bold"),"italic"===f.fontStyle&&(T+="italic"),""===T&&(T="normal"),void 0!==x||void 0!==T?(void 0===x&&(x=C0.hasOwnProperty(f.fontFamily)?C0[f.fontFamily]:f.fontFamily),h.setFont(x,T)):h.setFont("helvetica",T),h.setFontSize(f.fontSize*h.internal.scaleFactor)}(o=new Kp(e.pdf,{refsHandler:e.refsHandler,styleSheets:e.styleSheets,viewport:e.viewport,svg2pdfParameters:e.svg2pdfParameters})),s=0,a=this.children,l.label=1;case 1:return s<a.length?[4,a[s].render(o)]:[3,4];case 2:l.sent(),l.label=3;case 3:return s++,[3,1];case 4:return e.pdf.endFormObject(this.element.getAttribute("id")),[2]}})})},t.prototype.getBoundingBoxCore=function(e){var r,i=this.element.getAttribute("viewBox");return i&&(r=g2(i)),[r&&r[0]||0,r&&r[1]||0,r&&r[2]||parseFloat(this.element.getAttribute("markerWidth")||"3"),r&&r[3]||parseFloat(this.element.getAttribute("markerHeight")||"3")]},t.prototype.computeNodeTransformCore=function(e){var r,i=parseFloat(this.element.getAttribute("refX")||"0"),o=parseFloat(this.element.getAttribute("refY")||"0"),s=this.element.getAttribute("viewBox");if(s){var a=g2(s);r=aw(this.element,a,0,0,parseFloat(this.element.getAttribute("markerWidth")||"3"),parseFloat(this.element.getAttribute("markerHeight")||"3"),e,!0),r=e.pdf.matrixMult(e.pdf.Matr
vendor: 5,620 bytes, line 1
1ix(1,0,0,1,-i,-o),r)}else r=e.pdf.Matrix(1,0,0,1,-i,-o);return r},t.prototype.isVisible=function(e,r){return Zp(this,e,r)},t}(P7),RMe=function(n){function t(e,r){return n.call(this,e,r)||this}return Ga(t,n),t.prototype.getR=function(e){var r;return null!==(r=this.r)&&void 0!==r?r:this.r=parseFloat(Ur(this.element,e.styleSheets,"r")||"0")},t.prototype.getRx=function(e){return this.getR(e)},t.prototype.getRy=function(e){return this.getR(e)},t}(PX),LMe=function(n){function t(e,r){return n.call(this,!1,e,r)||this}return Ga(t,n),t}(HX),jX=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.renderCore=function(e){return tl(this,void 0,void 0,function(){var r,i;return nl(this,function(o){switch(o.label){case 0:r=0,i=this.children,o.label=1;case 1:return r<i.length?[4,i[r].render(e)]:[3,4];case 2:o.sent(),o.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},t.prototype.getBoundingBoxCore=function(e){return CI(e,this)},t}(RX),PMe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.isVisible=function(e,r){return Zp(this,e,r)},t.prototype.render=function(e){return tl(this,void 0,void 0,function(){var r,i,o,s,a;return nl(this,function(l){switch(l.label){case 0:return this.isVisible("hidden"!==e.attributeState.visibility,e)?(r=this.getX(e),i=this.getY(e),o=this.getWidth(e),s=this.getHeight(e),e.pdf.saveGraphicsState(),a=e.transform,this.element.hasAttribute("transform")&&(a=e.pdf.matrixMult(lw(this.element.getAttribute("transform"),e),a)),e.pdf.setCurrentTransformationMatrix(a),e.withinUse||"visible"===Ur(this.element,e.styleSheets,"overflow")||e.pdf.rect(r,i,o,s).clip().discardPath(),[4,n.prototype.render.call(this,e.clone({transform:e.pdf.unitMatrix,viewport:e.withinUse?e.viewport:new uw(o,s)}))]):[2];case 1:return l.sent(),e.pdf.restoreGraphicsState(),[2]}})})},t.prototype.computeNodeTransform=function(e){return this.computeNodeTransformCore(e)},t.prototype.computeNodeTransformCore=function(e){if(e.withinUse)return e.pdf.unitMatrix;var r,i=this.getX(e),o=this.getY(e),s=this.getViewBox();if(s){var a=this.getWidth(e),l=this.getHeight(e);r=aw(this.element,s,i,o,a,l,e)}else r=e.pdf.Matrix(1,0,0,1,i,o);return r},t.prototype.getWidth=function(e){if(void 0!==this.width)return this.width;var r,i,o=e.svg2pdfParameters;if(this.isOutermostSvg(e))if(null!=o.width)r=o.width;else if(i=Ur(this.element,e.styleSheets,"width"))r=parseFloat(i);else{var s=this.getViewBox();if(s&&(null!=o.height||Ur(this.element,e.styleSheets,"height"))){var a=s[2]/s[3];r=this.getHeight(e)*a}else r=Math.min(300,e.viewport.width,2*e.viewport.height)}else r=(i=Ur(this.element,e.styleSheets,"width"))?parseFloat(i):e.viewport.width;return this.width=r},t.prototype.getHeight=function(e){if(void 0!==this.height)return this.height;var r,i,o=e.svg2pdfParameters;if(this.isOutermostSvg(e))if(null!=o.height)r=o.height;else if(i=Ur(this.element,e.styleSheets,"height"))r=parseFloat(i);else{var s=this.getViewBox();if(s){var a=s[2]/s[3];r=this.getWidth(e)/a}else r=Math.min(150,e.viewport.width/2,e.viewport.height)}else r=(i=Ur(this.element,e.styleSheets,"height"))?parseFloat(i):e.viewport.height;return this.height=r},t.prototype.getX=function(e){if(void 0!==this.x)return this.x;if(this.isOutermostSvg(e))return this.x=0;var r=Ur(this.element,e.styleSheets,"x");return this.x=r?parseFloat(r):0},t.prototype.getY=function(e){if(void 0!==this.y)return this.y;if(this.isOutermostSvg(e))return this.y=0;var r=Ur(this.element,e.styleSheets,"y");return this.y=r?parseFloat(r):0},t.prototype.getViewBox=function(){if(void 0!==this.viewBox)return this.viewBox;var e=this.element.getAttribute("viewBox");return this.viewBox=e?g2(e):void 0},t.prototype.isOutermostSvg=function(e){return e.svg2pdfParameters.element===this.element},t}(jX),NMe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.isVisible=function(e,r){return Zp(this,e,r)},t.prototype.computeNodeTransformCore=function(e){return e.pdf.unitMatrix},t}(jX),FMe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return Ga(t,n),t.prototype.apply=function(e){return tl(this,void 0,void 0,function(){var r,i,o;return nl(this,function(s){switch(s.label){case 0:if(!this.isVisible(!0,e))return[2];r=e.pdf.matrixMult(this.computeNodeTransform(e),e.transform),e.pdf.setCurrentTransformationMatrix(r),i=0,o=this.children,s.label=1;case 1:return i<o.length?[4,o[i].render(new Kp(e.pdf,{refsHandler:e.refsHandler,styleSheets:e.styleSheets,viewport:e.viewport,withinClipPath:!0,svg2pdfParameters:e.svg2pdfParameters}))]:[3,4];case 2:s.sent(),s.label=3;case 3:return i++,[3,1];case 4:return e.pdf.clip().discardPath(),e.pdf.setCurrentTransformationMatrix(r.inversed()),[2]}})})},t.prototype.getBoundingBoxCore=function(e){return CI(e,this)},t.prototype.isVisible=function(e,r){return Zp(this,e,r)},t}(P7);function kI(n,t){var e,r=[];switch(function(o,s){for(var a=[],l=0;l<o.childNodes.length;l++){var u=o.childNodes[l];"#"!==u.nodeName.charAt(0)&&a.push(u)}for(l=0;l<a.length;l++)s(0,a[l])}(n,function(o,s){return r.push(kI(s,t))}),n.tagName.toLowerCase()){case"a":case"g":e=new NMe(n,r);break;case"circle":e=new RMe(n,r);break;case"clippath":e=new FMe(n,r);break;case"ellipse":e=new EMe(n,r);break;case"lineargradient":e=new DX(n,r);break;case"image":e=new kMe(n,r);break;case"line":e=new wMe(n,r);break;case"marker":e=new OMe(n,r);break;case"path":e=new MMe(n,r);break;case"pattern":e=new TX(n,r);break;case"polygon":e=new TMe(n,r);break;case"polyline":e=new LMe(n,r);break;case"radialgradient":e=new kX(n,r);break;
1case"rect":e=new SMe(n,r);break;case"svg":e=new PMe(n,r);break;case"symbol":e=new LX(n,r);break;case"text":e=new AMe(n,r);break;case"use":e=new CMe(n,r);break;default:e=new IMe(n,r)}if(null!=t&&e.element.hasAttribute("id")){var i=_X()(e.element.id,{isIdentifier:!0});t[i]=t[i]||e}return e.children.forEach(function(o){return o.setParent(e)}),e}var zMe=function(){function n(t,e){this.rootSvg=t,this.loadExternalSheets=e,this.styleSheets=[]}return n.prototype.load=function(){return tl(this,void 0,void 0,function(){var t;return nl(this,function(e){switch(e.label){case 0:return[4,this.collectStyleSheetTexts()];case 1:return t=e.sent(),this.parseCssSheets(t),[2]}})})},n.prototype.collectStyleSheetTexts=function(){return tl(this,void 0,void 0,function(){var t,e,r,i,o;return nl(this,function(s){switch(s.label){case 0:if(t=[],this.loadExternalSheets&&this.rootSvg.ownerDocument)for(i=0;i<this.rootSvg.ownerDocument.childNodes.length;i++)"xml-stylesheet"===(e=this.rootSvg.ownerDocument.childNodes[i]).nodeName&&"string"==typeof e.data&&t.push(n.loadSheet(e.data.match(/href=["'].*?["']/)[0].split("=")[1].slice(1,-1)));for(r=this.rootSvg.querySelectorAll("style,link"),i=0;i<r.length;i++)_3(o=r[i],"style")?t.push(o.textContent):this.loadExternalSheets&&_3(o,"link")&&"stylesheet"===o.getAttribute("rel")&&o.hasAttribute("href")&&t.push(n.loadSheet(o.getAttribute("href")));return[4,Promise.all(t)];case 1:return[2,s.sent().filter(function(a){return null!==a})]}})})},n.prototype.parseCssSheets=function(t){for(var e=document.implementation.createHTMLDocument(""),r=0,i=t;r<i.length;r++){var o=i[r],s=e.createElement("style");s.textContent=o,e.body.appendChild(s);var a=s.sheet;if(a instanceof CSSStyleSheet){for(var l=a.cssRules.length-1;l>=0;l--){var u=a.cssRules[l];if(u instanceof CSSStyleRule){var f=u;if(f.selectorText.indexOf(",")>=0){a.deleteRule(l);for(var h=f.cssText.substring(f.selectorText.length),v=n.splitSelectorAtCommas(f.selectorText),m=0;m<v.length;m++)a.insertRule(v[m]+h,l+m)}}else a.deleteRule(l)}this.styleSheets.push(a)}}},n.splitSelectorAtCommas=function(t){for(var e,r=/,|["']/g,i=/[^\\]["]/g,o=/[^\\][']/g,s=[],a="initial",l=-1,u=i,f=0;f<t.length;)switch(a){case"initial":r.lastIndex=f,(e=r.exec(t))?(","===e[0]?(s.push(t.substring(l+1,r.lastIndex-1).trim()),l=r.lastIndex-1):(a="withinQuotes",u='"'===e[0]?i:o),f=r.lastIndex):(s.push(t.substring(l+1).trim()),f=t.length);break;case"withinQuotes":u.lastIndex=f,(e=u.exec(t))&&(f=u.lastIndex,a="initial")}return s},n.loadSheet=function(t){return new Promise(function(e,r){var i=new XMLHttpRequest;i.open("GET",t,!0),i.responseType="text",i.onload=function(){200!==i.status&&r(new Error("Error "+i.status+": Failed to load '"+t+"'")),e(i.responseText)},i.onerror=r,i.onabort=r,i.send(null)}).catch(function(){return null})},n.prototype.getPropertyValue=function(t,e){for(var r=[],i=0,o=this.styleSheets;i<o.length;i++)for(var s=o[i],a=0;a<s.cssRules.length;a++){var l=s.cssRules[a];l.style.getPropertyValue(e)&&t.matches(l.selectorText)&&r.push(l)}if(0!==r.length)return r.reduce(function(u,f){return v=f,1===((m=(h=u).style.getPropertyPriority(e))!==v.style.getPropertyPriority(e)?"important"===m?1:-1:function(n,t){var e,r,i;if("string"==typeof n){if(-1!==n.indexOf(","))throw"Invalid CSS selector";e=vI(n).specificityArray}else{if(!Array.isArray(n))throw"Invalid CSS selector or specificity array";if(4!==n.filter(function(o){return"number"==typeof o}).length)throw"Invalid specificity array";e=n}if("string"==typeof t){if(-1!==t.indexOf(","))throw"Invalid CSS selector";r=vI(t).specificityArray}else{if(!Array.isArray(t))throw"Invalid CSS selector or specificity array";if(4!==t.filter(function(o){return"number"==typeof o}).length)throw"Invalid specificity array";r=t}for(i=0;i<4;i+=1){if(e[i]<r[i])return-1;if(e[i]>r[i])return 1}return 0}(h.selectorText,v.selectorText))?u:f;var h,v,m}).style.getPropertyValue(e)||void 0},n}();bo.API.svg=function(n,t){return void 0===t&&(t={}),function BMe(n,t,e){var r,i,o;return void 0===e&&(e={}),tl(this,void 0,void 0,function(){var s,a,l,u,f,h,v,m,x,p;return nl(this,function(P){switch(P.label){case 0:return s=null!==(r=e.x)&&void 0!==r?r:0,a=null!==(i=e.y)&&void 0!==i?i:0,l=null!==(o=e.loadExternalStyleSheets)&&void 0!==o&&o,f=new wX(u={}),[4,(h=new zMe(n,l)).load()];case 1:return P.sent(),v=new uw(t.internal.pageSize.getWidth(),t.internal.pageSize.getHeight()),m=yI(yI({},e),{element:n}),x=new Kp(t,{refsHandler:f,styleSheets:h,viewport:v,svg2pdfParameters:m}),t.advancedAPI(),t.saveGraphicsState(),t.setCurrentTransformationMatrix(t.Matrix(1,0,0,1,s,a)),t.setLineWidth(x.attributeState.strokeWidth),t.setFillColor((p=x.attributeState.fill.color).r,p.g,p.b),t.setFont(x.attributeState.fontFamily),t.setFontSize(x.attributeState.fontSize*t.internal.scaleFactor),[4,kI(n,u).render(x)];case 2:return P.sent(),t.restoreGraphicsState(),t.compatAPI(),x.textMeasure.cleanupTextMeasuring(),[2,t]}})})}(n,this,t)};var VMe=_f.Reaction;function HMe(n,t){1&n&&(Te(0,"button",9)(1,"mat-icon"),pt(2,"open_in_new"),Re()())}function jMe(n,t){if(1&n&&(Te(0,"a",17),pt(1),Te(2,"mat-icon",18),pt(3,"open_in_new"),Re()()),2&n){const e=xr().$implicit;Dt("href",null==e?null:e.getLink(),jc),ct(1),ns("",null==e?null:e.identifier," ")}}const UX=function(n){return[n]};function UMe(n,t){if(1&n&&(Te(0,"a",19),pt(1),Te(2,"mat-icon",18),pt(3,"open_in_new"),Re()()),2&n){const e=xr().$implicit;Dt("routerLink",Hu(2,UX,null==e?null:e.getLink())),ct(1),ns("",null==e?null:e.identifier," ")}}function $Me(n,t){if(1&n&&(Te(0,"li")(1,"a",17),pt(2),Re()()),2&n){const e=t.$implicit;ct(1),Dt("href","https://www.kegg.jp/entry/"+e.identifier,jc),ct(1),oo(e.identifier)}}function GMe(n,t){if(1&n&&(Te(0,"div")(1,"span",20),pt(2,"KEGG KO:"),Re(),Te(3,"ul"),Ln(4,$Me,3,2,"li",8),Re()()),2&n){const e=xr().$implicit,r=xr();ct(4),Dt("ngForOf",r.getReactionKos(e))}}function WMe(n,t){if(1&n&&ar(0,"div",21),2&n){const e=xr().$implicit;Dt("innerHtml",xr().safeSVG(e),n6)}}function qMe(n,t){if(1&n&&(Te(0,"a",22),pt(1," References "),Te(2,"mat-icon",18),pt(3,"open_in_new"),Re()()),2&n){const e=xr().$implicit;Dt("routerLink",Hu(1,UX,null==e?null:e.getLink()))}}function YMe(n,t){1&n&&ar(0,"mat-divider")}const KMe=function(n){return{"padding-bottom":n}};function XMe(n,t){if(1&n&&(za(0),Te(1,"div")(2,"p"),Ln(3,jMe,4,2,"a",10),Ln(4,UMe,4,4,"a",11),Re(),Te(5,"p",12),pt(6),Re(),Te(7,"p",12),pt(8),Re(),Ln(9,GMe,5,1,"div",13),Ln(10,WMe,1,1,"div",14),Te(11,"div",15),Ln(12,qMe,4,3,"a",16),Re()(),Ln(13,YMe,1,0,"mat-divider",13),Ba()),2&n){const e=t.$implicit,r=t.last,i=xr();ct(3),Dt("ngIf",null==e?null:e.isExternal()),ct(1),Dt("ngIf",!(null!=e&&e.isExternal())),ct(2),oo(null==e?null:e.name),ct(2),oo(null==e?null:e.description),ct(1),Dt("ngIf",i.isReaction(e)&&i.getReactionKos(e)),ct(1),Dt("ngIf",i.isCompound(e)),ct(1),Dt("ngStyle",Hu(9,
1KMe,r?"0px":"10px")),ct(1),Dt("ngIf",!(null!=e&&e.isExternal())),ct(1),Dt("ngIf",!r)}}let ZMe=(()=>{class n{constructor(e){this.sanitizer=e}ngOnInit(){}setElements(e){this.elements=e}linkDiagram(e){console.log(e.id)}isReaction(e){return e instanceof VMe}isCompound(e){return e instanceof _f.Compound}getReactionKos(e){return e.kos}safeSVG(e){return this.sanitizer.bypassSecurityTrustHtml(e.svg)}}return n.\u0275fac=function(e){return new(e||n)(he(vp))},n.\u0275cmp=Ir({type:n,selectors:[["app-diagram-element-detail"]],decls:17,vars:1,consts:[["button_open_in_new",""],[2,"width","18rem","margin-top","0.2rem"],["resultList",""],[1,"mat-elevation-z18"],["fxLayout","row","fxLayoutAlign","space-between center"],[1,"permanent-marker",2,"font-size","24px"],["mat-icon-button","","aria-label","Close",2,"color","#dee2e6",3,"click"],["mat-icon-button","","aria-label","Close","matTooltip","Close",2,"color","#dee2e6",3,"click"],[4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","Open in new tab","matTooltip","Open in new tab",2,"color","#dee2e6"],["target","_blank","class","link",3,"href",4,"ngIf"],["target","_blank","class","link",3,"routerLink",4,"ngIf"],[1,"text-light"],[4,"ngIf"],[3,"innerHtml",4,"ngIf"],[3,"ngStyle"],["class","link","target","_blank","matTooltip","Open entity page to show references",3,"routerLink",4,"ngIf"],["target","_blank",1,"link",3,"href"],["inline","true"],["target","_blank",1,"link",3,"routerLink"],[1,"permanent-marker"],[3,"innerHtml"],["target","_blank","matTooltip","Open entity page to show references",1,"link",3,"routerLink"]],template:function(e,r){if(1&e){const i=ca();Ln(0,HMe,3,0,"ng-template",null,0,hp),Te(2,"div",1,2)(4,"mat-card",3)(5,"mat-card-content")(6,"div",4)(7,"span",5),pt(8,"Selection"),Re(),Te(9,"div")(10,"button",6),pr("click",function(){return r.linkDiagram(r.elements)}),Te(11,"mat-icon"),pt(12,"sync_alt"),Re()(),Te(13,"button",7),pr("click",function(){return hs(i),Ss(Da(3).remove())}),Te(14,"mat-icon"),pt(15,"close"),Re()()()(),Ln(16,XMe,14,11,"ng-container",8),Re()()()}2&e&&(ct(16),Dt("ngForOf",r.elements))},dependencies:[lf,jl,zm,od,Ha,ja,yv,dc,rg,ng,T6,Uu,Kd],styles:["ul[_ngcontent-%COMP%]{list-style-type:none;margin:5px;padding:5px}"]}),n})();function JMe(n,t){1&n&&(Te(0,"mat-header-cell"),pt(1," Name "),Re())}function QMe(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.name," ")}}function eDe(n,t){1&n&&(Te(0,"mat-header-cell"),pt(1," Prefix "),Re())}function tDe(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.prefix," ")}}function nDe(n,t){1&n&&(Te(0,"mat-header-cell"),pt(1," Example "),Re())}function rDe(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.example," ")}}function iDe(n,t){1&n&&ar(0,"mat-header-row")}function oDe(n,t){1&n&&ar(0,"mat-row")}const sDe=function(){return["/api"]},aDe=[{name:"Enteropathway Reaction (EPR)",prefix:"",example:"EPR0002"},{name:"Enteropathway Module (EPM)",prefix:"",example:"EPM0598"},{name:"Enteropathway Compound (EPC)",prefix:"",example:"EPC0003"},{name:"KEGG KO",prefix:"",example:"K05349"},{name:"KEGG Reaction",prefix:"",example:"R01280"},{name:"KEGG Module",prefix:"",example:"M00035"},{name:"KEGG Compound",prefix:"",example:"C07316"},{name:"Enzyme Commission number (EC number)",prefix:"ec:",example:"ec:3.7.1.14"},{name:"EggNOG id",prefix:"eg:",example:"eg:COG2407"},{name:"MetaCyc Compound",prefix:"mcc:",example:"mcc:GLYCYRRHIZINATE"},{name:"MetaCyc Reaction",prefix:"mcr:",example:"mcr:RHAMNISOM-RXN"},{name:"MetaCyc Pathway",prefix:"mcp:",example:"mcp:PWY-7167"},{name:"Rhea",prefix:"rh:",example:"rh:25240"},{name:"Uniprot Accession",prefix:"up:",example:"up:D2WEY7"},{name:"UniRef50 Accession",prefix:"",example:"UniRef50_P0AEY7"},{name:"UniRef90 Accession",prefix:"",example:"UniRef90_A0A098Z7E5"},{name:"CAS id",prefix:"cas:",example:"cas:103-12-8"},{name:"PubChem cid",prefix:"cid:",example:"cid:5317657"},{name:"Gut metabolic modules",prefix:"gmm:",example:"gmm:MF0099"},{name:"Gut brain modules",prefix:"gbm:",example:"gbm:MGB053"},{name:"Genome Taxonomy Database",prefix:"gtdb:",example:"gtdb:GCF_000215745.1"}];let $X=(()=>{class n{constructor(){this.displayedColumns=["name","prefix","example"],this.dataSource=aDe}ngOnInit(){}getExampleMappingData(){return n.exampleMappingData}}return n.exampleMappingData="EPR0001 #FF0000 W20 0.5\nEPR0002\nC07316 #F
1F0000 W15\nEPC0003 #FF0000 W15 0.5\nM00035 #26c774 W20\nEPM0598 #4868f7\nK05349 #990000\nec:3.7.1.14\nCOG2407\nmcc:GLYCYRRHIZINATE #4169e1\nmcr:RHAMNISOM-RXN #2f4f4f\nmcp:PWY-7167 #ff69b4\nrh:25240 #AC66C8\nup:D2WEY7 #FF00FF\nUniRef50_P0AEY7\nUniRef90_A0A098Z7E5\ncas:103-12-8\ncid:5317657 #000000\ngmm:MF0099 W15\ngbm:MGB053 W20\ngtdb:GCF_000215745.1 #000000\n",n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ir({type:n,selectors:[["app-help"]],decls:68,vars:6,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stetch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],[2,"font-size","48px","font-family","'Monoton', cursive"],["id","introduction"],[1,"permanent-marker"],[1,"justify","text-light"],["id","navigation","fxFlex",""],["fxLayout","row"],["fxFlex","50",1,"justify","text-light"],["fxFlex","1"],["src","assets/zoom.png","width","360px","fxLayoutAlign","center center"],["id","data-mapping"],[3,"dataSource"],["matColumnDef","name"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","prefix"],["matColumnDef","example"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"highlight","item-light"],[1,"justify",2,"font-weight","500"],["id","api"],[2,"font-weight","bold",3,"routerLink"],["href","https://github.com/yamada-lab/enteropathway_api_tutorial","target","_blank"],["id","download"]],template:function(e,r){1&e&&(Te(0,"main")(1,"div",0)(2,"span",1),pt(3,"Help"),Re(),Te(4,"section",2)(5,"h3",3),pt(6,"Introduction"),Re(),Te(7,"p",4),pt(8," Enteropathway is a manually curated human gut specific database for metabolic pathways. The list of pathways are summarized on a customizable pathway diagram that helps exploring the relationship between modules, their reactions and metabolites. Microbiome profiles can also be visualised on the diagram and explored in their metabolic pathways context. "),Re(),ar(9,"mat-divider"),Re(),Te(10,"section",5)(11,"h3",3),pt(12,"Navigation"),Re(),Te(13,"div",6)(14,"p",7),pt(15," Mouse gestures enable zooming (middle button) and panning (click + drag). "),ar(16,"br"),pt(17," Additionally the yellow zoom buttons are also available for zooming in and out as well as reseting to the initial zoom "),ar(18,"br"),pt(19," Clicking on an element of the map will open its detailed description in the left-side pane. "),Re(),ar(20,"span",8)(21,"img",9),Re(),ar(22,"mat-divider"),Re(),Te(23,"section",10)(24,"h3",3),pt(25,"Data mapping"),Re(),Te(26,"p",4),pt(27," The minimal input for Enteropathway is a list of ontology identifiers to map on the metabolic diagram. Currently it accepts: "),Re(),Te(28,"mat-table",11),za(29,12),Ln(30,JMe,2,0,"mat-header-cell",13),Ln(31,QMe,2,1,"mat-cell",14),Ba(),za(32,15),Ln(33,eDe,2,0,"mat-header-cell",13),Ln(34,tDe,2,1,"mat-cell",14),Ba(),za(35,16),Ln(36,nDe,2,0,"mat-header-cell",13),Ln(37,rDe,2,1,"mat-cell",14),Ba(),Ln(38,iDe,1,0,"mat-header-row",17),Ln(39,oDe,1,0,"mat-row",18),Re(),Te(40,"p",4),pt(41," By default, the identifiers are mapped and highlighted in blue and a width of 10px. Additional customization is possible by appending comma separated customizations for color (#FF0000), width (W15), and opacity (0.6), in any order. The following is compliant list of entries: "),Re(),Te(42,"pre",19),pt(43),Re(),Te(44,"p",20),pt(45,"The following rules apply for the mapping:"),Re(),Te(46,"ol",4)(47,"li"),pt(48,"When KO/Reaction customizations are submitted along their Module customization, Module customization will override other customizations."),Re(),Te(49,"li"),pt(50,"The last entry for customizations that match the same graphical elements will override previous entries. For instance if K00256 is followed by R00062 and both match the same graphical element, only the customization from R00062 will be visible on the diagram."),Re()(),ar(51,"mat-divider"),Re(),Te(52,"section",21)(53,"h3",3),pt(54,"REST API"),Re(),Te(55,"p",4),pt(56," A "),Te(57,"a",22),pt(58,"REST API"),Re(),pt(59," is available for programmatic interaction with Enteropathway. For usage examples, please check the tutorials on github: "),Te(60,"a",23),pt(61," https://github.com/yamada-lab/enteropathway_a
1pi_tutorial "),Re(),pt(62,". "),Re()(),Te(63,"section",24)(64,"h3",3),pt(65,"Data download"),Re(),Te(66,"p",4),pt(67," The metabolic data is currently available for download. "),Re()()()()),2&e&&(ct(28),Dt("dataSource",r.dataSource),ct(10),Dt("matHeaderRowDef",r.displayedColumns),ct(1),Dt("matRowDefColumns",r.displayedColumns),ct(4),oo(r.getExampleMappingData()),ct(14),Dt("routerLink",Gs(5,sDe)))},dependencies:[od,Ha,ja,t2,Yc,T6,ug,P6,fg,N6,L6,dg,F6,z6,hg,pg],styles:['@import"https://fonts.googleapis.com/css?family=Roboto:100,300,400,900&display=swap";a[_ngcontent-%COMP%]{text-decoration:none;color:#0781d8}main[_ngcontent-%COMP%]{font-family:Roboto,sans-serif}table[_ngcontent-%COMP%]{width:100%}.highlight[_ngcontent-%COMP%]{padding:1rem;margin-top:1rem;margin-bottom:1rem;background-color:#f7f7f9}.item-thin[_ngcontent-%COMP%]{font-weight:100}.item-light[_ngcontent-%COMP%]{font-weight:300}mat-row[_ngcontent-%COMP%]:hover{background:#f5f5f5}']}),n})();class GX{constructor(t,e,r,i,o,s,a,l){this.name=t,this.type=e,this.isClearOriginalColors=r,this.isHighlightModuleBox=i,this.isHighlightModuleBoxOnly=o,this.widthSliderValue=s,this.entries=a,this.graphicalCustomizations=l}}class WX extends GX{constructor(t,e,r,i,o,s,a,l){super(t,"Mapping",e,r,i,s,a,l),this.name=t,this.isClearOriginalColors=e,this.isHighlightModuleBox=r,this.isHighlightModuleBoxOnly=i,this.isHighlightCompleteModule=o,this.widthSliderValue=s,this.entries=a,this.graphicalCustomizations=l}}class cDe extends GX{constructor(t,e,r,i,o,s,a,l,u,f){super(t,"Enrichment",e,r,i,o,u,f),this.name=t,this.isClearOriginalColors=e,this.isHighlightModuleBox=r,this.isHighlightModuleBoxOnly=i,this.widthSliderValue=o,this.enrichmentAnalysisColor=s,this.enrichmentAnalysisInputType=a,this.enrichmentAnalysisPValueCutoff=l,this.entries=u,this.graphicalCustomizations=f}}function uDe(n,t){}class fw{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let qX=(()=>{class n extends fM{constructor(e,r,i,o,s,a,l,u){super(),this._elementRef=e,this._focusTrapFactory=r,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=u,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=f=>{this._portalOutlet.hasAttached();const h=this._portalOutlet.attachDomPortal(f);return this._contentAttached(),h},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=i}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),r}attachTemplatePortal(e){this._portalOutlet.hasAttached();const r=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,r){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const i=()=>{e.removeEventListener("blur",i),e.removeEventListener("mousedown",i),e.removeAttribute("tabindex")};e.addEventListener("blur",i),e.addEventListener("mousedown",i)})),e.focus(r)}_focusByCssSelector(e,r){let i=this._elementRef.nativeElement.querySelector(e);i&&this._forceFocus(i,r)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(r=>{r||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let r=null;if("string"==typeof e?r=this._document.querySelector(e):"boolean"==typeof e?r=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(r=e),this._config.restoreFocus&&r&&"function"==typeof r.focus){const i=oA(),o=this._elementRef.nativeElement;(!i||i===this._document.body||i===o||o.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,r=oA();return e===r||e.contains(r)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=oA())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(hA),he(Ki,8),he(fw),he(ub),he(Qi),he(wv),he(Gd))},n.\u0275cmp=Ir({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(e,r){if(1&e&&ps(dM,7),2&e){let i;_i(i=xi())&&(r._portalOutlet=i.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,r){2&e&&ro("id",r._config.id||null)("role",r._
1config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledBy)("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Kn],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,r){1&e&&Ln(0,uDe,0,0,"ng-template",0)},dependencies:[dM],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class TI{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new nt,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(r=>{27===r.keyCode&&!this.disableClose&&!Qf(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(t,e){if(this.containerInstance){const r=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),r.next(t),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const YX=new or("DialogScrollStrategy"),fDe=new or("DialogData"),dDe=new or("DefaultDialogConfig"),pDe={provide:YX,deps:[df],useFactory:function hDe(n){return()=>n.scrollStrategies.block()}};let mDe=0,KX=(()=>{class n{constructor(e,r,i,o,s,a){this._overlay=e,this._injector=r,this._defaultOptions=i,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new nt,this._afterOpenedAtThisLevel=new nt,this._ariaHiddenElements=new Map,this.afterAllClosed=eg(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(e2(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,r){(r={...this._defaultOptions||new fw,...r}).id=r.id||"cdk-dialog-"+mDe++,r.id&&this.getDialogById(r.id);const o=this._getOverlayConfig(r),s=this._overlay.create(o),a=new TI(s,r),l=this._attachContainer(s,a,r);return a.containerInstance=l,this._attachDialogContent(e,a,l,r),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){II(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(r=>r.id===e)}ngOnDestroy(){II(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),II(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const r=new Vb({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(r.backdropClass=e.backdropClass),r}_attachContainer(e,r,i){var o;const s=i.injector||(null===(o=i.viewContainerRef)||void 0===o?void 0:o.injector),a=[{provide:fw,useValue:i},{provide:TI,useValue:r},{provide:wv,useValue:e}];let l;i.container?"function"==typeof i.container?l=i.container:(l=i.container.type,a.push(...i.container.providers(i))):l=qX;const u=new Fb(l,i.viewContainerRef,Dc.create({parent:s||this._injector,providers:a}),i.componentFactoryResolver);return e.attach(u).instance}_attachDialogContent(e,r,i,o){if(e instanceof sc){const s=this._createInjector(o,r,i,void 0);let a={$implicit:o.data,dialogRef:r};o.templateContext&&(a={...a,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),i.attachTemplatePortal(new zb(e,null,a,s))}else{const s=this._createInjector(o,r,i,this._injector),a=i.attachComponentPortal(new Fb(e,o.viewContainerRef,s,o.componentFactoryResolver));r.componentInstance=a.instance}}_createInjector(e,r,i,o){var s;const a=e.injector||(null===(s=e.viewContainerRef)||void 0===s?void 0:s.injector),l=[{provide:fDe,useValue:e.data},{provide:TI,useValue:r}];return e.providers&&("function"==typeof e.providers?l.push(...e.providers(r,e,i)):l.push(...e.providers)),e.direction&&(!a||!a.get(R1,null,Ji.Optional))&&l.push({provide:R1,useValue:{value:e.direction,change:Di()}}),Dc.create({parent:a||o,providers:l})}_removeOpenDialog(e,r){const i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const r=e.parentElement.children;for(let i=r.length-1;i>-1;i--){const o=r[i];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(e){return new(e||n)(qt(df),qt(Dc),qt(dDe,8),qt(n,12),qt(Hb),qt(YX))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();function II(n,t){let e=n.length;for(;e--;)t(n[e])}let gDe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[KX,pDe],imports:[tg,Bb,vA,Bb]}),n})();function vDe(n,t){}const h5={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},yDe={dialogContainer:cf("dialogContainer",[Ul("void, exit",rs({opacity:0,transform:"scale(0.7)"})),Ul("enter",rs({transform:"none"})),lc("* => enter",hz([Gc("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",rs({transform:"none",opacity:1})),P9("@*",L9(),{optional:!0})]),h5),lc("* => void, * => exit",hz([Gc("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",rs({opacity:0})),P9("@*",L9(),{optional:!0})]),h5)])};class dw{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=h5.params.enterAnimationDuration,this.exitAnimationDuration=h5.params.exitAnimationDuration}}let bDe=(()=>{class n extends qX{constructor(e,r,i,o,s,a,l,u){super(e,r,i,o,s,a,l,u),this._animationStateChanged=new zi}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(hA),he(Ki,8),he(dw),he(ub),he(Qi),he(wv),he(Gd))},n.\u0275cmp=Ir({type:n,selectors:[["ng-component"]],features:[Kn],decls:0,vars:0,template:function(e,r){},encapsulation:2}),n})(),_De=(()=>{class n extends bDe{constructor(e,r,i,o,s,a,l,u,f){super(e,r,i,o,s,a,l,f),this._changeDetectorRef=u,this._state="enter"}_onAnimationDone({toState:e,totalTime:r}){"enter"===e?this._openAnimationDone(r):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:r})}_onAnimationStart({toState:e,totalTime:r}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:r}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:r})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||h5.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||h5.params.exitAnimationDuration}}}}return n.\u0275fac=function(e){return new(e||n)(he(Jr),he(hA),he(Ki,8),he(dw),he(ub),he(Qi),he(wv),he(Cl),he(Gd))},n.\u0275cmp=Ir({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,r){1&e&&mS("@dialogContainer.start",function(o){return r._onAnimationStart(o)})("@dialogContainer.done",function(o){return r._onAnimationDone(o)}),2&e&&(Wf("id",r._config.id),ro("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledBy)("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),bS("@dialogContainer",r._getAnimationState()))},features:[Kn],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,r){1&e&&Ln(0,vDe,0,0,"ng-template",0)},dependencies:[dM],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}
1.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[yDe.dialogContainer]}}),n})();class OI{constructor(t,e,r){this._ref=t,this._containerInstance=r,this._afterOpened=new nt,this._beforeClosed=new nt,this._state=0,this.disableClose=e.disableClose,this.id=t.id,r._animationStateChanged.pipe(Qa(i=>"opened"===i.state),Va(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(Qa(i=>"closed"===i.state),Va(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ui(this.backdropClick(),this.keydownEvents().pipe(Qa(i=>27===i.keyCode&&!this.disableClose&&!Qf(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),XX(this,"keydown"===i.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Qa(e=>"closing"===e.state),Va(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function XX(n,t,e){return n._closeInteractionType=t,n.close(e)}const RI=new or("MatDialogData"),xDe=new or("mat-dialog-default-options"),ZX=new or("mat-dialog-scroll-strategy"),CDe={provide:ZX,deps:[df],useFactory:function wDe(n){return()=>n.scrollStrategies.block()}};let SDe=0,EDe=(()=>{class n{constructor(e,r,i,o,s,a,l,u,f,h){this._overlay=e,this._defaultOptions=i,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=u,this._dialogDataToken=f,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new nt,this._afterOpenedAtThisLevel=new nt,this._idPrefix="mat-dialog-",this.afterAllClosed=eg(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(e2(void 0))),this._scrollStrategy=a,this._dialog=r.get(KX)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,r){let i;(r={...this._defaultOptions||new dw,...r}).id=r.id||`${this._idPrefix}${SDe++}`,r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...r,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:dw,useValue:r},{provide:fw,useValue:r}]},templateContext:()=>({dialogRef:i}),providers:(s,a,l)=>{var u;return i=new this._dialogRefConstructor(s,r,l),i.updatePosition(null===(u=r)||void 0===u?void 0:u.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:i}]}});return i.componentInstance=o.componentInstance,this.openDialogs.push(i),this.afterOpened.next(i),i.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(i);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(r=>r.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let r=e.length;for(;r--;)e[r].close()}}return n.\u0275fac=function(e){$2()},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),v2=(()=>
1{class n extends EDe{constructor(e,r,i,o,s,a,l,u){super(e,r,o,a,l,s,OI,_De,RI,u)}}return n.\u0275fac=function(e){return new(e||n)(qt(df),qt(Dc),qt(V8,8),qt(xDe,8),qt(ZX),qt(n,12),qt(Hb),qt(Cu,8))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),ADe=0,LI=(()=>{class n{constructor(e,r,i){this.dialogRef=e,this._elementRef=r,this._dialog=i,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=eZ(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const r=e._matDialogClose||e._matDialogCloseResult;r&&(this.dialogResult=r.currentValue)}_onButtonClick(e){XX(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return n.\u0275fac=function(e){return new(e||n)(he(OI,8),he(Jr),he(v2))},n.\u0275dir=_n({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,r){1&e&&pr("click",function(o){return r._onButtonClick(o)}),2&e&&ro("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Hs]}),n})(),JX=(()=>{class n{constructor(e,r,i){this._dialogRef=e,this._elementRef=r,this._dialog=i,this.id="mat-dialog-title-"+ADe++}ngOnInit(){this._dialogRef||(this._dialogRef=eZ(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(he(OI,8),he(Jr),he(v2))},n.\u0275dir=_n({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,r){2&e&&Wf("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),hw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),n})(),QX=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=_n({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(e,r){2&e&&Rs("mat-dialog-actions-align-center","center"===r.align)("mat-dialog-actions-align-end","end"===r.align)},inputs:{align:"align"}}),n})();function eZ(n,t){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?t.find(r=>r.id===e.id):null}let MDe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[v2,CDe],imports:[gDe,tg,Bb,jo,jo]}),n})();function DDe(n,t){1&n&&(Te(0,"mat-error"),pt(1,"Add check for name exists"),Re())}let kDe=(()=>{class n{constructor(e){this.formBuilder=e,this.newCustomizationNameEvent=new zi,this.saveCustomizationForm=this.formBuilder.group({name:["",qc.required]})}save(){if(this.saveCustomizationForm.invalid)return;const e=this.saveCustomizationForm.get("name").value;this.newCustomizationNameEvent.emit(e)}}return n.\u0275fac=function(e){return new(e||n)(he(mv))},n.\u0275cmp=Ir({type:n,selectors:[["store-customization-dialog"]],outputs:{newCustomizationNameEvent:"newCustomizationNameEvent"},decls:14,vars:3,consts:[["mat-dialog-title",""],["fxLayout","column","fxLayoutAlign","space-around stretch",3,"formGroup","submit"],["mat-dialog-content",""],["appearance","standard"],["matInput","","formControlName","name",3,"required"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close",""],["mat-button","","type","submit",3,"click"]],template:function(e,r){1&e&&(Te(0,"span",0),pt(1,"Save customization"),Re(),Te(2,"form",1),pr("submit",function(){return r.s
1ave()}),Te(3,"div",2)(4,"mat-form-field",3)(5,"mat-label"),pt(6,"Name"),Re(),ar(7,"input",4),Ln(8,DDe,2,0,"mat-error",5),Re()(),Te(9,"div",6)(10,"button",7),pt(11,"Cancel"),Re(),Te(12,"button",8),pr("click",function(){return r.save()}),pt(13,"Save"),Re()()()),2&e&&(ct(2),Dt("formGroup",r.saveCustomizationForm),ct(5),Dt("required",!0),ct(1),Dt("ngIf",r.saveCustomizationForm.invalid))},dependencies:[jl,S6,J2,t0,C6,Tb,Q2,Sp,Ha,ja,dc,LI,JX,hw,QX,Cv,n2,Yd,td],encapsulation:2}),n})();class PI{constructor(t,e,r){this.aes=t,this.el=e,this.graphics=r}customize(t){this.graphics?.forEach(e=>{const r=t.find("#"+e);r.opacity(this.aes.opacity),this.paint(r)})}}class TDe extends PI{constructor(t,e,r){super(t,e,r),this.aes=t,this.el=e,this.graphics=r}paint(t){t.stroke({color:this.aes.color,width:this.aes.width,linecap:"round"}).attr({"marker-end":null,"marker-start":null})}}class IDe extends PI{constructor(t,e,r){super(t,e,r),this.aes=t,this.el=e,this.graphics=r}paint(t){t.stroke({color:this.aes.color,width:this.aes.width}),t.fill({color:this.aes.color})}}class ODe extends PI{constructor(t,e,r){super(t,e,r),this.aes=t,this.el=e,this.graphics=r,this.isHighlightModuleBox=!1,this.isHighlightModuleBoxOnly=!1}paint(t){"rect"==t[0].type?(this.isHighlightModuleBox||this.isHighlightModuleBoxOnly)&&t.fill({color:this.aes.color}):this.isHighlightModuleBoxOnly||t.stroke({color:this.aes.color,width:this.aes.width,linecap:"round"}).attr({"marker-end":null,"marker-start":null})}}let pw=(()=>{class n{constructor(e){this.http=e}authenticate(e){return this.http.post(ka.enteropathwayApiEndpoint+"api/authenticate",{username:e.username,password:e.password}).pipe(qn(i=>(i&&i.access_token&&this.storeUserAuthentication(i,!1),i)))}storeUserAuthentication(e,r){r?localStorage.setItem("currentUser",JSON.stringify(e)):sessionStorage.setItem("currentUser",JSON.stringify(e))}logout(){return new wt(e=>{localStorage.removeItem("currentUser"),sessionStorage.removeItem("currentUser"),e.complete()})}isAuthenticated(){return!!sessionStorage.getItem("currentUser")}getRoles(){const e=localStorage.getItem("currentUser")||sessionStorage.getItem("currentUser");return e?JSON.parse(e).roles:[]}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tZ=(()=>{class n{constructor(e){this.http=e,this.customizationStorageApi=ka.enteropathwayApiEndpoint+"api/customization"}listCustomizations(){return this.http.get(this.customizationStorageApi+"/list")}storeCustomization(e){return this.http.post(this.customizationStorageApi+"/store/"+(e instanceof WX?"mapping":"enrichment"),e)}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var RDe=_f.Module,LDe=_f.Reaction,PDe=_f.Compound;let mw=(()=>{class n{constructor(e){this.http=e,this.graphicsApi=ka.enteropathwayGraphicsApiEndpoint+"api/graphics",this.resourcesApi=ka.enteropathwayGraphicsApiEndpoint+"api/resources",this.searchApi=ka.searchApiEndpoint+"api/search",this.customizationStorageApi=ka.enteropathwayApiEndpoint+"api/customization",this.restoreRequestSource=new nt,this.restoreRequested$=this.restoreRequestSource.asObservable()}getElementNames(e){return this.http.get(`${this.searchApi+"/element"}/${e}/name`).pipe(qn(r=>{let i=[];return r.forEach(o=>{let s;s="Module"==o.type?new RDe({identifier:o.identifier,name:o.name,description:o.description,references:o.references}):"Reaction"==o.type?new LDe({identifier:o.identifier,name:o.name,kos:o.kos}):new PDe({identifier:o.identifier,name:o.name,references:o.references,svg:o.svg}),i.push(s)}),i}))}getSVG(){return this.http.get(this.resourcesApi+"/svg/diagram",{responseType:"text"})}getViewBox(){return this.http.get(this.resourcesApi+"/svg/viewbox",{responseType:"json"})}getCustomizationByEnrichment(e,r,i,o,s){return this.http.post(this.graphicsApi+"/customize/enrichment",{elements:e,enrichmentAnalysisColor:r,inputType:i,pValueCutoff:o,isSelectAllModuleKos:s})}getGraphicIdsForElements(e,r){return this.http.post(this.graphicsApi+"/customize/ids",{elements:e,isSelectAllModuleKos:r})}requestRestore(e){this.restoreRequestSource.next(e)}restoreCustomization(e){return this.http.get(this.customizationStorageApi+"/restore/"+e)}shareCustomization(e){return this.http.get(this.customizationStorageApi+"/share/"+e)}unshareCustomization(e){return this.http.get(this.customizationStorageApi+"/share/"+e+"/disable")}restoreSharedCustomization(e){return this.http.post(this.customizationStorageApi+"/restore/fromtoken",{token:e})}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),F7=(()=>{class n{constructor(){this.visible=!0}hide(){this.visible=!1}show(){return this.visible=!0,new wt(e=>{e.complete()})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function NDe(n,t){1&n&&ar(0,"mat-progress-bar",1)}let NI=(()=>{class n{constructor(e){this.spinner=e}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)(he(F7))},n.\u0275cmp=Ir({type:n,selectors:[["app-spinner"]],decls:1,vars:1,consts:[["color","accent","mode","indeterminate",4,"ngIf"],["color","accent","mode","indeterminate"]],template:function(e,r){1&e&&Ln(0,NDe,1,0,"mat-progress-bar",0),2&e&&Dt("ngIf",r.spinner.visible)},dependencies:[jl,R6]}),n})(),FI=(()=>{class n{constructor(e){this.http=e,this.searchUrl=ka.searchApiEndpoint+"api/search",this.http.get(`${this.searchUrl}/EPC1620`).pipe(qn(r=>{let i=[];return Object.keys(r).length>0&&Object.keys(r).forEach(o=>{let s=r[o];i.push(new _f[s.type]({identifier:s.identifier,name:s.name}))}),i}),r2(r=>(console.log(r),[])))}find(e){return this.http.get(`${this.searchUrl}/id/${e}`).pipe(qn(r=>{let i=[];return Object.keys(r).length>0&&Object.keys(r).forEach(o=>{let s=r[o];i.push(new _f[s.type]({identifier:s.identifier,name:s.name}))}),i}))}search(e){return this.http.get(`${this.searchUrl}/${e}`).pipe(qn(r=>{let i=[];return Object.keys(r).length>0&&Object.keys(r).forEach(o=>{let s=r[o];i.push(new _f[s.type]({identifier:s.entity.identifier,name:s.entity.name,description:s.entity.description}))}),i}),r2(r=>(console.log(r),[])))}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})();function FDe(n,t){if(1&n){const e=ca();Te(0,"button",25),pr("click",function(){return hs(e),xr(),Ss(Da(21).value="")}
1),Te(1,"mat-icon"),pt(2,"close"),Re()()}}function zDe(n,t){1&n&&(Te(0,"mat-header-cell"),pt(1," Highlight "),Re())}function BDe(n,t){if(1&n){const e=ca();Te(0,"mat-cell")(1,"mat-slide-toggle",26),pr("click",function(i){return i.stopPropagation()})("change",function(i){const s=hs(e).$implicit,a=xr();return Ss(i?a.onHighlight(s,i.checked):null)}),Re()()}if(2&n){const e=t.$implicit,r=xr();ct(1),Dt("checked",r.selection.isSelected(e))}}function VDe(n,t){1&n&&(Te(0,"mat-header-cell",27),pt(1," Symbol "),Re())}function HDe(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.identifier," ")}}function jDe(n,t){1&n&&(Te(0,"mat-header-cell",27),pt(1," Name "),Re())}function UDe(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.name," ")}}function $De(n,t){1&n&&(Te(0,"mat-header-cell",27),pt(1," Description "),Re())}function GDe(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.description," ")}}function WDe(n,t){1&n&&ar(0,"mat-header-row")}function qDe(n,t){1&n&&ar(0,"mat-row")}const YDe=function(){return[5,10]};let KDe=(()=>{class n{constructor(e){this.searchService=e,this.isSearchButtonVisible=!0,this.displayedColumns=["highlight","symbol","name","description"],this.dataSource=new Ov,this.selection=new gM(!0,[]),this.highlight=new zi}ngAfterViewInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}isShowTable(){return this.dataSource.data.length>0}clearAndCloseSearchCard(){this.isSearchButtonVisible=!this.isSearchButtonVisible,this.dataSource.data=[]}onEnter(e){this.searchService.search(e.target.value).subscribe(r=>{this.dataSource.data=r,this.dataSource.paginator&&this.dataSource.paginator.firstPage()})}onHighlight(e,r){this.selection.clear(),this.selection.toggle(e),this.highlight.emit({id:e.identifier,checked:r})}}return n.\u0275fac=function(e){return new(e||n)(he(FI))},n.\u0275cmp=Ir({type:n,selectors:[["app-full-text-search"]],viewQuery:function(e,r){if(1&e&&(ps(O6,5),ps(Mp,5)),2&e){let i;_i(i=xi())&&(r.paginator=i.first),_i(i=xi())&&(r.sort=i.first)}},outputs:{highlight:"highlight"},decls:40,vars:11,consts:[[3,"ngClass"],["fxLayout","row","fxLayoutAlign","end center","fxFlexFill","",3,"fxShow"],["mat-mini-fab","","type","button","color","warn",3,"matTooltip","click"],["fxLayout","column","fxLayoutAlign","start end","fxFlexFill","",3,"fxHide"],["fxFlexFill","","cdkDrag","","cdkDragRootElement",".full-text-search"],[1,"mat-elevation-z18"],["fxLayout","row","fxLayoutAlign","end start","cdkDragHandle","",2,"cursor","move"],["mat-icon-button","","aria-label","Minimize","matTooltip","Minimize",2,"color","#dee2e6",3,"click"],["mat-icon-button","","aria-label","Clear and close","matTooltip","Clear and close",2,"color","#dee2e6",3,"click"],["fxFlex","","appearance","fill",2,"font-size","16px","width","350px",3,"color"],["matInput","","placeholder","",3,"keyup.enter"],["input",""],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[3,"fxShow"],["mat-table","","matSort","",1,"mat-elevation-z4",3,"dataSource"],["matColumnDef","highlight"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","symbol"],["mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","name"],["matColumnDef","description"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["aria-label","Select results per page",3,"pageSizeOptions"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[3,"checked","click","change"],["mat-sort-header",""]],template:function(e,r){if(1&e&&(Te(0,"div",0)(1,"div",1)(2,"button",2),pr("click",function(){return r.isSearchButtonVisible=!r.isSearchButtonVisible}),Te(3,"mat-icon"),pt(4,"search"),Re()()(),Te(5,"div",3)(6,"div",4)(7,"mat-card",5)(8,"mat-card-content")(9,"div",6)(10,"button",7),pr("click",function(){return r.isSearchButtonVisible=!r.isSearchButtonVisible}),Te(11,"mat-icon"),pt(12,"remove"),Re()(),Te(13,"button",8),pr("click",function(){return r.clearAndCloseSearchCard()}),Te(14,"mat-icon"),pt(15,"close"),Re()()(),Te(16,"div")(17,"mat-form-field",9)(18,"mat-label"),pt(19,"Search"),Re(),Te(20,"input",10,11),pr("keyup.enter",function(o){return r.onEnter(o)}),Re(),Ln(22,FDe,3,0,"button",12),Re()(),Te(23,"div",13)(24,"table",14),za(25,15),Ln(26,zDe,2,0,"mat-header-cell",16),Ln(27,BDe,2,1,"mat-cell",17),Ba(),za(28,18),Ln(29,VDe,2,0,"mat-header-cell",19),Ln(30,HDe,2,1,"mat-cell",17),Ba(),za(31,20),Ln(32,jDe,2,0,"mat-header-cell",19),Ln(33,UDe,2,1,"mat-cell",17),Ba(),za(34,21),Ln(35,$De,2,0,"mat-header-cell",19),Ln(36,GDe,2,1,"mat-cell",17),Ba(),Ln(37,WDe,1,0,"mat-header-row",22),Ln(38,qDe,1,0,"mat-row",23),Re(),ar(39,"mat-paginator",24),Re()()()()()()),2&e){const i=Da(21);Dt("ngClass",r.isSearchButtonVisible?"":"full-text-search-maximised"),ct(1),Dt("fxShow",r.isSearchButtonVisible),ct(4),Dt("fxHide",r.isSearchButtonVisible),ct(12),Dt("color","accent"),ct(5),Dt("ngIf",i.value),
1ct(1),Dt("fxShow",r.isShowTable()),ct(1),Dt("dataSource",r.dataSource),ct(13),Dt("matHeaderRowDef",r.displayedColumns),ct(1),Dt("matRowDefColumns",r.displayedColumns),ct(1),Dt("pageSizeOptions",Gs(10,YDe))}},dependencies:[mp,jl,AA,EA,Ha,ja,Ap,Yc,Rb,nM,dc,rg,ng,n2,Yd,Sv,Uu,td,O6,Qb,Mp,t_,ug,P6,fg,N6,L6,dg,F6,z6,hg,pg,Kd],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-column-highlight[_ngcontent-%COMP%]{flex:0 0 10%}.mat-column-symbol[_ngcontent-%COMP%]{flex:0 0 15%}.mat-column-name[_ngcontent-%COMP%]{flex:0 0 25%}.mat-column-description[_ngcontent-%COMP%]{flex:0 0 50%}.full-text-search-maximised[_ngcontent-%COMP%]{min-width:600px;max-width:600px}"]}),n})();function XDe(n,t){1&n&&(Te(0,"mat-header-cell",17),pt(1," Symbol "),Re())}function ZDe(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.symbol," ")}}function JDe(n,t){1&n&&(Te(0,"mat-header-cell",17),pt(1," Name "),Re())}function QDe(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.name," ")}}function eke(n,t){1&n&&(Te(0,"mat-header-cell",17),pt(1," P-Value "),Re())}function tke(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.pValue.toFixed(5)," ")}}function nke(n,t){1&n&&(Te(0,"mat-header-cell",17),pt(1," FDR "),Re())}function rke(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),ns(" ",e.fdr.toFixed(5)," ")}}function ike(n,t){1&n&&ar(0,"mat-header-row")}function oke(n,t){1&n&&ar(0,"mat-row")}const ske=function(){return[5,10]};let ake=(()=>{class n{constructor(){this.minimize=new zi,this.displayedColumns=["symbol","elementName","pValue","fdr"],this.dataSource=new Ov}ngAfterViewInit(){this.dataSource.data=this.data,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}ngOnChanges(){this.dataSource.data=this.data}export(e){if(this.dataSource.data.length>0){const r=this.dataSource.data.map(s=>[s.symbol,s.name,s.pValue,s.fdr].join("\t")).join("\n"),i=URL.createObjectURL(new Blob([r],{type:"text/"+e})),o=document.createElement("a");document.body.appendChild(o),o.setAttribute("style","display: none"),o.href=i,o.download="enrichment."+e,o.click(),URL.revokeObjectURL(i),o.remove()}}toggleMinimize(){this.minimize.emit(!0)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ir({type:n,selectors:[["app-enrichment-table"]],viewQuery:function(e,r){if(1&e&&(ps(O6,5),ps(Mp,5)),2&e){let i;_i(i=xi())&&(r.paginator=i.first),_i(i=xi())&&(r.sort=i.first)}},inputs:{data:"data"},outputs:{minimize:"minimize"},features:[Hs],decls:31,vars:5,consts:[["fxLayout","column","fxLayoutAlign","start end","fxFlexFill","","cdkDrag","","cdkDragRootElement",".enrichment-table"],["fxFlexFill",""],[1,"mat-elevation-z18"],["fxLayout","row","fxLayoutAlign","space-between center","cdkDragHandle","",2,"cursor","move"],[1,"permanent-marker",2,"font-size","24px"],["mat-icon-button","","aria-label","Download","matTooltip","Download TSV",2,"color","#dee2e6",3,"click"],["mat-icon-button","","aria-label","Minimize","matTooltip","Minimize",2,"color","#dee2e6",3,"click"],["mat-table","","matSort","",1,"mat-elevation-z4",3,"dataSource"],["matColumnDef","symbol"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","elementName"],["matColumnDef","pValue"],["matColumnDef","fdr"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["aria-label","Enrichment results per page",3,"pageSizeOptions"],["mat-sort-header",""]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"div",1)(2,"mat-card",2)(3,"mat-card-content")(4,"div",3)(5,"span",4),pt(6,"Enrichment"),Re(),Te(7,"div")(8,"button",5),pr("click",function(){return r.export("tsv")}),Te(9,"mat-icon"),pt(10,"cloud_download"),Re()(),Te(11,"button",6),pr("click",function(){return r.toggleMinimize()}),Te(12,"mat-icon"),pt(13,"remove"),Re()()()(),Te(14,"div")(15,"table",7),za(16,8),Ln(17,XDe,2,0,"mat-header-cell",9),Ln(18,ZDe,2,1,"mat-cell",10),Ba(),za(19,11),Ln(20,JDe,2,0,"mat-header-cell",9),Ln(21,QDe,2,1,"mat-cell",10),Ba(),za(22,12),Ln(23,eke,2,0,"mat-header-cell",9),Ln(24,tke,2,1,"mat-cell",10),Ba(),za(25,13),Ln(26,nke,2,0,"mat-header-cell",9),Ln(27,rke,2,1,"mat-cell",10),Ba(),Ln(28,ike,1,0,"mat-header-row",14),Ln(29,oke,1,0,"mat-row",15),Re(),ar(30,"mat-paginator",16),Re()()()()()),2&e&&(ct(15),Dt("dataSource",r.dataSource),ct(13),Dt("matHeaderRowDef",r.displayedColumns),ct(1),Dt("matRowDefColumns",r.dis
1playedColumns),ct(1),Dt("pageSizeOptions",Gs(4,ske)))},dependencies:[AA,EA,Ha,ja,Ap,dc,rg,ng,Uu,O6,Mp,t_,ug,P6,fg,N6,L6,dg,F6,z6,hg,pg,Kd],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-column-symbol[_ngcontent-%COMP%]{flex:0 0 15%}.mat-column-elementName[_ngcontent-%COMP%]{flex:0 0 55%}.mat-column-pValue[_ngcontent-%COMP%], .mat-column-fdr[_ngcontent-%COMP%]{flex:0 0 15%}"]}),n})();function lke(n,t){if(1&n&&(Te(0,"p"),pt(1),Re()),2&n){const e=xr();ct(1),oo(e.data.message)}}let nZ=(()=>{class n{constructor(e,r){this.dialog=e,this.data=r}ngAfterViewInit(){}ngOnDestroy(){}}return n.\u0275fac=function(e){return new(e||n)(he(v2),he(RI))},n.\u0275cmp=Ir({type:n,selectors:[["confirm-dialog"]],decls:14,vars:4,consts:[["fxLayout","row","fxLayoutAlign","space-between top"],[1,"permanent-marker",2,"font-size","36px"],["mat-icon-button","",3,"mat-dialog-close"],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-raised-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"span",1),pt(2,"Are you sure?"),Re(),Te(3,"div")(4,"button",2)(5,"mat-icon"),pt(6,"close"),Re()()()(),Te(7,"div",3),Ln(8,lke,2,1,"p",4),Re(),Te(9,"div",5)(10,"button",6),pt(11,"No"),Re(),Te(12,"button",7),pt(13,"Yes"),Re()()),2&e&&(ct(4),Dt("mat-dialog-close",!1),ct(4),Dt("ngIf",r.data),ct(2),Dt("mat-dialog-close",!1),ct(2),Dt("mat-dialog-close",!0))},dependencies:[jl,Ha,ja,dc,LI,hw,QX,Uu],encapsulation:2}),n})();class cke{constructor(t,e){this._document=e;const r=this._textarea=this._document.createElement("textarea"),i=r.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",r.setAttribute("aria-hidden","true"),r.value=t,r.readOnly=!0,this._document.body.appendChild(r)}copy(){const t=this._textarea;let e=!1;try{if(t){const r=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),r&&r.focus()}}catch{}return e}destroy(){const t=this._textarea;t&&(t.remove(),this._textarea=void 0)}}let uke=(()=>{class n{constructor(e){this._document=e}copy(e){const r=this.beginCopy(e),i=r.copy();return r.destroy(),i}beginCopy(e){return new cke(e,this._document)}}return n.\u0275fac=function(e){return new(e||n)(qt(Ki))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const fke=new or("CDK_COPY_TO_CLIPBOARD_CONFIG");let dke=(()=>{class n{constructor(e,r,i){this._clipboard=e,this._ngZone=r,this.text="",this.attempts=1,this.copied=new zi,this._pending=new Set,i&&null!=i.attempts&&(this.attempts=i.attempts)}copy(e=this.attempts){if(e>1){let r=e;const i=this._clipboard.beginCopy(this.text);this._pending.add(i);const o=()=>{const s=i.copy();s||!--r||this._destroyed?(this._currentTimeout=null,this._pending.delete(i),i.destroy(),this.copied.emit(s)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(o,1))};o()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(he(uke),he(Qi),he(fke,8))},n.\u0275dir=_n({type:n,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,r){1&e&&pr("click",function(){return r.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),n})(),hke=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({}),n})();function pke(n,t){1&n&&ar(0,"mat-progress-bar",9)}let mke=(()=>{class n{constructor(e,r,i){this.diagramService=e,this.dialog=r,this.data=i,this.color="none",this.link=void 0}ngOnInit(){this.loaded=!1,this.data.shareToken?(this.link=window.location.origin+"/#/diagram/"+this.data.shareToken,this.loaded=!0):this.diagramService.shareCustomization(this.data.id).subscribe(e=>{this.data.shareToken=e.shareToken,this.link=window.location.origin+"/#/diagram/"+e.shareToken,this.loaded=!0})}updateColor(){this.color="warn"}
1unshare(){this.dialog.open(nZ,{width:"15%",disableClose:!1,closeOnNavigation:!0,hasBackdrop:!0,data:{message:"By confirming this action this customization will be private to you."}}).afterClosed().subscribe(e=>{1==e&&this.diagramService.unshareCustomization(this.data.id).subscribe(r=>{this.data.shareToken=void 0,this.link=void 0})})}}return n.\u0275fac=function(e){return new(e||n)(he(mw),he(v2),he(RI))},n.\u0275cmp=Ir({type:n,selectors:[["share-dialog"]],decls:20,vars:11,consts:[["fxLayout","row","fxLayoutAlign","space-between top"],[1,"permanent-marker",2,"font-size","36px"],["mat-icon-button","",3,"mat-dialog-close"],["color","accent","mode","indeterminate",4,"ngIf"],["mat-dialog-content",""],["appearance","outline",3,"fxFlex"],["matInput","",3,"readonly","value"],["mat-icon-button","","matSuffix","","matTooltip","Copy to clipboard",3,"color","cdkCopyToClipboard","disabled","click"],["mat-fab","","matTooltip","Unshare",3,"click"],["color","accent","mode","indeterminate"]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"span",1),pt(2,"Share"),Re(),Te(3,"div")(4,"button",2)(5,"mat-icon"),pt(6,"close"),Re()()()(),Ln(7,pke,1,0,"mat-progress-bar",3),Te(8,"div",4)(9,"p"),pt(10,"The link below provides public access to this customization"),Re(),Te(11,"div",0)(12,"mat-form-field",5),ar(13,"input",6),Te(14,"button",7),pr("click",function(){return r.updateColor()}),Te(15,"mat-icon"),pt(16,"content_copy"),Re()()(),Te(17,"button",8),pr("click",function(){return r.unshare()}),Te(18,"mat-icon"),pt(19),Re()()()()),2&e&&(ct(4),Dt("mat-dialog-close",!0),ct(3),Dt("ngIf",!r.loaded),ct(5),Dt("fxFlex",90),ct(1),Dt("readonly",!0)("value",r.link?r.link:""),ct(1),Dt("color",r.color)("cdkCopyToClipboard",r.link)("disabled",!r.link),ro("aria-label","Copy to clipboard"),ct(3),ro("aria-label","Unshare"),ct(2),oo(r.link?"public_off":"public"))},dependencies:[jl,Ha,ja,Yc,dc,LI,hw,n2,Sv,Uu,td,R6,Kd,dke],encapsulation:2}),n})();function gke(n,t){if(1&n&&(Te(0,"mat-header-cell",18),pt(1),Re()),2&n){const e=xr().$implicit;ct(1),ns(" ",e.header," ")}}function vke(n,t){if(1&n&&(Te(0,"mat-cell"),pt(1),Re()),2&n){const e=t.$implicit,r=xr().$implicit;ct(1),ns(" ",r.cell(e)," ")}}function yke(n,t){1&n&&(za(0,15),Ln(1,gke,2,1,"mat-header-cell",16),Ln(2,vke,2,1,"mat-cell",17),Ba()),2&n&&Dt("matColumnDef",t.$implicit.columnDef)}function bke(n,t){1&n&&ar(0,"mat-header-cell",19)}function _ke(n,t){if(1&n){const e=ca();Te(0,"mat-cell",19)(1,"button",20),pr("click",function(){const o=hs(e).$implicit;return Ss(xr().restoreCustomization(o))}),Te(2,"mat-icon"),pt(3,"restore"),Re()()()}}function xke(n,t){1&n&&ar(0,"mat-header-cell",19)}function wke(n,t){if(1&n){const e=ca();Te(0,"mat-cell",19)(1,"button",21),pr("click",function(){const o=hs(e).$implicit;return Ss(xr().share(o))}),Te(2,"mat-icon"),pt(3,"share"),Re()()()}if(2&n){const e=t.$implicit;ct(1),Dt("color",e.shareToken?"warn":"accent")}}function Cke(n,t){1&n&&ar(0,"mat-header-row")}function Ske(n,t){1&n&&ar(0,"mat-row")}const Eke=function(){return[5,10]};let Ake=(()=>{class n{constructor(e,r){this.diagramService=e,this.dialog=r,this.minimize=new zi,this.columns=[{columnDef:"name",header:"Name",cell:i=>`${i.name}`},{columnDef:"type",header:"Type",cell:i=>`${i.type}`},{columnDef:"dateCreated",header:"Created on",cell:i=>`${EF(i.dateCreated,"yyyy/MM/dd HH:mm","en-GB")}`}],this.displayedColumns=this.columns.map(i=>i.columnDef).concat(["restore","share"]),this.dataSource=new Ov}ngAfterViewInit(){this.dataSource.data=this.data,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}ngOnChanges(){this.dataSource.data=this.data}toggleMinimize(){this.minimize.emit(!0)}restoreCustomization(e){this.diagramService.requestRestore(e)}share(e){this.dialog.open(mke,{width:"30%",disableClose:!1,closeOnNavigation:!0,hasBackdrop:!0,data:e})}}return n.\u0275fac=function(e){return new(e||n)(he(mw),he(v2))},n.\u0275cmp=Ir({type:n,selectors:[["app-customization-table"]],viewQuery:function(e,r){if(1&e&&(ps(O6,5),ps(Mp,5)),2&e){let i;_i(i=xi())&&(r.paginator=i.first),_i(i=xi())&&(r.sort=i.first)}},inputs:{data:"data"},outputs:{minimize:"minimize"},features:[Hs],decls:23,vars:6,consts:[["fxLayout","column","fxLayoutAlign","start end","fxFlexFill","","cdkDrag","","cdkDragRootElement",".customization-table"],["fxFlexFill",""],[1,"mat-elevation-z18"],["fxLayout","row","fxLayoutAlign","space-between center","cdkDragHandle","",2,"cursor","move"],[1,"permanent-marker",2,"font-size","24px"],["mat-icon-button","","aria-label","Minimize","matTooltip","Minim
1ize",2,"color","#dee2e6",3,"click"],["mat-table","","matSort","",1,"mat-elevation-z4",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","restore"],["style","width: 15%; text-align: center;",4,"matHeaderCellDef"],["style","width: 15%; text-align: center;",4,"matCellDef"],["matColumnDef","share"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["aria-label","Customizations per page",3,"pageSizeOptions"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-sort-header",""],[2,"width","15%","text-align","center"],["mat-icon-button","","color","primary","matTooltip","Restore",3,"click"],["mat-icon-button","","matTooltip","Share",3,"color","click"]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"div",1)(2,"mat-card",2)(3,"mat-card-content")(4,"div",3)(5,"span",4),pt(6,"Customizations"),Re(),Te(7,"div")(8,"button",5),pr("click",function(){return r.toggleMinimize()}),Te(9,"mat-icon"),pt(10,"remove"),Re()()()(),Te(11,"div")(12,"table",6),Ln(13,yke,3,1,"ng-container",7),za(14,8),Ln(15,bke,1,0,"mat-header-cell",9),Ln(16,_ke,4,0,"mat-cell",10),Ba(),za(17,11),Ln(18,xke,1,0,"mat-header-cell",9),Ln(19,wke,4,1,"mat-cell",10),Ba(),Ln(20,Cke,1,0,"mat-header-row",12),Ln(21,Ske,1,0,"mat-row",13),Re(),ar(22,"mat-paginator",14),Re()()()()()),2&e&&(ct(12),Dt("dataSource",r.dataSource),ct(1),Dt("ngForOf",r.columns),ct(7),Dt("matHeaderRowDef",r.displayedColumns),ct(1),Dt("matRowDefColumns",r.displayedColumns),ct(1),Dt("pageSizeOptions",Gs(5,Eke)))},dependencies:[lf,AA,EA,Ha,ja,Ap,dc,rg,ng,Uu,O6,Mp,t_,ug,P6,fg,N6,L6,dg,F6,z6,hg,pg,Kd],styles:["table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}.mat-column-name[_ngcontent-%COMP%]{flex:0 0 30%;word-wrap:break-word!important;white-space:inherit!important;width:35%!important;overflow-wrap:break-word;word-wrap:break-word}.mat-column-type[_ngcontent-%COMP%], .mat-column-dateCreated[_ngcontent-%COMP%]{flex:0 0 20%}.mat-column-restore[_ngcontent-%COMP%], .mat-column-share[_ngcontent-%COMP%]{flex:0 0 10%}"]}),n})();const Mke=["selectionDetails"],Dke=["clearOriginalColorsToggle"],kke=["widthSlider"];function Tke(n,t){if(1&n){const e=ca();Te(0,"button",55),pr("click",function(){return hs(e),Ss(xr().toggleCustomizationTable())}),Te(1,"mat-icon"),pt(2,"restore_page"),Re()()}}function Ike(n,t){if(1&n&&(Te(0,"mat-option",56),pt(1),Re()),2&n){const e=t.$implicit;Dt("value",e),ct(1),ns(" ",e," ")}}function Oke(n,t){if(1&n){const e=ca();Te(0,"button",57),pr("click",function(){return hs(e),Ss(xr().download())}),Te(1,"mat-icon"),pt(2,"save_alt"),Re()()}}function Rke(n,t){if(1&n){const e=ca();Te(0,"button",58),pr("click",function(){return hs(e),Ss(xr().storeCustomization())}),Te(1,"mat-icon"),pt(2,"cloud_upload"),Re()()}2&n&&Dt("disabled",null==xr().customizationInput)}const Lke=function(){return{color:"#dee2e6","background-color":"#0781d8"}},Pke=function(){return["ko","reactions"]};let rZ=(()=>{class n{constructor(e,r,i,o,s,a,l,u,f){this.activatedRoute=e,this.authService=r,this.customizationStorageService=i,this.diagramService=o,this.nav=s,this.router=a,this.progressBar=l,this.dialog=u,this.el=f,this.isVisibleCogs=!1,this.exampleMappingData=$X.exampleMappingData,this.enrichmentSet=[],this.customizationList=new Array,this.widthSliderMin=-10,this.widthSliderMax=10,this.widthSliderStep=1,this.widthSliderValue=0,this.isWidthSliderDisabled=!0,this.widthSliderSettingsOpenState=!1,this.pValueSliderValue=.1,this.isShowEnrichmentTable=!1,this.isShowCustomizationTable=!1,this.zoomLevel=5,this.zoomParameters={min:.01,max:10},this.widthSliderInputValue=0,this.defaultEnrichmentAnalysisColor="#E5362A",this.edgeColors=new Map,this.nodeAndMarkerColors=new Map,this.graphicalCustomizationsEnrichment=[],this.graphicalCustomizations=[],this.highlightedEntities=new Map;const h=this.router.getCurrentNavigation().extras.state;h&&(this.requestMappingData=h.data),this.activatedRoute.paramMap.subscribe(v=>{this.shareToken=v.get("sharetoken")}),this.initializeCustomizationForm(),this.restoreRequestSubscription=this.diagramService.restoreRequested$.subscribe(v=>{this.restoreCustomization(v)})}ngOnInit(){this.nav.show(),this.initializeDiagram(),this.isLoggedIn()&&this.loadStoredCu
1stomizations()}ngOnDestroy(){this.restoreRequestSubscription.unsubscribe()}isLoggedIn(){return this.authService.isAuthenticated()}updateHighlightModuleBoxOnly(e){e&&this.customizationForm.controls.highlightModuleBoxOnly.setValue(!1)}updateHighlightModuleBox(e){e&&this.customizationForm.controls.highlightModuleBox.setValue(!1)}resetForm(){this.initializeCustomizationForm()}upload(e){let o=e.target.files[0];if(o){let s=new FileReader;s.onload=a=>{this.customizationForm.controls.mapping.setValue(s.result?.toString())},s.readAsText(o)}}onSubmit(){this.widthSliderValue=0,this.mapItems(this.customizationForm.value.mapping,this.customizationForm.value.enrichmentAnalysis,this.customizationForm.value.enrichmentAnalysisColor,this.customizationForm.value.enrichmentAnalysisInputType,this.customizationForm.value.enrichmentAnalysisPValueCutoff,this.customizationForm.value.highlightModuleBox,this.customizationForm.value.highlightCompleteModule,this.customizationForm.value.highlightModuleBoxOnly)}updateCogsVisibility(){this.isVisibleCogs=!this.isVisibleCogs}collectInitialDiagramColors(){this.canvas.find(["circle.node",".roundrectangle.node","marker path"]).forEach(e=>{this.nodeAndMarkerColors.set(e.id(),e.fill())}),this.canvas.find(["path.edge"]).forEach(e=>{this.edgeColors.set(e.id(),[e.stroke(),e.attr("stroke-width")])})}isClearOriginalColors(){return this.clearOriginalColorsToggle.checked}clearOriginalColors(e){if(this.progressBar.show(),e)this.greyOutDiagram();else{let r=this.collectBlackListElements();this.nodeAndMarkerColors.forEach((i,o)=>{r.has(o)||this.canvas.find("#"+o).fill({color:i})}),this.edgeColors.forEach((i,o)=>{r.has(o)||this.canvas.find("#"+o).stroke({color:i[0]})})}this.progressBar.hide()}greyOutDiagram(){let e=this.collectBlackListElements();this.canvas.find(["circle.node",".roundrectangle.node","marker path"]).forEach(r=>{e.has(r.id())||r.fill({color:"#dddddd"})}),this.canvas.find(["path.edge"]).forEach(r=>{e.has(r.id())||r.stroke({color:"#dddddd"})})}restoreInitialDiagram(){this.canvas.remove(),this.requestMappingData=null,this.edgeColors=new Map,this.nodeAndMarkerColors=new Map,this.graphicalCustomizations=[],this.graphicalCustomizationsEnrichment=[],this.highlightedEntities=new Map,this.isWidthSliderDisabled=!0,this.widthSliderInputValue=0,this.widthSliderValue=0,this.initializeDiagram(),this.customizationInput=void 0,this.shareToken=void 0}toggleEnrichmentTable(){this.isShowEnrichmentTable=!this.isShowEnrichmentTable}toggleCustomizationTable(){this.isShowCustomizationTable=!this.isShowCustomizationTable}initializeDiagram(){this.progressBar.show(),RA([this.diagramService.getViewBox(),this.diagramService.getSVG()]).subscribe(([i,o])=>{this.viewboxOriginal=i,this.canvas=WT().addTo("#enteropathway").size("100%","100%").viewbox(this.viewboxOriginal).panZoom({zoomMin:this.zoomParameters.min,zoomMax:this.zoomParameters.max,zoomFactor:1}).attr("id","canvas").attr("preserveAspectRatio","xMinYMin meet").attr("text-rendering","optimizeSpeed").attr("xmlns:xlink","http://www.w3.org/1999/xlink").attr("xmlns","http://www.w3.org/2000/svg"),this.canvas.svg(o),this.canvas.find("text").css("pointer-events","none"),this.canvas.find([".edge",".node"]).css("cursor","pointer").click(s=>{this.displayElementInformation(s.target.id)}),this.collectInitialDiagramColors(),this.requestMappingData&&(this.customizationForm.controls.mapping.setValue(this.requestMappingData),this.mapItems(this.requestMappingData,!1,"","",0,!1,!1,!1)),this.shareToken&&this.diagramService.restoreSharedCustomization(this.shareToken).subscribe(s=>{const a=s.graphicalCustomizations;if(this.customizationForm.controls.highlightModuleBox.setValue(s.isHighlightModuleBox),this.customizationForm.controls.highlightModuleBoxOnly.setValue(s.isHighlightModuleBoxOnly),"Mapping"==s.type)this.applyCustomization(a,s.isHighlightModuleBox,s.isHighlightModuleBoxOnly),this.customizationForm.controls.highlightCompleteModule.setValue(s.isHighlightCompleteModule);else{const l=s;this.customizationForm.controls.enrichmentAnalysis.setValue(!0),this.customizationForm.controls.enrichmentAnalysisColor.setValue(l.enrichmentAnalysisColor),this.customizationForm.controls.enrichmentAnalysisInputType.setValue(l.enrichmentAnalysisInputType),this.customizationForm.controls.enrichmentAnalysisPValueCutoff.setValue(l.enrichmentAnalysisPValueCutoff),this.enrichmentSet=a.map(f=>
1({symbol:f.element,name:f.elementName,pValue:f.pValue,fdr:f.qValue})),this.graphicalCustomizationsEnrichment=a;const u=a.filter(f=>f.pValue<.1);this.applyCustomization(u,s.isHighlightModuleBox,s.isHighlightModuleBoxOnly),this.isShowEnrichmentTable=!0}this.widthSlider.value=s.widthSliderValue}),this.progressBar.hide()})}mapItems(e,r,i,o,s,a,l,u){if(e&&""!=e){this.progressBar.show();const f=Array.from(e.split("\n"));r?this.diagramService.getCustomizationByEnrichment(f,i,o,s,l).subscribe(h=>{this.enrichmentSet=h.map(m=>({symbol:m.element,name:m.elementName,pValue:m.pValue,fdr:m.qValue})),this.graphicalCustomizationsEnrichment=h;const v=h.filter(m=>m.pValue<s);this.applyCustomization(v,a,u),this.isShowEnrichmentTable=!0,this.progressBar.hide(),null==this.customizationInput?this.customizationInput=new cDe("",this.isClearOriginalColors(),!1,!1,this.widthSliderValue,"","",0,f,null):this.customizationInput.entries.push(...f)}):this.diagramService.getGraphicIdsForElements(f,l).subscribe(h=>{this.applyCustomization(h,a,u),this.progressBar.hide(),null==this.customizationInput?this.customizationInput=new WX("",this.isClearOriginalColors(),!1,!1,!1,this.widthSliderValue,f,null):this.customizationInput.entries.push(...f)})}}updateWidth(e){const r=e-this.widthSliderInputValue;this.widthSliderInputValue=e,this.graphicalCustomizations.forEach(i=>{const o=Object.keys(i.aesthetics)[0];i.aesthetics[o].width=+i.aesthetics[o].width+r}),this.updateDiagram(this.graphicalCustomizations,this.customizationForm.value.highlightModuleBox,this.customizationForm.value.highlightModuleBoxOnly)}updateEnrichmentCutOff(e){const r=this.graphicalCustomizationsEnrichment.filter(l=>l.pValue<e),i=new Set(this.graphicalCustomizations.map(l=>l.element)),o=new Set(r.map(l=>l.element)),s=r.filter(l=>!i.has(l.element)),a=this.graphicalCustomizations.filter(l=>!o.has(l.element));if(this.graphicalCustomizations=r,a.length>0){const l=this.isClearOriginalColors();a.forEach(u=>{u.graphicIds.forEach(f=>{const h=this.canvas.find("#"+f);if(f.startsWith("e")){const v=this.edgeColors.get(f);h.stroke(l?{color:"#dddddd",width:v[1]}:{color:v[0],width:v[1]})}else{const v=this.nodeAndMarkerColors.get(f);h.fill(l?{color:"#dddddd"}:{color:v})}})})}s.length>0&&this.applyCustomization(r,!1,!1)}updateDiagram(e,r,i){e.forEach(o=>{if(o.graphicIds){const s=o.element,a=Object.keys(o.aesthetics)[0],l=o.aesthetics[a];if(s.startsWith("M")||s.startsWith("EPM")||s.startsWith("gmm")||s.startsWith("gbm")||s.startsWith("mcp")){const u=new ODe(l,s,o.graphicIds);u.isHighlightModuleBoxOnly=i,u.isHighlightModuleBox=r,u.customize(this.canvas)}else{let u;u=o.graphicIds[0].startsWith("n")?new IDe(l,s,o.graphicIds):new TDe(l,s,o.graphicIds),u.customize(this.canvas)}}})}clearHighlight(){for(let e of this.highlightedEntities.values())e.forEach(r=>{this.canvas.find("#"+r).remove()})}highlight(e){e.checked?(this.clearHighlight(),this.progressBar.show(),this.diagramService.getGraphicIdsForElements([e.id],!1).subscribe(i=>{i.forEach(o=>{if(o.graphicIds){const s=Object.keys(o.aesthetics)[0],a=o.aesthetics[s];o.graphicIds.forEach(l=>{const u=this.canvas.find("#"+l),f=u.clone(),h=u.id()[0]+"-highlight";f.id(h),f.opacity(.5),f.stroke({color:a.color,width:30,linecap:"round"}).attr({"marker-end":null,"marker-start":null}),"circle"==f.type&&f.fill({color:a.color}),f.addTo(this.canvas),f.click(()=>{this.displayElementInformation(u.id()[0])});let v=this.highlightedEntities.get(e.id);v||(v=new Array,this.highlightedEntities.set(e.id,v)),v.push(h)})}}),this.progressBar.hide()})):this.clearHighlight()}displayElementInformation(e){this.selectionDetails.clear();const r=this.selectionDetails.createComponent(ZMe);this.diagramService.getElementNames(e).subscribe(i=>{r.instance.setElements(i)})}download(){this.progressBar.show();const e=this.el.nativeElement.querySelector("#canvas"),r=this.canvas.viewbox(),i=new bo({orientation:"landscape",unit:"px",format:[r.width,r.height]});i.svg(e,{width:i.internal.pageSize.getWidth(),height:i.internal.pageSize.getHeight()}).then(()=>{i.save("enteropathway.pdf")})}zoomReset(){this.canvas.viewbox(this.viewboxOriginal)}zoomIn(){this.zoom(1)}zoomOut(){this.zoom(-1)}storeCustomization(){const e=this.dialog.open(kDe);
1e.componentInstance.newCustomizationNameEvent.pipe(sb()).subscribe(r=>{if(this.customizationInput.name=r,this.customizationInput.isHighlightModuleBox=this.customizationForm.value.highlightModuleBox,this.customizationInput.isHighlightModuleBoxOnly=this.customizationForm.value.highlightModuleBoxOnly,this.customizationInput.isClearOriginalColors=this.isClearOriginalColors(),this.customizationInput.widthSliderValue=this.widthSliderValue,this.isEnrichmentForm()){const i=this.customizationInput;i.enrichmentAnalysisColor=this.customizationForm.value.enrichmentAnalysisColor,i.enrichmentAnalysisInputType=this.customizationForm.value.enrichmentAnalysisInputType,i.enrichmentAnalysisPValueCutoff=this.customizationForm.value.enrichmentAnalysisPValueCutoff}else this.customizationInput.isHighlightCompleteModule=this.customizationForm.value.highlightCompleteModule;this.customizationStorageService.storeCustomization(this.customizationInput).subscribe({next:i=>{this.customizationList=[i].concat(this.customizationList)},error:i=>{console.error(i)},complete:()=>{console.log("done")}}),e.close()})}loadStoredCustomizations(){this.customizationStorageService.listCustomizations().subscribe({next:e=>{this.customizationList=e},error:e=>{console.log(e)}})}restoreCustomization(e){this.restoreInitialDiagram(),this.diagramService.restoreCustomization(e.id).subscribe(r=>{const i=r.graphicalCustomizations;if(this.customizationForm.controls.highlightModuleBox.setValue(r.isHighlightModuleBox),this.customizationForm.controls.highlightModuleBoxOnly.setValue(r.isHighlightModuleBoxOnly),"Mapping"==e.type)this.applyCustomization(i,r.isHighlightModuleBox,r.isHighlightModuleBoxOnly),this.customizationForm.controls.highlightCompleteModule.setValue(r.isHighlightCompleteModule);else{const o=r;this.customizationForm.controls.enrichmentAnalysis.setValue(!0),this.customizationForm.controls.enrichmentAnalysisColor.setValue(o.enrichmentAnalysisColor),this.customizationForm.controls.enrichmentAnalysisInputType.setValue(o.enrichmentAnalysisInputType),this.customizationForm.controls.enrichmentAnalysisPValueCutoff.setValue(o.enrichmentAnalysisPValueCutoff),this.enrichmentSet=i.map(a=>({symbol:a.element,name:a.elementName,pValue:a.pValue,fdr:a.qValue})),this.graphicalCustomizationsEnrichment=i;const s=i.filter(a=>a.pValue<.1);this.applyCustomization(s,r.isHighlightModuleBox,r.isHighlightModuleBoxOnly),this.isShowEnrichmentTable=!0}this.widthSlider.value=r.widthSliderValue})}initializeCustomizationForm(){this.customizationForm=new Km({mapping:new P1(""),enrichmentAnalysis:new P1(!1),enrichmentAnalysisColor:new P1(this.defaultEnrichmentAnalysisColor),enrichmentAnalysisInputType:new P1(""),enrichmentAnalysisPValueCutoff:new P1(this.pValueSliderValue),highlightModuleBox:new P1(!1),highlightCompleteModule:new P1(!1),highlightModuleBoxOnly:new P1(!1)})}isEnrichmentForm(){return this.customizationForm.value.enrichmentAnalysis}collectBlackListElements(){let e=new Set;return this.graphicalCustomizations.forEach(r=>{if(r.graphicIds){const i=r.element;i.startsWith("M")||i.startsWith("EPM")||i.startsWith("gmm")||i.startsWith("gbm")||i.startsWith("mcp")?r.graphicIds.forEach(this.customizationForm.value.highlightModuleBoxOnly?o=>{o.startsWith("n")&&e.add(o)}:this.customizationForm.value.highlightModuleBoxOnly?o=>{e.add(o)}:o=>{o.startsWith("n")||e.add(o)}):r.graphicIds.forEach(o=>{e.add(o)})}}),e}applyCustomization(e,r,i){const o=0==this.graphicalCustomizations.length;this.graphicalCustomizations=this.graphicalCustomizations.concat(e),o?(this.clearOriginalColorsToggle.checked=!0,this.clearOriginalColors(!0)):this.isClearOriginalColors()&&this.greyOutDiagram(),this.isWidthSliderDisabled=!1,this.updateDiagram(e,r,i)}zoom(e){let o=this.canvas.zoom()*(1+.2*e);o<this.zoomParameters.min&&(o=this.zoomParameters.min),o>this.zoomParameters.max&&(o=this.zoomParameters.max),this.canvas.zoom(o),this.zoomLevel=o}}return n.\u0275fac=function(e){return new(e||n)(he(z1),he(pw),he(tZ),he(mw),he(d2),he(Ll),he(F7),he(v2),he(Jr))},n.\u0275cmp=Ir({type:n,selectors:[["app-diagram"]],viewQuery:function(e,r){if(1&e&&(ps(Mke,7,wl),ps(Dke,7,Qb),ps(kke,7,vM)),2&e){let i;
vendor: 4,011 bytes, line 1
1_i(i=xi())&&(r.selectionDetails=i.first),_i(i=xi())&&(r.clearOriginalColorsToggle=i.first),_i(i=xi())&&(r.widthSlider=i.first)}},decls:118,vars:35,consts:[[2,"margin-top","4px"],[2,"z-index","20","position","absolute","margin-left","8px","margin-top","10px","max-width","10px"],["fxLayout","row","fxLayoutAlign","none start","fxLayoutGap","8px"],["fxLayout","column","fxLayoutAlign","space-around start","fxLayoutGap","4px"],["mat-mini-fab","","type","button",3,"matTooltip","click"],["mat-mini-fab","","aria-label","Zoom In","matTooltip","Zoom In","color","accent",3,"click"],["mat-mini-fab","","aria-label","Reset Zoom","matTooltip","Zoom Reset","color","accent",3,"click"],["mat-mini-fab","","aria-label","Zoom Out","matTooltip","Zoom Out","color","accent",3,"click"],["mat-mini-fab","","matTooltip","Restore Original Map","color","accent",3,"click"],["mat-mini-fab","","matTooltip","Show Analytics pane","color","accent",3,"click"],["mat-mini-fab","","matTooltip","Restore saved customizations","color","accent",3,"click",4,"ngIf"],["fxLayout","column","fxLayoutAlign","none start"],[3,"fxShow"],[1,"mat-elevation-z18"],["fxLayout","row","fxLayoutAlign","space-between center"],[1,"permanent-marker",2,"font-size","24px"],["mat-icon-button","","aria-label","Minimize","matTooltip","Hide Settings",2,"color","#dee2e6",3,"click"],["id","customization","fxLayout","column","fxLayoutAlign","space-around start","autocomplete","off",3,"formGroup","submit"],["appearance","fill","color","accent","matTooltip","Type or paste your selection",2,"width","98%"],["id","mapping-data-area","matInput","","formControlName","mapping","cdkTextareaAutosize","","cdkAutosizeMinRows","5","cdkAutosizeMaxRows","5"],["formControlName","enrichmentAnalysis","labelPosition","before","matTooltip","Do an Enrichment analysis to generate colors. Note this will ignore any color specification in the input",2,"margin-bottom","1rem"],["appearance","standard","color","accent"],["formControlName","enrichmentAnalysisInputType"],[3,"value",4,"ngFor","ngForOf"],["type","color","formControlName","enrichmentAnalysisColor","placeholder","Color",2,"border-style","unset"],["formControlName","enrichmentAnalysisPValueCutoff","matTooltip","Increase/Decrease p-value cutoff",3,"disabled","min","max","step","thumbLabel","input"],["pValueSlider",""],["mat-icon-button","","type","button","aria-label","info","matTooltip","Options for highlighting modules","color","warn"],[1,"module-highlight"],["formControlName","highlightCompleteModule","matTooltip","Highlight all the module if at least one reaction is matched",1,"module-highlight-item",3,"disabled"],["formControlName","highlightModuleBox","matTooltip","Highlights the module title box",1,"module-highlight-item",3,"change"],["formControlName","highlightModuleBoxOnly","matTooltip","Highlights the module title box only",1,"module-highlight-item",3,"change"],["labelPosition","before","matTooltip","Grey out map elements that are not matched by the selection",2,"margin-bottom","1rem",3,"change"],["clearOriginalColorsToggle",""],["matTooltip","Increase/Decrease mapped elements width",3,"disabled","min","max","step","thumbLabel","ngModel","ngModelChange","input"],["widthSlider",""],["mat-icon-button","","matTooltip","Set slider Min, Max, and Step","color","warn",3,"disabled","click"],["fxLayout","row","fxLayoutAlign","none center","fxLayoutGap","4px",3,"fxShow"],["appearance","standard",1,"example-margin",2,"width","50px"],["matInput","","type","number",3,"ngModel","ngModelChange"],["mat-mini-fab","","color","accent",3,"click"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","4px"],["type","file",2,"display","none",3,"change"],["fileUpload",""],[1,"file-upload"],["mat-mini-fab","","matTooltip","Upload","type","button",2,"color","#ffffff","background-color","#007bff",3,"click"],["mat-mini-fab","","matTooltip","download","type","button","style","color: #ffffff; background-color: #007bff",3,"click",4,"ngIf"],["mat-mini-fab","","color","warn","matTooltip","Re
1set","type","button","form","customization",3,"click"],["mat-mini-fab","","matTooltip","Submit","type","submit","form","customization",2,"color","#ffffff","background-color","#28a745"],["mat-mini-fab","","matTooltip","Store","type","button","color","accent",3,"disabled","click",4,"ngIf"],["selectionDetails",""],[1,"enrichment-table",3,"fxShow","data","minimize"],[1,"customization-table",3,"fxShow","data","minimize"],[1,"full-text-search",3,"highlight"],["id","enteropathway"],["mat-mini-fab","","matTooltip","Restore saved customizations","color","accent",3,"click"],[3,"value"],["mat-mini-fab","","matTooltip","download","type","button",2,"color","#ffffff","background-color","#007bff",3,"click"],["mat-mini-fab","","matTooltip","Store","type","button","color","accent",3,"disabled","click"]],template:function(e,r){if(1&e){const i=ca();Te(0,"main",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"button",4),pr("click",function(){return r.updateCogsVisibility()}),Te(5,"mat-icon"),pt(6,"settings"),Re()(),Te(7,"button",5),pr("click",function(){return r.zoomIn()}),Te(8,"mat-icon"),pt(9,"add"),Re()(),Te(10,"button",6),pr("click",function(){return r.zoomReset()}),Te(11,"mat-icon"),pt(12,"cached"),Re()(),Te(13,"button",7),pr("click",function(){return r.zoomOut()}),Te(14,"mat-icon"),pt(15,"remove"),Re()(),Te(16,"button",8),pr("click",function(){return r.restoreInitialDiagram()}),Te(17,"mat-icon"),pt(18,"restore"),Re()(),Te(19,"button",9),pr("click",function(){return r.toggleEnrichmentTable()}),Te(20,"mat-icon"),pt(21,"list"),Re()(),Ln(22,Tke,3,0,"button",10),Re(),Te(23,"div",11)(24,"div",12)(25,"mat-card",13)(26,"mat-card-content")(27,"div",14)(28,"span",15),pt(29,"Settings"),Re(),Te(30,"button",16),pr("click",function(){return r.updateCogsVisibility()}),Te(31,"mat-icon"),pt(32,"remove"),Re()()(),Te(33,"form",17),pr("submit",function(){return r.onSubmit()}),Te(34,"mat-form-field",18)(35,"mat-label"),pt(36,"Enter your map customization data here"),Re(),ar(37,"textarea",19),Re(),Te(38,"div")(39,"mat-slide-toggle",20),pt(40," Enrichment analysis "),Re()(),Te(41,"div",12)(42,"div")(43,"mat-form-field",21)(44,"mat-label"),pt(45,"Input type"),Re(),Te(46,"mat-select",22),Ln(47,Ike,2,2,"mat-option",23),Re()()(),Te(48,"p"),pt(49," Color: "),ar(50,"input",24),Re(),Te(51,"div"),pt(52," P-value: "),Te(53,"mat-slider",25,26),pr("input",function(s){return r.updateEnrichmentCutOff(s.value)}),Re()()(),Te(55,"div"),pt(56," Module highlight: "),Te(57,"button",27)(58,"mat-icon"),pt(59,"info"),Re()(),Te(60,"section",28)(61,"mat-checkbox",29),pt(62," Whole "),Re(),Te(63,"mat-checkbox",30),pr("change",function(s){return r.updateHighlightModuleBoxOnly(s.checked)}),pt(64,"Box "),Re(),Te(65,"mat-checkbox",31),pr("change",function(s){return r.updateHighlightModuleBox(s.checked)}),pt(66,"Box only "),Re()()(),Te(67,"div")(68,"mat-slide-toggle",32,33),pr("change",function(s){return r.clearOriginalColors(s.checked)}),pt(70,"Clear original colors "),Re()()(),Te(71,"div")(72,"mat-slider",34,35),pr("ngModelChange",function(s){return r.widthSliderValue=s})("input",function(s){return r.updateWidth(s.value)}),Re(),Te(74,"button",36),pr("click",function(){return r.widthSliderSettingsOpenState=!r.widthSliderSettingsOpenState}),Te(75,"mat-icon"),pt(76,"tune"),Re()()(),Te(77,"div",37)(78,"mat-form-field",38)(79,"mat-label"),pt(80,"Min value"),Re(),Te(81,"input",39),pr("ngModelChange",function(s){return r.widthSliderMin=s}),Re()(),Te(82,"mat-form-field",38)(83,"mat-label"),pt(84,"Max value"),Re(),Te(85,"input",39),pr("ngModelChange",function(s){return r.widthSliderMax=s}),Re()(),Te(86,"mat-form-field",38)(87,"mat-label"),pt(88,"Step size"),Re(),Te(89,"input",39),pr("ngModelChange",function(s){return r.widthSliderStep=s}),Re()()(),Te(90,"div"),pt(91," Load example input: "),Te(92,"button",40),pr("click",function(){return r.customizationForm.controls.mapping.setValue(r.exampleMappingData)}),pt(93,"1 "),Re()()(),Te(94,"mat-card-content")(95,"div",41)(96,"input",42,43),pr("change",function(s){return r.upload(s)}),Re(),Te(98,"div",44)(99,"button",45),pr("click",function(){return hs(i),Ss(Da(97).click())}),Te(100,"mat-icon"),pt(101,"upgrade"),Re()()(),Ln(102,Oke,3,0,"button",46),Te(103,"button",47),pr("click",function(){return r.resetForm()}),Te(104,"mat-icon"),pt(105,"settings_backup_restore"),Re()(),Te(106,"button",48)(107,"mat-icon"),pt(108,"send"),Re()(),Ln(109,Rke,3,1,"button",49),Re()()()(),ar(110,"div",null,50),Re(),Te(112,"app-enrichment-table",51),pr("minimize",function(){return r.toggleEnrichmentTable()}),Re(),Te(113,"app-customization-table",52),pr("minimize",function(){return r.toggleCustomizationTable()}),Re()()(),Te(114,"app-full-text-search",53),pr("highlight",function(s){return r.highlight(s)}),Re(),Te(115,"div"),ar(116,"app-spinner")(117,"div",54),Re()()}2&e&&(ct(4),Gf(Gs(33,Lke)),Dt("matTooltip",(r.isVisibleCogs?"Show":"Hide")+" Settings"),ct(18),Dt("ngIf",r.isLoggedIn()),ct(2),Gf(r.isVisibleCogs?"width: 0rem;":"width: 18rem;"),Dt("fxShow",!r.isVisibleCogs),ct(9),Dt("formGroup",r.customizationForm),ct(8),Dt("fxShow",r.customizationForm.controls.enrichmentAnalysis.value),
1ct(6),Dt("ngForOf",Gs(34,Pke)),ct(6),Dt("disabled",!1)("min",0)("max",1)("step",.05)("thumbLabel",!0),ct(8),Dt("disabled",r.customizationForm.controls.enrichmentAnalysis.value),ct(11),Dt("disabled",r.isWidthSliderDisabled)("min",r.widthSliderMin)("max",r.widthSliderMax)("step",r.widthSliderStep)("thumbLabel",!0)("ngModel",r.widthSliderValue),ct(2),Dt("disabled",r.isWidthSliderDisabled),ct(3),Dt("fxShow",r.widthSliderSettingsOpenState),ct(4),Dt("ngModel",r.widthSliderMin),ct(4),Dt("ngModel",r.widthSliderMax),ct(4),Dt("ngModel",r.widthSliderStep),ct(13),Dt("ngIf",r.isLoggedIn()),ct(7),Dt("ngIf",r.isLoggedIn()),ct(3),Dt("fxShow",r.isShowEnrichmentTable)("data",r.enrichmentSet),ct(1),Dt("fxShow",r.isShowCustomizationTable)("data",r.customizationList))},dependencies:[lf,jl,S6,J2,GA,t0,C6,pv,Q2,Sp,Ha,qd,ja,Rb,xv,dc,rg,ng,Ev,n2,Yd,Uu,E0e,td,vM,Qb,Kd,zj,NI,KDe,ake,Ake],styles:['@import"https://fonts.googleapis.com/icon?family=Material+Icons&display=block";main[_ngcontent-%COMP%]{font-family:Roboto,sans-serif}mat-card-actions[_ngcontent-%COMP%]{margin-left:4px;margin-bottom:4px}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}.module-highlight[_ngcontent-%COMP%]{display:flex;align-content:center;align-items:center;height:60px}.module-highlight-item[_ngcontent-%COMP%]{margin:0 10px}.full-text-search[_ngcontent-%COMP%]{margin-top:10px;right:20px;display:block;position:fixed!important;z-index:20!important;background:transparent!important;padding:0!important}.enrichment-table[_ngcontent-%COMP%]{min-width:600px;max-width:600px;background:transparent!important;padding:0!important}.customization-table[_ngcontent-%COMP%]{min-width:400px;max-width:400px;background:transparent!important;padding:0!important}']}),n})(),iZ=(()=>{class n{constructor(e){this.http=e,this.downloadsApi=ka.enteropathwayGraphicsApiEndpoint+"api/graphics",this.dataDownloadsApi=ka.enteropathwayApiEndpoint+"api/data"}download(e){return this.http.get(`${this.downloadsApi+"/download"}/${e}`,{headers:(new Z2).append("Content-Type","application/gzip"),responseType:"blob",observe:"body"})}downloadCsv(e){return this.http.get(`${this.dataDownloadsApi+"/download"}/${e}`,{headers:(new Z2).append("Content-Type","text/csv"),responseType:"blob",observe:"body"})}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Nke=(()=>{class n{constructor(e,r){this.nav=e,this.downloadsService=r}ngOnInit(){this.nav.show()}download(e){this.downloadsService.download(e).subscribe(r=>{const i=window.URL.createObjectURL(r),o=document.createElement("a");document.body.appendChild(o),o.setAttribute("style","display: none"),o.href=i,o.download="enteropathway."+e+".gz",o.click(),window.URL.revokeObjectURL(i),o.remove()},r=>{console.log("download error:",JSON.stringify(r))})}downloadCsv(e){this.downloadsService.downloadCsv(e).subscribe(r=>{const i=window.URL.createObjectURL(r),o=document.createElement("a");document.body.appendChild(o),o.setAttribute("style","display: none"),o.href=i,o.download="enteropathway."+e+".tsv",o.click(),window.URL.revokeObjectURL(i),o.remove()},r=>{console.log("download error:",JSON.stringify(r))})}}return n.\u0275fac=function(e){return new(e||n)(he(d2),he(iZ))},n.\u0275cmp=Ir({type:n,selectors:[["app-downloads"]],decls:23,vars:0,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stetch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],[2,"font-size","48px","font-family","'Monoton', cursive"],[1,"justify","text-light"],["id","tsv-data"],[1,"permanent-marker"],["href","#",1,"link",3,"click"]],template:function(e,r){1&e&&(Te(0,"main")(1,"div",0)(2,"header")(3,"span",1),pt(4,"Downloads"),Re(),Te(5,"p",2),pt(6," Enteropathway is available for download to registered users as Tab separated values "),Re()(),Te(7,"section",3)(8,"h3",4),pt(9,"Links"),Re(),Te(10,"ul")(11,"li")(12,"a",5),pr("click",function(){return r.downloadCsv("compounds")}),pt(13,"Compounds"),Re()(),Te(14,"li")(15,"a",5),pr("click",function(){return r.downloadCsv("reactions")}),pt(16,"Reactions"),Re()(),Te(17,"li")(18,"a",5),pr("click",function(){return r.downloadCsv("modules")}),pt(19,"Modules"),Re()(),Te(20,"li")(21,"a",5),pr("click",function(){return r.downloadCsv("list")}),pt(22,"Modules_hierarchy"),Re()()()()()())},dependencies:[Ha,ja,t2,Yc],styles:['@import"https://fonts.googleapis.com/icon?family=Material+Icons&display=block";main[_ngcontent-%COMP%]{font-family:Roboto,sans-serif}.cursive-grey[_ngcontent-%COMP%]{color:gray;font-family:Monoton,cursive}']}),n})(),Fke=(()=>{class n{constructor(e,r,i){this.route=e,this.entityService=r,this.nav=i}ngOnInit(){this.nav.show(),this.route.paramMap.pipe(uc(e=>this.setId(e.get("id")))).subscribe(e=>{}),this.find(this.id)}setId(e){return this.id=e,this.id}find(e){this.entityService.findEntity(e).subscribe(r=>this.entity=r)}}return n.\u0275fac=function(e){return new(e||n)(he(z1),he(Fx),he(d2))},n.\u0275cmp=Ir({type:n,selectors:[["app-entity"]],decls:18,vars:3,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],[2,"font-size","32px","font-family","'Monoton', cursive"],["fxLayout","row"],["fxFlex","9","fxLayoutAlign","end"],["fxFlex","2"],[1,"text-light"]],template:function(e,r){1&e&&(Te(0,"main")(1,"div",0)(2,"div")(3,"span",1),pt(4),Re()(),ar(5,"mat-divider"),Te(6,"p",2)(7,"span",3),pt(8,"Name"),Re(),ar(9,"span",4),Te(10,"span",5),pt(11),Re()(),Te(12,"p",2)(13,"span",3),pt(14,"Description"),Re(),ar(15,"span",4),Te(16,"span",5),pt(17),Re()()()()),2&e&&(ct(4),oo(null==r.entity?null:r.entity.identifier),ct(7),oo(null==r.entity?null:r.entity.name),ct(6),oo(null==r.entity?null:r.entity.description))},dependencies:[Ha,ja,t2,Yc,T6],styles:["main[_ngcontent-%COMP%]{font-family:Roboto,sans-serif}"]}),n})();var oZ={prefix:"fas",iconName:"barcode",icon:[512,512,[],"f02a","M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"]},sZ={prefix:"fas",iconName:"bezier-curve",icon:[640,512,[],"f55b","M368 32h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM208 88h-84.75C113.75 64.56 90.84 48 64 48 28.66 48 0 76.65 0 112s28.66 64 64 64c26.84 0 49.75-16.56 59.25-40h79.73c-55.37 32.52-95.86 87.32-109.54 152h49.4c11.3-41.61 36.77-77.21 71.04-101.56-3.7-8.08-5.88-16.99-5.88-26.44V88zm-48 232H64c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zM576 48c-26.84 0-49.75 16.56-59.25 40H432v72c0 9.45-2.19 18.36-5.88 26.44 34.27 24.35 59.74 59.95 71.04 101.56h49.4c-13.68-64.68-54.17-119.48-109.54-152h79.73c9.5 23.44 32.41 40 59.25 40 35.34 0 64-28.65 64-64s-28.66-64-64-64zm0 272h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"]},aZ={prefix:"fas",iconName:"sitemap",icon:[640,512,[],"f0e8","M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"]};class fYe{constructor(){this.radius=0,this.mass=0}load(t){!t||(void 0!==t.mass&&(this.mass=t.mass),void 0!==t.radius&&(this.radius=t.radius))}}class dYe extends c2{constructor(){super(),this.density=5,this.value=50,this.limit=new fYe}load(t){!t||(super.load(t),void 0!==t.density&&(this.density=t.density),"number"==typeof t.limit?this.limit.radius=t.limit:this.limit.load(t.limit))}}class gw{constructor(){this.color=new Gl,this.color.value="#000000",this.draggable=!1,this.opacity=1,this.destroy=!0,this.orbits=!1,this.size=new dYe}load(t){void 0!==t&&(void 0!==t.color&&(this.color=Gl.create(this.color,t.color)),void 0!==t.draggable&&(this.draggable=t.draggable),this.name=t.name,void 0!==t.opacity&&(this.opacity=t.opacity),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=Do(t.position.x)),void 0!==t.position.y&&(this.position.y=Do(t.position.y))),void 0!==t.size&&this.size.load(t.size),void 0!==t.destroy&&(this.destroy=t.destroy),void 0!==t.orbits&&(this.orbits=t.orbits))}}class hYe{constructor(t,e,r,i){var o,s,a;this.absorbers=t,this.container=e,this.initialPosition=i?el.create(i.x,i.y):void 0,r instanceof gw?this.options=r:(this.options=new gw,this.options.load(r)),this.dragging=!1,this.name=this.options.name,this.opacity=this.options.opacity,this.size=Pi(this.options.size.value)*e.retina.pixelRatio,this.mass=this.size*this.options.size.density
1*e.retina.reduceFactor;const l=this.options.size.limit;this.limit={radius:l.radius*e.retina.pixelRatio*e.retina.reduceFactor,mass:l.mass},this.color=null!==(o=a2(this.options.color))&&void 0!==o?o:{b:0,g:0,r:0},this.position=null!==(a=null===(s=this.initialPosition)||void 0===s?void 0:s.copy())&&void 0!==a?a:this.calcPosition()}attract(t){const e=this.container,r=this.options;if(r.draggable){const u=e.interactivity.mouse;u.clicking&&u.downPosition?Xc(this.position,u.downPosition)<=this.size&&(this.dragging=!0):this.dragging=!1,this.dragging&&u.position&&(this.position.x=u.position.x,this.position.y=u.position.y)}const i=t.getPosition(),{dx:o,dy:s,distance:a}=l1(this.position,i),l=el.create(o,s);if(l.length=this.mass/Math.pow(a,2)*e.retina.reduceFactor,a<this.size+t.getRadius()){const u=.033*t.getRadius()*e.retina.pixelRatio;this.size>t.getRadius()&&a<this.size-t.getRadius()||void 0!==t.absorberOrbit&&t.absorberOrbit.length<0?r.destroy?t.destroy():(t.needsNewPosition=!0,this.updateParticlePosition(t,l)):(r.destroy&&(t.size.value-=u),this.updateParticlePosition(t,l)),(this.limit.radius<=0||this.size<this.limit.radius)&&(this.size+=u),(this.limit.mass<=0||this.mass<this.limit.mass)&&(this.mass+=u*this.options.size.density*e.retina.reduceFactor)}else this.updateParticlePosition(t,l)}draw(t){t.translate(this.position.x,this.position.y),t.beginPath(),t.arc(0,0,this.size,0,2*Math.PI,!1),t.closePath(),t.fillStyle=Qd(this.color,this.opacity),t.fill()}resize(){const t=this.initialPosition;this.position=t&&Uv(t,this.container.canvas.size,el.origin)?t:this.calcPosition()}calcPosition(){const t=g$({size:this.container.canvas.size,position:this.options.position});return el.create(t.x,t.y)}updateParticlePosition(t,e){var r;if(t.destroyed)return;const i=this.container,o=i.canvas.size;if(t.needsNewPosition){const s=m$({size:o});t.position.setTo(s),t.velocity.setTo(t.initialVelocity),t.absorberOrbit=void 0,t.needsNewPosition=!1}
1if(this.options.orbits){if(void 0===t.absorberOrbit&&(t.absorberOrbit=el.create(0,0),t.absorberOrbit.length=Xc(t.getPosition(),this.position),t.absorberOrbit.angle=is()*Math.PI*2),t.absorberOrbit.length<=this.size&&!this.options.destroy){const f=Math.min(o.width,o.height);t.absorberOrbit.length=f*(.2*is()-.1+1)}void 0===t.absorberOrbitDirection&&(t.absorberOrbitDirection=t.velocity.x>=0?"clockwise":"counter-clockwise");const s=t.absorberOrbit.length,a=t.absorberOrbit.angle,l=t.absorberOrbitDirection;t.velocity.setTo(el.origin);const u={x:"clockwise"===l?Math.cos:Math.sin,y:"clockwise"===l?Math.sin:Math.cos};t.position.x=this.position.x+s*u.x(a),t.position.y=this.position.y+s*u.y(a),t.absorberOrbit.length-=e.length,t.absorberOrbit.angle+=(null!==(r=t.retina.moveSpeed)&&void 0!==r?r:0)*i.retina.pixelRatio/100*i.retina.reduceFactor}else{const s=el.origin;s.length=e.length,s.angle=e.angle,t.velocity.addTo(s)}}}class pYe{constructor(t){this.container=t,this.array=[],this.absorbers=[],this.interactivityAbsorbers=[],t.getAbsorber=e=>void 0===e||"number"==typeof e?this.array[e||0]:this.array.find(r=>r.name===e),t.addAbsorber=(e,r)=>this.addAbsorber(e,r)}addAbsorber(t,e){const r=new hYe(this,this.container,t,e);return this.array.push(r),r}draw(t){for(const e of this.array)e.draw(t)}handleClickMode(t){const e=this.absorbers;if("absorber"===t){const o=s2(this.interactivityAbsorbers)??s2(e);this.addAbsorber(o,this.container.interactivity.mouse.clickPosition)}}init(){var t=this;return Mr(function*(){t.absorbers=t.container.actualOptions.absorbers,t.interactivityAbsorbers=t.container.actualOptions.interactivity.modes.absorbers,Sl(t.absorbers,e=>{t.addAbsorber(e)})})()}particleUpdate(t){for(const e of this.array)if(e.attract(t),t.destroyed)break}removeAbsorber(t){const e=this.array.indexOf(t);e>=0&&this.array.splice(e,1)}resize(){for(const t of this.array)t.resize()}stop(){this.array=[]}}class mYe{constructor(){this.id="absorbers"}getPlugin(t){return new pYe(t)}loadOptions(t,e){var r,i;!this.needsPlugin(t)&&!this.needsPlugin(e)||(e?.absorbers&&(t.absorbers=Sl(e.absorbers,o=>{const s=new gw;return s.load(o),s})),t.interactivity.modes.absorbers=Sl(null===(i=null===(r=e?.interactivity)||void 0===r?void 0:r.modes)||void 0===i?void 0:i.absorbers,o=>{const s=new gw;return s.load(o),s}))}needsPlugin(t){var e,r,i;if(!t)return!1;const o=t.absorbers;return o instanceof Array?!!o.length:!!o||!(!(null===(i=null===(r=null===(e=t.interactivity)||void 0===e?void 0:e.events)||void 0===r?void 0:r.onClick)||void 0===i?void 0:i.mode)||!hl("absorber",t.interactivity.events.onClick.mode))}}function gYe(n){return zI.apply(this,arguments)}function zI(){return zI=Mr(function*(n){const t=new mYe;yield n.addPlugin(t)}),zI.apply(this,arguments)}class vYe{load(t){!t||(void 0!==t.bottom&&(this.bottom=Do(t.bottom)),void 0!==t.left&&(this.left=Do(t.left)),void 0!==t.right&&(this.right=Do(t.right)),void 0!==t.top&&(this.top=Do(t.top)))}}class yYe extends c2{constructor(){super(),this.value=3}}class bYe extends c2{constructor(){super(),this.value={min:4,max:9}}}class _Ye{constructor(){this.count=1,this.factor=new yYe,this.rate=new bYe,this.sizeOffset=!0}load(t){!t||(void 0!==t.count&&(this.count=t.count),this.factor.load(t.factor),this.rate.load(t.rate),this.particles=Sl(t.particles,e=>hc({},e)),void 0!==t.sizeOffset&&(this.sizeOffset=t.sizeOffset))}}class xYe{constructor(){this.bounds=new vYe,this.mode="none",this.split=new _Ye}load(t){!t||(t.mode&&(this.mode=t.mode),t.bounds&&this.bounds.load(t.bounds),this.split.load(t.split))}}class wYe{constructor(t,e){this.engine=t,this.container=e}init(t){const e=this.container,i=t.options.destroy;if(!i)return;t.splitCount=0;const o=i.bounds;t.destroyBounds||(t.destroyBounds={}),o.bottom&&(t.destroyBounds.bottom=Pi(o.bottom)*e.canvas.size.height/100),o.left&&(t.destroyBounds.left=Pi(o.left)*e.canvas.size.width/100),o.right&&(t.destroyBounds.right=Pi(o.right)*e.canvas.size.width/100),o.top&&(t.destroyBounds.top=Pi(o.top)*e.canvas.size.height/100)}isEnabled(t){return!t.destroyed}loadOptions(t,...e){t.destroy||(t.destroy=new xYe);for(const r of e)t.destroy.load(r?.destroy)}particleDestroyed(t,e){if(e)return;const r=t.options.destroy;r&&"split"===r.mode&&this.split(t)}update(t){if(!this.isEnabled(t))return;const e=t.getPosition(),r=t.destroyBounds;!r||(void 0!==r.bottom&&e.y>=r.bottom||void 0!==r.left&&e.x<=r.left||void 0!==r.right&&e.x>=r.right||void 0!==r.top&&e.y<=r.top)&&t.destroy()}
1addSplitParticle(t,e){const r=t.options.destroy;if(!r)return;const i=r.split,o=OD(this.engine,this.container,t.options),s=h0(i.factor);o.color.load({value:{hsl:t.getFillColor()}}),o.move.load({center:{x:t.position.x,y:t.position.y,mode:"precise"}}),"number"==typeof o.size.value?o.size.value/=s:(o.size.value.min/=s,o.size.value.max/=s),o.load(e);const a=i.sizeOffset?Do(-t.size.value,t.size.value):0,l={x:t.position.x+Kc(a),y:t.position.y+Kc(a)};return this.container.particles.addParticle(l,o,t.group,u=>{var f;return!(u.size.value<.5||(u.velocity.length=Kc(Do(t.velocity.length,u.velocity.length)),u.splitCount=(null!==(f=t.splitCount)&&void 0!==f?f:0)+1,u.unbreakable=!0,setTimeout(()=>{u.unbreakable=!1},500),0))})}split(t){const e=t.options.destroy;if(!e)return;const r=e.split;if(r.count>=0&&(void 0===t.splitCount||t.splitCount++>r.count))return;const i=h0(r.rate),o=s2(r.particles);for(let s=0;s<i;s++)this.addSplitParticle(t,o)}}function CYe(n){return BI.apply(this,arguments)}function BI(){return BI=Mr(function*(n){yield n.addParticleUpdater("destroy",t=>new wYe(n,t))}),BI.apply(this,arguments)}class SYe{randomPosition(t,e,r){const[s,a]=[e.width/2,e.height/2],l=((h,v)=>{const m=is()/4,x=Math.atan(v/h*Math.tan(2*Math.PI*m)),p=is();return p<.25?x:p<.5?Math.PI-x:p<.75?Math.PI+x:-x})(s,a),u=(m=l,(h=s)*(v=a)/Math.sqrt((v*Math.cos(m))**2+(h*Math.sin(m))**2)),f=r?u*Math.sqrt(is()):u;var h,v,m;return{x:t.x+f*Math.cos(l),y:t.y+f*Math.sin(l)}}}class EYe{constructor(){this.wait=!1}load(t){void 0!==t&&(void 0!==t.count&&(this.count=t.count),void 0!==t.delay&&(this.delay=t.delay),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.wait&&(this.wait=t.wait))}}class AYe{constructor(){this.quantity=1,this.delay=.1}load(t){void 0!==t&&(void 0!==t.quantity&&(this.quantity=Do(t.quantity)),void 0!==t.delay&&(this.delay=Do(t.delay)))}}class lZ{constructor(){this.mode="percent",this.height=0,this.width=0}load(t){void 0!==t&&(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.height&&(this.height=t.height),void 0!==t.width&&(this.width=t.width))}}class Qp{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new EYe,this.rate=new AYe,this.shape="square",this.startCount=0}load(t){void 0!==t&&(void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.size&&(void 0===this.size&&(this.size=new lZ),this.size.load(t.size)),void 0!==t.direction&&(this.direction=t.direction),this.domId=t.domId,void 0!==t.fill&&(this.fill=t.fill),this.life.load(t.life),this.name=t.name,this.particles=Sl(t.particles,e=>hc({},e)),this.rate.load(t.rate),void 0!==t.shape&&(this.shape=t.shape),void 0!==t.position&&(this.position={},void 0!==t.position.x&&(this.position.x=Do(t.position.x)),void 0!==t.position.y&&(this.position.y=Do(t.position.y))),void 0!==t.spawnColor&&(void 0===this.spawnColor&&(this.spawnColor=new xg),this.spawnColor.load(t.spawnColor)),void 0!==t.startCount&&(this.startCount=t.startCount))}}class MYe{constructor(t,e,r,i,o){var s,a,l,u,f,h,v,m;this.emitters=e,this.container=r,this._engine=t,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=o,i instanceof Qp?this.options=i:(this.options=new Qp,this.options.load(i)),this._spawnDelay=1e3*(null!==(s=this.options.life.delay)&&void 0!==s?s:0)/this.container.retina.reduceFactor,this.position=null!==(a=this._initialPosition)&&void 0!==a?a:this.calcPosition(),this.name=this.options.name,this._shape=null===(l=this._engine.emitterShapeManager)||void 0===l?void 0:l.getShape(this.options.shape),this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;let x=hc({},this.options.particles);x??(x={}),null!==(u=x.move)&&void 0!==u||(x.move={}),null!==(f=(m=x.move).direction)&&void 0!==f||(m.direction=this.options.direction),this.options.spawnColor&&(this.spawnColor=Op(this.options.spawnColor)),this._paused=!this.options.autoPlay,this._particlesOptions=x,this.size=null!==(h=this.options.size)&&void 0!==h?h:(()=>{const p=new lZ;return p.load({height:0,mode:"percent",width:0}),p})(),this._lifeCount=null!==(v=this.options.life.count)&&void 0!==v?v:-1,this._immortal=this._lifeCount<=0,this._engine.dispatchEvent("emitterCreated",{container:r,data:{emitter:this}}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}getPosition(){if(this.options.domId){const t=this.container,e=document.getElementById(this.options.domId);if(e){const r=e.getBoundingClientRect();return{x:(r.x+r.width/2)*t.retina.pixelRatio,y:(r.y+r.height/2)*t.retina.pixelRatio}}}return this.position}getSize(){const t=this.container;if(this.options.domId){const e=document.getElementById(this.options.domId);if(e){const r=e.getBoundingClientRect();return{width:r.width*t.retina.pixelRatio,height:r.height*t.retina.pixelRatio}}}return{width:"percent"===this.size.mode?t.canvas.size.width*this.size.width/100:this.size.width,height:"percent"===this.size.mode?t.canvas.size.height*this.size.height/100:this.size.height}}pause(){this._paused||delete this._emitDelay}play(){var t;if(!this._paused&&this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=(null!==(t=this._spawnDelay)&&void 0!==t?t:0))){if(void 0===this._emitDelay){const e=Pi(this.options.rate.delay);this._emitDelay=1e3*e/this.container.retina.reduceFactor}(this._lifeCount>0||this._immortal)&&this.prepareToDie()}}resize(){const t=this._initialPosition;this.position=t&&Uv(t,this.container.canvas.size,el.origin)?t:this.calcPosition()}update(t){var e,r,i;this._paused||(this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=null!==(e=this._spawnDelay)&&void 0!==e?e:0,this._currentEmitDelay=null!==(r=this._emitDelay)&&void 0!==r?r:0),this._startParticlesAdded||(this._startParticlesAdded=!0,this.emitParticles(this.options.startCount)),void 0!==this._duration&&(this._currentDuration+=t.value,this._currentDuration>=this._duration&&(this.pause(),void 0!==this._spawnDelay&&delete this._spawnDelay,this._immortal||this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this.calcPosition(),this._spawnDelay=1e3*(null!==(i=this.options.life.delay)&&void 0!==i?i:0)/this.container.retina.reduceFactor):this.destroy(),this._currentDuration-=this._duration,delete this._duration)),void 0!==this._spawnDelay&&(this._currentSpawnDelay+=t.value,this._currentSpawnDelay>=this._spawnDelay&&(this._engine.dispatchEvent("emitterPlay",{container:this.container}),this.play(),this._currentSpawnDelay-=this._currentSpawnDelay,delete this._spawnDelay)),void 0!==this._emitDelay&&(this._currentEmitDelay+=t.value,this._currentEmitDelay>
1=this._emitDelay&&(this.emit(),this._currentEmitDelay-=this._emitDelay)))}calcPosition(){return g$({size:this.container.canvas.size,position:this.options.position})}destroy(){this.emitters.removeEmitter(this),this._engine.dispatchEvent("emitterDestroyed",{container:this.container,data:{emitter:this}})}emit(){if(this._paused)return;const t=Pi(this.options.rate.quantity);this.emitParticles(t)}emitParticles(t){var e,r,i;const o=this.getPosition(),s=this.getSize(),a=s2(this._particlesOptions);for(let l=0;l<t;l++){const u=hc({},a);if(this.spawnColor){const h=null===(e=this.options.spawnColor)||void 0===e?void 0:e.animation;h&&(this.spawnColor.h=this.setColorAnimation(h.h,this.spawnColor.h,360),this.spawnColor.s=this.setColorAnimation(h.s,this.spawnColor.s,100),this.spawnColor.l=this.setColorAnimation(h.l,this.spawnColor.l,100)),u.color?u.color.value=this.spawnColor:u.color={value:this.spawnColor}}if(!o)return;const f=null!==(i=null===(r=this._shape)||void 0===r?void 0:r.randomPosition(o,s,this.fill))&&void 0!==i?i:o;this.container.particles.addParticle(f,u)}}prepareToDie(){var t;if(this._paused)return;const e=null===(t=this.options.life)||void 0===t?void 0:t.duration;this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal)&&void 0!==e&&e>0&&(this._duration=1e3*e)}setColorAnimation(t,e,r){var i;const o=this.container;if(!t.enable)return e;const s=Kc(t.offset),l=1e3*Pi(this.options.rate.delay)/o.retina.reduceFactor;return(e+Pi(null!==(i=t.speed)&&void 0!==i?i:0)*o.fpsLimit/l+3.6*s)%r}}class DYe{constructor(t,e){this.container=e,this._engine=t,this.array=[],this.emitters=[],this.interactivityEmitters={random:{count:1,enable:!1},value:[]},e.getEmitter=r=>void 0===r||"number"==typeof r?this.array[r||0]:this.array.find(i=>i.name===r),e.addEmitter=(r,i)=>this.addEmitter(r,i),e.removeEmitter=r=>{const i=e.getEmitter(r);i&&this.removeEmitter(i)},e.playEmitter=r=>{const i=e.getEmitter(r);i&&i.externalPlay()},e.pauseEmitter=r=>{const i=e.getEmitter(r);i&&i.externalPause()}}addEmitter(t,e){const r=new Qp;r.load(t);const i=new MYe(this._engine,this,this.container,r,e);return this.array.push(i),i}handleClickMode(t){const e=this.emitters,r=this.interactivityEmitters;if("emitter"===t){let i;if(r&&r.value instanceof Array)if(r.value.length>0&&r.random.enable){i=[];const a=[];for(let l=0;l<r.random.count;l++){const u=x$(r.value);a.includes(u)&&a.length<r.value.length?l--:(a.push(u),i.push(jv(r.value,u)))}}else i=r.value;else i=r?.value;const s=this.container.interactivity.mouse.clickPosition;Sl(i??e,a=>{this.addEmitter(a,s)})}}init(){var t=this;return Mr(function*(){if(t.emitters=t.container.actualOptions.emitters,t.interactivityEmitters=t.container.actualOptions.interactivity.modes.emitters,t.emitters instanceof Array)for(const e of t.emitters)t.addEmitter(e);else t.addEmitter(t.emitters)})()}pause(){for(const t of this.array)t.pause()}play(){for(const t of this.array)t.play()}removeEmitter(t){const e=this.array.indexOf(t);e>=0&&this.array.splice(e,1)}resize(){for(const t of this.array)t.resize()}stop(){this.array=[]}update(t){for(const e of this.array)e.update(t)}}const VI=new Map;class kYe{constructor(t){this._engine=t}addShape(t,e){this.getShape(t)||VI.set(t,e)}getShape(t){return VI.get(t)}getSupportedShapes(){return VI.keys()}}function cZ(n,t){return n+t*(is()-.5)}class TYe{randomPosition(t,e,r){if(r)return{x:cZ(t.x,e.width),y:cZ(t.y,e.height)};{const i=e.width/2,o=e.height/2,s=Math.floor(4*is()),a=2*(is()-.5);switch(s){case 0:return{x:t.x+a*i,y:t.y-o};case 1:return{x:t.x-i,y:t.y+a*o};case 2:return{x:t.x+a*i,y:t.y+o};default:return{x:t.x+i,y:t.y+a*o}}}}}class IYe{constructor(t){this._engine=t,this.id="emitters"}getPlugin(t){return new DYe(this._engine,t)}loadOptions(t,e){var r,i,o,s,a,l;if(!this.needsPlugin(t)&&!this.needsPlugin(e))return;e?.emitters&&(t.emitters=Sl(e.emitters,f=>{const h=new Qp;return h.load(f),h}));const u=null===(i=null===(r=e?.interactivity)||void 0===r?void 0:r.modes)||void 0===i?void 0:i.emitters;if(u)if(u instanceof Array)t.interactivity.modes.emitters={random:{count:1,enable:!0},value:u.map(f=>{const h=new Qp;return h.load(f),h})};else{const f=u;if(void 0!==f.value)if(f.value instanceof Array)t.interactivity.modes.emitters={random:{count:null!==(o=f.random.count)&&void 0!==o?o:1,enable:null!==(s=f.random.enable)&&void 0!==s&&s},value:f.value.map(h=>{const v=new Qp;return v.load(h),v})};else{const h=new Qp;h.load(f.value),t.interactivity.modes.emitters={random:{count:null!==(a=f.random.count)&&void 0!==a?a:1,enable:null!==(l=f.random.enable)&&void 0!==l&&l},value:h}}else(t.interactivity.modes.emitters={random:{count:1,enable:!1},value:new Qp}).value.load(u)}}needsPlugin(t){var e,r,i;if(!t)return!1;const o=t.emitters;return o instanceof Array&&!!o.length||void 0!==o||!(null===(i=null===(r=null===(e=t.interactivity)||void 0===e?void 0:e.events)||void 0===r?void 0:r.onClick)||void 0===i||!i.mode)&&hl("emitter",t.interactivity.events.onClick.mode)}}function OYe(n){return HI.apply(this,arguments)}function HI(){return HI=Mr(function*(n){n.emitterShapeManager||(n.emitterShapeManager=new kYe(n)),n.addEmitterShape||(n.addEmitterShape=(e,r)=>{var i;null===(i=n.emitterShapeManager)||void 0===i||i.addShape(e,r)});const t=new IYe(n);
1yield n.addPlugin(t),n.addEmitterShape("circle",new SYe),n.addEmitterShape("square",new TYe)}),HI.apply(this,arguments)}class RYe{constructor(){this.delay=1,this.pauseOnStop=!1,this.quantity=1}load(t){!t||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.quantity&&(this.quantity=t.quantity),void 0!==t.particles&&(this.particles=hc({},t.particles)),void 0!==t.pauseOnStop&&(this.pauseOnStop=t.pauseOnStop))}}class LYe extends id{constructor(t){super(t),this._delay=0}clear(){}init(){}interact(t){var e=this;return Mr(function*(){var r,i,o,s;if(!e.container.retina.reduceFactor)return;const a=e.container,u=a.actualOptions.interactivity.modes.trail;if(!u)return;const f=1e3*u.delay/e.container.retina.reduceFactor;if(e._delay<f&&(e._delay+=t.value),e._delay<f)return;let h=!0;u.pauseOnStop&&(a.interactivity.mouse.position===e._lastPosition||(null===(r=a.interactivity.mouse.position)||void 0===r?void 0:r.x)===(null===(i=e._lastPosition)||void 0===i?void 0:i.x)&&(null===(o=a.interactivity.mouse.position)||void 0===o?void 0:o.y)===(null===(s=e._lastPosition)||void 0===s?void 0:s.y))&&(h=!1),a.interactivity.mouse.position?e._lastPosition={x:a.interactivity.mouse.position.x,y:a.interactivity.mouse.position.y}:delete e._lastPosition,h&&a.particles.push(u.quantity,a.interactivity.mouse,u.particles),e._delay-=f})()}isEnabled(t){var e;const r=this.container,o=r.interactivity.mouse,s=(null!==(e=t?.interactivity)&&void 0!==e?e:r.actualOptions.interactivity).events;return o.clicking&&o.inside&&!!o.position&&hl("trail",s.onClick.mode)||o.inside&&!!o.position&&hl("trail",s.onHover.mode)}loadModeOptions(t,...e){t.trail||(t.trail=new RYe);for(const r of e)t.trail.load(r?.trail)}reset(){}}function PYe(n){return jI.apply(this,arguments)}function jI(){return jI=Mr(function*(n){yield n.addInteractor("externalTrail",t=>new LYe(t))}),jI.apply(this,arguments)}class uZ{constructor(){this.enable=!1,this.value=0}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.value&&(this.value=Do(t.value)))}}class NYe{constructor(){this.darken=new uZ,this.enable=!1,this.enlighten=new uZ,this.mode="vertical",this.speed=25}load(t){!t||(void 0!==t.backColor&&(this.backColor=Gl.create(this.backColor,t.backColor)),this.darken.load(t.darken),void 0!==t.enable&&(this.enable=t.enable),this.enlighten.load(t.enlighten),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.speed&&(this.speed=Do(t.speed)))}}class zYe{getTransformValues(t){var e;const r=(null===(e=t.roll)||void 0===e?void 0:e.enable)&&t.roll,o=r&&r.vertical;return{a:r&&r.horizontal?Math.cos(r.angle):void 0,d:o?Math.sin(r.angle):void 0}}init(t){const e=t.options.roll;if(e?.enable)if(t.roll={enable:e.enable,horizontal:"horizontal"===e.mode||"both"===e.mode,vertical:"vertical"===e.mode||"both"===e.mode,angle:is()*Math.PI*2,speed:Pi(e.speed)/360},e.backColor)t.backColor=Op(e.backColor);else if(e.darken.enable&&e.enlighten.enable){const r=is()>=.5?"darken":"enlighten";t.roll.alter={type:r,value:Pi("darken"===r?e.darken.value:e.enlighten.value)}}else e.darken.enable?t.roll.alter={type:"darken",value:Pi(e.darken.value)}:e.enlighten.enable&&(t.roll.alter={type:"enlighten",value:Pi(e.enlighten.value)});else t.roll={enable:!1,horizontal:!1,vertical:!1,angle:0,speed:0}}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.options.roll?.enable}loadOptions(t,...e){t.roll||(t.roll=new NYe);for(const r of e)t.roll.load(r?.roll)}update(t,e){!this.isEnabled(t)||function FYe(n,t){if(!n.roll||!n.options.roll?.enable)return;const i=2*Math.PI;n.roll.angle+=n.roll.speed*t.factor,n.roll.angle>i&&(n.roll.angle-=i)}(t,e)}}function BYe(n){return UI.apply(this,arguments)}function UI(){return UI=Mr(function*(n){yield n.addParticleUpdater("roll",()=>new zYe)}),UI.apply(this,arguments)}const VYe=n=>{const t=(r,i)=>n.load(r,i);return t.load=(r,i,o)=>{n.loadJSON(r,i).then(s=>{s&&o(s)}).catch(()=>{o(void 0)})},t.setOnClickHandler=r=>{n.setOnClickHandler(r)},{particlesJS:t,pJSDom:n.dom()}};class HYe{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=Do(t.speed)),void 0!==t.decay&&(this.decay=Do(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class jYe extends c2{constructor(){super(),this.animation=new HYe,this.direction="clockwise",this.path=!1,this.value=0}load(t){!t||(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}class $Ye{constructor(t){this.container=t}init(t){const e=t.options.rotate;if(!e)return;t.rotate={enable:e.animation.enable,value:Pi(e.value)*Math.PI/180},t.pathRotation=e.path;let r=e.direction;switch("random"===r&&(r=Math.floor(2*is())>0?"counter-clockwise":"clockwise"),r){case"counter-clockwise":case"counterClockwise":t.rotate.status=1;break;case"clockwise":t.rotate.status=0}const i=e.animation;i.enable&&(t.rotate.decay=1-Pi(i.decay),t.rotate.velocity=Pi(i.speed)/360*this.container.retina.reduceFactor,i.sync||(t.rotate.velocity
1*=is())),t.rotation=t.rotate.value}isEnabled(t){const e=t.options.rotate;return!!e&&!t.destroyed&&!t.spawning&&e.animation.enable&&!e.path}loadOptions(t,...e){t.rotate||(t.rotate=new jYe);for(const r of e)t.rotate.load(r?.rotate)}update(t,e){var r,i;!this.isEnabled(t)||(function UYe(n,t){var e,r;const i=n.rotate,o=n.options.rotate;if(!i||!o)return;const a=(null!==(e=i.velocity)&&void 0!==e?e:0)*t.factor,l=2*Math.PI,u=null!==(r=i.decay)&&void 0!==r?r:1;o.animation.enable&&(0===i.status?(i.value+=a,i.value>l&&(i.value-=l)):(i.value-=a,i.value<0&&(i.value+=l)),i.velocity&&1!==u&&(i.velocity*=u))}(t,e),t.rotation=null!==(i=null===(r=t.rotate)||void 0===r?void 0:r.value)&&void 0!==i?i:0)}}function GYe(n){return $I.apply(this,arguments)}function $I(){return $I=Mr(function*(n){yield n.addParticleUpdater("rotate",t=>new $Ye(t))}),$I.apply(this,arguments)}class XYe{init(t){var e;const r=t.container,i=t.options,o=i.move.gravity,s=i.move.spin;if(t.gravity={enable:o.enable,acceleration:Pi(o.acceleration),inverse:o.inverse},s.enable){const a=null!==(e=s.position)&&void 0!==e?e:{x:50,y:50},l={x:a.x/100*r.canvas.size.width,y:a.y/100*r.canvas.size.height},f=Xc(t.getPosition(),l),h=Pi(s.acceleration);t.retina.spinAcceleration=h*r.retina.pixelRatio,t.spin={center:l,direction:t.velocity.x>=0?"clockwise":"counter-clockwise",angle:t.velocity.angle,radius:f,acceleration:t.retina.spinAcceleration}}}isEnabled(t){return!t.destroyed&&t.options.move.enable}move(t,e){var r,i,o,s,a;const l=t.options,u=l.move;if(!u.enable)return;const f=t.container,h=function KYe(n){return n.slow.inRange?n.slow.factor:1}(t),v=(null!==(r=(s=t.retina).moveSpeed)&&void 0!==r?r:s.moveSpeed=Pi(u.speed)*f.retina.pixelRatio)*f.retina.reduceFactor,m=null!==(i=(a=t.retina).moveDrift)&&void 0!==i?i:a.moveDrift=Pi(t.options.move.drift)*f.retina.pixelRatio,x=Jd(l.size.value)*f.retina.pixelRatio,H=v*((u.size?t.getRadius()/x:1)*h*(e.factor||1))/2;if(u.spin.enable)!function qYe(n,t){const e=n.container;if(!n.spin)return;const r={x:"clockwise"===n.spin.direction?Math.cos:Math.sin,y:"clockwise"===n.spin.direction?Math.sin:Math.cos};n.position.x=n.spin.center.x+n.spin.radius*r.x(n.spin.angle),n.position.y=n.spin.center.y+n.spin.radius*r.y(n.spin.angle),n.spin.radius+=n.spin.acceleration;const i=Math.max(e.canvas.size.width,e.canvas.size.height);n.spin.radius>i/2?(n.spin.radius=i/2,n.spin.acceleration*=-1):n.spin.radius<0&&(n.spin.radius=0,n.spin.acceleration*=-1),n.spin.angle+=t/100*(1-n.spin.radius/i)}(t,H);else{!function YYe(n,t){var e;const i=n.options.move.path;if(!i.enable)return;if(n.lastPathTime<=n.pathDelay)return void(n.lastPathTime+=t.value);const s=null===(e=n.pathGenerator)||void 0===e?void 0:e.generate(n);s&&n.velocity.addTo(s),i.clamp&&(n.velocity.x=rd(n.velocity.x,-1,1),n.velocity.y=rd(n.velocity.y,-1,1)),n.lastPathTime-=n.pathDelay}(t,e);const U=t.gravity,ee=U?.enable&&U.inverse?-1:1;U?.enable&&H&&(t.velocity.y+=ee*(U.acceleration*e.factor)/(60*H)),m&&H&&(t.velocity.x+=m*e.factor/(60*H));const ie=t.moveDecay;1!=ie&&t.velocity.multTo(ie);const me=t.velocity.mult(H),ue=null!==(o=t.retina.maxSpeed)&&void 0!==o?o:f.retina.maxSpeed;U?.enable&&ue>0&&(!U.inverse&&me.y>=0&&me.y>=ue||U.inverse&&me.y<=0&&me.y<=-ue)&&(me.y=ee*ue,H&&(t.velocity.y=me.y/H));const Ue=(1-t.zIndexFactor)**t.options.zIndex.velocityRate;1!=Ue&&me.multTo(Ue),t.position.addTo(me),u.vibrate&&(t.position.x+=Math.sin(t.position.x*Math.cos(t.position.y)),t.position.y+=Math.cos(t.position.y*Math.sin(t.position.x)))}!function WYe(n){const t=n.initialPosition,{dx:e,dy:r}=l1(t,n.position),i=Math.abs(e),o=Math.abs(r),s=n.retina.maxDistance.horizontal,a=n.retina.maxDistance.vertical;if(s||a)if((s&&i>=s||a&&o>=a)&&!n.misplaced)n.misplaced=!!s&&i>s||!!a&&o>a,s&&(n.velocity.x=n.velocity.y/2-n.velocity.x),a&&(n.velocity.y=n.velocity.x/2-n.velocity.y);else if((!s||i<s)&&(!a||o<a)&&n.misplaced)n.misplaced=!1;else if(n.misplaced){const l=n.position,u=n.velocity;s&&(l.x<t.x&&u.x<0||l.x>t.x&&u.x>0)&&(u.x*=-is()),a&&(l.y<t.y&&u.y<0||l.y>t.y&&u.y>0)&&(u.y*=-is())}}(t)}}function ZYe(n){return GI.apply(this,arguments)}function GI(){return GI=Mr(function*(n){n.addMover("base",()=>new XYe)}),GI.apply(this,arguments)}class JYe{draw(t,e,r){t.arc(0,0,r,0,2*Math.PI,!1)}getSidesCount(){return 12}}function QYe(n){return WI.apply(this,arguments)}function WI(){return WI=Mr(function*(n){yield n.addShape("circle",new JYe)}),WI.apply(this,arguments)}function qI(n,t,e,r,i){var o,s;const a=t;if(!a||!e.enable)return;const l=Kc(e.offset),u=(null!==(o=t.velocity)&&void 0!==o?o:0)*n.factor+3.6*l,f=null!==(s=t.decay)&&void 0!==s?s:1;i&&0!==a.status?(a.value-=u,a.value<0&&(a.status=0,a.value+=a.value)):(a.value+=u,i&&a.value>r&&(a.status=1,a.value-=a.value%r)),a.velocity&&1!==f&&(a.velocity
1*=f),a.value>r&&(a.value%=r)}class tKe{constructor(t){this.container=t}init(t){const e=Op(t.options.color,t.id,t.options.reduceDuplicates);e&&(t.color=T$(e,t.options.color.animation,this.container.retina.reduceFactor))}isEnabled(t){var e,r,i;const o=t.options.color.animation;return!t.destroyed&&!t.spawning&&(void 0!==(null===(e=t.color)||void 0===e?void 0:e.h.value)&&o.h.enable||void 0!==(null===(r=t.color)||void 0===r?void 0:r.s.value)&&o.s.enable||void 0!==(null===(i=t.color)||void 0===i?void 0:i.l.value)&&o.l.enable)}update(t,e){!function eKe(n,t){var e,r,i;const o=n.options.color.animation;void 0!==(null===(e=n.color)||void 0===e?void 0:e.h)&&qI(t,n.color.h,o.h,360,!1),void 0!==(null===(r=n.color)||void 0===r?void 0:r.s)&&qI(t,n.color.s,o.s,100,!0),void 0!==(null===(i=n.color)||void 0===i?void 0:i.l)&&qI(t,n.color.l,o.l,100,!0)}(t,e)}}function nKe(n){return YI.apply(this,arguments)}function YI(){return YI=Mr(function*(n){yield n.addParticleUpdater("color",t=>new tKe(t))}),YI.apply(this,arguments)}class rKe{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(t){!t||(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.easing&&(this.easing=t.easing),void 0!==t.factor&&(this.factor=t.factor),void 0!==t.maxSpeed&&(this.maxSpeed=t.maxSpeed),void 0!==t.speed&&(this.speed=t.speed))}}class iKe extends id{constructor(t,e){super(e),this._engine=t,e.attract||(e.attract={particles:[]}),this.handleClickMode=r=>{const o=this.container.actualOptions.interactivity.modes.attract;if(o&&"attract"===r){e.attract||(e.attract={particles:[]}),e.attract.clicking=!0,e.attract.count=0;for(const s of e.attract.particles)!this.isEnabled(s)||s.velocity.setTo(s.initialVelocity);e.attract.particles=[],e.attract.finish=!1,setTimeout(()=>{e.destroyed||(e.attract||(e.attract={particles:[]}),e.attract.clicking=!1)},1e3*o.duration)}}}clear(){}init(){const t=this.container,e=t.actualOptions.interactivity.modes.attract;!e||(t.retina.attractModeDistance=e.distance*t.retina.pixelRatio)}interact(){var t=this;return Mr(function*(){const e=t.container,o=e.actualOptions.interactivity.events,l=o.onClick.enable,u=o.onClick.mode;e.interactivity.status===U6&&o.onHover.enable&&hl("attract",o.onHover.mode)?t.hoverAttract():l&&hl("attract",u)&&t.clickAttract()})()}isEnabled(t){var e;const r=this.container,o=r.interactivity.mouse,s=(null!==(e=t?.interactivity)&&void 0!==e?e:r.actualOptions.interactivity).events;if(!(o.position&&s.onHover.enable||o.clickPosition&&s.onClick.enable))return!1;const l=s.onClick.mode;return hl("attract",s.onHover.mode)||hl("attract",l)}loadModeOptions(t,...e){t.attract||(t.attract=new rKe);for(const r of e)t.attract.load(r?.attract)}reset(){}clickAttract(){const t=this.container;if(t.attract||(t.attract={particles:[]}),t.attract.finish||(t.attract.count||(t.attract.count=0),t.attract.count++,t.attract.count===t.particles.count&&(t.attract.finish=!0)),t.attract.clicking){const e=t.interactivity.mouse.clickPosition,r=t.retina.attractModeDistance;if(!r||r<0||!e)return;this.processAttract(e,r,new N1(e.x,e.y,r))}else!1===t.attract.clicking&&(t.attract.particles=[])}hoverAttract(){const t=this.container,e=t.interactivity.mouse.position,r=t.retina.attractModeDistance;!r||r<0||!e||this.processAttract(e,r,new N1(e.x,e.y,r))}processAttract(t,e,r){const i=this.container,o=i.actualOptions.interactivity.modes.attract;if(!o)return;const s=i.particles.quadTree.query(r,a=>this.isEnabled(a));for(const a of s){const{dx:l,dy:u,distance:f}=l1(a.position,t),h=o.speed*o.factor,v=rd(h$(o.easing)(1-f/e)*h,0,o.maxSpeed),m=el.create(0===f?h:l/f*v,0===f?h:u/f*v);a.position.subFrom(m)}}}function oKe(n){return KI.apply(this,arguments)}function KI(){return KI=Mr(function*(n){yield n.addInteractor("externalAttract",t=>new iKe(n,t))}),KI.apply(this,arguments)}class sKe{constructor(){this.distance=200}load(t){!t||void 0!==t.distance&&(this.distance=t.distance)}}class aKe extends id{constructor(t){super(t)}clear(){}init(){const t=this.container,e=t.actualOptions.interactivity.modes.bounce;!e||(t.retina.bounceModeDistance=e.distance*t.retina.pixelRatio)}interact(){var t=this;return Mr(function*(){const e=t.container,i=e.actualOptions.interactivity.events,l=i.onDiv;e.interactivity.status===U6&&i.onHover.enable&&hl("bounce",i.onHover.mode)?t.processMouseBounce():mD("bounce",l,(u,f)=>t.singleSelectorBounce(u,f))})()}isEnabled(t){var e;const r=this.container,s=(null!==(e=t?.interactivity)&&void 0!==e?e:r.actualOptions.interactivity).events,a=s.onDiv;return r.interactivity.mouse.position&&s.onHover.enable&&hl("bounce",s.onHover.mode)||pD("bounce",a)}loadModeOptions(t,...e){t.bounce||(t.bounce=new sKe);for(const r of e)t.bounce.load(r?.bounce)}reset(){}processBounce(t,e,r){const i=this.container.particles.quadTree.query(r,o=>this.isEnabled(o));for(const o of i)r instanceof N1?C$(gD(o),{position:t,radius:e,mass:e**2*Math.PI/2,velocity:el.origin,factor:el.origin}):r instanceof F1&&lme(o,$v(t,e))}processMouseBounce(){const t=this.container,i=t.interactivity.mouse.position,o=t.retina.bounceModeDistance;!o||o<0||!i||this.processBounce(i,o,new N1(i.x,i.y,o+10*t.retina.pixelRatio))}singleSelectorBounce(t,e){const r=this.container,i=document.querySelectorAll(t);
1!i.length||i.forEach(o=>{const s=o,a=r.retina.pixelRatio,l={x:(s.offsetLeft+s.offsetWidth/2)*a,y:(s.offsetTop+s.offsetHeight/2)*a},u=s.offsetWidth/2*a,f=10*a,h="circle"===e.type?new N1(l.x,l.y,u+f):new F1(s.offsetLeft*a-f,s.offsetTop*a-f,s.offsetWidth*a+2*f,s.offsetHeight*a+2*f);this.processBounce(l,u,h)})}}function lKe(n){return XI.apply(this,arguments)}function XI(){return XI=Mr(function*(n){yield n.addInteractor("externalBounce",t=>new aKe(t))}),XI.apply(this,arguments)}class fZ{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(t){if(t){if(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.mix&&(this.mix=t.mix),void 0!==t.opacity&&(this.opacity=t.opacity),void 0!==t.color){const e=this.color instanceof Array?void 0:this.color;this.color=Sl(t.color,r=>Gl.create(e,r))}void 0!==t.size&&(this.size=t.size)}}}class cKe extends fZ{constructor(){super(),this.selectors=[]}get ids(){return Sl(this.selectors,t=>t.replace("#",""))}set ids(t){this.selectors=Sl(t,e=>`#${e}`)}load(t){super.load(t),t&&(void 0!==t.ids&&(this.ids=t.ids),void 0!==t.selectors&&(this.selectors=t.selectors))}}class uKe extends fZ{load(t){super.load(t),t&&(this.divs=Sl(t.divs,e=>{const r=new cKe;return r.load(e),r}))}}function dZ(n,t,e,r){return t>=e?rd(n+(t-e)*r,n,t):t<e?rd(n-(e-t)*r,t,n):void 0}class fKe extends id{constructor(t){super(t),t.bubble||(t.bubble={}),this.handleClickMode=e=>{"bubble"===e&&(t.bubble||(t.bubble={}),t.bubble.clicking=!0)}}clear(t,e,r){t.bubble.inRange&&!r||(delete t.bubble.div,delete t.bubble.opacity,delete t.bubble.radius,delete t.bubble.color)}init(){const t=this.container,e=t.actualOptions.interactivity.modes.bubble;!e||(t.retina.bubbleModeDistance=e.distance*t.retina.pixelRatio,void 0!==e.size&&(t.retina.bubbleModeSize=e.size*t.retina.pixelRatio))}interact(t){var e=this;return Mr(function*(){const i=e.container.actualOptions.interactivity.events,o=i.onHover,s=i.onClick,u=s.enable,f=s.mode,h=i.onDiv;o.enable&&hl("bubble",o.mode)?e.hoverBubble(t):u&&hl("bubble",f)?e.clickBubble(t):mD("bubble",h,(v,m)=>e.singleSelectorHover(t,v,m))})()}isEnabled(t){var e;const r=this.container,o=r.interactivity.mouse,s=(null!==(e=t?.interactivity)&&void 0!==e?e:r.actualOptions.interactivity).events,l=pD("bubble",s.onDiv);if(!(l||s.onHover.enable&&o.position||s.onClick.enable&&o.clickPosition))return!1;const f=s.onClick.mode;return hl("bubble",s.onHover.mode)||hl("bubble",f)||l}loadModeOptions(t,...e){t.bubble||(t.bubble=new uKe);for(const r of e)t.bubble.load(r?.bubble)}reset(t){t.bubble.inRange=!1}clickBubble(t){var e,r;const i=this.container,s=i.interactivity.mouse.clickPosition,a=i.actualOptions.interactivity.modes.bubble;if(!a||!s)return;i.bubble||(i.bubble={});const l=i.retina.bubbleModeDistance;if(!l||l<0)return;const u=i.particles.quadTree.queryCircle(s,l,f=>this.isEnabled(f));for(const f of u){if(!i.bubble.clicking)continue;f.bubble.inRange=!i.bubble.durationEnd;const v=Xc(f.getPosition(),s),m=((new Date).getTime()-(i.interactivity.mouse.clickTime||0))/1e3;m>a.duration&&(i.bubble.durationEnd=!0),m>2*a.duration&&(i.bubble.clicking=!1,i.bubble.durationEnd=!1);const x={bubbleObj:{optValue:i.retina.bubbleModeSize,value:f.bubble.radius},particlesObj:{optValue:Jd(f.options.size.value)*i.retina.pixelRatio,value:f.size.value},type:"size"};this.process(f,v,m,x);const p={bubbleObj:{optValue:a.opacity,value:f.bubble.opacity},particlesObj:{optValue:Jd(f.options.opacity.value),value:null!==(r=null===(e=f.opacity)||void 0===e?void 0:e.value)&&void 0!==r?r:1},type:"opacity"};this.process(f,v,m,p),i.bubble.durationEnd?delete f.bubble.color:v<=l?this.hoverBubbleColor(f,v):delete f.bubble.color}}hoverBubble(t){const e=this.container,r=e.interactivity.mouse.position,i=e.retina.bubbleModeDistance;if(!i||i<0||void 0===r)return;const o=e.particles.quadTree.queryCircle(r,i,s=>this.isEnabled(s));for(const s of o){s.bubble.inRange=!0;const l=Xc(s.getPosition(),r),u=1-l/i;l<=i?u>=0&&e.interactivity.status===U6&&(this.hoverBubbleSize(s,u),this.hoverBubbleOpacity(s,u),this.hoverBubbleColor(s,u)):this.reset(s),e.interactivity.status===SD&&this.reset(s)}}hoverBubbleColor(t,e,r){const o=r??this.container.actualOptions.interactivity.modes.bubble;if(o){if(!t.bubble.finalColor){const s=o.color;if(!s)return;const a=s2(s);t.bubble.finalColor=Op(a)}if(t.bubble.finalColor)if(o.mix){t.bubble.color=void 0;const s=t.getFillColor();t.bubble.color=s?bD(_D(s,t.bubble.finalColor,1-e,e)):t.bubble.finalColor}else t.bubble.color=t.bubble.finalColor}}hoverBubbleOpacity(t,e,r){var i,o,s,a;const f=null!==(i=r?.opacity)&&void 0!==i?i:null===(o=this.container.actualOptions.interactivity.modes.bubble)||void 0===o?void 0:o.opacity;if(!f)return;const m=dZ(null!==(a=null===(s=t.opacity)||void 0===s?void 0:s.value)&&void 0!==a?a:1,f,Jd(t.options.opacity.value),e);void 0!==m&&(t.bubble.opacity=m)}hoverBubbleSize(t,e,r){const i=this.container,o=r?.size?r.size*i.retina.pixelRatio:i.retina.bubbleModeSize;if(void 0===o)return;
1const s=Jd(t.options.size.value)*i.retina.pixelRatio,l=dZ(t.size.value,o,s,e);void 0!==l&&(t.bubble.radius=l)}process(t,e,r,i){const o=this.container,s=i.bubbleObj.optValue,l=o.actualOptions.interactivity.modes.bubble;if(!l||void 0===s)return;const u=l.duration,f=o.retina.bubbleModeDistance,v=i.bubbleObj.value,m=i.particlesObj.value||0,x=i.type;if(f&&!(f<0)&&s!==i.particlesObj.optValue)if(o.bubble||(o.bubble={}),o.bubble.durationEnd)v&&("size"===x&&delete t.bubble.radius,"opacity"===x&&delete t.bubble.opacity);else if(e<=f){if((v??m)!==s){const P=m-r*(m-s)/u;"size"===x&&(t.bubble.radius=P),"opacity"===x&&(t.bubble.opacity=P)}}else"size"===x&&delete t.bubble.radius,"opacity"===x&&delete t.bubble.opacity}singleSelectorHover(t,e,r){const i=this.container,o=document.querySelectorAll(e),s=i.actualOptions.interactivity.modes.bubble;!s||!o.length||o.forEach(a=>{const l=a,u=i.retina.pixelRatio,f={x:(l.offsetLeft+l.offsetWidth/2)*u,y:(l.offsetTop+l.offsetHeight/2)*u},v="circle"===r.type?new N1(f.x,f.y,l.offsetWidth/2*u):new F1(l.offsetLeft*u,l.offsetTop*u,l.offsetWidth*u,l.offsetHeight*u),m=i.particles.quadTree.query(v,x=>this.isEnabled(x));for(const x of m){if(!v.contains(x.getPosition()))continue;x.bubble.inRange=!0;const P=w$(s.divs,l);(!x.bubble.div||x.bubble.div!==l)&&(this.clear(x,t,!0),x.bubble.div=l),this.hoverBubbleSize(x,1,P),this.hoverBubbleOpacity(x,1,P),this.hoverBubbleColor(x,1,P)}})}}function dKe(n){return ZI.apply(this,arguments)}function ZI(){return ZI=Mr(function*(n){yield n.addInteractor("externalBubble",t=>new fKe(t))}),ZI.apply(this,arguments)}class hKe{constructor(){this.opacity=.5}load(t){!t||void 0!==t.opacity&&(this.opacity=t.opacity)}}class pKe{constructor(){this.distance=80,this.links=new hKe,this.radius=60}get lineLinked(){return this.links}set lineLinked(t){this.links=t}get line_linked(){return this.links}set line_linked(t){this.links=t}load(t){var e,r;!t||(void 0!==t.distance&&(this.distance=t.distance),this.links.load(null!==(r=null!==(e=t.links)&&void 0!==e?e:t.lineLinked)&&void 0!==r?r:t.line_linked),void 0!==t.radius&&(this.radius=t.radius))}}function yKe(n,t,e){n.canvas.draw(r=>{var i;const o=function vKe(n,t,e,r){const o=n.actualOptions.interactivity.modes.connect;if(o)return function mKe(n,t,e,r){const i=Math.floor(e.getRadius()/t.getRadius()),o=t.getFillColor(),s=e.getFillColor();if(!o||!s)return;const a=t.getPosition(),l=e.getPosition(),u=_D(o,s,t.getRadius(),e.getRadius()),f=n.createLinearGradient(a.x,a.y,l.x,l.y);return f.addColorStop(0,_g(o,r)),f.addColorStop(i>1?1:i,Qd(u,r)),f.addColorStop(1,_g(s,r)),f}(t,e,r,o.links.opacity)}(n,r,t,e);if(!o)return;const s=t.getPosition(),a=e.getPosition();!function gKe(n,t,e,r,i){Gv(n,r,i),n.lineWidth=t,n.strokeStyle=e,n.stroke()}(r,null!==(i=t.retina.linksWidth)&&void 0!==i?i:0,o,s,a)})}class bKe extends id{constructor(t){super(t)}clear(){}init(){const t=this.container,e=t.actualOptions.interactivity.modes.connect;!e||(t.retina.connectModeDistance=e.distance*t.retina.pixelRatio,t.retina.connectModeRadius=e.radius*t.retina.pixelRatio)}interact(){var t=this;return Mr(function*(){const e=t.container;if(e.actualOptions.interactivity.events.onHover.enable&&"pointermove"===e.interactivity.status){const i=e.interactivity.mouse.position;
1if(!e.retina.connectModeDistance||e.retina.connectModeDistance<0||!e.retina.connectModeRadius||e.retina.connectModeRadius<0||!i)return;const o=Math.abs(e.retina.connectModeRadius),s=e.particles.quadTree.queryCircle(i,o,l=>t.isEnabled(l));let a=0;for(const l of s){const u=l.getPosition();for(const f of s.slice(a+1)){const h=f.getPosition(),v=Math.abs(e.retina.connectModeDistance),m=Math.abs(u.x-h.x),x=Math.abs(u.y-h.y);m<v&&x<v&&yKe(e,l,f)}++a}}})()}isEnabled(t){var e;const r=this.container,o=(null!==(e=t?.interactivity)&&void 0!==e?e:r.actualOptions.interactivity).events;return!(!o.onHover.enable||!r.interactivity.mouse.position)&&hl("connect",o.onHover.mode)}loadModeOptions(t,...e){t.connect||(t.connect=new pKe);for(const r of e)t.connect.load(r?.connect)}reset(){}}function _Ke(n){return JI.apply(this,arguments)}function JI(){return JI=Mr(function*(n){yield n.addInteractor("externalConnect",t=>new bKe(t))}),JI.apply(this,arguments)}class xKe{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(t){!t||(void 0!==t.blink&&(this.blink=t.blink),void 0!==t.color&&(this.color=Gl.create(this.color,t.color)),void 0!==t.consent&&(this.consent=t.consent),void 0!==t.opacity&&(this.opacity=t.opacity))}}class wKe{constructor(){this.distance=100,this.links=new xKe}get lineLinked(){return this.links}set lineLinked(t){this.links=t}get line_linked(){return this.links}set line_linked(t){this.links=t}load(t){var e,r;!t||(void 0!==t.distance&&(this.distance=t.distance),this.links.load(null!==(r=null!==(e=t.links)&&void 0!==e?e:t.lineLinked)&&void 0!==r?r:t.line_linked))}}function SKe(n,t,e,r,i){n.canvas.draw(o=>{var s;const a=t.getPosition();!function CKe(n,t,e,r,i,o){Gv(n,e,r),n.strokeStyle=Qd(i,o),n.lineWidth=t,n.stroke()}(o,null!==(s=t.retina.linksWidth)&&void 0!==s?s:0,a,i,e,r)})}class EKe extends id{constructor(t){super(t)}clear(){}init(){const t=this.container,e=t.actualOptions.interactivity.modes.grab;!e||(t.retina.grabModeDistance=e.distance*t.retina.pixelRatio)}interact(){var t=this;return Mr(function*(){var e,r;const i=t.container,s=i.actualOptions.interactivity;if(!s.modes.grab||!s.events.onHover.enable||i.interactivity.status!==U6)return;const a=i.interactivity.mouse.position;if(!a)return;const l=i.retina.grabModeDistance;if(!l||l<0)return;const u=i.particles.quadTree.queryCircle(a,l,f=>t.isEnabled(f));for(const f of u){const v=Xc(f.getPosition(),a);if(v>l)continue;const m=s.modes.grab.links,x=m.opacity,p=x-v*x/l;if(p<=0)continue;const P=null!==(e=m.color)&&void 0!==e?e:null===(r=f.options.links)||void 0===r?void 0:r.color;if(!i.particles.grabLineColor&&P){const H=s.modes.grab.links;i.particles.grabLineColor=D$(P,H.blink,H.consent)}const T=xD(f,void 0,i.particles.grabLineColor);if(!T)return;SKe(i,f,T,p,a)}})()}isEnabled(t){var e;const r=this.container,o=(null!==(e=t?.interactivity)&&void 0!==e?e:r.actualOptions.interactivity).events;return o.onHover.enable&&!!r.interactivity.mouse.position&&hl("grab",o.onHover.mode)}loadModeOptions(t,...e){t.grab||(t.grab=new wKe);for(const r of e)t.grab.load(r?.grab)}reset(){}}function AKe(n){return QI.apply(this,arguments)}function QI(){return QI=Mr(function*(n){yield n.addInteractor("externalGrab",t=>new EKe(t))}),QI.apply(this,arguments)}class MKe extends id{constructor(t){super(t),this.handleClickMode=e=>{if("pause"!==e)return;const r=this.container;r.getAnimationStatus()?r.pause():r.play()}}clear(){}init(){}interact(){return Mr(function*(){})()}isEnabled(){return!0}reset(){}}function DKe(n){n.addInteractor("externalPause",t=>new MKe(t))}class kKe{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(t){this.quantity=t}load(t){var e;if(!t)return;void 0!==t.default&&(this.default=t.default),void 0!==t.groups&&(this.groups=t.groups.map(i=>i)),this.groups.length||(this.default=!0);const r=null!==(e=t.quantity)&&void 0!==e?e:t.particles_nb;void 0!==r&&(this.quantity=r)}}class TKe extends id{constructor(t){super(t),this.handleClickMode=e=>{if("push"!==e)return;const r=this.container,o=r.actualOptions.interactivity.modes.push;if(!o)return;const s=o.quantity;if(s<=0)return;const a=jv([void 0,...o.groups]);r.particles.push(s,r.interactivity.mouse,void 0!==a?r.actualOptions.particles.groups[a]:void 0,a)}}clear(){}init(){}interact(){return Mr(function*(){})()}isEnabled(){return!0}loadModeOptions(t,...e){t.push||(t.push=new kKe);for(const r of e)t.push.load(r?.push)}reset(){}}function IKe(n){return eO.apply(this,arguments)}function eO(){return eO=Mr(function*(n){yield n.addInteractor("externalPush",t=>new TKe(t))}),eO.apply(this,arguments)}class OKe{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(t){this.quantity=t}load(t){var e;if(!t)return;const r=null!==(e=t.quantity)&&void 0!==e?e:t.particles_nb;void 0!==r&&(this.quantity=r)}}class RKe extends id{constructor(t){super(t),this.handleClickMode=e=>{const r=this.container,i=r.actualOptions;i.interactivity.modes.remove&&"remove"===e&&r.particles.removeQuantity(i.interactivity.modes.remove.quantity)}}clear(){}init(){}interact(){return Mr(function*(){})()}isEnabled(){return!0}
1loadModeOptions(t,...e){t.remove||(t.remove=new OKe);for(const r of e)t.remove.load(r?.remove)}reset(){}}function LKe(n){n.addInteractor("externalRemove",t=>new RKe(t))}class hZ{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(t){!t||(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.easing&&(this.easing=t.easing),void 0!==t.factor&&(this.factor=t.factor),void 0!==t.speed&&(this.speed=t.speed),void 0!==t.maxSpeed&&(this.maxSpeed=t.maxSpeed))}}class PKe extends hZ{constructor(){super(),this.selectors=[]}get ids(){return Sl(this.selectors,t=>t.replace("#",""))}set ids(t){this.selectors=Sl(t,e=>`#${e}`)}load(t){super.load(t),t&&(void 0!==t.ids&&(this.ids=t.ids),void 0!==t.selectors&&(this.selectors=t.selectors))}}class NKe extends hZ{load(t){super.load(t),t&&(this.divs=Sl(t.divs,e=>{const r=new PKe;return r.load(e),r}))}}class FKe extends id{constructor(t,e){super(e),this._engine=t,e.repulse||(e.repulse={particles:[]}),this.handleClickMode=r=>{const o=this.container.actualOptions.interactivity.modes.repulse;if(o&&"repulse"===r){e.repulse||(e.repulse={particles:[]}),e.repulse.clicking=!0,e.repulse.count=0;for(const s of e.repulse.particles)!this.isEnabled(s)||s.velocity.setTo(s.initialVelocity);e.repulse.particles=[],e.repulse.finish=!1,setTimeout(()=>{e.destroyed||(e.repulse||(e.repulse={particles:[]}),e.repulse.clicking=!1)},1e3*o.duration)}}}clear(){}init(){const t=this.container,e=t.actualOptions.interactivity.modes.repulse;!e||(t.retina.repulseModeDistance=e.distance*t.retina.pixelRatio)}interact(){var t=this;return Mr(function*(){const e=t.container,o=e.actualOptions.interactivity.events,l=o.onClick.enable,u=o.onClick.mode,f=o.onDiv;e.interactivity.status===U6&&o.onHover.enable&&hl("repulse",o.onHover.mode)?t.hoverRepulse():l&&hl("repulse",u)?t.clickRepulse():mD("repulse",f,(h,v)=>t.singleSelectorRepulse(h,v))})()}isEnabled(t){var e;const r=this.container,o=r.interactivity.mouse,s=(null!==(e=t?.interactivity)&&void 0!==e?e:r.actualOptions.interactivity).events,l=pD("repulse",s.onDiv);if(!(l||s.onHover.enable&&o.position||s.onClick.enable&&o.clickPosition))return!1;const f=s.onClick.mode;return hl("repulse",s.onHover.mode)||hl("repulse",f)||l}loadModeOptions(t,...e){t.repulse||(t.repulse=new NKe);for(const r of e)t.repulse.load(r?.repulse)}reset(){}clickRepulse(){const t=this.container,e=t.actualOptions.interactivity.modes.repulse;if(e)if(t.repulse||(t.repulse={particles:[]}),t.repulse.finish||(t.repulse.count||(t.repulse.count=0),t.repulse.count++,t.repulse.count===t.particles.count&&(t.repulse.finish=!0)),t.repulse.clicking){const r=t.retina.repulseModeDistance;if(!r||r<0)return;const i=Math.pow(r/6,3),o=t.interactivity.mouse.clickPosition;if(void 0===o)return;const s=new N1(o.x,o.y,i),a=t.particles.quadTree.query(s,l=>this.isEnabled(l));for(const l of a){const{dx:u,dy:f,distance:h}=l1(o,l.position),v=h**2,x=-i*e.speed/v;if(v<=i){t.repulse.particles.push(l);const p=el.create(u,f);p.length=x,l.velocity.setTo(p)}}}else if(!1===t.repulse.clicking){for(const r of t.repulse.particles)r.velocity.setTo(r.initialVelocity);t.repulse.particles=[]}}hoverRepulse(){const t=this.container,e=t.interactivity.mouse.position,r=t.retina.repulseModeDistance;!r||r<0||!e||this.processRepulse(e,r,new N1(e.x,e.y,r))}processRepulse(t,e,r,i){var o;const s=this.container,a=s.particles.quadTree.query(r,u=>this.isEnabled(u)),l=s.actualOptions.interactivity.modes.repulse;if(l)for(const u of a){const{dx:f,dy:h,distance:v}=l1(u.position,t),m=(null!==(o=i?.speed)&&void 0!==o?o:l.speed)*l.factor,x=rd(h$(l.easing)(1-v/e)*m,0,l.maxSpeed),p=el.create(0===v?m:f/v*x,0===v?m:h/v*x);u.position.addTo(p)}}singleSelectorRepulse(t,e){const r=this.container,i=r.actualOptions.interactivity.modes.repulse;if(!i)return;const o=document.querySelectorAll(t);!o.length||o.forEach(s=>{const a=s,l=r.retina.pixelRatio,u={x:(a.offsetLeft+a.offsetWidth/2)*l,y:(a.offsetTop+a.offsetHeight/2)*l},f=a.offsetWidth/2*l,h="circle"===e.type?new N1(u.x,u.y,f):new F1(a.offsetLeft*l,a.offsetTop*l,a.offsetWidth*l,a.offsetHeight*l),m=w$(i.divs,a);this.processRepulse(u,f,h,m)})}}function zKe(n){return tO.apply(this,arguments)}function tO(){return tO=Mr(function*(n){yield n.addInteractor("externalRepulse",t=>new FKe(n,t))}),tO.apply(this,arguments)}class BKe{constructor(){this.factor=3,this.radius=200}load(t){!t||(void 0!==t.factor&&(this.factor=t.factor),void 0!==t.radius&&(this.radius=t.radius))}}class VKe extends id{constructor(t){super(t)}clear(t,e,r){t.slow.inRange&&!r||(t.slow.factor=1)}init(){const t=this.container,e=t.actualOptions.interactivity.modes.slow;!e||(t.retina.slowModeRadius=e.radius*t.retina.pixelRatio)}interact(){return Mr(function*(){})()}isEnabled(t){var e;const r=this.container,o=(null!==(e=t?.interactivity)&&void 0!==e?e:r.actualOptions.interactivity).events;return o.onHover.enable&&!!r.interactivity.mouse.position&&hl("slow",o.onHover.mode)}loadModeOptions(t,...e){t.slow||(t.slow=new BKe);for(const r of e)t.slow.load(r?.slow)}reset(t){t.slow.inRange=!1;const e=this.container,i=e.interactivity.mouse.position,o=e.retina.slowModeRadius,s=e.actualOptions.interactivity.modes.slow;if(!s||!o||o<0||!i)return;const l=Xc(i,t.getPosition()),u=l/o,f=s.factor;l<=o&&(t.slow.inRange=!0,t.slow.factor=u/f)}}function HKe(n){return nO.apply(this,arguments)}function nO(){return nO=Mr(function*(n){yield n.addInteractor("externalSlow",t=>
1new VKe(t))}),nO.apply(this,arguments)}const jKe=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function rO(n){return iO.apply(this,arguments)}function iO(){return iO=Mr(function*(n){return new Promise(t=>{n.loading=!0;const e=new Image;n.element=e,e.addEventListener("load",()=>{n.loading=!1,t()}),e.addEventListener("error",()=>{n.element=void 0,n.error=!0,n.loading=!1,console.error(`Error tsParticles - loading image: ${n.source}`),t()}),e.src=n.source})}),iO.apply(this,arguments)}function $Ke(n){return oO.apply(this,arguments)}function oO(){return oO=Mr(function*(n){if("svg"!==n.type)return void(yield rO(n));n.loading=!0;const t=yield fetch(n.source);t.ok||(console.error("Error tsParticles - Image not found"),n.error=!0),n.error||(n.svgData=yield t.text()),n.loading=!1}),oO.apply(this,arguments)}class WKe{constructor(){this._images=[]}addImage(t,e){this.getImages(t)?.images.push(e)}destroy(){this._images=[]}draw(t,e,r,i){var o;const s=e.image,a=s?.element;if(!a)return;const l=null!==(o=s?.ratio)&&void 0!==o?o:1,u={x:-r,y:-r};t.globalAlpha=i,t.drawImage(a,u.x,u.y,2*r,2*r/l),t.globalAlpha=1}getImages(t){return this._images.find(r=>r.id===t.id)||(this._images.push({id:t.id,images:[]}),this.getImages(t))}getSidesCount(){return 12}loadShape(t){if("image"!==t.shape&&"images"!==t.shape)return;const e=t.container,r=this.getImages(e).images,i=t.shapeData;r.find(s=>s.source===i.src)||this.loadImageShape(e,i).then(()=>{this.loadShape(t)})}particleInit(t,e){var r;if("image"!==e.shape&&"images"!==e.shape)return;const i=this.getImages(t).images,o=e.shapeData,s=e.getFillColor(),a=null!==(r=o.replaceColor)&&void 0!==r?r:o.replace_color,l=i.find(u=>u.source===o.src);if(l){if(l.loading)return void setTimeout(()=>{this.particleInit(t,e)});Mr(function*(){var u,f;let h;h=l.svgData&&s?yield function GKe(n,t,e,r){var i,o,s;const a=function UKe(n,t,e){const{svgData:r}=n;if(!r)return"";const i=_g(t,e);if(r.includes("fill"))return r.replace(jKe,()=>i);const o=r.indexOf(">");return`${r.substring(0,o)} fill="${i}"${r.substring(o)}`}(n,e,null!==(o=null===(i=r.opacity)||void 0===i?void 0:i.value)&&void 0!==o?o:1),l={color:e,data:Object.assign(Object.assign({},n),{svgData:a}),loaded:!1,ratio:t.width/t.height,replaceColor:null!==(s=t.replaceColor)&&void 0!==s?s:t.replace_color,source:t.src};return new Promise(u=>{const f=new Blob([a],{type:"image/svg+xml"}),h=URL||window.URL||window.webkitURL||window,v=h.createObjectURL(f),m=new Image;m.addEventListener("load",()=>{l.loaded=!0,l.element=m,u(l),h.revokeObjectURL(v)}),m.addEventListener("error",Mr(function*(){h.revokeObjectURL(v);const x=Object.assign(Object.assign({},n),{error:!1,loading:!0});yield rO(x),l.loaded=!0,l.element=x.element,u(l)})),m.src=v})}(l,o,s,e):{color:s,data:l,element:l.element,loaded:!0,ratio:o.width/o.height,replaceColor:a,source:o.src},h.ratio||(h.ratio=1);const x={image:h,fill:null!==(u=o.fill)&&void 0!==u?u:e.fill,close:null!==(f=o.close)&&void 0!==f?f:e.close};e.image=x.image,e.fill=x.fill,e.close=x.close})()}}loadImageShape(t,e){var r=this;return Mr(function*(){var i;const o=e.src;if(!o)throw new Error("Error tsParticles - No image.src");try{const s={source:o,type:o.substring(o.length-3),error:!1,loading:!0};r.addImage(t,s),yield((null!==(i=e.replaceColor)&&void 0!==i?i:e.replace_color)?$Ke:rO)(s)}catch{throw new Error(`tsParticles error - ${e.src} not found`)}})()}}function qKe(n){return sO.apply(this,arguments)}function sO(){return sO=Mr(function*(n){const t=new WKe;yield n.addShape("image",t),yield n.addShape("images",t)}),sO.apply(this,arguments)}class YKe extends c2{constructor(){super(),this.sync=!1}load(t){!t||(super.load(t),void 0!==t.sync&&(this.sync=t.sync))}}class KKe extends c2{constructor(){super(),this.random.minimumValue=1e-4,this.sync=!1}load(t){!t||(super.load(t),void 0!==t.sync&&(this.sync=t.sync))}}class XKe{constructor(){this.count=0,this.delay=new YKe,this.duration=new KKe}load(t){!t||(void 0!==t.count&&(this.count=t.count),this.delay.load(t.delay),this.duration.load(t.duration))}}class ZKe{constructor(t){this.container=t}init(t){const e=this.container,i=t.options.life;!i||(t.life={delay:e.retina.reduceFactor?Pi(i.delay.value)*(i.delay.sync?1:is())/e.retina.reduceFactor*1e3:0,delayTime:0,duration:e.retina.reduceFactor?Pi(i.duration.value)*(i.duration.sync?1:is())/e.retina.reduceFactor*1e3:0,time:0,count:i.count},t.life.duration<=0&&(t.life.duration=-1),t.life.count<=0&&(t.life.count=-1),t.life&&(t.spawning=t.life.delay>0))}isEnabled(t){return!t.destroyed}loadOptions(t,...e){t.life||(t.life=new XKe);for(const r of e)t.life.load(r?.life)}update(t,e){if(!this.isEnabled(t)||!t.life)return;const r=t.life;let i=!1;if(t.spawning){if(r.delayTime+=e.value,!(r.delayTime>=t.life.delay))return;i=!0,t.spawning=!1,r.delayTime=0,r.time=0}if(-1===r.duration||t.spawning||(i?r.time=0:r.time+=e.value,r.time<r.duration))return;if(r.time=0,t.life.count>0&&t.life.count--,0===t.life.count)return void t.destroy();const o=this.container.canvas.size,s=Do(0,o.width),a=Do(0,o.width);t.position.x=Kc(s),t.position.y=Kc(a),t.spawning=!0,r.delayTime=0,r.time=0,t.reset();const l=t.options.life;l&&(r.delay=1e3*Pi(l.delay.value),r.duration=1e3*Pi(l.duration.value))}}function JKe(n){return aO.apply(this,arguments)}function aO(){return aO=Mr(function*(n){yield n.addParticleUpdater("life",t=>new ZKe(t))}),aO.apply(this,arguments)}class QKe{draw(t,e,r){t.moveTo(-r/2,0),t.lineTo(r/2,0)}getSidesCount(){return 1}}function eXe(n){return lO.apply(this,arguments)}function lO(){return lO=Mr(function*(n){yield n.addShape("line",new QKe)}),lO.apply(this,arguments)}class rXe{constructor(t){this.container=t}init(t){const e=t.options.opacity;t.opacity={enable:e.animation.enable,max:Jd(e.value),min:Hv(e.value),value:Pi(e.value),loops:0,maxLoops:Pi(e.animation.count)};const r=e.animation;if(r.enable){t.opacity.decay=1-Pi(r.decay),t.opacity.status=0;const i=e.value;switch(t.opacity.min=Hv(i),t.opacity.max=Jd(i),r.startValue){case"min":t.opacity.value=t.opacity.min,t.opacity.status=0;break;case"random":t.opacity.value=Kc(t.opacity),t.opacity.status=is()>=.5?0:1;break;default:t.opacity.value=t.opacity.max,t.opacity.status=1}t.opacity.velocity=Pi(r.speed)/100*this.container.retina.reduceFactor,r.sync||(t.opacity.velocity
1*=is())}}isEnabled(t){var e,r,i,o;return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((null!==(e=t.opacity.maxLoops)&&void 0!==e?e:0)<=0||(null!==(r=t.opacity.maxLoops)&&void 0!==r?r:0)>0&&(null!==(i=t.opacity.loops)&&void 0!==i?i:0)<(null!==(o=t.opacity.maxLoops)&&void 0!==o?o:0))}reset(t){t.opacity&&(t.opacity.loops=0)}update(t,e){!this.isEnabled(t)||function nXe(n,t){var e,r,i,o,s,a;if(!n.opacity)return;const l=n.opacity.min,u=n.opacity.max,f=null!==(e=n.opacity.decay)&&void 0!==e?e:1;if(!(n.destroyed||!n.opacity.enable||(null!==(r=n.opacity.maxLoops)&&void 0!==r?r:0)>0&&(null!==(i=n.opacity.loops)&&void 0!==i?i:0)>(null!==(o=n.opacity.maxLoops)&&void 0!==o?o:0))){switch(n.opacity.status){case 0:n.opacity.value>=u?(n.opacity.status=1,n.opacity.loops||(n.opacity.loops=0),n.opacity.loops++):n.opacity.value+=(null!==(s=n.opacity.velocity)&&void 0!==s?s:0)*t.factor;break;case 1:n.opacity.value<=l?(n.opacity.status=0,n.opacity.loops||(n.opacity.loops=0),n.opacity.loops++):n.opacity.value-=(null!==(a=n.opacity.velocity)&&void 0!==a?a:0)*t.factor}n.opacity.velocity&&1!==n.opacity.decay&&(n.opacity.velocity*=f),function tXe(n,t,e,r){switch(n.options.opacity.animation.destroy){case"max":t>=r&&n.destroy();break;case"min":t<=e&&n.destroy()}}(n,n.opacity.value,l,u),n.destroyed||(n.opacity.value=rd(n.opacity.value,l,u))}}(t,e)}}function iXe(n){return cO.apply(this,arguments)}function cO(){return cO=Mr(function*(n){yield n.addParticleUpdater("opacity",t=>new rXe(t))}),cO.apply(this,arguments)}class aXe{constructor(t){this.container=t,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split"]}update(t,e,r,i){if(!this.modes.includes(i))return;const o=this.container;let s=!1;for(const[,v]of o.plugins)if(void 0!==v.particleBounce&&(s=v.particleBounce(t,r,e)),s)break;if(s)return;const a=t.getPosition(),l=t.offset,u=t.getRadius(),f=$v(a,u),h=o.canvas.size;(function oXe(n){if("bounce"!==n.outMode&&"bounce-horizontal"!==n.outMode&&"bounceHorizontal"!==n.outMode&&"split"!==n.outMode)return;n.bounds.right<0?n.particle.position.x=n.size+n.offset.x:n.bounds.left>n.canvasSize.width&&(n.particle.position.x=n.canvasSize.width-n.size-n.offset.x);const t=n.particle.velocity.x;let e=!1;if("right"===n.direction&&n.bounds.right>=n.canvasSize.width&&t>0||"left"===n.direction&&n.bounds.left<=0&&t<0){const i=h0(n.particle.options.bounce.horizontal);n.particle.velocity.x*=-i,e=!0}if(!e)return;const r=n.offset.x+n.size;n.bounds.right>=n.canvasSize.width?n.particle.position.x=n.canvasSize.width-r:n.bounds.left<=0&&(n.particle.position.x=r),"split"===n.outMode&&n.particle.destroy()})({particle:t,outMode:i,direction:e,bounds:f,canvasSize:h,offset:l,size:u}),function sXe(n){if("bounce"!==n.outMode&&"bounce-vertical"!==n.outMode&&"bounceVertical"!==n.outMode&&"split"!==n.outMode)return;n.bounds.bottom<0?n.particle.position.y=n.size+n.offset.y:n.bounds.top>n.canvasSize.height&&(n.particle.position.y=n.canvasSize.height-n.size-n.offset.y);const t=n.particle.velocity.y;let e=!1;if("bottom"===n.direction&&n.bounds.bottom>=n.canvasSize.height&&t>0||"top"===n.direction&&n.bounds.top<=0&&t<0){const i=h0(n.particle.options.bounce.vertical);n.particle.velocity.y*=-i,e=!0}if(!e)return;const r=n.offset.y+n.size;n.bounds.bottom>=n.canvasSize.height?n.particle.position.y=n.canvasSize.height-r:n.bounds.top<=0&&(n.particle.position.y=r),"split"===n.outMode&&n.particle.destroy()}({particle:t,outMode:i,direction:e,bounds:f,canvasSize:h,offset:l,size:u})}}class lXe{constructor(t){this.container=t,this.modes=["destroy"]}update(t,e,r,i){if(!this.modes.includes(i))return;const o=this.container;switch(t.outType){case"normal":case"outside":if(Uv(t.position,o.canvas.size,el.origin,t.getRadius(),e))return;break;case"inside":{const{dx:s,dy:a}=l1(t.position,t.moveCenter),{x:l,y:u}=t.velocity;if(l<0&&s>t.moveCenter.radius||u<0&&a>t.moveCenter.radius||l>=0&&s<-t.moveCenter.radius||u>=0&&a<-t.moveCenter.radius)return;break}}o.particles.remove(t,void 0,!0)}}class cXe{constructor(t){this.container=t,this.modes=["none"]}update(t,e,r,i){if(!this.modes.includes(i)||t.options.move.distance.horizontal&&("left"===e||"right"===e)||t.options.move.distance.vertical&&("top"===e||"bottom"===e))return;const o=t.options.move.gravity,s=this.container,a=s.canvas.size,l=t.getRadius();if(o.enable){const u=t.position;(!o.inverse&&u.y>a.height+l&&"bottom"===e||o.inverse&&u.y<-l&&"top"===e)&&s.particles.remove(t)}else{if(t.velocity.y>0&&t.position.y<=a.height+l||t.velocity.y<0&&t.position.y>=-l||t.velocity.x>0&&t.position.x<=a.width+l||t.velocity.x<0&&t.position.x>=-l)return;Uv(t.position,s.canvas.size,el.origin,l,e)||s.particles.remove(t)}}}class uXe{constructor(t){this.container=t,this.modes=["out"]}update(t,e,r,i){if(!this.modes.includes(i))return;const o=this.container;switch(t.outType){case"inside":{const{x:s,y:a}=t.velocity,l=el.origin;l.length=t.moveCenter.radius,l.angle=t.velocity.angle+Math.PI,l.addTo(el.create(t.moveCenter));const{dx:u,dy:f}=l1(t.position,l);if(s<=0&&u>=0||a<=0&&f>=0||s>=0&&u<=0||a>=0&&f<=0)return;t.position.x=Math.floor(Kc({min:0,max:o.canvas.size.width})),t.position.y=Math.floor(Kc({min:0,max:o.canvas.size.height}));const{dx:h,dy:v}=l1(t.position,t.moveCenter);t.direction=Math.atan2(-v,-h),t.velocity.angle=t.direction;break}default:if(Uv(t.position,o.canvas.size,el.origin,t.getRadius(),e))return;switch(t.outType){case"outside":{t.position.x=Math.floor(Kc({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor(Kc({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:s,dy:a}=l1(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(a,s),t.velocity.angle=t.direction);break}
1case"normal":{const s=t.options.move.warp,a=o.canvas.size,l={bottom:a.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:a.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},u=t.getRadius(),f=$v(t.position,u);"right"===e&&f.left>a.width+t.offset.x?(t.position.x=l.left,t.initialPosition.x=t.position.x,s||(t.position.y=is()*a.height,t.initialPosition.y=t.position.y)):"left"===e&&f.right<-t.offset.x&&(t.position.x=l.right,t.initialPosition.x=t.position.x,s||(t.position.y=is()*a.height,t.initialPosition.y=t.position.y)),"bottom"===e&&f.top>a.height+t.offset.y?(s||(t.position.x=is()*a.width,t.initialPosition.x=t.position.x),t.position.y=l.top,t.initialPosition.y=t.position.y):"top"===e&&f.bottom<-t.offset.y&&(s||(t.position.x=is()*a.width,t.initialPosition.x=t.position.x),t.position.y=l.bottom,t.initialPosition.y=t.position.y);break}}}}}class fXe{constructor(t){this.container=t,this.updaters=[new aXe(t),new lXe(t),new uXe(t),new cXe(t)]}init(){}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,e){var r,i,o,s;const a=t.options.move.outModes;this.updateOutMode(t,e,null!==(r=a.bottom)&&void 0!==r?r:a.default,"bottom"),this.updateOutMode(t,e,null!==(i=a.left)&&void 0!==i?i:a.default,"left"),this.updateOutMode(t,e,null!==(o=a.right)&&void 0!==o?o:a.default,"right"),this.updateOutMode(t,e,null!==(s=a.top)&&void 0!==s?s:a.default,"top")}updateOutMode(t,e,r,i){for(const o of this.updaters)o.update(t,i,e,r)}}function dXe(n){return uO.apply(this,arguments)}function uO(){return uO=Mr(function*(n){yield n.addParticleUpdater("outModes",t=>new fXe(t))}),uO.apply(this,arguments)}class hXe{init(){}isEnabled(t){return!j6()&&!t.destroyed&&t.container.actualOptions.interactivity.events.onHover.parallax.enable}move(t){const e=t.container,r=e.actualOptions;if(j6()||!r.interactivity.events.onHover.parallax.enable)return;const i=r.interactivity.events.onHover.parallax.force,o=e.interactivity.mouse.position;if(!o)return;const s_x=e.canvas.size.width/2,s_y=e.canvas.size.height/2,a=r.interactivity.events.onHover.parallax.smooth,l=t.getRadius()/i,u_y=(o.y-s_y)*l;t.offset.x+=((o.x-s_x)*l-t.offset.x)/a,t.offset.y+=(u_y-t.offset.y)/a}}function pXe(n){return fO.apply(this,arguments)}function fO(){return fO=Mr(function*(n){n.addMover("parallax",()=>new hXe)}),fO.apply(this,arguments)}class mXe extends PD{constructor(t){super(t)}clear(){}init(){}interact(t){var e=this;return Mr(function*(){var r;const i=e.container,o=null!==(r=t.retina.attractDistance)&&void 0!==r?r:i.retina.attractDistance,s=t.getPosition(),a=i.particles.quadTree.queryCircle(s,o);for(const l of a){if(t===l||!l.options.move.attract.enable||l.destroyed||l.spawning)continue;const u=l.getPosition(),{dx:f,dy:h}=l1(s,u),v=t.options.move.attract.rotate,m=f/(1e3*v.x),x=h/(1e3*v.y),p=l.size.value/t.size.value,P=1/p;t.velocity.x-=m*p,t.velocity.y-=x*p,l.velocity.x+=m*P,l.velocity.y+=x*P}})()}isEnabled(t){return t.options.move.attract.enable}reset(){}}function gXe(n){return dO.apply(this,arguments)}function dO(){return dO=Mr(function*(n){yield n.addInteractor("particlesAttract",t=>new mXe(t))}),dO.apply(this,arguments)}function pZ(n,t,e,r,i,o){const s=rd(n.options.collisions.absorb.speed*i.factor/10,0,r);n.size.value+=s/2,e.size.value-=s,r<=o&&(e.size.value=0,e.destroy())}function mZ(n,t){C$(gD(n),gD(t))}function bXe(n,t,e,r){switch(n.options.collisions.mode){case"absorb":!function vXe(n,t,e,r){const i=n.getRadius(),o=t.getRadius();void 0===i&&void 0!==o?n.destroy():void 0!==i&&void 0===o?t.destroy():void 0!==i&&void 0!==o&&(i>=o?pZ(n,0,t,o,e,r):pZ(t,0,n,i,e,r))}(n,t,e,r);break;case"bounce":mZ(n,t);break;case"destroy":!function yXe(n,t){!n.unbreakable&&!t.unbreakable&&mZ(n,t),void 0===n.getRadius()&&void 0!==t.getRadius()?n.destroy():void 0!==n.getRadius()&&void 0===t.getRadius()?t.destroy():void 0!==n.getRadius()&&void 0!==t.getRadius()&&(n.getRadius()>=t.getRadius()?n:t).destroy()}(n,t)}}class _Xe extends PD{constructor(t){super(t)}clear(){}init(){}interact(t,e){var r=this;return Mr(function*(){const i=r.container,o=t.getPosition(),s=t.getRadius(),a=i.particles.quadTree.queryCircle(o,2*s);for(const l of a){if(t===l||!l.options.collisions.enable||t.options.collisions.mode!==l.options.collisions.mode||l.destroyed||l.spawning)continue;const u=l.getPosition(),f=l.getRadius();Math.abs(Math.round(o.z)-Math.round(u.z))>s+f||(Xc(o,u)>s+f||bXe(t,l,e,i.retina.pixelRatio))}})()}isEnabled(t){return t.options.collisions.enable}reset(){}}function xXe(n){return hO.apply(this,arguments)}function hO(){return hO=Mr(function*(n){yield n.addInteractor("particlesCollisions",t=>
1new _Xe(t))}),hO.apply(this,arguments)}class wXe extends N1{constructor(t,e,r,i){super(t,e,r),this.canvasSize=i,this.canvasSize=Object.assign({},i)}contains(t){return!!super.contains(t)||(!!super.contains({x:t.x-this.canvasSize.width,y:t.y})||(!!super.contains({x:t.x-this.canvasSize.width,y:t.y-this.canvasSize.height})||super.contains({x:t.x,y:t.y-this.canvasSize.height})))}intersects(t){if(super.intersects(t))return!0;const e=t,i={x:t.position.x-this.canvasSize.width,y:t.position.y-this.canvasSize.height};if(void 0!==t.radius){const o=new N1(i.x,i.y,2*t.radius);return super.intersects(o)}if(void 0!==e.size){const o=new F1(i.x,i.y,2*e.size.width,2*e.size.height);return super.intersects(o)}return!1}}class CXe{constructor(){this.blur=5,this.color=new Gl,this.color.value="#000",this.enable=!1}load(t){!t||(void 0!==t.blur&&(this.blur=t.blur),this.color=Gl.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable))}}class SXe{constructor(){this.enable=!1,this.frequency=1}load(t){!t||(void 0!==t.color&&(this.color=Gl.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.frequency&&(this.frequency=t.frequency),void 0!==t.opacity&&(this.opacity=t.opacity))}}class EXe{constructor(){this.blink=!1,this.color=new Gl,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new CXe,this.triangles=new SXe,this.width=1,this.warp=!1}load(t){!t||(void 0!==t.id&&(this.id=t.id),void 0!==t.blink&&(this.blink=t.blink),this.color=Gl.create(this.color,t.color),void 0!==t.consent&&(this.consent=t.consent),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.frequency&&(this.frequency=t.frequency),void 0!==t.opacity&&(this.opacity=t.opacity),this.shadow.load(t.shadow),this.triangles.load(t.triangles),void 0!==t.width&&(this.width=t.width),void 0!==t.warp&&(this.warp=t.warp))}}function AXe(n,t,e,r,i){let o=Xc(n,t);return!i||o<=e?o:(o=Xc(n,{x:t.x-r.width,y:t.y}),o<=e?o:(o=Xc(n,{x:t.x-r.width,y:t.y-r.height}),o<=e||(o=Xc(n,{x:t.x,y:t.y-r.height})),o))}class MXe extends PD{constructor(t){super(t),this.linkContainer=t}clear(){}init(){this.linkContainer.particles.linksColors=new Map}interact(t){var e=this;return Mr(function*(){var r;if(!t.options.links)return;t.links=[];const i=t.getPosition(),o=e.container,s=o.canvas.size;if(i.x<0||i.y<0||i.x>s.width||i.y>s.height)return;const a=t.options.links,l=a.opacity,u=null!==(r=t.retina.linksDistance)&&void 0!==r?r:0,f=a.warp,h=f?new wXe(i.x,i.y,u,s):new N1(i.x,i.y,u),v=o.particles.quadTree.query(h);for(const m of v){const x=m.options.links;if(t===m||!x?.enable||a.id!==x.id||m.spawning||m.destroyed||!m.links||-1!==t.links.map(H=>H.destination).indexOf(m)||-1!==m.links.map(H=>H.destination).indexOf(t))continue;const p=m.getPosition();if(p.x<0||p.y<0||p.x>s.width||p.y>s.height)continue;const P=AXe(i,p,u,s,f&&x.warp);if(P>u)return;const T=(1-P/u)*l;e.setColor(t),t.links.push({destination:m,opacity:T})}})()}isEnabled(t){var e;return!(null===(e=t.options.links)||void 0===e||!e.enable)}loadParticlesOptions(t,...e){var r,i;t.links||(t.links=new EXe);for(const o of e)t.links.load(null!==(i=null!==(r=o?.links)&&void 0!==r?r:o?.lineLinked)&&void 0!==i?i:o?.line_linked)}reset(){}setColor(t){if(!t.options.links)return;const e=this.linkContainer,r=t.options.links;let i=void 0===r.id?e.particles.linksColor:e.particles.linksColors.get(r.id);i||(i=D$(r.color,r.blink,r.consent),void 0===r.id?e.particles.linksColor=i:e.particles.linksColors.set(r.id,i))}}function DXe(n){return pO.apply(this,arguments)}function pO(){return pO=Mr(function*(n){yield n.addInteractor("particlesLinks",t=>new MXe(t))}),pO.apply(this,arguments)}function gZ(n,t){const e=function IXe(n){return n.sort((t,e)=>t-e),n.join("_")}(n.map(i=>i.id));let r=t.get(e);return void 0===r&&(r=is(),t.set(e,r)),r}class OXe{constructor(t){this.container=t,this._freqs={links:new Map,triangles:new Map}}drawParticle(t,e){var r;const i=this.container,o=e.options;if(!e.links||e.links.length<=0)return;const s=e.links.filter(a=>o.links&&this.getLinkFrequency(e,a.destination)<=o.links.frequency);for(const a of s)this.drawTriangles(i,o,e,a,s),a.opacity>0&&(null!==(r=e.retina.linksWidth)&&void 0!==r?r:0)>0&&this.drawLinkLine(e,a)}init(){var t=this;return Mr(function*(){t._freqs.links=new Map,t._freqs.triangles=new Map})()}particleCreated(t){if(t.links=[],!t.options.links)return;const e=this.container.retina.pixelRatio;t.retina.linksDistance=t.options.links.distance*e,t.retina.linksWidth=t.options.links.width*e}particleDestroyed(t){t.links=[]}drawLinkLine(t,e){const r=this.container,i=r.actualOptions,o=e.destination,s=t.getPosition(),a=o.getPosition();let l=e.opacity;r.canvas.draw(u=>{var f,h,v;if(!t.options.links)return;let m;const x=null===(f=t.options.twinkle)||void 0===f?void 0:f.lines;if(x?.enable){const T=x.frequency,H=a2(x.color);is()<T&&H&&(m=H,l=Pi(x.opacity))}if(!m){const T=t.options.links,H=void 0!==T?.id?r.particles.linksColors.get(T.id):r.particles.linksColor;m=xD(t,o,H)}if(!m)return;const p=null!==(h=t.retina.linksWidth)&&void 0!==h?h:0,P=null!==(v=t.retina.linksDistance)&&void 0!==v?v:0;!function kXe(n,t,e,r,i,o,s,a,l,u,f,h){let v=!1;if(Xc(e,r)<=i)Gv(n,e,r),v=!0;else if(s){let m,x;const P=l1(e,{x:r.x-o.width,y:r.y});if(P.distance<=i){const T=e.y-P.dy/P.dx*e.x;m={x:0,y:T},x={x:o.width,y:T}}else{const H=l1(e,{x:r.x,y:r.y-o.height});if(H.distance<=i){const ee=-(e.y-H.dy/H.dx*e.x)/(H.dy/H.dx);m={x:ee,y:0},x={x:ee,y:o.height}}else{const ee=l1(e,{x:r.x-o.width,y:r.y-o.height});if(ee.distance<=i){const ie=e.y-ee.dy/ee.dx*e.x;m={x:-ie/(ee.dy/ee.dx),y:ie},x={x:m.x+o.width,y:m.y+o.height}}}}m&&x&&(Gv(n,e,m),Gv(n,r,x),v=!0)}if(v){if(n.lineWidth=t,a&&(n.globalCompositeOperation=l),n.strokeStyle=Qd(u,f),h.enable){const m=a2(h.color);m&&(n.shadowBlur=h.blur,n.shadowColor=Qd(m))}n.stroke()}}(u,p,s,a,P,r.canvas.size,t.options.links.warp,i.backgroundMask.enable,i.backgroundMask.composite,m,l,t.options.links.shadow)})}drawLinkTriangle(t,e,r){var i;if(!t.options.links)return;const o=this.container,s=o.actualOptions,a=e.destination,l=r.destination,u=t.options.links.triangles,f=null!==(i=u.opacity)&&void 0!==i?i:(e.opacity+r.opacity)/2;f<=0||o.canvas.draw(h=>{var v;const m=t.getPosition(),x=a.getPosition(),p=l.getPosition(),P=null!==(v=t.retina.linksDistance)&&void 0!==v?v:0;if(Xc(m,x)>P||Xc(p,x)>P||Xc(p,m)>P)return;let T=a2(u.color);if(!T){const H=t.options.links,U=void 0!==H?.id?o.particles.linksColors.get(H.id):o.particles.linksColor;T=xD(t,a,U)}!T||function TXe(n,t,e,r,i,o,s,a){(function fme(n,t,e,r){n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.lineTo(r.x,r.y),n.closePath()})(n,t,e,r),i&&(n.globalCompositeOperation=o),n.fillStyle=Qd(s,a),n.fill()}(h,m,x,p,s.backgroundMask.enable,s.backgroundMask.composite,T,f)})}drawTriangles(t,e,r,i,o){var s,a,l;const u=i.destination;if(!(null===(s=e.links)||void 0===s?void 0:s.triangles.enable)||!(null===(a=u.options.links)||void 0===a?void 0:a.triangles.enable))return;const f=null===(l=u.links)||void 0===l?void 0:l.filter(h=>{const v=this.getLinkFrequency(u,h.destination);return u.options.links&&v<=u.options.links.frequency&&o.findIndex(m=>m.destination===h.destination)>=0});if(f?.length)for(const h of f)this.getTriangleFrequency(r,u,h.destination)>e.links.triangles.frequency||this.drawLinkTriangle(r,i,h)}getLinkFrequency(t,e){return gZ([t,e],this._freqs.links)}getTriangleFrequency(t,e,r){return gZ([t,e,r],this._freqs.triangles)}}class RXe{constructor(){this.id="links"}getPlugin(t){return new OXe(t)}loadOptions(){}needsPlugin(){return!0}}function LXe(n){return mO.apply(this,arguments)}function mO(){return mO=Mr(function*(n){const t=new RXe;yield n.addPlugin(t)}),mO.apply(this,arguments)}function PXe(n){return gO.apply(this,arguments)}function gO(){return gO=Mr(function*(n){yield DXe(n),yield LXe(n)}),gO.apply(this,arguments)}class vZ{draw(t,e,r){const i=this.getCenter(e,r),o=this.getSidesData(e,r),s=o.count.numerator*o.count.denominator,a=o.count.numerator/o.count.denominator,u=Math.PI-Math.PI*(180*(a-2)/a)/180;if(t){t.beginPath(),t.translate(i.x,i.y),t.moveTo(0,0);for(let f=0;f<s;f++)t.lineTo(o.length,0),t.translate(o.length,0),t.rotate(u)}}getSidesCount(t){var e,r;const i=t.shapeData;return null!==(r=null!==(e=i?.sides)&&void 0!==e?e:i?.nb_sides)&&void 0!==r?r:5}}class NXe extends vZ{getCenter(t,e){return{x:-e/(this.getSidesCount(t)/3.5),y:-e/.76}}getSidesData(t,e){var r,i;const o=t.shapeData,s=null!==(i=null!==(r=o?.sides)&&void 0!==r?r:o?.nb_sides)&&void 0!==i?i:5;return{count:{denominator:1,numerator:s},length:2.66*e/(s/3)}}}class FXe extends vZ{getCenter(t,e){return{x:-e,y:e/1.66}}getSidesCount(){return 3}getSidesData(t,e){return{count:{denominator:2,numerator:3},length:2*e}}}function zXe(n){return vO.apply(this,arguments)}function vO(){return vO=Mr(function*(n){yield n.addShape("polygon",new NXe)}),vO.apply(this,arguments)}function BXe(n){return yO.apply(this,arguments)}function yO(){return yO=Mr(function*(n){yield n.addShape("triangle",new FXe)}),yO.apply(this,arguments)}function VXe(n){return bO.apply(this,arguments)}function bO(){return bO=Mr(function*(n){yield zXe(n),yield BXe(n)}),bO.apply(this,arguments)}class UXe{init(t){var e;const r=t.container,o=t.options.size.animation;o.enable&&(t.size.velocity=(null!==(e=t.retina.sizeAnimationSpeed)&&void 0!==e?e:r.retina.sizeAnimationSpeed)/100*r.retina.reduceFactor,o.sync||(t.size.velocity
1*=is()))}isEnabled(t){var e,r,i,o;return!t.destroyed&&!t.spawning&&t.size.enable&&((null!==(e=t.size.maxLoops)&&void 0!==e?e:0)<=0||(null!==(r=t.size.maxLoops)&&void 0!==r?r:0)>0&&(null!==(i=t.size.loops)&&void 0!==i?i:0)<(null!==(o=t.size.maxLoops)&&void 0!==o?o:0))}reset(t){t.size.loops=0}update(t,e){!this.isEnabled(t)||function jXe(n,t){var e,r,i,o,s;const a=(null!==(e=n.size.velocity)&&void 0!==e?e:0)*t.factor,l=n.size.min,u=n.size.max,f=null!==(r=n.size.decay)&&void 0!==r?r:1;if(!(n.destroyed||!n.size.enable||(null!==(i=n.size.maxLoops)&&void 0!==i?i:0)>0&&(null!==(o=n.size.loops)&&void 0!==o?o:0)>(null!==(s=n.size.maxLoops)&&void 0!==s?s:0))){switch(n.size.status){case 0:n.size.value>=u?(n.size.status=1,n.size.loops||(n.size.loops=0),n.size.loops++):n.size.value+=a;break;case 1:n.size.value<=l?(n.size.status=0,n.size.loops||(n.size.loops=0),n.size.loops++):n.size.value-=a}n.size.velocity&&1!==f&&(n.size.velocity*=f),function HXe(n,t,e,r){switch(n.options.size.animation.destroy){case"max":t>=r&&n.destroy();break;case"min":t<=e&&n.destroy()}}(n,n.size.value,l,u),n.destroyed||(n.size.value=rd(n.size.value,l,u))}}(t,e)}}function $Xe(n){return _O.apply(this,arguments)}function _O(){return _O=Mr(function*(n){yield n.addParticleUpdater("size",()=>new UXe)}),_O.apply(this,arguments)}const vw=Math.sqrt(2);class GXe{draw(t,e,r){t.rect(-r/vw,-r/vw,2*r/vw,2*r/vw)}getSidesCount(){return 4}}function WXe(n){return xO.apply(this,arguments)}function xO(){return xO=Mr(function*(n){const t=new GXe;yield n.addShape("edge",t),yield n.addShape("square",t)}),xO.apply(this,arguments)}class qXe{draw(t,e,r){var i;const o=e.shapeData,s=this.getSidesCount(e),a=null!==(i=o?.inset)&&void 0!==i?i:2;t.moveTo(0,0-r);for(let l=0;l<s;l++)t.rotate(Math.PI/s),t.lineTo(0,0-r*a),t.rotate(Math.PI/s),t.lineTo(0,0-r)}getSidesCount(t){var e,r;const i=t.shapeData;return null!==(r=null!==(e=i?.sides)&&void 0!==e?e:i?.nb_sides)&&void 0!==r?r:5}}function YXe(n){return wO.apply(this,arguments)}function wO(){return wO=Mr(function*(n){yield n.addShape("star",new qXe)}),wO.apply(this,arguments)}function CO(n,t,e,r,i){var o,s;const a=t;if(!a||!a.enable)return;const l=Kc(e.offset),u=(null!==(o=t.velocity)&&void 0!==o?o:0)*n.factor+3.6*l,f=null!==(s=t.decay)&&void 0!==s?s:1;i&&0!==a.status?(a.value-=u,a.value<0&&(a.status=0,a.value+=a.value)):(a.value+=u,i&&a.value>r&&(a.status=1,a.value-=a.value%r)),a.velocity&&1!==f&&(a.velocity*=f),a.value>r&&(a.value%=r)}class XXe{constructor(t){this.container=t}init(t){var e,r;const i=this.container;t.stroke=s2(t.options.stroke,t.id,t.options.reduceDuplicates),t.strokeWidth=t.stroke.width*i.retina.pixelRatio;const o=null!==(e=Op(t.stroke.color))&&void 0!==e?e:t.getFillColor();o&&(t.strokeColor=T$(o,null===(r=t.stroke.color)||void 0===r?void 0:r.animation,i.retina.reduceFactor))}isEnabled(t){var e,r,i,o;const s=null===(e=t.stroke)||void 0===e?void 0:e.color;return!t.destroyed&&!t.spawning&&!!s&&(void 0!==(null===(r=t.strokeColor)||void 0===r?void 0:r.h.value)&&s.animation.h.enable||void 0!==(null===(i=t.strokeColor)||void 0===i?void 0:i.s.value)&&s.animation.s.enable||void 0!==(null===(o=t.strokeColor)||void 0===o?void 0:o.l.value)&&s.animation.l.enable)}update(t,e){!this.isEnabled(t)||function KXe(n,t){var e,r,i,o,s,a,l,u,f,h;if(null===(e=n.stroke)||void 0===e||!e.color)return;const v=n.stroke.color.animation,m=null!==(i=null===(r=n.strokeColor)||void 0===r?void 0:r.h)&&void 0!==i?i:null===(o=n.color)||void 0===o?void 0:o.h;m&&CO(t,m,v.h,360,!1);const x=null!==(a=null===(s=n.strokeColor)||void 0===s?void 0:s.s)&&void 0!==a?a:null===(l=n.color)||void 0===l?void 0:l.s;x&&CO(t,x,v.s,100,!0);const p=null!==(f=null===(u=n.strokeColor)||void 0===u?void 0:u.l)&&void 0!==f?f:null===(h=n.color)||void 0===h?void 0:h.l;p&&CO(t,p,v.l,100,!0)}(t,e)}}function ZXe(n){return SO.apply(this,arguments)}function SO(){return SO=Mr(function*(n){yield n.addParticleUpdater("strokeColor",t=>new XXe(t))}),SO.apply(this,arguments)}const EO=["text","character","char"];class JXe{draw(t,e,r,i){var o,s,a;const l=e.shapeData;if(void 0===l)return;const u=l.value;if(void 0===u)return;const f=e;void 0===f.text&&(f.text=s2(u,e.randomIndexData));const h=f.text,v=null!==(o=l.style)&&void 0!==o?o:"",m=null!==(s=l.weight)&&void 0!==s?s:"400",x=2*Math.round(r),p=null!==(a=l.font)&&void 0!==a?a:"Verdana",P=e.fill,T=h.length*r/2;t.font=`${v} ${m} ${x}px "${p}"`;const H={x:-T,y:r/2};t.globalAlpha=i,P?t.fillText(h,H.x,H.y):t.strokeText(h,H.x,H.y),t.globalAlpha=1}getSidesCount(){return 12}init(t){return Mr(function*(){const e=t.actualOptions;if(EO.find(r=>hl(r,e.particles.shape.type))){const r=EO.map(o=>e.particles.shape.options[o]).find(o=>!!o),i=[];Sl(r,o=>{i.push(function ome(n,t){return hD.apply(this,arguments)}(o.font,o.weight))}),yield Promise.all(i)}})()}}function QXe(n){return AO.apply(this,arguments)}function AO(){return AO=Mr(function*(n){const t=new JXe;for(const e of EO)yield n.addShape(e,t)}),AO.apply(this,arguments)}function eZe(n){return MO.apply(this,arguments)}function MO(){return MO=Mr(function*(n){yield ZYe(n),yield pXe(n),yield oKe(n),yield lKe(n),yield dKe(n),yield _Ke(n),yield AKe(n),yield DKe(n),yield IKe(n),yield LKe(n),yield zKe(n),yield HKe(n),yield gXe(n),yield xXe(n),yield PXe(n),yield QYe(n),yield qKe(n),yield eXe(n),yield VXe(n),yield WXe(n),yield YXe(n),yield QXe(n),yield JKe(n),yield iXe(n),yield $Xe(n),yield GYe(n),yield nKe(n),yield ZXe(n),yield dXe(n),yield VYe(n)}),MO.apply(this,arguments)}class tZe{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){!t||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=Do(t.speed)),void 0!==t.decay&&(this.decay=Do(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class nZe extends c2{constructor(){super(),this.animation=new tZe,this.direction="clockwise",this.enable=!1,this.value=0}load(t){super.load(t),t&&(this.animation.load(t.animation),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.enable&&(this.enable=t.enable))}}class iZe{constructor(t){this.container=t}getTransformValues(t){var e;const r=(null===(e=t.tilt)||void 0===e?void 0:e.enable)&&t.tilt;return{b:r?Math.cos(r.value)*r.cosDirection:void 0,c:r?Math.sin(r.value)*r.sinDirection:void 0}}init(t){var e;const r=t.options.tilt;if(!r)return;t.tilt={enable:r.enable,value:Pi(r.value)*Math.PI/180,sinDirection:is()>=.5?1:-1,cosDirection:is()>=.5?1:-1};let i=r.direction;switch("random"===i&&(i=Math.floor(2*is())>0?"counter-clockwise":"clockwise"),i){case"counter-clockwise":case"counterClockwise":t.tilt.status=1;break;case"clockwise":t.tilt.status=0}const o=null===(e=t.options.tilt)||void 0===e?void 0:e.animation;o?.enable&&(t.tilt.decay=1-Pi(o.decay),t.tilt.velocity=Pi(o.speed)/360*this.container.retina.reduceFactor,o.sync||(t.tilt.velocity
1*=is()))}isEnabled(t){var e;const r=null===(e=t.options.tilt)||void 0===e?void 0:e.animation;return!t.destroyed&&!t.spawning&&!!r?.enable}loadOptions(t,...e){t.tilt||(t.tilt=new nZe);for(const r of e)t.tilt.load(r?.tilt)}update(t,e){!this.isEnabled(t)||function rZe(n,t){var e,r;if(!n.tilt||!n.options.tilt)return;const s=(null!==(e=n.tilt.velocity)&&void 0!==e?e:0)*t.factor,a=2*Math.PI,l=null!==(r=n.tilt.decay)&&void 0!==r?r:1;n.options.tilt.animation.enable&&(0===n.tilt.status?(n.tilt.value+=s,n.tilt.value>a&&(n.tilt.value-=a)):(n.tilt.value-=s,n.tilt.value<0&&(n.tilt.value+=a)),n.tilt.velocity&&1!==l&&(n.tilt.velocity*=l))}(t,e)}}function oZe(n){return DO.apply(this,arguments)}function DO(){return DO=Mr(function*(n){yield n.addParticleUpdater("tilt",t=>new iZe(t))}),DO.apply(this,arguments)}class yZ{constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(t){!t||(void 0!==t.color&&(this.color=Gl.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.frequency&&(this.frequency=t.frequency),void 0!==t.opacity&&(this.opacity=Do(t.opacity)))}}class sZe{constructor(){this.lines=new yZ,this.particles=new yZ}load(t){!t||(this.lines.load(t.lines),this.particles.load(t.particles))}}class aZe{getColorStyles(t,e,r,i){const s=t.options.twinkle;if(!s)return{};const a=s.particles,l=a.enable&&is()<a.frequency,f=(1-t.zIndexFactor)**t.options.zIndex.opacityRate,h=l?Pi(a.opacity)*f:i,v=Op(a.color),m=v?_g(v,h):void 0,x={},p=l&&m;return x.fill=p?m:void 0,x.stroke=p?m:void 0,x}init(){}isEnabled(t){const r=t.options.twinkle;return!!r&&r.particles.enable}loadOptions(t,...e){t.twinkle||(t.twinkle=new sZe);for(const r of e)t.twinkle.load(r?.twinkle)}update(){}}function lZe(n){return kO.apply(this,arguments)}function kO(){return kO=Mr(function*(n){yield n.addParticleUpdater("twinkle",()=>new aZe)}),kO.apply(this,arguments)}class cZe{constructor(){this.angle=50,this.move=10}load(t){!t||(void 0!==t.angle&&(this.angle=Do(t.angle)),void 0!==t.move&&(this.move=Do(t.move)))}}class uZe{constructor(){this.distance=5,this.enable=!1,this.speed=new cZe}
1load(t){if(t&&(void 0!==t.distance&&(this.distance=Do(t.distance)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed))if("number"==typeof t.speed)this.speed.load({angle:t.speed});else{const e=t.speed;this.speed.load(void 0!==e.min?{angle:e}:t.speed)}}}class dZe{constructor(t){this.container=t}init(t){var e;const r=t.options.wobble;t.wobble=r?.enable?{angle:is()*Math.PI*2,angleSpeed:Pi(r.speed.angle)/360,moveSpeed:Pi(r.speed.move)/10}:{angle:0,angleSpeed:0,moveSpeed:0},t.retina.wobbleDistance=Pi(null!==(e=r?.distance)&&void 0!==e?e:0)*this.container.retina.pixelRatio}isEnabled(t){var e;return!t.destroyed&&!t.spawning&&!(null===(e=t.options.wobble)||void 0===e||!e.enable)}loadOptions(t,...e){t.wobble||(t.wobble=new uZe);for(const r of e)t.wobble.load(r?.wobble)}update(t,e){!this.isEnabled(t)||function fZe(n,t){var e;if(!n.options.wobble?.enable||!n.wobble)return;const s=n.wobble.moveSpeed*t.factor*((null!==(e=n.retina.wobbleDistance)&&void 0!==e?e:0)*t.factor)/(1e3/60),a=2*Math.PI;n.wobble.angle+=n.wobble.angleSpeed*t.factor,n.wobble.angle>a&&(n.wobble.angle-=a),n.position.x+=s*Math.cos(n.wobble.angle),n.position.y+=s*Math.abs(Math.sin(n.wobble.angle))}(t,e)}}function hZe(n){return TO.apply(this,arguments)}function TO(){return TO=Mr(function*(n){yield n.addParticleUpdater("wobble",t=>new dZe(t))}),TO.apply(this,arguments)}function IO(){return IO=Mr(function*(n){yield eZe(n),yield CYe(n),yield BYe(n),yield oZe(n),yield lZe(n),yield hZe(n),yield PYe(n),yield gYe(n),yield OYe(n)}),IO.apply(this,arguments)}const mZe=function(){return["/diagram"]},gZe=function(n){return{data:n}};function vZe(n,t){if(1&n&&(Te(0,"mat-option",6),pt(1),Re()),2&n){const e=t.$implicit;Dt("value",e)("routerLink",Gs(4,mZe))("state",Hu(5,gZe,null==e?null:e.identifier)),ct(1),ns(" ",(null==e?null:e.identifier)+": "+(null==e?null:e.name)," ")}}let yZe=(()=>{class n{constructor(e,r){this.searchService=e,this.router=r,this.searchTerms=new nt,this.propagateChange=i=>{}}ngOnInit(){this.match=this.searchTerms.pipe(ob(300),sb(),uc(e=>e&&e.length>2?this.searchService.find(e):Di(null)),r2(e=>(console.log(e),Di(null))))}writeValue(e){this.selectedTerm=e}updateSelection(e){this.propagateChange(e),this.writeValue(e)}search(e){this.updateSelection(e),this.searchTerms.next(e)}onEnter(e){this.updateSelection(e)}onSelected(e){this.router.navigate(["diagram",e.option.value.identifier])}}return n.\u0275fac=function(e){return new(e||n)(he(FI),he(Ll))},n.\u0275cmp=Ir({type:n,selectors:[["app-search"]],inputs:{id:"id",cssClass:"cssClass",label:"label",placeholder:"placeholder"},decls:9,vars:8,consts:[["appearance","standard","color","accent",2,"font-size","16px","width","800px"],["matInput","","type","text",3,"placeholder","matAutocomplete","keyup","keyup.enter","keydown.enter"],["searchBox",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value","routerLink","state",4,"ngFor","ngForOf"],[3,"value","routerLink","state"]],template:function(e,r){if(1&e){const i=ca();Te(0,"mat-form-field",0)(1,"mat-label"),pt(2),Re(),Te(3,"input",1,2),pr("keyup",function(){hs(i);const s=Da(4);return Ss(r.search(s.value))})("keyup.enter",function(s){return s.preventDefault()})("keydown.enter",function(s){return s.preventDefault()}),Re(),Te(5,"mat-autocomplete",3,4),pr("optionSelected",function(s){return r.onSelected(s)}),Ln(7,vZe,2,7,"mat-option",5),DS(8,"async"),Re()()}if(2&e){const i=Da(6);(function iP(n){q2(_u,Vd,n,!0)})(r.cssClass),ct(2),oo(r.label),ct(1),Dt("placeholder",r.placeholder)("matAutocomplete",i),ct(4),Dt("ngForOf",kS(8,6,r.match))}},dependencies:[lf,B1,Fhe,bj,xv,n2,Yd,td,pE],styles:[".full-width[_ngcontent-%COMP%]{width:100%;text-align:center}"]}),n})();const bZ=function(){return["/diagram"]},_Z=function(){return["about"]},xZ=function(){return["/tree"]};let bZe=(()=>{class n{constructor(e){this.nav=e,this.faBarcode=oZ,this.faBezierCurve=sZ,this.faSitemap=aZ,this.id="tsparticles",this.particlesOptions={fps_limit:60,particles:{number:{value:80,density:{enable:!0,value_area:800}},color:{value:"#ffffff"},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:3,random:!0,anim:{enable:!1,speed:40,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:150,color:"#ffffff",opacity:.3,width:.5},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"repulse"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:400,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0}}particlesLoaded(e){}particlesInit(e){return Mr(function*(){yield function pZe(n){return IO.apply(this,arguments)}(e)})()}ngOnInit(){this.nav.hide()}}return n.\u0275fac=function(e){return new(e||n)(he(d2))},n.\u0275cmp=Ir({type:n,selectors:[["app-home"]],decls:22,vars:27,consts:[["id","particles"],[3,"id","options","particlesInit","particlesLoaded"],["fxLayout","column","fxLayoutAlign","space-around center",2,"padding-top","100px"],[2,"color","white","font-size","7rem","font-family","'Monoton', cursive"],["name","keyword-search",2,"padding-top","50px","padding-bottom","100px",3,"label","cssClass","placeholder"],["fxLayout","row","fxLayoutGap","100px","fxLayoutAlign","space-evenly center"],["fxFlex","33"],["size","7x",3,"icon","border","fixedWidth","routerLink"],[1,"item"],[3,"routerLink"]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"ng-particles",1),pr("particlesLoaded",function(o){return r.particlesLoaded(o)}),Re()(),Te(2,"div",2)(3,"span",3),pt(4," ENTEROPATHWAY "),Re(),ar(5,"app-search",4),Te(6,"div",5)(7,"div",6),ar(8,"fa-icon",7),Te(9,"h2",8)(10,"a",9),pt(11,"Pathway Browser"),Re()()(),Te(12,"div",6),ar(13,"fa-icon",7),Te(14,"h2",8)(15,"a",9),pt(16,"About"),Re()()(),Te(17,"div",6),ar(18,"fa-icon",7),Te(19,"h2",8)(20,"a",9),pt(21,"Functional Hierarchy"),Re()()()()()),2&e&&(ct(1),Dt("id",r.id)("options",r.particlesOptions)("particlesInit",r.particlesInit),
1ct(4),Dt("label","Search for Enteropathway Modules, Reactions and Compound ids")("cssClass","full-width")("placeholder","e.g. EPM0077, K00246, C10305"),ct(3),Dt("icon",r.faBezierCurve)("border",!0)("fixedWidth",!0)("routerLink",Gs(21,bZ)),ct(2),Dt("routerLink",Gs(22,bZ)),ct(3),Dt("icon",r.faBarcode)("border",!0)("fixedWidth",!0)("routerLink",Gs(23,_Z)),ct(2),Dt("routerLink",Gs(24,_Z)),ct(3),Dt("icon",r.faSitemap)("border",!0)("fixedWidth",!0)("routerLink",Gs(25,xZ)),ct(2),Dt("routerLink",Gs(26,xZ)))},dependencies:[B1,od,l$,Ha,qd,ja,Yc,Oge,yZe],styles:['@import"https://fonts.googleapis.com/css?family=Libre+Barcode+128+Text%7CMonoton&display=swap";@import"https://fonts.googleapis.com/icon?family=Material+Icons&display=block";#particles[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;background-color:#0781d8;background-repeat:no-repeat;background-size:cover;background-position:50% 50%;z-index:-1}a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}.item[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:100;text-align:center}fa-icon[_ngcontent-%COMP%]{cursor:pointer;stroke:#fff;color:#fff}']}),n})();const wZ=function(n){return[n]};function _Ze(n,t){if(1&n&&(Te(0,"a",15),pt(1),Re()),2&n){const e=xr().$implicit;Dt("routerLink",Hu(3,wZ,null==e?null:e.getLink()))("matTooltip",e.name),ct(1),ns(" ",e.identifier," ")}}function xZe(n,t){if(1&n&&(Te(0,"a",16),pt(1),Re()),2&n){const e=xr().$implicit;Dt("href",null==e?null:e.getLink(),jc)("matTooltip",e.name),ct(1),ns(" ",e.identifier," ")}}function wZe(n,t){if(1&n&&(Te(0,"span"),Ln(1,_Ze,2,5,"a",13),Ln(2,xZe,2,3,"a",14),Re()),2&n){const e=t.$implicit;ct(1),Dt("ngIf",!(null!=e&&e.isExternal())),ct(1),Dt("ngIf",null==e?null:e.isExternal())}}function CZe(n,t){if(1&n&&(Te(0,"a",19),pt(1),Re()),2&n){const e=xr().$implicit;Dt("routerLink",Hu(2,wZ,null==e?null:e.getLink())),ct(1),ns(" ",e.identifier," ")}}function SZe(n,t){if(1&n&&(Te(0,"a",20),pt(1),Re()),2&n){const e=xr().$implicit;Dt("href",null==e?null:e.getLink(),jc),ct(1),ns(" ",e.identifier," ")}}function EZe(n,t){if(1&n&&(Te(0,"span"),Ln(1,CZe,2,4,"a",17),Ln(2,SZe,2,2,"a",18),Re()),2&n){const e=t.$implicit;ct(1),Dt("ngIf",!(null!=e&&e.isExternal())),ct(1),Dt("ngIf",null==e?null:e.isExternal())}}function AZe(n,t){if(1&n&&(Te(0,"span")(1,"a",20),pt(2),Re()()),2&n){const e=t.$implicit;ct(1),Dt("href","https://pubmed.ncbi.nlm.nih.gov/"+e.split(":")[1],jc),ct(1),oo(e)}}function MZe(n,t){if(1&n&&(Te(0,"a",20),pt(1),Re()),2&n){const e=xr().$implicit;Dt("href",e.toURL(),jc),ct(1),oo(e.name+":"+e.value)}}function DZe(n,t){if(1&n&&(Te(0,"span"),pt(1),Re()),2&n){const e=xr().$implicit;ct(1),oo(e.name+":"+e.value)}}function kZe(n,t){if(1&n&&(Te(0,"span"),Ln(1,MZe,2,2,"a",21),Ln(2,DZe,2,1,"ng-template",null,22,hp),Re()),2&n){const e=t.$implicit,r=Da(3),i=xr(2);ct(1),Dt("ngIf",i.isLinkCrossReference(e))("ngIfElse",r)}}const TZe=function(){return["/diagram"]},IZe=function(n){return{data:n}};function OZe(n,t){if(1&n&&(Te(0,"div",1)(1,"div",2)(2,"span",3),pt(3),Re(),Te(4,"button",4)(5,"mat-icon"),pt(6,"open_in_new"),Re()()(),ar(7,"mat-divider"),Te(8,"p",5)(9,"span",6),pt(10,"Name"),Re(),ar(11,"span",7),Te(12,"span",8),pt(13),Re()(),Te(14,"p",5)(15,"span",6),pt(16,"Description"),Re(),ar(17,"span",7),Te(18,"span",8),pt(19),Re()(),Te(20,"div",5)(21,"span",6),pt(22,"Reactions"),Re(),ar(23,"span",7),Te(24,"div",9),Ln(25,wZe,3,2,"span",10),Re()(),Te(26,"div",11)(27,"span",6),pt(28,"Compounds"),Re(),ar(29,"span",7),Te(30,"div",9),Ln(31,EZe,3,2,"span",10),Re()(),Te(32,"div",11)(33,"span",6),pt(34,"References"),Re(),ar(35,"span",7),Te(36,"div",12),Ln(37,AZe,3,2,"span",10),Re()(),Te(38,"div",11)(39,"span",6),pt(40,"External\xa0references"),Re(),ar(41,"span",7),Te(42,"div",12),Ln(43,kZe,4,2,"span",10),Re()()()),2&n){const e=xr();ct(3),oo(e.module.identifier),ct(1),Dt("routerLink",Gs(9,TZe))("state",Hu(10,IZe,e.module.identifier)),ct(9),oo(e.module.name),ct(6),oo(e.module.description),ct(6),Dt("ngForOf",e.module.reactions),ct(6),Dt("ngForOf",e.module.getCompounds()),ct(6),Dt("ngForOf",e.module.references),ct(6),Dt("ngForOf",e.module.crossReferences)}}let RZe=(()=>{class n{constructor(e,r,i){this.route=e,this.entityService=r,this.nav=i}ngOnInit(){this.nav.show(),this.route.paramMap.pipe(uc(e=>this.setId(e.get("id")))).subscribe(e=>{}),this.find(this.id)}setId(e){return this.id=e,this.id}find(e){this.entityService.findEntity(e).subscribe(r=>this.module=r)}
1isLinkCrossReference(e){return"GutMetabolicModules"!=e.name&&"GutBrainModules"!=e.name}}return n.\u0275fac=function(e){return new(e||n)(he(z1),he(Fx),he(d2))},n.\u0275cmp=Ir({type:n,selectors:[["app-module"]],decls:2,vars:1,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20","style","padding-top: 60px",4,"ngIf"],["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],["fxLayout","row","fxLayoutAlign","start center"],[2,"font-size","32px","font-family","'Monoton', cursive"],["mat-icon-button","","matTooltip","Show in diagram",2,"color","#dee2e6",3,"routerLink","state"],["fxLayout","row"],["fxFlex","9","fxLayoutAlign","end"],["fxFlex","2"],[1,"text-light"],["fxLayoutGap","8px"],[4,"ngFor","ngForOf"],["fxLayout","row",2,"margin-top","14px"],["fxLayoutGap","8px",2,"display","grid"],["class","link",3,"routerLink","matTooltip",4,"ngIf"],["class","link","target","_blank",3,"href","matTooltip",4,"ngIf"],[1,"link",3,"routerLink","matTooltip"],["target","_blank",1,"link",3,"href","matTooltip"],["class","link",3,"routerLink",4,"ngIf"],["class","link","target","_blank",3,"href",4,"ngIf"],[1,"link",3,"routerLink"],["target","_blank",1,"link",3,"href"],["class","link","target","_blank",3,"href",4,"ngIf","ngIfElse"],["referenceInfo",""]],template:function(e,r){1&e&&(Te(0,"main"),Ln(1,OZe,44,12,"div",0),Re()),2&e&&(ct(1),Dt("ngIf",null!=r.module))},dependencies:[lf,jl,B1,od,Ha,qd,ja,t2,Yc,dc,T6,Uu,Kd],styles:['@import"https://fonts.googleapis.com/icon?family=Material+Icons&display=block";']}),n})();class CZ{constructor(t,e){this.coefficient=t,this.compound=e}}const LZe=["description"];function PZe(n,t){1&n&&(Te(0,"span"),pt(1,"+"),Re())}const SZ=function(n){return["/compound/",n]};function NZe(n,t){if(1&n&&(za(0),Te(1,"span"),pt(2),Te(3,"a",15),pt(4),Re()(),Ln(5,PZe,2,0,"span",16),Ba()),2&n){const e=t.$implicit,r=t.index,i=xr(2);ct(2),ns(" ",e.coefficient?e.coefficient+"\xa0":""," "),ct(1),Dt("routerLink",Hu(4,SZ,e.compound)),ct(1),oo(e.compound),ct(1),Dt("ngIf",r<i.equation[0].length-1)}}function FZe(n,t){1&n&&(Te(0,"span"),pt(1,"+"),Re())}function zZe(n,t){if(1&n&&(za(0),Te(1,"span"),pt(2),Te(3,"a",15),pt(4),Re()(),Ln(5,FZe,2,0,"span",16),Ba()),2&n){const e=t.$implicit,r=t.index,i=xr(2);ct(2),ns(" ",e.coefficient?e.coefficient+"\xa0":""," "),ct(1),Dt("routerLink",Hu(4,SZ,e.compound)),ct(1),oo(e.compound),ct(1),Dt("ngIf",r<i.equation[1].length-1)}}function BZe(n,t){if(1&n&&(Te(0,"div",14),Ln(1,NZe,6,6,"ng-container",12),Te(2,"span"),pt(3,"<=>"),Re(),Ln(4,zZe,6,6,"ng-container",12),Re()),2&n){const e=xr();ct(1),Dt("ngForOf",e.equation[0]),ct(3),Dt("ngForOf",e.equation[1])}}function VZe(n,t){if(1&n&&(Te(0,"span")(1,"a",17),pt(2),Re()()),2&n){const e=t.$implicit;ct(1),Dt("href","https://pubmed.ncbi.nlm.nih.gov/"+e.split(":")[1],jc),ct(1),oo(e)}}function HZe(n,t){if(1&n&&(Te(0,"span")(1,"a",17),pt(2),Re()()),2&n){const e=t.$implicit;ct(1),Dt("href","https://www.kegg.jp/entry/"+e.identifier,jc),ct(1),oo("KEGG_KO:"+e.identifier)}}function jZe(n,t){if(1&n&&(za(0),Te(1,"a",17),pt(2),Re(),Ba()),2&n){const e=xr().$implicit;ct(1),Dt("href",e.toURL(),jc),ct(1),oo(e.name+":"+e.value)}}function UZe(n,t){if(1&n&&(Te(0,"span"),Ln(1,jZe,3,2,"ng-container",16),Re()),2&n){const e=t.$implicit,r=xr();ct(1),Dt("ngIf",r.isLinkCrossReference(e))}}const $Ze=function(){return["/diagram"]},GZe=function(n){return{data:n}};let WZe=(()=>{class n{constructor(e,r,i,o){this.route=e,this.entityService=r,this.nav=i,this.renderer=o}ngOnInit(){this.nav.show(),this.route.paramMap.pipe(uc(e=>this.setId(e.get("id")))).subscribe(e=>{}),this.find(this.id)}ngAfterViewInit(){this.drawDescription()}setId(e){return this.id=e,this.id}find(e){this.entityService.findEntity(e).subscribe(r=>{if(r?.equation){const i=r?.equation.split("<=>");if(i?.length>1){const o=i[0].split("+").map(a=>{const l=a.match(/(?<coeficient>\d*)(?<compound>EPC\d+)+/);return new CZ(l.groups.coeficient,l.groups.compound)}),s=i[1].split("+").map(a=>{const l=a.match(/(?<coeficient>\d*)(?<compound>EPC\d+)+/);
1return new CZ(l.groups.coeficient,l.groups.compound)});this.equation=[o,s]}}this.reaction=r})}renderIcon(e){const r=this.renderer.createElement("div");this.renderer.setAttribute(r,"style","place-content: center; align-items: center; flex-direction: row; box-sizing: border-box; display: flex;");const i=this.renderer.createElement("mat-icon");this.renderer.setAttribute(i,"aria-hidden","false"),this.renderer.addClass(i,"mat-icon"),this.renderer.addClass(i,"material-icons");const o=this.renderer.createText(e);this.renderer.appendChild(i,o),this.renderer.appendChild(r,i),this.renderer.appendChild(this.d1.nativeElement,r)}renderStructure(e){const r=this.renderer.createElement("div");this.renderer.appendChild(this.d1.nativeElement,r),WT(e).addTo(r)}renderEquationSide(e){this.renderStructure(e[0].svg);for(let r=1;r<e.length;r++)this.renderIcon("add"),this.renderStructure(e[r].svg)}drawDescription(){this.reaction.substrates?.length>0&&this.reaction.products?.length>0&&(this.renderEquationSide(this.reaction.substrates),this.renderIcon("sync_alt"),this.renderEquationSide(this.reaction.products))}isLinkCrossReference(e){return"GTDB"!=e.name}}return n.\u0275fac=function(e){return new(e||n)(he(z1),he(Fx),he(d2),he(k1))},n.\u0275cmp=Ir({type:n,selectors:[["app-reaction"]],viewQuery:function(e,r){if(1&e&&ps(LZe,5),2&e){let i;_i(i=xi())&&(r.d1=i.first)}},decls:44,vars:12,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],["fxLayout","row","fxLayoutAlign","start center"],[2,"font-size","32px","font-family","'Monoton', cursive"],["mat-icon-button","","matTooltip","Show in diagram",2,"color","#dee2e6",3,"routerLink","state"],["fxLayout","row",1,"entity-row"],["fxFlex","9","fxLayoutAlign","end"],["fxFlex","2"],[1,"text-light"],["description",""],["fxFlex","9","fxLayoutAlign","end center"],["fxLayoutGap","8px","class","text-light",4,"ngIf"],["fxLayoutGap","8px",2,"display","grid"],[4,"ngFor","ngForOf"],["fxLayout","row",2,"margin-top","14px"],["fxLayoutGap","8px",1,"text-light"],[1,"link",3,"routerLink"],[4,"ngIf"],["target","_blank",1,"link",3,"href"]],template:function(e,r){1&e&&(Te(0,"main")(1,"div",0)(2,"div",1)(3,"span",2),pt(4),Re(),Te(5,"button",3)(6,"mat-icon"),pt(7,"open_in_new"),Re()()(),ar(8,"mat-divider"),Te(9,"div",4)(10,"span",5),pt(11,"Name"),Re(),ar(12,"span",6),Te(13,"span",7),pt(14),Re()(),Te(15,"div",4,8)(17,"span",9),pt(18,"Description"),Re(),ar(19,"span",6),Re(),Te(20,"div",4)(21,"span",5),pt(22,"Definition"),Re(),ar(23,"span",6),Te(24,"span",7),pt(25),Re()(),Te(26,"div",4)(27,"span",5),pt(28,"Equation"),Re(),ar(29,"span",6),Ln(30,BZe,5,2,"div",10),Re(),Te(31,"div",4)(32,"span",5),pt(33,"References"),Re(),ar(34,"span",6),Te(35,"div",11),Ln(36,VZe,3,2,"span",12),Re()(),Te(37,"div",13)(38,"span",5),pt(39,"External\xa0references"),Re(),ar(40,"span",6),Te(41,"div",11),Ln(42,HZe,3,2,"span",12),Ln(43,UZe,2,1,"span",12),Re()()()()),2&e&&(ct(4),oo(r.reaction.identifier),ct(1),Dt("routerLink",Gs(9,$Ze))("state",Hu(10,GZe,r.reaction.identifier)),ct(9),oo(r.reaction.name),ct(11),oo(r.reaction.definition),ct(5),Dt("ngIf",(null==r.equation?null:r.equation.length)>1),ct(6),Dt("ngForOf",r.reaction.references),ct(6),Dt("ngForOf",r.reaction.kos),ct(1),Dt("ngForOf",r.reaction.crossReferences))},dependencies:[lf,jl,B1,od,Ha,qd,ja,t2,Yc,dc,T6,Uu,Kd],styles:['@import"https://fonts.googleapis.com/icon?family=Material+Icons&display=block";.entity-row[_ngcontent-%COMP%]{margin-top:12px}']}),n})(),EZ=(()=>{class n{constructor(e){this.http=e,this.hierarchyApi=ka.enteropathwayGraphicsApiEndpoint+"api/resources"}getHierarchy(){return this.http.get(this.hierarchyApi+"/hierarchy/tree",{responseType:"json"})}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qZe=function(n){return[n]};function YZe(n,t){if(1&n){const e=ca();Te(0,"mat-tree-node",9)(1,"li",10),ar(2,"button",11),Te(3,"mat-checkbox",12),pr("change",function(i){const s=hs(e).$implicit;return Ss(xr().todoItemSelectionToggle(i.checked,s))}),Te(4,"a",13),pt(5),Re(),pt(6),Re()()()}if(2&n){const e=t.$implicit;xr(),Vu("display",""==Da(10).value||e.ok?"block":"none"),ct(3),Dt("checked",e.selected),ct(1),Dt("routerLink",Hu(6,qZe,"/module/"+e.key)),ct(1),oo(e.key),ct(1),ns("\xa0",e.
1name," ")}}function KZe(n,t){if(1&n){const e=ca();Te(0,"mat-nested-tree-node")(1,"li")(2,"div",14)(3,"button",15)(4,"mat-icon",16),pt(5),Re()(),Te(6,"mat-checkbox",17),pr("change",function(i){const s=hs(e).$implicit;return Ss(xr().todoItemSelectionToggle(i.checked,s))}),pt(7),Re()(),Te(8,"ul"),I1(9,18),Re()()()}if(2&n){const e=t.$implicit,r=xr(),i=Da(10);Vu("display",""==i.value||e.ok?"block":"none"),ct(3),ro("aria-label","Toggle "+e.name),ct(2),ns(" ",r.treeControl.isExpanded(e)?"expand_more":"chevron_right"," "),ct(1),Dt("checked",e.selected)("indeterminate",e.indeterminate&&!e.selected),ct(1),ns(" ",e.name," "),ct(1),Rs("enteropathway-tree-invisible",!r.treeControl.isExpanded(e)&&""==i.value)}}let XZe=(()=>{class n{constructor(e,r,i,o){this.nav=e,this.router=r,this.treeService=i,this.spinner=o,this.treeControl=new iU(s=>s.children),this.dataSource=new oU,this.hasChild=(s,a)=>!!a.children&&a.children.length>0}ngOnInit(){this.nav.show(),this.spinner.show(),this.treeService.getHierarchy().subscribe(e=>{this.dataSource.data=e,Object.keys(this.dataSource.data).forEach(r=>{this.setParent(this.dataSource.data[r],null)}),this.spinner.hide()})}setParent(e,r){e.parent=r,e.children&&e.children.forEach(i=>{this.setParent(i,e)})}checkAllParents(e){if(e.parent){const r=this.treeControl.getDescendants(e.parent);e.parent.selected=r.every(i=>i.selected),e.parent.indeterminate=r.some(i=>i.selected),this.checkAllParents(e.parent)}}todoItemSelectionToggle(e,r){r.selected=e,r.children&&r.children.forEach(i=>{this.todoItemSelectionToggle(e,i)}),this.checkAllParents(r)}setChildOk(e,r){r.forEach(i=>{i.ok=i.key?i.name.indexOf(e)>=0||i.key.indexOf(e)>=0:i.name.indexOf(e)>=0,i.parent&&this.setParentOk(e,i.parent,i.ok),i.children&&this.setChildOk(e,i.children)})}setParentOk(e,r,i){r.ok=i||r.ok||r.name.indexOf(e)>=0,r.parent&&this.setParentOk(e,r.parent,r.ok)}collectSelection(){let e=[];this.dataSource.data.forEach(r=>{e=e.concat(this.treeControl.getDescendants(r).filter(i=>i.selected&&i.key).map(i=>i.key))}),this.router.navigate(["/diagram"],{state:{data:e.reduce((r,i)=>r+"\n"+i)}})}}return n.\u0275fac=function(e){return new(e||n)(he(d2),he(Ll),he(EZ),he(F7))},n.\u0275cmp=Ir({type:n,selectors:[["app-tree"]],decls:17,vars:3,consts:[[2,"margin-top","4px"],["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],[2,"font-size","48px","font-family","'Monoton', cursive"],["matInput","","placeholder","Search","ngModel","",3,"keyup"],["search",""],["mat-flat-button","","color","accent",2,"margin-left","8px",3,"click"],[1,"enteropathway-tree",3,"dataSource","treeControl"],["class","leaf-node","matTreeNodeToggle","",3,"display",4,"matTreeNodeDef"],[3,"display",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","",1,"leaf-node"],[1,"mat-tree-node","leaf-node"],["mat-icon-button","","disabled","",1,"leaf-button"],[1,"checklist-leaf-node",3,"checked","change"],["target","_blank",1,"link",3,"routerLink"],[1,"mat-tree-node"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],[3,"checked","indeterminate","change"],["matTreeNodeOutlet",""]],template:function(e,r){if(1&e){const i=ca();Te(0,"main",0)(1,"div"),ar(2,"app-spinner"),Re(),Te(3,"div")(4,"div",1)(5,"span",2),pt(6,"Functional Hierarchy"),Re(),Te(7,"div")(8,"mat-form-field")(9,"input",3,4),pr("keyup",function(){hs(i);const s=Da(10);return Ss(r.setChildOk(s.value,r.dataSource.data))}),Re()(),Te(11,"button",5),pr("click",function(){return r.collectSelection()}),pt(12,"View in Diagram"),Re()(),Te(13,"div")(14,"mat-tree",6),Ln(15,YZe,7,8,"mat-tree-node",7),Ln(16,KZe,10,9,"mat-nested-tree-node",8),Re()()()()()}2&e&&(ct(14),Dt("dataSource",r.dataSource)("treeControl",r.treeControl),ct(2),Dt("matTreeNodeDefWhen",r.hasChild))},dependencies:[od,J2,t0,pv,Ha,ja,t2,Yc,dc,Ev,n2,Uu,td,LM,RM,NM,PM,OM,Lv,NI],styles:['@import"https://fonts.googleapis.com/icon?family=Material+Icons&display=block";.enteropathway-tree-invisible[_ngcontent-%COMP%]{display:none}.enteropathway-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .enteropathway-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.leaf-node[_ngcontent-%COMP%]{min-height:0px}.leaf-button[_ngcontent-%COMP%]{height:0px}']}),n})(),yw=(()=>{class n{constructor(e){this.http=e}activate(e){return this.http.get(ka.enteropathwayApiEndpoint+"api/account/activate/"+e).pipe(qn(r=>r.message))}register(e){return this.http.post(ka.enteropathwayApiEndpoint+"api/account/register",e).pipe(qn(r=>r))}requestReset(e){return this.http.post(ka.enteropathwayApiEndpoint+"api/account/requestresetpassword",{email:e}).pipe(qn(r=>r.message))}reset(e){return this.http.post(ka.enteropathwayApiEndpoint+"api/account/resetpassword",e).pipe(qn(r=>r.message))}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ZZe(n,t){if(1&n&&(Qu(),ar(0,"circle",4)),2&n){const e=xr(),r=Da(1);Vu("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(r)),ro("r",e._getCircleRadius())}}function JZe(n,t){if(1&n&&(Qu(),ar(0,"circle",4)),2&n){const e=xr(),r=Da(1);Vu("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(r)),ro("r",e._getCircleRadius())}}const eJe=o0(class{constructor(n){this._elementRef=n}},"primary"),tJe=new or("mat-progress-spinner-default-options",{providedIn:"root",factory:function nJe(){return{diameter:100}}});class S0 extends eJe{constructor(t,e,r,i,o,s,a,l){super(t),this._document=r,this._diameter=100,this._value=0,this._resizeSubscription=F.E
1MPTY,this.mode="determinate";const u=S0._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),u.has(r.head)||u.set(r.head,new Set([100])),this._noopAnimations="NoopAnimations"===i&&!!o&&!o._forceAnimations,"mat-spinner"===t.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth)),e.isBrowser&&e.SAFARI&&a&&s&&l&&(this._resizeSubscription=a.change(150).subscribe(()=>{"indeterminate"===this.mode&&l.run(()=>s.markForCheck())}))}get diameter(){return this._diameter}set diameter(t){this._diameter=ul(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=ul(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,ul(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=rb(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(t){var e;const r=50*(null!==(e=t.currentScale)&&void 0!==e?e:1);return`${r}% ${r}%`}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,r=S0._diameters;let i=r.get(t);if(!i||!i.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),t.appendChild(o),i||(i=new Set,r.set(t,i)),i.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}S0._diameters=new WeakMap,S0.\u0275fac=function(t){return new(t||S0)(he(Jr),he(cc),he(Ki,8),he(Cu,8),he(tJe),he(Cl),he(_6),he(Qi))},S0.\u0275cmp=Ir({type:S0,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(ro("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),Vu("width",e.diameter,"px")("height",e.diameter,"px"),Rs("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[Kn],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(Qu(),Te(0,"svg",0,1),Ln(2,ZZe,1,11,"circle",2),Ln(3,JZe,1,9,"circle",3),Re()),2&t&&(Vu("width",e.diameter,"px")("height",e.diameter,"px"),Dt("ngSwitch","indeterminate"===e.mode),ro("viewBox",e._getViewBox()),ct(2),Dt("ngSwitchCase",!0),ct(1),Dt("ngSwitchCase",!1))},dependencies:[Fm,M9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}
1@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let iJe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[jo,Kf,jo]}),n})();function oJe(n,t){1&n&&ar(0,"mat-progress-spinner",5)}function sJe(n,t){1&n&&(Te(0,"div",8)(1,"p"),pt(2,"Token does not exist!"),Re(),Te(3,"p"),pt(4,"If you already activated your account please proceed to the login page."),Re(),Te(5,"p"),pt(6,"In case you are denied access because of a non-activated account please get in touch with an admin."),Re()())}function aJe(n,t){1&n&&(Te(0,"div",8)(1,"p"),pt(2,"Activation successful!"),Re()())}const lJe=function(){return["/diagram"]};function cJe(n,t){if(1&n&&(Ln(0,sJe,7,0,"div",6),Ln(1,aJe,3,0,"div",6),Te(2,"button",7),pt(3,"Go to login page"),Re()),2&n){const e=xr();Dt("ngIf",!e.isActivated),ct(1),Dt("ngIf",e.isActivated),ct(1),Dt("routerLink",Gs(3,lJe))}}let uJe=(()=>{class n{constructor(e,r){this.route=e,this.registrationService=r,this.isSubmitted=!0,this.isActivated=!1}ngOnInit(){this.route.paramMap.pipe(qn(e=>""+e.get("key"))).subscribe(e=>this.registrationService.activate(e).subscribe({next:r=>{this.isActivated="ACTIVATED"===r},error:r=>{console.log(r)},complete:()=>{this.isSubmitted=!1}}))}}return n.\u0275fac=function(e){return new(e||n)(he(z1),he(yw))},n.\u0275cmp=Ir({type:n,selectors:[["app-activate"]],decls:7,vars:2,consts:[["fxLayout","column","fxLayoutAlign","space-between center",2,"padding-top","50px"],["fxLayout","column","fxLayoutAlign","center center",2,"margin-top","25px"],[2,"font-size","48px","font-family","'Monoton', cursive"],["color","primary","mode","indeterminate",4,"ngIf","ngIfElse"],["loginPage",""],["color","primary","mode","indeterminate"],["fxLayout","column","fxLayoutAlign","center center",4,"ngIf"],["mat-flat-button","","color","primary",3,"routerLink"],["fxLayout","column","fxLayoutAlign","center center"]],template:function(e,r){if(1&e&&(Te(0,"mat-card",0)(1,"mat-card-content",1)(2,"span",2),pt(3,"Enteropathway account activation"),Re(),Ln(4,oJe,1,0,"mat-progress-spinner",3),Ln(5,cJe,4,4,"ng-template",null,4,hp),Re()()),2&e){const i=Da(6);ct(4),Dt("ngIf",r.isSubmitted)("ngIfElse",i)}},dependencies:[jl,B1,Ha,ja,dc,rg,ng,S0]}),n})();function fJe(n,t){if(1&n&&(Te(0,"p"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),oo(e)}}function dJe(n,t){if(1&n&&(Te(0,"div"),Ln(1,fJe,2,1,"p",4),Re()),2&n){const e=xr();ct(1),Dt("ngForOf",e.errors)}}function hJe(n,t){if(1&n&&(Te(0,"mat-error"),pt(1),Re()),2&n){const e=xr(2);ct(1),oo(e.getEmailErrorMessage())}}function pJe(n,t){1&n&&ar(0,"mat-progress-bar",13)}const mJe=function(){return["/"]};function gJe(n,t){if(1&n){const e=ca();Te(0,"form",5),pr("submit",function(){return hs(e),Ss(xr().requestReset())}),Te(1,"mat-form-field",6)(2,"mat-label"),pt(3,"E-mail"),Re(),Te(4,"mat-icon",7),pt(5,"email"),Re(),ar(6,"input",8),Ln(7,hJe,2,1,"mat-error",2),Re(),Ln(8,pJe,1,0,"mat-progress-bar",9),Te(9,"div",10)(10,"button",11),pt(11,"Cancel"),Re(),Te(12,"button",12),pt(13,"Reset"),Re()()()}if(2&n){const e=xr();Dt("formGroup",e.submissionForm),ct(7),Dt("ngIf",e.email.invalid),ct(1),Dt("ngIf",e.showProgressBar),ct(2),Dt("routerLink",Gs(4,mJe))}}function vJe(n,t){1&n&&(Te(0,"div")(1,"p"),pt(2,"Password reset request successful! You will shortly receive an email with the reset instructions."),Re()())}let yJe=(()=>{class n{constructor(e,r,i){this.dialog=e,this.userAccountService=r,this.formBuilder=i,this.errors=[],this.showProgressBar=!1,this.submissionComplete=!1,this.email=new kb("",[qc.required,qc.email]),this.submissionForm=this.formBuilder.group({}),this.submissionForm.addControl("email",this.email)}ngOnInit(){this.dialog.closeAll()}getEmailErrorMessage(){return this.email.hasError("required")?"You must enter a value":this.email.hasError("email")?"Not a valid email":""}
1requestReset(){if(this.submissionForm.invalid)return;this.errors=[];const e=this.submissionForm.get("email").value;this.showProgressBar=!0,this.userAccountService.requestReset(e).pipe(u2()).subscribe({next:r=>{this.submissionComplete="CREATED"===r,this.submissionComplete||(this.errors=["Account not found or not activated yet! Please use the email you used for creating an account."])},error:r=>{this.errors=400==r.status?Object.keys(r.error).map(i=>i+" "+r.error[i]):["An error occurred please try again! Or let us know if the error persists."],this.showProgressBar=!1},complete:()=>{this.showProgressBar=!1}})}}return n.\u0275fac=function(e){return new(e||n)(he(v2),he(yw),he(mv))},n.\u0275cmp=Ir({type:n,selectors:[["app-request-reset-password"]],decls:6,vars:3,consts:[["fxLayout","column","fxLayoutAlign","center center",2,"padding-top","50px"],[2,"margin-top","25px","font-size","48px","font-family","'Monoton', cursive"],[4,"ngIf"],["style","width: 30vw;","ngStyle.lt-lg","width: 50vw;","fxLayout","column","fxLayoutAlign","space-around stretch",3,"formGroup","submit",4,"ngIf"],[4,"ngFor","ngForOf"],["ngStyle.lt-lg","width: 50vw;","fxLayout","column","fxLayoutAlign","space-around stretch",2,"width","30vw",3,"formGroup","submit"],["appearance","outline",1,"form-field"],["matPrefix",""],["matInput","","formControlName","email"],["color","accent","mode","indeterminate",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","4px","fxFill",""],["mat-raised-button","","type","button","fxFlex","50",3,"routerLink"],["mat-raised-button","","color","primary","fxFlex","50"],["color","accent","mode","indeterminate"]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"span",1),pt(2,"Reset account password"),Re(),Ln(3,dJe,2,1,"div",2),Ln(4,gJe,14,5,"form",3),Ln(5,vJe,3,0,"div",2),Re()),2&e&&(ct(3),Dt("ngIf",r.errors.length>0),ct(1),Dt("ngIf",!r.submissionComplete),ct(1),Dt("ngIf",r.submissionComplete))},dependencies:[lf,jl,B1,S6,J2,t0,C6,Q2,Sp,Ha,qd,ja,Ap,Yc,yv,dc,Cv,n2,Yd,Ub,Uu,td,R6],encapsulation:2}),n})();class bJe{constructor(t,e){this.resetKey=t,this.password=e}}function _Je(n,t){if(1&n&&(Te(0,"p"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),oo(e)}}function xJe(n,t){if(1&n&&(Te(0,"div"),Ln(1,_Je,2,1,"p",4),Re()),2&n){const e=xr();ct(1),Dt("ngForOf",e.errors)}}function wJe(n,t){if(1&n&&(Te(0,"mat-error"),pt(1),Re()),2&n){const e=xr(2);ct(1),T8("You must enter a password of minimum ",e.passwordMinLength," and maximum ",e.passwordMaxLength," characters.")}}function CJe(n,t){1&n&&ar(0,"mat-progress-bar",14)}const SJe=function(){return["/"]};function EJe(n,t){if(1&n){const e=ca();Te(0,"form",5),pr("submit",function(){return hs(e),Ss(xr().reset())}),Te(1,"mat-form-field",6)(2,"mat-label"),pt(3,"Password"),Re(),Te(4,"mat-icon",7),pt(5,"lock"),Re(),ar(6,"input",8),Te(7,"button",9),pr("click",function(){hs(e);const i=xr();return Ss(i.hidePassword=!i.hidePassword)}),Te(8,"mat-icon"),pt(9),Re()(),Ln(10,wJe,2,2,"mat-error",2),Re(),Ln(11,CJe,1,0,"mat-progress-bar",10),Te(12,"div",11)(13,"button",12),pt(14,"Cancel"),Re(),Te(15,"button",13),pt(16,"Reset"),Re()()()}if(2&n){const e=xr();Dt("formGroup",e.submissionForm),ct(6),Dt("type",e.hidePassword?"password":"text"),ct(1),ro("aria-label","Hide password")("aria-pressed",e.hidePassword),ct(2),oo(e.hidePassword?"visibility_off":"visibility"),ct(1),Dt("ngIf",e.submissionForm.controls.password.invalid),ct(1),Dt("ngIf",e.showProgressBar),ct(2),Dt("routerLink",Gs(8,SJe))}}const AJe=function(){return["/diagram"]};function MJe(n,t){1&n&&(Te(0,"div")(1,"p"),pt(2,"Password reset successful!"),Re(),Te(3,"button",15),pt(4,"Go to login page"),Re()()),2&n&&(ct(3),Dt("routerLink",Gs(1,AJe)))}let DJe=(()=>{class n{constructor(e,r,i){this.route=e,this.userAccountService=r,this.formBuilder=i,this.passwordMinLength=ka.passwordMinLength,this.passwordMaxLength=ka.passwordMaxLength,this.errors=[],this.showProgressBar=!1,this.hidePassword=!0,this.submissionComplete=!1,this.resetKey="",this.submissionForm=this.formBuilder.group({password:["",[qc.required,qc.minLength(this.passwordMinLength),qc.maxLength(this.passwordMaxLength)]]})}ngOnInit(){this.resetKey="",this.route.paramMap.pipe(qn(e=>""+e.get("key"))).subscribe(e=>{this.resetKey=e})}
1reset(){if(this.submissionForm.invalid)return;this.errors=[];const e=this.submissionForm.get("password").value,r=new bJe(this.resetKey,e);this.showProgressBar=!0,this.userAccountService.reset(r).pipe(u2()).subscribe({next:i=>{console.log(i)},error:i=>{this.errors=400==i.status?Object.keys(i.error).map(o=>o+" "+i.error[o]):["An error occurred please try again! Or let us know if the error persists."],this.showProgressBar=!1},complete:()=>{this.errors=[],this.showProgressBar=!1,this.submissionComplete=!0}})}}return n.\u0275fac=function(e){return new(e||n)(he(z1),he(yw),he(mv))},n.\u0275cmp=Ir({type:n,selectors:[["app-reset-password"]],decls:6,vars:3,consts:[["fxLayout","column","fxLayoutAlign","center center",2,"padding-top","50px"],[2,"margin-top","25px","font-size","48px","font-family","'Monoton', cursive"],[4,"ngIf"],["style","width: 30vw;","ngStyle.lt-lg","width: 50vw;","fxLayout","column","fxLayoutAlign","space-around stretch",3,"formGroup","submit",4,"ngIf"],[4,"ngFor","ngForOf"],["ngStyle.lt-lg","width: 50vw;","fxLayout","column","fxLayoutAlign","space-around stretch",2,"width","30vw",3,"formGroup","submit"],["appearance","outline"],["matPrefix",""],["matInput","","formControlName","password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["color","accent","mode","indeterminate",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","4px","fxFill",""],["mat-raised-button","","type","button","fxFlex","50",3,"routerLink"],["mat-raised-button","","color","primary","fxFlex","50"],["color","accent","mode","indeterminate"],["mat-flat-button","","color","primary",3,"routerLink"]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"span",1),pt(2,"Password reset"),Re(),Ln(3,xJe,2,1,"div",2),Ln(4,EJe,17,9,"form",3),Ln(5,MJe,5,2,"div",2),Re()),2&e&&(ct(3),Dt("ngIf",r.errors.length>0),ct(1),Dt("ngIf",!r.submissionComplete),ct(1),Dt("ngIf",r.submissionComplete))},dependencies:[lf,jl,B1,S6,J2,t0,C6,Q2,Sp,Ha,qd,ja,Ap,Yc,yv,dc,Cv,n2,Yd,Ub,Sv,Uu,td,R6],encapsulation:2}),n})(),kJe=(()=>{class n{constructor(e,r){this.authService=e,this.router=r}canActivate(e,r){return this.checkUserLogin(e,r.url)}checkUserLogin(e,r){if(this.authService.isAuthenticated()){const i=this.authService.getRoles();return!(e.data.role&&i.indexOf(e.data.role)<0&&(this.router.navigate(["/"]),1))}return this.router.navigate(["/"]),!1}}return n.\u0275fac=function(e){return new(e||n)(qt(pw),qt(Ll))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TJe=(()=>{class n{constructor(e){this.http=e}findAll(){return this.http.get(ka.enteropathwayApiEndpoint+"api/users/").pipe(qn(e=>e))}createActivationKey(e){return this.http.post(ka.enteropathwayApiEndpoint+"api/account/createactivationkey",{email:e}).pipe(qn(r=>r.message))}deactivateUser(e){return this.http.post(ka.enteropathwayApiEndpoint+"api/account/deactivateaccount",{email:e.email}).pipe(qn(r=>r.message))}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const IJe=["userPaginator"],OJe=["userSort"];function RJe(n,t){if(1&n&&(Te(0,"th",15),pt(1),Re()),2&n){const e=xr().$implicit;ct(1),ns(" ",e.header," ")}}function LJe(n,t){if(1&n&&(Te(0,"td",16),pt(1),Re()),2&n){const e=t.$implicit,r=xr().$implicit;ct(1),ns(" ",r.cell(e)," ")}}function PJe(n,t){1&n&&(za(0,14),Ln(1,RJe,2,1,"th",7),Ln(2,LJe,2,1,"td",8),Ba()),2&n&&Dt("matColumnDef",t.$implicit.columnDef)}function NJe(n,t){1&n&&(Te(0,"th",15),pt(1,"Activation"),Re())}function FJe(n,t){1&n&&ar(0,"div")}function zJe(n,t){if(1&n){const e=ca();Te(0,"div",20,21),ar(2,"mat-progress-bar",22),Re(),Te(3,"button",23),pr("click",function(){hs(e);const i=Da(1),o=xr().$implicit;return Ss(xr().deactivate(o,i))}),pt(4," Deactivate "),Re()}}function BJe(n,t){if(1&n){const e=ca();Te(0,"button",24),pr("click",function(){hs(e);const i=xr().$implicit;return Ss(xr().authorizeActivation(i))}),pt(1),Re()}if(2&n){const e=xr().$implicit;gS("color",e.hasActivationLink?"accent":"primary"),ct(1),ns(" ",e.hasActivationLink?"Resend Activation":"Send activation link"," ")}}function VJe(n,t){if(1&n&&(Te(0,"td",16),Ln(1,FJe,1,0,"div",17),Ln(2,zJe,5,0,"ng-template",null,18,hp),Ln(4,BJe,2,2,"ng-template",null,19,hp),Re()),2&n){const e=t.$implicit,r=Da(3),i=Da(5);ct(1),Dt("ngIf",e.activated)("ngIfThen",r)("ngIfElse",i)}}
1function HJe(n,t){1&n&&ar(0,"tr",25)}function jJe(n,t){1&n&&ar(0,"tr",26)}function UJe(n,t){1&n&&(Te(0,"tr",27)(1,"td",28),pt(2,"No data matching the filter"),Re()())}const $Je=function(){return[5,10]};let GJe=(()=>{class n{constructor(e,r){this.accountsService=e,this.dialog=r,this.columns=[{columnDef:"firstName",header:"First Name",cell:i=>`${i.firstName}`},{columnDef:"lastName",header:"Last Name",cell:i=>`${i.lastName}`},{columnDef:"username",header:"User Name",cell:i=>`${i.username}`},{columnDef:"email",header:"Email",cell:i=>`${i.email}`},{columnDef:"institution",header:"Institution",cell:i=>`${i.institution}`}],this.displayedColumns=this.columns.map(i=>i.columnDef).concat(["activated"]),this.userDataSource=new Ov}ngAfterViewInit(){this.accountsService.findAll().subscribe(e=>{this.userDataSource=new Ov(e),this.userDataSource.paginator=this.userPaginator,this.userDataSource.sort=this.userSort})}authorizeActivation(e){this.accountsService.createActivationKey(e.email).subscribe(()=>{e.hasActivationLink=!0})}deactivate(e,r){this.dialog.open(nZ,{width:"15%",disableClose:!1,closeOnNavigation:!0,hasBackdrop:!0,data:{message:"By confirming this action, the account with username: "+e.username+" will be deactivated!"}}).afterClosed().subscribe(i=>{1==i&&(r.removeAttribute("hidden"),this.accountsService.deactivateUser(e).subscribe({next:()=>{e.activated=!1},error:o=>{console.log(o)},complete:()=>{r.setAttribute("hidden","hidden")}}))})}}return n.\u0275fac=function(e){return new(e||n)(he(TJe),he(v2))},n.\u0275cmp=Ir({type:n,selectors:[["app-accounts"]],viewQuery:function(e,r){if(1&e&&(ps(IJe,5),ps(OJe,5)),2&e){let i;_i(i=xi())&&(r.userPaginator=i.first),_i(i=xi())&&(r.userSort=i.first)}},decls:15,vars:6,consts:[["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20",2,"padding-top","100px"],[1,"margin-top-30"],[1,"mat-elevation-z8"],["mat-table","","matSort","",3,"dataSource"],["userSort","matSort"],[3,"matColumnDef",4,"ngFor","ngForOf"],["matColumnDef","activated"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","mat-row",4,"matNoDataRow"],["aria-label","Select page of files",3,"pageSizeOptions"],["userPaginator",""],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngIf","ngIfThen","ngIfElse"],["disableAccount",""],["showActivation",""],["hidden","",2,"width","160px"],["deactivationProgressBar",""],["color","accent","mode","indeterminate"],["mat-raised-button","","color","warn",2,"width","160px",3,"click"],["mat-raised-button","",2,"width","160px",3,"color","click"],["mat-header-row",""],["mat-row",""],[1,"mat-row"],["colspan","4",1,"mat-cell"]],template:function(e,r){1&e&&(Te(0,"main")(1,"div",0)(2,"section",1)(3,"div",2)(4,"table",3,4),Ln(6,PJe,3,1,"ng-container",5),za(7,6),Ln(8,NJe,2,0,"th",7),Ln(9,VJe,6,3,"td",8),Ba(),Ln(10,HJe,1,0,"tr",9),Ln(11,jJe,1,0,"tr",10),Ln(12,UJe,3,0,"tr",11),Re(),ar(13,"mat-paginator",12,13),Re()()()()),2&e&&(ct(4),Dt("dataSource",r.userDataSource),ct(2),Dt("ngForOf",r.columns),ct(4),Dt("matHeaderRowDef",r.displayedColumns),ct(1),Dt("matRowDefColumns",r.displayedColumns),ct(2),Dt("pageSizeOptions",Gs(5,$Je)))},dependencies:[lf,jl,Ha,ja,t2,Yc,dc,O6,R6,Mp,t_,ug,P6,fg,N6,L6,dg,F6,z6,hg,pg,rU],styles:["table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}"]}),n})();function WJe(n,t){if(1&n&&(Te(0,"mat-error"),pt(1),Re()),2&n){const e=xr();ct(1),oo(e.getEmailErrorMessage())}}function qJe(n,t){1&n&&(Te(0,"mat-error"),pt(1,"You must enter a value"),Re())}function YJe(n,t){if(1&n&&(Te(0,"p",15),pt(1),Re()),2&n){const e=xr();ct(1),oo(e.message)}}function KJe(n,t){1&n&&ar(0,"mat-progress-bar",16)}const XJe=function(){return["/account/requestresetpassword"]},ZJe=function(){return["/register"]};let AZ=(()=>{class n{constructor(e,r){this.authService=e,this.formBuilder=r,this.message="",this.showProgressBar=!1,this.hidePassword=!0,this.email=new kb("",[qc.required,qc.email]),this.newLoginEvent=new zi,this.loginForm=this.formBuilder.group({password:["",qc.required],rememberMe:new kb(!1)}),this.loginForm.addControl("email",this.email)}getEmailErrorMessage(){return this.email.hasError("required")?"You must enter a value":this.email.hasError("email")?"Not a valid email":""}ngOnInit(){}
1login(){if(this.loginForm.invalid)return;this.message="";let e={username:this.loginForm.get("email").value,password:this.loginForm.get("password").value};this.showProgressBar=!0,this.authService.authenticate(e).pipe(u2()).subscribe({next:r=>{},error:r=>{this.message=401==r.status?"Unauthorized access! Please make sure you are typing the correct username/password combination.":"An error occured please try again! Or let us know if the error persists.",this.showProgressBar=!1},complete:()=>{this.message="",this.showProgressBar=!1,this.newLoginEvent.emit(!0)}})}}return n.\u0275fac=function(e){return new(e||n)(he(pw),he(mv))},n.\u0275cmp=Ir({type:n,selectors:[["app-login"]],outputs:{newLoginEvent:"newLoginEvent"},decls:30,vars:13,consts:[["fxLayout","column","fxLayoutAlign","space-around stretch",3,"formGroup","submit"],["appearance","standard",1,"form-field"],["matPrefix",""],["matInput","","formControlName","email"],[4,"ngIf"],["appearance","standard"],["matInput","","formControlName","password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["fxLayout","row","fxLayoutAlign","space-between center",2,"margin-top","5px","margin-bottom","15px"],[1,"link",3,"routerLink"],["class","error",4,"ngIf"],["color","accent","mode","indeterminate",4,"ngIf"],["fxLayout","row","fxLayoutAlign","space-between center","fxLayoutGap","4px",2,"margin-bottom","10px"],["mat-raised-button","","fxFlex","50","fxFill","","type","button",3,"routerLink"],["mat-raised-button","","fxFlex","50","fxFill","",2,"background","#0781d8","color","white"],[1,"error"],["color","accent","mode","indeterminate"]],template:function(e,r){1&e&&(Te(0,"form",0),pr("submit",function(){return r.login()}),Te(1,"mat-form-field",1)(2,"mat-label"),pt(3,"E-mail"),Re(),Te(4,"mat-icon",2),pt(5,"email"),Re(),ar(6,"input",3),Ln(7,WJe,2,1,"mat-error",4),Re(),Te(8,"mat-form-field",5)(9,"mat-label"),pt(10,"Password"),Re(),Te(11,"mat-icon",2),pt(12,"lock"),Re(),ar(13,"input",6),Te(14,"button",7),pr("click",function(){return r.hidePassword=!r.hidePassword}),Te(15,"mat-icon"),pt(16),Re()(),Ln(17,qJe,2,0,"mat-error",4),Re(),Te(18,"div",8)(19,"mat-checkbox"),pt(20,"Remember me"),Re(),Te(21,"a",9),pt(22,"Forgot password?"),Re()(),Ln(23,YJe,2,1,"p",10),Ln(24,KJe,1,0,"mat-progress-bar",11),Te(25,"div",12)(26,"button",13),pt(27,"Register"),Re(),Te(28,"button",14),pt(29,"Log In"),Re()()()),2&e&&(Dt("formGroup",r.loginForm),ct(7),Dt("ngIf",r.email.invalid),ct(6),Dt("type",r.hidePassword?"password":"text"),ct(1),ro("aria-label","Hide password")("aria-pressed",r.hidePassword),ct(2),oo(r.hidePassword?"visibility_off":"visibility"),ct(1),Dt("ngIf",r.loginForm.controls.password.invalid),ct(4),Dt("routerLink",Gs(11,XJe)),ct(2),Dt("ngIf",r.message),ct(1),Dt("ngIf",r.showProgressBar),ct(2),Dt("routerLink",Gs(12,ZJe)))},dependencies:[jl,B1,od,S6,J2,t0,C6,Q2,Sp,Ha,qd,ja,Ap,Yc,dc,Ev,Cv,n2,Yd,Ub,Sv,Uu,td,R6],encapsulation:2}),n})();class JJe{constructor(t,e,r,i,o,s,a,l){this.firstName=t,this.lastName=e,this.institution=r,this.email=i,this.username=o,this.password=s,this.activated=a,this.hasActivationLink=l}}function QJe(n,t){if(1&n&&(Te(0,"p"),pt(1),Re()),2&n){const e=t.$implicit;ct(1),oo(e)}}function eQe(n,t){if(1&n&&(Te(0,"div"),Ln(1,QJe,2,1,"p",4),Re()),2&n){const e=xr();ct(1),Dt("ngForOf",e.errors)}}function tQe(n,t){1&n&&(Te(0,"mat-error"),pt(1,"You must enter a value"),Re())}function nQe(n,t){1&n&&(Te(0,"mat-error"),pt(1,"You must enter a value"),Re())}function rQe(n,t){1&n&&(Te(0,"mat-error"),pt(1,"You must enter a value"),Re())}function iQe(n,t){if(1&n&&(Te(0,"mat-error"),pt(1),Re()),2&n){const e=xr(2);ct(1),oo(e.getEmailErrorMessage())}}function oQe(n,t){if(1&n&&(Te(0,"mat-error"),pt(1),Re()),2&n){const e=xr(2);ct(1),T8("You must enter a password of minimum ",e.passwordMinLength," and maximum ",e.passwordMaxLength," characters.")}}function sQe(n,t){1&n&&ar(0,"mat-progress-bar",20)}const aQe=function(){return["/"]};function lQe(n,t){if(1&n){const e=ca();Te(0,"form",5),pr("submit",function(){return hs(e),Ss(xr().register())}),Te(1,"mat-form-field",6)(2,"mat-label"),pt(3,"First Name"),Re(),ar(4,"input",7),Ln(5,tQe,2,0,"mat-error",2),Re(),Te(6,"mat-form-field",8)(7,"mat-label"),pt(8,"Last Name"),Re(),ar(9,"input",9),Ln(10,nQe,2,0,"mat-error",2),Re(),Te(11,"mat-form-field",8)(12,"mat-label"),pt(13,"Institution"),Re(),ar(14,"input",10),Ln(15,rQe,2,0,"mat-error",2),Re(),Te(16,"mat-form-field",8)(17,"mat-label"),pt(18,"E-mail"),Re(),Te(19,"mat-icon",11),pt(20,"email"),Re(),ar(21,"input",12),Ln(22,iQe,2,1,"mat-error",2),Re(),Te(23,"mat-form-field",13)(24,"mat-label"),pt(25,"Password"),Re(),Te(26,"mat-icon",11),pt(27,"lock"),Re(),ar(28,"input",14),Te(29,"button",15),pr("click",function(){hs(e);const i=xr();return Ss(i.hidePassword=!i.hidePassword)}),Te(30,"mat-icon"),pt(31),Re()(),Ln(32,oQe,2,2,"mat-error",2),Re(),Ln(33,sQe,1,0,"mat-progress-bar",16),Te(34,"div",17)(35,"button",18),pt(36,"Cancel"),Re(),Te(37,"button",19),pt(38,"Register"),Re()()()}if(2&n){const e=xr();Dt("formGroup",e.registerForm),ct(5),Dt("ngIf",e.registerForm.controls.firstName.invali
1d),ct(5),Dt("ngIf",e.registerForm.controls.lastName.invalid),ct(5),Dt("ngIf",e.registerForm.controls.institution.invalid),ct(7),Dt("ngIf",e.email.invalid),ct(6),Dt("type",e.hidePassword?"password":"text"),ct(1),ro("aria-label","Hide password")("aria-pressed",e.hidePassword),ct(2),oo(e.hidePassword?"visibility_off":"visibility"),ct(1),Dt("ngIf",e.registerForm.controls.password.invalid),ct(1),Dt("ngIf",e.showProgressBar),ct(2),Dt("routerLink",Gs(12,aQe))}}function cQe(n,t){1&n&&(Te(0,"div")(1,"p"),pt(2,"Registration successful! An administrator will shortly review your request and send you an activation link!"),Re()())}let uQe=(()=>{class n{constructor(e,r,i){this.dialog=e,this.registrationService=r,this.formBuilder=i,this.passwordMinLength=ka.passwordMinLength,this.passwordMaxLength=ka.passwordMaxLength,this.errors=[],this.showProgressBar=!1,this.hidePassword=!0,this.email=new kb("",[qc.required,qc.email]),this.registrationComplete=!1,this.registerForm=this.formBuilder.group({firstName:["",qc.required],lastName:["",qc.required],institution:["",qc.required],password:["",[qc.required,qc.minLength(this.passwordMinLength),qc.maxLength(this.passwordMaxLength)]]}),this.registerForm.addControl("email",this.email)}ngOnInit(){this.dialog.closeAll()}getEmailErrorMessage(){return this.email.hasError("required")?"You must enter a value":this.email.hasError("email")?"Not a valid email":""}
1register(){if(this.registerForm.invalid)return;this.errors=[];const e=this.registerForm.get("firstName").value,r=this.registerForm.get("lastName").value,i=this.registerForm.get("institution").value,o=this.registerForm.get("email").value,s=o,a=this.registerForm.get("password").value,l=new JJe(e,r,i,o,s,a);this.showProgressBar=!0,this.registrationService.register(l).pipe(u2()).subscribe({next:u=>{console.log(u)},error:u=>{this.errors=400==u.status?Object.keys(u.error).map(f=>f+" "+u.error[f]):["An error occurred please try again! Or let us know if the error persists."],this.showProgressBar=!1},complete:()=>{this.errors=[],this.showProgressBar=!1,this.registrationComplete=!0}})}}return n.\u0275fac=function(e){return new(e||n)(he(v2),he(yw),he(mv))},n.\u0275cmp=Ir({type:n,selectors:[["app-register"]],decls:6,vars:3,consts:[["fxLayout","column","fxLayoutAlign","center center",2,"padding-top","50px"],[2,"margin-top","25px","font-size","48px","font-family","'Monoton', cursive"],[4,"ngIf"],["style","width: 30vw;","ngStyle.lt-lg","width: 50vw;","fxLayout","column","fxLayoutAlign","space-around stretch",3,"formGroup","submit",4,"ngIf"],[4,"ngFor","ngForOf"],["ngStyle.lt-lg","width: 50vw;","fxLayout","column","fxLayoutAlign","space-around stretch",2,"width","30vw",3,"formGroup","submit"],["appearance","outline","fxFill","",1,"form-field"],["matInput","","formControlName","firstName"],["appearance","outline",1,"form-field"],["matInput","","formControlName","lastName"],["matInput","","formControlName","institution"],["matPrefix",""],["matInput","","formControlName","email"],["appearance","outline"],["matInput","","formControlName","password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["color","accent","mode","indeterminate",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","4px","fxFill",""],["mat-raised-button","","type","button","fxFlex","50",3,"routerLink"],["mat-raised-button","","fxFlex","50",2,"background","#0781d8","color","white"],["color","accent","mode","indeterminate"]],template:function(e,r){1&e&&(Te(0,"div",0)(1,"span",1),pt(2,"Account registration"),Re(),Ln(3,eQe,2,1,"div",2),Ln(4,lQe,39,13,"form",3),Ln(5,cQe,3,0,"div",2),Re()),2&e&&(ct(3),Dt("ngIf",r.errors.length>0),ct(1),Dt("ngIf",!r.registrationComplete),ct(1),Dt("ngIf",r.registrationComplete))},dependencies:[lf,jl,B1,S6,J2,t0,C6,Q2,Sp,Ha,qd,ja,Ap,Yc,yv,dc,Cv,n2,Yd,Ub,Sv,Uu,td,R6],encapsulation:2}),n})(),MZ=(()=>{class n{constructor(e){this.http=e,this.hierarchyApi=ka.enteropathwayGraphicsApiEndpoint+"api/resources"}getHierarchy(){return this.http.get(this.hierarchyApi+"/taxonomyhierarchy/tree",{responseType:"json"})}}return n.\u0275fac=function(e){return new(e||n)(qt(L1))},n.\u0275prov=un({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function fQe(n,t){if(1&n){const e=ca();Te(0,"mat-tree-node",9)(1,"li",10),ar(2,"button",11),Te(3,"mat-checkbox",12),pr("change",function(i){const s=hs(e).$implicit;return Ss(xr().todoItemSelectionToggle(i.checked,s))}),Te(4,"button",13),pr("click",function(){const o=hs(e).$implicit;return Ss(xr().openNewTab(o.key))}),pt(5),Re(),pt(6),Re()()()}if(2&n){const e=t.$implicit;xr(),Vu("display",""==Da(10).value||e.ok?"block":"none"),ct(3),Dt("checked",e.selected),ct(2),oo(e.key),ct(1),ns("\xa0",e.
1name," ")}}function dQe(n,t){if(1&n){const e=ca();Te(0,"mat-nested-tree-node")(1,"li")(2,"div",14)(3,"button",15)(4,"mat-icon",16),pt(5),Re()(),Te(6,"mat-checkbox",17),pr("change",function(i){const s=hs(e).$implicit;return Ss(xr().todoItemSelectionToggle(i.checked,s))}),pt(7),Re()(),Te(8,"ul"),I1(9,18),Re()()()}if(2&n){const e=t.$implicit,r=xr(),i=Da(10);Vu("display",""==i.value||e.ok?"block":"none"),ct(3),ro("aria-label","Toggle "+e.name),ct(2),ns(" ",r.treeControl.isExpanded(e)?"expand_more":"chevron_right"," "),ct(1),Dt("checked",e.selected)("indeterminate",e.indeterminate&&!e.selected),ct(1),ns(" ",e.name," "),ct(1),Rs("enteropathway-tree-invisible",!r.treeControl.isExpanded(e)&&""==i.value)}}const hQe=[{path:"about",component:Z8e},{path:"account/activate/:key",component:uJe},{path:"account/requestresetpassword",component:yJe},{path:"account/resetpassword/:key",component:DJe},{path:"admin/accounts",component:GJe,canActivate:[kJe],data:{role:"ROLE_ADMIN"}},{path:"api",component:rSe},{path:"compound/:id",component:hAe},{path:"diagram",component:rZ},{path:"diagram/:sharetoken",component:rZ},{path:"downloads",component:Nke},{path:"entity/:id",component:Fke},{path:"help",component:$X},{path:"login",component:AZ},{path:"module/:id",component:RZe},{path:"reaction/:id",component:WZe},{path:"register",component:uQe},{path:"taxonomy",component:(()=>{class n{constructor(e,r,i,o){this.nav=e,this.router=r,this.taxonomyService=i,this.spinner=o,this.treeControl=new iU(s=>s.children),this.dataSource=new oU,this.hasChild=(s,a)=>!!a.children&&a.children.length>0}ngOnInit(){this.nav.show(),this.spinner.show(),this.taxonomyService.getHierarchy().subscribe(e=>{this.dataSource.data=e,Object.keys(this.dataSource.data).forEach(r=>{this.setParent(this.dataSource.data[r],null)}),this.spinner.hide()})}setParent(e,r){e.parent=r,e.children&&e.children.forEach(i=>{this.setParent(i,e)})}checkAllParents(e){if(e.parent){const r=this.treeControl.getDescendants(e.parent);e.parent.selected=r.every(i=>i.selected),e.parent.indeterminate=r.some(i=>i.selected),this.checkAllParents(e.parent)}}todoItemSelectionToggle(e,r){r.selected=e,r.children&&r.children.forEach(i=>{this.todoItemSelectionToggle(e,i)}),this.checkAllParents(r)}setChildOk(e,r){r.forEach(i=>{i.ok=i.key?i.name.indexOf(e)>=0||i.key.indexOf(e)>=0:i.name.indexOf(e)>=0,i.parent&&this.setParentOk(e,i.parent,i.ok),i.children&&this.setChildOk(e,i.children)})}setParentOk(e,r,i){r.ok=i||r.ok||r.name.indexOf(e)>=0,r.parent&&this.setParentOk(e,r.parent,r.ok)}collectSelection(){let e=[];this.dataSource.data.forEach(r=>{e=e.concat(this.treeControl.getDescendants(r).filter(i=>i.selected&&i.key).map(i=>"gtdb:"+i.key))}),this.router.navigate(["/diagram"],{state:{data:e.reduce((r,i)=>r+"\n"+i)}})}openNewTab(e){window.open("https://gtdb.ecogenomic.org/genome?gid="+e,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(he(d2),he(Ll),he(MZ),he(F7))},n.\u0275cmp=Ir({type:n,selectors:[["app-tree"]],decls:17,vars:3,consts:[[2,"margin-top","4px"],["fxLayout","column","fxLayoutAlign","space-evenly stretch","fxFlex","60","fxFlexOffset","20",2,"padding-top","60px"],[2,"font-size","48px","font-family","'Monoton', cursive"],["matInput","","placeholder","Search","ngModel","",3,"keyup"],["search",""],["mat-flat-button","","color","accent",2,"margin-left","8px",3,"click"],[1,"enteropathway-tree",3,"dataSource","treeControl"],["class","leaf-node","matTreeNodeToggle","",3,"display",4,"matTreeNodeDef"],[3,"display",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","",1,"leaf-node"],[1,"mat-tree-node","leaf-node"],["mat-icon-button","","disabled","",1,"leaf-button"],[1,"checklist-leaf-node",3,"checked","change"],[1,"button-like-link",3,"click"],[1,"mat-tree-node"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],[3,"checked","indeterminate","change"],["matTreeNodeOutlet",""]],template:function(e,r){if(1&e){const i=ca();Te(0,"main",0)(1,"div"),ar(2,"app-spinner"),Re(),Te(3,"div")(4,"div",1)(5,"span",2),pt(6,"Taxonomy"),Re(),Te(7,"div")(8,"mat-form-field")(9,"input",3,4),pr("keyup",function(){hs(i);const s=Da(10);return Ss(r.setChildOk(s.value,r.dataSource.data))}),Re()(),Te(11,"button",5),pr("click",function(){return r.collectSelection()}
1),pt(12,"View in Diagram"),Re()(),Te(13,"div")(14,"mat-tree",6),Ln(15,fQe,7,5,"mat-tree-node",7),Ln(16,dQe,10,9,"mat-nested-tree-node",8),Re()()()()()}2&e&&(ct(14),Dt("dataSource",r.dataSource)("treeControl",r.treeControl),ct(2),Dt("matTreeNodeDefWhen",r.hasChild))},dependencies:[J2,t0,pv,Ha,ja,t2,Yc,dc,Ev,n2,Uu,td,LM,RM,NM,PM,OM,Lv,NI],styles:['@import"https://fonts.googleapis.com/icon?family=Material+Icons&display=block";.enteropathway-tree-invisible[_ngcontent-%COMP%]{display:none}.enteropathway-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .enteropathway-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.leaf-node[_ngcontent-%COMP%]{min-height:0px}.leaf-button[_ngcontent-%COMP%]{height:0px}.button-like-link[_ngcontent-%COMP%]{text-decoration:none;color:#ff1493;background-color:#fff;font-weight:500;border-style:none}']}),n})()},{path:"tree",component:XZe},{path:"",component:bZe},{path:"",redirectTo:"/",pathMatch:"full"}];let pQe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({imports:[XG.forRoot(hQe,{useHash:!0}),XG]}),n})();const mQe=["login"];let gQe=(()=>{class n{constructor(e){this.dialog=e}ngAfterViewInit(){this.login.newLoginEvent.subscribe(e=>{this.dialog.closeAll()})}ngOnDestroy(){this.login.newLoginEvent.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(he(v2))},n.\u0275cmp=Ir({type:n,selectors:[["login-dialog"]],viewQuery:function(e,r){if(1&e&&ps(mQe,5),2&e){let i;_i(i=xi())&&(r.login=i.first)}},decls:5,vars:0,consts:[["mat-dialog-title","",2,"font-size","36px","font-family","'Monoton', cursive"],["mat-dialog-content",""],["login",""]],template:function(e,r){1&e&&(Te(0,"span",0),pt(1,"Login"),Re(),Te(2,"div",1),ar(3,"app-login",null,2),Re())},dependencies:[JX,hw,AZ],encapsulation:2}),n})();const vQe=function(){return["downloads"]};function yQe(n,t){1&n&&(Te(0,"button",2),pt(1,"Downloads"),Re()),2&n&&Dt("routerLinkActive","nav-item-selected")("routerLink",Gs(2,vQe))}const bQe=function(){return["admin/accounts"]};function _Qe(n,t){1&n&&(Te(0,"button",2),pt(1,"Accounts"),Re()),2&n&&Dt("routerLinkActive","nav-item-selected")("routerLink",Gs(2,bQe))}function xQe(n,t){if(1&n){const e=ca();Te(0,"button",7),pr("click",function(){return hs(e),Ss(xr().login())}),pt(1,"Login"),Re()}}function wQe(n,t){if(1&n){const e=ca();Te(0,"button",7),pr("click",function(){return hs(e),Ss(xr().logout())}),pt(1,"Logout"),Re()}}const CQe=function(){return["/"]},SQe=function(){return["diagram"]},EQe=function(){return["tree"]},AQe=function(){return["taxonomy"]},MQe=function(){return["help"]},DQe=function(){return["api"]},kQe=function(){return["about"]};let TQe=(()=>{class n{constructor(e,r,i,o){this.authService=e,this.nav=r,this.dialog=i,this.router=o}ngOnInit(){}isAdmin(){return this.authService.getRoles()?.indexOf("ROLE_ADMIN")>-1}isLoggedIn(){return this.authService.isAuthenticated()}login(){this.dialog.open(gQe,{width:"20%",disableClose:!1,closeOnNavigation:!0,hasBackdrop:!0})}logout(){this.authService.logout().subscribe({complete:()=>{this.router.navigate(["/"])}})}onClick(){window.open("https://comp.life.isct.ac.jp/enteropathway_info/","_blank")}}return n.\u0275fac=function(e){return new(e||n)(he(pw),he(d2),he(v2),he(Ll))},n.\u0275cmp=Ir({type:n,selectors:[["app-nav"]],decls:24,vars:26,consts:[["color","primary","fxLayout","row","fxLayoutAlign","space-between center","ngClass","fixed-nav",3,"fxShow"],[2,"text-decoration","none","color","white","font-family","'Monoton', cursive","padding-right","16px",3,"routerLink"],["mat-button","",3,"routerLinkActive","routerLink"],["mat-button","",3,"routerLinkActive","routerLink",4,"ngIf"],["mat-button","",3,"routerLinkActive","click"],["mat-button","",3,"click",4,"ngIf","ngIfElse"],["logoutTemplate",""],["mat-button","",3,"click"]],template:function(e,r){if(1&e&&(Te(0,"mat-toolbar",0)(1,"div")(2,"a",1),pt(3,"Enteropathway"),Re(),Te(4,"button",2),pt(5,"Map"),Re(),Te(6,"button",2),pt(7,"Tree"),Re(),Te(8,"button",2),pt(9,"Taxonomy"),Re()(),Te(10,"div"),Ln(11,yQe,2,3,"button",3),Te(12,"button",2),pt(13,"Help"),Re(),Te(14,"button",2),pt(15,"API"),Re(),Te(16,"button",4),pr("click",function(){return r.onClick()}),pt(17,"Info"),Re(),Te(18,"button",2),pt(19,"About"),Re(),Ln(20,_Qe,2,3,"button",3),Ln(21,xQe,2,0,"button",5),Ln(22,wQe,2,0,"ng-template",null,6,hp),Re()()),2&e){const i=Da(23);Dt("fxShow",r.nav.visible),ct(2),Dt("routerLink",Gs(19,CQe)),ct(2),Dt("routerLinkActive","nav-item-selected")("routerLink",Gs(20,SQe)),ct(2),Dt("routerLinkActive","nav-item-selected")("routerLink",Gs(21,EQe)),ct(2),Dt("routerLinkActive","nav-item-selected")("routerLink",Gs(22,AQe)),ct(3),Dt("ngIf",r.isLoggedIn()),ct(1),Dt("routerLinkActive","nav-item-selected")("routerLink",Gs(23,MQe)),ct(2),Dt("routerLinkActive","nav-item-selected")("routerLink",Gs(24,DQe)),ct(2),Dt("routerLinkActive","nav-item-selected"),ct(2),Dt("routerLinkActive","nav-item-selected")("routerLink",Gs(25,kQe)),ct(2),Dt("ngIf",r.isAdmin()),ct(1),Dt("ngIf",!r.isLoggedIn())("ngIfElse",i)}},dependencies:[mp,jl,B1,od,jG,Ha,ja,Rb,nM,dc,n6e],styles:['@import"https://fonts.googleapis.com/css?family=Libre+Barcode+128+Text%7CMonoton%7CRoboto:500&display=swap";.nav-item-selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.2)}.fixed-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:22;background-color:#0781d8!important}']}),n})(),IQe=(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ir({type:n,selectors:[["app-root"]],decls:2,vars:0,template:function(e,r){1&e&&ar(0,"app-nav")(1,"router-outlet")},dependencies:[ZD,TQe]}),n})();const PQe={provide:new or("mat-menu-scroll-strategy"),deps:[df],useFactory:function LQe(n){return()=>n.scrollStrategies.reposition()}};let NQe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n}),n.\u0275inj=Rn({providers:[PQe],imports:[Kf,jo,Qm,tg,x6,jo]}),n})(),kZ=(()=>{class n{constructor(){}intercept(e,r){if(!e||!e.url||e.url.startsWith("http")&&(!ka.enteropathwayApiEndpoint||!e.url.startsWith(ka.enteropathwayApiEndpoint)))return r.handle(e);const i=localStorage.getItem("currentUser")||sessionStorage.getItem("currentUser");return i&&(e=e.clone({setHeaders:{Authorization:"Bearer "+JSON.parse(i).access_token}})),r.handle(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=un({token:n,factory:n.\u0275fac}),n})(),FQe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Mi({type:n,bootstrap:[IQe]}),n.\u0275inj=Rn({providers:[tZ,mw,iZ,d2,FI,JG,F7,EZ,{provide:yb,useClass:kZ,multi:!0},MZ,{provide:yb,useClass:kZ,multi:!0}],imports:[az,Cle,wue,pQe,lue,X3e,v1e,ZA,Cde,jhe,Uhe,_j,Zhe,u0e,MDe,f0e,Gb,C0e,T0e,
vendor: 12,954 bytes, line 1
1ype,Epe,zpe,Ype,s4e,m4e,V4e,Z4e,Uj,r6e,Bj,iJe,NQe,Rge,hke]}),n})();ka.production&&function Gre(){sF=!1}(),pse().bootstrapModule(FQe).catch(n=>console.error(n))},5343:(_,k)=>{"use strict";k.byteLength=function L(M){var O=R(M),W=O[1];return 3*(O[0]+W)/4-W},k.toByteArray=function N(M){var O,re,V=R(M),W=V[0],q=V[1],J=new b(function F(M,O,V){return 3*(O+V)/4-V}(0,W,q)),te=0,ae=q>0?W-4:W;for(re=0;re<ae;re+=4)O=g[M.charCodeAt(re)]<<18|g[M.charCodeAt(re+1)]<<12|g[M.charCodeAt(re+2)]<<6|g[M.charCodeAt(re+3)],J[te++]=O>>16&255,J[te++]=O>>8&255,J[te++]=255&O;return 2===q&&(O=g[M.charCodeAt(re)]<<2|g[M.charCodeAt(re+1)]>>4,J[te++]=255&O),1===q&&(O=g[M.charCodeAt(re)]<<10|g[M.charCodeAt(re+1)]<<4|g[M.charCodeAt(re+2)]>>2,J[te++]=O>>8&255,J[te++]=255&O),J},k.fromByteArray=function A(M){for(var O,V=M.length,W=V%3,q=[],J=16383,te=0,ae=V-W;te<ae;te+=J)q.push(z(M,te,te+J>ae?ae:te+J));return 1===W?q.push(c[(O=M[V-1])>>2]+c[O<<4&63]+"=="):2===W&&q.push(c[(O=(M[V-2]<<8)+M[V-1])>>10]+c[O>>4&63]+c[O<<2&63]+"="),q.join("")};for(var c=[],g=[],b=typeof Uint8Array<"u"?Uint8Array:Array,S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",C=0,w=S.length;C<w;++C)c[C]=S[C],g[S.charCodeAt(C)]=C;function R(M){var O=M.length;if(O%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var V=M.indexOf("=");return-1===V&&(V=O),[V,V===O?0:4-V%4]}function B(M){return c[M>>18&63]+c[M>>12&63]+c[M>>6&63]+c[63&M]}function z(M,O,V){for(var q=[],J=O;J<V;J+=3)q.push(B((M[J]<<16&16711680)+(M[J+1]<<8&65280)+(255&M[J+2])));return q.join("")}g["-".charCodeAt(0)]=62,g["_".charCodeAt(0)]=63},93172:(_,k,c)=>{"use strict";var b=c(5343),S=c(48461),C="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;k.lW=F,k.h2=50;var w=2147483647;function L(ft){if(ft>w)throw new RangeError('The value "'+ft+'" is invalid for option "size"');var pe=new Uint8Array(ft);return Object.setPrototypeOf(pe,F.prototype),pe}function F(ft,pe,be){if("number"==typeof ft){if("string"==typeof pe)throw new TypeError('The "string" argument must be of type string. Received type number');return A(ft)}return N(ft,pe,be)}function N(ft,pe,be){if("string"==typeof ft)return function M(ft,pe){if(("string"!=typeof pe||""===pe)&&(pe="utf8"),!F.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);var be=0|ae(ft,pe),xt=L(be),Kt=xt.write(ft,pe);return Kt!==be&&(xt=xt.slice(0,Kt)),xt}(ft,pe);if(ArrayBuffer.isView(ft))return function V(ft){if(oi(ft,Uint8Array)){var pe=new Uint8Array(ft);return W(pe.buffer,pe.byteOffset,pe.byteLength)}return O(ft)}(ft);if(null==ft)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ft);if(oi(ft,ArrayBuffer)||ft&&oi(ft.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(oi(ft,SharedArrayBuffer)||ft&&oi(ft.buffer,SharedArrayBuffer)))return W(ft,pe,be);if("number"==typeof ft)throw new TypeError('The "value" argument must not be of type number. Received type number');var xt=ft.valueOf&&ft.valueOf();if(null!=xt&&xt!==ft)return F.from(xt,pe,be);var Kt=function q(ft){if(F.isBuffer(ft)){var pe=0|J(ft.length),be=L(pe);return 0===be.length||ft.copy(be,0,0,pe),be}return void 0!==ft.length?"number"!=typeof ft.length||Gi(ft.length)?L(0):O(ft):"Buffer"===ft.type&&Array.isArray(ft.data)?O(ft.data):void 0}(ft);if(Kt)return Kt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof ft[Symbol.toPrimitive])return F.from(ft[Symbol.toPrimitive]("string"),pe,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ft)}function B(ft){if("number"!=typeof ft)throw new TypeError('"size" argument must be of type number');if(ft<0)throw new RangeError('The value "'+ft+'" is invalid for option "size"')}function A(ft){return B(ft),L(ft<0?0:0|J(ft))}function O(ft){for(var pe=ft.length<0?0:0|J(ft.length),be=L(pe),xt=0;xt<pe;xt+=1)be[xt]=255&ft[xt];return be}function W(ft,pe,be){if(pe<0||ft.byteLength<pe)throw new RangeError('"offset" is outside of buffer bounds');if(ft.byteLength<pe+(be||0))throw new RangeError('"length" is outside of buffer bounds');var xt;return xt=void 0===pe&&void 0===be?new Uint8Array(ft):void 0===be?new Uint8Array(ft,pe):new Uint8Array(ft,pe,be),Object.setPrototypeOf(xt,F.prototype),xt}function J(ft){if(ft>=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return 0|ft}function ae(ft,pe){if(F.isBuffer(ft))return ft.length;if(ArrayBuffer.isView(ft)||oi(ft,ArrayBuffer))return ft.byteLength;if("string"!=typeof ft)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ft);var be=ft.length,xt=arguments.length>2&&!0===arguments[2];if(!xt&&0===be)return 0;for(var Kt=!1;;)switch(pe){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return Jn(ft).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return Dr(ft).length;default:if(Kt)return xt?-1:Jn(ft).length;pe=(""+pe).toLowerCase(),Kt=!0}}function re(ft,pe,be){var xt=!1;if((void 0===pe||pe<0)&&(pe=0),pe>this.length||((void 0===be||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(pe>>>=0))return"";for(ft||(ft="utf8");;)switch(ft){case"hex":return wt(this,pe,be);case"utf8":case"utf-8":return at(this,pe,be);case"ascii":return Ge(this,pe,be);case"latin1":case"binary":return Wt(this,pe,be);case"base64":return Ve(this,pe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ln(this,pe,be);default:if(xt)throw new TypeError("Unknown encoding: "+ft);ft=(ft+"").toLowerCase(),xt=!0}}function oe(ft,pe,be){var xt=ft[pe];ft[pe]=ft[be],ft[be]=xt}function se(ft,pe,be,xt,Kt){if(0===ft.length)return-1;if("string"==typeof be?(xt=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),Gi(be=+be)&&(be=Kt?0:ft.length-1),be<0&&(be=ft.length+be),be>=ft.length){if(Kt)return-1;be=ft.length-1}else if(be<0){if(!Kt)return-1;be=0}if("string"==typeof pe&&(pe=F.from(pe,xt)),F.isBuffer(pe))return 0===pe.length?-1:le(ft,pe,be,xt,Kt);if("number"==typeof pe)return pe&=255,"function"==typeof Uint8Array.prototype.indexOf?Kt?Uint8Array.prototype.indexOf.call(ft,pe,be):Uint8Array.prototype.lastIndexOf.call(ft,pe,be):le(ft,[pe],be,xt,Kt);throw new TypeError("val must be string, number or Buffer")}function le(ft,pe,be,xt,Kt){var Nt,Xt=1,cn=ft.length,vn=pe.length;if(void 0!==xt&&("ucs2"===(xt=String(xt).toLowerCase())||"ucs-2"===xt||"utf16le"===xt||"utf-16le"===xt)){if(ft.length<2||pe.length<2)return-1;Xt=2,cn/=2,vn/=2,be/=2}function X(Fn,Oe){return 1===Xt?Fn[Oe]:Fn.readUInt16BE(Oe*Xt)}if(Kt){var on=-1;for(Nt=be;Nt<cn;Nt++)if(X(ft,Nt)===X(pe,-1===on?0:Nt-on)){if(-1===on&&(on=Nt),Nt-on+1===vn)return on*Xt}else-1!==on&&(Nt-=Nt-on),on=-1}else for(be+vn>cn&&(be=cn-vn),Nt=be;Nt>=0;Nt--){for(var An=!0,bn=0;bn<vn;bn++)if(X(ft,Nt+bn)!==X(pe,bn)){An=!1;break}if(An)return Nt}return-1}function Y(ft,pe,be,xt){be=Number(be)||0;var Kt=ft.length-be;xt?(xt=Number(xt))>Kt&&(xt=Kt):xt=Kt;var Xt=pe.length;xt>Xt/2&&(xt=Xt/2);for(var cn=0;cn<xt;++cn){var vn=parseInt(pe.substr(2*cn,2),16);if(Gi(vn))return cn;ft[be+cn]=vn}return cn}function _e(ft,pe,be,xt){return ni(Jn(pe,ft.length-be),ft,be,xt)}function Qe(ft,pe,be,xt){return ni(function Pr(ft){for(var pe=[],be=0;be<ft.length;++be)pe.push(255&ft.charCodeAt(be));return pe}(pe),ft,be,xt)}function We(ft,pe,be,xt){return ni(Dr(pe),ft,be,xt)}function st(ft,pe,be,xt){return ni(function qn(ft,pe){for(var be,xt,Xt=[],cn=0;cn<ft.length&&!((pe-=2)<0);++cn)xt=(be=ft.charCodeAt(cn))>>8,Xt.push(be%256),Xt.push(xt);return Xt}(pe,ft.length-be),ft,be,xt)}function Ve(ft,pe,be){return b.fromByteArray(0===pe&&be===ft.length?ft:ft.slice(pe,be))}function at(ft,pe,be){be=Math.min(ft.length,be);for(var xt=[],Kt=pe;Kt<be;){var X,Nt,on,An,Xt=ft[Kt],cn=null,vn=Xt>239?4:Xt>223?3:Xt>191?2:1;if(Kt+vn<=be)switch(vn){case 1:Xt<128&&(cn=Xt);break;case 2:128==(192&(X=ft[Kt+1]))&&(An=(31&Xt)<<6|63&X)>127&&(cn=An);break;case 3:Nt=ft[Kt+2],128==(192&(X=ft[Kt+1]))&&128==(192&Nt)&&(An=(15&Xt)<<12|(63&X)<<6|63&Nt)>2047&&(An<55296||An>57343)&&(cn=An);break;case 4:Nt=ft[Kt+2],on=ft[Kt+3],128==(192&(X=ft[Kt+1]))&&128==(192&Nt)&&128==(192&on)&&(An=(15&Xt)<<18|(63&X)<<12|(63&Nt)<<6|63&on)>65535&&An<1114112&&(cn=An)}null===cn?(cn=65533,vn=1):cn>65535&&(xt.push((cn-=65536)>>>10&1023|55296),cn=56320|1023&cn),xt.push(cn),Kt+=vn}return function Sn(ft){var pe=ft.length;if(pe<=4096)return String.fromCharCode.apply(String,ft);for(var be="",xt=0;xt<pe;)be+=String.fromCharCode.apply(String,ft.slice(xt,xt+=4096));return be}(xt)}function Ge(ft,pe,be){var xt="";be=Math.min(ft.length,be);for(var Kt=pe;Kt<be;++Kt)xt+=String.fromCharCode(127&ft[Kt]);return xt}function Wt(ft,pe,be){var xt="";be=Math.min(ft.length,be);for(var Kt=pe;Kt<be;++Kt)xt+=String.fromCharCode(ft[Kt]);return xt}function wt(ft,pe,be){var xt=ft.length;(!pe||pe<0)&&(pe=0),(!be||be<0||be>xt)&&(be=xt);for(var Kt="",Xt=pe;Xt<be;++Xt)Kt+=Hr[ft[Xt]];return Kt}function ln(ft,pe,be){for(var xt=ft.slice(pe,be),Kt="",Xt=0;Xt<xt.length-1;Xt+=2)Kt+=String.fromCharCode(xt[Xt]+256*xt[Xt+1]);return Kt}function Yt(ft,pe,be){if(ft%1!=0||ft<0)throw new RangeError("offset is not uint");if(ft+pe>be)throw new RangeError("Trying to access beyond buffer length")}function tn(ft,pe,be,xt,Kt,Xt){if(!F.isBuffer(ft))throw new TypeError('"buffer" argument must be a Buffer instance');if(pe>Kt||pe<Xt)throw new RangeError('"value" argument is out of bounds');if(be+xt>ft.length)throw new RangeError("Index out of range")}function Gt(ft,pe,be,xt,Kt,Xt){if(be+xt>ft.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function nt(ft,pe,be,xt,Kt){return pe=+pe,be>>>=0,Kt||Gt(ft,0,be,4),S.write(ft,pe,be,xt,23,4),be+4}function jt(ft,pe,be,xt,Kt){return pe=+pe,be>>>=0,Kt||Gt(ft,0,be,8),S.write(ft,pe,be,xt,52,8),be+8}!(F.TYPED_ARRAY_SUPPORT=function R(){try{var ft=new Uint8Array(1),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(ft,pe),42===ft.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(F.prototype,"parent",{enumerable:!0,get:function(){if(F.isBuffer(this))return this.buffer}}),Object.defineProperty(F.prototype,"offset",{enumerable:!0,get:function(){if(F.isBuffer(this))return this.byteOffset}}),F.poolSize=8192,F.from=function(ft,pe,be){return N(ft,pe,be)},Object.setPrototypeOf(F.prototype,Uint8Array.prototype),Object.setPrototypeOf(F,Uint8Array),F.alloc=function(ft,pe,be){return function z(ft,pe,be){return B(ft),ft<=0?L(ft):void 0!==pe?"string"==typeof be?L(ft).fill(pe,be):L(ft).fill(pe):L(ft)}(ft,pe,be)},F.allocUnsafe=function(ft){return A(ft)},F.allocUnsafeSlow=function(ft){return A(ft)},F.isBuffer=function(pe){return null!=pe&&!0===pe._isBuffer&&pe!==F.prototype},F.compare=function(pe,be){if(oi(pe,Uint8Array)&&(pe=F.from(pe,pe.offset,pe.byteLength)),oi(be,Uint8Array)&&(be=F.from(be,be.offset,be.byteLength)),!F.isBuffer(pe)||!F.isBuffer(be))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(pe===be)return 0;for(var xt=pe.length,Kt=be.length,Xt=0,cn=Math.min(xt,Kt);Xt<cn;++Xt)if(pe[Xt]!==be[Xt]){xt=pe[Xt],Kt=be[Xt];break}return xt<Kt?-1:Kt<xt?1:0},F.isEncoding=function(pe){switch(String(pe).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},F.concat=function(pe,be){if(!Array.isArray(pe))throw new TypeError('"list" argument must be an Array of Buffers');if(0===pe.length)return F.alloc(0);var xt;if(void 0===be)for(be=0,xt=0;xt<pe.length;++xt)be+=pe[xt].length;var Kt=F.allocUnsafe(be),Xt=0;for(xt=0;xt<pe.length;++xt){var cn=pe[xt];if(oi(cn,Uint8Array))Xt+cn.length>Kt.length?F.from(cn).copy(Kt,Xt):Uint8Array.prototype.set.call(Kt,cn,Xt);else{if(!F.isBuffer(cn))throw new TypeError('"list" argument must be an Array of Buffers');cn.copy(Kt,Xt)}Xt+=cn.length}return Kt},F.byteLength=ae,F.prototype._isBuffer=!0,F.prototype.swap16=function(){var pe=this.length;if(pe%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var be=0;be<pe;be+=2)oe(this,be,be+1);return this},F.prototype.swap32=function(){var pe=this.length;if(pe%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var be=0;be<pe;be+=4)oe(this,be,be+3),oe(this,be+1,be+2);return this},F.prototype.swap64=function(){var pe=this.length;if(pe%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var be=0;be<pe;be+=8)oe(this,be,be+7),oe(this,be+1,be+6),oe(this,be+2,be+5),oe(this,be+3,be+4);return this}
vendor: 6,815 bytes, line 1
1,F.prototype.toLocaleString=F.prototype.toString=function(){var pe=this.length;return 0===pe?"":0===arguments.length?at(this,0,pe):re.apply(this,arguments)},F.prototype.equals=function(pe){if(!F.isBuffer(pe))throw new TypeError("Argument must be a Buffer");return this===pe||0===F.compare(this,pe)},F.prototype.inspect=function(){var pe="",be=k.h2;return pe=this.toString("hex",0,be).replace(/(.{2})/g,"$1 ").trim(),this.length>be&&(pe+=" ... "),"<Buffer "+pe+">"},C&&(F.prototype[C]=F.prototype.inspect),F.prototype.compare=function(pe,be,xt,Kt,Xt){if(oi(pe,Uint8Array)&&(pe=F.from(pe,pe.offset,pe.byteLength)),!F.isBuffer(pe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(void 0===be&&(be=0),void 0===xt&&(xt=pe?pe.length:0),void 0===Kt&&(Kt=0),void 0===Xt&&(Xt=this.length),be<0||xt>pe.length||Kt<0||Xt>this.length)throw new RangeError("out of range index");if(Kt>=Xt&&be>=xt)return 0;if(Kt>=Xt)return-1;if(be>=xt)return 1;if(this===pe)return 0;for(var cn=(Xt>>>=0)-(Kt>>>=0),vn=(xt>>>=0)-(be>>>=0),X=Math.min(cn,vn),Nt=this.slice(Kt,Xt),on=pe.slice(be,xt),An=0;An<X;++An)if(Nt[An]!==on[An]){cn=Nt[An],vn=on[An];break}return cn<vn?-1:vn<cn?1:0},F.prototype.includes=function(pe,be,xt){return-1!==this.indexOf(pe,be,xt)},F.prototype.indexOf=function(pe,be,xt){return se(this,pe,be,xt,!0)},F.prototype.lastIndexOf=function(pe,be,xt){return se(this,pe,be,xt,!1)},F.prototype.write=function(pe,be,xt,Kt){if(void 0===be)Kt="utf8",xt=this.length,be=0;else if(void 0===xt&&"string"==typeof be)Kt=be,xt=this.length,be=0;else{if(!isFinite(be))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");be>>>=0,isFinite(xt)?(xt>>>=0,void 0===Kt&&(Kt="utf8")):(Kt=xt,xt=void 0)}var Xt=this.length-be;if((void 0===xt||xt>Xt)&&(xt=Xt),pe.length>0&&(xt<0||be<0)||be>this.length)throw new RangeError("Attempt to write outside buffer bounds");Kt||(Kt="utf8");for(var cn=!1;;)switch(Kt){case"hex":return Y(this,pe,be,xt);case"utf8":case"utf-8":return _e(this,pe,be,xt);case"ascii":case"latin1":case"binary":return Qe(this,pe,be,xt);case"base64":return We(this,pe,be,xt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return st(this,pe,be,xt);default:if(cn)throw new TypeError("Unknown encoding: "+Kt);Kt=(""+Kt).toLowerCase(),cn=!0}},F.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},F.prototype.slice=function(pe,be){var xt=this.length;(pe=~~pe)<0?(pe+=xt)<0&&(pe=0):pe>xt&&(pe=xt),(be=void 0===be?xt:~~be)<0?(be+=xt)<0&&(be=0):be>xt&&(be=xt),be<pe&&(be=pe);var Kt=this.subarray(pe,be);return Object.setPrototypeOf(Kt,F.prototype),Kt},F.prototype.readUintLE=F.prototype.readUIntLE=function(pe,be,xt){pe>>>=0,be>>>=0,xt||Yt(pe,be,this.length);for(var Kt=this[pe],Xt=1,cn=0;++cn<be&&(Xt*=256);)Kt+=this[pe+cn]*Xt;return Kt},F.prototype.readUintBE=F.prototype.readUIntBE=function(pe,be,xt){pe>>>=0,be>>>=0,xt||Yt(pe,be,this.length);for(var Kt=this[pe+--be],Xt=1;be>0&&(Xt*=256);)Kt+=this[pe+--be]*Xt;return Kt},F.prototype.readUint8=F.prototype.readUInt8=function(pe,be){return pe>>>=0,be||Yt(pe,1,this.length),this[pe]},F.prototype.readUint16LE=F.prototype.readUInt16LE=function(pe,be){return pe>>>=0,be||Yt(pe,2,this.length),this[pe]|this[pe+1]<<8},F.prototype.readUint16BE=F.prototype.readUInt16BE=function(pe,be){return pe>>>=0,be||Yt(pe,2,this.length),this[pe]<<8|this[pe+1]},F.prototype.readUint32LE=F.prototype.readUInt32LE=function(pe,be){return pe>>>=0,be||Yt(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+16777216*this[pe+3]},F.prototype.readUint32BE=F.prototype.readUInt32BE=function(pe,be){return pe>>>=0,be||Yt(pe,4,this.length),16777216*this[pe]+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},F.prototype.readIntLE=function(pe,be,xt){pe>>>=0,be>>>=0,xt||Yt(pe,be,this.length);for(var Kt=this[pe],Xt=1,cn=0;++cn<be&&(Xt*=256);)Kt+=this[pe+cn]*Xt;return Kt>=(Xt*=128)&&(Kt-=Math.pow(2,8*be)),Kt},F.prototype.readIntBE=function(pe,be,xt){pe>>>=0,be>>>=0,xt||Yt(pe,be,this.length);for(var Kt=be,Xt=1,cn=this[pe+--Kt];Kt>0&&(Xt*=256);)cn+=this[pe+--Kt]*Xt;return cn>=(Xt*=128)&&(cn-=Math.pow(2,8*be)),cn},F.prototype.readInt8=function(pe,be){return pe>>>=0,be||Yt(pe,1,this.length),128&this[pe]?-1*(255-this[pe]+1):this[pe]},F.prototype.readInt16LE=function(pe,be){pe>>>=0,be||Yt(pe,2,this.length);var xt=this[pe]|this[pe+1]<<8;return 32768&xt?4294901760|xt:xt},F.prototype.readInt16BE=function(pe,be){pe>>>=0,be||Yt(pe,2,this.length);var xt=this[pe+1]|this[pe]<<8;return 32768&xt?4294901760|xt:xt},F.prototype.readInt32LE=function(pe,be){return pe>>>=0,be||Yt(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},F.prototype.readInt32BE=function(pe,be){return pe>>>=0,be||Yt(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},F.prototype.readFloatLE=function(pe,be){return pe>>>=0,be||Yt(pe,4,this.length),S.read(this,pe,!0,23,4)},F.prototype.readFloatBE=function(pe,be){return pe>>>=0,be||Yt(pe,4,this.length),S.read(this,pe,!1,23,4)},F.prototype.readDoubleLE=function(pe,be){return pe>>>=0,be||Yt(pe,8,this.length),S.read(this,pe,!0,52,8)},F.prototype.readDoubleBE=function(pe,be){return pe>>>=0,be||Yt(pe,8,this.length),S.read(this,pe,!1,52,8)},F.prototype.writeUintLE=F.prototype.writeUIntLE=function(pe,be,xt,Kt){pe=+pe,be>>>=0,xt>>>=0,Kt||tn(this,pe,be,xt,Math.pow(2,8*xt)-1,0);var cn=1,vn=0;for(this[be]=255&pe;++vn<xt&&(cn*=256);)this[be+vn]=pe/cn&255;return be+xt},F.prototype.writeUintBE=F.prototype.writeUIntBE=function(pe,be,xt,Kt){pe=+pe,be>>>=0,xt>>>=0,Kt||tn(this,pe,be,xt,Math.pow(2,8*xt)-1,0);var cn=xt-1,vn=1;for(this[be+cn]=255&pe;--cn>=0&&(vn*=256);)this[be+cn]=pe/vn&255;return be+xt},F.prototype.writeUint8=F.prototype.writeUInt8=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,1,255,0),this[be]=255&pe,be+1},F.prototype.writeUint16LE=F.prototype.writeUInt16LE=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,2,65535,0),this[be]=255&pe,this[be+1]=pe>>>8,be+2},F.prototype.writeUint16BE=F.prototype.writeUInt16BE=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,2,65535,0),this[be]=pe>>>8,this[be+1]=255&pe,be+2},F.prototype.writeUint32LE=F.prototype.writeUInt32LE=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,4,4294967295,0),this[be+3]=pe>>>24,this[be+2]=pe>>>16,this[be+1]=pe>>>8,this[be]=255&pe,be+4},F.prototype.writeUint32BE=F.prototype.writeUInt32BE=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,4,4294967295,0),this[be]=pe>>>24,this[be+1]=pe>>>16,this[be+2]=pe>>>8,this[be+3]=255&pe,be+4},F.prototype.writeIntLE=function(pe,be,xt,Kt){if(pe=+pe,be>>>=0,!Kt){var Xt=Math.pow(2,8*xt-1);tn(this,pe,be,xt,Xt-1,-Xt)}var cn=0,vn=1,X=0;for(this[be]=255&pe;++cn<xt&&(vn*=256);)pe<0&&0===X&&0!==this[be+cn-1]&&(X=1),this[be+cn]=(pe/vn>>
vendor: 4,386 bytes, line 1
10)-X&255;return be+xt},F.prototype.writeIntBE=function(pe,be,xt,Kt){if(pe=+pe,be>>>=0,!Kt){var Xt=Math.pow(2,8*xt-1);tn(this,pe,be,xt,Xt-1,-Xt)}var cn=xt-1,vn=1,X=0;for(this[be+cn]=255&pe;--cn>=0&&(vn*=256);)pe<0&&0===X&&0!==this[be+cn+1]&&(X=1),this[be+cn]=(pe/vn>>0)-X&255;return be+xt},F.prototype.writeInt8=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,1,127,-128),pe<0&&(pe=255+pe+1),this[be]=255&pe,be+1},F.prototype.writeInt16LE=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,2,32767,-32768),this[be]=255&pe,this[be+1]=pe>>>8,be+2},F.prototype.writeInt16BE=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,2,32767,-32768),this[be]=pe>>>8,this[be+1]=255&pe,be+2},F.prototype.writeInt32LE=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,4,2147483647,-2147483648),this[be]=255&pe,this[be+1]=pe>>>8,this[be+2]=pe>>>16,this[be+3]=pe>>>24,be+4},F.prototype.writeInt32BE=function(pe,be,xt){return pe=+pe,be>>>=0,xt||tn(this,pe,be,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[be]=pe>>>24,this[be+1]=pe>>>16,this[be+2]=pe>>>8,this[be+3]=255&pe,be+4},F.prototype.writeFloatLE=function(pe,be,xt){return nt(this,pe,be,!0,xt)},F.prototype.writeFloatBE=function(pe,be,xt){return nt(this,pe,be,!1,xt)},F.prototype.writeDoubleLE=function(pe,be,xt){return jt(this,pe,be,!0,xt)},F.prototype.writeDoubleBE=function(pe,be,xt){return jt(this,pe,be,!1,xt)},F.prototype.copy=function(pe,be,xt,Kt){if(!F.isBuffer(pe))throw new TypeError("argument should be a Buffer");if(xt||(xt=0),!Kt&&0!==Kt&&(Kt=this.length),be>=pe.length&&(be=pe.length),be||(be=0),Kt>0&&Kt<xt&&(Kt=xt),Kt===xt||0===pe.length||0===this.length)return 0;if(be<0)throw new RangeError("targetStart out of bounds");if(xt<0||xt>=this.length)throw new RangeError("Index out of range");if(Kt<0)throw new RangeError("sourceEnd out of bounds");Kt>this.length&&(Kt=this.length),pe.length-be<Kt-xt&&(Kt=pe.length-be+xt);var Xt=Kt-xt;return this===pe&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(be,xt,Kt):Uint8Array.prototype.set.call(pe,this.subarray(xt,Kt),be),Xt},F.prototype.fill=function(pe,be,xt,Kt){if("string"==typeof pe){if("string"==typeof be?(Kt=be,be=0,xt=this.length):"string"==typeof xt&&(Kt=xt,xt=this.length),void 0!==Kt&&"string"!=typeof Kt)throw new TypeError("encoding must be a string");if("string"==typeof Kt&&!F.isEncoding(Kt))throw new TypeError("Unknown encoding: "+Kt);if(1===pe.length){var Xt=pe.charCodeAt(0);("utf8"===Kt&&Xt<128||"latin1"===Kt)&&(pe=Xt)}}else"number"==typeof pe?pe&=255:"boolean"==typeof pe&&(pe=Number(pe));if(be<0||this.length<be||this.length<xt)throw new RangeError("Out of range index");if(xt<=be)return this;var cn;if(be>>>=0,xt=void 0===xt?this.length:xt>>>0,pe||(pe=0),"number"==typeof pe)for(cn=be;cn<xt;++cn)this[cn]=pe;else{var vn=F.isBuffer(pe)?pe:F.from(pe,Kt),X=vn.length;if(0===X)throw new TypeError('The value "'+pe+'" is invalid for argument "value"');for(cn=0;cn<xt-be;++cn)this[cn+be]=vn[cn%X]}return this};var kn=/[^+/0-9A-Za-z-_]/g;function Jn(ft,pe){pe=pe||1/0;for(var be,xt=ft.length,Kt=null,Xt=[],cn=0;cn<xt;++cn){if((be=ft.charCodeAt(cn))>55295&&be<57344){if(!Kt){if(be>56319){(pe-=3)>-1&&Xt.push(239,191,189);continue}if(cn+1===xt){(pe-=3)>-1&&Xt.push(239,191,189);continue}Kt=be;continue}if(be<56320){(pe-=3)>-1&&Xt.push(239,191,189),Kt=be;continue}be=65536+(Kt-55296<<10|be-56320)}else Kt&&(pe-=3)>-1&&Xt.push(239,191,189);if(Kt=null,be<128){if((pe-=1)<0)break;Xt.push(be)}else if(be<2048){if((pe-=2)<0)break;Xt.push(be>>6|192,63&be|128)}else if(be<65536){if((pe-=3)<0)break;Xt.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((pe-=4)<0)break;Xt.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Xt}function Dr(ft){return b.toByteArray(function Bn(ft){if((ft=(ft=ft.split("=")[0]).trim().replace(kn,"")).length<2)return"";for(;ft.length%4!=0;)ft+="=";return ft}(ft))}function ni(ft,pe,be,xt){for(var Kt=0;Kt<xt&&!(Kt+be>=pe.length||Kt>=ft.length);++Kt)pe[Kt+be]=ft[Kt];return Kt}function oi(ft,pe){return ft instanceof pe||null!=ft&&null!=ft.constructor&&null!=ft.constructor.name&&ft.constructor.name===pe.name}function Gi(ft){return ft!=ft}var Hr=function(){for(var ft="0123456789abcdef",pe=new Array(256),be=0;be<16;++be)for(var xt=16*be,Kt=0;Kt<16;++Kt)pe[xt+Kt]=ft[be]+ft[Kt];return pe}()},75834:(_,k,c)=>{"use strict";
1var g=c(95203),b=c(55685),S=b(g("String.prototype.indexOf"));_.exports=function(w,R){var L=g(w,!!R);return"function"==typeof L&&S(w,".prototype.")>-1?b(L):L}},55685:(_,k,c)=>{"use strict";var g=c(84444),b=c(95203),S=b("%Function.prototype.apply%"),C=b("%Function.prototype.call%"),w=b("%Reflect.apply%",!0)||g.call(C,S),R=b("%Object.getOwnPropertyDescriptor%",!0),L=b("%Object.defineProperty%",!0),F=b("%Math.max%");if(L)try{L({},"a",{value:1})}catch{L=null}_.exports=function(z){var A=w(g,C,arguments);if(R&&L){var M=R(A,"length");M.configurable&&L(A,"length",{value:1+F(0,z.length-(arguments.length-1))})}return A};var N=function(){return w(g,S,arguments)};L?L(_.exports,"apply",{value:N}):_.exports.apply=N},23002:(_,k)=>{var g;!function(){"use strict";var b={}.hasOwnProperty;function C(){for(var w=[],R=0;R<arguments.length;R++){var L=arguments[R];if(L){var F=typeof L;if("string"===F||"number"===F)w.push(L);else if(Array.isArray(L)){if(L.length){var N=C.apply(null,L);N&&w.push(N)}}else if("object"===F){if(L.toString!==Object.prototype.toString&&!L.toString.toString().includes("[native code]")){w.push(L.toString());continue}for(var B in L)b.call(L,B)&&L[B]&&w.push(B)}}}return w.join(" ")}_.exports?(C.default=C,_.exports=C):void 0!==(g=function(){return C}.apply(k,[]))&&(_.exports=g)}()},23555:(_,k)=>{"use strict";k.parse=function b(F,N){if("string"!=typeof F)throw new TypeError("argument str must be a string");for(var B={},A=(N||{}).decode||C,M=0;M<F.length;){var O=F.indexOf("=",M);if(-1===O)break;var V=F.indexOf(";",M);if(-1===V)V=F.length;else if(V<O){M=F.lastIndexOf(";",O-1)+1;continue}var W=F.slice(M,O).trim();if(void 0===B[W]){var q=F.slice(O+1,V).trim();34===q.charCodeAt(0)&&(q=q.slice(1,-1)),B[W]=L(q,A)}M=V+1}return B},k.serialize=function S(F,N,B){var z=B||{},A=z.encode||w;if("function"!=typeof A)throw new TypeError("option encode is invalid");if(!g.test(F))throw new TypeError("argument name is invalid");var M=A(N);if(M&&!g.test(M))throw new TypeError("argument val is invalid");var O=F+"="+M;if(null!=z.maxAge){var V=z.maxAge-0;if(isNaN(V)||!isFinite(V))throw new TypeError("option maxAge is invalid");O+="; Max-Age="+Math.floor(V)}if(z.domain){if(!g.test(z.domain))throw new TypeError("option domain is invalid");O+="; Domain="+z.domain}if(z.path){if(!g.test(z.path))throw new TypeError("option path is invalid");O+="; Path="+z.path}if(z.expires){var W=z.expires;if(!function R(F){return"[object Date]"===c.call(F)||F instanceof Date}(W)||isNaN(W.valueOf()))throw new TypeError("option expires is invali
1d");O+="; Expires="+W.toUTCString()}if(z.httpOnly&&(O+="; HttpOnly"),z.secure&&(O+="; Secure"),z.priority)switch("string"==typeof z.priority?z.priority.toLowerCase():z.priority){case"low":O+="; Priority=Low";break;case"medium":O+="; Priority=Medium";break;case"high":O+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(z.sameSite)switch("string"==typeof z.sameSite?z.sameSite.toLowerCase():z.sameSite){case!0:O+="; SameSite=Strict";break;case"lax":O+="; SameSite=Lax";break;case"strict":O+="; SameSite=Strict";break;case"none":O+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return O};var c=Object.prototype.toString,g=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function C(F){return-1!==F.indexOf("%")?decodeURIComponent(F):F}function w(F){return encodeURIComponent(F)}function L(F,N){try{return N(F)}catch{return F}}},89093:(_,k,c)=>{"use strict";var g=c(43675),b={"text/plain":"Text","text/html":"Url",default:"Text"};_.exports=function w(R,L){var F,N,B,z,A,M,O=!1;L||(L={}),F=L.debug||!1;try{if(B=g(),z=document.createRange(),A=document.getSelection(),(M=document.createElement("span")).textContent=R,M.ariaHidden="true",M.style.all="unset",M.style.position="fixed",M.style.top=0,M.style.clip="rect(0, 0, 0, 0)",M.style.whiteSpace="pre",M.style.webkitUserSelect="text",M.style.MozUserSelect="text",M.style.msUserSelect="text",M.style.userSelect="text",M.addEventListener("copy",function(W){W.stopPropagation(),L.format&&(W.preventDefault(),typeof W.clipboardData>"u"?(F&&console.warn("unable to use e.clipboardData"),F&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),window.clipboardData.setData(b[L.format]||b.default,R)):(W.clipboardData.clearData(),W.clipboardData.setData(L.format,R))),L.onCopy&&(W.preventDefault(),L.onCopy(W.clipboardData))}),document.body.appendChild(M),z.selectNodeContents(M),A.addRange(z),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");O=!0}catch(W){F&&console.error("unable to copy using execCommand: ",W),F&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(L.format||"text",R),L.onCopy&&L.onCopy(window.clipboardData),O=!0}catch(q){F&&console.error("unable to copy using clipboardData: ",q),F&&console.error("falling back to prompt"),N=function C(R){var L=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return R.replace(/#{\s*key\s*}/g,L)}("message"in L?L.message:"Copy to clipboard: #{key}, Enter"),window.prompt(N,R)}}finally{A&&("function"==typeof A.removeRange?A.removeRange(z):A.removeAllRanges()),M&&document.body.removeChild(M),B()}return O}},5819:(_,k,c)=>{var g=c(96711);_.exports=g},48788:(_,k,c)=>{var g=c(15063);_.exports=g},4861:(_,k,c)=>{var g=c(92694);_.exports=g},58461:(_,k,c)=>{var g=c(27207);_.exports=g},18729:(_,k,c)=>{var g=c(29481);_.exports=g},29686:(_,k,c)=>{var g=c(12265);_.exports=g},53274:(_,k,c)=>{var g=c(68144);_.exports=g},59565:(_,k,c)=>{var g=c(22932);_.exports=g},50590:(_,k,c)=>{var g=c(31289);_.exports=g},47084:(_,k,c)=>{var g=c(51387);_.exports=g},65603:(_,k,c)=>{var g=c(74230);_.exports=g},71016:(_,k,c)=>{var g=c(70209);_.exports=g},76302:(_,k,c)=>{var g=c(33659);_.exports=g},63517:(_,k,c)=>{var g=c(26591);_.exports=g},28126:(_,k,c)=>{var g=c(6372);_.exports=g},97886:(_,k,c)=>{var g=c(5317);_.exports=g},19668:(_,k,c)=>{var g=c(44829);_.exports=g},32163:(_,k,c)=>{var g=c(25171);_.exports=g},10089:(_,k,c)=>{var g=c(52298);_.exports=g},16455:(_,k,c)=>{var g=c(31947);_.exports=g},83893:(_,k,c)=>{var g=c(6870);_.exports=g},74058:(_,k,c)=>{var g=c(8047);_.exports=g},23641:(_,k,c)=>{var g=c(45168);_.exports=g},717:(_,k,c)=>{c(2240),c(50945);var g=c(33706);_.exports=g.Array.from},50267:(_,k,c)=>{c(8095);var g=c(33706);_.exports=g.Array.isArray},57585:(_,k,c)=>{c(98512);var g=c(80550);_.exports=g("Array").concat},88288:(_,k,c)=>{c(22929),c(16016);var g=c(80550);_.exports=g("Array").entries},2783:(_,k,c)=>{c(48341);var g=c(80550);_.exports=g("Array").every},79051:(_,k,c)=>{c(47924);var g=c(80550);_.exports=g("Array").fill},28610:(_,k,c)=>{c(1051);var g=c(80550);_.exports=g("Array").filter},69321:(_,k,c)=>{c(36770);var g=c(80550);_.exports=g("Array").findIndex},76588:(_,k,c)=>{c(12183);var g=c(80550);_.exports=g("Array").find},1445:(_,k,c)=>{c(19058);var g=c(80550);_.exports=g("Array").forEach},44488:(_,k,c)=>{c(98155);var g=c(80550);_.exports=g("Array").includes},97962:(_,k,c)=>{c(91316);var g=c(80550);_.exports=g("Array").indexOf},79171:(_,k,c)=>{c(22929),c(16016);var g=c(80550);_.exports=g("Array").keys},34208:(_,k,c)=>{c(56534);var g=c(80550);_.exports=g("Array").lastIndexOf},11251:(_,k,c)=>{c(86173);var g=c(80550);_.exports=g("Array").map},53487:(_,k,c)=>{c(45982);var g=c(80550);_.exports=g("Array").reduce},83959:(_,k,c)=>{c(46296);var g=c(80550);_.exports=g("Array").reverse},82720:(_,k,c)=>{c(79492);var g=c(80550);_.exports=g("Array").slice},70355:(_,k,c)=>{c(3750);var g=c(80550);_.exports=g("Array").some},91831:(_,k,c)=>{c(3946);var g=c(80550);_.exports=g("Array").sort},74455:(_,k,c)=>{c(78605);var g=c(80550);_.exports=g("Array").splice},12213:(_,k,c)=>{c(22929),c(16016);var g=c(80550);_.exports=g("Array").values},58541:(_,k,c)=>
1{c(76790);var g=c(33706);_.exports=g.Date.now},86197:(_,k,c)=>{c(51714);var g=c(80550);_.exports=g("Function").bind},25073:(_,k,c)=>{c(22929),c(2240);var g=c(23035);_.exports=g},63197:(_,k,c)=>{c(2914),_.exports=c(92244)},41506:(_,k,c)=>{var g=c(32807),b=c(86197),S=Function.prototype;_.exports=function(C){var w=C.bind;return C===S||g(S,C)&&w===S.bind?b:w}},67021:(_,k,c)=>{var g=c(32807),b=c(57585),S=Array.prototype;_.exports=function(C){var w=C.concat;return C===S||g(S,C)&&w===S.concat?b:w}},64886:(_,k,c)=>{var g=c(32807),b=c(2783),S=Array.prototype;_.exports=function(C){var w=C.every;return C===S||g(S,C)&&w===S.every?b:w}},763:(_,k,c)=>{var g=c(32807),b=c(79051),S=Array.prototype;_.exports=function(C){var w=C.fill;return C===S||g(S,C)&&w===S.fill?b:w}},53192:(_,k,c)=>{var g=c(32807),b=c(28610),S=Array.prototype;_.exports=function(C){var w=C.filter;return C===S||g(S,C)&&w===S.filter?b:w}},22167:(_,k,c)=>{var g=c(32807),b=c(69321),S=Array.prototype;_.exports=function(C){var w=C.findIndex;return C===S||g(S,C)&&w===S.findIndex?b:w}},86915:(_,k,c)=>{var g=c(32807),b=c(76588),S=Array.prototype;_.exports=function(C){var w=C.find;return C===S||g(S,C)&&w===S.find?b:w}},6198:(_,k,c)=>{var g=c(32807),b=c(44488),S=c(28434),C=Array.prototype,w=String.prototype;_.exports=function(R){var L=R.includes;return R===C||g(C,R)&&L===C.includes?b:"string"==typeof R||R===w||g(w,R)&&L===w.includes?S:L}},70801:(_,k,c)=>{var g=c(32807),b=c(97962),S=Array.prototype;_.exports=function(C){var w=C.indexOf;return C===S||g(S,C)&&w===S.indexOf?b:w}},53034:(_,k,c)=>{var g=c(32807),b=c(34208),S=Array.prototype;_.exports=function(C){var w=C.lastIndexOf;return C===S||g(S,C)&&w===S.lastIndexOf?b:w}},2807:(_,k,c)=>{var g=c(32807),b=c(11251),S=Array.prototype;_.exports=function(C){var w=C.map;return C===S||g(S,C)&&w===S.map?b:w}},79245:(_,k,c)=>{var g=c(32807),b=c(53487),S=Array.prototype;_.exports=function(C){var w=C.reduce;return C===S||g(S,C)&&w===S.reduce?b:w}},1353:(_,k,c)=>{var g=c(32807),b=c(44196),S=String.prototype;_.exports=function(C){var w=C.repeat;return"string"==typeof C||C===S||g(S,C)&&w===S.repeat?b:w}},7466:(_,k,c)=>{var g=c(32807),b=c(83959),S=Array.prototype;_.exports=function(C){var w=C.reverse;return C===S||g(S,C)&&w===S.reverse?b:w}},85546:(_,k,c)=>{var g=c(32807),b=c(82720),S=Array.prototype;_.exports=function(C){var w=C.slice;return C===S||g(S,C)&&w===S.slice?b:w}},14537:(_,k,c)=>{var g=c(32807),b=c(70355),S=Array.prototype;_.exports=function(C){var w=C.some;return C===S||g(S,C)&&w===S.some?b:w}},5916:(_,k,c)=>{var g=c(32807),b=c(91831),S=Array.prototype;_.exports=function(C){var w=C.sort;return C===S||g(S,C)&&w===S.sort?b:w}},90475:(_,k,c)=>{var g=c(32807),b=c(74455),S=Array.prototype;_.exports=function(C){var w=C.splice;return C===S||g(S,C)&&w===S.splice?b:w}},53602:(_,k,c)=>{var g=c(32807),b=c(7293),S=String.prototype;_.exports=function(C){var w=C.startsWith;return"string"==typeof C||C===S||g(S,C)&&w===S.startsWith?b:w}},5547:(_,k,c)=>{var g=c(32807),b=c(46974),S=String.prototype;_.exports=function(C){var w=C.trim;return"string"==typeof C||C===S||g(S,C)&&w===S.trim?b:w}},98516:(_,k,c)=>{c(48115);var g=c(33706),b=c(50291);g.JSON||(g.JSON={stringify:JSON.stringify}),_.exports=function(C,w,R){return b(g.JSON.stringify,null,arguments)}},61231:(_,k,c)=>{c(22929),c(94738),c(16016),c(2240);var g=c(33706);_.exports=g.Map},81062:(_,k,c)=>{c(81118);var g=c(33706);_.exports=g.Object.assign},99973:(_,k,c)=>{c(96848);var b=c(33706).Object;_.exports=function(C,w){return b.create(C,w)}},61539:(_,k,c)=>{c(42642);var b=c(33706).Object,S=_.exports=function(w,R){return b.defineProperties(w,R)};b.defineProperties.sham&&(S.sham=!0)},50434:(_,k,c)=>{c(72361);var b=c(33706).Object,S=_.exports=function(w,R,L){return b.defineProperty(w,R,L)};b.defineProperty.sham&&(S.sham=!0)},18263:(_,k,c)=>{c(37791);var g=c(33706);_.exports=g.Object.entries},87043:(_,k,c)=>{c(29415);var b=c(33706).Object,S=_.exports=function(w,R){return b.getOwnPropertyDescriptor(w,R)};b.getOwnPropertyDescriptor.sham&&(S.sham=!0)},28125:(_,k,c)=>{c(34831);var g=c(33706);_.exports=g.Object.getOwnPropertyDescriptors},53453:(_,k,c)=>{c(34987);var g=c(33706);_.exports=g.Object.getOwnPropertySymbols},19418:(_,k,c)=>{c(44509);var g=c(33706);_.exports=g.Object.getPrototypeOf},96648:(_,k,c)=>{c(57963);var g=c(33706);_.exports=g.Object.keys},13838:(_,k,c)=>{c(93750);var g=c(33706);_.exports=g.Object.setPrototypeOf},43913:(_,k,c)=>{c(14855);var g=c(33706);_.exports=g.Object.values},8736:(_,k,c)=>{c(67704),c(22929),c(16016),c(8708),c(17028),c(44055),c(66881),c(2240);var g=c(33706);_.exports=g.Promise},28434:(_,k,c)=>{c(4206);var g=c(80550);_.exports=g("String").includes},44196:(_,k,c)=>{c(88227);var g=c(80550);_.exports=g("String").repeat},7293:(_,k,c)=>{c(38736);var g=c(80550);_.exports=g("String").startsWith},46974:(_,k,c)=>{c(92342);var g=c(80550);_.exports=g("String").trim},38828:(_,k,c)=>{c(98512),c(16016),c(34987),c(62200),c(40765),c(12605),c(16035),c(31320),c(55128),c(73714),c(3906),c(39471),c(18301),c(45955),c(11609),c(69958),c(23726),c(46773),c(67153),c(16645);var g=c(33706);_.exports=g.Symbol},94154:(_,k,c)=>{c(22929),c(16016),c(2240),c(31320);var g=c(52118);_.exports=g.f("iterator")},30026:(_,k,c)=>{c(22929),c(16016),c(55922);var g=c(33706);_.exports=g.WeakMap},21162:(_,k,c)=>{_.exports=c(54102)},45750:(_,k,c)=>{_.exports=c(79195)},23850:(_,k,c)=>{_.exports=c(63691)},3064:(_,k,c)=>{_.exports=c(67376)},72353:(_,k,c)=>{_.exports=c(29723)},98961:(_,k,c)=>{_.exports=c(20511)},41629:(_,k,c)=>{_.exports=c(16193)},15923:(_,k,c)=>{_.exports=c(83124)},403:(_,k,c)=>{_.exports=c(47512)},79769:(_,k,c)=>{_.exports=c(89764)},13924:(_,k,c)=>{_.exports=c(70760)},49741:(_,k,c)=>{_.exports=c(32579)},90878:(_,k,c)=>{_.exports=c(52858)},91390:(_,k,c)=>{_.exports=c(6768)},48562:(_,k,c)=>{_.exports=c(34101)},33935:(_,k,c)=>{_.exports=c(1736)},48775:(_,k,c)=>{_.exports=c(92842)},90877:(_,k,c)=>{_.exports=c(28767)},95988:(_,k,c)=>{_.exports=c(10227)},12836:(_,k,c)=>{_.exports=c(97399)},72851:(_,k,c)=>{_.exports=c(66964)},4106:(_,k,c)=>{_.exports=c(84780)},84074:(_,k,c)=>{_.exports=c(63210)},54102:(_,k,c)=>{var g=c(5819);_.exports=g},79195:(_,k,c)=>{var g=c(48788);_.exports=g},63691:(_,k,c)=>{var g=c(4861);_.exports=g},67376:(_,k,c)=>{c(37616);var g=c(58461);_.exports=g},29723:(_,k,c)=>{var g=c(18729);_.exports=g},20511:(_,k,c)=>{var g=c(29686);_.exports=g},16193:(_,k,c)=>{var g=c(53274);_.exports=g},83124:(_,k,c)=>{var g=c(59565);_.exports=g},47512:(_,k,c)=>{var g=c(50590);_.exports=g},89764:(_,k,c)=>{var g=c(47084);_.exports=g},70760:(_,k,c)=>{var g=c(65603);_.exports=g},32579:(_,k,c)=>{var g=c(71016);_.exports=g},52858:(_,k,c)=>{var g=c(76302);_.exports=g},6768:(_,k,c)=>{var g=c(63517);_.exports=g},34101:(_,k,c)=>{var g=c(28126);_.exports=g},1736:(_,k,c)=>{var g=c(97886);_.exports=g},92842:(_,k,c)=>{var g=c(19668);_.exports=g},28767:(_,k,c)=>{var g=c(32163);_.exports=g},10227:(_,k,c)=>{var g=c(10089);_.exports=g},97399:(_,k,c)=>
1{var g=c(16455);_.exports=g},66964:(_,k,c)=>{var g=c(83893);c(29224),c(13742),c(3242),c(96910),_.exports=g},84780:(_,k,c)=>{var g=c(74058);c(44197),c(99797),c(11262),c(55826),c(27657),c(75626),c(71158),c(92001),_.exports=g},63210:(_,k,c)=>{var g=c(23641);_.exports=g},74989:(_,k,c)=>{var g=c(51594),b=c(66766),S=TypeError;_.exports=function(C){if(g(C))return C;throw S(b(C)+" is not a function")}},44081:(_,k,c)=>{var g=c(92512),b=c(66766),S=TypeError;_.exports=function(C){if(g(C))return C;throw S(b(C)+" is not a constructor")}},56940:(_,k,c)=>{var g=c(51594),b=String,S=TypeError;_.exports=function(C){if("object"==typeof C||g(C))return C;throw S("Can't set "+b(C)+" as a prototype")}},30127:_=>{_.exports=function(){}},93450:(_,k,c)=>{var g=c(32807),b=TypeError;_.exports=function(S,C){if(g(C,S))return S;throw b("Incorrect invocation")}},67057:(_,k,c)=>{var g=c(29642),b=String,S=TypeError;_.exports=function(C){if(g(C))return C;throw S(b(C)+" is not an object")}},28438:(_,k,c)=>{var g=c(11111);_.exports=g(function(){if("function"==typeof ArrayBuffer){var b=new ArrayBuffer(8);Object.isExtensible(b)&&Object.defineProperty(b,"a",{value:8})}})},12374:(_,k,c)=>{"use strict";var g=c(83226),b=c(25881),S=c(67005);_.exports=function(w){for(var R=g(this),L=S(R),F=arguments.length,N=b(F>1?arguments[1]:void 0,L),B=F>2?arguments[2]:void 0,z=void 0===B?L:b(B,L);z>N;)R[N++]=w;return R}},61368:(_,k,c)=>{"use strict";var g=c(21407).forEach,S=c(86234)("forEach");_.exports=S?[].forEach:function(w){return g(this,w,arguments.length>1?arguments[1]:void 0)}},48774:(_,k,c)=>{"use strict";var g=c(90869),b=c(40004),S=c(83226),C=c(12830),w=c(61263),R=c(92512),L=c(67005),F=c(19140),N=c(98577),B=c(23035),z=Array;_.exports=function(M){var O=S(M),V=R(this),W=arguments.length,q=W>1?arguments[1]:void 0,J=void 0!==q;J&&(q=g(q,W>2?arguments[2]:void 0));var re,oe,se,le,Y,_e,te=B(O),ae=0;if(!te||this===z&&w(te))for(re=L(O),oe=V?new this(re):z(re);re>ae;ae++)_e=J?q(O[ae],ae):O[ae],F(oe,ae,_e);else for(Y=(le=N(O,te)).next,oe=V?new this:[];!(se=b(Y,le)).done;ae++)_e=J?C(le,q,[se.value,ae],!0):se.value,F(oe,ae,_e);return oe.length=ae,oe}},96728:(_,k,c)=>{var g=c(77519),b=c(25881),S=c(67005),C=function(w){return function(R,L,F){var A,N=g(R),B=S(N),z=b(F,B);if(w&&L!=L){for(;B>z;)if((A=N[z++])!=A)return!0}else for(;B>z;z++)if((w||z in N)&&N[z]===L)return w||z||0;return!w&&-1}};_.exports={includes:C(!0),indexOf:C(!1)}},21407:(_,k,c)=>{var g=c(90869),b=c(58316),S=c(55030),C=c(83226),w=c(67005),R=c(9310),L=b([].push),F=function(N){var B=1==N,z=2==N,A=3==N,M=4==N,O=6==N,V=7==N,W=5==N||O;return function(q,J,te,ae){for(var We,st,re=C(q),oe=S(re),se=g(J,te),le=w(oe),Y=0,_e=ae||R,Qe=B?_e(q,le):z||V?_e(q,0):void 0;le>Y;Y++)if((W||Y in oe)&&(st=se(We=oe[Y],Y,re),N))if(B)Qe[Y]=st;else if(st)switch(N){case 3:return!0;case 5:return We;case 6:return Y;case 2:L(Qe,We)}else switch(N){case 4:return!1;case 7:L(Qe,We)}return O?-1:A||M?M:Qe}};_.exports={forEach:F(0),map:F(1),filter:F(2),some:F(3),every:F(4),find:F(5),findIndex:F(6),filterReject:F(7)}},37596:(_,k,c)=>{"use strict";var g=c(50291),b=c(77519),S=c(99561),C=c(67005),w=c(86234),R=Math.min,L=[].lastIndexOf,F=!!L&&1/[1].lastIndexOf(1,-0)<0,N=w("lastIndexOf");_.exports=F||!N?function(A){if(F)return g(L,this,arguments)||0;var M=b(this),O=C(M),V=O-1;for(arguments.length>1&&(V=R(V,S(arguments[1]))),V<0&&(V=O+V);V>=0;V--)if(V in M&&M[V]===A)return V||0;return-1}:L},89064:(_,k,c)=>{var g=c(11111),b=c(45312),S=c(55114),C=b("species");_.exports=function(w){return S>=51||!g(function(){var R=[];return(R.constructor={})[C]=function(){return{foo:1}},1!==R[w](Boolean).foo})}},86234:(_,k,c)=>{"use strict";var g=c(11111);_.exports=function(b,S){var C=[][b];return!!C&&g(function(){C.call(null,S||function(){return 1},1)})}},91386:(_,k,c)=>{var g=c(74989),b=c(83226),S=c(55030),C=c(67005),w=TypeError,R=function(L){return function(F,N,B,z){g(N);var A=b(F),M=S(A),O=C(A),V=L?O-1:0,W=L?-1:1;if(B<2)for(;;){if(V in M){z=M[V],V+=W;break}if(V+=W,L?V<0:O<=V)throw w("Reduce of empty array with no initial value")}for(;L?V>=0:O>V;V+=W)V in M&&(z=N(z,M[V],V,A));return z}};_.exports={left:R(!1),right:R(!0)}},54892:(_,k,c)=>{"use strict";var g=c(2646),b=c(67902),S=TypeError,C=Object.getOwnPropertyDescriptor,w=g&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(R){return R instanceof TypeError}}();_.exports=w?function(R,L){if(b(R)&&!C(R,"length").writable)throw S("Cannot set read only .length");return R.length=L}:function(R,L){return R.length=L}},90381:(_,k,c)=>
1{var g=c(25881),b=c(67005),S=c(19140),C=Array,w=Math.max;_.exports=function(R,L,F){for(var N=b(R),B=g(L,N),z=g(void 0===F?N:F,N),A=C(w(z-B,0)),M=0;B<z;B++,M++)S(A,M,R[B]);return A.length=M,A}},63341:(_,k,c)=>{var g=c(58316);_.exports=g([].slice)},4590:(_,k,c)=>{var g=c(90381),b=Math.floor,S=function(R,L){var F=R.length,N=b(F/2);return F<8?C(R,L):w(R,S(g(R,0,N),L),S(g(R,N),L),L)},C=function(R,L){for(var B,z,F=R.length,N=1;N<F;){for(z=N,B=R[N];z&&L(R[z-1],B)>0;)R[z]=R[--z];z!==N++&&(R[z]=B)}return R},w=function(R,L,F,N){for(var B=L.length,z=F.length,A=0,M=0;A<B||M<z;)R[A+M]=A<B&&M<z?N(L[A],F[M])<=0?L[A++]:F[M++]:A<B?L[A++]:F[M++];return R};_.exports=S},70066:(_,k,c)=>{var g=c(67902),b=c(92512),S=c(29642),w=c(45312)("species"),R=Array;_.exports=function(L){var F;return g(L)&&(b(F=L.constructor)&&(F===R||g(F.prototype))||S(F)&&null===(F=F[w]))&&(F=void 0),void 0===F?R:F}},9310:(_,k,c)=>{var g=c(70066);_.exports=function(b,S){return new(g(b))(0===S?0:S)}},12830:(_,k,c)=>{var g=c(67057),b=c(27336);_.exports=function(S,C,w,R){try{return R?C(g(w)[0],w[1]):C(w)}catch(L){b(S,"throw",L)}}},32024:(_,k,c)=>{var b=c(45312)("iterator"),S=!1;try{var C=0,w={next:function(){return{done:!!C++}},return:function(){S=!0}};w[b]=function(){return this},Array.from(w,function(){throw 2})}catch{}_.exports=function(R,L){if(!L&&!S)return!1;var F=!1;try{var N={};N[b]=function(){return{next:function(){return{done:F=!0}}}},R(N)}catch{}return F}},37120:(_,k,c)=>{var g=c(47661),b=g({}.toString),S=g("".slice);_.exports=function(C){return S(b(C),8,-1)}},18598:(_,k,c)=>{var g=c(75991),b=c(51594),S=c(37120),w=c(45312)("toStringTag"),R=Object,L="Arguments"==S(function(){return arguments}());_.exports=g?S:function(N){var B,z,A;return void 0===N?"Undefined":null===N?"Null":"string"==typeof(z=function(N,B){try{return N[B]}catch{}}(B=R(N),w))?z:L?S(B):"Object"==(A=S(B))&&b(B.callee)?"Arguments":A}},43489:(_,k,c)=>{"use strict";var g=c(82972).f,b=c(54021),S=c(50077),C=c(90869),w=c(93450),R=c(99389),L=c(70529),F=c(99195),N=c(70522),B=c(449),z=c(2646),A=c(41770).fastKey,M=c(74818),O=M.set,V=M.getterFor;_.exports={getConstructor:function(W,q,J,te){var ae=W(function(Y,_e){w(Y,re),O(Y,{type:q,index:b(null),first:void 0,last:void 0,size:0}),z||(Y.size=0),R(_e)||L(_e,Y[te],{that:Y,AS_ENTRIES:J})}),re=ae.prototype,oe=V(q),se=function(Y,_e,Qe){var Ve,at,We=oe(Y),st=le(Y,_e);return st?st.value=Qe:(We.last=st={index:at=A(_e,!0),key:_e,value:Qe,previous:Ve=We.last,next:void 0,removed:!1},We.first||(We.first=st),Ve&&(Ve.next=st),z?We.size++:Y.size++,"F"!==at&&(We.index[at]=st)),Y},le=function(Y,_e){var st,Qe=oe(Y),We=A(_e);if("F"!==We)return Qe.index[We];for(st=Qe.first;st;st=st.next)if(st.key==_e)return st};return S(re,{clear:function(){for(var Qe=oe(this),We=Qe.index,st=Qe.first;st;)st.removed=!0,st.previous&&(st.previous=st.previous.next=void 0),delete We[st.index],st=st.next;Qe.first=Qe.last=void 0,z?Qe.size=0:this.size=0},delete:function(Y){var Qe=oe(this),We=le(this,Y);if(We){var st=We.next,Ve=We.previous;delete Qe.index[We.index],We.removed=!0,Ve&&(Ve.next=st),st&&(st.previous=Ve),Qe.first==We&&(Qe.first=st),Qe.last==We&&(Qe.last=Ve),z?Qe.size--:this.size--}return!!We},forEach:function(_e){for(var st,Qe=oe(this),We=C(_e,arguments.length>1?arguments[1]:void 0);st=st?st.next:Qe.first;)for(We(st.value,st.key,this);st&&st.removed;)st=st.previous},has:function(_e){return!!le(this,_e)}}),S(re,J?{get:function(_e){var Qe=le(this,_e);return Qe&&Qe.value},set:function(_e,Qe){return se(this,0===_e?0:_e,Qe)}}:{add:function(_e){return se(this,_e=0===_e?0:_e,_e)}}),z&&g(re,"size",{get:function(){return oe(this).size}}),ae},setStrong:function(W,q,J){var te=q+" Iterator",ae=V(q),re=V(te);F(W,q,function(oe,se){O(this,{type:te,target:oe,state:ae(oe),kind:se,last:void 0})},function(){for(var oe=re(this),se=oe.kind,le=oe.last;le&&le.removed;)le=le.previous;return oe.target&&(oe.last=le=le?le.next:oe.state.first)?N("keys"==se?le.key:"values"==se?le.value:[le.key,le.value],!1):(oe.target=void 0,N(void 0,!0))},J?"entries":"values",!J,!0),B(q)}}},15474:(_,k,c)=>{"use strict";var g=c(58316),b=c(50077),S=c(41770).getWeakData,C=c(93450),w=c(67057),R=c(99389),L=c(29642),F=c(70529),N=c(21407),B=c(8277
1),z=c(74818),A=z.set,M=z.getterFor,O=N.find,V=N.findIndex,W=g([].splice),q=0,J=function(re){return re.frozen||(re.frozen=new te)},te=function(){this.entries=[]},ae=function(re,oe){return O(re.entries,function(se){return se[0]===oe})};te.prototype={get:function(re){var oe=ae(this,re);if(oe)return oe[1]},has:function(re){return!!ae(this,re)},set:function(re,oe){var se=ae(this,re);se?se[1]=oe:this.entries.push([re,oe])},delete:function(re){var oe=V(this.entries,function(se){return se[0]===re});return~oe&&W(this.entries,oe,1),!!~oe}},_.exports={getConstructor:function(re,oe,se,le){var Y=re(function(st,Ve){C(st,_e),A(st,{type:oe,id:q++,frozen:void 0}),R(Ve)||F(Ve,st[le],{that:st,AS_ENTRIES:se})}),_e=Y.prototype,Qe=M(oe),We=function(st,Ve,at){var vt=Qe(st),Sn=S(w(Ve),!0);return!0===Sn?J(vt).set(Ve,at):Sn[vt.id]=at,st};return b(_e,{delete:function(st){var Ve=Qe(this);if(!L(st))return!1;var at=S(st);return!0===at?J(Ve).delete(st):at&&B(at,Ve.id)&&delete at[Ve.id]},has:function(Ve){var at=Qe(this);if(!L(Ve))return!1;var vt=S(Ve);return!0===vt?J(at).has(Ve):vt&&B(vt,at.id)}}),b(_e,se?{get:function(Ve){var at=Qe(this);if(L(Ve)){var vt=S(Ve);return!0===vt?J(at).get(Ve):vt?vt[at.id]:void 0}},set:function(Ve,at){return We(this,Ve,at)}}:{add:function(Ve){return We(this,Ve,!0)}}),Y}}},4236:(_,k,c)=>{"use strict";var g=c(79235),b=c(92244),S=c(41770),C=c(11111),w=c(3156),R=c(70529),L=c(93450),F=c(51594),N=c(29642),B=c(32049),z=c(82972).f,A=c(21407).forEach,M=c(2646),O=c(74818),V=O.set,W=O.getterFor;_.exports=function(q,J,te){var _e,ae=-1!==q.indexOf("Map"),re=-1!==q.indexOf("Weak"),oe=ae?"set":"add",se=b[q],le=se&&se.prototype,Y={};if(M&&F(se)&&(re||le.forEach&&!C(function(){(new se).entries().next()}))){var Qe=(_e=J(function(st,Ve){V(L(st,Qe),{type:q,collection:new se}),null!=Ve&&R(Ve,st[oe],{that:st,AS_ENTRIES:ae})})).prototype,We=W(q);A(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(st){var Ve="add"==st||"set"==st;st in le&&(!re||"clear"!=st)&&w(Qe,st,function(at,vt){var Sn=We(this).collection;if(!Ve&&re&&!N(at))return"get"==st&&void 0;var Ge=Sn[st](0===at?0:at,vt);return Ve?this:Ge})}),re||z(Qe,"size",{configurable:!0,get:function(){return We(this).collection.size}})}else _e=te.getConstructor(J,q,ae,oe),S.enable();return B(_e,q,!1,!0),Y[q]=_e,g({global:!0,forced:!0},Y),re||te.setStrong(_e,q,ae),_e}},98782:(_,k,c)=>{var g=c(8277),b=c(97291),S=c(70050),C=c(82972);_.exports=function(w,R,L){for(var F=b(R),N=C.f,B=S.f,z=0;z<F.length;z++){var A=F[z];!g(w,A)&&(!L||!g(L,A))&&N(w,A,B(R,A))}}},93770:(_,k,c)=>{var b=c(45312)("match");_.exports=function(S){var C=/./;try{"/./"[S](C)}catch{try{return C[b]=!1,"/./"[S](C)}catch{}}return!1}},40399:(_,k,c)=>{var g=c(11111);_.exports=!g(function(){function b(){}return b.prototype.constructor=null,Object.getPrototypeOf(new b)!==b.prototype})},70522:_=>{_.exports=function(k,c){return{value:k,done:c}}},3156:(_,k,c)=>{var g=c(2646),b=c(82972),S=c(8342);_.exports=g?function(C,w,R){return b.f(C,w,S(1,R))}:function(C,w,R){return C[w]=R,C}},8342:_=>{_.exports=function(k,c){return{enumerable:!(1&k),configurable:!(2&k),writable:!(4&k),value:c}}},19140:(_,k,c)=>{"use strict";var g=c(74479),b=c(82972),S=c(8342);_.exports=function(C,w,R){var L=g(w);L in C?b.f(C,L,S(0,R)):C[L]=R}},80193:(_,k,c)=>{var g=c(82972);_.exports=function(b,S,C){return g.f(b,S,C)}},20404:(_,k,c)=>{var g=c(3156);_.exports=function(b,S,C,w){return w&&w.enumerable?b[S]=C:g(b,S,C),b}},50077:(_,k,c)=>{var g=c(20404);_.exports=function(b,S,C){for(var w in S)C&&C.unsafe&&b[w]?b[w]=S[w]:g(b,w,S[w],C);return b}},58119:(_,k,c)=>{var g=c(92244),b=Object.defineProperty;_.exports=function(S,C){try{b(g,S,{value:C,configurable:!0,writable:!0})}catch{g[S]=C}return C}},32348:(_,k,c)=>{"use strict";var g=c(66766),b=TypeError;_.exports=function(S,C){if(!delete S[C])throw b("Cannot delete property "+g(C)+" of "+g(S))}},2646:(_,k,c)=>{var g=c(11111);_.exports=!g(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},45578:_=>{var k="object"==typeof document&&document.all;_.exports={all:k,IS_HTMLDDA:typeof k>"u"&&void 0!==k}},11858:(_,k,c)=>{var g=c(92244),b=c(29642),S=g.document,C=b(S)&&b(S.createElement);_.exports=function(w){return C?S.createElement(w):{}}},10797:_=>{var k=TypeError;_.exports=function(g){if(g>9007199254740991)throw k("Maximum allowed index exceeded");return g}},49467:_=>{_.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},53001:(_,k,c)=>{var b=c(73994).match(/firefox\/(\d+)/i);_.exports=!!b&&+b[1]},4903:(_,k,c)=>{var g=c(60779),b=c(11044);_.exports=!g&&!b&&"object"==typeof window&&"object"==typeof document},60779:_=>{_.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},19057:(_,k,c)=>{var g=c(73994);_.exports=/MSIE|Trident/.test(g)},26315:(_,k,c)=>{var g=c(73994),b=c(92244);_.exports=/ipad|iphone|ipod/i.test(g)&&void 0!==b.Pebble},53740:(_,k,c)=>{var g=c(73994);
1_.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(g)},11044:(_,k,c)=>{var g=c(37120),b=c(92244);_.exports="process"==g(b.process)},98400:(_,k,c)=>{var g=c(73994);_.exports=/web0s(?!.*chrome)/i.test(g)},73994:(_,k,c)=>{var g=c(59939);_.exports=g("navigator","userAgent")||""},55114:(_,k,c)=>{var L,F,g=c(92244),b=c(73994),S=g.process,C=g.Deno,w=S&&S.versions||C&&C.version,R=w&&w.v8;R&&(F=(L=R.split("."))[0]>0&&L[0]<4?1:+(L[0]+L[1])),!F&&b&&(!(L=b.match(/Edge\/(\d+)/))||L[1]>=74)&&(L=b.match(/Chrome\/(\d+)/))&&(F=+L[1]),_.exports=F},31312:(_,k,c)=>{var b=c(73994).match(/AppleWebKit\/(\d+)\./);_.exports=!!b&&+b[1]},80550:(_,k,c)=>{var g=c(33706);_.exports=function(b){return g[b+"Prototype"]}},44762:_=>{_.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},43047:(_,k,c)=>{var g=c(58316),b=Error,S=g("".replace),C=String(b("zxcasd").stack),w=/\n\s*at [^:]*:[^\n]*/,R=w.test(C);_.exports=function(L,F){if(R&&"string"==typeof L&&!b.prepareStackTrace)for(;F--;)L=S(L,w,"");return L}},25725:(_,k,c)=>{var g=c(11111),b=c(8342);_.exports=!g(function(){var S=Error("a");return!("stack"in S)||(Object.defineProperty(S,"stack",b(1,7)),7!==S.stack)})},79235:(_,k,c)=>{"use strict";var g=c(92244),b=c(50291),S=c(58316),C=c(51594),w=c(70050).f,R=c(95294),L=c(33706),F=c(90869),N=c(3156),B=c(8277),z=function(A){var M=function(O,V,W){if(this instanceof M){switch(arguments.length){case 0:return new A;case 1:return new A(O);case 2:return new A(O,V)}return new A(O,V,W)}return b(A,this,arguments)};return M.prototype=A.prototype,M};_.exports=function(A,M){var oe,se,le,Y,_e,Qe,We,st,O=A.target,V=A.global,W=A.stat,q=A.proto,J=V?g:W?g[O]:(g[O]||{}).prototype,te=V?L:L[O]||N(L,O,{})[O],ae=te.prototype;for(le in M)oe=!R(V?le:O+(W?".":"#")+le,A.forced)&&J&&B(J,le),_e=te[le],oe&&(Qe=A.dontCallGetSet?(st=w(J,le))&&st.value:J[le]),Y=oe&&Qe?Qe:M[le],(!oe||typeof _e!=typeof Y)&&(We=A.bind&&oe?F(Y,g):A.wrap&&oe?z(Y):q&&C(Y)?S(Y):Y,(A.sham||Y&&Y.sham||_e&&_e.sham)&&N(We,"sham",!0),N(te,le,We),q&&(B(L,se=O+"Prototype")||N(L,se,{}),N(L[se],le,Y),A.real&&ae&&!ae[le]&&N(ae,le,Y)))}},11111:_=>{_.exports=function(k){try{return!!k()}catch{return!0}}},99934:(_,k,c)=>{var g=c(11111);_.exports=!g(function(){return Object.isExtensible(Object.preventExtensions({}))})},50291:(_,k,c)=>{var g=c(25493),b=Function.prototype,S=b.apply,C=b.call;_.exports="object"==typeof Reflect&&Reflect.apply||(g?C.bind(S):function(){return C.apply(S,arguments)})},90869:(_,k,c)=>{var g=c(58316),b=c(74989),S=c(25493),C=g(g.bind);_.exports=function(w,R){return b(w),void 0===R?w:S?C(w,R):function(){return w.apply(R,arguments)}}},25493:(_,k,c)=>{var g=c(11111);_.exports=!g(function(){var b=function(){}.bind();return"function"!=typeof b||b.hasOwnProperty("prototype")})},11052:(_,k,c)=>{"use strict";var g=c(58316),b=c(74989),S=c(29642),C=c(8277),w=c(63341),R=c(25493),L=Function,F=g([].concat),N=g([].join),B={},z=function(A,M,O){if(!C(B,M)){for(var V=[],W=0;W<M;W++)V[W]="a["+W+"]";B[M]=L("C,a","return new C("+N(V,",")+")")}return B[M](A,O)};_.exports=R?L.bind:function(M){var O=b(this),V=O.prototype,W=w(arguments,1),q=function(){var te=F(W,w(arguments));return this instanceof q?z(O,te.length,te):O.apply(M,te)};return S(V)&&(q.prototype=V),q}},40004:(_,k,c)=>{var g=c(25493),b=Function.prototype.call;_.exports=g?b.bind(b):function(){return b.apply(b,arguments)}},14706:(_,k,c)=>{var g=c(2646),b=c(8277),S=Function.prototype,C=g&&Object.getOwnPropertyDescriptor,w=b(S,"name"),R=w&&"something"===function(){}.name,L=w&&(!g||g&&C(S,"name").configurable);_.exports={EXISTS:w,PROPER:R,CONFIGURABLE:L}},47661:(_,k,c)=>{var g=c(25493),b=Function.prototype,S=b.call,C=g&&b.bind.bind(S,S);_.exports=g?C:function(w){return function(){return S.apply(w,arguments)}}},58316:(_,k,c)=>{var g=c(37120),b=c(47661);_.exports=function(S){if("Function"===g(S))return b(S)}},59939:(_,k,c)=>{var g=c(33706),b=c(92244),S=c(51594),C=function(w){return S(w)?w:void 0};_.exports=function(w,R){return arguments.length<2?C(g[w])||C(b[w]):g[w]&&g[w][R]||b[w]&&b[w][R]}},23035:(_,k,c)=>{var g=c(18598),b=c(68856),S=c(99389),C=c(41949),R=c(45312)("iterator");_.exports=function(L){if(!S(L))return b(L,R)||b(L,"@@iterator")||C[g(L)]}},98577:(_,k,c)=>{var g=c(40004),b=c(74989),S=c(67057),C=c(66766),w=c(23035),R=TypeError;_.exports=function(L,F){var N=arguments.length<2?w(L):F;if(b(N))return S(g(N,L));throw R(C(L)+" is not iterable")}},68856:(_,k,c)=>{var g=c(74989),b=c(99389);_.exports=function(S,C){var w=S[C];return b(w)?void 0:g(w)}},92244:_=>{var k=function(c){return c&&c.Math==Math&&c};_.exports=k("object"==typeof globalThis&&globalThis)||k("object"==typeof window&&window)||k("object"==typeof self&&self)||k("object"==typeof global&&global)||function(){return this}()||Function("return this")()},8277:(_,k,c)=>{var g=c(58316),b=c(83226),S=g({}.hasOwnProperty);_.exports=Object.hasOwn||function(w,R){return S(b(w),R)}},7530:_=>{_.exports={}},14291:(_,k,c)=>{var g=c(92244);_.exports=function(b,S){var C=g.console;
1C&&C.error&&(1==arguments.length?C.error(b):C.error(b,S))}},68396:(_,k,c)=>{var g=c(59939);_.exports=g("document","documentElement")},62748:(_,k,c)=>{var g=c(2646),b=c(11111),S=c(11858);_.exports=!g&&!b(function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a})},55030:(_,k,c)=>{var g=c(58316),b=c(11111),S=c(37120),C=Object,w=g("".split);_.exports=b(function(){return!C("z").propertyIsEnumerable(0)})?function(R){return"String"==S(R)?w(R,""):C(R)}:C},38423:(_,k,c)=>{var g=c(58316),b=c(51594),S=c(44606),C=g(Function.toString);b(S.inspectSource)||(S.inspectSource=function(w){return C(w)}),_.exports=S.inspectSource},38079:(_,k,c)=>{var g=c(29642),b=c(3156);_.exports=function(S,C){g(C)&&"cause"in C&&b(S,"cause",C.cause)}},41770:(_,k,c)=>{var g=c(79235),b=c(58316),S=c(7530),C=c(29642),w=c(8277),R=c(82972).f,L=c(31836),F=c(27217),N=c(4415),B=c(72194),z=c(99934),A=!1,M=B("meta"),O=0,V=function(re){R(re,M,{value:{objectID:"O"+O++,weakData:{}}})},ae=_.exports={enable:function(){ae.enable=function(){},A=!0;var re=L.f,oe=b([].splice),se={};se[M]=1,re(se).length&&(L.f=function(le){for(var Y=re(le),_e=0,Qe=Y.length;_e<Qe;_e++)if(Y[_e]===M){oe(Y,_e,1);break}return Y},g({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:F.f}))},fastKey:function(re,oe){if(!C(re))return"symbol"==typeof re?re:("string"==typeof re?"S":"P")+re;if(!w(re,M)){if(!N(re))return"F";if(!oe)return"E";V(re)}return re[M].objectID},getWeakData:function(re,oe){if(!w(re,M)){if(!N(re))return!0;if(!oe)return!1;V(re)}return re[M].weakData},onFreeze:function(re){return z&&A&&N(re)&&!w(re,M)&&V(re),re}};S[M]=!0},74818:(_,k,c)=>{var A,M,O,g=c(71421),b=c(92244),S=c(29642),C=c(3156),w=c(8277),R=c(44606),L=c(19948),F=c(7530),N="Object already initialized",B=b.TypeError;if(g||R.state){var q=R.state||(R.state=new(0,b.WeakMap));q.get=q.get,q.has=q.has,q.set=q.set,A=function(te,ae){if(q.has(te))throw B(N);return ae.facade=te,q.set(te,ae),ae},M=function(te){return q.get(te)||{}},O=function(te){return q.has(te)}}else{var J=L("state");F[J]=!0,A=function(te,ae){if(w(te,J))throw B(N);return ae.facade=te,C(te,J,ae),ae},M=function(te){return w(te,J)?te[J]:{}},O=function(te){return w(te,J)}}
1_.exports={set:A,get:M,has:O,enforce:function(te){return O(te)?M(te):A(te,{})},getterFor:function(te){return function(ae){var re;if(!S(ae)||(re=M(ae)).type!==te)throw B("Incompatible receiver, "+te+" required");return re}}}},61263:(_,k,c)=>{var g=c(45312),b=c(41949),S=g("iterator"),C=Array.prototype;_.exports=function(w){return void 0!==w&&(b.Array===w||C[S]===w)}},67902:(_,k,c)=>{var g=c(37120);_.exports=Array.isArray||function(S){return"Array"==g(S)}},51594:(_,k,c)=>{var g=c(45578),b=g.all;_.exports=g.IS_HTMLDDA?function(S){return"function"==typeof S||S===b}:function(S){return"function"==typeof S}},92512:(_,k,c)=>{var g=c(58316),b=c(11111),S=c(51594),C=c(18598),w=c(59939),R=c(38423),L=function(){},F=[],N=w("Reflect","construct"),B=/^\s*(?:class|function)\b/,z=g(B.exec),A=!B.exec(L),M=function(W){if(!S(W))return!1;try{return N(L,F,W),!0}catch{return!1}},O=function(W){if(!S(W))return!1;switch(C(W)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return A||!!z(B,R(W))}catch{return!0}};O.sham=!0,_.exports=!N||b(function(){var V;return M(M.call)||!M(Object)||!M(function(){V=!0}
1)||V})?O:M},95294:(_,k,c)=>{var g=c(11111),b=c(51594),S=/#|\.prototype\./,C=function(N,B){var z=R[w(N)];return z==F||z!=L&&(b(B)?g(B):!!B)},w=C.normalize=function(N){return String(N).replace(S,".").toLowerCase()},R=C.data={},L=C.NATIVE="N",F=C.POLYFILL="P";_.exports=C},99389:_=>{_.exports=function(k){return null==k}},29642:(_,k,c)=>{var g=c(51594),b=c(45578),S=b.all;_.exports=b.IS_HTMLDDA?function(C){return"object"==typeof C?null!==C:g(C)||C===S}:function(C){return"object"==typeof C?null!==C:g(C)}},290:_=>{_.exports=!0},63158:(_,k,c)=>{var g=c(29642),b=c(37120),C=c(45312)("match");_.exports=function(w){var R;return g(w)&&(void 0!==(R=w[C])?!!R:"RegExp"==b(w))}},61284:(_,k,c)=>{var g=c(59939),b=c(51594),S=c(32807),C=c(46885),w=Object;_.exports=C?function(R){return"symbol"==typeof R}:function(R){var L=g("Symbol");return b(L)&&S(L.prototype,w(R))}},70529:(_,k,c)=>{var g=c(90869),b=c(40004),S=c(67057),C=c(66766),w=c(61263),R=c(67005),L=c(32807),F=c(98577),N=c(23035),B=c(27336),z=TypeError,A=function(O,V){this.stopped=O,this.result=V},M=A.prototype;_.exports=function(O,V,W){var se,le,Y,_e,Qe,We,st,J=!(!W||!W.AS_ENTRIES),te=!(!W||!W.IS_RECORD),ae=!(!W||!W.IS_ITERATOR),re=!(!W||!W.INTERRUPTED),oe=g(V,W&&W.that),Ve=function(vt){return se&&B(se,"normal",vt),new A(!0,vt)},at=function(vt){return J?(S(vt),re?oe(vt[0],vt[1],Ve):oe(vt[0],vt[1])):re?oe(vt,Ve):oe(vt)};if(te)se=O.iterator;else if(ae)se=O;else{if(!(le=N(O)))throw z(C(O)+" is not iterable");if(w(le)){for(Y=0,_e=R(O);_e>Y;Y++)if((Qe=at(O[Y]))&&L(M,Qe))return Qe;return new A(!1)}se=F(O,le)}for(We=te?O.next:se.next;!(st=b(We,se)).done;){try{Qe=at(st.value)}catch(vt){B(se,"throw",vt)}if("object"==typeof Qe&&Qe&&L(M,Qe))return Qe}return new A(!1)}},27336:(_,k,c)=>{var g=c(40004),b=c(67057),S=c(68856);_.exports=function(C,w,R){var L,F;b(C);try{if(!(L=S(C,"return"))){if("throw"===w)throw R;return R}L=g(L,C)}catch(N){F=!0,L=N}if("throw"===w)throw R;if(F)throw L;return b(L),R}},64240:(_,k,c)=>{"use strict";var g=c(27468).IteratorPrototype,b=c(54021),S=c(8342),C=c(32049),w=c(41949),R=function(){return this};_.exports=function(L,F,N,B){var z=F+" Iterator";return L.prototype=b(g,{next:S(+!B,N)}),C(L,z,!1,!0),w[z]=R,L}},99195:(_,k,c)=>{"use strict";var g=c(79235),b=c(40004),S=c(290),C=c(14706),w=c(51594),R=c(64240),L=c(1028),F=c(70990),N=c(32049),B=c(3156),z=c(20404),A=c(45312),M=c(41949),O=c(27468),V=C.PROPER,W=C.CONFIGURABLE,q=O.IteratorPrototype,J=O.BUGGY_SAFARI_ITERATORS,te=A("iterator"),re="values",oe="entries",se=function(){return this};_.exports=function(le,Y,_e,Qe,We,st,Ve){R(_e,Y,Qe);var Yt,tn,Gt,at=function(nt){if(nt===We&&wt)return wt;if(!J&&nt in Ge)return Ge[nt];switch(nt){case"keys":case re:case oe:return function(){return new _e(this,nt)}}return function(){return new _e(this)}},vt=Y+" Iterator",Sn=!1,Ge=le.prototype,Wt=Ge[te]||Ge["@@iterator"]||We&&Ge[We],wt=!J&&Wt||at(We),ln="Array"==Y&&Ge.entries||Wt;if(ln&&(Yt=L(ln.call(new le)))!==Object.prototype&&Yt.next&&(!S&&L(Yt)!==q&&(F?F(Yt,q):w(Yt[te])||z(Yt,te,se)),N(Yt,vt,!0,!0),S&&(M[vt]=se)),V&&We==re&&Wt&&Wt.name!==re&&(!S&&W?B(Ge,"name",re):(Sn=!0,wt=function(){return b(Wt,this)})),We)if(tn={values:at(re),keys:st?wt:at("keys"),entries:at(oe)},Ve)for(Gt in tn)(J||Sn||!(Gt in Ge))&&z(Ge,Gt,tn[Gt]);else g({target:Y,proto:!0,forced:J||Sn},tn);return(!S||Ve)&&Ge[te]!==wt&&z(Ge,te,wt,{name:We}),M[Y]=wt,tn}},27468:(_,k,c)=>{"use strict";var z,A,M,g=c(11111),b=c(51594),S=c(29642),C=c(54021),w=c(1028),R=c(20404),L=c(45312),F=c(290),N=L("iterator"),B=!1;[].keys&&("next"in(M=[].keys())?(A=w(w(M)))!==Object.prototype&&(z=A):B=!0),!S(z)||g(function(){var V={};return z[N].call(V)!==V})?z={}:F&&(z=C(z)),b(z[N])||R(z,N,function(){return this}),_.exports={IteratorPrototype:z,BUGGY_SAFARI_ITERATORS:B}},41949:_=>{_.exports={}},67005:(_,k,c)=>{var g=c(17675);_.exports=function(b){return g(b.length)}},68401:_=>{var k=Math.ceil,c=Math.floor;_.exports=Math.trunc||function(b){var S=+b;return(S>0?c:k)(S)}},18268:(_,k,c)=>{var V,W,q,J,te,ae,re,oe,g=c(92244),b=c(90869),S=c(70050).f,C=c(9263).set,w=c(53740),R=c(26315),L=c(98400),F=c(11044),N=g.MutationObserver||g.WebKitMutationObserver,B=g.document,z=g.process,A=g.Promise,M=S(g,"queueMicrotask"),O=M&&M.value;O||(V=function(){var se,le;for(F&&(se=z.domain)&&se.exit();W;){le=W.fn,W=W.next;try{le()}catch(Y){throw W?J():q=void 0,Y}}q=void 0,se&&se.enter()},w||F||L||!N||!B?!R&&A&&A.resolve?((re=A.resolve(void 0)).constructor=A,oe=b(re.then,re),J=function(){oe(V)}):F?J=function(){z.nextTick(V)}:(C=b(C,g),J=function(){C(V)}):(te=!0,ae=B.createTextNode(""),new N(V).observe(ae,{characterData:!0}
1),J=function(){ae.data=te=!te})),_.exports=O||function(se){var le={fn:se,next:void 0};q&&(q.next=le),W||(W=le,J()),q=le}},4228:(_,k,c)=>{"use strict";var g=c(74989),b=TypeError,S=function(C){var w,R;this.promise=new C(function(L,F){if(void 0!==w||void 0!==R)throw b("Bad Promise constructor");w=L,R=F}),this.resolve=g(w),this.reject=g(R)};_.exports.f=function(C){return new S(C)}},84463:(_,k,c)=>{var g=c(77645);_.exports=function(b,S){return void 0===b?arguments.length<2?"":S:g(b)}},59616:(_,k,c)=>{var g=c(63158),b=TypeError;_.exports=function(S){if(g(S))throw b("The method doesn't accept regular expressions");return S}},4205:(_,k,c)=>{"use strict";var g=c(2646),b=c(58316),S=c(40004),C=c(11111),w=c(10151),R=c(11331),L=c(98974),F=c(83226),N=c(55030),B=Object.assign,z=Object.defineProperty,A=b([].concat);_.exports=!B||C(function(){if(g&&1!==B({b:1},B(z({},"a",{enumerable:!0,get:function(){z(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var M={},O={},V=Symbol(),W="abcdefghijklmnopqrst";return M[V]=7,W.split("").forEach(function(q){O[q]=q}),7!=B({},M)[V]||w(B({},O)).join("")!=W})?function(O,V){for(var W=F(O),q=arguments.length,J=1,te=R.f,ae=L.f;q>J;)for(var Y,re=N(arguments[J++]),oe=te?A(w(re),te(re)):w(re),se=oe.length,le=0;se>le;)Y=oe[le++],(!g||S(ae,re,Y))&&(W[Y]=re[Y]);return W}:B},54021:(_,k,c)=>{var q,g=c(67057),b=c(92251),S=c(44762),C=c(7530),w=c(68396),R=c(11858),L=c(19948),B="prototype",z="script",A=L("IE_PROTO"),M=function(){},O=function(te){return"<"+z+">"+te+"</"+z+">"},V=function(te){te.write(O("")),te.close();var ae=te.parentWindow.Object;return te=null,ae},J=function(){try{q=new ActiveXObject("htmlfile")}catch{}J=typeof document<"u"?document.domain&&q?V(q):function(){var re,te=R("iframe");return te.style.display="none",w.appendChild(te),te.src=String("javascript:"),(re=te.contentWindow.document).open(),re.write(O("document.F=Object")),re.close(),re.F}():V(q);for(var te=S.length;te--;)delete J[B][S[te]];return J()};C[A]=!0,_.exports=Object.create||function(ae,re){var oe;return null!==ae?(M[B]=g(ae),oe=new M,M[B]=null,oe[A]=ae):oe=J(),void 0===re?oe:b.f(oe,re)}},92251:(_,k,c)=>{var g=c(2646),b=c(71011),S=c(82972),C=c(67057),w=c(77519),R=c(10151);k.f=g&&!b?Object.defineProperties:function(F,N){C(F);for(var O,B=w(N),z=R(N),A=z.length,M=0;A>M;)S.f(F,O=z[M++],B[O]);return F}},82972:(_,k,c)=>{var g=c(2646),b=c(62748),S=c(71011),C=c(67057),w=c(74479),R=TypeError,L=Object.defineProperty,F=Object.getOwnPropertyDescriptor,N="enumerable",B="configurable",z="writable";k.f=g?S?function(M,O,V){if(C(M),O=w(O),C(V),"function"==typeof M&&"prototype"===O&&"value"in V&&z in V&&!V[z]){var W=F(M,O);W&&W[z]&&(M[O]=V.value,V={configurable:B in V?V[B]:W[B],enumerable:N in V?V[N]:W[N],writable:!1})}return L(M,O,V)}:L:function(M,O,V){if(C(M),O=w(O),C(V),b)try{return L(M,O,V)}catch{}if("get"in V||"set"in V)throw R("Accessors not supported");return"value"in V&&(M[O]=V.value),M}},70050:(_,k,c)=>{var g=c(2646),b=c(40004),S=c(98974),C=c(8342),w=c(77519),R=c(74479),L=c(8277),F=c(62748),N=Object.getOwnPropertyDescriptor;k.f=g?N:function(z,A){if(z=w(z),A=R(A),F)try{return N(z,A)}catch{}if(L(z,A))return C(!b(S.f,z,A),z[A])}},27217:(_,k,c)=>{var g=c(37120),b=c(77519),S=c(31836).f,C=c(90381),w="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];_.exports.f=function(F){return w&&"Window"==g(F)?function(L){try{return S(L)}catch{return C(w)}}(F):S(b(F))}},31836:(_,k,c)=>{var g=c(35168),S=c(44762).concat("length","prototype");k.f=Object.getOwnPropertyNames||function(w){return g(w,S)}},11331:(_,k)=>{k.f=Object.getOwnPropertySymbols},1028:(_,k,c)=>{var g=c(8277),b=c(51594),S=c(83226),C=c(19948),w=c(40399),R=C("IE_PROTO"),L=Object,F=L.prototype;_.exports=w?L.getPrototypeOf:function(N){var B=S(N);if(g(B,R))return B[R];var z=B.constructor;return b(z)&&B instanceof z?z.prototype:B instanceof L?F:null}},4415:(_,k,c)=>{var g=c(11111),b=c(29642),S=c(37120),C=c(28438),w=Object.isExtensible,R=g(function(){w(1)});_.exports=R||C?function(F){return!(!b(F)||C&&"ArrayBuffer"==S(F))&&(!w||w(F))}:w},32807:(_,k,c)=>{var g=c(58316);_.exports=g({}.isPrototypeOf)},35168:(_,k,c)=>{var g=c(58316),b=c(8277),S=c(77519),C=c(96728).indexOf,w=c(7530),R=g([].push);_.exports=function(L,F){var A,N=S(L),B=0,z=[];for(A in N)!b(w,A)&&b(N,A)&&R(z,A);for(;F.length>B;)b(N,A=F[B++])&&(~C(z,A)||R(z,A));return z}},10151:(_,k,c)=>{var g=c(35168),b=c(44762);_.exports=Object.keys||function(C){return g(C,b)}},98974:(_,k)=>{"use strict";var c={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,b=g&&!c.call({1:2},1);k.f=b?function(C){var w=g(this,C);return!!w&&w.enumerable}:c},70990:(_,k,c)=>{var g=c(58316),b=c(67057),S=c(56940);
1_.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var R,C=!1,w={};try{(R=g(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(w,[]),C=w instanceof Array}catch{}return function(F,N){return b(F),S(N),C?R(F,N):F.__proto__=N,F}}():void 0)},80601:(_,k,c)=>{var g=c(2646),b=c(58316),S=c(10151),C=c(77519),R=b(c(98974).f),L=b([].push),F=function(N){return function(B){for(var W,z=C(B),A=S(z),M=A.length,O=0,V=[];M>O;)W=A[O++],(!g||R(z,W))&&L(V,N?[W,z[W]]:z[W]);return V}};_.exports={entries:F(!0),values:F(!1)}},49649:(_,k,c)=>{"use strict";var g=c(75991),b=c(18598);_.exports=g?{}.toString:function(){return"[object "+b(this)+"]"}},39025:(_,k,c)=>{var g=c(40004),b=c(51594),S=c(29642),C=TypeError;_.exports=function(w,R){var L,F;if("string"===R&&b(L=w.toString)&&!S(F=g(L,w))||b(L=w.valueOf)&&!S(F=g(L,w))||"string"!==R&&b(L=w.toString)&&!S(F=g(L,w)))return F;throw C("Can't convert object to primitive value")}},97291:(_,k,c)=>{var g=c(59939),b=c(58316),S=c(31836),C=c(11331),w=c(67057),R=b([].concat);_.exports=g("Reflect","ownKeys")||function(F){var N=S.f(w(F)),B=C.f;return B?R(N,B(F)):N}},33706:_=>{_.exports={}},68716:_=>{_.exports=function(k){try{return{error:!1,value:k()}}catch(c){return{error:!0,value:c}}}},35942:(_,k,c)=>{var g=c(92244),b=c(27474),S=c(51594),C=c(95294),w=c(38423),R=c(45312),L=c(4903),F=c(60779),N=c(290),B=c(55114),z=b&&b.prototype,A=R("species"),M=!1,O=S(g.PromiseRejectionEvent),V=C("Promise",function(){var W=w(b),q=W!==String(b);if(!q&&66===B||N&&(!z.catch||!z.finally))return!0;if(!B||B<51||!/native code/.test(W)){var J=new b(function(re){re(1)}),te=function(re){re(function(){},function(){})};if((J.constructor={})[A]=te,!(M=J.then(function(){})instanceof te))return!0}return!q&&(L||F)&&!O});_.exports={CONSTRUCTOR:V,REJECTION_EVENT:O,SUBCLASSING:M}},27474:(_,k,c)=>{var g=c(92244);_.exports=g.Promise},80182:(_,k,c)=>{var g=c(67057),b=c(29642),S=c(4228);_.exports=function(C,w){if(g(C),b(w)&&w.constructor===C)return w;var R=S.f(C);return(0,R.resolve)(w),R.promise}},39686:(_,k,c)=>{var g=c(27474),b=c(32024),S=c(35942).CONSTRUCTOR;_.exports=S||!b(function(C){g.all(C).then(void 0,function(){})})},73690:_=>{var k=function(){this.head=null,this.tail=null};k.prototype={add:function(c){var g={item:c,next:null};this.head?this.tail.next=g:this.head=g,this.tail=g},get:function(){var c=this.head;if(c)return this.head=c.next,this.tail===c&&(this.tail=null),c.item}},_.exports=k},56751:(_,k,c)=>{var g=c(99389),b=TypeError;_.exports=function(S){if(g(S))throw b("Can't call method on "+S);return S}},89455:(_,k,c)=>{var g=c(92244),b=c(50291),S=c(51594),C=c(73994),w=c(63341),R=c(19814),L=/MSIE .\./.test(C),F=g.Function,N=function(B){return L?function(z,A){var M=R(arguments.length,1)>2,O=S(z)?z:F(z),V=M?w(arguments,2):void 0;return B(M?function(){b(O,this,V)}:O,A)}:B};_.exports={setTimeout:N(g.setTimeout),setInterval:N(g.setInterval)}},449:(_,k,c)=>{"use strict";var g=c(59939),b=c(82972),S=c(45312),C=c(2646),w=S("species");_.exports=function(R){var L=g(R);C&&L&&!L[w]&&(0,b.f)(L,w,{configurable:!0,get:function(){return this}})}},32049:(_,k,c)=>{var g=c(75991),b=c(82972).f,S=c(3156),C=c(8277),w=c(49649),L=c(45312)("toStringTag");_.exports=function(F,N,B,z){if(F){var A=B?F:F.prototype;C(A,L)||b(A,L,{configurable:!0,value:N}),z&&!g&&S(A,"toString",w)}}},19948:(_,k,c)=>{var g=c(68790),b=c(72194),S=g("keys");_.exports=function(C){return S[C]||(S[C]=b(C))}},44606:(_,k,c)=>{var g=c(92244),b=c(58119),S="__core-js_shared__",C=g[S]||b(S,{});_.exports=C},68790:(_,k,c)=>{var g=c(290),b=c(44606);(_.exports=function(S,C){return b[S]||(b[S]=void 0!==C?C:{})})("versions",[]).push({version:"3.26.0",mode:g?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})},42547:(_,k,c)=>{var g=c(67057),b=c(44081),S=c(99389),w=c(45312)("species");_.exports=function(R,L){var N,F=g(R).constructor;return void 0===F||S(N=g(F)[w])?L:b(N)}},18284:(_,k,c)=>{var g=c(58316),b=c(99561),S=c(77645),C=c(56751),w=g("".charAt),R=g("".charCodeAt),L=g("".slice),F=function(N){return function(B,z){var V,W,A=S(C(B)),M=b(z),O=A.length;return M<0||M>=O?N?"":void 0:(V=R(A,M))<55296||V>56319||M+1===O||(W=R(A,M+1))<56320||W>57343?N?w(A,M):V:N?L(A,M,M+2):W-56320+(V-55296<<10)+65536}};_.exports={codeAt:F(!1),charAt:F(!0)}},15206:(_,k,c)=>{"use strict";var g=c(58316),b=2147483647,z=/[^\0-\u007E]/,A=/[.\u3002\uFF0E\uFF61]/g,M="Overflow: input needs wider integers to process",V=RangeError,W=g(A.exec),q=Math.floor,J=String.fromCharCode,te=g("".charCodeAt),ae=g([].join),re=g([].push),oe=g("".replace),se=g("".split),le=g("".toLowerCase),_e=function(st){return st+22+75*(st<26)},Qe=function(st,Ve,at){var vt=0;for(st=at?q(st/700):st>>1,st+=q(st/Ve);st>455;)st=q(st/35),vt+=36;
1return q(vt+36*st/(st+38))},We=function(st){var Ve=[];st=function(st){for(var Ve=[],at=0,vt=st.length;at<vt;){var Sn=te(st,at++);if(Sn>=55296&&Sn<=56319&&at<vt){var Ge=te(st,at++);56320==(64512&Ge)?re(Ve,((1023&Sn)<<10)+(1023&Ge)+65536):(re(Ve,Sn),at--)}else re(Ve,Sn)}return Ve}(st);var Wt,wt,at=st.length,vt=128,Sn=0,Ge=72;for(Wt=0;Wt<st.length;Wt++)(wt=st[Wt])<128&&re(Ve,J(wt));var ln=Ve.length,Yt=ln;for(ln&&re(Ve,"-");Yt<at;){var tn=b;for(Wt=0;Wt<st.length;Wt++)(wt=st[Wt])>=vt&&wt<tn&&(tn=wt);var Gt=Yt+1;if(tn-vt>q((b-Sn)/Gt))throw V(M);for(Sn+=(tn-vt)*Gt,vt=tn,Wt=0;Wt<st.length;Wt++){if((wt=st[Wt])<vt&&++Sn>b)throw V(M);if(wt==vt){for(var nt=Sn,jt=36;;){var kn=jt<=Ge?1:jt>=Ge+26?26:jt-Ge;if(nt<kn)break;var Bn=nt-kn,Jn=36-kn;re(Ve,J(_e(kn+Bn%Jn))),nt=q(Bn/Jn),jt+=36}re(Ve,J(_e(nt))),Ge=Qe(Sn,Gt,Yt==ln),Sn=0,Yt++}}Sn++,vt++}return ae(Ve,"")};_.exports=function(st){var vt,Sn,Ve=[],at=se(oe(le(st),A,"."),".");for(vt=0;vt<at.length;vt++)re(Ve,W(z,Sn=at[vt])?"xn--"+We(Sn):Sn);return ae(Ve,".")}},49915:(_,k,c)=>{"use strict";var g=c(99561),b=c(77645),S=c(56751),C=RangeError;_.exports=function(R){var L=b(S(this)),F="",N=g(R);if(N<0||N==1/0)throw C("Wrong number of repetitions");for(;N>0;(N>>>=1)&&(L+=L))1&N&&(F+=L);return F}},90552:(_,k,c)=>{var g=c(14706).PROPER,b=c(11111),S=c(17148);_.exports=function(w){return b(function(){return!!S[w]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[w]()||g&&S[w].name!==w})}},58187:(_,k,c)=>{var g=c(58316),b=c(56751),S=c(77645),C=c(17148),w=g("".replace),R="["+C+"]",L=RegExp("^"+R+R+"*"),F=RegExp(R+R+"*$"),N=function(B){return function(z){var A=S(b(z));return 1&B&&(A=w(A,L,"")),2&B&&(A=w(A,F,"")),A}};_.exports={start:N(1),end:N(2),trim:N(3)}},25357:(_,k,c)=>{var g=c(55114),b=c(11111);_.exports=!!Object.getOwnPropertySymbols&&!b(function(){var S=Symbol();return!String(S)||!(Object(S)instanceof Symbol)||!Symbol.sham&&g&&g<41})},50433:(_,k,c)=>{var g=c(40004),b=c(59939),S=c(45312),C=c(20404);_.exports=function(){var w=b("Symbol"),R=w&&w.prototype,L=R&&R.valueOf,F=S("toPrimitive");R&&!R[F]&&C(R,F,function(N){return g(L,this)},{arity:1})}},30098:(_,k,c)=>{var g=c(25357);_.exports=g&&!!Symbol.for&&!!Symbol.keyFor},9263:(_,k,c)=>{var se,le,Y,_e,g=c(92244),b=c(50291),S=c(90869),C=c(51594),w=c(8277),R=c(11111),L=c(68396),F=c(63341),N=c(11858),B=c(19814),z=c(53740),A=c(11044),M=g.setImmediate,O=g.clearImmediate,V=g.process,W=g.Dispatch,q=g.Function,J=g.MessageChannel,te=g.String,ae=0,re={},oe="onreadystatechange";try{se=g.location}catch{}var Qe=function(at){if(w(re,at)){var vt=re[at];delete re[at],vt()}},We=function(at){return function(){Qe(at)}},st=function(at){Qe(at.data)},Ve=function(at){g.postMessage(te(at),se.protocol+"//"+se.host)};(!M||!O)&&(M=function(vt){B(arguments.length,1);var Sn=C(vt)?vt:q(vt),Ge=F(arguments,1);return re[++ae]=function(){b(Sn,void 0,Ge)},le(ae),ae},O=function(vt){delete re[vt]},A?le=function(at){V.nextTick(We(at))}:W&&W.now?le=function(at){W.now(We(at))}:J&&!z?(_e=(Y=new J).port2,Y.port1.onmessage=st,le=S(_e.postMessage,_e)):g.addEventListener&&C(g.postMessage)&&!g.importScripts&&se&&"file:"!==se.protocol&&!R(Ve)?(le=Ve,g.addEventListener("message",st,!1)):le=oe in N("script")?function(at){L.appendChild(N("script"))[oe]=function(){L.removeChild(this),Qe(at)}}:function(at){setTimeout(We(at),0)}),_.exports={set:M,clear:O}},25881:(_,k,c)=>{var g=c(99561),b=Math.max,S=Math.min;_.exports=function(C,w){var R=g(C);return R<0?b(R+w,0):S(R,w)}},77519:(_,k,c)=>{var g=c(55030),b=c(56751);_.exports=function(S){return g(b(S))}},99561:(_,k,c)=>{var g=c(68401);_.exports=function(b){var S=+b;return S!=S||0===S?0:g(S)}},17675:(_,k,c)=>{var g=c(99561),b=Math.min;_.exports=function(S){return S>0?b(g(S),9007199254740991):0}},83226:(_,k,c)=>{var g=c(56751),b=Object;_.exports=function(S){return b(g(S))}},40074:(_,k,c)=>{var g=c(40004),b=c(29642),S=c(61284),C=c(68856),w=c(39025),R=c(45312),L=TypeError,F=R("toPrimitive");_.exports=function(N,B){if(!b(N)||S(N))return N;var A,z=C(N,F);if(z){if(void 0===B&&(B="default"),A=g(z,N,B),!b(A)||S(A))return A;throw L("Can't convert object to primitive value")}return void 0===B&&(B="number"),w(N,B)}},74479:(_,k,c)=>{var g=c(40074),b=c(61284);_.exports=function(S){var C=g(S,"string");return b(C)?C:C+""}},75991:(_,k,c)=>{var S={};S[c(45312)("toStringTag")]="z",_.exports="[object z]"===String(S)},77645:(_,k,c)=>{var g=c(18598),b=String;_.exports=function(S){if("Symbol"===g(S))throw TypeError("Cannot convert a Symbol value to a string");return b(S)}},66766:_=>{var k=String;_.exports=function(c){try{return k(c)}catch{return"Object"}}},72194:(_,k,c)=>{var g=c(58316),b=0,S=Math.random(),C=g(1..toString);_.exports=function(w){return"Symbol("+(void 0===w?"":w)+")_"+C(++b+S,36)}},84372:(_,k,c)=>{var g=c(11111),b=c(45312),S=c(290),C=b("iterator");_.exports=!g(function(){var w=new URL("b?a=1&b=2&c=3","http://a"),R=w.searchParams,L="";return w.pathname="c%20d",R.forEach(function(F,N){R.delete("b"),L+=N+F}),S&&!w.toJSON||!R.sort||"http://a/c%20d?a=1&c=3"!==w.href||"3"!==R.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!R[C]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==L||"x"!==new URL("http://x",void 0).host})},46885:(_,k,c)=>{var g=c(25357);_.exports=g&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},71011:(_,k,c)=>{var g=c(2646),b=c(11111);_.exports=g&&b(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},19814:_=>{var k=TypeError;_.exports=function(c,g){if(c<g)throw k("Not enough arguments");return c}},71421:(_,k,c)=>
1{var g=c(92244),b=c(51594),S=g.WeakMap;_.exports=b(S)&&/native code/.test(String(S))},59863:(_,k,c)=>{var g=c(33706),b=c(8277),S=c(52118),C=c(82972).f;_.exports=function(w){var R=g.Symbol||(g.Symbol={});b(R,w)||C(R,w,{value:S.f(w)})}},52118:(_,k,c)=>{var g=c(45312);k.f=g},45312:(_,k,c)=>{var g=c(92244),b=c(68790),S=c(8277),C=c(72194),w=c(25357),R=c(46885),L=b("wks"),F=g.Symbol,N=F&&F.for,B=R?F:F&&F.withoutSetter||C;_.exports=function(z){if(!S(L,z)||!w&&"string"!=typeof L[z]){var A="Symbol."+z;L[z]=w&&S(F,z)?F[z]:R&&N?N(A):B(A)}return L[z]}},17148:_=>{_.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},91592:(_,k,c)=>{"use strict";var g=c(79235),b=c(32807),S=c(1028),C=c(70990),w=c(98782),R=c(54021),L=c(3156),F=c(8342),N=c(43047),B=c(38079),z=c(70529),A=c(84463),M=c(45312),O=c(25725),V=M("toStringTag"),W=Error,q=[].push,J=function(re,oe){var Y,se=arguments.length>2?arguments[2]:void 0,le=b(te,this);C?Y=C(W(),le?S(this):te):(Y=le?this:R(te),L(Y,V,"Error")),void 0!==oe&&L(Y,"message",A(oe)),O&&L(Y,"stack",N(Y.stack,1)),B(Y,se);var _e=[];return z(re,q,{that:_e}),L(Y,"errors",_e),Y};C?C(J,W):w(J,W,{name:!0});var te=J.prototype=R(W.prototype,{constructor:F(1,J),message:F(1,""),name:F(1,"AggregateError")});g({global:!0,constructor:!0,arity:2},{AggregateError:J})},67704:(_,k,c)=>{c(91592)},98512:(_,k,c)=>{"use strict";var g=c(79235),b=c(11111),S=c(67902),C=c(29642),w=c(83226),R=c(67005),L=c(10797),F=c(19140),N=c(9310),B=c(89064),z=c(45312),A=c(55114),M=z("isConcatSpreadable"),O=A>=51||!b(function(){var J=[];return J[M]=!1,J.concat()[0]!==J}),V=B("concat"),W=function(J){if(!C(J))return!1;var te=J[M];return void 0!==te?!!te:S(J)};g({target:"Array",proto:!0,arity:1,forced:!O||!V},{concat:function(te){var se,le,Y,_e,Qe,ae=w(this),re=N(ae,0),oe=0;for(se=-1,Y=arguments.length;se<Y;se++)if(W(Qe=-1===se?ae:arguments[se]))for(_e=R(Qe),L(oe+_e),le=0;le<_e;le++,oe++)le in Qe&&F(re,oe,Qe[le]);else L(oe+1),F(re,oe++,Qe);return re.length=oe,re}})},48341:(_,k,c)=>{"use strict";var g=c(79235),b=c(21407).every;g({target:"Array",proto:!0,forced:!c(86234)("every")},{every:function(R){return b(this,R,arguments.length>1?arguments[1]:void 0)}})},47924:(_,k,c)=>{var g=c(79235),b=c(12374),S=c(30127);g({target:"Array",proto:!0},{fill:b}),S("fill")},1051:(_,k,c)=>{"use strict";var g=c(79235),b=c(21407).filter;g({target:"Array",proto:!0,forced:!c(89064)("filter")},{filter:function(R){return b(this,R,arguments.length>1?arguments[1]:void 0)}})},36770:(_,k,c)=>{"use strict";var g=c(79235),b=c(21407).findIndex,S=c(30127),C="findIndex",w=!0;C in[]&&Array(1)[C](function(){w=!1}),g({target:"Array",proto:!0,forced:w},{findIndex:function(L){return b(this,L,arguments.length>1?arguments[1]:void 0)}}),S(C)},12183:(_,k,c)=>{"use strict";var g=c(79235),b=c(21407).find,S=c(30127),C="find",w=!0;C in[]&&Array(1)[C](function(){w=!1}),g({target:"Array",proto:!0,forced:w},{find:function(L){return b(this,L,arguments.length>1?arguments[1]:void 0)}}),S(C)},19058:(_,k,c)=>{"use strict";var g=c(79235),b=c(61368);g({target:"Array",proto:!0,forced:[].forEach!=b},{forEach:b})},50945:(_,k,c)=>{var g=c(79235),b=c(48774);g({target:"Array",stat:!0,forced:!c(32024)(function(w){Array.from(w)})},{from:b})},98155:(_,k,c)=>{"use strict";var g=c(79235),b=c(96728).includes,S=c(11111),C=c(30127);g({target:"Array",proto:!0,forced:S(function(){return!Array(1).includes()})},{includes:function(L){return b(this,L,arguments.length>1?arguments[1]:void 0)}}),C("includes")},91316:(_,k,c)=>{"use strict";var g=c(79235),b=c(58316),S=c(96728).indexOf,C=c(86234),w=b([].indexOf),R=!!w&&1/w([1],1,-0)<0,L=C("indexOf");g({target:"Array",proto:!0,forced:R||!L},{indexOf:function(N){var B=arguments.length>1?arguments[1]:void 0;return R?w(this,N,B)||0:S(this,N,B)}})},8095:(_,k,c)=>{c(79235)({target:"Array",stat:!0},{isArray:c(67902)})},22929:(_,k,c)=>{"use strict";var g=c(77519),b=c(30127),S=c(41949),C=c(74818),w=c(82972).f,R=c(99195),L=c(70522),F=c(290),N=c(2646),B="Array Iterator",z=C.set,A=C.getterFor(B);_.exports=R(Array,"Array",function(O,V){z(this,{type:B,target:g(O),index:0,kind:V})},function(){var O=A(this),V=O.target,W=O.kind,q=O.index++;return!V||q>=V.length?(O.target=void 0,L(void 0,!0)):L("keys"==W?q:"values"==W?V[q]:[q,V[q]],!1)},"values");var M=S.Arguments=S.Array;
1if(b("keys"),b("values"),b("entries"),!F&&N&&"values"!==M.name)try{w(M,"name",{value:"values"})}catch{}},56534:(_,k,c)=>{var g=c(79235),b=c(37596);g({target:"Array",proto:!0,forced:b!==[].lastIndexOf},{lastIndexOf:b})},86173:(_,k,c)=>{"use strict";var g=c(79235),b=c(21407).map;g({target:"Array",proto:!0,forced:!c(89064)("map")},{map:function(R){return b(this,R,arguments.length>1?arguments[1]:void 0)}})},45982:(_,k,c)=>{"use strict";var g=c(79235),b=c(91386).left,S=c(86234),C=c(55114),w=c(11044);g({target:"Array",proto:!0,forced:!S("reduce")||!w&&C>79&&C<83},{reduce:function(N){var B=arguments.length;return b(this,N,B,B>1?arguments[1]:void 0)}})},46296:(_,k,c)=>{"use strict";var g=c(79235),b=c(58316),S=c(67902),C=b([].reverse),w=[1,2];g({target:"Array",proto:!0,forced:String(w)===String(w.reverse())},{reverse:function(){return S(this)&&(this.length=this.length),C(this)}})},79492:(_,k,c)=>{"use strict";var g=c(79235),b=c(67902),S=c(92512),C=c(29642),w=c(25881),R=c(67005),L=c(77519),F=c(19140),N=c(45312),B=c(89064),z=c(63341),A=B("slice"),M=N("species"),O=Array,V=Math.max;g({target:"Array",proto:!0,forced:!A},{slice:function(q,J){var se,le,Y,te=L(this),ae=R(te),re=w(q,ae),oe=w(void 0===J?ae:J,ae);if(b(te)&&((S(se=te.constructor)&&(se===O||b(se.prototype))||C(se)&&null===(se=se[M]))&&(se=void 0),se===O||void 0===se))return z(te,re,oe);for(le=new(void 0===se?O:se)(V(oe-re,0)),Y=0;re<oe;re++,Y++)re in te&&F(le,Y,te[re]);return le.length=Y,le}})},3750:(_,k,c)=>{"use strict";var g=c(79235),b=c(21407).some;g({target:"Array",proto:!0,forced:!c(86234)("some")},{some:function(R){return b(this,R,arguments.length>1?arguments[1]:void 0)}})},3946:(_,k,c)=>{"use strict";var g=c(79235),b=c(58316),S=c(74989),C=c(83226),w=c(67005),R=c(32348),L=c(77645),F=c(11111),N=c(4590),B=c(86234),z=c(53001),A=c(19057),M=c(55114),O=c(31312),V=[],W=b(V.sort),q=b(V.push),J=F(function(){V.sort(void 0)}),te=F(function(){V.sort(null)}),ae=B("sort"),re=!F(function(){if(M)return M<70;if(!(z&&z>3)){if(A)return!0;if(O)return O<603;var Y,_e,Qe,We,le="";for(Y=65;Y<76;
vendor: 12,715 bytes, line 1
1Y++){switch(_e=String.fromCharCode(Y),Y){case 66:case 69:case 70:case 72:Qe=3;break;case 68:case 71:Qe=4;break;default:Qe=2}for(We=0;We<47;We++)V.push({k:_e+We,v:Qe})}for(V.sort(function(st,Ve){return Ve.v-st.v}),We=0;We<V.length;We++)_e=V[We].k.charAt(0),le.charAt(le.length-1)!==_e&&(le+=_e);return"DGBEFHACIJK"!==le}});g({target:"Array",proto:!0,forced:J||!te||!ae||!re},{sort:function(Y){void 0!==Y&&S(Y);var _e=C(this);if(re)return void 0===Y?W(_e):W(_e,Y);var st,Ve,Qe=[],We=w(_e);for(Ve=0;Ve<We;Ve++)Ve in _e&&q(Qe,_e[Ve]);for(N(Qe,function(le){return function(Y,_e){return void 0===_e?-1:void 0===Y?1:void 0!==le?+le(Y,_e)||0:L(Y)>L(_e)?1:-1}}(Y)),st=w(Qe),Ve=0;Ve<st;)_e[Ve]=Qe[Ve++];for(;Ve<We;)R(_e,Ve++);return _e}})},78605:(_,k,c)=>{"use strict";var g=c(79235),b=c(83226),S=c(25881),C=c(99561),w=c(67005),R=c(54892),L=c(10797),F=c(9310),N=c(19140),B=c(32348),A=c(89064)("splice"),M=Math.max,O=Math.min;g({target:"Array",proto:!0,forced:!A},{splice:function(W,q){var oe,se,le,Y,_e,Qe,J=b(this),te=w(J),ae=S(W,te),re=arguments.length;for(0===re?oe=se=0:1===re?(oe=0,se=te-ae):(oe=re-2,se=O(M(C(q),0),te-ae)),L(te+oe-se),le=F(J,se),Y=0;Y<se;Y++)(_e=ae+Y)in J&&N(le,Y,J[_e]);if(le.length=se,oe<se){for(Y=ae;Y<te-se;Y++)Qe=Y+oe,(_e=Y+se)in J?J[Qe]=J[_e]:B(J,Qe);for(Y=te;Y>te-se+oe;Y--)B(J,Y-1)}else if(oe>se)for(Y=te-se;Y>ae;Y--)Qe=Y+oe-1,(_e=Y+se-1)in J?J[Qe]=J[_e]:B(J,Qe);for(Y=0;Y<oe;Y++)J[Y+ae]=arguments[Y+2];return R(J,te-se+oe),le}})},76790:(_,k,c)=>{var g=c(79235),b=c(58316),S=Date,C=b(S.prototype.getTime);g({target:"Date",stat:!0},{now:function(){return C(new S)}})},51714:(_,k,c)=>{var g=c(79235),b=c(11052);g({target:"Function",proto:!0,forced:Function.bind!==b},{bind:b})},2914:(_,k,c)=>{var g=c(79235),b=c(92244);g({global:!0,forced:b.globalThis!==b},{globalThis:b})},48115:(_,k,c)=>{var g=c(79235),b=c(59939),S=c(50291),C=c(40004),w=c(58316),R=c(11111),L=c(67902),F=c(51594),N=c(29642),B=c(61284),z=c(63341),A=c(25357),M=b("JSON","stringify"),O=w(/./.exec),V=w("".charAt),W=w("".charCodeAt),q=w("".replace),J=w(1..toString),te=/[\uD800-\uDFFF]/g,ae=/^[\uD800-\uDBFF]$/,re=/^[\uDC00-\uDFFF]$/,oe=!A||R(function(){var _e=b("Symbol")();return"[null]"!=M([_e])||"{}"!=M({a:_e})||"{}"!=M(Object(_e))}),se=R(function(){return'"\\udf06\\ud834"'!==M("\udf06\ud834")||'"\\udead"'!==M("\udead")}),le=function(_e,Qe){var We=z(arguments),st=Qe;if((N(Qe)||void 0!==_e)&&!B(_e))return L(Qe)||(Qe=function(Ve,at){if(F(st)&&(at=C(st,this,Ve,at)),!B(at))return at}),We[1]=Qe,S(M,null,We)},Y=function(_e,Qe,We){var st=V(We,Qe-1),Ve=V(We,Qe+1);return O(ae,_e)&&!O(re,Ve)||O(re,_e)&&!O(ae,st)?"\\u"+J(W(_e,0),16):_e};M&&g({target:"JSON",stat:!0,arity:3,forced:oe||se},{stringify:function(Qe,We,st){var Ve=z(arguments),at=S(oe?le:M,null,Ve);return se&&"string"==typeof at?q(at,te,Y):at}})},46773:(_,k,c)=>{var g=c(92244);c(32049)(g.JSON,"JSON",!0)},64879:(_,k,c)=>{"use strict";c(4236)("Map",function(S){return function(){return S(this,arguments.length?arguments[0]:void 0)}},c(43489))},94738:(_,k,c)=>{c(64879)},67153:()=>{},81118:(_,k,c)=>{var g=c(79235),b=c(4205);g({target:"Object",stat:!0,arity:2,forced:Object.assign!==b},{assign:b})},96848:(_,k,c)=>{c(79235)({target:"Object",stat:!0,sham:!c(2646)},{create:c(54021)})},42642:(_,k,c)=>{var g=c(79235),b=c(2646),S=c(92251).f;g({target:"Object",stat:!0,forced:Object.defineProperties!==S,sham:!b},{defineProperties:S})},72361:(_,k,c)=>{var g=c(79235),b=c(2646),S=c(82972).f;g({target:"Object",stat:!0,forced:Object.defineProperty!==S,sham:!b},{defineProperty:S})},37791:(_,k,c)=>{var g=c(79235),b=c(80601).entries;g({target:"Object",stat:!0},{entries:function(C){return b(C)}})},29415:(_,k,c)=>{var g=c(79235),b=c(11111),S=c(77519),C=c(70050).f,w=c(2646),R=b(function(){C(1)});g({target:"Object",stat:!0,forced:!w||R,sham:!w},{getOwnPropertyDescriptor:function(N,B){return C(S(N),B)}})},34831:(_,k,c)=>{var g=c(79235),b=c(2646),S=c(97291),C=c(77519),w=c(70050),R=c(19140);g({target:"Object",stat:!0,sham:!b},{getOwnPropertyDescriptors:function(F){for(var O,V,N=C(F),B=w.f,z=S(N),A={},M=0;z.length>M;)void 0!==(V=B(N,O=z[M++]))&&R(A,O,V);return A}})},28257:(_,k,c)=>{var g=c(79235),b=c(25357),S=c(11111),C=c(11331),w=c(83226);g({target:"Object",stat:!0,forced:!b||S(function(){C.f(1)})},{getOwnPropertySymbols:function(F){var N=C.f;return N?N(w(F)):[]}})},44509:(_,k,c)=>{var g=c(79235),b=c(11111),S=c(83226),C=c(1028),w=c(40399);g({target:"Object",stat:!0,forced:b(function(){C(1)}),sham:!w},{getPrototypeOf:function(F){return C(S(F))}})},57963:(_,k,c)=>{var g=c(79235),b=c(83226),S=c(10151);g({target:"Object",stat:!0,forced:c(11111)(function(){S(1)})},{keys:function(L){return S(b(L))}})},93750:(_,k,c)=>{c(79235)({target:"Object",stat:!0},{setPrototypeOf:c(70990)})},16016:()=>{},14855:(_,k,c)=>{var g=c(79235),b=c(80601).values;g({target:"Object",stat:!0},{values:function(C){return b(C)}})},17028:(_,k,c)=>{"use strict";var g=c(79235),b=c(40004),S=c(74989),C=c(4228),w=c(68716),R=c(70529);g({target:"Promise",stat:!0},{allSettled:function(F){var N=this,B=C.f(N),z=B.resolve,A=B.reject,M=w(function(){var O=S(N.resolve),V=[],W=0,q=1;R(F,function(J){var te=W++,ae=!1;q++,b(O,N,J).then(function(re){ae||(ae=!0,V[te]={status:"fulfilled",value:re},--q||z(V))},function(re){ae||(ae=!0,V[te]={status:"rejected",reason:re},--q||z(V))})}),--q||z(V)});return M.error&&A(M.value),B.promise}})},75282:(_,k,c)=>{"use strict";var g=c(79235),b=c(40004),S=c(74989),C=c(4228),w=c(68716),R=c(70529);g({target:"Promise",stat:!0,forced:c(39686)},{all:function(N){var B=this,z=C.f(B),A=z.resolve,M=z.reject,O=w(function(){var V=S(B.resolve),W=[],q=0,J=1;R(N,function(te){var ae=q++,re=!1;J++,b(V,B,te).then(function(oe){re||(re=!0,W[ae]=oe,--J||A(W))},M)}),--J||A(W)});return O.error&&M(O.value),z.promise}})},44055:(_,k,c)=>{"use strict";var g=c(79235),b=c(40004),S=c(74989),C=c(59939),w=c(4228),R=c(68716),L=c(70529),F="No one promise resolved";g({target:"Promise",stat:!0},{any:function(B){var z=this,A=C("AggregateError"),M=w.f(z),O=M.resolve,V=M.reject,W=R(function(){var q=S(z.resolve),J=[],te=0,ae=1,re=!1;L(B,function(oe){var se=te++,le=!1;ae++,b(q,z,oe).then(function(Y){le||re||(re=!0,O(Y))},function(Y){le||re||(le=!0,J[se]=Y,--ae||V(new A(J,F)))})}),--ae||V(new A(J,F))});return W.error&&V(W.value),M.promise}})},10552:(_,k,c)=>{"use strict";var g=c(79235),b=c(290),S=c(35942).CONSTRUCTOR,C=c(27474),w=c(59939),R=c(51594),L=c(20404),F=C&&C.prototype;if(g({target:"Promise",proto:!0,forced:S,real:!0},{catch:function(B){return this.then(void 0,B)}}),!b&&R(C)){var N=w("Promise").prototype.catch;F.catch!==N&&L(F,"catch",N,{unsafe:!0})}},70395:(_,k,c)=>{"use strict";var Pr,qn,ni,g=c(79235),b=c(290),S=c(11044),C=c(92244),w=c(40004),R=c(20404),L=c(70990),F=c(32049),N=c(449),B=c(74989),z=c(51594),A=c(29642),M=c(93450),O=c(42547),V=c(9263).set,W=c(18268),q=c(14291),J=c(68716),te=c(73690),ae=c(74818),re=c(27474),oe=c(35942),se=c(4228),le="Promise",Y=oe.CONSTRUCTOR,_e=oe.REJECTION_EVENT,Qe=oe.SUBCLASSING,We=ae.getterFor(le),st=ae.set,Ve=re&&re.prototype,at=re,vt=Ve,Sn=C.TypeError,Ge=C.document,Wt=C.process,wt=se.f,ln=wt,Yt=!!(Ge&&Ge.createEvent&&C.dispatchEvent),tn="unhandledrejection",oi=function(vn){var X;return!(!A(vn)||!z(X=vn.then))&&X},Gi=function(vn,X){var $t,Ht,rt,Nt=X.value,on=1==X.state,An=on?vn.ok:vn.fail,bn=vn.resolve,Fn=vn.reject,Oe=vn.domain;try{An?(on||(2===X.rejection&&xt(X),X.rejection=1),!0===An?$t=Nt:(Oe&&Oe.enter(),$t=An(Nt),Oe&&(Oe.exit(),rt=!0)),$t===vn.promise?Fn(Sn("Promise-chain cycle")):(Ht=oi($t))?w(Ht,$t,bn,Fn):bn($t)):Fn(Nt)}catch(ht){Oe&&!rt&&Oe.exit(),Fn(ht)}},Hr=function(vn,X){vn.notified||(vn.notified=!0,W(function(){for(var on,Nt=vn.reactions;on=Nt.get();)Gi(on,vn);vn.notified=!1,X&&!vn.rejection&&pe(vn)}))},ft=function(vn,X,Nt){var on,An;Yt?((on=Ge.createEvent("Event")).promise=X,on.reason=Nt,on.initEvent(vn,!1,!0),C.dispatchEvent(on)):on={promise:X,reason:Nt},!_e&&(An=C["on"+vn])?An(on):vn===tn&&q("Unhandled promise rejection",Nt)},pe=function(vn){w(V,C,function(){var An,X=vn.facade,Nt=vn.value;if(be(vn)&&(An=J(function(){S?Wt.emit("unhandledRejection",Nt,X):ft(tn,X,Nt)}),vn.rejection=S||be(vn)?2:1,An.error))throw An.value})},be=function(vn){return 1!==vn.rejection&&!vn.parent},xt=function(vn){w(V,C,function(){var X=vn.facade;S?Wt.emit("rejectionHandled",X):ft("rejectionhandled",X,vn.value)})},Kt=function(vn,X,Nt){return function(on){vn(X,on,Nt)}},Xt=function(vn,X,Nt){vn.done||(vn.done=!0,Nt&&(vn=Nt),vn.value=X,vn.state=2,Hr(vn,!0))},cn=function(vn,X,Nt){if(!vn.done){vn.done=!0,Nt&&(vn=Nt);try{if(vn.facade===X)throw Sn("Promise can't be resolved itself");var on=oi(X);on?W(function(){var An={done:!1};try{w(on,X,Kt(cn,An,vn),Kt(Xt,An,vn))}catch(bn){Xt(An,bn,vn)}}):(vn.value=X,vn.state=1,Hr(vn,!1))}catch(An){Xt({done:!1},An,vn)}}};if(Y&&(at=function(X){M(this,vt),B(X),w(Pr,this);var Nt=We(this);try{X(Kt(cn,Nt),Kt(Xt,Nt))}catch(on){Xt(Nt,on)}},(Pr=function(X){st(this,{type:le,done:!1,notified:!1,parent:!1,reactions:new te,rejection:!1,state:0,value:void 0})}).prototype=R(vt=at.prototype,"then",function(X,Nt){var on=We(this),An=wt(O(this,at));return on.parent=!0,An.ok=!z(X)||X,An.fail=z(Nt)&&Nt,An.domain=S?Wt.domain:void 0,0==on.state?on.reactions.add(An):W(function(){Gi(An,on)}),An.promise}),qn=function(){var vn=new Pr,X=We(vn);this.promise=vn,this.resolve=Kt(cn,X),this.reject=Kt(Xt,X)},se.f=wt=function(vn){return vn===at||void 0===vn?new qn(vn):ln(vn)},!b&&z(re)&&Ve!==Object.prototype)){ni=Ve.then,Qe||R(Ve,"then",function(X,Nt){var on=this;return new at(function(An,bn){w(ni,on,An,bn)}).then(X,Nt)},{unsafe:!0});try{delete Ve.constructor}catch{}L&&L(Ve,vt)}g({global:!0,constructor:!0,wrap:!0,forced:Y},{Promise:at}),F(at,le,!1,!0),N(le)},66881:(_,k,c)=>{"use strict";var g=c(79235),b=c(290),S=c(27474),C=c(11111),w=c(59939),R=c(51594),L=c(42547),F=c(80182),N=c(20404),B=S&&S.prototype;if(g({target:"Promise",proto:!0,real:!0,forced:!!S&&C(function(){B.finally.call({then:function(){}},function(){})})},{finally:function(M){var O=L(this,w("Promise")),V=R(M);return this.then(V?function(W){return F(O,M()).then(function(){return W})}:M,V?function(W){return F(O,M()).then(function(){throw W})}:M)}}),!b&&R(S)){var A=w("Promise").prototype.finally;B.finally!==A&&N(B,"finally",A,{unsafe:!0})}},8708:(_,k,c)=>{c(70395),c(75282),c(10552),c(88654),c(36830),c(91397)},88654:(_,k,c)=>{"use strict";var g=c(79235),b=c(40004),S=c(74989),C=c(4228),w=c(68716),R=c(70529);g({target:"Promise",stat:!0,forced:c(39686)},{race:function(N){var B=this,z=C.f(B),A=z.reject,M=w(function(){var O=S(B.resolve);R(N,function(V){b(O,B,V).then(z.resolve,A)})});return M.error&&A(M.value),z.promise}})},36830:(_,k,c)=>{"use strict";var g=c(79235),b=c(40004),S=c(4228);g({target:"Promise",stat:!0,forced:c(35942).CONSTRUCTOR},{reject:function(R){var L=S.f(this);return b(L.reject,void 0,R),L.promise}})},91397:(_,k,c)=>{"use strict";var g=c(79235),b=c(59939),S=c(290),C=c(27474),w=c(35942).CONSTRUCTOR,R=c(80182),L=b("Promise"),F=S&&!w;g({target:"Promise",stat:!0,forced:S||w},{resolve:function(B){return R(F&&this===L?C:this,B)}})},16645:()=>{},4206:(_,k,c)=>{"use strict";var g=c(79235),b=c(58316),S=c(59616),C=c(56751),w=c(77645),R=c(93770),L=b("".indexOf);g({target:"String",proto:!0,forced:!R("includes")},{includes:function(N){return!!~L(w(C(this)),w(S(N)),arguments.length>1?arguments[1]:void 0)}})},2240:(_,k,c)=>{"use strict";var g=c(18284).charAt,b=c(77645),S=c(74818),C=c(99195),w=c(70522),R="String Iterator",L=S.set,F=S.getterFor(R);C(String,"String",function(N){L(this,{type:R,string:b(N),index:0})},function(){var M,B=F(this),z=B.string,A=B.index;return A>=z.length?w(void 0,!0):(M=g(z,A),B.index+=M.length,w(M,!1))})},88227:(_,k,c)=>{c(79235)({target:"String",proto:!0},{repeat:c(49915)})},38736:(_,k,c)=>{"use strict";var V,g=c(79235),b=c(58316),S=c(70050).f,C=c(17675),w=c(77645),R=c(59616),L=c(56751),F=c(93770),N=c(290),B=b("".startsWith),z=b("".slice),A=Math.min,M=F("startsWith");g({target:"String",proto:!0,forced:!(!N&&!M&&(V=S(String.prototype,"startsWith"),V&&!V.writable)||M)},{startsWith:function(W){var q=w(L(this));R(W);var J=C(A(arguments.length>1?arguments[1]:void 0,q.length)),te=w(W);return B?B(q,te,J):z(q,J,J+te.length)===te}})},92342:(_,k,c)=>{"use strict";var g=c(79235),b=c(58187).trim;g({target:"String",proto:!0,forced:c(90552)("trim")},{trim:function(){return b(this)}})},62200:(_,k,c)=>{c(59863)("asyncIterator")},13487:(_,k,c)=>{"use strict";var g=c(79235),b=c(92244),S=c(40004),C=c(58316),w=c(290),R=c(2646),L=c(25357),F=c(11111),N=c(8277),B=c(32807),z=c(67057),A=c(77519),M=c(74479),O=c(77645),V=c(8342),W=c(54021),q=c(10151),J=c(31836),te=c(27217),ae=c(11331),re=c(70050),oe=c(82972),se=c(92251),le=c(98974),Y=c(20404),_e=c(68790),Qe=c(19948),We=c(7530),st=c(72
1194),Ve=c(45312),at=c(52118),vt=c(59863),Sn=c(50433),Ge=c(32049),Wt=c(74818),wt=c(21407).forEach,ln=Qe("hidden"),Yt="Symbol",tn="prototype",Gt=Wt.set,nt=Wt.getterFor(Yt),jt=Object[tn],kn=b.Symbol,Bn=kn&&kn[tn],Jn=b.TypeError,Pr=b.QObject,qn=re.f,Dr=oe.f,ni=te.f,oi=le.f,Gi=C([].push),Hr=_e("symbols"),ft=_e("op-symbols"),pe=_e("wks"),be=!Pr||!Pr[tn]||!Pr[tn].findChild,xt=R&&F(function(){return 7!=W(Dr({},"a",{get:function(){return Dr(this,"a",{value:7}).a}})).a})?function(bn,Fn,Oe){var $t=qn(jt,Fn);$t&&delete jt[Fn],Dr(bn,Fn,Oe),$t&&bn!==jt&&Dr(jt,Fn,$t)}:Dr,Kt=function(bn,Fn){var Oe=Hr[bn]=W(Bn);return Gt(Oe,{type:Yt,tag:bn,description:Fn}),R||(Oe.description=Fn),Oe},Xt=function(Fn,Oe,$t){Fn===jt&&Xt(ft,Oe,$t),z(Fn);var Ht=M(Oe);return z($t),N(Hr,Ht)?($t.enumerable?(N(Fn,ln)&&Fn[ln][Ht]&&(Fn[ln][Ht]=!1),$t=W($t,{enumerable:V(0,!1)})):(N(Fn,ln)||Dr(Fn,ln,V(1,{})),Fn[ln][Ht]=!0),xt(Fn,Ht,$t)):Dr(Fn,Ht,$t)},cn=function(Fn,Oe){z(Fn);var $t=A(Oe),Ht=q($t).concat(An($t));return wt(Ht,function(rt){(!R||S(X,$t,rt))&&Xt(Fn,rt,$t[rt])}),Fn},X=function(Fn){var Oe=M(Fn),$t=S(oi,this,Oe);return!(this===jt&&N(Hr,Oe)&&!N(ft,Oe))&&(!($t||!N(this,Oe)||!N(Hr,Oe)||N(this,ln)&&this[ln][Oe])||$t)},Nt=function(Fn,Oe){var $t=A(Fn),Ht=M(Oe);if($t!==jt||!N(Hr,Ht)||N(ft,Ht)){var rt=qn($t,Ht);return rt&&N(Hr,Ht)&&!(N($t,ln)&&$t[ln][Ht])&&(rt.enumerable=!0),rt}},on=function(Fn){var Oe=ni(A(Fn)),$t=[];return wt(Oe,function(Ht){!N(Hr,Ht)&&!N(We,Ht)&&Gi($t,Ht)}),$t},An=function(bn){var Fn=bn===jt,Oe=ni(Fn?ft:A(bn)),$t=[];return wt(Oe,function(Ht){N(Hr,Ht)&&(!Fn||N(jt,Ht))&&Gi($t,Hr[Ht])}),$t};L||(Y(Bn=(kn=function(){if(B(Bn,this))throw Jn("Symbol is not a constructor");var Fn=arguments.length&&void 0!==arguments[0]?O(arguments[0]):void 0,Oe=st(Fn),$t=function(Ht){this===jt&&S($t,ft,Ht),N(this,ln)&&N(this[ln],Oe)&&(this[ln][Oe]=!1),xt(this,Oe,V(1,Ht))};return R&&be&&xt(jt,Oe,{configurable:!0,set:$t}),Kt(Oe,Fn)})[tn],"toString",function(){return nt(this).tag}),Y(kn,"withoutSetter",function(bn){return Kt(st(bn),bn)}),le.f=X,oe.f=Xt,se.f=cn,re.f=Nt,J.f=te.f=on,ae.f=An,at.f=function(bn){return Kt(Ve(bn),bn)},R&&(Dr(Bn,"description",{configurable:!0,get:function(){return nt(this).description}}),w||Y(jt,"propertyIsEnumerable",X,{unsafe:!0}))),g({global:!0,constructor:!0,wrap:!0,forced:!L,sham:!L},{Symbol:kn}),wt(q(pe),function(bn){vt(bn)}),g({target:Yt,stat:!0,forced:!L},{useSetter:function(){be=!0},useSimple:function(){be=!1}}),g({target:"Object",stat:!0,forced:!L,sham:!R},{create:function(Fn,Oe){return void 0===Oe?W(Fn):cn(W(Fn),Oe)},defineProperty:Xt,defineProperties:cn,getOwnPropertyDescriptor:Nt}),g({target:"Object",stat:!0,forced:!L},{getOwnPropertyNames:on}),Sn(),Ge(kn,Yt),We[ln]=!0},40765:()=>{},14355:(_,k,c)=>{var g=c(79235),b=c(59939),S=c(8277),C=c(77645),w=c(68790),R=c(30098),L=w("string-to-symbol-registry"),F=w("symbol-to-string-registry");g({target:"Symbol",stat:!0,forced:!R},{for:function(N){var B=C(N);if(S(L,B))return L[B];var z=b("Symbol")(B);return L[B]=z,F[z]=B,z}})},12605:(_,k,c)=>{c(59863)("hasInstance")},16035:(_,k,c)=>{c(59863)("isConcatSpreadable")},31320:(_,k,c)=>{c(59863)("iterator")},34987:(_,k,c)=>{c(13487),c(14355),c(68092),c(48115),c(28257)},68092:(_,k,c)=>{var g=c(79235),b=c(8277),S=c(61284),C=c(66766),w=c(68790),R=c(30098),L=w("symbol-to-string-registry");g({target:"Symbol",stat:!0,forced:!R},{keyFor:function(N){if(!S(N))throw TypeError(C(N)+" is not a symbol");if(b(L,N))return L[N]}})},73714:(_,k,c)=>{c(59863)("matchAll")},55128:(_,k,c)=>{c(59863)("match")},3906:(_,k,c)=>{c(59863)("replace")},39471:(_,k,c)=>{c(59863)("search")},18301:(_,k,c)=>{c(59863)("species")},45955:(_,k,c)=>{c(59863)("split")},11609:(_,k,c)=>{var g=c(59863),b=c(50433);g("toPrimitive"),b()},69958:(_,k,c)=>{var g=c(59939),b=c(59863),S=c(32049);b("toStringTag"),S(g("Symbol"),"Symbol")},23726:(_,k,c)=>{c(59863)("unscopables")},71712:(_,k,c)=>{"use strict";var A,g=c(92244),b=c(58316),S=c(50077),C=c(41770),w=c(4236),R=c(15474),L=c(29642),F=c(4415),N=c(74818).enforce,B=c(71421),z=!g.ActiveXObject&&"ActiveXObject"in g,M=function(ae){return function(){return ae(this,arguments.length?arguments[0]:void 0)}}
1,O=w("WeakMap",M,R);if(B&&z){A=R.getConstructor(M,"WeakMap",!0),C.enable();var V=O.prototype,W=b(V.delete),q=b(V.has),J=b(V.get),te=b(V.set);S(V,{delete:function(ae){if(L(ae)&&!F(ae)){var re=N(this);return re.frozen||(re.frozen=new A),W(this,ae)||re.frozen.delete(ae)}return W(this,ae)},has:function(re){if(L(re)&&!F(re)){var oe=N(this);return oe.frozen||(oe.frozen=new A),q(this,re)||oe.frozen.has(re)}return q(this,re)},get:function(re){if(L(re)&&!F(re)){var oe=N(this);return oe.frozen||(oe.frozen=new A),q(this,re)?J(this,re):oe.frozen.get(re)}return J(this,re)},set:function(re,oe){if(L(re)&&!F(re)){var se=N(this);se.frozen||(se.frozen=new A),q(this,re)?te(this,re,oe):se.frozen.set(re,oe)}else te(this,re,oe);return this}})}},55922:(_,k,c)=>{c(71712)},29224:(_,k,c)=>{c(67704)},37616:(_,k,c)=>{c(2914)},13742:(_,k,c)=>{c(17028)},96910:(_,k,c)=>{c(44055)},3242:(_,k,c)=>{"use strict";var g=c(79235),b=c(4228),S=c(68716);g({target:"Promise",stat:!0,forced:!0},{try:function(C){var w=b.f(this),R=S(C);return(R.error?w.reject:w.resolve)(R.value),w.promise}})},44197:(_,k,c)=>{c(59863)("asyncDispose")},99797:(_,k,c)=>{c(59863)("dispose")},11262:(_,k,c)=>{c(59863)("matcher")},55826:(_,k,c)=>{c(59863)("metadataKey")},75626:(_,k,c)=>{c(59863)("metadata")},27657:(_,k,c)=>{c(59863)("observable")},71158:(_,k,c)=>{c(59863)("patternMatch")},92001:(_,k,c)=>{c(59863)("replaceAll")},17600:(_,k,c)=>{c(22929);var g=c(49467),b=c(92244),S=c(18598),C=c(3156),w=c(41949),L=c(45312)("toStringTag");for(var F in g){var N=b[F],B=N&&N.prototype;B&&S(B)!==L&&C(B,L,F),w[F]=w.Array}},58597:(_,k,c)=>{var g=c(79235),b=c(92244),S=c(89455).setInterval;g({global:!0,bind:!0,forced:b.setInterval!==S},{setInterval:S})},751:(_,k,c)=>{var g=c(79235),b=c(92244),S=c(89455).setTimeout;g({global:!0,bind:!0,forced:b.setTimeout!==S},{setTimeout:S})},99801:(_,k,c)=>{c(58597),c(751)},67144:(_,k,c)=>{"use strict";c(22929);var g=c(79235),b=c(92244),S=c(40004),C=c(58316),w=c(2646),R=c(84372),L=c(20404),F=c(50077),N=c(32049),B=c(64240),z=c(74818),A=c(93450),M=c(51594),O=c(8277),V=c(90869),W=c(18598),q=c(67057),J=c(29642),te=c(77645),ae=c(54021),re=c(8342),oe=c(98577),se=c(23035),le=c(19814),Y=c(45312),_e=c(4590),Qe=Y("iterator"),We="URLSearchParams",st=We+"Iterator",Ve=z.set,at=z.getterFor(We),vt=z.getterFor(st),Sn=Object.getOwnPropertyDescriptor,Ge=function(Ht){if(!w)return b[Ht];var rt=Sn(b,Ht);return rt&&rt.value},Wt=Ge("fetch"),wt=Ge("Request"),ln=Ge("Headers"),Yt=wt&&wt.prototype,tn=ln&&ln.prototype,Gt=b.RegExp,nt=b.TypeError,jt=b.decodeURIComponent,kn=b.encodeURIComponent,Bn=C("".charAt),Jn=C([].join),Pr=C([].push),qn=C("".replace),Dr=C([].shift),ni=C([].splice),oi=C("".split),Gi=C("".slice),Hr=/\+/g,ft=Array(4),pe=function(Ht){return ft[Ht-1]||(ft[Ht-1]=Gt("((?:%[\\da-f]{2}){"+Ht+"})","gi"))},be=function(Ht){try{return jt(Ht)}catch{return Ht}},xt=function(Ht){var rt=qn(Ht,Hr," "),ht=4;try{return jt(rt)}catch{for(;ht;)rt=qn(rt,pe(ht--),be);return rt}},Kt=/[!'()~]|%20/g,Xt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},cn=function(Ht){return Xt[Ht]},vn=function(Ht){return qn(kn(Ht),Kt,cn)},X=B(function(rt,ht){Ve(this,{type:st,iterator:oe(at(rt).entries),kind:ht})},"Iterator",function(){var rt=vt(this),ht=rt.kind,en=rt.iterator.next(),lt=en.value;return en.done||(en.value="keys"===ht?lt.key:"values"===ht?lt.value:[lt.key,lt.value]),en},!0),Nt=function(Ht){this.entries=[],this.url=null,void 0!==Ht&&(J(Ht)?this.parseObject(Ht):this.parseQuery("string"==typeof Ht?"?"===Bn(Ht,0)?Gi(Ht,1):Ht:te(Ht)))};Nt.prototype={type:We,bindURL:function(Ht){this.url=Ht,this.update()},parseObject:function(Ht){var ht,en,lt,At,tt,Mt,nn,rt=se(Ht);if(rt)for(en=(ht=oe(Ht,rt)).next;!(lt=S(en,ht)).done;){if(At=oe(q(lt.value)),(Mt=S(tt=At.next,At)).done||(nn=S(tt,At)).done||!S(tt,At).done)throw nt("Expected sequence with length 2");Pr(this.entries,{key:te(Mt.value),value:te(nn.value)})}else for(var tr in Ht)O(Ht,tr)&&Pr(this.entries,{key:tr,value:te(Ht[tr])})},parseQuery:function(Ht){if(Ht)for(var en,lt,rt=oi(Ht,"&"),ht=0;ht<rt.length;)(en=rt[ht++]).length&&(lt=oi(en,"="),Pr(this.entries,{key:xt(Dr(lt)),value:xt(Jn(lt,"="))}))},serialize:function(){for(var en,Ht=this.entries,rt=[],ht=0;ht<Ht.length;)en=Ht[ht++],Pr(rt,vn(en.key)+"="+vn(en.value));return Jn(rt,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)}
vendor: 4,565 bytes, line 1
1,updateURL:function(){this.url&&this.url.update()}};var on=function(){A(this,An);var rt=arguments.length>0?arguments[0]:void 0;Ve(this,new Nt(rt))},An=on.prototype;if(F(An,{append:function(rt,ht){le(arguments.length,2);var en=at(this);Pr(en.entries,{key:te(rt),value:te(ht)}),en.updateURL()},delete:function(Ht){le(arguments.length,1);for(var rt=at(this),ht=rt.entries,en=te(Ht),lt=0;lt<ht.length;)ht[lt].key===en?ni(ht,lt,1):lt++;rt.updateURL()},get:function(rt){le(arguments.length,1);for(var ht=at(this).entries,en=te(rt),lt=0;lt<ht.length;lt++)if(ht[lt].key===en)return ht[lt].value;return null},getAll:function(rt){le(arguments.length,1);for(var ht=at(this).entries,en=te(rt),lt=[],At=0;At<ht.length;At++)ht[At].key===en&&Pr(lt,ht[At].value);return lt},has:function(rt){le(arguments.length,1);for(var ht=at(this).entries,en=te(rt),lt=0;lt<ht.length;)if(ht[lt++].key===en)return!0;return!1},set:function(rt,ht){le(arguments.length,1);for(var tr,en=at(this),lt=en.entries,At=!1,tt=te(rt),Mt=te(ht),nn=0;nn<lt.length;nn++)(tr=lt[nn]).key===tt&&(At?ni(lt,nn--,1):(At=!0,tr.value=Mt));At||Pr(lt,{key:tt,value:Mt}),en.updateURL()},sort:function(){var rt=at(this);_e(rt.entries,function(ht,en){return ht.key>en.key?1:-1}),rt.updateURL()},forEach:function(rt){for(var At,ht=at(this).entries,en=V(rt,arguments.length>1?arguments[1]:void 0),lt=0;lt<ht.length;)en((At=ht[lt++]).value,At.key,this)},keys:function(){return new X(this,"keys")},values:function(){return new X(this,"values")},entries:function(){return new X(this,"entries")}},{enumerable:!0}),L(An,Qe,An.entries,{name:"entries"}),L(An,"toString",function(){return at(this).serialize()},{enumerable:!0}),N(on,We),g({global:!0,constructor:!0,forced:!R},{URLSearchParams:on}),!R&&M(ln)){var bn=C(tn.has),Fn=C(tn.set),Oe=function(Ht){if(J(Ht)){var ht,rt=Ht.body;if(W(rt)===We)return ht=Ht.headers?new ln(Ht.headers):new ln,bn(ht,"content-type")||Fn(ht,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),ae(Ht,{body:re(0,te(rt)),headers:re(0,ht)})}return Ht};if(M(Wt)&&g({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(rt){return Wt(rt,arguments.length>1?Oe(arguments[1]):{})}}),M(wt)){var $t=function(rt){return A(this,Yt),new wt(rt,arguments.length>1?Oe(arguments[1]):{})};Yt.constructor=$t,$t.prototype=Yt,g({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:$t})}}_.exports={URLSearchParams:on,getState:at}},67395:(_,k,c)=>{c(67144)},37212:(_,k,c)=>{"use strict";c(2240);var Kt,g=c(79235),b=c(2646),S=c(84372),C=c(92244),w=c(90869),R=c(58316),L=c(20404),F=c(80193),N=c(93450),B=c(8277),z=c(4205),A=c(48774),M=c(90381),O=c(18284).codeAt,V=c(15206),W=c(77645),q=c(32049),J=c(19814),te=c(67144),ae=c(74818),re=ae.set,oe=ae.getterFor("URL"),se=te.URLSearchParams,le=te.getState,Y=C.URL,_e=C.TypeError,Qe=C.parseInt,We=Math.floor,st=Math.pow,Ve=R("".charAt),at=R(/./.exec),vt=R([].join),Sn=R(1..toString),Ge=R([].pop),Wt=R([].push),wt=R("".replace),ln=R([].shift),Yt=R("".split),tn=R("".slice),Gt=R("".toLowerCase),nt=R([].unshift),kn="Invalid scheme",Bn="Invalid host",Jn="Invalid port",Pr=/[a-z]/i,qn=/[\d+-.a-z]/i,Dr=/\d/,ni=/^0x/i,oi=/^[0-7]+$/,Gi=/^\d+$/,Hr=/^[\da-f]+$/i,ft=/[\0\t\n\r #%/:<>?@[\\\]^|]/,pe=/[\0\t\n\r #/:<>?@[\\\]^|]/,be=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,xt=/[\t\n\r]/g,X=function(Cn){var Vn,zn,yn,sr;if("number"==typeof Cn){for(Vn=[],zn=0;zn<4;zn++)nt(Vn,Cn%256),Cn=We(Cn/256);return vt(Vn,".")}if("object"==typeof Cn){for(Vn="",yn=function(Cn){for(var Vn=null,zn=1,yn=null,sr=0,Ii=0;Ii<8;Ii++)0!==Cn[Ii]?(sr>zn&&(Vn=yn,zn=sr),yn=null,sr=0):(null===yn&&(yn=Ii),++sr);return sr>zn&&(Vn=yn,zn=sr),Vn}(Cn),zn=0;zn<8;zn++)sr&&0===Cn[zn]||(sr&&(sr=!1),yn===zn?(Vn+=zn?":":"::",sr=!0):(Vn+=Sn(Cn[zn],16),zn<7&&(Vn+=":")));return"["+Vn+"]"}return Cn},Nt={},on=z({},Nt,{" ":1,'"':1,"<":1,">":1,"`":1}),An=z({},on,{"#":1,"?":1,"{":1,"}":1}),bn=z({},An,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Fn=function(Cn,Vn){var zn=O(Cn,0);return zn>32&&zn<127&&!B(Vn,Cn)?Cn:encodeURIComponent(Cn)},Oe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$t=function(Cn,Vn){var zn;return 2==Cn.length&&at(Pr,Ve(Cn,0))&&(":"==(zn=Ve(Cn,1))||!Vn&&"|"==zn)},Ht=function(Cn){var Vn;return Cn.length>1&&$t(tn(Cn,0,2))&&(2==Cn.length||"/"===(Vn=Ve(Cn,2))||"\\"===Vn||"?"===Vn||"#"===Vn)},rt=function(Cn){return"."===Cn||"%2e"===Gt(Cn)},ht=function(Cn){return".."===(Cn=Gt(Cn))||"%2e."===Cn||".%2e"===Cn||"%2e%2e"===Cn},en={},lt={},At={},tt={},Mt={},nn={},tr={},si={},Lr={},Nr={},Ei={},Wi={},es={},Ms={},Ml={},va={},Oa={},ya={},Zl={},Ra={},Ea={}
vendor: 6,465 bytes, line 1
1,ia=function(Cn,Vn,zn){var sr,Ii,Xr,yn=W(Cn);if(Vn){if(Ii=this.parse(yn))throw _e(Ii);this.searchParams=null}else{if(void 0!==zn&&(sr=new ia(zn,!0)),Ii=this.parse(yn,null,sr))throw _e(Ii);(Xr=le(new se)).bindURL(this),this.searchParams=Xr}};ia.prototype={type:"URL",parse:function(Cn,Vn,zn){var Ys,yr,ts,ur,yn=this,sr=Vn||en,Ii=0,Xr="",ds=!1,ws=!1,oa=!1;for(Cn=W(Cn),Vn||(yn.scheme="",yn.username="",yn.password="",yn.host=null,yn.port=null,yn.path=[],yn.query=null,yn.fragment=null,yn.cannotBeABaseURL=!1,Cn=wt(Cn,be,"")),Cn=wt(Cn,xt,""),Ys=A(Cn);Ii<=Ys.length;){switch(yr=Ys[Ii],sr){case en:if(!yr||!at(Pr,yr)){if(Vn)return kn;sr=At;continue}Xr+=Gt(yr),sr=lt;break;case lt:if(yr&&(at(qn,yr)||"+"==yr||"-"==yr||"."==yr))Xr+=Gt(yr);else{if(":"!=yr){if(Vn)return kn;Xr="",sr=At,Ii=0;continue}if(Vn&&(yn.isSpecial()!=B(Oe,Xr)||"file"==Xr&&(yn.includesCredentials()||null!==yn.port)||"file"==yn.scheme&&!yn.host))return;if(yn.scheme=Xr,Vn)return void(yn.isSpecial()&&Oe[yn.scheme]==yn.port&&(yn.port=null));Xr="","file"==yn.scheme?sr=Ms:yn.isSpecial()&&zn&&zn.scheme==yn.scheme?sr=tt:yn.isSpecial()?sr=si:"/"==Ys[Ii+1]?(sr=Mt,Ii++):(yn.cannotBeABaseURL=!0,Wt(yn.path,""),sr=Zl)}break;case At:if(!zn||zn.cannotBeABaseURL&&"#"!=yr)return kn;if(zn.cannotBeABaseURL&&"#"==yr){yn.scheme=zn.scheme,yn.path=M(zn.path),yn.query=zn.query,yn.fragment="",yn.cannotBeABaseURL=!0,sr=Ea;break}sr="file"==zn.scheme?Ms:nn;continue;case tt:if("/"!=yr||"/"!=Ys[Ii+1]){sr=nn;continue}sr=Lr,Ii++;break;case Mt:if("/"==yr){sr=Nr;break}sr=ya;continue;case nn:if(yn.scheme=zn.scheme,yr==Kt)yn.username=zn.username,yn.password=zn.password,yn.host=zn.host,yn.port=zn.port,yn.path=M(zn.path),yn.query=zn.query;else if("/"==yr||"\\"==yr&&yn.isSpecial())sr=tr;else if("?"==yr)yn.username=zn.username,yn.password=zn.password,yn.host=zn.host,yn.port=zn.port,yn.path=M(zn.path),yn.query="",sr=Ra;else{if("#"!=yr){yn.username=zn.username,yn.password=zn.password,yn.host=zn.host,yn.port=zn.port,yn.path=M(zn.path),yn.path.length--,sr=ya;continue}yn.username=zn.username,yn.password=zn.password,yn.host=zn.host,yn.port=zn.port,yn.path=M(zn.path),yn.query=zn.query,yn.fragment="",sr=Ea}break;case tr:if(!yn.isSpecial()||"/"!=yr&&"\\"!=yr){if("/"!=yr){yn.username=zn.username,yn.password=zn.password,yn.host=zn.host,yn.port=zn.port,sr=ya;continue}sr=Nr}else sr=Lr;break;case si:if(sr=Lr,"/"!=yr||"/"!=Ve(Xr,Ii+1))continue;Ii++;break;case Lr:if("/"!=yr&&"\\"!=yr){sr=Nr;continue}break;case Nr:if("@"==yr){ds&&(Xr="%40"+Xr),ds=!0,ts=A(Xr);for(var pi=0;pi<ts.length;pi++){var gi=ts[pi];if(":"!=gi||oa){var Ui=Fn(gi,bn);oa?yn.password+=Ui:yn.username+=Ui}else oa=!0}Xr=""}else if(yr==Kt||"/"==yr||"?"==yr||"#"==yr||"\\"==yr&&yn.isSpecial()){if(ds&&""==Xr)return"Invalid authority";Ii-=A(Xr).length+1,Xr="",sr=Ei}else Xr+=yr;break;case Ei:case Wi:if(Vn&&"file"==yn.scheme){sr=va;continue}if(":"!=yr||ws){if(yr==Kt||"/"==yr||"?"==yr||"#"==yr||"\\"==yr&&yn.isSpecial()){if(yn.isSpecial()&&""==Xr)return Bn;if(Vn&&""==Xr&&(yn.includesCredentials()||null!==yn.port))return;if(ur=yn.parseHost(Xr))return ur;if(Xr="",sr=Oa,Vn)return;continue}"["==yr?ws=!0:"]"==yr&&(ws=!1),Xr+=yr}else{if(""==Xr)return Bn;if(ur=yn.parseHost(Xr))return ur;if(Xr="",sr=es,Vn==Wi)return}break;case es:if(!at(Dr,yr)){if(yr==Kt||"/"==yr||"?"==yr||"#"==yr||"\\"==yr&&yn.isSpecial()||Vn){if(""!=Xr){var Os=Qe(Xr,10);if(Os>65535)return Jn;yn.port=yn.isSpecial()&&Os===Oe[yn.scheme]?null:Os,Xr=""}if(Vn)return;sr=Oa;continue}return Jn}Xr+=yr;break;case Ms:if(yn.scheme="file","/"==yr||"\\"==yr)sr=Ml;else{if(!zn||"file"!=zn.scheme){sr=ya;continue}if(yr==Kt)yn.host=zn.host,yn.path=M(zn.path),yn.query=zn.query;else if("?"==yr)yn.host=zn.host,yn.path=M(zn.path),yn.query="",sr=Ra;else{if("#"!=yr){Ht(vt(M(Ys,Ii),""))||(yn.host=zn.host,yn.path=M(zn.path),yn.shortenPath()),sr=ya;continue}yn.host=zn.host,yn.path=M(zn.path),yn.query=zn.query,yn.fragment="",sr=Ea}}break;case Ml:if("/"==yr||"\\"==yr){sr=va;break}zn&&"file"==zn.scheme&&!Ht(vt(M(Ys,Ii),""))&&($t(zn.path[0],!0)?Wt(yn.path,zn.path[0]):yn.host=zn.host),sr=ya;continue;case va:if(yr==Kt||"/"==yr||"\\"==yr||"?"==yr||"#"==yr){if(!Vn&&$t(Xr))sr=ya;else if(""==Xr){if(yn.host="",Vn)return;sr=Oa}else{if(ur=yn.parseHost(Xr))return ur;if("localhost"==yn.host&&(yn.host=""),Vn)return;Xr="",sr=Oa}continue}Xr+=yr;break;case Oa:if(yn.isSpecial()){if(sr=ya,"/"!=yr&&"\\"!=yr)continue}else if(Vn||"?"!=yr)if(Vn||"#"!=yr){if(yr!=Kt&&(sr=ya,"/"!=yr))continue}else yn.fragment="",sr=Ea;else yn.query="",sr=Ra;break;case ya:if(yr==Kt||"/"==yr||"\\"==yr&&yn.isSpecial()||!Vn&&("?"==yr||"#"==yr)){if(ht(Xr)?(yn.shortenPath(),"/"!=yr&&!("\\"==yr&&yn.isSpecial())&&Wt(yn.path,"")):rt(Xr)?"/"!=yr&&!("\\"==yr&&yn.isSpecial())&&Wt(yn.path,""):("file"==yn.scheme&&!yn.path.length&&$t(Xr)&&(yn.host&&(yn.host=""),Xr=Ve(Xr,0)+":"),Wt(yn.path,Xr)),Xr="","file"==yn.scheme&&(yr==Kt||"?"==yr||"#"==yr))for(;yn.path.length>1&&""===yn.path[0];)ln(yn.path);"?"==yr?(yn.query="",sr=Ra):"#"==yr&&(yn.fragment="",sr=Ea)}else Xr+=Fn(yr,An);break;case Zl:"?"==yr?(yn.query="",sr=Ra):"#"==yr?(yn.fragment="",sr=Ea):yr!=Kt&&(yn.path[0]+=Fn(yr,Nt));break;case Ra:Vn||"#"!=yr?yr!=Kt&&("'"==yr&&yn.isSpecial()?yn.query+="%27":yn.query+="#"==yr?"%23":Fn(yr,Nt)):(yn.fragment="",sr=Ea);break;case Ea:yr!=Kt&&(yn.fragment+=Fn(yr,on))}Ii++}},parseHost:function(Cn){var Vn,zn,yn;if("["==Ve(Cn,0)){if("]"!=Ve(Cn,Cn.length-1)||(Vn=function(Cn){var Ii,Xr,ds,ws,oa,Ys,yr,Vn=[0,0,0,0,0,0,0,0],zn=0,yn=null,sr=0,ts=function(){return Ve(Cn,sr)};if(":"==ts()){if(":"!=Ve(Cn,1))return;sr+=2,yn=++zn}for(;ts();){if(8==zn)return;if(":"!=ts()){for(Ii=Xr=0;Xr<4&&at(Hr,ts());)Ii=16*Ii+Qe(ts(),16),sr++,Xr++;if("."==ts()){if(0==Xr||(sr-=Xr,zn>6))return;for(ds=0;ts();){if(ws=null,ds>0){if(!("."==ts()&&ds<4))return;sr++}if(!at(Dr,ts()))return;for(;at(Dr,ts());){if(oa=Qe(ts(),10),null===ws)ws=oa;else{if(0==ws)return;ws=10*ws+oa}if(ws>255)return;sr++}Vn[zn]=256*Vn[zn]+ws,(2==++ds||4==ds)&&zn++}if(4!=ds)return;break}if(":"==ts()){if(sr++,!ts())return}else if(ts())return;Vn[zn++]=Ii}else{if(null!==yn)return;sr++,yn=++zn}}if(null!==yn)for(Ys=zn-yn,zn=7;0!=zn&&Ys>0;)yr=Vn[zn],Vn[zn--]=Vn[yn+Ys-1],Vn[yn+--Ys]=yr;else if(8!=zn)return;return Vn}(tn(Cn,1,-1)),!Vn))return Bn;this.host=Vn}else if(this.isSpecial()){if(Cn=V(Cn),at(ft,Cn)||(Vn=function(Cn){var zn,yn,sr,Ii,Xr,ds,ws,Vn=Yt(Cn,".");if(Vn.length&&""==Vn[Vn.length-1]&&Vn.length--,(zn=Vn.length)>4)return Cn;for(yn=[],sr=0;sr<zn;sr++){if(""==(Ii=Vn[sr]))return Cn;if(Xr=10,Ii.length>
11&&"0"==Ve(Ii,0)&&(Xr=at(ni,Ii)?16:8,Ii=tn(Ii,8==Xr?1:2)),""===Ii)ds=0;else{if(!at(10==Xr?Gi:8==Xr?oi:Hr,Ii))return Cn;ds=Qe(Ii,Xr)}Wt(yn,ds)}for(sr=0;sr<zn;sr++)if(ds=yn[sr],sr==zn-1){if(ds>=st(256,5-zn))return null}else if(ds>255)return null;for(ws=Ge(yn),sr=0;sr<yn.length;sr++)ws+=yn[sr]*st(256,3-sr);return ws}(Cn),null===Vn))return Bn;this.host=Vn}else{if(at(pe,Cn))return Bn;for(Vn="",zn=A(Cn),yn=0;yn<zn.length;yn++)Vn+=Fn(zn[yn],Nt);this.host=Vn}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return B(Oe,this.scheme)},shortenPath:function(){var Cn=this.path,Vn=Cn.length;Vn&&("file"!=this.scheme||1!=Vn||!$t(Cn[0],!0))&&Cn.length--},serialize:function(){var Cn=this,Vn=Cn.scheme,zn=Cn.username,yn=Cn.password,sr=Cn.host,Ii=Cn.port,Xr=Cn.path,ds=Cn.query,ws=Cn.fragment,oa=Vn+":";return null!==sr?(oa+="//",Cn.includesCredentials()&&(oa+=zn+(yn?":"+yn:"")+"@"),oa+=X(sr),null!==Ii&&(oa+=":"+Ii)):"file"==Vn&&(oa+="//"),oa+=Cn.cannotBeABaseURL?Xr[0]:Xr.length?"/"+vt(Xr,"/"):"",null!==ds&&(oa+="?"+ds),null!==ws&&(oa+="#"+ws),oa},setHref:function(Cn){var Vn=this.parse(Cn);if(Vn)throw _e(Vn);this.searchParams.update()},getOrigin:function(){var Cn=this.scheme,Vn=this.port;if("blob"==Cn)try{return new ol(Cn.path[0]).origin}catch{return"null"}return"file"!=Cn&&this.isSpecial()?Cn+"://"+X(this.host)+(null!==Vn?":"+Vn:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(Cn){this.parse(W(Cn)+":",en)},getUsername:function(){return this.username},setUsername:function(Cn){var Vn=A(W(Cn));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var zn=0;zn<Vn.length;zn++)this.username+=Fn(Vn[zn],bn)}},getPassword:function(){return this.password},setPassword:function(Cn){var Vn=A(W(Cn));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var zn=0;zn<Vn.length;zn++)this.password+=Fn(Vn[zn],bn)}},getHost:function(){var Cn=this.host,Vn=this.port;return null===Cn?"":null===Vn?X(Cn):X(Cn)+":"+Vn},setHost:function(Cn){this.cannotBeABaseURL||this.parse(Cn,Ei)},getHostname:function(){var Cn=this.host;return null===Cn?"":X(Cn)},setHostname:function(Cn){this.cannotBeABaseURL||this.parse(Cn,Wi)},getPort:function(){var Cn=this.port;return null===Cn?"":W(Cn)},setPort:function(Cn){this.cannotHaveUsernamePasswordPort()||(""==(Cn=W(Cn))?this.port=null:this.parse(Cn,es))},getPathname:function(){var Cn=this.path;return this.cannotBeABaseURL?Cn[0]:Cn.length?"/"+vt(Cn,"/"):""},setPathname:function(Cn){this.cannotBeABaseURL||(this.path=[],this.parse(Cn,Oa))},getSearch:function(){var Cn=this.query;return Cn?"?"+Cn:""},setSearch:function(Cn){""==(Cn=W(Cn))?this.query=null:("?"==Ve(Cn,0)&&(Cn=tn(Cn,1)),this.query="",this.parse(Cn,Ra)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var Cn=this.fragment;return Cn?"#"+Cn:""},setHash:function(Cn){""!=(Cn=W(Cn))?("#"==Ve(Cn,0)&&(Cn=tn(Cn,1)),this.fragment="",this.parse(Cn,Ea)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var ol=function(Vn){var zn=N(this,Ai),yn=J(arguments.length,1)>1?arguments[1]:void 0,sr=re(zn,new ia(Vn,!1,yn));b||(zn.href=sr.serialize(),zn.origin=sr.getOrigin(),zn.protocol=sr.getProtocol(),zn.username=sr.getUsername(),zn.password=sr.getPassword(),zn.host=sr.getHost(),zn.hostname=sr.getHostname(),zn.port=sr.getPort(),zn.pathname=sr.getPathname(),zn.search=sr.getSearch(),zn.searchParams=sr.getSearchParams(),zn.hash=sr.getHash())},Ai=ol.prototype,Bo=function(Cn,Vn){return{get:function(){return oe(this)[Cn]()},set:Vn&&function(zn){return oe(this)[Vn](zn)},configurable:!0,enumerable:!0}};if(b&&(F(Ai,"href",Bo("serialize","setHref")),F(Ai,"origin",Bo("getOrigin")),F(Ai,"protocol",Bo("getProtocol","setProtocol")),F(Ai,"username",Bo("getUsername","setUsername")),F(Ai,"password",Bo("getPassword","setPassword")),F(Ai,"host",Bo("getHost","setHost")),F(Ai,"hostname",Bo("getHostname","setHostname")),F(Ai,"port",Bo("getPort","setPort")),F(Ai,"pathname",Bo("getPathname","setPathname")),F(Ai,"search",Bo("getSearch","setSearch")),F(Ai,"searchParams",Bo("getSearchParams")),F(Ai,"hash",Bo("getHash","setHash"))),L(Ai,"toJSON",function(){return oe(this).serialize()},{enumerable:!0}),L(Ai,"toString",function(){return oe(this).serialize()},{enumerable:!0}),Y){var fi=Y.createObjectURL,Dl=Y.revokeObjectURL;fi&&L(ol,"createObjectURL",w(fi,Y)),Dl&&L(ol,"revokeObjectURL",w(Dl,Y))}q(ol,"URL"),g({global:!0,constructor:!0,forced:!S,sham:!b},{URL:ol})},92447:(_,k,c)=>{c(37212)},87777:()=>{},96711:(_,k,c)=>{var g=c(717);_.exports=g},15063:(_,k,c)=>{var g=c(50267);_.exports=g},73341:(_,k,c)=>{var g=c(88288);_.exports=g},74023:(_,k,c)=>{var g=c(1445);_.exports=g},65874:(_,k,c)=>{var g=c(79171);_.exports=g},54681:(_,k,c)=>{var g=c(12213);_.exports=g},19026:(_,k,c)=>{var g=c(58541);_.exports=g},92694:(_,k,c)=>{var g=c(25073);c(17600),_.exports=g},27207:(_,k,c)=>{var g=c(63197);_.exports=g},29481:(_,k,c)=>{var g=c(41506);_.exports=g},86934:(_,k,c)=>{var g=c(67021);_.exports=g},48505:(_,k,c)=>{c(17600);var g=c(18598),b=c(8277),S=c(32807),C=c(73341),w=Array.prototype,R={DOMTokenList:!0,NodeList:!0};_.exports=function(L){var F=L.entries;return L===w||S(w,L)&&F===w.entries||b(R,g(L))?C:F}},46385:(_,k,c)=>{var g=c(64886);_.exports=g},8706:(_,k,c)=>{var g=c(763);_.exports=g},12265:(_,k,c)=>{var g=c(53192);_.exports=g},60420:(_,k,c)=>{var g=c(22167);_.exports=g},81e3:(_,k,c)=>{var g=c(86915);_.exports=g},68144:(_,k,c)=>{c(17600);var g=c(18598),b=c(8277),S=c(32807),C=c(74023),w=Array.prototype,R={DOMTokenList:!0,NodeList:!0};_.exports=function(L){var F=L.forEach;return L===w||S(w,L)&&F===w.forEach||b(R,g(L))?C:F}},33866:(_,k,c)=>{var g=c(6198);_.exports=g},22932:(_,k,c)=>{var g=c(70801);_.exports=g},62380:(_,k,c)=>{c(17600);var g=c(18598),b=c(8277),S=c(32807),C=c(65874),w=Array.prototype,R={DOMTokenList:!0,NodeList:!0};_.exports=function(L){var F=L.keys;return L===w||S(w,L)&&F===w.keys||b(R,g(L))?C:F}},34607:(_,k,c)=>{var g=c(53034);_.exports=g},72016:(_,k,c)=>{var g=c(2807);_.exports=g},66583:(_,k,c)=>{var g=c(79245);_.exports=g},31323:(_,k,c)=>{var g=c(1353);_.exports=g},31289:(_,k,c)=>{var g=c(7466);_.exports=g},51387:(_,k,c)=>{var g=c(85546);_.exports=g},81745:(_,k,c)=>{var g=c(14537);_.exports=g},87886:(_,k,c)=>{var g=c(5916);_.exports=g},74607:(_,k,c)=>
1{var g=c(90475);_.exports=g},31137:(_,k,c)=>{var g=c(53602);_.exports=g},65900:(_,k,c)=>{var g=c(5547);_.exports=g},43426:(_,k,c)=>{c(17600);var g=c(18598),b=c(8277),S=c(32807),C=c(54681),w=Array.prototype,R={DOMTokenList:!0,NodeList:!0};_.exports=function(L){var F=L.values;return L===w||S(w,L)&&F===w.values||b(R,g(L))?C:F}},96354:(_,k,c)=>{var g=c(98516);_.exports=g},75221:(_,k,c)=>{var g=c(61231);c(17600),_.exports=g},74230:(_,k,c)=>{var g=c(81062);_.exports=g},70209:(_,k,c)=>{var g=c(99973);_.exports=g},33659:(_,k,c)=>{var g=c(61539);_.exports=g},26591:(_,k,c)=>{var g=c(50434);_.exports=g},51589:(_,k,c)=>{var g=c(18263);_.exports=g},6372:(_,k,c)=>{var g=c(87043);_.exports=g},5317:(_,k,c)=>{var g=c(28125);_.exports=g},44829:(_,k,c)=>{var g=c(53453);_.exports=g},25171:(_,k,c)=>{var g=c(19418);_.exports=g},52298:(_,k,c)=>{var g=c(96648);_.exports=g},31947:(_,k,c)=>{var g=c(13838);_.exports=g},12891:(_,k,c)=>{var g=c(43913);_.exports=g},6870:(_,k,c)=>{var g=c(8736);c(17600),_.exports=g},3860:(_,k,c)=>{c(99801);var g=c(33706);_.exports=g.setTimeout},8047:(_,k,c)=>{var g=c(38828);c(17600),_.exports=g},45168:(_,k,c)=>{var g=c(94154);c(17600),_.exports=g},68372:(_,k,c)=>{var g=c(27144);c(17600),_.exports=g},34869:(_,k,c)=>{var g=c(56354);_.exports=g},18362:(_,k,c)=>{var g=c(30026);c(17600),_.exports=g},27144:(_,k,c)=>{c(67395);var g=c(33706);_.exports=g.URLSearchParams},56354:(_,k,c)=>{c(92447),c(87777),c(67395);var g=c(33706);_.exports=g.URL},45618:function(){var _;_=typeof self<"u"?self:this,function(c){var g_searchParams="URLSearchParams"in _,g_iterable="Symbol"in _&&"iterator"in Symbol,g_blob="FileReader"in _&&"Blob"in _&&function(){try{return new Blob,!0}catch{return!1}}(),g_formData="FormData"in _,g_arrayBuffer="ArrayBuffer"in _;if(g_arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],C=ArrayBuffer.isView||function(le){return le&&S.indexOf(Object.prototype.toString.call(le))>-1};function w(le){if("string"!=typeof le&&(le=String(le)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(le))throw new TypeError("Invalid character in header field name");return le.toLowerCase()}function R(le){return"string"!=typeof le&&(le=String(le)),le}function L(le){var Y={next:function(){var _e=le.shift();return{done:void 0===_e,value:_e}}};return g_iterable&&(Y[Symbol.iterator]=function(){return Y}),Y}function F(le){this.map={},le instanceof F?le.forEach(function(Y,_e){this.append(_e,Y)},this):Array.isArray(le)?le.forEach(function(Y){this.append(Y[0],Y[1])},this):le&&Object.getOwnPropertyNames(le).forEach(function(Y){this.append(Y,le[Y])},this)}function N(le){if(le.bodyUsed)return Promise.reject(new TypeError("Already read"));le.bodyUsed=!0}function B(le){return new Promise(function(Y,_e){le.onload=function(){Y(le.result)},le.onerror=function(){_e(le.error)}})}function z(le){var Y=new FileReader,_e=B(Y);return Y.readAsArrayBuffer(le),_e}function O(le){if(le.slice)return le.slice(0);var Y=new Uint8Array(le.byteLength);return Y.set(new Uint8Array(le)),Y.buffer}function V(){return this.bodyUsed=!1,this._initBody=function(le){this._bodyInit=le,le?"string"==typeof le?this._bodyText=le:g_blob&&Blob.prototype.isPrototypeOf(le)?this._bodyBlob=le:g_formData&&FormData.prototype.isPrototypeOf(le)?this._bodyFormData=le:g_searchParams&&URLSearchParams.prototype.isPrototypeOf(le)?this._bodyText=le.toString():g_arrayBuffer&&g_blob&&function b(le){return le&&DataView.prototype.isPrototypeOf(le)}(le)?(this._bodyArrayBuffer=O(le.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):g_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(le)||C(le))?this._bodyArrayBuffer=O(le):this._bodyText=le=Object.prototype.toString.call(le):this._bodyText="",this.headers.get("content-type")||("string"==typeof le?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g_searchParams&&URLSearchParams.prototype.isPrototypeOf(le)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g_blob&&(this.blob=function(){var le=N(this);if(le)return le;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?N(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(z)}),this.text=function(){var le=N(this);if(le)return le;if(this._bodyBlob)return function A(le){var Y=new FileReader,_e=B(Y);return Y.readAsText(le),_e}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function M(le){for(var Y=new Uint8Array(le),_e=new Array(Y.length),Qe=0;Qe<Y.length;Qe++)_e[Qe]=String.fromCharCode(Y[Qe]);return _e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g_formData&&(this.formData=function(){return this.text().then(te)}),this.json=function(){return this.text().then(JSON.parse)},this}F.prototype.append=function(le,Y){le=w(le),Y=R(Y);var _e=this.map[le];this.map[le]=_e?_e+", "+Y:Y},F.prototype.delete=function(le){delete this.map[w(le)]},F.prototype.get=function(le){return le=w(le),this.has(le)?this.map[le]:null},F.prototype.has=function(le){return this.map.hasOwnProperty(w(le))},F.prototype.set=function(le,Y){this.map[w(le)]=R(Y)},F.prototype.forEach=function(le,Y){for(var _e in this.map)this.map.hasOwnProperty(_e)&&le.call(Y,this.map[_e],_e,this)},F.prototype.keys=function(){var le=[];return this.forEach(function(Y,_e){le.push(_e)}),L(le)},F.prototype.values=function(){var le=[];return this.forEach(function(Y){le.push(Y)}),L(le)},F.prototype.entries=function(){var le=[];return this.forEach(function(Y,_e){le.push([_e,Y])}),L(le)},g_iterable&&(F.prototype[Symbol.iterator]=F.prototype.entries);var W=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function J(le,Y){var _e=(Y=Y||{}).body;if(le instanceof J){if(le.bodyUsed)throw new TypeError("Already read");this.url=le.url,this.credentials=le.credentials,Y.headers||(this.headers=new F(le.headers)),this.method=le.method,this.mode=le.mode,this.signal=le.signal,!_e&&null!=le._bodyInit&&(_e=le._bodyInit,le.bodyUsed=!0)}else this.url=String(le);if(this.credentials=Y.credentials||this.credentials||"same-origin",(Y.headers||!this.headers)&&(this.headers=new F(Y.headers)),this.method=function q(le){var Y=le.toUpperCase();return W.indexOf(Y)>-1?Y:le}(Y.method||this.method||"GET"),this.mode=Y.mode||this.mode||null,this.signal=Y.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&_e)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(_e)}function te(le){var Y=new FormData;return le.trim().split("&").forEach(function(_e){if(_e){var Qe=_e.split("="),We=Qe.shift().replace(/\+/g," "),st=Qe.join("=").replace(/\+/g," ");Y.append(decodeURIComponent(We),decodeURIComponent(st))}}),Y}function ae(le){var Y=new F;
1return le.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(Qe){var We=Qe.split(":"),st=We.shift().trim();if(st){var Ve=We.join(":").trim();Y.append(st,Ve)}}),Y}function re(le,Y){Y||(Y={}),this.type="default",this.status=void 0===Y.status?200:Y.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in Y?Y.statusText:"OK",this.headers=new F(Y.headers),this.url=Y.url||"",this._initBody(le)}J.prototype.clone=function(){return new J(this,{body:this._bodyInit})},V.call(J.prototype),V.call(re.prototype),re.prototype.clone=function(){return new re(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new F(this.headers),url:this.url})},re.error=function(){var le=new re(null,{status:0,statusText:""});return le.type="error",le};var oe=[301,302,303,307,308];re.redirect=function(le,Y){if(-1===oe.indexOf(Y))throw new RangeError("Invalid status code");return new re(null,{status:Y,headers:{location:le}})},c.DOMException=_.DOMException;try{new c.DOMException}catch{c.DOMException=function(Y,_e){this.message=Y,this.name=_e;var Qe=Error(Y);this.stack=Qe.stack},c.DOMException.prototype=Object.create(Error.prototype),c.DOMException.prototype.constructor=c.DOMException}function se(le,Y){return new Promise(function(_e,Qe){var We=new J(le,Y);if(We.signal&&We.signal.aborted)return Qe(new c.DOMException("Aborted","AbortError"));var st=new XMLHttpRequest;function Ve(){st.abort()}st.onload=function(){var at={status:st.status,statusText:st.statusText,headers:ae(st.getAllResponseHeaders()||"")};at.url="responseURL"in st?st.responseURL:at.headers.get("X-Request-URL"),_e(new re("response"in st?st.response:st.responseText,at))},st.onerror=function(){Qe(new TypeError("Network request failed"))},st.ontimeout=function(){Qe(new TypeError("Network request failed"))},st.onabort=function(){Qe(new c.DOMException("Aborted","AbortError"))},st.open(We.method,We.url,!0),"include"===We.credentials?st.withCredentials=!0:"omit"===We.credentials&&(st.withCredentials=!1),"responseType"in st&&g_blob&&(st.responseType="blob"),We.headers.forEach(function(at,vt){st.setRequestHeader(vt,at)}),We.signal&&(We.signal.addEventListener("abort",Ve),st.onreadystatechange=function(){4===st.readyState&&We.signal.removeEventListener("abort",Ve)}),st.send(typeof We._bodyInit>"u"?null:We._bodyInit)})}se.polyfill=!0,_.fetch||(_.fetch=se,_.Headers=F,_.Request=J,_.Response=re),c.Headers=F,c.Request=J,c.Response=re,c.fetch=se,Object.defineProperty(c,"__esModule",{value:!0})}({})},9846:function(_){var k;k=typeof global<"u"?global:this,_.exports=function(k){if(k.CSS&&k.CSS.escape)return k.CSS.escape;var c=function(g){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var w,b=String(g),S=b.length,C=-1,R="",L=b.charCodeAt(0);++C<S;)0!=(w=b.charCodeAt(C))?R+=w>=1&&w<=31||127==w||0==C&&w>=48&&w<=57||1==C&&w>=48&&w<=57&&45==L?"\\"+w.toString(16)+" ":0==C&&1==S&&45==w||!(w>=128||45==w||95==w||w>=48&&w<=57||w>=65&&w<=90||w>=97&&w<=122)?"\\"+b.charAt(C):b.charAt(C):R+="\ufffd";return R};return k.CSS||(k.CSS={}),k.CSS.escape=c,c}(k)},65478:_=>{"use strict";var c={}.hasOwnProperty,b=/[ -,\.\/:-@\[-\^`\{-~]/,S=/[ -,\.\/:-@\[\]\^`\{-~]/,w=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,R=function L(F,N){N=function(F,N){if(!F)return N;var B={};for(var z in N)B[z]=c.call(F,z)?F[z]:N[z];return B}(N,L.options),"single"!=N.quotes&&"double"!=N.quotes&&(N.quotes="single");for(var B="double"==N.quotes?'"':"'",z=N.isIdentifier,A=F.charAt(0),M="",O=0,V=F.length;O<V;){var W=F.charAt(O++),q=W.charCodeAt(),J=void 0;if(q<32||q>126){if(q>=55296&&q<=56319&&O<V){var te=F.charCodeAt(O++);56320==(64512&te)?q=((1023&q)<<10)+(1023&te)+65536:O--}J="\\"+q.toString(16).toUpperCase()+" "}else J=N.escapeEverything?b.test(W)?"\\"+W:"\\"+q.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(W)?"\\"+q.toString(16).toUpperCase()+" ":"\\"==W||!z&&('"'==W&&B==W||"'"==W&&B==W)||z&&S.test(W)?"\\"+W:W;M+=J}return z&&(/^-[-\d]/.test(M)?M="\\-"+M.slice(1):/\d/.test(A)&&(M="\\3"+A+" "+M.slice(1))),M=M.replace(w,function(ae,re,oe){return re&&re.length%2?ae:(re||"")+oe}),!z&&N.wrap?B+M+B:M};R.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},R.version="3.0.0",_.exports=R},34999:_=>{"use strict";var k=function(q){return function c(W){return!!W&&"object"==typeof W}(q)&&!function g(W){var q=Object.prototype.toString.call(W);return"[object RegExp]"===q||"[object Date]"===q||function C(W){return W.$$typeof===S}(W)}(q)},S="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function R(W,q){return!1!==q.clone&&q.isMergeableObject(W)?O(function w(W){return Array.isArray(W)?[]:{}}(W),W,q):W}function L(W,q,J){return W.concat(q).map(function(te){return R(te,J)})}function B(W){return Object.keys(W).concat(function N(W){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(W).filter(function(q){return W.propertyIsEnumerable(q)}):[]}(W))}function z(W,q){try{return q in W}catch{return!1}}function O(W,q,J){(J=J||{}).arrayMerge=J.arrayMerge||L,J.isMergeableObject=J.isMergeableObject||k,J.cloneUnlessOtherwiseSpecified=R;var te=Array.isArray(q);return te===Array.isArray(W)?te?J.arrayMerge(W,q,J):function M(W,q,J){var te={};return J.isMergeableObject(W)&&B(W).forEach(function(ae){te[ae]=R(W[ae],J)}),B(q).forEach(function(ae){(function A(W,q){return z(W,q)&&!(Object.hasOwnProperty.call(W,q)&&Object.propertyIsEnumerable.call(W,q))}
1)(W,ae)||(te[ae]=z(W,ae)&&J.isMergeableObject(q[ae])?function F(W,q){if(!q.customMerge)return O;var J=q.customMerge(W);return"function"==typeof J?J:O}(ae,J)(W[ae],q[ae],J):R(q[ae],J))}),te}(W,q,J):R(q,J)}O.all=function(q,J){if(!Array.isArray(q))throw new Error("first argument should be an array");return q.reduce(function(te,ae){return O(te,ae,J)},{})},_.exports=O},92735:function(_){_.exports=function(){"use strict";function k(Xt){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(cn){return typeof cn}:function(cn){return cn&&"function"==typeof Symbol&&cn.constructor===Symbol&&cn!==Symbol.prototype?"symbol":typeof cn})(Xt)}function c(Xt,cn){return(c=Object.setPrototypeOf||function(X,Nt){return X.__proto__=Nt,X})(Xt,cn)}function g(){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}}function b(Xt,cn,vn){return(b=g()?Reflect.construct:function(Nt,on,An){var bn=[null];bn.push.apply(bn,on);var Oe=new(Function.bind.apply(Nt,bn));return An&&c(Oe,An.prototype),Oe}).apply(null,arguments)}function S(Xt){return function C(Xt){if(Array.isArray(Xt))return L(Xt)}(Xt)||function w(Xt){if(typeof Symbol<"u"&&null!=Xt[Symbol.iterator]||null!=Xt["@@iterator"])return Array.from(Xt)}(Xt)||function R(Xt,cn){if(Xt){if("string"==typeof Xt)return L(Xt,cn);var vn=Object.prototype.toString.call(Xt).slice(8,-1);if("Object"===vn&&Xt.constructor&&(vn=Xt.constructor.name),"Map"===vn||"Set"===vn)return Array.from(Xt);if("Arguments"===vn||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vn))return L(Xt,cn)}}(Xt)||function F(){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 L(Xt,cn){(null==cn||cn>Xt.length)&&(cn=Xt.length);for(var vn=0,X=new Array(cn);vn<cn;vn++)X[vn]=Xt[vn];return X}var N=Object.hasOwnProperty,B=Object.setPrototypeOf,z=Object.isFrozen,A=Object.getPrototypeOf,M=Object.getOwnPropertyDescriptor,O=Object.freeze,V=Object.seal,W=Object.create,q=typeof Reflect<"u"&&Reflect,J=q.apply,te=q.construct;J||(J=function(cn,vn,X){return cn.apply(vn,X)}),O||(O=function(cn){return cn}),V||(V=function(cn){return cn}),te||(te=function(cn,vn){return b(cn,S(vn))});var ae=Ve(Array.prototype.forEach),re=Ve(Array.prototype.pop),oe=Ve(Array.prototype.push),se=Ve(String.prototype.toLowerCase),le=Ve(String.prototype.match),Y=Ve(String.prototype.replace),_e=Ve(String.prototype.indexOf),Qe=Ve(String.prototype.trim),We=Ve(RegExp.prototype.test),st=function at(Xt){return function(){for(var cn=arguments.length,vn=new Array(cn),X=0;X<cn;X++)vn[X]=arguments[X];return te(Xt,vn)}}(TypeError);function Ve(Xt){return function(cn){for(var vn=arguments.length,X=new Array(vn>1?vn-1:0),Nt=1;Nt<vn;Nt++)X[Nt-1]=arguments[Nt];return J(Xt,cn,X)}}function vt(Xt,cn,vn){vn=vn||se,B&&B(Xt,null);for(var X=cn.length;X--;){var Nt=cn[X];if("string"==typeof Nt){var on=vn(Nt);on!==Nt&&(z(cn)||(cn[X]=on),Nt=on)}Xt[Nt]=!0}return Xt}function Sn(Xt){var vn,cn=W(null);for(vn in Xt)J(N,Xt,[vn])&&(cn[vn]=Xt[vn]);return cn}function Ge(Xt,cn){for(;null!==Xt;){var vn=M(Xt,cn);if(vn){if(vn.get)return Ve(vn.get);if("function"==typeof vn.value)return Ve(vn.value)}Xt=A(Xt)}return function X(Nt){return console.warn("fallback value for",Nt),null}}var Wt=O(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),wt=O(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ln=O(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Yt=O(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),tn=O(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Gt=O(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),nt=O(["#text"]),jt=O(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),kn=O(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Bn=O(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Jn=O(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Pr=V(/\{\{[\w\W]*|[\w\W]*\}\}/gm),qn=V(/<%[\w\W]*|[\w\W]*%>/gm),Dr=V(/^data-[\-\w.\u00B7-\uFFFF]/),ni=V(/^aria-[\-\w]+$/),oi=V(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Gi=V(/^(?:\w+script|data):/i),Hr=V(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ft=V(/^html$/i),pe=function(){return typeof window>"u"?null:window},be=function(cn,vn){if("object"!==k(cn)||"function"!=typeof cn.createPolicy)return null;var X=null,Nt="data-tt-policy-suffix";vn.currentScript&&vn.currentScript.hasAttribute(Nt)&&(X=vn.currentScript.getAttribute(Nt));var on="dompurify"+(X?"#"+X:"");try{return cn.createPolicy(on,{createHTML:function(bn){return bn},createScriptURL:function(bn){return bn}})}catch{return console.warn("TrustedTypes policy "+on+" could not be created."),null}};return function xt(){var Xt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pe(),cn=function(pn){return xt(pn)};if(cn.version="2.3.10",cn.removed=[],!Xt||!Xt.document||9!==Xt.document.nodeType)return cn.isSupported=!1,cn;var vn=Xt.document,X=Xt.document,Nt=Xt.DocumentFragment,on=Xt.HTMLTemplateElement,An=Xt.Node,bn=Xt.Element,Fn=Xt.NodeFilter,Oe=Xt.NamedNodeMap,$t=void 0===Oe?Xt.NamedNodeMap||Xt.MozNamedAttrMap:Oe,Ht=Xt.HTMLFormElement,rt=Xt.DOMParser,ht=Xt.trustedTypes,en=bn.prototype,lt=Ge(en,"cloneNode"),At=Ge(en,"nextSibling"),tt=Ge(en,"childNodes"),Mt=Ge(en,"parentNode");if("function"==typeof on){var nn=X.createElement("template");nn.content&&nn.content.ownerDocument&&(X=nn.content.ownerDocument)}var tr=be(ht,vn),si=tr?tr.createHTML(""):"",Nr=X.implementation,Ei=X.createNodeIterator,Wi=X.createDocumentFragment,es=X.getElementsByTagName,Ms=vn.importNode,Ml={};try{Ml=Sn(X).documentMode?X.documentMode:{}}catch{}var va={};cn.isSupported="function"==typeof Mt&&Nr&&typeof Nr.createHTMLDocument<"u"&&9!==Ml;var ir,to,Oa=Pr,ya=qn,Zl=Dr,Ra=ni,Ea=Gi,ia=Hr,ol=oi,Ai=null,Bo=vt({},[].concat(S(Wt),S(wt),S(ln),S(tn),S(nt))),fi=null,Dl=vt({}
1,[].concat(S(jt),S(kn),S(Bn),S(Jn))),Cn=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Vn=null,zn=null,yn=!0,sr=!0,Ii=!1,Xr=!1,ds=!1,ws=!1,oa=!1,Ys=!1,yr=!1,ts=!1,ur=!0,pi=!0,gi=!1,Ui={},Os=null,bc=vt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),uo=null,sa=vt({},["audio","video","img","source","image","track"]),fo=null,La=vt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ku="http://www.w3.org/1998/Math/MathML",No="http://www.w3.org/2000/svg",Oi="http://www.w3.org/1999/xhtml",Tu=Oi,Yu=!1,Jl=["application/xhtml+xml","text/html"],vo="text/html",di=null,A2=X.createElement("form"),sl=function(pn){return pn instanceof RegExp||pn instanceof Function},Co=function(pn){di&&di===pn||((!pn||"object"!==k(pn))&&(pn={}),pn=Sn(pn),ir=ir=-1===Jl.indexOf(pn.PARSER_MEDIA_TYPE)?vo:pn.PARSER_MEDIA_TYPE,to="application/xhtml+xml"===ir?function(Rn){return Rn}:se,Ai="ALLOWED_TAGS"in pn?vt({},pn.ALLOWED_TAGS,to):Bo,fi="ALLOWED_ATTR"in pn?vt({},pn.ALLOWED_ATTR,to):Dl,fo="ADD_URI_SAFE_ATTR"in pn?vt(Sn(La),pn.ADD_URI_SAFE_ATTR,to):La,uo="ADD_DATA_URI_TAGS"in pn?vt(Sn(sa),pn.ADD_DATA_URI_TAGS,to):sa,Os="FORBID_CONTENTS"in pn?vt({},pn.FORBID_CONTENTS,to):bc,Vn="FORBID_TAGS"in pn?vt({},pn.FORBID_TAGS,to):{},zn="FORBID_ATTR"in pn?vt({},pn.FORBID_ATTR,to):{},Ui="USE_PROFILES"in pn&&pn.USE_PROFILES,yn=!1!==pn.ALLOW_ARIA_ATTR,sr=!1!==pn.ALLOW_DATA_ATTR,Ii=pn.ALLOW_UNKNOWN_PROTOCOLS||!1,Xr=pn.SAFE_FOR_TEMPLATES||!1,ds=pn.WHOLE_DOCUMENT||!1,Ys=pn.RETURN_DOM||!1,yr=pn.RETURN_DOM_FRAGMENT||!1,ts=pn.RETURN_TRUSTED_TYPE||!1,oa=pn.FORCE_BODY||!1,ur=!1!==pn.SANITIZE_DOM,pi=!1!==pn.KEEP_CONTENT,gi=pn.IN_PLACE||!1,ol=pn.ALLOWED_URI_REGEXP||ol,Tu=pn.NAMESPACE||Oi,pn.CUSTOM_ELEMENT_HANDLING&&sl(pn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Cn.tagNameCheck=pn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),pn.CUSTOM_ELEMENT_HANDLING&&sl(pn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Cn.attributeNameCheck=pn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),pn.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof pn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Cn.allowCustomizedBuiltInElements=pn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Xr&&(sr=!1),yr&&(Ys=!0),Ui&&(Ai=vt({},S(nt)),fi=[],!0===Ui.html&&(vt(Ai,Wt),vt(fi,jt)),!0===Ui.svg&&(vt(Ai,wt),vt(fi,kn),vt(fi,Jn)),!0===Ui.svgFilters&&(vt(Ai,ln),vt(fi,kn),vt(fi,Jn)),!0===Ui.mathMl&&(vt(Ai,tn),vt(fi,Bn),vt(fi,Jn))),pn.ADD_TAGS&&(Ai===Bo&&(Ai=Sn(Ai)),vt(Ai,pn.ADD_TAGS,to)),pn.ADD_ATTR&&(fi===Dl&&(fi=Sn(fi)),vt(fi,pn.ADD_ATTR,to)),pn.ADD_URI_SAFE_ATTR&&vt(fo,pn.ADD_URI_SAFE_ATTR,to),pn.FORBID_CONTENTS&&(Os===bc&&(Os=Sn(Os)),vt(Os,pn.FORBID_CONTENTS,to)),pi&&(Ai["#text"]=!0),ds&&vt(Ai,["html","head","body"]),Ai.table&&(vt(Ai,["tbody"]),delete Vn.tbody),O&&O(pn),di=pn)},Ks=vt({},["mi","mo","mn","ms","mtext"]),Ql=vt({},["foreignobject","desc","title","annotation-xml"]),gu=vt({},["title","style","font","a","script"]),Nc=vt({},wt);vt(Nc,ln),vt(Nc,Yt);var hi=vt({},tn);vt(hi,Gt);var qi=function(pn){var Rn=Mt(pn);(!Rn||!Rn.tagName)&&(Rn={namespaceURI:Oi,tagName:"template"});var Zr=se(pn.tagName),Yo=se(Rn.tagName);return pn.namespaceURI===No?Rn.namespaceURI===Oi?"svg"===Zr:Rn.namespaceURI===ku?"svg"===Zr&&("annotation-xml"===Yo||Ks[Yo]):Boolean(Nc[Zr]):pn.namespaceURI===ku?Rn.namespaceURI===Oi?"math"===Zr:Rn.namespaceURI===No?"math"===Zr&&Ql[Yo]:Boolean(hi[Zr]):pn.namespaceURI===Oi&&!(Rn.namespaceURI===No&&!Ql[Yo]||Rn.namespaceURI===ku&&!Ks[Yo])&&!hi[Zr]&&(gu[Zr]||!Nc[Zr])},go=function(pn){oe(cn.removed,{element:pn});try{pn.parentNode.removeChild(pn)}catch{try{pn.outerHTML=si}catch{pn.remove()}}},Cs=function(pn,Rn){try{oe(cn.removed,{attribute:Rn.getAttributeNode(pn),from:Rn})}catch{oe(cn.removed,{attribute:null,from:Rn})}if(Rn.removeAttribute(pn),"is"===pn&&!fi[pn])if(Ys||yr)try{go(Rn)}catch{}else try{Rn.setAttribute(pn,"")}catch{}},Aa=function(pn){var Rn,Zr;if(oa)pn="<remove></remove>"+pn;else{var Yo=le(pn,/^[\r\n\t ]+/);Zr=Yo&&Yo[0]}"application/xhtml+xml"===ir&&(pn='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+pn+"</body></html>");var vl=tr?tr.createHTML(pn):pn;if(Tu===Oi)try{Rn=(new rt).parseFromString(vl,ir)}catch{}if(!Rn||!Rn.documentElement){Rn=Nr.createDocument(Tu,"template",null);try{Rn.documentElement.innerHTML=Yu?"":vl}catch{}}var Ka=Rn.body||Rn.documentElement;return pn&&Zr&&Ka.insertBefore(X.createTextNode(Zr),Ka.childNodes[0]||null),Tu===Oi?es.call(Rn,ds?"html":"body")[0]:ds?Rn.documentElement:Ka},Ku=function(pn){return Ei.call(pn.ownerDocument||pn,pn,Fn.SHOW_ELEMENT|Fn.SHOW_COMMENT|Fn.SHOW_TEXT,null,!1)},Iu=function(pn){return pn instanceof Ht&&("string"!=typeof pn.nodeName||"string"!=typeof pn.textContent||"function"!=typeof pn.removeChild||!(pn.attributes instanceof $t)||"function"!=typeof pn.removeAttribute||"function"!=typeof pn.setAttribute||"string"!=typeof pn.namespaceURI||"function"!=typeof pn.insertBefore)},Ou=function(pn){return"object"===k(An)?pn instanceof An:pn&&"object"===k(pn)&&"number"==typeof pn.nodeType&&"string"==typeof pn.nodeName},Qc=function(pn,Rn,Zr){!va[pn]||ae(va[pn],function(Yo){Yo.call(cn,Rn,Zr,di)})},as=function(pn){var Rn;if(Qc("beforeSanitizeElements",pn,null),Iu(pn)||We(/[\u0080-\uFFFF]/,pn.nodeName))return go(pn),!0;var Zr=to(pn.nodeName);if(Qc("uponSanitizeElement",pn,{tagName:Zr,allowedTags:Ai}),pn.hasChildNodes()&&!Ou(pn.firstElementChild)&&(!Ou(pn.content)||!Ou(pn.content.firstElementChild))&&We(/<[/\w]/g,pn.innerHTML)&&We(/<[/\w]/g,pn.textContent)||"select"===Zr&&We(/<template/i,pn.innerHTML))return go(pn),!0;if(!Ai[Zr]||Vn[Zr]){if(!Vn[Zr]&&js(Zr)&&(Cn.tagNameCheck instanceof RegExp&&We(Cn.tagNameCheck,Zr)||Cn.tagNameCheck instanceof Function&&Cn.tagNameCheck(Zr)))return!1;if(pi&&!Os[Zr]){var Yo=Mt(pn)||pn.parentNode,vl=tt(pn)||pn.childNodes;if(vl&&Yo)for(var ea=vl.length-1;ea>=0;--ea)Yo.insertBefore(lt(vl[ea],!0),At(pn))}return go(pn),!0}return pn instanceof bn&&!qi(pn)||("noscript"===Zr||"noembed"===Zr)&&We(/<\/no(script|embed)/i,pn.innerHTML)?(go(pn),!0):(Xr&&3===pn.nodeType&&(Rn=Y(Rn=pn.textContent,Oa," "),Rn=Y(Rn,ya," "),pn.textContent!==Rn&&(oe(cn.removed,{element:pn.cloneNode()}),pn.textContent=Rn)),Qc("afterSanitizeElements",pn,null),!1)},Ds=function(pn,Rn,Zr){if(ur&&("id"===Rn||"name"===Rn)&&(Zr in X||Zr in A2))return!1;
1if((!sr||zn[Rn]||!We(Zl,Rn))&&(!yn||!We(Ra,Rn)))if(!fi[Rn]||zn[Rn]){if(!(js(pn)&&(Cn.tagNameCheck instanceof RegExp&&We(Cn.tagNameCheck,pn)||Cn.tagNameCheck instanceof Function&&Cn.tagNameCheck(pn))&&(Cn.attributeNameCheck instanceof RegExp&&We(Cn.attributeNameCheck,Rn)||Cn.attributeNameCheck instanceof Function&&Cn.attributeNameCheck(Rn))||"is"===Rn&&Cn.allowCustomizedBuiltInElements&&(Cn.tagNameCheck instanceof RegExp&&We(Cn.tagNameCheck,Zr)||Cn.tagNameCheck instanceof Function&&Cn.tagNameCheck(Zr))))return!1}else if(!fo[Rn]&&!We(ol,Y(Zr,ia,""))&&("src"!==Rn&&"xlink:href"!==Rn&&"href"!==Rn||"script"===pn||0!==_e(Zr,"data:")||!uo[pn])&&(!Ii||We(Ea,Y(Zr,ia,"")))&&Zr)return!1;return!0},js=function(pn){return pn.indexOf("-")>0},K1=function(pn){var Rn,Zr,Yo,vl;Qc("beforeSanitizeAttributes",pn,null);var Ka=pn.attributes;if(Ka){var ea={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:fi};for(vl=Ka.length;vl--;){var yl=(Rn=Ka[vl]).name,M2=Rn.namespaceURI;if(Zr="value"===yl?Rn.value:Qe(Rn.value),Yo=to(yl),ea.attrName=Yo,ea.attrValue=Zr,ea.keepAttr=!0,ea.forceKeepAttr=void 0,Qc("uponSanitizeAttribute",pn,ea),Zr=ea.attrValue,!ea.forceKeepAttr&&(Cs(yl,pn),ea.keepAttr)){if(We(/\/>/i,Zr)){Cs(yl,pn);continue}Xr&&(Zr=Y(Zr,Oa," "),Zr=Y(Zr,ya," "));var D2=to(pn.nodeName);if(Ds(D2,Yo,Zr)){if(tr&&"object"===k(ht)&&"function"==typeof ht.getAttributeType&&!M2)switch(ht.getAttributeType(D2,Yo)){case"TrustedHTML":Zr=tr.createHTML(Zr);break;case"TrustedScriptURL":Zr=tr.createScriptURL(Zr)}try{M2?pn.setAttributeNS(M2,yl,Zr):pn.setAttribute(yl,Zr),re(cn.removed)}catch{}}}}Qc("afterSanitizeAttributes",pn,null)}},_h=function un(pn){var Rn,Zr=Ku(pn);for(Qc("beforeSanitizeShadowDOM",pn,null);Rn=Zr.nextNode();)Qc("uponSanitizeShadowNode",Rn,null),!as(Rn)&&(Rn.content instanceof Nt&&un(Rn.content),K1(Rn));Qc("afterSanitizeShadowDOM",pn,null)};return cn.sanitize=function(un,pn){var Rn,Zr,Yo,vl,Ka;if((Yu=!un)&&(un="\x3c!--\x3e"),"string"!=typeof un&&!Ou(un)){if("function"!=typeof un.toString)throw st("toString is not a function");if("string"!=typeof(un=un.toString()))throw st("dirty is not a string, aborting")}if(!cn.isSupported){if("object"===k(Xt.toStaticHTML)||"function"==typeof Xt.toStaticHTML){if("string"==typeof un)return Xt.toStaticHTML(un);if(Ou(un))return Xt.toStaticHTML(un.outerHTML)}return un}if(ws||Co(pn),cn.removed=[],"string"==typeof un&&(gi=!1),gi){if(un.nodeName){var ea=to(un.nodeName);if(!Ai[ea]||Vn[ea])throw st("root node is forbidden and cannot be sanitized in-place")}}else if(un instanceof An)1===(Zr=(Rn=Aa("\x3c!----\x3e")).ownerDocument.importNode(un,!0)).nodeType&&"BODY"===Zr.nodeName||"HTML"===Zr.nodeName?Rn=Zr:Rn.appendChild(Zr);else{if(!Ys&&!Xr&&!ds&&-1===un.indexOf("<"))return tr&&ts?tr.createHTML(un):un;if(!(Rn=Aa(un)))return Ys?null:ts?si:""}Rn&&oa&&go(Rn.firstChild);for(var Df=Ku(gi?un:Rn);Yo=Df.nextNode();)3===Yo.nodeType&&Yo===vl||as(Yo)||(Yo.content instanceof Nt&&_h(Yo.content),K1(Yo),vl=Yo);if(vl=null,gi)return un;if(Ys){if(yr)for(Ka=Wi.call(Rn.ownerDocument);Rn.firstChild;)Ka.appendChild(Rn.firstChild);else Ka=Rn;return fi.shadowroot&&(Ka=Ms.call(vn,Ka,!0)),Ka}var yl=ds?Rn.outerHTML:Rn.innerHTML;return ds&&Ai["!doctype"]&&Rn.ownerDocument&&Rn.ownerDocument.doctype&&Rn.ownerDocument.doctype.name&&We(ft,Rn.ownerDocument.doctype.name)&&(yl="<!DOCTYPE "+Rn.ownerDocument.doctype.name+">\n"+yl),Xr&&(yl=Y(yl,Oa," "),yl=Y(yl,ya," ")),tr&&ts?tr.createHTML(yl):yl},cn.setConfig=function(un){Co(un),ws=!0},cn.clearConfig=function(){di=null,ws=!1},cn.isValidAttribute=function(un,pn,Rn){di||Co({});var Zr=to(un),Yo=to(pn);return Ds(Zr,Yo,Rn)},cn.addHook=function(un,pn){"function"==typeof pn&&(va[un]=va[un]||[],oe(va[un],pn))},cn.removeHook=function(un){if(va[un])return re(va[un])},cn.removeHooks=function(un){va[un]&&(va[un]=[])},cn.removeAllHooks=function(){va={}},cn}()}()},62302:_=>{"use strict";class k{constructor(b,S){this.low=b,this.high=S,this.length=1+S-b}overlaps(b){return!(this.high<b.low||this.low>b.high)}touches(b){return!(this.high+1<b.low||this.low-1>b.high)}add(b){return new k(Math.min(this.low,b.low),Math.max(this.high,b.high))}subtract(b){return b.low<=this.low&&b.high>=this.high?[]:b.low>this.low&&b.high<this.high?[new k(this.low,b.low-1),new k(b.high+1,this.high)]:b.low<=this.low?[new k(b.high+1,this.high)]:[new k(this.low,b.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class c{constructor(b,S){this.ranges=[],this.length=0,null!=b&&this.add(b,S)}_update_length(){this.length=this.ranges.reduce((b,S)=>b+S.length,0)}add(b,S){var C=w=>{for(var R=0;R<this.ranges.length&&!w.touches(this.ranges[R]);)R++;for(var L=this.ranges.slice(0,R);R<this.ranges.length&&w.touches(this.ranges[R]);)w=w.add(this.ranges[R]),R++;L.push(w),this.ranges=L.concat(this.ranges.slice(R)),this._update_length()};
1return b instanceof c?b.ranges.forEach(C):(null==S&&(S=b),C(new k(b,S))),this}subtract(b,S){var C=w=>{for(var R=0;R<this.ranges.length&&!w.overlaps(this.ranges[R]);)R++;for(var L=this.ranges.slice(0,R);R<this.ranges.length&&w.overlaps(this.ranges[R]);)L=L.concat(this.ranges[R].subtract(w)),R++;this.ranges=L.concat(this.ranges.slice(R)),this._update_length()};return b instanceof c?b.ranges.forEach(C):(null==S&&(S=b),C(new k(b,S))),this}intersect(b,S){var C=[],w=R=>{for(var L=0;L<this.ranges.length&&!R.overlaps(this.ranges[L]);)L++;for(;L<this.ranges.length&&R.overlaps(this.ranges[L]);){var F=Math.max(this.ranges[L].low,R.low),N=Math.min(this.ranges[L].high,R.high);C.push(new k(F,N)),L++}};return b instanceof c?b.ranges.forEach(w):(null==S&&(S=b),w(new k(b,S))),this.ranges=C,this._update_length(),this}index(b){for(var S=0;S<this.ranges.length&&this.ranges[S].length<=b;)b-=this.ranges[S].length,S++;return this.ranges[S].low+b}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new c(this)}numbers(){return this.ranges.reduce((b,S)=>{for(var C=S.low;C<=S.high;)b.push(C),C++;return b},[])}subranges(){return this.ranges.map(b=>({low:b.low,high:b.high,length:1+b.high-b.low}))}}_.exports=c},37797:function(_){_.exports=function(k){var c={};function g(b){if(c[b])return c[b].exports;var S=c[b]={exports:{},id:b,loaded:!1};return k[b].call(S.exports,S,S.exports,g),S.loaded=!0,S.exports}return g.m=k,g.c=c,g.p="",g(0)}([function(k,c,g){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var b=g(1),S=g(3),C=g(8),w=g(15);function R(z,A,M){var O=null,V=function(se,le){M&&M(se,le),O&&O.visit(se,le)},W="function"==typeof M?V:null,q=!1;if(A){var J="boolean"==typeof A.attachComment&&A.attachComment;((q="boolean"==typeof A.comment&&A.comment)||J)&&((O=new b.CommentHandler).attach=J,A.comment=!0,W=V)}var ae,te=!1;A&&"string"==typeof A.sourceType&&(te="module"===A.sourceType),ae=A&&"boolean"==typeof A.jsx&&A.jsx?new S.JSXParser(z,A,W):new C.Parser(z,A,W);var oe=te?ae.parseModule():ae.parseScript();return q&&O&&(oe.comments=O.comments),ae.config.tokens&&(oe.tokens=ae.tokens),ae.config.tolerant&&(oe.errors=ae.errorHandler.errors),oe}c.parse=R,c.parseModule=function L(z,A,M){var O=A||{};return O.sourceType="module",R(z,O,M)},c.parseScript=function F(z,A,M){var O=A||{};return O.sourceType="script",R(z,O,M)},c.tokenize=function N(z,A,M){var V,O=new w.Tokenizer(z,A);V=[];try{for(;;){var W=O.getNextToken();if(!W)break;M&&(W=M(W)),V.push(W)}}catch(q){O.errorHandler.tolerate(q)}return O.errorHandler.tolerant&&(V.errors=O.errors()),V};var B=g(2);c.Syntax=B.Syntax,c.version="4.0.1"},function(k,c,g){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var b=g(2),S=function(){function C(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return C.prototype.insertInnerComments=function(w,R){if(w.type===b.Syntax.BlockStatement&&0===w.body.length){for(var L=[],F=this.leading.length-1;F>=0;--F){var N=this.leading[F];R.end.offset>=N.start&&(L.unshift(N.comment),this.leading.splice(F,1),this.trailing.splice(F,1))}L.length&&(w.innerComments=L)}},C.prototype.findTrailingComments=function(w){var R=[];if(this.trailing.length>0){for(var L=this.trailing.length-1;L>=0;--L){var F=this.trailing[L];F.start>=w.end.offset&&R.unshift(F.comment)}return this.trailing.length=0,R}var N=this.stack[this.stack.length-1];if(N&&N.node.trailingComments){var B=N.node.trailingComments[0];B&&B.range[0]>=w.end.offset&&(R=N.node.trailingComments,delete N.node.trailingComments)}return R},C.prototype.findLeadingComments=function(w){for(var L,R=[];this.stack.length>0&&(F=this.stack[this.stack.length-1])&&F.start>=w.start.offset;)L=F.node,this.stack.pop();if(L){for(var B=(L.leadingComments?L.leadingComments.length:0)-1;B>=0;--B){var z=L.leadingComments[B];z.range[1]<=w.start.offset&&(R.unshift(z),L.leadingComments.splice(B,1))}return L.leadingComments&&0===L.leadingComments.length&&delete L.leadingComments,R}for(B=this.leading.length-1;B>=0;--B){var F;(F=this.leading[B]).start<=w.start.offset&&(R.unshift(F.comment),this.leading.splice(B,1))}return R},C.prototype.visitNode=function(w,R){if(!(w.type===b.Syntax.Program&&w.body.length>0)){this.insertInnerComments(w,R);var L=this.findTrailingComments(R),F=this.findLeadingComments(R);F.length>0&&(w.leadingComments=F),L.length>0&&(w.trailingComments=L),this.stack.push({node:w,start:R.start.offset})}}
vendor: 15,470 bytes, line 1
1,C.prototype.visitComment=function(w,R){var L="L"===w.type[0]?"Line":"Block",F={type:L,value:w.value};if(w.range&&(F.range=w.range),w.loc&&(F.loc=w.loc),this.comments.push(F),this.attach){var N={comment:{type:L,value:w.value,range:[R.start.offset,R.end.offset]},start:R.start.offset};w.loc&&(N.comment.loc=w.loc),w.type=L,this.leading.push(N),this.trailing.push(N)}},C.prototype.visit=function(w,R){"LineComment"===w.type||"BlockComment"===w.type?this.visitComment(w,R):this.attach&&this.visitNode(w,R)},C}();c.CommentHandler=S},function(k,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(k,c,g){"use strict";var A,b=this&&this.__extends||(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,O){M.__proto__=O}||function(M,O){for(var V in O)O.hasOwnProperty(V)&&(M[V]=O[V])},function(M,O){function V(){this.constructor=M}A(M,O),M.prototype=null===O?Object.create(O):(V.prototype=O.prototype,new V)});Object.defineProperty(c,"__esModule",{value:!0});var S=g(4),C=g(5),w=g(6),R=g(7),L=g(8),F=g(13),N=g(14);function B(A){var M;switch(A.type){case w.JSXSyntax.JSXIdentifier:M=A.name;break;case w.JSXSyntax.JSXNamespacedName:var V=A;M=B(V.namespace)+":"+B(V.name);break;case w.JSXSyntax.JSXMemberExpression:var W=A;M=B(W.object)+"."+B(W.property)}return M}F.TokenName[100]="JSXIdentifier",F.TokenName[101]="JSXText";var z=function(A){function M(O,V,W){return A.call(this,O,V,W)||this}return b(M,A),M.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():A.prototype.parsePrimaryExpression.call(this)},M.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},M.prototype.finishJSX=function(){this.nextToken()},M.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},M.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},M.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},M.prototype.scanXHTMLEntity=function(O){for(var V="&",W=!0,q=!1,J=!1,te=!1;!this.scanner.eof()&&W&&!q;){var ae=this.scanner.source[this.scanner.index];if(ae===O)break;if(q=";"===ae,V+=ae,++this.scanner.index,!q)switch(V.length){case 2:J="#"===ae;break;case 3:J&&(W=(te="x"===ae)||S.Character.isDecimalDigit(ae.charCodeAt(0)),J=J&&!te);break;default:W=(W=W&&!(J&&!S.Character.isDecimalDigit(ae.charCodeAt(0))))&&!(te&&!S.Character.isHexDigit(ae.charCodeAt(0)))}}if(W&&q&&V.length>2){var re=V.substr(1,V.length-2);J&&re.length>1?V=String.fromCharCode(parseInt(re.substr(1),10)):te&&re.length>2?V=String.fromCharCode(parseInt("0"+re.substr(1),16)):!J&&!te&&N.XHTMLEntities[re]&&(V=N.XHTMLEntities[re])}return V},M.prototype.lexJSX=function(){var O=this.scanner.source.charCodeAt(this.scanner.index);if(60===O||62===O||47===O||58===O||61===O||123===O||125===O)return{type:7,value:V=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(34===O||39===O){for(var W=this.scanner.index,q=this.scanner.source[this.scanner.index++],J="";!this.scanner.eof()&&(te=this.scanner.source[this.scanner.index++])!==q;)J+="&"===te?this.scanXHTMLEntity(q):te;return{type:8,value:J,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:W,end:this.scanner.index}}if(46===O){var V,ae=this.scanner.source.charCodeAt(this.scanner.index+1),re=this.scanner.source.charCodeAt(this.scanner.index+2);return W=this.scanner.index,this.scanner.index+=(V=46===ae&&46===re?"...":".").length,{type:7,value:V,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:W,end:this.scanner.index}}if(96===O)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(S.Character.isIdentifierStart(O)&&92!==O){for(W=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var te=this.scanner.source.charCodeAt(this.scanner.index);if(S.Character.isIdentifierPart(te)&&92!==te)++this.scanner.index;else{if(45!==te)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(W,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:W,end:this.scanner.index}}return this.scanner.lex()},M.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var O=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(O)),O},M.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var O=this.scanner.index,V="";!this.scanner.eof();){var W=this.scanner.source[this.scanner.index];if("{"===W||"<"===W)break;++this.scanner.index,V+=W,S.Character.isLineTerminator(W.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===W&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var q={type:101,value:V,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:O,end:this.scanner.index};return V.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(q)),q},M.prototype.peekJSXToken=function(){var O=this.scanner.saveState();this.scanner.scanComments();var V=this.lexJSX();return this.scanner.restoreState(O),V},M.prototype.expectJSX=function(O){var V=this.nextJSXToken();(7!==V.type||V.value!==O)&&this.throwUnexpectedToken(V)},M.prototype.matchJSX=function(O){var V=this.peekJSXToken();return 7===V.type&&V.value===O},M.prototype.parseJSXIdentifier=function(){var O=this.createJSXNode(),V=this.nextJSXToken();return 100!==V.type&&this.throwUnexpectedToken(V),this.finalize(O,new C.JSXIdentifier(V.value))},M.prototype.parseJSXElementName=function(){var O=this.createJSXNode(),V=this.parseJSXIdentifier();if(this.matchJSX(":")){var W=V;this.expectJSX(":");var q=this.parseJSXIdentifier();V=this.finalize(O,new C.JSXNamespacedName(W,q))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var J=V;this.expectJSX(".");var te=this.parseJSXIdentifier();V=this.finalize(O,new C.JSXMemberExpression(J,te))}return V},M.prototype.parseJSXAttributeName=function(){var V,O=this.createJSXNode(),W=this.parseJSXIdentifier();if(this.matchJSX(":")){var q=W;this.expectJSX(":");var J=this.parseJSXIdentifier();V=this.finalize(O,new C.JSXNamespacedName(q,J))}else V=W;return V},M.prototype.parseJSXStringLiteralAttribute=function(){var O=this.createJSXNode(),V=this.nextJSXToken();8!==V.type&&this.throwUnexpectedToken(V);var W=this.getTokenRaw(V);return this.finalize(O,new R.Literal(V.value,W))},M.prototype.parseJSXExpressionAttribute=function(){var O=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var V=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(O,new C.JSXExpressionContainer(V))},M.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},M.prototype.parseJSXNameValueAttribute=function(){var O=this.createJSXNode(),V=this.parseJSXAttributeName(),W=null;return this.matchJSX("=")&&(this.expectJSX("="),W=this.parseJSXAttributeValue()),this.finalize(O,new C.JSXAttribute(V,W))},M.prototype.parseJSXSpreadAttribute=function(){var O=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var V=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(O,new C.JSXSpreadAttribute(V))},M.prototype.parseJSXAttributes=function(){for(var O=[];!this.matchJSX("/")&&!this.matchJSX(">");){var V=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();O.push(V)}return O},M.prototype.parseJSXOpeningElement=function(){var O=this.createJSXNode();this.expectJSX("<");var V=this.parseJSXElementName(),W=this.parseJSXAttributes(),q=this.matchJSX("/");return q&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(O,new C.JSXOpeningElement(V,q,W))},M.prototype.parseJSXBoundaryElement=function(){var O=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var V=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(O,new C.JSXClosingElement(V))}var W=this.parseJSXElementName(),q=this.parseJSXAttributes(),J=this.matchJSX("/");return J&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(O,new C.JSXOpeningElement(W,J,q))},M.prototype.parseJSXEmptyExpression=function(){var O=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(O,new C.JSXEmptyExpression)},M.prototype.parseJSXExpressionContainer=function(){var V,O=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(V=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),V=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(O,new C.JSXExpressionContainer(V))},M.prototype.parseJSXChildren=function(){for(var O=[];!this.scanner.eof();){var V=this.createJSXChildNode(),W=this.nextJSXText();if(W.start<W.end){var q=this.getTokenRaw(W),J=this.finalize(V,new C.JSXText(W.value,q));O.push(J)}if("{"!==this.scanner.source[this.scanner.index])break;var te=this.parseJSXExpressionContainer();O.push(te)}return O},M.prototype.parseComplexJSXElement=function(O){for(var V=[];!this.scanner.eof();){O.children=O.children.concat(this.parseJSXChildren());var W=this.createJSXChildNode(),q=this.parseJSXBoundaryElement();if(q.type===w.JSXSyntax.JSXOpeningElement){var J=q;if(J.selfClosing){var te=this.finalize(W,new C.JSXElement(J,[],null));O.children.push(te)}else V.push(O),O={node:W,opening:J,closing:null,children:[]}}if(q.type===w.JSXSyntax.JSXClosingElement){O.closing=q;var ae=B(O.opening.name);if(ae!==B(O.closing.name)&&this.tolerateError("Expected corresponding JSX closing tag for %0",ae),!(V.length>0))break;te=this.finalize(O.node,new C.JSXElement(O.opening,O.children,O.closing)),(O=V[V.length-1]).children.push(te),V.pop()}}return O},M.prototype.parseJSXElement=function(){var O=this.createJSXNode(),V=this.parseJSXOpeningElement(),W=[],q=null;if(!V.selfClosing){var J=this.parseComplexJSXElement({node:O,opening:V,closing:q,children:W});W=J.children,q=J.closing}return this.finalize(O,new C.JSXElement(V,W,q))},M.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var O=this.parseJSXElement();return this.finishJSX(),O},M.prototype.isStartOfExpression=function(){return A.prototype.isStartOfExpression.call(this)||this.match("<")},M}(L.Parser);c.JSXParser=z},function(k,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var g={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
1D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};c.Character={fromCodePoint:function(b){return b<65536?String.fromCharCode(b):String.fromCharCode(55296+(b-65536>>10))+String.fromCharCode(56320+(b-65536&1023))},isWhiteSpace:function(b){return 32===b||9===b||11===b||12===b||160===b||b>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(b)>=0},isLineTerminator:function(b){return 10===b||13===b||8232===b||8233===b},isIdentifierStart:function(b){return 36===b||95===b||b>=65&&b<=90||b>=97&&b<=122||92===b||b>=128&&g.NonAsciiIdentifierStart.test(c.Character.fromCodePoint(b))},isIdentifierPart:function(b){return 36===b||95===b||b>=65&&b<=90||b>=97&&b<=122||b>=48&&b<=57||92===b||b>=128&&g.NonAsciiIdentifierPart.test(c.Character.fromCodePoint(b))},isDecimalDigit:function(b){return b>=48&&b<=57},isHexDigit:function(b){return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102},isOctalDigit:function(b){return b>=48&&b<=55}}},function(k,c,g){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var b=g(6);c.JSXClosingElement=function O(V){this.type=b.JSXSyntax.JSXClosingElement,this.name=V},c.JSXElement=function O(V,W,q){this.type=b.JSXSyntax.JSXElement,this.openingElement=V,this.children=W,this.closingElement=q},c.JSXEmptyExpression=function O(){this.type=b.JSXSyntax.JSXEmptyExpression},c.JSXExpressionContainer=function O(V){this.type=b.JSXSyntax.JSXExpressionContainer,this.expression=V},c.JSXIdentifier=function O(V){this.type=b.JSXSyntax.JSXIdentifier,this.name=V},c.JSXMemberExpression=function O(V,W){this.type=b.JSXSyntax.JSXMemberExpression,this.object=V,this.property=W},c.JSXAttribute=function O(V,W){this.type=b.JSXSyntax.JSXAttribute,this.name=V,this.value=W},c.JSXNamespacedName=function O(V,W){this.type=b.JSXSyntax.JSXNamespacedName,this.namespace=V,this.name=W},c.JSXOpeningElement=function O(V,W,q){this.type=b.JSXSyntax.JSXOpeningElement,this.name=V,this.selfClosing=W,this.attributes=q},c.JSXSpreadAttribute=function O(V){this.type=b.JSXSyntax.JSXSpreadAttribute,this.argument=V},c.JSXText=function O(V,W){this.type=b.JSXSyntax.JSXText,this.value=V,this.raw=W}},function(k,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(k,c,g){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var b=g(2);c.ArrayExpression=function tt(Mt){this.type=b.Syntax.ArrayExpression,this.elements=Mt},c.ArrayPattern=function tt(Mt){this.type=b.Syntax.ArrayPattern,this.elements=Mt},c.ArrowFunctionExpression=function tt(Mt,nn,tr){this.type=b.Syntax.ArrowFunctionExpression,this.id=null,this.params=Mt,this.body=nn,this.generator=!1,this.expression=tr,this.async=!1},c.AssignmentExpression=function tt(Mt,nn,tr){this.type=b.Syntax.AssignmentExpression,this.operator=Mt,this.left=nn,this.right=tr},c.AssignmentPattern=function tt(Mt,nn){this.type=b.Syntax.AssignmentPattern,this.left=Mt,this.right=nn},c.AsyncArrowFunctionExpression=function tt(Mt,nn,tr){this.type=b.Syntax.ArrowFunctionExpression,this.id=null,this.params=Mt,this.body=nn,this.generator=!1,this.expression=tr,this.async=!0},c.AsyncFunctionDeclaration=function tt(Mt,nn,tr){this.type=b.Syntax.FunctionDeclaration,this.id=Mt,this.params=nn,this.body=tr,this.generator=!1,this.expression=!1,this.async=!0},c.AsyncFunctionExpression=function tt(Mt,nn,tr){this.type=b.Syntax.FunctionExpression,this.id=Mt,this.params=nn,this.body=tr,this.generator=!1,this.expression=!1,this.async=!0},c.AwaitExpression=function tt(Mt){this.type=b.Syntax.AwaitExpression,this.argument=Mt},c.BinaryExpression=function tt(Mt,nn,tr){this.type="||"===Mt||"&&"===Mt?b.Syntax.LogicalExpression:b.Syntax.BinaryExpression,this.operator=Mt,this.left=nn,this.right=tr},c.BlockStatement=function tt(Mt){this.type=b.Syntax.BlockStatement,this.body=Mt},c.BreakStatement=function tt(Mt){this.type=b.Syntax.BreakStatement,this.label=Mt},c.CallExpression=function tt(Mt,nn){this.type=b.Syntax.CallExpression,this.callee=Mt,this.arguments=nn},c.CatchClause=function tt(Mt,nn){this.type=b.Syntax.CatchClause,this.param=Mt,this.body=nn},c.ClassBody=function tt(Mt){this.type=b.Syntax.ClassBody,this.body=Mt},c.ClassDeclaration=function tt(Mt,nn,tr){this.type=b.Syntax.ClassDeclaration,this.id=Mt,this.superClass=nn,this.body=tr},c.ClassExpression=function tt(Mt,nn,tr){this.type=b.Syntax.ClassExpression,this.id=Mt,this.superClass=nn,this.body=tr},c.ComputedMemberExpression=function tt(Mt,nn){this.type=b.Syntax.MemberExpression,this.computed=!0,this.object=Mt,this.property=nn},c.ConditionalExpression=function tt(Mt,nn,tr){this.type=b.Syntax.ConditionalExpression,this.test=Mt,this.consequent=nn,this.alternate=tr},c.ContinueStatement=function tt(Mt){this.type=b.Syntax.ContinueStatement,this.label=Mt},c.DebuggerStatement=function tt(){this.type=b.Syntax.DebuggerStatement},c.Directive=function tt(Mt,nn){this.type=b.Syntax.ExpressionStatement,this.expression=Mt,this.directive=nn},c.DoWhileStatement=function tt(Mt,nn){this.type=b.Syntax.DoWhileStatement,this.body=Mt,this.test=nn},c.EmptyStatement=function tt(){this.type=b.Syntax.EmptyStatement},c.ExportAllDeclaration=function tt(Mt){this.type=b.Syntax.ExportAllDeclaration,this.source=Mt},c.ExportDefaultDeclaration=function tt(Mt){this.type=b.Syntax.ExportDefaultDeclaration,this.declaration=Mt},c.ExportNamedDeclaration=function tt(Mt,nn,tr){this.type=b.Syntax.ExportNamedDeclaration,this.declaration=Mt,this.specifiers=nn,this.source=tr},c.ExportSpecifier=function tt(Mt,nn){this.type=b.Syntax.ExportSpecifier,this.exported=nn,this.local=Mt},c.ExpressionStatement=function tt(Mt){this.type=b.Syntax.ExpressionStatement,this.expression=Mt},c.ForInStatement=function tt(Mt,nn,tr){this.type=b.Syntax.ForInStatement,this.left=Mt,this.right=nn,this.body=tr,this.each=!1},c.ForOfStatement=function tt(Mt,nn,tr){this.type=b.Syntax.ForOfStatement,this.left=Mt,this.right=nn,this.body=tr},c.ForStatement=function tt(Mt,nn,tr,si){this.type=b.Syntax.ForStatement,this.init=Mt,this.test=nn,this.update=tr,this.body=si},c.FunctionDeclaration=function tt(Mt,nn,tr,si){this.type=b.Syntax.FunctionDeclaration,this.id=Mt,this.params=nn,this.body=tr,this.generator=si,this.expression=!1,this.async=!1},c.FunctionExpression=function tt(Mt,nn,tr,si){this.type=b.Syntax.FunctionExpression,this.id=Mt,this.params=nn,this.body=tr,this.generator=si,this.expression=!1,this.async=!1},c.Identifier=function tt(Mt){this.type=b.Syntax.Identifier,this.name=Mt},c.IfStatement=function tt(Mt,nn,tr){this.type=b.Syntax.IfStatement,this.test=Mt,this.consequent=nn,this.alternate=tr},c.ImportDeclaration=function tt(Mt,nn){this.type=b.Syntax.ImportDeclaration,this.specifiers=Mt,this.source=nn},c.ImportDefaultSpecifier=function tt(Mt){this.type=b.Syntax.ImportDefaultSpecifier,this.local=Mt},c.ImportNamespaceSpecifier=function tt(Mt){this.type=b.Syntax.ImportNamespaceSpecifier,this.local=Mt},c.ImportSpecifier=function tt(Mt,nn){this.type=b.Syntax.ImportSpecifier,this.local=Mt,this.imported=nn},c.LabeledStatement=function tt(Mt,nn){this.type=b.Syntax.LabeledStatement,this.label=Mt,this.body=nn},c.Literal=function tt(Mt,nn){this.type=b.Syntax.Literal,this.value=Mt,this.raw=nn},c.MetaProperty=function tt(Mt,nn){this.type=b.Syntax.MetaProperty,this.meta=Mt,this.property=nn},c.MethodDefinition=function tt(Mt,nn,tr,si,Lr){this.type=b.Syntax.MethodDefinition,this.key=Mt,this.computed=nn,this.value=tr,this.kind=si,this.static=Lr},c.Module=function tt(Mt){this.type=b.Syntax.Program,this.body=Mt,this.sourceType="module"},c.NewExpression=function tt(Mt,nn){this.type=b.Syntax.NewExpression,this.callee=Mt,this.arguments=nn},c.ObjectExpression=function tt(Mt){this.type=b.Syntax.ObjectExpression,this.properties=Mt},c.ObjectPattern=function tt(Mt){this.type=b.Syntax.ObjectPattern,this.properties=Mt},c.Property=function tt(Mt,nn,tr,si,Lr,Nr){this.type=b.Syntax.Property,this.key=nn,this.computed=tr,this.value=si,this.kind=Mt,this.method=Lr,this.shorthand=Nr},c.RegexLiteral=function tt(Mt,nn,tr,si){this.type=b.Syntax.Literal,this.value=Mt,this.raw=nn,this.regex={pattern:tr,flags:si}},c.RestElement=function tt(Mt){this.type=b.Syntax.RestElement,this.argument=Mt},c.ReturnStatement=function tt(Mt){this.type=b.Syntax.ReturnStatement,this.argument=Mt},c.Script=function tt(Mt){this.type=b.Syntax.Program,this.body=Mt,this.sourceType="script"},c.SequenceExpression=function tt(Mt){this.type=b.Syntax.SequenceExpression,this.expressions=Mt},c.SpreadElement=function tt(Mt){this.type=b.Syntax.SpreadElement,this.argument=Mt},c.StaticMemberExpression=function tt(Mt,nn){this.type=b.Syntax.MemberExpression,this.computed=!1,this.object=Mt,this.property=nn},c.Super=function tt(){this.type=b.Syntax.Super},c.SwitchCase=function tt(Mt,nn){this.type=b.Syntax.SwitchCase,this.test=Mt,this.consequent=nn},c.SwitchStatement=function tt(Mt,nn){this.type=b.Syntax.SwitchStatement,this.discriminant=Mt,this.cases=nn},c.TaggedTemplateExpression=function tt(Mt,nn){this.type=b.Syntax.TaggedTemplateExpression,this.tag=Mt,this.quasi=nn},c.TemplateElement=function tt(Mt,nn){this.type=b.Syntax.TemplateElement,this.value=Mt,this.tail=nn},c.TemplateLiteral=function tt(Mt,nn){this.type=b.Syntax.TemplateLiteral,this.quasis=Mt,this.expressions=nn},c.ThisExpression=function tt(){this.type=b.Syntax.ThisExpression},c.ThrowStatement=function tt(Mt){this.type=b.Syntax.ThrowStatement,this.argument=Mt},c.TryStatement=function tt(Mt,nn,tr){this.type=b.Syntax.TryStatement,this.block=Mt,this.handler=nn,this.finalizer=tr},c.UnaryExpression=function tt(Mt,nn){this.type=b.Syntax.UnaryExpression,this.operator=Mt,this.argument=nn,this.prefix=!0},c.UpdateExpression=function tt(Mt,nn,tr){this.type=b.Syntax.UpdateExpression,this.operator=Mt,this.argument=nn,this.prefix=tr},c.VariableDeclaration=function tt(Mt,nn){this.type=b.Syntax.VariableDeclaration,this.declarations=Mt,this.kind=nn},c.VariableDeclarator=function tt(Mt,nn){this.type=b.Syntax.VariableDeclarator,this.id=Mt,this.init=nn},c.WhileStatement=function tt(Mt,nn){this.type=b.Syntax.WhileStatement,this.test=Mt,this.body=nn},c.WithStatement=function tt(Mt,nn){this.type=b.Syntax.WithStatement,this.object=Mt,this.body=nn},c.YieldExpression=function tt(Mt,nn){this.type=b.Syntax.YieldExpression,this.argument=Mt,this.delegate=nn}},function(k,c,g){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var b=g(9),S=g(10),C=g(11),w=g(7),R=g(12),L=g(2),F=g(13),N="ArrowParameterPlaceHolder",B=function(){function z(A,M,O){void 0===M&&(M={}),this.config={range:"boolean"==typeof M.range&&M.range,loc:"boolean"==typeof M.loc&&M.loc,source:null,tokens:"boolean"==typeof M.tokens&&M.tokens,comment:"boolean"==typeof M.comment&&M.comment,tolerant:"boolean"==typeof M.tolerant&&M.tolerant},this.config.loc&&M.source&&null!==M.source&&(this.config.source=String(M.source)),this.delegate=O,this.errorHandler=new S.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new R.Scanner(A,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return z.prototype.throwError=function(A){for(var M=[],O=1;O<arguments.length;O++)M[O-1]=arguments[O];
1var V=Array.prototype.slice.call(arguments,1),W=A.replace(/%(\d)/g,function(ae,re){return b.assert(re<V.length,"Message reference must be in range"),V[re]});throw this.errorHandler.createError(this.lastMarker.index,this.lastMarker.line,this.lastMarker.column+1,W)},z.prototype.tolerateError=function(A){for(var M=[],O=1;O<arguments.length;O++)M[O-1]=arguments[O];var V=Array.prototype.slice.call(arguments,1),W=A.replace(/%(\d)/g,function(ae,re){return b.assert(re<V.length,"Message reference must be in range"),V[re]});this.errorHandler.tolerateError(this.lastMarker.index,this.scanner.lineNumber,this.lastMarker.column+1,W)},z.prototype.unexpectedTokenError=function(A,M){var V,O=M||C.Messages.UnexpectedToken;return A?(M||(O=2===A.type?C.Messages.UnexpectedEOS:3===A.type?C.Messages.UnexpectedIdentifier:6===A.type?C.Messages.UnexpectedNumber:8===A.type?C.Messages.UnexpectedString:10===A.type?C.Messages.UnexpectedTemplate:C.Messages.UnexpectedToken,4===A.type&&(this.scanner.isFutureReservedWord(A.value)?O=C.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(A.value)&&(O=C.Messages.StrictReservedWord))),V=A.value):V="ILLEGAL",O=O.replace("%0",V),A&&"number"==typeof A.lineNumber?this.errorHandler.createError(A.start,A.lineNumber,A.start-(this.lastMarker.index-this.lastMarker.column)+1,O):this.errorHandler.createError(this.lastMarker.index,this.lastMarker.line,this.lastMarker.column+1,O)},z.prototype.throwUnexpectedToken=function(A,M){throw this.unexpectedTokenError(A,M)},z.prototype.tolerateUnexpectedToken=function(A,M){this.errorHandler.tolerate(this.unexpectedTokenError(A,M))},z.prototype.collectComments=function(){if(this.config.comment){var A=this.scanner.scanComments();if(A.length>0&&this.delegate)for(var M=0;M<A.length;++M){var O=A[M],V=void 0;V={type:O.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(O.slice[0],O.slice[1])},this.config.range&&(V.range=O.range),this.config.loc&&(V.loc=O.loc),this.delegate(V,{start:{line:O.loc.start.line,column:O.loc.start.column,offset:O.range[0]},end:{line:O.loc.end.line,column:O.loc.end.column,offset:O.range[1]}})}}else this.scanner.scanComments()},z.prototype.getTokenRaw=function(A){return this.scanner.source.slice(A.start,A.end)},z.prototype.convertToken=function(A){var M={type:F.TokenName[A.type],value:this.getTokenRaw(A)};return this.config.range&&(M.range=[A.start,A.end]),this.config.loc&&(M.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),9===A.type&&(M.regex={pattern:A.pattern,flags:A.flags}),M},z.prototype.nextToken=function(){var A=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var M=this.scanner.lex();return this.hasLineTerminator=A.lineNumber!==M.lineNumber,M&&this.context.strict&&3===M.type&&this.scanner.isStrictModeReservedWord(M.value)&&(M.type=4),this.lookahead=M,this.config.tokens&&2!==M.type&&this.tokens.push(this.convertToken(M)),A},z.prototype.nextRegexToken=function(){this.collectComments();var A=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(A))),this.lookahead=A,this.nextToken(),A},z.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},z.prototype.startNode=function(A,M){void 0===M&&(M=0);var O=A.start-A.lineStart,V=A.lineNumber;return O<0&&(O+=M,V--),{index:A.start,line:V,column:O}},z.prototype.finalize=function(A,M){return this.config.range&&(M.range=[A.index,this.lastMarker.index]),this.config.loc&&(M.loc={start:{line:A.line,column:A.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(M.loc.source=this.config.source)),this.delegate&&this.delegate(M,{start:{line:A.line,column:A.column,offset:A.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}}),M},z.prototype.expect=function(A){var M=this.nextToken();(7!==M.type||M.value!==A)&&this.throwUnexpectedToken(M)}
vendor: 4,167 bytes, line 1
1,z.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var A=this.lookahead;7===A.type&&","===A.value?this.nextToken():7===A.type&&";"===A.value?(this.nextToken(),this.tolerateUnexpectedToken(A)):this.tolerateUnexpectedToken(A,C.Messages.UnexpectedToken)}else this.expect(",")},z.prototype.expectKeyword=function(A){var M=this.nextToken();(4!==M.type||M.value!==A)&&this.throwUnexpectedToken(M)},z.prototype.match=function(A){return 7===this.lookahead.type&&this.lookahead.value===A},z.prototype.matchKeyword=function(A){return 4===this.lookahead.type&&this.lookahead.value===A},z.prototype.matchContextualKeyword=function(A){return 3===this.lookahead.type&&this.lookahead.value===A},z.prototype.matchAssign=function(){if(7!==this.lookahead.type)return!1;var A=this.lookahead.value;return"="===A||"*="===A||"**="===A||"/="===A||"%="===A||"+="===A||"-="===A||"<<="===A||">>="===A||">>>="===A||"&="===A||"^="===A||"|="===A},z.prototype.isolateCoverGrammar=function(A){var M=this.context.isBindingElement,O=this.context.isAssignmentTarget,V=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var W=A.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=M,this.context.isAssignmentTarget=O,this.context.firstCoverInitializedNameError=V,W},z.prototype.inheritCoverGrammar=function(A){var M=this.context.isBindingElement,O=this.context.isAssignmentTarget,V=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var W=A.call(this);return this.context.isBindingElement=this.context.isBindingElement&&M,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&O,this.context.firstCoverInitializedNameError=V||this.context.firstCoverInitializedNameError,W},z.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2!==this.lookahead.type&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},z.prototype.parsePrimaryExpression=function(){var M,O,V,A=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),M=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(A,new w.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,C.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,O=this.nextToken(),V=this.getTokenRaw(O),M=this.finalize(A,new w.Literal(O.value,V));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,O=this.nextToken(),V=this.getTokenRaw(O),M=this.finalize(A,new w.Literal("true"===O.value,V));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,O=this.nextToken(),V=this.getTokenRaw(O),M=this.finalize(A,new w.Literal(null,V));break;case 10:M=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,M=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":M=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":M=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,O=this.nextRegexToken(),V=this.getTokenRaw(O),M=this.finalize(A,new w.RegexLiteral(O.regex,V,O.pattern,O.flags));break;default:M=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?M=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?M=this.finalize(A,new w.Identifier(this.nextToken().value)):(this.context.
vendor: 7,738 bytes, line 1
1isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?M=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),M=this.finalize(A,new w.ThisExpression)):M=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:M=this.throwUnexpectedToken(this.nextToken())}return M},z.prototype.parseSpreadElement=function(){var A=this.createNode();this.expect("...");var M=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(A,new w.SpreadElement(M))},z.prototype.parseArrayInitializer=function(){var A=this.createNode(),M=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),M.push(null);else if(this.match("...")){var O=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),M.push(O)}else M.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(A,new w.ArrayExpression(M))},z.prototype.parsePropertyMethod=function(A){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var M=this.context.strict,O=this.context.allowStrictDirective;this.context.allowStrictDirective=A.simple;var V=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&A.firstRestricted&&this.tolerateUnexpectedToken(A.firstRestricted,A.message),this.context.strict&&A.stricted&&this.tolerateUnexpectedToken(A.stricted,A.message),this.context.strict=M,this.context.allowStrictDirective=O,V},z.prototype.parsePropertyMethodFunction=function(){var M=this.createNode(),O=this.context.allowYield;this.context.allowYield=!0;var V=this.parseFormalParameters(),W=this.parsePropertyMethod(V);return this.context.allowYield=O,this.finalize(M,new w.FunctionExpression(null,V.params,W,!1))},z.prototype.parsePropertyMethodAsyncFunction=function(){var A=this.createNode(),M=this.context.allowYield,O=this.context.await;this.context.allowYield=!1,this.context.await=!0;var V=this.parseFormalParameters(),W=this.parsePropertyMethod(V);return this.context.allowYield=M,this.context.await=O,this.finalize(A,new w.AsyncFunctionExpression(null,V.params,W))},z.prototype.parseObjectPropertyKey=function(){var O,A=this.createNode(),M=this.nextToken();switch(M.type){case 8:case 6:this.context.strict&&M.octal&&this.tolerateUnexpectedToken(M,C.Messages.StrictOctalLiteral);var V=this.getTokenRaw(M);O=this.finalize(A,new w.Literal(M.value,V));break;case 3:case 1:case 5:case 4:O=this.finalize(A,new w.Identifier(M.value));break;case 7:"["===M.value?(O=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):O=this.throwUnexpectedToken(M);break;default:O=this.throwUnexpectedToken(M)}return O},z.prototype.isPropertyKey=function(A,M){return A.type===L.Syntax.Identifier&&A.name===M||A.type===L.Syntax.Literal&&A.value===M},z.prototype.parseObjectProperty=function(A){var V,M=this.createNode(),O=this.lookahead,W=null,q=null,J=!1,te=!1,ae=!1,re=!1;if(3===O.type){var oe=O.value;this.nextToken(),J=this.match("["),W=(re=!(this.hasLineTerminator||"async"!==oe||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(M,new w.Identifier(oe))}else this.match("*")?this.nextToken():(J=this.match("["),W=this.parseObjectPropertyKey());var se=this.qualifiedPropertyName(this.lookahead);if(3===O.type&&!re&&"get"===O.value&&se)V="get",J=this.match("["),W=this.parseObjectPropertyKey(),this.context.allowYield=!1,q=this.parseGetterMethod();else if(3===O.type&&!re&&"set"===O.value&&se)V="set",J=this.match("["),W=this.parseObjectPropertyKey(),q=this.parseSetterMethod();else if(7===O.type&&"*"===O.value&&se)V="init",J=this.match("["),W=this.parseObjectPropertyKey(),q=this.parseGeneratorMethod(),te=!0;else if(W||this.throwUnexpectedToken(this.lookahead),V="init",this.match(":")&&!re)!J&&this.isPropertyKey(W,"__proto__")&&(A.value&&this.tolerateError(C.Messages.DuplicateProtoProperty),A.value=!0),this.nextToken(),q=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))q=re?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),te=!0;else if(3===O.type)if(oe=this.finalize(M,new w.Identifier(O.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),ae=!0;var le=this.isolateCoverGrammar(this.parseAssignmentExpression);q=this.finalize(M,new w.AssignmentPattern(oe,le))}else ae=!0,q=oe;else this.throwUnexpectedToken(this.nextToken());return this.finalize(M,new w.Property(V,W,J,q,te,ae))},z.prototype.parseObjectInitializer=function(){var A=this.createNode();this.expect("{");for(var M=[],O={value:!1};!this.match("}");)M.push(this.parseObjectProperty(O)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(A,new w.ObjectExpression(M))},z.prototype.parseTemplateHead=function(){b.assert(this.lookahead.head,"Template literal must start with a template head");var A=this.createNode(),M=this.nextToken();return this.finalize(A,new w.TemplateElement({raw:M.value,cooked:M.cooked},M.tail))},z.prototype.parseTemplateElement=function(){10!==this.lookahead.type&&this.throwUnexpectedToken();var A=this.createNode(),M=this.nextToken();return this.finalize(A,new w.TemplateElement({raw:M.value,cooked:M.cooked},M.tail))},z.prototype.parseTemplateLiteral=function(){var A=this.createNode(),M=[],O=[],V=this.parseTemplateHead();for(O.push(V);!V.tail;)M.push(this.parseExpression()),V=this.parseTemplateElement(),O.push(V);return this.finalize(A,new w.TemplateLiteral(O,M))},z.prototype.reinterpretExpressionAsPattern=function(A){switch(A.type){case L.Syntax.Identifier:case L.Syntax.MemberExpression:case L.Syntax.RestElement:case L.Syntax.AssignmentPattern:break;case L.Syntax.SpreadElement:A.type=L.Syntax.RestElement,this.reinterpretExpressionAsPattern(A.argument);break;case L.Syntax.ArrayExpression:A.type=L.Syntax.ArrayPattern;for(var M=0;M<A.elements.length;M++)null!==A.elements[M]&&this.reinterpretExpressionAsPattern(A.elements[M]);break;case L.Syntax.ObjectExpression:for(A.type=L.Syntax.ObjectPattern,M=0;M<A.properties.length;M++)this.reinterpretExpressionAsPattern(A.properties[M].value);break;case L.Syntax.AssignmentExpression:A.type=L.Syntax.AssignmentPattern,delete A.operator,this.reinterpretExpressionAsPattern(A.left)}},z.prototype.parseGroupExpression=function(){var A;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),A={type:N,params:[],async:!1};else{var M=this.lookahead,O=[];if(this.match("..."))A=this.parseRestElement(O),this.expect(")"),this.match("=>")||this.expect("=>"),A={type:N,params:[A],async:!1};else{var V=!1;if(this.context.isBindingElement=!0,A=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var W=[];for(this.context.isAssignmentTarget=!1,W.push(A);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var q=0;q<W.length;q++)this.reinterpretExpressionAsPattern(W[q]);V=!0,A={type:N,params:W,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),W.push(this.parseRestElement(O)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,q=0;q<W.length;q++)this.reinterpretExpressionAsPattern(W[q]);V=!0,A={type:N,params:W,async:!1}}else W.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(V)break}V||(A=this.finalize(this.startNode(M),new w.SequenceExpression(W)))}if(!V){if(this.expect(")"),this.match("=>")&&(A.type===L.Syntax.Identifier&&"yield"===A.name&&(V=!0,A={type:N,params:[A],async:!1}
vendor: 4,150 bytes, line 1
1),!V)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),A.type===L.Syntax.SequenceExpression)for(q=0;q<A.expressions.length;q++)this.reinterpretExpressionAsPattern(A.expressions[q]);else this.reinterpretExpressionAsPattern(A);A={type:N,params:A.type===L.Syntax.SequenceExpression?A.expressions:[A],async:!1}}this.context.isBindingElement=!1}}}return A},z.prototype.parseArguments=function(){this.expect("(");var A=[];if(!this.match(")"))for(;;){var M=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(A.push(M),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),A},z.prototype.isIdentifierName=function(A){return 3===A.type||4===A.type||1===A.type||5===A.type},z.prototype.parseIdentifierName=function(){var A=this.createNode(),M=this.nextToken();return this.isIdentifierName(M)||this.throwUnexpectedToken(M),this.finalize(A,new w.Identifier(M.value))},z.prototype.parseNewExpression=function(){var O,A=this.createNode(),M=this.parseIdentifierName();if(b.assert("new"===M.name,"New expression must start with `new`"),this.match("."))if(this.nextToken(),3===this.lookahead.type&&this.context.inFunctionBody&&"target"===this.lookahead.value){var V=this.parseIdentifierName();O=new w.MetaProperty(M,V)}else this.throwUnexpectedToken(this.lookahead);else{var W=this.isolateCoverGrammar(this.parseLeftHandSideExpression),q=this.match("(")?this.parseArguments():[];O=new w.NewExpression(W,q),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(A,O)},z.prototype.parseAsyncArgument=function(){var A=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,A},z.prototype.parseAsyncArguments=function(){this.expect("(");var A=[];if(!this.match(")"))for(;;){var M=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(A.push(M),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),A},z.prototype.parseLeftHandSideExpressionAllowCall=function(){var V,A=this.lookahead,M=this.matchContextualKeyword("async"),O=this.context.allowIn;for(this.context.allowIn=!0,this.matchKeyword("super")&&this.context.inFunctionBody?(V=this.createNode(),this.nextToken(),V=this.finalize(V,new w.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):V=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var W=this.parseIdentifierName();V=this.finalize(this.startNode(A),new w.StaticMemberExpression(V,W))}else if(this.match("(")){var q=M&&A.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var J=q?this.parseAsyncArguments():this.parseArguments();if(V=this.finalize(this.startNode(A),new w.CallExpression(V,J)),q&&this.match("=>")){for(var te=0;te<J.length;++te)this.reinterpretExpressionAsPattern(J[te]);V={type:N,params:J,async:!0}}}else if(this.match("["))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("["),W=this.isolateCoverGrammar(this.parseExpression),this.expect("]"),V=this.finalize(this.startNode(A),new w.ComputedMemberExpression(V,W));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var ae=this.parseTemplateLiteral();V=this.finalize(this.startNode(A),new w.TaggedTemplateExpression(V,ae))}return this.context.allowIn=O,V},z.prototype.parseSuper=function(){var A=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(A,new w.Super)},z.prototype.parseLeftHandSideExpression=function(){b.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var A=this.startNode(this.lookahead),M=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;
vendor: 18,904 bytes, line 1
1)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var O=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),M=this.finalize(A,new w.ComputedMemberExpression(M,O))}else if(this.match("."))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("."),O=this.parseIdentifierName(),M=this.finalize(A,new w.StaticMemberExpression(M,O));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var V=this.parseTemplateLiteral();M=this.finalize(A,new w.TaggedTemplateExpression(M,V))}return M},z.prototype.parseUpdateExpression=function(){var A,M=this.lookahead;if(this.match("++")||this.match("--")){var O=this.startNode(M),V=this.nextToken();A=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&A.type===L.Syntax.Identifier&&this.scanner.isRestrictedWord(A.name)&&this.tolerateError(C.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(C.Messages.InvalidLHSInAssignment),A=this.finalize(O,new w.UpdateExpression(V.value,A,W=!0)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(A=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&7===this.lookahead.type&&(this.match("++")||this.match("--"))){this.context.strict&&A.type===L.Syntax.Identifier&&this.scanner.isRestrictedWord(A.name)&&this.tolerateError(C.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(C.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var q=this.nextToken().value,W=!1;A=this.finalize(this.startNode(M),new w.UpdateExpression(q,A,W))}return A},z.prototype.parseAwaitExpression=function(){var A=this.createNode();this.nextToken();var M=this.parseUnaryExpression();return this.finalize(A,new w.AwaitExpression(M))},z.prototype.parseUnaryExpression=function(){var A;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var M=this.startNode(this.lookahead),O=this.nextToken();A=this.inheritCoverGrammar(this.parseUnaryExpression),A=this.finalize(M,new w.UnaryExpression(O.value,A)),this.context.strict&&"delete"===A.operator&&A.argument.type===L.Syntax.Identifier&&this.tolerateError(C.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else A=this.context.await&&this.matchContextualKeyword("await")?this.parseAwaitExpression():this.parseUpdateExpression();return A},z.prototype.parseExponentiationExpression=function(){var A=this.lookahead,M=this.inheritCoverGrammar(this.parseUnaryExpression);if(M.type!==L.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var O=M,V=this.isolateCoverGrammar(this.parseExponentiationExpression);M=this.finalize(this.startNode(A),new w.BinaryExpression("**",O,V))}return M},z.prototype.binaryPrecedence=function(A){var M=A.value;return 7===A.type?this.operatorPrecedence[M]||0:4===A.type&&("instanceof"===M||this.context.allowIn&&"in"===M)?7:0},z.prototype.parseBinaryExpression=function(){var A=this.lookahead,M=this.inheritCoverGrammar(this.parseExponentiationExpression),O=this.lookahead,V=this.binaryPrecedence(O);if(V>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var W=[A,this.lookahead],q=M,J=this.isolateCoverGrammar(this.parseExponentiationExpression),te=[q,O.value,J],ae=[V];!((V=this.binaryPrecedence(this.lookahead))<=0);){for(;te.length>2&&V<=ae[ae.length-1];){J=te.pop();var re=te.pop();ae.pop(),q=te.pop(),W.pop();var oe=this.startNode(W[W.length-1]);te.push(this.finalize(oe,new w.BinaryExpression(re,q,J)))}te.push(this.nextToken().value),ae.push(V),W.push(this.lookahead),te.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var se=te.length-1;M=te[se];for(var le=W.pop();se>1;){var Y=W.pop();oe=this.startNode(Y,le&&le.lineStart),M=this.finalize(oe,new w.BinaryExpression(re=te[se-1],te[se-2],M)),se-=2,le=Y}}return M},z.prototype.parseConditionalExpression=function(){var A=this.lookahead,M=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var O=this.context.allowIn;this.context.allowIn=!0;var V=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=O,this.expect(":");var W=this.isolateCoverGrammar(this.parseAssignmentExpression);M=this.finalize(this.startNode(A),new w.ConditionalExpression(M,V,W)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return M},z.prototype.checkPatternParam=function(A,M){switch(M.type){case L.Syntax.Identifier:this.validateParam(A,M,M.name);break;case L.Syntax.RestElement:this.checkPatternParam(A,M.argument);break;case L.Syntax.AssignmentPattern:this.checkPatternParam(A,M.left);break;case L.Syntax.ArrayPattern:for(var O=0;O<M.elements.length;O++)null!==M.elements[O]&&this.checkPatternParam(A,M.elements[O]);break;case L.Syntax.ObjectPattern:for(O=0;O<M.properties.length;O++)this.checkPatternParam(A,M.properties[O].value)}A.simple=A.simple&&M instanceof w.Identifier},z.prototype.reinterpretAsCoverFormalsList=function(A){var O,M=[A],V=!1;switch(A.type){case L.Syntax.Identifier:break;case N:M=A.params,V=A.async;break;default:return null}O={simple:!0,paramSet:{}};for(var W=0;W<M.length;++W)(q=M[W]).type===L.Syntax.AssignmentPattern?q.right.type===L.Syntax.YieldExpression&&(q.right.argument&&this.throwUnexpectedToken(this.lookahead),q.right.type=L.Syntax.Identifier,q.right.name="yield",delete q.right.argument,delete q.right.delegate):V&&q.type===L.Syntax.Identifier&&"await"===q.name&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(O,q),M[W]=q;if(this.context.strict||!this.context.allowYield)for(W=0;W<M.length;++W){var q;(q=M[W]).type===L.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}return O.message===C.Messages.StrictParamDupe&&this.throwUnexpectedToken(this.context.strict?O.stricted:O.firstRestricted,O.message),{simple:O.simple,params:M,stricted:O.stricted,firstRestricted:O.firstRestricted,message:O.message}},z.prototype.parseAssignmentExpression=function(){var A;if(!this.context.allowYield&&this.matchKeyword("yield"))A=this.parseYieldExpression();else{var M=this.lookahead,O=M;if(A=this.parseConditionalExpression(),3===O.type&&O.lineNumber===this.lookahead.lineNumber&&"async"===O.value&&(3===this.lookahead.type||this.matchKeyword("yield"))){var V=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(V),A={type:N,params:[V],async:!0}}if(A.type===N||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var W=A.async,q=this.reinterpretAsCoverFormalsList(A);if(q){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var J=this.context.strict,te=this.context.allowStrictDirective;this.context.allowStrictDirective=q.simple;var ae=this.context.allowYield,re=this.context.await;this.context.allowYield=!0,this.context.await=W;var oe=this.startNode(M);this.expect("=>");var se=void 0;if(this.match("{")){var le=this.context.allowIn;this.context.allowIn=!0,se=this.parseFunctionSourceElements(),this.context.allowIn=le}else se=this.isolateCoverGrammar(this.parseAssignmentExpression);var Y=se.type!==L.Syntax.BlockStatement;this.context.strict&&q.firstRestricted&&this.throwUnexpectedToken(q.firstRestricted,q.message),this.context.strict&&q.stricted&&this.tolerateUnexpectedToken(q.stricted,q.message),A=this.finalize(oe,W?new w.AsyncArrowFunctionExpression(q.params,se,Y):new w.ArrowFunctionExpression(q.params,se,Y)),this.context.strict=J,this.context.allowStrictDirective=te,this.context.allowYield=ae,this.context.await=re}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(C.Messages.InvalidLHSInAssignment),this.context.strict&&A.type===L.Syntax.Identifier){var _e=A;this.scanner.isRestrictedWord(_e.name)&&this.tolerateUnexpectedToken(O,C.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(_e.name)&&this.tolerateUnexpectedToken(O,C.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(A):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Qe=(O=this.nextToken()).value,We=this.isolateCoverGrammar(this.parseAssignmentExpression);A=this.finalize(this.startNode(M),new w.AssignmentExpression(Qe,A,We)),this.context.firstCoverInitializedNameError=null}}return A},z.prototype.parseExpression=function(){var A=this.lookahead,M=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var O=[];for(O.push(M);2!==this.lookahead.type&&this.match(",");)this.nextToken(),O.push(this.isolateCoverGrammar(this.parseAssignmentExpression));M=this.finalize(this.startNode(A),new w.SequenceExpression(O))}return M},z.prototype.parseStatementListItem=function(){var A;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,C.Messages.IllegalExportDeclaration),A=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,C.Messages.IllegalImportDeclaration),A=this.parseImportDeclaration();break;case"const":A=this.parseLexicalDeclaration({inFor:!1});break;case"function":A=this.parseFunctionDeclaration();break;case"class":A=this.parseClassDeclaration();break;case"let":A=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:A=this.parseStatement()}else A=this.parseStatement();return A},z.prototype.parseBlock=function(){var A=this.createNode();this.expect("{");for(var M=[];!this.match("}");)M.push(this.parseStatementListItem());return this.expect("}"),this.finalize(A,new w.BlockStatement(M))},z.prototype.parseLexicalBinding=function(A,M){var O=this.createNode(),W=this.parsePattern([],A);this.context.strict&&W.type===L.Syntax.Identifier&&this.scanner.isRestrictedWord(W.name)&&this.tolerateError(C.Messages.StrictVarName);var q=null;return"const"===A?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),q=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(C.Messages.DeclarationMissingInitializer,"const")):(!M.inFor&&W.type!==L.Syntax.Identifier||this.match("="))&&(this.expect("="),q=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(O,new w.VariableDeclarator(W,q))},z.prototype.parseBindingList=function(A,M){for(var O=[this.parseLexicalBinding(A,M)];this.match(",");)this.nextToken(),O.push(this.parseLexicalBinding(A,M));return O},z.prototype.isLexicalDeclaration=function(){var A=this.scanner.saveState();this.scanner.scanComments();var M=this.scanner.lex();return this.scanner.restoreState(A),3===M.type||7===M.type&&"["===M.value||7===M.type&&"{"===M.value||4===M.type&&"let"===M.value||4===M.type&&"yield"===M.value},z.prototype.parseLexicalDeclaration=function(A){var M=this.createNode(),O=this.nextToken().value;b.assert("let"===O||"const"===O,"Lexical declaration must be either let or const");var V=this.parseBindingList(O,A);return this.consumeSemicolon(),this.finalize(M,new w.VariableDeclaration(V,O))},z.prototype.parseBindingRestElement=function(A,M){var O=this.createNode();this.expect("...");var V=this.parsePattern(A,M);return this.finalize(O,new w.RestElement(V))},z.prototype.parseArrayPattern=function(A,M){var O=this.createNode();this.expect("[");for(var V=[];!this.match("]");)if(this.match(","))this.nextToken(),V.push(null);else{if(this.match("...")){V.push(this.parseBindingRestElement(A,M));break}V.push(this.parsePatternWithDefault(A,M)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(O,new w.ArrayPattern(V))},z.prototype.parsePropertyPattern=function(A,M){var J,te,O=this.createNode(),V=!1,W=!1;if(3===this.lookahead.type){var ae=this.lookahead;J=this.parseVariableIdentifier();var re=this.finalize(O,new w.Identifier(ae.value));if(this.match("=")){A.push(ae),W=!0,this.nextToken();var oe=this.parseAssignmentExpression();te=this.finalize(this.startNode(ae),new w.AssignmentPattern(re,oe))}else this.match(":")?(this.expect(":"),te=this.parsePatternWithDefault(A,M)):(A.push(ae),W=!0,te=re)}else V=this.match("["),J=this.parseObjectPropertyKey(),this.expect(":"),te=this.parsePatternWithDefault(A,M);return this.finalize(O,new w.Property("init",J,V,te,!1,W))},z.prototype.parseObjectPattern=function(A,M){var O=this.createNode(),V=[];for(this.expect("{");!this.match("}");)V.push(this.parsePropertyPattern(A,M)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(O,new w.ObjectPattern(V))},z.prototype.parsePattern=function(A,M){var O;return this.match("[")?O=this.parseArrayPattern(A,M):this.match("{")?O=this.parseObjectPattern(A,M):(this.matchKeyword("let")&&("const"===M||"let"===M)&&this.tolerateUnexpectedToken(this.lookahead,C.Messages.LetInLexicalBinding),A.push(this.lookahead),O=this.parseVariableIdentifier(M)),O},z.prototype.parsePatternWithDefault=function(A,M){var O=this.lookahead,V=this.parsePattern(A,M);if(this.match("=")){this.nextToken();var W=this.context.allowYield;this.context.allowYield=!0;var q=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=W,V=this.finalize(this.startNode(O),new w.AssignmentPattern(V,q))}return V},z.prototype.parseVariableIdentifier=function(A){var M=this.createNode(),O=this.nextToken();return 4===O.type&&"yield"===O.value?this.context.strict?this.tolerateUnexpectedToken(O,C.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(O):3!==O.type?this.context.strict&&4===O.type&&this.scanner.isStrictModeReservedWord(O.value)?this.tolerateUnexpectedToken(O,C.Messages.StrictReservedWord):(this.context.strict||"let"!==O.value||"var"!==A)&&this.throwUnexpectedToken(O):(this.context.isModule||this.context.await)&&3===O.type&&"await"===O.value&&this.tolerateUnexpectedToken(O),this.finalize(M,new w.Identifier(O.value))},z.prototype.parseVariableDeclaration=function(A){var M=this.createNode(),V=this.parsePattern([],"var");this.context.strict&&V.type===L.Syntax.Identifier&&this.scanner.isRestrictedWord(V.name)&&this.tolerateError(C.Messages.StrictVarName);var W=null;return this.match("=")?(this.nextToken(),W=this.isolateCoverGrammar(this.parseAssignmentExpression)):V.type!==L.Syntax.Identifier&&!A.inFor&&this.expect("="),this.finalize(M,new w.VariableDeclarator(V,W))},z.prototype.parseVariableDeclarationList=function(A){var M={inFor:A.inFor},O=[];for(O.push(this.parseVariableDeclaration(M));this.match(",");)this.nextToken(),O.push(this.parseVariableDeclaration(M));return O},z.prototype.parseVariableStatement=function(){var A=this.createNode();this.expectKeyword("var");var M=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(A,new w.VariableDeclaration(M,"var"))},z.prototype.parseEmptyStatement=function(){var A=this.createNode();return this.expect(";"),this.finalize(A,new w.EmptyStatement)},z.prototype.parseExpressionStatement=function(){var A=this.createNode(),M=this.parseExpression();return this.consumeSemicolon(),this.finalize(A,new w.ExpressionStatement(M))},z.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(C.Messages.StrictFunction),this.parseStatement()},z.prototype.parseIfStatement=function(){var M,A=this.createNode(),O=null;this.expectKeyword("if"),this.expect("(");var V=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),M=this.finalize(this.createNode(),new w.EmptyStatement)):(this.expect(")"),M=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),O=this.parseIfClause())),this.finalize(A,new w.IfStatement(V,M,O))},z.prototype.parseDoWhileStatement=function(){var A=this.createNode();this.expectKeyword("do");var M=this.context.inIteration;this.context.inIteration=!0;var O=this.parseStatement();this.context.inIteration=M,this.expectKeyword("while"),this.expect("(");var V=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(A,new w.DoWhileStatement(O,V))},z.prototype.parseWhileStatement=function(){var M,A=this.createNode();this.expectKeyword("while"),this.expect("(");var O=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),M=this.finalize(this.createNode(),new w.EmptyStatement);else{this.expect(")");var V=this.context.inIteration;this.context.inIteration=!0,M=this.parseStatement(),this.context.inIteration=V}return this.finalize(A,new w.WhileStatement(O,M))},z.prototype.parseForStatement=function(){var W,q,Y,A=null,M=null,O=null,V=!0,J=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){A=this.createNode(),this.nextToken();var te=this.context.allowIn;this.context.allowIn=!1;var ae=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=te,1===ae.length&&this.matchKeyword("in")){var re=ae[0];re.init&&(re.id.type===L.Syntax.ArrayPattern||re.id.type===L.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(C.Messages.ForInOfLoopInitializer,"for-in"),A=this.finalize(A,new w.VariableDeclaration(ae,"var")),this.nextToken(),W=A,q=this.parseExpression(),A=null}else 1===ae.length&&null===ae[0].init&&this.matchContextualKeyword("of")?(A=this.finalize(A,new w.VariableDeclaration(ae,"var")),this.nextToken(),W=A,q=this.parseAssignmentExpression(),A=null,V=!1):(A=this.finalize(A,new w.VariableDeclaration(ae,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){A=this.createNode();var oe=this.nextToken().value;this.context.strict||"in"!==this.lookahead.value?(te=this.context.allowIn,this.context.allowIn=!1,ae=this.parseBindingList(oe,{inFor:!0}),this.context.allowIn=te,1===ae.length&&null===ae[0].init&&this.matchKeyword("in")?(A=this.finalize(A,new w.VariableDeclaration(ae,oe)),this.nextToken(),W=A,q=this.parseExpression(),A=null):1===ae.length&&null===ae[0].init&&this.matchContextualKeyword("of")?(A=this.finalize(A,new w.VariableDeclaration(ae,oe)),this.nextToken(),W=A,q=this.parseAssignmentExpression(),A=null,V=!1):(this.consumeSemicolon(),A=this.finalize(A,new w.VariableDeclaration(ae,oe)))):(A=this.finalize(A,new w.Identifier(oe)),this.nextToken(),W=A,q=this.parseExpression(),A=null)}else{var se=this.lookahead;if(te=this.context.allowIn,this.context.allowIn=!1,A=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=te,this.matchKeyword("in"))(!this.context.
1isAssignmentTarget||A.type===L.Syntax.AssignmentExpression)&&this.tolerateError(C.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(A),W=A,q=this.parseExpression(),A=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||A.type===L.Syntax.AssignmentExpression)&&this.tolerateError(C.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(A),W=A,q=this.parseAssignmentExpression(),A=null,V=!1;else{if(this.match(",")){for(var le=[A];this.match(",");)this.nextToken(),le.push(this.isolateCoverGrammar(this.parseAssignmentExpression));A=this.finalize(this.startNode(se),new w.SequenceExpression(le))}this.expect(";")}}if(typeof W>"u"&&(this.match(";")||(M=this.parseExpression()),this.expect(";"),this.match(")")||(O=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),Y=this.finalize(this.createNode(),new w.EmptyStatement);else{this.expect(")");var _e=this.context.inIteration;this.context.inIteration=!0,Y=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=_e}return this.finalize(J,typeof W>"u"?new w.ForStatement(A,M,O,Y):V?new w.ForInStatement(W,q,Y):new w.ForOfStatement(W,q,Y))},z.prototype.parseContinueStatement=function(){var A=this.createNode();this.expectKeyword("continue");var M=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var O=this.parseVariableIdentifier();M=O,Object.prototype.hasOwnProperty.call(this.context.labelSet,"$"+O.name)||this.throwError(C.Messages.UnknownLabel,O.name)}return this.consumeSemicolon(),null===M&&!this.context.inIteration&&this.throwError(C.Messages.IllegalContinue),this.finalize(A,new w.ContinueStatement(M))},z.prototype.parseBreakStatement=function(){var A=this.createNode();this.expectKeyword("break");var M=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var O=this.parseVariableIdentifier();Object.prototype.hasOwnProperty.call(this.context.labelSet,"$"+O.name)||this.throwError(C.Messages.UnknownLabel,O.name),M=O}return this.consumeSemicolon(),null===M&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(C.Messages.IllegalBreak),this.finalize(A,new w.BreakStatement(M))},z.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(C.Messages.IllegalReturn);var A=this.createNode();this.expectKeyword("return");var O=(this.match(";")||this.match("}")||this.hasLineTerminator||2===this.lookahead.type)&&8!==this.lookahead.type&&10!==this.lookahead.type?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(A,new w.ReturnStatement
vendor: 16,185 bytes, line 1
1(O))},z.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(C.Messages.StrictModeWith);var M,A=this.createNode();this.expectKeyword("with"),this.expect("(");var O=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),M=this.finalize(this.createNode(),new w.EmptyStatement)):(this.expect(")"),M=this.parseStatement()),this.finalize(A,new w.WithStatement(O,M))},z.prototype.parseSwitchCase=function(){var M,A=this.createNode();this.matchKeyword("default")?(this.nextToken(),M=null):(this.expectKeyword("case"),M=this.parseExpression()),this.expect(":");for(var O=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)O.push(this.parseStatementListItem());return this.finalize(A,new w.SwitchCase(M,O))},z.prototype.parseSwitchStatement=function(){var A=this.createNode();this.expectKeyword("switch"),this.expect("(");var M=this.parseExpression();this.expect(")");var O=this.context.inSwitch;this.context.inSwitch=!0;var V=[],W=!1;for(this.expect("{");!this.match("}");){var q=this.parseSwitchCase();null===q.test&&(W&&this.throwError(C.Messages.MultipleDefaultsInSwitch),W=!0),V.push(q)}return this.expect("}"),this.context.inSwitch=O,this.finalize(A,new w.SwitchStatement(M,V))},z.prototype.parseLabelledStatement=function(){var O,A=this.createNode(),M=this.parseExpression();if(M.type===L.Syntax.Identifier&&this.match(":")){this.nextToken();var V=M,W="$"+V.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,W)&&this.throwError(C.Messages.Redeclaration,"Label",V.name),this.context.labelSet[W]=!0;var q=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),q=this.parseClassDeclaration();else if(this.matchKeyword("function")){var J=this.lookahead,te=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(J,C.Messages.StrictFunction):te.generator&&this.tolerateUnexpectedToken(J,C.Messages.GeneratorInLegacyContext),q=te}else q=this.parseStatement();delete this.context.labelSet[W],O=new w.LabeledStatement(V,q)}else this.consumeSemicolon(),O=new w.ExpressionStatement(M);return this.finalize(A,O)},z.prototype.parseThrowStatement=function(){var A=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(C.Messages.NewlineAfterThrow);var M=this.parseExpression();return this.consumeSemicolon(),this.finalize(A,new w.ThrowStatement(M))},z.prototype.parseCatchClause=function(){var A=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var M=[],O=this.parsePattern(M),V={},W=0;W<M.length;W++){var q="$"+M[W].value;Object.prototype.hasOwnProperty.call(V,q)&&this.tolerateError(C.Messages.DuplicateBinding,M[W].value),V[q]=!0}this.context.strict&&O.type===L.Syntax.Identifier&&this.scanner.isRestrictedWord(O.name)&&this.tolerateError(C.Messages.StrictCatchVariable),this.expect(")");var J=this.parseBlock();return this.finalize(A,new w.CatchClause(O,J))},z.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},z.prototype.parseTryStatement=function(){var A=this.createNode();this.expectKeyword("try");var M=this.parseBlock(),O=this.matchKeyword("catch")?this.parseCatchClause():null,V=this.matchKeyword("finally")?this.parseFinallyClause():null;return!O&&!V&&this.throwError(C.Messages.NoCatchOrFinally),this.finalize(A,new w.TryStatement(M,O,V))},z.prototype.parseDebuggerStatement=function(){var A=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(A,new w.DebuggerStatement)},z.prototype.parseStatement=function(){var A;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:A=this.parseExpressionStatement();break;case 7:var M=this.lookahead.value;A="{"===M?this.parseBlock():"("===M?this.parseExpressionStatement():";"===M?this.parseEmptyStatement():this.parseExpressionStatement();break;case 3:A=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":A=this.parseBreakStatement();break;case"continue":A=this.parseContinueStatement();break;case"debugger":A=this.parseDebuggerStatement();break;case"do":A=this.parseDoWhileStatement();break;case"for":A=this.parseForStatement();break;case"function":A=this.parseFunctionDeclaration();break;case"if":A=this.parseIfStatement();break;case"return":A=this.parseReturnStatement();break;case"switch":A=this.parseSwitchStatement();break;case"throw":A=this.parseThrowStatement();break;case"try":A=this.parseTryStatement();break;case"var":A=this.parseVariableStatement();break;case"while":A=this.parseWhileStatement();break;case"with":A=this.parseWithStatement();break;default:A=this.parseExpressionStatement()}break;default:A=this.throwUnexpectedToken(this.lookahead)}return A},z.prototype.parseFunctionSourceElements=function(){var A=this.createNode();this.expect("{");var M=this.parseDirectivePrologues(),O=this.context.labelSet,V=this.context.inIteration,W=this.context.inSwitch,q=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;2!==this.lookahead.type&&!this.match("}");)M.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=O,this.context.inIteration=V,this.context.inSwitch=W,this.context.inFunctionBody=q,this.finalize(A,new w.BlockStatement(M))},z.prototype.validateParam=function(A,M,O){var V="$"+O;this.context.strict?(this.scanner.isRestrictedWord(O)&&(A.stricted=M,A.message=C.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(A.paramSet,V)&&(A.stricted=M,A.message=C.Messages.StrictParamDupe)):A.firstRestricted||(this.scanner.isRestrictedWord(O)?(A.firstRestricted=M,A.message=C.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(O)?(A.firstRestricted=M,A.message=C.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(A.paramSet,V)&&(A.stricted=M,A.message=C.Messages.StrictParamDupe)),"function"==typeof Object.defineProperty?Object.defineProperty(A.paramSet,V,{value:!0,enumerable:!0,writable:!0,configurable:!0}):A.paramSet[V]=!0},z.prototype.parseRestElement=function(A){var M=this.createNode();this.expect("...");var O=this.parsePattern(A);return this.match("=")&&this.throwError(C.Messages.DefaultRestParameter),this.match(")")||this.throwError(C.Messages.ParameterAfterRestParameter),this.finalize(M,new w.RestElement(O))},z.prototype.parseFormalParameter=function(A){for(var M=[],O=this.match("...")?this.parseRestElement(M):this.parsePatternWithDefault(M),V=0;V<M.length;V++)this.validateParam(A,M[V],M[V].value);A.simple=A.simple&&O instanceof w.Identifier,A.params.push(O)},z.prototype.parseFormalParameters=function(A){var M;if(M={simple:!0,params:[],firstRestricted:A},this.expect("("),!this.match(")"))for(M.paramSet={};2!==this.lookahead.type&&(this.parseFormalParameter(M),!this.match(")")&&(this.expect(","),!this.match(")"))););return this.expect(")"),{simple:M.simple,params:M.params,stricted:M.stricted,firstRestricted:M.firstRestricted,message:M.message}},z.prototype.matchAsyncFunction=function(){var A=this.matchContextualKeyword("async");if(A){var M=this.scanner.saveState();this.scanner.scanComments();var O=this.scanner.lex();this.scanner.restoreState(M),A=M.lineNumber===O.lineNumber&&4===O.type&&"function"===O.value}return A},z.prototype.parseFunctionDeclaration=function(A){var M=this.createNode(),O=this.matchContextualKeyword("async");O&&this.nextToken(),this.expectKeyword("function");var V=!O&&this.match("*");V&&this.nextToken();var W,q=null,J=null;if(!A||!this.match("(")){var te=this.lookahead;q=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(te.value)&&this.tolerateUnexpectedToken(te,C.Messages.StrictFunctionName):this.scanner.isRestrictedWord(te.value)?(J=te,W=C.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(te.value)&&(J=te,W=C.Messages.StrictReservedWord)}var ae=this.context.await,re=this.context.allowYield;this.context.await=O,this.context.allowYield=!V;var oe=this.parseFormalParameters(J),se=oe.params,le=oe.stricted;J=oe.firstRestricted,oe.message&&(W=oe.message);var Y=this.context.strict,_e=this.context.allowStrictDirective;this.context.allowStrictDirective=oe.simple;var Qe=this.parseFunctionSourceElements();return this.context.strict&&J&&this.throwUnexpectedToken(J,W),this.context.strict&&le&&this.tolerateUnexpectedToken(le,W),this.context.strict=Y,this.context.allowStrictDirective=_e,this.context.await=ae,this.context.allowYield=re,this.finalize(M,O?new w.AsyncFunctionDeclaration(q,se,Qe):new w.FunctionDeclaration(q,se,Qe,V))},z.prototype.parseFunctionExpression=function(){var A=this.createNode(),M=this.matchContextualKeyword("async");M&&this.nextToken(),this.expectKeyword("function");var O=!M&&this.match("*");O&&this.nextToken();var V,q,W=null,J=this.context.await,te=this.context.allowYield;if(this.context.await=M,this.context.allowYield=!O,!this.match("(")){var ae=this.lookahead;W=this.context.strict||O||!this.matchKeyword("yield")?this.parseVariableIdentifier():this.parseIdentifierName(),this.context.strict?this.scanner.isRestrictedWord(ae.value)&&this.tolerateUnexpectedToken(ae,C.Messages.StrictFunctionName):this.scanner.isRestrictedWord(ae.value)?(q=ae,V=C.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(ae.value)&&(q=ae,V=C.Messages.StrictReservedWord)}var re=this.parseFormalParameters(q),oe=re.params,se=re.stricted;q=re.firstRestricted,re.message&&(V=re.message);var le=this.context.strict,Y=this.context.allowStrictDirective;this.context.allowStrictDirective=re.simple;var _e=this.parseFunctionSourceElements();return this.context.strict&&q&&this.throwUnexpectedToken(q,V),this.context.strict&&se&&this.tolerateUnexpectedToken(se,V),this.context.strict=le,this.context.allowStrictDirective=Y,this.context.await=J,this.context.allowYield=te,this.finalize(A,M?new w.AsyncFunctionExpression(W,oe,_e):new w.FunctionExpression(W,oe,_e,O))},z.prototype.parseDirective=function(){var A=this.lookahead,M=this.createNode(),O=this.parseExpression(),V=O.type===L.Syntax.Literal?this.getTokenRaw(A).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(M,V?new w.Directive(O,V):new w.ExpressionStatement(O))},z.prototype.parseDirectivePrologues=function(){for(var A=null,M=[];;){var O=this.lookahead;if(8!==O.type)break;var V=this.parseDirective();M.push(V);var W=V.directive;if("string"!=typeof W)break;"use strict"===W?(this.context.strict=!0,A&&this.tolerateUnexpectedToken(A,C.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(O,C.Messages.IllegalLanguageModeDirective)):!A&&O.octal&&(A=O)}return M},z.prototype.qualifiedPropertyName=function(A){switch(A.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return"["===A.value}return!1},z.prototype.parseGetterMethod=function(){var A=this.createNode(),O=this.context.allowYield;this.context.allowYield=!0;var V=this.parseFormalParameters();V.params.length>0&&this.tolerateError(C.Messages.BadGetterArity);var W=this.parsePropertyMethod(V);return this.context.allowYield=O,this.finalize(A,new w.FunctionExpression(null,V.params,W,false))},z.prototype.parseSetterMethod=function(){var A=this.createNode(),O=this.context.allowYield;this.context.allowYield=!0;var V=this.parseFormalParameters();1!==V.params.length?this.tolerateError(C.Messages.BadSetterArity):V.params[0]instanceof w.RestElement&&this.tolerateError(C.Messages.BadSetterRestParameter);var W=this.parsePropertyMethod(V);return this.context.allowYield=O,this.finalize(A,new w.FunctionExpression(null,V.params,W,false))},z.prototype.parseGeneratorMethod=function(){var A=this.createNode(),O=this.context.allowYield;this.context.allowYield=!0;var V=this.parseFormalParameters();this.context.allowYield=!1;var W=this.parsePropertyMethod(V);return this.context.allowYield=O,this.finalize(A,new w.FunctionExpression(null,V.params,W,!0))},z.prototype.isStartOfExpression=function(){var A=!0,M=this.lookahead.value;switch(this.lookahead.type){case 7:A="["===M||"("===M||"{"===M||"+"===M||"-"===M||"!"===M||"~"===M||"++"===M||"--"===M||"/"===M||"/="===M;break;case 4:A="class"===M||"delete"===M||"function"===M||"let"===M||"new"===M||"super"===M||"this"===M||"typeof"===M||"void"===M||"yield"===M}return A},z.prototype.parseYieldExpression=function(){var A=this.createNode();this.expectKeyword("yield");var M=null,O=!1;if(!this.hasLineTerminator){var V=this.context.allowYield;this.context.allowYield=!1,(O=this.match("*"))?(this.nextToken(),M=this.parseAssignmentExpression()):this.isStartOfExpression()&&(M=this.parseAssignmentExpression()),this.context.allowYield=V}return this.finalize(A,new w.YieldExpression(M,O))},z.prototype.parseClassElement=function(A){var M=this.lookahead,O=this.createNode(),V="",W=null,q=null,J=!1,te=!1,ae=!1,re=!1;if(this.match("*"))this.nextToken();else if(J=this.match("["),"static"===(W=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(M=this.lookahead,ae=!0,J=this.match("["),this.match("*")?this.nextToken():W=this.parseObjectPropertyKey()),3===M.type&&!this.hasLineTerminator&&"async"===M.value){var se=this.lookahead.value;":"!==se&&"("!==se&&"*"!==se&&(re=!0,M=this.lookahead,W=this.parseObjectPropertyKey(),3===M.type&&"constructor"===M.value&&this.tolerateUnexpectedToken(M,C.Messages.ConstructorIsAsync))}var le=this.qualifiedPropertyName(this.lookahead);return 3===M.type?"get"===M.value&&le?(V="get",J=this.match("["),W=this.parseObjectPropertyKey(),this.context.allowYield=!1,q=this.parseGetterMethod()):"set"===M.value&&le&&(V="set",J=this.match("["),W=this.parseObjectPropertyKey(),q=this.parseSetterMethod()):7===M.type&&"*"===M.value&&le&&(V="init",J=this.match("["),W=this.parseObjectPropertyKey(),q=this.parseGeneratorMethod(),te=!0),!V&&W&&this.match("(")&&(V="init",q=re?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),te=!0),V||this.throwUnexpectedToken(this.lookahead),"init"===V&&(V="method"),J||(ae&&this.isPropertyKey(W,"prototype")&&this.throwUnexpectedToken(M,C.Messages.StaticPrototype),!ae&&this.isPropertyKey(W,"constructor")&&(("method"!==V||!te||q&&q.generator)&&this.throwUnexpectedToken(M,C.Messages.ConstructorSpecialMethod),A.value?this.throwUnexpectedToken(M,C.Messages.DuplicateConstructor):A.value=!0,V="constructor")),this.finalize(O,new w.MethodDefinition(W,J,q,V,ae))},z.prototype.parseClassElementList=function(){var A=[],M={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():A.push(this.parseClassElement(M));return this.expect("}"),A},z.prototype.parseClassBody=function(){var A=this.createNode(),M=this.parseClassElementList();return this.finalize(A,new w.ClassBody(M))},z.prototype.parseClassDeclaration=function(A){var M=this.createNode(),O=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var V=A&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),W=null;this.matchKeyword("extends")&&(this.nextToken(),W=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var q=this.parseClassBody();return this.context.strict=O,this.finalize(M,new w.ClassDeclaration(V,W,q))},z.prototype.parseClassExpression=function(){var A=this.createNode(),M=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var O=3===this.lookahead.type?this.parseVariableIdentifier():null,V=null;this.matchKeyword("extends")&&(this.nextToken(),V=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var W=this.parseClassBody();return this.context.strict=M,this.finalize(A,new w.ClassExpression(O,V,W))},z.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var A=this.createNode(),M=this.parseDirectivePrologues();2!==this.lookahead.type;)M.push(this.parseStatementListItem());return this.finalize(A,new w.Module(M))},z.prototype.parseScript=function(){for(var A=this.createNode(),M=this.parseDirectivePrologues();2!==this.lookahead.type;)M.push(this.parseStatementListItem());
vendor: 8,096 bytes, line 1
1return this.finalize(A,new w.Script(M))},z.prototype.parseModuleSpecifier=function(){var A=this.createNode();8!==this.lookahead.type&&this.throwError(C.Messages.InvalidModuleSpecifier);var M=this.nextToken(),O=this.getTokenRaw(M);return this.finalize(A,new w.Literal(M.value,O))},z.prototype.parseImportSpecifier=function(){var M,O,A=this.createNode();return 3===this.lookahead.type?(O=M=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),O=this.parseVariableIdentifier())):(O=M=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),O=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(A,new w.ImportSpecifier(O,M))},z.prototype.parseNamedImports=function(){this.expect("{");for(var A=[];!this.match("}");)A.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),A},z.prototype.parseImportDefaultSpecifier=function(){var A=this.createNode(),M=this.parseIdentifierName();return this.finalize(A,new w.ImportDefaultSpecifier(M))},z.prototype.parseImportNamespaceSpecifier=function(){var A=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(C.Messages.NoAsAfterImportNamespace),this.nextToken();var M=this.parseIdentifierName();return this.finalize(A,new w.ImportNamespaceSpecifier(M))},z.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(C.Messages.IllegalImportDeclaration);var A=this.createNode();this.expectKeyword("import");var M,O=[];return 8===this.lookahead.type||(this.match("{")?O=O.concat(this.parseNamedImports()):this.match("*")?O.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(O.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?O.push(this.parseImportNamespaceSpecifier()):this.match("{")?O=O.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),this.matchContextualKeyword("from")||this.throwError(this.lookahead.value?C.Messages.UnexpectedToken:C.Messages.MissingFromClause,this.lookahead.value),this.nextToken()),M=this.parseModuleSpecifier(),this.consumeSemicolon(),this.finalize(A,new w.ImportDeclaration(O,M))},z.prototype.parseExportSpecifier=function(){var A=this.createNode(),M=this.parseIdentifierName(),O=M;return this.matchContextualKeyword("as")&&(this.nextToken(),O=this.parseIdentifierName()),this.finalize(A,new w.ExportSpecifier(M,O))},z.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(C.Messages.IllegalExportDeclaration);var M,A=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var O=this.parseFunctionDeclaration(!0);M=this.finalize(A,new w.ExportDefaultDeclaration(O))}else this.matchKeyword("class")?(O=this.parseClassDeclaration(!0),M=this.finalize(A,new w.ExportDefaultDeclaration(O))):this.matchContextualKeyword("async")?(O=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),M=this.finalize(A,new w.ExportDefaultDeclaration(O))):(this.matchContextualKeyword("from")&&this.throwError(C.Messages.UnexpectedToken,this.lookahead.value),O=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),M=this.finalize(A,new w.ExportDefaultDeclaration(O)));else if(this.match("*")){this.nextToken(),this.matchContextualKeyword("from")||this.throwError(this.lookahead.value?C.Messages.UnexpectedToken:C.Messages.MissingFromClause,this.lookahead.value),this.nextToken();var W=this.parseModuleSpecifier();this.consumeSemicolon(),M=this.finalize(A,new w.ExportAllDeclaration(W))}else if(4===this.lookahead.type){switch(O=void 0,this.lookahead.value){case"let":case"const":O=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":O=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}M=this.finalize(A,new w.ExportNamedDeclaration(O,[],null))}else if(this.matchAsyncFunction())O=this.parseFunctionDeclaration(),M=this.finalize(A,new w.ExportNamedDeclaration(O,[],null));else{var q=[],J=null,te=!1;for(this.expect("{");!this.match("}");)te=te||this.matchKeyword("default"),q.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),J=this.parseModuleSpecifier(),this.consumeSemicolon()):te?this.throwError(this.lookahead.value?C.Messages.UnexpectedToken:C.Messages.MissingFromClause,this.lookahead.value):this.consumeSemicolon(),M=this.finalize(A,new w.ExportNamedDeclaration(null,q,J))}return M},z}();c.Parser=B},function(k,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.assert=function g(b,S){if(!b)throw new Error("ASSERT: "+S)}},function(k,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var g=function(){function b(){this.errors=[],this.tolerant=!1}return b.prototype.recordError=function(S){this.errors.push(S)},b.prototype.tolerate=function(S){if(!this.tolerant)throw S;this.recordError(S)},b.prototype.constructError=function(S,C){var w=new Error(S);try{throw w}catch(R){Object.create&&Object.defineProperty&&(w=Object.create(R),Object.defineProperty(w,"column",{value:C}))}return w},b.prototype.createError=function(S,C,w,R){var F=this.constructError("Line "+C+": "+R,w);return F.index=S,F.lineNumber=C,F.description=R,F},b.prototype.throwError=function(S,C,w,R){throw this.createError(S,C,w,R)},b.prototype.tolerateError=function(S,C,w,R){var L=this.createError(S,C,w,R);if(!this.tolerant)throw L;this.recordError(L)},b}();c.ErrorHandler=g},function(k,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode co
1de, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(k,c,g){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var b=g(9),S=g(4),C=g(11);function w(F){return"0123456789abcdef".indexOf(F.toLowerCase())}function R(F){return"01234567".indexOf(F)}var L=function(){function F(N,B){this.source=N,this.errorHandler=B,this.trackComment=!1,this.isModule=!1,this.length=N.length,this.index=0,this.lineNumber=N.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return F.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},F.prototype.restoreState=function(N){this.index=N.index,this.lineNumber=N.lineNumber,this.lineStart=N.lineStart},F.prototype.eof=function(){return this.index>=this.length},F.prototype.throwUnexpectedToken=function(N){return void 0===N&&(N=C.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,N)},F.prototype.tolerateUnexpectedToken=function(N){void 0===N&&(N=C.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,N)},F.prototype.skipSingleLineComment=function(N){var z,A,B=[];for(this.trackComment&&(B=[],z=this.index-N,A={start:{line:this.lineNumber,column:this.index-this.lineStart-N},end:{}});!this.eof();){var M=this.source.charCodeAt(this.index);if(++this.index,S.Character.isLineTerminator(M))return this.trackComment&&(A.end={line:this.lineNumber,column:this.index-this.lineStart-1},B.push({multiLine:!1,slice:[z+N,this.index-1],range:[z,this.index-1],loc:A})),13===M&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,B}return this.trackComment&&(A.end={line:this.lineNumber,column:this.index-this.lineStart},B.push({multiLine:!1,slice:[z+N,this.index],range:[z,this.index],loc:A})),B},F.prototype.skipMultiLineComment=function(){var B,z,N=[];for(this.trackComment&&(N=[],B=this.index-2,z={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var A=this.source.charCodeAt(this.index);if(S.Character.isLineTerminator(A))13===A&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===A){if(47===this.source.charCodeAt(this.index+1))return this.index+=2,this.trackComment&&(z.end={line:this.lineNumber,column:this.index-this.lineStart},N.push({multiLine:!0,slice:[B+2,this.index-2],range:[B,this.index],loc:z})),N;++this.index}else++this.index}return this.trackComment&&(z.end={line:this.lineNumber,column:this.index-this.lineStart},N.push({multiLine:!0,slice:[B+2,this.index],range:[B,this.index],loc:z})),this.tolerateUnexpectedToken(),N},F.prototype.scanComments=function(){var N;this.trackComment&&(N=[]);for(var B=0===this.index;!this.eof();){var z=this.source.charCodeAt(this.index);if(S.Character.isWhiteSpace(z))++this.index;else if(S.Character.isLineTerminator(z))++this.index,13===z&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,B=!0;else if(47===z)if(47===(z=this.source.charCodeAt(this.index+1))){this.index+=2;var A=this.skipSingleLineComment(2);this.trackComment&&(N=N.concat(A)),B=!0}else{if(42!==z)break;this.index+=2,A=this.skipMultiLineComment(),this.trackComment&&(N=N.concat(A))}else if(B&&45===z){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3,A=this.skipSingleLineComment(3),this.trackComment&&(N=N.concat(A))}else{if(60!==z||this.isModule)break;
vendor: 6,556 bytes, line 1
1if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4,A=this.skipSingleLineComment(4),this.trackComment&&(N=N.concat(A))}}return N},F.prototype.isFutureReservedWord=function(N){switch(N){case"enum":case"export":case"import":case"super":return!0;default:return!1}},F.prototype.isStrictModeReservedWord=function(N){switch(N){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},F.prototype.isRestrictedWord=function(N){return"eval"===N||"arguments"===N},F.prototype.isKeyword=function(N){switch(N.length){case 2:return"if"===N||"in"===N||"do"===N;case 3:return"var"===N||"for"===N||"new"===N||"try"===N||"let"===N;case 4:return"this"===N||"else"===N||"case"===N||"void"===N||"with"===N||"enum"===N;case 5:return"while"===N||"break"===N||"catch"===N||"throw"===N||"const"===N||"yield"===N||"class"===N||"super"===N;case 6:return"return"===N||"typeof"===N||"delete"===N||"switch"===N||"export"===N||"import"===N;case 7:return"default"===N||"finally"===N||"extends"===N;case 8:return"function"===N||"continue"===N||"debugger"===N;case 10:return"instanceof"===N;default:return!1}},F.prototype.codePointAt=function(N){var B=this.source.charCodeAt(N);if(B>=55296&&B<=56319){var z=this.source.charCodeAt(N+1);z>=56320&&z<=57343&&(B=1024*(B-55296)+z-56320+65536)}return B},F.prototype.scanHexEscape=function(N){for(var B="u"===N?4:2,z=0,A=0;A<B;++A){if(this.eof()||!S.Character.isHexDigit(this.source.charCodeAt(this.index)))return null;z=16*z+w(this.source[this.index++])}return String.fromCharCode(z)},F.prototype.scanUnicodeCodePointEscape=function(){var N=this.source[this.index],B=0;for("}"===N&&this.throwUnexpectedToken();!this.eof()&&(N=this.source[this.index++],S.Character.isHexDigit(N.charCodeAt(0)));)B=16*B+w(N);return(B>1114111||"}"!==N)&&this.throwUnexpectedToken(),S.Character.fromCodePoint(B)},F.prototype.getIdentifier=function(){for(var N=this.index++;!this.eof();){var B=this.source.charCodeAt(this.index);if(92===B)return this.index=N,this.getComplexIdentifier();if(B>=55296&&B<57343)return this.index=N,this.getComplexIdentifier();if(!S.Character.isIdentifierPart(B))break;++this.index}return this.source.slice(N,this.index)},F.prototype.getComplexIdentifier=function(){var z,N=this.codePointAt(this.index),B=S.Character.fromCodePoint(N);for(this.index+=B.length,92===N&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,z=this.scanUnicodeCodePointEscape()):(null===(z=this.scanHexEscape("u"))||"\\"===z||!S.Character.isIdentifierStart(z.charCodeAt(0)))&&this.throwUnexpectedToken(),B=z);!this.eof()&&(N=this.codePointAt(this.index),S.Character.isIdentifierPart(N));)B+=z=S.Character.fromCodePoint(N),this.index+=z.length,92===N&&(B=B.substr(0,B.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,z=this.scanUnicodeCodePointEscape()):(null===(z=this.scanHexEscape("u"))||"\\"===z||!S.Character.isIdentifierPart(z.charCodeAt(0)))&&this.throwUnexpectedToken(),B+=z);return B},F.prototype.octalToDecimal=function(N){var B="0"!==N,z=R(N);return!this.eof()&&S.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(B=!0,z=8*z+R(this.source[this.index++]),"0123".indexOf(N)>=0&&!this.eof()&&S.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(z=8*z+R(this.source[this.index++]))),{code:z,octal:B}},F.prototype.scanIdentifier=function(){var N,B=this.index,z=92===this.source.charCodeAt(B)?this.getComplexIdentifier():this.getIdentifier();if(3!=(N=1===z.length?3:this.isKeyword(z)?4:"null"===z?5:"true"===z||"false"===z?1:3)&&B+z.length!==this.index){var A=this.index;this.index=B,this.tolerateUnexpectedToken(C.Messages.InvalidEscapedReservedWord),this.index=A}return{type:N,value:z,lineNumber:this.lineNumber,lineStart:this.lineStart,start:B,end:this.index}},F.prototype.scanPunctuator=function(){var N=this.index,B=this.source[this.index];switch(B){case"(":case"{":"{"===B&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,B="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(B=this.source.substr(this.index,4))?this.index+=4:"==="===(B=B.substr(0,3))||"!=="===B||">>>"===B||"<<="===B||">>="===B||"**="===B?this.index+=3:"&&"===(B=B.substr(0,2))||"||"===B||"=="===B||"!="===B||"+="===B||"-="===B||"*="===B||"/="===B||"++"===B||"--"===B||"<<"===B||">>"===B||"&="===B||"|="===B||"^="===B||"%="===B||"<="===B||">="===B||"=>"===B||"**"===B?this.index+=2:"<>=!+-*%&|^/".indexOf(B=this.source[this.index])>=0&&++this.index}return this.index===N&&this.throwUnexpectedToken(),{type:7,value:B,lineNumber:this.lineNumber,lineStart:this.lineStart,start:N,end:this.index}},F.prototype.scanHexLiteral=function(N){for(var B="";!this.eof()&&S.Character.isHexDigit(this.source.charCodeAt(this.index));)B+=this.source[this.index++];return 0===B.length&&this.throwUnexpectedToken(),S.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+B,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:N,end:this.index}},F.prototype.scanBinaryLiteral=function(N){for(var z,B="";!this.eof()&&("0"===(z=this.source[this.index])||"1"===z);)B+=this.source[this.index++];return 0===B.length&&this.throwUnexpectedToken(),this.eof()||(z=this.source.charCodeAt(this.index),(S.Character.isIdentifierStart(z)||S.Character.isDecimalDigit(z))&&this.throwUnexpectedToken()),{type:6,value:parseInt(B,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:N,end:this.index}},F.prototype.scanOctalLiteral=function(N,B){var z="",A=!1;for(S.Character.isOctalDigit(N.charCodeAt(0))?(A=!0,z="0"+this.source[this.index++]):++this.index;!this.eof()&&S.Character.isOctalDigit(this.source.charCodeAt(this.index));)z+=this.source[this.index++];return!A&&0===z.length&&this.throwUnexpectedToken(),(S.Character.isIdentifierStart(this.source.charCodeAt(this.index))||S.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(z,8),octal:A,lineNumber:this.lineNumber,lineStart:this.lineStart,start:B,end:this.index}},F.prototype.isImplicitOctalLiteral=function(){for(var N=this.index+1;N<this.length;++N){var B=this.source[N];if("8"===B||"9"===B)return!1;
vendor: 7,761 bytes, line 1
1if(!S.Character.isOctalDigit(B.charCodeAt(0)))return!0}return!0},F.prototype.scanNumericLiteral=function(){var N=this.index,B=this.source[N];b.assert(S.Character.isDecimalDigit(B.charCodeAt(0))||"."===B,"Numeric literal must start with a decimal digit or a decimal point");var z="";if("."!==B){if(z=this.source[this.index++],B=this.source[this.index],"0"===z){if("x"===B||"X"===B)return++this.index,this.scanHexLiteral(N);if("b"===B||"B"===B)return++this.index,this.scanBinaryLiteral(N);if("o"===B||"O"===B)return this.scanOctalLiteral(B,N);if(B&&S.Character.isOctalDigit(B.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(B,N)}for(;S.Character.isDecimalDigit(this.source.charCodeAt(this.index));)z+=this.source[this.index++];B=this.source[this.index]}if("."===B){for(z+=this.source[this.index++];S.Character.isDecimalDigit(this.source.charCodeAt(this.index));)z+=this.source[this.index++];B=this.source[this.index]}if("e"===B||"E"===B)if(z+=this.source[this.index++],("+"===(B=this.source[this.index])||"-"===B)&&(z+=this.source[this.index++]),S.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;S.Character.isDecimalDigit(this.source.charCodeAt(this.index));)z+=this.source[this.index++];else this.throwUnexpectedToken();return S.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(z),lineNumber:this.lineNumber,lineStart:this.lineStart,start:N,end:this.index}},F.prototype.scanStringLiteral=function(){var N=this.index,B=this.source[N];b.assert("'"===B||'"'===B,"String literal must starts with a quote"),++this.index;for(var z=!1,A="";!this.eof();){var M=this.source[this.index++];if(M===B){B="";break}if("\\"===M)if((M=this.source[this.index++])&&S.Character.isLineTerminator(M.charCodeAt(0)))++this.lineNumber,"\r"===M&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(M){case"u":if("{"===this.source[this.index])++this.index,A+=this.scanUnicodeCodePointEscape();else{var O=this.scanHexEscape(M);null===O&&this.throwUnexpectedToken(),A+=O}break;case"x":var V=this.scanHexEscape(M);null===V&&this.throwUnexpectedToken(C.Messages.InvalidHexEscapeSequence),A+=V;break;case"n":A+="\n";break;case"r":A+="\r";break;case"t":A+="\t";break;case"b":A+="\b";break;case"f":A+="\f";break;case"v":A+="\v";break;case"8":case"9":A+=M,this.tolerateUnexpectedToken();break;default:if(M&&S.Character.isOctalDigit(M.charCodeAt(0))){var W=this.octalToDecimal(M);z=W.octal||z,A+=String.fromCharCode(W.code)}else A+=M}else{if(S.Character.isLineTerminator(M.charCodeAt(0)))break;A+=M}}return""!==B&&(this.index=N,this.throwUnexpectedToken()),{type:8,value:A,octal:z,lineNumber:this.lineNumber,lineStart:this.lineStart,start:N,end:this.index}},F.prototype.scanTemplate=function(){var N="",B=!1,z=this.index,A="`"===this.source[z],M=!1,O=2;for(++this.index;!this.eof();){var V=this.source[this.index++];if("`"===V){O=1,M=!0,B=!0;break}if("$"===V){if("{"===this.source[this.index]){this.curlyStack.push("${"),++this.index,B=!0;break}N+=V}else if("\\"===V)if(V=this.source[this.index++],S.Character.isLineTerminator(V.charCodeAt(0)))++this.lineNumber,"\r"===V&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(V){case"n":N+="\n";break;case"r":N+="\r";break;case"t":N+="\t";break;case"u":if("{"===this.source[this.index])++this.index,N+=this.scanUnicodeCodePointEscape();else{var W=this.index,q=this.scanHexEscape(V);null!==q?N+=q:(this.index=W,N+=V)}break;case"x":var J=this.scanHexEscape(V);null===J&&this.throwUnexpectedToken(C.Messages.InvalidHexEscapeSequence),N+=J;break;case"b":N+="\b";break;case"f":N+="\f";break;case"v":N+="\v";break;default:"0"===V?(S.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(C.Messages.TemplateOctalLiteral),N+="\0"):S.Character.isOctalDigit(V.charCodeAt(0))?this.throwUnexpectedToken(C.Messages.TemplateOctalLiteral):N+=V}else S.Character.isLineTerminator(V.charCodeAt(0))?(++this.lineNumber,"\r"===V&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index,N+="\n"):N+=V}return B||this.throwUnexpectedToken(),A||this.curlyStack.pop(),{type:10,value:this.source.slice(z+1,this.index-O),cooked:N,head:A,tail:M,lineNumber:this.lineNumber,lineStart:this.lineStart,start:z,end:this.index}},F.prototype.testRegExp=function(N,B){var A=N,M=this;B.indexOf("u")>=0&&(A=A.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(O,V,W){var q=parseInt(V||W,16);return q>1114111&&M.throwUnexpectedToken(C.Messages.InvalidRegExp),q<=65535?String.fromCharCode(q):"\uffff"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uffff"));try{RegExp(A)}catch{this.throwUnexpectedToken(C.Messages.InvalidRegExp)}try{return new RegExp(N,B)}catch{return null}},F.prototype.scanRegExpBody=function(){var N=this.source[this.index];b.assert("/"===N,"Regular expression literal must start with a slash");for(var B=this.source[this.index++],z=!1,A=!1;!this.eof();)if(B+=N=this.source[this.index++],"\\"===N)N=this.source[this.index++],S.Character.isLineTerminator(N.charCodeAt(0))&&this.throwUnexpectedToken(C.Messages.UnterminatedRegExp),B+=N;else if(S.Character.isLineTerminator(N.charCodeAt(0)))this.throwUnexpectedToken(C.Messages.UnterminatedRegExp);else if(z)"]"===N&&(z=!1);else{if("/"===N){A=!0;break}"["===N&&(z=!0)}return A||this.throwUnexpectedToken(C.Messages.UnterminatedRegExp),B.substr(1,B.length-2)},F.prototype.scanRegExpFlags=function(){for(var B="";!this.eof();){var z=this.source[this.index];if(!S.Character.isIdentifierPart(z.charCodeAt(0)))break;if(++this.index,"\\"!==z||this.eof())B+=z;else if("u"===(z=this.source[this.index])){++this.index;var A=this.index,M=this.scanHexEscape("u");if(null!==M)for(B+=M;A<this.index;++A);else this.index=A,B+="u";this.tolerateUnexpectedToken()}else this.tolerateUnexpectedToken()}return B},F.prototype.scanRegExp=function(){var N=this.index,B=this.scanRegExpBody(),z=this.scanRegExpFlags();return{type:9,value:"",pattern:B,flags:z,regex:this.testRegExp(B,z),lineNumber:this.lineNumber,lineStart:this.lineStart,start:N,end:this.index}},F.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var N=this.source.charCodeAt(this.index);return S.Character.isIdentifierStart(N)?this.scanIdentifier():40===N||41===N||59===N?this.scanPunctuator():39===N||34===N?this.scanStringLiteral():46===N?S.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():S.Character.isDecimalDigit(N)?this.scanNumericLiteral():96===N||125===N&&"${"===this.curlyStack[this.curlyStack.length-1]?this.scanTemplate():N>=55296&&N<57343&&S.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},F}();c.Scanner=L},function(k,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.TokenName={},c.TokenName[1]="Boolean",c.TokenName[2]="<end>",c.TokenName[3]="Identifier",c.TokenName[4]="Keyword",c.TokenName[5]="Null",c.TokenName[6]="Numeric",c.TokenName[7]="Punctuator",c.TokenName[8]="String",c.TokenName[9]="RegularExpression",c.TokenName[10]="Template"},function(k,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",A
vendor: 4,467 bytes, line 1
1circ:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27e8",rang:"\u27e9"}},function(k,c,g){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var b=g(10),S=g(12),C=g(13),w=function(){function L(){this.values=[],this.curly=this.paren=-1}return L.prototype.beforeFunctionExpression=function(F){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(F)>=0},L.prototype.isRegexStart=function(){var F=this.values[this.values.length-1],N=null!==F;switch(F){case"this":case"]":N=!1;break;case")":var B=this.values[this.paren-1];N="if"===B||"while"===B||"for"===B||"with"===B;break;case"}":if(N=!1,"function"===this.values[this.curly-3])N=!!(z=this.values[this.curly-4])&&!this.beforeFunctionExpression(z);else if("function"===this.values[this.curly-4]){var z;N=!(z=this.values[this.curly-5])||!this.beforeFunctionExpression(z)}}return N},L.prototype.push=function(F){7===F.type||4===F.type?("{"===F.value?this.curly=this.values.length:"("===F.value&&(this.paren=this.values.length),this.values.push(F.value)):this.values.push(null)},L}(),R=function(){function L(F,N){this.errorHandler=new b.ErrorHandler,this.errorHandler.tolerant=!!N&&"boolean"==typeof N.tolerant&&N.tolerant,this.scanner=new S.Scanner(F,this.errorHandler),this.scanner.trackComment=!!N&&"boolean"==typeof N.c
1omment&&N.comment,this.trackRange=!!N&&"boolean"==typeof N.range&&N.range,this.trackLoc=!!N&&"boolean"==typeof N.loc&&N.loc,this.buffer=[],this.reader=new w}return L.prototype.errors=function(){return this.errorHandler.errors},L.prototype.getNextToken=function(){if(0===this.buffer.length){var F=this.scanner.scanComments();if(this.scanner.trackComment)for(var N=0;N<F.length;++N){var B=F[N],z=this.scanner.source.slice(B.slice[0],B.slice[1]),A={type:B.multiLine?"BlockComment":"LineComment",value:z};this.trackRange&&(A.range=B.range),this.trackLoc&&(A.loc=B.loc),this.buffer.push(A)}if(!this.scanner.eof()){var M=void 0;this.trackLoc&&(M={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var V="/"===this.scanner.source[this.scanner.index]&&this.reader.isRegexStart()?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(V);var W={type:C.TokenName[V.type],value:this.scanner.source.slice(V.start,V.end)};this.trackRange&&(W.range=[V.start,V.end]),this.trackLoc&&(M.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},W.loc=M),9===V.type&&(W.regex={pattern:V.pattern,flags:V.flags}),this.buffer.push(W)}}return this.buffer.shift()},L}();c.Tokenizer=R}])},80424:(_,k,c)=>{"use strict";var g=c(24789),b=S(Error);function S(C){return w.displayName=C.displayName||C.name,w;function w(R){return R&&(R=g.apply(null,arguments)),new C(R)}}_.exports=b,b.eval=S(EvalError),b.range=S(RangeError),b.reference=S(ReferenceError),b.syntax=S(SyntaxError),b.type=S(TypeError),b.uri=S(URIError),b.create=S},644:_=>{var R=/[a-z0-9_-]/i,L=/[\s\t]/,N=/[^a-z0-9_-]/i;_.exports={parse:function(z){for(var W,q,A=!0,M=0,O="",V=0,J=[];;){if(q=z[V],0===M){if(!q&&A)break;if(!q&&!A)throw new Error("Parse error");if('"'===q||"'"===q)W=q,M=1,A=!1;else if(!L.test(q)){if(!R.test(q))throw new Error("Parse error");M=3,A=!1,V--}}else if(1===M){if(!q)throw new Error("Parse Error");"\\"===q?M=2:q===W?(J.push(O),O="",M=4):O+=q}else if(2===M){if(q!==W&&"\\"!==q)throw new Error("Parse error");O+=q,M=1}else if(3===M){if(!q){J.push(O);break}R.test(q)?O+=q:","===q?(J.push(O),O="",M=0):L.test(q)?M=5:"\\"===q&&(M=6)}else if(6===M){if(/[0-9a-f]/i.test(q))throw new Error("Parse error");O+=q,M=3}else if(5===M){if(!q){J.push(O);break}if(R.test(q))O+=" "+q,M=3;else if(","===q)J.push(O),O="",M=0;else if(!L.test(q))throw new Error("Parse error")}else if(4===M){if(!q)break;if(","===q)M=0;else if(!L.test(q))throw new Error("Parse error")}V++}return J},stringify:function(z,A){var M=A&&A.quote||'"';if('"'!==M&&"'"!==M)throw new Error("Quote must be `'` or `\"`");for(var O=new RegExp(M,"g"),V=[],W=0;W<z.length;++W){var q=z[W];N.test(q)&&(q=M+(q=q.replace(/\\/g,"\\\\").replace(O,"\\"+M))+M),V.push(q)}return V.join(", ")}}},24789:_=>{!function(){var k;function b(S){for(var N,z,A,O,C=1,w=[].slice.call(arguments),R=0,L=S.length,F="",B=!1,M=!1,V=function(){return w[C++]},W=function(){for(var q="";/\d/.test(S[R]);)q+=S[R++],N=S[R];return q.length>0?parseInt(q):null};R<L;++R)if(N=S[R],B)switch(B=!1,"."==N?(M=!1,N=S[++R]):"0"==N&&"."==S[R+1]?(M=!0,R+=2,N=S[R]):M=!0,O=W(),N){case"b":F+=parseInt(V(),10).toString(2);break;case"c":F+="string"==typeof(z=V())||z instanceof String?z:String.fromCharCode(parseInt(z,10));break;case"d":F+=parseInt(V(),10);break;case"f":A=String(parseFloat(V()).toFixed(O||6)),F+=M?A:A.replace(/^0/,"");break;case"j":F+=JSON.stringify(V());break;case"o":F+="0"+parseInt(V(),10).toString(8);break;case"s":F+=V();break;case"x":F+="0x"+parseInt(V(),10).toString(16);break;case"X":F+="0x"+parseInt(V(),10).toString(16).toUpperCase();break;default:F+=N}else"%"===N?B=!0:F+=N;return F}(k=_.exports=b).format=b,k.vsprintf=function g(S,C){return b.apply(null,[S].concat(C))},typeof console<"u"&&"function"==typeof console.log&&(k.printf=function c(){console.log(b.apply(null,arguments))})}()},83457:_=>{"use strict";var k="Function.prototype.bind called on incompatible ",c=Array.prototype.slice,g=Object.prototype.toString,b="[object Function]";_.exports=function(C){var w=this;if("function"!=typeof w||g.call(w)!==b)throw new TypeError(k+w);
1for(var L,R=c.call(arguments,1),F=function(){if(this instanceof L){var M=w.apply(this,R.concat(c.call(arguments)));return Object(M)===M?M:this}return w.apply(C,R.concat(c.call(arguments)))},N=Math.max(0,w.length-R.length),B=[],z=0;z<N;z++)B.push("$"+z);if(L=Function("binder","return function ("+B.join(",")+"){ return binder.apply(this,arguments); }")(F),w.prototype){var A=function(){};A.prototype=w.prototype,L.prototype=new A,A.prototype=null}return L}},84444:(_,k,c)=>{"use strict";var g=c(83457);_.exports=Function.prototype.bind||g},95203:(_,k,c)=>{"use strict";var g,b=SyntaxError,S=Function,C=TypeError,w=function(Qe){try{return S('"use strict"; return ('+Qe+").constructor;")()}catch{}},R=Object.getOwnPropertyDescriptor;if(R)try{R({},"")}catch{R=null}var L=function(){throw new C},F=R?function(){try{return L}catch{try{return R(arguments,"callee").get}catch{return L}}}():L,N=c(92969)(),B=Object.getPrototypeOf||function(Qe){return Qe.__proto__},z={},A=typeof Uint8Array>"u"?g:B(Uint8Array),M={"%AggregateError%":typeof AggregateError>"u"?g:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?g:ArrayBuffer,"%ArrayIteratorPrototype%":N?B([][Symbol.iterator]()):g,"%AsyncFromSyncIteratorPrototype%":g,"%AsyncFunction%":z,"%AsyncGenerator%":z,"%AsyncGeneratorFunction%":z,"%AsyncIteratorPrototype%":z,"%Atomics%":typeof Atomics>"u"?g:Atomics,"%BigInt%":typeof BigInt>"u"?g:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>
vendor: 7,826 bytes, line 1
1"u"?g:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?g:Float32Array,"%Float64Array%":typeof Float64Array>"u"?g:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?g:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":z,"%Int8Array%":typeof Int8Array>"u"?g:Int8Array,"%Int16Array%":typeof Int16Array>"u"?g:Int16Array,"%Int32Array%":typeof Int32Array>"u"?g:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":N?B(B([][Symbol.iterator]())):g,"%JSON%":"object"==typeof JSON?JSON:g,"%Map%":typeof Map>"u"?g:Map,"%MapIteratorPrototype%":typeof Map>"u"||!N?g:B((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?g:Promise,"%Proxy%":typeof Proxy>"u"?g:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?g:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?g:Set,"%SetIteratorPrototype%":typeof Set>"u"||!N?g:B((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?g:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":N?B(""[Symbol.iterator]()):g,"%Symbol%":N?Symbol:g,"%SyntaxError%":b,"%ThrowTypeError%":F,"%TypedArray%":A,"%TypeError%":C,"%Uint8Array%":typeof Uint8Array>"u"?g:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?g:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?g:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?g:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?g:WeakMap,"%WeakRef%":typeof WeakRef>"u"?g:WeakRef,"%WeakSet%":typeof WeakSet>"u"?g:WeakSet},O=function Qe(We){var st;if("%AsyncFunction%"===We)st=w("async function () {}");else if("%GeneratorFunction%"===We)st=w("function* () {}");else if("%AsyncGeneratorFunction%"===We)st=w("async function* () {}");else if("%AsyncGenerator%"===We){var Ve=Qe("%AsyncGeneratorFunction%");Ve&&(st=Ve.prototype)}else if("%AsyncIteratorPrototype%"===We){var at=Qe("%AsyncGenerator%");at&&(st=B(at.prototype))}return M[We]=st,st},V={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},W=c(84444),q=c(93164),J=W.call(Function.call,Array.prototype.concat),te=W.call(Function.apply,Array.prototype.splice),ae=W.call(Function.call,String.prototype.replace),re=W.call(Function.call,String.prototype.slice),oe=W.call(Function.call,RegExp.prototype.exec),se=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,le=/\\(\\)?/g,Y=function(We){var st=re(We,0,1),Ve=re(We,-1);if("%"===st&&"%"!==Ve)throw new b("invalid intrinsic syntax, expected closing `%`");if("%"===Ve&&"%"!==st)throw new b("invalid intrinsic syntax, expected opening `%`");var at=[];return ae(We,se,function(vt,Sn,Ge,Wt){at[at.length]=Ge?ae(Wt,le,"$1"):Sn||vt}),at},_e=function(We,st){var at,Ve=We;if(q(V,Ve)&&(Ve="%"+(at=V[Ve])[0]+"%"),q(M,Ve)){var vt=M[Ve];if(vt===z&&(vt=O(Ve)),typeof vt>"u"&&!st)throw new C("intrinsic "+We+" exists, but is not available. Please file an issue!");return{alias:at,name:Ve,value:vt}}throw new b("intrinsic "+We+" does not exist!")};_.exports=function(We,st){if("string"!=typeof We||0===We.length)throw new C("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof st)throw new C('"allowMissing" argument must be a boolean');if(null===oe(/^%?[^%]*%?$/,We))throw new b("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ve=Y(We),at=Ve.length>0?Ve[0]:"",vt=_e("%"+at+"%",st),Sn=vt.name,Ge=vt.value,Wt=!1,wt=vt.alias;wt&&(at=wt[0],te(Ve,J([0,1],wt)));for(var ln=1,Yt=!0;ln<Ve.length;ln+=1){var tn=Ve[ln],Gt=re(tn,0,1),nt=re(tn,-1);if(('"'===Gt||"'"===Gt||"`"===Gt||'"'===nt||"'"===nt||"`"===nt)&&Gt!==nt)throw new b("property names with quotes must have matching quotes");if(("constructor"===tn||!Yt)&&(Wt=!0),q(M,Sn="%"+(at+="."+tn)+"%"))Ge=M[Sn];else if(null!=Ge){if(!(tn in Ge)){if(!st)throw new C("base intrinsic for "+We+" exists, but the property is not available.");return}if(R&&ln+1>=Ve.length){var jt=R(Ge,tn);Ge=(Yt=!!jt)&&"get"in jt&&!("originalValue"in jt.get)?jt.get:Ge[tn]}else Yt=q(Ge,tn),Ge=Ge[tn];Yt&&!Wt&&(M[Sn]=Ge)}}return Ge}},92969:(_,k,c)=>{"use strict";var g=typeof Symbol<"u"&&Symbol,b=c(81983);_.exports=function(){return"function"==typeof g&&"function"==typeof Symbol&&"symbol"==typeof g("foo")&&"symbol"==typeof Symbol("bar")&&b()}},81983:_=>{"use strict";_.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var c={},g=Symbol("test"),b=Object(g);if("string"==typeof g||"[object Symbol]"!==Object.prototype.toString.call(g)||"[object Symbol]"!==Object.prototype.toString.call(b))return!1;for(g in c[g]=42,c)return!1;if("function"==typeof Object.keys&&0!==Object.keys(c).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(c).length)return!1;var C=Object.getOwnPropertySymbols(c);if(1!==C.length||C[0]!==g||!Object.prototype.propertyIsEnumerable.call(c,g))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var w=Object.getOwnPropertyDescriptor(c,g);
1if(42!==w.value||!0!==w.enumerable)return!1}return!0}},93164:(_,k,c)=>{"use strict";var g=c(84444);_.exports=g.call(Function.call,Object.prototype.hasOwnProperty)},15241:_=>{function k(lt){return lt instanceof Map?lt.clear=lt.delete=lt.set=function(){throw new Error("map is read-only")}:lt instanceof Set&&(lt.add=lt.clear=lt.delete=function(){throw new Error("set is read-only")}),Object.freeze(lt),Object.getOwnPropertyNames(lt).forEach(function(At){var tt=lt[At];"object"==typeof tt&&!Object.isFrozen(tt)&&k(tt)}),lt}var c=k;c.default=k;class b{constructor(At){void 0===At.data&&(At.data={}),this.data=At.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function S(lt){return lt.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function C(lt,...At){const tt=Object.create(null);for(const Mt in lt)tt[Mt]=lt[Mt];return At.forEach(function(Mt){for(const nn in Mt)tt[nn]=Mt[nn]}),tt}const R=lt=>!!lt.kind;class L{constructor(At,tt){this.buffer="",this.classPrefix=tt.classPrefix,At.walk(this)}addText(At){this.buffer+=S(At)}openNode(At){if(!R(At))return;let tt=At.kind;At.sublanguage||(tt=`${this.classPrefix}${tt}`),this.span(tt)}closeNode(At){!R(At)||(this.buffer+="</span>")}value(){return this.buffer}span(At){this.buffer+=`<span class="${At}">`}}class F{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(At){this.top.children.push(At)}openNode(At){const tt={kind:At,children:[]};this.add(tt),this.stack.push(tt)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(At){return this.constructor._walk(At,this.rootNode)}static _walk(At,tt){return"string"==typeof tt?At.addText(tt):tt.children&&(At.openNode(tt),tt.children.forEach(Mt=>this._walk(At,Mt)),At.closeNode(tt)),At}static _collapse(At){"string"!=typeof At&&(!At.children||(At.children.every(tt=>"string"==typeof tt)?At.children=[At.children.join("")]:At.children.forEach(tt=>{F._collapse(tt)})))}}class N extends F{constructor(At){super(),this.options=At}addKeyword(At,tt){""!==At&&(this.openNode(tt),this.addText(At),this.closeNode())}addText(At){""!==At&&this.add(At)}addSublanguage(At,tt){const Mt=At.root;Mt.kind=tt,Mt.sublanguage=!0,this.add(Mt)}toHTML(){return new L(this,this.options).value()}finalize(){return!0}}function z(lt){return lt?"string"==typeof lt?lt:lt.source:null}const W=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,te="[a-zA-Z]\\w*",ae="[a-zA-Z_]\\w*",re="\\b\\d+(\\.\\d+)?",oe="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",se="\\b(0b[01]+)",_e={begin:"\\\\[\\s\\S]",relevance:0},Qe={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[_e]},We={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[_e]},st={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ve=function(lt,At,tt={}){const Mt=C({className:"comment",begin:lt,end:At,contains:[]},tt);return Mt.contains.push(st),Mt.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Mt},at=Ve("//","$"),vt=Ve("/\\*","\\*/"),Sn=Ve("#","$");var kn=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:te,UNDERSCORE_IDENT_RE:ae,NUMBER_RE:re,C_NUMBER_RE:oe,BINARY_NUMBER_RE:se,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(lt={})=>{const At=/^#![ ]*\//;return lt.binary&&(lt.begin=function A(...lt){return lt.map(tt=>z(tt)).join("")}(At,/.*\b/,lt.binary,/\b.*/)),C({className:"meta",begin:At,end:/$/,relevance:0,"on:begin":(tt,Mt)=>{0!==tt.index&&Mt.ignoreMatch()}},lt)},BACKSLASH_ESCAPE:_e,APOS_STRING_MODE:Qe,QUOTE_STRING_MODE:We,PHRASAL_WORDS_MODE:st,COMMENT:Ve,C_LINE_COMMENT_MODE:at,C_BLOCK_COMMENT_MODE:vt,HASH_COMMENT_MODE:Sn,NUMBER_MODE:{className:"number",begin:re,relevance:0},C_NUMBER_MODE:{className:"number",begin:oe,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:se,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:re+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[_e,{begin:/\[/,end:/\]/,relevance:0,contains:[_e]}]}]},TITLE_MODE:{className:"title",begin:te,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:ae,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ae,relevance:0},END_SAME_AS_BEGIN:function(lt){return Object.assign(lt,{"on:begin":(At,tt)=>{tt.data._beginMatch=At[1]},"on:end":(At,tt)=>{tt.data._beginMatch!==At[1]&&tt.ignoreMatch()}})}});function Bn(lt,At){"."===lt.input[lt.index-1]&&At.ignoreMatch()}function Jn(lt,At){!At||!lt.beginKeywords||(lt.begin="\\b("+lt.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",lt.__beforeBegin=Bn,lt.keywords=lt.keywords||lt.beginKeywords,delete lt.beginKeywords,void 0===lt.relevance&&(lt.relevance=0))}function Pr(lt,At){!Array.isArray(lt.illegal)||(lt.illegal=function M(...lt){return"("+lt.map(tt=>z(tt)).join("|")+")"}(...lt.illegal))}
1function qn(lt,At){if(lt.match){if(lt.begin||lt.end)throw new Error("begin & end are not supported with match");lt.begin=lt.match,delete lt.match}}function Dr(lt,At){void 0===lt.relevance&&(lt.relevance=1)}const ni=["of","and","for","in","not","or","if","then","parent","list","value"];function Gi(lt,At,tt="keyword"){const Mt={};return"string"==typeof lt?nn(tt,lt.split(" ")):Array.isArray(lt)?nn(tt,lt):Object.keys(lt).forEach(function(tr){Object.assign(Mt,Gi(lt[tr],At,tr))}),Mt;function nn(tr,si){At&&(si=si.map(Lr=>Lr.toLowerCase())),si.forEach(function(Lr){const Nr=Lr.split("|");Mt[Nr[0]]=[tr,Hr(Nr[0],Nr[1])]})}}function Hr(lt,At){return At?Number(At):function ft(lt){return ni.includes(lt.toLowerCase())}(lt)?0:1}function pe(lt,{}){function tt(Lr,Nr){return new RegExp(z(Lr),"m"+(lt.case_insensitive?"i":"")+(Nr?"g":""))}class Mt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Nr,Ei){Ei.position=this.position++,this.matchIndexes[this.matchAt]=Ei,this.regexes.push([Ei,Nr]),this.matchAt+=function O(lt){return new RegExp(lt.toString()+"|").exec("").length-1}(Nr)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const Nr=this.regexes.map(Ei=>Ei[1]);this.matcherRe=tt(function q(lt,At="|"){let tt=0;return lt.map(Mt=>{tt+=1;const nn=tt;let tr=z(Mt),si="";for(;tr.length>0;){const Lr=W.exec(tr);if(!Lr){si+=tr;break}si+=tr.substring(0,Lr.index),tr=tr.substring(Lr.index+Lr[0].length),"\\"===Lr[0][0]&&Lr[1]?si+="\\"+String(Number(Lr[1])+nn):(si+=Lr[0],"("===Lr[0]&&tt++)}return si}).map(Mt=>`(${Mt})`).join(At)}(Nr),!0),this.lastIndex=0}exec(Nr){this.matcherRe.lastIndex=this.lastIndex;const Ei=this.matcherRe.exec(Nr);if(!Ei)return null;const Wi=Ei.findIndex((Ms,Ml)=>Ml>0&&void 0!==Ms),es=this.matchIndexes[Wi];return Ei.splice(0,Wi),Object.assign(Ei,es)}}class nn{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Nr){if(this.multiRegexes[Nr])return this.multiRegexes[Nr];const Ei=new Mt;return this.rules.slice(Nr).forEach(([Wi,es])=>Ei.addRule(Wi,es)),Ei.compile(),this.multiRegexes[Nr]=Ei,Ei}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(Nr,Ei){this.rules.push([Nr,Ei]),"begin"===Ei.type&&this.count++}exec(Nr){const Ei=this.getMatcher(this.regexIndex);Ei.lastIndex=this.lastIndex;let Wi=Ei.exec(Nr);if(this.resumingScanAtSamePosition()&&(!Wi||Wi.index!==this.lastIndex)){const es=this.getMatcher(0);es.lastIndex=this.lastIndex+1,Wi=es.exec(Nr)}return Wi&&(this.regexIndex+=Wi.position+1,this.regexIndex===this.count&&this.considerAll()),Wi}}if(lt.compilerExtensions||(lt.compilerExtensions=[]),lt.contains&<.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return lt.classNameAliases=C(lt.classNameAliases||{}),function si(Lr,Nr){const Ei=Lr;if(Lr.isCompiled)return Ei;[qn].forEach(es=>es(Lr,Nr)),lt.compilerExtensions.forEach(es=>es(Lr,Nr)),Lr.__beforeBegin=null,[Jn,Pr,Dr].forEach(es=>es(Lr,Nr)),Lr.isCompiled=!0;let Wi=null;if("object"==typeof Lr.keywords&&(Wi=Lr.keywords.$pattern,delete Lr.keywords.$pattern),Lr.keywords&&(Lr.keywords=Gi(Lr.keywords,lt.case_insensitive)),Lr.lexemes&&Wi)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Wi=Wi||Lr.lexemes||/\w+/,Ei.keywordPatternRe=tt(Wi,!0),Nr&&(Lr.begin||(Lr.begin=/\B|\b/),Ei.beginRe=tt(Lr.begin),Lr.endSameAsBegin&&(Lr.end=Lr.begin),!Lr.end&&!Lr.endsWithParent&&(Lr.end=/\B|\b/),Lr.end&&(Ei.endRe=tt(Lr.end)),Ei.terminatorEnd=z(Lr.end)||"",Lr.endsWithParent&&Nr.terminatorEnd&&(Ei.terminatorEnd+=(Lr.end?"|":"")+Nr.terminatorEnd)),Lr.illegal&&(Ei.illegalRe=tt(Lr.illegal)),Lr.contains||(Lr.contains=[]),Lr.contains=[].concat(...Lr.contains.map(function(es){return function xt(lt){return lt.variants&&!lt.cachedVariants&&(lt.cachedVariants=lt.variants.map(function(At){return C(lt,{variants:null},At)})),lt.cachedVariants?lt.cachedVariants:be(lt)?C(lt,{starts:lt.starts?C(lt.starts):null}):Object.isFrozen(lt)?C(lt):lt}("self"===es?Lr:es)}
vendor: 9,091 bytes, line 1
1)),Lr.contains.forEach(function(es){si(es,Ei)}),Lr.starts&&si(Lr.starts,Nr),Ei.matcher=function tr(Lr){const Nr=new nn;return Lr.contains.forEach(Ei=>Nr.addRule(Ei.begin,{rule:Ei,type:"begin"})),Lr.terminatorEnd&&Nr.addRule(Lr.terminatorEnd,{type:"end"}),Lr.illegal&&Nr.addRule(Lr.illegal,{type:"illegal"}),Nr}(Ei),Ei}(lt)}function be(lt){return!!lt&&(lt.endsWithParent||be(lt.starts))}function cn(lt){const At={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!lt.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,S(this.code);let Mt={};return this.autoDetect?(Mt=lt.highlightAuto(this.code),this.detectedLanguage=Mt.language):(Mt=lt.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Mt.value},autoDetect(){return!this.language||function Xt(lt){return Boolean(lt||""===lt)}(this.autodetect)},ignoreIllegals:()=>!0},render(Mt){return Mt("pre",{},[Mt("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:At,VuePlugin:{install(Mt){Mt.component("highlightjs",At)}}}}const vn={"after:highlightElement":({el:lt,result:At,text:tt})=>{const Mt=Nt(lt);if(!Mt.length)return;const nn=document.createElement("div");nn.innerHTML=At.value,At.value=function on(lt,At,tt){let Mt=0,nn="";const tr=[];function si(){return lt.length&&At.length?lt[0].offset!==At[0].offset?lt[0].offset<At[0].offset?lt:At:"start"===At[0].event?lt:At:lt.length?lt:At}function Lr(Wi){nn+="<"+X(Wi)+[].map.call(Wi.attributes,function es(Ms){return" "+Ms.nodeName+'="'+S(Ms.value)+'"'}).join("")+">"}function Nr(Wi){nn+="</"+X(Wi)+">"}function Ei(Wi){("start"===Wi.event?Lr:Nr)(Wi.node)}for(;lt.length||At.length;){let Wi=si();if(nn+=S(tt.substring(Mt,Wi[0].offset)),Mt=Wi[0].offset,Wi===lt){tr.reverse().forEach(Nr);do{Ei(Wi.splice(0,1)[0]),Wi=si()}while(Wi===lt&&Wi.length&&Wi[0].offset===Mt);tr.reverse().forEach(Lr)}else"start"===Wi[0].event?tr.push(Wi[0].node):tr.pop(),Ei(Wi.splice(0,1)[0])}return nn+S(tt.substr(Mt))}(Mt,Nt(nn),tt)}};function X(lt){return lt.nodeName.toLowerCase()}function Nt(lt){const At=[];return function tt(Mt,nn){for(let tr=Mt.firstChild;tr;tr=tr.nextSibling)3===tr.nodeType?nn+=tr.nodeValue.length:1===tr.nodeType&&(At.push({event:"start",offset:nn,node:tr}),nn=tt(tr,nn),X(tr).match(/br|hr|img|input/)||At.push({event:"stop",offset:nn,node:tr}));return nn}(lt,0),At}const An={},bn=lt=>{console.error(lt)},Fn=(lt,...At)=>{console.log(`WARN: ${lt}`,...At)},Oe=(lt,At)=>{An[`${lt}/${At}`]||(console.log(`Deprecated as of ${lt}. ${At}`),An[`${lt}/${At}`]=!0)},$t=S,Ht=C,rt=Symbol("nomatch");var en=function(lt){const At=Object.create(null),tt=Object.create(null),Mt=[];let nn=!0;const tr=/(^(<[^>]+>|\t|)+|\n)/gm,si="Could not find the language '{}', did you forget to load/include a language module?",Lr={disableAutodetect:!0,name:"Plain text",contains:[]};let Nr={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:N};function Ei(ur){return Nr.noHighlightRe.test(ur)}function es(ur,pi,gi,Ui){let Os="",bc="";"object"==typeof pi?(Os=ur,gi=pi.ignoreIllegals,bc=pi.language,Ui=void 0):(Oe("10.7.0","highlight(lang, code, ...args) has been deprecated."),Oe("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),bc=ur,Os=pi);const uo={code:Os,language:bc};Ys("before:highlight",uo);const sa=uo.result?uo.result:Ms(uo.language,uo.code,gi,Ui);return sa.code=uo.code,Ys("after:highlight",sa),sa}function Ms(ur,pi,gi,Ui){function Os(hi,qi){const go=Jl.case_insensitive?qi[0].toLowerCase():qi[0];return Object.prototype.hasOwnProperty.call(hi.keywords,go)&&hi.keywords[go]}function sa(){null!=di.subLanguage?function uo(){if(""===Co)return;let hi=null;if("string"==typeof di.subLanguage){if(!At[di.subLanguage])return void sl.addText(Co);hi=Ms(di.subLanguage,Co,!0,A2[di.subLanguage]),A2[di.subLanguage]=hi.top}else hi=va(Co,di.subLanguage.length?di.subLanguage:null);di.relevance>0&&(Ks+=hi.relevance),sl.addSublanguage(hi.emitter,hi.language)}():function bc(){if(!di.keywords)return void sl.addText(Co);let hi=0;di.keywordPatternRe.lastIndex=0;let qi=di.keywordPatternRe.exec(Co),go="";for(;qi;){go+=Co.substring(hi,qi.index);const Cs=Os(di,qi);if(Cs){const[Aa,Ku]=Cs;sl.addText(go),go="",Ks+=Ku,Aa.startsWith("_")?go+=qi[0]:sl.addKeyword(qi[0],Jl.classNameAliases[Aa]||Aa)}else go+=qi[0];hi=di.keywordPatternRe.lastIndex,qi=di.keywordPatternRe.exec(Co)}go+=Co.substr(hi),sl.addText(go)}(),Co=""}function fo(hi){return hi.className&&sl.openNode(Jl.classNameAliases[hi.className]||hi.className),di=Object.create(hi,{parent:{value:di}}),di}function La(hi,qi,go){let Cs=function V(lt,At){const tt=lt&<.exec(At);return tt&&0===tt.index}(hi.endRe,go);if(Cs){if(hi["on:end"]){const Aa=new b(hi);hi["on:end"](qi,Aa),Aa.isMatchIgnored&&(Cs=!1)}if(Cs){for(;hi.endsParent&&hi.parent;)hi=hi.parent;return hi}}if(hi.endsWithParent)return La(hi.parent,qi,go)}function ku(hi){return 0===di.matcher.regexIndex?(Co+=hi[0],1):(Nc=!0,0)}function Oi(hi){const qi=hi[0],go=pi.substr(hi.index),Cs=La(di,hi,go);if(!Cs)return rt;const Aa=di;Aa.skip?Co+=qi:(Aa.returnEnd||Aa.excludeEnd||(Co+=qi),sa(),Aa.excludeEnd&&(Co=qi));do{di.className&&sl.closeNode(),!di.skip&&!di.subLanguage&&(Ks+=di.relevance),di=di.parent}while(di!==Cs.parent);return Cs.starts&&(Cs.endSameAsBegin&&(Cs.starts.endRe=Cs.endRe),fo(Cs.starts)),Aa.returnEnd?0:qi.length}let Yu={};function ir(hi,qi){const go=qi&&qi[0];if(Co+=hi,null==go)return sa(),0;if("begin"===Yu.type&&"end"===qi.type&&Yu.index===qi.index&&""===go){if(Co+=pi.slice(qi.index,qi.index+1),!nn){const Cs=new Error("0 width match regex");throw Cs.languageName=ur,Cs.badRule=Yu.rule,Cs}return 1}if(Yu=qi,"begin"===qi.type)return function No(hi){const qi=hi[0],go=hi.rule,Cs=new b(go),Aa=[go.__beforeBegin,go["on:begin"]];for(const Ku of Aa)if(Ku&&(Ku(hi,Cs),Cs.isMatchIgnored))return ku(qi);return go&&go.endSameAsBegin&&(go.endRe=function B(lt){return new RegExp(lt.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(qi)),go.skip?Co+=qi:(go.excludeBegin&&(Co+=qi),sa(),!go.returnBegin&&!go.excludeBegin&&(Co=qi)),fo(go),go.returnBegin?0:qi.length}(qi);if("illegal"===qi.type&&!gi){const Cs=new Error('Illegal lexeme "'+go+'" for mode "'+(di.className||"<unnamed>")+'"');throw Cs.mode=di,Cs}if("end"===qi.type){const Cs=Oi(qi);if(Cs!==rt)return Cs}if("illegal"===qi.type&&""===go)return 1;if(gu>1e5&&gu>3*qi.index)throw new Error("potential infinite loop, way more iterations than matches");return Co+=go,go.length}const Jl=Ii(ur);if(!Jl)throw bn(si.replace("{}",ur)),new Error('Unknown language: "'+ur+'"');const vo=pe(Jl,{plugins:Mt});let to="",di=Ui||vo;const A2={},sl=new Nr.__emitter(Nr);!function Tu(){const hi=[];for(let qi=di;qi!==Jl;qi=qi.parent)qi.className&&hi.unshift(qi.className);hi.forEach(qi=>sl.openNode(qi))}();let Co="",Ks=0,Ql=0,gu=0,Nc=!1;try{for(di.matcher.considerAll();;){gu++,Nc?Nc=!1:di.matcher.considerAll(),di.matcher.lastIndex=Ql;const hi=di.matcher.exec(pi);if(!hi)break;const go=ir(pi.substring(Ql,hi.index),hi);Ql=hi.index+go}return ir(pi.substr(Ql)),sl.closeAllNodes(),sl.finalize(),to=sl.toHTML(),{relevance:Math.floor(Ks),value:to,language:ur,illegal:!1,emitter:sl,top:di}}catch(hi){if(hi.message&&hi.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:hi.message,context:pi.slice(Ql-100,Ql+100),mode:hi.mode},sofar:to,relevance:0,value:$t(pi),emitter:sl};if(nn)return{illegal:!1,relevance:0,value:$t(pi),emitter:sl,language:ur,top:di,errorRaised:hi};throw hi}}function va(ur,pi){pi=pi||Nr.languages||Object.keys(At);const gi=function Ml(ur){const pi={relevance:0,emitter:new Nr.__emitter(Nr),value:$t(ur),illegal:!1,top:Lr};return pi.emitter.addText(ur),pi}(ur),Ui=pi.filter(Ii).filter(ds).map(fo=>Ms(fo,ur,!1));Ui.unshift(gi);const Os=Ui.sort((fo,La)=>{if(fo.relevance!==La.relevance)return La.relevance-fo.relevance;if(fo.language&&La.language){if(Ii(fo.language).supersetOf===La.language)return 1;if(Ii(La.language).supersetOf===fo.language)return-1}return 0}),[bc,uo]=Os,sa=bc;return sa.second_best=uo,sa}const Zl={"before:highlightElement":({el:ur})=>{Nr.useBR&&(ur.innerHTML=ur.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:ur})=>{Nr.useBR&&(ur.value=ur.value.replace(/\n/g,"<br>"))}},Ra=/^(<[^>]+>|\t)+/gm,Ea={"after:highlightElement":({result:ur})=>{Nr.tabReplace&&(ur.value=ur.value.replace(Ra,pi=>pi.replace(/\t/g,Nr.tabReplace)))}};function ia(ur){let pi=null;const gi=function Wi(ur){let pi=ur.className+" ";pi+=ur.parentNode?ur.parentNode.className:"";const gi=Nr.languageDetectRe.exec(pi);if(gi){const Ui=Ii(gi[1]);return Ui||(Fn(si.replace("{}",gi[1])),Fn("Falling back to no-highlight mode for this block.",ur)),Ui?gi[1]:"no-highlight"}return pi.split(/\s+/).find(Ui=>Ei(Ui)||Ii(Ui))}(ur);
1if(Ei(gi))return;Ys("before:highlightElement",{el:ur,language:gi}),pi=ur;const Ui=pi.textContent,Os=gi?es(Ui,{language:gi,ignoreIllegals:!0}):va(Ui);Ys("after:highlightElement",{el:ur,result:Os,text:Ui}),ur.innerHTML=Os.value,function ya(ur,pi,gi){const Ui=pi?tt[pi]:gi;ur.classList.add("hljs"),Ui&&ur.classList.add(Ui)}(ur,gi,Os.language),ur.result={language:Os.language,re:Os.relevance,relavance:Os.relevance},Os.second_best&&(ur.second_best={language:Os.second_best.language,re:Os.second_best.relevance,relavance:Os.second_best.relevance})}const Ai=()=>{Ai.called||(Ai.called=!0,Oe("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(ia))};let fi=!1;function Dl(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(ia):fi=!0}function Ii(ur){return ur=(ur||"").toLowerCase(),At[ur]||At[tt[ur]]}function Xr(ur,{languageName:pi}){"string"==typeof ur&&(ur=[ur]),ur.forEach(gi=>{tt[gi.toLowerCase()]=pi})}function ds(ur){const pi=Ii(ur);return pi&&!pi.disableAutodetect}function Ys(ur,pi){const gi=ur;Mt.forEach(function(Ui){Ui[gi]&&Ui[gi](pi)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function Cn(){fi&&Dl()},!1),Object.assign(lt,{highlight:es,highlightAuto:va,highlightAll:Dl,fixMarkup:function yr(ur){return Oe("10.2.0","fixMarkup will be removed entirely in v11.0"),Oe("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function Oa(ur){return Nr.tabReplace||Nr.useBR?ur.replace(tr,pi=>"\n"===pi?Nr.useBR?"<br>":pi:Nr.tabReplace?pi.replace(/\t/g,Nr.tabReplace):pi):ur}(ur)},highlightElement:ia,highlightBlock:function ts(ur){return Oe("10.7.0","highlightBlock will be removed entirely in v12.0"),Oe("10.7.0","Please use highlightElement now."),ia(ur)},configure:function ol(ur){ur.useBR&&(Oe("10.3.0","'useBR' will be removed entirely in v11.0"),Oe("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),Nr=Ht(Nr,ur)},initHighlighting:Ai,initHighlightingOnLoad:function Bo(){Oe("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),fi=!0},registerLanguage:function Vn(ur,pi){let gi=null;try{gi=pi(lt)}catch(Ui){if(bn("Language definition for '{}' could not be registered.".replace("{}",ur)),!nn)throw Ui;bn(Ui),gi=Lr}gi.name||(gi.name=ur),At[ur]=gi,gi.rawDefinition=pi.bind(null,lt),gi.aliases&&Xr(gi.aliases,{languageName:ur})},unregisterLanguage:function zn(ur){delete At[ur];for(const pi of Object.keys(tt))tt[pi]===ur&&delete tt[pi]},listLanguages:function yn(){return Object.keys(At)},getLanguage:Ii,registerAliases:Xr,requireLanguage:function sr(ur){Oe("10.4.0","requireLanguage will be removed entirely in v11."),Oe("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const pi=Ii(ur);if(pi)return pi;throw new Error("The '{}' language is required, but not loaded.".replace("{}",ur))},autoDetection:ds,inherit:Ht,addPlugin:function oa(ur){(function ws(ur){ur["before:highlightBlock"]&&!ur["before:highlightElement"]&&(ur["before:highlightElement"]=pi=>{ur["before:highlightBlock"](Object.assign({block:pi.el},pi))}),ur["after:highlightBlock"]&&!ur["after:highlightElement"]&&(ur["after:highlightElement"]=pi=>{ur["after:highlightBlock"](Object.assign({block:pi.el},pi))})})(ur),Mt.push(ur)},vuePlugin:cn(lt).VuePlugin}),lt.debugMode=function(){nn=!1},lt.safeMode=function(){nn=!0},lt.versionString="10.7.3";for(const ur in kn)"object"==typeof kn[ur]&&c(kn[ur]);return Object.assign(lt,kn),lt.addPlugin(Zl),lt.addPlugin(vn),lt.addPlugin(Ea),lt}({});_.exports=en},71369:_=>{function c(...b){return b.map(C=>function k(b){return b?"string"==typeof b?b:b.source:null}(C)).join("")}_.exports=function g(b){const S={},C={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[S]}]};Object.assign(S,{className:"variable",variants:[{begin:c(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},C]});const w={className:"subst",begin:/\$\(/,end:/\)/,contains:[b.BACKSLASH_ESCAPE]},R={begin:/<<-?\s*(?=\w+)/,starts:{contains:[b.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},L={className:"string",begin:/"/,end:/"/,contains:[b.BACKSLASH_ESCAPE,S,w]};w.contains.push(L);const B={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},b.NUMBER_MODE,S]},A=b.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),M={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[b.inherit(b.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[A,b.SHEBANG(),M,B,b.HASH_COMMENT_MODE,R,L,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},S]}}},52268:_=>{function c(...b){return b.map(C=>function k(b){return b?"string"==typeof b?b:b.source:null}(C)).join("")}_.exports=function g(b){const S="HTTP/(2|1\\.[01])",w={className:"attribute",begin:c("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},R=[w,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];
vendor: 9,754 bytes, line 1
1return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+S+" \\d{3})",end:/$/,contains:[{className:"meta",begin:S},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:R}},{begin:"(?=^[A-Z]+ (.*?) "+S+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:S},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:R}},b.inherit(w,{relevance:0})]}}},71150:_=>{const k="[A-Za-z$_][0-9A-Za-z$_]*",c=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],g=["true","false","null","undefined","NaN","Infinity"],R=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function F(z){return N("(?=",z,")")}function N(...z){return z.map(M=>function L(z){return z?"string"==typeof z?z:z.source:null}(M)).join("")}_.exports=function B(z){const M=k,V={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(at,vt)=>{const Sn=at[0].length+at.index,Ge=at.input[Sn];"<"!==Ge?">"===Ge&&(((at,{after:vt})=>{const Sn="</"+at[0].slice(1);return-1!==at.input.indexOf(Sn,vt)})(at,{after:Sn})||vt.ignoreMatch()):vt.ignoreMatch()}},W={$pattern:k,keyword:c,literal:g,built_in:R},q="[0-9](_?[0-9])*",J=`\\.(${q})`,te="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",ae={className:"number",variants:[{begin:`(\\b(${te})((${J})|\\.)?|(${J}))[eE][+-]?(${q})\\b`},{begin:`\\b(${te})\\b((${J})\\b|\\.)?|(${J})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},re={className:"subst",begin:"\\$\\{",end:"\\}",keywords:W,contains:[]},oe={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[z.BACKSLASH_ESCAPE,re],subLanguage:"xml"}},se={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[z.BACKSLASH_ESCAPE,re],subLanguage:"css"}},le={className:"string",begin:"`",end:"`",contains:[z.BACKSLASH_ESCAPE,re]},_e={className:"comment",variants:[z.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:M+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),z.C_BLOCK_COMMENT_MODE,z.C_LINE_COMMENT_MODE]},Qe=[z.APOS_STRING_MODE,z.QUOTE_STRING_MODE,oe,se,le,ae,z.REGEXP_MODE];re.contains=Qe.concat({begin:/\{/,end:/\}/,keywords:W,contains:["self"].concat(Qe)});const We=[].concat(_e,re.contains),st=We.concat([{begin:/\(/,end:/\)/,keywords:W,contains:["self"].concat(We)}]),Ve={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:st};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:W,exports:{PARAMS_CONTAINS:st},illegal:/#(?![$_A-z])/,contains:[z.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z.APOS_STRING_MODE,z.QUOTE_STRING_MODE,oe,se,le,_e,ae,{begin:N(/[{,\n]\s*/,F(N(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,M+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:M+F("\\s*:"),relevance:0}]},{begin:"("+z.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[_e,z.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+z.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:z.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:st}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:"</>"},{begin:V.begin,"on:begin":V.isTrulyOpeningTag,end:V.end}],subLanguage:"xml",contains:[{begin:V.begin,end:V.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:W,contains:["self",z.inherit(z.TITLE_MODE,{begin:M}),Ve],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:z.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[Ve,z.inherit(z.TITLE_MODE,{begin:M})]},{variants:[{begin:"\\."+M},{begin:"\\$"+M}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},z.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[z.inherit(z.TITLE_MODE,{begin:M}),"self",Ve]},{begin:"(get|set)\\s+(?="+M+"\\()",end:/\{/,keywords:"get set",contains:[z.inherit(z.TITLE_MODE,{begin:M}),{begin:/\(\)/},Ve]},{begin:/\$[(.]/}]}}},67652:_=>{_.exports=function k(c){const g={literal:"true false null"},b=[c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE],S=[c.QUOTE_STRING_MODE,c.C_NUMBER_MODE],C={end:",",endsWithParent:!0,excludeEnd:!0,contains:S,keywords:g},w={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[c.BACKSLASH_ESCAPE],illegal:"\\n"},c.inherit(C,{begin:/:/})].concat(b),illegal:"\\S"},R={begin:"\\[",end:"\\]",contains:[c.inherit(C)],illegal:"\\S"};return S.push(w,R),b.forEach(function(L){S.push(L)}),{name:"JSON",contains:S,keywords:g,illegal:"\\S"}}},8386:_=>{_.exports=function k(c){const C={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},R={begin:"`[\\s\\S]",relevance:0},L={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},N={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[R,L,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},B={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},A=c.inherit(c.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),M={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},O={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[c.TITLE_MODE]},V={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[L]}]},W={begin:/using\s/,end:/$/,returnBegin:!0,contains:[N,B,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},q={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")}
1,{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},te={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(C.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},c.inherit(c.TITLE_MODE,{endsParent:!0})]},ae=[te,A,R,c.NUMBER_MODE,N,B,M,L,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],re={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",ae,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return te.contains.unshift(re),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:C,contains:ae.concat(O,V,W,q,re)}}},31891:_=>{function k(w){return w?"string"==typeof w?w:w.source:null}function c(w){return b("(?=",w,")")}function b(...w){return w.map(L=>k(L)).join("")}function S(...w){return"("+w.map(L=>k(L)).join("|")+")"}_.exports=function C(w){const R=b(/[A-Z_]/,function g(w){return b("(",w,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),F={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},N={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},B=w.inherit(N,{begin:/\(/,end:/\)/}),z=w.inherit(w.APOS_STRING_MODE,{className:"meta-string"}),A=w.inherit(w.QUOTE_STRING_MODE,{className:"meta-string"}),M={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[F]},{begin:/'/,end:/'/,contains:[F]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[N,A,z,B,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[N,B,A,z]}]}]},w.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},F,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[M],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[M],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:b(/</,c(b(R,S(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:R,relevance:0,starts:M}]},{className:"tag",begin:b(/<\//,c(b(R,/>/))),contains:[{className:"name",begin:R,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},78463:_=>{_.exports=function k(c){var g="true false yes no null",b="[\\w#;/?:@&=+$,.~*'()[\\]]+",w={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[c.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},R=c.inherit(w,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),A={end:",",endsWithParent:!0,excludeEnd:!0,keywords:g,relevance:0},V=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+b},{className:"type",begin:"!<"+b+">"},{className:"type",begin:"!"+b},{className:"type",begin:"!!"+b},{className:"meta",begin:"&"+c.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+c.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},c.HASH_COMMENT_MODE,{beginKeywords:g,keywords:{literal:g}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:c.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[A],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[A],illegal:"\\n",relevance:0},w],W=[...V];return W.pop(),W.push(R),A.contains=W,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:V}}},89489:(_,k,c)=>{"use strict";var g=c(71786),b={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},S={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},w={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},R={};function L(V){return g.isMemo(V)?w:R[V.$$typeof]||b}R[g.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},R[g.Memo]=w;var F=Object.defineProperty,N=Object.getOwnPropertyNames,B=Object.getOwnPropertySymbols,z=Object.getOwnPropertyDescriptor,A=Object.getPrototypeOf,M=Object.prototype;_.exports=function O(V,W,q){if("string"!=typeof W){if(M){var J=A(W);J&&J!==M&&O(V,J,q)}var te=N(W);B&&(te=te.concat(B(W)));for(var ae=L(V),re=L(W),oe=0;oe<te.length;++oe){var se=te[oe];if(!(S[se]||q&&q[se]||re&&re[se]||ae&&ae[se])){var le=z(W,se);try{F(V,se,le)}catch{}}}}return V}},48461:(_,k)=>{k.read=function(c,g,b,S,C){var w,R,L=8*C-S-1,F=(1<<L)-1,N=F>>1,B=-7,z=b?C-1:0,A=b?-1:1,M=c[g+z];for(z+=A,w=M&(1<<-B)-1,M>>=-B,B+=L;B>0;w=256*w+c[g+z],z+=A,B-=8);for(R=w&(1<<-B)-1,w>>=-B,B+=S;B>0;R=256*R+c[g+z],z+=A,B-=8);if(0===w)w=1-N;else{if(w===F)return R?NaN:1/0*(M?-1:1);R+=Math.pow(2,S),w-=N}return(M?-1:1)*R*Math.pow(2,w-S)},k.write=function(c,g,b,S,C,w){var R,L,F,N=8*w-C-1,B=(1<<N)-1,z=B>>1,A=23===C?Math.pow(2,-24)-Math.pow(2,-77):0,M=S?0:w-1,O=S?1:-1,V=g<0||0===g&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===1/0?(L=isNaN(g)?1:0,R=B):(R=Math.floor(Math.log(g)/Math.LN2),g*(F=Math.pow(2,-R))<1&&(R--,F*=2),(g+=R+z>=1?A/F:A*Math.pow(2,1-z))*F>=2&&(R++,F/=2),R+z>=B?(L=0,R=B):R+z>=1?(L=(g*F-1)*Math.pow(2,C),R+=z):(L=g*Math.pow(2,z-1)*Math.pow(2,C),R=0));C>=8;c[b+M]=255&L,M+=O,L/=256,C-=8);for(R=R<<C|L,N+=C;N>0;c[b+M]=255&R,M+=O,R/=256,N-=8);c[b+M-O]|=128*V}},8612:function(_){_.exports=function(){"use strict";var k=Array.prototype.slice;function c(D,G){G&&(D.prototype=Object.create(G.prototype)),D.prototype.constructor=D}function g(D){return w(D)?D:Pr(D)}function b(D){return R(D)?D:qn(D)}function S(D){return L(D)?D:Dr(D)}function C(D){return w(D)&&!F(D)?D:ni(D)}function w(D){return!(!D||!D[B])}function R(D){return!(!D||!D[z])}function L(D){return!(!D||!D[A])}function F(D){return R(D)||L(D)}function N(D){return!(!D||!D[M])}c(b,g),c(S,g),c(C,g),g.isIterable=w,g.isKeyed=R,g.isIndexed=L,g.isAssociative=F,g.isOrdered=N,g.Keyed=b,g.Indexed=S,g.Set=C;
vendor: 4,610 bytes, line 1
1var B="@@__IMMUTABLE_ITERABLE__@@",z="@@__IMMUTABLE_KEYED__@@",A="@@__IMMUTABLE_INDEXED__@@",M="@@__IMMUTABLE_ORDERED__@@",O="delete",W=32,q=31,J={},te={value:!1},ae={value:!1};function re(D){return D.value=!1,D}function oe(D){D&&(D.value=!0)}function se(){}function le(D,G){G=G||0;for(var ve=Math.max(0,D.length-G),Ie=new Array(ve),He=0;He<ve;He++)Ie[He]=D[He+G];return Ie}function Y(D){return void 0===D.size&&(D.size=D.__iterate(Qe)),D.size}function _e(D,G){if("number"!=typeof G){var ve=G>>>0;if(""+ve!==G||4294967295===ve)return NaN;G=ve}return G<0?Y(D)+G:G}function Qe(){return!0}function We(D,G,ve){return(0===D||void 0!==ve&&D<=-ve)&&(void 0===G||void 0!==ve&&G>=ve)}function st(D,G){return at(D,G,0)}function Ve(D,G){return at(D,G,G)}function at(D,G,ve){return void 0===D?ve:D<0?Math.max(0,G+D):void 0===G?D:Math.min(G,D)}var Wt="function"==typeof Symbol&&Symbol.iterator,wt="@@iterator",ln=Wt||wt;function Yt(D){this.next=D}function tn(D,G,ve,Ie){var He=0===D?G:1===D?ve:[G,ve];return Ie?Ie.value=He:Ie={value:He,done:!1},Ie}function Gt(){return{value:void 0,done:!0}}function nt(D){return!!Bn(D)}function jt(D){return D&&"function"==typeof D.next}function kn(D){var G=Bn(D);return G&&G.call(D)}function Bn(D){var G=D&&(Wt&&D[Wt]||D[wt]);if("function"==typeof G)return G}function Jn(D){return D&&"number"==typeof D.length}function Pr(D){return null==D?Kt():w(D)?D.toSeq():function vn(D){var G=X(D)||"object"==typeof D&&new Hr(D);if(!G)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+D);return G}(D)}function qn(D){return null==D?Kt().toKeyedSeq():w(D)?R(D)?D.toSeq():D.fromEntrySeq():Xt(D)}function Dr(D){return null==D?Kt():w(D)?R(D)?D.entrySeq():D.toIndexedSeq():cn(D)}function ni(D){return(null==D?Kt():w(D)?R(D)?D.entrySeq():D:cn(D)).toSetSeq()}Yt.prototype.toString=function(){return"[Iterator]"},Yt.KEYS=0,Yt.VALUES=1,Yt.ENTRIES=2,Yt.prototype.inspect=Yt.prototype.toSource=function(){return this.toString()},Yt.prototype[ln]=function(){return this},c(Pr,g),Pr.of=function(){return Pr(arguments)},Pr.prototype.toSeq=function(){return this},Pr.prototype.toString=function(){return this.__toString("Seq {","}")},Pr.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Pr.prototype.__iterate=function(D,G){return Nt(this,D,G,!0)},Pr.prototype.__iterator=function(D,G){return on(this,D,G,!0)},c(qn,Pr),qn.prototype.toKeyedSeq=function(){return this},c(Dr,Pr),Dr.of=function(){return Dr(arguments)},Dr.prototype.toIndexedSeq=function(){return this},Dr.prototype.toString=function(){return this.__toString("Seq [","]")},Dr.prototype.__iterate=function(D,G){return Nt(this,D,G,!1)},Dr.prototype.__iterator=function(D,G){return on(this,D,G,!1)},c(ni,Pr),ni.of=function(){return ni(arguments)},ni.prototype.toSetSeq=function(){return this},Pr.isSeq=be,Pr.Keyed=qn,Pr.Set=ni,Pr.Indexed=Dr;var xt,ht,At,oi="@@__IMMUTABLE_SEQ__@@";function Gi(D){this._array=D,this.size=D.length}function Hr(D){var G=Object.keys(D);this._object=D,this._keys=G,this.size=G.length}function ft(D){this._iterable=D,this.size=D.length||D.size}function pe(D){this._iterator=D,this._iteratorCache=[]}function be(D){return!(!D||!D[oi])}function Kt(){return xt||(xt=new Gi([]))}function Xt(D){var G=Array.isArray(D)?new Gi(D).fromEntrySeq():jt(D)?new pe(D).fromEntrySeq():nt(D)?new ft(D).fromEntrySeq():"object"==typeof D?new Hr(D):void 0;if(!G)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+D);return G}function cn(D){var G=X(D);if(!G)throw new TypeError("Expected Array or iterable object of values: "+D);return G}function X(D){return Jn(D)?new Gi(D):jt(D)?new pe(D):nt(D)?new ft(D):void 0}function Nt(D,G,ve,Ie){var He=D._cache;if(He){for(var yt=He.length-1,Bt=0;Bt<=yt;Bt++){var mn=He[ve?yt-Bt:Bt];if(!1===G(mn[1],Ie?mn[0]:Bt,D))return Bt+1}return Bt}return D.__iterateUncached(G,ve)}function on(D,G,ve,Ie){var He=D._cache;if(He){var yt=He.length-1,Bt=0;return new Yt(function(){var mn=He[ve?yt-Bt:Bt];return Bt++>yt?{value:void 0,done:!0}:tn(G,Ie?mn[0]:Bt-1,mn[1])})}return D.__iteratorUncached(G,ve)}function An(D,G){return G?bn(G,D,"",{"":D}):Fn(D)}function bn(D,G,ve,Ie){return Array.isArray(G)?D.call(Ie,ve,Dr(G).map(function(He,yt){return bn(D,He,yt,G)})):Oe(G)?D.call(Ie,ve,qn(G).map(function(He,yt){return bn(D,He,yt,G)})):G}function Fn(D){return Array.isArray(D)?Dr(D).map(Fn).toList():Oe(D)?qn(D).map(Fn).toMap():D}function Oe(D){return D&&(D.constructor===Object||void 0===D.constructor)}function $t(D,G){if(D===G||D!=D&&G!=G)return!0;
vendor: 11,310 bytes, line 1
1if(!D||!G)return!1;if("function"==typeof D.valueOf&&"function"==typeof G.valueOf){if((D=D.valueOf())===(G=G.valueOf())||D!=D&&G!=G)return!0;if(!D||!G)return!1}return!("function"!=typeof D.equals||"function"!=typeof G.equals||!D.equals(G))}function Ht(D,G){if(D===G)return!0;if(!w(G)||void 0!==D.size&&void 0!==G.size&&D.size!==G.size||void 0!==D.__hash&&void 0!==G.__hash&&D.__hash!==G.__hash||R(D)!==R(G)||L(D)!==L(G)||N(D)!==N(G))return!1;if(0===D.size&&0===G.size)return!0;var ve=!F(D);if(N(D)){var Ie=D.entries();return G.every(function($n,jn){var cr=Ie.next().value;return cr&&$t(cr[1],$n)&&(ve||$t(cr[0],jn))})&&Ie.next().done}var He=!1;if(void 0===D.size)if(void 0===G.size)"function"==typeof D.cacheResult&&D.cacheResult();else{He=!0;var yt=D;D=G,G=yt}var Bt=!0,mn=G.__iterate(function($n,jn){if(ve?!D.has($n):He?!$t($n,D.get(jn,J)):!$t(D.get(jn,J),$n))return Bt=!1,!1});return Bt&&D.size===mn}function rt(D,G){if(!(this instanceof rt))return new rt(D,G);if(this._value=D,this.size=void 0===G?1/0:Math.max(0,G),0===this.size){if(ht)return ht;ht=this}}function en(D,G){if(!D)throw new Error(G)}function lt(D,G,ve){if(!(this instanceof lt))return new lt(D,G,ve);if(en(0!==ve,"Cannot step a Range by 0"),D=D||0,void 0===G&&(G=1/0),ve=void 0===ve?1:Math.abs(ve),G<D&&(ve=-ve),this._start=D,this._end=G,this._step=ve,this.size=Math.max(0,Math.ceil((G-D)/ve-1)+1),0===this.size){if(At)return At;At=this}}function tt(){throw TypeError("Abstract")}function Mt(){}function nn(){}function tr(){}Pr.prototype[oi]=!0,c(Gi,Dr),Gi.prototype.get=function(D,G){return this.has(D)?this._array[_e(this,D)]:G},Gi.prototype.__iterate=function(D,G){for(var ve=this._array,Ie=ve.length-1,He=0;He<=Ie;He++)if(!1===D(ve[G?Ie-He:He],He,this))return He+1;return He},Gi.prototype.__iterator=function(D,G){var ve=this._array,Ie=ve.length-1,He=0;return new Yt(function(){return He>Ie?{value:void 0,done:!0}:tn(D,He,ve[G?Ie-He++:He++])})},c(Hr,qn),Hr.prototype.get=function(D,G){return void 0===G||this.has(D)?this._object[D]:G},Hr.prototype.has=function(D){return this._object.hasOwnProperty(D)},Hr.prototype.__iterate=function(D,G){for(var ve=this._object,Ie=this._keys,He=Ie.length-1,yt=0;yt<=He;yt++){var Bt=Ie[G?He-yt:yt];if(!1===D(ve[Bt],Bt,this))return yt+1}return yt},Hr.prototype.__iterator=function(D,G){var ve=this._object,Ie=this._keys,He=Ie.length-1,yt=0;return new Yt(function(){var Bt=Ie[G?He-yt:yt];return yt++>He?{value:void 0,done:!0}:tn(D,Bt,ve[Bt])})},Hr.prototype[M]=!0,c(ft,Dr),ft.prototype.__iterateUncached=function(D,G){if(G)return this.cacheResult().__iterate(D,G);var Ie=kn(this._iterable),He=0;if(jt(Ie))for(var yt;!(yt=Ie.next()).done&&!1!==D(yt.value,He++,this););return He},ft.prototype.__iteratorUncached=function(D,G){if(G)return this.cacheResult().__iterator(D,G);var Ie=kn(this._iterable);if(!jt(Ie))return new Yt(Gt);var He=0;return new Yt(function(){var yt=Ie.next();return yt.done?yt:tn(D,He++,yt.value)})},c(pe,Dr),pe.prototype.__iterateUncached=function(D,G){if(G)return this.cacheResult().__iterate(D,G);for(var ve=this._iterator,Ie=this._iteratorCache,He=0;He<Ie.length;)if(!1===D(Ie[He],He++,this))return He;for(var yt;!(yt=ve.next()).done;){var Bt=yt.value;if(Ie[He]=Bt,!1===D(Bt,He++,this))break}return He},pe.prototype.__iteratorUncached=function(D,G){if(G)return this.cacheResult().__iterator(D,G);var ve=this._iterator,Ie=this._iteratorCache,He=0;return new Yt(function(){if(He>=Ie.length){var yt=ve.next();if(yt.done)return yt;Ie[He]=yt.value}return tn(D,He,Ie[He++])})},c(rt,Dr),rt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},rt.prototype.get=function(D,G){return this.has(D)?this._value:G},rt.prototype.includes=function(D){return $t(this._value,D)},rt.prototype.slice=function(D,G){var ve=this.size;return We(D,G,ve)?this:new rt(this._value,Ve(G,ve)-st(D,ve))},rt.prototype.reverse=function(){return this},rt.prototype.indexOf=function(D){return $t(this._value,D)?0:-1},rt.prototype.lastIndexOf=function(D){return $t(this._value,D)?this.size:-1},rt.prototype.__iterate=function(D,G){for(var ve=0;ve<this.size;ve++)if(!1===D(this._value,ve,this))return ve+1;return ve},rt.prototype.__iterator=function(D,G){var ve=this,Ie=0;return new Yt(function(){return Ie<ve.size?tn(D,Ie++,ve._value):{value:void 0,done:!0}})},rt.prototype.equals=function(D){return D instanceof rt?$t(this._value,D._value):Ht(D)},c(lt,Dr),lt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},lt.prototype.get=function(D,G){return this.has(D)?this._start+_e(this,D)*this._step:G},lt.prototype.includes=function(D){var G=(D-this._start)/this._step;return G>=0&&G<this.size&&G===Math.floor(G)},lt.prototype.slice=function(D,G){return We(D,G,this.size)?this:(D=st(D,this.size),(G=Ve(G,this.size))<=D?new lt(0,0):new lt(this.get(D,this._end),this.get(G,this._end),this._step))},lt.prototype.indexOf=function(D){var G=D-this._start;if(G%this._step==0){var ve=G/this._step;if(ve>=0&&ve<this.size)return ve}return-1},lt.prototype.lastIndexOf=function(D){return this.indexOf(D)},lt.prototype.__iterate=function(D,G){for(var ve=this.size-1,Ie=this._step,He=G?this._start+ve*Ie:this._start,yt=0;yt<=ve;yt++){if(!1===D(He,yt,this))return yt+1;He+=G?-Ie:Ie}return yt},lt.prototype.__iterator=function(D,G){var ve=this.size-1,Ie=this._step,He=G?this._start+ve*Ie:this._start,yt=0;return new Yt(function(){var Bt=He;return He+=G?-Ie:Ie,yt>ve?{value:void 0,done:!0}:tn(D,yt++,Bt)})},lt.prototype.equals=function(D){return D instanceof lt?this._start===D._start&&this._end===D._end&&this._step===D._step:Ht(this,D)},c(tt,g),c(Mt,tt),c(nn,tt),c(tr,tt),tt.Keyed=Mt,tt.Indexed=nn,tt.Set=tr;var si="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(G,ve){var Ie=65535&(G|=0),He=65535&(ve|=0);return Ie*He+((G>>>16)*He+Ie*(ve>>>16)<<16>>>0)|0};function Lr(D){return D>>>1&1073741824|3221225471&D}function Nr(D){if(!1===D||null==D||"function"==typeof D.valueOf&&(!1===(D=D.valueOf())||null==D))return 0;if(!0===D)return 1;var G=typeof D;if("number"===G){if(D!=D||D===1/0)return 0;var ve=0|D;for(ve!==D&&(ve^=4294967295*D);D>4294967295;)ve^=D/=4294967295;return Lr(ve)}if("string"===G)return D.length>Ea?function Ei(D){var G=Ai[D];return void 0===G&&(G=Wi(D),ol===ia&&(ol=0,Ai={}),ol++,Ai[D]=G),G}(D):Wi(D);if("function"==typeof D.hashCode)return D.hashCode();if("object"===G)return function es(D){var G;if(Oa&&void 0!==(G=ya.get(D))||void 0!==(G=D[Ra])||!Ml&&(void 0!==(G=D.propertyIsEnumerable&&D.propertyIsEnumerable[Ra])||void 0!==(G=function va(D){if(D&&D.nodeType>0)switch(D.nodeType){case 1:return D.uniqueID;case 9:return D.documentElement&&D.documentElement.uniqueID}}(D))))return G;if(G=++Zl,1073741824&Zl&&(Zl=0),Oa)ya.set(D,G);else{if(void 0!==Ms&&!1===Ms(D))throw new Error("Non-extensible objects are not allowed as keys.");if(Ml)Object.defineProperty(D,Ra,{enumerable:!1,configurable:!1,writable:!1,value:G});else if(void 0!==D.propertyIsEnumerable&&D.propertyIsEnumerable===D.constructor.prototype.propertyIsEnumerable)D.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},D.propertyIsEnumerable[Ra]=G;else{if(void 0===D.nodeType)throw new Error("Unable to set a non-enumerable property on object.");D[Ra]=G}}return G}(D);if("function"==typeof D.toString)return Wi(D.toString());throw new Error("Value type "+G+" cannot be hashed.")}function Wi(D){for(var G=0,ve=0;ve<D.length;ve++)G=31*G+D.charCodeAt(ve)|0;return Lr(G)}var Ms=Object.isExtensible,Ml=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();var ya,Oa="function"==typeof WeakMap;Oa&&(ya=new WeakMap);var Zl=0,Ra="__immutablehash__";"function"==typeof Symbol&&(Ra=Symbol(Ra));var Ea=16,ia=255,ol=0,Ai={};function Bo(D){en(D!==1/0,"Cannot perform this action with an infinite size.")}function fi(D){return null==D?ts():Dl(D)&&!N(D)?D:ts().withMutations(function(G){var ve=b(D);Bo(ve.size),ve.forEach(function(Ie,He){return G.set(He,Ie)})})}function Dl(D){return!(!D||!D[Cn])}c(fi,Mt),fi.of=function(){var D=k.call(arguments,0);return ts().withMutations(function(G){for(var ve=0;ve<D.length;ve+=2){if(ve+1>=D.length)throw new Error("Missing value for key: "+D[ve]);G.set(D[ve],D[ve+1])}})},fi.prototype.toString=function(){return this.__toString("Map {","}")},fi.prototype.get=function(D,G){return this._root?this._root.get(0,void 0,D,G):G},fi.prototype.set=function(D,G){return ur(this,D,G)},fi.prototype.setIn=function(D,G){return this.updateIn(D,J,function(){return G})},fi.prototype.remove=function(D){return ur(this,D,J)},fi.prototype.deleteIn=function(D){return this.updateIn(D,function(){return J})},fi.prototype.update=function(D,G,ve){return 1===arguments.length?D(this):this.updateIn([D],G,ve)},fi.prototype.updateIn=function(D,G,ve){ve||(ve=G,G=void 0);var Ie=No(this,xh(D),G,ve);return Ie===J?void 0:Ie},fi.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ts()},fi.prototype.merge=function(){return sa(this,void 0,arguments)},fi.prototype.mergeWith=function(D){return sa(this,D,k.call(arguments,1))},fi.prototype.mergeIn=function(D){var G=k.call(arguments,1);return this.updateIn(D,ts(),function(ve){return"function"==typeof ve.merge?ve.merge.apply(ve,G):G[G.length-1]})},fi.prototype.mergeDeep=function(){return sa(this,fo,arguments)},fi.prototype.mergeDeepWith=function(D){var G=k.call(arguments,1);return sa(this,La(D),G)},fi.prototype.mergeDeepIn=function(D){var G=k.call(arguments,1);return this.updateIn(D,ts(),function(ve){return"function"==typeof ve.mergeDeep?ve.mergeDeep.apply(ve,G):G[G.length-1]})},fi.prototype.sort=function(D){return as(Ru(this,D))},fi.prototype.sortBy=function(D,G){return as(Ru(this,G,D))},fi.prototype.withMutations=function(D){var G=this.asMutable();return D(G),G.wasAltered()?G.__ensureOwner(this.__ownerID):this},fi.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new se)},fi.prototype.asImmutable=function(){return this.__ensureOwner()},fi.prototype.wasAltered=function(){return this.__altered},fi.prototype.__iterator=function(D,G){return new ds(this,D,G)},fi.prototype.__iterate=function(D,G){var ve=this,Ie=0;return this._root&&this._root.iterate(function(He){return Ie++,D(He[1],He[0],ve)},G),Ie},fi.prototype.__ensureOwner=function(D){return D===this.__ownerID?this:D?Ys(this.size,this._root,D,this.__hash):(this.__ownerID=D,this.__altered=!1,this)},fi.isMap=Dl;var yr,Cn="@@__IMMUTABLE_MAP__@@",Vn=fi.prototype;function zn(D,G){this.ownerID=D,this.entries=G}function yn(D,G,ve){this.ownerID=D,this.bitmap=G,this.nodes=ve}function sr(D,G,ve){this.ownerID=D,this.count=G,this.nodes=ve}function Ii(D,G,ve){this.ownerID=D,this.keyHash=G,this.entries=ve}function Xr(D,G,ve){this.ownerID=D,this.keyHash=G,this.entry=ve}function ds(D,G,ve){this._type=G,this._reverse=ve,this._stack=D._root&&oa(D._root)}function ws(D,G){return tn(D,G[0],G[1])}function oa(D,G){return{node:D,index:0,__prev:G}}function Ys(D,G,ve,Ie){var He=Object.create(Vn);return He.size=D,He._root=G,He.__ownerID=ve,He.__hash=Ie,He.__altered=!1,He}function ts(){return yr||(yr=Ys(0))}function ur(D,G,ve){var Ie,He;if(D._root){var yt=re(te),Bt=re(ae);
vendor: 5,032 bytes, line 1
1if(Ie=pi(D._root,D.__ownerID,0,void 0,G,ve,yt,Bt),!Bt.value)return D;He=D.size+(yt.value?ve===J?-1:1:0)}else{if(ve===J)return D;He=1,Ie=new zn(D.__ownerID,[[G,ve]])}return D.__ownerID?(D.size=He,D._root=Ie,D.__hash=void 0,D.__altered=!0,D):Ie?Ys(He,Ie):ts()}function pi(D,G,ve,Ie,He,yt,Bt,mn){return D?D.update(G,ve,Ie,He,yt,Bt,mn):yt===J?D:(oe(mn),oe(Bt),new Xr(G,Ie,[He,yt]))}function gi(D){return D.constructor===Xr||D.constructor===Ii}function Ui(D,G,ve,Ie,He){if(D.keyHash===Ie)return new Ii(G,Ie,[D.entry,He]);var mn,yt=(0===ve?D.keyHash:D.keyHash>>>ve)&q,Bt=(0===ve?Ie:Ie>>>ve)&q;return new yn(G,1<<yt|1<<Bt,yt===Bt?[Ui(D,G,ve+5,Ie,He)]:(mn=new Xr(G,Ie,He),yt<Bt?[D,mn]:[mn,D]))}function sa(D,G,ve){for(var Ie=[],He=0;He<ve.length;He++){var yt=ve[He],Bt=b(yt);w(yt)||(Bt=Bt.map(function(mn){return An(mn)})),Ie.push(Bt)}return ku(D,G,Ie)}function fo(D,G,ve){return D&&D.mergeDeep&&w(G)?D.mergeDeep(G):$t(D,G)?D:G}function La(D){return function(G,ve,Ie){if(G&&G.mergeDeepWith&&w(ve))return G.mergeDeepWith(D,ve);var He=D(G,ve,Ie);return $t(G,He)?G:He}}function ku(D,G,ve){return 0===(ve=ve.filter(function(Ie){return 0!==Ie.size})).length?D:0!==D.size||D.__ownerID||1!==ve.length?D.withMutations(function(Ie){for(var He=G?function(Bt,mn){Ie.update(mn,J,function($n){return $n===J?Bt:G($n,Bt,mn)})}:function(Bt,mn){Ie.set(mn,Bt)},yt=0;yt<ve.length;yt++)ve[yt].forEach(He)}):D.constructor(ve[0])}function No(D,G,ve,Ie){var He=D===J,yt=G.next();if(yt.done){var Bt=He?ve:D,mn=Ie(Bt);return mn===Bt?D:mn}en(He||D&&D.set,"invalid keyPath");var $n=yt.value,jn=He?J:D.get($n,J),cr=No(jn,G,ve,Ie);return cr===jn?D:cr===J?D.remove($n):(He?ts():D).set($n,cr)}function Oi(D){return D=(D=(858993459&(D-=D>>1&1431655765))+(D>>2&858993459))+(D>>4)&252645135,127&(D+=D>>8)+(D>>16)}function Tu(D,G,ve,Ie){var He=Ie?D:le(D);return He[G]=ve,He}Vn[Cn]=!0,Vn[O]=Vn.remove,Vn.removeIn=Vn.deleteIn,zn.prototype.get=function(D,G,ve,Ie){for(var He=this.entries,yt=0,Bt=He.length;yt<Bt;yt++)if($t(ve,He[yt][0]))return He[yt][1];return Ie},zn.prototype.update=function(D,G,ve,Ie,He,yt,Bt){for(var mn=He===J,$n=this.entries,jn=0,cr=$n.length;jn<cr&&!$t(Ie,$n[jn][0]);jn++);var Wr=jn<cr;if(Wr?$n[jn][1]===He:mn)return this;if(oe(Bt),(mn||!Wr)&&oe(yt),!mn||1!==$n.length){if(!Wr&&!mn&&$n.length>=Jl)return function Os(D,G,ve,Ie){D||(D=new se);for(var He=new Xr(D,Nr(ve),[ve,Ie]),yt=0;yt<G.length;yt++){var Bt=G[yt];He=He.update(D,0,void 0,Bt[0],Bt[1])}return He}(D,$n,Ie,He);var ri=D&&D===this.ownerID,So=ri?$n:le($n);return Wr?mn?jn===cr-1?So.pop():So[jn]=So.pop():So[jn]=[Ie,He]:So.push([Ie,He]),ri?(this.entries=So,this):new zn(D,So)}},yn.prototype.get=function(D,G,ve,Ie){void 0===G&&(G=Nr(ve));var He=1<<((0===D?G:G>>>D)&q),yt=this.bitmap;return 0==(yt&He)?Ie:this.nodes[Oi(yt&He-1)].get(D+5,G,ve,Ie)},yn.prototype.update=function(D,G,ve,Ie,He,yt,Bt){void 0===ve&&(ve=Nr(Ie));var mn=(0===G?ve:ve>>>G)&q,$n=1<<mn,jn=this.bitmap,cr=0!=(jn&$n);if(!cr&&He===J)return this;var Wr=Oi(jn&$n-1),ri=this.nodes,So=cr?ri[Wr]:void 0,Go=pi(So,D,G+5,ve,Ie,He,yt,Bt);if(Go===So)return this;if(!cr&&Go&&ri.length>=vo)return function uo(D,G,ve,Ie,He){for(var yt=0,Bt=new Array(W),mn=0;0!==ve;mn++,ve>>>=1)Bt[mn]=1&ve?G[yt++]:void 0;return Bt[Ie]=He,new sr(D,yt+1,Bt)}(D,ri,jn,mn,Go);if(cr&&!Go&&2===ri.length&&gi(ri[1^Wr]))return ri[1^Wr];if(cr&&Go&&1===ri.length&&gi(Go))return Go;var aa=D&&D===this.ownerID,ll=cr?Go?jn:jn^$n:jn|$n,g1=cr?Go?Tu(ri,Wr,Go,aa):function ir(D,G,ve){var Ie=D.length-1;if(ve&&G===Ie)return D.pop(),D;for(var He=new Array(Ie),yt=0,Bt=0;Bt<Ie;Bt++)Bt===G&&(yt=1),He[Bt]=D[Bt+yt];return He}(ri,Wr,aa):function Yu(D,G,ve,Ie){var He=D.length+1;if(Ie&&G+1===He)return D[G]=ve,D;for(var yt=new Array(He),Bt=0,mn=0;mn<He;mn++)mn===G?(yt[mn]=ve,Bt=-1):yt[mn]=D[mn+Bt];return yt}(ri,Wr,Go,aa);return aa?(this.bitmap=ll,this.nodes=g1,this):new yn(D,ll,g1)},sr.prototype.get=function(D,G,ve,Ie){void 0===G&&(G=Nr(ve));var yt=this.nodes[(0===D?G:G>>>D)&q];return yt?yt.get(D+5,G,ve,Ie):Ie},sr.prototype.update=function(D,G,ve,Ie,He,yt,Bt){void 0===ve&&(ve=Nr(Ie));var mn=(0===G?ve:ve>>>G)&q,jn=this.nodes,cr=jn[mn];if(He===J&&!cr)return this;var Wr=pi(cr,D,G+5,ve,Ie,He,yt,Bt);if(Wr===cr)return this;var ri=this.count;if(cr){if(!Wr&&--ri<to)return function bc(D,G,ve,Ie){for(var He=0,yt=0,Bt=new Array(ve),mn=0,$n=1,jn=G.length;mn<jn;mn++,$n<<=1){var cr=G[mn];void 0!==cr&&mn!==Ie&&(He|=$n,Bt[yt++]=cr)}return new yn(D,He,Bt)}(D,jn,ri,mn)}else ri++;var So=D&&D===this.ownerID,Go=Tu(jn,mn,Wr,So);return So?(this.count=ri,this.nodes=Go,this):new sr(D,ri,Go)},Ii.prototype.get=function(D,G,ve,Ie){for(var He=this.entries,yt=0,Bt=He.length;yt<Bt;yt++)if($t(ve,He[yt][0]))return He[yt][1];return Ie},Ii.prototype.update=function(D,G,ve,Ie,He,yt,Bt){void 0===ve&&(ve=Nr(Ie));var mn=He===J;if(ve!==this.keyHash)return mn?this:(oe(Bt),oe(yt),Ui(this,D,G,ve,[Ie,He]));for(var $n=this.entries,jn=0,cr=$n.length;jn<cr&&!$t(Ie,$n[jn][0]);jn++);var Wr=jn<cr;if(Wr?$n[jn][1]===He:mn)return this;if(oe(Bt),(mn||!Wr)&&oe(yt),mn&&2===cr)return new Xr(D,this.keyHash,$n[1^
vendor: 4,109 bytes, line 1
1jn]);var ri=D&&D===this.ownerID,So=ri?$n:le($n);return Wr?mn?jn===cr-1?So.pop():So[jn]=So.pop():So[jn]=[Ie,He]:So.push([Ie,He]),ri?(this.entries=So,this):new Ii(D,this.keyHash,So)},Xr.prototype.get=function(D,G,ve,Ie){return $t(ve,this.entry[0])?this.entry[1]:Ie},Xr.prototype.update=function(D,G,ve,Ie,He,yt,Bt){var mn=He===J,$n=$t(Ie,this.entry[0]);return($n?He===this.entry[1]:mn)?this:(oe(Bt),mn?void oe(yt):$n?D&&D===this.ownerID?(this.entry[1]=He,this):new Xr(D,this.keyHash,[Ie,He]):(oe(yt),Ui(this,D,G,Nr(Ie),[Ie,He])))},zn.prototype.iterate=Ii.prototype.iterate=function(D,G){for(var ve=this.entries,Ie=0,He=ve.length-1;Ie<=He;Ie++)if(!1===D(ve[G?He-Ie:Ie]))return!1},yn.prototype.iterate=sr.prototype.iterate=function(D,G){for(var ve=this.nodes,Ie=0,He=ve.length-1;Ie<=He;Ie++){var yt=ve[G?He-Ie:Ie];if(yt&&!1===yt.iterate(D,G))return!1}},Xr.prototype.iterate=function(D,G){return D(this.entry)},c(ds,Yt),ds.prototype.next=function(){for(var D=this._type,G=this._stack;G;){var He,ve=G.node,Ie=G.index++;if(ve.entry){if(0===Ie)return ws(D,ve.entry)}else if(ve.entries){if(Ie<=(He=ve.entries.length-1))return ws(D,ve.entries[this._reverse?He-Ie:Ie])}else if(Ie<=(He=ve.nodes.length-1)){var yt=ve.nodes[this._reverse?He-Ie:Ie];if(yt){if(yt.entry)return ws(D,yt.entry);G=this._stack=oa(yt,G)}continue}G=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var Jl=8,vo=16,to=8;function di(D){var G=qi();if(null==D)return G;if(A2(D))return D;var ve=S(D),Ie=ve.size;return 0===Ie?G:(Bo(Ie),Ie>0&&Ie<W?Nc(0,Ie,5,null,new Ks(ve.toArray())):G.withMutations(function(He){He.setSize(Ie),ve.forEach(function(yt,Bt){return He.set(Bt,yt)})}))}function A2(D){return!(!D||!D[sl])}c(di,nn),di.of=function(){return this(arguments)},di.prototype.toString=function(){return this.__toString("List [","]")},di.prototype.get=function(D,G){if((D=_e(this,D))>=0&&D<this.size){var ve=Ku(this,D+=this._origin);return ve&&ve.array[D&q]}return G},di.prototype.set=function(D,G){return function go(D,G,ve){if((G=_e(D,G))!=G)return D;if(G>=D.size||G<0)return D.withMutations(function(Bt){G<0?Iu(Bt,G).set(0,ve):Iu(Bt,0,G+1).set(G,ve)});G+=D._origin;var Ie=D._tail,He=D._root,yt=re(ae);return G>=Qc(D._capacity)?Ie=Cs(Ie,D.__ownerID,0,G,ve,yt):He=Cs(He,D.__ownerID,D._level,G,ve,yt),yt.value?D.__ownerID?(D._root=He,D._tail=Ie,D.__hash=void 0,D.__altered=!0,D):Nc(D._origin,D._capacity,D._level,He,Ie):D}(this,D,G)},di.prototype.remove=function(D){return this.has(D)?0===D?this.shift():D===this.size-1?this.pop():this.splice(D,1):this},di.prototype.insert=function(D,G){return this.splice(D,0,G)},di.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):qi()},di.prototype.push=function(){var D=arguments,G=this.size;return this.withMutations(function(ve){Iu(ve,0,G+D.length);for(var Ie=0;Ie<D.length;Ie++)ve.set(G+Ie,D[Ie])})},di.prototype.pop=function(){return Iu(this,0,-1)},di.prototype.unshift=function(){var D=arguments;return this.withMutations(function(G){Iu(G,-D.length);for(var ve=0;ve<D.length;ve++)G.set(ve,D[ve])})},di.prototype.shift=function(){return Iu(this,1)},di.prototype.merge=function(){return Ou(this,void 0,arguments)},di.prototype.mergeWith=function(D){return Ou(this,D,k.call(arguments,1))},di.prototype.mergeDeep=function(){return Ou(this,fo,arguments)},di.prototype.mergeDeepWith=function(D){var G=k.call(arguments,1);return Ou(this,La(D),G)},di.prototype.setSize=function(D){return Iu(this,0,D)},di.prototype.slice=function(D,G){var ve=this.size;return We(D,G,ve)?this:Iu(this,st(D,ve),Ve(G,ve))},di.prototype.__iterator=function(D,G){var ve=0,Ie=gu(this,G);return new Yt(function(){var He=Ie();return He===Ql?{value:void 0,done:!0}:tn(D,ve++,He)})},di.prototype.__iterate=function(D,G){for(var He,ve=0,Ie=gu(this,G);(He=Ie())!==Ql&&!1!==D(He,ve++,this););return ve},di.prototype.__ensureOwner=function(D){return D===this.__ownerID?this:D?Nc(this._origin,this._capacity,this._level,this._root,this._tail,D,this.__hash):(this.__ownerID=D,this)},di.isList=A2;
vendor: 4,757 bytes, line 1
1var sl="@@__IMMUTABLE_LIST__@@",Co=di.prototype;function Ks(D,G){this.array=D,this.ownerID=G}Co[sl]=!0,Co[O]=Co.remove,Co.setIn=Vn.setIn,Co.deleteIn=Co.removeIn=Vn.removeIn,Co.update=Vn.update,Co.updateIn=Vn.updateIn,Co.mergeIn=Vn.mergeIn,Co.mergeDeepIn=Vn.mergeDeepIn,Co.withMutations=Vn.withMutations,Co.asMutable=Vn.asMutable,Co.asImmutable=Vn.asImmutable,Co.wasAltered=Vn.wasAltered,Ks.prototype.removeBefore=function(D,G,ve){if(ve===G?1<<G:0===this.array.length)return this;var Ie=ve>>>G&q;if(Ie>=this.array.length)return new Ks([],D);var yt,He=0===Ie;if(G>0){var Bt=this.array[Ie];if((yt=Bt&&Bt.removeBefore(D,G-5,ve))===Bt&&He)return this}if(He&&!yt)return this;var mn=Aa(this,D);if(!He)for(var $n=0;$n<Ie;$n++)mn.array[$n]=void 0;return yt&&(mn.array[Ie]=yt),mn},Ks.prototype.removeAfter=function(D,G,ve){if(ve===(G?1<<G:0)||0===this.array.length)return this;var He,Ie=ve-1>>>G&q;if(Ie>=this.array.length)return this;if(G>0){var yt=this.array[Ie];if((He=yt&&yt.removeAfter(D,G-5,ve))===yt&&Ie===this.array.length-1)return this}var Bt=Aa(this,D);return Bt.array.splice(Ie+1),He&&(Bt.array[Ie]=He),Bt};var hi,K1,Ql={};function gu(D,G){var ve=D._origin,Ie=D._capacity,He=Qc(Ie),yt=D._tail;return Bt(D._root,D._level,0);function Bt(jn,cr,Wr){return 0===cr?function mn(jn,cr){var Wr=cr===He?yt&&yt.array:jn&&jn.array,ri=cr>ve?0:ve-cr,So=Ie-cr;return So>W&&(So=W),function(){if(ri===So)return Ql;var Go=G?--So:ri++;return Wr&&Wr[Go]}}(jn,Wr):function $n(jn,cr,Wr){var ri,So=jn&&jn.array,Go=Wr>ve?0:ve-Wr>>cr,aa=1+(Ie-Wr>>cr);return aa>W&&(aa=W),function(){for(;;){if(ri){var ll=ri();if(ll!==Ql)return ll;ri=null}if(Go===aa)return Ql;var g1=G?--aa:Go++;ri=Bt(So&&So[g1],cr-5,Wr+(g1<<cr))}}}(jn,cr,Wr)}}function Nc(D,G,ve,Ie,He,yt,Bt){var mn=Object.create(Co);return mn.size=G-D,mn._origin=D,mn._capacity=G,mn._level=ve,mn._root=Ie,mn._tail=He,mn.__ownerID=yt,mn.__hash=Bt,mn.__altered=!1,mn}function qi(){return hi||(hi=Nc(0,0,5))}function Cs(D,G,ve,Ie,He,yt){var $n,Bt=Ie>>>ve&q,mn=D&&Bt<D.array.length;if(!mn&&void 0===He)return D;if(ve>0){var jn=D&&D.array[Bt],cr=Cs(jn,G,ve-5,Ie,He,yt);return cr===jn?D:(($n=Aa(D,G)).array[Bt]=cr,$n)}return mn&&D.array[Bt]===He?D:(oe(yt),$n=Aa(D,G),void 0===He&&Bt===$n.array.length-1?$n.array.pop():$n.array[Bt]=He,$n)}function Aa(D,G){return G&&D&&G===D.ownerID?D:new Ks(D?D.array.slice():[],G)}function Ku(D,G){if(G>=Qc(D._capacity))return D._tail;if(G<1<<D._level+5){for(var ve=D._root,Ie=D._level;ve&&Ie>0;)ve=ve.array[G>>>Ie&q],Ie-=5;return ve}}function Iu(D,G,ve){void 0!==G&&(G|=0),void 0!==ve&&(ve|=0);var Ie=D.__ownerID||new se,He=D._origin,yt=D._capacity,Bt=He+G,mn=void 0===ve?yt:ve<0?yt+ve:He+ve;if(Bt===He&&mn===yt)return D;if(Bt>=mn)return D.clear();for(var $n=D._level,jn=D._root,cr=0;Bt+cr<0;)jn=new Ks(jn&&jn.array.length?[void 0,jn]:[],Ie),cr+=1<<($n+=5);cr&&(Bt+=cr,He+=cr,mn+=cr,yt+=cr);for(var Wr=Qc(yt),ri=Qc(mn);ri>=1<<$n+5;)jn=new Ks(jn&&jn.array.length?[jn]:[],Ie),$n+=5;var So=D._tail,Go=ri<Wr?Ku(D,mn-1):ri>Wr?new Ks([],Ie):So;if(So&&ri>Wr&&Bt<yt&&So.array.length){for(var aa=jn=Aa(jn,Ie),ll=$n;ll>5;ll-=5){var g1=Wr>>>ll&q;aa=aa.array[g1]=Aa(aa.array[g1],Ie)}aa.array[Wr>>>5&q]=So}if(mn<yt&&(Go=Go&&Go.removeAfter(Ie,0,mn)),Bt>=ri)Bt-=ri,mn-=ri,$n=5,jn=null,Go=Go&&Go.removeBefore(Ie,0,Bt);else if(Bt>He||ri<Wr){for(cr=0;jn;){var E4=Bt>>>$n&q;if(E4!==ri>>>$n&q)break;E4&&(cr+=(1<<$n)*E4),$n-=5,jn=jn.array[E4]}jn&&Bt>He&&(jn=jn.removeBefore(Ie,$n,Bt-cr)),jn&&ri<Wr&&(jn=jn.removeAfter(Ie,$n,ri-cr)),cr&&(Bt-=cr,mn-=cr)}return D.__ownerID?(D.size=mn-Bt,D._origin=Bt,D._capacity=mn,D._level=$n,D._root=jn,D._tail=Go,D.__hash=void 0,D.__altered=!0,D):Nc(Bt,mn,$n,jn,Go)}function Ou(D,G,ve){for(var Ie=[],He=0,yt=0;yt<ve.length;yt++){var Bt=ve[yt],mn=S(Bt);mn.size>He&&(He=mn.size),w(Bt)||(mn=mn.map(function($n){return An($n)})),Ie.push(mn)}return He>D.size&&(D=D.setSize(He)),ku(D,G,Ie)}function Qc(D){return D<W?0:D-1>>>5<<5}function as(D){return null==D?_h():Ds(D)?D:_h().withMutations(function(G){var ve=b(D);Bo(ve.size),ve.forEach(function(Ie,He){return G.set(He,Ie)})})}function Ds(D){return Dl(D)&&N(D)}function js(D,G,ve,Ie){var He=Object.create(as.prototype);return He.size=D?D.size:0,He._map=D,He._list=G,He.__ownerID=ve,He.__hash=Ie,He}function _h(){return K1||(K1=js(ts(),qi()))}function un(D,G,ve){var mn,$n,Ie=D._map,He=D._list,yt=Ie.get(G),Bt=void 0!==yt;if(ve===J){if(!Bt)return D;He.size>=W&&He.size>=2*Ie.size?(mn=($n=He.filter(function(jn,cr){return void 0!==jn&&yt!==cr})).toKeyedSeq().map(function(jn){return jn[0]}).flip().toMap(),D.__ownerID&&(mn.__ownerID=$n.__ownerID=D.__ownerID)):(mn=Ie.remove(G),$n=yt===He.size-1?He.pop():He.set(yt,void 0))}else if(Bt){if(ve===He.get(yt)[1])return D;mn=Ie,$n=He.set(yt,[G,ve])}else mn=Ie.set(G,He.size),$n=He.set(He.size,[G,ve]);
1return D.__ownerID?(D.size=mn.size,D._map=mn,D._list=$n,D.__hash=void 0,D):js(mn,$n)}function pn(D,G){this._iter=D,this._useKeys=G,this.size=D.size}function Rn(D){this._iter=D,this.size=D.size}function Zr(D){this._iter=D,this.size=D.size}function Yo(D){this._iter=D,this.size=D.size}function vl(D){var G=tu(D);return G._iter=D,G.size=D.size,G.flip=function(){return D},G.reverse=function(){var ve=D.reverse.apply(this);return ve.flip=function(){return D.reverse()},ve},G.has=function(ve){return D.includes(ve)},G.includes=function(ve){return D.has(ve)},G.cacheResult=m1,G.__iterateUncached=function(ve,Ie){var He=this;return D.__iterate(function(yt,Bt){return!1!==ve(Bt,yt,He)},Ie)},G.__iteratorUncached=function(ve,Ie){if(2===ve){var He=D.__iterator(ve,Ie);return new Yt(function(){var yt=He.next();if(!yt.done){var Bt=yt.value[0];yt.value[0]=yt.value[1],yt.value[1]=Bt}return yt})}return D.__iterator(1===ve?0:1,Ie)},G}function Ka(D,G,ve){var Ie=tu(D);return Ie.size=D.size,Ie.has=function(He){return D.has(He)},Ie.get=function(He,yt){var Bt=D.get(He,J);return Bt===J?yt:G.call(ve,Bt,He,D)},Ie.__iterateUncached=function(He,yt){var Bt=this;return D.__iterate(function(mn,$n,jn){return!1!==He(G.call(ve,mn,$n,jn),$n,Bt)},yt)},Ie.__iteratorUncached=function(He,yt){var Bt=D.__iterator(2,yt);return new Yt(function(){var mn=Bt.next();if(mn.done)return mn;var $n=mn.value,jn=$n[0];return tn(He,jn,G.call(ve,$n[1],jn,D),mn)})},Ie}function ea(D,G){var ve=tu(D);return ve._iter=D,ve.size=D.size,ve.reverse=function(){return D},D.flip&&(ve.flip=function(){var Ie=vl(D);return Ie.reverse=function(){return D.flip()},Ie}),ve.get=function(Ie,He){return D.get(G?Ie:-1-Ie,He)},ve.has=function(Ie){return D.has(G?Ie:-1-Ie)},ve.includes=function(Ie){return D.includes(Ie)},ve.cacheResult=m1,ve.__iterate=function(Ie,He){var yt=this;return D.__iterate(function(Bt,mn){return Ie(Bt,mn,yt)},!He)},ve.__iterator=function(Ie,He){return D.__iterator(Ie,!He)},ve}function Df(D,G,ve,Ie){var He=tu(D);return Ie&&(He.has=function(yt){var Bt=D.get(yt,J);return Bt!==J&&!!G.call(ve,Bt,yt,D)},He.get=function(yt,Bt){var mn=D.get(yt,J);return mn!==J&&G.call(ve,mn,yt,D)?mn:Bt}),He.__iterateUncached=function(yt,Bt){var mn=this,$n=0;return D.__iterate(function(jn,cr,Wr){if(G.call(ve,jn,cr,Wr))return $n++,yt(jn,Ie?cr:$n-1,mn)},Bt),$n},He.__iteratorUncached=function(yt,Bt){var mn=D.__iterator(2,Bt),$n=0;return new Yt(function(){for(;;){var jn=mn.next();if(jn.done)return jn;var cr=jn.value,Wr=cr[0],ri=cr[1];if(G.call(ve,ri,Wr,D))return tn(yt,Ie?Wr:$n++,ri,jn)}})},He}function D2(D,G,ve,Ie){var He=D.size;if(void 0!==G&&(G|=0),void 0!==ve&&(ve===1/0?ve=He:ve|=0),We(G,ve,He))return D;var yt=st(G,He),Bt=Ve(ve,He);if(yt!=yt||Bt!=Bt)return D2(D.toSeq().cacheResult(),G,ve,Ie);var $n,mn=Bt-yt;mn==mn&&($n=mn<0?0:mn);var jn=tu(D);return jn.size=0===$n?$n:D.size&&$n||void 0,!Ie&&be(D)&&$n>=0&&(jn.get=function(cr,Wr){return(cr=_e(this,cr))>=0&&cr<$n?D.get(cr+yt,Wr):Wr}),jn.__iterateUncached=function(cr,Wr){var ri=this;if(0===$n)return 0;if(Wr)return this.cacheResult().__iterate(cr,Wr);var So=0,Go=!0,aa=0;return D.__iterate(function(ll,g1){if(!Go||!(Go=So++<yt))return aa++,!1!==cr(ll,Ie?g1:aa-1,ri)&&aa!==$n}),aa},jn.__iteratorUncached=function(cr,Wr){if(0!==$n&&Wr)return this.cacheResult().__iterator(cr,Wr);var ri=0!==$n&&D.__iterator(cr,Wr),So=0,Go=0;return new Yt(function(){for(;So++<yt;)ri.next();if(++Go>$n)return{value:void 0,done:!0};var aa=ri.next();return Ie||1===cr?aa:tn(cr,Go-1,0===cr?void 0:aa.value[1],aa)})},jn}function Ji(D,G,ve,Ie){var He=tu(D);return He.__iterateUncached=function(yt,Bt){var mn=this;if(Bt)return this.cacheResult().__iterate(yt,Bt);var $n=!0,jn=0;return D.__iterate(function(cr,Wr,ri){if(!$n||!($n=G.call(ve,cr,Wr,ri)))return jn++,yt(cr,Ie?Wr:jn-1,mn)}),jn},He.__iteratorUncached=function(yt,Bt){var mn=this;if(Bt)return this.cacheResult().__iterator(yt,Bt);var $n=D.__iterator(2,Bt),jn=!0,cr=0;return new Yt(function(){var Wr,ri,So;do{if((Wr=$n.next()).done)return Ie||1===yt?Wr:tn(yt,cr++,0===yt?void 0:Wr.value[1],Wr);var Go=Wr.value;ri=Go[0],So=Go[1],jn&&(jn=G.call(ve,So,ri,mn))}while(jn);return 2===yt?Wr:tn(yt,ri,So,Wr)})},He}function x4(D,G){var ve=R(D),Ie=[D].concat(G).map(function(Bt){return w(Bt)?ve&&(Bt=b(Bt)):Bt=ve?Xt(Bt):cn(Array.isArray(Bt)?Bt:[Bt]),Bt}).filter(function(Bt){return 0!==Bt.size});if(0===Ie.length)return D;if(1===Ie.length){var He=Ie[0];if(He===D||ve&&R(He)||L(D)&&L(He))return He}
vendor: 18,305 bytes, line 1
1var yt=new Gi(Ie);return ve?yt=yt.toKeyedSeq():L(D)||(yt=yt.toSetSeq()),(yt=yt.flatten(!0)).size=Ie.reduce(function(Bt,mn){if(void 0!==Bt){var $n=mn.size;if(void 0!==$n)return Bt+$n}},0),yt}function R3(D,G,ve){var Ie=tu(D);return Ie.__iterateUncached=function(He,yt){var Bt=0,mn=!1;return function $n(jn,cr){var Wr=this;jn.__iterate(function(ri,So){return(!G||cr<G)&&w(ri)?$n(ri,cr+1):!1===He(ri,ve?So:Bt++,Wr)&&(mn=!0),!mn},yt)}(D,0),Bt},Ie.__iteratorUncached=function(He,yt){var Bt=D.__iterator(He,yt),mn=[],$n=0;return new Yt(function(){for(;Bt;){var jn=Bt.next();if(!1===jn.done){var cr=jn.value;if(2===He&&(cr=cr[1]),G&&!(mn.length<G)||!w(cr))return ve?jn:tn(He,$n++,cr,jn);mn.push(Bt),Bt=cr.__iterator(He,yt)}else Bt=mn.pop()}return{value:void 0,done:!0}})},Ie}function Ru(D,G,ve){G||(G=ys);var Ie=R(D),He=0,yt=D.toSeq().map(function(Bt,mn){return[mn,Bt,He++,ve?ve(Bt,mn,D):Bt]}).toArray();return yt.sort(function(Bt,mn){return G(Bt[3],mn[3])||Bt[2]-mn[2]}).forEach(Ie?function(Bt,mn){yt[mn].length=2}:function(Bt,mn){yt[mn]=Bt[1]}),Ie?qn(yt):L(D)?Dr(yt):ni(yt)}function vu(D,G,ve){if(G||(G=ys),ve){var Ie=D.toSeq().map(function(He,yt){return[He,ve(He,yt,D)]}).reduce(function(He,yt){return Fc(G,He[1],yt[1])?yt:He});return Ie&&Ie[0]}return D.reduce(function(He,yt){return Fc(G,He,yt)?yt:He})}function Fc(D,G,ve){var Ie=D(ve,G);return 0===Ie&&ve!==G&&(null==ve||ve!=ve)||Ie>0}function w4(D,G,ve){var Ie=tu(D);return Ie.size=new Gi(ve).map(function(He){return He.size}).min(),Ie.__iterate=function(He,yt){for(var mn,Bt=this.__iterator(1,yt),$n=0;!(mn=Bt.next()).done&&!1!==He(mn.value,$n++,this););return $n},Ie.__iteratorUncached=function(He,yt){var Bt=ve.map(function(jn){return jn=g(jn),kn(yt?jn.reverse():jn)}),mn=0,$n=!1;return new Yt(function(){var jn;return $n||(jn=Bt.map(function(cr){return cr.next()}),$n=jn.some(function(cr){return cr.done})),$n?{value:void 0,done:!0}:tn(He,mn++,G.apply(null,jn.map(function(cr){return cr.value})))})},Ie}function Xs(D,G){return be(D)?G:D.constructor(G)}function zc(D){if(D!==Object(D))throw new TypeError("Expected [K, V] tuple: "+D)}function ta(D){return Bo(D.size),Y(D)}function yu(D){return R(D)?b:L(D)?S:C}function tu(D){return Object.create((R(D)?qn:L(D)?Dr:ni).prototype)}function m1(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Pr.prototype.cacheResult.call(this)}function ys(D,G){return D>G?1:D<G?-1:0}function xh(D){var G=kn(D);if(!G){if(!Jn(D))throw new TypeError("Expected iterable or array-like: "+D);G=kn(g(D))}return G}function ec(D,G){var ve,Ie=function(Bt){if(Bt instanceof Ie)return Bt;if(!(this instanceof Ie))return new Ie(Bt);if(!ve){ve=!0;var mn=Object.keys(D);(function wd(D,G){try{G.forEach(F5.bind(void 0,D))}catch{}})(He,mn),He.size=mn.length,He._name=G,He._keys=mn,He._defaultValues=D}this._map=fi(Bt)},He=Ie.prototype=Object.create(al);return He.constructor=Ie,Ie}c(as,fi),as.of=function(){return this(arguments)},as.prototype.toString=function(){return this.__toString("OrderedMap {","}")},as.prototype.get=function(D,G){var ve=this._map.get(D);return void 0!==ve?this._list.get(ve)[1]:G},as.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):_h()},as.prototype.set=function(D,G){return un(this,D,G)},as.prototype.remove=function(D){return un(this,D,J)},as.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},as.prototype.__iterate=function(D,G){var ve=this;return this._list.__iterate(function(Ie){return Ie&&D(Ie[1],Ie[0],ve)},G)},as.prototype.__iterator=function(D,G){return this._list.fromEntrySeq().__iterator(D,G)},as.prototype.__ensureOwner=function(D){if(D===this.__ownerID)return this;var G=this._map.__ensureOwner(D),ve=this._list.__ensureOwner(D);return D?js(G,ve,D,this.__hash):(this.__ownerID=D,this._map=G,this._list=ve,this)},as.isOrderedMap=Ds,as.prototype[M]=!0,as.prototype[O]=as.prototype.remove,c(pn,qn),pn.prototype.get=function(D,G){return this._iter.get(D,G)},pn.prototype.has=function(D){return this._iter.has(D)},pn.prototype.valueSeq=function(){return this._iter.valueSeq()},pn.prototype.reverse=function(){var D=this,G=ea(this,!0);return this._useKeys||(G.valueSeq=function(){return D._iter.toSeq().reverse()}),G},pn.prototype.map=function(D,G){var ve=this,Ie=Ka(this,D,G);return this._useKeys||(Ie.valueSeq=function(){return ve._iter.toSeq().map(D,G)}),Ie},pn.prototype.__iterate=function(D,G){var Ie,ve=this;return this._iter.__iterate(this._useKeys?function(He,yt){return D(He,yt,ve)}:(Ie=G?ta(this):0,function(He){return D(He,G?--Ie:Ie++,ve)}),G)},pn.prototype.__iterator=function(D,G){if(this._useKeys)return this._iter.__iterator(D,G);var ve=this._iter.__iterator(1,G),Ie=G?ta(this):0;return new Yt(function(){var He=ve.next();return He.done?He:tn(D,G?--Ie:Ie++,He.value,He)})},pn.prototype[M]=!0,c(Rn,Dr),Rn.prototype.includes=function(D){return this._iter.includes(D)},Rn.prototype.__iterate=function(D,G){var ve=this,Ie=0;return this._iter.__iterate(function(He){return D(He,Ie++,ve)},G)},Rn.prototype.__iterator=function(D,G){var ve=this._iter.__iterator(1,G),Ie=0;return new Yt(function(){var He=ve.next();return He.done?He:tn(D,Ie++,He.value,He)})},c(Zr,ni),Zr.prototype.has=function(D){return this._iter.includes(D)},Zr.prototype.__iterate=function(D,G){var ve=this;return this._iter.__iterate(function(Ie){return D(Ie,Ie,ve)},G)},Zr.prototype.__iterator=function(D,G){var ve=this._iter.__iterator(1,G);return new Yt(function(){var Ie=ve.next();return Ie.done?Ie:tn(D,Ie.value,Ie.value,Ie)})},c(Yo,qn),Yo.prototype.entrySeq=function(){return this._iter.toSeq()},Yo.prototype.__iterate=function(D,G){var ve=this;return this._iter.__iterate(function(Ie){if(Ie){zc(Ie);var He=w(Ie);return D(He?Ie.get(1):Ie[1],He?Ie.get(0):Ie[0],ve)}},G)},Yo.prototype.__iterator=function(D,G){var ve=this._iter.__iterator(1,G);return new Yt(function(){for(;;){var Ie=ve.next();if(Ie.done)return Ie;var He=Ie.value;if(He){zc(He);var yt=w(He);return tn(D,yt?He.get(0):He[0],yt?He.get(1):He[1],Ie)}}})},Rn.prototype.cacheResult=pn.prototype.cacheResult=Zr.prototype.cacheResult=Yo.prototype.cacheResult=m1,c(ec,Mt),ec.prototype.toString=function(){return this.__toString(bu(this)+" {","}")},ec.prototype.has=function(D){return this._defaultValues.hasOwnProperty(D)},ec.prototype.get=function(D,G){if(!this.has(D))return G;var ve=this._defaultValues[D];return this._map?this._map.get(D,ve):ve},ec.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var D=this.constructor;return D._empty||(D._empty=X1(this,ts()))},ec.prototype.set=function(D,G){if(!this.has(D))throw new Error('Cannot set unknown key "'+D+'" on '+bu(this));if(this._map&&!this._map.has(D)&&G===this._defaultValues[D])return this;var Ie=this._map&&this._map.set(D,G);return this.__ownerID||Ie===this._map?this:X1(this,Ie)},ec.prototype.remove=function(D){if(!this.has(D))return this;var G=this._map&&this._map.remove(D);return this.__ownerID||G===this._map?this:X1(this,G)},ec.prototype.wasAltered=function(){return this._map.wasAltered()},ec.prototype.__iterator=function(D,G){var ve=this;return b(this._defaultValues).map(function(Ie,He){return ve.get(He)}).__iterator(D,G)},ec.prototype.__iterate=function(D,G){var ve=this;return b(this._defaultValues).map(function(Ie,He){return ve.get(He)}).__iterate(D,G)},ec.prototype.__ensureOwner=function(D){if(D===this.__ownerID)return this;var G=this._map&&this._map.__ensureOwner(D);return D?X1(this,G,D):(this.__ownerID=D,this._map=G,this)};var al=ec.prototype;function X1(D,G,ve){var Ie=Object.create(Object.getPrototypeOf(D));return Ie._map=G,Ie.__ownerID=ve,Ie}function bu(D){return D._name||D.constructor.name||"Record"}function F5(D,G){Object.defineProperty(D,G,{get:function(){return this.get(G)},set:function(ve){en(this.__ownerID,"Cannot set on an immutable record."),this.set(G,ve)}})}function Ir(D){return null==D?_n():C4(D)&&!N(D)?D:_n().withMutations(function(G){var ve=C(D);Bo(ve.size),ve.forEach(function(Ie){return G.add(Ie)})})}function C4(D){return!(!D||!D[wh])}al[O]=al.remove,al.deleteIn=al.removeIn=Vn.removeIn,al.merge=Vn.merge,al.mergeWith=Vn.mergeWith,al.mergeIn=Vn.mergeIn,al.mergeDeep=Vn.mergeDeep,al.mergeDeepWith=Vn.mergeDeepWith,al.mergeDeepIn=Vn.mergeDeepIn,al.setIn=Vn.setIn,al.update=Vn.update,al.updateIn=Vn.updateIn,al.withMutations=Vn.withMutations,al.asMutable=Vn.asMutable,al.asImmutable=Vn.asImmutable,c(Ir,tr),Ir.of=function(){return this(arguments)},Ir.fromKeys=function(D){return this(b(D).keySeq())},Ir.prototype.toString=function(){return this.__toString("Set {","}")},Ir.prototype.has=function(D){return this._map.has(D)},Ir.prototype.add=function(D){return Mi(this,this._map.set(D,!0))},Ir.prototype.remove=function(D){return Mi(this,this._map.remove(D))},Ir.prototype.clear=function(){return Mi(this,this._map.clear())},Ir.prototype.union=function(){var D=k.call(arguments,0);return 0===(D=D.filter(function(G){return 0!==G.size})).length?this:0!==this.size||this.__ownerID||1!==D.length?this.withMutations(function(G){for(var ve=0;ve<D.length;ve++)C(D[ve]).forEach(function(Ie){return G.add(Ie)})}):this.constructor(D[0])},Ir.prototype.intersect=function(){var D=k.call(arguments,0);if(0===D.length)return this;D=D.map(function(ve){return C(ve)});var G=this;return this.withMutations(function(ve){G.forEach(function(Ie){D.every(function(He){return He.includes(Ie)})||ve.remove(Ie)})})},Ir.prototype.subtract=function(){var D=k.call(arguments,0);if(0===D.length)return this;D=D.map(function(ve){return C(ve)});var G=this;return this.withMutations(function(ve){G.forEach(function(Ie){D.some(function(He){return He.includes(Ie)})&&ve.remove(Ie)})})},Ir.prototype.merge=function(){return this.union.apply(this,arguments)},Ir.prototype.mergeWith=function(D){var G=k.call(arguments,1);return this.union.apply(this,G)},Ir.prototype.sort=function(D){return Ma(Ru(this,D))},Ir.prototype.sortBy=function(D,G){return Ma(Ru(this,G,D))},Ir.prototype.wasAltered=function(){return this._map.wasAltered()},Ir.prototype.__iterate=function(D,G){var ve=this;return this._map.__iterate(function(Ie,He){return D(He,He,ve)},G)},Ir.prototype.__iterator=function(D,G){return this._map.map(function(ve,Ie){return Ie}).__iterator(D,G)},Ir.prototype.__ensureOwner=function(D){if(D===this.__ownerID)return this;var G=this._map.__ensureOwner(D);return D?this.__make(G,D):(this.__ownerID=D,this._map=G,this)},Ir.isSet=C4;var S4,wh="@@__IMMUTABLE_SET__@@",nu=Ir.prototype;function Mi(D,G){return D.__ownerID?(D.size=G.size,D._map=G,D):G===D._map?D:0===G.size?D.__empty():D.__make(G)}function L3(D,G){var ve=Object.create(nu);return ve.size=D?D.size:0,ve._map=D,ve.__ownerID=G,ve}function _n(){return S4||(S4=L3(ts()))}function Ma(D){return null==D?tc():Us(D)?D:tc().withMutations(function(G){var ve=C(D);Bo(ve.size),ve.forEach(function(Ie){return G.add(Ie)})})}function Us(D){return C4(D)&&N(D)}nu[wh]=!0,nu[O]=nu.remove,nu.mergeDeep=nu.merge,nu.mergeDeepWith=nu.mergeWith,nu.withMutations=Vn.withMutations,nu.asMutable=Vn.asMutable,nu.asImmutable=Vn.asImmutable,nu.__empty=_n,nu.__make=L3,c(Ma,Ir),Ma.of=function(){return this(arguments)},Ma.fromKeys=function(D){return this(b(D).keySeq())},Ma.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ma.isOrderedSet=Us;var k2,Fl=Ma.prototype;function _c(D,G){var ve=Object.create(Fl);return ve.size=D?D.size:0,ve._map=D,ve.__ownerID=G,ve}function tc(){return k2||(k2=_c(_h()))}function Vs(D){return null==D?bl():ai(D)?D:bl().unshiftAll(D)}function ai(D){return!(!D||!D[Vo])}Fl[M]=!0,Fl.__empty=tc,Fl.__make=_c,c(Vs,nn),Vs.of=function(){return this(arguments)},Vs.prototype.toString=function(){return this.__toString("Stack [","]")},Vs.prototype.get=function(D,G){var ve=this._head;for(D=_e(this,D);ve&&D--;)ve=ve.next;return ve?ve.value:G},Vs.prototype.peek=function(){return this._head&&this._head.value},Vs.prototype.push=function(){if(0===arguments.length)return this;for(var D=this.size+arguments.length,G=this._head,ve=arguments.length-1;ve>=0;ve--)G={value:arguments[ve],next:G};return this.__ownerID?(this.size=D,this._head=G,this.__hash=void 0,this.__altered=!0,this):nc(D,G)},Vs.prototype.pushAll=function(D){if(0===(D=S(D)).size)return this;Bo(D.size);var G=this.size,ve=this._head;return D.reverse().forEach(function(Ie){G++,ve={value:Ie,next:ve}}),this.__ownerID?(this.size=G,this._head=ve,this.__hash=void 0,this.__altered=!0,this):nc(G,ve)},Vs.prototype.pop=function(){return this.slice(1)},Vs.prototype.unshift=function(){return this.push.apply(this,arguments)},Vs.prototype.unshiftAll=function(D){return this.pushAll(D)},Vs.prototype.shift=function(){return this.pop.apply(this,arguments)},Vs.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):bl()},Vs.prototype.slice=function(D,G){if(We(D,G,this.size))return this;var ve=st(D,this.size);if(Ve(G,this.size)!==this.size)return nn.prototype.slice.call(this,D,G);for(var He=this.size-ve,yt=this._head;ve--;)yt=yt.next;return this.__ownerID?(this.size=He,this._head=yt,this.__hash=void 0,this.__altered=!0,this):nc(He,yt)},Vs.prototype.__ensureOwner=function(D){return D===this.__ownerID?this:D?nc(this.size,this._head,D,this.__hash):(this.__ownerID=D,this.__altered=!1,this)},Vs.prototype.__iterate=function(D,G){if(G)return this.reverse().__iterate(D);for(var ve=0,Ie=this._head;Ie&&!1!==D(Ie.value,ve++,this);)Ie=Ie.next;return ve},Vs.prototype.__iterator=function(D,G){if(G)return this.reverse().__iterator(D);var ve=0,Ie=this._head;return new Yt(function(){if(Ie){var He=Ie.value;return Ie=Ie.next,tn(D,ve++,He)}return{value:void 0,done:!0}})},Vs.isStack=ai;var kf,Vo="@@__IMMUTABLE_STACK__@@",$s=Vs.prototype;function nc(D,G,ve,Ie){var He=Object.create($s);return He.size=D,He._head=G,He.__ownerID=ve,He.__hash=Ie,He.__altered=!1,He}function bl(){return kf||(kf=nc(0))}function xc(D,G){var ve=function(Ie){D.prototype[Ie]=G[Ie]};return Object.keys(G).forEach(ve),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(G).forEach(ve),D}$s[Vo]=!0,$s.withMutations=Vn.withMutations,$s.asMutable=Vn.asMutable,$s.asImmutable=Vn.asImmutable,$s.wasAltered=Vn.wasAltered,g.Iterator=Yt,xc(g,{toArray:function(){Bo(this.size);var D=new Array(this.size||0);return this.valueSeq().__iterate(function(G,ve){D[ve]=G}),D},toIndexedSeq:function(){return new Rn(this)},toJS:function(){return this.toSeq().map(function(D){return D&&"function"==typeof D.toJS?D.toJS():D}).__toJS()},toJSON:function(){return this.toSeq().map(function(D){return D&&"function"==typeof D.toJSON?D.toJSON():D}).__toJS()},toKeyedSeq:function(){return new pn(this,!0)},toMap:function(){return fi(this.toKeyedSeq())},toObject:function(){Bo(this.size);var D={};return this.__iterate(function(G,ve){D[ve]=G}),D},toOrderedMap:function(){return as(this.toKeyedSeq())},toOrderedSet:function(){return Ma(R(this)?this.valueSeq():this)},toSet:function(){return Ir(R(this)?this.valueSeq():this)},toSetSeq:function(){return new Zr(this)},toSeq:function(){return L(this)?this.toIndexedSeq():R(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vs(R(this)?this.valueSeq():this)},toList:function(){return di(R(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(D,G){return 0===this.size?D+G:D+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+G},concat:function(){return Xs(this,x4(this,k.call(arguments,0)))},includes:function(D){return this.some(function(G){return $t(G,D)})},entries:function(){return this.__iterator(2)},every:function(D,G){Bo(this.size);var ve=!0;return this.__iterate(function(Ie,He,yt){if(!D.call(G,Ie,He,yt))return ve=!1,!1}),ve},filter:function(D,G){return Xs(this,Df(this,D,G,!0))},find:function(D,G,ve){var Ie=this.findEntry(D,G);return Ie?Ie[1]:ve},forEach:function(D,G){return Bo(this.size),this.__iterate(G?D.bind(G):D)},join:function(D){Bo(this.size),D=void 0!==D?""+D:",";var G="",ve=!0;return this.__iterate(function(Ie){ve?ve=!1:G+=D,G+=null!=Ie?Ie.toString():""}),G},keys:function(){return this.__iterator(0)},map:function(D,G){return Xs(this,Ka(this,D,G))},reduce:function(D,G,ve){var Ie,He;return Bo(this.size),arguments.length<2?He=!0:Ie=G,this.__iterate(function(yt,Bt,mn){He?(He=!1,Ie=yt):Ie=D.call(ve,Ie,yt,Bt,mn)}),Ie},reduceRight:function(D,G,ve){var Ie=this.toKeyedSeq().reverse();return Ie.reduce.apply(Ie,arguments)},reverse:function(){return Xs(this,ea(this,!0))},slice:function(D,G){return Xs(this,D2(this,D,G,!0))},some:function(D,G){return!this.every(Xu(D),G)},sort:function(D){return Xs(this,Ru(this,D))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(D,G){return Y(D?this.toSeq().filter(D,G):this)},countBy:function(D,G){return function yl(D,G,ve){var Ie=fi().asMutable();return D.__iterate(function(He,yt){Ie.update(G.call(ve,He,yt,D),0,function(Bt){return Bt+1})}),Ie.asImmutable()}(this,D,G)},equals:function(D){return Ht(this,D)},entrySeq:function(){var D=this;if(D._cache)return new Gi(D._cache);var G=D.toSeq().map($o).toIndexedSeq();return G.fromEntrySeq=function(){return D.toSeq()},G},filterNot:function(D,G){return this.filter(Xu(D),G)},findEntry:function(D,G,ve){var Ie=ve;return this.__iterate(function(He,yt,Bt){if(D.call(G,He,yt,Bt))return Ie=[yt,He],!1}),Ie},findKey:function(D,G){var ve=this.findEntry(D,G);return ve&&ve[0]},findLast:function(D,G,ve){return this.toKeyedSeq().reverse().find(D,G,ve)},findLastEntry:function(D,G,ve){return this.toKeyedSeq().reverse().findEntry(D,G,ve)},findLastKey:function(D,G){return this.toKeyedSeq().reverse().findKey(D,G)},first:function(){return this.find(Qe)},flatMap:function(D,G){return Xs(this,function eu(D,G,ve){var Ie=yu(D);return D.toSeq().map(function(He,yt){return Ie(G.call(ve,He,yt,D))}).flatten(!0)}(this,D,G))},flatten:function(D){return Xs(this,R3(this,D,!0))},fromEntrySeq:function(){return new Yo(this)},get:function(D,G){return this.find(function(ve,Ie){return $t(Ie,D)},void 0,G)},getIn:function(D,G){for(var He,ve=this,Ie=xh(D);!(He=Ie.next()).done;)if((ve=ve&&ve.get?ve.get(He.value,J):J)===J)return G;return ve},groupBy:function(D,G){return function M2(D,G,ve){var Ie=R(D),He
1=(N(D)?as():fi()).asMutable();D.__iterate(function(Bt,mn){He.update(G.call(ve,Bt,mn,D),function($n){return($n=$n||[]).push(Ie?[mn,Bt]:Bt),$n})});var yt=yu(D);return He.map(function(Bt){return Xs(D,yt(Bt))})}(this,D,G)},has:function(D){return this.get(D,J)!==J},hasIn:function(D){return this.getIn(D,J)!==J},isSubset:function(D){return D="function"==typeof D.includes?D:g(D),this.every(function(G){return D.includes(G)})},isSuperset:function(D){return(D="function"==typeof D.isSubset?D:g(D)).isSubset(this)},keyOf:function(D){return this.findKey(function(G){return $t(G,D)})},keySeq:function(){return this.toSeq().map(Ch).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(D){return this.toKeyedSeq().reverse().keyOf(D)},max:function(D){return vu(this,D)},maxBy:function(D,G){return vu(this,G,D)},min:function(D){return vu(this,D?T2(D):zl)},minBy:function(D,G){return vu(this,G?T2(G):zl,D)},rest:function(){return this.slice(1)},skip:function(D){return this.slice(Math.max(0,D))},skipLast:function(D){return Xs(this,this.toSeq().reverse().skip(D).reverse())},skipWhile:function(D,G){return Xs(this,Ji(this,D,G,!0))},skipUntil:function(D,G){return this.skipWhile(Xu(D),G)},sortBy:function(D,G){return Xs(this,Ru(this,G,D))},take:function(D){return this.slice(0,Math.max(0,D))},takeLast:function(D){return Xs(this,this.toSeq().reverse().take(D).reverse())},takeWhile:function(D,G){return Xs(this,function O3(D,G,ve){var Ie=tu(D);return Ie.__iterateUncached=function(He,yt){var Bt=this;if(yt)return this.cacheResult().__iterate(He,yt);var mn=0;return D.__iterate(function($n,jn,cr){return G.call(ve,$n,jn,cr)&&++mn&&He($n,jn,Bt)}),mn},Ie.__iteratorUncached=function(He,yt){var Bt=this;if(yt)return this.cacheResult().__iterator(He,yt);var mn=D.__iterator(2,yt),$n=!0;return new Yt(function(){if(!$n)return{value:void 0,done:!0};var jn=mn.next();if(jn.done)return jn;var cr=jn.value,Wr=cr[0],ri=cr[1];return G.call(ve,ri,Wr,Bt)?2===He?jn:tn(He,Wr,ri,jn):($n=!1,{value:void 0,done:!0})})},Ie}(this,D,G))},takeUntil:function(D,G){return this.takeWhile(Xu(D),G)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function Cd(D){if(D.size===1/0)return 0;var G=N(D),ve=R(D),Ie=G?1:0;return function I2(D,G){return G=si(G,3432918353),G=si(G<<15|G>>>-15,461845907),G=si(G<<13|G>>>-13,5),G=si((G=(G+3864292196|0)^D)^G>>>16,2246822507),Lr((G=si(G^G>>>13,3266489909))^G>>>16)}(D.__iterate(ve?G?function(yt,Bt){Ie=31*Ie+rc(Nr(yt),Nr(Bt))|0}:function(yt,Bt){Ie=Ie+rc(Nr(yt),Nr(Bt))|0}:G?function(yt){Ie=31*Ie+Nr(yt)|0}:function(yt){Ie=Ie+Nr(yt)|0}),Ie)}(this))}});var bs=g.prototype;bs[B]=!0,bs[ln]=bs.values,bs.__toJS=bs.toArray,bs.__toStringMapper=Sh,bs.inspect=bs.toSource=function(){return this.toString()},bs.chain=bs.flatMap,bs.contains=bs.includes,xc(b,{flip:function(){return Xs(this,vl(this))},mapEntries:function(D,G){var ve=this,Ie=0;return Xs(this,this.toSeq().map(function(He,yt){return D.call(G,[yt,He],Ie++,ve)}).fromEntrySeq())},mapKeys:function(D,G){var ve=this;return Xs(this,this.toSeq().flip().map(function(Ie,He){return D.call(G,Ie,He,ve)}).flip())}});var Tf=b.prototype;function Ch(D,G){return G}function $o(D,G){return[G,D]}function Xu(D){return function(){return!D.apply(this,arguments)}}function T2(D){return function(){return-D.apply(this,arguments)}}function Sh(D){return"string"==typeof D?JSON.stringify(D):String(D)}function If(){return le(arguments)}function zl(D,G){return D<G?1:D>G?-1:0}function rc(D,G){return D^G+2654435769+(D<<6)+(D>>2)|0}return Tf[z]=!0,Tf[ln]=bs.entries,Tf.__toJS=bs.toObject,Tf.__toStringMapper=function(D,G){return JSON.stringify(G)+": "+Sh(D)},xc(S,{toKeyedSeq:function(){return new pn(this,!1)},filter:function(D,G){return Xs(this,Df(this,D,G,!1))},findIndex:function(D,G){var ve=this.findEntry(D,G);return ve?ve[0]:-1},indexOf:function(D){var G=this.keyOf(D);return void 0===G?-1:G},lastIndexOf:function(D){var G=this.lastKeyOf(D);return void 0===G?-1:G},reverse:function(){return Xs(this,ea(this,!1))},slice:function(D,G){return Xs(this,D2(this,D,G,!1))},splice:function(D,G){var ve=arguments.length;if(G=Math.max(0|G,0),0===ve||2===ve&&!G)return this;D=st(D,D<0?this.count():this.size);var Ie=this.slice(0,D);return Xs(this,1===ve?Ie:Ie.concat(le(arguments,2),this.slice(D+G)))},findLastIndex:function(D,G){var ve=this.findLastEntry(D,G);return ve?ve[0]:-1},first:function(){return this.get(0)},flatten:function(D){return Xs(this,R3(this,D,!1))},get:function(D,G){return(D=_e(this,D))<0||this.size===1/0||void 0!==this.size&&D>this.size?G:this.find(function(ve,Ie){return Ie===D},void 0,G)},has:function(D){return(D=_e(this,D))>=0&&(void 0!==this.size?this.size===1/0||D<this.size:-1!==this.indexOf(D))},interpose:function(D){return Xs(this,function N0(D,G){var ve=tu(D);return ve.size=D.size&&2*D.size-1,ve.__iterateUncached=function(Ie,He){var yt=this,Bt=0;
1return D.__iterate(function(mn,$n){return(!Bt||!1!==Ie(G,Bt++,yt))&&!1!==Ie(mn,Bt++,yt)},He),Bt},ve.__iteratorUncached=function(Ie,He){var mn,yt=D.__iterator(1,He),Bt=0;return new Yt(function(){return(!mn||Bt%2)&&(mn=yt.next()).done?mn:Bt%2?tn(Ie,Bt++,G):tn(Ie,Bt++,mn.value,mn)})},ve}(this,D))},interleave:function(){var D=[this].concat(le(arguments)),G=w4(this.toSeq(),Dr.of,D),ve=G.flatten(!0);return G.size&&(ve.size=G.size*D.length),Xs(this,ve)},keySeq:function(){return lt(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(D,G){return Xs(this,Ji(this,D,G,!1))},zip:function(){return Xs(this,w4(this,If,[this].concat(le(arguments))))},zipWith:function(D){var G=le(arguments);return G[0]=this,Xs(this,w4(this,D,G))}}),S.prototype[A]=!0,S.prototype[M]=!0,xc(C,{get:function(D,G){return this.has(D)?D:G},includes:function(D){return this.has(D)},keySeq:function(){return this.valueSeq()}}),C.prototype.has=bs.includes,C.prototype.contains=C.prototype.includes,xc(qn,b.prototype),xc(Dr,S.prototype),xc(ni,C.prototype),xc(Mt,b.prototype),xc(nn,S.prototype),xc(tr,C.prototype),{Iterable:g,Seq:Pr,Collection:tt,Map:fi,OrderedMap:as,List:di,Stack:Vs,Set:Ir,OrderedSet:Ma,Record:ec,Range:lt,Repeat:rt,is:$t,fromJS:An}}()},75354:_=>{_.exports=function(k,c,g,b){var C=new Blob(typeof b<"u"?[b,k]:[k],{type:g||"application/octet-stream"});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(C,c);else{var w=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(C):window.webkitURL.createObjectURL(C),R=document.createElement("a");R.style.display="none",R.href=w,R.setAttribute("download",c),typeof R.download>"u"&&R.setAttribute("target","_blank"),document.body.appendChild(R),R.click(),setTimeout(function(){document.body.removeChild(R),window.URL.revokeObjectURL(w)},200)}}},71870:(_,k,c)=>{"use strict";var g=c(85133);_.exports=g},85133:(_,k,c)=>{"use strict";var g=c(7840),b=c(60034);function S(C){return function(){throw new Error("Function "+C+" is deprecated and cannot be used.")}}_.exports.Type=c(87647),_.exports.Schema=c(70372),_.exports.FAILSAFE_SCHEMA=c(58746),_.exports.JSON_SCHEMA=c(27147),_.exports.CORE_SCHEMA=c(63192),_.exports.DEFAULT_SAFE_SCHEMA=c(33031),_.exports.DEFAULT_FULL_SCHEMA=c(67094),_.exports.load=g.load,_.exports.loadAll=g.loadAll,_.exports.safeLoad=g.safeLoad,_.exports.safeLoadAll=g.safeLoadAll,_.exports.dump=b.dump,_.exports.safeDump=b.safeDump,_.exports.YAMLException=c(30314),_.exports.MINIMAL_SCHEMA=c(58746),_.exports.SAFE_SCHEMA=c(33031),_.exports.DEFAULT_SCHEMA=c(67094),_.exports.scan=S("scan"),_.exports.parse=S("parse"),_.exports.compose=S("compose"),_.exports.addConstructor=S("addConstructor")},80997:_=>{"use strict";function k(w){return typeof w>"u"||null===w}_.exports.isNothing=k,_.exports.isObject=function c(w){return"object"==typeof w&&null!==w},_.exports.toArray=function g(w){return Array.isArray(w)?w:k(w)?[]:[w]},_.exports.repeat=function S(w,R){var F,L="";for(F=0;F<R;F+=1)L+=w;return L},_.exports.isNegativeZero=function C(w){return 0===w&&Number.NEGATIVE_INFINITY===1/w},_.exports.extend=function b(w,R){var L,F,N,B;if(R)for(L=0,F=(B=Object.keys(R)).length;L<F;L+=1)w[N=B[L]]=R[N];return w}},60034:(_,k,c)=>{"use strict";var g=c(80997),b=c(30314),S=c(67094),C=c(33031),w=Object.prototype.toString,R=Object.prototype.hasOwnProperty,at={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},vt=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function Ge(Oe){var $t,Ht,rt;if($t=Oe.toString(16).toUpperCase(),Oe<=255)Ht="x",rt=2;else if(Oe<=65535)Ht="u",rt=4;else{if(!(Oe<=4294967295))throw new b("code point within a string may not be greater than 0xFFFFFFFF");Ht="U",rt=8}return"\\"+Ht+g.repeat("0",rt-$t.length)+$t}function Wt(Oe){this.schema=Oe.schema||S,this.indent=Math.max(1,Oe.indent||2),this.noArrayIndent=Oe.noArrayIndent||!1,this.skipInvalid=Oe.skipInvalid||!1,this.flowLevel=g.isNothing(Oe.flowLevel)?-1:Oe.flowLevel,this.styleMap=function Sn(Oe,$t){var Ht,rt,ht,en,lt,At,tt;if(null===$t)return{};for(Ht={},ht=0,en=(rt=Object.keys($t)).length;ht<en;ht+=1)lt=rt[ht],At=String($t[lt]),"!!"===lt.slice(0,2)&&(lt="tag:yaml.org,2002:"+lt.slice(2)),(tt=Oe.compiledTypeMap.fallback[lt])&&R.call(tt.styleAliases,At)&&(At=tt.styleAliases[At]),Ht[lt]=At;return Ht}(this.schema,Oe.styles||null),this.sortKeys=Oe.sortKeys||!1,this.lineWidth=Oe.lineWidth||80,this.noRefs=Oe.noRefs||!1,this.noCompatMode=Oe.noCompatMode||!1,this.condenseFlow=Oe.condenseFlow||!1,this.impl
1icitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function wt(Oe,$t){for(var lt,Ht=g.repeat(" ",$t),rt=0,ht=-1,en="",At=Oe.length;rt<At;)-1===(ht=Oe.indexOf("\n",rt))?(lt=Oe.slice(rt),rt=At):(lt=Oe.slice(rt,ht+1),rt=ht+1),lt.length&&"\n"!==lt&&(en+=Ht),en+=lt;return en}function ln(Oe,$t){return"\n"+g.repeat(" ",Oe.indent*$t)}function tn(Oe){return 32===Oe||9===Oe}function Gt(Oe){return 32<=Oe&&Oe<=126||161<=Oe&&Oe<=55295&&8232!==Oe&&8233!==Oe||57344<=Oe&&Oe<=65533&&65279!==Oe||65536<=Oe&&Oe<=1114111}function jt(Oe,$t){return Gt(Oe)&&65279!==Oe&&44!==Oe&&91!==Oe&&93!==Oe&&123!==Oe&&125!==Oe&&58!==Oe&&(35!==Oe||$t&&function nt(Oe){return Gt(Oe)&&!tn(Oe)&&65279!==Oe&&13!==Oe&&10!==Oe}($t))}function Bn(Oe){return/^\n* /.test(Oe)}function Gi(Oe,$t,Ht,rt){Oe.dump=function(){if(0===$t.length)return"''";if(!Oe.noCompatMode&&-1!==vt.indexOf($t))return"'"+$t+"'";var ht=Oe.indent*Math.max(1,Ht),en=-1===Oe.lineWidth?-1:Math.max(Math.min(Oe.lineWidth,40),Oe.lineWidth-ht);switch(function oi(Oe,$t,Ht,rt,ht){var en,lt,At,tt=!1,Mt=!1,nn=-1!==rt,tr=-1,si=function kn(Oe){return Gt(Oe)&&65279!==Oe&&!tn(Oe)&&45!==Oe&&63!==Oe&&58!==Oe&&44!==Oe&&91!==Oe&&93!==Oe&&123!==Oe&&125!==Oe&&35!==Oe&&38!==Oe&&42!==Oe&&33!==Oe&&124!==Oe&&61!==Oe&&62!==Oe&&39!==Oe&&34!==Oe&&37!==Oe&&64!==Oe&&96!==Oe}(Oe.charCodeAt(0))&&!tn(Oe.charCodeAt(Oe.length-1));if($t)for(en=0;en<Oe.length;en++){if(!Gt(lt=Oe.charCodeAt(en)))return 5;At=en>0?Oe.charCodeAt(en-1):null,si=si&&jt(lt,At)}else{for(en=0;en<Oe.length;en++){if(10===(lt=Oe.charCodeAt(en)))tt=!0,nn&&(Mt=Mt||en-tr-1>rt&&" "!==Oe[tr+1],tr=en);else if(!Gt(lt))return 5;At=en>0?Oe.charCodeAt(en-1):null,si=si&&jt(lt,At)}Mt=Mt||nn&&en-tr-1>rt&&" "!==Oe[tr+1]}return tt||Mt?Ht>9&&Bn(Oe)?5:Mt?4:3:si&&!ht(Oe)?1:2}($t,rt||Oe.flowLevel>-1&&Ht>=Oe.flowLevel,Oe.indent,en,function At(tt){return function Yt(Oe,$t){var Ht,rt;for(Ht=0,rt=Oe.implicitTypes.length;Ht<rt;Ht+=1)if(Oe.implicitTypes[Ht].resolve($t))return!0;return!1}(Oe,tt)})){case 1:return $t;case 2:return"'"+$t.replace(/'/g,"''")+"'";case 3:return"|"+Hr($t,Oe.indent)+ft(wt($t,ht));case 4:return">"+Hr($t,Oe.indent)+ft(wt(function pe(Oe,$t){for(var en,lt,Ht=/(\n+)([^\n]*)/g,rt=(Mt=void 0,Mt=Oe.indexOf("\n"),Ht.lastIndex=Mt=-1!==Mt?Mt:Oe.length,be(Oe.slice(0,Mt),$t)),ht="\n"===Oe[0]||" "===Oe[0];lt=Ht.exec(Oe);){var tt=lt[2];en=" "===tt[0],rt+=lt[1]+(ht||en||""===tt?"":"\n")+be(tt,$t),ht=en}var Mt;return rt}($t,en),ht));case 5:return'"'+function xt(Oe){for(var Ht,rt,ht,$t="",en=0;en<Oe.length;en++)(Ht=Oe.charCodeAt(en))>=55296&&Ht<=56319&&(rt=Oe.charCodeAt(en+1))>=56320&&rt<=57343?($t+=Ge(1024*(Ht-55296)+rt-56320+65536),en++):$t+=!(ht=at[Ht])&&Gt(Ht)?Oe[en]:ht||Ge(Ht);return $t}($t)+'"';default:throw new b("impossible error: invalid scalar style")}}()}function Hr(Oe,$t){var Ht=Bn(Oe)?String($t):"",rt="\n"===Oe[Oe.length-1];return Ht+(!rt||"\n"!==Oe[Oe.length-2]&&"\n"!==Oe?rt?"":"-":"+")+"\n"}function ft(Oe){return"\n"===Oe[Oe.length-1]?Oe.slice(0,-1):Oe}function be(Oe,$t){if(""===Oe||" "===Oe[0])return Oe;for(var rt,en,Ht=/ [^ ]/g,ht=0,lt=0,At=0,tt="";rt=Ht.exec(Oe);)(At=rt.index)-ht>$t&&(tt+="\n"+Oe.slice(ht,en=lt>ht?lt:At),ht=en+1),lt=At;return tt+="\n",(tt+=Oe.length-ht>$t&<>ht?Oe.slice(ht,lt)+"\n"+Oe.slice(lt+1):Oe.slice(ht)).slice(1)}function X(Oe,$t,Ht){var rt,ht,en,lt,At,tt;for(en=0,lt=(ht=Ht?Oe.explicitTypes:Oe.implicitTypes).length;en<lt;en+=1)if(((At=ht[en]).instanceOf||At.predicate)&&(!At.instanceOf||"object"==typeof $t&&$t instanceof At.instanceOf)&&(!At.predicate||At.predicate($t))){if(Oe.tag=Ht?At.tag:"?",At.represent){if(tt=Oe.styleMap[At.tag]||At.defaultStyle,"[object Function]"===w.call(At.represent))rt=At.represent($t,tt);else{if(!R.call(At.represent,tt))throw new b("!<"+At.tag+'> tag resolver accepts not "'+tt+'" style');rt=At.represent[tt]($t,tt)}Oe.dump=rt}return!0}return!1}function Nt(Oe,$t,Ht,rt,ht,en){Oe.tag=null,Oe.dump=Ht,X(Oe,Ht,!1)||X(Oe,Ht,!0);var lt=w.call(Oe.dump);rt&&(rt=Oe.flowLevel<0||Oe.flowLevel>$t);var tt,Mt,At="[object Object]"===lt||"[object Array]"===lt;if(At&&(Mt=-1!==(tt=Oe.duplicates.indexOf(Ht))),(null!==Oe.tag&&"?"!==Oe.tag||Mt||2!==Oe.indent&&$t>0)&&(ht=!1),Mt&&Oe.usedDuplicates[tt])Oe.dump="*ref_"+tt;else{if(At&&Mt&&!Oe.usedDuplicates[tt]&&(Oe.usedDuplicates[tt]=!0),"[object Object]"===lt)rt&&0!==Object.keys(Oe.dump).length?(function vn(Oe,$t,Ht,rt){var At,tt,Mt,nn,tr,si,ht="",en=Oe.tag,lt=Object.keys(Ht);if(!0===Oe.sortKeys)lt.sort();else if("function"==typeof Oe.sortKeys)lt.sort(Oe.sortKeys);else if(Oe.sortKeys)throw new b("sortKeys must be a boolean or a function");for(At=0,tt=lt.length;At<tt;At+=1)si="",(!rt||0!==At)&&(si+=ln(Oe,$t)),nn=Ht[Mt=lt[At]],Nt(Oe,$t+1,Mt,!0,!0,!0)&&((tr=null!==Oe.tag&&"?"!==Oe.tag||Oe.dump&&Oe.dump.length>1024)&&(Oe.dump&&10===Oe.dump.charCodeAt(0)?si+="?":si+="? "),si+=Oe.dump,tr&&(si+=ln(Oe,$t)),Nt(Oe,$t+1,nn,!0,tr)&&(Oe.dump&&10===Oe.dump.charCodeAt(0)?si+=":":si+=": ",ht+=si+=Oe.dump));Oe.tag=en,Oe.dump=ht||"{}"}(Oe,$t,Oe.dump,ht),Mt&&(Oe.dump="&ref_"+tt+Oe.dump)):(function cn(Oe,$t,Ht){var lt,At,tt,Mt,nn,rt="",ht=Oe.tag,en=Object.keys(Ht);for(lt=0,At=en.length;lt<At;lt+=1)nn="",0!==lt&&(nn+=", "),Oe.condenseFlow&&(nn+='"'),Mt=Ht[tt=en[lt]],Nt(Oe,$t,tt,!1,!1)&&(Oe.dump.length>1024&&(nn+="? "),nn+=Oe.dump+(Oe.condenseFlow?'"':"")+":"+(Oe.condenseFlow?"":" "),Nt(Oe,$t,Mt,!1,!1)&&(rt+=nn+=Oe.dump));Oe.tag=ht,Oe.dump="{"+rt+"}"}(Oe,$t,Oe.dump),Mt&&(Oe.dump="&ref_"+tt+" "+Oe.dump));else if("[object Array]"===lt){var nn=Oe.noArrayIndent&&$t>0?$t-1:$t;rt&&0!==Oe.dump.length?(function Xt(Oe,$t,Ht,rt){var lt,At,ht="",en=Oe.tag;for(lt=0,At=Ht.length;lt<At;lt+=1)Nt(Oe,$t+1,Ht[lt],!0,!0)&&((!rt||0!==lt)&&(ht+=ln(Oe,$t)),Oe.dump&&10===Oe.dump.charCodeAt(0)?ht+="-":ht+="- ",ht+=Oe.dump);Oe.tag=en,Oe.dump=ht||"[]"}
vendor: 4,648 bytes, line 1
1(Oe,nn,Oe.dump,ht),Mt&&(Oe.dump="&ref_"+tt+Oe.dump)):(function Kt(Oe,$t,Ht){var en,lt,rt="",ht=Oe.tag;for(en=0,lt=Ht.length;en<lt;en+=1)Nt(Oe,$t,Ht[en],!1,!1)&&(0!==en&&(rt+=","+(Oe.condenseFlow?"":" ")),rt+=Oe.dump);Oe.tag=ht,Oe.dump="["+rt+"]"}(Oe,nn,Oe.dump),Mt&&(Oe.dump="&ref_"+tt+" "+Oe.dump))}else{if("[object String]"!==lt){if(Oe.skipInvalid)return!1;throw new b("unacceptable kind of an object to dump "+lt)}"?"!==Oe.tag&&Gi(Oe,Oe.dump,$t,en)}null!==Oe.tag&&"?"!==Oe.tag&&(Oe.dump="!<"+Oe.tag+"> "+Oe.dump)}return!0}function on(Oe,$t){var ht,en,Ht=[],rt=[];for(An(Oe,Ht,rt),ht=0,en=rt.length;ht<en;ht+=1)$t.duplicates.push(Ht[rt[ht]]);$t.usedDuplicates=new Array(en)}function An(Oe,$t,Ht){var rt,ht,en;if(null!==Oe&&"object"==typeof Oe)if(-1!==(ht=$t.indexOf(Oe)))-1===Ht.indexOf(ht)&&Ht.push(ht);else if($t.push(Oe),Array.isArray(Oe))for(ht=0,en=Oe.length;ht<en;ht+=1)An(Oe[ht],$t,Ht);else for(ht=0,en=(rt=Object.keys(Oe)).length;ht<en;ht+=1)An(Oe[rt[ht]],$t,Ht)}function bn(Oe,$t){var Ht=new Wt($t=$t||{});return Ht.noRefs||on(Oe,Ht),Nt(Ht,0,Oe,!0,!0)?Ht.dump+"\n":""}_.exports.dump=bn,_.exports.safeDump=function Fn(Oe,$t){return bn(Oe,g.extend({schema:C},$t))}},30314:_=>{"use strict";function k(c,g){Error.call(this),this.name="YAMLException",this.reason=c,this.mark=g,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}(k.prototype=Object.create(Error.prototype)).constructor=k,k.prototype.toString=function(g){var b=this.name+": ";return b+=this.reason||"(unknown reason)",!g&&this.mark&&(b+=" "+this.mark.toString()),b},_.exports=k},7840:(_,k,c)=>{"use strict";var g=c(80997),b=c(30314),S=c(50048),C=c(33031),w=c(67094),R=Object.prototype.hasOwnProperty,O=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,V=/[\x85\u2028\u2029]/,W=/[,\[\]\{\}]/,q=/^(?:!|!!|![a-z\-]+!)$/i,J=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function te(X){return Object.prototype.toString.call(X)}function ae(X){return 10===X||13===X}function re(X){return 9===X||32===X}function oe(X){return 9===X||32===X||10===X||13===X}function se(X){return 44===X||91===X||93===X||123===X||125===X}function le(X){var Nt;return 48<=X&&X<=57?X-48:97<=(Nt=32|X)&&Nt<=102?Nt-97+10:-1}function Y(X){return 120===X?2:117===X?4:85===X?8:0}function _e(X){return 48<=X&&X<=57?X-48:-1}function Qe(X){return 48===X?"\0":97===X?"\x07":98===X?"\b":116===X||9===X?"\t":110===X?"\n":118===X?"\v":102===X?"\f":114===X?"\r":101===X?"\x1b":32===X?" ":34===X?'"':47===X?"/":92===X?"\\":78===X?"\x85":95===X?"\xa0":76===X?"\u2028":80===X?"\u2029":""}function We(X){return X<=65535?String.fromCharCode(X):String.fromCharCode(55296+(X-65536>>10),56320+(X-65536&1023))}for(var st=new Array(256),Ve=new Array(256),at=0;at<256;at++)st[at]=Qe(at)?1:0,Ve[at]=Qe(at);function vt(X,Nt){this.input=X,this.filename=Nt.filename||null,this.schema=Nt.schema||w,this.onWarning=Nt.onWarning||null,this.legacy=Nt.legacy||!1,this.json=Nt.json||!1,this.listener=Nt.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=X.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function Sn(X,Nt){return new b(Nt,new S(X.filename,X.input,X.position,X.line,X.position-X.lineStart))}function Ge(X,Nt){throw Sn(X,Nt)}function Wt(X,Nt){X.onWarning&&X.onWarning.call(null,Sn(X,Nt))}var wt={YAML:function(Nt,on,An){var bn,Fn,Oe;null!==Nt.version&&Ge(Nt,"duplication of %YAML directive"),1!==An.length&&Ge(Nt,"YAML directive accepts exactly one argument"),null===(bn=/^([0-9]+)\.([0-9]+)$/.exec(An[0]))&&Ge(Nt,"ill-formed argument of the YAML directive"),Fn=parseInt(bn[1],10),Oe=parseInt(bn[2],10),1!==Fn&&Ge(Nt,"unacceptable YAML version of the document"),Nt.version=An[0],Nt.checkLineBreaks=Oe<2,1!==Oe&&2!==Oe&&Wt(Nt,"unsupported YAML version of the document")},TAG:function(Nt,on,An){var bn,Fn;2!==An.length&&Ge(Nt,"TAG directive accepts exactly two arguments"),Fn=An[1],q.test(bn=An[0])||Ge(Nt,"ill-formed tag handle (first argument) of the TAG directive"),R.call(Nt.tagMap,bn)&&Ge(Nt,'there is a previously declared suffix for "'+bn+'" tag handle'),J.test(Fn)||Ge(Nt,"ill-formed tag prefix (second argument) of the TAG directive"),Nt.tagMap[bn]=Fn}};function ln(X,Nt,on,An){var bn,Fn,Oe,$t;if(Nt<on){if($t=X.input.slice(Nt,on),An)for(bn=0,Fn=$t.length;bn<Fn;bn+=1)9===(Oe=$t.charCodeAt(bn))||32<=Oe&&Oe<=1114111||Ge(X,"expected valid JSON character");
vendor: 12,959 bytes, line 1
1else O.test($t)&&Ge(X,"the stream contains non-printable characters");X.result+=$t}}function Yt(X,Nt,on,An){var bn,Fn,Oe,$t;for(g.isObject(on)||Ge(X,"cannot merge mappings; the provided source object is unacceptable"),Oe=0,$t=(bn=Object.keys(on)).length;Oe<$t;Oe+=1)R.call(Nt,Fn=bn[Oe])||(Nt[Fn]=on[Fn],An[Fn]=!0)}function tn(X,Nt,on,An,bn,Fn,Oe,$t){var Ht,rt;if(Array.isArray(bn))for(Ht=0,rt=(bn=Array.prototype.slice.call(bn)).length;Ht<rt;Ht+=1)Array.isArray(bn[Ht])&&Ge(X,"nested arrays are not supported inside keys"),"object"==typeof bn&&"[object Object]"===te(bn[Ht])&&(bn[Ht]="[object Object]");if("object"==typeof bn&&"[object Object]"===te(bn)&&(bn="[object Object]"),bn=String(bn),null===Nt&&(Nt={}),"tag:yaml.org,2002:merge"===An)if(Array.isArray(Fn))for(Ht=0,rt=Fn.length;Ht<rt;Ht+=1)Yt(X,Nt,Fn[Ht],on);else Yt(X,Nt,Fn,on);else!X.json&&!R.call(on,bn)&&R.call(Nt,bn)&&(X.line=Oe||X.line,X.position=$t||X.position,Ge(X,"duplicated mapping key")),Nt[bn]=Fn,delete on[bn];return Nt}function Gt(X){var Nt;10===(Nt=X.input.charCodeAt(X.position))?X.position++:13===Nt?(X.position++,10===X.input.charCodeAt(X.position)&&X.position++):Ge(X,"a line break is expected"),X.line+=1,X.lineStart=X.position}function nt(X,Nt,on){for(var An=0,bn=X.input.charCodeAt(X.position);0!==bn;){for(;re(bn);)bn=X.input.charCodeAt(++X.position);if(Nt&&35===bn)do{bn=X.input.charCodeAt(++X.position)}while(10!==bn&&13!==bn&&0!==bn);if(!ae(bn))break;for(Gt(X),bn=X.input.charCodeAt(X.position),An++,X.lineIndent=0;32===bn;)X.lineIndent++,bn=X.input.charCodeAt(++X.position)}return-1!==on&&0!==An&&X.lineIndent<on&&Wt(X,"deficient indentation"),An}function jt(X){var on,Nt=X.position;return!(45!==(on=X.input.charCodeAt(Nt))&&46!==on||on!==X.input.charCodeAt(Nt+1)||on!==X.input.charCodeAt(Nt+2)||(Nt+=3,on=X.input.charCodeAt(Nt),0!==on&&!oe(on)))}function kn(X,Nt){1===Nt?X.result+=" ":Nt>1&&(X.result+=g.repeat("\n",Nt-1))}function ni(X,Nt){var on,Ht,An=X.tag,bn=X.anchor,Fn=[],$t=!1;for(null!==X.anchor&&(X.anchorMap[X.anchor]=Fn),Ht=X.input.charCodeAt(X.position);0!==Ht&&45===Ht&&oe(X.input.charCodeAt(X.position+1));)if($t=!0,X.position++,nt(X,!0,-1)&&X.lineIndent<=Nt)Fn.push(null),Ht=X.input.charCodeAt(X.position);else if(on=X.line,pe(X,Nt,3,!1,!0),Fn.push(X.result),nt(X,!0,-1),Ht=X.input.charCodeAt(X.position),(X.line===on||X.lineIndent>Nt)&&0!==Ht)Ge(X,"bad indentation of a sequence entry");else if(X.lineIndent<Nt)break;return!!$t&&(X.tag=An,X.anchor=bn,X.kind="sequence",X.result=Fn,!0)}function Gi(X){var Nt,bn,Fn,Oe,on=!1,An=!1;if(33!==(Oe=X.input.charCodeAt(X.position)))return!1;if(null!==X.tag&&Ge(X,"duplication of a tag property"),60===(Oe=X.input.charCodeAt(++X.position))?(on=!0,Oe=X.input.charCodeAt(++X.position)):33===Oe?(An=!0,bn="!!",Oe=X.input.charCodeAt(++X.position)):bn="!",Nt=X.position,on){do{Oe=X.input.charCodeAt(++X.position)}while(0!==Oe&&62!==Oe);X.position<X.length?(Fn=X.input.slice(Nt,X.position),Oe=X.input.charCodeAt(++X.position)):Ge(X,"unexpected end of the stream within a verbatim tag")}else{for(;0!==Oe&&!oe(Oe);)33===Oe&&(An?Ge(X,"tag suffix cannot contain exclamation marks"):(bn=X.input.slice(Nt-1,X.position+1),q.test(bn)||Ge(X,"named tag handle cannot contain such characters"),An=!0,Nt=X.position+1)),Oe=X.input.charCodeAt(++X.position);Fn=X.input.slice(Nt,X.position),W.test(Fn)&&Ge(X,"tag suffix cannot contain flow indicator characters")}return Fn&&!J.test(Fn)&&Ge(X,"tag name cannot contain such characters: "+Fn),on?X.tag=Fn:R.call(X.tagMap,bn)?X.tag=X.tagMap[bn]+Fn:"!"===bn?X.tag="!"+Fn:"!!"===bn?X.tag="tag:yaml.org,2002:"+Fn:Ge(X,'undeclared tag handle "'+bn+'"'),!0}function Hr(X){var Nt,on;if(38!==(on=X.input.charCodeAt(X.position)))return!1;for(null!==X.anchor&&Ge(X,"duplication of an anchor property"),on=X.input.charCodeAt(++X.position),Nt=X.position;0!==on&&!oe(on)&&!se(on);)on=X.input.charCodeAt(++X.position);return X.position===Nt&&Ge(X,"name of an anchor node must contain at least one character"),X.anchor=X.input.slice(Nt,X.position),!0}function pe(X,Nt,on,An,bn){var Fn,Oe,$t,en,lt,At,tt,Mt,Ht=1,rt=!1,ht=!1;if(null!==X.listener&&X.listener("open",X),X.tag=null,X.anchor=null,X.kind=null,X.result=null,Fn=Oe=$t=4===on||3===on,An&&nt(X,!0,-1)&&(rt=!0,X.lineIndent>Nt?Ht=1:X.lineIndent===Nt?Ht=0:X.lineIndent<Nt&&(Ht=-1)),1===Ht)for(;Gi(X)||Hr(X);)nt(X,!0,-1)?(rt=!0,$t=Fn,X.lineIndent>Nt?Ht=1:X.lineIndent===Nt?Ht=0:X.lineIndent<Nt&&(Ht=-1)):$t=!1;if($t&&($t=rt||bn),(1===Ht||4===on)&&(tt=1===on||2===on?Nt:Nt+1,Mt=X.position-X.lineStart,1===Ht?$t&&(ni(X,Mt)||function oi(X,Nt,on){var An,bn,Fn,Oe,nn,$t=X.tag,Ht=X.anchor,rt={},ht={},en=null,lt=null,At=null,tt=!1,Mt=!1;for(null!==X.anchor&&(X.anchorMap[X.anchor]=rt),nn=X.input.charCodeAt(X.position);0!==nn;){if(An=X.input.charCodeAt(X.position+1),Fn=X.line,Oe=X.position,63!==nn&&58!==nn||!oe(An)){if(!pe(X,on,2,!1,!0))break;if(X.line===Fn){for(nn=X.input.charCodeAt(X.position);re(nn);)nn=X.input.charCodeAt(++X.position);if(58===nn)oe(nn=X.input.charCodeAt(++X.position))||Ge(X,"a whitespace character is expected after the key-value separator within a block mapping"),tt&&(tn(X,rt,ht,en,lt,null),en=lt=At=null),Mt=!0,tt=!1,bn=!1,en=X.tag,lt=X.result;else{if(!Mt)return X.tag=$t,X.anchor=Ht,!0;Ge(X,"can not read an implicit mapping pair; a colon is missed")}}else{if(!Mt)return X.tag=$t,X.anchor=Ht,!0;Ge(X,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===nn?(tt&&(tn(X,rt,ht,en,lt,null),en=lt=At=null),Mt=!0,tt=!0,bn=!0):tt?(tt=!1,bn=!0):Ge(X,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),X.position+=1,nn=An;if((X.line===Fn||X.lineIndent>Nt)&&(pe(X,Nt,4,!0,bn)&&(tt?lt=X.result:At=X.result),tt||(tn(X,rt,ht,en,lt,At,Fn,Oe),en=lt=At=null),nt(X,!0,-1),nn=X.input.charCodeAt(X.position)),X.lineIndent>Nt&&0!==nn)Ge(X,"bad indentation of a mapping entry");else if(X.lineIndent<Nt)break}return tt&&tn(X,rt,ht,en,lt,null),Mt&&(X.tag=$t,X.anchor=Ht,X.kind="mapping",X.result=rt),Mt}(X,Mt,tt))||function qn(X,Nt){var An,Fn,Ht,rt,ht,en,At,tt,Mt,nn,on=!0,bn=X.tag,Oe=X.anchor,lt={};if(91===(nn=X.input.charCodeAt(X.position)))Ht=93,en=!1,Fn=[];else{if(123!==nn)return!1;Ht=125,en=!0,Fn={}}for(null!==X.anchor&&(X.anchorMap[X.anchor]=Fn),nn=X.input.charCodeAt(++X.position);0!==nn;){if(nt(X,!0,Nt),(nn=X.input.charCodeAt(X.position))===Ht)return X.position++,X.tag=bn,X.anchor=Oe,X.kind=en?"mapping":"sequence",X.result=Fn,!0;on||Ge(X,"missed comma between flow collection entries"),Mt=null,rt=ht=!1,63===nn&&oe(X.input.charCodeAt(X.position+1))&&(rt=ht=!0,X.position++,nt(X,!0,Nt)),An=X.line,pe(X,Nt,1,!1,!0),tt=X.tag,At=X.result,nt(X,!0,Nt),nn=X.input.charCodeAt(X.position),(ht||X.line===An)&&58===nn&&(rt=!0,nn=X.input.charCodeAt(++X.position),nt(X,!0,Nt),pe(X,Nt,1,!1,!0),Mt=X.result),en?tn(X,Fn,lt,tt,At,Mt):Fn.push(rt?tn(X,null,lt,tt,At,Mt):At),nt(X,!0,Nt),44===(nn=X.input.charCodeAt(X.position))?(on=!0,nn=X.input.charCodeAt(++X.position)):on=!1}Ge(X,"unexpected end of the stream within a flow collection")}(X,tt)?ht=!0:(Oe&&function Dr(X,Nt){var on,An,ht,en,bn=1,Fn=!1,Oe=!1,$t=Nt,Ht=0,rt=!1;if(124===(en=X.input.charCodeAt(X.position)))An=!1;else{if(62!==en)return!1;An=!0}for(X.kind="scalar",X.result="";0!==en;)if(43===(en=X.input.charCodeAt(++X.position))||45===en)1===bn?bn=43===en?3:2:Ge(X,"repeat of a chomping mode identifier");else{if(!((ht=_e(en))>=0))break;0===ht?Ge(X,"bad explicit indentation width of a block scalar; it cannot be less than one"):Oe?Ge(X,"repeat of an indentation width identifier"):($t=Nt+ht-1,Oe=!0)}if(re(en)){do{en=X.input.charCodeAt(++X.position)}while(re(en));if(35===en)do{en=X.input.charCodeAt(++X.position)}while(!ae(en)&&0!==en)}for(;0!==en;){for(Gt(X),X.lineIndent=0,en=X.input.charCodeAt(X.position);(!Oe||X.lineIndent<$t)&&32===en;)X.lineIndent++,en=X.input.charCodeAt(++X.position);if(!Oe&&X.lineIndent>$t&&($t=X.lineIndent),ae(en))Ht++;else{if(X.lineIndent<$t){3===bn?X.result+=g.repeat("\n",Fn?1+Ht:Ht):1===bn&&Fn&&(X.result+="\n");break}for(An?re(en)?(rt=!0,X.result+=g.repeat("\n",Fn?1+Ht:Ht)):rt?(rt=!1,X.result+=g.repeat("\n",Ht+1)):0===Ht?Fn&&(X.result+=" "):X.result+=g.repeat("\n",Ht):X.result+=g.repeat("\n",Fn?1+Ht:Ht),Fn=!0,Oe=!0,Ht=0,on=X.position;!ae(en)&&0!==en;)en=X.input.charCodeAt(++X.position);ln(X,on,X.position,!1)}}return!0}(X,tt)||function Jn(X,Nt){var on,An,bn;if(39!==(on=X.input.charCodeAt(X.position)))return!1;for(X.kind="scalar",X.result="",X.position++,An=bn=X.position;0!==(on=X.input.charCodeAt(X.position));)if(39===on){if(ln(X,An,X.position,!0),39!==(on=X.input.charCodeAt(++X.position)))return!0;An=X.position,X.position++,bn=X.position}else ae(on)?(ln(X,An,bn,!0),kn(X,nt(X,!1,Nt)),An=bn=X.position):X.position===X.lineStart&&jt(X)?Ge(X,"unexpected end of the document within a single quoted scalar"):(X.position++,bn=X.position);Ge(X,"unexpected end of the stream within a single quoted scalar")}(X,tt)||function Pr(X,Nt){var on,An,bn,Fn,Oe,$t;if(34!==($t=X.input.charCodeAt(X.position)))return!1;for(X.kind="scalar",X.result="",X.position++,on=An=X.position;0!==($t=X.input.charCodeAt(X.position));){if(34===$t)return ln(X,on,X.position,!0),X.position++,!0;if(92===$t){if(ln(X,on,X.position,!0),ae($t=X.input.charCodeAt(++X.position)))nt(X,!1,Nt);else if($t<256&&st[$t])X.result+=Ve[$t],X.position++;else if((Oe=Y($t))>0){for(bn=Oe,Fn=0;bn>0;bn--)(Oe=le($t=X.input.charCodeAt(++X.position)))>=0?Fn=(Fn<<4)+Oe:Ge(X,"expected hexadecimal character");X.result+=We(Fn),X.position++}else Ge(X,"unknown escape sequence");on=An=X.position}else ae($t)?(ln(X,on,An,!0),kn(X,nt(X,!1,Nt)),on=An=X.position):X.position===X.lineStart&&jt(X)?Ge(X,"unexpected end of the document within a double quoted scalar"):(X.position++,An=X.position)}Ge(X,"unexpected end of the stream within a double quoted scalar")}(X,tt)?ht=!0:function ft(X){var Nt,on,An;if(42!==(An=X.input.charCodeAt(X.position)))return!1;for(An=X.input.charCodeAt(++X.position),Nt=X.position;0!==An&&!oe(An)&&!se(An);)An=X.input.charCodeAt(++X.position);return X.position===Nt&&Ge(X,"name of an alias node must contain at least one character"),on=X.input.slice(Nt,X.position),R.call(X.anchorMap,on)||Ge(X,'unidentified alias "'+on+'"'),X.result=X.anchorMap[on],nt(X,!0,-1),!0}(X)?(ht=!0,(null!==X.tag||null!==X.anchor)&&Ge(X,"alias node should not have any properties")):function Bn(X,Nt,on){var bn,Fn,Oe,$t,Ht,rt,ht,At,en=X.kind,lt=X.result;if(oe(At=X.input.charCodeAt(X.position))||se(At)||35===At||38===At||42===At||33===At||124===At||62===At||39===At||34===At||37===At||64===At||96===At||(63===At||45===At)&&(oe(bn=X.input.charCodeAt(X.position+1))||on&&se(bn)))return!1;for(X.kind="scalar",X.result="",Fn=Oe=X.position,$t=!1;0!==At;){if(58===At){if(oe(bn=X.input.charCodeAt(X.position+1))||on&&se(bn))break}else if(35===At){if(oe(X.input.charCodeAt(X.position-1)))break}else{if(X.position===X.lineStart&&jt(X)||on&&se(At))break;if(ae(At)){if(Ht=X.line,rt=X.lineStart,ht=X.lineIndent,nt(X,!1,-1),X.lineIndent>=Nt){$t=!0,At=X.input.charCodeAt(X.position);continue}X.position=Oe,X.line=Ht,X.lineStart=rt,X.lineIndent=ht;break}}$t&&(ln(X,Fn,Oe,!1),kn(X,X.line-Ht),Fn=Oe=X.position,$t=!1),re(At)||(Oe=X.position+1),At=X.input.charCodeAt(++X.position)}return ln(X,Fn,Oe,!1),!!X.result||(X.kind=en,X.result=lt,!1)}(X,tt,1===on)&&(ht=!0,null===X.tag&&(X.tag="?")),null!==X.anchor&&(X.anchorMap[X.anchor]=X.result)):0===Ht&&(ht=$t&&ni(X,Mt))),null!==X.tag&&"!"!==X.tag)if("?"===X.tag){for(null!==X.result&&"scalar"!==X.kind&&Ge(X,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+X.kind+'"'),en=0,lt=X.implicitTypes.length;en<lt;en+=1)if((At=X.implicitTypes[en]).resolve(X.result)){X.result=At.construct(X.result),X.tag=At.tag,null!==X.anchor&&(X.anchorMap[X.anchor]=X.result);break}}else R.call(X.typeMap[X.kind||"fallback"],X.tag)?(At=X.typeMap[X.kind||"fallback"][X.tag],null!==X.result&&At.kind!==X.kind&&Ge(X,"unacceptable node kind for !<"+X.tag+'> tag; it should be "'+At.kind+'", not "'+X.kind+'"'),At.resolve(X.result)?(X.result=At.construct(X.result),null!==X.anchor&&(X.anchorMap[X.anchor]=X.result)):Ge(X,"cannot resolve a node with !<"+X.tag+"> explicit tag")):Ge(X,"unknown tag !<"+X.tag+">");return null!==X.listener&&X.listener("close",X),null!==X.tag||null!==X.anchor||ht}function be(X){var on,An,bn,Oe,Nt=X.position,Fn=!1;for(X.version=null,X.checkLineBreaks=X.legacy,X.tagMap={},X.anchorMap={};0!==(Oe=X.input.charCodeAt(X.position))&&(nt(X,!0,-1),Oe=X.input.charCodeAt(X.position),!(X.lineIndent>0||37!==Oe));){for(Fn=!0,Oe=X.input.charCodeAt(++X.position),on=X.position;0!==Oe&&!oe(Oe);)Oe=X.input.charCodeAt(++X.position);for(bn=[],(An=X.input.slice(on,X.position)).length<1&&Ge(X,"directive name must not be less than one character in length");0!==Oe;){for(;re(Oe);)Oe=X.input.charCodeAt(++X.position);if(35===Oe){do{Oe=X.input.charCodeAt(++X.position)}while(0!==Oe&&!ae(Oe));break}if(ae(Oe))break;for(on=X.position;0!==Oe&&!oe(Oe);)Oe=X.input.charCodeAt(++X.position);
1bn.push(X.input.slice(on,X.position))}0!==Oe&&Gt(X),R.call(wt,An)?wt[An](X,An,bn):Wt(X,'unknown document directive "'+An+'"')}nt(X,!0,-1),0===X.lineIndent&&45===X.input.charCodeAt(X.position)&&45===X.input.charCodeAt(X.position+1)&&45===X.input.charCodeAt(X.position+2)?(X.position+=3,nt(X,!0,-1)):Fn&&Ge(X,"directives end mark is expected"),pe(X,X.lineIndent-1,4,!1,!0),nt(X,!0,-1),X.checkLineBreaks&&V.test(X.input.slice(Nt,X.position))&&Wt(X,"non-ASCII line breaks are interpreted as content"),X.documents.push(X.result),X.position===X.lineStart&&jt(X)?46===X.input.charCodeAt(X.position)&&(X.position+=3,nt(X,!0,-1)):X.position<X.length-1&&Ge(X,"end of the stream or a document separator is expected")}function xt(X,Nt){Nt=Nt||{},0!==(X=String(X)).length&&(10!==X.charCodeAt(X.length-1)&&13!==X.charCodeAt(X.length-1)&&(X+="\n"),65279===X.charCodeAt(0)&&(X=X.slice(1)));var on=new vt(X,Nt),An=X.indexOf("\0");for(-1!==An&&(on.position=An,Ge(on,"null byte is not allowed in input")),on.input+="\0";32===on.input.charCodeAt(on.position);)on.lineIndent+=1,on.position+=1;for(;on.position<on.length-1;)be(on);return on.documents}function Kt(X,Nt,on){null!==Nt&&"object"==typeof Nt&&typeof on>"u"&&(on=Nt,Nt=null);var An=xt(X,on);if("function"!=typeof Nt)return An;for(var bn=0,Fn=An.length;bn<Fn;bn+=1)Nt(An[bn])}function Xt(X,Nt){var on=xt(X,Nt);if(0!==on.length){if(1===on.length)return on[0];throw new b("expected a single document in the stream, but found more")}}_.exports.loadAll=Kt,_.exports.load=Xt,_.exports.safeLoadAll=function cn(X,Nt,on){return"object"==typeof Nt&&null!==Nt&&typeof on>"u"&&(on=Nt,Nt=null),Kt(X,Nt,g.extend({schema:C},on))},_.exports.safeLoad=function vn(X,Nt){return Xt(X,g.extend({schema:C},Nt))}},50048:(_,k,c)=>{"use strict";var g=c(80997);function b(S,C,w,R,L){this.name=S,this.buffer=C,this.position=w,this.line=R,this.column=L}b.prototype.getSnippet=function(C,w){var R,L,F,N,B;if(!this.buffer)return null;for(C=C||4,w=w||75,R="",L=this.position;L>0&&-1==="\0\r\n\x85\u2028\u2029".indexOf(this.buffer.charAt(L-1));)if(this.position-(L-=1)>w/2-1){R=" ... ",L+=5;break}for(F="",N=this.position;N<this.buffer.length&&-1==="\0\r\n\x85\u2028\u2029".indexOf(this.buffer.charAt(N));)if((N+=1)-this.position>w/2-1){F=" ... ",N-=5;break}return B=this.buffer.slice(L,N),g.repeat(" ",C)+R+B+F+"\n"+g.repeat(" ",C+this.position-L+R.length)+"^"},b.prototype.toString=function(C){var w,R="";return this.name&&(R+='in "'+this.name+'" '),R+="at line "+(this.line+1)+", column "+(this.column+1),C||(w=this.getSnippet())&&(R+=":\n"+w),R},_.exports=b},70372:(_,k,c)=>{"use strict";var g=c(80997),b=c(30314),S=c(87647);function C(L,F,N){var B=[];return L.include.forEach(function(z){N=C(z,F,N)}),L[F].forEach(function(z){N.forEach(function(A,M){A.tag===z.tag&&A.kind===z.kind&&B.push(M)}),N.push(z)}),N.filter(function(z,A){return-1===B.indexOf(A)})}function R(L){this.include=L.include||[],this.implicit=L.implicit||[],this.explicit=L.explicit||[],this.implicit.forEach(function(F){if(F.loadKind&&"scalar"!==F.loadKind)throw new b("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=C(this,"implicit",[]),this.compiledExplicit=C(this,"explicit",[]),this.compiledTypeMap=function w(){var F,N,L={scalar:{},sequence:{},mapping:{},fallback:{}};function B(z){L[z.kind][z.tag]=L.fallback[z.tag]=z}for(F=0,N=arguments.length;F<N;F+=1)arguments[F].forEach(B);return L}(this.compiledImplicit,this.compiledExplicit)}R.DEFAULT=null,R.create=function(){var F,N;switch(arguments.length){case 1:F=R.DEFAULT,N=arguments[0];break;case 2:F=arguments[0],N=arguments[1];break;default:throw new b("Wrong number of arguments for Schema.create function")}if(F=g.toArray(F),N=g.toArray(N),!F.every(function(B){return B instanceof R}))throw new b("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!N.every(function(B){return B instanceof S}))throw new b("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new R({include:F,explicit:N})},_.exports=R},63192:(_,k,c)=>{"use strict";var g=c(70372);_.exports=new g({include:[c(27147)]})},67094:(_,k,c)=>{"use strict";var g=c(70372);_.exports=g.DEFAULT=new g({include:[c(33031)],explicit:[c(78771),c(70632),c(80716)]})},33031:(_,k,c)=>{"use strict";var g=c(70372);_.exports=new g({include:[c(63192)],implicit:[c(96934),c(89996)],explicit:[c(96486),c(37166),c(77711),c(8738)]})}
1,58746:(_,k,c)=>{"use strict";var g=c(70372);_.exports=new g({explicit:[c(33464),c(70048),c(53071)]})},27147:(_,k,c)=>{"use strict";var g=c(70372);_.exports=new g({include:[c(58746)],implicit:[c(9568),c(38911),c(87877),c(48615)]})},87647:(_,k,c)=>{"use strict";var g=c(30314),b=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],S=["scalar","sequence","mapping"];_.exports=function w(R,L){if(L=L||{},Object.keys(L).forEach(function(F){if(-1===b.indexOf(F))throw new g('Unknown option "'+F+'" is met in definition of "'+R+'" YAML type.')}),this.tag=R,this.kind=L.kind||null,this.resolve=L.resolve||function(){return!0},this.construct=L.construct||function(F){return F},this.instanceOf=L.instanceOf||null,this.predicate=L.predicate||null,this.represent=L.represent||null,this.defaultStyle=L.defaultStyle||null,this.styleAliases=function C(R){var L={};return null!==R&&Object.keys(R).forEach(function(F){R[F].forEach(function(N){L[String(N)]=F})}),L}(L.styleAliases||null),-1===S.indexOf(this.kind))throw new g('Unknown kind "'+this.kind+'" is specified for "'+R+'" YAML type.')}},96486:(_,k,c)=>{"use strict";var g;
1try{g=c(93172).lW}catch{}var S=c(87647),C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";_.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function w(N){if(null===N)return!1;var B,z,A=0,M=N.length,O=C;for(z=0;z<M;z++)if(!((B=O.indexOf(N.charAt(z)))>64)){if(B<0)return!1;A+=6}return A%8==0},construct:function R(N){var B,z,A=N.replace(/[\r\n=]/g,""),M=A.length,O=C,V=0,W=[];for(B=0;B<M;B++)B%4==0&&B&&(W.push(V>>16&255),W.push(V>>8&255),W.push(255&V)),V=V<<6|O.indexOf(A.charAt(B));return 0==(z=M%4*6)?(W.push(V>>16&255),W.push(V>>8&255),W.push(255&V)):18===z?(W.push(V>>10&255),W.push(V>>2&255)):12===z&&W.push(V>>4&255),g?g.from?g.from(W):new g(W):W},predicate:function F(N){return g&&g.isBuffer(N)},represent:function L(N){var A,M,B="",z=0,O=N.length,V=C;for(A=0;A<O;A++)A%3==0&&A&&(B+=V[z>>18&63],B+=V[z>>12&63],B+=V[z>>6&63],B+=V[63&z]),z=(z<<8)+N[A];return 0==(M=O%3)?(B+=V[z>>18&63],B+=V[z>>12&63],B+=V[z>>6&63],B+=V[63&z]):2===M?(B+=V[z>>10&63],B+=V[z>>4&63],B+=V[z<<2&63],B+=V[64]):1===M&&(B+=V[z>>2&63],B+=V[z<<4&63],B+=V[64],B+=V[64]),B}})},38911:(_,k,c)=>{"use strict";var g=c(87647);_.exports=new g("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function b(w){if(null===w)return!1;var R=w.length;return 4===R&&("true"===w||"True"===w||"TRUE"===w)||5===R&&("false"===w||"False"===w||"FALSE"===w)},construct:function S(w){return"true"===w||"True"===w||"TRUE"===w},predicate:function C(w){return"[object Boolean]"===Object.prototype.toString.call(w)},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},48615:(_,k,c)=>{"use strict";var g=c(80997),b=c(87647),S=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),R=/^[-+]?[0-9]+e/;_.exports=new b("tag:yaml.org,2002:float",{kind:"scalar",resolve:function C(N){return!(null===N||!S.test(N)||"_"===N[N.length-1])},construct:function w(N){var B,z,A,M;return z="-"===(B=N.replace(/_/g,"").toLowerCase())[0]?-1:1,M=[],"+-".indexOf(B[0])>=0&&(B=B.slice(1)),".inf"===B?1===z?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===B?NaN:B.indexOf(":")>=0?(B.split(":").forEach(function(O){M.unshift(parseFloat(O,10))}),B=0,A=1,M.forEach(function(O){B+=O*A,A*=60}),z*B):z*parseFloat(B,10)},predicate:function F(N){return"[object Number]"===Object.prototype.toString.call(N)&&(N%1!=0||g.isNegativeZero(N))},represent:function L(N,B){var z;if(isNaN(N))switch(B){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===N)switch(B){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===N)switch(B){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(g.isNegativeZero(N))return"-0.0";return z=N.toString(10),R.test(z)?z.replace("e",".e"):z},defaultStyle:"lowercase"})},87877:(_,k,c)=>{"use strict";var g=c(80997),b=c(87647);function S(N){return 48<=N&&N<=57||65<=N&&N<=70||97<=N&&N<=102}function C(N){return 48<=N&&N<=55}function w(N){return 48<=N&&N<=57}_.exports=new b("tag:yaml.org,2002:int",{kind:"scalar",resolve:function R(N){if(null===N)return!1;var M,B=N.length,z=0,A=!1;if(!B)return!1;if(("-"===(M=N[z])||"+"===M)&&(M=N[++z]),"0"===M){if(z+1===B)return!0;if("b"===(M=N[++z])){for(z++;z<B;z++)if("_"!==(M=N[z])){if("0"!==M&&"1"!==M)return!1;A=!0}return A&&"_"!==M}if("x"===M){for(z++;z<B;z++)if("_"!==(M=N[z])){if(!S(N.charCodeAt(z)))return!1;A=!0}return A&&"_"!==M}for(;z<B;z++)if("_"!==(M=N[z])){if(!C(N.charCodeAt(z)))return!1;A=!0}return A&&"_"!==M}if("_"===M)return!1;for(;z<B;z++)if("_"!==(M=N[z])){if(":"===M)break;if(!w(N.charCodeAt(z)))return!1;A=!0}return!(!A||"_"===M)&&(":"!==M||/^(:[0-5]?[0-9])+$/.test(N.slice(z)))},construct:function L(N){var A,M,B=N,z=1,O=[];return-1!==B.indexOf("_")&&(B=B.replace(/_/g,"")),("-"===(A=B[0])||"+"===A)&&("-"===A&&(z=-1),A=(B=B.slice(1))[0]),"0"===B?0:"0"===A?"b"===B[1]?z*parseInt(B.slice(2),2):"x"===B[1]?z*parseInt(B,16):z*parseInt(B,8):-1!==B.indexOf(":")?(B.split(":").forEach(function(V){O.unshift(parseInt(V,10))}),B=0,M=1,O.forEach(function(V){B+=V*M,M*=60}),z*B):z*parseInt(B,10)},predicate:function F(N){return"[object Number]"===Object.prototype.toString.call(N)&&N%1==0&&!g.isNegativeZero(N)},represent:{binary:function(N){return N>=0?"0b"+N.toString(2):"-0b"+N.toString(2).slice(1)},octal:function(N){return N>=0?"0"+N.toString(8):"-0"+N.toString(8).slice(1)}
1,decimal:function(N){return N.toString(10)},hexadecimal:function(N){return N>=0?"0x"+N.toString(16).toUpperCase():"-0x"+N.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},80716:(_,k,c)=>{"use strict";var g;try{g=c(37797)}catch{typeof window<"u"&&(g=window.esprima)}var S=c(87647);_.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function C(F){if(null===F)return!1;try{var B=g.parse("("+F+")",{range:!0});return!("Program"!==B.type||1!==B.body.length||"ExpressionStatement"!==B.body[0].type||"ArrowFunctionExpression"!==B.body[0].expression.type&&"FunctionExpression"!==B.body[0].expression.type)}catch{return!1}},construct:function w(F){var A,N="("+F+")",B=g.parse(N,{range:!0}),z=[];if("Program"!==B.type||1!==B.body.length||"ExpressionStatement"!==B.body[0].type||"ArrowFunctionExpression"!==B.body[0].expression.type&&"FunctionExpression"!==B.body[0].expression.type)throw new Error("Failed to resolve function");return B.body[0].expression.params.forEach(function(M){z.push(M.name)}),A=B.body[0].expression.body.range,new Function(z,"BlockStatement"===B.body[0].expression.body.type?N.slice(A[0]+1,A[1]-1):"return "+N.slice(A[0],A[1]))},predicate:function L(F){return"[object Function]"===Object.prototype.toString.call(F)},represent:function R(F){return F.toString()}})},70632:(_,k,c)=>{"use strict";var g=c(87647);_.exports=new g("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function b(R){if(null===R||0===R.length)return!1;var L=R,F=/\/([gim]*)$/.exec(R),N="";return!("/"===L[0]&&(F&&(N=F[1]),N.length>3||"/"!==L[L.length-N.length-1]))},construct:function S(R){var L=R,F=/\/([gim]*)$/.exec(R),N="";return"/"===L[0]&&(F&&(N=F[1]),L=L.slice(1,L.length-N.length-1)),new RegExp(L,N)},predicate:function w(R){return"[object RegExp]"===Object.prototype.toString.call(R)},represent:function C(R){var L="/"+R.source+"/";return R.global&&(L+="g"),R.multiline&&(L+="m"),R.ignoreCase&&(L+="i"),L}})},78771:(_,k,c)=>{"use strict";var g=c(87647);_.exports=new g("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function b(){return!0},construct:function S(){},predicate:function w(R){return typeof R>"u"},represent:function C(){return""}})},53071:(_,k,c)=>{"use strict";var g=c(87647);_.exports=new g("tag:yaml.org,2002:map",{kind:"mapping",construct:function(b){return null!==b?b:{}}})},89996:(_,k,c)=>{"use strict";var g=c(87647);_.exports=new g("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function b(S){return"<<"===S||null===S}})},9568:(_,k,c)=>{"use strict";var g=c(87647);_.exports=new g("tag:yaml.org,2002:null",{kind:"scalar",resolve:function b(w){if(null===w)return!0;var R=w.length;return 1===R&&"~"===w||4===R&&("null"===w||"Null"===w||"NULL"===w)},construct:function S(){return null},predicate:function C(w){return null===w},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},37166:(_,k,c)=>{"use strict";var g=c(87647),b=Object.prototype.hasOwnProperty,S=Object.prototype.toString;_.exports=new g("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function C(R){if(null===R)return!0;var F,N,B,z,A,L=[],M=R;for(F=0,N=M.length;F<N;F+=1){if(A=!1,"[object Object]"!==S.call(B=M[F]))return!1;for(z in B)if(b.call(B,z)){if(A)return!1;A=!0}if(!A)return!1;if(-1!==L.indexOf(z))return!1;L.push(z)}return!0},construct:function w(R){return null!==R?R:[]}})},77711:(_,k,c)=>{"use strict";var g=c(87647),b=Object.prototype.toString;_.exports=new g("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function S(w){if(null===w)return!0;var R,L,F,N,B,z=w;for(B=new Array(z.length),R=0,L=z.length;R<L;R+=1){if("[object Object]"!==b.call(F=z[R])||1!==(N=Object.keys(F)).length)return!1;B[R]=[N[0],F[N[0]]]}return!0},construct:function C(w){if(null===w)return[];var R,L,F,N,B,z=w;for(B=new Array(z.length),R=0,L=z.length;R<L;R+=1)F=z[R],N=Object.keys(F),B[R]=[N[0],F[N[0]]];return B}})},70048:(_,k,c)=>{"use strict";var g=c(87647);_.exports=new g("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(b){return null!==b?b:[]}})},8738:(_,k,c)=>{"use strict";var g=c(87647),b=Object.prototype.hasOwnProperty;_.exports=new g("tag:yaml.org,2002:set",{kind:"mapping",resolve:function S(w){if(null===w)return!0;var R,L=w;for(R in L)if(b.call(L,R)&&null!==L[R])return!1;return!0},construct:function C(w){return null!==w?w:{}}})},33464:(_,k,c)=>{"use strict";var g=c(87647);_.exports=new g("tag:yaml.org,2002:str",{kind:"scalar",construct:function(b){return null!==b?b:""}})},96934:(_,k,c)=>{"use strict";var g=c(87647),b=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");_.exports=new g("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function C(L){return null!==L&&(null!==b.exec(L)||null!==S.exec(L))},construct:function w(L){var F,N,B,z,A,M,O,te,V=0,W=null;if(null===(F=b.exec(L))&&(F=S.exec(L)),null===F)throw new Error("Date resolve error");
1if(N=+F[1],B=+F[2]-1,z=+F[3],!F[4])return new Date(Date.UTC(N,B,z));if(A=+F[4],M=+F[5],O=+F[6],F[7]){for(V=F[7].slice(0,3);V.length<3;)V+="0";V=+V}return F[9]&&(W=6e4*(60*+F[10]+ +(F[11]||0)),"-"===F[9]&&(W=-W)),te=new Date(Date.UTC(N,B,z,A,M,O,V)),W&&te.setTime(te.getTime()-W),te},instanceOf:Date,represent:function R(L){return L.toISOString()}})},63082:_=>{var b=/^\s+|\s+$/g,S=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,w=/^0o[0-7]+$/i,R=parseInt,L="object"==typeof global&&global&&global.Object===Object&&global,F="object"==typeof self&&self&&self.Object===Object&&self,N=L||F||Function("return this")(),z=Object.prototype.toString,A=Math.max,M=Math.min,O=function(){return N.Date.now()};function W(ae){var re=typeof ae;return!!ae&&("object"==re||"function"==re)}function te(ae){if("number"==typeof ae)return ae;if(function J(ae){return"symbol"==typeof ae||function q(ae){return!!ae&&"object"==typeof ae}(ae)&&"[object Symbol]"==z.call(ae)}(ae))return NaN;if(W(ae)){var re="function"==typeof ae.valueOf?ae.valueOf():ae;ae=W(re)?re+"":re}if("string"!=typeof ae)return 0===ae?ae:+ae;ae=ae.replace(b,"");var oe=C.test(ae);return oe||w.test(ae)?R(ae.slice(2),oe?2:8):S.test(ae)?NaN:+ae}_.exports=function V(ae,re,oe){var se,le,Y,_e,Qe,We,st=0,Ve=!1,at=!1,vt=!0;if("function"!=typeof ae)throw new TypeError("Expected a function");function Sn(jt){var kn=se,Bn=le;return se=le=void 0,st=jt,_e=ae.apply(Bn,kn)}function Ge(jt){return st=jt,Qe=setTimeout(ln,re),Ve?Sn(jt):_e}function wt(jt){var kn=jt-We;return void 0===We||kn>=re||kn<0||at&&jt-st>=Y}function ln(){var jt=O();if(wt(jt))return Yt(jt);Qe=setTimeout(ln,function Wt(jt){var Jn=re-(jt-We);return at?M(Jn,Y-(jt-st)):Jn}(jt))}function Yt(jt){return Qe=void 0,vt&&se?Sn(jt):(se=le=void 0,_e)}function nt(){var jt=O(),kn=wt(jt);if(se=arguments,le=this,We=jt,kn){if(void 0===Qe)return Ge(We);if(at)return Qe=setTimeout(ln,re),Sn(We)}return void 0===Qe&&(Qe=setTimeout(ln,re)),_e}return re=te(re)||0,W(oe)&&(Ve=!!oe.leading,Y=(at="maxWait"in oe)?A(te(oe.maxWait)||0,re):Y,vt="trailing"in oe?!!oe.trailing:vt),nt.cancel=function tn(){void 0!==Qe&&clearTimeout(Qe),st=0,se=We=le=Qe=void 0},nt.flush=function Gt(){return void 0===Qe?_e:Yt(O())},nt}},37244:(_,k,c)=>{var S=c(53436)(c(12119),"DataView");_.exports=S},54994:(_,k,c)=>{var g=c(64312),b=c(46421),S=c(15764),C=c(18685),w=c(26676);function R(L){var F=-1,N=null==L?0:L.length;for(this.clear();++F<N;){var B=L[F];this.set(B[0],B[1])}}R.prototype.clear=g,R.prototype.delete=b,R.prototype.get=S,R.prototype.has=C,R.prototype.set=w,_.exports=R},9215:(_,k,c)=>{var g=c(41840),b=c(34378),S=c(54981),C=c(67343),w=c(98895);function R(L){var F=-1,N=null==L?0:L.length;for(this.clear();++F<N;){var B=L[F];this.set(B[0],B[1])}}R.prototype.clear=g,R.prototype.delete=b,R.prototype.get=S,R.prototype.has=C,R.prototype.set=w,_.exports=R},51501:(_,k,c)=>{var S=c(53436)(c(12119),"Map");_.exports=S},99850:(_,k,c)=>{var g=c(10638),b=c(11184),S=c(70866),C=c(43771),w=c(51772);function R(L){var F=-1,N=null==L?0:L.length;for(this.clear();++F<N;){var B=L[F];this.set(B[0],B[1])}}R.prototype.clear=g,R.prototype.delete=b,R.prototype.get=S,R.prototype.has=C,R.prototype.set=w,_.exports=R},44267:(_,k,c)=>{var S=c(53436)(c(12119),"Promise");_.exports=S},46323:(_,k,c)=>{var S=c(53436)(c(12119),"Set");_.exports=S},58849:(_,k,c)=>{var g=c(99850),b=c(4600),S=c(31387);function C(w){var R=-1,L=null==w?0:w.length;for(this.__data__=new g;++R<L;)this.add(w[R])}C.prototype.add=C.prototype.push=b,C.prototype.has=S,_.exports=C},2858:(_,k,c)=>{var g=c(9215),b=c(13720),S=c(64410),C=c(45576),w=c(22247),R=c(41585);function L(F){var N=this.__data__=new g(F);this.size=N.size}L.prototype.clear=b,L.prototype.delete=S,L.prototype.get=C,L.prototype.has=w,L.prototype.set=R,_.exports=L},60443:(_,k,c)=>{var g=c(12119);_.exports=g.Symbol},73457:(_,k,c)=>{var g=c(12119);_.exports=g.Uint8Array},24243:(_,k,c)=>{var S=c(53436)(c(12119),"WeakMap");_.exports=S},26999:_=>{_.exports=function k(c,g,b){switch(b.length){case 0:return c.call(g);case 1:return c.call(g,b[0]);case 2:return c.call(g,b[0],b[1]);case 3:return c.call(g,b[0],b[1],b[2])}return c.apply(g,b)}},96837:_=>{_.exports=function k(c,g){for(var b=-1,S=null==c?0:c.length;++b<S&&!1!==g(c[b],b,c););return c}},69779:_=>{_.exports=function k(c,g){for(var b=-1,S=null==c?0:c.length,C=0,w=[];++b<S;){var R=c[b];g(R,b,c)&&(w[C++]=R)}return w}},72271:(_,k,c)=>{var g=c(85334),b=c(77151),S=c(21503),C=c(80891),w=c(58442),R=c(48159),F=Object.prototype.hasOwnProperty;_.exports=function N(B,z){var A=S(B),M=!A&&b(B),O=!A&&!M&&C(B),V=!A&&!M&&!O&&R(B),W=A||M||O||V,q=W?g(B.length,String):[],J=q.length;for(var te in B)(z||F.call(B,te))&&(!W||!("length"==te||O&&("offset"==te||"parent"==te)||V&&("buffer"==te||"byteLength"==te||"byteOffset"==te)||w(te,J)))&&q.push(te);return q}},84633:_=>{_.exports=function k(c,g){for(var b=-1,S=null==c?0:c.length,C=Array(S);++b<S;)C[b]=g(c[b],b,c);return C}},85059:_=>{_.exports=function k(c,g){for(var b=-1,S=g.length,C=c.length;++b<S;)c[C+b]=g[b];return c}},8745:_=>{_.exports=function k(c,g,b,S){var C=-1,w=null==c?0:c.length;for(S&&w&&(b=c[++C]);++C<w;)b=g(b,c[C],C,c);return b}},79503:_=>{_.exports=function k(c,g){for(var b=-1,S=null==c?0:c.length;++b<S;)if(g(c[b],b,c))return!0;return!1}},26422:_=>{_.exports=function k(c){return c.split("")}},80069:_=>{var k=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;_.exports=function c(g){return g.match(k)||[]}},49276:(_,k,c)=>{var g=c(85683),b=c(20217);_.exports=function S(C,w,R){(void 0!==R&&!b(C[w],R)||void 0===R&&!(w in C))&&g(C,w,R)}},89719:(_,k,c)=>{var g=c(85683),b=c(20217),C=Object.prototype.hasOwnProperty;_.exports=function w(R,L,F){var N=R[L];(!C.call(R,L)||!b(N,F)||void 0===F&&!(L in R))&&g(R,L,F)}},43503:(_,k,c)=>{var g=c(20217);_.exports=function b(S,C){for(var w=S.length;w--;)if(g(S[w][0],C))return w;return-1}},94121:(_,k,c)=>{var g=c(31989),b=c(118);_.exports=function S(C,w){return C&&g(w,b(w),C)}},99287:(_,k,c)=>{var g=c(31989),b=c(16555);_.exports=function S(C,w){return C&&g(w,b(w),C)}},85683:(_,k,c)=>{var g=c(56713);_.exports=function b(S,C,w){"__proto__"==C&&g?g(S,C,{configurable:!0,enumerable:!0,value:w,writable:!0}):S[C]=w}},44462:(_,k,c)=>{var g=c(2858),b=c(96837),S=c(89719),C=c(94121),w=c(99287),R=c(19292),L=c(99454),F=c(64093),N=c(59905),B=c(47597),z=c(6967),A=c(28794),M=c(76782),O=c(37878),V=c(4264),W=c(21503),q=c(80891),J=c(13222),te=c(25940),ae=c(90799),re=c(118),oe=c(16555),_e="[object Arguments]",at="[object Function]",Wt="[object Object]",Hr={};Hr[_e]=Hr["[object Array]"]=Hr["[object ArrayBuffer]"]=Hr["[object DataView]"]=Hr["[object Boolean]"]=Hr["[object Date]"]=Hr["[object Float32Array]"]=Hr["[object Float64Array
1]"]=Hr["[object Int8Array]"]=Hr["[object Int16Array]"]=Hr["[object Int32Array]"]=Hr["[object Map]"]=Hr["[object Number]"]=Hr[Wt]=Hr["[object RegExp]"]=Hr["[object Set]"]=Hr["[object String]"]=Hr["[object Symbol]"]=Hr["[object Uint8Array]"]=Hr["[object Uint8ClampedArray]"]=Hr["[object Uint16Array]"]=Hr["[object Uint32Array]"]=!0,Hr["[object Error]"]=Hr[at]=Hr["[object WeakMap]"]=!1,_.exports=function ft(pe,be,xt,Kt,Xt,cn){var vn,X=1&be,Nt=2&be,on=4&be;if(xt&&(vn=Xt?xt(pe,Kt,Xt,cn):xt(pe)),void 0!==vn)return vn;if(!te(pe))return pe;var An=W(pe);if(An){if(vn=M(pe),!X)return L(pe,vn)}else{var bn=A(pe),Fn=bn==at||"[object GeneratorFunction]"==bn;if(q(pe))return R(pe,X);if(bn==Wt||bn==_e||Fn&&!Xt){if(vn=Nt||Fn?{}:V(pe),!X)return Nt?N(pe,w(vn,pe)):F(pe,C(vn,pe))}else{if(!Hr[bn])return Xt?pe:{};vn=O(pe,bn,X)}}cn||(cn=new g);var Oe=cn.get(pe);if(Oe)return Oe;cn.set(pe,vn),ae(pe)?pe.forEach(function(rt){vn.add(ft(rt,be,xt,rt,pe,cn))}):J(pe)&&pe.forEach(function(rt,ht){vn.set(ht,ft(rt,be,xt,ht,pe,cn))});var Ht=An?void 0:(on?Nt?z:B:Nt?oe:re)(pe);return b(Ht||pe,function(rt,ht){Ht&&(rt=pe[ht=rt]),S(vn,ht,ft(rt,be,xt,ht,pe,cn))}),vn}},78858:(_,k,c)=>{var g=c(25940),b=Object.create,S=function(){function C(){}return function(w){if(!g(w))return{};if(b)return b(w);C.prototype=w;var R=new C;return C.prototype=void 0,R}}();_.exports=S},43132:(_,k,c)=>{var g=c(45184),S=c(16539)(g);_.exports=S},65317:_=>{_.exports=function k(c,g,b,S){for(var C=c.length,w=b+(S?1:-1);S?w--:++w<C;)if(g(c[w],w,c))return w;return-1}},50686:(_,k,c)=>{var g=c(85059),b=c(75039);_.exports=function S(C,w,R,L,F){var N=-1,B=C.length;for(R||(R=b),F||(F=[]);++N<B;){var z=C[N];w>0&&R(z)?w>1?S(z,w-1,R,L,F):g(F,z):L||(F[F.length]=z)}return F}},30755:(_,k,c)=>{var b=c(40456)();_.exports=b},45184:(_,k,c)=>{var g=c(30755),b=c(118);_.exports=function S(C,w){return C&&g(C,w,b)}},15456:(_,k,c)=>{var g=c(65456),b=c(68533);_.exports=function S(C,w){for(var R=0,L=(w=g(w,C)).length;null!=C&&R<L;)C=C[b(w[R++])];return R&&R==L?C:void 0}},38247:(_,k,c)=>{var g=c(85059),b=c(21503);_.exports=function S(C,w,R){var L=w(C);return b(C)?L:g(L,R(C))}},93337:(_,k,c)=>{var g=c(60443),b=c(21318),S=c(92902),R=g?g.toStringTag:void 0;_.exports=function L(F){return null==F?void 0===F?"[object Undefined]":"[object Null]":R&&R in Object(F)?b(F):S(F)}},69989:_=>{_.exports=function k(c,g){return null!=c&&g in Object(c)}},60186:(_,k,c)=>{var g=c(93337),b=c(72671);_.exports=function C(w){return b(w)&&"[object Arguments]"==g(w)}},85740:(_,k,c)=>{var g=c(58325),b=c(72671);_.exports=function S(C,w,R,L,F){return C===w||(null==C||null==w||!b(C)&&!b(w)?C!=C&&w!=w:g(C,w,R,L,S,F))}},58325:(_,k,c)=>{var g=c(2858),b=c(63914),S=c(78583),C=c(32286),w=c(28794),R=c(21503),L=c(80891),F=c(48159),B="[object Arguments]",z="[object Array]",A="[object Object]",O=Object.prototype.hasOwnProperty;_.exports=function V(W,q,J,te,ae,re){var oe=R(W),se=R(q),le=oe?z:w(W),Y=se?z:w(q),_e=(le=le==B?A:le)==A,Qe=(Y=Y==B?A:Y)==A,We=le==Y;if(We&&L(W)){if(!L(q))return!1;oe=!0,_e=!1}if(We&&!_e)return re||(re=new g),oe||F(W)?b(W,q,J,te,ae,re):S(W,q,le,J,te,ae,re);if(!(1&J)){var st=_e&&O.call(W,"__wrapped__"),Ve=Qe&&O.call(q,"__wrapped__");
1if(st||Ve){var at=st?W.value():W,vt=Ve?q.value():q;return re||(re=new g),ae(at,vt,J,te,re)}}return!!We&&(re||(re=new g),C(W,q,J,te,ae,re))}},97021:(_,k,c)=>{var g=c(28794),b=c(72671);_.exports=function C(w){return b(w)&&"[object Map]"==g(w)}},40431:(_,k,c)=>{var g=c(2858),b=c(85740);_.exports=function w(R,L,F,N){var B=F.length,z=B,A=!N;if(null==R)return!z;for(R=Object(R);B--;){var M=F[B];if(A&&M[2]?M[1]!==R[M[0]]:!(M[0]in R))return!1}for(;++B<z;){var O=(M=F[B])[0],V=R[O],W=M[1];if(A&&M[2]){if(void 0===V&&!(O in R))return!1}else{var q=new g;if(N)var J=N(V,W,O,R,L,q);if(!(void 0===J?b(W,V,3,N,q):J))return!1}}return!0}},37304:(_,k,c)=>{var g=c(75946),b=c(91943),S=c(25940),C=c(52827),R=/^\[object .+?Constructor\]$/,z=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");_.exports=function A(M){return!(!S(M)||b(M))&&(g(M)?z:R).test(C(M))}},771:(_,k,c)=>{var g=c(28794),b=c(72671);_.exports=function C(w){return b(w)&&"[object Set]"==g(w)}},1083:(_,k,c)=>{var g=c(93337),b=c(96231),S=c(72671),We={};We["[object Float32Array]"]=We["[object Float64Array]"]=We["[object Int8Array]"]=We["[object Int16Array]"]=We["[object Int32Array]"]=We["[object Uint8Array]"]=We["[object Uint8ClampedArray]"]=We["[object Uint16Array]"]=We["[object Uint32Array]"]=!0,We["[object Arguments]"]=We["[object Array]"]=We["[object ArrayBuffer]"]=We["[object Boolean]"]=We["[object DataView]"]=We["[object Date]"]=We["[object Error]"]=We["[object Function]"]=We["[object Map]"]=We["[object Number]"]=We["[object Object]"]=We["[object RegExp]"]=We["[object Set]"]=We["[object String]"]=We["[object WeakMap]"]=!1,_.exports=function st(Ve){return S(Ve)&&b(Ve.length)&&!!We[g(Ve)]}},96517:(_,k,c)=>{var g=c(98133),b=c(9458),S=c(32608),C=c(21503),w=c(87495);_.exports=function R(L){return"function"==typeof L?L:null==L?S:"object"==typeof L?C(L)?b(L[0],L[1]):g(L):w(L)}},81172:(_,k,c)=>{var g=c(45488),b=c(85491),C=Object.prototype.hasOwnProperty;_.exports=function w(R){if(!g(R))return b(R);var L=[];for(var F in Object(R))C.call(R,F)&&"constructor"!=F&&L.push(F);return L}},92809:(_,k,c)=>{var g=c(25940),b=c(45488),S=c(32158),w=Object.prototype.hasOwnProperty;_.exports=function R(L){if(!g(L))return S(L);var F=b(L),N=[];for(var B in L)"constructor"==B&&(F||!w.call(L,B))||N.push(B);return N}},98133:(_,k,c)=>{var g=c(40431),b=c(22379),S=c(642);_.exports=function C(w){var R=b(w);return 1==R.length&&R[0][2]?S(R[0][0],R[0][1]):function(L){return L===w||g(L,w,R)}}},9458:(_,k,c)=>{var g=c(85740),b=c(8817),S=c(11172),C=c(45352),w=c(22442),R=c(642),L=c(68533);_.exports=function B(z,A){return C(z)&&w(A)?R(L(z),A):function(M){var O=b(M,z);return void 0===O&&O===A?S(M,z):g(A,O,3)}}},73842:(_,k,c)=>{var g=c(2858),b=c(49276),S=c(30755),C=c(33675),w=c(25940),R=c(16555),L=c(99351);_.exports=function F(N,B,z,A,M){N!==B&&S(B,function(O,V){if(M||(M=new g),w(O))C(N,B,V,z,F,A,M);else{var W=A?A(L(N,V),O,V+"",N,B,M):void 0;void 0===W&&(W=O),b(N,V,W)}},R)}},33675:(_,k,c)=>{var g=c(49276),b=c(19292),S=c(65208),C=c(99454),w=c(4264),R=c(77151),L=c(21503),F=c(21330),N=c(80891),B=c(75946),z=c(25940),A=c(97614),M=c(48159),O=c(99351),V=c(8067);_.exports=function W(q,J,te,ae,re,oe,se){var le=O(q,te),Y=O(J,te),_e=se.get(Y);if(_e)g(q,te,_e);else{var Qe=oe?oe(le,Y,te+"",q,J,se):void 0,We=void 0===Qe;if(We){var st=L(Y),Ve=!st&&N(Y),at=!st&&!Ve&&M(Y);Qe=Y,st||Ve||at?L(le)?Qe=le:F(le)?Qe=C(le):Ve?(We=!1,Qe=b(Y,!0)):at?(We=!1,Qe=S(Y,!0)):Qe=[]:A(Y)||R(Y)?(Qe=le,R(le)?Qe=V(le):(!z(le)||B(le))&&(Qe=w(Y))):We=!1}We&&(se.set(Y,Qe),re(Qe,Y,ae,oe,se),se.delete(Y)),g(q,te,Qe)}}},11847:_=>{_.exports=function k(c){return function(g){return g?.[c]}}},39222:(_,k,c)=>{var g=c(15456);_.exports=function b(S){return function(C){return g(C,S)}}},82724:_=>{_.exports=function k(c){return function(g){return c?.[g]}}},13570:_=>{_.exports=function k(c,g,b,S,C){return C(c,function(w,R,L){b=S?(S=!1,w):g(b,w,R,L)}),b}},23269:(_,k,c)=>{var g=c(32608),b=c(53983),S=c(72185);_.exports=function C(w,R){return S(b(w,R,g),w+"")}},55963:(_,k,c)=>{var g=c(89719),b=c(65456),S=c(58442),C=c(25940),w=c(68533);_.exports=function R(L,F,N,B){if(!C(L))return L;for(var z=-1,A=(F=b(F,L)).length,M=A-1,O=L;null!=O&&++z<A;){var V=w(F[z]),W=N;if("__proto__"===V||"constructor"===V||"prototype"===V)return L;if(z!=M){var q=O[V];void 0===(W=B?B(q,V,O):void 0)&&(W=C(q)?q:S(F[z+1])?[]:{})}g(O,V,W),O=O[V]}return L}},69510:(_,k,c)=>
1{var g=c(76684),b=c(56713),S=c(32608);_.exports=b?function(w,R){return b(w,"toString",{configurable:!0,enumerable:!1,value:g(R),writable:!0})}:S},34363:_=>{_.exports=function k(c,g,b){var S=-1,C=c.length;g<0&&(g=-g>C?0:C+g),(b=b>C?C:b)<0&&(b+=C),C=g>b?0:b-g>>>0,g>>>=0;for(var w=Array(C);++S<C;)w[S]=c[S+g];return w}},52289:(_,k,c)=>{var g=c(43132);_.exports=function b(S,C){var w;return g(S,function(R,L,F){return!(w=C(R,L,F))}),!!w}},85334:_=>{_.exports=function k(c,g){for(var b=-1,S=Array(c);++b<c;)S[b]=g(b);return S}},93935:(_,k,c)=>{var g=c(60443),b=c(84633),S=c(21503),C=c(44129),R=g?g.prototype:void 0,L=R?R.toString:void 0;_.exports=function F(N){if("string"==typeof N)return N;if(S(N))return b(N,F)+"";if(C(N))return L?L.call(N):"";var B=N+"";return"0"==B&&1/N==-1/0?"-0":B}},83348:(_,k,c)=>{var g=c(42760),b=/^\s+/;_.exports=function S(C){return C&&C.slice(0,g(C)+1).replace(b,"")}},85647:_=>{_.exports=function k(c){return function(g){return c(g)}}},86894:(_,k,c)=>{var g=c(65456),b=c(25809),S=c(64097),C=c(68533);_.exports=function w(R,L){return L=g(L,R),null==(R=S(R,L))||delete R[C(b(L))]}},38645:_=>{_.exports=function k(c,g,b){for(var S=-1,C=c.length,w=g.length,R={};++S<C;)b(R,c[S],S<w?g[S]:void 0);return R}},25972:_=>{_.exports=function k(c,g){return c.has(g)}},65456:(_,k,c)=>{var g=c(21503),b=c(45352),S=c(32855),C=c(73943);_.exports=function w(R,L){return g(R)?R:b(R,L)?[R]:S(C(R))}},62329:(_,k,c)=>{var g=c(34363);_.exports=function b(S,C,w){var R=S.length;return w=void 0===w?R:w,!C&&w>=R?S:g(S,C,w)}},43362:(_,k,c)=>{var g=c(73457);_.exports=function b(S){var C=new S.constructor(S.byteLength);return new g(C).set(new g(S)),C}},19292:(_,k,c)=>{_=c.nmd(_);var g=c(12119),b=k&&!k.nodeType&&k,S=b&&_&&!_.nodeType&&_,w=S&&S.exports===b?g.Buffer:void 0,R=w?w.allocUnsafe:void 0;_.exports=function L(F,N){if(N)return F.slice();var B=F.length,z=R?R(B):new F.constructor(B);return F.copy(z),z}},17e3:(_,k,c)=>{var g=c(43362);_.exports=function b(S,C){var w=C?g(S.buffer):S.buffer;return new S.constructor(w,S.byteOffset,S.byteLength)}},74098:_=>{var k=/\w*$/;_.exports=function c(g){var b=new g.constructor(g.source,k.exec(g));return b.lastIndex=g.lastIndex,b}},62533:(_,k,c)=>{var g=c(60443),b=g?g.prototype:void 0,S=b?b.valueOf:void 0;_.exports=function C(w){return S?Object(S.call(w)):{}}},65208:(_,k,c)=>{var g=c(43362);_.exports=function b(S,C){var w=C?g(S.buffer):S.buffer;return new S.constructor(w,S.byteOffset,S.length)}},99454:_=>{_.exports=function k(c,g){var b=-1,S=c.length;for(g||(g=Array(S));++b<S;)g[b]=c[b];return g}},31989:(_,k,c)=>{var g=c(89719),b=c(85683);_.exports=function S(C,w,R,L){var F=!R;R||(R={});for(var N=-1,B=w.length;++N<B;){var z=w[N],A=L?L(R[z],C[z],z,R,C):void 0;void 0===A&&(A=C[z]),F?b(R,z,A):g(R,z,A)}return R}},64093:(_,k,c)=>{var g=c(31989),b=c(39383);_.exports=function S(C,w){return g(C,b(C),w)}},59905:(_,k,c)=>{var g=c(31989),b=c(53051);_.exports=function S(C,w){return g(C,b(C),w)}},24610:(_,k,c)=>{var g=c(12119);_.exports=g["__core-js_shared__"]},84944:(_,k,c)=>{var g=c(23269),b=c(93342);_.exports=function S(C){return g(function(w,R){var L=-1,F=R.length,N=F>1?R[F-1]:void 0,B=F>2?R[2]:void 0;for(N=C.length>3&&"function"==typeof N?(F--,N):void 0,B&&b(R[0],R[1],B)&&(N=F<3?void 0:N,F=1),w=Object(w);++L<F;){var z=R[L];z&&C(w,z,L,N)}return w})}},16539:(_,k,c)=>{var g=c(56507);_.exports=function b(S,C){return function(w,R){if(null==w)return w;if(!g(w))return S(w,R);for(var L=w.length,F=C?L:-1,N=Object(w);(C?F--:++F<L)&&!1!==R(N[F],F,N););return w}}},40456:_=>{_.exports=function k(c){return function(g,b,S){for(var C=-1,w=Object(g),R=S(g),L=R.length;L--;){var F=R[c?L:++C];if(!1===b(w[F],F,w))break}return g}}},36584:(_,k,c)=>{var g=c(62329),b=c(77609),S=c(66007),C=c(73943);_.exports=function w(R){return function(L){L=C(L);var F=b(L)?S(L):void 0,N=F?F[0]:L.charAt(0),B=F?g(F,1).join(""):L.slice(1);return N[R]()+B}}},81491:(_,k,c)=>{var g=c(8745),b=c(74707),S=c(77188),w=RegExp("['\u2019]","g");_.exports=function R(L){return function(F){return g(S(b(F).replace(w,"")),L,"")}}},24653:(_,k,c)=>{var g=c(96517),b=c(56507),S=c(118);_.exports=function C(w){return function(R,L,F){var N=Object(R);if(!b(R)){var B=g(L,3);R=S(R),L=function(A){return B(N[A],A,N)}}var z=w(R,L,F);return z>-1?N[B?R[z]:z]:void 0}}},66110:(_,k,c)=>{var g=c(97614);_.exports=function b(S){return g(S)?void 0:S}},29148:(_,k,c)=>{var S=c(82724)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015
1a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});_.exports=S},56713:(_,k,c)=>{var g=c(53436),b=function(){try{var S=g(Object,"defineProperty");return S({},"",{}),S}catch{}}();_.exports=b},63914:(_,k,c)=>{var g=c(58849),b=c(79503),S=c(25972);_.exports=function R(L,F,N,B,z,A){var M=1&N,O=L.length,V=F.length;if(O!=V&&!(M&&V>O))return!1;var W=A.get(L),q=A.get(F);if(W&&q)return W==F&&q==L;var J=-1,te=!0,ae=2&N?new g:void 0;for(A.set(L,F),A.set(F,L);++J<O;){var re=L[J],oe=F[J];if(B)var se=M?B(oe,re,J,F,L,A):B(re,oe,J,L,F,A);if(void 0!==se){if(se)continue;te=!1;break}if(ae){if(!b(F,function(le,Y){if(!S(ae,Y)&&(re===le||z(re,le,N,B,A)))return ae.push(Y)})){te=!1;break}}else if(re!==oe&&!z(re,oe,N,B,A)){te=!1;break}}return A.delete(L),A.delete(F),te}},78583:(_,k,c)=>{var g=c(60443),b=c(73457),S=c(20217),C=c(63914),w=c(83205),R=c(24174),ae=g?g.prototype:void 0,re=ae?ae.valueOf:void 0;_.exports=function oe(se,le,Y,_e,Qe,We,st){switch(Y){case"[object DataView]":if(se.byteLength!=le.byteLength||se.byteOffset!=le.byteOffset)return!1;se=se.buffer,le=le.buffer;case"[object ArrayBuffer]":return!(se.byteLength!=le.byteLength||!We(new b(se),new b(le)));case"[object Boolean]":case"[object Date]":case"[object Number]":return S(+se,+le);case"[object Error]":return se.name==le.name&&se.message==le.message;case"[object RegExp]":case"[object String]":return se==le+"";case"[object Map]":var Ve=w;case"[object Set]":if(Ve||(Ve=R),se.size!=le.size&&!(1&_e))return!1;var vt=st.get(se);if(vt)return vt==le;_e|=2,st.set(se,le);var Sn=C(Ve(se),Ve(le),_e,Qe,We,st);return st.delete(se),Sn;case"[object Symbol]":if(re)return re.call(se)==re.call(le)}return!1}},32286:(_,k,c)=>{var g=c(47597),C=Object.prototype.hasOwnProperty;_.exports=function w(R,L,F,N,B,z){var A=1&F,M=g(R),O=M.length;if(O!=g(L).length&&!A)return!1;for(var q=O;q--;){var J=M[q];if(!(A?J in L:C.call(L,J)))return!1}var te=z.get(R),ae=z.get(L);if(te&&ae)return te==L&&ae==R;var re=!0;z.set(R,L),z.set(L,R);for(var oe=A;++q<O;){var se=R[J=M[q]],le=L[J];if(N)var Y=A?N(le,se,J,L,R,z):N(se,le,J,R,L,z);if(!(void 0===Y?se===le||B(se,le,F,N,z):Y)){re=!1;break}oe||(oe="constructor"==J)}if(re&&!oe){var _e=R.constructor,Qe=L.constructor;_e!=Qe&&"constructor"in R&&"constructor"in L&&!("function"==typeof _e&&_e instanceof _e&&"function"==typeof Qe&&Qe instanceof Qe)&&(re=!1)}return z.delete(R),z.delete(L),re}},3975:(_,k,c)=>{var g=c(22274),b=c(53983),S=c(72185);_.exports=function C(w){return S(b(w,void 0,g),w+"")}},79122:_=>{var k="object"==typeof global&&global&&global.Object===Object&&global;_.exports=k},47597:(_,k,c)=>{var g=c(38247),b=c(39383),S=c(118);_.exports=function C(w){return g(w,S,b)}},6967:(_,k,c)=>{var g=c(38247),b=c(53051),S=c(16555);_.exports=function C(w){return g(w,S,b)}},54537:(_,k,c)=>{var g=c(23819);_.exports=function b(S,C){var w=S.__data__;return g(C)?w["string"==typeof C?"string":"hash"]:w.map}},22379:(_,k,c)=>{var g=c(22442),b=c(118);_.exports=function S(C){for(var w=b(C),R=w.length;R--;){var L=w[R],F=C[L];w[R]=[L,F,g(F)]}return w}},53436:(_,k,c)=>{var g=c(37304),b=c(51990);_.exports=function S(C,w){var R=b(C,w);return g(R)?R:void 0}},29519:(_,k,c)=>{var b=c(69385)(Object.getPrototypeOf,Object);_.exports=b},21318:(_,k,c)=>{var g=c(60443),b=Object.prototype,S=b.hasOwnProperty,C=b.toString,w=g?g.toStringTag:void 0;_.exports=function R(L){var F=S.call(L,w),N=L[w];try{L[w]=void 0;var B=!0}catch{}var z=C.call(L);return B&&(F?L[w]=N:delete L[w]),z}},39383:(_,k,c)=>{var g=c(69779),b=c(49975),C=Object.prototype.propertyIsEnumerable,w=Object.getOwnPropertySymbols;_.exports=w?function(L){return null==L?[]:(L=Object(L),g(w(L),function(F){return C.call(L,F)}))}:b},53051:(_,k,c)=>{var g=c(85059),b=c(29519),S=c(39383),C=c(49975);_.exports=Object.getOwnPropertySymbols?function(L){for(var F=[];L;)g(F,S(L)),L=b(L);return F}:C},28794:(_,k,c)=>
1{var g=c(37244),b=c(51501),S=c(44267),C=c(46323),w=c(24243),R=c(93337),L=c(52827),F="[object Map]",B="[object Promise]",z="[object Set]",A="[object WeakMap]",M="[object DataView]",O=L(g),V=L(b),W=L(S),q=L(C),J=L(w),te=R;(g&&te(new g(new ArrayBuffer(1)))!=M||b&&te(new b)!=F||S&&te(S.resolve())!=B||C&&te(new C)!=z||w&&te(new w)!=A)&&(te=function(ae){var re=R(ae),oe="[object Object]"==re?ae.constructor:void 0,se=oe?L(oe):"";if(se)switch(se){case O:return M;case V:return F;case W:return B;case q:return z;case J:return A}return re}),_.exports=te},51990:_=>{_.exports=function k(c,g){return c?.[g]}},47283:(_,k,c)=>{var g=c(65456),b=c(77151),S=c(21503),C=c(58442),w=c(96231),R=c(68533);_.exports=function L(F,N,B){for(var z=-1,A=(N=g(N,F)).length,M=!1;++z<A;){var O=R(N[z]);if(!(M=null!=F&&B(F,O)))break;F=F[O]}return M||++z!=A?M:!!(A=null==F?0:F.length)&&w(A)&&C(O,A)&&(S(F)||b(F))}},77609:_=>{var R=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");_.exports=function L(F){return R.test(F)}},19062:_=>{var k=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;_.exports=function c(g){return k.test(g)}},64312:(_,k,c)=>{var g=c(60862);_.exports=function b(){this.__data__=g?g(null):{},this.size=0}},46421:_=>{_.exports=function k(c){var g=this.has(c)&&delete this.__data__[c];return this.size-=g?1:0,g}},15764:(_,k,c)=>{var g=c(60862),C=Object.prototype.hasOwnProperty;_.exports=function w(R){var L=this.__data__;if(g){var F=L[R];return"__lodash_hash_undefined__"===F?void 0:F}return C.call(L,R)?L[R]:void 0}},18685:(_,k,c)=>{var g=c(60862),S=Object.prototype.hasOwnProperty;_.exports=function C(w){var R=this.__data__;return g?void 0!==R[w]:S.call(R,w)}},26676:(_,k,c)=>{var g=c(60862);_.exports=function S(C,w){var R=this.__data__;return this.size+=this.has(C)?0:1,R[C]=g&&void 0===w?"__lodash_hash_undefined__":w,this}},76782:_=>{var c=Object.prototype.hasOwnProperty;_.exports=function g(b){var S=b.length,C=new b.constructor(S);return S&&"string"==typeof b[0]&&c.call(b,"index")&&(C.index=b.index,C.input=b.input),C}},37878:(_,k,c)=>{var g=c(43362),b=c(17e3),S=c(74098),C=c(62533),w=c(65208);_.exports=function Y(_e,Qe,We){var st=_e.constructor;switch(Qe){case"[object ArrayBuffer]":return g(_e);case"[object Boolean]":case"[object Date]":return new st(+_e);case"[object DataView]":return b(_e,We);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return w(_e,We);case"[object Map]":case"[object Set]":return new st;case"[object Number]":case"[object String]":return new st(_e);case"[object RegExp]":return S(_e);case"[object Symbol]":return C(_e)}}},4264:(_,k,c)=>{var g=c(78858),b=c(29519),S=c(45488);_.exports=function C(w){return"function"!=typeof w.constructor||S(w)?{}:g(b(w))}},75039:(_,k,c)=>{var g=c(60443),b=c(77151),S=c(21503),C=g?g.isConcatSpreadable:void 0;_.exports=function w(R){return S(R)||b(R)||!!(C&&R&&R[C])}},58442:_=>{var c=/^(?:0|[1-9]\d*)$/;_.exports=function g(b,S){var C=typeof b;return!!(S=S??9007199254740991)&&("number"==C||"symbol"!=C&&c.test(b))&&b>-1&&b%1==0&&b<S}},93342:(_,k,c)=>{var g=c(20217),b=c(56507),S=c(58442),C=c(25940);_.exports=function w(R,L,F){if(!C(F))return!1;var N=typeof L;return!!("number"==N?b(F)&&S(L,F.length):"string"==N&&L in F)&&g(F[L],R)}},45352:(_,k,c)=>{var g=c(21503),b=c(44129),S=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,C=/^\w*$/;_.exports=function w(R,L){if(g(R))return!1;var F=typeof R;return!("number"!=F&&"symbol"!=F&&"boolean"!=F&&null!=R&&!b(R))||C.test(R)||!S.test(R)||null!=L&&R in Object(L)}},23819:_=>{_.exports=function k(c){var g=typeof c;return"string"==g||"number"==g||"symbol"==g||"boolean"==g?"__proto__"!==c:null===c}},91943:(_,k,c)=>{var C,g=c(24610),b=(C=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(src)_1."+C:"";_.exports=function S(C){return!!b&&b in C}},45488:_=>{var k=Object.prototype;_.exports=function c(g){var b=g&&g.constructor;return g===("function"==typeof b&&b.prototype||k)}},22442:(_,k,c)=>{var g=c(25940);_.exports=function b(S){return S==S&&!g(S)}},41840:_=>{_.exports=function k(){this.__data__=[],this.size=0}},34378:(_,k,c)=>{var g=c(43503),S=Array.prototype.splice;_.exports=function C(w){var R=this.__data__,L=g(R,w);return!(L<0||(L==R.length-1?R.pop():S.call(R,L,1),--this.size,0))}},54981:(_,k,c)=>{var g=c(43503);_.exports=function b(S){var C=this.__data__,w=g(C,S);return w<0?void 0:C[w][1]}},67343:(_,k,c)=>{var g=c(43503);_.exports=function b(S){return g(this.__data__,S)>-1}},98895:(_,k,c)=>{var g=c(43503);_.exports=function b(S,C){var w=this.__data__,R=g(w,S);
1return R<0?(++this.size,w.push([S,C])):w[R][1]=C,this}},10638:(_,k,c)=>{var g=c(54994),b=c(9215),S=c(51501);_.exports=function C(){this.size=0,this.__data__={hash:new g,map:new(S||b),string:new g}}},11184:(_,k,c)=>{var g=c(54537);_.exports=function b(S){var C=g(this,S).delete(S);return this.size-=C?1:0,C}},70866:(_,k,c)=>{var g=c(54537);_.exports=function b(S){return g(this,S).get(S)}},43771:(_,k,c)=>{var g=c(54537);_.exports=function b(S){return g(this,S).has(S)}},51772:(_,k,c)=>{var g=c(54537);_.exports=function b(S,C){var w=g(this,S),R=w.size;return w.set(S,C),this.size+=w.size==R?0:1,this}},83205:_=>{_.exports=function k(c){var g=-1,b=Array(c.size);return c.forEach(function(S,C){b[++g]=[C,S]}),b}},642:_=>{_.exports=function k(c,g){return function(b){return null!=b&&b[c]===g&&(void 0!==g||c in Object(b))}}},90719:(_,k,c)=>{var g=c(30535);_.exports=function S(C){var w=g(C,function(L){return 500===R.size&&R.clear(),L}),R=w.cache;return w}},60862:(_,k,c)=>{var b=c(53436)(Object,"create");_.exports=b},85491:(_,k,c)=>{var b=c(69385)(Object.keys,Object);_.exports=b},32158:_=>{_.exports=function k(c){var g=[];if(null!=c)for(var b in Object(c))g.push(b);return g}},73597:(_,k,c)=>{_=c.nmd(_);var g=c(79122),b=k&&!k.nodeType&&k,S=b&&_&&!_.nodeType&&_,w=S&&S.exports===b&&g.process,R=function(){try{return S&&S.require&&S.require("util").types||w&&w.binding&&w.binding("util")}catch{}}();_.exports=R},92902:_=>{var c=Object.prototype.toString;_.exports=function g(b){return c.call(b)}},69385:_=>{_.exports=function k(c,g){return function(b){return c(g(b))}}},53983:(_,k,c)=>{var g=c(26999),b=Math.max;_.exports=function S(C,w,R){return w=b(void 0===w?C.length-1:w,0),function(){for(var L=arguments,F=-1,N=b(L.length-w,0),B=Array(N);++F<N;)B[F]=L[w+F];F=-1;for(var z=Array(w+1);++F<w;)z[F]=L[F];return z[w]=R(B),g(C,this,z)}}},64097:(_,k,c)=>{var g=c(15456),b=c(34363);_.exports=function S(C,w){return w.length<2?C:g(C,b(w,0,-1))}},12119:(_,k,c)=>{var g=c(79122),b="object"==typeof self&&self&&self.Object===Object&&self,S=g||b||Function("return this")();_.exports=S},99351:_=>{_.exports=function k(c,g){if(("constructor"!==g||"function"!=typeof c[g])&&"__proto__"!=g)return c[g]}},4600:_=>{_.exports=function c(g){return this.__data__.set(g,"__lodash_hash_undefined__"),this}},31387:_=>{_.exports=function k(c){return this.__data__.has(c)}},24174:_=>{_.exports=function k(c){var g=-1,b=Array(c.size);return c.forEach(function(S){b[++g]=S}),b}},72185:(_,k,c)=>{var g=c(69510),S=c(10029)(g);_.exports=S},10029:_=>{var g=Date.now;_.exports=function b(S){var C=0,w=0;return function(){var R=g(),L=16-(R-w);if(w=R,L>0){if(++C>=800)return arguments[0]}else C=0;return S.apply(void 0,arguments)}}},13720:(_,k,c)=>{var g=c(9215);_.exports=function b(){this.__data__=new g,this.size=0}},64410:_=>{_.exports=function k(c){var g=this.__data__,b=g.delete(c);return this.size=g.size,b}},45576:_=>{_.exports=function k(c){return this.__data__.get(c)}},22247:_=>{_.exports=function k(c){return this.__data__.has(c)}},41585:(_,k,c)=>{var g=c(9215),b=c(51501),S=c(99850);_.exports=function w(R,L){var F=this.__data__;if(F instanceof g){var N=F.__data__;if(!b||N.length<199)return N.push([R,L]),this.size=++F.size,this;F=this.__data__=new S(N)}return F.set(R,L),this.size=F.size,this}},66007:(_,k,c)=>{var g=c(26422),b=c(77609),S=c(6319);_.exports=function C(w){return b(w)?S(w):g(w)}},32855:(_,k,c)=>{var g=c(90719),b=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,S=/\\(\\)?/g,C=g(function(w){var R=[];return 46===w.charCodeAt(0)&&R.push(""),w.replace(b,function(L,F,N,B){R.push(N?B.replace(S,"$1"):F||L)}),R});_.exports=C},68533:(_,k,c)=>{var g=c(44129);_.exports=function S(C){if("string"==typeof C||g(C))return C;var w=C+"";return"0"==w&&1/C==-1/0?"-0":w}},52827:_=>{var c=Function.prototype.toString;_.exports=function g(b){if(null!=b){try{return c.call(b)}catch{}try{return b+""}catch{}}return""}},42760:_=>{var k=/\s/;_.exports=function c(g){for(var b=g.length;b--&&k.test(g.charAt(b)););return b}},6319:_=>{var k="\\ud800-\\udfff",w="["+k+"]",R="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",L="\\ud83c[\\udffb-\\udfff]",N="[^"+k+"]",B="(?:\\ud83c[\\udde6-\\uddff]){2}",z="[\\ud800-\\udbff][\\udc00-\\udfff]",M="(?:"+R+"|"+L+")?",O="[\\ufe0e\\ufe0f]?",W=O+M+"(?:\\u200d(?:"+[N,B,z].join("|")+")"+O+M+")*",q="(?:"+[N+R+"?",R,B,z,w].join("|")+")",J=RegExp(L+"(?="+L+")|"+q+W,"g");_.exports=function te(ae){return ae.match(J)||[]}},80910:_=>{var k="\\ud800-\\udfff",C="\\u2700-\\u27bf",w="a-z\\xdf-\\xf6\\xf8-\\xff",B="A-Z\\xc0-\\xd6\\xd8-\\xde",A="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",O="["+A+"]",W="\\d+",q="["+C+"]",J="["+w+"]",te="[^"+k+A+W+C+w+B+"]",se="(?:\\ud83c[\\udde6-\\uddff]){2}",le="[\\ud800-\\udbff][\\udc00-\\udfff]",Y="["+B+"]",Qe="(?:"+J+"|"+te+")",We="(?:"+Y+"|"+te+")",st="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ve="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",at="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",vt="[\\ufe0e\\ufe0f]?",wt=vt+at+"(?:\\u200d(?:"+["[^"+k+"]",se,le].join("|")+")"+vt+at+")*",ln="(?:"+[q,se,le].join("|")+")"+wt,Yt=RegExp([Y+"?"+J+"+"+st+"
1(?="+[O,Y,"$"].join("|")+")",We+"+"+Ve+"(?="+[O,Y+Qe,"$"].join("|")+")",Y+"?"+Qe+"+"+st,Y+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",W,ln].join("|"),"g");_.exports=function tn(Gt){return Gt.match(Yt)||[]}},34253:(_,k,c)=>{var g=c(27501),S=c(81491)(function(C,w,R){return w=w.toLowerCase(),C+(R?g(w):w)});_.exports=S},27501:(_,k,c)=>{var g=c(73943),b=c(82922);_.exports=function S(C){return b(g(C).toLowerCase())}},76684:_=>{_.exports=function k(c){return function(){return c}}},20406:(_,k,c)=>{var g=c(25940),b=c(31710),S=c(51467),w=Math.max,R=Math.min;_.exports=function L(F,N,B){var z,A,M,O,V,W,q=0,J=!1,te=!1,ae=!0;if("function"!=typeof F)throw new TypeError("Expected a function");function re(Ve){var at=z,vt=A;return z=A=void 0,q=Ve,O=F.apply(vt,at)}function oe(Ve){return q=Ve,V=setTimeout(Y,N),J?re(Ve):O}function le(Ve){var at=Ve-W;return void 0===W||at>=N||at<0||te&&Ve-q>=M}function Y(){var Ve=b();if(le(Ve))return _e(Ve);V=setTimeout(Y,function se(Ve){var Sn=N-(Ve-W);return te?R(Sn,M-(Ve-q)):Sn}(Ve))}function _e(Ve){return V=void 0,ae&&z?re(Ve):(z=A=void 0,O)}function st(){var Ve=b(),at=le(Ve);if(z=arguments,A=this,W=Ve,at){if(void 0===V)return oe(W);if(te)return clearTimeout(V),V=setTimeout(Y,N),re(W)}return void 0===V&&(V=setTimeout(Y,N)),O}return N=S(N)||0,g(B)&&(J=!!B.leading,M=(te="maxWait"in B)?w(S(B.maxWait)||0,N):M,ae="trailing"in B?!!B.trailing:ae),st.cancel=function Qe(){void 0!==V&&clearTimeout(V),q=0,z=W=A=V=void 0},st.flush=function We(){return void 0===V?O:_e(b())},st}},74707:(_,k,c)=>{var g=c(29148),b=c(73943),S=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
17f]/g,N=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");_.exports=function B(z){return(z=b(z))&&z.replace(S,g).replace(N,"")}},20217:_=>{_.exports=function k(c,g){return c===g||c!=c&&g!=g}},62516:(_,k,c)=>{var S=c(24653)(c(36397));_.exports=S},36397:(_,k,c)=>{var g=c(65317),b=c(96517),S=c(44401),C=Math.max;_.exports=function w(R,L,F){var N=null==R?0:R.length;if(!N)return-1;var B=null==F?0:S(F);return B<0&&(B=C(N+B,0)),g(R,b(L,3),B)}},22274:(_,k,c)=>{var g=c(50686);_.exports=function b(S){return null!=S&&S.length?g(S,1):[]}},8817:(_,k,c)=>{var g=c(15456);_.exports=function b(S,C,w){var R=null==S?void 0:g(S,C);return void 0===R?w:R}},11172:(_,k,c)=>{var g=c(69989),b=c(47283);_.exports=function S(C,w){return null!=C&&b(C,w,g)}},32608:_=>{_.exports=function k(c){return c}},77151:(_,k,c)=>{var g=c(60186),b=c(72671),S=Object.prototype,C=S.hasOwnProperty,w=S.propertyIsEnumerable,R=g(function(){return arguments}())?g:function(L){return b(L)&&C.call(L,"callee")&&!w.call(L,"callee")};_.exports=R},21503:_=>{_.exports=Array.isArray},56507:(_,k,c)=>{var g=c(75946),b=c(96231);_.exports=function S(C){return null!=C&&b(C.length)&&!g(C)}},21330:(_,k,c)=>{var g=c(56507),b=c(72671);_.exports=function S(C){return b(C)&&g(C)}},80891:(_,k,c)=>{_=c.nmd(_);var g=c(12119),b=c(63580),S=k&&!k.nodeType&&k,C=S&&_&&!_.nodeType&&_,R=C&&C.exports===S?g.Buffer:void 0;_.exports=(R?R.isBuffer:void 0)||b},71973:(_,k,c)=>{var g=c(81172),b=c(28794),S=c(77151),C=c(21503),w=c(56507),R=c(80891),L=c(45488),F=c(48159),A=Object.prototype.hasOwnProperty;_.exports=function M(O){if(null==O)return!0;if(w(O)&&(C(O)||"string"==typeof O||"function"==typeof O.splice||R(O)||F(O)||S(O)))return!O.length;var V=b(O);if("[object Map]"==V||"[object Set]"==V)return!O.size;if(L(O))return!g(O).length;for(var W in O)if(A.call(O,W))return!1;return!0}},75946:(_,k,c)=>{var g=c(93337),b=c(25940);_.exports=function L(F){if(!b(F))return!1;var N=g(F);return"[object Function]"==N||"[object GeneratorFunction]"==N||"[object AsyncFunction]"==N||"[object Proxy]"==N}},96231:_=>{_.exports=function c(g){return"number"==typeof g&&g>-1&&g%1==0&&g<=9007199254740991}},13222:(_,k,c)=>{var g=c(97021),b=c(85647),S=c(73597),C=S&&S.isMap,w=C?b(C):g;_.exports=w},25940:_=>{_.exports=function k(c){var g=typeof c;return null!=c&&("object"==g||"function"==g)}},72671:_=>{_.exports=function k(c){return null!=c&&"object"==typeof c}},97614:(_,k,c)=>{var g=c(93337),b=c(29519),S=c(72671),L=Function.prototype.toString,F=Object.prototype.hasOwnProperty,N=L.call(Object);_.exports=function B(z){if(!S(z)||"[object Object]"!=g(z))return!1;var A=b(z);if(null===A)return!0;var M=F.call(A,"constructor")&&A.constructor;return"function"==typeof M&&M instanceof M&&L.call(M)==N}},90799:(_,k,c)=>{var g=c(771),b=c(85647),S=c(73597),C=S&&S.isSet,w=C?b(C):g;_.exports=w},30248:(_,k,c)=>{var g=c(93337),b=c(21503),S=c(72671);_.exports=function w(R){return"string"==typeof R||!b(R)&&S(R)&&"[object String]"==g(R)}},44129:(_,k,c)=>{var g=c(93337),b=c(72671);_.exports=function C(w){return"symbol"==typeof w||b(w)&&"[object Symbol]"==g(w)}},48159:(_,k,c)=>{var g=c(1083),b=c(85647),S=c(73597),C=S&&S.isTypedArray,w=C?b(C):g;_.exports=w},118:(_,k,c)=>{var g=c(72271),b=c(81172),S=c(56507);_.exports=function C(w){return S(w)?g(w):b(w)}},16555:(_,k,c)=>{var g=c(72271),b=c(92809),S=c(56507);_.exports=function C(w){return S(w)?g(w,!0):b(w)}},25809:_=>{_.exports=function k(c){var g=null==c?0:c.length;return g?c[g-1]:void 0}},30535:(_,k,c)=>{var g=c(99850);function S(C,w){if("function"!=typeof C||null!=w&&"function"!=typeof w)throw new TypeError("Expected a function");var R=function(){var L=arguments,F=w?w.apply(this,L):L[0],N=R.cache;if(N.has(F))return N.get(F);var B=C.apply(this,L);return R.cache=N.set(F,B)||N,B};return R.cache=new(S.Cache||g),R}S.Cache=g,_.exports=S},80567:(_,k,c)=>{var g=c(73842),S=c(84944)(function(C,w,R){g(C,w,R)});_.exports=S},31710:(_,k,c)=>{var g=c(12119);_.exports=function(){return g.Date.now()}},95835:(_,k,c)=>{var g=c(84633),b=c(44462),S=c(86894),C=c(65456),w=c(31989),R=c(66110),L=c(3975),F=c(6967),A=L(function(M,O){var V={};if(null==M)return V;var W=!1;O=g(O,function(J){return J=C(J,M),W||(W=J.length>1),J}),w(M,F(M),V),W&&(V=b(V,7,R));for(var q=O.length;q--;)S(V,O[q]);return V});_.exports=A},87495:(_,k,c)=>{var g=c(11847),b=c(39222),S=c(45352),C=c(68533);_.exports=function w(R){return S(R)?g(C(R)):b(R)}},81337:(_,k,c)=>{var g=c(8745),b=c(43132),S=c(96517),C=c(13570),w=c(21503);_.exports=function R(L,F,N){var B=w(L)?g:C,z=arguments.length<3;return B(L,S(F,4),N,z,b)}},34793:(_,k,c)=>{var g=c(55963);_.exports=function b(S,C,w){return null==S?S:g(S,C,w)}},50772:(_,k,c)=>{var g=c(79503),b=c(96517),S=c(52289),C=c(21503),w=c(93342);_.exports=function R(L,F,N){var B=C(L)?g:S;return N&&w(L,F,N)&&(F=void 0),B(L,b(F,3))}},49975:_=>{_.exports=function k(){return[]}},63580:_=>{_.exports=function k(){return!1}},12232:(_,k,c)=>{var g=c(51467),b=1/0;_.exports=function C(w){return w?(w=g(w))===b||w===-b?17976931348623157e292*(w<0?-1:1):w==w?w:0:0===w?w:0}},44401:(_,k,c)=>{var g=c(12232);_.exports=function b(S){var C=g(S),w=C%1;return C==C?w?C-w:C:0}},85593:(_,k,c)=>{var g=c(73943);_.exports=function b(S){return g(S).toLowerCase()}},51467:(_,k,c)=>{var g=c(83348),b=c(25940),S=c(44129),w=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,L=/^0o[0-7]+$/i,F=parseInt;_.exports=function N(B){if("number"==typeof B)return B;if(S(B))return NaN;if(b(B)){var z="function"==typeof B.valueOf?B.valueOf():B;B=b(z)?z+"":z}if("string"!=typeof B)return 0===B?B:+B;B=g(B);var A=R.test(B);
1return A||L.test(B)?F(B.slice(2),A?2:8):w.test(B)?NaN:+B}},8067:(_,k,c)=>{var g=c(31989),b=c(16555);_.exports=function S(C){return g(C,b(C))}},73943:(_,k,c)=>{var g=c(93935);_.exports=function b(S){return null==S?"":g(S)}},82922:(_,k,c)=>{var b=c(36584)("toUpperCase");_.exports=b},77188:(_,k,c)=>{var g=c(80069),b=c(19062),S=c(73943),C=c(80910);_.exports=function w(R,L,F){return R=S(R),void 0===(L=F?void 0:L)?b(R)?C(R):g(R):R.match(L)||[]}},21617:(_,k,c)=>{var g=c(89719),b=c(38645);_.exports=function S(C,w){return b(C||[],w||[],g)}},94399:(_,k,c)=>{"use strict";var g=c(15241),b=c(80424);k.highlight=C,k.highlightAuto=function w(q,J){var le,Y,_e,Qe,te=J||{},ae=te.subset||g.listLanguages(),re=te.prefix,oe=ae.length,se=-1;if(null==re&&(re=S),"string"!=typeof q)throw b("Expected `string` for value, got `%s`",q);for(Y={relevance:0,language:null,value:[]},le={relevance:0,language:null,value:[]};++se<oe;)g.getLanguage(Qe=ae[se])&&((_e=C(Qe,q,J)).language=Qe,_e.relevance>Y.relevance&&(Y=_e),_e.relevance>le.relevance&&(Y=le,le=_e));return Y.language&&(le.secondBest=Y),le},k.registerLanguage=function R(q,J){g.registerLanguage(q,J)},k.listLanguages=function L(){return g.listLanguages()},k.registerAlias=function F(q,J){var ae,te=q;for(ae in J&&((te={})[q]=J),te)g.registerAliases(te[ae],{languageName:ae})},N.prototype.addText=function A(q){var te,ae,J=this.stack;""!==q&&((ae=(te=J[J.length-1]).children[te.children.length-1])&&"text"===ae.type?ae.value+=q:te.children.push({type:"text",value:q}))},N.prototype.addKeyword=function B(q,J){this.openNode(J),this.addText(q),this.closeNode()},N.prototype.addSublanguage=function z(q,J){var te=this.stack,ae=te[te.length-1],re=q.rootNode.children;ae.children=ae.children.concat(J?{type:"element",tagName:"span",properties:{className:[J]},children:re}:re)},N.prototype.openNode=function M(q){var J=this.stack,re={type:"element",tagName:"span",properties:{className:[this.options.classPrefix+q]},children:[]};J[J.length-1].children.push(re),J.push(re)},N.prototype.closeNode=function O(){this.stack.pop()},N.prototype.closeAllNodes=W,N.prototype.finalize=W,N.prototype.toHTML=function V(){return""};var S="hljs-";function C(q,J,te){var se,ae=g.configure({}),oe=(te||{}).prefix;if("string"!=typeof q)throw b("Expected `string` for name, got `%s`",q);if(!g.getLanguage(q))throw b("Unknown language: `%s` is not registered",q);if("string"!=typeof J)throw b("Expected `string` for value, got `%s`",J);if(null==oe&&(oe=S),g.configure({__emitter:N,classPrefix:oe}),se=g.highlight(J,{language:q,ignoreIllegals:!0}),g.configure(ae||{}),se.errorRaised)throw se.errorRaised;return{relevance:se.relevance,language:se.language,value:se.emitter.rootNode.children}}function N(q){this.options=q,this.rootNode={children:[]},this.stack=[this.rootNode]}function W(){}},35943:_=>{"use strict";var k=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;function b(C){if(null==C)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(C)}_.exports=function S(){try{if(!Object.assign)return!1;var C=new String("abc");if(C[5]="de","5"===Object.getOwnPropertyNames(C)[0])return!1;for(var w={},R=0;R<10;R++)w["_"+String.fromCharCode(R)]=R;if("0123456789"!==Object.getOwnPropertyNames(w).map(function(N){return w[N]}).join(""))return!1;var F={};return"abcdefghijklmnopqrst".split("").forEach(function(N){F[N]=N}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},F)).join("")}catch{return!1}}()?Object.assign:function(C,w){for(var R,F,L=b(C),N=1;N<arguments.length;N++){for(var B in R=Object(arguments[N]))c.call(R,B)&&(L[B]=R[B]);if(k){F=k(R);for(var z=0;z<F.length;z++)g.call(R,F[z])&&(L[F[z]]=R[F[z]])}}return L}},97024:(_,k,c)=>{var g="function"==typeof Map&&Map.prototype,b=Object.getOwnPropertyDescriptor&&g?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,S=g&&b&&"function"==typeof b.get?b.get:null,C=g&&Map.prototype.forEach,w="function"==typeof Set&&Set.prototype,R=Object.getOwnPropertyDescriptor&&w?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,L=w&&R&&"function"==typeof R.get?R.get:null,F=w&&Set.prototype.forEach,B="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,A="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,O="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,V=Boolean.prototype.valueOf,W=Object.prototype.toString,q=Function.prototype.toString,J=String.prototype.match,te=String.prototype.slice,ae=String.prototype.replace,re=String.prototype.toUpperCase,oe=String.prototype.toLowerCase,se=RegExp.prototype.test,le=Array.prototype.concat,Y=Array.prototype.join,_e=Array.prototype.slice,Qe=Math.floor,We="function"==typeof BigInt?BigInt.prototype.valueOf:null,st=Object.getOwnPropertySymbols,Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,at="function"==typeof Symbol&&"object"==typeof Symbol.iterator,vt="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Sn=Object.prototype.propertyIsEnumerable,Ge=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(rt){return rt.__proto__}:null);function Wt(rt,ht){if(rt===1/0||rt===-1/0||rt!=rt||rt&&rt>-1e3&&rt<1e3||se.call(/e/,ht))return ht;var en=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof rt){var lt=rt<0?-Qe(-rt):Qe(rt);
1if(lt!==rt){var At=String(lt),tt=te.call(ht,At.length+1);return ae.call(At,en,"$&_")+"."+ae.call(ae.call(tt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ae.call(ht,en,"$&_")}var wt=c(24654),ln=wt.custom,Yt=Dr(ln)?ln:null;function tn(rt,ht,en){var lt="double"===(en.quoteStyle||ht)?'"':"'";return lt+rt+lt}function Gt(rt){return ae.call(String(rt),/"/g,""")}function nt(rt){return!("[object Array]"!==Hr(rt)||vt&&"object"==typeof rt&&vt in rt)}function kn(rt){return!("[object RegExp]"!==Hr(rt)||vt&&"object"==typeof rt&&vt in rt)}function Dr(rt){if(at)return rt&&"object"==typeof rt&&rt instanceof Symbol;if("symbol"==typeof rt)return!0;if(!rt||"object"!=typeof rt||!Ve)return!1;try{return Ve.call(rt),!0}catch{}return!1}_.exports=function rt(ht,en,lt,At){var tt=en||{};if(Gi(tt,"quoteStyle")&&"single"!==tt.quoteStyle&&"double"!==tt.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Gi(tt,"maxStringLength")&&("number"==typeof tt.maxStringLength?tt.maxStringLength<0&&tt.maxStringLength!==1/0:null!==tt.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Mt=!Gi(tt,"customInspect")||tt.customInspect;if("boolean"!=typeof Mt&&"symbol"!==Mt)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Gi(tt,"indent")&&null!==tt.indent&&"\t"!==tt.indent&&!(parseInt(tt.indent,10)===tt.indent&&tt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Gi(tt,"numericSeparator")&&"boolean"!=typeof tt.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var nn=tt.numericSeparator;if(typeof ht>"u")return"undefined";if(null===ht)return"null";if("boolean"==typeof ht)return ht?"true":"false";if("string"==typeof ht)return X(ht,tt);if("number"==typeof ht){if(0===ht)return 1/0/ht>0?"0":"-0";var tr=String(ht);return nn?Wt(ht,tr):tr}if("bigint"==typeof ht){var si=String(ht)+"n";return nn?Wt(ht,si):si}var Lr=typeof tt.depth>"u"?5:tt.depth;if(typeof lt>"u"&&(lt=0),lt>=Lr&&Lr>0&&"object"==typeof ht)return nt(ht)?"[Array]":"[Object]";var Nr=function Oe(rt,ht){var en;if("\t"===rt.indent)en="\t";else{if(!("number"==typeof rt.indent&&rt.indent>0))return null;en=Y.call(Array(rt.indent+1)," ")}return{base:en,prev:Y.call(Array(ht+1),en)}}(tt,lt);if(typeof At>"u")At=[];else if(pe(At,ht)>=0)return"[Circular]";function Ei(Cn,Vn,zn){if(Vn&&(At=_e.call(At)).push(Vn),zn){var yn={depth:tt.depth};return Gi(tt,"quoteStyle")&&(yn.quoteStyle=tt.quoteStyle),rt(Cn,yn,lt+1,At)}return rt(Cn,tt,lt+1,At)}if("function"==typeof ht&&!kn(ht)){var Wi=function ft(rt){if(rt.name)return rt.name;var ht=J.call(q.call(rt),/^function\s*([\w$]+)/);return ht?ht[1]:null}(ht),es=Ht(ht,Ei);return"[Function"+(Wi?": "+Wi:" (anonymous)")+"]"+(es.length>0?" { "+Y.call(es,", ")+" }":"")}if(Dr(ht)){var Ms=at?ae.call(String(ht),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ve.call(ht);return"object"!=typeof ht||at?Ms:on(Ms)}if(function vn(rt){return!(!rt||"object"!=typeof rt)&&(typeof HTMLElement<"u"&&rt instanceof HTMLElement||"string"==typeof rt.nodeName&&"function"==typeof rt.getAttribute)}(ht)){for(var Ml="<"+oe.call(String(ht.nodeName)),va=ht.attributes||[],Oa=0;Oa<va.length;Oa++)Ml+=" "+va[Oa].name+"="+tn(Gt(va[Oa].value),"double",tt);return Ml+=">",ht.childNodes&&ht.childNodes.length&&(Ml+="..."),Ml+"</"+oe.call(String(ht.nodeName))+">"}if(nt(ht)){if(0===ht.length)return"[]";var ya=Ht(ht,Ei);return Nr&&!function Fn(rt){for(var ht=0;ht<rt.length;ht++)if(pe(rt[ht],"\n")>=0)return!1;return!0}(ya)?"["+$t(ya,Nr)+"]":"[ "+Y.call(ya,", ")+" ]"}if(function Bn(rt){return!("[object Error]"!==Hr(rt)||vt&&"object"==typeof rt&&vt in rt)}(ht)){var Zl=Ht(ht,Ei);return"cause"in Error.prototype||!("cause"in ht)||Sn.call(ht,"cause")?0===Zl.length?"["+String(ht)+"]":"{ ["+String(ht)+"] "+Y.call(Zl,", ")+" }":"{ ["+String(ht)+"] "+Y.call(le.call("[cause]: "+Ei(ht.cause),Zl),", ")+" }"}if("object"==typeof ht&&Mt){if(Yt&&"function"==typeof ht[Yt]&&wt)return wt(ht,{depth:Lr-lt});if("symbol"!==Mt&&"function"==typeof ht.inspect)return ht.inspect()}if(function be(rt){if(!S||!rt||"object"!=typeof rt)return!1;try{S.call(rt);
1try{L.call(rt)}catch{return!0}return rt instanceof Map}catch{}return!1}(ht)){var Ra=[];return C.call(ht,function(Cn,Vn){Ra.push(Ei(Vn,ht,!0)+" => "+Ei(Cn,ht))}),bn("Map",S.call(ht),Ra,Nr)}if(function Xt(rt){if(!L||!rt||"object"!=typeof rt)return!1;try{L.call(rt);try{S.call(rt)}catch{return!0}return rt instanceof Set}catch{}return!1}(ht)){var Ea=[];return F.call(ht,function(Cn){Ea.push(Ei(Cn,ht))}),bn("Set",L.call(ht),Ea,Nr)}if(function xt(rt){if(!B||!rt||"object"!=typeof rt)return!1;try{B.call(rt,B);try{A.call(rt,A)}catch{return!0}return rt instanceof WeakMap}catch{}return!1}(ht))return An("WeakMap");if(function cn(rt){if(!A||!rt||"object"!=typeof rt)return!1;try{A.call(rt,A);try{B.call(rt,B)}catch{return!0}return rt instanceof WeakSet}catch{}return!1}(ht))return An("WeakSet");if(function Kt(rt){if(!O||!rt||"object"!=typeof rt)return!1;try{return O.call(rt),!0}catch{}return!1}(ht))return An("WeakRef");if(function Pr(rt){return!("[object Number]"!==Hr(rt)||vt&&"object"==typeof rt&&vt in rt)}(ht))return on(Ei(Number(ht)));if(function ni(rt){if(!rt||"object"!=typeof rt||!We)return!1;try{return We.call(rt),!0}catch{}return!1}(ht))return on(Ei(We.call(ht)));if(function qn(rt){return!("[object Boolean]"!==Hr(rt)||vt&&"object"==typeof rt&&vt in rt)}(ht))return on(V.call(ht));if(function Jn(rt){return!("[object String]"!==Hr(rt)||vt&&"object"==typeof rt&&vt in rt)}(ht))return on(Ei(String(ht)));if(!function jt(rt){return!("[object Date]"!==Hr(rt)||vt&&"object"==typeof rt&&vt in rt)}(ht)&&!kn(ht)){var ia=Ht(ht,Ei),ol=Ge?Ge(ht)===Object.prototype:ht instanceof Object||ht.constructor===Object,Ai=ht instanceof Object?"":"null prototype",Bo=!ol&&vt&&Object(ht)===ht&&vt in ht?te.call(Hr(ht),8,-1):Ai?"Object":"",Dl=(ol||"function"!=typeof ht.constructor?"":ht.constructor.name?ht.constructor.name+" ":"")+(Bo||Ai?"["+Y.call(le.call([],Bo||[],Ai||[]),": ")+"] ":"");return 0===ia.length?Dl+"{}":Nr?Dl+"{"+$t(ia,Nr)+"}":Dl+"{ "+Y.call(ia,", ")+" }"}return String(ht)};var oi=Object.prototype.hasOwnProperty||function(rt){return rt in this};function Gi(rt,ht){return oi.call(rt,ht)}function Hr(rt){return W.call(rt)}function pe(rt,ht){if(rt.indexOf)return rt.indexOf(ht);for(var en=0,lt=rt.length;en<lt;en++)if(rt[en]===ht)return en;return-1}function X(rt,ht){if(rt.length>ht.maxStringLength){var en=rt.length-ht.maxStringLength,lt="... "+en+" more character"+(en>1?"s":"");return X(te.call(rt,0,ht.maxStringLength),ht)+lt}return tn(ae.call(ae.call(rt,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Nt),"single",ht)}function Nt(rt){var ht=rt.charCodeAt(0),en={8:"b",9:"t",10:"n",12:"f",13:"r"}[ht];return en?"\\"+en:"\\x"+(ht<16?"0":"")+re.call(ht.toString(16))}function on(rt){return"Object("+rt+")"}function An(rt){return rt+" { ? }"}function bn(rt,ht,en,lt){return rt+" ("+ht+") {"+(lt?$t(en,lt):Y.call(en,", "))+"}"}function $t(rt,ht){if(0===rt.length)return"";var en="\n"+ht.prev+ht.base;return en+Y.call(rt,","+en)+"\n"+ht.prev}function Ht(rt,ht){var en=nt(rt),lt=[];if(en){lt.length=rt.length;for(var At=0;At<rt.length;At++)lt[At]=Gi(rt,At)?ht(rt[At],rt):""}var Mt,tt="function"==typeof st?st(rt):[];if(at){Mt={};for(var nn=0;nn<tt.length;nn++)Mt["$"+tt[nn]]=tt[nn]}for(var tr in rt)!Gi(rt,tr)||en&&String(Number(tr))===tr&&tr<rt.length||at&&Mt["$"+tr]instanceof Symbol||(se.call(/[^\w$]/,tr)?lt.push(ht(tr,rt)+": "+ht(rt[tr],rt)):lt.push(tr+": "+ht(rt[tr],rt)));if("function"==typeof st)for(var si=0;si<tt.length;si++)Sn.call(rt,tt[si])&<.push("["+ht(tt[si])+"]: "+ht(rt[tt[si]],rt));return lt}},91329:(_,k,c)=>{"use strict";var g=c(71675);function b(){}function S(){}S.resetWarningCache=b,_.exports=function(){function C(L,F,N,B,z,A){if(A!==g){var M=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw M.name="Invariant Violation",M}}function w(){return C}C.isRequired=C;var R={array:C,bigint:C,bool:C,func:C,number:C,object:C,string:C,symbol:C,any:C,arrayOf:w,element:C,elementType:C,instanceOf:w,node:C,objectOf:w,oneOf:w,oneOfType:w,shape:w,exact:w,checkPropTypes:S,resetWarningCache:b};return R.PropTypes=R,R}},92046:(_,k,c)=>{_.exports=c(91329)()},71675:_=>{"use strict";_.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},94879:(_,k,c)=>{"use strict";c.r(k),c.d(k,{decode:()=>Y,default:()=>Ve,encode:()=>_e,toASCII:()=>We,toUnicode:()=>Qe,ucs2decode:()=>ae,ucs2encode:()=>re});const g=2147483647,b=36,B=/^xn--/,z=/[^\0-\x7E]/,A=/[\x2E\u3002\uFF0E\uFF61]/g,M={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
1= 0x80 (not a basic code point)","invalid-input":"Invalid input"},V=Math.floor,W=String.fromCharCode;function q(at){throw new RangeError(M[at])}function te(at,vt){const Sn=at.split("@");let Ge="";Sn.length>1&&(Ge=Sn[0]+"@",at=Sn[1]);const wt=function J(at,vt){const Sn=[];let Ge=at.length;for(;Ge--;)Sn[Ge]=vt(at[Ge]);return Sn}((at=at.replace(A,".")).split("."),vt).join(".");return Ge+wt}function ae(at){const vt=[];let Sn=0;const Ge=at.length;for(;Sn<Ge;){const Wt=at.charCodeAt(Sn++);if(Wt>=55296&&Wt<=56319&&Sn<Ge){const wt=at.charCodeAt(Sn++);56320==(64512&wt)?vt.push(((1023&Wt)<<10)+(1023&wt)+65536):(vt.push(Wt),Sn--)}else vt.push(Wt)}return vt}const re=at=>String.fromCodePoint(...at),oe=function(at){return at-48<10?at-22:at-65<26?at-65:at-97<26?at-97:b},se=function(at,vt){return at+22+75*(at<26)-((0!=vt)<<5)},le=function(at,vt,Sn){let Ge=0;for(at=Sn?V(at/700):at>>1,at+=V(at/vt);at>455;Ge+=b)at=V(at/35);return V(Ge+36*at/(at+38))},Y=function(at){const vt=[],Sn=at.length;let Ge=0,Wt=128,wt=72,ln=at.lastIndexOf("-");ln<0&&(ln=0);for(let Yt=0;Yt<ln;++Yt)at.charCodeAt(Yt)>=128&&q("not-basic"),vt.push(at.charCodeAt(Yt));for(let Yt=ln>0?ln+1:0;Yt<Sn;){let tn=Ge;for(let nt=1,jt=b;;jt+=b){Yt>=Sn&&q("invalid-input");const kn=oe(at.charCodeAt(Yt++));(kn>=b||kn>V((g-Ge)/nt))&&q("overflow"),Ge+=kn*nt;const Bn=jt<=wt?1:jt>=wt+26?26:jt-wt;if(kn<Bn)break;const Jn=b-Bn;nt>V(g/Jn)&&q("overflow"),nt*=Jn}const Gt=vt.length+1;wt=le(Ge-tn,Gt,0==tn),V(Ge/Gt)>g-Wt&&q("overflow"),Wt+=V(Ge/Gt),Ge%=Gt,vt.splice(Ge++,0,Wt)}return String.fromCodePoint(...vt)},_e=function(at){const vt=[];let Sn=(at=ae(at)).length,Ge=128,Wt=0,wt=72;for(const tn of at)tn<128&&vt.push(W(tn));let ln=vt.length,Yt=ln;for(ln&&vt.push("-");Yt<Sn;){let tn=g;for(const nt of at)nt>=Ge&&nt<tn&&(tn=nt);const Gt=Yt+1;tn-Ge>V((g-Wt)/Gt)&&q("overflow"),Wt+=(tn-Ge)*Gt,Ge=tn;for(const nt of at)if(nt<Ge&&++Wt>g&&q("overflow"),nt==Ge){let jt=Wt;for(let kn=b;;kn+=b){const Bn=kn<=wt?1:kn>=wt+26?26:kn-wt;if(jt<Bn)break;const Jn=jt-Bn,Pr=b-Bn;vt.push(W(se(Bn+Jn%Pr,0))),jt=V(Jn/Pr)}vt.push(W(se(jt,0))),wt=le(Wt,Gt,Yt==ln),Wt=0,++Yt}++Wt,++Ge}return vt.join("")},Qe=function(at){return te(at,function(vt){return B.test(vt)?Y(vt.slice(4).toLowerCase()):vt})},We=function(at){return te(at,function(vt){return z.test(vt)?"xn--"+_e(vt):vt})},Ve={version:"2.1.0",ucs2:{decode:ae,encode:re},decode:Y,encode:_e,toASCII:We,toUnicode:Qe}},59165:_=>{"use strict";var k=String.prototype.replace,c=/%20/g;_.exports={default:"RFC3986",formatters:{RFC1738:function(b){return k.call(b,c,"+")},RFC3986:function(b){return String(b)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},81781:(_,k,c)=>{"use strict";var g=c(63726),b=c(46954),S=c(59165);_.exports={formats:S,parse:b,stringify:g}},46954:(_,k,c)=>{"use strict";var g=c(4393),b=Object.prototype.hasOwnProperty,S=Array.isArray,C={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:g.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},R=function(M,O){return M&&"string"==typeof M&&O.comma&&M.indexOf(",")>-1?M.split(","):M},z=function(O,V,W,q){if(O){var J=W.allowDots?O.replace(/\.([^.[]+)/g,"[$1]"):O,ae=/(\[[^[\]]*])/g,re=W.depth>0&&/(\[[^[\]]*])/.exec(J),oe=re?J.slice(0,re.index):J,se=[];if(oe){if(!W.plainObjects&&b.call(Object.prototype,oe)&&!W.allowPrototypes)return;se.push(oe)}for(var le=0;W.depth>0&&null!==(re=ae.exec(J))&&le<W.depth;){if(le+=1,!W.plainObjects&&b.call(Object.prototype,re[1].slice(1,-1))&&!W.allowPrototypes)return;se.push(re[1])}return re&&se.push("["+J.slice(re.index)+"]"),function(M,O,V,W){for(var q=W?O:R(O,V),J=M.length-1;J>=0;--J){var te,ae=M[J];if("[]"===ae&&V.parseArrays)te=[].concat(q);else{te=V.plainObjects?Object.create(null):{};var re="["===ae.charAt(0)&&"]"===ae.charAt(ae.length-1)?ae.slice(1,-1):ae,oe=parseInt(re,10);V.parseArrays||""!==re?!isNaN(oe)&&ae!==re&&String(oe)===re&&oe>=0&&V.parseArrays&&oe<=V.arrayLimit?(te=[])[oe]=q:"__proto__"!==re&&(te[re]=q):te={0:q}}q=te}return q}(se,V,W,q)}};_.exports=function(M,O){var V=function(O){if(!O)return C;if(null!=O.decoder&&"function"!=typeof O.decoder)throw new TypeError("Decoder has to be a function.");
1if(typeof O.charset<"u"&&"utf-8"!==O.charset&&"iso-8859-1"!==O.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:typeof O.allowDots>"u"?C.allowDots:!!O.allowDots,allowPrototypes:"boolean"==typeof O.allowPrototypes?O.allowPrototypes:C.allowPrototypes,allowSparse:"boolean"==typeof O.allowSparse?O.allowSparse:C.allowSparse,arrayLimit:"number"==typeof O.arrayLimit?O.arrayLimit:C.arrayLimit,charset:typeof O.charset>"u"?C.charset:O.charset,charsetSentinel:"boolean"==typeof O.charsetSentinel?O.charsetSentinel:C.charsetSentinel,comma:"boolean"==typeof O.comma?O.comma:C.comma,decoder:"function"==typeof O.decoder?O.decoder:C.decoder,delimiter:"string"==typeof O.delimiter||g.isRegExp(O.delimiter)?O.delimiter:C.delimiter,depth:"number"==typeof O.depth||!1===O.depth?+O.depth:C.depth,ignoreQueryPrefix:!0===O.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof O.interpretNumericEntities?O.interpretNumericEntities:C.interpretNumericEntities,parameterLimit:"number"==typeof O.parameterLimit?O.parameterLimit:C.parameterLimit,parseArrays:!1!==O.parseArrays,plainObjects:"boolean"==typeof O.plainObjects?O.plainObjects:C.plainObjects,strictNullHandling:"boolean"==typeof O.strictNullHandling?O.strictNullHandling:C.strictNullHandling}}(O);if(""===M||null===M||typeof M>"u")return V.plainObjects?Object.create(null):{};for(var W="string"==typeof M?function(O,V){var re,W={},te=(V.ignoreQueryPrefix?O.replace(/^\?/,""):O).split(V.delimiter,V.parameterLimit===1/0?void 0:V.parameterLimit),ae=-1,oe=V.charset;if(V.charsetSentinel)for(re=0;re<te.length;++re)0===te[re].indexOf("utf8=")&&("utf8=%E2%9C%93"===te[re]?oe="utf-8":"utf8=%26%2310003%3B"===te[re]&&(oe="iso-8859-1"),ae=re,re=te.length);for(re=0;re<te.length;++re)if(re!==ae){var _e,Qe,se=te[re],le=se.indexOf("]="),Y=-1===le?se.indexOf("="):le+1;-1===Y?(_e=V.decoder(se,C.decoder,oe,"key"),Qe=V.strictNullHandling?null:""):(_e=V.decoder(se.slice(0,Y),C.decoder,oe,"key"),Qe=g.maybeMap(R(se.slice(Y+1),V),function(We){return V.decoder(We,C.decoder,oe,"value")})),Qe&&V.interpretNumericEntities&&"iso-8859-1"===oe&&(Qe=Qe.replace(/&#(\d+);/g,function(O,V){return String.fromCharCode(parseInt(V,10))})),se.indexOf("[]=")>-1&&(Qe=S(Qe)?[Qe]:Qe),W[_e]=b.call(W,_e)?g.combine(W[_e],Qe):Qe}return W}(M,V):M,q=V.plainObjects?Object.create(null):{},J=Object.keys(W),te=0;te<J.length;++te){var ae=J[te],re=z(ae,W[ae],V,"string"==typeof M);q=g.merge(q,re,V)}return!0===V.allowSparse?q:g.compact(q)}},63726:(_,k,c)=>{"use strict";var g=c(78475),b=c(4393),S=c(59165),C=Object.prototype.hasOwnProperty,w={brackets:function(J){return J+"[]"},comma:"comma",indices:function(J,te){return J+"["+te+"]"},repeat:function(J){return J}},R=Array.isArray,L=String.prototype.split,F=Array.prototype.push,N=function(q,J){F.apply(q,R(J)?J:[J])},B=Date.prototype.toISOString,z=S.default,A={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:b.encode,encodeValuesOnly:!1,format:z,formatter:S.formatters[z],indices:!1,serializeDate:function(J){return B.call(J)},skipNulls:!1,strictNullHandling:!1},O={},V=function q(J,te,ae,re,oe,se,le,Y,_e,Qe,We,st,Ve,at,vt,Sn){for(var Ge=J,Wt=Sn,wt=0,ln=!1;void 0!==(Wt=Wt.get(O))&&!ln;){var Yt=Wt.get(J);if(wt+=1,typeof Yt<"u"){if(Yt===wt)throw new RangeError("Cyclic object value");ln=!0}typeof Wt.get(O)>"u"&&(wt=0)}if("function"==typeof Y?Ge=Y(te,Ge):Ge instanceof Date?Ge=We(Ge):"comma"===ae&&R(Ge)&&(Ge=b.maybeMap(Ge,function(Hr){return Hr instanceof Date?We(Hr):Hr})),null===Ge){if(oe)return le&&!at?le(te,A.encoder,vt,"key",st):te;Ge=""}if(function(J){return"string"==typeof J||"number"==typeof J||"boolean"==typeof J||"symbol"==typeof J||"bigint"==typeof J}(Ge)||b.isBuffer(Ge)){if(le){var tn=at?te:le(te,A.encoder,vt,"key",st);if("comma"===ae&&at){for(var Gt=L.call(String(Ge),","),nt="",jt=0;jt<Gt.length;++jt)nt+=(0===jt?"":",")+Ve(le(Gt[jt],A.encoder,vt,"value",st));return[Ve(tn)+(re&&R(Ge)&&1===Gt.length?"[]":"")+"="+nt]}return[Ve(tn)+"="+Ve(le(Ge,A.encoder,vt,"value",st))]}return[Ve(te)+"="+Ve(String(Ge))]}var Bn,kn=[];if(typeof Ge>"u")return kn;if("comma"===ae&&R(Ge))Bn=[{value:Ge.length>0?Ge.join(",")||null:void 0}];else if(R(Y))Bn=Y;else{var Jn=Object.keys(Ge);Bn=_e?Jn.sort(_e):Jn}for(var Pr=re&&R(Ge)&&1===Ge.length?te+"[]":te,qn=0;qn<Bn.length;++qn){var Dr=Bn[qn],ni="object"==typeof Dr&&typeof Dr.value<"u"?Dr.value:Ge[Dr];
1if(!se||null!==ni){var oi=R(Ge)?"function"==typeof ae?ae(Pr,Dr):Pr:Pr+(Qe?"."+Dr:"["+Dr+"]");Sn.set(J,wt);var Gi=g();Gi.set(O,Sn),N(kn,q(ni,oi,ae,re,oe,se,le,Y,_e,Qe,We,st,Ve,at,vt,Gi))}}return kn};_.exports=function(q,J){var re,te=q,ae=function(J){if(!J)return A;if(null!==J.encoder&&typeof J.encoder<"u"&&"function"!=typeof J.encoder)throw new TypeError("Encoder has to be a function.");var te=J.charset||A.charset;if(typeof J.charset<"u"&&"utf-8"!==J.charset&&"iso-8859-1"!==J.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var ae=S.default;if(typeof J.format<"u"){if(!C.call(S.formatters,J.format))throw new TypeError("Unknown format option provided.");ae=J.format}var re=S.formatters[ae],oe=A.filter;return("function"==typeof J.filter||R(J.filter))&&(oe=J.filter),{addQueryPrefix:"boolean"==typeof J.addQueryPrefix?J.addQueryPrefix:A.addQueryPrefix,allowDots:typeof J.allowDots>"u"?A.allowDots:!!J.allowDots,charset:te,charsetSentinel:"boolean"==typeof J.charsetSentinel?J.charsetSentinel:A.charsetSentinel,delimiter:typeof J.delimiter>"u"?A.delimiter:J.delimiter,encode:"boolean"==typeof J.encode?J.encode:A.encode,encoder:"function"==typeof J.encoder?J.encoder:A.encoder,encodeValuesOnly:"boolean"==typeof J.encodeValuesOnly?J.encodeValuesOnly:A.encodeValuesOnly,filter:oe,format:ae,formatter:re,serializeDate:"function"==typeof J.serializeDate?J.serializeDate:A.serializeDate,skipNulls:"boolean"==typeof J.skipNulls?J.skipNulls:A.skipNulls,sort:"function"==typeof J.sort?J.sort:null,strictNullHandling:"boolean"==typeof J.strictNullHandling?J.strictNullHandling:A.strictNullHandling}}(J);"function"==typeof ae.filter?te=(0,ae.filter)("",te):R(ae.filter)&&(re=ae.filter);var se=[];if("object"!=typeof te||null===te)return"";var Y=w[J&&J.arrayFormat in w?J.arrayFormat:J&&"indices"in J?J.indices?"indices":"repeat":"indices"];if(J&&"commaRoundTrip"in J&&"boolean"!=typeof J.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var _e="comma"===Y&&J&&J.commaRoundTrip;re||(re=Object.keys(te)),ae.sort&&re.sort(ae.sort);for(var Qe=g(),We=0;We<re.length;++We){var st=re[We];ae.skipNulls&&null===te[st]||N(se,V(te[st],st,Y,_e,ae.strictNullHandling,ae.skipNulls,ae.encode?ae.encoder:null,ae.filter,ae.sort,ae.allowDots,ae.serializeDate,ae.format,ae.formatter,ae.encodeValuesOnly,ae.charset,Qe))}var Ve=se.join(ae.delimiter),at=!0===ae.addQueryPrefix?"?":"";return ae.charsetSentinel&&(at+="iso-8859-1"===ae.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),Ve.length>0?at+Ve:""}},4393:(_,k,c)=>{"use strict";var g=c(59165),b=Object.prototype.hasOwnProperty,S=Array.isArray,C=function(){for(var W=[],q=0;q<256;++q)W.push("%"+((q<16?"0":"")+q.toString(16)).toUpperCase());return W}(),R=function(q,J){for(var te=J&&J.plainObjects?Object.create(null):{},ae=0;ae<q.length;++ae)typeof q[ae]<"u"&&(te[ae]=q[ae]);return te};_.exports={arrayToObject:R,assign:function(q,J){return Object.keys(J).reduce(function(te,ae){return te[ae]=J[ae],te},q)},combine:function(q,J){return[].concat(q,J)},compact:function(q){for(var J=[{obj:{o:q},prop:"o"}],te=[],ae=0;ae<J.length;++ae)for(var re=J[ae],oe=re.obj[re.prop],se=Object.keys(oe),le=0;le<se.length;++le){var Y=se[le],_e=oe[Y];"object"==typeof _e&&null!==_e&&-1===te.indexOf(_e)&&(J.push({obj:oe,prop:Y}),te.push(_e))}return function(q){for(;q.length>1;){var J=q.pop(),te=J.obj[J.prop];if(S(te)){for(var ae=[],re=0;re<te.length;++re)typeof te[re]<"u"&&ae.push(te[re]);J.obj[J.prop]=ae}}}(J),q},decode:function(W,q,J){var te=W.replace(/\+/g," ");if("iso-8859-1"===J)return te.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(te)}catch{return te}},encode:function(q,J,te,ae,re){if(0===q.length)return q;var oe=q;if("symbol"==typeof q?oe=Symbol.prototype.toString.call(q):"string"!=typeof q&&(oe=String(q)),"iso-8859-1"===te)return escape(oe).replace(/%u[0-9a-f]{4}/gi,function(_e){return"%26%23"+parseInt(_e.slice(2),16)+"%3B"});for(var se="",le=0;le<oe.length;++le){var Y=oe.charCodeAt(le);45===Y||46===Y||95===Y||126===Y||Y>=48&&Y<=57||Y>=65&&Y<=90||Y>=97&&Y<=122||re===g.RFC1738&&(40===Y||41===Y)?se+=oe.charAt(le):Y<128?se+=C[Y]:Y<2048?se+=C[192|Y>>6]+C[128|63&Y]:Y<55296||Y>=57344?se+=C[224|Y>>12]+C[128|Y>>6&63]+C[128|63&Y]:(Y=65536+((1023&Y)<<10|1023&oe.charCodeAt(le+=1)),se+=C[240|Y>>18]+C[128|Y>>12&63]+C[128|Y>>6&63]+C[128|63&Y])}return se},isBuffer:function(q){return!(!q||"object"!=typeof q||!(q.constructor&&q.constructor.isBuffer&&q.constructor.isBuffer(q)))},isRegExp:function(q){return"[object RegExp]"===Object.prototype.toString.call(q)},maybeMap:function(q,J){if(S(q)){for(var te=[],ae=0;ae<q.length;ae+=1)te.push(J(q[ae]));return te}return J(q)},merge:function W(q,J,te){if(!J)return q;if("object"!=typeof J){if(S(q))q.push(J);else{if(!q||"object"!=typeof q)return[q,J];(te&&(te.plainObjects||te.allowPrototypes)||!b.call(Object.prototype,J))&&(q[J]=!0)}return q}if(!q||"object"!=typeof q)return[q].concat(J);var ae=q;return S(q)&&!S(J)&&(ae=R(q,te)),S(q)&&S(J)?(J.forEach(function(re,oe){if(b.call(q,oe)){var se=q[oe];se&&"object"==typeof se&&re&&"object"==typeof re?q[oe]=W(se,re,te):q.pu
1sh(re)}else q[oe]=re}),q):Object.keys(J).reduce(function(re,oe){var se=J[oe];return re[oe]=b.call(re,oe)?W(re[oe],se,te):se,re},ae)}}},90516:_=>{"use strict";function k(c,g){return Object.prototype.hasOwnProperty.call(c,g)}_.exports=function(c,g,b,S){b=b||"=";var C={};if("string"!=typeof c||0===c.length)return C;var w=/\+/g;c=c.split(g=g||"&");var R=1e3;S&&"number"==typeof S.maxKeys&&(R=S.maxKeys);var L=c.length;R>0&&L>R&&(L=R);for(var F=0;F<L;++F){var z,A,M,O,N=c[F].replace(w,"%20"),B=N.indexOf(b);B>=0?(z=N.substr(0,B),A=N.substr(B+1)):(z=N,A=""),M=decodeURIComponent(z),O=decodeURIComponent(A),k(C,M)?Array.isArray(C[M])?C[M].push(O):C[M]=[C[M],O]:C[M]=O}return C}},75776:_=>{"use strict";var k=function(c){switch(typeof c){case"string":return c;case"boolean":return c?"true":"false";case"number":return isFinite(c)?c:"";default:return""}};_.exports=function(c,g,b,S){return g=g||"&",b=b||"=",null===c&&(c=void 0),"object"==typeof c?Object.keys(c).map(function(C){var w=encodeURIComponent(k(C))+b;return Array.isArray(c[C])?c[C].map(function(R){return w+encodeURIComponent(k(R))}).join(g):w+encodeURIComponent(k(c[C]))}).join(g):S?encodeURIComponent(k(S))+b+encodeURIComponent(k(c)):""}},17137:(_,k,c)=>{"use strict";k.decode=k.parse=c(90516),k.encode=k.stringify=c(75776)},12858:(_,k)=>{"use strict";var c=Object.prototype.hasOwnProperty;function b(R){try{return decodeURIComponent(R.replace(/\+/g," "))}catch{return null}}function S(R){try{return encodeURIComponent(R)}catch{return null}}k.stringify=function w(R,L){L=L||"";var N,B,F=[];for(B in"string"!=typeof L&&(L="?"),R)if(c.call(R,B)){if(!(N=R[B])&&(null==N||isNaN(N))&&(N=""),B=S(B),N=S(N),null===B||null===N)continue;F.push(B+"="+N)}return F.length?L+F.join("&"):""},k.parse=function C(R){for(var N,L=/([^=?#&]+)=?([^&]*)/g,F={};N=L.exec(R);){var B=b(N[1]),z=b(N[2]);null===B||null===z||B in F||(F[B]=z)}return F}},17039:(_,k,c)=>{const g=c(2767),b=c(62302),S=g.types;_.exports=class ty{constructor(w,R){if(this._setDefaults(w),w instanceof RegExp)this.ignoreCase=w.ignoreCase,this.multiline=w.multiline,w=w.source;else{if("string"!=typeof w)throw new Error("Expected a regexp or string");this.ignoreCase=R&&-1!==R.indexOf("i"),this.multiline=R&&-1!==R.indexOf("m")}this.tokens=g(w)}_setDefaults(w){this.max=null!=w.max?w.max:null!=ty.prototype.max?ty.prototype.max:100,this.defaultRange=w.defaultRange?w.defaultRange:this.defaultRange.clone(),w.randInt&&(this.randInt=w.randInt)}gen(){return this._gen(this.tokens,[])}_gen(w,R){var L,F,N,B,z;switch(w.type){case S.ROOT:case S.GROUP:if(w.followedBy||w.notFollowedBy)return"";for(w.remember&&void 0===w.groupNumber&&(w.groupNumber=R.push(null)-1),F="",B=0,z=(L=w.options?this._randSelect(w.options):w.stack).length;B<z;B++)F+=this._gen(L[B],R);return w.remember&&(R[w.groupNumber]=F),F;case S.POSITION:return"";case S.SET:var A=this._expand(w);return A.length?String.fromCharCode(this._randSelect(A)):"";case S.REPETITION:for(N=this.randInt(w.min,w.max===1/0?w.min+this.max:w.max),F="",B=0;B<N;B++)F+=this._gen(w.value,R);return F;case S.REFERENCE:return R[w.value-1]||"";case S.CHAR:var M=this.ignoreCase&&this._randBool()?this._toOtherCase(w.value):w.value;return String.fromCharCode(M)}}_toOtherCase(w){return w+(97<=w&&w<=122?-32:65<=w&&w<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(w){return w instanceof b?w.index(this.randInt(0,w.length-1)):w[this.randInt(0,w.length-1)]}_expand(w){if(w.type===g.types.CHAR)return new b(w.value);if(w.type===g.types.RANGE)return new b(w.from,w.to);{let R=new b;for(let L=0;L<w.set.length;L++){let F=this._expand(w.set[L]);if(R.add(F),this.ignoreCase)for(let N=0;N<F.length;N++){let B=F.index(N),z=this._toOtherCase(B);B!==z&&R.add(z)}}return w.not?this.defaultRange.clone().subtract(R):this.defaultRange.clone().intersect(R)}}randInt(w,R){return w+Math.floor(Math.random()*(1+R-w))}get defaultRange(){return this._range=this._range||new b(32,126)}set defaultRange(w){this._range=w}static randexp(w,R){var L;return"string"==typeof w&&(w=new RegExp(w,R)),void 0===w._randexp?(L=new ty(w,R),w._randexp=L):(L=w._randexp)._setDefaults(w),L.gen()}static sugar(){RegExp.prototype.gen=function(){return ty.randexp(this)}}}},73851:(_,k,c)=>{"use strict";function g(oe){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(se){return typeof se}:function(se){return se&&"function"==typeof Symbol&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se})(oe)}Object.defineProperty(k,"__esModule",{value:!0}),k.CopyToClipboard=void 0;var b=w(c(54284)),S=w(c(89093)),C=["text","onCopy","options","children"];function w(oe){return oe&&oe.__esModule?oe:{default:oe}}function R(oe,se){var le=Object.keys(oe);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(oe);se&&(Y=Y.filter(function(_e){return Object.getOwnPropertyDescriptor(oe,_e).enumerable})),le.push.apply(le,Y)}return le}function L(oe){for(var se=1;se<arguments.length;se++){var le=null!=arguments[se]?arguments[se]:{};
1se%2?R(Object(le),!0).forEach(function(Y){ae(oe,Y,le[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(le)):R(Object(le)).forEach(function(Y){Object.defineProperty(oe,Y,Object.getOwnPropertyDescriptor(le,Y))})}return oe}function B(oe,se){if(!(oe instanceof se))throw new TypeError("Cannot call a class as a function")}function z(oe,se){for(var le=0;le<se.length;le++){var Y=se[le];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(oe,Y.key,Y)}}function O(oe,se){return(O=Object.setPrototypeOf||function(Y,_e){return Y.__proto__=_e,Y})(oe,se)}function W(oe,se){if(se&&("object"===g(se)||"function"==typeof se))return se;if(void 0!==se)throw new TypeError("Derived constructors may only return object or undefined");return q(oe)}function q(oe){if(void 0===oe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function te(oe){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(le){return le.__proto__||Object.getPrototypeOf(le)})(oe)}function ae(oe,se,le){return se in oe?Object.defineProperty(oe,se,{value:le,enumerable:!0,configurable:!0,writable:!0}):oe[se]=le,oe}var re=function(oe){!function M(oe,se){if("function"!=typeof se&&null!==se)throw new TypeError("Super expression must either be null or a function");oe.prototype=Object.create(se&&se.prototype,{constructor:{value:oe,writable:!0,configurable:!0}}),Object.defineProperty(oe,"prototype",{writable:!1}),se&&O(oe,se)}(le,oe);var se=function V(oe){var se=function J(){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 _e,Y=te(oe);if(se){var Qe=te(this).constructor;_e=Reflect.construct(Y,arguments,Qe)}else _e=Y.apply(this,arguments);return W(this,_e)}}(le);function le(){var Y;B(this,le);for(var _e=arguments.length,Qe=new Array(_e),We=0;We<_e;We++)Qe[We]=arguments[We];return ae(q(Y=se.call.apply(se,[this].concat(Qe))),"onClick",function(st){var Ve=Y.props,at=Ve.text,vt=Ve.onCopy,Ge=Ve.options,Wt=b.default.Children.only(Ve.children),wt=(0,S.default)(at,Ge);vt&&vt(at,wt),Wt&&Wt.props&&"function"==typeof Wt.props.onClick&&Wt.props.onClick(st)}),Y}return function A(oe,se,le){se&&z(oe.prototype,se),le&&z(oe,le),Object.defineProperty(oe,"prototype",{writable:!1})}(le,[{key:"render",value:function(){var _e=this.props,Ve=_e.children,at=function F(oe,se){if(null==oe)return{};var Y,_e,le=function N(oe,se){if(null==oe)return{};var _e,Qe,le={},Y=Object.keys(oe);for(Qe=0;Qe<Y.length;Qe++)!(se.indexOf(_e=Y[Qe])>=0)&&(le[_e]=oe[_e]);return le}(oe,se);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(oe);for(_e=0;_e<Qe.length;_e++)!(se.indexOf(Y=Qe[_e])>=0)&&(!Object.prototype.propertyIsEnumerable.call(oe,Y)||(le[Y]=oe[Y]))}return le}(_e,C),vt=b.default.Children.only(Ve);return b.default.cloneElement(vt,L(L({},at),{},{onClick:this.onClick}))}}]),le}(b.default.PureComponent);k.CopyToClipboard=re,ae(re,"defaultProps",{onCopy:void 0,options:void 0})},19731:(_,k,c)=>{"use strict";var b=c(73851).CopyToClipboard;b.CopyToClipboard=b,_.exports=b},428:(_,k,c)=>{"use strict";function g(oe){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(se){return typeof se}:function(se){return se&&"function"==typeof Symbol&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se})(oe)}Object.defineProperty(k,"__esModule",{value:!0}),k.DebounceInput=void 0;var b=w(c(54284)),S=w(c(63082)),C=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function w(oe){return oe&&oe.__esModule?oe:{default:oe}}function F(oe,se){var le=Object.keys(oe);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(oe);se&&(Y=Y.filter(function(_e){return Object.getOwnPropertyDescriptor(oe,_e).enumerable})),le.push.apply(le,Y)}return le}function N(oe){for(var se=1;se<arguments.length;se++){var le=null!=arguments[se]?arguments[se]:{};
1se%2?F(Object(le),!0).forEach(function(Y){ae(oe,Y,le[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(le)):F(Object(le)).forEach(function(Y){Object.defineProperty(oe,Y,Object.getOwnPropertyDescriptor(le,Y))})}return oe}function z(oe,se){for(var le=0;le<se.length;le++){var Y=se[le];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(oe,Y.key,Y)}}function O(oe,se){return(O=Object.setPrototypeOf||function(Y,_e){return Y.__proto__=_e,Y})(oe,se)}function W(oe,se){if(se&&("object"===g(se)||"function"==typeof se))return se;if(void 0!==se)throw new TypeError("Derived constructors may only return object or undefined");return q(oe)}function q(oe){if(void 0===oe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return oe}function te(oe){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(le){return le.__proto__||Object.getPrototypeOf(le)})(oe)}function ae(oe,se,le){return se in oe?Object.defineProperty(oe,se,{value:le,enumerable:!0,configurable:!0,writable:!0}):oe[se]=le,oe}var re=function(oe){!function M(oe,se){if("function"!=typeof se&&null!==se)throw new TypeError("Super expression must either be null or a function");oe.prototype=Object.create(se&&se.prototype,{constructor:{value:oe,writable:!0,configurable:!0}}),Object.defineProperty(oe,"prototype",{writable:!1}),se&&O(oe,se)}(le,oe);var se=function V(oe){var se=function J(){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 _e,Y=te(oe);if(se){var Qe=te(this).constructor;_e=Reflect.construct(Y,arguments,Qe)}else _e=Y.apply(this,arguments);return W(this,_e)}}(le);function le(Y){var _e;return function B(oe,se){if(!(oe instanceof se))throw new TypeError("Cannot call a class as a function")}(this,le),ae(q(_e=se.call(this,Y)),"onChange",function(We){We.persist();var st=_e.state.value,Ve=_e.props.minLength;_e.setState({value:We.target.value},function(){var at=_e.state.value;at.length>=Ve?_e.notify(We):st.length>at.length&&_e.notify(N(N({},We),{},{target:N(N({},We.target),{},{value:""})}))})}),ae(q(_e),"onKeyDown",function(We){"Enter"===We.key&&_e.forceNotify(We);var st=_e.props.onKeyDown;st&&(We.persist(),st(We))}),ae(q(_e),"onBlur",function(We){_e.forceNotify(We);var st=_e.props.onBlur;st&&(We.persist(),st(We))}),ae(q(_e),"createNotifier",function(We){if(We<0)_e.notify=function(){return null};else if(0===We)_e.notify=_e.doNotify;else{var st=(0,S.default)(function(Ve){_e.isDebouncing=!1,_e.doNotify(Ve)},We);_e.notify=function(Ve){_e.isDebouncing=!0,st(Ve)},_e.flush=function(){return st.flush()},_e.cancel=function(){_e.isDebouncing=!1,st.cancel()}}}),ae(q(_e),"doNotify",function(){var We=_e.props.onChange;We.apply(void 0,arguments)}),ae(q(_e),"forceNotify",function(We){if(_e.isDebouncing||!(_e.props.debounceTimeout>0)){_e.cancel&&_e.cancel();var Ve=_e.state.value;_e.doNotify(Ve.length>=_e.props.minLength?We:N(N({},We),{},{target:N(N({},We.target),{},{value:Ve})}))}}),_e.isDebouncing=!1,_e.state={value:typeof Y.value>"u"||null===Y.value?"":Y.value},_e.createNotifier(_e.props.debounceTimeout),_e}return function A(oe,se,le){se&&z(oe.prototype,se),le&&z(oe,le),Object.defineProperty(oe,"prototype",{writable:!1})}(le,[{key:"componentDidUpdate",value:function(_e){if(!this.isDebouncing){var Qe=this.props,We=Qe.value,st=Qe.debounceTimeout,Ve=_e.debounceTimeout;typeof We<"u"&&_e.value!==We&&this.state.value!==We&&this.setState({value:We}),st!==Ve&&this.createNotifier(st)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var tn,Gt,_e=this.props,Qe=_e.element,vt=_e.forceNotifyByEnter,Sn=_e.forceNotifyOnBlur,Ge=_e.onKeyDown,Wt=_e.onBlur,wt=_e.inputRef,ln=function R(oe,se){if(null==oe)return{};var Y,_e,le=function L(oe,se){if(null==oe)return{};var _e,Qe,le={},Y=Object.keys(oe);for(Qe=0;Qe<Y.length;Qe++)!(se.indexOf(_e=Y[Qe])>=0)&&(le[_e]=oe[_e]);return le}(oe,se);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(oe);for(_e=0;_e<Qe.length;_e++)!(se.indexOf(Y=Qe[_e])>=0)&&(!Object.prototype.propertyIsEnumerable.call(oe,Y)||(le[Y]=oe[Y]))}return le}(_e,C),Yt=this.state.value;tn=vt?{onKeyDown:this.onKeyDown}:Ge?{onKeyDown:Ge}:{},Gt=Sn?{onBlur:this.onBlur}:Wt?{onBlur:Wt}:{};var nt=wt?{ref:wt}:{};return b.default.createElement(Qe,N(N(N(N({},ln),{},{onChange:this.onChange,value:Yt},tn),Gt),nt))}}]),le}(b.default.PureComponent);k.DebounceInput=re,ae(re,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},15451:(_,k,c)=>{"use strict";var b=c(428).DebounceInput;b.DebounceInput=b,_.exports=b},66509:(_,k,c)=>{"use strict";var g=c(54284),b=c(35943),S=c(44854);function C(d){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+d,E=1;E<arguments.length;E++)y+="&args[]="+encodeURIComponent(arguments[E]);return"Minified React error #"+d+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!g)throw Error(C(227));var w=new Set,R={};function L(d,y){F(d,y),F(d+"Capture",y)}function F(d,y){for(R[d]=y,d=0;d<y.length;d++)w.add(y[d])}var N=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),B=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,z=Object.prototype.hasOwnProperty,A={},M={};function q(d,y,E,$,ce,ke,et){this.acceptsBooleans=2===y||3===y||4===y,this.attributeName=$,this.attributeNamespace=ce,this.mustUseProperty=E,this.propertyName=d,this.type=y,this.sanitizeURL=ke,this.removeEmptyString=et}var J={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(d){J[d]=new q(d,0,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEac
vendor: 4,583 bytes, line 1
1h(function(d){var y=d[0];J[y]=new q(y,1,!1,d[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){J[d]=new q(d,2,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){J[d]=new q(d,2,!1,d,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(d){J[d]=new q(d,3,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){J[d]=new q(d,3,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){J[d]=new q(d,4,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){J[d]=new q(d,6,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){J[d]=new q(d,5,!1,d.toLowerCase(),null,!1,!1)});var te=/[\-:]([a-z])/g;function ae(d){return d[1].toUpperCase()}function re(d,y,E,$){var ce=J.hasOwnProperty(y)?J[y]:null;(null!==ce?0===ce.type:!$&&2<y.length&&("o"===y[0]||"O"===y[0])&&("n"===y[1]||"N"===y[1]))||(function W(d,y,E,$){if(null===y||typeof y>"u"||function V(d,y,E,$){if(null!==E&&0===E.type)return!1;switch(typeof y){case"function":case"symbol":return!0;case"boolean":return!$&&(null!==E?!E.acceptsBooleans:"data-"!==(d=d.toLowerCase().slice(0,5))&&"aria-"!==d);default:return!1}}(d,y,E,$))return!0;if($)return!1;if(null!==E)switch(E.type){case 3:return!y;case 4:return!1===y;case 5:return isNaN(y);case 6:return isNaN(y)||1>y}return!1}(y,E,ce,$)&&(E=null),$||null===ce?function O(d){return!!z.call(M,d)||!z.call(A,d)&&(B.test(d)?M[d]=!0:(A[d]=!0,!1))}(y)&&(null===E?d.removeAttribute(y):d.setAttribute(y,""+E)):ce.mustUseProperty?d[ce.propertyName]=null===E?3!==ce.type&&"":E:(y=ce.attributeName,$=ce.attributeNamespace,null===E?d.removeAttribute(y):(E=3===(ce=ce.type)||4===ce&&!0===E?"":""+E,$?d.setAttributeNS($,y,E):d.setAttribute(y,E))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(d){var y=d.replace(te,ae);J[y]=new q(y,1,!1,d,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(d){var y=d.replace(te,ae);J[y]=new q(y,1,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var y=d.replace(te,ae);J[y]=new q(y,1,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){J[d]=new q(d,1,!1,d.toLowerCase(),null,!1,!1)}),J.xlinkHref=new q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){J[d]=new q(d,1,!1,d.toLowerCase(),null,!0,!0)});var oe=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,se=60103,le=60106,Y=60107,_e=60108,Qe=60114,We=60109,st=60110,Ve=60112,at=60113,vt=60120,Sn=60115,Ge=60116,Wt=60121,wt=60128,ln=60129,Yt=60130,tn=60131;if("function"==typeof Symbol&&Symbol.for){var Gt=Symbol.for;se=Gt("react.element"),le=Gt("react.portal"),Y=Gt("react.fragment"),_e=Gt("react.strict_mode"),Qe=Gt("react.profiler"),We=Gt("react.provider"),st=Gt("react.context"),Ve=Gt("react.forward_ref"),at=Gt("react.suspense"),vt=Gt("react.suspense_list"),Sn=Gt("react.memo"),Ge=Gt("react.lazy"),Wt=Gt("react.block"),Gt("react.scope"),wt=Gt("react.opaque.id"),ln=Gt("react.debug_trace_mode"),Yt=Gt("react.offscreen"),tn=Gt("react.legacy_hidden")}var kn,nt="function"==typeof Symbol&&Symbol.iterator;
1function jt(d){return null===d||"object"!=typeof d?null:"function"==typeof(d=nt&&d[nt]||d["@@iterator"])?d:null}function Bn(d){if(void 0===kn)try{throw Error()}catch(E){var y=E.stack.trim().match(/\n( *(at )?)/);kn=y&&y[1]||""}return"\n"+kn+d}var Jn=!1;function Pr(d,y){if(!d||Jn)return"";Jn=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(y)if(y=function(){throw Error()},Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(y,[])}catch(Jt){var $=Jt}Reflect.construct(d,[],y)}else{try{y.call()}catch(Jt){$=Jt}d.call(y.prototype)}else{try{throw Error()}catch(Jt){$=Jt}d()}}catch(Jt){if(Jt&&$&&"string"==typeof Jt.stack){for(var ce=Jt.stack.split("\n"),ke=$.stack.split("\n"),et=ce.length-1,St=ke.length-1;1<=et&&0<=St&&ce[et]!==ke[St];)St--;for(;1<=et&&0<=St;et--,St--)if(ce[et]!==ke[St]){if(1!==et||1!==St)do{if(et--,0>--St||ce[et]!==ke[St])return"\n"+ce[et].replace(" at new "," at ")}while(1<=et&&0<=St);break}}}finally{Jn=!1,Error.prepareStackTrace=E}return(d=d?d.displayName||d.name:"")?Bn(d):""}function qn(d){switch(d.tag){case 5:return Bn(d.type);case 16:return Bn("Lazy");case 13:return Bn("Suspense");case 19:return Bn("SuspenseList");case 0:case 2:case 15:return Pr(d.type,!1);case 11:return Pr(d.type.render,!1);case 22:return Pr(d.type._render,!1);case 1:return Pr(d.type,!0);default:return""}}function Dr(d){if(null==d)return null;if("function"==typeof d)return d.displayName||d.name||null;if("string"==typeof d)return d;switch(d){case Y:return"Fragment";case le:return"Portal";case Qe:return"Profiler";case _e:return"StrictMode";case at:return"Suspense";case vt:return"SuspenseList"}if("object"==typeof d)switch(d.$$typeof){case st:return(d.displayName||"Context")+".Consumer";case We:return(d._context.displayName||"Context")+".Provider";case Ve:var y=d.render;return y=y.displayName||y.name||"",d.displayName||(""!==y?"ForwardRef("+y+")":"ForwardRef");case Sn:return Dr(d.type);case Wt:return Dr(d._render);case Ge:y=d._payload,d=d._init;try{return Dr(d(y))}catch{}}return null}function ni(d){switch(typeof d){case"boolean":case"number":case"object":case"string":case"undefined":return d;default:return""}}function oi(d){var y=d.type;return(d=d.nodeName)&&"input"===d.toLowerCase()&&("checkbox"===y||"radio"===y)}function Hr(d){d._valueTracker||(d._valueTracker=function Gi(d){var y=oi(d)?"checked":"value",E=Object.getOwnPropertyDescriptor(d.constructor.prototype,y),$=""+d[y];if(!d.hasOwnProperty(y)&&typeof E<"u"&&"function"==typeof E.get&&"function"==typeof E.set){var ce=E.get,ke=E.set;return Object.defineProperty(d,y,{configurable:!0,get:function(){return ce.call(this)},set:function(et){$=""+et,ke.call(this,et)}}),Object.defineProperty(d,y,{enumerable:E.enumerable}),{getValue:function(){return $},setValue:function(et){$=""+et},stopTracking:function(){d._valueTracker=null,delete d[y]}}}}(d))}function ft(d){if(!d)return!1;var y=d._valueTracker;if(!y)return!0;var E=y.getValue(),$="";return d&&($=oi(d)?d.checked?"true":"false":d.value),(d=$)!==E&&(y.setValue(d),!0)}function pe(d){if(typeof(d=d||(typeof document<"u"?document:void 0))>"u")return null;try{return d.activeElement||d.body}catch{return d.body}}function be(d,y){return b({},y,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:y.checked??d._wrapperState.initialChecked})}function xt(d,y){var E=y.defaultValue??"",$=null!=y.checked?y.checked:y.defaultChecked;E=ni(null!=y.value?y.value:E),d._wrapperState={initialChecked:$,initialValue:E,controlled:"checkbox"===y.type||"radio"===y.type?null!=y.checked:null!=y.value}}function Kt(d,y){null!=(y=y.checked)&&re(d,"checked",y,!1)}function Xt(d,y){Kt(d,y);var E=ni(y.value),$=y.type;if(null!=E)"number"===$?(0===E&&""===d.value||d.value!=E)&&(d.value=""+E):d.value!==""+E&&(d.value=""+E);else if("submit"===$||"reset"===$)return void d.removeAttribute("value");y.hasOwnProperty("value")?vn(d,y.type,E):y.hasOwnProperty("defaultValue")&&vn(d,y.type,ni(y.defaultValue)),null==y.checked&&null!=y.defaultChecked&&(d.defaultChecked=!!y.defaultChecked)}function cn(d,y,E){if(y.hasOwnProperty("value")||y.hasOwnProperty("defaultValue")){var $=y.type;if(("submit"===$||"reset"===$)&&null==y.value)return;y=""+d._wrapperState.initialValue,E||y===d.value||(d.value=y),d.defaultValue=y}""!==(E=d.name)&&(d.name=""),d.defaultChecked=!!d._wrapperState.initialChecked,""!==E&&(d.name=E)}function vn(d,y,E){("number"!==y||pe(d.ownerDocument)!==d)&&(null==E?d.defaultValue=""+d._wrapperState.initialValue:d.defaultValue!==""+E&&(d.defaultValue=""+E))}function Nt(d,y){return d=b({children:void 0},y),(y=function X(d){var y="";
vendor: 4,164 bytes, line 1
1return g.Children.forEach(d,function(E){null!=E&&(y+=E)}),y}(y.children))&&(d.children=y),d}function on(d,y,E,$){if(d=d.options,y){y={};for(var ce=0;ce<E.length;ce++)y["$"+E[ce]]=!0;for(E=0;E<d.length;E++)ce=y.hasOwnProperty("$"+d[E].value),d[E].selected!==ce&&(d[E].selected=ce),ce&&$&&(d[E].defaultSelected=!0)}else{for(E=""+ni(E),y=null,ce=0;ce<d.length;ce++){if(d[ce].value===E)return d[ce].selected=!0,void($&&(d[ce].defaultSelected=!0));null!==y||d[ce].disabled||(y=d[ce])}null!==y&&(y.selected=!0)}}function An(d,y){if(null!=y.dangerouslySetInnerHTML)throw Error(C(91));return b({},y,{value:void 0,defaultValue:void 0,children:""+d._wrapperState.initialValue})}function bn(d,y){var E=y.value;if(null==E){if(E=y.children,y=y.defaultValue,null!=E){if(null!=y)throw Error(C(92));if(Array.isArray(E)){if(!(1>=E.length))throw Error(C(93));E=E[0]}y=E}null==y&&(y=""),E=y}d._wrapperState={initialValue:ni(E)}}function Fn(d,y){var E=ni(y.value),$=ni(y.defaultValue);null!=E&&((E=""+E)!==d.value&&(d.value=E),null==y.defaultValue&&d.defaultValue!==E&&(d.defaultValue=E)),null!=$&&(d.defaultValue=""+$)}function Oe(d){var y=d.textContent;y===d._wrapperState.initialValue&&""!==y&&null!==y&&(d.value=y)}var $t_html="http://www.w3.org/1999/xhtml";function Ht(d){switch(d){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function rt(d,y){return null==d||"http://www.w3.org/1999/xhtml"===d?Ht(y):"http://www.w3.org/2000/svg"===d&&"foreignObject"===y?"http://www.w3.org/1999/xhtml":d}var ht,d,en=(d=function(d,y){if("http://www.w3.org/2000/svg"!==d.namespaceURI||"innerHTML"in d)d.innerHTML=y;else{for((ht=ht||document.createElement("div")).innerHTML="<svg>"+y.valueOf().toString()+"</svg>",y=ht.firstChild;d.firstChild;)d.removeChild(d.firstChild);for(;y.firstChild;)d.appendChild(y.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(y,E,$,ce){MSApp.execUnsafeLocalFunction(function(){return d(y,E)})}:d);function lt(d,y){if(y){var E=d.firstChild;if(E&&E===d.lastChild&&3===E.nodeType)return void(E.nodeValue=y)}d.textContent=y}var At={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tt=["Webkit","ms","Moz","O"];function Mt(d,y,E){return null==y||"boolean"==typeof y||""===y?"":E||"number"!=typeof y||0===y||At.hasOwnProperty(d)&&At[d]?(""+y).trim():y+"px"}function nn(d,y){for(var E in d=d.style,y)if(y.hasOwnProperty(E)){var $=0===E.indexOf("--"),ce=Mt(E,y[E],$);"float"===E&&(E="cssFloat"),$?d.setProperty(E,ce):d[E]=ce}}Object.keys(At).forEach(function(d){tt.forEach(function(y){y=y+d.charAt(0).toUpperCase()+d.substring(1),At[y]=At[d]})});var tr=b({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function si(d,y){if(y){if(tr[d]&&(null!=y.children||null!=y.dangerouslySetInnerHTML))throw Error(C(137,d));if(null!=y.dangerouslySetInnerHTML){if(null!=y.children)throw Error(C(60));if("object"!=typeof y.dangerouslySetInnerHTML||!("__html"in y.dangerouslySetInnerHTML))throw Error(C(61))}if(null!=y.style&&"object"!=typeof y.style)throw Error(C(62))}}function Lr(d,y){if(-1===d.indexOf("-"))return"string"==typeof y.is;switch(d){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Nr(d){return(d=d.target||d.srcElement||window).correspondingUseElement&&(d=d.correspondingUseElement),3===d.nodeType?d.parentNode:d}var Ei=null,Wi=null,es=null;
vendor: 8,980 bytes, line 1
1function Ms(d){if(d=T4(d)){if("function"!=typeof Ei)throw Error(C(280));var y=d.stateNode;y&&(y=I4(y),Ei(d.stateNode,d.type,y))}}function Ml(d){Wi?es?es.push(d):es=[d]:Wi=d}function va(){if(Wi){var d=Wi,y=es;if(es=Wi=null,Ms(d),y)for(d=0;d<y.length;d++)Ms(y[d])}}function Oa(d,y){return d(y)}function ya(d,y,E,$,ce){return d(y,E,$,ce)}function Zl(){}var Ra=Oa,Ea=!1,ia=!1;function ol(){(null!==Wi||null!==es)&&(Zl(),va())}function Bo(d,y){var E=d.stateNode;if(null===E)return null;var $=I4(E);if(null===$)return null;E=$[y];e:switch(y){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":($=!$.disabled)||($=!("button"===(d=d.type)||"input"===d||"select"===d||"textarea"===d)),d=!$;break e;default:d=!1}if(d)return null;if(E&&"function"!=typeof E)throw Error(C(231,y,typeof E));return E}var fi=!1;if(N)try{var Dl={};Object.defineProperty(Dl,"passive",{get:function(){fi=!0}}),window.addEventListener("test",Dl,Dl),window.removeEventListener("test",Dl,Dl)}catch{fi=!1}function Cn(d,y,E,$,ce,ke,et,St,Jt){var Wn=Array.prototype.slice.call(arguments,3);try{y.apply(E,Wn)}catch(yi){this.onError(yi)}}var Vn=!1,zn=null,yn=!1,sr=null,Ii={onError:function(d){Vn=!0,zn=d}};function Xr(d,y,E,$,ce,ke,et,St,Jt){Vn=!1,zn=null,Cn.apply(Ii,arguments)}function ws(d){var y=d,E=d;if(d.alternate)for(;y.return;)y=y.return;else{d=y;do{0!=(1026&(y=d).flags)&&(E=y.return),d=y.return}while(d)}return 3===y.tag?E:null}function oa(d){if(13===d.tag){var y=d.memoizedState;if(null===y&&null!==(d=d.alternate)&&(y=d.memoizedState),null!==y)return y.dehydrated}return null}function Ys(d){if(ws(d)!==d)throw Error(C(188))}function ts(d){if(d=function yr(d){var y=d.alternate;if(!y){if(null===(y=ws(d)))throw Error(C(188));return y!==d?null:d}for(var E=d,$=y;;){var ce=E.return;if(null===ce)break;var ke=ce.alternate;if(null===ke){if(null!==($=ce.return)){E=$;continue}break}if(ce.child===ke.child){for(ke=ce.child;ke;){if(ke===E)return Ys(ce),d;if(ke===$)return Ys(ce),y;ke=ke.sibling}throw Error(C(188))}if(E.return!==$.return)E=ce,$=ke;else{for(var et=!1,St=ce.child;St;){if(St===E){et=!0,E=ce,$=ke;break}if(St===$){et=!0,$=ce,E=ke;break}St=St.sibling}if(!et){for(St=ke.child;St;){if(St===E){et=!0,E=ke,$=ce;break}if(St===$){et=!0,$=ke,E=ce;break}St=St.sibling}if(!et)throw Error(C(189))}}if(E.alternate!==$)throw Error(C(190))}if(3!==E.tag)throw Error(C(188));return E.stateNode.current===E?d:y}(d),!d)return null;for(var y=d;;){if(5===y.tag||6===y.tag)return y;if(y.child)y.child.return=y,y=y.child;else{if(y===d)break;for(;!y.sibling;){if(!y.return||y.return===d)return null;y=y.return}y.sibling.return=y.return,y=y.sibling}}return null}function ur(d,y){for(var E=d.alternate;null!==y;){if(y===d||y===E)return!0;y=y.return}return!1}var pi,gi,Ui,Os,bc=!1,uo=[],sa=null,fo=null,La=null,ku=new Map,No=new Map,Oi=[],Tu="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Yu(d,y,E,$,ce){return{blockedOn:d,domEventName:y,eventSystemFlags:16|E,nativeEvent:ce,targetContainers:[$]}}function ir(d,y){switch(d){case"focusin":case"focusout":sa=null;break;case"dragenter":case"dragleave":fo=null;break;case"mouseover":case"mouseout":La=null;break;case"pointerover":case"pointerout":ku.delete(y.pointerId);break;case"gotpointercapture":case"lostpointercapture":No.delete(y.pointerId)}}function Jl(d,y,E,$,ce,ke){return null===d||d.nativeEvent!==ke?(d=Yu(y,E,$,ce,ke),null!==y&&null!==(y=T4(y))&&gi(y),d):(d.eventSystemFlags|=$,y=d.targetContainers,null!==ce&&-1===y.indexOf(ce)&&y.push(ce),d)}function to(d){var y=Rf(d.target);if(null!==y){var E=ws(y);if(null!==E)if(13===(y=E.tag)){if(null!==(y=oa(E)))return d.blockedOn=y,void Os(d.lanePriority,function(){S.unstable_runWithPriority(d.priority,function(){Ui(E)})})}else if(3===y&&E.stateNode.hydrate)return void(d.blockedOn=3===E.tag?E.stateNode.containerInfo:null)}d.blockedOn=null}function di(d){if(null!==d.blockedOn)return!1;for(var y=d.targetContainers;0<y.length;){var E=N0(d.domEventName,d.eventSystemFlags,y[0],d.nativeEvent);if(null!==E)return null!==(y=T4(E))&&gi(y),d.blockedOn=E,!1;y.shift()}return!0}function A2(d,y,E){di(d)&&E.delete(y)}function sl(){for(bc=!1;0<uo.length;){var d=uo[0];if(null!==d.blockedOn){null!==(d=T4(d.blockedOn))&&pi(d);break}for(var y=d.targetContainers;0<y.length;){var E=N0(d.domEventName,d.eventSystemFlags,y[0],d.nativeEvent);if(null!==E){d.blockedOn=E;break}y.shift()}null===d.blockedOn&&uo.shift()}null!==sa&&di(sa)&&(sa=null),null!==fo&&di(fo)&&(fo=null),null!==La&&di(La)&&(La=null),ku.forEach(A2),No.forEach(A2)}function Co(d,y){d.blockedOn===y&&(d.blockedOn=null,bc||(bc=!0,S.unstable_scheduleCallback(S.unstable_NormalPriority,sl)))}function Ks(d){function y(ce){return Co(ce,d)}if(0<uo.length){Co(uo[0],d);for(var E=1;E<uo.length;E++){var $=uo[E];$.blockedOn===d&&($.blockedOn=null)}}for(null!==sa&&Co(sa,d),null!==fo&&Co(fo,d),null!==La&&Co(La,d),ku.forEach(y),No.forEach(y),E=0;E<Oi.length;E++)($=Oi[E]).blockedOn===d&&($.blockedOn=null);for(;0<Oi.length&&null===(E=Oi[0]).blockedOn;)to(E),null===E.blockedOn&&Oi.shift()}function Ql(d,y){var E={};return E[d.toLowerCase()]=y.toLowerCase(),E["Webkit"+d]="webkit"+y,E["Moz"+d]="moz"+y,E}var gu={animationend:Ql("Animation","AnimationEnd"),animationiteration:Ql("Animation","AnimationIteration"),animationstart:Ql("Animation","AnimationStart"),transitionend:Ql("Transition","TransitionEnd")},Nc={},hi={};function qi(d){if(Nc[d])return Nc[d];if(!gu[d])return d;var E,y=gu[d];for(E in y)if(y.hasOwnProperty(E)&&E in hi)return Nc[d]=y[E];return d}N&&(hi=document.createElement("div").style,"AnimationEvent"in window||(delete gu.animationend.animation,delete gu.animationiteration.animation,delete gu.animationstart.animation),"TransitionEvent"in window||delete gu.transitionend.transition);var go=qi("animationend"),Cs=qi("animationiteration"),Aa=qi("animationstart"),Ku=qi("transitionend"),Iu=new Map,Ou=new Map,Qc=["abort","abort",go,"animationEnd",Cs,"animationIteration",Aa,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ku,"transitionEnd","waiting","waiting"];function as(d,y){for(var E=0;E<d.length;E+=2){var $=d[E],ce=d[E+1];ce="on"+(ce[0].toUpperCase()+ce.slice(1)),Ou.set($,y),Iu.set($,ce),L(ce,[$])}}(0,S.unstable_now)();var js=8;function K1(d){if(0!=(1&d))return js=15,1;if(0!=(2&d))return js=14,2;if(0!=(4&d))return js=13,4;var y=24&d;return 0!==y?(js=12,y):0!=(32&d)?(js=11,32):0!=(y=192&d)?(js=10,y):0!=(256&d)?(js=9,256):0!=(y=3584&d)?(js=8,y):0!=(4096&d)?(js=7,4096):0!=(y=4186112&d)?(js=6,y):0!=(y=62914560&d)?(js=5,y):67108864&d?(js=4,67108864):0!=(134217728&d)?(js=3,134217728):0!=(y=805306368&d)?(js=2,y):0!=(1073741824&d)?(js=1,1073741824):(js=8,d)}function pn(d,y){var E=d.pendingLanes;if(0===E)return js=0;var $=0,ce=0,ke=d.expiredLanes,et=d.suspendedLanes,St=d.pingedLanes;if(0!==ke)$=ke,ce=js=15;else if(0!=(ke=134217727&E)){var Jt=ke&~et;0!==Jt?($=K1(Jt),ce=js):0!=(St&=ke)&&($=K1(St),ce=js)}else 0!=(ke=E&~et)?($=K1(ke),ce=js):0!==St&&($=K1(St),ce=js);if(0===$)return 0;if($=E&((0>($=31-ea($))?0:1<<$)<<1)-1,0!==y&&y!==$&&0==(y&et)){if(K1(y),ce<=js)return y;js=ce}if(0!==(y=d.entangledLanes))for(d=d.entanglements,y&=$;0<y;)$|=d[E=31-ea(y)],y&=~(ce=1<<E);return $}function Rn(d){return 0!=(d=-1073741825&d.pendingLanes)?d:1073741824&d?1073741824:0}function Zr(d,y){switch(d){case 15:return 1;case 14:return 2;case 12:return 0===(d=Yo(24&~y))?Zr(10,y):d;case 10:return 0===(d=Yo(192&~y))?Zr(8,y):d;case 8:return 0===(d=Yo(3584&~y))&&0===(d=Yo(4186112&~y))&&(d=512),d;case 2:return 0===(y=Yo(805306368&~y))&&(y=268435456),y}throw Error(C(358,d))}function Yo(d){return d&-d}function vl(d){for(var y=[],E=0;31>E;E++)y.push(d);return y}function Ka(d,y,E){d.pendingLanes|=y;var $=y-1;d.suspendedLanes&=$,d.pingedLanes&=$,(d=d.eventTimes)[y=31-ea(y)]=E}var ea=Math.clz32?Math.clz32:function M2(d){return 0===d?32:31-(Df(d)/yl|0)|0},Df=Math.log,yl=Math.LN2,D2=S.unstable_UserBlockingPriority,O3=S.unstable_runWithPriority,Ji=!0;function x4(d,y,E,$){Ea||Zl();var ce=eu,ke=Ea;Ea=!0;try{ya(ce,d,y,E,$)}finally{(Ea=ke)||ol()}}function R3(d,y,E,$){O3(D2,eu.bind(null,d,y,E,$))}function eu(d,y,E,$){var ce;if(Ji)if((ce=0==(4&y))&&0<uo.length&&-1<Tu.indexOf(d))d=Yu(null,d,y,E,$),uo.push(d);else{var ke=N0(d,y,E,$);
vendor: 4,162 bytes, line 1
1if(null===ke)ce&&ir(d,$);else{if(ce){if(-1<Tu.indexOf(d))return d=Yu(ke,d,y,E,$),void uo.push(d);if(function vo(d,y,E,$,ce){switch(y){case"focusin":return sa=Jl(sa,d,y,E,$,ce),!0;case"dragenter":return fo=Jl(fo,d,y,E,$,ce),!0;case"mouseover":return La=Jl(La,d,y,E,$,ce),!0;case"pointerover":var ke=ce.pointerId;return ku.set(ke,Jl(ku.get(ke)||null,d,y,E,$,ce)),!0;case"gotpointercapture":return No.set(ke=ce.pointerId,Jl(No.get(ke)||null,d,y,E,$,ce)),!0}return!1}(ke,d,y,E,$))return;ir(d,$)}ay(d,y,$,null,E)}}}function N0(d,y,E,$){var ce=Nr($);if(null!==(ce=Rf(ce))){var ke=ws(ce);if(null===ke)ce=null;else{var et=ke.tag;if(13===et){if(null!==(ce=oa(ke)))return ce;ce=null}else if(3===et){if(ke.stateNode.hydrate)return 3===ke.tag?ke.stateNode.containerInfo:null;ce=null}else ke!==ce&&(ce=null)}}return ay(d,y,$,ce,E),null}var Ru=null,vu=null,Fc=null;function w4(){if(Fc)return Fc;var d,$,y=vu,E=y.length,ce="value"in Ru?Ru.value:Ru.textContent,ke=ce.length;for(d=0;d<E&&y[d]===ce[d];d++);var et=E-d;for($=1;$<=et&&y[E-$]===ce[ke-$];$++);return Fc=ce.slice(d,1<$?1-$:void 0)}function Xs(d){var y=d.keyCode;return"charCode"in d?0===(d=d.charCode)&&13===y&&(d=13):d=y,10===d&&(d=13),32<=d||13===d?d:0}function zc(){return!0}function ta(){return!1}function yu(d){function y(E,$,ce,ke,et){for(var St in this._reactName=E,this._targetInst=ce,this.type=$,this.nativeEvent=ke,this.target=et,this.currentTarget=null,d)d.hasOwnProperty(St)&&(this[St]=(E=d[St])?E(ke):ke[St]);return this.isDefaultPrevented=(null!=ke.defaultPrevented?ke.defaultPrevented:!1===ke.returnValue)?zc:ta,this.isPropagationStopped=ta,this}return b(y.prototype,{preventDefault:function(){this.defaultPrevented=!0;var E=this.nativeEvent;E&&(E.preventDefault?E.preventDefault():"unknown"!=typeof E.returnValue&&(E.returnValue=!1),this.isDefaultPrevented=zc)},stopPropagation:function(){var E=this.nativeEvent;E&&(E.stopPropagation?E.stopPropagation():"unknown"!=typeof E.cancelBubble&&(E.cancelBubble=!0),this.isPropagationStopped=zc)},persist:function(){},isPersistent:zc}),y}var ec,al,X1,tu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(d){return d.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},m1=yu(tu),ys=b({},tu,{view:0,detail:0}),xh=yu(ys),bu=b({},ys,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tc,button:0,buttons:0,relatedTarget:function(d){return void 0===d.relatedTarget?d.fromElement===d.srcElement?d.toElement:d.fromElement:d.relatedTarget},movementX:function(d){return"movementX"in d?d.movementX:(d!==X1&&(X1&&"mousemove"===d.type?(ec=d.screenX-X1.screenX,al=d.screenY-X1.screenY):al=ec=0,X1=d),ec)},movementY:function(d){return"movementY"in d?d.movementY:al}}),wd=yu(bu),Ir=yu(b({},bu,{dataTransfer:0})),wh=yu(b({},ys,{relatedTarget:0})),Mi=yu(b({},tu,{animationName:0,elapsedTime:0,pseudoElement:0})),L3=b({},tu,{clipboardData:function(d){return"clipboardData"in d?d.clipboardData:window.clipboardData}}),S4=yu(L3),Ma=yu(b({},tu,{data:0})),Us={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fl={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_c={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function k2(d){var y=this.nativeEvent;return y.getModifierState?y.getModifierState(d):!!(d=_c[d])&&!!y[d]}function tc(){return k2}var Vs=b({},ys,{key:function(d){if(d.key){var y=Us[d.key]||d.key;if("Unidentified"!==y)return y}return"keypress"===d.type?13===(d=Xs(d))?"Enter":String.fromCharCode(d):"keydown"===d.type||"keyup"===d.type?Fl[d.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tc,charCo
vendor: 1,658 bytes, line 1
1de:function(d){return"keypress"===d.type?Xs(d):0},keyCode:function(d){return"keydown"===d.type||"keyup"===d.type?d.keyCode:0},which:function(d){return"keypress"===d.type?Xs(d):"keydown"===d.type||"keyup"===d.type?d.keyCode:0}}),ai=yu(Vs),$s=yu(b({},bu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kf=yu(b({},ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tc})),xc=yu(b({},tu,{propertyName:0,elapsedTime:0,pseudoElement:0})),bs=b({},bu,{deltaX:function(d){return"deltaX"in d?d.deltaX:"wheelDeltaX"in d?-d.wheelDeltaX:0},deltaY:function(d){return"deltaY"in d?d.deltaY:"wheelDeltaY"in d?-d.wheelDeltaY:"wheelDelta"in d?-d.wheelDelta:0},deltaZ:0,deltaMode:0}),Tf=yu(bs),Ch=[9,13,27,32],$o=N&&"CompositionEvent"in window,Xu=null;N&&"documentMode"in document&&(Xu=document.documentMode);var T2=N&&"TextEvent"in window&&!Xu,Sh=N&&(!$o||Xu&&8<Xu&&11>=Xu),If=String.fromCharCode(32),zl=!1;function Cd(d,y){switch(d){case"keyup":return-1!==Ch.indexOf(y.keyCode);case"keydown":return 229!==y.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function I2(d){return"object"==typeof(d=d.detail)&&"data"in d?d.data:null}var rc=!1,G={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ve(d){var y=d&&d.nodeName&&d.nodeName.toLowerCase();return"input"===y?!!G[d.type]:"textarea"===y}function Ie(d,y,E,$){Ml($),0<(y=M4(y,"onChange")).length&&(E=new m1("onChange","change",null,E,$),d.push({event:E,listeners:y}))}
vendor: 4,112 bytes, line 1
1var He=null,yt=null;function Bt(d){Yw(d,0)}function mn(d){if(ft(Zu(d)))return d}function $n(d,y){if("change"===d)return y}var jn=!1;if(N){var cr;if(N){var Wr="oninput"in document;if(!Wr){var ri=document.createElement("div");ri.setAttribute("oninput","return;"),Wr="function"==typeof ri.oninput}cr=Wr}else cr=!1;jn=cr&&(!document.documentMode||9<document.documentMode)}function So(){He&&(He.detachEvent("onpropertychange",Go),yt=He=null)}function Go(d){if("value"===d.propertyName&&mn(yt)){var y=[];if(Ie(y,yt,d,Nr(d)),d=Bt,Ea)d(y);else{Ea=!0;try{Oa(d,y)}finally{Ea=!1,ol()}}}}function aa(d,y,E){"focusin"===d?(So(),yt=E,(He=y).attachEvent("onpropertychange",Go)):"focusout"===d&&So()}function ll(d){if("selectionchange"===d||"keyup"===d||"keydown"===d)return mn(yt)}function g1(d,y){if("click"===d)return mn(y)}function E4(d,y){if("input"===d||"change"===d)return mn(y)}var v1="function"==typeof Object.is?Object.is:function Bw(d,y){return d===y&&(0!==d||1/d==1/y)||d!=d&&y!=y},XO=Object.prototype.hasOwnProperty;function P3(d,y){if(v1(d,y))return!0;if("object"!=typeof d||null===d||"object"!=typeof y||null===y)return!1;var E=Object.keys(d),$=Object.keys(y);if(E.length!==$.length)return!1;for($=0;$<E.length;$++)if(!XO.call(y,E[$])||!v1(d[E[$]],y[E[$]]))return!1;return!0}function Vw(d){for(;d&&d.firstChild;)d=d.firstChild;return d}function Hw(d,y){var $,E=Vw(d);for(d=0;E;){if(3===E.nodeType){if($=d+E.textContent.length,d<=y&&$>=y)return{node:E,offset:y-d};d=$}e:{for(;E;){if(E.nextSibling){E=E.nextSibling;break e}E=E.parentNode}E=void 0}E=Vw(E)}}function jw(d,y){return!(!d||!y)&&(d===y||(!d||3!==d.nodeType)&&(y&&3===y.nodeType?jw(d,y.parentNode):"contains"in d?d.contains(y):!!d.compareDocumentPosition&&!!(16&d.compareDocumentPosition(y))))}function Uw(){for(var d=window,y=pe();y instanceof d.HTMLIFrameElement;){try{var E="string"==typeof y.contentWindow.location.href}catch{E=!1}if(!E)break;y=pe((d=y.contentWindow).document)}return y}function ny(d){var y=d&&d.nodeName&&d.nodeName.toLowerCase();return y&&("input"===y&&("text"===d.type||"search"===d.type||"tel"===d.type||"url"===d.type||"password"===d.type)||"textarea"===y||"true"===d.contentEditable)}var ZO=N&&"documentMode"in document&&11>=document.documentMode,A4=null,ry=null,N3=null,iy=!1;function $w(d,y,E){var $=E.window===E?E.document:9===E.nodeType?E:E.ownerDocument;iy||null==A4||A4!==pe($)||($="selectionStart"in($=A4)&&ny($)?{start:$.selectionStart,end:$.selectionEnd}:{anchorNode:($=($.ownerDocument&&$.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:$.anchorOffset,focusNode:$.focusNode,focusOffset:$.focusOffset},N3&&P3(N3,$)||(N3=$,0<($=M4(ry,"onSelect")).length&&(y=new m1("onSelect","select",null,y,E),d.push({event:y,listeners:$}),y.target=A4)))}as("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),as("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),as(Qc,2);for(var Gw="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),F3=0;F3<Gw.length;F3++)Ou.set(Gw[F3],0);F("onMouseEnter",["mouseout","mouseover"]),F("onMouseLeave",["mouseout","mouseover"]),F("onPointerEnter",["pointerout","pointerover"]),F("onPointerLeave",["pointerout","pointerover"]),L("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),L("onSelect","focusout contextmenu dragend focu
1sin keydown keyup mousedown mouseup selectionchange".split(" ")),L("onBeforeInput",["compositionend","keypress","textInput","paste"]),L("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),L("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),L("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ww=new Set("cancel close invalid load scroll toggle".split(" ").concat(Eh));function qw(d,y,E){var $=d.type||"unknown-event";d.currentTarget=E,function ds(d,y,E,$,ce,ke,et,St,Jt){if(Xr.apply(this,arguments),Vn){if(!Vn)throw Error(C(198));var Wn=zn;Vn=!1,zn=null,yn||(yn=!0,sr=Wn)}}($,y,void 0,d),d.currentTarget=null}function Yw(d,y){y=0!=(4&y);for(var E=0;E<d.length;E++){var $=d[E],ce=$.event;$=$.listeners;e:{var ke=void 0;if(y)for(var et=$.length-1;0<=et;et--){var St=$[et],Jt=St.instance,Wn=St.currentTarget;if(St=St.listener,Jt!==ke&&ce.isPropagationStopped())break e;qw(ce,St,Wn),ke=Jt}else for(et=0;et<$.length;et++){if(Jt=(St=$[et]).instance,Wn=St.currentTarget,St=St.listener,Jt!==ke&&ce.isPropagationStopped())break e;qw(ce,St,Wn),ke=Jt}}}if(yn)throw d=sr,yn=!1,sr=null,d}function Zs(d,y){var E=H3(y),$=d+"__bubble";E.has($)||(sy(y,d,2,!1),E.add($))}var oy="_reactListening"+Math.random().toString(36).slice(2);function Hs(d){d[oy]||(d[oy]=!0,w.forEach(function(y){Ww.has(y)||z5(y,!1,d,null),z5(y,!0,d,null)}))}function z5(d,y,E,$){var ce=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,ke=E;if("selectionchange"===d&&9!==E.nodeType&&(ke=E.ownerDocument),null!==$&&!y&&Ww.has(d)){if("scroll"!==d)return;ce|=2,ke=$}var et=H3(ke),St=d+"__"+(y?"capture":"bubble");et.has(St)||(y&&(ce|=4),sy(ke,d,ce,y),et.add(St))}function sy(d,y,E,$){var ce=Ou.get(y);switch(void 0===ce?2:ce){case 0:ce=x4;break;case 1:ce=R3;break;default:ce=eu}E=ce.bind(null,y,E,d),ce=void 0,!fi||"touchstart"!==y&&"touchmove"!==y&&"wheel"!==y||(ce=!0),d.addEventListener(y,E,$?void 0===ce||{capture:!0,passive:ce}:void 0!==ce&&{passive:ce})}function ay(d,y,E,$,ce){var ke=$;if(0==(1&y)&&0==(2&y)&&null!==$)e:for(;;){if(null===$)return;var et=$.tag;if(3===et||4===et){var St=$.stateNode.containerInfo;if(St===ce||8===St.nodeType&&St.parentNode===ce)break;if(4===et)for(et=$.return;null!==et;){var Jt=et.tag;if((3===Jt||4===Jt)&&((Jt=et.stateNode.containerInfo)===ce||8===Jt.nodeType&&Jt.parentNode===ce))return;et=et.return}for(;null!==St;){if(null===(et=Rf(St)))return;if(5===(Jt=et.tag)||6===Jt){$=ke=et;continue e}St=St.parentNode}}$=$.return}!function Ai(d,y,E){if(ia)return d(y,E);ia=!0;try{Ra(d,y,E)}finally{ia=!1,ol()}}(function(){var Wn=ke,yi=Nr(E),Io=[];e:{var Ar=Iu.get(d);if(void 0!==Ar){var Yi=m1,Mo=d;switch(d){case"keypress":if(0===Xs(E))break e;case"keydown":case"keyup":Yi=ai;break;case"focusin":Mo="focus",Yi=wh;break;case"focusout":Mo="blur",Yi=wh;break;case"beforeblur":case"afterblur":Yi=wh;break;case"click":if(2===E.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Yi=wd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Yi=Ir;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Yi=kf;break;case go:case Cs:case Aa:Yi=Mi;break;case Ku:Yi=xc;break;case"scroll":Yi=xh;break;case"wheel":Yi=Tf;break;case"copy":case"cut":case"paste":Yi=S4;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Yi=$s}var ho=0!=(4&y),Dn=!ho&&"scroll"===d,fn=ho?null!==Ar?Ar+"Capture":null:Ar;ho=[];for(var fr,Mn=Wn;null!==Mn;){var br=(fr=Mn).stateNode;if(5===fr.tag&&null!==br&&(fr=br,null!==fn&&null!=(br=Bo(Mn,fn))&&ho.push(F0(Mn,br,fr))),Dn)break;Mn=Mn.return}0<ho.length&&(Ar=new Yi(Ar,Mo,null,E,yi),Io.push({event:Ar,listeners:ho}))}}
vendor: 8,979 bytes, line 1
1if(0==(7&y)){if(Yi="mouseout"===d||"pointerout"===d,(!(Ar="mouseover"===d||"pointerover"===d)||0!=(16&y)||!(Mo=E.relatedTarget||E.fromElement)||!Rf(Mo)&&!Mo[wc])&&(Yi||Ar)&&(Ar=yi.window===yi?yi:(Ar=yi.ownerDocument)?Ar.defaultView||Ar.parentWindow:window,Yi?(Yi=Wn,null!==(Mo=(Mo=E.relatedTarget||E.toElement)?Rf(Mo):null)&&(Mo!==(Dn=ws(Mo))||5!==Mo.tag&&6!==Mo.tag)&&(Mo=null)):(Yi=null,Mo=Wn),Yi!==Mo)){if(ho=wd,br="onMouseLeave",fn="onMouseEnter",Mn="mouse",("pointerout"===d||"pointerover"===d)&&(ho=$s,br="onPointerLeave",fn="onPointerEnter",Mn="pointer"),Dn=null==Yi?Ar:Zu(Yi),fr=null==Mo?Ar:Zu(Mo),(Ar=new ho(br,Mn+"leave",Yi,E,yi)).target=Dn,Ar.relatedTarget=fr,br=null,Rf(yi)===Wn&&((ho=new ho(fn,Mn+"enter",Mo,E,yi)).target=fr,ho.relatedTarget=Dn,br=ho),Dn=br,Yi&&Mo)t:{for(fn=Mo,Mn=0,fr=ho=Yi;fr;fr=z0(fr))Mn++;for(fr=0,br=fn;br;br=z0(br))fr++;for(;0<Mn-fr;)ho=z0(ho),Mn--;for(;0<fr-Mn;)fn=z0(fn),fr--;for(;Mn--;){if(ho===fn||null!==fn&&ho===fn.alternate)break t;ho=z0(ho),fn=z0(fn)}ho=null}else ho=null;null!==Yi&&z3(Io,Ar,Yi,ho,!1),null!==Mo&&null!==Dn&&z3(Io,Dn,Mo,ho,!0)}if("select"===(Yi=(Ar=Wn?Zu(Wn):window).nodeName&&Ar.nodeName.toLowerCase())||"input"===Yi&&"file"===Ar.type)var Ho=$n;else if(ve(Ar))if(jn)Ho=E4;else{Ho=ll;var Ci=aa}else(Yi=Ar.nodeName)&&"input"===Yi.toLowerCase()&&("checkbox"===Ar.type||"radio"===Ar.type)&&(Ho=g1);switch(Ho&&(Ho=Ho(d,Wn))?Ie(Io,Ho,E,yi):(Ci&&Ci(d,Ar,Wn),"focusout"===d&&(Ci=Ar._wrapperState)&&Ci.controlled&&"number"===Ar.type&&vn(Ar,"number",Ar.value)),Ci=Wn?Zu(Wn):window,d){case"focusin":(ve(Ci)||"true"===Ci.contentEditable)&&(A4=Ci,ry=Wn,N3=null);break;case"focusout":N3=ry=A4=null;break;case"mousedown":iy=!0;break;case"contextmenu":case"mouseup":case"dragend":iy=!1,$w(Io,E,yi);break;case"selectionchange":if(ZO)break;case"keydown":case"keyup":$w(Io,E,yi)}var Wo;if($o)e:{switch(d){case"compositionstart":var _s="onCompositionStart";break e;case"compositionend":_s="onCompositionEnd";break e;case"compositionupdate":_s="onCompositionUpdate";break e}_s=void 0}else rc?Cd(d,E)&&(_s="onCompositionEnd"):"keydown"===d&&229===E.keyCode&&(_s="onCompositionStart");_s&&(Sh&&"ko"!==E.locale&&(rc||"onCompositionStart"!==_s?"onCompositionEnd"===_s&&rc&&(Wo=w4()):(vu="value"in(Ru=yi)?Ru.value:Ru.textContent,rc=!0)),0<(Ci=M4(Wn,_s)).length&&(_s=new Ma(_s,d,null,E,yi),Io.push({event:_s,listeners:Ci}),(Wo||null!==(Wo=I2(E)))&&(_s.data=Wo))),(Wo=T2?function Sd(d,y){switch(d){case"compositionend":return I2(y);case"keypress":return 32!==y.which?null:(zl=!0,If);case"textInput":return(d=y.data)===If&&zl?null:d;default:return null}}(d,E):function D(d,y){if(rc)return"compositionend"===d||!$o&&Cd(d,y)?(d=w4(),Fc=vu=Ru=null,rc=!1,d):null;switch(d){case"paste":default:return null;case"keypress":if(!(y.ctrlKey||y.altKey||y.metaKey)||y.ctrlKey&&y.altKey){if(y.char&&1<y.char.length)return y.char;if(y.which)return String.fromCharCode(y.which)}return null;case"compositionend":return Sh&&"ko"!==y.locale?null:y.data}}(d,E))&&0<(Wn=M4(Wn,"onBeforeInput")).length&&(yi=new Ma("onBeforeInput","beforeinput",null,E,yi),Io.push({event:yi,listeners:Wn}),yi.data=Wo)}Yw(Io,y)})}function F0(d,y,E){return{instance:d,listener:y,currentTarget:E}}function M4(d,y){for(var E=y+"Capture",$=[];null!==d;){var ce=d,ke=ce.stateNode;5===ce.tag&&null!==ke&&(ce=ke,null!=(ke=Bo(d,E))&&$.unshift(F0(d,ke,ce)),null!=(ke=Bo(d,y))&&$.push(F0(d,ke,ce))),d=d.return}return $}function z0(d){if(null===d)return null;do{d=d.return}while(d&&5!==d.tag);return d||null}function z3(d,y,E,$,ce){for(var ke=y._reactName,et=[];null!==E&&E!==$;){var St=E,Jt=St.alternate,Wn=St.stateNode;if(null!==Jt&&Jt===$)break;5===St.tag&&null!==Wn&&(St=Wn,ce?null!=(Jt=Bo(E,ke))&&et.unshift(F0(E,Jt,St)):ce||null!=(Jt=Bo(E,ke))&&et.push(F0(E,Jt,St))),E=E.return}0!==et.length&&d.push({event:y,listeners:et})}function B3(){}var Lu=null,D4=null;function ly(d,y){switch(d){case"button":case"input":case"select":case"textarea":return!!y.autoFocus}return!1}function k4(d,y){return"textarea"===d||"option"===d||"noscript"===d||"string"==typeof y.children||"number"==typeof y.children||"object"==typeof y.dangerouslySetInnerHTML&&null!==y.dangerouslySetInnerHTML&&null!=y.dangerouslySetInnerHTML.__html}var cy="function"==typeof setTimeout?setTimeout:void 0,JO="function"==typeof clearTimeout?clearTimeout:void 0;function _l(d){(1===d.nodeType||9===d.nodeType&&null!=(d=d.body))&&(d.textContent="")}function B0(d){for(;null!=d;d=d.nextSibling){var y=d.nodeType;if(1===y||3===y)break}return d}function Kw(d){d=d.previousSibling;for(var y=0;d;){if(8===d.nodeType){var E=d.data;if("$"===E||"$!"===E||"$?"===E){if(0===y)return d;y--}else"/$"===E&&y++}d=d.previousSibling}return null}var V0=0,V3=Math.random().toString(36).slice(2),Of="__reactFiber$"+V3,O2="__reactProps$"+V3,wc="__reactContainer$"+V3,uy="__reactEvents$"+V3;function Rf(d){var y=d[Of];if(y)return y;for(var E=d.parentNode;E;){if(y=E[wc]||E[Of]){if(E=y.alternate,null!==y.child||null!==E&&null!==E.child)for(d=Kw(d);null!==d;){if(E=d[Of])return E;d=Kw(d)}return y}E=(d=E).parentNode}return null}function T4(d){return!(d=d[Of]||d[wc])||5!==d.tag&&6!==d.tag&&13!==d.tag&&3!==d.tag?null:d}function Zu(d){if(5===d.tag||6===d.tag)return d.stateNode;throw Error(C(33))}function I4(d){return d[O2]||null}function H3(d){var y=d[uy];return void 0===y&&(y=d[uy]=new Set),y}var ko=[],Ah=-1;function Mh(d){return{current:d}}function Pa(d){0>Ah||(d.current=ko[Ah],ko[Ah]=null,Ah--)}function xl(d,y){Ah++,ko[Ah]=d.current,d.current=y}var Ed={},Bc=Mh(Ed),Pu=Mh(!1),Dh=Ed;function gr(d,y){var E=d.type.contextTypes;if(!E)return Ed;var $=d.stateNode;if($&&$.__reactInternalMemoizedUnmaskedChildContext===y)return $.__reactInternalMemoizedMaskedChildContext;var ke,ce={};for(ke in E)ce[ke]=y[ke];return $&&((d=d.stateNode).__reactInternalMemoizedUnmaskedChildContext=y,d.__reactInternalMemoizedMaskedChildContext=ce),ce}function To(d){return null!=d.childContextTypes}function hs(){Pa(Pu),Pa(Bc)}function Ss(d,y,E){if(Bc.current!==Ed)throw Error(C(168));xl(Bc,y),xl(Pu,E)}function Bl(d,y,E){var $=d.stateNode;if(d=y.childContextTypes,"function"!=typeof $.getChildContext)return E;for(var ce in $=$.getChildContext())if(!(ce in d))throw Error(C(108,Dr(y)||"Unknown",ce));return b({},E,$)}function O4(d){return d=(d=d.stateNode)&&d.__reactInternalMemoizedMergedChildContext||Ed,Dh=Bc.current,xl(Bc,d),xl(Pu,Pu.current),!0}function H0(d,y,E){var $=d.stateNode;if(!$)throw Error(C(169));E?(d=Bl(d,y,Dh),$.__reactInternalMemoizedMergedChildContext=d,Pa(Pu),Pa(Bc),xl(Bc,d)):Pa(Pu),xl(Pu,E)}var b1=null,R2=null,B5=S.unstable_runWithPriority,fy=S.unstable_scheduleCallback,V5=S.unstable_cancelCallback,QO=S.unstable_shouldYield,H5=S.unstable_requestPaint,Vc=S.unstable_now,L2=S.unstable_getCurrentPriorityLevel,R4=S.unstable_ImmediatePriority,kh=S.unstable_UserBlockingPriority,Lf=S.unstable_NormalPriority,dy=S.unstable_LowPriority,j5=S.unstable_IdlePriority,U5={},Xw=void 0!==H5?H5:function(){},Z1=null,j0=null,j3=!1,U3=Vc(),ru=1e4>U3?Vc:function(){return Vc()-U3};function Th(){switch(L2()){case R4:return 99;case kh:return 98;case Lf:return 97;case dy:return 96;case j5:return 95;default:throw Error(C(332))}}function $3(d){switch(d){case 99:return R4;case 98:return kh;case 97:return Lf;case 96:return dy;case 95:return j5;default:throw Error(C(332))}}function Ad(d,y){return d=$3(d),B5(d,y)}function U0(d,y,E){return d=$3(d),fy(d,y,E)}function J1(){if(null!==j0){var d=j0;j0=null,V5(d)}$5()}function $5(){if(!j3&&null!==Z1){j3=!0;var d=0;try{var y=Z1;Ad(99,function(){for(;d<y.length;d++){var E=y[d];do{E=E(!0)}while(null!==E)}}),Z1=null}catch(E){throw null!==Z1&&(Z1=Z1.slice(d+1)),fy(R4,J1),E}finally{j3=!1}}}var G5=oe.ReactCurrentBatchConfig;function Q1(d,y){if(d&&d.defaultProps){for(var E in y=b({},y),d=d.defaultProps)void 0===y[E]&&(y[E]=d[E]);return y}return y}var G3=Mh(null),Cc=null,Ju=null,Na=null;function Qu(){Na=Ju=Cc=null}function W5(d){var y=G3.current;Pa(G3),d.type._context._currentValue=y}function $0(d,y){for(;null!==d;){var E=d.alternate;if((d.childLanes&y)===y){if(null===E||(E.childLanes&y)===y)break;E.childLanes|=y}else d.childLanes|=y,null!==E&&(E.childLanes|=y);d=d.return}}function G0(d,y){Cc=d,Na=Ju=null,null!==(d=d.dependencies)&&null!==d.firstContext&&(0!=(d.lanes&y)&&(C1=!0),d.firstContext=null)}function _1(d,y){if(Na!==d&&!1!==y&&0!==y)if(("number"!=typeof y||1073741823===y)&&(Na=d,y=1073741823),y={context:d,observedBits:y,next:null},null===Ju){if(null===Cc)throw Error(C(308));Ju=y,Cc.dependencies={lanes:0,firstContext:y,responders:null}}else Ju=Ju.next=y;return d._currentValue}var Md=!1;function W0(d){d.updateQueue={baseState:d.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function L4(d,y){y.updateQueue===(d=d.updateQueue)&&(y.updateQueue={baseState:d.baseState,firstBaseUpdate:d.firstBaseUpdate,lastBaseUpdate:d.lastBaseUpdate,shared:d.shared,effects:d.effects})}function ef(d,y){return{eventTime:d,lane:y,tag:0,payload:null,callback:null,next:null}}
vendor: 5,575 bytes, line 1
1function Pf(d,y){if(null!==(d=d.updateQueue)){var E=(d=d.shared).pending;null===E?y.next=y:(y.next=E.next,E.next=y),d.pending=y}}function q5(d,y){var E=d.updateQueue,$=d.alternate;if(null===$||E!==($=$.updateQueue))null===(d=E.lastBaseUpdate)?E.firstBaseUpdate=y:d.next=y,E.lastBaseUpdate=y;else{var ce=null,ke=null;if(null!==(E=E.firstBaseUpdate)){do{var et={eventTime:E.eventTime,lane:E.lane,tag:E.tag,payload:E.payload,callback:E.callback,next:null};null===ke?ce=ke=et:ke=ke.next=et,E=E.next}while(null!==E);null===ke?ce=ke=y:ke=ke.next=y}else ce=ke=y;d.updateQueue=E={baseState:$.baseState,firstBaseUpdate:ce,lastBaseUpdate:ke,shared:$.shared,effects:$.effects}}}function P4(d,y,E,$){var ce=d.updateQueue;Md=!1;var ke=ce.firstBaseUpdate,et=ce.lastBaseUpdate,St=ce.shared.pending;if(null!==St){ce.shared.pending=null;var Jt=St,Wn=Jt.next;Jt.next=null,null===et?ke=Wn:et.next=Wn,et=Jt;var yi=d.alternate;if(null!==yi){var Io=(yi=yi.updateQueue).lastBaseUpdate;Io!==et&&(null===Io?yi.firstBaseUpdate=Wn:Io.next=Wn,yi.lastBaseUpdate=Jt)}}if(null!==ke){for(Io=ce.baseState,et=0,yi=Wn=Jt=null;;){var Ar=ke.eventTime;if(($&(St=ke.lane))===St){null!==yi&&(yi=yi.next={eventTime:Ar,lane:0,tag:ke.tag,payload:ke.payload,callback:ke.callback,next:null});e:{var Yi=d,Mo=ke;switch(St=y,Ar=E,Mo.tag){case 1:if("function"==typeof(Yi=Mo.payload)){Io=Yi.call(Ar,Io,St);break e}Io=Yi;break e;case 3:Yi.flags=-4097&Yi.flags|64;case 0:if(null==(St="function"==typeof(Yi=Mo.payload)?Yi.call(Ar,Io,St):Yi))break e;Io=b({},Io,St);break e;case 2:Md=!0}}null!==ke.callback&&(d.flags|=32,null===(St=ce.effects)?ce.effects=[ke]:St.push(ke))}else Ar={eventTime:Ar,lane:St,tag:ke.tag,payload:ke.payload,callback:ke.callback,next:null},null===yi?(Wn=yi=Ar,Jt=Io):yi=yi.next=Ar,et|=St;if(null===(ke=ke.next)){if(null===(St=ce.shared.pending))break;ke=St.next,St.next=null,ce.lastBaseUpdate=St,ce.shared.pending=null}}null===yi&&(Jt=Io),ce.baseState=Jt,ce.firstBaseUpdate=Wn,ce.lastBaseUpdate=yi,q4|=et,d.lanes=et,d.memoizedState=Io}}function P2(d,y,E){if(d=y.effects,y.effects=null,null!==d)for(y=0;y<d.length;y++){var $=d[y],ce=$.callback;if(null!==ce){if($.callback=null,$=E,"function"!=typeof ce)throw Error(C(191,ce));ce.call($)}}}var q0=(new g.Component).refs;function W3(d,y,E,$){E=null==(E=E($,y=d.memoizedState))?y:b({},y,E),d.memoizedState=E,0===d.lanes&&(d.updateQueue.baseState=E)}var q3={isMounted:function(d){return!!(d=d._reactInternals)&&ws(d)===d},enqueueSetState:function(d,y,E){d=d._reactInternals;var $=oc(),ce=Pd(d),ke=ef($,ce);ke.payload=y,null!=E&&(ke.callback=E),Pf(d,ke),Nd(d,ce,$)},enqueueReplaceState:function(d,y,E){d=d._reactInternals;var $=oc(),ce=Pd(d),ke=ef($,ce);ke.tag=1,ke.payload=y,null!=E&&(ke.callback=E),Pf(d,ke),Nd(d,ce,$)},enqueueForceUpdate:function(d,y){d=d._reactInternals;var E=oc(),$=Pd(d),ce=ef(E,$);ce.tag=2,null!=y&&(ce.callback=y),Pf(d,ce),Nd(d,$,E)}};function Y0(d,y,E,$,ce,ke,et){return"function"==typeof(d=d.stateNode).shouldComponentUpdate?d.shouldComponentUpdate($,ke,et):!(y.prototype&&y.prototype.isPureReactComponent&&P3(E,$)&&P3(ce,ke))}function Y3(d,y,E){var $=!1,ce=Ed,ke=y.contextType;return"object"==typeof ke&&null!==ke?ke=_1(ke):(ce=To(y)?Dh:Bc.current,ke=($=null!=($=y.contextTypes))?gr(d,ce):Ed),y=new y(E,ke),d.memoizedState=null!=y.state?y.state:null,y.updater=q3,d.stateNode=y,y._reactInternals=d,$&&((d=d.stateNode).__reactInternalMemoizedUnmaskedChildContext=ce,d.__reactInternalMemoizedMaskedChildContext=ke),y}function hy(d,y,E,$){d=y.state,"function"==typeof y.componentWillReceiveProps&&y.componentWillReceiveProps(E,$),"function"==typeof y.UNSAFE_componentWillReceiveProps&&y.UNSAFE_componentWillReceiveProps(E,$),y.state!==d&&q3.enqueueReplaceState(y,y.state,null)}function Y5(d,y,E,$){var ce=d.stateNode;ce.props=E,ce.state=d.memoizedState,ce.refs=q0,W0(d);var ke=y.contextType;"object"==typeof ke&&null!==ke?ce.context=_1(ke):(ke=To(y)?Dh:Bc.current,ce.context=gr(d,ke)),P4(d,E,ce,$),ce.state=d.memoizedState,"function"==typeof(ke=y.getDerivedStateFromProps)&&(W3(d,y,ke,E),ce.state=d.memoizedState),"function"==typeof y.getDerivedStateFromProps||"function"==typeof ce.getSnapshotBeforeUpdate||"function"!=typeof ce.UNSAFE_componentWillMount&&"function"!=typeof ce.componentWillMount||(y=ce.state,"function"==typeof ce.componentWillMount&&ce.componentWillMount(),"function"==typeof ce.UNSAFE_componentWillMount&&ce.UNSAFE_componentWillMount(),y!==ce.state&&q3.enqueueReplaceState(ce,ce.state,null),P4(d,E,ce,$),ce.state=d.memoizedState),"function"==typeof ce.componentDidMount&&(d.flags|=4)}var K5=Array.isArray;function K3(d,y,E){if(null!==(d=E.ref)&&"function"!=typeof d&&"object"!=typeof d){if(E._owner){if(E=E._owner){if(1!==E.tag)throw Error(C(309));var $=E.stateNode}if(!$)throw Error(C(147,d));var ce=""+d;return null!==y&&null!==y.ref&&"function"==typeof y.ref&&y.ref._stringRef===ce?y.ref:((y=function(ke){var et=$.refs;et===q0&&(et=$.refs={}),null===ke?delete et[ce]:et[ce]=ke})._stringRef=ce,y)}if("string"!=typeof d)throw Error(C(284));if(!E._owner)throw Error(C(290,d))}return d}function Ih(d,y){if("textarea"!==d.type)throw Error(C(31,"[object Object]"===Object.prototype.toString.call(y)?"object with keys {"+Object.keys(y).join(", ")+"}":y))}function X5(d){function y(Dn,fn){if(d){var Mn=Dn.lastEffect;null!==Mn?(Mn.nextEffect=fn,Dn.lastEffect=fn):Dn.firstEffect=Dn.lastEffect=fn,fn.nextEffect=null,fn.flags=8}}function E(Dn,fn){if(!d)return null;for(;null!==fn;)y(Dn,fn),fn=fn.sibling;return null}function $(Dn,fn){for(Dn=new Map;null!==fn;)Dn.set(null!==fn.key?fn.key:fn.index,fn),fn=fn.sibling;return Dn}
vendor: 11,198 bytes, line 1
1function ce(Dn,fn){return(Dn=j2(Dn,fn)).index=0,Dn.sibling=null,Dn}function ke(Dn,fn,Mn){return Dn.index=Mn,d?null!==(Mn=Dn.alternate)?(Mn=Mn.index)<fn?(Dn.flags=2,fn):Mn:(Dn.flags=2,fn):fn}function et(Dn){return d&&null===Dn.alternate&&(Dn.flags=2),Dn}function St(Dn,fn,Mn,fr){return null===fn||6!==fn.tag?((fn=p8(Mn,Dn.mode,fr)).return=Dn,fn):((fn=ce(fn,Mn)).return=Dn,fn)}function Jt(Dn,fn,Mn,fr){return null!==fn&&fn.elementType===Mn.type?((fr=ce(fn,Mn.props)).ref=K3(Dn,fn,Mn),fr.return=Dn,fr):((fr=jh(Mn.type,Mn.key,Mn.props,null,Dn.mode,fr)).ref=K3(Dn,fn,Mn),fr.return=Dn,fr)}function Wn(Dn,fn,Mn,fr){return null===fn||4!==fn.tag||fn.stateNode.containerInfo!==Mn.containerInfo||fn.stateNode.implementation!==Mn.implementation?((fn=Fs(Mn,Dn.mode,fr)).return=Dn,fn):((fn=ce(fn,Mn.children||[])).return=Dn,fn)}function yi(Dn,fn,Mn,fr,br){return null===fn||7!==fn.tag?((fn=Uh(Mn,Dn.mode,fr,br)).return=Dn,fn):((fn=ce(fn,Mn)).return=Dn,fn)}function Io(Dn,fn,Mn){if("string"==typeof fn||"number"==typeof fn)return(fn=p8(""+fn,Dn.mode,Mn)).return=Dn,fn;if("object"==typeof fn&&null!==fn){switch(fn.$$typeof){case se:return(Mn=jh(fn.type,fn.key,fn.props,null,Dn.mode,Mn)).ref=K3(Dn,null,fn),Mn.return=Dn,Mn;case le:return(fn=Fs(fn,Dn.mode,Mn)).return=Dn,fn}if(K5(fn)||jt(fn))return(fn=Uh(fn,Dn.mode,Mn,null)).return=Dn,fn;Ih(Dn,fn)}return null}function Ar(Dn,fn,Mn,fr){var br=null!==fn?fn.key:null;if("string"==typeof Mn||"number"==typeof Mn)return null!==br?null:St(Dn,fn,""+Mn,fr);if("object"==typeof Mn&&null!==Mn){switch(Mn.$$typeof){case se:return Mn.key===br?Mn.type===Y?yi(Dn,fn,Mn.props.children,fr,br):Jt(Dn,fn,Mn,fr):null;case le:return Mn.key===br?Wn(Dn,fn,Mn,fr):null}if(K5(Mn)||jt(Mn))return null!==br?null:yi(Dn,fn,Mn,fr,null);Ih(Dn,Mn)}return null}function Yi(Dn,fn,Mn,fr,br){if("string"==typeof fr||"number"==typeof fr)return St(fn,Dn=Dn.get(Mn)||null,""+fr,br);if("object"==typeof fr&&null!==fr){switch(fr.$$typeof){case se:return Dn=Dn.get(null===fr.key?Mn:fr.key)||null,fr.type===Y?yi(fn,Dn,fr.props.children,br,fr.key):Jt(fn,Dn,fr,br);case le:return Wn(fn,Dn=Dn.get(null===fr.key?Mn:fr.key)||null,fr,br)}if(K5(fr)||jt(fr))return yi(fn,Dn=Dn.get(Mn)||null,fr,br,null);Ih(fn,fr)}return null}return function(Dn,fn,Mn,fr){var br="object"==typeof Mn&&null!==Mn&&Mn.type===Y&&null===Mn.key;br&&(Mn=Mn.props.children);var Ho="object"==typeof Mn&&null!==Mn;if(Ho)switch(Mn.$$typeof){case se:e:{for(Ho=Mn.key,br=fn;null!==br;){if(br.key===Ho){if(7===br.tag){if(Mn.type===Y){E(Dn,br.sibling),(fn=ce(br,Mn.props.children)).return=Dn,Dn=fn;break e}}else if(br.elementType===Mn.type){E(Dn,br.sibling),(fn=ce(br,Mn.props)).ref=K3(Dn,br,Mn),fn.return=Dn,Dn=fn;break e}E(Dn,br);break}y(Dn,br),br=br.sibling}Mn.type===Y?((fn=Uh(Mn.props.children,Dn.mode,fr,Mn.key)).return=Dn,Dn=fn):((fr=jh(Mn.type,Mn.key,Mn.props,null,Dn.mode,fr)).ref=K3(Dn,fn,Mn),fr.return=Dn,Dn=fr)}return et(Dn);case le:e:{for(br=Mn.key;null!==fn;){if(fn.key===br){if(4===fn.tag&&fn.stateNode.containerInfo===Mn.containerInfo&&fn.stateNode.implementation===Mn.implementation){E(Dn,fn.sibling),(fn=ce(fn,Mn.children||[])).return=Dn,Dn=fn;break e}E(Dn,fn);break}y(Dn,fn),fn=fn.sibling}(fn=Fs(Mn,Dn.mode,fr)).return=Dn,Dn=fn}return et(Dn)}if("string"==typeof Mn||"number"==typeof Mn)return Mn=""+Mn,null!==fn&&6===fn.tag?(E(Dn,fn.sibling),(fn=ce(fn,Mn)).return=Dn,Dn=fn):(E(Dn,fn),(fn=p8(Mn,Dn.mode,fr)).return=Dn,Dn=fn),et(Dn);if(K5(Mn))return function Mo(Dn,fn,Mn,fr){for(var br=null,Ho=null,Ci=fn,Wo=fn=0,_s=null;null!==Ci&&Wo<Mn.length;Wo++){Ci.index>Wo?(_s=Ci,Ci=null):_s=Ci.sibling;var Xo=Ar(Dn,Ci,Mn[Wo],fr);if(null===Xo){null===Ci&&(Ci=_s);break}d&&Ci&&null===Xo.alternate&&y(Dn,Ci),fn=ke(Xo,fn,Wo),null===Ho?br=Xo:Ho.sibling=Xo,Ho=Xo,Ci=_s}if(Wo===Mn.length)return E(Dn,Ci),br;if(null===Ci){for(;Wo<Mn.length;Wo++)null!==(Ci=Io(Dn,Mn[Wo],fr))&&(fn=ke(Ci,fn,Wo),null===Ho?br=Ci:Ho.sibling=Ci,Ho=Ci);return br}for(Ci=$(Dn,Ci);Wo<Mn.length;Wo++)null!==(_s=Yi(Ci,Dn,Wo,Mn[Wo],fr))&&(d&&null!==_s.alternate&&Ci.delete(null===_s.key?Wo:_s.key),fn=ke(_s,fn,Wo),null===Ho?br=_s:Ho.sibling=_s,Ho=_s);return d&&Ci.forEach(function(Fd){return y(Dn,Fd)}),br}(Dn,fn,Mn,fr);if(jt(Mn))return function ho(Dn,fn,Mn,fr){var br=jt(Mn);if("function"!=typeof br)throw Error(C(150));if(null==(Mn=br.call(Mn)))throw Error(C(151));for(var Ho=br=null,Ci=fn,Wo=fn=0,_s=null,Xo=Mn.next();null!==Ci&&!Xo.done;Wo++,Xo=Mn.next()){Ci.index>Wo?(_s=Ci,Ci=null):_s=Ci.sibling;var Fd=Ar(Dn,Ci,Xo.value,fr);if(null===Fd){null===Ci&&(Ci=_s);break}d&&Ci&&null===Fd.alternate&&y(Dn,Ci),fn=ke(Fd,fn,Wo),null===Ho?br=Fd:Ho.sibling=Fd,Ho=Fd,Ci=_s}if(Xo.done)return E(Dn,Ci),br;if(null===Ci){for(;!Xo.done;Wo++,Xo=Mn.next())null!==(Xo=Io(Dn,Xo.value,fr))&&(fn=ke(Xo,fn,Wo),null===Ho?br=Xo:Ho.sibling=Xo,Ho=Xo);return br}for(Ci=$(Dn,Ci);!Xo.done;Wo++,Xo=Mn.next())null!==(Xo=Yi(Ci,Dn,Wo,Xo.value,fr))&&(d&&null!==Xo.alternate&&Ci.delete(null===Xo.key?Wo:Xo.key),fn=ke(Xo,fn,Wo),null===Ho?br=Xo:Ho.sibling=Xo,Ho=Xo);return d&&Ci.forEach(function(b8){return y(Dn,b8)}),br}(Dn,fn,Mn,fr);if(Ho&&Ih(Dn,Mn),typeof Mn>"u"&&!br)switch(Dn.tag){case 1:case 22:case 0:case 11:case 15:throw Error(C(152,Dr(Dn.type)||"Component"))}return E(Dn,fn)}}var N4=X5(!0),F4=X5(!1),K0={},tf=Mh(K0),Nf=Mh(K0),z4=Mh(K0);function x1(d){if(d===K0)throw Error(C(174));return d}function B4(d,y){switch(xl(z4,y),xl(Nf,d),xl(tf,K0),d=y.nodeType){case 9:case 11:y=(y=y.documentElement)?y.namespaceURI:rt(null,"");break;default:y=rt(y=(d=8===d?y.parentNode:y).namespaceURI||null,d=d.tagName)}Pa(tf),xl(tf,y)}function N2(){Pa(tf),Pa(Nf),Pa(z4)}function Zw(d){x1(z4.current);var y=x1(tf.current),E=rt(y,d.type);y!==E&&(xl(Nf,d),xl(tf,E))}function X3(d){Nf.current===d&&(Pa(tf),Pa(Nf))}var cl=Mh(0);function Z3(d){for(var y=d;null!==y;){if(13===y.tag){var E=y.memoizedState;if(null!==E&&(null===(E=E.dehydrated)||"$?"===E.data||"$!"===E.data))return y}else if(19===y.tag&&void 0!==y.memoizedProps.revealOrder){if(0!=(64&y.flags))return y}else if(null!==y.child){y.child.return=y,y=y.child;continue}if(y===d)break;for(;null===y.sibling;){if(null===y.return||y.return===d)return null;y=y.return}y.sibling.return=y.return,y=y.sibling}return null}var Sc=null,Dd=null,Nu=!1;function J3(d,y){var E=D1(5,null,null,0);E.elementType="DELETED",E.type="DELETED",E.stateNode=y,E.return=d,E.flags=8,null!==d.lastEffect?(d.lastEffect.nextEffect=E,d.lastEffect=E):d.firstEffect=d.lastEffect=E}function Q3(d,y){switch(d.tag){case 5:return null!==(y=1!==y.nodeType||d.type.toLowerCase()!==y.nodeName.toLowerCase()?null:y)&&(d.stateNode=y,!0);case 6:return null!==(y=""===d.pendingProps||3!==y.nodeType?null:y)&&(d.stateNode=y,!0);default:return!1}}function X0(d){if(Nu){var y=Dd;if(y){var E=y;if(!Q3(d,y)){if(!(y=B0(E.nextSibling))||!Q3(d,y))return d.flags=-1025&d.flags|2,Nu=!1,void(Sc=d);J3(Sc,E)}Sc=d,Dd=B0(y.firstChild)}else d.flags=-1025&d.flags|2,Nu=!1,Sc=d}}function V4(d){for(d=d.return;null!==d&&5!==d.tag&&3!==d.tag&&13!==d.tag;)d=d.return;Sc=d}function em(d){if(d!==Sc)return!1;if(!Nu)return V4(d),Nu=!0,!1;var y=d.type;if(5!==d.tag||"head"!==y&&"body"!==y&&!k4(y,d.memoizedProps))for(y=Dd;y;)J3(d,y),y=B0(y.nextSibling);if(V4(d),13===d.tag){if(!(d=null!==(d=d.memoizedState)?d.dehydrated:null))throw Error(C(317));e:{for(d=d.nextSibling,y=0;d;){if(8===d.nodeType){var E=d.data;if("/$"===E){if(0===y){Dd=B0(d.nextSibling);break e}y--}else"$"!==E&&"$!"!==E&&"$?"!==E||y++}d=d.nextSibling}Dd=null}}else Dd=Sc?B0(d.stateNode.nextSibling):null;return!0}function tm(){Dd=Sc=null,Nu=!1}var Oh=[];function nm(){for(var d=0;d<Oh.length;d++)Oh[d]._workInProgressVersionPrimary=null;Oh.length=0}var Z0=oe.ReactCurrentDispatcher,w1=oe.ReactCurrentBatchConfig,kd=0,Fa=null,iu=null,Ec=null,H4=!1,Ff=!1;function Fu(){throw Error(C(321))}function qr(d,y){if(null===y)return!1;for(var E=0;E<y.length&&E<d.length;E++)if(!v1(d[E],y[E]))return!1;return!0}function j4(d,y,E,$,ce,ke){if(kd=ke,Fa=y,y.memoizedState=null,y.updateQueue=null,y.lanes=0,Z0.current=null===d||null===d.memoizedState?eR:iC,d=E($,ce),Ff){ke=0;do{if(Ff=!1,!(25>ke))throw Error(C(301));ke+=1,Ec=iu=null,y.updateQueue=null,Z0.current=e1,d=E($,ce)}while(Ff)}if(Z0.current=Id,y=null!==iu&&null!==iu.next,kd=0,Ec=iu=Fa=null,H4=!1,y)throw Error(C(300));return d}function Rh(){var d={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ec?Fa.memoizedState=Ec=d:Ec=Ec.next=d,Ec}function Td(){if(null===iu){var d=Fa.alternate;d=null!==d?d.memoizedState:null}else d=iu.next;var y=null===Ec?Fa.memoizedState:Ec.next;if(null!==y)Ec=y,iu=d;else{if(null===d)throw Error(C(310));d={memoizedState:(iu=d).memoizedState,baseState:iu.baseState,baseQueue:iu.baseQueue,queue:iu.queue,next:null},null===Ec?Fa.memoizedState=Ec=d:Ec=Ec.next=d}return Ec}function Xa(d,y){return"function"==typeof y?y(d):y}function zf(d){var y=Td(),E=y.queue;if(null===E)throw Error(C(311));E.lastRenderedReducer=d;var $=iu,ce=$.baseQueue,ke=E.pending;if(null!==ke){if(null!==ce){var et=ce.next;ce.next=ke.next,ke.next=et}$.baseQueue=ce=ke,E.pending=null}if(null!==ce){$=$.baseState;var St=et=ke=null,Jt=ce=ce.next;do{var Wn=Jt.lane;if((kd&Wn)===Wn)null!==St&&(St=St.next={lane:0,action:Jt.action,eagerReducer:Jt.eagerReducer,eagerState:Jt.eagerState,next:null}),$=Jt.eagerReducer===d?Jt.eagerState:d($,Jt.action);else{var yi={lane:Wn,action:Jt.action,eagerReducer:Jt.eagerReducer,eagerState:Jt.eagerState,next:null};null===St?(et=St=yi,ke=$):St=St.next=yi,Fa.lanes|=Wn,q4|=Wn}Jt=Jt.next}while(null!==Jt&&Jt!==ce);null===St?ke=$:St.next=et,v1($,y.memoizedState)||(C1=!0),y.memoizedState=$,y.baseState=ke,y.baseQueue=St,E.lastRenderedState=$}return[y.memoizedState,E.dispatch]}function Bf(d){var y=Td(),E=y.queue;if(null===E)throw Error(C(311));E.lastRenderedReducer=d;var $=E.dispatch,ce=E.pending,ke=y.memoizedState;if(null!==ce){E.pending=null;var et=ce=ce.next;do{ke=d(ke,et.action),et=et.next}while(et!==ce);v1(ke,y.memoizedState)||(C1=!0),y.memoizedState=ke,null===y.baseQueue&&(y.baseState=ke),E.lastRenderedState=ke}return[ke,$]}function Lh(d,y,E){var $=y._getVersion;$=$(y._source);var ce=y._workInProgressVersionPrimary;if(null!==ce?d=ce===$:(d=(kd&(d=d.mutableReadLanes))===d)&&(y._workInProgressVersionPrimary=$,Oh.push(y)),d)return E(y._source);throw Oh.push(y),Error(C(350))}function Z5(d,y,E,$){var ce=xu;if(null===ce)throw Error(C(349));var ke=y._getVersion,et=ke(y._source),St=Z0.current,Jt=St.useState(function(){return Lh(ce,y,E)}),Wn=Jt[1],yi=Jt[0];Jt=Ec;var Io=d.memoizedState,Ar=Io.refs,Yi=Ar.getSnapshot,Mo=Io.source;Io=Io.subscribe;var ho=Fa;return d.memoizedState={refs:Ar,source:y,subscribe:$},St.useEffect(function(){Ar.getSnapshot=E,Ar.setSnapshot=Wn;var Dn=ke(y._source);if(!v1(et,Dn)){Dn=E(y._source),v1(yi,Dn)||(Wn(Dn),Dn=Pd(ho),ce.mutableReadLanes|=Dn&ce.pendingLanes),ce.entangledLanes|=Dn=ce.mutableReadLanes;for(var fn=ce.entanglements,Mn=Dn;0<Mn;){var fr=31-ea(Mn),br=1<<fr;fn[fr]|=Dn,Mn&=~br}}},[E,y,$]),St.useEffect(function(){return $(y._source,function(){var Dn=Ar.getSnapshot,fn=Ar.setSnapshot;try{fn(Dn(y._source));var Mn=Pd(ho);ce.mutableReadLanes|=Mn&ce.pendingLanes}catch(fr){fn(function(){throw fr})}})},[y,$]),v1(Yi,E)&&v1(Mo,y)&&v1(Io,$)||((d={pending:null,dispatch:null,lastRenderedReducer:Xa,lastRenderedState:yi}
vendor: 1,948 bytes, line 1
1).dispatch=Wn=U4.bind(null,Fa,d),Jt.queue=d,Jt.baseQueue=null,yi=Lh(ce,y,E),Jt.memoizedState=Jt.baseState=yi),yi}function rm(d,y,E){return Z5(Td(),d,y,E)}function Vf(d){var y=Rh();return"function"==typeof d&&(d=d()),y.memoizedState=y.baseState=d,d=(d=y.queue={pending:null,dispatch:null,lastRenderedReducer:Xa,lastRenderedState:d}).dispatch=U4.bind(null,Fa,d),[y.memoizedState,d]}function J5(d,y,E,$){return d={tag:d,create:y,destroy:E,deps:$,next:null},null===(y=Fa.updateQueue)?(Fa.updateQueue=y={lastEffect:null},y.lastEffect=d.next=d):null===(E=y.lastEffect)?y.lastEffect=d.next=d:($=E.next,E.next=d,d.next=$,y.lastEffect=d),d}function py(d){return Rh().memoizedState={current:d}}function or(){return Td().memoizedState}function my(d,y,E,$){var ce=Rh();Fa.flags|=d,ce.memoizedState=J5(1|y,E,void 0,void 0===$?null:$)}function gy(d,y,E,$){var ce=Td();$=void 0===$?null:$;var ke=void 0;if(null!==iu){var et=iu.memoizedState;if(ke=et.destroy,null!==$&&qr($,et.deps))return void J5(y,E,ke,$)}Fa.flags|=d,ce.memoizedState=J5(1|y,E,ke,$)}function Jw(d,y){return my(516,4,d,y)}function Q5(d,y){return gy(516,4,d,y)}function Qw(d,y){return gy(4,2,d,y)}function eC(d,y){return"function"==typeof y?(d=d(),y(d),function(){y(null)}):null!=y?(d=d(),y.current=d,function(){y.current=null}):void 0}function tC(d,y,E){return E=null!=E?E.concat([d]):null,gy(4,2,eC.bind(null,y,d),E)}function Ph(){}function nC(d,y){var E=Td();y=void 0===y?null:y;var $=E.memoizedState;return null!==$&&null!==y&&qr(y,$[1])?$[0]:(E.memoizedState=[d,y],d)}function rC(d,y){var E=Td();y=void 0===y?null:y;var $=E.memoizedState;return null!==$&&null!==y&&qr(y,$[1])?$[0]:(d=d(),E.memoizedState=[d,y],d)}function ic(d,y){var E=Th();Ad(98>E?98:E,function(){d(!0)}),Ad(97<E?97:E,function(){var $=w1.transition;w1.transition=1;try{d(!1),y()}finally{w1.transition=$}})}function U4(d,y,E){var $=oc(),ce=Pd(d),ke={lane:ce,action:E,eagerReducer:null,eagerState:null,next:null},et=y.pending;
vendor: 1,190 bytes, line 1
1if(null===et?ke.next=ke:(ke.next=et.next,et.next=ke),y.pending=ke,et=d.alternate,d===Fa||null!==et&&et===Fa)Ff=H4=!0;else{if(0===d.lanes&&(null===et||0===et.lanes)&&null!==(et=y.lastRenderedReducer))try{var St=y.lastRenderedState,Jt=et(St,E);if(ke.eagerReducer=et,ke.eagerState=Jt,v1(Jt,St))return}catch{}Nd(d,ce,$)}}var Id={readContext:_1,useCallback:Fu,useContext:Fu,useEffect:Fu,useImperativeHandle:Fu,useLayoutEffect:Fu,useMemo:Fu,useReducer:Fu,useRef:Fu,useState:Fu,useDebugValue:Fu,useDeferredValue:Fu,useTransition:Fu,useMutableSource:Fu,useOpaqueIdentifier:Fu,unstable_isNewReconciler:!1},eR={readContext:_1,useCallback:function(d,y){return Rh().memoizedState=[d,void 0===y?null:y],d},useContext:_1,useEffect:Jw,useImperativeHandle:function(d,y,E){return E=null!=E?E.concat([d]):null,my(4,2,eC.bind(null,y,d),E)},useLayoutEffect:function(d,y){return my(4,2,d,y)},useMemo:function(d,y){var E=Rh();return y=void 0===y?null:y,d=d(),E.memoizedState=[d,y],d},useReducer:function(d,y,E){var $=Rh();return y=void 0!==E?E(y):y,$.memoizedState=$.baseState=y,d=(d=$.queue={pending:null,dispatch:null,lastRenderedReducer:d,lastRenderedState:y}).dispatch=U4.bind(null,Fa,d),[$.memoizedState,d]}
vendor: 9,713 bytes, line 1
1,useRef:py,useState:Vf,useDebugValue:Ph,useDeferredValue:function(d){var y=Vf(d),E=y[0],$=y[1];return Jw(function(){var ce=w1.transition;w1.transition=1;try{$(d)}finally{w1.transition=ce}},[d]),E},useTransition:function(){var d=Vf(!1),y=d[0];return py(d=ic.bind(null,d[1])),[d,y]},useMutableSource:function(d,y,E){var $=Rh();return $.memoizedState={refs:{getSnapshot:y,setSnapshot:null},source:d,subscribe:E},Z5($,d,y,E)},useOpaqueIdentifier:function(){if(Nu){var d=!1,y=function y1(d){return{$$typeof:wt,toString:d,valueOf:d}}(function(){throw d||(d=!0,E("r:"+(V0++).toString(36))),Error(C(355))}),E=Vf(y)[1];return 0==(2&Fa.mode)&&(Fa.flags|=516,J5(5,function(){E("r:"+(V0++).toString(36))},void 0,null)),y}return Vf(y="r:"+(V0++).toString(36)),y},unstable_isNewReconciler:!1},iC={readContext:_1,useCallback:nC,useContext:_1,useEffect:Q5,useImperativeHandle:tC,useLayoutEffect:Qw,useMemo:rC,useReducer:zf,useRef:or,useState:function(){return zf(Xa)},useDebugValue:Ph,useDeferredValue:function(d){var y=zf(Xa),E=y[0],$=y[1];return Q5(function(){var ce=w1.transition;w1.transition=1;try{$(d)}finally{w1.transition=ce}},[d]),E},useTransition:function(){var d=zf(Xa)[0];return[or().current,d]},useMutableSource:rm,useOpaqueIdentifier:function(){return zf(Xa)[0]},unstable_isNewReconciler:!1},e1={readContext:_1,useCallback:nC,useContext:_1,useEffect:Q5,useImperativeHandle:tC,useLayoutEffect:Qw,useMemo:rC,useReducer:Bf,useRef:or,useState:function(){return Bf(Xa)},useDebugValue:Ph,useDeferredValue:function(d){var y=Bf(Xa),E=y[0],$=y[1];return Q5(function(){var ce=w1.transition;w1.transition=1;try{$(d)}finally{w1.transition=ce}},[d]),E},useTransition:function(){var d=Bf(Xa)[0];return[or().current,d]},useMutableSource:rm,useOpaqueIdentifier:function(){return Bf(Xa)[0]},unstable_isNewReconciler:!1},F2=oe.ReactCurrentOwner,C1=!1;function Hc(d,y,E,$){y.child=null===d?F4(y,null,E,$):N4(y,d.child,E,$)}function J0(d,y,E,$,ce){E=E.render;var ke=y.ref;return G0(y,ce),$=j4(d,y,E,$,ke,ce),null===d||C1?(y.flags|=1,Hc(d,y,$,ce),y.child):(y.updateQueue=d.updateQueue,y.flags&=-517,d.lanes&=~ce,B2(d,y,ce))}function e8(d,y,E,$,ce,ke){if(null===d){var et=E.type;return"function"!=typeof et||h8(et)||void 0!==et.defaultProps||null!==E.compare||void 0!==E.defaultProps?((d=jh(E.type,null,$,y,y.mode,ke)).ref=y.ref,d.return=y,y.child=d):(y.tag=15,y.type=et,vy(d,y,et,$,ce,ke))}return et=d.child,0==(ce&ke)&&(E=null!==(E=E.compare)?E:P3)(ce=et.memoizedProps,$)&&d.ref===y.ref?B2(d,y,ke):(y.flags|=1,(d=j2(et,$)).ref=y.ref,d.return=y,y.child=d)}function vy(d,y,E,$,ce,ke){if(null!==d&&P3(d.memoizedProps,$)&&d.ref===y.ref){if(C1=!1,0==(ke&ce))return y.lanes=d.lanes,B2(d,y,ke);0!=(16384&d.flags)&&(C1=!0)}return yy(d,y,E,$,ke)}function t8(d,y,E){var $=y.pendingProps,ce=$.children,ke=null!==d?d.memoizedState:null;if("hidden"===$.mode||"unstable-defer-without-hiding"===$.mode)if(0==(4&y.mode))y.memoizedState={baseLanes:0},dm(0,E);else{if(0==(1073741824&E))return d=null!==ke?ke.baseLanes|E:E,y.lanes=y.childLanes=1073741824,y.memoizedState={baseLanes:d},dm(0,d),null;y.memoizedState={baseLanes:0},dm(0,null!==ke?ke.baseLanes:E)}else null!==ke?($=ke.baseLanes|E,y.memoizedState=null):$=E,dm(0,$);return Hc(d,y,ce,E),y.child}function oC(d,y){var E=y.ref;(null===d&&null!==E||null!==d&&d.ref!==E)&&(y.flags|=128)}function yy(d,y,E,$,ce){var ke=To(E)?Dh:Bc.current;return ke=gr(y,ke),G0(y,ce),E=j4(d,y,E,$,ke,ce),null===d||C1?(y.flags|=1,Hc(d,y,E,ce),y.child):(y.updateQueue=d.updateQueue,y.flags&=-517,d.lanes&=~ce,B2(d,y,ce))}function n8(d,y,E,$,ce){if(To(E)){var ke=!0;O4(y)}else ke=!1;if(G0(y,ce),null===y.stateNode)null!==d&&(d.alternate=null,y.alternate=null,y.flags|=2),Y3(y,E,$),Y5(y,E,$,ce),$=!0;else if(null===d){var et=y.stateNode,St=y.memoizedProps;et.props=St;var Jt=et.context,Wn=E.contextType;Wn="object"==typeof Wn&&null!==Wn?_1(Wn):gr(y,Wn=To(E)?Dh:Bc.current);var yi=E.getDerivedStateFromProps,Io="function"==typeof yi||"function"==typeof et.getSnapshotBeforeUpdate;Io||"function"!=typeof et.UNSAFE_componentWillReceiveProps&&"function"!=typeof et.componentWillReceiveProps||(St!==$||Jt!==Wn)&&hy(y,et,$,Wn),Md=!1;var Ar=y.memoizedState;et.state=Ar,P4(y,$,et,ce),Jt=y.memoizedState,St!==$||Ar!==Jt||Pu.current||Md?("function"==typeof yi&&(W3(y,E,yi,$),Jt=y.memoizedState),(St=Md||Y0(y,E,St,$,Ar,Jt,Wn))?(Io||"function"!=typeof et.UNSAFE_componentWillMount&&"function"!=typeof et.componentWillMount||("function"==typeof et.componentWillMount&&et.componentWillMount(),"function"==typeof et.UNSAFE_componentWillMount&&et.UNSAFE_componentWillMount()),"function"==typeof et.componentDidMount&&(y.flags|=4)):("function"==typeof et.componentDidMount&&(y.flags|=4),y.memoizedProps=$,y.memoizedState=Jt),et.props=$,et.state=Jt,et.context=Wn,$=St):("function"==typeof et.componentDidMount&&(y.flags|=4),$=!1)}else{et=y.stateNode,L4(d,y),St=y.memoizedProps,Wn=y.type===y.elementType?St:Q1(y.type,St),et.props=Wn,Io=y.pendingProps,Ar=et.context,Jt="object"==typeof(Jt=E.contextType)&&null!==Jt?_1(Jt):gr(y,Jt=To(E)?Dh:Bc.current);var Yi=E.getDerivedStateFromProps;(yi="function"==typeof Yi||"function"==typeof et.getSnapshotBeforeUpdate)||"function"!=typeof et.UNSAFE_componentWillReceiveProps&&"function"!=typeof et.componentWillReceiveProps||(St!==Io||Ar!==Jt)&&hy(y,et,$,Jt),Md=!1,et.state=Ar=y.memoizedState,P4(y,$,et,ce);var Mo=y.memoizedState;St!==Io||Ar!==Mo||Pu.current||Md?("function"==typeof Yi&&(W3(y,E,Yi,$),Mo=y.memoizedState),(Wn=Md||Y0(y,E,Wn,$,Ar,Mo,Jt))?(yi||"function"!=typeof et.UNSAFE_componentWillUpdate&&"function"!=typeof et.componentWillUpdate||("function"==typeof et.componentWillUpdate&&et.componentWillUpdate($,Mo,Jt),"function"==typeof et.UNSAFE_componentWillUpdate&&et.UNSAFE_componentWillUpdate($,Mo,Jt)),"function"==typeof et.componentDidUpdate&&(y.flags|=4),"function"==typeof et.getSnapshotBeforeUpdate&&(y.flags|=256)):("function"!=typeof et.componentDidUpdate||St===d.memoizedProps&&Ar===d.memoizedState||(y.flags|=4),"function"!=typeof et.getSnapshotBeforeUpdate||St===d.memoizedProps&&Ar===d.memoizedState||(y.flags|=256),y.memoizedProps=$,y.memoizedState=Mo),et.props=$,et.state=Mo,et.context=Jt,$=Wn):("function"!=typeof et.componentDidUpdate||St===d.memoizedProps&&Ar===d.memoizedState||(y.flags|=4),"function"!=typeof et.getSnapshotBeforeUpdate||St===d.memoizedProps&&Ar===d.memoizedState||(y.flags|=256),$=!1)}return _u(d,y,E,$,ke,ce)}function _u(d,y,E,$,ce,ke){oC(d,y);var et=0!=(64&y.flags);if(!$&&!et)return ce&&H0(y,E,!1),B2(d,y,ke);$=y.stateNode,F2.current=y;var St=et&&"function"!=typeof E.getDerivedStateFromError?null:$.render();return y.flags|=1,null!==d&&et?(y.child=N4(y,d.child,null,ke),y.child=N4(y,null,St,ke)):Hc(d,y,St,ke),y.memoizedState=$.state,ce&&H0(y,E,!0),y.child}function im(d){var y=d.stateNode;y.pendingContext?Ss(0,y.pendingContext,y.pendingContext!==y.context):y.context&&Ss(0,y.context,!1),B4(d,y.containerInfo)}var om,aC,ep,z2={dehydrated:null,retryLane:0};function sC(d,y,E){var et,$=y.pendingProps,ce=cl.current,ke=!1;return(et=0!=(64&y.flags))||(et=(null===d||null!==d.memoizedState)&&0!=(2&ce)),et?(ke=!0,y.flags&=-65):null!==d&&null===d.memoizedState||void 0===$.fallback||!0===$.unstable_avoidThisFallback||(ce|=1),xl(cl,1&ce),null===d?(void 0!==$.fallback&&X0(y),d=$.children,ce=$.fallback,ke?(d=r8(y,d,ce,E),y.child.memoizedState={baseLanes:E},y.memoizedState=z2,d):"number"==typeof $.unstable_expectedLoadTime?(d=r8(y,d,ce,E),y.child.memoizedState={baseLanes:E},y.memoizedState=z2,y.lanes=33554432,d):((E=t6({mode:"visible",children:d},y.mode,E,null)).return=y,y.child=E)):ke?($=function _y(d,y,E,$,ce){var ke=y.mode,et=d.child;d=et.sibling;var St={mode:"hidden",children:E};return 0==(2&ke)&&y.child!==et?((E=y.child).childLanes=0,E.pendingProps=St,null!==(et=E.lastEffect)?(y.firstEffect=E.firstEffect,y.lastEffect=et,et.nextEffect=null):y.firstEffect=y.lastEffect=null):E=j2(et,St),null!==d?$=j2(d,$):($=Uh($,ke,ce,null)).flags|=2,$.return=y,E.return=y,E.sibling=$,y.child=E,$}(d,y,$.children,$.fallback,E),(ke=y.child).memoizedState=null===(ce=d.child.memoizedState)?{baseLanes:E}:{baseLanes:ce.baseLanes|E},ke.childLanes=d.childLanes&~E,y.memoizedState=z2,$):(E=function by(d,y,E,$){var ce=d.child;return d=ce.sibling,E=j2(ce,{mode:"visible",children:E}),0==(2&y.mode)&&(E.lanes=$),E.return=y,E.sibling=null,null!==d&&(d.nextEffect=null,d.flags=8,y.firstEffect=y.lastEffect=d),y.child=E}(d,y,$.children,E),y.memoizedState=null,E)}function r8(d,y,E,$){var ce=d.mode,ke=d.child;return y={mode:"hidden",children:y},0==(2&ce)&&null!==ke?(ke.childLanes=0,ke.pendingProps=y):ke=t6(y,ce,0,null),E=Uh(E,ce,$,null),ke.return=d,E.return=d,ke.sibling=E,d.child=ke,E}function xy(d,y){d.lanes|=y;var E=d.alternate;null!==E&&(E.lanes|=y),$0(d.return,y)}function i8(d,y,E,$,ce,ke){var et=d.memoizedState;null===et?d.memoizedState={isBackwards:y,rendering:null,renderingStartTime:0,last:$,tail:E,tailMode:ce,lastEffect:ke}:(et.isBackwards=y,et.rendering=null,et.renderingStartTime=0,et.last=$,et.tail=E,et.tailMode=ce,et.lastEffect=ke)}function wy(d,y,E){var $=y.pendingProps,ce=$.revealOrder,ke=$.tail;if(Hc(d,y,$.children,E),0!=(2&($=cl.current)))$=1&$|2,y.flags|=64;else{if(null!==d&&0!=(64&d.flags))e:for(d=y.child;null!==d;){if(13===d.tag)null!==d.memoizedState&&xy(d,E);else if(19===d.tag)xy(d,E);else if(null!==d.child){d.child.return=d,d=d.child;continue}if(d===y)break e;for(;null===d.sibling;){if(null===d.return||d.return===y)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}$&=1}if(xl(cl,$),0==(2&y.mode))y.memoizedState=null;else switch(ce){case"forwards":for(E=y.child,ce=null;null!==E;)null!==(d=E.alternate)&&null===Z3(d)&&(ce=E),E=E.sibling;null===(E=ce)?(ce=y.child,y.child=null):(ce=E.sibling,E.sibling=null),i8(y,!1,ce,E,ke,
vendor: 5,887 bytes, line 1
1y.lastEffect);break;case"backwards":for(E=null,ce=y.child,y.child=null;null!==ce;){if(null!==(d=ce.alternate)&&null===Z3(d)){y.child=ce;break}d=ce.sibling,ce.sibling=E,E=ce,ce=d}i8(y,!0,E,null,ke,y.lastEffect);break;case"together":i8(y,!1,null,null,void 0,y.lastEffect);break;default:y.memoizedState=null}return y.child}function B2(d,y,E){if(null!==d&&(y.dependencies=d.dependencies),q4|=y.lanes,0!=(E&y.childLanes)){if(null!==d&&y.child!==d.child)throw Error(C(153));if(null!==y.child){for(E=j2(d=y.child,d.pendingProps),y.child=E,E.return=y;null!==d.sibling;)(E=E.sibling=j2(d=d.sibling,d.pendingProps)).return=y;E.sibling=null}return y.child}return null}function Nh(d,y){if(!Nu)switch(d.tailMode){case"hidden":y=d.tail;for(var E=null;null!==y;)null!==y.alternate&&(E=y),y=y.sibling;null===E?d.tail=null:E.sibling=null;break;case"collapsed":E=d.tail;for(var $=null;null!==E;)null!==E.alternate&&($=E),E=E.sibling;null===$?y||null===d.tail?d.tail=null:d.tail.sibling=null:$.sibling=null}}function sm(d,y,E){var $=y.pendingProps;switch(y.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return To(y.type)&&hs(),null;case 3:return N2(),Pa(Pu),Pa(Bc),nm(),($=y.stateNode).pendingContext&&($.context=$.pendingContext,$.pendingContext=null),(null===d||null===d.child)&&(em(y)?y.flags|=4:$.hydrate||(y.flags|=256)),null;case 5:X3(y);var ce=x1(z4.current);if(E=y.type,null!==d&&null!=y.stateNode)aC(d,y,E,$),d.ref!==y.ref&&(y.flags|=128);else{if(!$){if(null===y.stateNode)throw Error(C(166));return null}if(d=x1(tf.current),em(y)){E=y.type;var ke=y.memoizedProps;switch(($=y.stateNode)[Of]=y,$[O2]=ke,E){case"dialog":Zs("cancel",$),Zs("close",$);break;case"iframe":case"object":case"embed":Zs("load",$);break;case"video":case"audio":for(d=0;d<Eh.length;d++)Zs(Eh[d],$);break;case"source":Zs("error",$);break;case"img":case"image":case"link":Zs("error",$),Zs("load",$);break;case"details":Zs("toggle",$);break;case"input":xt($,ke),Zs("invalid",$);break;case"select":$._wrapperState={wasMultiple:!!ke.multiple},Zs("invalid",$);break;case"textarea":bn($,ke),Zs("invalid",$)}for(var et in si(E,ke),d=null,ke)ke.hasOwnProperty(et)&&(ce=ke[et],"children"===et?"string"==typeof ce?$.textContent!==ce&&(d=["children",ce]):"number"==typeof ce&&$.textContent!==""+ce&&(d=["children",""+ce]):R.hasOwnProperty(et)&&null!=ce&&"onScroll"===et&&Zs("scroll",$));switch(E){case"input":Hr($),cn($,ke,!0);break;case"textarea":Hr($),Oe($);break;case"select":case"option":break;default:"function"==typeof ke.onClick&&($.onclick=B3)}y.updateQueue=$=d,null!==$&&(y.flags|=4)}else{switch(et=9===ce.nodeType?ce:ce.ownerDocument,d===$t_html&&(d=Ht(E)),d===$t_html?"script"===E?((d=et.createElement("div")).innerHTML="<script><\/script>",d=d.removeChild(d.firstChild)):"string"==typeof $.is?d=et.createElement(E,{is:$.is}):(d=et.createElement(E),"select"===E&&(et=d,$.multiple?et.multiple=!0:$.size&&(et.size=$.size))):d=et.createElementNS(d,E),d[Of]=y,d[O2]=$,om(d,y),y.stateNode=d,et=Lr(E,$),E){case"dialog":Zs("cancel",d),Zs("close",d),ce=$;break;case"iframe":case"object":case"embed":Zs("load",d),ce=$;break;case"video":case"audio":for(ce=0;ce<Eh.length;ce++)Zs(Eh[ce],d);ce=$;break;case"source":Zs("error",d),ce=$;break;case"img":case"image":case"link":Zs("error",d),Zs("load",d),ce=$;break;case"details":Zs("toggle",d),ce=$;break;case"input":xt(d,$),ce=be(d,$),Zs("invalid",d);break;case"option":ce=Nt(d,$);break;case"select":d._wrapperState={wasMultiple:!!$.multiple},ce=b({},$,{value:void 0}),Zs("invalid",d);break;case"textarea":bn(d,$),ce=An(d,$),Zs("invalid",d);break;default:ce=$}si(E,ce);var St=ce;for(ke in St)if(St.hasOwnProperty(ke)){var Jt=St[ke];"style"===ke?nn(d,Jt):"dangerouslySetInnerHTML"===ke?null!=(Jt=Jt?Jt.__html:void 0)&&en(d,Jt):"children"===ke?"string"==typeof Jt?("textarea"!==E||""!==Jt)&<(d,Jt):"number"==typeof Jt&<(d,""+Jt):"suppressContentEditableWarning"!==ke&&"suppressHydrationWarning"!==ke&&"autoFocus"!==ke&&(R.hasOwnProperty(ke)?null!=Jt&&"onScroll"===ke&&Zs("scroll",d):null!=Jt&&re(d,ke,Jt,et))}switch(E){case"input":Hr(d),cn(d,$,!1);break;case"textarea":Hr(d),Oe(d);break;case"option":null!=$.value&&d.setAttribute("value",""+ni($.value));break;case"select":d.multiple=!!$.multiple,null!=(ke=$.value)?on(d,!!$.multiple,ke,!1):null!=$.defaultValue&&on(d,!!$.multiple,$.defaultValue,!0);break;default:"function"==typeof ce.onClick&&(d.onclick=B3)}ly(E,$)&&(y.flags|=4)}null!==y.ref&&(y.flags|=128)}return null;case 6:if(d&&null!=y.stateNode)ep(0,y,d.memoizedProps,$);else{if("string"!=typeof $&&null===y.stateNode)throw Error(C(166));E=x1(z4.current),x1(tf.current),em(y)?(E=y.memoizedProps,($=y.stateNode)[Of]=y,$.nodeValue!==E&&(y.flags|=4)):(($=(9===E.nodeType?E:E.ownerDocument).createTextNode($))[Of]=y,y.stateNode=$)}return null;case 13:return Pa(cl),$=y.memoizedState,0!=(64&y.flags)?(y.lanes=E,y):($=null!==$,E=!1,null===d?void 0!==y.memoizedProps.fallback&&em(y):E=null!==d.memoizedState,$&&!E&&0!=(2&y.mode)&&(null===d&&!0!==y.memoizedProps.unstable_avoidThisFallback||0!=(1&cl.current)?0===Ac&&(Ac=3):((0===Ac||3===Ac)&&(Ac=4),null===xu||0==(134217727&q4)&&0==(134217727&rp)||Mc(xu,Vl))),($||E)&&(y.flags|=4),null);case 4:return N2(),null===d&&Hs(y.stateNode.containerInfo),null;case 10:return W5(y),null;case 19:if(Pa(cl),null===($=y.memoizedState))return null;if(ke=0!=(64&y.flags),null===(et=$.rendering))if(ke)Nh($,!1);else{if(0!==Ac||null!==d&&0!=(64&d.flags))for(d=y.child;null!==d;){if(null!==(et=Z3(d))){for(y.flags|=64,Nh($,!1),null!==(ke=et.updateQueue)&&(y.updateQueue=ke,y.flags|=4),null===$.lastEffect&&(y.firstEffect=null),y.lastEffect=$.lastEffect,$=E,E=y.child;null!==E;)d=$,(ke=E).flags&=2,ke.nextEffect=null,ke.firstEffect=null,ke.lastEffect=null,null===(et=ke.alternate)?(ke.childLanes=0,ke.lanes=d,ke.child=null,ke.memoizedProps=null,ke.memoizedState=null,ke.updateQueue=null,ke.depen
vendor: 4,549 bytes, line 1
1dencies=null,ke.stateNode=null):(ke.childLanes=et.childLanes,ke.lanes=et.lanes,ke.child=et.child,ke.memoizedProps=et.memoizedProps,ke.memoizedState=et.memoizedState,ke.updateQueue=et.updateQueue,ke.type=et.type,ke.dependencies=null===(d=et.dependencies)?null:{lanes:d.lanes,firstContext:d.firstContext}),E=E.sibling;return xl(cl,1&cl.current|2),y.child}d=d.sibling}null!==$.tail&&ru()>c8&&(y.flags|=64,ke=!0,Nh($,!1),y.lanes=33554432)}else{if(!ke)if(null!==(d=Z3(et))){if(y.flags|=64,ke=!0,null!==(E=d.updateQueue)&&(y.updateQueue=E,y.flags|=4),Nh($,!0),null===$.tail&&"hidden"===$.tailMode&&!et.alternate&&!Nu)return null!==(y=y.lastEffect=$.lastEffect)&&(y.nextEffect=null),null}else 2*ru()-$.renderingStartTime>c8&&1073741824!==E&&(y.flags|=64,ke=!0,Nh($,!1),y.lanes=33554432);$.isBackwards?(et.sibling=y.child,y.child=et):(null!==(E=$.last)?E.sibling=et:y.child=et,$.last=et)}return null!==$.tail?($.rendering=E=$.tail,$.tail=E.sibling,$.lastEffect=y.lastEffect,$.renderingStartTime=ru(),E.sibling=null,y=cl.current,xl(cl,ke?1&y|2:1&y),E):null;case 23:case 24:return u8(),null!==d&&null!==d.memoizedState!=(null!==y.memoizedState)&&"unstable-defer-without-hiding"!==$.mode&&(y.flags|=4),null}throw Error(C(156,y.tag))}function lC(d){switch(d.tag){case 1:To(d.type)&&hs();var y=d.flags;return 4096&y?(d.flags=-4097&y|64,d):null;case 3:if(N2(),Pa(Pu),Pa(Bc),nm(),0!=(64&(y=d.flags)))throw Error(C(285));return d.flags=-4097&y|64,d;case 5:return X3(d),null;case 13:return Pa(cl),4096&(y=d.flags)?(d.flags=-4097&y|64,d):null;case 19:return Pa(cl),null;case 4:return N2(),null;case 10:return W5(d),null;case 23:case 24:return u8(),null;default:return null}}function o8(d,y){try{var E="",$=y;do{E+=qn($),$=$.return}while($);var ce=E}catch(ke){ce="\nError generating stack: "+ke.message+"\n"+ke.stack}return{value:d,source:y,stack:ce}}function s8(d,y){try{console.error(y.value)}catch(E){setTimeout(function(){throw E})}}om=function(d,y){for(var E=y.child;null!==E;){if(5===E.tag||6===E.tag)d.appendChild(E.stateNode);else if(4!==E.tag&&null!==E.child){E.child.return=E,E=E.child;continue}if(E===y)break;for(;null===E.sibling;){if(null===E.return||E.return===y)return;E=E.return}E.sibling.return=E.return,E=E.sibling}},aC=function(d,y,E,$){var ce=d.memoizedProps;if(ce!==$){d=y.stateNode,x1(tf.current);var et,ke=null;switch(E){case"input":ce=be(d,ce),$=be(d,$),ke=[];break;case"option":ce=Nt(d,ce),$=Nt(d,$),ke=[];break;case"select":ce=b({},ce,{value:void 0}),$=b({},$,{value:void 0}),ke=[];break;case"textarea":ce=An(d,ce),$=An(d,$),ke=[];break;default:"function"!=typeof ce.onClick&&"function"==typeof $.onClick&&(d.onclick=B3)}for(Wn in si(E,$),E=null,ce)if(!$.hasOwnProperty(Wn)&&ce.hasOwnProperty(Wn)&&null!=ce[Wn])if("style"===Wn){var St=ce[Wn];for(et in St)St.hasOwnProperty(et)&&(E||(E={}),E[et]="")}else"dangerouslySetInnerHTML"!==Wn&&"children"!==Wn&&"suppressContentEditableWarning"!==Wn&&"suppressHydrationWarning"!==Wn&&"autoFocus"!==Wn&&(R.hasOwnProperty(Wn)?ke||(ke=[]):(ke=ke||[]).push(Wn,null));for(Wn in $){var Jt=$[Wn];if(St=ce?.[Wn],$.hasOwnProperty(Wn)&&Jt!==St&&(null!=Jt||null!=St))if("style"===Wn)if(St){for(et in St)!St.hasOwnProperty(et)||Jt&&Jt.hasOwnProperty(et)||(E||(E={}),E[et]="");for(et in Jt)Jt.hasOwnProperty(et)&&St[et]!==Jt[et]&&(E||(E={}),E[et]=Jt[et])}else E||(ke||(ke=[]),ke.push(Wn,E)),E=Jt;else"dangerouslySetInnerHTML"===Wn?(St=St?St.__html:void 0,null!=(Jt=Jt?Jt.__html:void 0)&&St!==Jt&&(ke=ke||[]).push(Wn,Jt)):"children"===Wn?"string"!=typeof Jt&&"number"!=typeof Jt||(ke=ke||[]).push(Wn,""+Jt):"suppressContentEditableWarning"!==Wn&&"suppressHydrationWarning"!==Wn&&(R.hasOwnProperty(Wn)?(null!=Jt&&"onScroll"===Wn&&Zs("scroll",d),ke||St===Jt||(ke=[])):"object"==typeof Jt&&null!==Jt&&Jt.$$typeof===wt?Jt.toString():(ke=ke||[]).push(Wn,Jt))}E&&(ke=ke||[]).push("style",E);var Wn=ke;(y.updateQueue=Wn)&&(y.flags|=4)}},ep=function(d,y,E,$){E!==$&&(y.flags|=4)};var Cy="function"==typeof WeakMap?WeakMap:Map;function tp(d,y,E){(E=ef(-1,E)).tag=3,E.payload={element:null};var $=y.value;return E.callback=function(){Y4||(Y4=!0,Iy=$),s8(0,y)},E}function Fh(d,y,E){(E=ef(-1,E)).tag=3;var $=d.type.getDerivedStateFromError;if("function"==typeof $){var ce=y.value;E.payload=function(){return s8(0,y),$(ce)}}var ke=d.stateNode;return null!==ke&&"function"==typeof ke.componentDidCatch&&(E.callback=function(){"function"!=typeof $&&(null===E1?E1=new Set([this]):E1.add(this),s8(0,y));var et=y.stack;this.componentDidCatch(y.value,{componentStack:null!==et?et:""})}),E}var cC="function"==typeof WeakSet?WeakSet:Set;
vendor: 4,554 bytes, line 1
1function qt(d){var y=d.ref;if(null!==y)if("function"==typeof y)try{y(null)}catch(E){Uf(d,E)}else y.current=null}function Sy(d,y){switch(y.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&y.flags&&null!==d){var E=d.memoizedProps,$=d.memoizedState;y=(d=y.stateNode).getSnapshotBeforeUpdate(y.elementType===y.type?E:Q1(y.type,E),$),d.__reactInternalSnapshotBeforeUpdate=y}return;case 3:return void(256&y.flags&&_l(y.stateNode.containerInfo))}throw Error(C(163))}function la(d,y,E){switch(E.tag){case 0:case 11:case 15:case 22:if(null!==(y=null!==(y=E.updateQueue)?y.lastEffect:null)){d=y=y.next;do{if(3==(3&d.tag)){var $=d.create;d.destroy=$()}d=d.next}while(d!==y)}if(null!==(y=null!==(y=E.updateQueue)?y.lastEffect:null)){d=y=y.next;do{var ce=d;$=ce.next,0!=(4&(ce=ce.tag))&&0!=(1&ce)&&(hC(E,d),tR(E,d)),d=$}while(d!==y)}return;case 1:return d=E.stateNode,4&E.flags&&(null===y?d.componentDidMount():($=E.elementType===E.type?y.memoizedProps:Q1(E.type,y.memoizedProps),d.componentDidUpdate($,y.memoizedState,d.__reactInternalSnapshotBeforeUpdate))),void(null!==(y=E.updateQueue)&&P2(E,y,d));case 3:if(null!==(y=E.updateQueue)){if(d=null,null!==E.child)switch(E.child.tag){case 5:case 1:d=E.child.stateNode}P2(E,y,d)}return;case 5:return d=E.stateNode,void(null===y&&4&E.flags&&ly(E.type,E.memoizedProps)&&d.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===E.memoizedState&&(E=E.alternate,null!==E&&(E=E.memoizedState,null!==E&&(E=E.dehydrated,null!==E&&Ks(E)))))}throw Error(C(163))}function am(d,y){for(var E=d;;){if(5===E.tag){var $=E.stateNode;if(y)"function"==typeof($=$.style).setProperty?$.setProperty("display","none","important"):$.display="none";else{$=E.stateNode;var ce=E.memoizedProps.style;ce=null!=ce&&ce.hasOwnProperty("display")?ce.display:null,$.style.display=Mt("display",ce)}}else if(6===E.tag)E.stateNode.nodeValue=y?"":E.memoizedProps;else if((23!==E.tag&&24!==E.tag||null===E.memoizedState||E===d)&&null!==E.child){E.child.return=E,E=E.child;continue}if(E===d)break;for(;null===E.sibling;){if(null===E.return||E.return===d)return;E=E.return}E.sibling.return=E.return,E=E.sibling}}function np(d,y){if(R2&&"function"==typeof R2.onCommitFiberUnmount)try{R2.onCommitFiberUnmount(b1,y)}catch{}switch(y.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(d=y.updateQueue)&&null!==(d=d.lastEffect)){var E=d=d.next;do{var $=E,ce=$.destroy;if($=$.tag,void 0!==ce)if(0!=(4&$))hC(y,E);else{$=y;try{ce()}catch(ke){Uf($,ke)}}E=E.next}while(E!==d)}break;case 1:if(qt(y),"function"==typeof(d=y.stateNode).componentWillUnmount)try{d.props=y.memoizedProps,d.state=y.memoizedState,d.componentWillUnmount()}catch(ke){Uf(y,ke)}break;case 5:qt(y);break;case 4:a8(d,y)}}function Ey(d){d.alternate=null,d.child=null,d.dependencies=null,d.firstEffect=null,d.lastEffect=null,d.memoizedProps=null,d.memoizedState=null,d.pendingProps=null,d.return=null,d.updateQueue=null}function Ay(d){return 5===d.tag||3===d.tag||4===d.tag}function My(d){e:{for(var y=d.return;null!==y;){if(Ay(y))break e;y=y.return}throw Error(C(160))}var E=y;switch(y=E.stateNode,E.tag){case 5:var $=!1;break;case 3:case 4:y=y.containerInfo,$=!0;break;default:throw Error(C(161))}16&E.flags&&(lt(y,""),E.flags&=-17);e:t:for(E=d;;){for(;null===E.sibling;){if(null===E.return||Ay(E.return)){E=null;break e}E=E.return}for(E.sibling.return=E.return,E=E.sibling;5!==E.tag&&6!==E.tag&&18!==E.tag;){if(2&E.flags||null===E.child||4===E.tag)continue t;E.child.return=E,E=E.child}if(!(2&E.flags)){E=E.stateNode;break e}}$?$4(d,E,y):S1(d,E,y)}function $4(d,y,E){var $=d.tag,ce=5===$||6===$;if(ce)d=ce?d.stateNode:d.stateNode.instance,y?8===E.nodeType?E.parentNode.insertBefore(d,y):E.insertBefore(d,y):(8===E.nodeType?(y=E.parentNode).insertBefore(d,E):(y=E).appendChild(d),null!=(E=E._reactRootContainer)||null!==y.onclick||(y.onclick=B3));else if(4!==$&&null!==(d=d.child))for($4(d,y,E),d=d.sibling;null!==d;)$4(d,y,E),d=d.sibling}function S1(d,y,E){var $=d.tag,ce=5===$||6===$;if(ce)d=ce?d.stateNode:d.stateNode.instance,y?E.insertBefore(d,y):E.appendChild(d);else if(4!==$&&null!==(d=d.child))for(S1(d,y,E),d=d.sibling;null!==d;)S1(d,y,E),d=d.sibling}function a8(d,y){for(var ce,ke,E=y,$=!1;;){if(!$){$=E.return;e:for(;;){if(null===$)throw Error(C(160));switch(ce=$.stateNode,$.tag){case 5:ke=!1;break e;case 3:case 4:ce=ce.containerInfo,ke=!0;break e}$=$.return}$=!0}if(5===E.tag||6===E.tag){e:for(var et=d,St=E,Jt=St;;)if(np(et,Jt),null!==Jt.child&&4!==Jt.tag)Jt.child.return=Jt,Jt=Jt.child;
vendor: 9,241 bytes, line 1
1else{if(Jt===St)break e;for(;null===Jt.sibling;){if(null===Jt.return||Jt.return===St)break e;Jt=Jt.return}Jt.sibling.return=Jt.return,Jt=Jt.sibling}ke?(St=E.stateNode,8===(et=ce).nodeType?et.parentNode.removeChild(St):et.removeChild(St)):ce.removeChild(E.stateNode)}else if(4===E.tag){if(null!==E.child){ce=E.stateNode.containerInfo,ke=!0,E.child.return=E,E=E.child;continue}}else if(np(d,E),null!==E.child){E.child.return=E,E=E.child;continue}if(E===y)break;for(;null===E.sibling;){if(null===E.return||E.return===y)return;4===(E=E.return).tag&&($=!1)}E.sibling.return=E.return,E=E.sibling}}function Hf(d,y){switch(y.tag){case 0:case 11:case 14:case 15:case 22:var E=y.updateQueue;if(null!==(E=null!==E?E.lastEffect:null)){var $=E=E.next;do{3==(3&$.tag)&&(d=$.destroy,$.destroy=void 0,void 0!==d&&d()),$=$.next}while($!==E)}return;case 1:case 12:case 17:return;case 5:if(null!=(E=y.stateNode)){$=y.memoizedProps;var ce=null!==d?d.memoizedProps:$;d=y.type;var ke=y.updateQueue;if(y.updateQueue=null,null!==ke){for(E[O2]=$,"input"===d&&"radio"===$.type&&null!=$.name&&Kt(E,$),Lr(d,ce),y=Lr(d,$),ce=0;ce<ke.length;ce+=2){var et=ke[ce],St=ke[ce+1];"style"===et?nn(E,St):"dangerouslySetInnerHTML"===et?en(E,St):"children"===et?lt(E,St):re(E,et,St,y)}switch(d){case"input":Xt(E,$);break;case"textarea":Fn(E,$);break;case"select":d=E._wrapperState.wasMultiple,E._wrapperState.wasMultiple=!!$.multiple,null!=(ke=$.value)?on(E,!!$.multiple,ke,!1):d!==!!$.multiple&&(null!=$.defaultValue?on(E,!!$.multiple,$.defaultValue,!0):on(E,!!$.multiple,$.multiple?[]:"",!1))}}}return;case 6:if(null===y.stateNode)throw Error(C(162));return void(y.stateNode.nodeValue=y.memoizedProps);case 3:return void((E=y.stateNode).hydrate&&(E.hydrate=!1,Ks(E.containerInfo)));case 13:return null!==y.memoizedState&&(um=ru(),am(y.child,!0)),void Dy(y);case 19:return void Dy(y);case 23:case 24:return void am(y,null!==y.memoizedState)}throw Error(C(163))}function Dy(d){var y=d.updateQueue;if(null!==y){d.updateQueue=null;var E=d.stateNode;null===E&&(E=d.stateNode=new cC),y.forEach(function($){var ce=iR.bind(null,d,$);E.has($)||(E.add($),$.then(ce,ce))})}}function ky(d,y){return null!==d&&(null===(d=d.memoizedState)||null!==d.dehydrated)&&null!==(y=y.memoizedState)&&null===y.dehydrated}var G4=Math.ceil,zh=oe.ReactCurrentDispatcher,lm=oe.ReactCurrentOwner,Fo=0,xu=null,Za=null,Vl=0,Bh=0,Ty=Mh(0),Ac=0,cm=null,W4=0,q4=0,rp=0,l8=0,ip=null,um=0,c8=1/0;function Vh(){c8=ru()+500}var d8,Fi=null,Y4=!1,Iy=null,E1=null,Od=!1,op=null,Rd=90,K4=[],Ld=[],V2=null,X4=0,Oy=null,Hh=-1,nf=0,Z4=0,sp=null,J4=!1;function oc(){return 0!=(48&Fo)?ru():-1!==Hh?Hh:Hh=ru()}function Pd(d){if(0==(2&(d=d.mode)))return 1;if(0==(4&d))return 99===Th()?1:2;if(0===nf&&(nf=W4),0!==G5.transition){0!==Z4&&(Z4=null!==ip?ip.pendingLanes:0),d=nf;var y=4186112&~Z4;return 0==(y&=-y)&&0==(y=(d=4186112&~d)&-d)&&(y=8192),y}return d=Th(),d=Zr(0!=(4&Fo)&&98===d?12:d=function _h(d){switch(d){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(d),nf)}function Nd(d,y,E){if(50<X4)throw X4=0,Oy=null,Error(C(185));if(null===(d=fm(d,y)))return null;Ka(d,y,E),d===xu&&(rp|=y,4===Ac&&Mc(d,Vl));var $=Th();1===y?0!=(8&Fo)&&0==(48&Fo)?M1(d):(A1(d,E),0===Fo&&(Vh(),J1())):(0==(4&Fo)||98!==$&&99!==$||(null===V2?V2=new Set([d]):V2.add(d)),A1(d,E)),ip=d}function fm(d,y){d.lanes|=y;var E=d.alternate;for(null!==E&&(E.lanes|=y),E=d,d=d.return;null!==d;)d.childLanes|=y,null!==(E=d.alternate)&&(E.childLanes|=y),E=d,d=d.return;return 3===E.tag?E.stateNode:null}function A1(d,y){for(var E=d.callbackNode,$=d.suspendedLanes,ce=d.pingedLanes,ke=d.expirationTimes,et=d.pendingLanes;0<et;){var St=31-ea(et),Jt=1<<St,Wn=ke[St];-1===Wn?0!=(Jt&$)&&0==(Jt&ce)||(Wn=y,K1(Jt),ke[St]=10<=js?Wn+250:6<=js?Wn+5e3:-1):Wn<=y&&(d.expiredLanes|=Jt),et&=~Jt}if($=pn(d,d===xu?Vl:0),y=js,0===$)null!==E&&(E!==U5&&V5(E),d.callbackNode=null,d.callbackPriority=0);else{if(null!==E){if(d.callbackPriority===y)return;E!==U5&&V5(E)}15===y?(E=M1.bind(null,d),null===Z1?(Z1=[E],j0=fy(R4,$5)):Z1.push(E),E=U5):14===y?E=U0(99,M1.bind(null,d)):(E=function un(d){switch(d){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(C(358,d))}}(y),E=U0(E,Ry.bind(null,d))),d.callbackPriority=y,d.callbackNode=E}}function Ry(d){if(Hh=-1,Z4=nf=0,0!=(48&Fo))throw Error(C(327));var y=d.callbackNode;if(H2()&&d.callbackNode!==y)return null;var E=pn(d,d===xu?Vl:0);if(0===E)return null;var $=E,ce=Fo;Fo|=16;var ke=Ny();for((xu!==d||Vl!==$)&&(Vh(),ap(d,$));;)try{dC();break}catch(St){f8(d,St)}if(Qu(),zh.current=ke,Fo=ce,null!==Za?$=0:(xu=null,Vl=0,$=Ac),0!=(W4&rp))ap(d,0);else if(0!==$){if(2===$&&(Fo|=64,d.hydrate&&(d.hydrate=!1,_l(d.containerInfo)),0!==(E=Rn(d))&&($=Q4(d,E))),1===$)throw y=cm,ap(d,0),Mc(d,E),A1(d,ru()),y;switch(d.finishedWork=d.current.alternate,d.finishedLanes=E,$){case 0:case 1:throw Error(C(345));case 2:case 5:rf(d);break;case 3:if(Mc(d,E),(62914560&E)===E&&10<($=um+500-ru())){if(0!==pn(d,0))break;if(((ce=d.suspendedLanes)&E)!==E){oc(),d.pingedLanes|=d.suspendedLanes&ce;break}d.timeoutHandle=cy(rf.bind(null,d),$);break}rf(d);break;case 4:if(Mc(d,E),(4186112&E)===E)break;for($=d.eventTimes,ce=-1;0<E;){var et=31-ea(E);ke=1<<et,(et=$[et])>ce&&(ce=et),E&=~ke}if(E=ce,10<(E=(120>(E=ru()-E)?120:480>E?480:1080>E?1080:1920>E?1920:3e3>E?3e3:4320>E?4320:1960*G4(E/1960))-E)){d.timeoutHandle=cy(rf.bind(null,d),E);break}rf(d);break;default:throw Error(C(329))}}return A1(d,ru()),d.callbackNode===y?Ry.bind(null,d):null}function Mc(d,y){for(y&=~l8,d.suspendedLanes|=y&=~rp,d.pingedLanes&=~y,d=d.expirationTimes;0<y;){var E=31-ea(y),$=1<<E;d[E]=-1,y&=~$}}function M1(d){if(0!=(48&Fo))throw Error(C(327));if(H2(),d===xu&&0!=(d.expiredLanes&Vl)){var y=Vl,E=Q4(d,y);0!=(W4&rp)&&(E=Q4(d,y=pn(d,y)))}else E=Q4(d,y=pn(d,0));if(0!==d.tag&&2===E&&(Fo|=64,d.hydrate&&(d.hydrate=!1,_l(d.containerInfo)),0!==(y=Rn(d))&&(E=Q4(d,y))),1===E)throw E=cm,ap(d,0),Mc(d,y),A1(d,ru()),E;return d.finishedWork=d.current.alternate,d.finishedLanes=y,rf(d),A1(d,ru()),null}function Ly(d,y){var E=Fo;Fo|=1;try{return d(y)}finally{0===(Fo=E)&&(Vh(),J1())}}function Py(d,y){var E=Fo;Fo&=-2,Fo|=8;try{return d(y)}finally{0===(Fo=E)&&(Vh(),J1())}}function dm(d,y){xl(Ty,Bh),Bh|=y,W4|=y}function u8(){Bh=Ty.current,Pa(Ty)}function ap(d,y){d.finishedWork=null,d.finishedLanes=0;var E=d.timeoutHandle;if(-1!==E&&(d.timeoutHandle=-1,JO(E)),null!==Za)for(E=Za.return;null!==E;){var $=E;switch($.tag){case 1:null!=($=$.type.childContextTypes)&&hs();break;case 3:N2(),Pa(Pu),Pa(Bc),nm();break;case 5:X3($);break;case 4:N2();break;case 13:case 19:Pa(cl);break;case 10:W5($);break;case 23:case 24:u8()}E=E.return}xu=d,Za=j2(d.current,null),Vl=Bh=W4=y,Ac=0,cm=null,l8=rp=q4=0}function f8(d,y){for(;;){var E=Za;try{if(Qu(),Z0.current=Id,H4){for(var $=Fa.memoizedState;null!==$;){var ce=$.queue;null!==ce&&(ce.pending=null),$=$.next}H4=!1}if(kd=0,Ec=iu=Fa=null,Ff=!1,lm.current=null,null===E||null===E.return){Ac=1,cm=y,Za=null;break}e:{var ke=d,et=E.return,St=E,Jt=y;if(y=Vl,St.flags|=2048,St.firstEffect=St.lastEffect=null,null!==Jt&&"object"==typeof Jt&&"function"==typeof Jt.then){var Wn=Jt;if(0==(2&St.mode)){var yi=St.alternate;yi?(St.updateQueue=yi.updateQueue,St.memoizedState=yi.memoizedState,St.lanes=yi.lanes):(St.updateQueue=null,St.memoizedState=null)}var Io=0!=(1&cl.current),Ar=et;do{var Yi;if(Yi=13===Ar.tag){var Mo=Ar.memoizedState;if(null!==Mo)Yi=null!==Mo.dehydrated;else{var ho=Ar.memoizedProps;Yi=void 0!==ho.fallback&&(!0!==ho.unstable_avoidThisFallback||!Io)}}if(Yi){var Dn=Ar.updateQueue;if(null===Dn){var fn=new Set;fn.add(Wn),Ar.updateQueue=fn}else Dn.add(Wn);if(0==(2&Ar.mode)){if(Ar.flags|=64,St.flags|=16384,St.flags&=-2981,1===St.tag)if(null===St.alternate)St.tag=17;else{var Mn=ef(-1,1);Mn.tag=2,Pf(St,Mn)}St.lanes|=1;break e}Jt=void 0,St=y;var fr=ke.pingCache;if(null===fr?(fr=ke.pingCache=new Cy).set(Wn,Jt=new Set):void 0===(Jt=fr.get(Wn))&&fr.set(Wn,Jt=new Set),!Jt.has(St)){Jt.add(St);var br=rR.bind(null,ke,Wn,St);Wn.then(br,br)}Ar.flags|=4096,Ar.lanes=y;break e}Ar=Ar.return}while(null!==Ar);Jt=Error((Dr(St.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ac&&(Ac=2),Jt=o8(Jt,St),Ar=et;do{switch(Ar.tag){case 3:ke=Jt,Ar.flags|=4096,Ar.lanes|=y&=-y,q5(Ar,tp(0,ke,y));break e;case 1:ke=Jt;var Wo=Ar.stateNode;if(0==(64&Ar.flags)&&("function"==typeof Ar.type.getDerivedStateFromError||null!==Wo&&"function"==typeof Wo.componentDidCatch&&(null===E1||!E1.has(Wo)))){Ar.flags|=4096,Ar.lanes|=y&=-y,q5(Ar,Fh(Ar,ke,y));break e}}Ar=Ar.return}while(null!==Ar)}jf(E)}catch(Xo){y=Xo,Za===E&&null!==E&&(Za=E=E.return);continue}break}}function Ny(){var d=zh.current;return zh.current=Id,null===d?Id:d}function Q4(d,y){var E=Fo;Fo|=16;var $=Ny();for(xu===d&&Vl===y||ap(d,y);;)try{fC();break}catch(ce){f8(d,ce)}if(Qu(),Fo=E,zh.current=$,null!==Za)throw Error(C(261));return xu=null,Vl=0,Ac}function fC(){for(;null!==Za;)e6(Za)}function dC(){for(;null!==Za&&!QO();)e6(Za)}function e6(d){var y=d8(d.alternate,d,Bh);
vendor: 4,029 bytes, line 1
1d.memoizedProps=d.pendingProps,null===y?jf(d):Za=y,lm.current=null}function jf(d){var y=d;do{var E=y.alternate;if(d=y.return,0==(2048&y.flags)){if(null!==(E=sm(E,y,Bh)))return void(Za=E);if(24!==(E=y).tag&&23!==E.tag||null===E.memoizedState||0!=(1073741824&Bh)||0==(4&E.mode)){for(var $=0,ce=E.child;null!==ce;)$|=ce.lanes|ce.childLanes,ce=ce.sibling;E.childLanes=$}null!==d&&0==(2048&d.flags)&&(null===d.firstEffect&&(d.firstEffect=y.firstEffect),null!==y.lastEffect&&(null!==d.lastEffect&&(d.lastEffect.nextEffect=y.firstEffect),d.lastEffect=y.lastEffect),1<y.flags&&(null!==d.lastEffect?d.lastEffect.nextEffect=y:d.firstEffect=y,d.lastEffect=y))}else{if(null!==(E=lC(y)))return E.flags&=2047,void(Za=E);null!==d&&(d.firstEffect=d.lastEffect=null,d.flags|=2048)}if(null!==(y=y.sibling))return void(Za=y);Za=y=d}while(null!==y);0===Ac&&(Ac=5)}function rf(d){var y=Th();return Ad(99,Fy.bind(null,d,y)),null}function Fy(d,y){do{H2()}while(null!==op);if(0!=(48&Fo))throw Error(C(327));var E=d.finishedWork;if(null===E)return null;if(d.finishedWork=null,d.finishedLanes=0,E===d.current)throw Error(C(177));d.callbackNode=null;var $=E.lanes|E.childLanes,ce=$,ke=d.pendingLanes&~ce;d.pendingLanes=ce,d.suspendedLanes=0,d.pingedLanes=0,d.expiredLanes&=ce,d.mutableReadLanes&=ce,d.entangledLanes&=ce,ce=d.entanglements;for(var et=d.eventTimes,St=d.expirationTimes;0<ke;){var Jt=31-ea(ke),Wn=1<<Jt;ce[Jt]=0,et[Jt]=-1,St[Jt]=-1,ke&=~Wn}if(null!==V2&&0==(24&$)&&V2.has(d)&&V2.delete(d),d===xu&&(Za=xu=null,Vl=0),1<E.flags?null!==E.lastEffect?(E.lastEffect.nextEffect=E,$=E.firstEffect):$=E:$=E.firstEffect,null!==$){if(ce=Fo,Fo|=32,lm.current=null,Lu=Ji,ny(et=Uw())){if("selectionStart"in et)St={start:et.selectionStart,end:et.selectionEnd};else if((Wn=(St=(St=et.ownerDocument)&&St.defaultView||window).getSelection&&St.getSelection())&&0!==Wn.rangeCount){St=Wn.anchorNode,ke=Wn.anchorOffset,Jt=Wn.focusNode,Wn=Wn.focusOffset;var yi=0,Io=-1,Ar=-1,Yi=0,Mo=0,ho=et,Dn=null;t:for(;;){for(var fn;ho!==St||0!==ke&&3!==ho.nodeType||(Io=yi+ke),ho!==Jt||0!==Wn&&3!==ho.nodeType||(Ar=yi+Wn),3===ho.nodeType&&(yi+=ho.nodeValue.length),null!==(fn=ho.firstChild);)Dn=ho,ho=fn;for(;;){if(ho===et)break t;if(Dn===St&&++Yi===ke&&(Io=yi),Dn===Jt&&++Mo===Wn&&(Ar=yi),null!==(fn=ho.nextSibling))break;Dn=(ho=Dn).parentNode}ho=fn}St=-1===Io||-1===Ar?null:{start:Io,end:Ar}}else St=null;St=St||{start:0,end:0}}else St=null;D4={focusedElem:et,selectionRange:St},Ji=!1,sp=null,J4=!1,Fi=$;do{try{zy()}catch(Xo){if(null===Fi)throw Error(C(330));Uf(Fi,Xo),Fi=Fi.nextEffect}}while(null!==Fi);sp=null,Fi=$;do{try{for(et=d;null!==Fi;){var Mn=Fi.flags;if(16&Mn&<(Fi.stateNode,""),128&Mn){var fr=Fi.alternate;if(null!==fr){var br=fr.ref;null!==br&&("function"==typeof br?br(null):br.current=null)}}switch(1038&Mn){case 2:My(Fi),Fi.flags&=-3;break;case 6:My(Fi),Fi.flags&=-3,Hf(Fi.alternate,Fi);break;case 1024:Fi.flags&=-1025;break;case 1028:Fi.flags&=-1025,Hf(Fi.alternate,Fi);break;case 4:Hf(Fi.alternate,Fi);break;case 8:a8(et,St=Fi);var Ho=St.alternate;Ey(St),null!==Ho&&Ey(Ho)}Fi=Fi.nextEffect}}catch(Xo){if(null===Fi)throw Error(C(330));Uf(Fi,Xo),Fi=Fi.nextEffect}}while(null!==Fi);if(br=D4,fr=Uw(),et=br.selectionRange,fr!==(Mn=br.focusedElem)&&Mn&&Mn.ownerDocument&&jw(Mn.ownerDocument.documentElement,Mn)){for((null!==et&&ny(Mn)&&(fr=et.start,void 0===(br=et.end)&&(br=fr),"selectionStart"in Mn?(Mn.selectionStart=fr,Mn.selectionEnd=Math.min(br,Mn.value.length)):(br=(fr=Mn.ownerDocument||document)&&fr.defaultView||window).getSelection&&(br=br.getSelection(),St=Mn.textContent.length,Ho=Math.min(et.start,St),et=void 0===et.end?Ho:Math.min(et.end,St),!br.extend&&Ho>et&&(St=et,et=Ho,Ho=St),St=Hw(Mn,Ho),ke=Hw(Mn,et),St&&ke&&(1!==br.rangeCount||br.anchorNode!==St.node||br.anchorOffset!==St.offset||br.focusNode!==ke.node||br.focusOffset!==ke.offset)&&((fr=fr.createRange()).setStart(St.node,St.offset),br.removeAllRanges(),Ho>et?(br.addRange(fr),br.extend(ke.node,ke.offset)):(fr.setEnd(ke.node,ke.offset),br.addRange(fr))))),fr=[],br=Mn);br=br.parentNode;
1)1===br.nodeType&&fr.push({element:br,left:br.scrollLeft,top:br.scrollTop});for("function"==typeof Mn.focus&&Mn.focus(),Mn=0;Mn<fr.length;Mn++)(br=fr[Mn]).element.scrollLeft=br.left,br.element.scrollTop=br.top}Ji=!!Lu,D4=Lu=null,d.current=E,Fi=$;do{try{for(Mn=d;null!==Fi;){var Ci=Fi.flags;if(36&Ci&&la(Mn,Fi.alternate,Fi),128&Ci){fr=void 0;var Wo=Fi.ref;if(null!==Wo)fr=Fi.stateNode,"function"==typeof Wo?Wo(fr):Wo.current=fr}Fi=Fi.nextEffect}}catch(Xo){if(null===Fi)throw Error(C(330));Uf(Fi,Xo),Fi=Fi.nextEffect}}while(null!==Fi);Fi=null,Xw(),Fo=ce}else d.current=E;if(Od)Od=!1,op=d,Rd=y;else for(Fi=$;null!==Fi;)y=Fi.nextEffect,Fi.nextEffect=null,8&Fi.flags&&((Ci=Fi).sibling=null,Ci.stateNode=null),Fi=y;if(0===($=d.pendingLanes)&&(E1=null),1===$?d===Oy?X4++:(X4=0,Oy=d):X4=0,E=E.stateNode,R2&&"function"==typeof R2.onCommitFiberRoot)try{R2.onCommitFiberRoot(b1,E,void 0,64==(64&E.current.flags))}catch{}if(A1(d,ru()),Y4)throw Y4=!1,d=Iy,Iy=null,d;return 0!=(8&Fo)||J1(),null}function zy(){for(;null!==Fi;){var d=Fi.alternate;J4||null===sp||(0!=(8&Fi.flags)?ur(Fi,sp)&&(J4=!0):13===Fi.tag&&ky(d,Fi)&&ur(Fi,sp)&&(J4=!0));var y=Fi.flags;0!=(256&y)&&Sy(d,Fi),0==(512&y)||Od||(Od=!0,U0(97,function(){return H2(),null})),Fi=Fi.nextEffect}}function H2(){if(90!==Rd){var d=97<Rd?97:Rd;return Rd=90,Ad(d,nR)}return!1}function tR(d,y){K4.push(y,d),Od||(Od=!0,U0(97,function(){return H2(),null}))}function hC(d,y){Ld.push(y,d),Od||(Od=!0,U0(97,function(){return H2(),null}))}
vendor: 9,213 bytes, line 1
1function nR(){if(null===op)return!1;var d=op;if(op=null,0!=(48&Fo))throw Error(C(331));var y=Fo;Fo|=32;var E=Ld;Ld=[];for(var $=0;$<E.length;$+=2){var ce=E[$],ke=E[$+1],et=ce.destroy;if(ce.destroy=void 0,"function"==typeof et)try{et()}catch(Jt){if(null===ke)throw Error(C(330));Uf(ke,Jt)}}for(E=K4,K4=[],$=0;$<E.length;$+=2){ce=E[$],ke=E[$+1];try{var St=ce.create;ce.destroy=St()}catch(Jt){if(null===ke)throw Error(C(330));Uf(ke,Jt)}}for(St=d.current.firstEffect;null!==St;)d=St.nextEffect,St.nextEffect=null,8&St.flags&&(St.sibling=null,St.stateNode=null),St=d;return Fo=y,J1(),!0}function hm(d,y,E){Pf(d,y=tp(0,y=o8(E,y),1)),y=oc(),null!==(d=fm(d,1))&&(Ka(d,1,y),A1(d,y))}function Uf(d,y){if(3===d.tag)hm(d,d,y);else for(var E=d.return;null!==E;){if(3===E.tag){hm(E,d,y);break}if(1===E.tag){var $=E.stateNode;if("function"==typeof E.type.getDerivedStateFromError||"function"==typeof $.componentDidCatch&&(null===E1||!E1.has($))){var ce=Fh(E,d=o8(y,d),1);if(Pf(E,ce),ce=oc(),null!==(E=fm(E,1)))Ka(E,1,ce),A1(E,ce);else if("function"==typeof $.componentDidCatch&&(null===E1||!E1.has($)))try{$.componentDidCatch(y,d)}catch{}break}}E=E.return}}function rR(d,y,E){var $=d.pingCache;null!==$&&$.delete(y),y=oc(),d.pingedLanes|=d.suspendedLanes&E,xu===d&&(Vl&E)===E&&(4===Ac||3===Ac&&(62914560&Vl)===Vl&&500>ru()-um?ap(d,0):l8|=E),A1(d,y)}function iR(d,y){var E=d.stateNode;null!==E&&E.delete(y),0==(y=0)&&(0==(2&(y=d.mode))?y=1:0==(4&y)?y=99===Th()?1:2:(0===nf&&(nf=W4),0===(y=Yo(62914560&~nf))&&(y=4194304))),E=oc(),null!==(d=fm(d,y))&&(Ka(d,y,E),A1(d,E))}function pC(d,y,E,$){this.tag=d,this.key=E,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=y,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=$,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function D1(d,y,E,$){return new pC(d,y,E,$)}function h8(d){return!(!(d=d.prototype)||!d.isReactComponent)}function j2(d,y){var E=d.alternate;return null===E?((E=D1(d.tag,y,d.key,d.mode)).elementType=d.elementType,E.type=d.type,E.stateNode=d.stateNode,E.alternate=d,d.alternate=E):(E.pendingProps=y,E.type=d.type,E.flags=0,E.nextEffect=null,E.firstEffect=null,E.lastEffect=null),E.childLanes=d.childLanes,E.lanes=d.lanes,E.child=d.child,E.memoizedProps=d.memoizedProps,E.memoizedState=d.memoizedState,E.updateQueue=d.updateQueue,E.dependencies=null===(y=d.dependencies)?null:{lanes:y.lanes,firstContext:y.firstContext},E.sibling=d.sibling,E.index=d.index,E.ref=d.ref,E}function jh(d,y,E,$,ce,ke){var et=2;if($=d,"function"==typeof d)h8(d)&&(et=1);else if("string"==typeof d)et=5;else e:switch(d){case Y:return Uh(E.children,ce,ke,y);case ln:et=8,ce|=16;break;case _e:et=8,ce|=1;break;case Qe:return(d=D1(12,E,y,8|ce)).elementType=Qe,d.type=Qe,d.lanes=ke,d;case at:return(d=D1(13,E,y,ce)).type=at,d.elementType=at,d.lanes=ke,d;case vt:return(d=D1(19,E,y,ce)).elementType=vt,d.lanes=ke,d;case Yt:return t6(E,ce,ke,y);case tn:return(d=D1(24,E,y,ce)).elementType=tn,d.lanes=ke,d;default:if("object"==typeof d&&null!==d)switch(d.$$typeof){case We:et=10;break e;case st:et=9;break e;case Ve:et=11;break e;case Sn:et=14;break e;case Ge:et=16,$=null;break e;case Wt:et=22;break e}throw Error(C(130,null==d?d:typeof d,""))}return(y=D1(et,E,y,ce)).elementType=d,y.type=$,y.lanes=ke,y}function Uh(d,y,E,$){return(d=D1(7,d,$,y)).lanes=E,d}function t6(d,y,E,$){return(d=D1(23,d,$,y)).elementType=Yt,d.lanes=E,d}function p8(d,y,E){return(d=D1(6,d,null,y)).lanes=E,d}function Fs(d,y,E){return(y=D1(4,null!==d.children?d.children:[],d.key,y)).lanes=E,y.stateNode={containerInfo:d.containerInfo,pendingChildren:null,implementation:d.implementation},y}function n6(d,y,E){this.tag=y,this.containerInfo=d,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=E,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=vl(0),this.expirationTimes=vl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vl(0),this.mutableSourceEagerHydrationData=null}function gC(d,y,E){var $=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:le,key:null==$?null:""+$,children:d,containerInfo:y,implementation:E}}function jc(d,y,E,$){var ce=y.current,ke=oc(),et=Pd(ce);e:if(E){t:{if(ws(E=E._reactInternals)!==E||1!==E.tag)throw Error(C(170));var St=E;do{switch(St.tag){case 3:St=St.stateNode.context;break t;case 1:if(To(St.type)){St=St.stateNode.__reactInternalMemoizedMergedChildContext;break t}}St=St.return}while(null!==St);throw Error(C(171))}if(1===E.tag){var Jt=E.type;if(To(Jt)){E=Bl(E,Jt,St);break e}}E=St}else E=Ed;return null===y.context?y.context=E:y.pendingContext=E,(y=ef(ke,et)).payload={element:d},null!==($=void 0===$?null:$)&&(y.callback=$),Pf(ce,y),Nd(ce,et,ke),et}function pm(d){return(d=d.current).child?d.child.stateNode:null}function By(d,y){if(null!==(d=d.memoizedState)&&null!==d.dehydrated){var E=d.retryLane;d.retryLane=0!==E&&E<y?E:y}}function m8(d,y){By(d,y),(d=d.alternate)&&By(d,y)}function g8(d,y,E){var $=null!=E&&null!=E.hydrationOptions&&E.hydrationOptions.mutableSources||null;if(E=new n6(d,y,null!=E&&!0===E.hydrate),y=D1(3,null,null,2===y?7:1===y?3:0),E.current=y,y.stateNode=E,W0(y),d[wc]=E.current,Hs(8===d.nodeType?d.parentNode:d),$)for(d=0;d<$.length;d++){var ce=(y=$[d])._getVersion;ce=ce(y._source),null==E.mutableSourceEagerHydrationData?E.mutableSourceEagerHydrationData=[y,ce]:E.mutableSourceEagerHydrationData.push(y,ce)}this._internalRoot=E}function r6(d){return!(!d||1!==d.nodeType&&9!==d.nodeType&&11!==d.nodeType&&(8!==d.nodeType||" react-mount-point-unstable "!==d.nodeValue))}function v8(d,y,E,$,ce){var ke=E._reactRootContainer;if(ke){var et=ke._internalRoot;if("function"==typeof ce){var St=ce;ce=function(){var Wn=pm(et);St.call(Wn)}}jc(y,et,d,ce)}else{if(ke=E._reactRootContainer=function oR(d,y){if(y||(y=!(!(y=d?9===d.nodeType?d.documentElement:d.firstChild:null)||1!==y.nodeType||!y.hasAttribute("data-reactroot"))),!y)for(var E;E=d.lastChild;)d.removeChild(E);return new g8(d,0,y?{hydrate:!0}:void 0)}(E,$),et=ke._internalRoot,"function"==typeof ce){var Jt=ce;ce=function(){var Wn=pm(et);Jt.call(Wn)}}Py(function(){jc(y,et,d,ce)})}return pm(et)}function lp(d,y){var E=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!r6(y))throw Error(C(200));return gC(d,y,null,E)}d8=function(d,y,E){var $=y.lanes;if(null!==d)if(d.memoizedProps!==y.pendingProps||Pu.current)C1=!0;else{if(0==(E&$)){switch(C1=!1,y.tag){case 3:im(y),tm();break;case 5:Zw(y);break;case 1:To(y.type)&&O4(y);break;case 4:B4(y,y.stateNode.containerInfo);break;case 10:$=y.memoizedProps.value;var ce=y.type._context;xl(G3,ce._currentValue),ce._currentValue=$;break;case 13:if(null!==y.memoizedState)return 0!=(E&y.child.childLanes)?sC(d,y,E):(xl(cl,1&cl.current),null!==(y=B2(d,y,E))?y.sibling:null);xl(cl,1&cl.current);break;case 19:if($=0!=(E&y.childLanes),0!=(64&d.flags)){if($)return wy(d,y,E);y.flags|=64}if(null!==(ce=y.memoizedState)&&(ce.rendering=null,ce.tail=null,ce.lastEffect=null),xl(cl,cl.current),$)break;return null;case 23:case 24:return y.lanes=0,t8(d,y,E)}return B2(d,y,E)}C1=0!=(16384&d.flags)}else C1=!1;switch(y.lanes=0,y.tag){case 2:if($=y.type,null!==d&&(d.alternate=null,y.alternate=null,y.flags|=2),d=y.pendingProps,ce=gr(y,Bc.current),G0(y,E),ce=j4(null,y,$,d,ce,E),y.flags|=1,"object"==typeof ce&&null!==ce&&"function"==typeof ce.render&&void 0===ce.$$typeof){if(y.tag=1,y.memoizedState=null,y.updateQueue=null,To($)){var ke=!0;O4(y)}else ke=!1;y.memoizedState=null!=ce.state?ce.state:null,W0(y);var et=$.getDerivedStateFromProps;"function"==typeof et&&W3(y,$,et,d),ce.updater=q3,y.stateNode=ce,ce._reactInternals=y,Y5(y,$,d,E),y=_u(null,y,$,!0,ke,E)}else y.tag=0,Hc(null,y,ce,E),y=y.child;return y;case 16:ce=y.elementType;e:{switch(null!==d&&(d.alternate=null,y.alternate=null,y.flags|=2),d=y.pendingProps,ce=(ke=ce._init)(ce._payload),y.type=ce,ke=y.tag=function mC(d){if("function"==typeof d)return h8(d)?1:0;if(null!=d){if((d=d.$$typeof)===Ve)return 11;if(d===Sn)return 14}return 2}(ce),d=Q1(ce,d),ke){case 0:y=yy(null,y,ce,d,E);break e;case 1:y=n8(null,y,ce,d,E);break e;case 11:y=J0(null,y,ce,d,E);break e;case 14:y=e8(null,y,ce,Q1(ce.type,d),$,E);break e}throw Error(C(306,ce,""))}return y;case 0:return ce=y.pendingProps,yy(d,y,$=y.type,ce=y.elementType===$?ce:Q1($,ce),E);case 1:return ce=y.pendingProps,n8(d,y,$=y.type,ce=y.elementType===$?ce:Q1($,ce),E);case 3:if(im(y),$=y.updateQueue,null===d||null===$)throw Error(C(282));if($=y.pendingProps,ce=null!==(ce=y.memoizedState)?ce.element:null,L4(d,y),P4(y,$,null,E),($=y.memoizedState.element)===ce)tm(),y=B2(d,y,E);else{if((ke=(ce=y.stateNode).hydrate)&&(Dd=B0(y.stateNode.containerInfo.firstChild),Sc=y,ke=Nu=!0),ke){if(null!=(d=ce.mutableSourceEagerHydrationData))for(ce=0;ce<d.length;ce+=2)(ke=d[ce])._workInProgressVersionPrimary=d[ce+1],Oh.push(ke);for(E=F4(y,null,$,E),y.child=E;E;)E.flags=-3&E.flags|1024,E=E.sibling}else Hc(d,y,$,E),tm();y=y.child}return y;
1case 5:return Zw(y),null===d&&X0(y),ke=null!==d?d.memoizedProps:null,et=(ce=y.pendingProps).children,k4($=y.type,ce)?et=null:null!==ke&&k4($,ke)&&(y.flags|=16),oC(d,y),Hc(d,y,et,E),y.child;case 6:return null===d&&X0(y),null;case 13:return sC(d,y,E);case 4:return B4(y,y.stateNode.containerInfo),$=y.pendingProps,null===d?y.child=N4(y,null,$,E):Hc(d,y,$,E),y.child;case 11:return ce=y.pendingProps,J0(d,y,$=y.type,ce=y.elementType===$?ce:Q1($,ce),E);case 7:return Hc(d,y,y.pendingProps,E),y.child;case 8:case 12:return Hc(d,y,y.pendingProps.children,E),y.child;case 10:e:{$=y.type._context,et=y.memoizedProps,ke=(ce=y.pendingProps).value;var St=y.type._context;if(xl(G3,St._currentValue),St._currentValue=ke,null!==et)if(0==(ke=v1(St=et.value,ke)?0:0|("function"==typeof $._calculateChangedBits?$._calculateChangedBits(St,ke):1073741823))){if(et.children===ce.children&&!Pu.current){y=B2(d,y,E);break e}}else for(null!==(St=y.child)&&(St.return=y);null!==St;){var Jt=St.dependencies;if(null!==Jt){et=St.child;for(var Wn=Jt.firstContext;null!==Wn;){if(Wn.context===$&&0!=(Wn.observedBits&ke)){1===St.tag&&((Wn=ef(-1,E&-E)).tag=2,Pf(St,Wn)),St.lanes|=E,null!==(Wn=St.alternate)&&(Wn.lanes|=E),$0(St.return,E),Jt.lanes|=E;break}Wn=Wn.next}}else et=10===St.tag&&St.type===y.type?null:St.child;if(null!==et)et.return=St;else for(et=St;null!==et;){if(et===y){et=null;break}if(null!==(St=et.sibling)){St.return=et.return,et=St;break}et=et.return}St=et}Hc(d,y,ce.children,E),y=y.child}return y;case 9:return ce=y.type,$=(ke=y.pendingProps).children,G0(y,E),$=$(ce=_1(ce,ke.unstable_observedBits)),y.flags|=1,Hc(d,y,$,E),y.child;case 14:return ke=Q1(ce=y.type,y.pendingProps),e8(d,y,ce,ke=Q1(ce.type,ke),$,E);case 15:return vy(d,y,y.type,y.pendingProps,$,E);case 17:return ce=y.pendingProps,ce=y.elementType===($=y.type)?ce:Q1($,ce),null!==d&&(d.alternate=null,y.alternate=null,y.flags|=2),y.tag=1,To($)?(d=!0,O4(y)):d=!1,G0(y,E),Y3(y,$,ce),Y5(y,$,ce,E),_u(null,y,$,!0,d,E);case 19:return wy(d,y,E);case 23:case 24:return t8(d,y,E)}throw Error(C(156,y.tag))},g8.prototype.render=function(d){jc(d,this._internalRoot,null,null)},g8.prototype.unmount=function(){var d=this._internalRoot,y=d.containerInfo;jc(null,d,null,function(){y[wc]=null})},pi=function(d){13===d.tag&&(Nd(d,4,oc()),m8(d,4))},gi=function(d){13===d.tag&&(Nd(d,67108864,oc()),m8(d,67108864))},Ui=function(d){if(13===d.tag){var y=oc(),E=Pd(d);Nd(d,E,y),m8(d,E)}}
1,Os=function(d,y){return y()},Ei=function(d,y,E){switch(y){case"input":if(Xt(d,E),y=E.name,"radio"===E.type&&null!=y){for(E=d;E.parentNode;)E=E.parentNode;for(E=E.querySelectorAll("input[name="+JSON.stringify(""+y)+'][type="radio"]'),y=0;y<E.length;y++){var $=E[y];if($!==d&&$.form===d.form){var ce=I4($);if(!ce)throw Error(C(90));ft($),Xt($,ce)}}}break;case"textarea":Fn(d,E);break;case"select":null!=(y=E.value)&&on(d,!!E.multiple,y,!1)}},Oa=Ly,ya=function(d,y,E,$,ce){var ke=Fo;Fo|=4;try{return Ad(98,d.bind(null,y,E,$,ce))}finally{0===(Fo=ke)&&(Vh(),J1())}},Zl=function(){0==(49&Fo)&&(function uC(){if(null!==V2){var d=V2;V2=null,d.forEach(function(y){y.expiredLanes|=24&y.pendingLanes,A1(y,ru())})}J1()}(),H2())},Ra=function(d,y){var E=Fo;Fo|=2;try{return d(y)}finally{0===(Fo=E)&&(Vh(),J1())}};var y8={Events:[T4,Zu,I4,Ml,va,H2,{current:!1}]},cp={findFiberByHostInstance:Rf,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Vy={bundleType:cp.bundleType,version:cp.version,rendererPackageName:cp.rendererPackageName,rendererConfig:cp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:oe.ReactCurrentDispatcher,findHostInstanceByFiber:function(d){return null===(d=ts(d))?null:d.stateNode},findFiberByHostInstance:cp.findFiberByHostInstance||function vC(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var i6=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!i6.isDisabled&&i6.supportsFiber)try{b1=i6.inject(Vy),R2=i6}catch{}}k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=y8,k.createPortal=lp,k.findDOMNode=function(d){if(null==d)return null;if(1===d.nodeType)return d;var y=d._reactInternals;if(void 0===y)throw"function"==typeof d.render?Error(C(188)):Error(C(268,Object.keys(d)));return null===(d=ts(y))?null:d.stateNode},k.flushSync=function(d,y){var E=Fo;if(0!=(48&E))return d(y);Fo|=1;try{if(d)return Ad(99,d.bind(null,y))}finally{Fo=E,J1()}},k.hydrate=function(d,y,E){if(!r6(y))throw Error(C(200));return v8(null,d,y,!0,E)},k.render=function(d,y,E){if(!r6(y))throw Error(C(200));return v8(null,d,y,!1,E)},k.unmountComponentAtNode=function(d){if(!r6(d))throw Error(C(40));return!!d._reactRootContainer&&(Py(function(){v8(null,null,d,!1,function(){d._reactRootContainer=null,d[wc]=null})}),!0)},k.unstable_batchedUpdates=Ly,k.unstable_createPortal=function(d,y){return lp(d,y,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},k.unstable_renderSubtreeIntoContainer=function(d,y,E,$){if(!r6(E))throw Error(C(200));if(null==d||void 0===d._reactInternals)throw Error(C(38));return v8(d,y,E,!1,$)},k.version="17.0.2"},51291:(_,k,c)=>{"use strict";(function g(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(g)}catch(b){console.error(b)}})(),_.exports=c(66509)},63043:(_,k,c)=>{"use strict";var S,g=c(8612),b="<<anonymous>>",C=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};C.isRequired=C;var w=function(){return C};function N(Y,_e){return function F(Y,_e){return function L(Y){function _e(We,st,Ve,at,vt,Sn){for(var Ge=arguments.length,Wt=Array(Ge>6?Ge-6:0),wt=6;wt<Ge;wt++)Wt[wt-6]=arguments[wt];return Sn=Sn||Ve,at=at||b,null!=st[Ve]?Y.apply(void 0,[st,Ve,at,vt,Sn].concat(Wt)):We?new Error("Required "+vt+" `"+Sn+"` was not specified in `"+at+"`."):void 0}var Qe=_e.bind(null,!1);return Qe.isRequired=_e.bind(null,!0),Qe}(function Qe(We,st,Ve,at,vt){var Sn=We[st];if(!_e(Sn)){var Ge=function R(Y){var _e=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":Y instanceof g.Iterable?"Immutable."+Y.toSource().split(" ")[0]:_e}(Sn);return new Error("Invalid "+at+" `"+vt+"` of type `"+Ge+"` supplied to `"+Ve+"`, expected `"+Y+"`.")}return null})}("Iterable."+Y,function(Qe){return g.Iterable.isIterable(Qe)&&_e(Qe)})}(S={listOf:w,mapOf:w,orderedMapOf:w,setOf:w,orderedSetOf:w,stackOf:w,iterableOf:w,recordOf:w,shape:w,contains:w,mapContains:w,orderedMapContains:w,list:C,map:C,orderedMap:C,set:C,orderedSet:C,stack:C,seq:C,record:C,iterable:C}).iterable.indexed=N("Indexed",g.Iterable.isIndexed),S.iterable.keyed=N("Keyed",g.Iterable.isKeyed),_.exports=S},98383:(_,k)=>{"use strict";var c="function"==typeof Symbol&&Symbol.for,g=c?Symbol.for("react.element"):60103,b=c?Symbol.for("react.portal"):60106,S=c?Symbol.for("react.fragment"):60107,C=c?Symbol.for("react.strict_mode"):60108,w=c?Symbol.for("react.profiler"):60114,R=c?Symbol.for("react.provider"):60109,L=c?Symbol.for("react.context"):60110,F=c?Symbol.for("react.async_mode"):60111,N=c?Symbol.for("react.concurrent_mode"):60111,B=c?Symbol.for("react.forward_ref"):60112,z=c?Symbol.for("react.suspense"):60113,A=c?Symbol.for("react.suspense_list"):60120,M=c?Symbol.for("react.memo"):60115,O=c?Symbol.for("react.lazy"):60116,V=c?Symbol.for("react.block"):60121,W=c?Symbol.for("react.fundamental"):60117,q=c?Symbol.for("react.responder"):60118,J=c?Symbol.for("react.scope"):60119;function te(re){if("object"==typeof re&&null!==re){var oe=re.$$typeof;switch(oe){case g:switch(re=re.type){case F:case N:case S:case w:case C:case z:return re;default:switch(re=re&&re.$$typeof){case L:case B:case O:case M:case R:return re;default:return oe}}case b:return oe}}}function ae(re){return te(re)===N}k.AsyncMode=F,k.ConcurrentMode=N,k.ContextConsumer=L,k.ContextProvider=R,k.Element=g,k.ForwardRef=B,k.Fragment=S,k.Lazy=O,k.Memo=M,k.Portal=b,k.Profiler=w,k.StrictMode=C,k.Suspense=z,k.isAsyncMode=function(re){return ae(re)||te(re)===F}
vendor: 5,452 bytes, line 1
1,k.isConcurrentMode=ae,k.isContextConsumer=function(re){return te(re)===L},k.isContextProvider=function(re){return te(re)===R},k.isElement=function(re){return"object"==typeof re&&null!==re&&re.$$typeof===g},k.isForwardRef=function(re){return te(re)===B},k.isFragment=function(re){return te(re)===S},k.isLazy=function(re){return te(re)===O},k.isMemo=function(re){return te(re)===M},k.isPortal=function(re){return te(re)===b},k.isProfiler=function(re){return te(re)===w},k.isStrictMode=function(re){return te(re)===C},k.isSuspense=function(re){return te(re)===z},k.isValidElementType=function(re){return"string"==typeof re||"function"==typeof re||re===S||re===N||re===w||re===C||re===z||re===A||"object"==typeof re&&null!==re&&(re.$$typeof===O||re.$$typeof===M||re.$$typeof===R||re.$$typeof===L||re.$$typeof===B||re.$$typeof===W||re.$$typeof===q||re.$$typeof===J||re.$$typeof===V)},k.typeOf=te},71786:(_,k,c)=>{"use strict";_.exports=c(98383)},3851:(_,k,c)=>{"use strict";var g=c(35943),b=60103,S=60106;k.Fragment=60107,k.StrictMode=60108,k.Profiler=60114;var C=60109,w=60110,R=60112;k.Suspense=60113;var L=60115,F=60116;if("function"==typeof Symbol&&Symbol.for){var N=Symbol.for;b=N("react.element"),S=N("react.portal"),k.Fragment=N("react.fragment"),k.StrictMode=N("react.strict_mode"),k.Profiler=N("react.profiler"),C=N("react.provider"),w=N("react.context"),R=N("react.forward_ref"),k.Suspense=N("react.suspense"),L=N("react.memo"),F=N("react.lazy")}var B="function"==typeof Symbol&&Symbol.iterator;function A(Ge){for(var Wt="https://reactjs.org/docs/error-decoder.html?invariant="+Ge,wt=1;wt<arguments.length;wt++)Wt+="&args[]="+encodeURIComponent(arguments[wt]);return"Minified React error #"+Ge+"; visit "+Wt+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O={};function V(Ge,Wt,wt){this.props=Ge,this.context=Wt,this.refs=O,this.updater=wt||M}function W(){}function q(Ge,Wt,wt){this.props=Ge,this.context=Wt,this.refs=O,this.updater=wt||M}V.prototype.isReactComponent={},V.prototype.setState=function(Ge,Wt){if("object"!=typeof Ge&&"function"!=typeof Ge&&null!=Ge)throw Error(A(85));this.updater.enqueueSetState(this,Ge,Wt,"setState")},V.prototype.forceUpdate=function(Ge){this.updater.enqueueForceUpdate(this,Ge,"forceUpdate")},W.prototype=V.prototype;var J=q.prototype=new W;J.constructor=q,g(J,V.prototype),J.isPureReactComponent=!0;var te={current:null},ae=Object.prototype.hasOwnProperty,re={key:!0,ref:!0,__self:!0,__source:!0};function oe(Ge,Wt,wt){var ln,Yt={},tn=null,Gt=null;if(null!=Wt)for(ln in void 0!==Wt.ref&&(Gt=Wt.ref),void 0!==Wt.key&&(tn=""+Wt.key),Wt)ae.call(Wt,ln)&&!re.hasOwnProperty(ln)&&(Yt[ln]=Wt[ln]);var nt=arguments.length-2;if(1===nt)Yt.children=wt;else if(1<nt){for(var jt=Array(nt),kn=0;kn<nt;kn++)jt[kn]=arguments[kn+2];Yt.children=jt}if(Ge&&Ge.defaultProps)for(ln in nt=Ge.defaultProps)void 0===Yt[ln]&&(Yt[ln]=nt[ln]);return{$$typeof:b,type:Ge,key:tn,ref:Gt,props:Yt,_owner:te.current}}function le(Ge){return"object"==typeof Ge&&null!==Ge&&Ge.$$typeof===b}var _e=/\/+/g;function Qe(Ge,Wt){return"object"==typeof Ge&&null!==Ge&&null!=Ge.key?function Y(Ge){var Wt={"=":"=0",":":"=2"};return"$"+Ge.replace(/[=:]/g,function(wt){return Wt[wt]})}(""+Ge.key):Wt.toString(36)}function We(Ge,Wt,wt,ln,Yt){var tn=typeof Ge;("undefined"===tn||"boolean"===tn)&&(Ge=null);var Gt=!1;if(null===Ge)Gt=!0;else switch(tn){case"string":case"number":Gt=!0;break;case"object":switch(Ge.$$typeof){case b:case S:Gt=!0}}if(Gt)return Yt=Yt(Gt=Ge),Ge=""===ln?"."+Qe(Gt,0):ln,Array.isArray(Yt)?(wt="",null!=Ge&&(wt=Ge.replace(_e,"$&/")+"/"),We(Yt,Wt,wt,"",function(kn){return kn})):null!=Yt&&(le(Yt)&&(Yt=function se(Ge,Wt){return{$$typeof:b,type:Ge.type,key:Wt,ref:Ge.ref,props:Ge.props,_owner:Ge._owner}}(Yt,wt+(!Yt.key||Gt&&Gt.key===Yt.key?"":(""+Yt.key).replace(_e,"$&/")+"/")+Ge)),Wt.push(Yt)),1;if(Gt=0,ln=""===ln?".":ln+":",Array.isArray(Ge))for(var nt=0;nt<Ge.length;nt++){var jt=ln+Qe(tn=Ge[nt],nt);Gt+=We(tn,Wt,wt,jt,Yt)}else if(jt=function z(Ge){return null===Ge||"object"!=typeof Ge?null:"function"==typeof(Ge=B&&Ge[B]||Ge["@@iterator"])?Ge:null}(Ge),"function"==typeof jt)for(Ge=jt.call(Ge),nt=0;!(tn=Ge.next()).done;)Gt+=We(tn=tn.value,Wt,wt,jt=ln+Qe(tn,nt++),Yt);else if("object"===tn)throw Wt=""+Ge,Error(A(31,"[object Object]"===Wt?"object with keys {"+Object.keys(Ge).join(", ")+"}":Wt));return Gt}function st(Ge,Wt,wt){if(null==Ge)return Ge;var ln=[],Yt=0;return We(Ge,ln,"","",function(tn){return Wt.call(wt,tn,Yt++)}),ln}function Ve(Ge){if(-1===Ge._status){var Wt=Ge._result;Wt=Wt(),Ge._status=0,Ge._result=Wt,Wt.then(function(wt){0===Ge._status&&(wt=wt.default,Ge._status=1,Ge._result=wt)},function(wt){0===Ge._status&&(Ge._status=2,Ge._result=wt)})}if(1===Ge._status)return Ge._result;throw Ge._result}var at={current:null};function vt(){var Ge=at.current;if(null===Ge)throw Error(A(321));return Ge}var Sn={ReactCurrentDispatcher:at,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:te,IsSomeRendererActing:{current:!1},assign:g};k.Children={map:st,forEach:function(Ge,Wt,wt){st(Ge,function(){Wt.apply(this,arguments)},wt)},count:function(Ge){var Wt=0;return st(Ge,function(){Wt++}),Wt},toArray:function(Ge){return st(Ge,function(Wt){return Wt})||[]},only:function(Ge){if(!le(Ge))throw Error(A(143));return Ge}}
1,k.Component=V,k.PureComponent=q,k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Sn,k.cloneElement=function(Ge,Wt,wt){if(null==Ge)throw Error(A(267,Ge));var ln=g({},Ge.props),Yt=Ge.key,tn=Ge.ref,Gt=Ge._owner;if(null!=Wt){if(void 0!==Wt.ref&&(tn=Wt.ref,Gt=te.current),void 0!==Wt.key&&(Yt=""+Wt.key),Ge.type&&Ge.type.defaultProps)var nt=Ge.type.defaultProps;for(jt in Wt)ae.call(Wt,jt)&&!re.hasOwnProperty(jt)&&(ln[jt]=void 0===Wt[jt]&&void 0!==nt?nt[jt]:Wt[jt])}var jt=arguments.length-2;if(1===jt)ln.children=wt;else if(1<jt){nt=Array(jt);for(var kn=0;kn<jt;kn++)nt[kn]=arguments[kn+2];ln.children=nt}return{$$typeof:b,type:Ge.type,key:Yt,ref:tn,props:ln,_owner:Gt}},k.createContext=function(Ge,Wt){return void 0===Wt&&(Wt=null),(Ge={$$typeof:w,_calculateChangedBits:Wt,_currentValue:Ge,_currentValue2:Ge,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:C,_context:Ge},Ge.Consumer=Ge},k.createElement=oe,k.createFactory=function(Ge){var Wt=oe.bind(null,Ge);return Wt.type=Ge,Wt},k.createRef=function(){return{current:null}},k.forwardRef=function(Ge){return{$$typeof:R,render:Ge}},k.isValidElement=le,k.lazy=function(Ge){return{$$typeof:F,_payload:{_status:-1,_result:Ge},_init:Ve}},k.memo=function(Ge,Wt){return{$$typeof:L,type:Ge,compare:void 0===Wt?null:Wt}},k.useCallback=function(Ge,Wt){return vt().useCallback(Ge,Wt)},k.useContext=function(Ge,Wt){return vt().useContext(Ge,Wt)},k.useDebugValue=function(){},k.useEffect=function(Ge,Wt){return vt().useEffect(Ge,Wt)},k.useImperativeHandle=function(Ge,Wt,wt){return vt().useImperativeHandle(Ge,Wt,wt)},k.useLayoutEffect=function(Ge,Wt){return vt().useLayoutEffect(Ge,Wt)},k.useMemo=function(Ge,Wt){return vt().useMemo(Ge,Wt)},k.useReducer=function(Ge,Wt,wt){return vt().useReducer(Ge,Wt,wt)},k.useRef=function(Ge){return vt().useRef(Ge)},k.useState=function(Ge){return vt().useState(Ge)},k.version="17.0.2"},54284:(_,k,c)=>{"use strict";_.exports=c(3851)},44260:(_,k,c)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var b=function C(w){return w&&w.__esModule?w:{default:w}}(c(8612)),S=c(56795);k.default=function(w){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.default.Map,L=Object.keys(w);return function(){var F=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R(),N=arguments[1];return F.withMutations(function(z){L.forEach(function(A){var V=(0,w[A])(z.get(A),N);(0,S.validateNextState)(V,A,N),z.set(A,V)})})}},_.exports=k.default},86351:(_,k,c)=>{"use strict";k.U=void 0;var S=function C(w){return w&&w.__esModule?w:{default:w}}(c(44260));k.U=S.default},34566:(_,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(c){return c&&"@@redux/INIT"===c.type?"initialState argument passed to createStore":"previous state received by the reducer"},_.exports=k.default},86449:(_,k,c)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});var b=w(c(8612)),C=w(c(34566));function w(R){return R&&R.__esModule?R:{default:R}}k.default=function(R,L,F){var N=Object.keys(L);if(!N.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var B=(0,C.default)(F);if(b.default.isImmutable?!b.default.isImmutable(R):!b.default.Iterable.isIterable(R))return"The "+B+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+N.join('", "')+'".';var z=R.toSeq().keySeq().toArray().filter(function(A){return!L.hasOwnProperty(A)});return z.length>0?"Unexpected "+(1===z.length?"property":"properties")+' "'+z.join('", "')+'" found in '+B+'. Expected to find one of the known reducer property names instead: "'+N.join('", "')+'". Unexpected properties will be ignored.':null},_.exports=k.default},56795:(_,k,c)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.validateNextState=k.getUnexpectedInvocationParameterMessage=k.getStateName=void 0;var b=L(c(34566)),C=L(c(86449)),R=L(c(64187));function L(F){return F&&F.__esModule?F:{default:F}}k.getStateName=b.default,k.getUnexpectedInvocationParameterMessage=C.default,k.validateNextState=R.default},64187:(_,k)=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(c,g,b){if(void 0===c)throw new Error('Reducer "'+g+'" returned undefined when handling "'+b.type+'" action. To ignore an action, you must explicitly return the previous state.')},_.exports=k.default},85398:_=>{"use strict";var c,k="";_.exports=function g(b,S){if("string"!=typeof b)throw new TypeError("expected a string");if(1===S)return b;if(2===S)return b+b;var C=b.length*S;if(c!==b||typeof c>"u")c=b,k="";else if(k.length>=C)return k.substr(0,C);for(;C>k.length&&S>1;)1&S&&(k+=b),S>>=1,b+=b;return k=(k+=b).substr(0,C)}},28237:_=>{"use strict";_.exports=function(c,g){if(g=g.split(":")[0],!(c=+c))return!1;switch(g){case"http":case"ws":return 80!==c;case"https":case"wss":return 443!==c;case"ftp":return 21!==c;case"gopher":return 70!==c;case"file":return!1}return 0!==c}},2767:(_,k,c)=>{const g=c(70594),b=c(94902),S=c(21764),C=c(84759);_.exports=w=>{var L,F,R=0,N={type:b.ROOT,stack:[]},B=N,z=N.stack,A=[],M=oe=>{g.error(w,"Nothing to repeat at column "+(oe-1))},O=g.strToChars(w);for(L=O.length;R<L;
vendor: 3,973 bytes, line 1
1)switch(F=O[R++],F){case"\\":switch(F=O[R++]){case"b":z.push(C.wordBoundary());break;case"B":z.push(C.nonWordBoundary());break;case"w":z.push(S.words());break;case"W":z.push(S.notWords());break;case"d":z.push(S.ints());break;case"D":z.push(S.notInts());break;case"s":z.push(S.whitespace());break;case"S":z.push(S.notWhitespace());break;default:/\d/.test(F)?z.push({type:b.REFERENCE,value:parseInt(F,10)}):z.push({type:b.CHAR,value:F.charCodeAt(0)})}break;case"^":z.push(C.begin());break;case"$":z.push(C.end());break;case"[":var V;"^"===O[R]?(V=!0,R++):V=!1;var W=g.tokenizeClass(O.slice(R),w);R+=W[1],z.push({type:b.SET,set:W[0],not:V});break;case".":z.push(S.anyChar());break;case"(":var q={type:b.GROUP,stack:[],remember:!0};"?"===(F=O[R])&&(F=O[R+1],R+=2,"="===F?q.followedBy=!0:"!"===F?q.notFollowedBy=!0:":"!==F&&g.error(w,`Invalid group, character '${F}' after '?' at column ${R-1}`),q.remember=!1),z.push(q),A.push(B),B=q,z=q.stack;break;case")":0===A.length&&g.error(w,"Unmatched ) at column "+(R-1)),z=(B=A.pop()).options?B.options[B.options.length-1]:B.stack;break;case"|":B.options||(B.options=[B.stack],delete B.stack);var J=[];B.options.push(J),z=J;break;case"{":var ae,re,te=/^(\d+)(,(\d+)?)?\}/.exec(O.slice(R));null!==te?(0===z.length&&M(R),ae=parseInt(te[1],10),re=te[2]?te[3]?parseInt(te[3],10):1/0:ae,R+=te[0].length,z.push({type:b.REPETITION,min:ae,max:re,value:z.pop()})):z.push({type:b.CHAR,value:123});break;case"?":0===z.length&&M(R),z.push({type:b.REPETITION,min:0,max:1,value:z.pop()});break;case"+":0===z.length&&M(R),z.push({type:b.REPETITION,min:1,max:1/0,value:z.pop()});break;case"*":0===z.length&&M(R),z.push({type:b.REPETITION,min:0,max:1/0,value:z.pop()});break;default:z.push({type:b.CHAR,value:F.charCodeAt(0)})}return 0!==A.length&&g.error(w,"Unterminated group"),N},_.exports.types=b},84759:(_,k,c)=>{const g=c(94902);k.wordBoundary=()=>({type:g.POSITION,value:"b"}),k.nonWordBoundary=()=>({type:g.POSITION,value:"B"}),k.begin=()=>({type:g.POSITION,value:"^"}),k.end=()=>({type:g.POSITION,value:"$"})},21764:(_,k,c)=>{const g=c(94902),b=()=>[{type:g.RANGE,from:48,to:57}],S=()=>[{type:g.CHAR,value:95},{type:g.RANGE,from:97,to:122},{type:g.RANGE,from:65,to:90}].concat(b()),C=()=>[{type:g.CHAR,value:9},{type:g.CHAR,value:10},{type:g.CHAR,value:11},{type:g.CHAR,value:12},{type:g.CHAR,value:13},{type:g.CHAR,value:32},{type:g.CHAR,value:160},{type:g.CHAR,value:5760},{type:g.RANGE,from:8192,to:8202},{type:g.CHAR,value:8232},{type:g.CHAR,value:8233},{type:g.CHAR,value:8239},{type:g.CHAR,value:8287},{type:g.CHAR,value:12288},{type:g.CHAR,value:65279}];k.words=()=>({type:g.SET,set:S(),not:!1}),k.notWords=()=>({type:g.SET,set:S(),not:!0}),k.ints=()=>({type:g.SET,set:b(),not:!1}),k.notInts=()=>({type:g.SET,set:b(),not:!0}),k.whitespace=()=>({type:g.SET,set:C(),not:!1}),k.notWhitespace=()=>({type:g.SET,set:C(),not:!0}),k.anyChar=()=>({type:g.SET,set:[{type:g.CHAR,value:10},{type:g.CHAR,value:13},{type:g.CHAR,value:8232},{type:g.CHAR,value:8233}],not:!0})},94902:_=>{_.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},70594:(_,k,c)=>{const g=c(94902),b=c(21764),C={0:0,t:9,n:10,v:11,f:12,r:13};k.strToChars=function(w){return w.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,function(L,F,N,B,z,A,M,O){if(N)return L;var V=F?8:B?parseInt(B,16):z?parseInt(z,16):A?parseInt(A,8):M?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(M):C[O],W=String.fromCharCode(V);return/[[\]{}^$.|?*+()]/.test(W)&&(W="\\"+W),W})},k.tokenizeClass=(w,R)=>{for(var N,B,L=[],F=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;null!=(N=F.exec(w));)if(N[1])L.push(b.words());else if(N[2])L.push(b.ints());else if(N[3])L.push(b.whitespace());else if(N[4])L.push(b.notWords());else if(N[5])L.push(b.notInts());else if(N[6])L.push(b.notWhitespace());else if(N[7])L.push({type:g.RANGE,from:(N[8]||N[9]).charCodeAt(0),to:N[10].charCo
vendor: 4,243 bytes, line 1
1deAt(0)});else{if(!(B=N[12]))return[L,F.lastIndex];L.push({type:g.CHAR,value:B.charCodeAt(0)})}k.error(R,"Unterminated character class")},k.error=(w,R)=>{throw new SyntaxError("Invalid regular expression: /"+w+"/: "+R)}},40191:(_,k)=>{"use strict";var c,g,b,S;if("object"==typeof performance&&"function"==typeof performance.now){var C=performance;k.unstable_now=function(){return C.now()}}else{var w=Date,R=w.now();k.unstable_now=function(){return w.now()-R}}if(typeof window>"u"||"function"!=typeof MessageChannel){var L=null,F=null,N=function(){if(null!==L)try{var wt=k.unstable_now();L(!0,wt),L=null}catch(ln){throw setTimeout(N,0),ln}};c=function(wt){null!==L?setTimeout(c,0,wt):(L=wt,setTimeout(N,0))},g=function(wt,ln){F=setTimeout(wt,ln)},b=function(){clearTimeout(F)},k.unstable_shouldYield=function(){return!1},S=k.unstable_forceFrameRate=function(){}}else{var B=window.setTimeout,z=window.clearTimeout;if(typeof console<"u"){var A=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof A&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var M=!1,O=null,V=-1,W=5,q=0;k.unstable_shouldYield=function(){return k.unstable_now()>=q},S=function(){},k.unstable_forceFrameRate=function(wt){0>wt||125<wt?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<wt?Math.floor(1e3/wt):5};var J=new MessageChannel,te=J.port2;J.port1.onmessage=function(){if(null!==O){var wt=k.unstable_now();q=wt+W;try{O(!0,wt)?te.postMessage(null):(M=!1,O=null)}catch(ln){throw te.postMessage(null),ln}}else M=!1},c=function(wt){O=wt,M||(M=!0,te.postMessage(null))},g=function(wt,ln){V=B(function(){wt(k.unstable_now())},ln)},b=function(){z(V),V=-1}}function ae(wt,ln){var Yt=wt.length;wt.push(ln);e:for(;;){var tn=Yt-1>>>1,Gt=wt[tn];if(!(void 0!==Gt&&0<se(Gt,ln)))break e;wt[tn]=ln,wt[Yt]=Gt,Yt=tn}}function re(wt){return void 0===(wt=wt[0])?null:wt}function oe(wt){var ln=wt[0];if(void 0!==ln){var Yt=wt.pop();if(Yt!==ln){wt[0]=Yt;e:for(var tn=0,Gt=wt.length;tn<Gt;){var nt=2*(tn+1)-1,jt=wt[nt],kn=nt+1,Bn=wt[kn];if(void 0!==jt&&0>se(jt,Yt))void 0!==Bn&&0>se(Bn,jt)?(wt[tn]=Bn,wt[kn]=Yt,tn=kn):(wt[tn]=jt,wt[nt]=Yt,tn=nt);else{if(!(void 0!==Bn&&0>se(Bn,Yt)))break e;wt[tn]=Bn,wt[kn]=Yt,tn=kn}}}return ln}return null}function se(wt,ln){var Yt=wt.sortIndex-ln.sortIndex;return 0!==Yt?Yt:wt.id-ln.id}var le=[],Y=[],_e=1,Qe=null,We=3,st=!1,Ve=!1,at=!1;function vt(wt){for(var ln=re(Y);null!==ln;){if(null===ln.callback)oe(Y);else{if(!(ln.startTime<=wt))break;oe(Y),ln.sortIndex=ln.expirationTime,ae(le,ln)}ln=re(Y)}}function Sn(wt){if(at=!1,vt(wt),!Ve)if(null!==re(le))Ve=!0,c(Ge);else{var ln=re(Y);null!==ln&&g(Sn,ln.startTime-wt)}}function Ge(wt,ln){Ve=!1,at&&(at=!1,b()),st=!0;var Yt=We;try{for(vt(ln),Qe=re(le);null!==Qe&&(!(Qe.expirationTime>ln)||wt&&!k.unstable_shouldYield());){var tn=Qe.callback;if("function"==typeof tn){Qe.callback=null,We=Qe.priorityLevel;var Gt=tn(Qe.expirationTime<=ln);ln=k.unstable_now(),"function"==typeof Gt?Qe.callback=Gt:Qe===re(le)&&oe(le),vt(ln)}else oe(le);Qe=re(le)}if(null!==Qe)var nt=!0;else{var jt=re(Y);null!==jt&&g(Sn,jt.startTime-ln),nt=!1}return nt}finally{Qe=null,We=Yt,st=!1}}var Wt=S;k.unstable_IdlePriority=5,k.unstable_ImmediatePriority=1,k.unstable_LowPriority=4,k.unstable_NormalPriority=3,k.unstable_Profiling=null,k.unstable_UserBlockingPriority=2,k.unstable_cancelCallback=function(wt){wt.callback=null},k.unstable_continueExecution=function(){Ve||st||(Ve=!0,c(Ge))},k.unstable_getCurrentPriorityLevel=function(){return We},k.unstable_getFirstCallbackNode=function(){return re(le)},k.unstable_next=function(wt){switch(We){case 1:case 2:case 3:var ln=3;break;default:ln=We}var Yt=We;We=ln;try{return wt()}finally{We=Yt}},k.unstable_pauseExecution=function(){},k.unstable_requestPaint=Wt,k.unstable_runWithPriority=function(wt,ln){switch(wt){case 1:case 2:case 3:case 4:case 5:break;default:wt=3}var Yt=We;We=wt;
1try{return ln()}finally{We=Yt}},k.unstable_scheduleCallback=function(wt,ln,Yt){var tn=k.unstable_now();switch(Yt="object"==typeof Yt&&null!==Yt&&"number"==typeof(Yt=Yt.delay)&&0<Yt?tn+Yt:tn,wt){case 1:var Gt=-1;break;case 2:Gt=250;break;case 5:Gt=1073741823;break;case 4:Gt=1e4;break;default:Gt=5e3}return wt={id:_e++,callback:ln,priorityLevel:wt,startTime:Yt,expirationTime:Gt=Yt+Gt,sortIndex:-1},Yt>tn?(wt.sortIndex=Yt,ae(Y,wt),null===re(le)&&wt===re(Y)&&(at?b():at=!0,g(Sn,Yt-tn))):(wt.sortIndex=Gt,ae(le,wt),Ve||st||(Ve=!0,c(Ge))),wt},k.unstable_wrapCallback=function(wt){var ln=We;return function(){var Yt=We;We=ln;try{return wt.apply(this,arguments)}finally{We=Yt}}}},44854:(_,k,c)=>{"use strict";_.exports=c(40191)},12335:_=>{"use strict";class k extends Error{constructor(L){super(k._prepareSuperMessage(L)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,k)}static _prepareSuperMessage(L){try{return JSON.stringify(L)}catch{return String(L)}}}const c=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],g=Symbol(".toJSON called"),S=({from:R,seen:L,to_:F,forceEnumerable:N,maxDepth:B,depth:z})=>{const A=F||(Array.isArray(R)?[]:{});if(L.push(R),z>=B)return A;if("function"==typeof R.toJSON&&!0!==R[g])return(R=>{R[g]=!0;const L=R.toJSON();return delete R[g],L})(R);for(const[M,O]of Object.entries(R))if("function"==typeof Buffer&&Buffer.isBuffer(O))A[M]="[object Buffer]";else if("function"!=typeof O){if(!O||"object"!=typeof O){A[M]=O;continue}if(!L.includes(R[M])){z++,A[M]=S({from:R[M],seen:L.slice(),forceEnumerable:N,maxDepth:B,depth:z});continue}A[M]="[Circular]"}for(const{property:M,enumerable:O}of c)"string"==typeof R[M]&&Object.defineProperty(A,M,{value:R[M],enumerable:!!N||O,configurable:!0,writable:!0});return A};_.exports={serializeError:(R,L={})=>{const{maxDepth:F=Number.POSITIVE_INFINITY}=L;return"object"==typeof R&&null!==R?S({from:R,seen:[],forceEnumerable:!0,maxDepth:F,depth:0}):"function"==typeof R?`[Function: ${R.name||"anonymous"}]`:R},deserializeError:(R,L={})=>{const{maxDepth:F=Number.POSITIVE_INFINITY}=L;if(R instanceof Error)return R;if("object"==typeof R&&null!==R&&!Array.isArray(R)){const N=new Error;return S({from:R,seen:[],to_:N,maxDepth:F,depth:0}),N}return new k(R)}}},78475:(_,k,c)=>{"use strict";var g=c(95203),b=c(75834),S=c(97024),C=g("%TypeError%"),w=g("%WeakMap%",!0),R=g("%Map%",!0),L=b("WeakMap.prototype.get",!0),F=b("WeakMap.prototype.set",!0),N=b("WeakMap.prototype.has",!0),B=b("Map.prototype.get",!0),z=b("Map.prototype.set",!0),A=b("Map.prototype.has",!0),M=function(q,J){for(var ae,te=q;null!==(ae=te.next);te=ae)if(ae.key===J)return te.next=ae.next,ae.next=q.next,q.next=ae,ae};_.exports=function(){var J,te,ae,re={assert:function(oe){if(!re.has(oe))throw new C("Side channel does not contain "+S(oe))},get:function(oe){if(w&&oe&&("object"==typeof oe||"function"==typeof oe)){if(J)return L(J,oe)}else if(R){if(te)return B(te,oe)}else if(ae)return function(q,J){var te=M(q,J);return te&&te.value}(ae,oe)},has:function(oe){if(w&&oe&&("object"==typeof oe||"function"==typeof oe)){if(J)return N(J,oe)}else if(R){if(te)return A(te,oe)}else if(ae)return function(q,J){return!!M(q,J)}(ae,oe);return!1},set:function(oe,se){w&&oe&&("object"==typeof oe||"function"==typeof oe)?(J||(J=new w),F(J,oe,se)):R?(te||(te=new R),z(te,oe,se)):(ae||(ae={key:{},next:null}),function(q,J,te){var ae=M(q,J);ae?ae.value=te:q.next={key:J,next:q.next,value:te}}(ae,oe,se))}};return re}},47376:(_,k,c)=>{"use strict";_.exports=c(16179)},66176:_=>{"use strict";var k=2*Math.PI;function c(S,C,w,R){var F=S*w+C*R;return F>1&&(F=1),F<-1&&(F=-1),(S*R-C*w<0?-1:1)*Math.acos(F)}function b(S,C){var w=1.3333333333333333*Math.tan(C/4),R=Math.cos(S),L=Math.sin(S),F=Math.cos(S+C),N=Math.sin(S+C);return[R,L,R-L*w,L+R*w,F+N*w,N-F*w,F,N]}_.exports=function(C,w,R,L,F,N,B,z,A){var M=Math.sin(A*k/360),O=Math.cos(A*k/360),V=O*(C-R)/2+M*(w-L)/2,W=-M*(C-R)/2+O*(w-L)/2;if(0===V&&0===W)return[];if(0===B||0===z)return[];B=Math.abs(B),z=Math.abs(z);var q=V*V/(B*B)+W*W/(z*z);q>1&&(B*=Math.sqrt(q),z*=Math.sqrt(q));var J=function g(S,C,w,R,L,F,N,B,z,A){var M=A*(S-w)/2+z*(C-R)/2,O=-z*(S-w)/2+A*(C-R)/2,V=N*N,W=B*B,q=M*M,J=O*O,te=V*W-V*J-W*q;te<0&&(te=0),te/=V*J+W*q;var ae=(te=Math.sqrt(te)*(L===F?-1:1))*N/B*O,re=te*-B/N*M,oe=A*ae-z*re+(S+w)/2,se=z*ae+A*re+(C+R)/2,le=(M-ae)/N,Y=(O-re)/B,_e=(-M-ae)/N,Qe=(-O-re)/B,We=c(1,0,le,Y),st=c(le,Y,_e,Qe);return 0===F&&st>0&&(st-=k),1===F&&st<0&&(st+=k),[oe,se,We,st]}(C,w,R,L,F,N,B,z,M,O),te=[],ae=J[2],re=J[3],oe=Math.max(Math.ceil(Math.abs(re)/(k/4)),1);re/=oe;for(var se=0;se<oe;se++)te.push(b(ae,re)),ae+=re;return te.map(function(le){for(var Y=0;Y<le.length;Y+=2){var _e=le[Y+0],Qe=le[Y+1],st=M*(_e*=B)+O*(Qe*=z);le[Y+0]=O*_e-M*Qe+J[0],le[Y+1]=st+J[1]}return le})}},26057:_=>{"use strict";var k=1e-10,c=Math.PI/180;function g(b,S,C){if(!(this instanceof g))return new g(b,S,C);this.rx=b,this.ry=S,this.ax=C}g.prototype.transform=function(b){var S=Math.cos(this.ax*c),C=Math.sin(this.ax*c),w=[this.rx*(b[0]*S+b[2]*C),this.rx*(b[1]*S+b[3]*C),this.ry*(-b[0]*C+b[2]*S),this.ry*(-b[1]*C+b[3]*S)],R=w[0]*w[0]+w[2]*w[2],L=w[1]*w[1]+w[3]*w[3],F=((w[0]-w[3])*(w[0]-w[3])+(w[2]+w[1])*(w[2]+w[1]))*((w[0]+w[3])*(w[0]+w[3])+(w[2]-w[1])*(w[2]-w[1])),N=(R+L)/2;if(F<k*N)return this.rx=this.ry=Math.sqrt(N),this.ax=0,this;var B=w[0]*w[1]+w[2]*w[3],z=N+(F=Math.sqrt(F))/2,A=N-F/2;return this.ax=Math.abs(B)<k&&Math.abs(z-L)<k?90:180*Math.atan(Math.abs(B)>Math.abs(z-L)?(z-R)/B:B/(z-L))/Math.PI,this.ax>=0?(this.rx=Math.sqrt(z),this.ry=Math.sqrt(A)):(this.ax+=90,this.rx=Math.sqrt(A),this.ry=Math.sqrt(z)),this},g.prototype.isDegenerate=function(){return this.rx<k*this.ry||this.ry<k*this.rx},_.exports=g},85286:_=>{"use strict";function k(g,b){return[g[0]*b[0]+g[2]*b[1],g[1]*b[0]+g[3]*b[1],g[0]*b[2]+g[2]*b[3],g[1]*b[2]+g[3]*b[3],g[0]*b[4]+g[2]*b[5]+g[4],g[1]*b[4]+g[3]*b[5]+g[5]]}function c(){if(!(this instanceof c))return new c;this.queue=[],this.cache=null}c.prototype.matrix=function(g){return 1===g[0]&&0===g[1]&&0===g[2]&&1===g[3]&&0===g[4]&&0===g[5]||(this.cache=null,this.queue.push(g)),this},c.prototype.translate=function(g,b){return(0!==g||0!==b)&&(this.cache=null,this.queue.push([1,0,0,1,g,b])),this},c.prototype.scale=function(g,b){return(1!==g||1!==b)&&(this.cache=null,this.queue.push([g,0,0,b,0,0])),this},c.prototype.rotate=function(g,b,S){var C,w,R;return 0!==g&&(this.translate(b,S),C=g*Math.PI/180,w=Math.cos(C),R=Math.sin(C),this.queue.push([w,R,-R,w,0,0]),this.cache=null,this.translate(-b,-S)),this},c.prototype.skewX=function(g){return 0!==g&&(this.cache=null,this.queue.push([1,0,Math.tan(g*Math.PI/180),1,0,0])),this},c.prototype.skewY=function(g){return 0!==g&&(this.cache=null,this.queue.push([1,Math.tan(g*Math.PI/180),0,1,0,0])),this},c.prototype.toArray=function(){if(this.cache)return this.cache;if(!this.queue.length)return this.cache=[1,0,0,1,0,0],this.cache;if(this.cache=this.queue[0],1===this.queue.length)return this.cache;for(var g=1;g<this.queue.length;g++)this.cache=k(this.cache,this.queue[g]);return this.cache},c.prototype.calc=function(g,b,S){var C;return this.queue.length?(this.cache||(this.cache=this.toArray()),[g*(C=this.cache)[0]+b*C[2]+(S?0:C[4]),g*C[1]+b*C[3]+(S?0:C[5])]):[g,b]},_.exports=c},84412:_=>{"use strict";var k={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},c=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function g(A){return 10===A||13===A||8232===A||8233===A||32===A||9===A||11===A||12===A||160===A||A>=5760&&c.indexOf(A)>=0}function C(A){return A>=48&&A<=57}function w(A){return A>=48&&A<=57||43===A||45===A||46===A}function R(A){this.index=0,this.path=A,this.max=A.length,this.result=[],this.param=0,this.err="",this.segmentStart=0,this.data=[]}function L(A){for(;A.index<A.max&&g(A.path.charCodeAt(A.index));)A.index++}function F(A){var M=A.path.charCodeAt(A.index);return 48===M?(A.param=0,void A.index++):49===M?(A.param=1,void A.index++):void(A.err="SvgPath: arc flag can be 0 or 1 only (at pos "+A.index+")")}function N(A){var ae,M=A.index,O=M,V=A.max,W=!1,q=!1,J=!1,te=!1;if(O>=V)A.err="SvgPath: missed param (at pos "+O+")";else if((43===(ae=A.path.charCodeAt(O))||45===ae)&&(ae=++O<V?A.path.charCodeAt(O):0),C(ae)||46===ae){if(46!==ae){if(W=48===ae,ae=++O
1<V?A.path.charCodeAt(O):0,W&&O<V&&ae&&C(ae))return void(A.err="SvgPath: numbers started with `0` such as `09` are illegal (at pos "+M+")");for(;O<V&&C(A.path.charCodeAt(O));)O++,q=!0;ae=O<V?A.path.charCodeAt(O):0}if(46===ae){for(te=!0,O++;C(A.path.charCodeAt(O));)O++,J=!0;ae=O<V?A.path.charCodeAt(O):0}if(101===ae||69===ae){if(te&&!q&&!J)return void(A.err="SvgPath: invalid float exponent (at pos "+O+")");if((43===(ae=++O<V?A.path.charCodeAt(O):0)||45===ae)&&O++,!(O<V&&C(A.path.charCodeAt(O))))return void(A.err="SvgPath: invalid float exponent (at pos "+O+")");for(;O<V&&C(A.path.charCodeAt(O));)O++}A.index=O,A.param=parseFloat(A.path.slice(M,O))+0}else A.err="SvgPath: param should start with 0..9 or `.` (at pos "+O+")"}function B(A){var M,O;O=(M=A.path[A.segmentStart]).toLowerCase();var V=A.data;if("m"===O&&V.length>2&&(A.result.push([M,V[0],V[1]]),V=V.slice(2),O="l",M="m"===M?"l":"L"),"r"===O)A.result.push([M].concat(V));else for(;V.length>=k[O]&&(A.result.push([M].concat(V.splice(0,k[O]))),k[O]););}function z(A){var O,V,W,q,J,M=A.max;if(A.segmentStart=A.index,V=function S(A){return 97==(32|A)}(O=A.path.charCodeAt(A.index)),function b(A){switch(32|A){case 109:case 122:case 108:case 104:case 118:case 99:case 115:case 113:case 116:case 97:case 114:return!0}return!1}(O))if(q=k[A.path[A.index].toLowerCase()],A.index++,L(A),A.data=[],q){for(W=!1;;){for(J=q;J>0;J--){if(!V||3!==J&&4!==J?N(A):F(A),A.err.length)return void B(A);A.data.push(A.param),L(A),W=!1,A.index<M&&44===A.path.charCodeAt(A.index)&&(A.index++,L(A),W=!0)}if(!W&&(A.index>=A.max||!w(A.path.charCodeAt(A.index))))break}B(A)}else B(A);else A.err="SvgPath: bad command "+A.path[A.index]+" (at pos "+A.index+")"}_.exports=function(M){var O=new R(M),V=O.max;for(L(O);O.index<V&&!O.err.length;)z(O);return O.result.length&&("mM".indexOf(O.result[0][0])<0?(O.err="SvgPath: string should start with `M` or `m`",O.result=[]):O.result[0][0]="M"),{err:O.err,segments:O.result}}},16179:(_,k,c)=>{"use strict";var g=c(84412),b=c(59489),S=c(85286),C=c(66176),w=c(26057);function R(L){if(!(this instanceof R))return new R(L);var F=g(L);this.segments=F.segments,this.err=F.err,this.__stack=[]}R.from=function(L){if("string"==typeof L)return new R(L);if(L instanceof R){var F=new R("");return F.err=L.err,F.segments=L.segments.map(function(N){return N.slice()}),F.__stack=L.__stack.map(function(N){return S().matrix(N.toArray())}),F}throw new Error("SvgPath.from: invalid param type "+L)},R.prototype.__matrix=function(L){var N,F=this;!L.queue.length||this.iterate(function(B,z,A,M){var O,V,W,q;switch(B[0]){case"v":V=0===(O=L.calc(0,B[1],!0))[0]?["v",O[1]]:["l",O[0],O[1]];break;case"V":V=(O=L.calc(A,B[1],!1))[0]===L.calc(A,M,!1)[0]?["V",O[1]]:["L",O[0],O[1]];break;case"h":V=0===(O=L.calc(B[1],0,!0))[1]?["h",O[0]]:["l",O[0],O[1]];break;case"H":V=(O=L.calc(B[1],M,!1))[1]===L.calc(A,M,!1)[1]?["H",O[0]]:["L",O[0],O[1]];break;case"a":case"A":var J=L.toArray(),te=w(B[1],B[2],B[3]).transform(J);if(J[0]*J[3]-J[1]*J[2]<0&&(B[5]=B[5]?"0":"1"),O=L.calc(B[6],B[7],"a"===B[0]),"A"===B[0]&&B[6]===A&&B[7]===M||"a"===B[0]&&0===B[6]&&0===B[7]){V=["a"===B[0]?"l":"L",O[0],O[1]];break}V=te.isDegenerate()?["a"===B[0]?"l":"L",O[0],O[1]]:[B[0],te.rx,te.ry,te.ax,B[4],B[5],O[0],O[1]];break;case"m":V=["m",(O=L.calc(B[1],B[2],q=z>0))[0],O[1]];break;default:for(V=[W=B[0]],q=W.toLowerCase()===W,N=1;N<B.length;N+=2)O=L.calc(B[N],B[N+1],q),V.push(O[0],O[1])}F.segments[z]=V},!0)},R.prototype.__evaluateStack=function(){var L,F;if(this.__stack.length){if(1===this.__stack.length)return this.__matrix(this.__stack[0]),void(this.__stack=[]);for(L=S(),F=this.__stack.length;--F>=0;)L.matrix(this.__stack[F].toArray());this.__matrix(L),this.__stack=[]}},R.prototype.toString=function(){var L="",F="",N=!1;this.__evaluateStack();for(var B=0,z=this.segments.length;B<z;B++){var A=this.segments[B],M=A[0];M!==F||"m"===M||"M"===M?("m"===M&&"z"===F&&(L+=" "),L+=M,N=!1):N=!0;for(var O=1;O<A.length;O++){var V=A[O];1===O?N&&V>=0&&(L+=" "):V>=0&&(L+=" "),L+=V}F=M}return L},R.prototype.translate=function(L,F){return this.__stack.push(S().translate(L,F||0)),this},R.prototype.scale=function(L,F){return this.__stack.push(S().scale(L,F||0===F?F:L)),this},R.prototype.rotate=function(L,F,N){return this.__stack.push(S().rotate(L,F||0,N||0)),this},R.prototype.skewX=function(L){return this.__stack.push(S().skewX(L)),this},R.prototype.skewY=function(L){return this.__stack.push(S().skewY(L)),this},R.prototype.matrix=function(L){return this.__stack.push(S().matrix(L)),this},R.prototype.transform=function(L){return L.trim()?(this.__stack.push(b(L)),this):this},R.prototype.round=function(L){var A,F=0,N=0,B=0,z=0;
1return L=L||0,this.__evaluateStack(),this.segments.forEach(function(M){var O=M[0].toLowerCase()===M[0];switch(M[0]){case"H":case"h":return O&&(M[1]+=B),B=M[1]-M[1].toFixed(L),void(M[1]=+M[1].toFixed(L));case"V":case"v":return O&&(M[1]+=z),z=M[1]-M[1].toFixed(L),void(M[1]=+M[1].toFixed(L));case"Z":case"z":return B=F,void(z=N);case"M":case"m":return O&&(M[1]+=B,M[2]+=z),B=M[1]-M[1].toFixed(L),z=M[2]-M[2].toFixed(L),F=B,N=z,M[1]=+M[1].toFixed(L),void(M[2]=+M[2].toFixed(L));case"A":case"a":return O&&(M[6]+=B,M[7]+=z),B=M[6]-M[6].toFixed(L),z=M[7]-M[7].toFixed(L),M[1]=+M[1].toFixed(L),M[2]=+M[2].toFixed(L),M[3]=+M[3].toFixed(L+2),M[6]=+M[6].toFixed(L),void(M[7]=+M[7].toFixed(L));default:return A=M.length,O&&(M[A-2]+=B,M[A-1]+=z),B=M[A-2]-M[A-2].toFixed(L),z=M[A-1]-M[A-1].toFixed(L),void M.forEach(function(V,W){!W||(M[W]=+M[W].toFixed(L))})}}),this},R.prototype.iterate=function(L,F){var W,q,J,N=this.segments,B={},z=!1,A=0,M=0,O=0,V=0;if(F||this.__evaluateStack(),N.forEach(function(te,ae){var re=L(te,ae,A,M);Array.isArray(re)&&(B[ae]=re,z=!0);var oe=te[0]===te[0].toLowerCase();switch(te[0]){case"m":case"M":return O=A=te[1]+(oe?A:0),void(V=M=te[2]+(oe?M:0));case"h":case"H":return void(A=te[1]+(oe?A:0));case"v":case"V":return void(M=te[1]+(oe?M:0));case"z":case"Z":return A=O,void(M=V);default:A=te[te.length-2]+(oe?A:0),M=te[te.length-1]+(oe?M:0)}}),!z)return this;for(J=[],W=0;W<N.length;W++)if(typeof B[W]<"u")for(q=0;q<B[W].length;q++)J.push(B[W][q]);else J.push(N[W]);return this.segments=J,this},R.prototype.abs=function(){return this.iterate(function(L,F,N,B){var M,z=L[0],A=z.toUpperCase();if(z!==A)switch(L[0]=A,z){case"v":return void(L[1]+=B);case"a":return L[6]+=N,void(L[7]+=B);default:for(M=1;M<L.length;M++)L[M]+=M%2?N:B}},!0),this},R.prototype.rel=function(){return this.iterate(function(L,F,N,B){var M,z=L[0],A=z.toLowerCase();if(z!==A&&(0!==F||"M"!==z))switch(L[0]=A,z){case"V":return void(L[1]-=B);case"A":return L[6]-=N,void(L[7]-=B);default:for(M=1;M<L.length;M++)L[M]-=M%2?N:B}},!0),this},R.prototype.unarc=function(){return this.iterate(function(L,F,N,B){var z,A,M,O=[],V=L[0];return"A"!==V&&"a"!==V?null:("a"===V?(A=N+L[6],M=B+L[7]):(A=L[6],M=L[7]),0===(z=C(N,B,A,M,L[4],L[5],L[1],L[2],L[3])).length?[["a"===L[0]?"l":"L",L[6],L[7]]]:(z.forEach(function(W){O.push(["C",W[2],W[3],W[4],W[5],W[6],W[7]])}),O))}),this},R.prototype.unshort=function(){var F,N,B,z,A,L=this.segments;return this.iterate(function(M,O,V,W){var te,q=M[0],J=q.toUpperCase();!O||("T"===J?("Q"===(B=L[O-1])[0]?(F=B[1]-V,N=B[2]-W):"q"===B[0]?(F=B[1]-B[3],N=B[2]-B[4]):(F=0,N=0),z=-F,A=-N,(te="t"===q)||(z+=V,A+=W),L[O]=[te?"q":"Q",z,A,M[1],M[2]]):"S"===J&&("C"===(B=L[O-1])[0]?(F=B[3]-V,N=B[4]-W):"c"===B[0]?(F=B[3]-B[5],N=B[4]-B[6]):(F=0,N=0),z=-F,A=-N,(te="s"===q)||(z+=V,A+=W),L[O]=[te?"c":"C",z,A,M[1],M[2],M[3],M[4]]))}),this},_.exports=R},59489:(_,k,c)=>{"use strict";var g=c(85286),b={matrix:!0,scale:!0,rotate:!0,translate:!0,skewX:!0,skewY:!0},S=/\s*(matrix|translate|scale|rotate|skewX|skewY)\s*\(\s*(.+?)\s*\)[\s,]*/,C=/[\s,]+/;_.exports=function(R){var F,N,L=new g;return R.split(S).forEach(function(B){if(B.length){if(typeof b[B]<"u")return void(F=B);switch(N=B.split(C).map(function(z){return+z||0}),F){case"matrix":return void(6===N.length&&L.matrix(N));case"scale":return void(1===N.length?L.scale(N[0],N[0]):2===N.length&&L.scale(N[0],N[1]));case"rotate":return void(1===N.length?L.rotate(N[0],0,0):3===N.length&&L.rotate(N[0],N[1],N[2]));case"translate":return void(1===N.length?L.translate(N[0],0):2===N.length&&L.translate(N[0],N[1]));case"skewX":return void(1===N.length&&L.skewX(N[0]));case"skewY":return void(1===N.length&&L.skewY(N[0]))}}}),L}},43675:_=>{_.exports=function(){var k=document.getSelection();if(!k.rangeCount)return function(){};for(var c=document.activeElement,g=[],b=0;b<k.rangeCount;b++)g.push(k.getRangeAt(b));switch(c.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":c.blur();break;default:c=null}return k.removeAllRanges(),function(){"Caret"===k.type&&k.removeAllRanges(),k.rangeCount||g.forEach(function(S){k.addRange(S)}),c&&c.focus()}}},75080:_=>{"use strict";function k(O){return Object.prototype.toString.call(O)}var R=Array.isArray||function(V){return"[object Array]"===Object.prototype.toString.call(V)};function L(O,V){if(O.forEach)return O.forEach(V);for(var W=0;W<O.length;W++)V(O[W],W,O)}var F=Object.keys||function(V){var W=[];for(var q in V)W.push(q);return W},N=Object.prototype.hasOwnProperty||function(O,V){return V in O};function B(O){if("object"==typeof O&&null!==O){var V;if(R(O))V=[];else if(function c(O){return"[object Date]"===k(O)}(O))V=new Date(O.getTime?O.getTime():O);else if(function g(O){return"[object RegExp]"===k(O)}(O))V=new RegExp(O);else if(function b(O){return"[object Error]"===k(O)}(O))V={message:O.message};else if(function S(O){return"[object Boolean]"===k(O)}(O)||function C(O){return"[object Number]"===k(O)}(O)||function w(O){return"[object String]"===k(O)}(O))V=Object(O);else if(Object.create&&Object.getPrototypeOf)V=Object.create(Object.getPrototypeOf(O));else if(O.constructor===Object)V={};else{var q=function(){};q.prototype=O.constructor&&O.constructor.prototype||O.__proto__||{},V=new q}return L(F(O),function(J){V[J]=O[J]}),V}return O}function z(O,V,W){var q=[],J=[],te=!0;
1return function ae(re){var oe=W?B(re):re,se={},le=!0,Y={node:oe,node_:re,path:[].concat(q),parent:J[J.length-1],parents:J,key:q[q.length-1],isRoot:0===q.length,level:q.length,circular:null,update:function(We,st){Y.isRoot||(Y.parent.node[Y.key]=We),Y.node=We,st&&(le=!1)},delete:function(We){delete Y.parent.node[Y.key],We&&(le=!1)},remove:function(We){R(Y.parent.node)?Y.parent.node.splice(Y.key,1):delete Y.parent.node[Y.key],We&&(le=!1)},keys:null,before:function(We){se.before=We},after:function(We){se.after=We},pre:function(We){se.pre=We},post:function(We){se.post=We},stop:function(){te=!1},block:function(){le=!1}};if(!te)return Y;function _e(){if("object"==typeof Y.node&&null!==Y.node){(!Y.keys||Y.node_!==Y.node)&&(Y.keys=F(Y.node)),Y.isLeaf=0===Y.keys.length;for(var We=0;We<J.length;We++)if(J[We].node_===re){Y.circular=J[We];break}}else Y.isLeaf=!0,Y.keys=null;Y.notLeaf=!Y.isLeaf,Y.notRoot=!Y.isRoot}_e();var Qe=V.call(Y,Y.node);return void 0!==Qe&&Y.update&&Y.update(Qe),se.before&&se.before.call(Y,Y.node),le&&("object"==typeof Y.node&&null!==Y.node&&!Y.circular&&(J.push(Y),_e(),L(Y.keys,function(We,st){q.push(We),se.pre&&se.pre.call(Y,Y.node[We],We);var Ve=ae(Y.node[We]);W&&N.call(Y.node,We)&&(Y.node[We]=Ve.node),Ve.isLast=st===Y.keys.length-1,Ve.isFirst=0===st,se.post&&se.post.call(Y,Ve),q.pop()}),J.pop()),se.after&&se.after.call(Y,Y.node)),Y}(O).node}function A(O){this.value=O}function M(O){return new A(O)}A.prototype.get=function(O){for(var V=this.value,W=0;W<O.length;W++){var q=O[W];if(!V||!N.call(V,q))return;V=V[q]}return V},A.prototype.has=function(O){for(var V=this.value,W=0;W<O.length;W++){var q=O[W];if(!V||!N.call(V,q))return!1;V=V[q]}return!0},A.prototype.set=function(O,V){for(var W=this.value,q=0;q<O.length-1;q++){var J=O[q];N.call(W,J)||(W[J]={}),W=W[J]}return W[O[q]]=V,V},A.prototype.map=function(O){return z(this.value,O,!0)},A.prototype.forEach=function(O){return this.value=z(this.value,O,!1),this.value},A.prototype.reduce=function(O,V){var W=1===arguments.length,q=W?this.value:V;return this.forEach(function(J){(!this.isRoot||!W)&&(q=O.call(this,q,J))}),q},A.prototype.paths=function(){var O=[];return this.forEach(function(){O.push(this.path)}),O},A.prototype.nodes=function(){var O=[];return this.forEach(function(){O.push(this.node)}),O},A.prototype.clone=function(){var O=[],V=[];return function W(q){for(var J=0;J<O.length;J++)if(O[J]===q)return V[J];if("object"==typeof q&&null!==q){var te=B(q);return O.push(q),V.push(te),L(F(q),function(ae){te[ae]=W(q[ae])}),O.pop(),V.pop(),te}return q}(this.value)},L(F(A.prototype),function(O){M[O]=function(V){var W=[].slice.call(arguments,1),q=new A(V);return q[O].apply(q,W)}}),_.exports=M},87629:(_,k,c)=>{"use strict";var g=c(28237),b=c(12858),S=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,C=/[\n\r\t]/g,w=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,R=/:\d+$/,L=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,F=/^[a-zA-Z]:/;function N(te){return(te||"").toString().replace(S,"")}var B=[["#","hash"],["?","query"],function(ae,re){return M(re.protocol)?ae.replace(/\\/g,"/"):ae},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],z={hash:1,query:1};function A(te){var ae;ae=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};var le,oe={},se=typeof(te=te||ae.location||{});if("blob:"===te.protocol)oe=new W(unescape(te.pathname),{});else if("string"===se)for(le in oe=new W(te,{}),z)delete oe[le];else if("object"===se){for(le in te)le in z||(oe[le]=te[le]);void 0===oe.slashes&&(oe.slashes=w.test(te.href))}return oe}function M(te){return"file:"===te||"ftp:"===te||"http:"===te||"https:"===te||"ws:"===te||"wss:"===te}function O(te,ae){te=(te=N(te)).replace(C,""),ae=ae||{};var _e,re=L.exec(te),oe=re[1]?re[1].toLowerCase():"",se=!!re[2],le=!!re[3],Y=0;return se?le?(_e=re[2]+re[3]+re[4],Y=re[2].length+re[3].length):(_e=re[2]+re[4],Y=re[2].length):le?(_e=re[3]+re[4],Y=re[3].length):_e=re[4],"file:"===oe?Y>=2&&(_e=_e.slice(2)):M(oe)?_e=re[4]:oe?se&&(_e=_e.slice(2)):Y>=2&&M(ae.protocol)&&(_e=re[4]),{protocol:oe,slashes:se||M(oe),slashesCount:Y,rest:_e}}function W(te,ae,re){if(te=(te=N(te)).replace(C,""),!(this instanceof W))return new W(te,ae,re);var oe,se,le,Y,_e,Qe,We=B.slice(),st=typeof ae,Ve=this,at=0;for("object"!==st&&"string"!==st&&(re=ae,ae=null),re&&"function"!=typeof re&&(re=b.parse),oe=!(se=O(te||"",ae=A(ae))).protocol&&!se.slashes,Ve.slashes=se.slashes||oe&&ae.slashes,Ve.protocol=se.protocol||ae.protocol||"",te=se.rest,("file:"===se.protocol&&(2!==se.slashesCount||F.test(te))||!se.slashes&&(se.protocol||se.slashesCount<2||!M(Ve.protocol)))&&(We[3]=[/(.*)/,"pathname"]);at<We.length;at++)"function"!=typeof(Y=We[at])?(Qe=Y[1],(le=Y[0])!=le?Ve[Qe]=te:"string"==typeof le?~(_e="@"===le?te.lastIndexOf(le):te.indexOf(le))&&("number"==typeof Y[2]?(Ve[Qe]=te.slice(0,_e),te=te.slice(_e+Y[2])):(Ve[Qe]=te.slice(_e),te=te.slice(0,_e))):(_e=le.exec(te))&&(Ve[Qe]=_e[1],te=te.slice(0,_e.
1index)),Ve[Qe]=Ve[Qe]||oe&&Y[3]&&ae[Qe]||"",Y[4]&&(Ve[Qe]=Ve[Qe].toLowerCase())):te=Y(te,Ve);re&&(Ve.query=re(Ve.query)),oe&&ae.slashes&&"/"!==Ve.pathname.charAt(0)&&(""!==Ve.pathname||""!==ae.pathname)&&(Ve.pathname=function V(te,ae){if(""===te)return ae;for(var re=(ae||"/").split("/").slice(0,-1).concat(te.split("/")),oe=re.length,se=re[oe-1],le=!1,Y=0;oe--;)"."===re[oe]?re.splice(oe,1):".."===re[oe]?(re.splice(oe,1),Y++):Y&&(0===oe&&(le=!0),re.splice(oe,1),Y--);return le&&re.unshift(""),("."===se||".."===se)&&re.push(""),re.join("/")}(Ve.pathname,ae.pathname)),"/"!==Ve.pathname.charAt(0)&&M(Ve.protocol)&&(Ve.pathname="/"+Ve.pathname),g(Ve.port,Ve.protocol)||(Ve.host=Ve.hostname,Ve.port=""),Ve.username=Ve.password="",Ve.auth&&(~(_e=Ve.auth.indexOf(":"))?(Ve.username=Ve.auth.slice(0,_e),Ve.username=encodeURIComponent(decodeURIComponent(Ve.username)),Ve.password=Ve.auth.slice(_e+1),Ve.password=encodeURIComponent(decodeURIComponent(Ve.password))):Ve.username=encodeURIComponent(decodeURIComponent(Ve.auth)),Ve.auth=Ve.password?Ve.username+":"+Ve.password:Ve.username),Ve.origin="file:"!==Ve.protocol&&M(Ve.protocol)&&Ve.host?Ve.protocol+"//"+Ve.host:"null",Ve.href=Ve.toString()}W.prototype={set:function q(te,ae,re){var oe=this;switch(te){case"query":"string"==typeof ae&&ae.length&&(ae=(re||b.parse)(ae)),oe[te]=ae;break;case"port":oe[te]=ae,g(ae,oe.protocol)?ae&&(oe.host=oe.hostname+":"+ae):(oe.host=oe.hostname,oe[te]="");break;case"hostname":oe[te]=ae,oe.port&&(ae+=":"+oe.port),oe.host=ae;break;case"host":oe[te]=ae,R.test(ae)?(ae=ae.split(":"),oe.port=ae.pop(),oe.hostname=ae.join(":")):(oe.hostname=ae,oe.port="");break;case"protocol":oe.protocol=ae.toLowerCase(),oe.slashes=!re;break;case"pathname":case"hash":if(ae){var se="pathname"===te?"/":"#";oe[te]=ae.charAt(0)!==se?se+ae:ae}else oe[te]=ae;break;case"username":case"password":oe[te]=encodeURIComponent(ae);break;case"auth":var le=ae.indexOf(":");~le?(oe.username=ae.slice(0,le),oe.username=encodeURIComponent(decodeURIComponent(oe.username)),oe.password=ae.slice(le+1),oe.password=encodeURIComponent(decodeURIComponent(oe.password))):oe.username=encodeURIComponent(decodeURIComponent(ae))}for(var Y=0;Y<B.length;Y++){var _e=B[Y];_e[4]&&(oe[_e[1]]=oe[_e[1]].toLowerCase())}return oe.auth=oe.password?oe.username+":"+oe.password:oe.username,oe.origin="file:"!==oe.protocol&&M(oe.protocol)&&oe.host?oe.protocol+"//"+oe.host:"null",oe.href=oe.toString(),oe},toString:function J(te){(!te||"function"!=typeof te)&&(te=b.stringify);var ae,re=this,oe=re.host,se=re.protocol;se&&":"!==se.charAt(se.length-1)&&(se+=":");var le=se+(re.protocol&&re.slashes||M(re.protocol)?"//":"");return re.username?(le+=re.username,re.password&&(le+=":"+re.password),le+="@"):re.password?(le+=":"+re.password,le+="@"):"file:"!==re.protocol&&M(re.protocol)&&!oe&&"/"!==re.pathname&&(le+="@"),(":"===oe[oe.length-1]||R.test(re.hostname)&&!re.port)&&(oe+=":"),le+=oe+re.pathname,(ae="object"==typeof re.query?te(re.query):re.query)&&(le+="?"!==ae.charAt(0)?"?"+ae:ae),re.hash&&(le+=re.hash),le}},W.extractProtocol=O,W.location=A,W.trimLeft=N,W.qs=b,_.exports=W},68762:(_,k,c)=>{"use strict";var g=c(94879),b=c(70796);function S(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}k.parse=te,k.resolve=function re(se,le){return te(se,!1,!0).resolve(le)},k.resolveObject=function oe(se,le){return se?te(se,!1,!0).resolveObject(le):le},k.format=function ae(se){return b.isString(se)&&(se=te(se)),se instanceof S?se.format():S.prototype.format.call(se)},k.Url=S;var C=/^([a-z0-9.+-]+:)/i,w=/:[0-9]*$/,R=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,F=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),N=["'"].concat(F),B=["%","/","?",";","#"].concat(N),z=["/","?","#"],M=/^[+a-z0-9A-Z_-]{0,63}$/,O=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,V={javascript:!0,"javascript:":!0},W={javascript:!0,"javascript:":!0},q={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},J=c(17137);function te(se,le,Y){if(se&&b.isObject(se)&&se instanceof S)return se;var _e=new S;return _e.parse(se,le,Y),_e}S.prototype.parse=function(se,le,Y){if(!b.isString(se))throw new TypeError("Parameter 'url' must be a string, not "+typeof se);var _e=se.indexOf("?"),Qe=-1!==_e&&_e<se.indexOf("#")?"?":"#",We=se.split(Qe);We[0]=We[0].replace(/\\/g,"/");var Ve=se=We.join(Qe);
1if(Ve=Ve.trim(),!Y&&1===se.split("#").length){var at=R.exec(Ve);if(at)return this.path=Ve,this.href=Ve,this.pathname=at[1],at[2]?(this.search=at[2],this.query=le?J.parse(this.search.substr(1)):this.search.substr(1)):le&&(this.search="",this.query={}),this}var vt=C.exec(Ve);if(vt){var Sn=(vt=vt[0]).toLowerCase();this.protocol=Sn,Ve=Ve.substr(vt.length)}if(Y||vt||Ve.match(/^\/\/[^@\/]+@[^@\/]+/)){var Ge="//"===Ve.substr(0,2);Ge&&(!vt||!W[vt])&&(Ve=Ve.substr(2),this.slashes=!0)}if(!W[vt]&&(Ge||vt&&!q[vt])){for(var Wt=-1,wt=0;wt<z.length;wt++)-1!==(ln=Ve.indexOf(z[wt]))&&(-1===Wt||ln<Wt)&&(Wt=ln);var Yt,tn;for(-1!==(tn=-1===Wt?Ve.lastIndexOf("@"):Ve.lastIndexOf("@",Wt))&&(Yt=Ve.slice(0,tn),Ve=Ve.slice(tn+1),this.auth=decodeURIComponent(Yt)),Wt=-1,wt=0;wt<B.length;wt++){var ln;-1!==(ln=Ve.indexOf(B[wt]))&&(-1===Wt||ln<Wt)&&(Wt=ln)}-1===Wt&&(Wt=Ve.length),this.host=Ve.slice(0,Wt),Ve=Ve.slice(Wt),this.parseHost(),this.hostname=this.hostname||"";var Gt="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!Gt)for(var nt=this.hostname.split(/\./),jt=(wt=0,nt.length);wt<jt;wt++){var kn=nt[wt];if(kn&&!kn.match(M)){for(var Bn="",Jn=0,Pr=kn.length;Jn<Pr;Jn++)kn.charCodeAt(Jn)>127?Bn+="x":Bn+=kn[Jn];if(!Bn.match(M)){var qn=nt.slice(0,wt),Dr=nt.slice(wt+1),ni=kn.match(O);ni&&(qn.push(ni[1]),Dr.unshift(ni[2])),Dr.length&&(Ve="/"+Dr.join(".")+Ve),this.hostname=qn.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),Gt||(this.hostname=g.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,Gt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==Ve[0]&&(Ve="/"+Ve))}if(!V[Sn])for(wt=0,jt=N.length;wt<jt;wt++){var Hr=N[wt];if(-1!==Ve.indexOf(Hr)){var ft=encodeURIComponent(Hr);ft===Hr&&(ft=escape(Hr)),Ve=Ve.split(Hr).join(ft)}}var pe=Ve.indexOf("#");-1!==pe&&(this.hash=Ve.substr(pe),Ve=Ve.slice(0,pe));var be=Ve.indexOf("?");return-1!==be?(this.search=Ve.substr(be),this.query=Ve.substr(be+1),le&&(this.query=J.parse(this.query)),Ve=Ve.slice(0,be)):le&&(this.search="",this.query={}),Ve&&(this.pathname=Ve),q[Sn]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},S.prototype.format=function(){var se=this.auth||"";se&&(se=(se=encodeURIComponent(se)).replace(/%3A/i,":"),se+="@");var le=this.protocol||"",Y=this.pathname||"",_e=this.hash||"",Qe=!1,We="";this.host?Qe=se+this.host:this.hostname&&(Qe=se+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(Qe+=":"+this.port)),this.query&&b.isObject(this.query)&&Object.keys(this.query).length&&(We=J.stringify(this.query));var st=this.search||We&&"?"+We||"";return le&&":"!==le.substr(-1)&&(le+=":"),this.slashes||(!le||q[le])&&!1!==Qe?(Qe="//"+(Qe||""),Y&&"/"!==Y.charAt(0)&&(Y="/"+Y)):Qe||(Qe=""),_e&&"#"!==_e.charAt(0)&&(_e="#"+_e),st&&"?"!==st.charAt(0)&&(st="?"+st),le+Qe+(Y=Y.replace(/[?#]/g,function(Ve){return encodeURIComponent(Ve)}))+(st=st.replace("#","%23"))+_e},S.prototype.resolve=function(se){return this.resolveObject(te(se,!1,!0)).format()},S.prototype.resolveObject=function(se){if(b.isString(se)){var le=new S;le.parse(se,!1,!0),se=le}for(var Y=new S,_e=Object.keys(this),Qe=0;Qe<_e.length;Qe++){var We=_e[Qe];Y[We]=this[We]}if(Y.hash=se.hash,""===se.href)return Y.href=Y.format(),Y;if(se.slashes&&!se.protocol){for(var st=Object.keys(se),Ve=0;Ve<st.length;Ve++){var at=st[Ve];"protocol"!==at&&(Y[at]=se[at])}return q[Y.protocol]&&Y.hostname&&!Y.pathname&&(Y.path=Y.pathname="/"),Y.href=Y.format(),Y}if(se.protocol&&se.protocol!==Y.protocol){if(!q[se.protocol]){for(var vt=Object.keys(se),Sn=0;Sn<vt.length;Sn++){var Ge=vt[Sn];Y[Ge]=se[Ge]}return Y.href=Y.format(),Y}if(Y.protocol=se.protocol,se.host||W[se.protocol])Y.pathname=se.pathname;else{for(var jt=(se.pathname||"").split("/");jt.length&&!(se.host=jt.shift()););se.host||(se.host=""),se.hostname||(se.hostname=""),""!==jt[0]&&jt.unshift(""),jt.length<2&&jt.unshift(""),Y.pathname=jt.join("/")}return Y.search=se.search,Y.query=se.query,Y.host=se.host||"",Y.auth=se.auth,Y.hostname=se.hostname||se.host,Y.port=se.port,(Y.pathname||Y.search)&&(Y.path=(Y.pathname||"")+(Y.search||"")),Y.slashes=Y.slashes||se.slashes,Y.href=Y.format(),Y}var ln=Y.pathname&&"/"===Y.pathname.charAt(0),Yt=se.host||se.pathname&&"/"===se.pathname.charAt(0),tn=Yt||ln||Y.host&&se.pathname,Gt=tn,nt=Y.pathname&&Y.pathname.split("/")||[],kn=(jt=se.pathname&&se.pathname.split("/")||[],Y.protocol&&!q[Y.protocol]);if(kn&&(Y.hostname="",Y.port=null,Y.host&&(""===nt[0]?nt[0]=Y.host:nt.unshift(Y.host)),Y.host="",se.protocol&&(se.hostname=null,se.port=null,se.host&&(""===jt[0]?jt[0]=se.host:jt.unshift(se.host)),se.host=null),tn=tn&&(""===jt[0]||""===nt[0])),Yt)Y.host=se.host||""===se.host?se.host:Y.host,Y.hostname=se.hostname||""===se.hostname?se.hostname:Y.hostname,Y.search=se.search,Y.query=se.query,nt=jt;else if(jt.length)nt||(nt=[]),nt.pop(),nt=nt.concat(jt),Y.search=se.search,Y.query=se.query;else if(!b.isNullOrUndefined(se.search))return kn&&(Y.hostname=Y.host=nt.shift(),(Bn=!!(Y.host&&Y.host.indexOf("@")>0)&&Y.host.split("@"))&&(Y.auth=Bn.shift(),Y.host=Y.hostname=Bn.shift())),Y.search=se.search,Y.query=se.query,(!b.isNull(Y.pathname)||!b.isNull(Y.search))&&(Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"")),Y.href=Y.format(),Y;if(!nt.length)return Y.pathname=null,Y.path=Y.search?"/"+Y.search:null,Y.href=Y.format(),Y;for(var Jn=nt.slice(-1)[0],Pr=(Y.host||se.host||nt.length>1)&&("."===Jn||".."===Jn)||""===Jn,qn=0,Dr=nt.length;Dr>=0;Dr--)"."===(Jn=nt[Dr])?nt.splice(Dr,1):".."===Jn?(nt.splice(Dr,1),qn++):qn&&(nt.splice(Dr,1),qn--);if(!tn&&!Gt)for(;qn--;qn)nt.unshift("..");tn&&""!==nt[0]&&(!nt[0]||"/"!==nt[0].charAt(0))&&nt.unshift(""),Pr&&"/"!==nt.join("/").substr(-1)&&nt.push("");var Bn,ni=""===nt[0]||nt[0]&&"/"===nt[0].charAt(0);return kn&&(Y.hostname=Y.host=ni?"":nt.length?nt.shift():"",(Bn=!!(Y.host&&Y.host.indexOf("@")>0)&&Y.host.split("@"))&&(Y.auth=Bn.shift(),Y.host=Y.hostname=Bn.shift())),(tn=tn||Y.host&&nt.length)&&!ni&&nt.unshift(""),nt.length?Y.pathname=nt.join("/"):(Y.pathname=null,Y.path=null),(!b.isNull(Y.pathname)||!b.isNull(Y.search))&&(Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"")),Y.auth=se.auth||Y.auth,Y.slashes=Y.slashes||se.slashes,Y.href=Y.format(),Y},S.prototype.parseHost=function(){var se=this.host,le=w.exec(se);le&&(":"!==(le=le[0])&&(this.port=le.substr(1)),se=se.substr(0,se.length-le.length)),se&&(this.hostname=se)}},70796:_=>{"use strict";_.exports={isString:function(k){return"string"==typeof k},isObject:function(k){return"object"==typeof k&&null!==k},isNull:function(k){return null===k},isNullOrUndefined:function(k){return null==k}}},67150:(_,k,c)=>{"use strict";var g=c(85398),C=function(B){return/<\/+[^>]+>/.test(B)},w=function(B){return/<[^>]+\/>/.test(B)};function L(N){return(B=N,B.split(/(<\/?[^>]+>)/g).filter(function(z){return""!==z.trim()})).map(function(z){return{value:z,type:F(z)}});var B}function F(N){return C(N)?"ClosingTag":!function(B){return/<[^>!]+>/.test(B)}(B=N)||C(B)||w(B)?w(N)?"SelfClosingTag":"Text":"OpeningTag";var B}_.exports=function(N){var B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},z=B.indentor,A=B.textNodesOnSameLine,M=0,O=[];z=z||" ";var V=L(N).map(function(W,q,J){var te=W.value,ae=W.type;"ClosingTag"===ae&&M--;var re=g(z,M),oe=re+te;if("OpeningTag"===ae&&M++,A){var se=J[q-1],le=J[q-2];"ClosingTag"===ae&&"Text"===se.type&&"OpeningTag"===le.type&&(oe=""+re+le.value+se.value+te,O.push(q-2,q-1))}return oe});return O.forEach(function(W){return V[W]=null}),V.filter(function(W){return!!W}).join("\n")}},84504:function(_,k){var c,g,b;g=[],void 0!==(b="function"==typeof(c=function(){"use strict";var S=function(z){return z&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(z)["scroll-behavior"]};if(typeof window>"u"||!("document"in window))return{};var C=function(z,A,M){A=A||999,!M&&0!==M&&(M=9);var O,V=function(se){O=se},W=function(){clearTimeout(O),V(0)},q=function(se){return Math.max(0,z.getTopOf(se)-M)},J=function(se,le,Y){if(W(),0===le||le&&le<0||S(z.body))z.toY(se),Y&&Y();else{var _e=z.getY(),Qe=Math.max(0,se)-_e,We=(new Date).getTime();le=le||Math.min(Math.abs(Qe),A),function st(){V(setTimeout(function(){var Ve=Math.min(1,((new Date).getTime()-We)/le),at=Math.max(0,Math.floor(_e+Qe*(Ve<.5?2*Ve*Ve:Ve*(4-2*Ve)-1)));z.toY(at),Ve<1&&z.getHeight()+at<z.body.scrollHeight?st():(setTimeout(W,99),Y&&Y())},9))}()}}
1,te=function(se,le,Y){J(q(se),le,Y)};return{setup:function(se,le){return(0===se||se)&&(A=se),(0===le||le)&&(M=le),{defaultDuration:A,edgeOffset:M}},to:te,toY:J,intoView:function(se,le,Y){var _e=se.getBoundingClientRect().height,Qe=z.getTopOf(se)+_e,We=z.getHeight(),st=z.getY(),Ve=st+We;q(se)<st||_e+M>We?te(se,le,Y):Qe+M>Ve?J(Qe-We+M,le,Y):Y&&Y()},center:function(se,le,Y,_e){J(Math.max(0,z.getTopOf(se)-z.getHeight()/2+(Y||se.getBoundingClientRect().height/2)),le,_e)},stop:W,moving:function(){return!!O},getY:z.getY,getTopOf:z.getTopOf}},w=document.documentElement,R=function(){return window.scrollY||w.scrollTop},L=C({body:document.scrollingElement||document.body,toY:function(z){window.scrollTo(0,z)},getY:R,getHeight:function(){return window.innerHeight||w.clientHeight},getTopOf:function(z){return z.getBoundingClientRect().top+R()-w.offsetTop}});if(L.createScroller=function(z,A,M){return C({body:z,toY:function(O){z.scrollTop=O},getY:function(){return z.scrollTop},getHeight:function(){return Math.min(z.clientHeight,window.innerHeight||w.clientHeight)},getTopOf:function(O){return O.offsetTop}},A,M)},"addEventListener"in window&&!window.noZensmooth&&!S(document.body)){var F="history"in window&&"pushState"in history,N=F&&"scrollRestoration"in history;N&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){N&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(z){z.state&&"zenscrollY"in z.state&&L.toY(z.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var z=L.setup().edgeOffset;if(z){var A=document.getElementById(window.location.href.split("#")[1]);if(A){var M=Math.max(0,L.getTopOf(A)-z),O=L.getY()-M;0<=O&&O<9&&window.scrollTo(0,M)}}},9)},!1);var B=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(z){for(var A=z.target;A&&"A"!==A.tagName;)A=A.parentNode;if(!(!A||1!==z.which||z.shiftKey||z.metaKey||z.ctrlKey||z.altKey)){if(N){var M=history.state&&"object"==typeof history.state?history.state:{};M.zenscrollY=L.getY();try{history.replaceState(M,"")}catch{}}var O=A.getAttribute("href")||"";if(0===O.indexOf("#")&&!B.test(A.className)){var V=0,W=document.getElementById(O.substring(1));if("#"!==O){if(!W)return;V=L.getTopOf(W)}z.preventDefault();var q=function(){window.location=O},J=L.setup().edgeOffset;J&&(V=Math.max(0,V-J),F&&(q=function(){history.pushState({},"",O)})),L.toY(V,null,q)}}},!1)}return L}())?c.apply(k,g):c)&&(_.exports=b)},24654:()=>{},25110:(_,k,c)=>{_.exports=c(96711)},58309:(_,k,c)=>{_.exports=c(15063)},70586:(_,k,c)=>{_.exports=c(19026)},11189:(_,k,c)=>{_.exports=c(29481)},39022:(_,k,c)=>{_.exports=c(86934)},74386:(_,k,c)=>{_.exports=c(48505)},2250:(_,k,c)=>{_.exports=c(46385)},47475:(_,k,c)=>{_.exports=c(8706)},14418:(_,k,c)=>{_.exports=c(12265)},12373:(_,k,c)=>{_.exports=c(60420)},51679:(_,k,c)=>{_.exports=c(81e3)},86:(_,k,c)=>{_.exports=c(68144)},58118:(_,k,c)=>{_.exports=c(33866)},11882:(_,k,c)=>{_.exports=c(22932)},8712:(_,k,c)=>{_.exports=c(62380)},57269:(_,k,c)=>{_.exports=c(34607)},97606:(_,k,c)=>{_.exports=c(72016)},24282:(_,k,c)=>{_.exports=c(66583)},12196:(_,k,c)=>{_.exports=c(31323)},24278:(_,k,c)=>{_.exports=c(51387)},92039:(_,k,c)=>{_.exports=c(81745)},2578:(_,k,c)=>{_.exports=c(87886)},39940:(_,k,c)=>{_.exports=c(74607)},27043:(_,k,c)=>{_.exports=c(31137)},81607:(_,k,c)=>{_.exports=c(65900)},47273:(_,k,c)=>{_.exports=c(43426)},35627:(_,k,c)=>{_.exports=c(96354)},18492:(_,k,c)=>{_.exports=c(75221)},76986:(_,k,c)=>{_.exports=c(74230)},2018:(_,k,c)=>{_.exports=c(51589)},28222:(_,k,c)=>{_.exports=c(52298)},3665:(_,k,c)=>{_.exports=c(12891)},6226:(_,k,c)=>{_.exports=c(6870)},87198:(_,k,c)=>{_.exports=c(3860)},37659:(_,k,c)=>{_.exports=c(68372)},63460:(_,k,c)=>{_.exports=c(34869)},28886:(_,k,c)=>{_.exports=c(18362)},10349:(_,k,c)=>{_.exports=c(21162)},98235:(_,k,c)=>{_.exports=c(45750)},19389:(_,k,c)=>{_.exports=c(23850)},92381:(_,k,c)=>{_.exports=c(3064)},48216:(_,k,c)=>{_.exports=c(72353)},73324:(_,k,c)=>{_.exports=c(98961)},99595:(_,k,c)=>{_.exports=c(41629)},51791:(_,k,c)=>{_.exports=c(15923)},86526:(_,k,c)=>{_.exports=c(403)},35704:(_,k,c)=>{_.exports=c(79769)},67552:(_,k,c)=>{_.exports=c(13924)},3841:(_,k,c)=>{_.exports=c(49741)},2201:(_,k,c)=>{_.exports=c(90878)},57445:(_,k,c)=>{_.exports=c(91390)},88546:(_,k,c)=>{_.exports=c(48562)},66775:(_,k,c)=>{_.exports=c(33935)},52020:(_,k,c)=>{_.exports=c(48775)},39272:(_,k,c)=>{_.exports=c(90877)},62079:(_,k,c)=>{_.exports=c(95988)},92984:(_,k,c)=>{_.exports=c(12836)},35820:(_,k,c)=>{_.exports=c(72851)},52472:(_,k,c)=>{_.exports=c(4106)},48994:(_,k,c)=>{_.exports=c(84074)},5177:(_,k,c)=>{var g=c(20474).default,b=c(57445),S=c(52472),C=c(3841),w=c(39272),R=c(99595),L=c(92984),F=c(35820),N=c(86526),B=c(35704);function z(){"use strict";_.exports=z=function(){return A},_.exports.__esModule=!0,_.exports.default=_.exports;var A={},M=Object.prototype,O=M.hasOwnProperty,V=b||function(Gt,nt,jt){Gt[nt]=jt.value},W="function"==typeof S?S:{},q=W.iterator||"@@iterator",J=W.asyncIterator||"@@asyncIterator",te=W.toStringTag||"@@toStringTag";function ae(Gt,nt,jt){return b(Gt,nt,{value:jt,enumerable:!0,configurable:!0,writable:!0}),Gt[nt]}try{ae({},"")}catch{ae=function(jt,kn,Bn){return jt[kn]=Bn}}function re(Gt,nt,jt,kn){var Jn=C((nt&&nt.prototype instanceof le?nt:le).prototype),Pr=new ln(kn||[]);return V(Jn,"_invoke",{value:Sn(Gt,jt,Pr)}),Jn}function oe(Gt,nt,jt){try{return{type:"normal",arg:Gt.call(nt,jt)}}catch(kn){return{type:"throw",arg:kn}}}A.wrap=re;var se={};function le(){}function Y(){}function _e(){}var Qe={};ae(Qe,q,function(){return this});var st=w&&w(w(Yt([])));st&&st!==M&&O.call(st,q)&&(Qe=st);var Ve=_e.prototype=le.prototype=C(Qe);function at(Gt){var nt;R(nt=["next","throw","return"]).call(nt,function(jt){ae(Gt,jt,function(kn){return this._invoke(jt,kn)})})}function vt(Gt,nt){function jt(Bn,Jn,Pr,qn){var Dr=oe(Gt[Bn],Gt,Jn);if("throw"!==Dr.type){var ni=Dr.arg,oi=ni.value;return oi&&"object"==g(oi)&&O.call(oi,"__await")?nt.resolve(oi.__await).then(function(Gi){jt("next",Gi,Pr,qn)},function(Gi){jt("throw",Gi,Pr,qn)}):nt.resolve(oi).then(function(Gi){ni.value=Gi,Pr(ni)},function(Gi){return jt("throw",Gi,Pr,qn)})}qn(Dr.arg)}var kn;V(this,"_invoke",{value:function(Jn,Pr){function qn(){return new nt(function(Dr,ni){jt(Jn,Pr,Dr,ni)})}return kn=kn?kn.then(qn,qn):qn()}})}function Sn(Gt,nt,jt){var kn="suspendedStart";return function(Bn,Jn){if("executing"===kn)throw new Error("Generator is already running");if("completed"===kn){if("throw"===Bn)throw Jn;return{value:void 0,done:!0}}for(jt.method=Bn,jt.arg=Jn;;){var Pr=jt.delegate;if(Pr){var qn=Ge(Pr,jt);if(qn){if(qn===se)continue;return qn}}if("next"===jt.method)jt.sent=jt._sent=jt.arg;else if("throw"===jt.method){if("suspendedStart"===kn)throw kn="completed",jt.arg;jt.dispatchException(jt.arg)}else"return"===jt.method&&jt.abrupt("return",jt.arg);kn="executing";var Dr=oe(Gt,nt,jt);if("normal"===Dr.type){if(kn=jt.done?"completed":"suspendedYield",Dr.arg===se)continue;return{value:Dr.arg,done:jt.done}}"throw"===Dr.type&&(kn="completed",jt.method="throw",jt.arg=Dr.arg)}}}function Ge(Gt,nt){var jt=Gt.iterator[nt.method];if(void 0===jt){if(nt.delegate=null,"throw"===nt.method){if(Gt.iterator.return&&
1(nt.method="return",nt.arg=void 0,Ge(Gt,nt),"throw"===nt.method))return se;nt.method="throw",nt.arg=new TypeError("The iterator does not provide a 'throw' method")}return se}var kn=oe(jt,Gt.iterator,nt.arg);if("throw"===kn.type)return nt.method="throw",nt.arg=kn.arg,nt.delegate=null,se;var Bn=kn.arg;return Bn?Bn.done?(nt[Gt.resultName]=Bn.value,nt.next=Gt.nextLoc,"return"!==nt.method&&(nt.method="next",nt.arg=void 0),nt.delegate=null,se):Bn:(nt.method="throw",nt.arg=new TypeError("iterator result is not an object"),nt.delegate=null,se)}function Wt(Gt){var nt={tryLoc:Gt[0]};1 in Gt&&(nt.catchLoc=Gt[1]),2 in Gt&&(nt.finallyLoc=Gt[2],nt.afterLoc=Gt[3]),this.tryEntries.push(nt)}function wt(Gt){var nt=Gt.completion||{};nt.type="normal",delete nt.arg,Gt.completion=nt}function ln(Gt){this.tryEntries=[{tryLoc:"root"}],R(Gt).call(Gt,Wt,this),this.reset(!0)}function Yt(Gt){if(Gt){var nt=Gt[q];if(nt)return nt.call(Gt);if("function"==typeof Gt.next)return Gt;if(!isNaN(Gt.length)){var jt=-1,kn=function Bn(){for(;++jt<Gt.length;)if(O.call(Gt,jt))return Bn.value=Gt[jt],Bn.done=!1,Bn;return Bn.value=void 0,Bn.done=!0,Bn};return kn.next=kn}}return{next:tn}}function tn(){return{value:void 0,done:!0}}return Y.prototype=_e,V(Ve,"constructor",{value:_e,configurable:!0}),V(_e,"constructor",{value:Y,configurable:!0}),Y.displayName=ae(_e,te,"GeneratorFunction"),A.isGeneratorFunction=function(Gt){var nt="function"==typeof Gt&&Gt.constructor;return!!nt&&(nt===Y||"GeneratorFunction"===(nt.displayName||nt.name))},A.mark=function(Gt){return L?L(Gt,_e):(Gt.__proto__=_e,ae(Gt,te,"GeneratorFunction")),Gt.prototype=C(Ve),Gt},A.awrap=function(Gt){return{__await:Gt}},at(vt.prototype),ae(vt.prototype,J,function(){return this}),A.AsyncIterator=vt,A.async=function(Gt,nt,jt,kn,Bn){void 0===Bn&&(Bn=F);var Jn=new vt(re(Gt,nt,jt,kn),Bn);return A.isGeneratorFunction(nt)?Jn:Jn.next().then(function(Pr){return Pr.done?Pr.value:Jn.next()})},at(Ve),ae(Ve,te,"Generator"),ae(Ve,q,function(){return this}),ae(Ve,"toString",function(){return"[object Generator]"}),A.keys=function(Gt){var nt=Object(Gt),jt=[];for(var kn in nt)jt.push(kn);return N(jt).call(jt),function Bn(){for(;jt.length;){var Jn=jt.pop();if(Jn in nt)return Bn.value=Jn,Bn.done=!1,Bn}return Bn.done=!0,Bn}},A.values=Yt,ln.prototype={constructor:ln,reset:function(nt){var jt;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,R(jt=this.tryEntries).call(jt,wt),!nt)for(var kn in this)"t"===kn.charAt(0)&&O.call(this,kn)&&!isNaN(+B(kn).call(kn,1))&&(this[kn]=void 0)},stop:function(){this.done=!0;var nt=this.tryEntries[0].completion;if("throw"===nt.type)throw nt.arg;return this.rval},dispatchException:function(nt){if(this.done)throw nt;var jt=this;function kn(ni,oi){return Pr.type="throw",Pr.arg=nt,jt.next=ni,oi&&(jt.method="next",jt.arg=void 0),!!oi}for(var Bn=this.tryEntries.length-1;Bn>=0;--Bn){var Jn=this.tryEntries[Bn],Pr=Jn.completion;if("root"===Jn.tryLoc)return kn("end");if(Jn.tryLoc<=this.prev){var qn=O.call(Jn,"catchLoc"),Dr=O.call(Jn,"finallyLoc");if(qn&&Dr){if(this.prev<Jn.catchLoc)return kn(Jn.catchLoc,!0);if(this.prev<Jn.finallyLoc)return kn(Jn.finallyLoc)}else if(qn){if(this.prev<Jn.catchLoc)return kn(Jn.catchLoc,!0)}else{if(!Dr)throw new Error("try statement without catch or finally");if(this.prev<Jn.finallyLoc)return kn(Jn.finallyLoc)}}}},abrupt:function(nt,jt){for(var kn=this.tryEntries.length-1;kn>=0;--kn){var Bn=this.tryEntries[kn];if(Bn.tryLoc<=this.prev&&O.call(Bn,"finallyLoc")&&this.prev<Bn.finallyLoc){var Jn=Bn;break}}Jn&&("break"===nt||"continue"===nt)&&Jn.tryLoc<=jt&&jt<=Jn.finallyLoc&&(Jn=null);var Pr=Jn?Jn.completion:{};return Pr.type=nt,Pr.arg=jt,Jn?(this.method="next",this.next=Jn.finallyLoc,se):this.complete(Pr)},complete:function(nt,jt){if("throw"===nt.type)throw nt.arg;return"break"===nt.type||"continue"===nt.type?this.next=nt.arg:"return"===nt.type?(this.rval=this.arg=nt.arg,this.method="return",this.next="end"):"normal"===nt.type&&jt&&(this.next=jt),se},finish:function(nt){for(var jt=this.tryEntries.length-1;jt>=0;--jt){var kn=this.tryEntries[jt];
1if(kn.finallyLoc===nt)return this.complete(kn.completion,kn.afterLoc),wt(kn),se}},catch:function(nt){for(var jt=this.tryEntries.length-1;jt>=0;--jt){var kn=this.tryEntries[jt];if(kn.tryLoc===nt){var Bn=kn.completion;if("throw"===Bn.type){var Jn=Bn.arg;wt(kn)}return Jn}}throw new Error("illegal catch attempt")},delegateYield:function(nt,jt,kn){return this.delegate={iterator:Yt(nt),resultName:jt,nextLoc:kn},"next"===this.method&&(this.arg=void 0),se}},A}_.exports=z,_.exports.__esModule=!0,_.exports.default=_.exports},20474:(_,k,c)=>{var g=c(52472),b=c(48994);function S(C){return _.exports=S="function"==typeof g&&"symbol"==typeof b?function(w){return typeof w}:function(w){return w&&"function"==typeof g&&w.constructor===g&&w!==g.prototype?"symbol":typeof w},_.exports.__esModule=!0,_.exports.default=_.exports,S(C)}_.exports=S,_.exports.__esModule=!0,_.exports.default=_.exports},30222:(_,k,c)=>{var g=c(5177)();_.exports=g;try{regeneratorRuntime=g}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=g:Function("r","regeneratorRuntime = r")(g)}},4942:(_,k,c)=>{"use strict";function g(b,S,C){return S in b?Object.defineProperty(b,S,{value:C,enumerable:!0,configurable:!0,writable:!0}):b[S]=C,b}c.d(k,{Z:()=>g})},4147:_=>{"use strict";_.exports={i8:"0.12.0"}}},_=>{_(_.s=51184)}]);
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.