Files
phx-frontend-plugin-webcomp…/latest/main.js

3839 lines
1.2 MiB

var iA=Object.defineProperty,rA=Object.defineProperties;var oA=Object.getOwnPropertyDescriptors;var $u=Object.getOwnPropertySymbols;var V1=Object.prototype.hasOwnProperty,j1=Object.prototype.propertyIsEnumerable;var sA=(t,n)=>(n=Symbol[t])?n:Symbol.for("Symbol."+t);var B1=(t,n,e)=>n in t?iA(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,_=(t,n)=>{for(var e in n||={})V1.call(n,e)&&B1(t,e,n[e]);if($u)for(var e of $u(n))j1.call(n,e)&&B1(t,e,n[e]);return t},A=(t,n)=>rA(t,oA(n));var Uu=t=>typeof t=="symbol"?t:t+"",Et=(t,n)=>{var e={};for(var i in t)V1.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&$u)for(var i of $u(t))n.indexOf(i)<0&&j1.call(t,i)&&(e[i]=t[i]);return e};var gt=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(t,n)).next())}),mg=function(t,n){this[0]=t,this[1]=n},z1=(t,n,e)=>{var i=(a,l,c,d)=>{try{var u=e[a](l),p=(l=u.value)instanceof mg,f=u.done;Promise.resolve(p?l[0]:l).then(y=>p?i(a==="return"?a:"next",l[1]?{done:y.done,value:y.value}:y,c,d):c({value:y,done:f})).catch(y=>i("throw",y,c,d))}catch(y){d(y)}},r=(a,l,c,d)=>s[a]=u=>(l=new Promise((p,f,y)=>(y=()=>i(a,u,p,f),o?o.then(y):y())),d=()=>o===c&&(o=0),o=c=l.then(d,d),l),o,s={};return e=e.apply(t,n),s[sA("asyncIterator")]=()=>s,r("next"),r("throw"),r("return"),s};var gg;function Wu(){return gg}function gr(t){let n=gg;return gg=t,n}var H1=Symbol("NotFound");function Pa(t){return t===H1||t?.name==="\u0275NotFound"}var Fn=null,Gu=!1,yg=1,aA=null,gn=Symbol("SIGNAL");function Oe(t){let n=Fn;return Fn=t,n}function Yu(){return Fn}var Cs={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Aa(t){if(Gu)throw new Error("");if(Fn===null)return;Fn.consumerOnSignalRead(t);let n=Fn.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=Fn.recomputing;if(i&&(e=n!==void 0?n.nextProducer:Fn.producers,e!==void 0&&e.producer===t)){Fn.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Fn&&(!i||cA(r,Fn)))return;let o=La(Fn),s={producer:t,consumer:Fn,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Fn.producersTail=s,n!==void 0?n.nextProducer=s:Fn.producers=s,o&&G1(t,s)}function $1(){yg++}function Zu(t){if(!(La(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===yg)){if(!t.producerMustRecompute(t)&&!Fa(t)){Ku(t);return}t.producerRecomputeValue(t),Ku(t)}}function bg(t){if(t.consumers===void 0)return;let n=Gu;Gu=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||lA(i)}}finally{Gu=n}}function vg(){return Fn?.consumerAllowSignalWrites!==!1}function lA(t){t.dirty=!0,bg(t),t.consumerMarkedDirty?.(t)}function Ku(t){t.dirty=!1,t.lastCleanEpoch=yg}function xs(t){return t&&U1(t),Oe(t)}function U1(t){t.producersTail=void 0,t.recomputing=!0}function Na(t,n){Oe(n),t&&W1(t)}function W1(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(La(t))do e=_g(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function Fa(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(Zu(e),i!==e.version))return!0}return!1}function Ts(t){if(La(t)){let n=t.producers;for(;n!==void 0;)n=_g(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function G1(t,n){let e=t.consumersTail,i=La(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)G1(r.producer,r)}function _g(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!La(n)){let o=n.producers;for(;o!==void 0;)o=_g(o)}return e}function La(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Ju(t){aA?.(t)}function cA(t,n){let e=n.producersTail;if(e!==void 0){let i=n.producers;do{if(i===t)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function Xu(t,n){return Object.is(t,n)}function Ic(t,n){let e=Object.create(dA);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(Zu(e),Aa(e),e.value===Sc)throw e.error;return e.value};return i[gn]=e,Ju(e),i}var qu=Symbol("UNSET"),Qu=Symbol("COMPUTING"),Sc=Symbol("ERRORED"),dA=A(_({},Cs),{value:qu,dirty:!0,error:null,equal:Xu,kind:"computed",producerMustRecompute(t){return t.value===qu||t.value===Qu},producerRecomputeValue(t){if(t.value===Qu)throw new Error("");let n=t.value;t.value=Qu;let e=xs(t),i,r=!1;try{i=t.computation(),Oe(null),r=n!==qu&&n!==Sc&&i!==Sc&&t.equal(n,i)}catch(o){i=Sc,t.error=o}finally{Na(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function uA(){throw new Error}var q1=uA;function Q1(t){q1(t)}function wg(t){q1=t}var pA=null;function Cg(t,n){let e=Object.create(ep);e.value=t,n!==void 0&&(e.equal=n);let i=()=>K1(e);return i[gn]=e,Ju(e),[i,s=>Ba(e,s),s=>xg(e,s)]}function K1(t){return Aa(t),t.value}function Ba(t,n){vg()||Q1(t),t.equal(t.value,n)||(t.value=n,fA(t))}function xg(t,n){vg()||Q1(t),Ba(t,n(t.value))}var ep=A(_({},Cs),{equal:Xu,value:void 0,kind:"signal"});function fA(t){t.version++,$1(),bg(t),pA?.(t)}function Le(t){return typeof t=="function"}function Va(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var tp=Va(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function Es(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Gt=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(Le(i))try{i()}catch(o){n=o instanceof tp?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Y1(o)}catch(s){n=n??[],s instanceof tp?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tp(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Y1(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Es(e,n)}remove(n){let{_finalizers:e}=this;e&&Es(e,n),n instanceof t&&n._removeParent(this)}};Gt.EMPTY=(()=>{let t=new Gt;return t.closed=!0,t})();var Tg=Gt.EMPTY;function np(t){return t instanceof Gt||t&&"closed"in t&&Le(t.remove)&&Le(t.add)&&Le(t.unsubscribe)}function Y1(t){Le(t)?t():t.unsubscribe()}var Vi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ja={setTimeout(t,n,...e){let{delegate:i}=ja;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=ja;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ip(t){ja.setTimeout(()=>{let{onUnhandledError:n}=Vi;if(n)n(t);else throw t})}function Dc(){}var Z1=Eg("C",void 0,void 0);function J1(t){return Eg("E",void 0,t)}function X1(t){return Eg("N",t,void 0)}function Eg(t,n,e){return{kind:t,value:n,error:e}}var Ss=null;function za(t){if(Vi.useDeprecatedSynchronousErrorHandling){let n=!Ss;if(n&&(Ss={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Ss;if(Ss=null,e)throw i}}else t()}function ex(t){Vi.useDeprecatedSynchronousErrorHandling&&Ss&&(Ss.errorThrown=!0,Ss.error=t)}var Is=class extends Gt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,np(n)&&n.add(this)):this.destination=gA}static create(n,e,i){return new eo(n,e,i)}next(n){this.isStopped?Ig(X1(n),this):this._next(n)}error(n){this.isStopped?Ig(J1(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ig(Z1,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},hA=Function.prototype.bind;function Sg(t,n){return hA.call(t,n)}var Dg=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){rp(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){rp(i)}else rp(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){rp(e)}}},eo=class extends Is{constructor(n,e,i){super();let r;if(Le(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Vi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Sg(n.next,o),error:n.error&&Sg(n.error,o),complete:n.complete&&Sg(n.complete,o)}):r=n}this.destination=new Dg(r)}};function rp(t){Vi.useDeprecatedSynchronousErrorHandling?ex(t):ip(t)}function mA(t){throw t}function Ig(t,n){let{onStoppedNotification:e}=Vi;e&&ja.setTimeout(()=>e(t,n))}var gA={closed:!0,next:Dc,error:mA,complete:Dc};var Ha=typeof Symbol=="function"&&Symbol.observable||"@@observable";function zn(t){return t}function kg(...t){return Mg(t)}function Mg(t){return t.length===0?zn:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var ue=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=bA(e)?e:new eo(e,i,r);return za(()=>{let{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(i){e.error(i)}}forEach(e,i){return i=tx(i),new i((r,o)=>{let s=new eo({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[Ha](){return this}pipe(...e){return Mg(e)(this)}toPromise(e){return e=tx(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})();function tx(t){var n;return(n=t??Vi.Promise)!==null&&n!==void 0?n:Promise}function yA(t){return t&&Le(t.next)&&Le(t.error)&&Le(t.complete)}function bA(t){return t&&t instanceof Is||yA(t)&&np(t)}function Og(t){return Le(t?.lift)}function ze(t){return n=>{if(Og(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function He(t,n,e,i,r){return new Rg(t,n,e,i,r)}var Rg=class extends Is{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function $a(){return ze((t,n)=>{let e=null;t._refCount++;let i=He(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Ua=class extends ue{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Og(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Gt;let e=this.getSubject();n.add(this.source.subscribe(He(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Gt.EMPTY)}return n}refCount(){return $a()(this)}};var nx=Va(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ge=(()=>{class t extends ue{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new op(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new nx}next(e){za(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){za(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){za(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((e=this.observers)===null||e===void 0?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){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Tg:(this.currentObservers=null,o.push(e),new Gt(()=>{this.currentObservers=null,Es(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new ue;return e.source=this,e}}return t.create=(n,e)=>new op(n,e),t})(),op=class extends Ge{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:Tg}};var an=class extends Ge{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var kc={now(){return(kc.delegate||Date).now()},delegate:void 0};var to=class extends Ge{constructor(n=1/0,e=1/0,i=kc){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let s=e.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}};var sp=class extends Gt{constructor(n,e){super()}schedule(n,e=0){return this}};var Mc={setInterval(t,n,...e){let{delegate:i}=Mc;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Mc;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var Wa=class extends sp{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return Mc.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Mc.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Es(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var Ga=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Ga.now=kc.now;var qa=class extends Ga{constructor(n,e=Ga.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var Pg=new qa(Wa),ix=Pg;var ap=class extends Wa{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,i=0){return i!=null&&i>0||i==null&&this.delay>0?super.requestAsyncId(n,e,i):(n.flush(this),0)}};var lp=class extends qa{};var Ag=new lp(ap);var Pt=new ue(t=>t.complete());function cp(t){return t&&Le(t.schedule)}function Ng(t){return t[t.length-1]}function dp(t){return Le(Ng(t))?t.pop():void 0}function yr(t){return cp(Ng(t))?t.pop():void 0}function rx(t,n){return typeof Ng(t)=="number"?t.pop():n}var Oc=function(){return Oc=Object.assign||function(n){for(var e,i=1,r=arguments.length;i<r;i++){e=arguments[i];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o])}return n},Oc.apply(this,arguments)};function sx(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function ox(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ds(t){return this instanceof Ds?(this.v=t,this):new Ds(t)}function ax(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(y){return Promise.resolve(y).then(f,u)}}function a(f,y){i[f]&&(r[f]=function(b){return new Promise(function(v,w){o.push([f,b,v,w])>1||l(f,b)})},y&&(r[f]=y(r[f])))}function l(f,y){try{c(i[f](y))}catch(b){p(o[0][3],b)}}function c(f){f.value instanceof Ds?Promise.resolve(f.value.v).then(d,u):p(o[0][2],f)}function d(f){l("next",f)}function u(f){l("throw",f)}function p(f,y){f(y),o.shift(),o.length&&l(o[0][0],o[0][1])}}function lx(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof ox=="function"?ox(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var up=t=>t&&typeof t.length=="number"&&typeof t!="function";function pp(t){return Le(t?.then)}function fp(t){return Le(t[Ha])}function hp(t){return Symbol.asyncIterator&&Le(t?.[Symbol.asyncIterator])}function mp(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function vA(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gp=vA();function yp(t){return Le(t?.[gp])}function bp(t){return ax(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Ds(e.read());if(r)return yield Ds(void 0);yield yield Ds(i)}}finally{e.releaseLock()}})}function vp(t){return Le(t?.getReader)}function At(t){if(t instanceof ue)return t;if(t!=null){if(fp(t))return _A(t);if(up(t))return wA(t);if(pp(t))return CA(t);if(hp(t))return cx(t);if(yp(t))return xA(t);if(vp(t))return TA(t)}throw mp(t)}function _A(t){return new ue(n=>{let e=t[Ha]();if(Le(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wA(t){return new ue(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function CA(t){return new ue(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,ip)})}function xA(t){return new ue(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function cx(t){return new ue(n=>{EA(t,n).catch(e=>n.error(e))})}function TA(t){return cx(bp(t))}function EA(t,n){var e,i,r,o;return sx(this,void 0,void 0,function*(){try{for(e=lx(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function Kn(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function ks(t,n=0){return ze((e,i)=>{e.subscribe(He(i,r=>Kn(i,t,()=>i.next(r),n),()=>Kn(i,t,()=>i.complete(),n),r=>Kn(i,t,()=>i.error(r),n)))})}function _p(t,n=0){return ze((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function dx(t,n){return At(t).pipe(_p(n),ks(n))}function ux(t,n){return At(t).pipe(_p(n),ks(n))}function px(t,n){return new ue(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function fx(t,n){return new ue(e=>{let i;return Kn(e,n,()=>{i=t[gp](),Kn(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>Le(i?.return)&&i.return()})}function wp(t,n){if(!t)throw new Error("Iterable cannot be null");return new ue(e=>{Kn(e,n,()=>{let i=t[Symbol.asyncIterator]();Kn(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function hx(t,n){return wp(bp(t),n)}function mx(t,n){if(t!=null){if(fp(t))return dx(t,n);if(up(t))return px(t,n);if(pp(t))return ux(t,n);if(hp(t))return wp(t,n);if(yp(t))return fx(t,n);if(vp(t))return hx(t,n)}throw mp(t)}function pt(t,n){return n?mx(t,n):At(t)}function be(...t){let n=yr(t);return pt(t,n)}function br(t,n){let e=Le(t)?t:()=>t,i=r=>r.error(e());return new ue(n?r=>n.schedule(i,0,r):i)}var Ao=class t{constructor(n,e,i){this.kind=n,this.value=e,this.error=i,this.hasValue=n==="N"}observe(n){return SA(this,n)}do(n,e,i){let{kind:r,value:o,error:s}=this;return r==="N"?n?.(o):r==="E"?e?.(s):i?.()}accept(n,e,i){var r;return Le((r=n)===null||r===void 0?void 0:r.next)?this.observe(n):this.do(n,e,i)}toObservable(){let{kind:n,value:e,error:i}=this,r=n==="N"?be(e):n==="E"?br(()=>i):n==="C"?Pt:0;if(!r)throw new TypeError(`Unexpected notification kind ${n}`);return r}static createNext(n){return new t("N",n)}static createError(n){return new t("E",void 0,n)}static createComplete(){return t.completeNotification}};Ao.completeNotification=new Ao("C");function SA(t,n){var e,i,r;let{kind:o,value:s,error:a}=t;if(typeof o!="string")throw new TypeError('Invalid notification, missing "kind"');o==="N"?(e=n.next)===null||e===void 0||e.call(n,s):o==="E"?(i=n.error)===null||i===void 0||i.call(n,a):(r=n.complete)===null||r===void 0||r.call(n)}function Fg(t){return!!t&&(t instanceof ue||Le(t.lift)&&Le(t.subscribe))}var ji=Va(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function vr(t,n){let e=typeof n=="object";return new Promise((i,r)=>{let o=!1,s;t.subscribe({next:a=>{s=a,o=!0},error:r,complete:()=>{o?i(s):e?i(n.defaultValue):r(new ji)}})})}function gx(t){return t instanceof Date&&!isNaN(t)}function ye(t,n){return ze((e,i)=>{let r=0;e.subscribe(He(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:IA}=Array;function DA(t,n){return IA(n)?t(...n):t(n)}function Cp(t){return ye(n=>DA(t,n))}var{isArray:kA}=Array,{getPrototypeOf:MA,prototype:OA,keys:RA}=Object;function xp(t){if(t.length===1){let n=t[0];if(kA(n))return{args:n,keys:null};if(PA(n)){let e=RA(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function PA(t){return t&&typeof t=="object"&&MA(t)===OA}function Tp(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function Ep(...t){let n=yr(t),e=dp(t),{args:i,keys:r}=xp(t);if(i.length===0)return pt([],n);let o=new ue(AA(i,n,r?s=>Tp(r,s):zn));return e?o.pipe(Cp(e)):o}function AA(t,n,e=zn){return i=>{yx(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)yx(n,()=>{let c=pt(t[l],n),d=!1;c.subscribe(He(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function yx(t,n,e){t?Kn(e,t,n):n()}function bx(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,u=!1,p=()=>{u&&!l.length&&!c&&n.complete()},f=b=>c<i?y(b):l.push(b),y=b=>{o&&n.next(b),c++;let v=!1;At(e(b,d++)).subscribe(He(n,w=>{r?.(w),o?f(w):n.next(w)},()=>{v=!0},void 0,()=>{if(v)try{for(c--;l.length&&c<i;){let w=l.shift();s?Kn(n,s,()=>y(w)):y(w)}p()}catch(w){n.error(w)}}))};return t.subscribe(He(n,f,()=>{u=!0,p()})),()=>{a?.()}}function Nt(t,n,e=1/0){return Le(n)?Nt((i,r)=>ye((o,s)=>n(i,o,r,s))(At(t(i,r))),e):(typeof n=="number"&&(e=n),ze((i,r)=>bx(i,r,t,e)))}function Sp(t=1/0){return Nt(zn,t)}function vx(){return Sp(1)}function _r(...t){return vx()(pt(t,yr(t)))}function Rc(t){return new ue(n=>{At(t()).subscribe(n)})}function Lg(...t){let n=dp(t),{args:e,keys:i}=xp(t),r=new ue(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let u=!1;At(e[d]).subscribe(He(o,p=>{u||(u=!0,c--),a[d]=p},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?Tp(i,a):a),o.complete())}))}});return n?r.pipe(Cp(n)):r}function Bg(t=0,n,e=ix){let i=-1;return n!=null&&(cp(n)?e=n:i=n),new ue(r=>{let o=gx(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Vg(...t){let n=yr(t),e=rx(t,1/0),i=t;return i.length?i.length===1?At(i[0]):Sp(e)(pt(i,n)):Pt}function nn(t,n){return ze((e,i)=>{let r=0;e.subscribe(He(i,o=>t.call(n,o,r++)&&i.next(o)))})}function ai(t){return ze((n,e)=>{let i=null,r=!1,o;i=n.subscribe(He(e,void 0,void 0,s=>{o=At(t(s,ai(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function _x(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(He(s,d=>{let u=c++;l=a?t(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function No(t,n){return Le(n)?Nt(t,n,1):Nt(t,1)}function jg(t,n=Pg){return ze((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+t,d=n.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(He(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function Fo(t){return ze((n,e)=>{let i=!1;n.subscribe(He(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function no(t){return t<=0?()=>Pt:ze((n,e)=>{let i=0;n.subscribe(He(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function Pc(t,n=zn){return t=t??NA,ze((e,i)=>{let r,o=!0;e.subscribe(He(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function NA(t,n){return t===n}function Ip(t=FA){return ze((n,e)=>{let i=!1;n.subscribe(He(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function FA(){return new ji}function wr(t){return ze((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function io(t,n){let e=arguments.length>=2;return i=>i.pipe(t?nn((r,o)=>t(r,o,i)):zn,no(1),e?Fo(n):Ip(()=>new ji))}function Qa(t){return t<=0?()=>Pt:ze((n,e)=>{let i=[];n.subscribe(He(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function zg(t,n){let e=arguments.length>=2;return i=>i.pipe(t?nn((r,o)=>t(r,o,i)):zn,Qa(1),e?Fo(n):Ip(()=>new ji))}function Hg(){return ze((t,n)=>{t.subscribe(He(n,e=>{n.next(Ao.createNext(e))},()=>{n.next(Ao.createComplete()),n.complete()},e=>{n.next(Ao.createError(e)),n.complete()}))})}function $g(t,n){return ze(_x(t,n,arguments.length>=2,!0))}function Cr(t={}){let{connector:n=()=>new Ge,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=l=void 0,d=u=!1},y=()=>{let b=s;f(),b?.unsubscribe()};return ze((b,v)=>{c++,!u&&!d&&p();let w=l=l??n();v.add(()=>{c--,c===0&&!u&&!d&&(a=Ug(y,r))}),w.subscribe(v),!s&&c>0&&(s=new eo({next:D=>w.next(D),error:D=>{u=!0,p(),a=Ug(f,e,D),w.error(D)},complete:()=>{d=!0,p(),a=Ug(f,i),w.complete()}}),At(b).subscribe(s))})(o)}}function Ug(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new eo({next:()=>{i.unsubscribe(),t()}});return At(n(...e)).subscribe(i)}function Ms(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,Cr({connector:()=>new to(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Ac(...t){let n=yr(t);return ze((e,i)=>{(n?_r(t,e,n):_r(t,e)).subscribe(i)})}function yn(t,n){return ze((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(He(i,l=>{r?.unsubscribe();let c=0,d=o++;At(t(l,d)).subscribe(r=He(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Dp(t){return ze((n,e)=>{At(t).subscribe(He(e,()=>e.complete(),Dc)),!e.closed&&n.subscribe(e)})}function St(t,n,e){let i=Le(t)||n||e?{next:t,error:n,complete:e}:t;return i?ze((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(He(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):zn}function wx(t){let n=Oe(null);try{return t()}finally{Oe(n)}}var Cx=A(_({},Cs),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function xx(t){if(t.dirty=!1,t.version>0&&!Fa(t))return;t.version++;let n=xs(t);try{t.cleanup(),t.fn()}finally{Na(t,n)}}var Rp="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",U=class extends Error{code;constructor(n,e){super(Vo(n,e)),this.code=n}};function LA(t){return`NG0${Math.abs(t)}`}function Vo(t,n){return`${LA(t)}${n?": "+n:""}`}function yt(t){for(let n in t)if(t[n]===yt)return n;throw Error("")}function Sx(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function oo(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(oo).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
`);return i>=0?e.slice(0,i):e}function Pp(t,n){return t?n?`${t} ${n}`:t:n||""}var BA=yt({__forward_ref__:yt});function Jt(t){return t.__forward_ref__=Jt,t.toString=function(){return oo(this())},t}function ln(t){return t0(t)?t():t}function t0(t){return typeof t=="function"&&t.hasOwnProperty(BA)&&t.__forward_ref__===Jt}function N(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function De(t){return{providers:t.providers||[],imports:t.imports||[]}}function Vc(t){return VA(t,Ap)}function n0(t){return Vc(t)!==null}function VA(t,n){return t.hasOwnProperty(n)&&t[n]||null}function jA(t){let n=t?.[Ap]??null;return n||null}function Gg(t){return t&&t.hasOwnProperty(Mp)?t[Mp]:null}var Ap=yt({\u0275prov:yt}),Mp=yt({\u0275inj:yt}),z=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=N({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function i0(t){return t&&!!t.\u0275providers}var r0=yt({\u0275cmp:yt}),o0=yt({\u0275dir:yt}),s0=yt({\u0275pipe:yt}),a0=yt({\u0275mod:yt}),Fc=yt({\u0275fac:yt}),Ns=yt({__NG_ELEMENT_ID__:yt}),Tx=yt({__NG_ENV_ID__:yt});function Fs(t){return typeof t=="string"?t:t==null?"":String(t)}function Ix(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Fs(t)}var Dx=yt({ngErrorCode:yt}),zA=yt({ngErrorMessage:yt}),HA=yt({ngTokenPath:yt});function l0(t,n){return kx("",-200,n)}function Np(t,n){throw new U(-201,!1)}function kx(t,n,e){let i=new U(n,t);return i[Dx]=n,i[zA]=t,e&&(i[HA]=e),i}function $A(t){return t[Dx]}var qg;function Mx(){return qg}function Hn(t){let n=qg;return qg=t,n}function c0(t,n,e){let i=Vc(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;Np(t,"Injector")}var UA={},Os=UA,WA="__NG_DI_FLAG__",Qg=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=Rs(e)||0;try{return this.injector.get(n,i&8?null:Os,i)}catch(r){if(Pa(r))return r;throw r}}};function GA(t,n=0){let e=Wu();if(e===void 0)throw new U(-203,!1);if(e===null)return c0(t,void 0,n);{let i=qA(n),r=e.retrieve(t,i);if(Pa(r)){if(i.optional)return null;throw r}return r}}function he(t,n=0){return(Mx()||GA)(ln(t),n)}function x(t,n){return he(t,Rs(n))}function Rs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function qA(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function Kg(t){let n=[];for(let e=0;e<t.length;e++){let i=ln(t[e]);if(Array.isArray(i)){if(i.length===0)throw new U(900,!1);let r,o=0;for(let s=0;s<i.length;s++){let a=i[s],l=QA(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}n.push(he(r,o))}else n.push(he(i))}return n}function QA(t){return t[WA]}function Lo(t,n){let e=t.hasOwnProperty(Fc);return e?t[Fc]:null}function Ox(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function Rx(t){return t.flat(Number.POSITIVE_INFINITY)}function Fp(t,n){t.forEach(e=>Array.isArray(e)?Fp(e,n):n(e))}function d0(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function jc(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Px(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function Ax(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function zc(t,n,e){let i=Ya(t,n);return i>=0?t[i|1]=e:(i=~i,Ax(t,i,n,e)),i}function Lp(t,n){let e=Ya(t,n);if(e>=0)return t[e|1]}function Ya(t,n){return KA(t,n,1)}function KA(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}var zi={},Ln=[],so=new z(""),u0=new z("",-1),p0=new z(""),Lc=class{get(n,e=Os){if(e===Os){let r=kx("",-201);throw r.name="\u0275NotFound",r}return e}};function f0(t){return t[a0]||null}function jo(t){return t[r0]||null}function Bp(t){return t[o0]||null}function Nx(t){return t[s0]||null}function wi(t){return{\u0275providers:t}}function Fx(t){return wi([{provide:so,multi:!0,useValue:t}])}function Lx(...t){return{\u0275providers:h0(!0,t),\u0275fromNgModule:!0}}function h0(t,...n){let e=[],i=new Set,r,o=s=>{e.push(s)};return Fp(n,s=>{let a=s;Op(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&Bx(r,o),e}function Bx(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];m0(r,o=>{n(o,i)})}}function Op(t,n,e,i){if(t=ln(t),!t)return!1;let r=null,o=Gg(t),s=!o&&jo(t);if(!o&&!s){let l=t.ngModule;if(o=Gg(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Op(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;Fp(o.imports,d=>{Op(d,n,e,i)&&(c||=[],c.push(d))}),c!==void 0&&Bx(c,n)}if(!a){let c=Lo(r)||(()=>new r);n({provide:r,useFactory:c,deps:Ln},r),n({provide:p0,useValue:r,multi:!0},r),n({provide:so,useValue:()=>he(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;m0(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function m0(t,n){for(let e of t)i0(e)&&(e=e.\u0275providers),Array.isArray(e)?m0(e,n):n(e)}var YA=yt({provide:String,useValue:yt});function Vx(t){return t!==null&&typeof t=="object"&&YA in t}function ZA(t){return!!(t&&t.useExisting)}function JA(t){return!!(t&&t.useFactory)}function Ps(t){return typeof t=="function"}function jx(t){return!!t.useClass}var Hc=new z(""),kp={},Ex={},Wg;function $c(){return Wg===void 0&&(Wg=new Lc),Wg}var Zt=class{},As=class extends Zt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Zg(n,s=>this.processProvider(s)),this.records.set(u0,Ka(void 0,this)),r.has("environment")&&this.records.set(Zt,Ka(void 0,this));let o=this.records.get(Hc);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(p0,Ln,{self:!0}))}retrieve(n,e){let i=Rs(e)||0;try{return this.get(n,Os,i)}catch(r){if(Pa(r))return r;throw r}}destroy(){Nc(this),this._destroyed=!0;let n=Oe(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Oe(n)}}onDestroy(n){return Nc(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Nc(this);let e=gr(this),i=Hn(void 0),r;try{return n()}finally{gr(e),Hn(i)}}get(n,e=Os,i){if(Nc(this),n.hasOwnProperty(Tx))return n[Tx](this);let r=Rs(i),o,s=gr(this),a=Hn(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let d=iN(n)&&Vc(n);d&&this.injectableDefInScope(d)?c=Ka(Yg(n),kp):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?$c():this.parent;return e=r&8&&e===Os?null:e,l.get(n,e)}catch(l){let c=$A(l);throw c===-200||c===-201?new U(c,null):l}finally{Hn(a),gr(s)}}resolveInjectorInitializers(){let n=Oe(null),e=gr(this),i=Hn(void 0),r;try{let o=this.get(so,Ln,{self:!0});for(let s of o)s()}finally{gr(e),Hn(i),Oe(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(oo(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=ln(n);let e=Ps(n)?n:ln(n&&n.provide),i=eN(n);if(!Ps(n)&&n.multi===!0){let r=this.records.get(e);r||(r=Ka(void 0,kp,!0),r.factory=()=>Kg(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=Oe(null);try{if(e.value===Ex)throw l0(oo(n));return e.value===kp&&(e.value=Ex,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&nN(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Oe(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=ln(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Yg(t){let n=Vc(t),e=n!==null?n.factory:Lo(t);if(e!==null)return e;if(t instanceof z)throw new U(204,!1);if(t instanceof Function)return XA(t);throw new U(204,!1)}function XA(t){if(t.length>0)throw new U(204,!1);let e=jA(t);return e!==null?()=>e.factory(t):()=>new t}function eN(t){if(Vx(t))return Ka(void 0,t.useValue);{let n=g0(t);return Ka(n,kp)}}function g0(t,n,e){let i;if(Ps(t)){let r=ln(t);return Lo(r)||Yg(r)}else if(Vx(t))i=()=>ln(t.useValue);else if(JA(t))i=()=>t.useFactory(...Kg(t.deps||[]));else if(ZA(t))i=(r,o)=>he(ln(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=ln(t&&(t.useClass||t.provide));if(tN(t))i=()=>new r(...Kg(t.deps));else return Lo(r)||Yg(r)}return i}function Nc(t){if(t.destroyed)throw new U(205,!1)}function Ka(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function tN(t){return!!t.deps}function nN(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function iN(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function Zg(t,n){for(let e of t)Array.isArray(e)?Zg(e,n):e&&i0(e)?Zg(e.\u0275providers,n):n(e)}function In(t,n){let e;t instanceof As?(Nc(t),e=t):e=new Qg(t);let i,r=gr(e),o=Hn(void 0);try{return n()}finally{gr(r),Hn(o)}}function zx(){return Mx()!==void 0||Wu()!=null}var Hi=0,Ce=1,Ee=2,cn=3,Ci=4,$n=5,Ls=6,Za=7,Xt=8,ao=9,xr=10,It=11,Ja=12,y0=13,Bs=14,Un=15,zo=16,Vs=17,Tr=18,Uc=19,b0=20,ro=21,Vp=22,lo=23,ci=24,js=25,zs=26,Vt=27,Hx=1,v0=6,Ho=7,Wc=8,Hs=9,qt=10;function Er(t){return Array.isArray(t)&&typeof t[Hx]=="object"}function $i(t){return Array.isArray(t)&&t[Hx]===!0}function _0(t){return(t.flags&4)!==0}function $o(t){return t.componentOffset>-1}function Xa(t){return(t.flags&1)===1}function Ui(t){return!!t.template}function el(t){return(t[Ee]&512)!==0}function $s(t){return(t[Ee]&256)===256}var w0="svg",$x="math";function xi(t){for(;Array.isArray(t);)t=t[Hi];return t}function C0(t,n){return xi(n[t])}function Wi(t,n){return xi(n[t.index])}function Gc(t,n){return t.data[n]}function x0(t,n){return t[n]}function T0(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Ti(t,n){let e=n[t];return Er(e)?e:e[Hi]}function Ux(t){return(t[Ee]&4)===4}function jp(t){return(t[Ee]&128)===128}function Wx(t){return $i(t[cn])}function Ei(t,n){return n==null?null:t[n]}function E0(t){t[Vs]=0}function zp(t){t[Ee]&1024||(t[Ee]|=1024,jp(t)&&Uo(t))}function Gx(t,n){for(;t>0;)n=n[Bs],t--;return n}function tl(t){return!!(t[Ee]&9216||t[ci]?.dirty)}function Hp(t){t[xr].changeDetectionScheduler?.notify(8),t[Ee]&64&&(t[Ee]|=1024),tl(t)&&Uo(t)}function Uo(t){t[xr].changeDetectionScheduler?.notify(0);let n=Bo(t);for(;n!==null&&!(n[Ee]&8192||(n[Ee]|=8192,!jp(n)));)n=Bo(n)}function S0(t,n){if($s(t))throw new U(911,!1);t[ro]===null&&(t[ro]=[]),t[ro].push(n)}function qx(t,n){if(t[ro]===null)return;let e=t[ro].indexOf(n);e!==-1&&t[ro].splice(e,1)}function Bo(t){let n=t[cn];return $i(n)?n[cn]:n}function I0(t){return t[Za]??=[]}function D0(t){return t.cleanup??=[]}function Qx(t,n,e,i){let r=I0(n);r.push(e),t.firstCreatePass&&D0(t).push(i,r.length-1)}var Ue={lFrame:sT(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Jg=!1;function Kx(){return Ue.lFrame.elementDepthCount}function Yx(){Ue.lFrame.elementDepthCount++}function k0(){Ue.lFrame.elementDepthCount--}function $p(){return Ue.bindingsEnabled}function M0(){return Ue.skipHydrationRootTNode!==null}function O0(t){return Ue.skipHydrationRootTNode===t}function R0(){Ue.skipHydrationRootTNode=null}function ve(){return Ue.lFrame.lView}function jt(){return Ue.lFrame.tView}function E(t){return Ue.lFrame.contextLView=t,t[Xt]}function S(t){return Ue.lFrame.contextLView=null,t}function bn(){let t=P0();for(;t!==null&&t.type===64;)t=t.parent;return t}function P0(){return Ue.lFrame.currentTNode}function Zx(){let t=Ue.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function nl(t,n){let e=Ue.lFrame;e.currentTNode=t,e.isParent=n}function A0(){return Ue.lFrame.isParent}function N0(){Ue.lFrame.isParent=!1}function Jx(){return Ue.lFrame.contextLView}function F0(){return Jg}function il(t){let n=Jg;return Jg=t,n}function Sr(){let t=Ue.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Xx(){return Ue.lFrame.bindingIndex}function eT(t){return Ue.lFrame.bindingIndex=t}function Wo(){return Ue.lFrame.bindingIndex++}function Up(t){let n=Ue.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function tT(){return Ue.lFrame.inI18n}function nT(t,n){let e=Ue.lFrame;e.bindingIndex=e.bindingRootIndex=t,Wp(n)}function iT(){return Ue.lFrame.currentDirectiveIndex}function Wp(t){Ue.lFrame.currentDirectiveIndex=t}function rT(t){let n=Ue.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Gp(){return Ue.lFrame.currentQueryIndex}function qc(t){Ue.lFrame.currentQueryIndex=t}function rN(t){let n=t[Ce];return n.type===2?n.declTNode:n.type===1?t[$n]:null}function L0(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=rN(o),r===null||(o=o[Bs],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=Ue.lFrame=oT();return i.currentTNode=n,i.lView=t,!0}function qp(t){let n=oT(),e=t[Ce];Ue.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function oT(){let t=Ue.lFrame,n=t===null?null:t.child;return n===null?sT(t):n}function sT(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function aT(){let t=Ue.lFrame;return Ue.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var B0=aT;function Qp(){let t=aT();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function lT(t){return(Ue.lFrame.contextLView=Gx(t,Ue.lFrame.contextLView))[Xt]}function Ir(){return Ue.lFrame.selectedIndex}function Go(t){Ue.lFrame.selectedIndex=t}function Qc(){let t=Ue.lFrame;return Gc(t.tView,t.selectedIndex)}function G(){Ue.lFrame.currentNamespace=w0}function V0(){return Ue.lFrame.currentNamespace}var cT=!0;function Kp(){return cT}function Kc(t){cT=t}function Xg(t,n=null,e=null,i){let r=j0(t,n,e,i);return r.resolveInjectorInitializers(),r}function j0(t,n=null,e=null,i,r=new Set){let o=[e||Ln,Lx(t)];return i=i||(typeof t=="object"?void 0:oo(t)),new As(o,n||$c(),i||null,r)}var Bt=class t{static THROW_IF_NOT_FOUND=Os;static NULL=new Lc;static create(n,e){if(Array.isArray(n))return Xg({name:""},e,n,"");{let i=n.name??"";return Xg({name:i},n.parent,n.providers,i)}}static \u0275prov=N({token:t,providedIn:"any",factory:()=>he(u0)});static __NG_ELEMENT_ID__=-1},bt=new z(""),Si=(()=>{class t{static __NG_ELEMENT_ID__=oN;static __NG_ENV_ID__=e=>e}return t})(),Bc=class extends Si{_lView;constructor(n){super(),this._lView=n}get destroyed(){return $s(this._lView)}onDestroy(n){let e=this._lView;return S0(e,n),()=>qx(e,n)}};function oN(){return new Bc(ve())}var _i=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Yn=new z("",{providedIn:"root",factory:()=>{let t=x(Zt),n;return e=>{t.destroyed&&!n?setTimeout(()=>{throw e}):(n??=t.get(_i),n.handleError(e))}}}),dT={provide:so,useValue:()=>{x(_i)},multi:!0},sN=new z("",{providedIn:"root",factory:()=>{let t=x(bt).defaultView;if(!t)return;let n=x(Yn),e=o=>{n(o.reason),o.preventDefault()},i=o=>{o.error?n(o.error):n(new Error(o.message,{cause:o})),o.preventDefault()},r=()=>{t.addEventListener("unhandledrejection",e),t.addEventListener("error",i)};typeof Zone<"u"?Zone.root.run(r):r(),x(Si).onDestroy(()=>{t.removeEventListener("error",i),t.removeEventListener("unhandledrejection",e)})}});function z0(){return wi([Fx(()=>{x(sN)})])}function H0(t){return typeof t=="function"&&t[gn]!==void 0}function _e(t,n){let[e,i,r]=Cg(t,n?.equal),o=e,s=o[gn];return o.set=i,o.update=r,o.asReadonly=$0.bind(o),o}function $0(){let t=this[gn];if(t.readonlyFn===void 0){let n=()=>this();n[gn]=t,t.readonlyFn=n}return t.readonlyFn}function U0(t){return H0(t)&&typeof t.set=="function"}var rl=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=aN}return t})();function aN(){return new rl(ve(),bn())}var li=class{},Yc=new z("",{providedIn:"root",factory:()=>!1});var W0=new z(""),G0=new z(""),Dr=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new an(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new ue(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=N({token:t,providedIn:"root",factory:()=>new t})}return t})(),Zc=(()=>{class t{internalPendingTasks=x(Dr);scheduler=x(li);errorHandler=x(Yn);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=N({token:t,providedIn:"root",factory:()=>new t})}return t})();function Us(...t){}var Jc=(()=>{class t{static \u0275prov=N({token:t,providedIn:"root",factory:()=>new e0})}return t})(),e0=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}};function ad(t){return{toString:t}.toString()}function hN(t){return typeof t=="function"}var tf=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function UT(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var po=(()=>{let t=()=>WT;return t.ngInherit=!0,t})();function WT(t){return t.type.prototype.ngOnChanges&&(t.setInput=gN),mN}function mN(){let t=qT(this),n=t?.current;if(n){let e=t.previous;if(e===zi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function gN(t,n,e,i,r){let o=this.declaredInputs[i],s=qT(t)||yN(t,{previous:zi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new tf(c&&c.currentValue,e,l===zi),UT(t,n,r,e)}var GT="__ngSimpleChanges__";function qT(t){return t[GT]||null}function yN(t,n){return t[GT]=n}var uT=[];var _t=function(t,n=null,e){for(let i=0;i<uT.length;i++){let r=uT[i];r(t,n,e)}};function bN(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=WT(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function QT(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function Zp(t,n,e){KT(t,n,3,e)}function Jp(t,n,e,i){(t[Ee]&3)===e&&KT(t,n,e,i)}function q0(t,n){let e=t[Ee];(e&3)===n&&(e&=16383,e+=1,t[Ee]=e)}function KT(t,n,e,i){let r=i!==void 0?t[Vs]&65535:0,o=i??-1,s=n.length-1,a=0;for(let l=r;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[Vs]+=65536),(a<o||o==-1)&&(vN(t,e,n,l),t[Vs]=(t[Vs]&4294901760)+l+2),l++}function pT(t,n){_t(4,t,n);let e=Oe(null);try{n.call(t)}finally{Oe(e),_t(5,t,n)}}function vN(t,n,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=t[s];r?t[Ee]>>14<t[Vs]>>16&&(t[Ee]&3)===n&&(t[Ee]+=16384,pT(a,o)):pT(a,o)}var sl=-1,Gs=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};function _N(t){return(t.flags&8)!==0}function wN(t){return(t.flags&16)!==0}function CN(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,o)}else{let o=r,s=e[++i];TN(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function xN(t){return t===3||t===4||t===6}function TN(t){return t.charCodeAt(0)===64}function al(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?fT(t,e,r,null,n[++i]):fT(t,e,r,null,null))}}return t}function fT(t,n,e,i,r){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function YT(t){return t!==sl}function nf(t){return t&32767}function EN(t){return t>>16}function rf(t,n){let e=EN(t),i=n;for(;e>0;)i=i[Bs],e--;return i}var ry=!0;function of(t){let n=ry;return ry=t,n}var SN=256,ZT=SN-1,JT=5,IN=0,kr={};function DN(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Ns)&&(i=e[Ns]),i==null&&(i=e[Ns]=IN++);let r=i&ZT,o=1<<r;n.data[t+(r>>JT)]|=o}function sf(t,n){let e=XT(t,n);if(e!==-1)return e;let i=n[Ce];i.firstCreatePass&&(t.injectorIndex=n.length,Q0(i.data,t),Q0(n,null),Q0(i.blueprint,null));let r=Ny(t,n),o=t.injectorIndex;if(YT(r)){let s=nf(r),a=rf(r,n),l=a[Ce].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Q0(t,n){t.push(0,0,0,0,0,0,0,0,n)}function XT(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ny(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=rE(r),i===null)return sl;if(e++,r=r[Bs],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return sl}function oy(t,n,e){DN(t,n,e)}function eE(t,n,e){if(e&8||t!==void 0)return t;Np(n,"NodeInjector")}function tE(t,n,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=t[ao],o=Hn(void 0);try{return r?r.get(n,i,e&8):c0(n,i,e&8)}finally{Hn(o)}}return eE(i,n,e)}function nE(t,n,e,i=0,r){if(t!==null){if(n[Ee]&2048&&!(i&2)){let s=RN(t,n,e,i,kr);if(s!==kr)return s}let o=iE(t,n,e,i,kr);if(o!==kr)return o}return tE(n,e,i,r)}function iE(t,n,e,i,r){let o=MN(e);if(typeof o=="function"){if(!L0(n,t,i))return i&1?eE(r,e,i):tE(n,e,i,r);try{let s;if(s=o(i),s==null&&!(i&8))Np(e);else return s}finally{B0()}}else if(typeof o=="number"){let s=null,a=XT(t,n),l=sl,c=i&1?n[Un][$n]:null;for((a===-1||i&4)&&(l=a===-1?Ny(t,n):n[a+8],l===sl||!mT(i,!1)?a=-1:(s=n[Ce],a=nf(l),n=rf(l,n)));a!==-1;){let d=n[Ce];if(hT(o,a,d.data)){let u=kN(a,n,e,s,i,c);if(u!==kr)return u}l=n[a+8],l!==sl&&mT(i,n[Ce].data[a+8]===c)&&hT(o,a,n)?(s=d,a=nf(l),n=rf(l,n)):a=-1}}return r}function kN(t,n,e,i,r,o){let s=n[Ce],a=s.data[t+8],l=i==null?$o(a)&&ry:i!=s&&(a.type&3)!==0,c=r&1&&o===a,d=Xp(a,s,e,l,c);return d!==null?td(n,s,d,a,r):kr}function Xp(t,n,e,i,r){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=i?a:a+d,p=r?a+d:c;for(let f=u;f<p;f++){let y=s[f];if(f<l&&e===y||f>=l&&y.type===e)return f}if(r){let f=s[l];if(f&&Ui(f)&&f.type===e)return l}return null}function td(t,n,e,i,r){let o=t[e],s=n.data;if(o instanceof Gs){let a=o;if(a.resolving){let f=Ix(s[e]);throw l0(f)}let l=of(a.canSeeViewProviders);a.resolving=!0;let c=s[e].type||s[e],d,u=a.injectImpl?Hn(a.injectImpl):null,p=L0(t,i,0);try{o=t[e]=a.factory(void 0,r,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&bN(e,s[e],n)}finally{u!==null&&Hn(u),of(l),a.resolving=!1,B0()}}return o}function MN(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Ns)?t[Ns]:void 0;return typeof n=="number"?n>=0?n&ZT:ON:n}function hT(t,n,e){let i=1<<t;return!!(e[n+(t>>JT)]&i)}function mT(t,n){return!(t&2)&&!(t&1&&n)}var Ws=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return nE(this._tNode,this._lView,n,Rs(i),e)}};function ON(){return new Ws(bn(),ve())}function F(t){return ad(()=>{let n=t.prototype.constructor,e=n[Fc]||sy(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Fc]||sy(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function sy(t){return t0(t)?()=>{let n=sy(ln(t));return n&&n()}:Lo(t)}function RN(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[Ee]&2048&&!el(s);){let a=iE(o,s,e,i|2,kr);if(a!==kr)return a;let l=o.parent;if(!l){let c=s[b0];if(c){let d=c.get(e,kr,i);if(d!==kr)return d}l=rE(s),s=s[Bs]}o=l}return r}function rE(t){let n=t[Ce],e=n.type;return e===2?n.declTNode:e===1?t[$n]:null}function PN(){return hl(bn(),ve())}function hl(t,n){return new un(Wi(t,n))}var un=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=PN}return t})();function oE(t){return t instanceof un?t.nativeElement:t}function AN(){return this._results[Symbol.iterator]()}var af=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Ge}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=Rx(n);(this._changesDetected=!Ox(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=AN};function sE(t){return(t.flags&128)===128}var Fy=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(Fy||{}),aE=new Map,NN=0;function FN(){return NN++}function LN(t){aE.set(t[Uc],t)}function ay(t){aE.delete(t[Uc])}var gT="__ngContext__";function ll(t,n){Er(n)?(t[gT]=n[Uc],LN(n)):t[gT]=n}function lE(t){return dE(t[Ja])}function cE(t){return dE(t[Ci])}function dE(t){for(;t!==null&&!$i(t);)t=t[Ci];return t}var ly;function Ly(t){ly=t}function uE(){if(ly!==void 0)return ly;if(typeof document<"u")return document;throw new U(210,!1)}var Tf=new z("",{providedIn:"root",factory:()=>BN}),BN="ng",Ef=new z(""),Qi=new z("",{providedIn:"platform",factory:()=>"unknown"});var Sf=new z(""),If=new z("",{providedIn:"root",factory:()=>uE().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var VN="h",jN="b";var pE="r";var fE="di";var hE=!1,mE=new z("",{providedIn:"root",factory:()=>hE});var zN=(t,n,e,i)=>{};function HN(t,n,e,i){zN(t,n,e,i)}function Df(t){return(t.flags&32)===32}var $N=()=>null;function gE(t,n,e=!1){return $N(t,n,e)}function yE(t,n){let e=t.contentQueries;if(e!==null){let i=Oe(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=t.data[s];qc(o),a.contentQueries(2,n[s],s)}}}finally{Oe(i)}}}function cy(t,n,e){qc(0);let i=Oe(null);try{n(t,e)}finally{Oe(i)}}function By(t,n,e){if(_0(n)){let i=Oe(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{Oe(i)}}}var co=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t})(co||{});var lf=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Rp})`}};function ld(t){return t instanceof lf?t.changingThisBreaksApplicationSecurity:t}function bE(t,n){let e=vE(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Rp})`)}return e===n}function vE(t){return t instanceof lf&&t.getTypeName()||null}var UN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _E(t){return t=String(t),t.match(UN)?t:"unsafe:"+t}var WN=/^>|^->|<!--|-->|--!>|<!-$/g,GN=/(<|>)/g,qN="\u200B$1\u200B";function QN(t){return t.replace(WN,n=>n.replace(GN,qN))}function KN(t,n){return t.createText(n)}function YN(t,n,e){t.setValue(n,e)}function ZN(t,n){return t.createComment(QN(n))}function wE(t,n,e){return t.createElement(n,e)}function cf(t,n,e,i,r){t.insertBefore(n,e,i,r)}function CE(t,n,e){t.appendChild(n,e)}function yT(t,n,e,i,r){i!==null?cf(t,n,e,i,r):CE(t,n,e)}function xE(t,n,e,i){t.removeChild(null,n,e,i)}function JN(t,n,e){t.setAttribute(n,"style",e)}function XN(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function TE(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&CN(t,n,i),r!==null&&XN(t,n,r),o!==null&&JN(t,n,o)}var Vy=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(Vy||{});function Ys(t){let n=eF();return n?n.sanitize(Vy.URL,t)||"":bE(t,"URL")?ld(t):_E(Fs(t))}function eF(){let t=ve();return t&&t[xr].sanitizer}function EE(t){return t instanceof Function?t():t}function tF(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}var SE="ng-template";function nF(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&tF(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(jy(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function jy(t){return t.type===4&&t.value!==SE}function iF(t,n,e){let i=t.type===4&&!e?SE:t.value;return n===i}function rF(t,n,e){let i=4,r=t.attrs,o=r!==null?aF(r):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Gi(i)&&!Gi(l))return!1;if(s&&Gi(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!iF(t,l,e)||l===""&&n.length===1){if(Gi(i))return!1;s=!0}}else if(i&8){if(r===null||!nF(t,r,l,e)){if(Gi(i))return!1;s=!0}}else{let c=n[++a],d=oF(l,r,jy(t),e);if(d===-1){if(Gi(i))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),i&2&&c!==u){if(Gi(i))return!1;s=!0}}}}return Gi(i)||s}function Gi(t){return(t&1)===0}function oF(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let s=n[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++r];for(;typeof a=="string";)a=n[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return lF(n,t)}function IE(t,n,e=!1){for(let i=0;i<n.length;i++)if(rF(t,n[i],e))return!0;return!1}function sF(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function aF(t){for(let n=0;n<t.length;n++){let e=t[n];if(xN(e))return n}return t.length}function lF(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function cF(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function bT(t,n){return t?":not("+n.trim()+")":n}function dF(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!Gi(s)&&(n+=bT(o,r),r=""),i=s,o=o||!Gi(i);e++}return r!==""&&(n+=bT(o,r)),n}function uF(t){return t.map(dF).join(",")}function pF(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!Gi(r))break;r=o}i++}return e.length&&n.push(1,...e),n}var Wn={};function zy(t,n,e,i,r,o,s,a,l,c,d){let u=Vt+i,p=u+r,f=fF(u,p),y=typeof c=="function"?c():c;return f[Ce]={type:t,blueprint:f,template:e,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:p,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:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:y,incompleteFirstPass:!1,ssrId:d}}function fF(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:Wn);return e}function hF(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=zy(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Hy(t,n,e,i,r,o,s,a,l,c,d){let u=n.blueprint.slice();return u[Hi]=r,u[Ee]=i|4|128|8|64|1024,(c!==null||t&&t[Ee]&2048)&&(u[Ee]|=2048),E0(u),u[cn]=u[Bs]=t,u[Xt]=e,u[xr]=s||t&&t[xr],u[It]=a||t&&t[It],u[ao]=l||t&&t[ao]||null,u[$n]=o,u[Uc]=FN(),u[Ls]=d,u[b0]=c,u[Un]=n.type==2?t[Un]:u,u}function mF(t,n,e){let i=Wi(n,t),r=hF(e),o=t[xr].rendererFactory,s=$y(t,Hy(t,r,null,DE(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=s}function DE(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function kE(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function $y(t,n){return t[Ja]?t[y0][Ci]=n:t[Ja]=n,t[y0]=n,n}function g(t=1){ME(jt(),ve(),Ir()+t,!1)}function ME(t,n,e,i){if(!i)if((n[Ee]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Zp(n,o,e)}else{let o=t.preOrderHooks;o!==null&&Jp(n,o,0,e)}Go(e)}var kf=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(kf||{});function dy(t,n,e,i){let r=Oe(null);try{let[o,s,a]=t.inputs[e],l=null;(s&kf.SignalBased)!==0&&(l=n[o][gn]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):a!==null&&(i=a.call(n,i)),t.setInput!==null?t.setInput(n,l,i,e,o):UT(n,l,o,i)}finally{Oe(r)}}var qi=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(qi||{}),gF;function Uy(t,n){return gF(t,n)}var qs=new Set,Mf=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Mf||{}),Zs=new z(""),vT=new Set;function Ki(t){vT.has(t)||(vT.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var OE=!1,uy=class extends Ge{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,zx()&&(this.destroyRef=x(Si,{optional:!0})??void 0,this.pendingTasks=x(Dr,{optional:!0})??void 0)}emit(n){let e=Oe(null);try{super.next(n)}finally{Oe(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return n instanceof Gt&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},H=uy;function RE(t){let n,e;function i(){t=Us;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function _T(t){return queueMicrotask(()=>t()),()=>{t=Us}}var Wy="isAngularZone",df=Wy+"_ID",yF=0,$e=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=OE}=n;if(typeof Zone>"u")throw new U(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,_F(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wy)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new U(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,bF,Us,Us);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},bF={};function Gy(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function vF(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){RE(()=>{t.callbackScheduled=!1,py(t),t.isCheckStableRunning=!0,Gy(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),py(t)}function _F(t){let n=()=>{vF(t)},e=yF++;t._inner=t._inner.fork({name:"angular",properties:{[Wy]:!0,[df]:e,[df+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(wF(l))return i.invokeTask(o,s,a,l);try{return wT(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),CT(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return wT(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!CF(l)&&n(),CT(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,py(t),Gy(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function py(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function wT(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function CT(t){t._nesting--,Gy(t)}var uf=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function wF(t){return PE(t,"__ignore_ng_zone__")}function CF(t){return PE(t,"__scheduler_tick__")}function PE(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var qy=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=N({token:t,providedIn:"root",factory:()=>new t})}return t})(),AE=[0,1,2,3],NE=(()=>{class t{ngZone=x($e);scheduler=x(li);errorHandler=x(_i,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){x(Zs,{optional:!0})}execute(){let e=this.sequences.size>0;e&&_t(16),this.executing=!0;for(let i of AE)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&_t(17)}register(e){let{view:i}=e;i!==void 0?((i[js]??=[]).push(e),Uo(i),i[Ee]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Mf.AFTER_NEXT_RENDER,e):e()}static \u0275prov=N({token:t,providedIn:"root",factory:()=>new t})}return t})(),pf=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,s=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[js];n&&(this.view[js]=n.filter(e=>e!==this))}};function cd(t,n){let e=n?.injector??x(Bt);return Ki("NgAfterNextRender"),TF(t,e,n,!0)}function xF(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function TF(t,n,e,i){let r=n.get(qy);r.impl??=n.get(NE);let o=n.get(Zs,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(Si):null,a=n.get(rl,null,{optional:!0}),l=new pf(r.impl,xF(t),a?.view,i,s,o?.snapshot(null));return r.impl.register(l),l}var FE=new z("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function LE(t,n,e){let i=t.get(FE);if(Array.isArray(n))for(let r of n)i.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(t)}function EF(t,n){let e=t.get(FE);if(n.detachedLeaveAnimationFns){for(let i of n.detachedLeaveAnimationFns)e.queue.delete(i);n.detachedLeaveAnimationFns=void 0}}function SF(t,n){for(let[e,i]of n)LE(t,i.animateFns)}function xT(t,n,e,i){let r=t?.[zs]?.enter;n!==null&&r&&r.has(e.index)&&SF(i,r)}function ol(t,n,e,i,r,o,s,a){if(r!=null){let l,c=!1;$i(r)?l=r:Er(r)&&(c=!0,r=r[Hi]);let d=xi(r);t===0&&i!==null?(xT(a,i,o,e),s==null?CE(n,i,d):cf(n,i,d,s||null,!0)):t===1&&i!==null?(xT(a,i,o,e),cf(n,i,d,s||null,!0)):t===2?TT(a,o,e,u=>{xE(n,d,c,u)}):t===3&&TT(a,o,e,()=>{n.destroyNode(d)}),l!=null&&LF(n,t,e,l,o,i,s)}}function IF(t,n){BE(t,n),n[Hi]=null,n[$n]=null}function DF(t,n,e,i,r,o){i[Hi]=r,i[$n]=n,Rf(t,i,e,1,r,o)}function BE(t,n){n[xr].changeDetectionScheduler?.notify(9),Rf(t,n,n[It],2,null,null)}function kF(t){let n=t[Ja];if(!n)return K0(t[Ce],t);for(;n;){let e=null;if(Er(n))e=n[Ja];else{let i=n[qt];i&&(e=i)}if(!e){for(;n&&!n[Ci]&&n!==t;)Er(n)&&K0(n[Ce],n),n=n[cn];n===null&&(n=t),Er(n)&&K0(n[Ce],n),e=n&&n[Ci]}n=e}}function Qy(t,n){let e=t[Hs],i=e.indexOf(n);e.splice(i,1)}function Of(t,n){if($s(n))return;let e=n[It];e.destroyNode&&Rf(t,n,e,3,null,null),kF(n)}function K0(t,n){if($s(n))return;let e=Oe(null);try{n[Ee]&=-129,n[Ee]|=256,n[ci]&&Ts(n[ci]),RF(t,n),OF(t,n),n[Ce].type===1&&n[It].destroy();let i=n[zo];if(i!==null&&$i(n[cn])){i!==n[cn]&&Qy(i,n);let r=n[Tr];r!==null&&r.detachView(t)}ay(n)}finally{Oe(e)}}function TT(t,n,e,i){let r=t?.[zs];if(r==null||r.leave==null||!r.leave.has(n.index))return i(!1);t&&qs.add(t),LE(e,()=>{if(r.leave&&r.leave.has(n.index)){let s=r.leave.get(n.index),a=[];if(s){for(let l=0;l<s.animateFns.length;l++){let c=s.animateFns[l],{promise:d}=c();a.push(d)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(a),MF(t,i)}else t&&qs.delete(t),i(!1)},r)}function MF(t,n){let e=t[zs]?.running;if(e){e.then(()=>{t[zs].running=void 0,qs.delete(t),n(!0)});return}n(!1)}function OF(t,n){let e=t.cleanup,i=n[Za];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(n[Za]=null);let r=n[ro];if(r!==null){n[ro]=null;for(let s=0;s<r.length;s++){let a=r[s];a()}}let o=n[lo];if(o!==null){n[lo]=null;for(let s of o)s.destroy()}}function RF(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof Gs)){let o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];_t(4,a,l);try{l.call(a)}finally{_t(5,a,l)}}else{_t(4,r,o);try{o.call(r)}finally{_t(5,r,o)}}}}}function VE(t,n,e){return PF(t,n.parent,e)}function PF(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[Hi];if($o(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===co.None||r===co.Emulated)return null}return Wi(i,e)}function jE(t,n,e){return NF(t,n,e)}function AF(t,n,e){return t.type&40?Wi(t,e):null}var NF=AF,ET;function Ky(t,n,e,i){let r=VE(t,i,n),o=n[It],s=i.parent||n[$n],a=jE(s,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)yT(o,r,e[l],a,!1);else yT(o,r,e,a,!1);ET!==void 0&&ET(o,i,n,e,r)}function Xc(t,n){if(n!==null){let e=n.type;if(e&3)return Wi(n,t);if(e&4)return fy(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Xc(t,i);{let r=t[n.index];return $i(r)?fy(-1,r):xi(r)}}else{if(e&128)return Xc(t,n.next);if(e&32)return Uy(n,t)()||xi(t[n.index]);{let i=zE(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Bo(t[Un]);return Xc(r,i)}else return Xc(t,n.next)}}}return null}function zE(t,n){if(n!==null){let i=t[Un][$n],r=n.projection;return i.projection[r]}return null}function fy(t,n){let e=qt+t+1;if(e<n.length){let i=n[e],r=i[Ce].firstChild;if(r!==null)return Xc(i,r)}return n[Ho]}function Yy(t,n,e,i,r,o,s){for(;e!=null;){let a=i[ao];if(e.type===128){e=e.next;continue}let l=i[e.index],c=e.type;if(s&&n===0&&(l&&ll(xi(l),i),e.flags|=2),!Df(e))if(c&8)Yy(t,n,e.child,i,r,o,!1),ol(n,t,a,r,l,e,o,i);else if(c&32){let d=Uy(e,i),u;for(;u=d();)ol(n,t,a,r,u,e,o,i);ol(n,t,a,r,l,e,o,i)}else c&16?HE(t,n,i,e,r,o):ol(n,t,a,r,l,e,o,i);e=s?e.projectionNext:e.next}}function Rf(t,n,e,i,r,o){Yy(e,i,t.firstChild,n,r,o,!1)}function FF(t,n,e){let i=n[It],r=VE(t,e,n),o=e.parent||n[$n],s=jE(o,e,n);HE(i,0,n,e,r,s)}function HE(t,n,e,i,r,o){let s=e[Un],l=s[$n].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];ol(n,t,e[ao],r,d,i,o,e)}else{let c=l,d=s[cn];sE(i)&&(c.flags|=128),Yy(t,n,c,d,r,o,!0)}}function LF(t,n,e,i,r,o,s){let a=i[Ho],l=xi(i);a!==l&&ol(n,t,e,o,a,r,s);for(let c=qt;c<i.length;c++){let d=i[c];Rf(d[Ce],d,t,n,o,a)}}function BF(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:qi.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=qi.Important),t.setStyle(e,i,r,o))}}function $E(t,n,e,i,r){let o=Ir(),s=i&2;try{Go(-1),s&&n.length>Vt&&ME(t,n,Vt,!1),_t(s?2:0,r,e),e(i,r)}finally{Go(o),_t(s?3:1,r,e)}}function Pf(t,n,e){UF(t,n,e),(e.flags&64)===64&&WF(t,n,e)}function dd(t,n,e=Wi){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(n,t):t[s];t[r++]=a}}}function VF(t,n,e,i){let o=i.get(mE,hE)||e===co.ShadowDom,s=t.selectRootElement(n,o);if(s.tagName.toLowerCase()==="script")throw new U(905,!1);return jF(s),s}function jF(t){zF(t)}var zF=()=>null;function HF(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function UE(t,n,e,i,r,o){let s=n[Ce];if(eb(t,s,n,e,i)){$o(t)&&$F(n,t.index);return}t.type&3&&(e=HF(e)),WE(t,n,e,i,r,o)}function WE(t,n,e,i,r,o){if(t.type&3){let s=Wi(t,n);i=o!=null?o(i,t.value||"",e):i,r.setProperty(s,e,i)}else t.type&12}function $F(t,n){let e=Ti(n,t);e[Ee]&16||(e[Ee]|=64)}function UF(t,n,e){let i=e.directiveStart,r=e.directiveEnd;$o(e)&&mF(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||sf(e,n);let o=e.initialInputs;for(let s=i;s<r;s++){let a=t.data[s],l=td(n,t,s,e);if(ll(l,n),o!==null&&KF(n,s-i,l,a,e,o),Ui(a)){let c=Ti(e.index,n);c[Xt]=td(n,t,s,e)}}}function WF(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=iT();try{Go(o);for(let a=i;a<r;a++){let l=t.data[a],c=n[a];Wp(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&GF(l,c)}}finally{Go(-1),Wp(s)}}function GF(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function Zy(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];IE(n,o.selectors,!1)&&(i??=[],Ui(o)?i.unshift(o):i.push(o))}return i}function qF(t,n,e,i,r,o){let s=Wi(t,n);QF(n[It],s,o,t.value,e,i,r)}function QF(t,n,e,i,r,o,s){if(o==null)t.removeAttribute(n,r,e);else{let a=s==null?Fs(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}function KF(t,n,e,i,r,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];dy(i,e,l,c)}}function Jy(t,n,e,i,r){let o=Vt+e,s=n[Ce],a=r(s,n,t,i,e);n[o]=a,nl(t,!0);let l=t.type===2;return l?(TE(n[It],a,t),(Kx()===0||Xa(t))&&ll(a,n),Yx()):ll(a,n),Kp()&&(!l||!Df(t))&&Ky(s,n,a,t),t}function Xy(t){let n=t;return A0()?N0():(n=n.parent,nl(n,!1)),n}function YF(t,n){let e=t[ao];if(!e)return;let i;try{i=e.get(Yn,null)}catch{i=null}i?.(n)}function eb(t,n,e,i,r){let o=t.inputs?.[i],s=t.hostDirectiveInputs?.[i],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1],u=n.data[c];dy(u,e[c],d,r),a=!0}if(o)for(let l of o){let c=e[l],d=n.data[l];dy(d,c,i,r),a=!0}return a}function ZF(t,n){let e=Ti(n,t),i=e[Ce];JF(i,e);let r=e[Hi];r!==null&&e[Ls]===null&&(e[Ls]=gE(r,e[ao])),_t(18),tb(i,e,e[Xt]),_t(19,e[Xt])}function JF(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function tb(t,n,e){qp(n);try{let i=t.viewQuery;i!==null&&cy(1,i,e);let r=t.template;r!==null&&$E(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Tr]?.finishViewCreation(t),t.staticContentQueries&&yE(t,n),t.staticViewQueries&&cy(2,t.viewQuery,e);let o=t.components;o!==null&&XF(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[Ee]&=-5,Qp()}}function XF(t,n){for(let e=0;e<n.length;e++)ZF(t,n[e])}function ud(t,n,e,i){let r=Oe(null);try{let o=n.tView,a=t[Ee]&4096?4096:16,l=Hy(t,o,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[zo]=c;let d=t[Tr];return d!==null&&(l[Tr]=d.createEmbeddedView(o)),tb(o,l,e),l}finally{Oe(r)}}function cl(t,n){return!n||n.firstChild===null||sE(t)}function nd(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(xi(o)),$i(o)&&GE(o,i);let s=e.type;if(s&8)nd(t,n,e.child,i);else if(s&32){let a=Uy(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=zE(n,e);if(Array.isArray(a))i.push(...a);else{let l=Bo(n[Un]);nd(l[Ce],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function GE(t,n){for(let e=qt;e<t.length;e++){let i=t[e],r=i[Ce].firstChild;r!==null&&nd(i[Ce],i,r,n)}t[Ho]!==t[Hi]&&n.push(t[Ho])}function qE(t){if(t[js]!==null){for(let n of t[js])n.impl.addSequence(n);t[js].length=0}}var QE=[];function eL(t){return t[ci]??tL(t)}function tL(t){let n=QE.pop()??Object.create(iL);return n.lView=t,n}function nL(t){t.lView[ci]!==t&&(t.lView=null,QE.push(t))}var iL=A(_({},Cs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Uo(t.lView)},consumerOnSignalRead(){this.lView[ci]=this}});function rL(t){let n=t[ci]??Object.create(oL);return n.lView=t,n}var oL=A(_({},Cs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Bo(t.lView);for(;n&&!KE(n[Ce]);)n=Bo(n);n&&zp(n)},consumerOnSignalRead(){this.lView[ci]=this}});function KE(t){return t.type!==2}function YE(t){if(t[lo]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[lo])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[Ee]&8192)}}var sL=100;function ZE(t,n=0){let i=t[xr].rendererFactory,r=!1;r||i.begin?.();try{aL(t,n)}finally{r||i.end?.()}}function aL(t,n){let e=F0();try{il(!0),hy(t,n);let i=0;for(;tl(t);){if(i===sL)throw new U(103,!1);i++,hy(t,1)}}finally{il(e)}}function lL(t,n,e,i){if($s(n))return;let r=n[Ee],o=!1,s=!1;qp(n);let a=!0,l=null,c=null;o||(KE(t)?(c=eL(n),l=xs(c)):Yu()===null?(a=!1,c=rL(n),l=xs(c)):n[ci]&&(Ts(n[ci]),n[ci]=null));try{E0(n),eT(t.bindingStartIndex),e!==null&&$E(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let f=t.preOrderCheckHooks;f!==null&&Zp(n,f,null)}else{let f=t.preOrderHooks;f!==null&&Jp(n,f,0,null),q0(n,0)}if(s||cL(n),YE(n),JE(n,0),t.contentQueries!==null&&yE(t,n),!o)if(d){let f=t.contentCheckHooks;f!==null&&Zp(n,f)}else{let f=t.contentHooks;f!==null&&Jp(n,f,1),q0(n,1)}uL(t,n);let u=t.components;u!==null&&eS(n,u,0);let p=t.viewQuery;if(p!==null&&cy(2,p,i),!o)if(d){let f=t.viewCheckHooks;f!==null&&Zp(n,f)}else{let f=t.viewHooks;f!==null&&Jp(n,f,2),q0(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Vp]){for(let f of n[Vp])f();n[Vp]=null}o||(qE(n),n[Ee]&=-73)}catch(d){throw o||Uo(n),d}finally{c!==null&&(Na(c,l),a&&nL(c)),Qp()}}function JE(t,n){for(let e=lE(t);e!==null;e=cE(e))for(let i=qt;i<e.length;i++){let r=e[i];XE(r,n)}}function cL(t){for(let n=lE(t);n!==null;n=cE(n)){if(!(n[Ee]&2))continue;let e=n[Hs];for(let i=0;i<e.length;i++){let r=e[i];zp(r)}}}function dL(t,n,e){_t(18);let i=Ti(n,t);XE(i,e),_t(19,i[Xt])}function XE(t,n){jp(t)&&hy(t,n)}function hy(t,n){let i=t[Ce],r=t[Ee],o=t[ci],s=!!(n===0&&r&16);if(s||=!!(r&64&&n===0),s||=!!(r&1024),s||=!!(o?.dirty&&Fa(o)),s||=!1,o&&(o.dirty=!1),t[Ee]&=-9217,s)lL(i,t,i.template,t[Xt]);else if(r&8192){let a=Oe(null);try{YE(t),JE(t,1);let l=i.components;l!==null&&eS(t,l,1),qE(t)}finally{Oe(a)}}}function eS(t,n,e){for(let i=0;i<n.length;i++)dL(t,n[i],e)}function uL(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)Go(~r);else{let o=r,s=e[++i],a=e[++i];nT(s,o);let l=n[o];_t(24,l),a(2,l),_t(25,l)}}}finally{Go(-1)}}function nb(t,n){let e=F0()?64:1088;for(t[xr].changeDetectionScheduler?.notify(n);t;){t[Ee]|=e;let i=Bo(t);if(el(t)&&!i)return t;t=i}return null}function tS(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function nS(t,n){let e=qt+n;if(e<t.length)return t[e]}function pd(t,n,e,i=!0){let r=n[Ce];if(pL(r,n,t,e),i){let s=fy(e,t),a=n[It],l=a.parentNode(t[Ho]);l!==null&&DF(r,t[$n],a,n,l,s)}let o=n[Ls];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function iS(t,n){let e=id(t,n);return e!==void 0&&Of(e[Ce],e),e}function id(t,n){if(t.length<=qt)return;let e=qt+n,i=t[e];if(i){let r=i[zo];r!==null&&r!==t&&Qy(r,i),n>0&&(t[e-1][Ci]=i[Ci]);let o=jc(t,qt+n);IF(i[Ce],i);let s=o[Tr];s!==null&&s.detachView(o[Ce]),i[cn]=null,i[Ci]=null,i[Ee]&=-129}return i}function pL(t,n,e,i){let r=qt+i,o=e.length;i>0&&(e[r-1][Ci]=n),i<o-qt?(n[Ci]=e[r],d0(e,qt+i,n)):(e.push(n),n[Ci]=null),n[cn]=e;let s=n[zo];s!==null&&e!==s&&rS(s,n);let a=n[Tr];a!==null&&a.insertView(t),Hp(n),n[Ee]|=128}function rS(t,n){let e=t[Hs],i=n[cn];if(Er(i))t[Ee]|=2;else{let r=i[cn][Un];n[Un]!==r&&(t[Ee]|=2)}e===null?t[Hs]=[n]:e.push(n)}var qo=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[Ce];return nd(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[Xt]}set context(n){this._lView[Xt]=n}get destroyed(){return $s(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[cn];if($i(n)){let e=n[Wc],i=e?e.indexOf(this):-1;i>-1&&(id(n,i),jc(e,i))}this._attachedToViewContainer=!1}Of(this._lView[Ce],this._lView)}onDestroy(n){S0(this._lView,n)}markForCheck(){nb(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ee]&=-129}reattach(){Hp(this._lView),this._lView[Ee]|=128}detectChanges(){this._lView[Ee]|=1024,ZE(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=el(this._lView),e=this._lView[zo];e!==null&&!n&&Qy(e,this._lView),BE(this._lView[Ce],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=n;let e=el(this._lView),i=this._lView[zo];i!==null&&!e&&rS(i,this._lView),Hp(this._lView)}};function ib(t){return tl(t._lView)||!!(t._lView[Ee]&64)}function rb(t){zp(t._lView)}var Mr=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=fL;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=ud(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new qo(o)}}return t})();function fL(){return Af(bn(),ve())}function Af(t,n){return t.type&4?new Mr(n,t,hl(t,n)):null}function ml(t,n,e,i,r){let o=t.data[n];if(o===null)o=hL(t,n,e,i,r),tT()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=Zx();o.injectorIndex=s===null?-1:s.injectorIndex}return nl(o,!0),o}function hL(t,n,e,i,r){let o=P0(),s=A0(),a=s?o:o&&o.parent,l=t.data[n]=gL(t,a,e,n,i,r);return mL(t,l,o,s),l}function mL(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function gL(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return M0()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,namespace:V0(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var nhe=new RegExp(`^(\\d+)*(${jN}|${VN})*(.*)`);function yL(t){let n=t[v0]??[],i=t[cn][It],r=[];for(let o of n)o.data[fE]!==void 0?r.push(o):bL(o,i);t[v0]=r}function bL(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[pE];for(;e<r;){let o=i.nextSibling;xE(n,i,!1),i=o,e++}}}var vL=()=>null,_L=()=>null;function ff(t,n){return vL(t,n)}function oS(t,n,e){return _L(t,n,e)}var sS=class{},Nf=class{},my=class{resolveComponentFactory(n){throw new U(917,!1)}},Qo=class{static NULL=new my},uo=class{},Yi=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>wL()}return t})();function wL(){let t=ve(),n=bn(),e=Ti(n.index,t);return(Er(e)?e:t)[It]}var aS=(()=>{class t{static \u0275prov=N({token:t,providedIn:"root",factory:()=>null})}return t})();var ef={},gy=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,ef,i);return r!==ef||e===ef?r:this.parentInjector.get(n,e,i)}};function hf(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)r=Pp(r,a);else if(o==2){let l=a,c=n[++s];i=Pp(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function me(t,n=0){let e=ve();if(e===null)return he(t,n);let i=bn();return nE(i,e,ln(t),n)}function lS(t,n,e,i,r){let o=i===null?null:{"":-1},s=r(t,e);if(s!==null){let a=s,l=null,c=null;for(let d of s)if(d.resolveHostDirectives!==null){[a,l,c]=d.resolveHostDirectives(s);break}TL(t,n,e,a,o,l,c)}o!==null&&i!==null&&CL(e,i,o)}function CL(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new U(-301,!1);i.push(n[r],o)}}function xL(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function TL(t,n,e,i,r,o,s){let a=i.length,l=!1;for(let p=0;p<a;p++){let f=i[p];!l&&Ui(f)&&(l=!0,xL(t,e,p)),oy(sf(e,n),t,f.type)}ML(e,t.data.length,a);for(let p=0;p<a;p++){let f=i[p];f.providersResolver&&f.providersResolver(f)}let c=!1,d=!1,u=kE(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=i[p];if(e.mergedAttrs=al(e.mergedAttrs,f.hostAttrs),SL(t,e,n,u,f),kL(u,f,r),s!==null&&s.has(f)){let[b,v]=s.get(f);e.directiveToIndex.set(f.type,[u,b+e.directiveStart,v+e.directiveStart])}else(o===null||!o.has(f))&&e.directiveToIndex.set(f.type,u);f.contentQueries!==null&&(e.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(e.flags|=64);let y=f.type.prototype;!c&&(y.ngOnChanges||y.ngOnInit||y.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!d&&(y.ngOnChanges||y.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),d=!0),u++}EL(t,e,o)}function EL(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))ST(0,n,r,i),ST(1,n,r,i),DT(n,i,!1);else{let o=e.get(r);IT(0,n,o,i),IT(1,n,o,i),DT(n,i,!0)}}}function ST(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(i),cS(n,o)}}function IT(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s=r[o],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(i,o),cS(n,s)}}function cS(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function DT(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||jy(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<i.length;){let l=i[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let d of c)if(d===n){s??=[],s.push(l,i[a+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===n){s??=[],s.push(c[d+1],i[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function SL(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=Lo(r.type,!0)),s=new Gs(o,Ui(r),me,null);t.blueprint[i]=s,e[i]=s,IL(t,n,i,kE(t,e,r.hostVars,Wn),r)}function IL(t,n,e,i,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;DL(s)!=a&&s.push(a),s.push(e,i,o)}}function DL(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function kL(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Ui(n)&&(e[""]=t)}}function ML(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function ob(t,n,e,i,r,o,s,a){let l=n[Ce],c=l.consts,d=Ei(c,s),u=ml(l,t,e,i,d);return o&&lS(l,n,u,Ei(c,a),r),u.mergedAttrs=al(u.mergedAttrs,u.attrs),u.attrs!==null&&hf(u,u.attrs,!1),u.mergedAttrs!==null&&hf(u,u.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,u),u}function sb(t,n){QT(t,n),_0(n)&&t.queries.elementEnd(n)}function OL(t,n,e,i,r,o){let s=n.consts,a=Ei(s,r),l=ml(n,t,e,i,a);if(l.mergedAttrs=al(l.mergedAttrs,l.attrs),o!=null){let c=Ei(s,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return l.attrs!==null&&hf(l,l.attrs,!1),l.mergedAttrs!==null&&hf(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function ab(t){return Ff(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function dS(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function Ff(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Ko(t,n,e){return t[n]=e}function Lf(t,n){return t[n]}function Zn(t,n,e){if(e===Wn)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function dl(t,n,e,i){let r=Zn(t,n,e);return Zn(t,n+1,i)||r}function uS(t,n,e,i,r){let o=dl(t,n,e,i);return Zn(t,n+2,r)||o}function Bf(t,n,e,i,r,o){let s=dl(t,n,e,i);return dl(t,n+2,r,o)||s}function Y0(t,n,e){return function i(r){let o=$o(t)?Ti(t.index,n):n;nb(o,5);let s=n[Xt],a=kT(n,s,e,r),l=i.__ngNextListenerFn__;for(;l;)a=kT(n,s,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function kT(t,n,e,i){let r=Oe(null);try{return _t(6,n,e),e(i)!==!1}catch(o){return YF(t,o),!1}finally{_t(7,n,e),Oe(r)}}function RL(t,n,e,i,r,o,s,a){let l=Xa(t),c=!1,d=null;if(!i&&l&&(d=AL(n,e,o,t.index)),d!==null){let u=d.__ngLastListenerFn__||d;u.__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0}else{let u=Wi(t,e),p=i?i(u):u;HN(e,p,o,a);let f=r.listen(p,o,a);if(!PL(o)){let y=i?b=>i(xi(b[t.index])):t.index;pS(y,n,e,o,a,f,!1)}}return c}function PL(t){return t.startsWith("animation")||t.startsWith("transition")}function AL(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===e&&r[o+1]===i){let a=n[Za],l=r[o+2];return a&&a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function pS(t,n,e,i,r,o,s){let a=n.firstCreatePass?D0(n):null,l=I0(e),c=l.length;l.push(r,o),a&&a.push(i,t,c,(c+1)*(s?-1:1))}function MT(t,n,e,i,r,o){let s=n[e],a=n[Ce],c=a.data[e].outputs[i],u=s[c].subscribe(o);pS(t.index,a,n,r,o,u,!0)}var yy=Symbol("BINDING");var mf=class extends Qo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=jo(n);return new ul(e,this.ngModule)}};function NL(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&kf.SignalBased)!==0};return r&&(o.transform=r),o})}function FL(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function LL(t,n,e){let i=n instanceof Zt?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new gy(e,i):e}function BL(t){let n=t.get(uo,null);if(n===null)throw new U(407,!1);let e=t.get(aS,null),i=t.get(li,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function VL(t,n){let e=fS(t);return wE(n,e,e==="svg"?w0:e==="math"?$x:null)}function fS(t){return(t.selectors[0][0]||"div").toLowerCase()}var ul=class extends Nf{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=NL(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=FL(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=uF(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,s){_t(22);let a=Oe(null);try{let l=this.componentDef,c=jL(i,l,s,o),d=LL(l,r||this.ngModule,n),u=BL(d),p=u.rendererFactory.createRenderer(null,l),f=i?VF(p,i,l.encapsulation,d):VL(l,p),y=s?.some(OT)||o?.some(w=>typeof w!="function"&&w.bindings.some(OT)),b=Hy(null,c,null,512|DE(l),null,null,u,p,d,null,gE(f,d,!0));b[Vt]=f,qp(b);let v=null;try{let w=ob(Vt,b,2,"#host",()=>c.directiveRegistry,!0,0);TE(p,f,w),ll(f,b),Pf(c,b,w),By(c,w,b),sb(c,w),e!==void 0&&HL(w,this.ngContentSelectors,e),v=Ti(w.index,b),b[Xt]=v[Xt],tb(c,b,null)}catch(w){throw v!==null&&ay(v),ay(b),w}finally{_t(23),Qp()}return new gf(this.componentType,b,!!y)}finally{Oe(a)}}};function jL(t,n,e,i){let r=t?["ng-version","20.3.24"]:pF(n.selectors[0]),o=null,s=null,a=0;if(e)for(let d of e)a+=d[yy].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(s??=[]).push(d));if(i)for(let d=0;d<i.length;d++){let u=i[d];if(typeof u!="function")for(let p of u.bindings){a+=p[yy].requiredVars;let f=d+1;p.create&&(p.targetIdx=f,(o??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let l=[n];if(i)for(let d of i){let u=typeof d=="function"?d:d.type,p=Bp(u);l.push(p)}return zy(0,null,zL(o,s),1,a,l,null,null,null,[r],null)}function zL(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function OT(t){let n=t[yy].kind;return n==="input"||n==="twoWay"}var gf=class extends sS{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=Gc(e[Ce],Vt),this.location=hl(this._tNode,e),this.instance=Ti(this._tNode.index,e)[Xt],this.hostView=this.changeDetectorRef=new qo(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=eb(i,r[Ce],r,n,e);this.previousInputValues.set(n,e);let s=Ti(i.index,r);nb(s,1)}get injector(){return new Ws(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function HL(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}var Ii=(()=>{class t{static __NG_ELEMENT_ID__=$L}return t})();function $L(){let t=bn();return mS(t,ve())}var UL=Ii,hS=class extends UL{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return hl(this._hostTNode,this._hostLView)}get injector(){return new Ws(this._hostTNode,this._hostLView)}get parentInjector(){let n=Ny(this._hostTNode,this._hostLView);if(YT(n)){let e=rf(n,this._hostLView),i=nf(n),r=e[Ce].data[i+8];return new Ws(r,e)}else return new Ws(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=RT(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-qt}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=ff(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,cl(this._hostTNode,s)),a}createComponent(n,e,i,r,o,s,a){let l=n&&!hN(n),c;if(l)c=e;else{let v=e||{};c=v.index,i=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let d=l?n:new ul(jo(n)),u=i||this.parentInjector;if(!o&&d.ngModule==null){let w=(l?u:this.parentInjector).get(Zt,null);w&&(o=w)}let p=jo(d.componentType??{}),f=ff(this._lContainer,p?.id??null),y=f?.firstChild??null,b=d.create(u,r,y,o,s,a);return this.insertImpl(b.hostView,c,cl(this._hostTNode,f)),b}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(Wx(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[cn],c=new hS(l,l[$n],l[cn]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return pd(s,r,o,i),n.attachToViewContainerRef(),d0(Z0(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=RT(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=id(this._lContainer,e);i&&(jc(Z0(this._lContainer),e),Of(i[Ce],i))}detach(n){let e=this._adjustIndex(n,-1),i=id(this._lContainer,e);return i&&jc(Z0(this._lContainer),e)!=null?new qo(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function RT(t){return t[Wc]}function Z0(t){return t[Wc]||(t[Wc]=[])}function mS(t,n){let e,i=n[t.index];return $i(i)?e=i:(e=tS(i,n,null,t),n[t.index]=e,$y(n,e)),GL(e,n,t,i),new hS(e,t,n)}function WL(t,n){let e=t[It],i=e.createComment(""),r=Wi(n,t),o=e.parentNode(r);return cf(e,o,i,e.nextSibling(r),!1),i}var GL=KL,qL=()=>!1;function QL(t,n,e){return qL(t,n,e)}function KL(t,n,e,i){if(t[Ho])return;let r;e.type&8?r=xi(i):r=WL(n,e),t[Ho]=r}var by=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},vy=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)cb(n,e).matches!==null&&this.queries[e].setDirty()}},yf=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=t3(n):this.predicate=n}},_y=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},wy=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,YL(e,o)),this.matchTNodeWithReadOption(n,e,Xp(e,n,o,!1,!1))}else i===Mr?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Xp(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===un||r===Ii||r===Mr&&e.type&4)this.addMatch(e.index,-2);else{let o=Xp(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function YL(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function ZL(t,n){return t.type&11?hl(t,n):t.type&4?Af(t,n):null}function JL(t,n,e,i){return e===-1?ZL(n,t):e===-2?XL(t,n,i):td(t,t[Ce],e,n)}function XL(t,n,e){if(e===un)return hl(n,t);if(e===Mr)return Af(n,t);if(e===Ii)return mS(n,t)}function gS(t,n,e,i){let r=n[Tr].queries[i];if(r.matches===null){let o=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(JL(n,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function Cy(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let s=gS(t,n,r,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)i.push(s[a/2]);else{let c=o[a+1],d=n[-l];for(let u=qt;u<d.length;u++){let p=d[u];p[zo]===p[cn]&&Cy(p[Ce],p,c,i)}if(d[Hs]!==null){let u=d[Hs];for(let p=0;p<u.length;p++){let f=u[p];Cy(f[Ce],f,c,i)}}}}}return i}function lb(t,n){return t[Tr].queries[n].queryList}function yS(t,n,e){let i=new af((e&4)===4);return Qx(t,n,i,i.destroy),(n[Tr]??=new vy).queries.push(new by(i))-1}function bS(t,n,e){let i=jt();return i.firstCreatePass&&(vS(i,new yf(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),yS(i,ve(),n)}function e3(t,n,e,i){let r=jt();if(r.firstCreatePass){let o=bn();vS(r,new yf(n,e,i),o.index),n3(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return yS(r,ve(),e)}function t3(t){return t.split(",").map(n=>n.trim())}function vS(t,n,e){t.queries===null&&(t.queries=new _y),t.queries.track(new wy(n,e))}function n3(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function cb(t,n){return t.queries.getByIndex(n)}function _S(t,n){let e=t[Ce],i=cb(e,n);return i.crossesNgTemplate?Cy(e,t,n,[]):gS(e,t,i,n)}function wS(t,n,e){let i,r=Ic(()=>{i._dirtyCounter();let o=r3(i,t);if(n&&o===void 0)throw new U(-951,!1);return o});return i=r[gn],i._dirtyCounter=_e(0),i._flatValue=void 0,r}function CS(t){return wS(!0,!1,t)}function xS(t){return wS(!0,!0,t)}function i3(t,n){let e=t[gn];e._lView=ve(),e._queryIndex=n,e._queryList=lb(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function r3(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Ee]&4)return n?void 0:Ln;let r=lb(e,i),o=_S(e,i);return r.reset(o,oE),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var Qs=class{},Vf=class{};var bf=class extends Qs{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new mf(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=f0(n);this._bootstrapComponents=EE(o.bootstrap),this._r3Injector=j0(n,e,[{provide:Qs,useValue:this},{provide:Qo,useValue:this.componentFactoryResolver},...i],oo(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},vf=class extends Vf{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new bf(this.moduleType,n,[])}};var rd=class extends Qs{injector;componentFactoryResolver=new mf(this);instance=null;constructor(n){super();let e=new As([...n.providers,{provide:Qs,useValue:this},{provide:Qo,useValue:this.componentFactoryResolver}],n.parent||$c(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function fd(t,n,e=null){return new rd({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var o3=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=h0(!1,e.type),r=i.length>0?fd([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=N({token:t,providedIn:"environment",factory:()=>new t(he(Zt))})}return t})();function $(t){return ad(()=>{let n=TS(t),e=A(_({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Fy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(o3).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||co.Emulated,styles:t.styles||Ln,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Ki("NgStandalone"),ES(e);let i=t.dependencies;return e.directiveDefs=PT(i,s3),e.pipeDefs=PT(i,Nx),e.id=c3(e),e})}function s3(t){return jo(t)||Bp(t)}function Re(t){return ad(()=>({type:t.type,bootstrap:t.bootstrap||Ln,declarations:t.declarations||Ln,imports:t.imports||Ln,exports:t.exports||Ln,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function a3(t,n){if(t==null)return zi;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=kf.None,l=null),e[o]=[i,a,l],n[o]=s}return e}function l3(t){if(t==null)return zi;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function Ye(t){return ad(()=>{let n=TS(t);return ES(n),n})}function db(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function TS(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||zi,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ln,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:a3(t.inputs,n),outputs:l3(t.outputs),debugInfo:null}}function ES(t){t.features?.forEach(n=>n(t))}function PT(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let o=n(r);o!==null&&i.push(o)}return i}:null}function c3(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function d3(t){return Object.getPrototypeOf(t.prototype).constructor}function j(t){let n=d3(t.type),e=!0,i=[t];for(;n;){let r;if(Ui(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new U(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let s=t;s.inputs=J0(t.inputs),s.declaredInputs=J0(t.declaredInputs),s.outputs=J0(t.outputs);let a=r.hostBindings;a&&m3(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&f3(t,l),c&&h3(t,c),u3(t,r),Sx(t.outputs,r.outputs),Ui(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===j&&(e=!1)}}n=Object.getPrototypeOf(n)}p3(i)}function u3(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function p3(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=al(r.hostAttrs,e=al(e,r.hostAttrs))}}function J0(t){return t===zi?{}:t===Ln?[]:t}function f3(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function h3(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function m3(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function nt(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=g3,e.hostDirectives=i?t.map(xy):[t]):i?e.hostDirectives.unshift(...t.map(xy)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function g3(t){let n=[],e=!1,i=null,r=null;for(let o=0;o<t.length;o++){let s=t[o];if(s.hostDirectives!==null){let a=n.length;i??=new Map,r??=new Map,SS(s,n,i),r.set(s,[a,n.length-1])}o===0&&Ui(s)&&(e=!0,n.push(s))}for(let o=e?1:0;o<t.length;o++)n.push(t[o]);return[n,i,r]}function SS(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)AT(xy(o),n,e)}else AT(i,n,e)}function AT(t,n,e){let i=Bp(t.directive);y3(i.declaredInputs,t.inputs),SS(i,n,e),e.set(i,t),n.push(i)}function xy(t){return typeof t=="function"?{directive:ln(t),inputs:zi,outputs:zi}:{directive:ln(t.directive),inputs:NT(t.inputs),outputs:NT(t.outputs)}}function NT(t){if(t===void 0||t.length===0)return zi;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function y3(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],r=t[e];t[i]=r}}function IS(t,n,e,i,r,o,s,a){if(e.firstCreatePass){t.mergedAttrs=al(t.mergedAttrs,t.attrs);let d=t.tView=zy(2,t,r,o,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),d.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),nl(t,!1);let l=v3(e,n,t,i);Kp()&&Ky(e,n,l,t),ll(l,n);let c=tS(l,n,l,t);n[i+Vt]=c,$y(n,c),QL(c,t,n)}function b3(t,n,e,i,r,o,s,a,l,c,d){let u=e+Vt,p;return n.firstCreatePass?(p=ml(n,u,4,s||null,a||null),$p()&&lS(n,t,p,Ei(n.consts,c),Zy),QT(n,p)):p=n.data[u],IS(p,t,n,e,i,r,o,l),Xa(p)&&Pf(n,t,p),c!=null&&dd(t,p,d),p}function od(t,n,e,i,r,o,s,a,l,c,d){let u=e+Vt,p;if(n.firstCreatePass){if(p=ml(n,u,4,s||null,a||null),c!=null){let f=Ei(n.consts,c);p.localNames=[];for(let y=0;y<f.length;y+=2)p.localNames.push(f[y],-1)}}else p=n.data[u];return IS(p,t,n,e,i,r,o,l),c!=null&&dd(t,p,d),p}function C(t,n,e,i,r,o,s,a){let l=ve(),c=jt(),d=Ei(c.consts,o);return b3(l,c,t,n,e,i,r,d,void 0,s,a),C}var v3=_3;function _3(t,n,e,i){return Kc(!0),n[It].createComment("")}var ub=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var pb=new z("");function Yo(t){return!!t&&typeof t.then=="function"}function fb(t){return!!t&&typeof t.subscribe=="function"}var hb=new z("");function gl(t){return wi([{provide:hb,multi:!0,useValue:t}])}var mb=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=x(hb,{optional:!0})??[];injector=x(Bt);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=In(this.injector,r);if(Yo(o))e.push(o);else if(fb(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jf=new z("");function DS(){wg(()=>{let t="";throw new U(600,t)})}function kS(t){return t.isBoundToModule}var w3=10;var Or=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=x(Yn);afterRenderManager=x(qy);zonelessEnabled=x(Yc);rootEffectScheduler=x(Jc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ge;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=x(Dr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ye(e=>!e))}constructor(){x(Zs,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=x(Zt);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=Bt.NULL){return this._injector.get($e).run(()=>{_t(10);let s=e instanceof Nf;if(!this._injector.get(mb).done){let y="";throw new U(405,y)}let l;s?l=e:l=this._injector.get(Qo).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=kS(l)?void 0:this._injector.get(Qs),d=i||l.selector,u=l.create(r,[],d,c),p=u.location.nativeElement,f=u.injector.get(pb,null);return f?.registerApplication(p),u.onDestroy(()=>{this.detachView(u.hostView),ed(this.components,u),f?.unregisterApplication(p)}),this._loadComponent(u),_t(11,u),u})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){_t(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new U(101,!1);let e=Oe(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Oe(e),this.afterTick.next(),_t(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(uo,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<w3;)_t(14),this.synchronizeOnce(),_t(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!tl(r))continue;let o=i&&!this.zonelessEnabled?0:1;ZE(r,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>tl(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;ed(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(jf,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>ed(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new U(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ed(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function J(t,n,e,i){let r=ve(),o=Wo();if(Zn(r,o,n)){let s=jt(),a=Qc();qF(a,r,t,n,e,i)}return J}var che=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ty=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};function X0(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function C3(t,n,e){let i,r,o=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=s&&o<=l;){let c=t.at(o),d=n[o],u=X0(o,c,o,d,e);if(u!==0){u<0&&t.updateValue(o,d),o++;continue}let p=t.at(s),f=n[l],y=X0(s,p,l,f,e);if(y!==0){y<0&&t.updateValue(s,f),s--,l--;continue}let b=e(o,c),v=e(s,p),w=e(o,d);if(Object.is(w,v)){let D=e(l,f);Object.is(D,b)?(t.swap(o,s),t.updateValue(s,f),l--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(i??=new _f,r??=LT(t,o,s,e),Ey(t,i,o,w))t.updateValue(o,d),o++,s++;else if(r.has(w))i.set(b,t.detach(o)),s--;else{let D=t.create(o,n[o]);t.attach(o,D),o++,s++}}for(;o<=l;)FT(t,i,e,o,n[o]),o++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=t.at(o),u=c.value,p=X0(o,d,o,u,e);if(p!==0)p<0&&t.updateValue(o,u),o++,c=l.next();else{i??=new _f,r??=LT(t,o,s,e);let f=e(o,u);if(Ey(t,i,o,f))t.updateValue(o,u),o++,s++,c=l.next();else if(!r.has(f))t.attach(o,t.create(o,u)),o++,s++,c=l.next();else{let y=e(o,d);i.set(y,t.detach(o)),s--}}}for(;!c.done;)FT(t,i,e,t.length,c.value),c=l.next()}for(;o<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function Ey(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function FT(t,n,e,i,r){if(Ey(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function LT(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}var _f=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function ot(t,n,e,i,r,o,s,a){Ki("NgControlFlow");let l=ve(),c=jt(),d=Ei(c.consts,o);return od(l,c,t,n,e,i,r,d,256,s,a),gb}function gb(t,n,e,i,r,o,s,a){Ki("NgControlFlow");let l=ve(),c=jt(),d=Ei(c.consts,o);return od(l,c,t,n,e,i,r,d,512,s,a),gb}function st(t,n){Ki("NgControlFlow");let e=ve(),i=Wo(),r=e[i]!==Wn?e[i]:-1,o=r!==-1?wf(e,Vt+r):void 0,s=0;if(Zn(e,i,t)){let a=Oe(null);try{if(o!==void 0&&iS(o,s),t!==-1){let l=Vt+t,c=wf(e,l),d=ky(e[Ce],l),u=oS(c,d,e),p=ud(e,d,n,{dehydratedView:u});pd(c,p,s,cl(d,u))}}finally{Oe(a)}}else if(o!==void 0){let a=nS(o,s);a!==void 0&&(a[Xt]=n)}}var Sy=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-qt}};function zf(t){return t}var Iy=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function Zo(t,n,e,i,r,o,s,a,l,c,d,u,p){Ki("NgControlFlow");let f=ve(),y=jt(),b=l!==void 0,v=ve(),w=a?s.bind(v[Un][Xt]):s,D=new Iy(b,w);v[Vt+t]=D,od(f,y,t+1,n,e,i,r,Ei(y.consts,o),256),b&&od(f,y,t+2,l,c,d,u,Ei(y.consts,p),512)}var Dy=class extends Ty{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-qt}at(n){return this.getLView(n)[Xt].$implicit}attach(n,e){let i=e[Ls];this.needsIndexUpdate||=n!==this.length,pd(this.lContainer,e,n,cl(this.templateTNode,i)),x3(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,T3(this.lContainer,n),E3(this.lContainer,n)}create(n,e){let i=ff(this.lContainer,this.templateTNode.tView.ssrId),r=ud(this.hostLView,this.templateTNode,new Sy(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){Of(n[Ce],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Xt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Xt].$index=n}getLView(n){return S3(this.lContainer,n)}};function Jo(t){let n=Oe(null),e=Ir();try{let i=ve(),r=i[Ce],o=i[e],s=e+1,a=wf(i,s);if(o.liveCollection===void 0){let c=ky(r,s);o.liveCollection=new Dy(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(C3(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=Wo(),d=l.length===0;if(Zn(i,c,d)){let u=e+2,p=wf(i,u);if(d){let f=ky(r,u),y=oS(p,f,i),b=ud(i,f,void 0,{dehydratedView:y});pd(p,b,0,cl(f,y))}else r.firstUpdatePass&&yL(p),iS(p,0)}}}finally{Oe(n)}}function wf(t,n){return t[n]}function x3(t,n){if(t.length<=qt)return;let e=qt+n,i=t[e],r=i?i[zs]:void 0;if(i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=i[ao];EF(o,r),qs.delete(i),r.detachedLeaveAnimationFns=void 0}}function T3(t,n){if(t.length<=qt)return;let e=qt+n,i=t[e],r=i?i[zs]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function E3(t,n){return id(t,n)}function S3(t,n){return nS(t,n)}function ky(t,n){return Gc(t,n)}function h(t,n,e){let i=ve(),r=Wo();if(Zn(i,r,n)){let o=jt(),s=Qc();UE(s,i,t,n,i[It],e)}return h}function My(t,n,e,i,r){eb(n,t,e,r?"class":"style",i)}function I(t,n,e,i){let r=ve(),o=r[Ce],s=t+Vt,a=o.firstCreatePass?ob(s,r,2,n,Zy,$p(),e,i):o.data[s];if(Jy(a,r,t,n,MS),Xa(a)){let l=r[Ce];Pf(l,r,a),By(l,a,r)}return i!=null&&dd(r,a),I}function T(){let t=jt(),n=bn(),e=Xy(n);return t.firstCreatePass&&sb(t,e),O0(e)&&R0(),k0(),e.classesWithoutHost!=null&&_N(e)&&My(t,e,ve(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&wN(e)&&My(t,e,ve(),e.stylesWithoutHost,!1),T}function ee(t,n,e,i){return I(t,n,e,i),T(),ee}function Ze(t,n,e,i){let r=ve(),o=r[Ce],s=t+Vt,a=o.firstCreatePass?OL(s,o,2,n,e,i):o.data[s];return Jy(a,r,t,n,MS),i!=null&&dd(r,a),Ze}function Je(){let t=bn(),n=Xy(t);return O0(n)&&R0(),k0(),Je}function de(t,n,e,i){return Ze(t,n,e,i),Je(),de}var MS=(t,n,e,i,r)=>(Kc(!0),wE(n[It],i,V0()));function re(t,n,e){let i=ve(),r=i[Ce],o=t+Vt,s=r.firstCreatePass?ob(o,i,8,"ng-container",Zy,$p(),n,e):r.data[o];if(Jy(s,i,t,"ng-container",I3),Xa(s)){let a=i[Ce];Pf(a,i,s),By(a,s,i)}return e!=null&&dd(i,s),re}function oe(){let t=jt(),n=bn(),e=Xy(n);return t.firstCreatePass&&sb(t,e),oe}function ne(t,n,e){return re(t,n,e),oe(),ne}var I3=(t,n,e,i,r)=>(Kc(!0),ZN(n[It],""));function se(){return ve()}function Ft(t,n,e){let i=ve(),r=Wo();if(Zn(i,r,n)){let o=jt(),s=Qc();WE(s,i,t,n,i[It],e)}return Ft}var hd="en-US";var D3=hd;function OS(t){typeof t=="string"&&(D3=t.toLowerCase().replace(/_/g,"-"))}function K(t,n,e){let i=ve(),r=jt(),o=bn();return RS(r,i,i[It],o,t,n,e),K}function RS(t,n,e,i,r,o,s){let a=!0,l=null;if((i.type&3||s)&&(l??=Y0(i,n,o),RL(i,t,n,s,e,r,o,l)&&(a=!1)),a){let c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let u=0;u<d.length;u+=2){let p=d[u],f=d[u+1];l??=Y0(i,n,o),MT(i,n,p,f,r,l)}if(c&&c.length)for(let u of c)l??=Y0(i,n,o),MT(i,n,u,r,r,l)}}function m(t=1){return lT(t)}function k3(t,n){let e=null,i=sF(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?IE(t,o,!0):cF(i,o))return r}return e}function zt(t){let n=ve()[Un][$n];if(!n.projection){let e=t?t.length:1,i=n.projection=Px(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?k3(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function Ot(t,n=0,e,i,r,o){let s=ve(),a=jt(),l=i?t+1:null;l!==null&&od(s,a,l,i,r,o,null,e);let c=ml(a,Vt+t,16,null,e||null);c.projection===null&&(c.projection=n),N0();let u=!s[Ls]||M0();s[Un][$n].projection[c.projection]===null&&l!==null?M3(s,a,l):u&&!Df(c)&&FF(a,s,c)}function M3(t,n,e){let i=Vt+e,r=n.data[i],o=t[i],s=ff(o,r.tView.ssrId),a=ud(t,r,void 0,{dehydratedView:s});pd(o,a,0,cl(r,s))}function V(t,n,e,i){e3(t,n,e,i)}function ct(t,n,e){bS(t,n,e)}function M(t){let n=ve(),e=jt(),i=Gp();qc(i+1);let r=cb(e,i);if(t.dirty&&Ux(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=_S(n,i);t.reset(o,oE),t.notifyOnChanges()}return!0}return!1}function O(){return lb(ve(),Gp())}function yb(t,n,e,i){i3(t,bS(n,e,i))}function Hf(t=1){qc(Gp()+t)}function pn(t){let n=Jx();return x0(n,Vt+t)}function Yp(t,n){return t<<17|n<<2}function Ks(t){return t>>17&32767}function O3(t){return(t&2)==2}function R3(t,n){return t&131071|n<<17}function Oy(t){return t|2}function pl(t){return(t&131068)>>2}function ey(t,n){return t&-131069|n<<2}function P3(t){return(t&1)===1}function Ry(t){return t|1}function A3(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Ks(s),l=pl(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let u=e;d=u[1],(d===null||Ya(u,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let p=Ks(t[a+1]);t[i+1]=Yp(p,a),p!==0&&(t[p+1]=ey(t[p+1],i)),t[a+1]=R3(t[a+1],i)}else t[i+1]=Yp(a,0),a!==0&&(t[a+1]=ey(t[a+1],i)),a=i;else t[i+1]=Yp(l,0),a===0?a=i:t[l+1]=ey(t[l+1],i),l=i;c&&(t[i+1]=Oy(t[i+1])),BT(t,d,i,!0),BT(t,d,i,!1),N3(n,d,t,i,o),s=Yp(a,l),o?n.classBindings=s:n.styleBindings=s}function N3(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&Ya(o,n)>=0&&(e[i+1]=Ry(e[i+1]))}function BT(t,n,e,i){let r=t[e+1],o=n===null,s=i?Ks(r):pl(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];F3(l,n)&&(a=!0,t[s+1]=i?Ry(c):Oy(c)),s=i?Ks(c):pl(c)}a&&(t[e+1]=i?Oy(r):Ry(r))}function F3(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Ya(t,n)>=0:!1}var dn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function PS(t){return t.substring(dn.key,dn.keyEnd)}function L3(t){return t.substring(dn.value,dn.valueEnd)}function B3(t){return FS(t),AS(t,fl(t,0,dn.textEnd))}function AS(t,n){let e=dn.textEnd;return e===n?-1:(n=dn.keyEnd=j3(t,dn.key=n,e),fl(t,n,e))}function V3(t){return FS(t),NS(t,fl(t,0,dn.textEnd))}function NS(t,n){let e=dn.textEnd,i=dn.key=fl(t,n,e);return e===i?-1:(i=dn.keyEnd=z3(t,i,e),i=VT(t,i,e,58),i=dn.value=fl(t,i,e),i=dn.valueEnd=H3(t,i,e),VT(t,i,e,59))}function FS(t){dn.key=0,dn.keyEnd=0,dn.value=0,dn.valueEnd=0,dn.textEnd=t.length}function fl(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function j3(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function z3(t,n,e){let i;for(;n<e&&((i=t.charCodeAt(n))===45||i===95||(i&-33)>=65&&(i&-33)<=90||i>=48&&i<=57);)n++;return n}function VT(t,n,e,i){return n=fl(t,n,e),n<e&&n++,n}function H3(t,n,e){let i=-1,r=-1,o=-1,s=n,a=s;for(;s<e;){let l=t.charCodeAt(s++);if(l===59)return a;l===34||l===39?a=s=jT(t,l,s,e):n===s-4&&o===85&&r===82&&i===76&&l===40?a=s=jT(t,41,s,e):l>32&&(a=s),o=r,r=i,i=l&-33}return a}function jT(t,n,e,i){let r=-1,o=e;for(;o<i;){let s=t.charCodeAt(o++);if(s==n&&r!==92)return o;s==92&&r===92?r=0:r=s}throw new Error}function Jn(t,n,e){return LS(t,n,e,!1),Jn}function yl(t,n){return LS(t,n,null,!0),yl}function Dn(t){BS(zS,$3,t,!1)}function $3(t,n){for(let e=V3(n);e>=0;e=NS(n,e))zS(t,PS(n),L3(n))}function k(t){BS(Y3,U3,t,!0)}function U3(t,n){for(let e=B3(n);e>=0;e=AS(n,e))zc(t,PS(n),!0)}function LS(t,n,e,i){let r=ve(),o=jt(),s=Up(2);if(o.firstUpdatePass&&jS(o,t,s,i),n!==Wn&&Zn(r,s,n)){let a=o.data[Ir()];HS(o,a,r,r[It],t,r[s+1]=J3(n,e),i,s)}}function BS(t,n,e,i){let r=jt(),o=Up(2);r.firstUpdatePass&&jS(r,null,o,i);let s=ve();if(e!==Wn&&Zn(s,o,e)){let a=r.data[Ir()];if($S(a,i)&&!VS(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Pp(l,e||"")),My(r,a,s,e,i)}else Z3(r,a,s,s[It],s[o+1],s[o+1]=K3(t,n,e),i,o)}}function VS(t,n){return n>=t.expandoStartIndex}function jS(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Ir()],s=VS(t,e);$S(o,i)&&n===null&&!s&&(n=!1),n=W3(r,o,n,i),A3(r,o,n,e,s,i)}}function W3(t,n,e,i){let r=rT(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=ty(null,t,n,e,i),e=sd(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=ty(r,t,n,e,i),o===null){let l=G3(t,n,i);l!==void 0&&Array.isArray(l)&&(l=ty(null,t,n,l[1],i),l=sd(l,n.attrs,i),q3(t,n,i,l))}else o=Q3(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function G3(t,n,e){let i=e?n.classBindings:n.styleBindings;if(pl(i)!==0)return t[Ks(i)]}function q3(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Ks(r)]=i}function Q3(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;i=sd(i,s,e)}return sd(i,n.attrs,e)}function ty(t,n,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],i=sd(i,o.hostAttrs,r),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function sd(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?r=s:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),zc(t,s,e?!0:n[++o]))}return t===void 0?null:t}function K3(t,n,e){if(e==null||e==="")return Ln;let i=[],r=ld(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function zS(t,n,e){zc(t,n,ld(e))}function Y3(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&zc(t,i,e)}function Z3(t,n,e,i,r,o,s,a){r===Wn&&(r=Ln);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;d!==null||u!==null;){let p=l<r.length?r[l+1]:void 0,f=c<o.length?o[c+1]:void 0,y=null,b;d===u?(l+=2,c+=2,p!==f&&(y=u,b=f)):u===null||d!==null&&d<u?(l+=2,y=d):(c+=2,y=u,b=f),y!==null&&HS(t,n,e,i,y,b,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function HS(t,n,e,i,r,o,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],d=P3(c)?zT(l,n,e,r,pl(c),s):void 0;if(!Cf(d)){Cf(o)||O3(c)&&(o=zT(l,null,e,r,a,s));let u=C0(Ir(),e);BF(i,s,u,r,o)}}function zT(t,n,e,i,r,o){let s=n===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,p=e[r+1];p===Wn&&(p=u?Ln:void 0);let f=u?Lp(p,i):d===i?p:void 0;if(c&&!Cf(f)&&(f=Lp(l,i)),Cf(f)&&(a=f,s))return a;let y=t[r+1];r=s?Ks(y):pl(y)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=Lp(l,i))}return a}function Cf(t){return t!==void 0}function J3(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=oo(ld(t)))),t}function $S(t,n){return(t.flags&(n?8:16))!==0}function ce(t,n=""){let e=ve(),i=jt(),r=t+Vt,o=i.firstCreatePass?ml(i,r,1,n,null):i.data[r],s=X3(i,e,o,n,t);e[r]=s,Kp()&&Ky(i,e,s,o),nl(o,!1)}var X3=(t,n,e,i,r)=>(Kc(!0),KN(n[It],i));function US(t,n,e,i=""){return Zn(t,Wo(),e)?n+Fs(e)+i:Wn}function e5(t,n,e,i,r,o=""){let s=Xx(),a=dl(t,s,e,r);return Up(2),a?n+Fs(e)+i+Fs(r)+o:Wn}function Xe(t){return $t("",t),Xe}function $t(t,n,e){let i=ve(),r=US(i,t,n,e);return r!==Wn&&WS(i,Ir(),r),$t}function bl(t,n,e,i,r){let o=ve(),s=e5(o,t,n,e,i,r);return s!==Wn&&WS(o,Ir(),s),bl}function WS(t,n,e){let i=C0(n,t);YN(t[It],i,e)}function Di(t,n,e){U0(n)&&(n=n());let i=ve(),r=Wo();if(Zn(i,r,n)){let o=jt(),s=Qc();UE(s,i,t,n,i[It],e)}return Di}function Zi(t,n){let e=U0(t);return e&&t.set(n),e}function ki(t,n){let e=ve(),i=jt(),r=bn();return RS(i,e,e[It],r,t,n),ki}function bb(t,n,e=""){return US(ve(),t,n,e)}function t5(t,n,e){let i=jt();if(i.firstCreatePass){let r=Ui(t);Py(e,i.data,i.blueprint,r,!0),Py(n,i.data,i.blueprint,r,!1)}}function Py(t,n,e,i,r){if(t=ln(t),Array.isArray(t))for(let o=0;o<t.length;o++)Py(t[o],n,e,i,r);else{let o=jt(),s=ve(),a=bn(),l=Ps(t)?t:ln(t.provide),c=g0(t),d=a.providerIndexes&1048575,u=a.directiveStart,p=a.providerIndexes>>20;if(Ps(t)||!t.multi){let f=new Gs(c,r,me,null),y=iy(l,n,r?d:d+p,u);y===-1?(oy(sf(a,s),o,l),ny(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(f),s.push(f)):(e[y]=f,s[y]=f)}else{let f=iy(l,n,d+p,u),y=iy(l,n,d,d+p),b=f>=0&&e[f],v=y>=0&&e[y];if(r&&!v||!r&&!b){oy(sf(a,s),o,l);let w=r5(r?i5:n5,e.length,r,i,c,t);!r&&v&&(e[y].providerFactory=w),ny(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(w),s.push(w)}else{let w=GS(e[r?y:f],c,!r&&i);ny(o,t,f>-1?f:y,w)}!r&&i&&v&&e[y].componentProviders++}}}function ny(t,n,e,i){let r=Ps(n),o=jx(n);if(r||o){let l=(o?ln(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function GS(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function iy(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function n5(t,n,e,i,r){return Ay(this.multi,[])}function i5(t,n,e,i,r){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=td(i,i[Ce],this.providerFactory.index,r);s=l.slice(0,a),Ay(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Ay(o,s);return s}function Ay(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function r5(t,n,e,i,r,o){let s=new Gs(t,e,me,null);return s.multi=[],s.index=n,s.componentProviders=0,GS(s,r,i&&!e),s}function Se(t,n=[]){return e=>{e.providersResolver=(i,r)=>t5(i,r?r(t):t,n)}}function Rr(t,n,e){let i=Sr()+t,r=ve();return r[i]===Wn?Ko(r,i,e?n.call(e):n()):Lf(r,i)}function Te(t,n,e,i){return o5(ve(),Sr(),t,n,e,i)}function Dt(t,n,e,i,r){return s5(ve(),Sr(),t,n,e,i,r)}function vb(t,n,e,i,r,o){return qS(ve(),Sr(),t,n,e,i,r,o)}function $f(t,n,e,i,r,o,s){return a5(ve(),Sr(),t,n,e,i,r,o,s)}function md(t,n,e,i,r,o,s,a){let l=Sr()+t,c=ve(),d=Bf(c,l,e,i,r,o);return Zn(c,l+4,s)||d?Ko(c,l+5,a?n.call(a,e,i,r,o,s):n(e,i,r,o,s)):Lf(c,l+5)}function vl(t,n,e,i,r,o,s,a,l){let c=Sr()+t,d=ve(),u=Bf(d,c,e,i,r,o);return dl(d,c+4,s,a)||u?Ko(d,c+6,l?n.call(l,e,i,r,o,s,a):n(e,i,r,o,s,a)):Lf(d,c+6)}function _b(t,n,e,i,r,o,s,a,l,c){let d=Sr()+t,u=ve(),p=Bf(u,d,e,i,r,o);return uS(u,d+4,s,a,l)||p?Ko(u,d+7,c?n.call(c,e,i,r,o,s,a,l):n(e,i,r,o,s,a,l)):Lf(u,d+7)}function Uf(t,n){let e=t[n];return e===Wn?void 0:e}function o5(t,n,e,i,r,o){let s=n+e;return Zn(t,s,r)?Ko(t,s+1,o?i.call(o,r):i(r)):Uf(t,s+1)}function s5(t,n,e,i,r,o,s){let a=n+e;return dl(t,a,r,o)?Ko(t,a+2,s?i.call(s,r,o):i(r,o)):Uf(t,a+2)}function qS(t,n,e,i,r,o,s,a){let l=n+e;return uS(t,l,r,o,s)?Ko(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Uf(t,l+3)}function a5(t,n,e,i,r,o,s,a,l){let c=n+e;return Bf(t,c,r,o,s,a)?Ko(t,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):Uf(t,c+4)}function Wf(t,n){let e=jt(),i,r=t+Vt;e.firstCreatePass?(i=l5(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=Lo(i.type,!0)),s,a=Hn(me);try{let l=of(!1),c=o();return of(l),T0(e,ve(),r,c),c}finally{Hn(a)}}function l5(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function Gf(t,n,e,i,r){let o=t+Vt,s=ve(),a=x0(s,o);return c5(s,o)?qS(s,Sr(),n,a.transform,e,i,r,a):a.transform(e,i,r)}function c5(t,n){return t[Ce].data[n].pure}function at(t,n){return Af(t,n)}var xf=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},wb=(()=>{class t{compileModuleSync(e){return new vf(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=f0(e),o=EE(r.declarations).reduce((s,a)=>{let l=jo(a);return l&&s.push(new ul(l)),s},[]);return new xf(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var d5=(()=>{class t{zone=x($e);changeDetectionScheduler=x(li);applicationRef=x(Or);applicationErrorHandler=x(Yn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),QS=new z("",{factory:()=>!1});function Cb({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new $e(A(_({},Tb()),{scheduleInRootZone:e})),[{provide:$e,useFactory:t},{provide:so,multi:!0,useFactory:()=>{let i=x(d5,{optional:!0});return()=>i.initialize()}},{provide:so,multi:!0,useFactory:()=>{let i=x(u5);return()=>{i.initialize()}}},n===!0?{provide:W0,useValue:!0}:[],{provide:G0,useValue:e??OE},{provide:Yn,useFactory:()=>{let i=x($e),r=x(Zt),o;return s=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw s}):(o??=r.get(_i),o.handleError(s))})}}}]}function xb(t){let n=t?.ignoreChangesOutsideZone,e=t?.scheduleInRootZone,i=Cb({ngZoneFactory:()=>{let r=Tb(t);return r.scheduleInRootZone=e,r.shouldCoalesceEventChangeDetection&&Ki("NgZone_CoalesceEvent"),new $e(r)},ignoreChangesOutsideZone:n,scheduleInRootZone:e});return wi([{provide:QS,useValue:!0},{provide:Yc,useValue:!1},i])}function Tb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var u5=(()=>{class t{subscription=new Gt;initialized=!1;zone=x($e);pendingTasks=x(Dr);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$e.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$e.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var KS=(()=>{class t{applicationErrorHandler=x(Yn);appRef=x(Or);taskService=x(Dr);ngZone=x($e);zonelessEnabled=x(Yc);tracing=x(Zs,{optional:!0});disableScheduling=x(W0,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Gt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(df):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(x(G0,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof uf||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?_T:RE;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(df+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(e),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,_T(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function p5(){return typeof $localize<"u"&&$localize.locale||hd}var qf=new z("",{providedIn:"root",factory:()=>x(qf,{optional:!0,skipSelf:!0})||p5()});function vn(t){return wx(t)}function We(t,n){return Ic(t,n?.equal)}var Eb=class{[gn];constructor(n){this[gn]=n}destroy(){this[gn].destroy()}};function Lt(t,n){let e=n?.injector??x(Bt),i=n?.manualCleanup!==!0?e.get(Si):null,r,o=e.get(rl,null,{optional:!0}),s=e.get(li);return o!==null?(r=m5(o.view,s,t),i instanceof Bc&&i._lView===o.view&&(i=null)):r=g5(t,e.get(Jc),s),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new Eb(r)}var YS=A(_({},Cx),{cleanupFns:void 0,zone:null,onDestroyFn:Us,run(){let t=il(!1);try{xx(this)}finally{il(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=Oe(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],Oe(t)}}}),f5=A(_({},YS),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ts(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),h5=A(_({},YS),{consumerMarkedDirty(){this.view[Ee]|=8192,Uo(this.view),this.notifier.notify(13)},destroy(){Ts(this),this.onDestroyFn(),this.cleanup(),this.view[lo]?.delete(this)}});function m5(t,n,e){let i=Object.create(h5);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=ZS(i,e),t[lo]??=new Set,t[lo].add(i),i.consumerMarkedDirty(i),i}function g5(t,n,e){let i=Object.create(f5);return i.fn=ZS(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function ZS(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}var rI=Symbol("InputSignalNode#UNSET"),P5=A(_({},ep),{transformFn:void 0,applyValueToInputSignal(t,n){Ba(t,n)}});function oI(t,n){let e=Object.create(P5);e.value=t,e.transformFn=n?.transform;function i(){if(Aa(e),e.value===rI){let r=null;throw new U(-950,r)}return e.value}return i[gn]=e,i}var A5=new z("");A5.__NG_ELEMENT_ID__=t=>{let n=bn();if(n===null)throw new U(204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new U(204,!1)};function JS(t,n){return oI(t,n)}function N5(t){return oI(rI,t)}var ae=(JS.required=N5,JS);function XS(t,n){return CS(n)}function F5(t,n){return xS(n)}var sI=(XS.required=F5,XS);var Sb=new z(""),L5=new z("");function gd(t){return!t.moduleRef}function B5(t){let n=gd(t)?t.r3Injector:t.moduleRef.injector,e=n.get($e);return e.run(()=>{gd(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Yn),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),gd(t)){let o=()=>n.destroy(),s=t.platformInjector.get(Sb);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Sb);s.add(o),t.moduleRef.onDestroy(()=>{ed(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return j5(i,e,()=>{let o=n.get(Dr),s=o.add(),a=n.get(mb);return a.runInitializers(),a.donePromise.then(()=>{let l=n.get(qf,hd);if(OS(l||hd),!n.get(L5,!0))return gd(t)?n.get(Or):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(gd(t)){let d=n.get(Or);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return V5?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(s)})})})}var V5;function j5(t,n,e){try{let i=e();return Yo(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var Qf=null;function z5(t=[],n){return Bt.create({name:n,providers:[{provide:Hc,useValue:"platform"},{provide:Sb,useValue:new Set([()=>Qf=null])},...t]})}function H5(t=[]){if(Qf)return Qf;let n=z5(t);return Qf=n,DS(),$5(n),n}function $5(t){let n=t.get(Ef,null);In(t,()=>{n?.forEach(e=>e())})}var Xo=(()=>{class t{static __NG_ELEMENT_ID__=U5}return t})();function U5(t){return W5(bn(),ve(),(t&16)===16)}function W5(t,n,e){if($o(t)&&!e){let i=Ti(t.index,n);return new qo(i,i)}else if(t.type&175){let i=n[Un];return new qo(i,n)}return null}var Ib=class{constructor(){}supports(n){return ab(n)}create(n){return new Db(n)}},G5=(t,n)=>n,Db=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||G5}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex<eI(i,r,o)?e:i,a=eI(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let p=0;p<c;p++){let f=p<o.length?o[p]:o[p]=0,y=f+p;d<=y&&y<c&&(o[p]=f+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!ab(n))throw new U(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,o,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,dS(n,a=>{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new kb(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Kf),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Kf),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},kb=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},Mb=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Kf=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Mb,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function eI(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}var Ob=class{constructor(){}supports(n){return n instanceof Map||Ff(n)}create(){return new Rb}},Rb=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Ff(n)))throw new U(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let r=this._records.get(n);this._maybeAddToChanges(r,e);let o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}let i=new Pb(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},Pb=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function tI(){return new Ab([new Ib])}var Ab=(()=>{class t{factories;static \u0275prov=N({token:t,providedIn:"root",factory:tI});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=x(t,{optional:!0,skipSelf:!0});return t.create(e,i||tI())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new U(901,!1)}}return t})();function nI(){return new Nb([new Ob])}var Nb=(()=>{class t{static \u0275prov=N({token:t,providedIn:"root",factory:nI});factories;constructor(e){this.factories=e}static create(e,i){if(i){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=x(t,{optional:!0,skipSelf:!0});return t.create(e,i||nI())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i)return i;throw new U(901,!1)}}return t})();function aI(t){let{rootComponent:n,appProviders:e,platformProviders:i,platformRef:r}=t;_t(8);try{let o=r?.injector??H5(i),s=[Cb({}),{provide:li,useExisting:KS},dT,...e||[]],a=new rd({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1});return B5({r3Injector:a.injector,platformInjector:o,rootComponent:n})}catch(o){return Promise.reject(o)}finally{_t(9)}}function R(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ke(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var dI=null;function Mi(){return dI}function Fb(t){dI??=t}var yd=class{},Lb=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:()=>x(uI),providedIn:"platform"})}return t})();var uI=(()=>{class t extends Lb{_location;_history;_doc=x(bt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Mi().getBaseHref(this._doc)}onPopState(e){let i=Mi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Mi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.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,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function pI(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function lI(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function es(t){return t&&t[0]!=="?"?`?${t}`:t}var Yf=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:()=>x(fI),providedIn:"root"})}return t})(),Zf=new z(""),fI=(()=>{class t extends Yf{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??x(bt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return pI(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+es(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+es(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+es(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(he(Lb),he(Zf,8))};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wl=(()=>{class t{_subject=new Ge;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=K5(lI(cI(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+es(i))}normalize(e){return t.stripTrailingSlash(Q5(this._basePath,cI(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+es(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+es(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=es;static joinWithSlash=pI;static stripTrailingSlash=lI;static \u0275fac=function(i){return new(i||t)(he(Yf))};static \u0275prov=N({token:t,factory:()=>q5(),providedIn:"root"})}return t})();function q5(){return new wl(he(Yf))}function Q5(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function cI(t){return t.replace(/\/index.html$/,"")}function K5(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Bb=/\s+/,hI=[],Ji=(()=>{class t{_ngEl;_renderer;initialClasses=hI;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(Bb):hI}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Bb):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Bb).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(me(un),me(Yi))};static \u0275dir=Ye({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Jf=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Oi=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Jf(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),mI(a,r)}});for(let r=0,o=i.length;r<o;r++){let a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);mI(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(me(Ii),me(Mr),me(Ab))};static \u0275dir=Ye({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function mI(t,n){t.context.$implicit=n.item}var Ut=(()=>{class t{_viewContainer;_context=new Xf;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){gI(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){gI(e,!1),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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(me(Ii),me(Mr))};static \u0275dir=Ye({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Xf=class{$implicit=null;ngIf=null};function gI(t,n){if(t&&!t.createEmbeddedView)throw new U(2020,!1)}var Xn=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[r,o]=e.split("."),s=r.indexOf("-")===-1?void 0:qi.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||t)(me(un),me(Nb),me(Yi))};static \u0275dir=Ye({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),kt=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(me(Ii))};static \u0275dir=Ye({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[po]})}return t})();function Y5(t,n){return new U(2100,!1)}var Vb=(()=>{class t{transform(e,i,r){if(e==null)return null;if(!(typeof e=="string"||Array.isArray(e)))throw Y5(t,e);return e.slice(i,r)}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=db({name:"slice",type:t,pure:!1})}return t})();var qe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({})}return t})();function bd(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var Js=class{};var jb="browser",X5="server";function kn(t){return t===jb}function zb(t){return t===X5}var vd=class{_doc;constructor(n){this._doc=n}manager},eh=(()=>{class t extends vd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(he(bt))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),nh=new z(""),Gb=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(s=>{s.manager=this});let r=e.filter(s=>!(s instanceof eh));this._plugins=r.slice().reverse();let o=e.find(s=>s instanceof eh);o&&this._plugins.push(o)}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new U(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(he(nh),he($e))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),Hb="ng-app-id";function yI(t){for(let n of t)n.remove()}function bI(t,n){let e=n.createElement("style");return e.textContent=t,e}function eB(t,n,e,i){let r=t.head?.querySelectorAll(`style[${Hb}="${n}"],link[${Hb}="${n}"]`);if(r)for(let o of r)o.removeAttribute(Hb),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Ub(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var qb=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,eB(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,bI);i?.forEach(r=>this.addUsage(r,this.external,Ub))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(yI(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])yI(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,bI(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,Ub(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(he(bt),he(Tf),he(If,8),he(Qi))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),$b={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Qb=/%COMP%/g;var _I="%COMP%",tB=`_nghost-${_I}`,nB=`_ngcontent-${_I}`,iB=!0,rB=new z("",{providedIn:"root",factory:()=>iB});function oB(t){return nB.replace(Qb,t)}function sB(t){return tB.replace(Qb,t)}function wI(t,n){return n.map(e=>e.replace(Qb,t))}var Cd=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,s,a,l=null,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=l,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new _d(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof th?r.applyToHost(e):r instanceof wd&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer,p=this.tracingService;switch(i.encapsulation){case co.Emulated:o=new th(l,c,i,this.appId,d,s,a,u,p);break;case co.ShadowDom:return new Wb(l,c,e,i,s,a,this.nonce,u,p);default:o=new wd(l,c,i,d,s,a,u,p);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(he(Gb),he(qb),he(Tf),he(rB),he(bt),he($e),he(If),he(Zs,8))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),_d=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS($b[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(vI(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(vI(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new U(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=$b[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=$b[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(qi.DashCase|qi.Important)?n.style.setProperty(e,i,r&qi.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&qi.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=Mi().getGlobalEventTarget(this.doc,n),!n))throw new U(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function vI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Wb=class extends _d{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,s,a,l,c){super(n,o,s,l,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=wI(r.id,d);for(let p of d){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let u=r.getExternalStyles?.();if(u)for(let p of u){let f=Ub(p,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},wd=class extends _d{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,s,a,l,c){super(n,o,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=i.styles;this.styles=c?wI(c,d):d,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&qs.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},th=class extends wd{contentAttr;hostAttr;constructor(n,e,i,r,o,s,a,l,c){let d=r+"-"+i.id;super(n,e,i,o,s,a,l,c,d),this.contentAttr=oB(d),this.hostAttr=sB(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var ih=class t extends yd{supportsDOMEvents=!0;static makeCurrent(){Fb(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=aB();return e==null?null:lB(e)}resetBaseElement(){xd=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return bd(document.cookie,n)}},xd=null;function aB(){return xd=xd||document.head.querySelector("base"),xd?xd.getAttribute("href"):null}function lB(t){return new URL(t,document.baseURI).pathname}var cB=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),CI=["alt","control","meta","shift"],dB={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},uB={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},xI=(()=>{class t extends vd{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let s=t.parseEventName(i),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mi().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),CI.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=dB[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),CI.forEach(s=>{if(s!==r){let a=uB[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(he(bt))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();function Kb(t){return aI(pB(t))}function pB(t){return{appProviders:[...yB,...t?.providers??[]],platformProviders:gB}}function fB(){ih.makeCurrent()}function hB(){return new _i}function mB(){return Ly(document),document}var gB=[{provide:Qi,useValue:jb},{provide:Ef,useValue:fB,multi:!0},{provide:bt,useFactory:mB}];var yB=[{provide:Hc,useValue:"root"},{provide:_i,useFactory:hB},{provide:nh,useClass:eh,multi:!0,deps:[bt]},{provide:nh,useClass:xI,multi:!0,deps:[bt]},Cd,qb,Gb,{provide:uo,useExisting:Cd},{provide:Js,useClass:cB},[]];var xl=class{},Td=class{},Xi=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var oh=class{encodeKey(n){return TI(n)}encodeValue(n){return TI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function bB(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var vB=/%(\d[a-f0-9])/gi,_B={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function TI(t){return encodeURIComponent(t).replace(vB,(n,e)=>_B[e]??n)}function rh(t){return`${t}`}var fo=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new oh,n.fromString){if(n.fromObject)throw new U(2805,!1);this.map=bB(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(rh):[rh(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(rh(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(rh(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Tl=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function wB(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function EI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function SI(t){return typeof Blob<"u"&&t instanceof Blob}function II(t){return typeof FormData<"u"&&t instanceof FormData}function CB(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var DI="Content-Type",kI="Accept",MI="X-Request-URL",OI="text/plain",RI="application/json",xB=`${RI}, ${OI}, */*`,Cl=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(wB(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new U(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new Xi,this.context??=new Tl,!this.params)this.params=new fo,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||EI(this.body)||SI(this.body)||II(this.body)||CB(this.body)?this.body:this.body instanceof fo?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||II(this.body)?null:SI(this.body)?this.body.type||null:EI(this.body)?null:typeof this.body=="string"?OI:this.body instanceof fo?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?RI:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,d=n.credentials||this.credentials,u=n.referrer||this.referrer,p=n.integrity||this.integrity,f=n.transferCache??this.transferCache,y=n.timeout??this.timeout,b=n.body!==void 0?n.body:this.body,v=n.withCredentials??this.withCredentials,w=n.reportProgress??this.reportProgress,D=n.headers||this.headers,P=n.params||this.params,B=n.context??this.context;return n.setHeaders!==void 0&&(D=Object.keys(n.setHeaders).reduce((Y,ge)=>Y.set(ge,n.setHeaders[ge]),D)),n.setParams&&(P=Object.keys(n.setParams).reduce((Y,ge)=>Y.set(ge,n.setParams[ge]),P)),new t(e,i,b,{params:P,headers:D,context:B,reportProgress:w,responseType:r,withCredentials:v,transferCache:f,keepalive:o,cache:a,priority:s,timeout:y,mode:l,redirect:c,credentials:d,referrer:u,integrity:p})}},Xs=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Xs||{}),El=class{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,i="OK"){this.headers=n.headers||new Xi,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}},sh=class t extends El{constructor(n={}){super(n)}type=Xs.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ed=class t extends El{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Xs.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}},ts=class extends El{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},TB=200,EB=204;function Yb(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var lh=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Cl)o=e;else{let l;r.headers instanceof Xi?l=r.headers:l=new Xi(r.headers);let c;r.params&&(r.params instanceof fo?c=r.params:c=new fo({fromObject:r.params})),o=new Cl(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let s=be(o).pipe(No(l=>this.handler.handle(l)));if(e instanceof Cl||r.observe==="events")return s;let a=s.pipe(nn(l=>l instanceof Ed));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ye(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new U(2806,!1);return l.body}));case"blob":return a.pipe(ye(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new U(2807,!1);return l.body}));case"text":return a.pipe(ye(l=>{if(l.body!==null&&typeof l.body!="string")throw new U(2808,!1);return l.body}));default:return a.pipe(ye(l=>l.body))}case"response":return a;default:throw new U(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new fo().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Yb(r,i))}post(e,i,r={}){return this.request("POST",e,Yb(r,i))}put(e,i,r={}){return this.request("PUT",e,Yb(r,i))}static \u0275fac=function(i){return new(i||t)(he(xl))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var SB=new z("");function IB(t,n){return n(t)}function DB(t,n,e){return(i,r)=>In(e,()=>n(i,o=>t(o,r)))}var PI=new z(""),AI=new z(""),NI=new z("",{providedIn:"root",factory:()=>!0});var ah=(()=>{class t extends xl{backend;injector;chain=null;pendingTasks=x(Zc);contributeToStability=x(NI);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(PI),...this.injector.get(AI,[])]));this.chain=i.reduceRight((r,o)=>DB(r,o,this.injector),IB)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(wr(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(he(Td),he(Zt))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var kB=/^\)\]\}',?\n/,MB=RegExp(`^${MI}:`,"m");function OB(t){return"responseURL"in t&&t.responseURL?t.responseURL:MB.test(t.getAllResponseHeaders())?t.getResponseHeader(MI):null}var Zb=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new U(-2800,!1);let i=this.xhrFactory;return be(null).pipe(yn(()=>new ue(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((v,w)=>s.setRequestHeader(v,w.join(","))),e.headers.has(kI)||s.setRequestHeader(kI,xB),!e.headers.has(DI)){let v=e.detectContentTypeHeader();v!==null&&s.setRequestHeader(DI,v)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let v=e.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let v=s.statusText||"OK",w=new Xi(s.getAllResponseHeaders()),D=OB(s)||e.url;return l=new sh({headers:w,status:s.status,statusText:v,url:D}),l},d=()=>{let{headers:v,status:w,statusText:D,url:P}=c(),B=null;w!==EB&&(B=typeof s.response>"u"?s.responseText:s.response),w===0&&(w=B?TB:0);let Y=w>=200&&w<300;if(e.responseType==="json"&&typeof B=="string"){let ge=B;B=B.replace(kB,"");try{B=B!==""?JSON.parse(B):null}catch(tt){B=ge,Y&&(Y=!1,B={error:tt,text:B})}}Y?(o.next(new Ed({body:B,headers:v,status:w,statusText:D,url:P||void 0})),o.complete()):o.error(new ts({error:B,headers:v,status:w,statusText:D,url:P||void 0}))},u=v=>{let{url:w}=c(),D=new ts({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:w||void 0});o.error(D)},p=u;e.timeout&&(p=v=>{let{url:w}=c(),D=new ts({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:w||void 0});o.error(D)});let f=!1,y=v=>{f||(o.next(c()),f=!0);let w={type:Xs.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(w.total=v.total),e.responseType==="text"&&s.responseText&&(w.partialText=s.responseText),o.next(w)},b=v=>{let w={type:Xs.UploadProgress,loaded:v.loaded};v.lengthComputable&&(w.total=v.total),o.next(w)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",p),s.addEventListener("abort",u),e.reportProgress&&(s.addEventListener("progress",y),a!==null&&s.upload&&s.upload.addEventListener("progress",b)),s.send(a),o.next({type:Xs.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",p),e.reportProgress&&(s.removeEventListener("progress",y),a!==null&&s.upload&&s.upload.removeEventListener("progress",b)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||t)(he(Js))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),FI=new z(""),RB="XSRF-TOKEN",PB=new z("",{providedIn:"root",factory:()=>RB}),AB="X-XSRF-TOKEN",NB=new z("",{providedIn:"root",factory:()=>AB}),Sd=class{},FB=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=bd(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)(he(bt),he(PB))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),LB=/^(?:https?:)?\/\//i;function BB(t,n){if(!x(FI)||t.method==="GET"||t.method==="HEAD"||LB.test(t.url))return n(t);let e=x(Sd).getToken(),i=x(NB);return e!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,e)})),n(t)}function Jb(...t){let n=[lh,Zb,ah,{provide:xl,useExisting:ah},{provide:Td,useFactory:()=>x(SB,{optional:!0})??x(Zb)},{provide:PI,useValue:BB,multi:!0},{provide:FI,useValue:!0},{provide:Sd,useClass:FB}];for(let e of t)n.push(...e.\u0275providers);return wi(n)}var LI=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(he(bt))};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ve="primary",zd=Symbol("RouteTitle"),iv=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function na(t){return new iv(t)}function WI(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=t[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function zB(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!Pr(t[e],n[e]))return!1;return!0}function Pr(t,n){let e=t?rv(t):void 0,i=n?rv(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!GI(t[r],n[r]))return!1;return!0}function rv(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function GI(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function qI(t){return t.length>0?t[t.length-1]:null}function go(t){return Fg(t)?t:Yo(t)?pt(Promise.resolve(t)):be(t)}var HB={exact:KI,subset:YI},QI={exact:$B,subset:UB,ignored:()=>!0};function BI(t,n,e){return HB[e.paths](t.root,n.root,e.matrixParams)&&QI[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function $B(t,n){return Pr(t,n)}function KI(t,n,e){if(!ea(t.segments,n.segments)||!uh(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!KI(t.children[i],n.children[i],e))return!1;return!0}function UB(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>GI(t[e],n[e]))}function YI(t,n,e){return ZI(t,n,n.segments,e)}function ZI(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!ea(r,e)||n.hasChildren()||!uh(r,e,i))}else if(t.segments.length===e.length){if(!ea(t.segments,e)||!uh(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!YI(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!ea(t.segments,r)||!uh(t.segments,r,i)||!t.children[Ve]?!1:ZI(t.children[Ve],n,o,i)}}function uh(t,n,e){return n.every((i,r)=>QI[e](t[r].parameters,i.parameters))}var Nr=class{root;queryParams;fragment;_queryParamMap;constructor(n=new ht([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=na(this.queryParams),this._queryParamMap}toString(){return qB.serialize(this)}},ht=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ph(this)}},ns=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=na(this.parameters),this._parameterMap}toString(){return XI(this)}};function WB(t,n){return ea(t,n)&&t.every((e,i)=>Pr(e.parameters,n[i].parameters))}function ea(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function GB(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===Ve&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==Ve&&(e=e.concat(n(r,i)))}),e}var Hd=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:()=>new ia,providedIn:"root"})}return t})(),ia=class{parse(n){let e=new sv(n);return new Nr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Id(n.root,!0)}`,i=YB(n.queryParams),r=typeof n.fragment=="string"?`#${QB(n.fragment)}`:"";return`${e}${i}${r}`}},qB=new ia;function ph(t){return t.segments.map(n=>XI(n)).join("/")}function Id(t,n){if(!t.hasChildren())return ph(t);if(n){let e=t.children[Ve]?Id(t.children[Ve],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==Ve&&i.push(`${r}:${Id(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=GB(t,(i,r)=>r===Ve?[Id(t.children[Ve],!1)]:[`${r}:${Id(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[Ve]!=null?`${ph(t)}/${e[0]}`:`${ph(t)}/(${e.join("//")})`}}function JI(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ch(t){return JI(t).replace(/%3B/gi,";")}function QB(t){return encodeURI(t)}function ov(t){return JI(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fh(t){return decodeURIComponent(t)}function VI(t){return fh(t.replace(/\+/g,"%20"))}function XI(t){return`${ov(t.path)}${KB(t.parameters)}`}function KB(t){return Object.entries(t).map(([n,e])=>`;${ov(n)}=${ov(e)}`).join("")}function YB(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${ch(e)}=${ch(r)}`).join("&"):`${ch(e)}=${ch(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var ZB=/^[^\/()?;#]+/;function Xb(t){let n=t.match(ZB);return n?n[0]:""}var JB=/^[^\/()?;=#]+/;function XB(t){let n=t.match(JB);return n?n[0]:""}var e4=/^[^=?&#]+/;function t4(t){let n=t.match(e4);return n?n[0]:""}var n4=/^[^&#]+/;function i4(t){let n=t.match(n4);return n?n[0]:""}var sv=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ht([],{}):new ht([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[Ve]=new ht(n,e)),i}parseSegment(){let n=Xb(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new U(4009,!1);return this.capture(n),new ns(fh(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=XB(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=Xb(this.remaining);r&&(i=r,this.capture(i))}n[fh(e)]=fh(i)}parseQueryParam(n){let e=t4(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=i4(this.remaining);s&&(i=s,this.capture(i))}let r=VI(e),o=VI(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Xb(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new U(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=Ve);let s=this.parseChildren();e[o??Ve]=Object.keys(s).length===1&&s[Ve]?s[Ve]:new ht([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new U(4011,!1)}};function eD(t){return t.segments.length>0?new ht([],{[Ve]:t}):t}function tD(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=tD(r);if(i===Ve&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new ht(t.segments,n);return r4(e)}function r4(t){if(t.numberOfChildren===1&&t.children[Ve]){let n=t.children[Ve];return new ht(t.segments.concat(n.segments),n.children)}return t}function Ml(t){return t instanceof Nr}function nD(t,n,e=null,i=null){let r=iD(t);return rD(r,n,e,i)}function iD(t){let n;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new ht(o.url,s);return o===t&&(n=a),a}let i=e(t.root),r=eD(i);return n??r}function rD(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return ev(r,r,r,e,i);let o=o4(n);if(o.toRoot())return ev(r,r,new ht([],{}),e,i);let s=s4(o,r,t),a=s.processChildren?kd(s.segmentGroup,s.index,o.commands):sD(s.segmentGroup,s.index,o.commands);return ev(r,s.segmentGroup,a,e,i)}function hh(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Rd(t){return typeof t=="object"&&t!=null&&t.outlets}function ev(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=oD(t,n,e);let a=eD(tD(s));return new Nr(a,o,r)}function oD(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=oD(o,n,e)}),new ht(t.segments,i)}var mh=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&hh(i[0]))throw new U(4003,!1);let r=i.find(Rd);if(r&&r!==qI(i))throw new U(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function o4(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new mh(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new mh(e,n,i)}var Dl=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function s4(t,n,e){if(t.isAbsolute)return new Dl(n,!0,0);if(!e)return new Dl(n,!1,NaN);if(e.parent===null)return new Dl(e,!0,0);let i=hh(t.commands[0])?0:1,r=e.segments.length-1+i;return a4(e,r,t.numberOfDoubleDots)}function a4(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new U(4005,!1);r=i.segments.length}return new Dl(i,!1,r-o)}function l4(t){return Rd(t[0])?t[0].outlets:{[Ve]:t}}function sD(t,n,e){if(t??=new ht([],{}),t.segments.length===0&&t.hasChildren())return kd(t,n,e);let i=c4(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new ht(t.segments.slice(0,i.pathIndex),{});return o.children[Ve]=new ht(t.segments.slice(i.pathIndex),t.children),kd(o,0,r)}else return i.match&&r.length===0?new ht(t.segments,{}):i.match&&!t.hasChildren()?av(t,n,e):i.match?kd(t,0,r):av(t,n,e)}function kd(t,n,e){if(e.length===0)return new ht(t.segments,{});{let i=l4(e),r={};if(Object.keys(i).some(o=>o!==Ve)&&t.children[Ve]&&t.numberOfChildren===1&&t.children[Ve].segments.length===0){let o=kd(t.children[Ve],n,e);return new ht(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=sD(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new ht(t.segments,r)}}function c4(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let s=t.segments[r],a=e[i];if(Rd(a))break;let l=`${a}`,c=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!zI(l,c,s))return o;i+=2}else{if(!zI(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function av(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(Rd(o)){let l=d4(o.outlets);return new ht(i,l)}if(r===0&&hh(e[0])){let l=t.segments[n];i.push(new ns(l.path,jI(e[0]))),r++;continue}let s=Rd(o)?o.outlets[Ve]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&hh(a)?(i.push(new ns(s,jI(a))),r+=2):(i.push(new ns(s,{})),r++)}return new ht(i,{})}function d4(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=av(new ht([],{}),0,i))}),n}function jI(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function zI(t,n,e){return t==e.path&&Pr(n,e.parameters)}var Md="imperative",_n=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(_n||{}),ui=class{id;url;constructor(n,e){this.id=n,this.url=e}},ra=class extends ui{type=_n.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ho=class extends ui{urlAfterRedirects;type=_n.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Gn=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(Gn||{}),Pd=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Pd||{}),Ar=class extends ui{reason;code;type=_n.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},mo=class extends ui{reason;code;type=_n.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Ol=class extends ui{error;target;type=_n.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ad=class extends ui{urlAfterRedirects;state;type=_n.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gh=class extends ui{urlAfterRedirects;state;type=_n.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yh=class extends ui{urlAfterRedirects;state;shouldActivate;type=_n.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},bh=class extends ui{urlAfterRedirects;state;type=_n.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vh=class extends ui{urlAfterRedirects;state;type=_n.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_h=class{route;type=_n.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},wh=class{route;type=_n.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ch=class{snapshot;type=_n.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xh=class{snapshot;type=_n.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Th=class{snapshot;type=_n.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Eh=class{snapshot;type=_n.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Nd=class{},Rl=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function u4(t){return!(t instanceof Nd)&&!(t instanceof Rl)}function p4(t,n){return t.providers&&!t._injector&&(t._injector=fd(t.providers,n,`Route: ${t.path}`)),t._injector??n}function er(t){return t.outlet||Ve}function f4(t,n){let e=t.filter(i=>er(i)===n);return e.push(...t.filter(i=>er(i)!==n)),e}function Nl(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Sh=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Nl(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Fl(this.rootInjector)}},Fl=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Sh(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(he(Zt))};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ih=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=lv(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=lv(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=cv(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return cv(n,this._root).map(e=>e.value)}};function lv(t,n){if(t===n.value)return n;for(let e of n.children){let i=lv(t,e);if(i)return i}return null}function cv(t,n){if(t===n.value)return[n];for(let e of n.children){let i=cv(t,e);if(i.length)return i.unshift(n),i}return[]}var di=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Il(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Fd=class extends Ih{snapshot;constructor(n,e){super(n),this.snapshot=e,yv(this,n)}toString(){return this.snapshot.toString()}};function aD(t){let n=h4(t),e=new an([new ns("",{})]),i=new an({}),r=new an({}),o=new an({}),s=new an(""),a=new Fr(e,i,o,s,r,Ve,t,n.root);return a.snapshot=n.root,new Fd(new di(a,[]),n)}function h4(t){let n={},e={},i={},o=new ta([],n,i,"",e,Ve,t,null,{});return new Ld("",new di(o,[]))}var Fr=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ye(c=>c[zd]))??be(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ye(n=>na(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ye(n=>na(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Dh(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:_(_({},n.params),t.params),data:_(_({},n.data),t.data),resolve:_(_(_(_({},t.data),n.data),r?.data),t._resolvedData)}:i={params:_({},t.params),data:_({},t.data),resolve:_(_({},t.data),t._resolvedData??{})},r&&cD(r)&&(i.resolve[zd]=r.title),i}var ta=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[zd]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=na(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=na(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Ld=class extends Ih{url;constructor(n,e){super(e),this.url=n,yv(this,e)}toString(){return lD(this._root)}};function yv(t,n){n.value._routerState=t,n.children.forEach(e=>yv(t,e))}function lD(t){let n=t.children.length>0?` { ${t.children.map(lD).join(", ")} } `:"";return`${t.value}${n}`}function tv(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Pr(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Pr(n.params,e.params)||t.paramsSubject.next(e.params),zB(n.url,e.url)||t.urlSubject.next(e.url),Pr(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function dv(t,n){let e=Pr(t.params,n.params)&&WB(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||dv(t.parent,n.parent))}function cD(t){return typeof t.title=="string"||t.title===null}var dD=new z(""),$d=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ve;activateEvents=new H;deactivateEvents=new H;attachEvents=new H;detachEvents=new H;routerOutletData=ae();parentContexts=x(Fl);location=x(Ii);changeDetector=x(Xo);inputBinder=x(Rh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);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 U(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new U(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new U(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new U(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new uv(e,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Ye({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[po]})}return t})(),uv=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Fr?this.route:n===Fl?this.childContexts:n===dD?this.outletData:this.parent.get(n,e)}},Rh=new z("");var bv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&ee(0,"router-outlet")},dependencies:[$d],encapsulation:2})}return t})();function vv(t){let n=t.children&&t.children.map(vv),e=n?A(_({},t),{children:n}):_({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Ve&&(e.component=bv),e}function m4(t,n,e){let i=Bd(t,n._root,e?e._root:void 0);return new Fd(i,n)}function Bd(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=g4(t,n,e);return new di(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Bd(t,a)),s}}let i=y4(n.value),r=n.children.map(o=>Bd(t,o));return new di(i,r)}}function g4(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Bd(t,i,r);return Bd(t,i)})}function y4(t){return new Fr(new an(t.url),new an(t.params),new an(t.queryParams),new an(t.fragment),new an(t.data),t.outlet,t.component,t)}var Pl=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},uD="ngNavigationCancelingError";function kh(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Ml(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=pD(!1,Gn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function pD(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[uD]=!0,e.cancellationCode=n,e}function b4(t){return fD(t)&&Ml(t.url)}function fD(t){return!!t&&t[uD]}var v4=(t,n,e,i)=>ye(r=>(new pv(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),pv=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),tv(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=Il(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Il(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Il(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=Il(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Eh(o.value.snapshot))}),n.children.length&&this.forwardEvent(new xh(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(tv(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),tv(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Mh=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},kl=class{component;route;constructor(n,e){this.component=n,this.route=e}};function _4(t,n,e){let i=t._root,r=n?n._root:null;return Dd(i,r,e,[i.value])}function w4(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ll(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!n0(t)?t:n.get(t):i}function Dd(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Il(n);return t.children.forEach(s=>{C4(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Od(a,e.getContext(s),r)),r}function C4(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=x4(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Mh(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Dd(t,n,a?a.children:null,i,r):Dd(t,n,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new kl(a.outlet.component,s))}else s&&Od(n,a,r),r.canActivateChecks.push(new Mh(i)),o.component?Dd(t,null,a?a.children:null,i,r):Dd(t,null,e,i,r);return r}function x4(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!ea(t.url,n.url);case"pathParamsOrQueryParamsChange":return!ea(t.url,n.url)||!Pr(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dv(t,n)||!Pr(t.queryParams,n.queryParams);default:return!dv(t,n)}}function Od(t,n,e){let i=Il(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?n?Od(s,n.children.getContext(o),e):Od(s,null,e):Od(s,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new kl(n.outlet.component,r)):e.canDeactivateChecks.push(new kl(null,r)):e.canDeactivateChecks.push(new kl(null,r))}function Ud(t){return typeof t=="function"}function T4(t){return typeof t=="boolean"}function E4(t){return t&&Ud(t.canLoad)}function S4(t){return t&&Ud(t.canActivate)}function I4(t){return t&&Ud(t.canActivateChild)}function D4(t){return t&&Ud(t.canDeactivate)}function k4(t){return t&&Ud(t.canMatch)}function hD(t){return t instanceof ji||t?.name==="EmptyError"}var dh=Symbol("INITIAL_VALUE");function Al(){return yn(t=>Ep(t.map(n=>n.pipe(no(1),Ac(dh)))).pipe(ye(n=>{for(let e of n)if(e!==!0){if(e===dh)return dh;if(e===!1||M4(e))return e}return!0}),nn(n=>n!==dh),no(1)))}function M4(t){return Ml(t)||t instanceof Pl}function O4(t,n){return Nt(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?be(A(_({},e),{guardsResult:!0})):R4(s,i,r,t).pipe(Nt(a=>a&&T4(a)?P4(i,o,t,n):be(a)),ye(a=>A(_({},e),{guardsResult:a})))})}function R4(t,n,e,i){return pt(t).pipe(Nt(r=>B4(r.component,r.route,e,n,i)),io(r=>r!==!0,!0))}function P4(t,n,e,i){return pt(n).pipe(No(r=>_r(N4(r.route.parent,i),A4(r.route,i),L4(t,r.path,e),F4(t,r.route,e))),io(r=>r!==!0,!0))}function A4(t,n){return t!==null&&n&&n(new Th(t)),be(!0)}function N4(t,n){return t!==null&&n&&n(new Ch(t)),be(!0)}function F4(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return be(!0);let r=i.map(o=>Rc(()=>{let s=Nl(n)??e,a=Ll(o,s),l=S4(a)?a.canActivate(n,t):In(s,()=>a(n,t));return go(l).pipe(io())}));return be(r).pipe(Al())}function L4(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>w4(s)).filter(s=>s!==null).map(s=>Rc(()=>{let a=s.guards.map(l=>{let c=Nl(s.node)??e,d=Ll(l,c),u=I4(d)?d.canActivateChild(i,t):In(c,()=>d(i,t));return go(u).pipe(io())});return be(a).pipe(Al())}));return be(o).pipe(Al())}function B4(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return be(!0);let s=o.map(a=>{let l=Nl(n)??r,c=Ll(a,l),d=D4(c)?c.canDeactivate(t,n,e,i):In(l,()=>c(t,n,e,i));return go(d).pipe(io())});return be(s).pipe(Al())}function V4(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return be(!0);let o=r.map(s=>{let a=Ll(s,t),l=E4(a)?a.canLoad(n,e):In(t,()=>a(n,e));return go(l)});return be(o).pipe(Al(),mD(i))}function mD(t){return kg(St(n=>{if(typeof n!="boolean")throw kh(t,n)}),ye(n=>n===!0))}function j4(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return be(!0);let o=r.map(s=>{let a=Ll(s,t),l=k4(a)?a.canMatch(n,e):In(t,()=>a(n,e));return go(l)});return be(o).pipe(Al(),mD(i))}var Vd=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},jd=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Sl(t){return br(new Vd(t))}function z4(t){return br(new U(4e3,!1))}function H4(t){return br(pD(!1,Gn.GuardRejected))}var fv=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return be(i);if(r.numberOfChildren>1||!r.children[Ve])return z4(`${n.redirectTo}`);r=r.children[Ve]}}applyRedirectCommands(n,e,i,r,o){return $4(e,r,o).pipe(ye(s=>{if(s instanceof Nr)throw new jd(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,i);if(s[0]==="/")throw new jd(a);return a}))}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new Nr(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new ht(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new U(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}};function $4(t,n,e){if(typeof t=="string")return be(t);let i=t,{queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,params:c,data:d,title:u}=n;return go(In(e,()=>i({params:c,data:d,queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,title:u})))}var hv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function U4(t,n,e,i,r){let o=gD(t,n,e);return o.matched?(i=p4(n,i),j4(i,n,e,r).pipe(ye(s=>s===!0?o:_({},hv)))):be(o)}function gD(t,n,e){if(n.path==="**")return W4(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?_({},hv):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||WI)(e,t,n);if(!r)return _({},hv);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?_(_({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function W4(t){return{matched:!0,parameters:t.length>0?qI(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function HI(t,n,e,i){return e.length>0&&Q4(t,e,i)?{segmentGroup:new ht(n,q4(i,new ht(e,t.children))),slicedSegments:[]}:e.length===0&&K4(t,e,i)?{segmentGroup:new ht(t.segments,G4(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new ht(t.segments,t.children),slicedSegments:e}}function G4(t,n,e,i){let r={};for(let o of e)if(Ph(t,n,o)&&!i[er(o)]){let s=new ht([],{});r[er(o)]=s}return _(_({},i),r)}function q4(t,n){let e={};e[Ve]=n;for(let i of t)if(i.path===""&&er(i)!==Ve){let r=new ht([],{});e[er(i)]=r}return e}function Q4(t,n,e){return e.some(i=>Ph(t,n,i)&&er(i)!==Ve)}function K4(t,n,e){return e.some(i=>Ph(t,n,i))}function Ph(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Y4(t,n,e){return n.length===0&&!t.children[e]}var mv=class{};function Z4(t,n,e,i,r,o,s="emptyOnly"){return new gv(t,n,e,i,r,s,o).recognize()}var J4=31,gv=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new fv(this.urlSerializer,this.urlTree)}noMatchError(n){return new U(4002,`'${n.segmentGroup}'`)}recognize(){let n=HI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(ye(({children:e,rootSnapshot:i})=>{let r=new di(i,e),o=new Ld("",r),s=nD(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new ta([],Object.freeze({}),Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Ve,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,Ve,e).pipe(ye(i=>({children:i,rootSnapshot:e})),ai(i=>{if(i instanceof jd)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Vd?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(ye(s=>s instanceof di?[s]:[]))}processChildren(n,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return pt(o).pipe(No(s=>{let a=i.children[s],l=f4(e,s);return this.processSegmentGroup(n,l,a,s,r)}),$g((s,a)=>(s.push(...a),s)),Fo(null),zg(),Nt(s=>{if(s===null)return Sl(i);let a=yD(s);return X4(a),be(a)}))}processSegment(n,e,i,r,o,s,a){return pt(e).pipe(No(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,s,a).pipe(ai(c=>{if(c instanceof Vd)return be(null);throw c}))),io(l=>!!l),ai(l=>{if(hD(l))return Y4(i,r,o)?be(new mv):Sl(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,s,a,l){return er(i)!==s&&(s===Ve||!Ph(r,o,i))?Sl(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s,l):Sl(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:p}=gD(e,r,o);if(!l)return Sl(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>J4&&(this.allowRedirects=!1));let f=new ta(o,c,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,$I(r),er(r),r.component??r._loadedComponent??null,r,UI(r)),y=Dh(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(y.params),f.data=Object.freeze(y.data),this.applyRedirects.applyRedirectCommands(d,r.redirectTo,u,f,n).pipe(yn(v=>this.applyRedirects.lineralizeSegments(r,v)),Nt(v=>this.processSegment(n,i,e,v.concat(p),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a=U4(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(yn(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(yn(({routes:c})=>{let d=i._loadedInjector??n,{parameters:u,consumedSegments:p,remainingSegments:f}=l,y=new ta(p,u,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,$I(i),er(i),i.component??i._loadedComponent??null,i,UI(i)),b=Dh(y,s,this.paramsInheritanceStrategy);y.params=Object.freeze(b.params),y.data=Object.freeze(b.data);let{segmentGroup:v,slicedSegments:w}=HI(e,p,f,c);if(w.length===0&&v.hasChildren())return this.processChildren(d,c,v,y).pipe(ye(P=>new di(y,P)));if(c.length===0&&w.length===0)return be(new di(y,[]));let D=er(i)===o;return this.processSegment(d,c,v,w,D?Ve:o,!0,y).pipe(ye(P=>new di(y,P instanceof di?[P]:[])))}))):Sl(e)))}getChildConfig(n,e,i){return e.children?be({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?be({routes:e._loadedRoutes,injector:e._loadedInjector}):V4(n,e,i,this.urlSerializer).pipe(Nt(r=>r?this.configLoader.loadChildren(n,e).pipe(St(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):H4(e))):be({routes:[],injector:n})}};function X4(t){t.sort((n,e)=>n.value.outlet===Ve?-1:e.value.outlet===Ve?1:n.value.outlet.localeCompare(e.value.outlet))}function eV(t){let n=t.value.routeConfig;return n&&n.path===""}function yD(t){let n=[],e=new Set;for(let i of t){if(!eV(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=yD(i.children);n.push(new di(i.value,r))}return n.filter(i=>!e.has(i))}function $I(t){return t.data||{}}function UI(t){return t.resolve||{}}function tV(t,n,e,i,r,o){return Nt(s=>Z4(t,n,e,i,s.extractedUrl,r,o).pipe(ye(({state:a,tree:l})=>A(_({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function nV(t,n){return Nt(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return be(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of bD(l))s.add(c);let a=0;return pt(s).pipe(No(l=>o.has(l)?iV(l,i,t,n):(l.data=Dh(l,l.parent,t).resolve,be(void 0))),St(()=>a++),Qa(1),Nt(l=>a===s.size?be(e):Pt))})}function bD(t){let n=t.children.map(e=>bD(e)).flat();return[t,...n]}function iV(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!cD(r)&&(o[zd]=r.title),Rc(()=>(t.data=Dh(t,t.parent,e).resolve,rV(o,t,n,i).pipe(ye(s=>(t._resolvedData=s,t.data=_(_({},t.data),s),null)))))}function rV(t,n,e,i){let r=rv(t);if(r.length===0)return be({});let o={};return pt(r).pipe(Nt(s=>oV(t[s],n,e,i).pipe(io(),St(a=>{if(a instanceof Pl)throw kh(new ia,a);o[s]=a}))),Qa(1),ye(()=>o),ai(s=>hD(s)?Pt:br(s)))}function oV(t,n,e,i){let r=Nl(n)??i,o=Ll(t,r),s=o.resolve?o.resolve(n,e):In(r,()=>o(n,e));return go(s)}function nv(t){return yn(n=>{let e=t(n);return e?pt(e).pipe(ye(()=>n)):be(n)})}var _v=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Ve);return i}getResolvedTitleForRoute(e){return e.data[zd]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:()=>x(vD),providedIn:"root"})}return t})(),vD=(()=>{class t extends _v{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(he(LI))};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wd=new z("",{providedIn:"root",factory:()=>({})}),Gd=new z(""),_D=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=x(wb);loadComponent(e,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return be(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=go(In(e,()=>i.loadComponent())).pipe(ye(CD),yn(xD),St(s=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=s}),wr(()=>{this.componentLoaders.delete(i)})),o=new Ua(r,()=>new Ge).pipe($a());return this.componentLoaders.set(i,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return be({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=wD(i,this.compiler,e,this.onLoadEndListener).pipe(wr(()=>{this.childrenLoaders.delete(i)})),s=new Ua(o,()=>new Ge).pipe($a());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wD(t,n,e,i){return go(In(e,()=>t.loadChildren())).pipe(ye(CD),yn(xD),Nt(r=>r instanceof Vf||Array.isArray(r)?be(r):pt(n.compileModuleAsync(r))),ye(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(Gd,[],{optional:!0,self:!0}).flat()),{routes:s.map(vv),injector:o}}))}function sV(t){return t&&typeof t=="object"&&"default"in t}function CD(t){return sV(t)?t.default:t}function xD(t){return be(t)}var Ah=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:()=>x(aV),providedIn:"root"})}return t})(),aV=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),TD=new z("");var ED=new z(""),SD=(()=>{class t{currentNavigation=_e(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new Ge;transitionAbortWithErrorSubject=new Ge;configLoader=x(_D);environmentInjector=x(Zt);destroyRef=x(Si);urlSerializer=x(Hd);rootContexts=x(Fl);location=x(wl);inputBindingEnabled=x(Rh,{optional:!0})!==null;titleStrategy=x(_v);options=x(Wd,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=x(Ah);createViewTransition=x(TD,{optional:!0});navigationErrorHandler=x(ED,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>be(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new _h(r)),i=r=>this.events.next(new wh(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;vn(()=>{this.transitions?.next(A(_({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:i}))})}setupNavigations(e){return this.transitions=new an(null),this.transitions.pipe(nn(i=>i!==null),yn(i=>{let r=!1;return be(i).pipe(yn(o=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",Gn.SupersededByNewNavigation),Pt;this.currentTransition=i,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?A(_({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new mo(o.id,this.urlSerializer.serialize(o.rawUrl),"",Pd.IgnoredSameUrlNavigation)),o.resolve(!1),Pt;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return be(o).pipe(yn(l=>(this.events.next(new ra(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?Pt:Promise.resolve(l))),tV(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),St(l=>{i.targetSnapshot=l.targetSnapshot,i.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(d=>(d.finalUrl=l.urlAfterRedirects,d));let c=new Ad(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:l,extractedUrl:c,source:d,restoredState:u,extras:p}=o,f=new ra(l,this.urlSerializer.serialize(c),d,u);this.events.next(f);let y=aD(this.rootComponentType).snapshot;return this.currentTransition=i=A(_({},o),{targetSnapshot:y,urlAfterRedirects:c,extras:A(_({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(b=>(b.finalUrl=c,b)),be(i)}else return this.events.next(new mo(o.id,this.urlSerializer.serialize(o.extractedUrl),"",Pd.IgnoredByUrlHandlingStrategy)),o.resolve(!1),Pt}),St(o=>{let s=new gh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),ye(o=>(this.currentTransition=i=A(_({},o),{guards:_4(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),i)),O4(this.environmentInjector,o=>this.events.next(o)),St(o=>{if(i.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw kh(this.urlSerializer,o.guardsResult);let s=new yh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),nn(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",Gn.GuardRejected),!1)),nv(o=>{if(o.guards.canActivateChecks.length!==0)return be(o).pipe(St(s=>{let a=new bh(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),yn(s=>{let a=!1;return be(s).pipe(nV(this.paramsInheritanceStrategy,this.environmentInjector),St({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Gn.NoDataFromResolver)}}))}),St(s=>{let a=new vh(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),nv(o=>{let s=a=>{let l=[];if(a.routeConfig?.loadComponent){let c=Nl(a)??this.environmentInjector;l.push(this.configLoader.loadComponent(c,a.routeConfig).pipe(St(d=>{a.component=d}),ye(()=>{})))}for(let c of a.children)l.push(...s(c));return l};return Ep(s(o.targetSnapshot.root)).pipe(Fo(null),no(1))}),nv(()=>this.afterPreactivation()),yn(()=>{let{currentSnapshot:o,targetSnapshot:s}=i,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?pt(a).pipe(ye(()=>i)):be(i)}),ye(o=>{let s=m4(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=i=A(_({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),i}),St(()=>{this.events.next(new Nd)}),v4(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),no(1),Dp(new ue(o=>{let s=i.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(nn(()=>!r&&!i.targetRouterState),St(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",Gn.Aborted)}))),St({next:o=>{r=!0,this.lastSuccessfulNavigation=vn(this.currentNavigation),this.events.next(new ho(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),Dp(this.transitionAbortWithErrorSubject.pipe(St(o=>{throw o}))),wr(()=>{r||this.cancelNavigationTransition(i,"",Gn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),ai(o=>{if(this.destroyed)return i.resolve(!1),Pt;if(r=!0,fD(o))this.events.next(new Ar(i.id,this.urlSerializer.serialize(i.extractedUrl),o.message,o.cancellationCode)),b4(o)?this.events.next(new Rl(o.url,o.navigationBehaviorOptions)):i.resolve(!1);else{let s=new Ol(i.id,this.urlSerializer.serialize(i.extractedUrl),o,i.targetSnapshot??void 0);try{let a=In(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof Pl){let{message:l,cancellationCode:c}=kh(this.urlSerializer,a);this.events.next(new Ar(i.id,this.urlSerializer.serialize(i.extractedUrl),l,c)),this.events.next(new Rl(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(a)}}return Pt}))}))}cancelNavigationTransition(e,i,r){let o=new Ar(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=vn(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function lV(t){return t!==Md}var ID=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:()=>x(cV),providedIn:"root"})}return t})(),Oh=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},cV=(()=>{class t extends Oh{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),DD=(()=>{class t{urlSerializer=x(Hd);options=x(Wd,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=x(wl);urlHandlingStrategy=x(Ah);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Nr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,s=r??o;return s instanceof Nr?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=aD(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:()=>x(dV),providedIn:"root"})}return t})(),dV=(()=>{class t extends DD{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof ra?this.updateStateMemento():e instanceof mo?this.commitTransition(i):e instanceof Ad?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Nd?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Ar&&e.code!==Gn.SupersededByNewNavigation&&e.code!==Gn.Redirect?this.restoreHistory(i):e instanceof Ol?this.restoreHistory(i,!0):e instanceof ho&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:s}=i;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,l=_(_({},s),this.generateNgRouterState(r,a));this.location.replaceState(e,"",l)}else{let a=_(_({},s),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wv(t,n){t.events.pipe(nn(e=>e instanceof ho||e instanceof Ar||e instanceof Ol||e instanceof mo),ye(e=>e instanceof ho||e instanceof mo?0:(e instanceof Ar?e.code===Gn.Redirect||e.code===Gn.SupersededByNewNavigation:!1)?2:1),nn(e=>e!==2),no(1)).subscribe(()=>{n()})}var uV={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},pV={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Pi=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=x(ub);stateManager=x(DD);options=x(Wd,{optional:!0})||{};pendingTasks=x(Dr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=x(SD);urlSerializer=x(Hd);location=x(wl);urlHandlingStrategy=x(Ah);injector=x(Zt);_events=new Ge;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=x(ID);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=x(Gd,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!x(Rh,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Gt;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=vn(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Ar&&i.code!==Gn.Redirect&&i.code!==Gn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ho)this.navigated=!0;else if(i instanceof Rl){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=_({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||lV(r.source)},s);this.scheduleNavigation(a,Md,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}u4(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Md,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=_({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o).catch(l=>{this.disposed||this.injector.get(Yn)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return vn(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(vv),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=_(_({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let u;try{let p=r?r.snapshot:this.routerState.snapshot.root;u=iD(p)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),u=this.currentUrlTree.root}return rD(u,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Ml(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Md,null,i)}navigate(e,i={skipLocationChange:!1}){return fV(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(Vo(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=_({},uV):i===!1?r=_({},pV):r=i,Ml(e))return BI(this.currentUrlTree,e,r);let o=this.parseUrl(e);return BI(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,p)=>{a=u,l=p});let d=this.pendingTasks.add();return wv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fV(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new U(4008,!1)}var mV=new z("");function Cv(t,...n){return wi([{provide:Gd,multi:!0,useValue:t},[],{provide:Fr,useFactory:gV,deps:[Pi]},{provide:jf,multi:!0,useFactory:yV},n.map(e=>e.\u0275providers)])}function gV(t){return t.routerState.root}function yV(){let t=x(Bt);return n=>{let e=t.get(Or);if(n!==e.components[0])return;let i=t.get(Pi),r=t.get(bV);t.get(vV)===1&&i.initialNavigation(),t.get(_V,null,{optional:!0})?.setUpPreloading(),t.get(mV,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var bV=new z("",{factory:()=>new Ge}),vV=new z("",{providedIn:"root",factory:()=>1});var _V=new z("");function is(...t){if(t){let n=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let r=typeof i;if(r==="string"||r==="number")n.push(i);else if(r==="object"){let o=Array.isArray(i)?[is(...i)]:Object.entries(i).map(([s,a])=>a?s:void 0);n=o.length?n.concat(o.filter(s=>!!s)):n}}return n.join(" ").trim()}}function wn(t,n){return t?t.classList?t.classList.contains(n):new RegExp("(^| )"+n+"( |$)","gi").test(t.className):!1}function tr(t,n){if(t&&n){let e=i=>{wn(t,i)||(t.classList?t.classList.add(i):t.className+=" "+i)};[n].flat().filter(Boolean).forEach(i=>i.split(" ").forEach(e))}}function xV(){return window.innerWidth-document.documentElement.offsetWidth}function kD(t){typeof t=="string"?tr(document.body,t||"p-overflow-hidden"):(t!=null&&t.variableName&&document.body.style.setProperty(t.variableName,xV()+"px"),tr(document.body,t?.className||"p-overflow-hidden"))}function Lr(t,n){if(t&&n){let e=i=>{t.classList?t.classList.remove(i):t.className=t.className.replace(new RegExp("(^|\\b)"+i.split(" ").join("|")+"(\\b|$)","gi")," ")};[n].flat().filter(Boolean).forEach(i=>i.split(" ").forEach(e))}}function MD(t){typeof t=="string"?Lr(document.body,t||"p-overflow-hidden"):(t!=null&&t.variableName&&document.body.style.removeProperty(t.variableName),Lr(document.body,t?.className||"p-overflow-hidden"))}function qd(t){for(let n of document?.styleSheets)try{for(let e of n?.cssRules)for(let i of e?.style)if(t.test(i))return{name:i,value:e.style.getPropertyValue(i).trim()}}catch{}return null}function OD(t){let n={width:0,height:0};if(t){let[e,i]=[t.style.visibility,t.style.display],r=t.getBoundingClientRect();t.style.visibility="hidden",t.style.display="block",n.width=r.width||t.offsetWidth,n.height=r.height||t.offsetHeight,t.style.display=i,t.style.visibility=e}return n}function Nh(){let t=window,n=document,e=n.documentElement,i=n.getElementsByTagName("body")[0],r=t.innerWidth||e.clientWidth||i.clientWidth,o=t.innerHeight||e.clientHeight||i.clientHeight;return{width:r,height:o}}function xv(t){return t?Math.abs(t.scrollLeft):0}function Tv(){let t=document.documentElement;return(window.pageXOffset||xv(t))-(t.clientLeft||0)}function Ev(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}function TV(t){return t?getComputedStyle(t).direction==="rtl":!1}function RD(t,n,e=!0){var i,r,o,s;if(t){let a=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:OD(t),l=a.height,c=a.width,d=n.offsetHeight,u=n.offsetWidth,p=n.getBoundingClientRect(),f=Ev(),y=Tv(),b=Nh(),v,w,D="top";p.top+d+l>b.height?(v=p.top+f-l,D="bottom",v<0&&(v=f)):v=d+p.top+f,p.left+c>b.width?w=Math.max(0,p.left+y+u-c):w=p.left+y,TV(t)?t.style.insetInlineEnd=w+"px":t.style.insetInlineStart=w+"px",t.style.top=v+"px",t.style.transformOrigin=D,e&&(t.style.marginTop=D==="bottom"?`calc(${(r=(i=qd(/-anchor-gutter$/))==null?void 0:i.value)!=null?r:"2px"} * -1)`:(s=(o=qd(/-anchor-gutter$/))==null?void 0:o.value)!=null?s:"")}}function PD(t,n){t&&(typeof n=="string"?t.style.cssText=n:Object.entries(n||{}).forEach(([e,i])=>t.style[e]=i))}function Mn(t,n){if(t instanceof HTMLElement){let e=t.offsetWidth;if(n){let i=getComputedStyle(t);e+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return e}return 0}function AD(t,n,e=!0,i=void 0){var r;if(t){let o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:OD(t),s=n.offsetHeight,a=n.getBoundingClientRect(),l=Nh(),c,d,u=i??"top";if(!i&&a.top+s+o.height>l.height?(c=-1*o.height,u="bottom",a.top+c<0&&(c=-1*a.top)):c=s,o.width>l.width?d=a.left*-1:a.left+o.width>l.width?d=(a.left+o.width-l.width)*-1:d=0,t.style.top=c+"px",t.style.insetInlineStart=d+"px",t.style.transformOrigin=u,e){let p=(r=qd(/-anchor-gutter$/))==null?void 0:r.value;t.style.marginTop=u==="bottom"?`calc(${p??"2px"} * -1)`:p??""}}}function ND(t){if(t){let n=t.parentNode;return n&&n instanceof ShadowRoot&&n.host&&(n=n.host),n}return null}function EV(t){return!!(t!==null&&typeof t<"u"&&t.nodeName&&ND(t))}function Qd(t){return typeof Element<"u"?t instanceof Element:t!==null&&typeof t=="object"&&t.nodeType===1&&typeof t.nodeName=="string"}function FD(t){let n=t;return t&&typeof t=="object"&&(Object.hasOwn(t,"current")?n=t.current:Object.hasOwn(t,"el")&&(Object.hasOwn(t.el,"nativeElement")?n=t.el.nativeElement:n=t.el)),Qd(n)?n:void 0}function Sv(t,n){var e,i,r;if(t)switch(t){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return n?.nextElementSibling;case"@prev":return n?.previousElementSibling;case"@first":return n?.firstElementChild;case"@last":return n?.lastElementChild;case"@child":return(e=n?.children)==null?void 0:e[0];case"@parent":return n?.parentElement;case"@grandparent":return(i=n?.parentElement)==null?void 0:i.parentElement;default:{if(typeof t=="string"){let a=t.match(/^@child\[(\d+)]/);return a?((r=n?.children)==null?void 0:r[parseInt(a[1],10)])||null:document.querySelector(t)||null}let o=(a=>typeof a=="function"&&"call"in a&&"apply"in a)(t)?t():t,s=FD(o);return EV(s)?s:o?.nodeType===9?o:void 0}}}function Kd(t,n){let e=Sv(t,n);if(e)e.appendChild(n);else throw new Error("Cannot append "+n+" to "+t)}function Fh(t,n={}){if(Qd(t)){let e=(i,r)=>{var o,s;let a=(o=t?.$attrs)!=null&&o[i]?[(s=t?.$attrs)==null?void 0:s[i]]:[];return[r].flat().reduce((l,c)=>{if(c!=null){let d=typeof c;if(d==="string"||d==="number")l.push(c);else if(d==="object"){let u=Array.isArray(c)?e(i,c):Object.entries(c).map(([p,f])=>i==="style"&&(f||f===0)?`${p.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${f}`:f?p:void 0);l=u.length?l.concat(u.filter(p=>!!p)):l}}return l},a)};Object.entries(n).forEach(([i,r])=>{if(r!=null){let o=i.match(/^on(.+)/);o?t.addEventListener(o[1].toLowerCase(),r):i==="p-bind"||i==="pBind"?Fh(t,r):(r=i==="class"?[...new Set(e("class",r))].join(" ").trim():i==="style"?e("style",r).join(";").trim():r,(t.$attrs=t.$attrs||{})&&(t.$attrs[i]=r),t.setAttribute(i,r))}})}}function Yd(t,n={},...e){if(t){let i=document.createElement(t);return Fh(i,n),i.append(...e),i}}function LD(t,n){if(t){t.style.opacity="0";let e=+new Date,i="0",r=function(){i=`${+t.style.opacity+(new Date().getTime()-e)/n}`,t.style.opacity=i,e=+new Date,+i<1&&("requestAnimationFrame"in window?requestAnimationFrame(r):setTimeout(r,16))};r()}}function Br(t,n){return Qd(t)?Array.from(t.querySelectorAll(n)):[]}function wt(t,n){return Qd(t)?t.matches(n)?t:t.querySelector(n):null}function nr(t,n){t&&document.activeElement!==t&&t.focus(n)}function oa(t,n=""){let e=Br(t,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
[href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${n},
input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
[tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}`),i=[];for(let r of e)getComputedStyle(r).display!="none"&&getComputedStyle(r).visibility!="hidden"&&i.push(r);return i}function BD(t,n){let e=oa(t,n);return e.length>0?e[0]:null}function Vr(t){if(t){let n=t.offsetHeight,e=getComputedStyle(t);return n-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)+parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),n}return 0}function Zd(t){var n;if(t){let e=(n=ND(t))==null?void 0:n.childNodes,i=0;if(e)for(let r=0;r<e.length;r++){if(e[r]===t)return i;e[r].nodeType===1&&i++}}return-1}function VD(t,n){let e=oa(t,n);return e.length>0?e[e.length-1]:null}function jD(t){if(t){let n=t.getBoundingClientRect();return{top:n.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:n.left+(window.pageXOffset||xv(document.documentElement)||xv(document.body)||0)}}return{top:"auto",left:"auto"}}function ir(t,n){if(t){let e=t.offsetHeight;if(n){let i=getComputedStyle(t);e+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return e}return 0}function zD(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function jr(t){if(t){let n=t.offsetWidth,e=getComputedStyle(t);return n-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth),n}return 0}function Iv(t){return!!(t&&t.offsetParent!=null)}function yo(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function HD(t){var n;t&&("remove"in Element.prototype?t.remove():(n=t.parentNode)==null||n.removeChild(t))}function $D(t,n){let e=FD(t);if(e)e.removeChild(n);else throw new Error("Cannot remove "+n+" from "+t)}function UD(t,n){let e=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=e?parseFloat(e):0,r=getComputedStyle(t).getPropertyValue("paddingTop"),o=r?parseFloat(r):0,s=t.getBoundingClientRect(),a=n.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-i-o,l=t.scrollTop,c=t.clientHeight,d=ir(n);a<0?t.scrollTop=l+a:a+d>c&&(t.scrollTop=l+a-c+d)}function Jd(t,n="",e){Qd(t)&&e!==null&&e!==void 0&&t.setAttribute(n,e)}function WD(){let t=new Map;return{on(n,e){let i=t.get(n);return i?i.push(e):i=[e],t.set(n,i),this},off(n,e){let i=t.get(n);return i&&i.splice(i.indexOf(e)>>>0,1),this},emit(n,e){let i=t.get(n);i&&i.forEach(r=>{r(e)})},clear(){t.clear()}}}var SV=Object.defineProperty,GD=Object.getOwnPropertySymbols,IV=Object.prototype.hasOwnProperty,DV=Object.prototype.propertyIsEnumerable,qD=(t,n,e)=>n in t?SV(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,QD=(t,n)=>{for(var e in n||(n={}))IV.call(n,e)&&qD(t,e,n[e]);if(GD)for(var e of GD(n))DV.call(n,e)&&qD(t,e,n[e]);return t};function KD(...t){if(t){let n=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let r=typeof i;if(r==="string"||r==="number")n.push(i);else if(r==="object"){let o=Array.isArray(i)?[KD(...i)]:Object.entries(i).map(([s,a])=>a?s:void 0);n=o.length?n.concat(o.filter(s=>!!s)):n}}return n.join(" ").trim()}}function kV(t){return typeof t=="function"&&"call"in t&&"apply"in t}function MV({skipUndefined:t=!1},...n){return n?.reduce((e,i={})=>{for(let r in i){let o=i[r];if(!(t&&o===void 0))if(r==="style")e.style=QD(QD({},e.style),i.style);else if(r==="class"||r==="className")e[r]=KD(e[r],i[r]);else if(kV(o)){let s=e[r];e[r]=s?(...a)=>{s(...a),o(...a)}:o}else e[r]=o}return e},{})}function Dv(...t){return MV({skipUndefined:!1},...t)}var OV=Object.defineProperty,YD=Object.getOwnPropertySymbols,RV=Object.prototype.hasOwnProperty,PV=Object.prototype.propertyIsEnumerable,ZD=(t,n,e)=>n in t?OV(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,AV=(t,n)=>{for(var e in n||(n={}))RV.call(n,e)&&ZD(t,e,n[e]);if(YD)for(var e of YD(n))PV.call(n,e)&&ZD(t,e,n[e]);return t};function zr(t){return t==null||t===""||Array.isArray(t)&&t.length===0||!(t instanceof Date)&&typeof t=="object"&&Object.keys(t).length===0}function kv(t,n,e=new WeakSet){if(t===n)return!0;if(!t||!n||typeof t!="object"||typeof n!="object"||e.has(t)||e.has(n))return!1;e.add(t).add(n);let i=Array.isArray(t),r=Array.isArray(n),o,s,a;if(i&&r){if(s=t.length,s!=n.length)return!1;for(o=s;o--!==0;)if(!kv(t[o],n[o],e))return!1;return!0}if(i!=r)return!1;let l=t instanceof Date,c=n instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==n.getTime();let d=t instanceof RegExp,u=n instanceof RegExp;if(d!=u)return!1;if(d&&u)return t.toString()==n.toString();let p=Object.keys(t);if(s=p.length,s!==Object.keys(n).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,p[o]))return!1;for(o=s;o--!==0;)if(a=p[o],!kv(t[a],n[a],e))return!1;return!0}function Mv(t,n){return kv(t,n)}function Lh(t){return typeof t=="function"&&"call"in t&&"apply"in t}function lt(t){return!zr(t)}function On(t,n){if(!t||!n)return null;try{let e=t[n];if(lt(e))return e}catch{}if(Object.keys(t).length){if(Lh(n))return n(t);if(n.indexOf(".")===-1)return t[n];{let e=n.split("."),i=t;for(let r=0,o=e.length;r<o;++r){if(i==null)return null;i=i[e[r]]}return i}}return null}function ei(t,n,e){return e?On(t,e)===On(n,e):Mv(t,n)}function JD(t,n){if(t!=null&&n&&n.length){for(let e of n)if(ei(t,e))return!0}return!1}function rr(t,n=!0){return t instanceof Object&&t.constructor===Object&&(n||Object.keys(t).length!==0)}function XD(t={},n={}){let e=AV({},t);return Object.keys(n).forEach(i=>{let r=i;rr(n[r])&&r in t&&rr(t[r])?e[r]=XD(t[r],n[r]):e[r]=n[r]}),e}function ek(...t){return t.reduce((n,e,i)=>i===0?e:XD(n,e),{})}function Ov(t,n){let e=-1;if(lt(t))try{e=t.findLastIndex(n)}catch{e=t.lastIndexOf([...t].reverse().find(n))}return e}function Cn(t,...n){return Lh(t)?t(...n):t}function Ai(t,n=!0){return typeof t=="string"&&(n||t!=="")}function rs(t){return Ai(t)?t.replace(/(-|_)/g,"").toLowerCase():t}function Bh(t,n="",e={}){let i=rs(n).split("."),r=i.shift();if(r){if(rr(t)){let o=Object.keys(t).find(s=>rs(s)===r)||"";return Bh(Cn(t[o],e),i.join("."),e)}return}return Cn(t,e)}function Rv(t,n=!0){return Array.isArray(t)&&(n||t.length!==0)}function Xd(t){return t instanceof Date}function tk(t){return lt(t)&&!isNaN(t)}function nk(t=""){return lt(t)&&t.length===1&&!!t.match(/\S| /)}function or(t,n){if(n){let e=n.test(t);return n.lastIndex=0,e}return!1}function sa(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function pi(t){if(t&&/[\xC0-\xFF\u0100-\u017E]/.test(t)){let n={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let e in n)t=t.replace(n[e],e)}return t}function Vh(t){return Ai(t)?t.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():t}var jh={};function mt(t="pui_id_"){return Object.hasOwn(jh,t)||(jh[t]=0),jh[t]++,`${t}${jh[t]}`}var ik=["*"];var fn=(()=>{class t{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return t})(),Pv=(()=>{class t{static AND="and";static OR="or"}return t})(),Bl=(()=>{class t{filter(e,i,r,o,s){let a=[];if(e)for(let l of e)for(let c of i){let d=On(l,c);if(this.filters[o](d,r,s)){a.push(l);break}}return a}filters={startsWith:(e,i,r)=>{if(i==null||i.trim()==="")return!0;if(e==null)return!1;let o=pi(i.toString()).toLocaleLowerCase(r);return pi(e.toString()).toLocaleLowerCase(r).slice(0,o.length)===o},contains:(e,i,r)=>{if(i==null||typeof i=="string"&&i.trim()==="")return!0;if(e==null)return!1;let o=pi(i.toString()).toLocaleLowerCase(r);return pi(e.toString()).toLocaleLowerCase(r).indexOf(o)!==-1},notContains:(e,i,r)=>{if(i==null||typeof i=="string"&&i.trim()==="")return!0;if(e==null)return!1;let o=pi(i.toString()).toLocaleLowerCase(r);return pi(e.toString()).toLocaleLowerCase(r).indexOf(o)===-1},endsWith:(e,i,r)=>{if(i==null||i.trim()==="")return!0;if(e==null)return!1;let o=pi(i.toString()).toLocaleLowerCase(r),s=pi(e.toString()).toLocaleLowerCase(r);return s.indexOf(o,s.length-o.length)!==-1},equals:(e,i,r)=>i==null||typeof i=="string"&&i.trim()===""?!0:e==null?!1:e.getTime&&i.getTime?e.getTime()===i.getTime():e==i?!0:pi(e.toString()).toLocaleLowerCase(r)==pi(i.toString()).toLocaleLowerCase(r),notEquals:(e,i,r)=>i==null||typeof i=="string"&&i.trim()===""?!1:e==null?!0:e.getTime&&i.getTime?e.getTime()!==i.getTime():e==i?!1:pi(e.toString()).toLocaleLowerCase(r)!=pi(i.toString()).toLocaleLowerCase(r),in:(e,i)=>{if(i==null||i.length===0)return!0;for(let r=0;r<i.length;r++)if(ei(e,i[r]))return!0;return!1},between:(e,i)=>i==null||i[0]==null||i[1]==null?!0:e==null?!1:e.getTime?i[0].getTime()<=e.getTime()&&e.getTime()<=i[1].getTime():i[0]<=e&&e<=i[1],lt:(e,i,r)=>i==null?!0:e==null?!1:e.getTime&&i.getTime?e.getTime()<i.getTime():e<i,lte:(e,i,r)=>i==null?!0:e==null?!1:e.getTime&&i.getTime?e.getTime()<=i.getTime():e<=i,gt:(e,i,r)=>i==null?!0:e==null?!1:e.getTime&&i.getTime?e.getTime()>i.getTime():e>i,gte:(e,i,r)=>i==null?!0:e==null?!1:e.getTime&&i.getTime?e.getTime()>=i.getTime():e>=i,is:(e,i,r)=>this.filters.equals(e,i,r),isNot:(e,i,r)=>this.filters.notEquals(e,i,r),before:(e,i,r)=>this.filters.lt(e,i,r),after:(e,i,r)=>this.filters.gt(e,i,r),dateIs:(e,i)=>i==null?!0:e==null?!1:e.toDateString()===i.toDateString(),dateIsNot:(e,i)=>i==null?!0:e==null?!1:e.toDateString()!==i.toDateString(),dateBefore:(e,i)=>i==null?!0:e==null?!1:e.getTime()<i.getTime(),dateAfter:(e,i)=>i==null?!0:e==null?!1:(e.setHours(0,0,0,0),e.getTime()>i.getTime())};register(e,i){this.filters[e]=i}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vl=(()=>{class t{clickSource=new Ge;clickObservable=this.clickSource.asObservable();add(e){e&&this.clickSource.next(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var rk=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["p-header"]],standalone:!1,ngContentSelectors:ik,decls:1,vars:0,template:function(i,r){i&1&&(zt(),Ot(0))},encapsulation:2})}return t})(),ok=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:ik,decls:1,vars:0,template:function(i,r){i&1&&(zt(),Ot(0))},encapsulation:2})}return t})(),xt=(()=>{class t{template;type;name;constructor(e){this.template=e}getType(){return this.name}static \u0275fac=function(i){return new(i||t)(me(Mr))};static \u0275dir=Ye({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return t})(),xe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[qe]})}return t})(),xn=(()=>{class t{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return t})();var NV=Object.defineProperty,FV=Object.defineProperties,LV=Object.getOwnPropertyDescriptors,zh=Object.getOwnPropertySymbols,lk=Object.prototype.hasOwnProperty,ck=Object.prototype.propertyIsEnumerable,sk=(t,n,e)=>n in t?NV(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,ar=(t,n)=>{for(var e in n||(n={}))lk.call(n,e)&&sk(t,e,n[e]);if(zh)for(var e of zh(n))ck.call(n,e)&&sk(t,e,n[e]);return t},Av=(t,n)=>FV(t,LV(n)),bo=(t,n)=>{var e={};for(var i in t)lk.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&zh)for(var i of zh(t))n.indexOf(i)<0&&ck.call(t,i)&&(e[i]=t[i]);return e};function dk(...t){return ek(...t)}var BV=WD(),hn=BV,eu=/{([^}]*)}/g,uk=/(\d+\s+[\+\-\*\/]\s+\d+)/g,pk=/var\([^)]+\)/g;function ak(t){return Ai(t)?t.replace(/[A-Z]/g,(n,e)=>e===0?n:"."+n.toLowerCase()).toLowerCase():t}function VV(t){return rr(t)&&t.hasOwnProperty("$value")&&t.hasOwnProperty("$type")?t.$value:t}function jV(t){return t.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Nv(t="",n=""){return jV(`${Ai(t,!1)&&Ai(n,!1)?`${t}-`:t}${n}`)}function fk(t="",n=""){return`--${Nv(t,n)}`}function zV(t=""){let n=(t.match(/{/g)||[]).length,e=(t.match(/}/g)||[]).length;return(n+e)%2!==0}function hk(t,n="",e="",i=[],r){if(Ai(t)){let o=t.trim();if(zV(o))return;if(or(o,eu)){let s=o.replaceAll(eu,a=>{let l=a.replace(/{|}/g,"").split(".").filter(c=>!i.some(d=>or(c,d)));return`var(${fk(e,Vh(l.join("-")))}${lt(r)?`, ${r}`:""})`});return or(s.replace(pk,"0"),uk)?`calc(${s})`:s}return o}else if(tk(t))return t}function HV(t,n,e){Ai(n,!1)&&t.push(`${n}:${e};`)}function zl(t,n){return t?`${t}{${n}}`:""}function mk(t,n){if(t.indexOf("dt(")===-1)return t;function e(s,a){let l=[],c=0,d="",u=null,p=0;for(;c<=s.length;){let f=s[c];if((f==='"'||f==="'"||f==="`")&&s[c-1]!=="\\"&&(u=u===f?null:f),!u&&(f==="("&&p++,f===")"&&p--,(f===","||c===s.length)&&p===0)){let y=d.trim();y.startsWith("dt(")?l.push(mk(y,a)):l.push(i(y)),d="",c++;continue}f!==void 0&&(d+=f),c++}return l}function i(s){let a=s[0];if((a==='"'||a==="'"||a==="`")&&s[s.length-1]===a)return s.slice(1,-1);let l=Number(s);return isNaN(l)?s:l}let r=[],o=[];for(let s=0;s<t.length;s++)if(t[s]==="d"&&t.slice(s,s+3)==="dt(")o.push(s),s+=2;else if(t[s]===")"&&o.length>0){let a=o.pop();o.length===0&&r.push([a,s])}if(!r.length)return t;for(let s=r.length-1;s>=0;s--){let[a,l]=r[s],c=t.slice(a+3,l),d=e(c,n),u=n(...d);t=t.slice(0,a)+u+t.slice(l+1)}return t}var Lv=t=>{var n;let e=Mt.getTheme(),i=Fv(e,t,void 0,"variable"),r=(n=i?.match(/--[\w-]+/g))==null?void 0:n[0],o=Fv(e,t,void 0,"value");return{name:r,variable:i,value:o}},vo=(...t)=>Fv(Mt.getTheme(),...t),Fv=(t={},n,e,i)=>{if(n){let{variable:r,options:o}=Mt.defaults||{},{prefix:s,transform:a}=t?.options||o||{},l=or(n,eu)?n:`{${n}}`;return i==="value"||zr(i)&&a==="strict"?Mt.getTokenValue(n):hk(l,void 0,s,[r.excludedKeyRegex],e)}return""};function Hl(t,...n){if(t instanceof Array){let e=t.reduce((i,r,o)=>{var s;return i+r+((s=Cn(n[o],{dt:vo}))!=null?s:"")},"");return mk(e,vo)}return Cn(t,{dt:vo})}function $V(t,n={}){let e=Mt.defaults.variable,{prefix:i=e.prefix,selector:r=e.selector,excludedKeyRegex:o=e.excludedKeyRegex}=n,s=[],a=[],l=[{node:t,path:i}];for(;l.length;){let{node:d,path:u}=l.pop();for(let p in d){let f=d[p],y=VV(f),b=or(p,o)?Nv(u):Nv(u,Vh(p));if(rr(y))l.push({node:y,path:b});else{let v=fk(b),w=hk(y,b,i,[o]);HV(a,v,w);let D=b;i&&D.startsWith(i+"-")&&(D=D.slice(i.length+1)),s.push(D.replace(/-/g,"."))}}}let c=a.join("");return{value:a,tokens:s,declarations:c,css:zl(r,c)}}var sr={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(t){return{type:"class",selector:t,matched:this.pattern.test(t.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(t){return{type:"attr",selector:`:root${t},:host${t}`,matched:this.pattern.test(t.trim())}}},media:{pattern:/^@media (.*)$/,resolve(t){return{type:"media",selector:t,matched:this.pattern.test(t.trim())}}},system:{pattern:/^system$/,resolve(t){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(t.trim())}}},custom:{resolve(t){return{type:"custom",selector:t,matched:!0}}}},resolve(t){let n=Object.keys(this.rules).filter(e=>e!=="custom").map(e=>this.rules[e]);return[t].flat().map(e=>{var i;return(i=n.map(r=>r.resolve(e)).find(r=>r.matched))!=null?i:this.rules.custom.resolve(e)})}},_toVariables(t,n){return $V(t,{prefix:n?.prefix})},getCommon({name:t="",theme:n={},params:e,set:i,defaults:r}){var o,s,a,l,c,d,u;let{preset:p,options:f}=n,y,b,v,w,D,P,B;if(lt(p)&&f.transform!=="strict"){let{primitive:Y,semantic:ge,extend:tt}=p,it=ge||{},{colorScheme:vt}=it,tn=bo(it,["colorScheme"]),hr=tt||{},{colorScheme:jn}=hr,bi=bo(hr,["colorScheme"]),Po=vt||{},{dark:je}=Po,Z=bo(Po,["dark"]),Q=jn||{},{dark:X}=Q,fe=bo(Q,["dark"]),Ke=lt(Y)?this._toVariables({primitive:Y},f):{},Fe=lt(tn)?this._toVariables({semantic:tn},f):{},Rt=lt(Z)?this._toVariables({light:Z},f):{},Sn=lt(je)?this._toVariables({dark:je},f):{},ft=lt(bi)?this._toVariables({semantic:bi},f):{},vi=lt(fe)?this._toVariables({light:fe},f):{},Yt=lt(X)?this._toVariables({dark:X},f):{},[rt,mr]=[(o=Ke.declarations)!=null?o:"",Ke.tokens],[Nn,Ra]=[(s=Fe.declarations)!=null?s:"",Fe.tokens||[]],[Ec,UP]=[(a=Rt.declarations)!=null?a:"",Rt.tokens||[]],[WP,GP]=[(l=Sn.declarations)!=null?l:"",Sn.tokens||[]],[qP,QP]=[(c=ft.declarations)!=null?c:"",ft.tokens||[]],[KP,YP]=[(d=vi.declarations)!=null?d:"",vi.tokens||[]],[ZP,JP]=[(u=Yt.declarations)!=null?u:"",Yt.tokens||[]];y=this.transformCSS(t,rt,"light","variable",f,i,r),b=mr;let XP=this.transformCSS(t,`${Nn}${Ec}`,"light","variable",f,i,r),eA=this.transformCSS(t,`${WP}`,"dark","variable",f,i,r);v=`${XP}${eA}`,w=[...new Set([...Ra,...UP,...GP])];let tA=this.transformCSS(t,`${qP}${KP}color-scheme:light`,"light","variable",f,i,r),nA=this.transformCSS(t,`${ZP}color-scheme:dark`,"dark","variable",f,i,r);D=`${tA}${nA}`,P=[...new Set([...QP,...YP,...JP])],B=Cn(p.css,{dt:vo})}return{primitive:{css:y,tokens:b},semantic:{css:v,tokens:w},global:{css:D,tokens:P},style:B}},getPreset({name:t="",preset:n={},options:e,params:i,set:r,defaults:o,selector:s}){var a,l,c;let d,u,p;if(lt(n)&&e.transform!=="strict"){let f=t.replace("-directive",""),y=n,{colorScheme:b,extend:v,css:w}=y,D=bo(y,["colorScheme","extend","css"]),P=v||{},{colorScheme:B}=P,Y=bo(P,["colorScheme"]),ge=b||{},{dark:tt}=ge,it=bo(ge,["dark"]),vt=B||{},{dark:tn}=vt,hr=bo(vt,["dark"]),jn=lt(D)?this._toVariables({[f]:ar(ar({},D),Y)},e):{},bi=lt(it)?this._toVariables({[f]:ar(ar({},it),hr)},e):{},Po=lt(tt)?this._toVariables({[f]:ar(ar({},tt),tn)},e):{},[je,Z]=[(a=jn.declarations)!=null?a:"",jn.tokens||[]],[Q,X]=[(l=bi.declarations)!=null?l:"",bi.tokens||[]],[fe,Ke]=[(c=Po.declarations)!=null?c:"",Po.tokens||[]],Fe=this.transformCSS(f,`${je}${Q}`,"light","variable",e,r,o,s),Rt=this.transformCSS(f,fe,"dark","variable",e,r,o,s);d=`${Fe}${Rt}`,u=[...new Set([...Z,...X,...Ke])],p=Cn(w,{dt:vo})}return{css:d,tokens:u,style:p}},getPresetC({name:t="",theme:n={},params:e,set:i,defaults:r}){var o;let{preset:s,options:a}=n,l=(o=s?.components)==null?void 0:o[t];return this.getPreset({name:t,preset:l,options:a,params:e,set:i,defaults:r})},getPresetD({name:t="",theme:n={},params:e,set:i,defaults:r}){var o,s;let a=t.replace("-directive",""),{preset:l,options:c}=n,d=((o=l?.components)==null?void 0:o[a])||((s=l?.directives)==null?void 0:s[a]);return this.getPreset({name:a,preset:d,options:c,params:e,set:i,defaults:r})},applyDarkColorScheme(t){return!(t.darkModeSelector==="none"||t.darkModeSelector===!1)},getColorSchemeOption(t,n){var e;return this.applyDarkColorScheme(t)?this.regex.resolve(t.darkModeSelector===!0?n.options.darkModeSelector:(e=t.darkModeSelector)!=null?e:n.options.darkModeSelector):[]},getLayerOrder(t,n={},e,i){let{cssLayer:r}=n;return r?`@layer ${Cn(r.order||r.name||"primeui",e)}`:""},getCommonStyleSheet({name:t="",theme:n={},params:e,props:i={},set:r,defaults:o}){let s=this.getCommon({name:t,theme:n,params:e,set:r,defaults:o}),a=Object.entries(i).reduce((l,[c,d])=>l.push(`${c}="${d}"`)&&l,[]).join(" ");return Object.entries(s||{}).reduce((l,[c,d])=>{if(rr(d)&&Object.hasOwn(d,"css")){let u=sa(d.css),p=`${c}-variables`;l.push(`<style type="text/css" data-primevue-style-id="${p}" ${a}>${u}</style>`)}return l},[]).join("")},getStyleSheet({name:t="",theme:n={},params:e,props:i={},set:r,defaults:o}){var s;let a={name:t,theme:n,params:e,set:r,defaults:o},l=(s=t.includes("-directive")?this.getPresetD(a):this.getPresetC(a))==null?void 0:s.css,c=Object.entries(i).reduce((d,[u,p])=>d.push(`${u}="${p}"`)&&d,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${t}-variables" ${c}>${sa(l)}</style>`:""},createTokens(t={},n,e="",i="",r={}){let o=function(a,l={},c=[]){if(c.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:a,path:this.path,paths:l,value:void 0};c.push(this.path),l.name=this.path,l.binding||(l.binding={});let d=this.value;if(typeof this.value=="string"&&eu.test(this.value)){let u=this.value.trim().replace(eu,p=>{var f;let y=p.slice(1,-1),b=this.tokens[y];if(!b)return console.warn(`Token not found for path: ${y}`),"__UNRESOLVED__";let v=b.computed(a,l,c);return Array.isArray(v)&&v.length===2?`light-dark(${v[0].value},${v[1].value})`:(f=v?.value)!=null?f:"__UNRESOLVED__"});d=uk.test(u.replace(pk,"0"))?`calc(${u})`:u}return zr(l.binding)&&delete l.binding,c.pop(),{colorScheme:a,path:this.path,paths:l,value:d.includes("__UNRESOLVED__")?void 0:d}},s=(a,l,c)=>{Object.entries(a).forEach(([d,u])=>{let p=or(d,n.variable.excludedKeyRegex)?l:l?`${l}.${ak(d)}`:ak(d),f=c?`${c}.${d}`:d;rr(u)?s(u,p,f):(r[p]||(r[p]={paths:[],computed:(y,b={},v=[])=>{if(r[p].paths.length===1)return r[p].paths[0].computed(r[p].paths[0].scheme,b.binding,v);if(y&&y!=="none")for(let w=0;w<r[p].paths.length;w++){let D=r[p].paths[w];if(D.scheme===y)return D.computed(y,b.binding,v)}return r[p].paths.map(w=>w.computed(w.scheme,b[w.scheme],v))}}),r[p].paths.push({path:f,value:u,scheme:f.includes("colorScheme.light")?"light":f.includes("colorScheme.dark")?"dark":"none",computed:o,tokens:r}))})};return s(t,e,i),r},getTokenValue(t,n,e){var i;let r=(a=>a.split(".").filter(l=>!or(l.toLowerCase(),e.variable.excludedKeyRegex)).join("."))(n),o=n.includes("colorScheme.light")?"light":n.includes("colorScheme.dark")?"dark":void 0,s=[(i=t[r])==null?void 0:i.computed(o)].flat().filter(a=>a);return s.length===1?s[0].value:s.reduce((a={},l)=>{let c=l,{colorScheme:d}=c,u=bo(c,["colorScheme"]);return a[d]=u,a},void 0)},getSelectorRule(t,n,e,i){return e==="class"||e==="attr"?zl(lt(n)?`${t}${n},${t} ${n}`:t,i):zl(t,zl(n??":root,:host",i))},transformCSS(t,n,e,i,r={},o,s,a){if(lt(n)){let{cssLayer:l}=r;if(i!=="style"){let c=this.getColorSchemeOption(r,s);n=e==="dark"?c.reduce((d,{type:u,selector:p})=>(lt(p)&&(d+=p.includes("[CSS]")?p.replace("[CSS]",n):this.getSelectorRule(p,a,u,n)),d),""):zl(a??":root,:host",n)}if(l){let c={name:"primeui",order:"primeui"};rr(l)&&(c.name=Cn(l.name,{name:t,type:i})),lt(c.name)&&(n=zl(`@layer ${c.name}`,n),o?.layerNames(c.name))}return n}return""}},Mt={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(t={}){let{theme:n}=t;n&&(this._theme=Av(ar({},n),{options:ar(ar({},this.defaults.options),n.options)}),this._tokens=sr.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var t;return((t=this.theme)==null?void 0:t.preset)||{}},get options(){var t;return((t=this.theme)==null?void 0:t.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(t){this.update({theme:t}),hn.emit("theme:change",t)},getPreset(){return this.preset},setPreset(t){this._theme=Av(ar({},this.theme),{preset:t}),this._tokens=sr.createTokens(t,this.defaults),this.clearLoadedStyleNames(),hn.emit("preset:change",t),hn.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(t){this._theme=Av(ar({},this.theme),{options:t}),this.clearLoadedStyleNames(),hn.emit("options:change",t),hn.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(t){this._layerNames.add(t)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(t){return sr.getTokenValue(this.tokens,t,this.defaults)},getCommon(t="",n){return sr.getCommon({name:t,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(t="",n){let e={name:t,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return sr.getPresetC(e)},getDirective(t="",n){let e={name:t,theme:this.theme,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return sr.getPresetD(e)},getCustomPreset(t="",n,e,i){let r={name:t,preset:n,options:this.options,selector:e,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return sr.getPreset(r)},getLayerOrderCSS(t=""){return sr.getLayerOrder(t,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(t="",n,e="style",i){return sr.transformCSS(t,n,i,e,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(t="",n,e={}){return sr.getCommonStyleSheet({name:t,theme:this.theme,params:n,props:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(t,n,e={}){return sr.getStyleSheet({name:t,theme:this.theme,params:n,props:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(t){this._loadingStyles.add(t)},onStyleUpdated(t){this._loadingStyles.add(t)},onStyleLoaded(t,{name:n}){this._loadingStyles.size&&(this._loadingStyles.delete(n),hn.emit(`theme:${n}:load`,t),!this._loadingStyles.size&&hn.emit("theme:load"))}};var gk=`
*,
::before,
::after {
box-sizing: border-box;
}
/* Non vue overlay animations */
.p-connected-overlay {
opacity: 0;
transform: scaleY(0.8);
transition:
transform 0.12s cubic-bezier(0, 0, 0.2, 1),
opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
}
.p-connected-overlay-visible {
opacity: 1;
transform: scaleY(1);
}
.p-connected-overlay-hidden {
opacity: 0;
transform: scaleY(1);
transition: opacity 0.1s linear;
}
/* Vue based overlay animations */
.p-connected-overlay-enter-from {
opacity: 0;
transform: scaleY(0.8);
}
.p-connected-overlay-leave-to {
opacity: 0;
}
.p-connected-overlay-enter-active {
transition:
transform 0.12s cubic-bezier(0, 0, 0.2, 1),
opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
}
.p-connected-overlay-leave-active {
transition: opacity 0.1s linear;
}
/* Toggleable Content */
.p-toggleable-content-enter-from,
.p-toggleable-content-leave-to {
max-height: 0;
}
.p-toggleable-content-enter-to,
.p-toggleable-content-leave-from {
max-height: 1000px;
}
.p-toggleable-content-leave-active {
overflow: hidden;
transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
}
.p-toggleable-content-enter-active {
overflow: hidden;
transition: max-height 1s ease-in-out;
}
.p-disabled,
.p-disabled * {
cursor: default;
pointer-events: none;
user-select: none;
}
.p-disabled,
.p-component:disabled {
opacity: dt('disabled.opacity');
}
.pi {
font-size: dt('icon.size');
}
.p-icon {
width: dt('icon.size');
height: dt('icon.size');
}
.p-overlay-mask {
background: dt('mask.background');
color: dt('mask.color');
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.p-overlay-mask-enter {
animation: p-overlay-mask-enter-animation dt('mask.transition.duration') forwards;
}
.p-overlay-mask-leave {
animation: p-overlay-mask-leave-animation dt('mask.transition.duration') forwards;
}
@keyframes p-overlay-mask-enter-animation {
from {
background: transparent;
}
to {
background: dt('mask.background');
}
}
@keyframes p-overlay-mask-leave-animation {
from {
background: dt('mask.background');
}
to {
background: transparent;
}
}
`;var UV=0,yk=(()=>{class t{document=x(bt);use(e,i={}){let r=!1,o=e,s=null,{immediate:a=!0,manual:l=!1,name:c=`style_${++UV}`,id:d=void 0,media:u=void 0,nonce:p=void 0,first:f=!1,props:y={}}=i;if(this.document){if(s=this.document.querySelector(`style[data-primeng-style-id="${c}"]`)||d&&this.document.getElementById(d)||this.document.createElement("style"),s){if(!s.isConnected){o=e;let b=this.document.head;Jd(s,"nonce",p),f&&b.firstChild?b.insertBefore(s,b.firstChild):b.appendChild(s),Fh(s,{type:"text/css",media:u,nonce:p,"data-primeng-style-id":c})}s.textContent!==o&&(s.textContent=o)}return{id:d,name:c,el:s,css:o}}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $l={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},WV=`
.p-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.p-hidden-accessible input,
.p-hidden-accessible select {
transform: scale(0);
}
.p-overflow-hidden {
overflow: hidden;
padding-right: dt('scrollbar.width');
}
`,Me=(()=>{class t{name="base";useStyle=x(yk);css=void 0;style=void 0;classes={};inlineStyles={};load=(e,i={},r=o=>o)=>{let o=r(Hl`${Cn(e,{dt:vo})}`);return o?this.useStyle.use(sa(o),_({name:this.name},i)):{}};loadCSS=(e={})=>this.load(this.css,e);loadStyle=(e={},i="")=>this.load(this.style,e,(r="")=>Mt.transformCSS(e.name||this.name,`${r}${Hl`${i}`}`));loadBaseCSS=(e={})=>this.load(WV,e);loadBaseStyle=(e={},i="")=>this.load(gk,e,(r="")=>Mt.transformCSS(e.name||this.name,`${r}${Hl`${i}`}`));getCommonTheme=e=>Mt.getCommon(this.name,e);getComponentTheme=e=>Mt.getComponent(this.name,e);getPresetTheme=(e,i,r)=>Mt.getCustomPreset(this.name,e,i,r);getLayerOrderThemeCSS=()=>Mt.getLayerOrderCSS(this.name);getStyleSheet=(e="",i={})=>{if(this.css){let r=Cn(this.css,{dt:vo}),o=sa(Hl`${r}${e}`),s=Object.entries(i).reduce((a,[l,c])=>a.push(`${l}="${c}"`)&&a,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${s}>${o}</style>`}return""};getCommonThemeStyleSheet=(e,i={})=>Mt.getCommonStyleSheet(this.name,e,i);getThemeStyleSheet=(e,i={})=>{let r=[Mt.getStyleSheet(this.name,e,i)];if(this.style){let o=this.name==="base"?"global-style":`${this.name}-style`,s=Hl`${Cn(this.style,{dt:vo})}`,a=sa(Mt.transformCSS(o,s)),l=Object.entries(i).reduce((c,[d,u])=>c.push(`${d}="${u}"`)&&c,[]).join(" ");r.push(`<style type="text/css" data-primeng-style-id="${o}" ${l}>${a}</style>`)}return r.join("")};static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var GV=(()=>{class t{theme=_e(void 0);csp=_e({nonce:void 0});isThemeChanged=!1;document=x(bt);baseStyle=x(Me);constructor(){Lt(()=>{hn.on("theme:change",e=>{vn(()=>{this.isThemeChanged=!0,this.theme.set(e)})})}),Lt(()=>{let e=this.theme();this.document&&e&&(this.isThemeChanged||this.onThemeChange(e),this.isThemeChanged=!1)})}ngOnDestroy(){Mt.clearLoadedStyleNames(),hn.clear()}onThemeChange(e){Mt.setTheme(e),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!Mt.isStyleNameLoaded("common")){let{primitive:e,semantic:i,global:r,style:o}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(e?.css,_({name:"primitive-variables"},s)),this.baseStyle.load(i?.css,_({name:"semantic-variables"},s)),this.baseStyle.load(r?.css,_({name:"global-variables"},s)),this.baseStyle.loadBaseStyle(_({name:"global-style"},s),o),Mt.setLoadedStyleName("common")}}setThemeConfig(e){let{theme:i,csp:r}=e||{};i&&this.theme.set(i),r&&this.csp.set(r)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bv=(()=>{class t extends GV{ripple=_e(!1);platformId=x(Qi);inputStyle=_e(null);inputVariant=_e(null);overlayAppendTo=_e("self");overlayOptions={};csp=_e({nonce:void 0});unstyled=_e(void 0);pt=_e(void 0);ptOptions=_e(void 0);filterMatchModeOptions={text:[fn.STARTS_WITH,fn.CONTAINS,fn.NOT_CONTAINS,fn.ENDS_WITH,fn.EQUALS,fn.NOT_EQUALS],numeric:[fn.EQUALS,fn.NOT_EQUALS,fn.LESS_THAN,fn.LESS_THAN_OR_EQUAL_TO,fn.GREATER_THAN,fn.GREATER_THAN_OR_EQUAL_TO],date:[fn.DATE_IS,fn.DATE_IS_NOT,fn.DATE_BEFORE,fn.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",completed:"Completed",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize",minimizeLabel:"Minimize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new Ge;translationObserver=this.translationSource.asObservable();getTranslation(e){return this.translation[e]}setTranslation(e){this.translation=_(_({},this.translation),e),this.translationSource.next(this.translation)}setConfig(e){let{csp:i,ripple:r,inputStyle:o,inputVariant:s,theme:a,overlayOptions:l,translation:c,filterMatchModeOptions:d,overlayAppendTo:u,zIndex:p,ptOptions:f,pt:y,unstyled:b}=e||{};i&&this.csp.set(i),u&&this.overlayAppendTo.set(u),r&&this.ripple.set(r),o&&this.inputStyle.set(o),s&&this.inputVariant.set(s),l&&(this.overlayOptions=l),c&&this.setTranslation(c),d&&(this.filterMatchModeOptions=d),p&&(this.zIndex=p),y&&this.pt.set(y),f&&this.ptOptions.set(f),b&&this.unstyled.set(b),a&&this.setThemeConfig({theme:a,csp:i})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qV=new z("PRIME_NG_CONFIG");function bk(...t){let n=t?.map(i=>({provide:qV,useValue:i,multi:!1})),e=gl(()=>{let i=x(Bv);t?.forEach(r=>i.setConfig(r))});return wi([...n,e])}var vk=(()=>{class t extends Me{name="common";static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qe=new z("PARENT_INSTANCE"),ut=(()=>{class t{document=x(bt);platformId=x(Qi);el=x(un);injector=x(Bt);cd=x(Xo);renderer=x(Yi);config=x(Bv);$parentInstance=x(Qe,{optional:!0,skipSelf:!0})??void 0;baseComponentStyle=x(vk);baseStyle=x(Me);scopedStyleEl;parent=this.$params.parent;cn=is;_themeScopedListener;dt=ae();unstyled=ae();pt=ae();ptOptions=ae();$attrSelector=mt("pc");get $name(){return this.componentName||this.constructor?.name?.replace(/^_/,"")||"UnknownComponent"}get $hostName(){return this.hostName}$unstyled=We(()=>this.unstyled()!==void 0?this.unstyled():this.config?.unstyled()||!1);$pt=We(()=>Cn(this.pt()||this.directivePT(),this.$params));directivePT=_e(void 0);get $globalPT(){return this._getPT(this.config?.pt(),void 0,e=>Cn(e,this.$params))}get $defaultPT(){return this._getPT(this.config?.pt(),void 0,e=>this._getOptionValue(e,this.$hostName||this.$name,this.$params)||Cn(e,this.$params))}get $style(){return _(_({theme:void 0,css:void 0,classes:void 0,inlineStyles:void 0},(this._getHostInstance(this)||{}).$style),this._componentStyle)}get $styleOptions(){return{nonce:this.config?.csp().nonce}}get $params(){let e=this._getHostInstance(this)||this.$parentInstance;return{instance:this,parent:{instance:e}}}onInit(){}onChanges(e){}onDoCheck(){}onAfterContentInit(){}onAfterContentChecked(){}onAfterViewInit(){}onAfterViewChecked(){}onDestroy(){}constructor(){Lt(e=>{this.document&&!zb(this.platformId)&&(hn.off("theme:change",this._themeScopedListener),this.dt()?(this._loadScopedThemeStyles(this.dt()),this._themeScopedListener=()=>this._loadScopedThemeStyles(this.dt()),this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()),e(()=>{hn.off("theme:change",this._themeScopedListener)})}),Lt(e=>{this.document&&!zb(this.platformId)&&(hn.off("theme:change",this._loadCoreStyles),this.$unstyled()||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))),e(()=>{hn.off("theme:change",this._loadCoreStyles)})}),this._hook("onBeforeInit")}ngOnInit(){this._loadCoreStyles(),this._loadStyles(),this.onInit(),this._hook("onInit")}ngOnChanges(e){this.onChanges(e),this._hook("onChanges",e)}ngDoCheck(){this.onDoCheck(),this._hook("onDoCheck")}ngAfterContentInit(){this.onAfterContentInit(),this._hook("onAfterContentInit")}ngAfterContentChecked(){this.onAfterContentChecked(),this._hook("onAfterContentChecked")}ngAfterViewInit(){this.el?.nativeElement?.setAttribute(this.$attrSelector,""),this.onAfterViewInit(),this._hook("onAfterViewInit")}ngAfterViewChecked(){this.onAfterViewChecked(),this._hook("onAfterViewChecked")}ngOnDestroy(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this.onDestroy(),this._hook("onDestroy")}_mergeProps(e,...i){return Lh(e)?e(...i):Dv(...i)}_getHostInstance(e){return e?this.$hostName?this.$name===this.$hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0}_getPropValue(e){return this[e]||this._getHostInstance(this)?.[e]}_getOptionValue(e,i="",r={}){return Bh(e,i,r)}_hook(e,...i){if(!this.$hostName){let r=this._usePT(this._getPT(this.$pt(),this.$name),this._getOptionValue,`hooks.${e}`),o=this._useDefaultPT(this._getOptionValue,`hooks.${e}`);r?.(...i),o?.(...i)}}_load(){$l.isStyleNameLoaded("base")||(this.baseStyle.loadBaseCSS(this.$styleOptions),this._loadGlobalStyles(),$l.setLoadedStyleName("base")),this._loadThemeStyles()}_loadStyles(){this._load(),this._themeChangeListener(()=>this._load())}_loadGlobalStyles(){let e=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);lt(e)&&this.baseStyle.load(e,_({name:"global"},this.$styleOptions))}_loadCoreStyles(){!$l.isStyleNameLoaded(this.$style?.name)&&this.$style?.name&&(this.baseComponentStyle.loadCSS(this.$styleOptions),this.$style.loadCSS(this.$styleOptions),$l.setLoadedStyleName(this.$style.name))}_loadThemeStyles(){if(!(this.$unstyled()||this.config?.theme()==="none")){if(!Mt.isStyleNameLoaded("common")){let{primitive:e,semantic:i,global:r,style:o}=this.$style?.getCommonTheme?.()||{};this.baseStyle.load(e?.css,_({name:"primitive-variables"},this.$styleOptions)),this.baseStyle.load(i?.css,_({name:"semantic-variables"},this.$styleOptions)),this.baseStyle.load(r?.css,_({name:"global-variables"},this.$styleOptions)),this.baseStyle.loadBaseStyle(_({name:"global-style"},this.$styleOptions),o),Mt.setLoadedStyleName("common")}if(!Mt.isStyleNameLoaded(this.$style?.name)&&this.$style?.name){let{css:e,style:i}=this.$style?.getComponentTheme?.()||{};this.$style?.load(e,_({name:`${this.$style?.name}-variables`},this.$styleOptions)),this.$style?.loadStyle(_({name:`${this.$style?.name}-style`},this.$styleOptions),i),Mt.setLoadedStyleName(this.$style?.name)}if(!Mt.isStyleNameLoaded("layer-order")){let e=this.$style?.getLayerOrderThemeCSS?.();this.baseStyle.load(e,_({name:"layer-order",first:!0},this.$styleOptions)),Mt.setLoadedStyleName("layer-order")}}}_loadScopedThemeStyles(e){let{css:i}=this.$style?.getPresetTheme?.(e,`[${this.$attrSelector}]`)||{},r=this.$style?.load(i,_({name:`${this.$attrSelector}-${this.$style?.name}`},this.$styleOptions));this.scopedStyleEl=r?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(e=()=>{}){$l.clearLoadedStyleNames(),hn.on("theme:change",e.bind(this))}_removeThemeListeners(){hn.off("theme:change",this._loadCoreStyles),hn.off("theme:change",this._load),hn.off("theme:change",this._themeScopedListener)}_getPTValue(e={},i="",r={},o=!0){let s=/./g.test(i)&&!!r[i.split(".")[0]],{mergeSections:a=!0,mergeProps:l=!1}=this._getPropValue("ptOptions")?.()||this.config?.ptOptions?.()||{},c=o?s?this._useGlobalPT(this._getPTClassValue,i,r):this._useDefaultPT(this._getPTClassValue,i,r):void 0,d=s?void 0:this._usePT(this._getPT(e,this.$hostName||this.$name),this._getPTClassValue,i,A(_({},r),{global:c||{}})),u=this._getPTDatasets(i);return a||!a&&d?l?this._mergeProps(l,c,d,u):_(_(_({},c),d),u):_(_({},d),u)}_getPTDatasets(e=""){let i="data-pc-",r=e==="root"&&lt(this.$pt()?.["data-pc-section"]);return e!=="transition"&&A(_({},e==="root"&&A(_({[`${i}name`]:rs(r?this.$pt()?.["data-pc-section"]:this.$name)},r&&{[`${i}extend`]:rs(this.$name)}),{[`${this.$attrSelector}`]:""})),{[`${i}section`]:rs(e.includes(".")?e.split(".").at(-1)??"":e)})}_getPTClassValue(e,i,r){let o=this._getOptionValue(e,i,r);return Ai(o)||Rv(o)?{class:o}:o}_getPT(e,i="",r){let o=(s,a=!1)=>{let l=r?r(s):s,c=rs(i),d=rs(this.$hostName||this.$name);return(a?c!==d?l?.[c]:void 0:l?.[c])??l};return e?.hasOwnProperty("_usept")?{_usept:e._usept,originalValue:o(e.originalValue),value:o(e.value)}:o(e,!0)}_usePT(e,i,r,o){let s=a=>i?.call(this,a,r,o);if(e?.hasOwnProperty("_usept")){let{mergeSections:a=!0,mergeProps:l=!1}=e._usept||this.config?.ptOptions()||{},c=s(e.originalValue),d=s(e.value);return c===void 0&&d===void 0?void 0:Ai(d)?d:Ai(c)?c:a||!a&&d?l?this._mergeProps(l,c,d):_(_({},c),d):d}return s(e)}_useGlobalPT(e,i,r){return this._usePT(this.$globalPT,e,i,r)}_useDefaultPT(e,i,r){return this._usePT(this.$defaultPT,e,i,r)}ptm(e="",i={}){return this._getPTValue(this.$pt(),e,_(_({},this.$params),i))}ptms(e,i={}){return e.reduce((r,o)=>(r=Dv(r,this.ptm(o,i))||{},r),{})}ptmo(e={},i="",r={}){return this._getPTValue(e,i,_({instance:this},r),!1)}cx(e,i={}){return this.$unstyled()?void 0:is(this._getOptionValue(this.$style.classes,e,_(_({},this.$params),i)))}sx(e="",i=!0,r={}){if(i){let o=this._getOptionValue(this.$style.inlineStyles,e,_(_({},this.$params),r)),s=this._getOptionValue(this.baseComponentStyle.inlineStyles,e,_(_({},this.$params),r));return _(_({},s),o)}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Ye({type:t,inputs:{dt:[1,"dt"],unstyled:[1,"unstyled"],pt:[1,"pt"],ptOptions:[1,"ptOptions"]},features:[Se([vk,Me]),po]})}return t})();var Ie=(()=>{class t{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(e,i){e&&i&&(e.classList?e.classList.add(i):e.className+=" "+i)}static addMultipleClasses(e,i){if(e&&i)if(e.classList){let r=i.trim().split(" ");for(let o=0;o<r.length;o++)e.classList.add(r[o])}else{let r=i.split(" ");for(let o=0;o<r.length;o++)e.className+=" "+r[o]}}static removeClass(e,i){e&&i&&(e.classList?e.classList.remove(i):e.className=e.className.replace(new RegExp("(^|\\b)"+i.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(e,i){e&&i&&[i].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(o=>this.removeClass(e,o)))}static hasClass(e,i){return e&&i?e.classList?e.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(e.className):!1}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(i){return i!==e})}static find(e,i){return Array.from(e.querySelectorAll(i))}static findSingle(e,i){return this.isElement(e)?e.querySelector(i):null}static index(e){let i=e.parentNode.childNodes,r=0;for(var o=0;o<i.length;o++){if(i[o]==e)return r;i[o].nodeType==1&&r++}return-1}static indexWithinGroup(e,i){let r=e.parentNode?e.parentNode.childNodes:[],o=0;for(var s=0;s<r.length;s++){if(r[s]==e)return o;r[s].attributes&&r[s].attributes[i]&&r[s].nodeType==1&&o++}return-1}static appendOverlay(e,i,r="self"){r!=="self"&&e&&i&&this.appendChild(e,i)}static alignOverlay(e,i,r="self",o=!0){e&&i&&(o&&(e.style.minWidth=`${t.getOuterWidth(i)}px`),r==="self"?this.relativePosition(e,i):this.absolutePosition(e,i))}static relativePosition(e,i,r=!0){let o=P=>{if(P)return getComputedStyle(P).getPropertyValue("position")==="relative"?P:o(P.parentElement)},s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),a=i.offsetHeight,l=i.getBoundingClientRect(),c=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),u=this.getViewport(),f=o(e)?.getBoundingClientRect()||{top:-1*c,left:-1*d},y,b,v="top";l.top+a+s.height>u.height?(y=l.top-f.top-s.height,v="bottom",l.top+y<0&&(y=-1*l.top)):(y=a+l.top-f.top,v="top");let w=l.left+s.width-u.width,D=l.left-f.left;if(s.width>u.width?b=(l.left-f.left)*-1:w>0?b=D-w:b=l.left-f.left,e.style.top=y+"px",e.style.left=b+"px",e.style.transformOrigin=v,r){let P=qd(/-anchor-gutter$/)?.value;e.style.marginTop=v==="bottom"?`calc(${P??"2px"} * -1)`:P??""}}static absolutePosition(e,i,r=!0){let o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=o.height,a=o.width,l=i.offsetHeight,c=i.offsetWidth,d=i.getBoundingClientRect(),u=this.getWindowScrollTop(),p=this.getWindowScrollLeft(),f=this.getViewport(),y,b;d.top+l+s>f.height?(y=d.top+u-s,e.style.transformOrigin="bottom",y<0&&(y=u)):(y=l+d.top+u,e.style.transformOrigin="top"),d.left+a>f.width?b=Math.max(0,d.left+p+c-a):b=d.left+p,e.style.top=y+"px",e.style.left=b+"px",r&&(e.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(e,i=[]){return e.parentNode===null?i:this.getParents(e.parentNode,i.concat([e.parentNode]))}static getScrollableParents(e){let i=[];if(e){let r=this.getParents(e),o=/(auto|scroll)/,s=a=>{let l=window.getComputedStyle(a,null);return o.test(l.getPropertyValue("overflow"))||o.test(l.getPropertyValue("overflowX"))||o.test(l.getPropertyValue("overflowY"))};for(let a of r){let l=a.nodeType===1&&a.dataset.scrollselectors;if(l){let c=l.split(",");for(let d of c){let u=this.findSingle(a,d);u&&s(u)&&i.push(u)}}a.nodeType!==9&&s(a)&&i.push(a)}}return i}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementDimensions(e){let i={};return e.style.visibility="hidden",e.style.display="block",i.width=e.offsetWidth,i.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",i}static scrollInView(e,i){let r=getComputedStyle(e).getPropertyValue("borderTopWidth"),o=r?parseFloat(r):0,s=getComputedStyle(e).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,l=e.getBoundingClientRect(),d=i.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-o-a,u=e.scrollTop,p=e.clientHeight,f=this.getOuterHeight(i);d<0?e.scrollTop=u+d:d+f>p&&(e.scrollTop=u+d-p+f)}static fadeIn(e,i){e.style.opacity=0;let r=+new Date,o=0,s=function(){o=+e.style.opacity.replace(",",".")+(new Date().getTime()-r)/i,e.style.opacity=o,r=+new Date,+o<1&&(window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,16))};s()}static fadeOut(e,i){var r=1,o=50,s=i,a=o/s;let l=setInterval(()=>{r=r-a,r<=0&&(r=0,clearInterval(l)),e.style.opacity=r},o)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,i){var r=Element.prototype,o=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||function(s){return[].indexOf.call(document.querySelectorAll(s),this)!==-1};return o.call(e,i)}static getOuterWidth(e,i){let r=e.offsetWidth;if(i){let o=getComputedStyle(e);r+=parseFloat(o.marginLeft)+parseFloat(o.marginRight)}return r}static getHorizontalPadding(e){let i=getComputedStyle(e);return parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)}static getHorizontalMargin(e){let i=getComputedStyle(e);return parseFloat(i.marginLeft)+parseFloat(i.marginRight)}static innerWidth(e){let i=e.offsetWidth,r=getComputedStyle(e);return i+=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),i}static width(e){let i=e.offsetWidth,r=getComputedStyle(e);return i-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),i}static getInnerHeight(e){let i=e.offsetHeight,r=getComputedStyle(e);return i+=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),i}static getOuterHeight(e,i){let r=e.offsetHeight;if(i){let o=getComputedStyle(e);r+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return r}static getHeight(e){let i=e.offsetHeight,r=getComputedStyle(e);return i-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),i}static getWidth(e){let i=e.offsetWidth,r=getComputedStyle(e);return i-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),i}static getViewport(){let e=window,i=document,r=i.documentElement,o=i.getElementsByTagName("body")[0],s=e.innerWidth||r.clientWidth||o.clientWidth,a=e.innerHeight||r.clientHeight||o.clientHeight;return{width:s,height:a}}static getOffset(e){var i=e.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,i){let r=e.parentNode;if(!r)throw"Can't replace element";return r.replaceChild(i,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent,i=e.indexOf("MSIE ");if(i>0)return!0;var r=e.indexOf("Trident/");if(r>0){var o=e.indexOf("rv:");return!0}var s=e.indexOf("Edge/");return s>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,i){if(this.isElement(i))i.appendChild(e);else if(i&&i.el&&i.el.nativeElement)i.el.nativeElement.appendChild(e);else throw"Cannot append "+i+" to "+e}static removeChild(e,i){if(this.isElement(i))i.removeChild(e);else if(i.el&&i.el.nativeElement)i.el.nativeElement.removeChild(e);else throw"Cannot remove "+e+" from "+i}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode?.removeChild(e)}static isElement(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}static calculateScrollbarWidth(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);let r=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=r,r}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let i=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=i,i}static invokeElementMethod(e,i,r){e[i].apply(e,r)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:i[1]||"",version:i[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||e.offsetParent===null}static isVisible(e){return e&&e.offsetParent!=null}static isExist(e){return e!==null&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,i){e&&document.activeElement!==e&&e.focus(i)}static getFocusableSelectorString(e=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
[href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
[tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
.p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
.p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`}static getFocusableElements(e,i=""){let r=this.find(e,this.getFocusableSelectorString(i)),o=[];for(let s of r){let a=getComputedStyle(s);this.isVisible(s)&&a.display!="none"&&a.visibility!="hidden"&&o.push(s)}return o}static getFocusableElement(e,i=""){let r=this.findSingle(e,this.getFocusableSelectorString(i));if(r){let o=getComputedStyle(r);if(this.isVisible(r)&&o.display!="none"&&o.visibility!="hidden")return r}return null}static getFirstFocusableElement(e,i=""){let r=this.getFocusableElements(e,i);return r.length>0?r[0]:null}static getLastFocusableElement(e,i){let r=this.getFocusableElements(e,i);return r.length>0?r[r.length-1]:null}static getNextFocusableElement(e,i=!1){let r=t.getFocusableElements(e),o=0;if(r&&r.length>0){let s=r.indexOf(r[0].ownerDocument.activeElement);i?s==-1||s===0?o=r.length-1:o=s-1:s!=-1&&s!==r.length-1&&(o=s+1)}return r[o]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection()?.toString():document.getSelection?document.getSelection()?.toString():document.selection?document.selection.createRange().text:null}static getTargetElement(e,i){if(!e)return null;switch(e){case"document":return document;case"window":return window;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return i?.parentElement?.parentElement;default:let r=typeof e;if(r==="string")return document.querySelector(e);if(r==="object"&&e.hasOwnProperty("nativeElement"))return this.isExist(e.nativeElement)?e.nativeElement:void 0;let s=(a=>!!(a&&a.constructor&&a.call&&a.apply))(e)?e():e;return s&&s.nodeType===9||this.isExist(s)?s:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(e,i){if(e){let r=e.getAttribute(i);return isNaN(r)?r==="true"||r==="false"?r==="true":r:+r}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(e="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,e)}static unblockBodyScroll(e="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,e)}static createElement(e,i={},...r){if(e){let o=document.createElement(e);return this.setAttributes(o,i),o.append(...r),o}}static setAttribute(e,i="",r){this.isElement(e)&&r!==null&&r!==void 0&&e.setAttribute(i,r)}static setAttributes(e,i={}){if(this.isElement(e)){let r=(o,s)=>{let a=e?.$attrs?.[o]?[e?.$attrs?.[o]]:[];return[s].flat().reduce((l,c)=>{if(c!=null){let d=typeof c;if(d==="string"||d==="number")l.push(c);else if(d==="object"){let u=Array.isArray(c)?r(o,c):Object.entries(c).map(([p,f])=>o==="style"&&(f||f===0)?`${p.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${f}`:f?p:void 0);l=u.length?l.concat(u.filter(p=>!!p)):l}}return l},a)};Object.entries(i).forEach(([o,s])=>{if(s!=null){let a=o.match(/^on(.+)/);a?e.addEventListener(a[1].toLowerCase(),s):o==="pBind"?this.setAttributes(e,s):(s=o==="class"?[...new Set(r("class",s))].join(" ").trim():o==="style"?r("style",s).join(";").trim():s,(e.$attrs=e.$attrs||{})&&(e.$attrs[o]=s),e.setAttribute(o,s))}})}}static isFocusableElement(e,i=""){return this.isElement(e)?e.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
[href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
[tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}`):!1}}return t})();function _k(){kD({variableName:Lv("scrollbar.width").name})}function Hh(){MD({variableName:Lv("scrollbar.width").name})}var _o=class{element;listener;scrollableParents;constructor(n,e=()=>{}){this.element=n,this.listener=e}bindScrollListener(){this.scrollableParents=Ie.getScrollableParents(this.element);for(let n=0;n<this.scrollableParents.length;n++)this.scrollableParents[n].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let n=0;n<this.scrollableParents.length;n++)this.scrollableParents[n].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}};var Hr=(()=>{class t extends ut{autofocus=!1;focused=!1;platformId=x(Qi);document=x(bt);host=x(un);onAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){kn(this.platformId)&&this.autofocus&&setTimeout(()=>{let e=Ie.getFocusableElements(this.host?.nativeElement);e.length===0&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275dir=Ye({type:t,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[j]})}return t})();var te=(()=>{class t{el;renderer;pBind=ae(void 0);_attrs=_e(void 0);attrs=We(()=>this._attrs()||this.pBind());styles=We(()=>this.attrs()?.style);classes=We(()=>is(this.attrs()?.class));listeners=[];constructor(e,i){this.el=e,this.renderer=i,Lt(()=>{let a=this.attrs()||{},{style:r,class:o}=a,s=Et(a,["style","class"]);for(let[l,c]of Object.entries(s))if(l.startsWith("on")&&typeof c=="function"){let d=l.slice(2).toLowerCase();if(!this.listeners.some(u=>u.eventName===d)){let u=this.renderer.listen(this.el.nativeElement,d,c);this.listeners.push({eventName:d,unlisten:u})}}else c==null?this.renderer.removeAttribute(this.el.nativeElement,l):(this.renderer.setAttribute(this.el.nativeElement,l,c.toString()),l in this.el.nativeElement&&(this.el.nativeElement[l]=c))})}ngOnDestroy(){this.clearListeners()}setAttrs(e){ei(this._attrs(),e)||this._attrs.set(e)}clearListeners(){this.listeners.forEach(({unlisten:e})=>e()),this.listeners=[]}static \u0275fac=function(i){return new(i||t)(me(un),me(Yi))};static \u0275dir=Ye({type:t,selectors:[["","pBind",""]],hostVars:4,hostBindings:function(i,r){i&2&&(Dn(r.styles()),k(r.classes()))},inputs:{pBind:[1,"pBind"]}})}return t})(),Wt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({})}return t})();var wk=`
.p-badge {
display: inline-flex;
border-radius: dt('badge.border.radius');
align-items: center;
justify-content: center;
padding: dt('badge.padding');
background: dt('badge.primary.background');
color: dt('badge.primary.color');
font-size: dt('badge.font.size');
font-weight: dt('badge.font.weight');
min-width: dt('badge.min.width');
height: dt('badge.height');
}
.p-badge-dot {
width: dt('badge.dot.size');
min-width: dt('badge.dot.size');
height: dt('badge.dot.size');
border-radius: 50%;
padding: 0;
}
.p-badge-circle {
padding: 0;
border-radius: 50%;
}
.p-badge-secondary {
background: dt('badge.secondary.background');
color: dt('badge.secondary.color');
}
.p-badge-success {
background: dt('badge.success.background');
color: dt('badge.success.color');
}
.p-badge-info {
background: dt('badge.info.background');
color: dt('badge.info.color');
}
.p-badge-warn {
background: dt('badge.warn.background');
color: dt('badge.warn.color');
}
.p-badge-danger {
background: dt('badge.danger.background');
color: dt('badge.danger.color');
}
.p-badge-contrast {
background: dt('badge.contrast.background');
color: dt('badge.contrast.color');
}
.p-badge-sm {
font-size: dt('badge.sm.font.size');
min-width: dt('badge.sm.min.width');
height: dt('badge.sm.height');
}
.p-badge-lg {
font-size: dt('badge.lg.font.size');
min-width: dt('badge.lg.min.width');
height: dt('badge.lg.height');
}
.p-badge-xl {
font-size: dt('badge.xl.font.size');
min-width: dt('badge.xl.min.width');
height: dt('badge.xl.height');
}
`;var QV=`
${wk}
/* For PrimeNG (directive)*/
.p-overlay-badge {
position: relative;
}
.p-overlay-badge > .p-badge {
position: absolute;
top: 0;
inset-inline-end: 0;
transform: translate(50%, -50%);
transform-origin: 100% 0;
margin: 0;
}
`,KV={root:({instance:t})=>{let n=typeof t.value=="function"?t.value():t.value,e=typeof t.size=="function"?t.size():t.size,i=typeof t.badgeSize=="function"?t.badgeSize():t.badgeSize,r=typeof t.severity=="function"?t.severity():t.severity;return["p-badge p-component",{"p-badge-circle":lt(n)&&String(n).length===1,"p-badge-dot":zr(n),"p-badge-sm":e==="small"||i==="small","p-badge-lg":e==="large"||i==="large","p-badge-xl":e==="xlarge"||i==="xlarge","p-badge-info":r==="info","p-badge-success":r==="success","p-badge-warn":r==="warn","p-badge-danger":r==="danger","p-badge-secondary":r==="secondary","p-badge-contrast":r==="contrast"}]}},Ck=(()=>{class t extends Me{name="badge";style=QV;classes=KV;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var xk=new z("BADGE_INSTANCE");var Vv=(()=>{class t extends ut{$pcBadge=x(xk,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass=ae();badgeSize=ae();size=ae();severity=ae();value=ae();badgeDisabled=ae(!1,{transform:R});_componentStyle=x(Ck);static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-badge"]],hostVars:4,hostBindings:function(i,r){i&2&&(k(r.cn(r.cx("root"),r.styleClass())),Jn("display",r.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[Se([Ck,{provide:xk,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],decls:1,vars:1,template:function(i,r){i&1&&ce(0),i&2&&Xe(r.value())},dependencies:[qe,xe,Wt],encapsulation:2,changeDetection:0})}return t})(),$h=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[Vv,xe,xe]})}return t})();var ZV=["*"],JV={root:"p-fluid"},Tk=(()=>{class t extends Me{name="fluid";classes=JV;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var Ek=new z("FLUID_INSTANCE"),Ul=(()=>{class t extends ut{$pcFluid=x(Ek,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=x(Tk);static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(i,r){i&2&&k(r.cx("root"))},features:[Se([Tk,{provide:Ek,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],ngContentSelectors:ZV,decls:1,vars:0,template:function(i,r){i&1&&(zt(),Ot(0))},dependencies:[qe],encapsulation:2,changeDetection:0})}return t})();var XV=["*"],e6=`
.p-icon {
display: inline-block;
vertical-align: baseline;
flex-shrink: 0;
}
.p-icon-spin {
-webkit-animation: p-icon-spin 2s infinite linear;
animation: p-icon-spin 2s infinite linear;
}
@-webkit-keyframes p-icon-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes p-icon-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
`,Sk=(()=>{class t extends Me{name="baseicon";css=e6;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var we=(()=>{class t extends ut{spin=!1;_componentStyle=x(Sk);getClassNames(){return is("p-icon",{"p-icon-spin":this.spin})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["ng-component"]],hostAttrs:["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],hostVars:2,hostBindings:function(i,r){i&2&&k(r.getClassNames())},inputs:{spin:[2,"spin","spin",R]},features:[Se([Sk]),j],ngContentSelectors:XV,decls:1,vars:0,template:function(i,r){i&1&&(zt(),Ot(0))},encapsulation:2,changeDetection:0})}return t})();var t6=["data-p-icon","angle-double-left"],Ik=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","angle-double-left"]],features:[j],attrs:t6,decls:1,vars:0,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var n6=["data-p-icon","angle-double-right"],Dk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","angle-double-right"]],features:[j],attrs:n6,decls:1,vars:0,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var i6=["data-p-icon","angle-down"],kk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","angle-down"]],features:[j],attrs:i6,decls:1,vars:0,consts:[["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var r6=["data-p-icon","angle-left"],Mk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","angle-left"]],features:[j],attrs:r6,decls:1,vars:0,consts:[["d","M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var o6=["data-p-icon","angle-right"],Ok=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","angle-right"]],features:[j],attrs:o6,decls:1,vars:0,consts:[["d","M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var s6=["data-p-icon","angle-up"],Rk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","angle-up"]],features:[j],attrs:s6,decls:1,vars:0,consts:[["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var a6=["data-p-icon","arrow-down"],jv=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","arrow-down"]],features:[j],attrs:a6,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var l6=["data-p-icon","arrow-up"],zv=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","arrow-up"]],features:[j],attrs:l6,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var c6=["data-p-icon","blank"],Pk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","blank"]],features:[j],attrs:c6,decls:1,vars:0,consts:[["width","1","height","1","fill","currentColor","fill-opacity","0"]],template:function(i,r){i&1&&(G(),de(0,"rect",0))},encapsulation:2})}return t})();var d6=["data-p-icon","calendar"],Ak=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","calendar"]],features:[j],attrs:d6,decls:1,vars:0,consts:[["d","M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var u6=["data-p-icon","check"],Uh=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","check"]],features:[j],attrs:u6,decls:1,vars:0,consts:[["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var p6=["data-p-icon","chevron-down"],Wh=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","chevron-down"]],features:[j],attrs:p6,decls:1,vars:0,consts:[["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var f6=["data-p-icon","chevron-left"],Nk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","chevron-left"]],features:[j],attrs:f6,decls:1,vars:0,consts:[["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var h6=["data-p-icon","chevron-right"],Fk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","chevron-right"]],features:[j],attrs:h6,decls:1,vars:0,consts:[["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var m6=["data-p-icon","chevron-up"],Lk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","chevron-up"]],features:[j],attrs:m6,decls:1,vars:0,consts:[["d","M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var g6=["data-p-icon","filter"],Bk=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","filter"]],features:[j],attrs:g6,decls:5,vars:2,consts:[["d","M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var y6=["data-p-icon","filter-slash"],Vk=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","filter-slash"]],features:[j],attrs:y6,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var b6=["data-p-icon","minus"],jk=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","minus"]],features:[j],attrs:b6,decls:1,vars:0,consts:[["d","M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var v6=["data-p-icon","plus"],zk=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","plus"]],features:[j],attrs:v6,decls:5,vars:2,consts:[["d","M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var _6=["data-p-icon","search"],Hk=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","search"]],features:[j],attrs:_6,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var w6=["data-p-icon","sort-alt"],$k=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","sort-alt"]],features:[j],attrs:w6,decls:8,vars:2,consts:[["d","M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z","fill","currentColor"],["d","M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z","fill","currentColor"],["d","M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z","fill","currentColor"],["d","M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0)(2,"path",1)(3,"path",2)(4,"path",3),Je(),Ze(5,"defs")(6,"clipPath",4),de(7,"rect",5),Je()()),i&2&&(J("clip-path",r.pathId),g(6),Ft("id",r.pathId))},encapsulation:2})}return t})();var C6=["data-p-icon","sort-amount-down"],Uk=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","sort-amount-down"]],features:[j],attrs:C6,decls:5,vars:2,consts:[["d","M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var x6=["data-p-icon","sort-amount-up-alt"],Wk=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","sort-amount-up-alt"]],features:[j],attrs:x6,decls:5,vars:2,consts:[["d","M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var T6=["data-p-icon","spinner"],wo=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","spinner"]],features:[j],attrs:T6,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var E6=["data-p-icon","times"],Wl=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","times"]],features:[j],attrs:E6,decls:1,vars:0,consts:[["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var S6=["data-p-icon","trash"],Gk=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+mt()+")"}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","trash"]],features:[j],attrs:S6,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M3.44802 13.9955H10.552C10.8056 14.0129 11.06 13.9797 11.3006 13.898C11.5412 13.8163 11.7632 13.6877 11.9537 13.5196C12.1442 13.3515 12.2995 13.1473 12.4104 12.9188C12.5213 12.6903 12.5858 12.442 12.6 12.1884V4.36041H13.4C13.5591 4.36041 13.7117 4.29722 13.8243 4.18476C13.9368 4.07229 14 3.91976 14 3.76071C14 3.60166 13.9368 3.44912 13.8243 3.33666C13.7117 3.22419 13.5591 3.16101 13.4 3.16101H12.0537C12.0203 3.1557 11.9863 3.15299 11.952 3.15299C11.9178 3.15299 11.8838 3.1557 11.8503 3.16101H11.2285C11.2421 3.10893 11.2487 3.05513 11.248 3.00106V1.80966C11.2171 1.30262 10.9871 0.828306 10.608 0.48989C10.229 0.151475 9.73159 -0.0236625 9.22402 0.00257442H4.77602C4.27251 -0.0171866 3.78126 0.160868 3.40746 0.498617C3.03365 0.836366 2.807 1.30697 2.77602 1.80966V3.00106C2.77602 3.0556 2.78346 3.10936 2.79776 3.16101H0.6C0.521207 3.16101 0.443185 3.17652 0.37039 3.20666C0.297595 3.2368 0.231451 3.28097 0.175736 3.33666C0.120021 3.39235 0.0758251 3.45846 0.0456722 3.53121C0.0155194 3.60397 0 3.68196 0 3.76071C0 3.83946 0.0155194 3.91744 0.0456722 3.9902C0.0758251 4.06296 0.120021 4.12907 0.175736 4.18476C0.231451 4.24045 0.297595 4.28462 0.37039 4.31476C0.443185 4.3449 0.521207 4.36041 0.6 4.36041H1.40002V12.1884C1.41426 12.442 1.47871 12.6903 1.58965 12.9188C1.7006 13.1473 1.85582 13.3515 2.04633 13.5196C2.23683 13.6877 2.45882 13.8163 2.69944 13.898C2.94005 13.9797 3.1945 14.0129 3.44802 13.9955ZM2.60002 4.36041H11.304V12.1884C11.304 12.5163 10.952 12.7961 10.504 12.7961H3.40002C2.97602 12.7961 2.60002 12.5163 2.60002 12.1884V4.36041ZM3.95429 3.16101C3.96859 3.10936 3.97602 3.0556 3.97602 3.00106V1.80966C3.97602 1.48183 4.33602 1.20197 4.77602 1.20197H9.24802C9.66403 1.20197 10.048 1.48183 10.048 1.80966V3.00106C10.0473 3.05515 10.054 3.10896 10.0678 3.16101H3.95429ZM5.57571 10.997C5.41731 10.995 5.26597 10.9311 5.15395 10.8191C5.04193 10.7071 4.97808 10.5558 4.97601 10.3973V6.77517C4.97601 6.61612 5.0392 6.46359 5.15166 6.35112C5.26413 6.23866 5.41666 6.17548 5.57571 6.17548C5.73476 6.17548 5.8873 6.23866 5.99976 6.35112C6.11223 6.46359 6.17541 6.61612 6.17541 6.77517V10.3894C6.17647 10.4688 6.16174 10.5476 6.13208 10.6213C6.10241 10.695 6.05841 10.762 6.00261 10.8186C5.94682 10.8751 5.88035 10.92 5.80707 10.9506C5.73378 10.9813 5.65514 10.9971 5.57571 10.997ZM7.99968 10.8214C8.11215 10.9339 8.26468 10.997 8.42373 10.997C8.58351 10.9949 8.73604 10.93 8.84828 10.8163C8.96052 10.7025 9.02345 10.5491 9.02343 10.3894V6.77517C9.02343 6.61612 8.96025 6.46359 8.84778 6.35112C8.73532 6.23866 8.58278 6.17548 8.42373 6.17548C8.26468 6.17548 8.11215 6.23866 7.99968 6.35112C7.88722 6.46359 7.82404 6.61612 7.82404 6.77517V10.3973C7.82404 10.5564 7.88722 10.7089 7.99968 10.8214Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,r){i&1&&(G(),Ze(0,"g"),de(1,"path",0),Je(),Ze(2,"defs")(3,"clipPath",1),de(4,"rect",2),Je()()),i&2&&(J("clip-path",r.pathId),g(3),Ft("id",r.pathId))},encapsulation:2})}return t})();var qk=`
.p-ink {
display: block;
position: absolute;
background: dt('ripple.background');
border-radius: 100%;
transform: scale(0);
pointer-events: none;
}
.p-ink-active {
animation: ripple 0.4s linear;
}
@keyframes ripple {
100% {
opacity: 0;
transform: scale(2.5);
}
}
`;var I6=`
${qk}
/* For PrimeNG */
.p-ripple {
overflow: hidden;
position: relative;
}
.p-ripple-disabled .p-ink {
display: none !important;
}
@keyframes ripple {
100% {
opacity: 0;
transform: scale(2.5);
}
}
`,D6={root:"p-ink"},Qk=(()=>{class t extends Me{name="ripple";style=I6;classes=D6;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var $r=(()=>{class t extends ut{zone=x($e);_componentStyle=x(Qk);animationListener;mouseDownListener;timeout;constructor(){super(),Lt(()=>{kn(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(e){let i=this.getInk();if(!i||this.document.defaultView?.getComputedStyle(i,null).display==="none")return;if(Lr(i,"p-ink-active"),!Vr(i)&&!jr(i)){let a=Math.max(Mn(this.el.nativeElement),ir(this.el.nativeElement));i.style.height=a+"px",i.style.width=a+"px"}let r=jD(this.el.nativeElement),o=e.pageX-r.left+this.document.body.scrollTop-jr(i)/2,s=e.pageY-r.top+this.document.body.scrollLeft-Vr(i)/2;this.renderer.setStyle(i,"top",s+"px"),this.renderer.setStyle(i,"left",o+"px"),tr(i,"p-ink-active"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&Lr(a,"p-ink-active")},401)}getInk(){let e=this.el.nativeElement.children;for(let i=0;i<e.length;i++)if(typeof e[i].className=="string"&&e[i].className.indexOf("p-ink")!==-1)return e[i];return null}resetInk(){let e=this.getInk();e&&Lr(e,"p-ink-active")}onAnimationEnd(e){this.timeout&&clearTimeout(this.timeout),Lr(e.currentTarget,"p-ink-active")}create(){let e=this.renderer.createElement("span");this.renderer.addClass(e,"p-ink"),this.renderer.appendChild(this.el.nativeElement,e),this.renderer.setAttribute(e,"aria-hidden","true"),this.renderer.setAttribute(e,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(e,"animationend",this.onAnimationEnd.bind(this)))}remove(){let e=this.getInk();e&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,HD(e))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Ye({type:t,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[Se([Qk]),j]})}return t})();var Kk=`
.p-button {
display: inline-flex;
cursor: pointer;
user-select: none;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
color: dt('button.primary.color');
background: dt('button.primary.background');
border: 1px solid dt('button.primary.border.color');
padding: dt('button.padding.y') dt('button.padding.x');
font-size: 1rem;
font-family: inherit;
font-feature-settings: inherit;
transition:
background dt('button.transition.duration'),
color dt('button.transition.duration'),
border-color dt('button.transition.duration'),
outline-color dt('button.transition.duration'),
box-shadow dt('button.transition.duration');
border-radius: dt('button.border.radius');
outline-color: transparent;
gap: dt('button.gap');
}
.p-button:disabled {
cursor: default;
}
.p-button-icon-right {
order: 1;
}
.p-button-icon-right:dir(rtl) {
order: -1;
}
.p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
order: 1;
}
.p-button-icon-bottom {
order: 2;
}
.p-button-icon-only {
width: dt('button.icon.only.width');
padding-inline-start: 0;
padding-inline-end: 0;
gap: 0;
}
.p-button-icon-only.p-button-rounded {
border-radius: 50%;
height: dt('button.icon.only.width');
}
.p-button-icon-only .p-button-label {
visibility: hidden;
width: 0;
}
.p-button-icon-only::after {
content: "\0A0";
visibility: hidden;
width: 0;
}
.p-button-sm {
font-size: dt('button.sm.font.size');
padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
}
.p-button-sm .p-button-icon {
font-size: dt('button.sm.font.size');
}
.p-button-sm.p-button-icon-only {
width: dt('button.sm.icon.only.width');
}
.p-button-sm.p-button-icon-only.p-button-rounded {
height: dt('button.sm.icon.only.width');
}
.p-button-lg {
font-size: dt('button.lg.font.size');
padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
}
.p-button-lg .p-button-icon {
font-size: dt('button.lg.font.size');
}
.p-button-lg.p-button-icon-only {
width: dt('button.lg.icon.only.width');
}
.p-button-lg.p-button-icon-only.p-button-rounded {
height: dt('button.lg.icon.only.width');
}
.p-button-vertical {
flex-direction: column;
}
.p-button-label {
font-weight: dt('button.label.font.weight');
}
.p-button-fluid {
width: 100%;
}
.p-button-fluid.p-button-icon-only {
width: dt('button.icon.only.width');
}
.p-button:not(:disabled):hover {
background: dt('button.primary.hover.background');
border: 1px solid dt('button.primary.hover.border.color');
color: dt('button.primary.hover.color');
}
.p-button:not(:disabled):active {
background: dt('button.primary.active.background');
border: 1px solid dt('button.primary.active.border.color');
color: dt('button.primary.active.color');
}
.p-button:focus-visible {
box-shadow: dt('button.primary.focus.ring.shadow');
outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
outline-offset: dt('button.focus.ring.offset');
}
.p-button .p-badge {
min-width: dt('button.badge.size');
height: dt('button.badge.size');
line-height: dt('button.badge.size');
}
.p-button-raised {
box-shadow: dt('button.raised.shadow');
}
.p-button-rounded {
border-radius: dt('button.rounded.border.radius');
}
.p-button-secondary {
background: dt('button.secondary.background');
border: 1px solid dt('button.secondary.border.color');
color: dt('button.secondary.color');
}
.p-button-secondary:not(:disabled):hover {
background: dt('button.secondary.hover.background');
border: 1px solid dt('button.secondary.hover.border.color');
color: dt('button.secondary.hover.color');
}
.p-button-secondary:not(:disabled):active {
background: dt('button.secondary.active.background');
border: 1px solid dt('button.secondary.active.border.color');
color: dt('button.secondary.active.color');
}
.p-button-secondary:focus-visible {
outline-color: dt('button.secondary.focus.ring.color');
box-shadow: dt('button.secondary.focus.ring.shadow');
}
.p-button-success {
background: dt('button.success.background');
border: 1px solid dt('button.success.border.color');
color: dt('button.success.color');
}
.p-button-success:not(:disabled):hover {
background: dt('button.success.hover.background');
border: 1px solid dt('button.success.hover.border.color');
color: dt('button.success.hover.color');
}
.p-button-success:not(:disabled):active {
background: dt('button.success.active.background');
border: 1px solid dt('button.success.active.border.color');
color: dt('button.success.active.color');
}
.p-button-success:focus-visible {
outline-color: dt('button.success.focus.ring.color');
box-shadow: dt('button.success.focus.ring.shadow');
}
.p-button-info {
background: dt('button.info.background');
border: 1px solid dt('button.info.border.color');
color: dt('button.info.color');
}
.p-button-info:not(:disabled):hover {
background: dt('button.info.hover.background');
border: 1px solid dt('button.info.hover.border.color');
color: dt('button.info.hover.color');
}
.p-button-info:not(:disabled):active {
background: dt('button.info.active.background');
border: 1px solid dt('button.info.active.border.color');
color: dt('button.info.active.color');
}
.p-button-info:focus-visible {
outline-color: dt('button.info.focus.ring.color');
box-shadow: dt('button.info.focus.ring.shadow');
}
.p-button-warn {
background: dt('button.warn.background');
border: 1px solid dt('button.warn.border.color');
color: dt('button.warn.color');
}
.p-button-warn:not(:disabled):hover {
background: dt('button.warn.hover.background');
border: 1px solid dt('button.warn.hover.border.color');
color: dt('button.warn.hover.color');
}
.p-button-warn:not(:disabled):active {
background: dt('button.warn.active.background');
border: 1px solid dt('button.warn.active.border.color');
color: dt('button.warn.active.color');
}
.p-button-warn:focus-visible {
outline-color: dt('button.warn.focus.ring.color');
box-shadow: dt('button.warn.focus.ring.shadow');
}
.p-button-help {
background: dt('button.help.background');
border: 1px solid dt('button.help.border.color');
color: dt('button.help.color');
}
.p-button-help:not(:disabled):hover {
background: dt('button.help.hover.background');
border: 1px solid dt('button.help.hover.border.color');
color: dt('button.help.hover.color');
}
.p-button-help:not(:disabled):active {
background: dt('button.help.active.background');
border: 1px solid dt('button.help.active.border.color');
color: dt('button.help.active.color');
}
.p-button-help:focus-visible {
outline-color: dt('button.help.focus.ring.color');
box-shadow: dt('button.help.focus.ring.shadow');
}
.p-button-danger {
background: dt('button.danger.background');
border: 1px solid dt('button.danger.border.color');
color: dt('button.danger.color');
}
.p-button-danger:not(:disabled):hover {
background: dt('button.danger.hover.background');
border: 1px solid dt('button.danger.hover.border.color');
color: dt('button.danger.hover.color');
}
.p-button-danger:not(:disabled):active {
background: dt('button.danger.active.background');
border: 1px solid dt('button.danger.active.border.color');
color: dt('button.danger.active.color');
}
.p-button-danger:focus-visible {
outline-color: dt('button.danger.focus.ring.color');
box-shadow: dt('button.danger.focus.ring.shadow');
}
.p-button-contrast {
background: dt('button.contrast.background');
border: 1px solid dt('button.contrast.border.color');
color: dt('button.contrast.color');
}
.p-button-contrast:not(:disabled):hover {
background: dt('button.contrast.hover.background');
border: 1px solid dt('button.contrast.hover.border.color');
color: dt('button.contrast.hover.color');
}
.p-button-contrast:not(:disabled):active {
background: dt('button.contrast.active.background');
border: 1px solid dt('button.contrast.active.border.color');
color: dt('button.contrast.active.color');
}
.p-button-contrast:focus-visible {
outline-color: dt('button.contrast.focus.ring.color');
box-shadow: dt('button.contrast.focus.ring.shadow');
}
.p-button-outlined {
background: transparent;
border-color: dt('button.outlined.primary.border.color');
color: dt('button.outlined.primary.color');
}
.p-button-outlined:not(:disabled):hover {
background: dt('button.outlined.primary.hover.background');
border-color: dt('button.outlined.primary.border.color');
color: dt('button.outlined.primary.color');
}
.p-button-outlined:not(:disabled):active {
background: dt('button.outlined.primary.active.background');
border-color: dt('button.outlined.primary.border.color');
color: dt('button.outlined.primary.color');
}
.p-button-outlined.p-button-secondary {
border-color: dt('button.outlined.secondary.border.color');
color: dt('button.outlined.secondary.color');
}
.p-button-outlined.p-button-secondary:not(:disabled):hover {
background: dt('button.outlined.secondary.hover.background');
border-color: dt('button.outlined.secondary.border.color');
color: dt('button.outlined.secondary.color');
}
.p-button-outlined.p-button-secondary:not(:disabled):active {
background: dt('button.outlined.secondary.active.background');
border-color: dt('button.outlined.secondary.border.color');
color: dt('button.outlined.secondary.color');
}
.p-button-outlined.p-button-success {
border-color: dt('button.outlined.success.border.color');
color: dt('button.outlined.success.color');
}
.p-button-outlined.p-button-success:not(:disabled):hover {
background: dt('button.outlined.success.hover.background');
border-color: dt('button.outlined.success.border.color');
color: dt('button.outlined.success.color');
}
.p-button-outlined.p-button-success:not(:disabled):active {
background: dt('button.outlined.success.active.background');
border-color: dt('button.outlined.success.border.color');
color: dt('button.outlined.success.color');
}
.p-button-outlined.p-button-info {
border-color: dt('button.outlined.info.border.color');
color: dt('button.outlined.info.color');
}
.p-button-outlined.p-button-info:not(:disabled):hover {
background: dt('button.outlined.info.hover.background');
border-color: dt('button.outlined.info.border.color');
color: dt('button.outlined.info.color');
}
.p-button-outlined.p-button-info:not(:disabled):active {
background: dt('button.outlined.info.active.background');
border-color: dt('button.outlined.info.border.color');
color: dt('button.outlined.info.color');
}
.p-button-outlined.p-button-warn {
border-color: dt('button.outlined.warn.border.color');
color: dt('button.outlined.warn.color');
}
.p-button-outlined.p-button-warn:not(:disabled):hover {
background: dt('button.outlined.warn.hover.background');
border-color: dt('button.outlined.warn.border.color');
color: dt('button.outlined.warn.color');
}
.p-button-outlined.p-button-warn:not(:disabled):active {
background: dt('button.outlined.warn.active.background');
border-color: dt('button.outlined.warn.border.color');
color: dt('button.outlined.warn.color');
}
.p-button-outlined.p-button-help {
border-color: dt('button.outlined.help.border.color');
color: dt('button.outlined.help.color');
}
.p-button-outlined.p-button-help:not(:disabled):hover {
background: dt('button.outlined.help.hover.background');
border-color: dt('button.outlined.help.border.color');
color: dt('button.outlined.help.color');
}
.p-button-outlined.p-button-help:not(:disabled):active {
background: dt('button.outlined.help.active.background');
border-color: dt('button.outlined.help.border.color');
color: dt('button.outlined.help.color');
}
.p-button-outlined.p-button-danger {
border-color: dt('button.outlined.danger.border.color');
color: dt('button.outlined.danger.color');
}
.p-button-outlined.p-button-danger:not(:disabled):hover {
background: dt('button.outlined.danger.hover.background');
border-color: dt('button.outlined.danger.border.color');
color: dt('button.outlined.danger.color');
}
.p-button-outlined.p-button-danger:not(:disabled):active {
background: dt('button.outlined.danger.active.background');
border-color: dt('button.outlined.danger.border.color');
color: dt('button.outlined.danger.color');
}
.p-button-outlined.p-button-contrast {
border-color: dt('button.outlined.contrast.border.color');
color: dt('button.outlined.contrast.color');
}
.p-button-outlined.p-button-contrast:not(:disabled):hover {
background: dt('button.outlined.contrast.hover.background');
border-color: dt('button.outlined.contrast.border.color');
color: dt('button.outlined.contrast.color');
}
.p-button-outlined.p-button-contrast:not(:disabled):active {
background: dt('button.outlined.contrast.active.background');
border-color: dt('button.outlined.contrast.border.color');
color: dt('button.outlined.contrast.color');
}
.p-button-outlined.p-button-plain {
border-color: dt('button.outlined.plain.border.color');
color: dt('button.outlined.plain.color');
}
.p-button-outlined.p-button-plain:not(:disabled):hover {
background: dt('button.outlined.plain.hover.background');
border-color: dt('button.outlined.plain.border.color');
color: dt('button.outlined.plain.color');
}
.p-button-outlined.p-button-plain:not(:disabled):active {
background: dt('button.outlined.plain.active.background');
border-color: dt('button.outlined.plain.border.color');
color: dt('button.outlined.plain.color');
}
.p-button-text {
background: transparent;
border-color: transparent;
color: dt('button.text.primary.color');
}
.p-button-text:not(:disabled):hover {
background: dt('button.text.primary.hover.background');
border-color: transparent;
color: dt('button.text.primary.color');
}
.p-button-text:not(:disabled):active {
background: dt('button.text.primary.active.background');
border-color: transparent;
color: dt('button.text.primary.color');
}
.p-button-text.p-button-secondary {
background: transparent;
border-color: transparent;
color: dt('button.text.secondary.color');
}
.p-button-text.p-button-secondary:not(:disabled):hover {
background: dt('button.text.secondary.hover.background');
border-color: transparent;
color: dt('button.text.secondary.color');
}
.p-button-text.p-button-secondary:not(:disabled):active {
background: dt('button.text.secondary.active.background');
border-color: transparent;
color: dt('button.text.secondary.color');
}
.p-button-text.p-button-success {
background: transparent;
border-color: transparent;
color: dt('button.text.success.color');
}
.p-button-text.p-button-success:not(:disabled):hover {
background: dt('button.text.success.hover.background');
border-color: transparent;
color: dt('button.text.success.color');
}
.p-button-text.p-button-success:not(:disabled):active {
background: dt('button.text.success.active.background');
border-color: transparent;
color: dt('button.text.success.color');
}
.p-button-text.p-button-info {
background: transparent;
border-color: transparent;
color: dt('button.text.info.color');
}
.p-button-text.p-button-info:not(:disabled):hover {
background: dt('button.text.info.hover.background');
border-color: transparent;
color: dt('button.text.info.color');
}
.p-button-text.p-button-info:not(:disabled):active {
background: dt('button.text.info.active.background');
border-color: transparent;
color: dt('button.text.info.color');
}
.p-button-text.p-button-warn {
background: transparent;
border-color: transparent;
color: dt('button.text.warn.color');
}
.p-button-text.p-button-warn:not(:disabled):hover {
background: dt('button.text.warn.hover.background');
border-color: transparent;
color: dt('button.text.warn.color');
}
.p-button-text.p-button-warn:not(:disabled):active {
background: dt('button.text.warn.active.background');
border-color: transparent;
color: dt('button.text.warn.color');
}
.p-button-text.p-button-help {
background: transparent;
border-color: transparent;
color: dt('button.text.help.color');
}
.p-button-text.p-button-help:not(:disabled):hover {
background: dt('button.text.help.hover.background');
border-color: transparent;
color: dt('button.text.help.color');
}
.p-button-text.p-button-help:not(:disabled):active {
background: dt('button.text.help.active.background');
border-color: transparent;
color: dt('button.text.help.color');
}
.p-button-text.p-button-danger {
background: transparent;
border-color: transparent;
color: dt('button.text.danger.color');
}
.p-button-text.p-button-danger:not(:disabled):hover {
background: dt('button.text.danger.hover.background');
border-color: transparent;
color: dt('button.text.danger.color');
}
.p-button-text.p-button-danger:not(:disabled):active {
background: dt('button.text.danger.active.background');
border-color: transparent;
color: dt('button.text.danger.color');
}
.p-button-text.p-button-contrast {
background: transparent;
border-color: transparent;
color: dt('button.text.contrast.color');
}
.p-button-text.p-button-contrast:not(:disabled):hover {
background: dt('button.text.contrast.hover.background');
border-color: transparent;
color: dt('button.text.contrast.color');
}
.p-button-text.p-button-contrast:not(:disabled):active {
background: dt('button.text.contrast.active.background');
border-color: transparent;
color: dt('button.text.contrast.color');
}
.p-button-text.p-button-plain {
background: transparent;
border-color: transparent;
color: dt('button.text.plain.color');
}
.p-button-text.p-button-plain:not(:disabled):hover {
background: dt('button.text.plain.hover.background');
border-color: transparent;
color: dt('button.text.plain.color');
}
.p-button-text.p-button-plain:not(:disabled):active {
background: dt('button.text.plain.active.background');
border-color: transparent;
color: dt('button.text.plain.color');
}
.p-button-link {
background: transparent;
border-color: transparent;
color: dt('button.link.color');
}
.p-button-link:not(:disabled):hover {
background: transparent;
border-color: transparent;
color: dt('button.link.hover.color');
}
.p-button-link:not(:disabled):hover .p-button-label {
text-decoration: underline;
}
.p-button-link:not(:disabled):active {
background: transparent;
border-color: transparent;
color: dt('button.link.active.color');
}
`;var M6=["content"],O6=["loadingicon"],R6=["icon"],P6=["*"],Jk=(t,n)=>({class:t,pt:n});function A6(t,n){t&1&&ne(0)}function N6(t,n){if(t&1&&ee(0,"span",7),t&2){let e=m(3);k(e.cn(e.cx("loadingIcon"),"pi-spin",e.loadingIcon)),h("pBind",e.ptm("loadingIcon")),J("aria-hidden",!0)}}function F6(t,n){if(t&1&&(G(),ee(0,"svg",8)),t&2){let e=m(3);k(e.cn(e.cx("loadingIcon"),e.spinnerIconClass())),h("pBind",e.ptm("loadingIcon"))("spin",!0),J("aria-hidden",!0)}}function L6(t,n){if(t&1&&(re(0),C(1,N6,1,4,"span",3)(2,F6,1,5,"svg",6),oe()),t&2){let e=m(2);g(),h("ngIf",e.loadingIcon),g(),h("ngIf",!e.loadingIcon)}}function B6(t,n){}function V6(t,n){if(t&1&&C(0,B6,0,0,"ng-template",9),t&2){let e=m(2);h("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function j6(t,n){if(t&1&&(re(0),C(1,L6,3,2,"ng-container",2)(2,V6,1,1,null,5),oe()),t&2){let e=m();g(),h("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),g(),h("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)("ngTemplateOutletContext",Dt(3,Jk,e.cx("loadingIcon"),e.ptm("loadingIcon")))}}function z6(t,n){if(t&1&&ee(0,"span",7),t&2){let e=m(2);k(e.cn("icon",e.iconClass())),h("pBind",e.ptm("icon"))}}function H6(t,n){}function $6(t,n){if(t&1&&C(0,H6,0,0,"ng-template",9),t&2){let e=m(2);h("ngIf",!e.icon&&(e.iconTemplate||e._iconTemplate))}}function U6(t,n){if(t&1&&(re(0),C(1,z6,1,3,"span",3)(2,$6,1,1,null,5),oe()),t&2){let e=m();g(),h("ngIf",e.icon&&!e.iconTemplate&&!e._iconTemplate),g(),h("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)("ngTemplateOutletContext",Dt(3,Jk,e.cx("icon"),e.ptm("icon")))}}function W6(t,n){if(t&1&&(I(0,"span",7),ce(1),T()),t&2){let e=m();k(e.cx("label")),h("pBind",e.ptm("label")),J("aria-hidden",e.icon&&!e.label),g(),Xe(e.label)}}function G6(t,n){if(t&1&&ee(0,"p-badge",10),t&2){let e=m();h("value",e.badge)("severity",e.badgeSeverity)("pt",e.ptm("pcBadge"))}}var q6={root:({instance:t})=>["p-button p-component",{"p-button-icon-only":(t.icon||t.buttonProps?.icon||t.iconTemplate||t._iconTemplate||t.loadingIcon||t.loadingIconTemplate||t._loadingIconTemplate)&&!t.label&&!t.buttonProps?.label,"p-button-vertical":(t.iconPos==="top"||t.iconPos==="bottom")&&t.label,"p-button-loading":t.loading||t.buttonProps?.loading,"p-button-link":t.link||t.buttonProps?.link,[`p-button-${t.severity||t.buttonProps?.severity}`]:t.severity||t.buttonProps?.severity,"p-button-raised":t.raised||t.buttonProps?.raised,"p-button-rounded":t.rounded||t.buttonProps?.rounded,"p-button-text":t.text||t.variant==="text"||t.buttonProps?.text||t.buttonProps?.variant==="text","p-button-outlined":t.outlined||t.variant==="outlined"||t.buttonProps?.outlined||t.buttonProps?.variant==="outlined","p-button-sm":t.size==="small"||t.buttonProps?.size==="small","p-button-lg":t.size==="large"||t.buttonProps?.size==="large","p-button-plain":t.plain||t.buttonProps?.plain,"p-button-fluid":t.hasFluid}],loadingIcon:"p-button-loading-icon",icon:({instance:t})=>["p-button-icon",{[`p-button-icon-${t.iconPos||t.buttonProps?.iconPos}`]:t.label||t.buttonProps?.label,"p-button-icon-left":(t.iconPos==="left"||t.buttonProps?.iconPos==="left")&&t.label||t.buttonProps?.label,"p-button-icon-right":(t.iconPos==="right"||t.buttonProps?.iconPos==="right")&&t.label||t.buttonProps?.label},t.icon,t.buttonProps?.icon],spinnerIcon:({instance:t})=>Object.entries(t.iconClass()).filter(([,n])=>!!n).reduce((n,[e])=>n+` ${e}`,"p-button-loading-icon"),label:"p-button-label"},Yk=(()=>{class t extends Me{name="button";style=Kk;classes=q6;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var Zk=new z("BUTTON_INSTANCE");var Ni=(()=>{class t extends ut{hostName="";$pcButton=x(Zk,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=x(te,{self:!0});_componentStyle=x(Yk);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}type="button";badge;disabled;raised=!1;rounded=!1;text=!1;plain=!1;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;iconPos="left";icon;label;loading=!1;loadingIcon;severity;buttonProps;fluid=ae(void 0,{transform:R});onClick=new H;onFocus=new H;onBlur=new H;contentTemplate;loadingIconTemplate;iconTemplate;templates;pcFluid=x(Ul,{optional:!0,host:!0,skipSelf:!0});get hasFluid(){return this.fluid()??!!this.pcFluid}_contentTemplate;_iconTemplate;_loadingIconTemplate;onAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"icon":this._iconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,e])=>!!e).reduce((e,[i])=>e+` ${i}`,"p-button-loading-icon")}iconClass(){return{[`p-button-loading-icon pi-spin ${this.loadingIcon??""}`]:this.loading,"p-button-icon":!0,[this.icon]:!0,"p-button-icon-left":this.iconPos==="left"&&this.label,"p-button-icon-right":this.iconPos==="right"&&this.label,"p-button-icon-top":this.iconPos==="top"&&this.label,"p-button-icon-bottom":this.iconPos==="bottom"&&this.label}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-button"]],contentQueries:function(i,r,o){if(i&1&&(V(o,M6,5),V(o,O6,5),V(o,R6,5),V(o,xt,4)),i&2){let s;M(s=O())&&(r.contentTemplate=s.first),M(s=O())&&(r.loadingIconTemplate=s.first),M(s=O())&&(r.iconTemplate=s.first),M(s=O())&&(r.templates=s)}},inputs:{hostName:"hostName",type:"type",badge:"badge",disabled:[2,"disabled","disabled",R],raised:[2,"raised","raised",R],rounded:[2,"rounded","rounded",R],text:[2,"text","text",R],plain:[2,"plain","plain",R],outlined:[2,"outlined","outlined",R],link:[2,"link","link",R],tabindex:[2,"tabindex","tabindex",ke],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",R],iconPos:"iconPos",icon:"icon",label:"label",loading:[2,"loading","loading",R],loadingIcon:"loadingIcon",severity:"severity",buttonProps:"buttonProps",fluid:[1,"fluid"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[Se([Yk,{provide:Zk,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],ngContentSelectors:P6,decls:7,vars:14,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","pAutoFocus","pBind"],[4,"ngTemplateOutlet"],[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"value","severity","pt",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","spinner",3,"class","pBind","spin",4,"ngIf"],[3,"pBind"],["data-p-icon","spinner",3,"pBind","spin"],[3,"ngIf"],[3,"value","severity","pt"]],template:function(i,r){i&1&&(zt(),I(0,"button",0),K("click",function(s){return r.onClick.emit(s)})("focus",function(s){return r.onFocus.emit(s)})("blur",function(s){return r.onBlur.emit(s)}),Ot(1),C(2,A6,1,0,"ng-container",1)(3,j6,3,6,"ng-container",2)(4,U6,3,6,"ng-container",2)(5,W6,2,5,"span",3)(6,G6,1,3,"p-badge",4),T()),i&2&&(k(r.cn(r.cx("root"),r.styleClass,r.buttonProps==null?null:r.buttonProps.styleClass)),h("ngStyle",r.style||(r.buttonProps==null?null:r.buttonProps.style))("disabled",r.disabled||r.loading||(r.buttonProps==null?null:r.buttonProps.disabled))("pAutoFocus",r.autofocus||(r.buttonProps==null?null:r.buttonProps.autofocus))("pBind",r.ptm("root")),J("type",r.type||(r.buttonProps==null?null:r.buttonProps.type))("aria-label",r.ariaLabel||(r.buttonProps==null?null:r.buttonProps.ariaLabel))("tabindex",r.tabindex||(r.buttonProps==null?null:r.buttonProps.tabindex)),g(2),h("ngTemplateOutlet",r.contentTemplate||r._contentTemplate),g(),h("ngIf",r.loading),g(),h("ngIf",!r.loading),g(),h("ngIf",!r.contentTemplate&&!r._contentTemplate&&r.label),g(),h("ngIf",!r.contentTemplate&&!r._contentTemplate&&r.badge))},dependencies:[qe,Ut,kt,Xn,$r,Hr,wo,$h,Vv,xe,te],encapsulation:2,changeDetection:0})}return t})(),Xk=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[qe,Ni,xe,xe]})}return t})();var Pe=class t{static isArray(n,e=!0){return Array.isArray(n)&&(e||n.length!==0)}static isObject(n,e=!0){return typeof n=="object"&&!Array.isArray(n)&&n!=null&&(e||Object.keys(n).length!==0)}static equals(n,e,i){return i?this.resolveFieldData(n,i)===this.resolveFieldData(e,i):this.equalsByValue(n,e)}static equalsByValue(n,e){if(n===e)return!0;if(n&&e&&typeof n=="object"&&typeof e=="object"){var i=Array.isArray(n),r=Array.isArray(e),o,s,a;if(i&&r){if(s=n.length,s!=e.length)return!1;for(o=s;o--!==0;)if(!this.equalsByValue(n[o],e[o]))return!1;return!0}if(i!=r)return!1;var l=this.isDate(n),c=this.isDate(e);if(l!=c)return!1;if(l&&c)return n.getTime()==e.getTime();var d=n instanceof RegExp,u=e instanceof RegExp;if(d!=u)return!1;if(d&&u)return n.toString()==e.toString();var p=Object.keys(n);if(s=p.length,s!==Object.keys(e).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,p[o]))return!1;for(o=s;o--!==0;)if(a=p[o],!this.equalsByValue(n[a],e[a]))return!1;return!0}return n!==n&&e!==e}static resolveFieldData(n,e){if(n&&e){if(this.isFunction(e))return e(n);if(e.indexOf(".")==-1)return n[e];{let i=e.split("."),r=n;for(let o=0,s=i.length;o<s;++o){if(r==null)return null;r=r[i[o]]}return r}}else return null}static isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)}static reorderArray(n,e,i){let r;n&&e!==i&&(i>=n.length&&(i%=n.length,e%=n.length),n.splice(i,0,n.splice(e,1)[0]))}static insertIntoOrderedArray(n,e,i,r){if(i.length>0){let o=!1;for(let s=0;s<i.length;s++)if(this.findIndexInList(i[s],r)>e){i.splice(s,0,n),o=!0;break}o||i.push(n)}else i.push(n)}static findIndexInList(n,e){let i=-1;if(e){for(let r=0;r<e.length;r++)if(e[r]==n){i=r;break}}return i}static contains(n,e){if(n!=null&&e&&e.length){for(let i of e)if(this.equals(n,i))return!0}return!1}static removeAccents(n){return n&&(n=n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),n}static isDate(n){return Object.prototype.toString.call(n)==="[object Date]"}static isEmpty(n){return n==null||n===""||Array.isArray(n)&&n.length===0||!this.isDate(n)&&typeof n=="object"&&Object.keys(n).length===0}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,e,i,r=1){let o=-1,s=this.isEmpty(n),a=this.isEmpty(e);return s&&a?o=0:s?o=r:a?o=-r:typeof n=="string"&&typeof e=="string"?o=n.localeCompare(e,i,{numeric:!0}):o=n<e?-1:n>e?1:0,o}static sort(n,e,i=1,r,o=1){let s=t.compare(n,e,r,i),a=i;return(t.isEmpty(n)||t.isEmpty(e))&&(a=o===1?i:o),a*s}static merge(n,e){if(!(n==null&&e==null)){{if((n==null||typeof n=="object")&&(e==null||typeof e=="object"))return _(_({},n||{}),e||{});if((n==null||typeof n=="string")&&(e==null||typeof e=="string"))return[n||"",e||""].join(" ")}return e||n}}static isPrintableCharacter(n=""){return this.isNotEmpty(n)&&n.length===1&&n.match(/\S| /)}static getItemValue(n,...e){return this.isFunction(n)?n(...e):n}static findLastIndex(n,e){let i=-1;if(this.isNotEmpty(n))try{i=n.findLastIndex(e)}catch{i=n.lastIndexOf([...n].reverse().find(e))}return i}static findLast(n,e){let i;if(this.isNotEmpty(n))try{i=n.findLast(e)}catch{i=[...n].reverse().find(e)}return i}static deepEquals(n,e){if(n===e)return!0;if(n&&e&&typeof n=="object"&&typeof e=="object"){var i=Array.isArray(n),r=Array.isArray(e),o,s,a;if(i&&r){if(s=n.length,s!=e.length)return!1;for(o=s;o--!==0;)if(!this.deepEquals(n[o],e[o]))return!1;return!0}if(i!=r)return!1;var l=n instanceof Date,c=e instanceof Date;if(l!=c)return!1;if(l&&c)return n.getTime()==e.getTime();var d=n instanceof RegExp,u=e instanceof RegExp;if(d!=u)return!1;if(d&&u)return n.toString()==e.toString();var p=Object.keys(n);if(s=p.length,s!==Object.keys(e).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,p[o]))return!1;for(o=s;o--!==0;)if(a=p[o],!this.deepEquals(n[a],e[a]))return!1;return!0}return n!==n&&e!==e}static minifyCSS(n){return n&&n.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(n){return this.isString(n)?n.replace(/(-|_)/g,"").toLowerCase():n}static isString(n,e=!0){return typeof n=="string"&&(e||n!=="")}},eM=0;function tM(t="pn_id_"){return eM++,`${t}${eM}`}function Q6(){let t=[],n=(o,s)=>{let a=t.length>0?t[t.length-1]:{key:o,value:s},l=a.value+(a.key===o?0:s)+2;return t.push({key:o,value:l}),l},e=o=>{t=t.filter(s=>s.value!==o)},i=()=>t.length>0?t[t.length-1].value:0,r=o=>o&&parseInt(o.style.zIndex,10)||0;return{get:r,set:(o,s,a)=>{s&&(s.style.zIndex=String(n(o,a)))},clear:o=>{o&&(e(r(o)),o.style.zIndex="")},getCurrent:()=>i(),generateZIndex:n,revertZIndex:e}}var ti=Q6();var nM=`
.p-tooltip {
position: absolute;
display: none;
max-width: dt('tooltip.max.width');
}
.p-tooltip-right,
.p-tooltip-left {
padding: 0 dt('tooltip.gutter');
}
.p-tooltip-top,
.p-tooltip-bottom {
padding: dt('tooltip.gutter') 0;
}
.p-tooltip-text {
white-space: pre-line;
word-break: break-word;
background: dt('tooltip.background');
color: dt('tooltip.color');
padding: dt('tooltip.padding');
box-shadow: dt('tooltip.shadow');
border-radius: dt('tooltip.border.radius');
}
.p-tooltip-arrow {
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
.p-tooltip-right .p-tooltip-arrow {
margin-top: calc(-1 * dt('tooltip.gutter'));
border-width: dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter') 0;
border-right-color: dt('tooltip.background');
}
.p-tooltip-left .p-tooltip-arrow {
margin-top: calc(-1 * dt('tooltip.gutter'));
border-width: dt('tooltip.gutter') 0 dt('tooltip.gutter') dt('tooltip.gutter');
border-left-color: dt('tooltip.background');
}
.p-tooltip-top .p-tooltip-arrow {
margin-left: calc(-1 * dt('tooltip.gutter'));
border-width: dt('tooltip.gutter') dt('tooltip.gutter') 0 dt('tooltip.gutter');
border-top-color: dt('tooltip.background');
border-bottom-color: dt('tooltip.background');
}
.p-tooltip-bottom .p-tooltip-arrow {
margin-left: calc(-1 * dt('tooltip.gutter'));
border-width: 0 dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter');
border-top-color: dt('tooltip.background');
border-bottom-color: dt('tooltip.background');
}
`;var K6={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},iM=(()=>{class t extends Me{name="tooltip";style=nM;classes=K6;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var rM=new z("TOOLTIP_INSTANCE"),Gh=(()=>{class t extends ut{zone;viewContainer;$pcTooltip=x(rM,{optional:!0,skipSelf:!0})??void 0;tooltipPosition;tooltipEvent="hover";positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}tooltipOptions;appendTo=ae(void 0);$appendTo=We(()=>this.appendTo()||this.config.overlayAppendTo());_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:mt("pn_id_")+"_tooltip"};_disabled;container;styleClass;tooltipText;rootPTClasses="";showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;documentEscapeListener;scrollHandler;resizeListener;_componentStyle=x(iM);interactionInProgress=!1;ptTooltip=ae();constructor(e,i){super(),this.zone=e,this.viewContainer=i,Lt(()=>{this.ptTooltip()&&this.directivePT.set(this.ptTooltip())})}onAfterViewInit(){kn(this.platformId)&&this.zone.runOutsideAngular(()=>{let e=this.getOption("tooltipEvent");if((e==="hover"||e==="both")&&(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener)),e==="focus"||e==="both"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let i=this.el.nativeElement.querySelector(".p-component");i||(i=this.getTarget(this.el.nativeElement)),i.addEventListener("focus",this.focusListener),i.addEventListener("blur",this.blurListener)}})}onChanges(e){e.tooltipPosition&&this.setOption({tooltipPosition:e.tooltipPosition.currentValue}),e.tooltipEvent&&this.setOption({tooltipEvent:e.tooltipEvent.currentValue}),e.appendTo&&this.setOption({appendTo:e.appendTo.currentValue}),e.positionStyle&&this.setOption({positionStyle:e.positionStyle.currentValue}),e.tooltipStyleClass&&this.setOption({tooltipStyleClass:e.tooltipStyleClass.currentValue}),e.tooltipZIndex&&this.setOption({tooltipZIndex:e.tooltipZIndex.currentValue}),e.escape&&this.setOption({escape:e.escape.currentValue}),e.showDelay&&this.setOption({showDelay:e.showDelay.currentValue}),e.hideDelay&&this.setOption({hideDelay:e.hideDelay.currentValue}),e.life&&this.setOption({life:e.life.currentValue}),e.positionTop&&this.setOption({positionTop:e.positionTop.currentValue}),e.positionLeft&&this.setOption({positionLeft:e.positionLeft.currentValue}),e.disabled&&this.setOption({disabled:e.disabled.currentValue}),e.content&&(this.setOption({tooltipLabel:e.content.currentValue}),this.active&&(e.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),e.autoHide&&this.setOption({autoHide:e.autoHide.currentValue}),e.id&&this.setOption({id:e.id.currentValue}),e.tooltipOptions&&(this._tooltipOptions=_(_({},this._tooltipOptions),e.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(e){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(e){this.isAutoHide()?this.deactivate():!(wn(e.relatedTarget,"p-tooltip")||wn(e.relatedTarget,"p-tooltip-text")||wn(e.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}activate(){if(!this.interactionInProgress){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let e=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},e)}this.getOption("hideOnEscape")&&(this.documentEscapeListener=this.renderer.listen("document","keydown.escape",()=>{this.deactivate(),this.documentEscapeListener?.()})),this.interactionInProgress=!0}}deactivate(){this.interactionInProgress=!1,this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide(),this.documentEscapeListener&&this.documentEscapeListener()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=Yd("div",{class:this.cx("root"),role:"tooltip","p-bind":this.ptm("root"),"data-pc-section":"root"});let e=Yd("div",{class:"p-tooltip-arrow","p-bind":this.ptm("arrow"),"data-pc-section":"arrow"});this.container.appendChild(e),this.tooltipText=Yd("div",{class:"p-tooltip-text","p-bind":this.ptm("text"),"data-pc-section":"text"}),this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),this.getOption("appendTo")==="body"?document.body.appendChild(this.container):this.getOption("appendTo")==="target"?Kd(this.container,this.el.nativeElement):Kd(this.getOption("appendTo"),this.container),this.container.style.display="none",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){if(!this.containerMouseleaveListener){let e=this.container??this.container.nativeElement;this.containerMouseleaveListener=this.renderer.listen(e,"mouseleave",i=>{this.deactivate()})}}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){if(!this.getOption("tooltipLabel")||this.getOption("disabled"))return;this.create(),this.el.nativeElement.closest("p-dialog")?setTimeout(()=>{this.container&&(this.container.style.display="inline-block"),this.container&&this.align()},100):(this.container.style.display="inline-block",this.align()),LD(this.container,250),this.getOption("tooltipZIndex")==="auto"?ti.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&ti.clear(this.container),this.remove()}updateText(){let e=this.getOption("tooltipLabel");if(e&&typeof e.createEmbeddedView=="function"){let i=this.viewContainer.createEmbeddedView(e);i.detectChanges(),i.rootNodes.forEach(r=>this.tooltipText.appendChild(r))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(e))):this.tooltipText.innerHTML=e}align(){let e=this.getOption("tooltipPosition"),r={top:[this.alignTop,this.alignBottom,this.alignRight,this.alignLeft],bottom:[this.alignBottom,this.alignTop,this.alignRight,this.alignLeft],left:[this.alignLeft,this.alignRight,this.alignTop,this.alignBottom],right:[this.alignRight,this.alignLeft,this.alignTop,this.alignBottom]}[e]||[];for(let[o,s]of r.entries())if(o===0)s.call(this);else if(this.isOutOfBounds())s.call(this);else break}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let e=this.el.nativeElement.getBoundingClientRect(),i=e.left+Tv(),r=e.top+Ev();return{left:i,top:r}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.startsWith("P-")?wt(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let e=this.activeElement,i=Mn(e),r=(ir(e)-ir(this.container))/2;this.alignTooltip(i,r);let o=this.getArrowElement();o.style.top="50%",o.style.right=null,o.style.bottom=null,o.style.left="0"}alignLeft(){this.preAlign("left");let e=this.getArrowElement(),i=Mn(this.container),r=(ir(this.el.nativeElement)-ir(this.container))/2;this.alignTooltip(-i,r),e.style.top="50%",e.style.right="0",e.style.bottom=null,e.style.left=null}alignTop(){this.preAlign("top");let e=this.getArrowElement(),i=this.getHostOffset(),r=Mn(this.container),o=(Mn(this.el.nativeElement)-Mn(this.container))/2,s=ir(this.container);this.alignTooltip(o,-s);let a=i.left-this.getHostOffset().left+r/2;e.style.top=null,e.style.right=null,e.style.bottom="0",e.style.left=a+"px"}getArrowElement(){return wt(this.container,'[data-pc-section="arrow"]')}alignBottom(){this.preAlign("bottom");let e=this.getArrowElement(),i=Mn(this.container),r=this.getHostOffset(),o=(Mn(this.el.nativeElement)-Mn(this.container))/2,s=ir(this.el.nativeElement);this.alignTooltip(o,s);let a=r.left-this.getHostOffset().left+i/2;e.style.top="0",e.style.right=null,e.style.bottom=null,e.style.left=a+"px"}alignTooltip(e,i){let r=this.getHostOffset(),o=r.left+e,s=r.top+i;this.container.style.left=o+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions=_(_({},this._tooltipOptions),e)}getOption(e){return this._tooltipOptions[e]}getTarget(e){return wn(e,"p-inputwrapper")?wt(e,"input"):e}preAlign(e){this.container.style.left="-999px",this.container.style.top="-999px",this.container.className=this.cn(this.cx("root"),this.ptm("root")?.class,"p-tooltip-"+e,this.getOption("tooltipStyleClass"))}isOutOfBounds(){let e=this.container.getBoundingClientRect(),i=e.top,r=e.left,o=Mn(this.container),s=ir(this.container),a=Nh();return r+o>a.width||r<0||i<0||i+s>a.height}onWindowResize(e){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new _o(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){let e=this.getOption("tooltipEvent");if((e==="hover"||e==="both")&&(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener)),e==="focus"||e==="both"){let i=this.el.nativeElement.querySelector(".p-component");i||(i=this.getTarget(this.el.nativeElement)),i.removeEventListener("focus",this.focusListener),i.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):$D(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}onDestroy(){this.unbindEvents(),this.container&&ti.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(i){return new(i||t)(me($e),me(Ii))};static \u0275dir=Ye({type:t,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:[2,"escape","escape",R],showDelay:[2,"showDelay","showDelay",ke],hideDelay:[2,"hideDelay","hideDelay",ke],life:[2,"life","life",ke],positionTop:[2,"positionTop","positionTop",ke],positionLeft:[2,"positionLeft","positionLeft",ke],autoHide:[2,"autoHide","autoHide",R],fitContent:[2,"fitContent","fitContent",R],hideOnEscape:[2,"hideOnEscape","hideOnEscape",R],content:[0,"pTooltip","content"],disabled:[0,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions",appendTo:[1,"appendTo"],ptTooltip:[1,"ptTooltip"]},features:[Se([iM,{provide:rM,useExisting:t},{provide:Qe,useExisting:t}]),j]})}return t})();var Y6=["*"];function Z6(t,n){if(t&1){let e=se();I(0,"p-button",9),K("click",function(){E(e);let r=m();return S(r.router.navigate(["/"]))}),T()}}var os=class t{title=ae.required();router=x(Pi);noHomeButton=ae(!1);static \u0275fac=function(e){return new(e||t)};static \u0275cmp=$({type:t,selectors:[["app-base"]],inputs:{title:[1,"title"],noHomeButton:[1,"noHomeButton"]},ngContentSelectors:Y6,decls:11,vars:2,consts:[[1,"min-h-screen","flex","items-center","justify-center","p-4"],[1,"border-2","rounded-2xl","bg-gray-100/50","drop-shadow-2xl","w-full","mx-auto","p-4",2,"max-width","800px"],[1,"flex","justify-between","items-center"],[1,"flex","items-center","gap-2","w-full"],[1,"text-2xl","font-bold"],[1,"flex","items-center","gap-2"],["icon","fa fa-home","text","","rounded","","outlined","","pTooltip","Home","tooltipPosition","left"],[1,"my-4"],[1,"mt-4"],["icon","fa fa-home","text","","rounded","","outlined","","pTooltip","Home","tooltipPosition","left",3,"click"]],template:function(e,i){e&1&&(zt(),I(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),ce(5),T()(),I(6,"div",5),ot(7,Z6,1,0,"p-button",6),T()(),ee(8,"hr",7),I(9,"div",8),Ot(10),T()()()),e&2&&(g(5),Xe(i.title()),g(2),st(i.noHomeButton()?-1:7))},dependencies:[Ni,Gh],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type=button]), input[_ngcontent-%COMP%]:where([type=reset]), input[_ngcontent-%COMP%]:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden=until-found])){display:none}.visible[_ngcontent-%COMP%]{visibility:visible}.absolute[_ngcontent-%COMP%]{position:absolute}.col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.ml-auto[_ngcontent-%COMP%]{margin-left:auto}.mr-auto[_ngcontent-%COMP%]{margin-right:auto}.mt-4[_ngcontent-%COMP%]{margin-top:1rem}.line-clamp-2[_ngcontent-%COMP%]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block[_ngcontent-%COMP%]{display:block}.flex[_ngcontent-%COMP%]{display:flex}.table[_ngcontent-%COMP%]{display:table}.grid[_ngcontent-%COMP%]{display:grid}.h-16[_ngcontent-%COMP%]{height:4rem}.h-32[_ngcontent-%COMP%]{height:8rem}.h-screen[_ngcontent-%COMP%]{height:100vh}.min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.w-16[_ngcontent-%COMP%]{width:4rem}.w-32[_ngcontent-%COMP%]{width:8rem}.w-full[_ngcontent-%COMP%]{width:100%}.w-screen[_ngcontent-%COMP%]{width:100vw}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}to{opacity:1}}.animate-fadein[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadein .5s ease-in-out}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.bg-gray-100\\/50[_ngcontent-%COMP%]{background-color:#f3f4f680}.bg-red-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1[_ngcontent-%COMP%]{padding:.25rem}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-8[_ngcontent-%COMP%]{padding:2rem}.pt-4[_ngcontent-%COMP%]{padding-top:1rem}.text-center[_ngcontent-%COMP%]{text-align:center}.text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.font-bold[_ngcontent-%COMP%]{font-weight:700}.italic[_ngcontent-%COMP%]{font-style:italic}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-20[_ngcontent-%COMP%]{opacity:.2}.drop-shadow[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.duration-1000[_ngcontent-%COMP%]{transition-duration:1s}.animate-alternate[_ngcontent-%COMP%]{animation-direction:alternate}.animate-duration-\\__ph-0__[_ngcontent-%COMP%]{animation-duration:1.5s}.animate-infinite[_ngcontent-%COMP%]{animation-iteration-count:infinite}.text-muted-color[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}@keyframes _ngcontent-%COMP%_enter{0%{opacity:var(--p-enter-opacity, 1);transform:translate3d(var(--p-enter-translate-x, 0),var(--p-enter-translate-y, 0),0) scale3d(var(--p-enter-scale, 1),var(--p-enter-scale, 1),var(--p-enter-scale, 1)) rotate(var(--p-enter-rotate, 0))}}@keyframes _ngcontent-%COMP%_leave{to{opacity:var(--p-leave-opacity, 1);transform:translate3d(var(--p-leave-translate-x, 0),var(--p-leave-translate-y, 0),0) scale3d(var(--p-leave-scale, 1),var(--p-leave-scale, 1),var(--p-leave-scale, 1)) rotate(var(--p-leave-rotate, 0))}}.hover\\:text-blue-700[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}@media(min-width:640px){.sm\\:grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}']})};function Gl(t,n){if(!!!t)throw new Error(n)}function oM(t){return typeof t=="object"&&t!==null}function sM(t,n){if(!!!t)throw new Error(n??"Unexpected invariant triggered.")}var J6=/\r\n|[\n\r]/g;function ql(t,n){let e=0,i=1;for(let r of t.body.matchAll(J6)){if(typeof r.index=="number"||sM(!1),r.index>=n)break;e=r.index+r[0].length,i+=1}return{line:i,column:n+1-e}}function Hv(t){return qh(t.source,ql(t.source,t.start))}function qh(t,n){let e=t.locationOffset.column-1,i="".padStart(e)+t.body,r=n.line-1,o=t.locationOffset.line-1,s=n.line+o,a=n.line===1?e:0,l=n.column+a,c=`${t.name}:${s}:${l}
`,d=i.split(/\r\n|[\n\r]/g),u=d[r];if(u.length>120){let p=Math.floor(l/80),f=l%80,y=[];for(let b=0;b<u.length;b+=80)y.push(u.slice(b,b+80));return c+aM([[`${s} |`,y[0]],...y.slice(1,p+1).map(b=>["|",b]),["|","^".padStart(f)],["|",y[p+1]]])}return c+aM([[`${s-1} |`,d[r-1]],[`${s} |`,u],["|","^".padStart(l)],[`${s+1} |`,d[r+1]]])}function aM(t){let n=t.filter(([i,r])=>r!==void 0),e=Math.max(...n.map(([i])=>i.length));return n.map(([i,r])=>i.padStart(e)+(r?" "+r:"")).join(`
`)}function X6(t){let n=t[0];return n==null||"kind"in n||"length"in n?{nodes:n,source:t[1],positions:t[2],path:t[3],originalError:t[4],extensions:t[5]}:n}var Qh=class t extends Error{constructor(n,...e){var i,r,o;let{nodes:s,source:a,positions:l,path:c,originalError:d,extensions:u}=X6(e);super(n),this.name="GraphQLError",this.path=c??void 0,this.originalError=d??void 0,this.nodes=lM(Array.isArray(s)?s:s?[s]:void 0);let p=lM((i=this.nodes)===null||i===void 0?void 0:i.map(y=>y.loc).filter(y=>y!=null));this.source=a??(p==null||(r=p[0])===null||r===void 0?void 0:r.source),this.positions=l??p?.map(y=>y.start),this.locations=l&&a?l.map(y=>ql(a,y)):p?.map(y=>ql(y.source,y.start));let f=oM(d?.extensions)?d?.extensions:void 0;this.extensions=(o=u??f)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),d!=null&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let n=this.message;if(this.nodes)for(let e of this.nodes)e.loc&&(n+=`
`+Hv(e.loc));else if(this.source&&this.locations)for(let e of this.locations)n+=`
`+qh(this.source,e);return n}toJSON(){let n={message:this.message};return this.locations!=null&&(n.locations=this.locations),this.path!=null&&(n.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(n.extensions=this.extensions),n}};function lM(t){return t===void 0||t.length===0?void 0:t}function en(t,n,e){return new Qh(`Syntax Error: ${e}`,{source:t,positions:[n]})}var Ql=class{constructor(n,e,i){this.start=n.start,this.end=e.end,this.startToken=n,this.endToken=e,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},aa=class{constructor(n,e,i,r,o,s){this.kind=n,this.start=e,this.end=i,this.line=r,this.column=o,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},$v={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},e8=new Set(Object.keys($v));function Uv(t){let n=t?.kind;return typeof n=="string"&&e8.has(n)}var qn=(function(t){return t.QUERY="query",t.MUTATION="mutation",t.SUBSCRIPTION="subscription",t})(qn||{});var Kh=(function(t){return t.QUERY="QUERY",t.MUTATION="MUTATION",t.SUBSCRIPTION="SUBSCRIPTION",t.FIELD="FIELD",t.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",t.FRAGMENT_SPREAD="FRAGMENT_SPREAD",t.INLINE_FRAGMENT="INLINE_FRAGMENT",t.VARIABLE_DEFINITION="VARIABLE_DEFINITION",t.SCHEMA="SCHEMA",t.SCALAR="SCALAR",t.OBJECT="OBJECT",t.FIELD_DEFINITION="FIELD_DEFINITION",t.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",t.INTERFACE="INTERFACE",t.UNION="UNION",t.ENUM="ENUM",t.ENUM_VALUE="ENUM_VALUE",t.INPUT_OBJECT="INPUT_OBJECT",t.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",t.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION",t})(Kh||{});var q=(function(t){return t.NAME="Name",t.DOCUMENT="Document",t.OPERATION_DEFINITION="OperationDefinition",t.VARIABLE_DEFINITION="VariableDefinition",t.SELECTION_SET="SelectionSet",t.FIELD="Field",t.ARGUMENT="Argument",t.FRAGMENT_SPREAD="FragmentSpread",t.INLINE_FRAGMENT="InlineFragment",t.FRAGMENT_DEFINITION="FragmentDefinition",t.VARIABLE="Variable",t.INT="IntValue",t.FLOAT="FloatValue",t.STRING="StringValue",t.BOOLEAN="BooleanValue",t.NULL="NullValue",t.ENUM="EnumValue",t.LIST="ListValue",t.OBJECT="ObjectValue",t.OBJECT_FIELD="ObjectField",t.DIRECTIVE="Directive",t.NAMED_TYPE="NamedType",t.LIST_TYPE="ListType",t.NON_NULL_TYPE="NonNullType",t.SCHEMA_DEFINITION="SchemaDefinition",t.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",t.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",t.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",t.FIELD_DEFINITION="FieldDefinition",t.INPUT_VALUE_DEFINITION="InputValueDefinition",t.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",t.UNION_TYPE_DEFINITION="UnionTypeDefinition",t.ENUM_TYPE_DEFINITION="EnumTypeDefinition",t.ENUM_VALUE_DEFINITION="EnumValueDefinition",t.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",t.DIRECTIVE_DEFINITION="DirectiveDefinition",t.SCHEMA_EXTENSION="SchemaExtension",t.DIRECTIVE_EXTENSION="DirectiveExtension",t.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",t.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",t.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",t.UNION_TYPE_EXTENSION="UnionTypeExtension",t.ENUM_TYPE_EXTENSION="EnumTypeExtension",t.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",t.TYPE_COORDINATE="TypeCoordinate",t.MEMBER_COORDINATE="MemberCoordinate",t.ARGUMENT_COORDINATE="ArgumentCoordinate",t.DIRECTIVE_COORDINATE="DirectiveCoordinate",t.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate",t})(q||{});function Yh(t){return t===9||t===32}function Kl(t){return t>=48&&t<=57}function cM(t){return t>=97&&t<=122||t>=65&&t<=90}function Wv(t){return cM(t)||t===95}function dM(t){return cM(t)||Kl(t)||t===95}function uM(t){var n;let e=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let s=0;s<t.length;++s){var o;let a=t[s],l=t8(a);l!==a.length&&(i=(o=i)!==null&&o!==void 0?o:s,r=s,s!==0&&l<e&&(e=l))}return t.map((s,a)=>a===0?s:s.slice(e)).slice((n=i)!==null&&n!==void 0?n:0,r+1)}function t8(t){let n=0;for(;n<t.length&&Yh(t.charCodeAt(n));)++n;return n}function pM(t,n){let e=t.replace(/"""/g,'\\"""'),i=e.split(/\r\n|[\n\r]/g),r=i.length===1,o=i.length>1&&i.slice(1).every(f=>f.length===0||Yh(f.charCodeAt(0))),s=e.endsWith('\\"""'),a=t.endsWith('"')&&!s,l=t.endsWith("\\"),c=a||l,d=!(n!=null&&n.minimize)&&(!r||t.length>70||c||o||s),u="",p=r&&Yh(t.charCodeAt(0));return(d&&!p||o)&&(u+=`
`),u+=e,(d||c)&&(u+=`
`),'"""'+u+'"""'}var L=(function(t){return t.SOF="<SOF>",t.EOF="<EOF>",t.BANG="!",t.DOLLAR="$",t.AMP="&",t.PAREN_L="(",t.PAREN_R=")",t.DOT=".",t.SPREAD="...",t.COLON=":",t.EQUALS="=",t.AT="@",t.BRACKET_L="[",t.BRACKET_R="]",t.BRACE_L="{",t.PIPE="|",t.BRACE_R="}",t.NAME="Name",t.INT="Int",t.FLOAT="Float",t.STRING="String",t.BLOCK_STRING="BlockString",t.COMMENT="Comment",t})(L||{});var nu=class{constructor(n){let e=new aa(L.SOF,0,0,0,0);this.source=n,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let n=this.token;if(n.kind!==L.EOF)do if(n.next)n=n.next;else{let e=n8(this,n.end);n.next=e,e.prev=n,n=e}while(n.kind===L.COMMENT);return n}};function hM(t){return t===L.BANG||t===L.DOLLAR||t===L.AMP||t===L.PAREN_L||t===L.PAREN_R||t===L.DOT||t===L.SPREAD||t===L.COLON||t===L.EQUALS||t===L.AT||t===L.BRACKET_L||t===L.BRACKET_R||t===L.BRACE_L||t===L.PIPE||t===L.BRACE_R}function Yl(t){return t>=0&&t<=55295||t>=57344&&t<=1114111}function Zh(t,n){return mM(t.charCodeAt(n))&&gM(t.charCodeAt(n+1))}function mM(t){return t>=55296&&t<=56319}function gM(t){return t>=56320&&t<=57343}function la(t,n){let e=t.source.body.codePointAt(n);if(e===void 0)return L.EOF;if(e>=32&&e<=126){let i=String.fromCodePoint(e);return i==='"'?`'"'`:`"${i}"`}return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function rn(t,n,e,i,r){let o=t.line,s=1+e-t.lineStart;return new aa(n,e,i,o,s,r)}function n8(t,n){let e=t.source.body,i=e.length,r=n;for(;r<i;){let o=e.charCodeAt(r);switch(o){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++t.line,t.lineStart=r;continue;case 13:e.charCodeAt(r+1)===10?r+=2:++r,++t.line,t.lineStart=r;continue;case 35:return i8(t,r);case 33:return rn(t,L.BANG,r,r+1);case 36:return rn(t,L.DOLLAR,r,r+1);case 38:return rn(t,L.AMP,r,r+1);case 40:return rn(t,L.PAREN_L,r,r+1);case 41:return rn(t,L.PAREN_R,r,r+1);case 46:if(e.charCodeAt(r+1)===46&&e.charCodeAt(r+2)===46)return rn(t,L.SPREAD,r,r+3);break;case 58:return rn(t,L.COLON,r,r+1);case 61:return rn(t,L.EQUALS,r,r+1);case 64:return rn(t,L.AT,r,r+1);case 91:return rn(t,L.BRACKET_L,r,r+1);case 93:return rn(t,L.BRACKET_R,r,r+1);case 123:return rn(t,L.BRACE_L,r,r+1);case 124:return rn(t,L.PIPE,r,r+1);case 125:return rn(t,L.BRACE_R,r,r+1);case 34:return e.charCodeAt(r+1)===34&&e.charCodeAt(r+2)===34?c8(t,r):o8(t,r)}if(Kl(o)||o===45)return r8(t,r,o);if(Wv(o))return d8(t,r);throw en(t.source,r,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Yl(o)||Zh(e,r)?`Unexpected character: ${la(t,r)}.`:`Invalid character: ${la(t,r)}.`)}return rn(t,L.EOF,i,i)}function i8(t,n){let e=t.source.body,i=e.length,r=n+1;for(;r<i;){let o=e.charCodeAt(r);if(o===10||o===13)break;if(Yl(o))++r;else if(Zh(e,r))r+=2;else break}return rn(t,L.COMMENT,n,r,e.slice(n+1,r))}function r8(t,n,e){let i=t.source.body,r=n,o=e,s=!1;if(o===45&&(o=i.charCodeAt(++r)),o===48){if(o=i.charCodeAt(++r),Kl(o))throw en(t.source,r,`Invalid number, unexpected digit after 0: ${la(t,r)}.`)}else r=Gv(t,r,o),o=i.charCodeAt(r);if(o===46&&(s=!0,o=i.charCodeAt(++r),r=Gv(t,r,o),o=i.charCodeAt(r)),(o===69||o===101)&&(s=!0,o=i.charCodeAt(++r),(o===43||o===45)&&(o=i.charCodeAt(++r)),r=Gv(t,r,o),o=i.charCodeAt(r)),o===46||Wv(o))throw en(t.source,r,`Invalid number, expected digit but got: ${la(t,r)}.`);return rn(t,s?L.FLOAT:L.INT,n,r,i.slice(n,r))}function Gv(t,n,e){if(!Kl(e))throw en(t.source,n,`Invalid number, expected digit but got: ${la(t,n)}.`);let i=t.source.body,r=n+1;for(;Kl(i.charCodeAt(r));)++r;return r}function o8(t,n){let e=t.source.body,i=e.length,r=n+1,o=r,s="";for(;r<i;){let a=e.charCodeAt(r);if(a===34)return s+=e.slice(o,r),rn(t,L.STRING,n,r+1,s);if(a===92){s+=e.slice(o,r);let l=e.charCodeAt(r+1)===117?e.charCodeAt(r+2)===123?s8(t,r):a8(t,r):l8(t,r);s+=l.value,r+=l.size,o=r;continue}if(a===10||a===13)break;if(Yl(a))++r;else if(Zh(e,r))r+=2;else throw en(t.source,r,`Invalid character within String: ${la(t,r)}.`)}throw en(t.source,r,"Unterminated string.")}function s8(t,n){let e=t.source.body,i=0,r=3;for(;r<12;){let o=e.charCodeAt(n+r++);if(o===125){if(r<5||!Yl(i))break;return{value:String.fromCodePoint(i),size:r}}if(i=i<<4|tu(o),i<0)break}throw en(t.source,n,`Invalid Unicode escape sequence: "${e.slice(n,n+r)}".`)}function a8(t,n){let e=t.source.body,i=fM(e,n+2);if(Yl(i))return{value:String.fromCodePoint(i),size:6};if(mM(i)&&e.charCodeAt(n+6)===92&&e.charCodeAt(n+7)===117){let r=fM(e,n+8);if(gM(r))return{value:String.fromCodePoint(i,r),size:12}}throw en(t.source,n,`Invalid Unicode escape sequence: "${e.slice(n,n+6)}".`)}function fM(t,n){return tu(t.charCodeAt(n))<<12|tu(t.charCodeAt(n+1))<<8|tu(t.charCodeAt(n+2))<<4|tu(t.charCodeAt(n+3))}function tu(t){return t>=48&&t<=57?t-48:t>=65&&t<=70?t-55:t>=97&&t<=102?t-87:-1}function l8(t,n){let e=t.source.body;switch(e.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw en(t.source,n,`Invalid character escape sequence: "${e.slice(n,n+2)}".`)}function c8(t,n){let e=t.source.body,i=e.length,r=t.lineStart,o=n+3,s=o,a="",l=[];for(;o<i;){let c=e.charCodeAt(o);if(c===34&&e.charCodeAt(o+1)===34&&e.charCodeAt(o+2)===34){a+=e.slice(s,o),l.push(a);let d=rn(t,L.BLOCK_STRING,n,o+3,uM(l).join(`
`));return t.line+=l.length-1,t.lineStart=r,d}if(c===92&&e.charCodeAt(o+1)===34&&e.charCodeAt(o+2)===34&&e.charCodeAt(o+3)===34){a+=e.slice(s,o),s=o+1,o+=4;continue}if(c===10||c===13){a+=e.slice(s,o),l.push(a),c===13&&e.charCodeAt(o+1)===10?o+=2:++o,a="",s=o,r=o;continue}if(Yl(c))++o;else if(Zh(e,o))o+=2;else throw en(t.source,o,`Invalid character within String: ${la(t,o)}.`)}throw en(t.source,o,"Unterminated string.")}function d8(t,n){let e=t.source.body,i=e.length,r=n+1;for(;r<i;){let o=e.charCodeAt(r);if(dM(o))++r;else break}return rn(t,L.NAME,n,r,e.slice(n,r))}function Zl(t){return Jh(t,[])}function Jh(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return u8(t,n);default:return String(t)}}function u8(t,n){if(t===null)return"null";if(n.includes(t))return"[Circular]";let e=[...n,t];if(p8(t)){let i=t.toJSON();if(i!==t)return typeof i=="string"?i:Jh(i,e)}else if(Array.isArray(t))return h8(t,e);return f8(t,e)}function p8(t){return typeof t.toJSON=="function"}function f8(t,n){let e=Object.entries(t);return e.length===0?"{}":n.length>2?"["+m8(t)+"]":"{ "+e.map(([r,o])=>r+": "+Jh(o,n)).join(", ")+" }"}function h8(t,n){if(t.length===0)return"[]";if(n.length>2)return"[Array]";let e=Math.min(10,t.length),i=t.length-e,r=[];for(let o=0;o<e;++o)r.push(Jh(t[o],n));return i===1?r.push("... 1 more item"):i>1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}function m8(t){let n=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if(n==="Object"&&typeof t.constructor=="function"){let e=t.constructor.name;if(typeof e=="string"&&e!=="")return e}return n}var g8=globalThis.process&&!0,yM=g8?function(n,e){return n instanceof e}:function(n,e){if(n instanceof e)return!0;if(typeof n=="object"&&n!==null){var i;let r=e.prototype[Symbol.toStringTag],o=Symbol.toStringTag in n?n[Symbol.toStringTag]:(i=n.constructor)===null||i===void 0?void 0:i.name;if(r===o){let s=Zl(n);throw new Error(`Cannot use ${r} "${s}" from another module or realm.
Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.
https://yarnpkg.com/en/docs/selective-version-resolutions
Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.`)}}return!1};var Jl=class{constructor(n,e="GraphQL request",i={line:1,column:1}){typeof n=="string"||Gl(!1,`Body must be a string. Received: ${Zl(n)}.`),this.body=n,this.name=e,this.locationOffset=i,this.locationOffset.line>0||Gl(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Gl(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function bM(t){return yM(t,Jl)}function em(t,n){let e=new qv(t,n),i=e.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:e.tokenCount}),i}var qv=class{constructor(n,e={}){let o=e,{lexer:i}=o,r=Et(o,["lexer"]);if(i)this._lexer=i;else{let s=bM(n)?n:new Jl(n);this._lexer=new nu(s)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let n=this.expectToken(L.NAME);return this.node(n,{kind:q.NAME,value:n.value})}parseDocument(){return this.node(this._lexer.token,{kind:q.DOCUMENT,definitions:this.many(L.SOF,this.parseDefinition,L.EOF)})}parseDefinition(){if(this.peek(L.BRACE_L))return this.parseOperationDefinition();let n=this.peekDescription(),e=n?this._lexer.lookahead():this._lexer.token;if(n&&e.kind===L.BRACE_L)throw en(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(e.kind===L.NAME){switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(e.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(n)throw en(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if(e.value==="extend")return this.parseTypeSystemExtension()}throw this.unexpected(e)}parseOperationDefinition(){let n=this._lexer.token;if(this.peek(L.BRACE_L))return this.node(n,{kind:q.OPERATION_DEFINITION,operation:qn.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let e=this.parseDescription(),i=this.parseOperationType(),r;return this.peek(L.NAME)&&(r=this.parseName()),this.node(n,{kind:q.OPERATION_DEFINITION,operation:i,description:e,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let n=this.expectToken(L.NAME);switch(n.value){case"query":return qn.QUERY;case"mutation":return qn.MUTATION;case"subscription":return qn.SUBSCRIPTION}throw this.unexpected(n)}parseVariableDefinitions(){return this.optionalMany(L.PAREN_L,this.parseVariableDefinition,L.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:q.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(L.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(L.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let n=this._lexer.token;return this.expectToken(L.DOLLAR),this.node(n,{kind:q.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:q.SELECTION_SET,selections:this.many(L.BRACE_L,this.parseSelection,L.BRACE_R)})}parseSelection(){return this.peek(L.SPREAD)?this.parseFragment():this.parseField()}parseField(){let n=this._lexer.token,e=this.parseName(),i,r;return this.expectOptionalToken(L.COLON)?(i=e,r=this.parseName()):r=e,this.node(n,{kind:q.FIELD,alias:i,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(L.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(n){let e=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(L.PAREN_L,e,L.PAREN_R)}parseArgument(n=!1){let e=this._lexer.token,i=this.parseName();return this.expectToken(L.COLON),this.node(e,{kind:q.ARGUMENT,name:i,value:this.parseValueLiteral(n)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let n=this._lexer.token;this.expectToken(L.SPREAD);let e=this.expectOptionalKeyword("on");return!e&&this.peek(L.NAME)?this.node(n,{kind:q.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(n,{kind:q.INLINE_FRAGMENT,typeCondition:e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let n=this._lexer.token,e=this.parseDescription();return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(n,{kind:q.FRAGMENT_DEFINITION,description:e,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:q.FRAGMENT_DEFINITION,description:e,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(n){let e=this._lexer.token;switch(e.kind){case L.BRACKET_L:return this.parseList(n);case L.BRACE_L:return this.parseObject(n);case L.INT:return this.advanceLexer(),this.node(e,{kind:q.INT,value:e.value});case L.FLOAT:return this.advanceLexer(),this.node(e,{kind:q.FLOAT,value:e.value});case L.STRING:case L.BLOCK_STRING:return this.parseStringLiteral();case L.NAME:switch(this.advanceLexer(),e.value){case"true":return this.node(e,{kind:q.BOOLEAN,value:!0});case"false":return this.node(e,{kind:q.BOOLEAN,value:!1});case"null":return this.node(e,{kind:q.NULL});default:return this.node(e,{kind:q.ENUM,value:e.value})}case L.DOLLAR:if(n)if(this.expectToken(L.DOLLAR),this._lexer.token.kind===L.NAME){let i=this._lexer.token.value;throw en(this._lexer.source,e.start,`Unexpected variable "$${i}" in constant value.`)}else throw this.unexpected(e);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let n=this._lexer.token;return this.advanceLexer(),this.node(n,{kind:q.STRING,value:n.value,block:n.kind===L.BLOCK_STRING})}parseList(n){let e=()=>this.parseValueLiteral(n);return this.node(this._lexer.token,{kind:q.LIST,values:this.any(L.BRACKET_L,e,L.BRACKET_R)})}parseObject(n){let e=()=>this.parseObjectField(n);return this.node(this._lexer.token,{kind:q.OBJECT,fields:this.any(L.BRACE_L,e,L.BRACE_R)})}parseObjectField(n){let e=this._lexer.token,i=this.parseName();return this.expectToken(L.COLON),this.node(e,{kind:q.OBJECT_FIELD,name:i,value:this.parseValueLiteral(n)})}parseDirectives(n){let e=[];for(;this.peek(L.AT);)e.push(this.parseDirective(n));return e}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(n){let e=this._lexer.token;return this.expectToken(L.AT),this.node(e,{kind:q.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n)})}parseTypeReference(){let n=this._lexer.token,e;if(this.expectOptionalToken(L.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(L.BRACKET_R),e=this.node(n,{kind:q.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(L.BANG)?this.node(n,{kind:q.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:q.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(L.STRING)||this.peek(L.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),r=this.many(L.BRACE_L,this.parseOperationTypeDefinition,L.BRACE_R);return this.node(n,{kind:q.SCHEMA_DEFINITION,description:e,directives:i,operationTypes:r})}parseOperationTypeDefinition(){let n=this._lexer.token,e=this.parseOperationType();this.expectToken(L.COLON);let i=this.parseNamedType();return this.node(n,{kind:q.OPERATION_TYPE_DEFINITION,operation:e,type:i})}parseScalarTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),r=this.parseConstDirectives();return this.node(n,{kind:q.SCALAR_TYPE_DEFINITION,description:e,name:i,directives:r})}parseObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(n,{kind:q.OBJECT_TYPE_DEFINITION,description:e,name:i,interfaces:r,directives:o,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(L.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(L.BRACE_L,this.parseFieldDefinition,L.BRACE_R)}parseFieldDefinition(){let n=this._lexer.token,e=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(L.COLON);let o=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(n,{kind:q.FIELD_DEFINITION,description:e,name:i,arguments:r,type:o,directives:s})}parseArgumentDefs(){return this.optionalMany(L.PAREN_L,this.parseInputValueDef,L.PAREN_R)}parseInputValueDef(){let n=this._lexer.token,e=this.parseDescription(),i=this.parseName();this.expectToken(L.COLON);let r=this.parseTypeReference(),o;this.expectOptionalToken(L.EQUALS)&&(o=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(n,{kind:q.INPUT_VALUE_DEFINITION,description:e,name:i,type:r,defaultValue:o,directives:s})}parseInterfaceTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(n,{kind:q.INTERFACE_TYPE_DEFINITION,description:e,name:i,interfaces:r,directives:o,fields:s})}parseUnionTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(n,{kind:q.UNION_TYPE_DEFINITION,description:e,name:i,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(L.EQUALS)?this.delimitedMany(L.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(n,{kind:q.ENUM_TYPE_DEFINITION,description:e,name:i,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(L.BRACE_L,this.parseEnumValueDefinition,L.BRACE_R)}parseEnumValueDefinition(){let n=this._lexer.token,e=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(n,{kind:q.ENUM_VALUE_DEFINITION,description:e,name:i,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw en(this._lexer.source,this._lexer.token.start,`${Xh(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");let i=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(n,{kind:q.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:i,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(L.BRACE_L,this.parseInputValueDef,L.BRACE_R)}parseTypeSystemExtension(){let n=this._lexer.lookahead();if(n.kind===L.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension();break}throw this.unexpected(n)}parseSchemaExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let e=this.parseConstDirectives(),i=this.optionalMany(L.BRACE_L,this.parseOperationTypeDefinition,L.BRACE_R);if(e.length===0&&i.length===0)throw this.unexpected();return this.node(n,{kind:q.SCHEMA_EXTENSION,directives:e,operationTypes:i})}parseScalarTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let e=this.parseName(),i=this.parseConstDirectives();if(i.length===0)throw this.unexpected();return this.node(n,{kind:q.SCALAR_TYPE_EXTENSION,name:e,directives:i})}parseObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let e=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:q.OBJECT_TYPE_EXTENSION,name:e,interfaces:i,directives:r,fields:o})}parseInterfaceTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let e=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:q.INTERFACE_TYPE_EXTENSION,name:e,interfaces:i,directives:r,fields:o})}parseUnionTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let e=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:q.UNION_TYPE_EXTENSION,name:e,directives:i,types:r})}parseEnumTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let e=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:q.ENUM_TYPE_EXTENSION,name:e,directives:i,values:r})}parseInputObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let e=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:q.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:i,fields:r})}parseDirectiveDefinitionExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(L.AT);let e=this.parseName(),i=this.parseConstDirectives();if(i.length===0)throw this.unexpected();return this.node(n,{kind:q.DIRECTIVE_EXTENSION,name:e,directives:i})}parseDirectiveDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(L.AT);let i=this.parseName(),r=this.parseArgumentDefs(),o=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(n,{kind:q.DIRECTIVE_DEFINITION,description:e,name:i,arguments:r,directives:o,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany(L.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let n=this._lexer.token,e=this.parseName();if(Object.prototype.hasOwnProperty.call(Kh,e.value))return e;throw this.unexpected(n)}parseSchemaCoordinate(){let n=this._lexer.token,e=this.expectOptionalToken(L.AT),i=this.parseName(),r;!e&&this.expectOptionalToken(L.DOT)&&(r=this.parseName());let o;return(e||r)&&this.expectOptionalToken(L.PAREN_L)&&(o=this.parseName(),this.expectToken(L.COLON),this.expectToken(L.PAREN_R)),e?o?this.node(n,{kind:q.DIRECTIVE_ARGUMENT_COORDINATE,name:i,argumentName:o}):this.node(n,{kind:q.DIRECTIVE_COORDINATE,name:i}):r?o?this.node(n,{kind:q.ARGUMENT_COORDINATE,name:i,fieldName:r,argumentName:o}):this.node(n,{kind:q.MEMBER_COORDINATE,name:i,memberName:r}):this.node(n,{kind:q.TYPE_COORDINATE,name:i})}node(n,e){return this._options.noLocation!==!0&&(e.loc=new Ql(n,this._lexer.lastToken,this._lexer.source)),e}peek(n){return this._lexer.token.kind===n}expectToken(n){let e=this._lexer.token;if(e.kind===n)return this.advanceLexer(),e;throw en(this._lexer.source,e.start,`Expected ${vM(n)}, found ${Xh(e)}.`)}expectOptionalToken(n){return this._lexer.token.kind===n?(this.advanceLexer(),!0):!1}expectKeyword(n){let e=this._lexer.token;if(e.kind===L.NAME&&e.value===n)this.advanceLexer();else throw en(this._lexer.source,e.start,`Expected "${n}", found ${Xh(e)}.`)}expectOptionalKeyword(n){let e=this._lexer.token;return e.kind===L.NAME&&e.value===n?(this.advanceLexer(),!0):!1}unexpected(n){let e=n??this._lexer.token;return en(this._lexer.source,e.start,`Unexpected ${Xh(e)}.`)}any(n,e,i){this.expectToken(n);let r=[];for(;!this.expectOptionalToken(i);)r.push(e.call(this));return r}optionalMany(n,e,i){if(this.expectOptionalToken(n)){let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(i));return r}return[]}many(n,e,i){this.expectToken(n);let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(i));return r}delimitedMany(n,e){this.expectOptionalToken(n);let i=[];do i.push(e.call(this));while(this.expectOptionalToken(n));return i}advanceLexer(){let{maxTokens:n}=this._options,e=this._lexer.advance();if(e.kind!==L.EOF&&(++this._tokenCounter,n!==void 0&&this._tokenCounter>n))throw en(this._lexer.source,e.start,`Document contains more that ${n} tokens. Parsing aborted.`)}};function Xh(t){let n=t.value;return vM(t.kind)+(n!=null?` "${n}"`:"")}function vM(t){return hM(t)?`"${t}"`:t}function _M(t){return`"${t.replace(y8,b8)}"`}var y8=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function b8(t){return v8[t.charCodeAt(0)]}var v8=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var Co=Object.freeze({});function on(t,n,e=$v){let i=new Map;for(let w of Object.values(q))i.set(w,Qv(n,w));let r,o=Array.isArray(t),s=[t],a=-1,l=[],c=t,d,u,p=[],f=[];do{a++;let w=a===s.length,D=w&&l.length!==0;if(w){if(d=f.length===0?void 0:p[p.length-1],c=u,u=f.pop(),D)if(o){c=c.slice();let B=0;for(let[Y,ge]of l){let tt=Y-B;ge===null?(c.splice(tt,1),B++):c[tt]=ge}}else{c=_({},c);for(let[B,Y]of l)c[B]=Y}a=r.index,s=r.keys,l=r.edits,o=r.inArray,r=r.prev}else if(u){if(d=o?a:s[a],c=u[d],c==null)continue;p.push(d)}let P;if(!Array.isArray(c)){var y,b;Uv(c)||Gl(!1,`Invalid AST Node: ${Zl(c)}.`);let B=w?(y=i.get(c.kind))===null||y===void 0?void 0:y.leave:(b=i.get(c.kind))===null||b===void 0?void 0:b.enter;if(P=B?.call(n,c,d,u,p,f),P===Co)break;if(P===!1){if(!w){p.pop();continue}}else if(P!==void 0&&(l.push([d,P]),!w))if(Uv(P))c=P;else{p.pop();continue}}if(P===void 0&&D&&l.push([d,c]),w)p.pop();else{var v;r={inArray:o,index:a,keys:s,edits:l,prev:r},o=Array.isArray(c),s=o?c:(v=e[c.kind])!==null&&v!==void 0?v:[],a=-1,l=[],u&&f.push(u),u=c}}while(r!==void 0);return l.length!==0?l[l.length-1][1]:t}function Qv(t,n){let e=t[n];return typeof e=="object"?e:typeof e=="function"?{enter:e,leave:void 0}:{enter:t.enter,leave:t.leave}}function Xl(t){return on(t,w8)}var _8=80,w8={Name:{leave:t=>t.value},Variable:{leave:t=>"$"+t.name},Document:{leave:t=>le(t.definitions,`
`)},OperationDefinition:{leave(t){let n=Kv(t.variableDefinitions)?Be(`(
`,le(t.variableDefinitions,`
`),`
)`):Be("(",le(t.variableDefinitions,", "),")"),e=Be("",t.description,`
`)+le([t.operation,le([t.name,n]),le(t.directives," ")]," ");return(e==="query"?"":e+" ")+t.selectionSet}},VariableDefinition:{leave:({variable:t,type:n,defaultValue:e,directives:i,description:r})=>Be("",r,`
`)+t+": "+n+Be(" = ",e)+Be(" ",le(i," "))},SelectionSet:{leave:({selections:t})=>lr(t)},Field:{leave({alias:t,name:n,arguments:e,directives:i,selectionSet:r}){let o=Be("",t,": ")+n,s=o+Be("(",le(e,", "),")");return s.length>_8&&(s=o+Be(`(
`,tm(le(e,`
`)),`
)`)),le([s,le(i," "),r]," ")}},Argument:{leave:({name:t,value:n})=>t+": "+n},FragmentSpread:{leave:({name:t,directives:n})=>"..."+t+Be(" ",le(n," "))},InlineFragment:{leave:({typeCondition:t,directives:n,selectionSet:e})=>le(["...",Be("on ",t),le(n," "),e]," ")},FragmentDefinition:{leave:({name:t,typeCondition:n,variableDefinitions:e,directives:i,selectionSet:r,description:o})=>Be("",o,`
`)+`fragment ${t}${Be("(",le(e,", "),")")} on ${n} ${Be("",le(i," ")," ")}`+r},IntValue:{leave:({value:t})=>t},FloatValue:{leave:({value:t})=>t},StringValue:{leave:({value:t,block:n})=>n?pM(t):_M(t)},BooleanValue:{leave:({value:t})=>t?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:t})=>t},ListValue:{leave:({values:t})=>"["+le(t,", ")+"]"},ObjectValue:{leave:({fields:t})=>"{"+le(t,", ")+"}"},ObjectField:{leave:({name:t,value:n})=>t+": "+n},Directive:{leave:({name:t,arguments:n})=>"@"+t+Be("(",le(n,", "),")")},NamedType:{leave:({name:t})=>t},ListType:{leave:({type:t})=>"["+t+"]"},NonNullType:{leave:({type:t})=>t+"!"},SchemaDefinition:{leave:({description:t,directives:n,operationTypes:e})=>Be("",t,`
`)+le(["schema",le(n," "),lr(e)]," ")},OperationTypeDefinition:{leave:({operation:t,type:n})=>t+": "+n},ScalarTypeDefinition:{leave:({description:t,name:n,directives:e})=>Be("",t,`
`)+le(["scalar",n,le(e," ")]," ")},ObjectTypeDefinition:{leave:({description:t,name:n,interfaces:e,directives:i,fields:r})=>Be("",t,`
`)+le(["type",n,Be("implements ",le(e," & ")),le(i," "),lr(r)]," ")},FieldDefinition:{leave:({description:t,name:n,arguments:e,type:i,directives:r})=>Be("",t,`
`)+n+(Kv(e)?Be(`(
`,tm(le(e,`
`)),`
)`):Be("(",le(e,", "),")"))+": "+i+Be(" ",le(r," "))},InputValueDefinition:{leave:({description:t,name:n,type:e,defaultValue:i,directives:r})=>Be("",t,`
`)+le([n+": "+e,Be("= ",i),le(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:t,name:n,interfaces:e,directives:i,fields:r})=>Be("",t,`
`)+le(["interface",n,Be("implements ",le(e," & ")),le(i," "),lr(r)]," ")},UnionTypeDefinition:{leave:({description:t,name:n,directives:e,types:i})=>Be("",t,`
`)+le(["union",n,le(e," "),Be("= ",le(i," | "))]," ")},EnumTypeDefinition:{leave:({description:t,name:n,directives:e,values:i})=>Be("",t,`
`)+le(["enum",n,le(e," "),lr(i)]," ")},EnumValueDefinition:{leave:({description:t,name:n,directives:e})=>Be("",t,`
`)+le([n,le(e," ")]," ")},InputObjectTypeDefinition:{leave:({description:t,name:n,directives:e,fields:i})=>Be("",t,`
`)+le(["input",n,le(e," "),lr(i)]," ")},DirectiveDefinition:{leave:({description:t,name:n,arguments:e,directives:i,repeatable:r,locations:o})=>Be("",t,`
`)+"directive @"+n+(Kv(e)?Be(`(
`,tm(le(e,`
`)),`
)`):Be("(",le(e,", "),")"))+Be(" ",le(i," "))+(r?" repeatable":"")+" on "+le(o," | ")},SchemaExtension:{leave:({directives:t,operationTypes:n})=>le(["extend schema",le(t," "),lr(n)]," ")},ScalarTypeExtension:{leave:({name:t,directives:n})=>le(["extend scalar",t,le(n," ")]," ")},ObjectTypeExtension:{leave:({name:t,interfaces:n,directives:e,fields:i})=>le(["extend type",t,Be("implements ",le(n," & ")),le(e," "),lr(i)]," ")},InterfaceTypeExtension:{leave:({name:t,interfaces:n,directives:e,fields:i})=>le(["extend interface",t,Be("implements ",le(n," & ")),le(e," "),lr(i)]," ")},UnionTypeExtension:{leave:({name:t,directives:n,types:e})=>le(["extend union",t,le(n," "),Be("= ",le(e," | "))]," ")},EnumTypeExtension:{leave:({name:t,directives:n,values:e})=>le(["extend enum",t,le(n," "),lr(e)]," ")},InputObjectTypeExtension:{leave:({name:t,directives:n,fields:e})=>le(["extend input",t,le(n," "),lr(e)]," ")},DirectiveExtension:{leave:({name:t,directives:n})=>le(["extend directive @"+t,le(n," ")]," ")},TypeCoordinate:{leave:({name:t})=>t},MemberCoordinate:{leave:({name:t,memberName:n})=>le([t,Be(".",n)])},ArgumentCoordinate:{leave:({name:t,fieldName:n,argumentName:e})=>le([t,Be(".",n),Be("(",e,":)")])},DirectiveCoordinate:{leave:({name:t})=>le(["@",t])},DirectiveArgumentCoordinate:{leave:({name:t,argumentName:n})=>le(["@",t,Be("(",n,":)")])}};function le(t,n=""){var e;return(e=t?.filter(i=>i).join(n))!==null&&e!==void 0?e:""}function lr(t){return Be(`{
`,tm(le(t,`
`)),`
}`)}function Be(t,n,e=""){return n!=null&&n!==""?t+n+e:""}function tm(t){return Be(" ",t.replace(/\n/g,`
`))}function Kv(t){var n;return(n=t?.some(e=>e.includes(`
`)))!==null&&n!==void 0?n:!1}function ca(t){try{return t()}catch{}}var ec=ca(()=>globalThis)||ca(()=>window)||ca(()=>self)||ca(()=>global)||ca(function(){return ca.constructor("return this")()});var iu="4.2.2";var wM=new Map;function ru(t){let n=wM.get(t)||1;return wM.set(t,n+1),`${t}:${n}:${Math.random().toString(36).slice(2)}`}function ou(t,n=0){let e=ru("stringifyForDisplay");return JSON.stringify(t,(i,r)=>r===void 0?e:r,n).split(JSON.stringify(e)).join("<undefined>")}var CM="Invariant Violation",Yv=class t extends Error{constructor(n=CM){super(n),this.name=CM,Object.setPrototypeOf(this,t.prototype)}},TM=["debug","log","warn","error","silent"],D8=TM.indexOf("silent");function W(t,...n){if(!t)throw Qt(...n)}function nm(t){return function(n,...e){if(TM.indexOf(t)>=D8){let i=console[t]||console.log;if(typeof n=="number"){let r=n;n=EM(r),n||(n=SM(r,e),e=[])}i(n,...e)}}}W.debug=nm("debug");W.log=nm("log");W.warn=nm("warn");W.error=nm("error");function Qt(t,...n){return new Yv(EM(t,n)||SM(t,n))}var xM=Symbol.for("ApolloErrorMessageHandler_"+iu);function Zv(t){if(typeof t=="string")return t;try{return ou(t,2).slice(0,1e3)}catch{return"<non-serializable>"}}function EM(t,n=[]){if(t)return ec[xM]&&ec[xM](t,n.map(Zv))}function SM(t,n=[]){if(t)return typeof t=="string"?n.reduce((e,i)=>e.replace(/%[sdfo]/,Zv(i)),t):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:iu,message:t,args:n.map(Zv)}))}`}function xo(t,n,e,i){if(e.kind===q.INT||e.kind===q.FLOAT)t[n.value]=Number(e.value);else if(e.kind===q.BOOLEAN||e.kind===q.STRING)t[n.value]=e.value;else if(e.kind===q.OBJECT){let r={};e.fields.map(o=>xo(r,o.name,o.value,i)),t[n.value]=r}else if(e.kind===q.VARIABLE){let r=(i||{})[e.name.value];t[n.value]=r}else if(e.kind===q.LIST)t[n.value]=e.values.map(r=>{let o={};return xo(o,n,r,i),o[n.value]});else if(e.kind===q.ENUM)t[n.value]=e.value;else if(e.kind===q.NULL)t[n.value]=null;else throw Qt(19,n.value,e.kind)}function da(t,n){if(t.arguments&&t.arguments.length){let e={};return t.arguments.forEach(({name:i,value:r})=>xo(e,i,r,n)),e}return null}var k8=Symbol.for("apollo.cacheSize"),mn=_({},ec[k8]);function sn(t,n){return t.definitions.find(e=>e.kind==="OperationDefinition"&&!!e.name)?.name.value??n}var M8=()=>Object.create(null),{forEach:O8,slice:IM}=Array.prototype,{hasOwnProperty:R8}=Object.prototype,Rn=class t{constructor(n=!0,e=M8){this.weakness=n,this.makeData=e}lookup(){return this.lookupArray(arguments)}lookupArray(n){let e=this;return O8.call(n,i=>e=e.getChildTrie(i)),R8.call(e,"data")?e.data:e.data=this.makeData(IM.call(n))}peek(){return this.peekArray(arguments)}peekArray(n){let e=this;for(let i=0,r=n.length;e&&i<r;++i){let o=e.mapFor(n[i],!1);e=o&&o.get(n[i])}return e&&e.data}remove(){return this.removeArray(arguments)}removeArray(n){let e;if(n.length){let i=n[0],r=this.mapFor(i,!1),o=r&&r.get(i);o&&(e=o.removeArray(IM.call(n,1)),!o.data&&!o.weak&&!(o.strong&&o.strong.size)&&r.delete(i))}else e=this.data,delete this.data;return e}getChildTrie(n){let e=this.mapFor(n,!0),i=e.get(n);return i||e.set(n,i=new t(this.weakness,this.makeData)),i}mapFor(n,e){return this.weakness&&P8(n)?this.weak||(e?this.weak=new WeakMap:void 0):this.strong||(e?this.strong=new Map:void 0)}};function P8(t){switch(typeof t){case"object":if(t===null)break;case"function":return!0}return!1}function A8(){}var ss=class{constructor(n=1/0,e=A8){this.max=n,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}get size(){return this.map.size}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:i,newer:r}=e;r&&(r.older=i),i&&(i.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let i=this.getNode(n);return i?i.value=e:(i={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=i),this.newest=i,this.oldest=this.oldest||i,this.map.set(n,i),i.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(n){let e=this.map.get(n);return e?(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(n),this.dispose(e.value,n),!0):!1}};function Jv(){}var N8=Jv,F8=typeof WeakRef<"u"?WeakRef:function(t){return{deref:()=>t}},L8=typeof WeakMap<"u"?WeakMap:Map,B8=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:Jv,unregister:Jv}},V8=10024,Ur=class{constructor(n=1/0,e=N8){this.max=n,this.dispose=e,this.map=new L8,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let i=this.unfinalizedNodes.values();for(let r=0;r<V8;r++){let o=i.next().value;if(!o)break;this.unfinalizedNodes.delete(o);let s=o.key;delete o.key,o.keyRef=new F8(s),this.registry.register(s,o,o)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new B8(this.deleteNode.bind(this))}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:i,newer:r}=e;r&&(r.older=i),i&&(i.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let i=this.getNode(n);return i?i.value=e:(i={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=i),this.newest=i,this.oldest=this.oldest||i,this.scheduleFinalization(i),this.map.set(n,i),this.size++,i.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(n){n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.size--;let e=n.key||n.keyRef&&n.keyRef.deref();this.dispose(n.value,e),n.keyRef?this.registry.unregister(n):this.unfinalizedNodes.delete(n),e&&this.map.delete(e)}delete(n){let e=this.map.get(n);return e?(this.deleteNode(e),!0):!1}scheduleFinalization(n){this.unfinalizedNodes.add(n),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}};var Xv=new WeakSet;function DM(t){t.size<=(t.max||-1)||Xv.has(t)||(Xv.add(t),setTimeout(()=>{t.clean(),Xv.delete(t)},100))}var ua=function(t,n){let e=new Ur(t,n);return e.set=function(i,r){let o=Ur.prototype.set.call(this,i,r);return DM(this),o},e},e_=function(t,n){let e=new ss(t,n);return e.set=function(i,r){let o=ss.prototype.set.call(this,i,r);return DM(this),o},e};function im(t,{max:n,makeCacheKey:e=i=>i}){let i=new Rn(!0),r=new ua(n);return(...o)=>{let s=i.lookupArray(e(o)),a=r.get(s);if(a){if(a.error)throw a.error;return a.result}let l=r.set(s,{});try{return l.result=t(...o)}catch(c){throw l.error=c,c}}}var Qn=im((t,n)=>{W(t&&t.kind==="Document",1);let e=t.definitions.filter(i=>i.kind==="OperationDefinition");!1,n&&W(e.length==1&&e[0].operation===n,4,n,n,e[0].operation),on(t,{Field(i,r,o,s){if(i.alias&&(i.alias.value==="__typename"||i.alias.value.startsWith("__ac_"))&&i.alias.value!==i.name.value){let a=t,l=[];for(let c of s)a=a[c],a.kind===q.FIELD&&l.push(a.alias?.value||a.name.value);throw l.splice(-1,1,i.name.value),Qt(5,i.alias.value,l.join("."),e[0].operation,sn(t,"(anonymous)"))}}})},{max:mn.checkDocument||2e3});var{toString:j8}=Object.prototype;function n_(t){return t_(t)}function t_(t,n){switch(j8.call(t)){case"[object Array]":{if(n=n||new Map,n.has(t))return n.get(t);let e=t.slice(0);return n.set(t,e),e.forEach(function(i,r){e[r]=t_(i,n)}),e}case"[object Object]":{if(n=n||new Map,n.has(t))return n.get(t);let e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),Object.keys(t).forEach(i=>{e[i]=t_(t[i],n)}),e}default:return t}}function i_(t){return t.length===0?Pt:new ue(n=>{let{length:e}=t,i=new Array(e),r=new Map;t.forEach((l,c)=>{r.has(l)||r.set(l,new Set),r.get(l).add(c)});let o=r.size,s=r.size,a;r.forEach((l,c)=>{let d=!1,u=c.subscribe({next:p=>{l.forEach(f=>i[f]=p),d||(d=!0,s--),s||(a||=new Set(t.filter(f=>f.dirty)),a.delete(c),a.size||(n.next(i.slice()),a=void 0))},complete:()=>{o--,o||n.complete()},error:n.error.bind(n)});n.add(u)})})}function Fi(...t){let n={};return t.forEach(e=>{e&&Reflect.ownKeys(e).forEach(i=>{let r=e[i];r!==void 0&&(n[i]=r)})}),n}function cr(t=[]){let n={};return t.forEach(e=>{n[e.name.value]=e}),n}function Ct(t){return t!==null&&typeof t=="object"}var{hasOwnProperty:z8}=Object.prototype,H8=function(t,n,e){return this.merge(t[e],n[e])},kM=t=>isNaN(+t)?{}:[],ni=class{options;reconciler;constructor(n={}){this.options=n,this.reconciler=n.reconciler||H8}merge(n,e,i={}){let r=i.atPath;if(r?.length){let[o,...s]=r;n===void 0&&(n=kM(o));let a=n[o];a===void 0&&s.length&&(a=kM(s[0]));let l=this.merge(a,e,A(_({},i),{atPath:s}));return a!==l&&(n=this.shallowCopyForMerge(n),n[o]=l),n}return Array.isArray(n)&&Array.isArray(e)&&this.options.arrayMerge==="truncate"&&n.length>e.length&&(n=n.slice(0,e.length),this.pastCopies.add(n)),Ct(e)&&Ct(n)?(Object.keys(e).forEach(o=>{if(z8.call(n,o)){let s=n[o];if(e[o]!==s){let a=this.reconciler(n,e,o);a!==s&&(n=this.shallowCopyForMerge(n),n[o]=a)}}else n=this.shallowCopyForMerge(n),n[o]=e[o]}),n):e}isObject=Ct;pastCopies=new Set;shallowCopyForMerge(n){return Ct(n)&&(this.pastCopies.has(n)||(Array.isArray(n)?n=n.slice(0):n=_({__proto__:Object.getPrototypeOf(n)},n),this.pastCopies.add(n))),n}};function pa(t){let n={},e=t&&t.variableDefinitions;return e&&e.length&&e.forEach(i=>{i.defaultValue&&xo(n,i.variable.name,i.defaultValue)}),n}function as(t,n){switch(t.kind){case"InlineFragment":return t;case"FragmentSpread":{let e=t.name.value;if(typeof n=="function")return n(e);let i=n&&n[e];return W(i,9,e),i||null}default:return null}}function r_(t,n){let e=n,i=[];return t.definitions.forEach(o=>{if(o.kind==="OperationDefinition")throw Qt(10,o.operation,o.name?` named '${o.name.value}'`:"");o.kind==="FragmentDefinition"&&i.push(o)}),typeof e>"u"&&(W(i.length===1,11,i.length),e=i[0].name.value),A(_({},t),{definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:e}}]}},...t.definitions]})}function su(t){W(t.kind==="Document",6),W(t.definitions.length<=1,7);let n=t.definitions[0];return W(n.kind==="FragmentDefinition",8),n}function dr(t){return t.definitions.filter(n=>n.kind==="FragmentDefinition")}function ls(t){Qn(t);let n;for(let e of t.definitions){if(e.kind==="OperationDefinition")return e;e.kind==="FragmentDefinition"&&!n&&(n=e)}if(n)return n;throw Qt(12)}function Pn(t){return Qn(t),t.definitions.filter(n=>n.kind==="OperationDefinition")[0]}function au(t){let n=Pn(t);return W(n&&n.operation==="query",13),n}var $8={};function lu(t,n){$8[t]=n}var En=Object.assign(function(n){return JSON.stringify(n,U8)},{reset(){tc=new e_(mn.canonicalStringify||1e3)}});!1;var tc;En.reset();function U8(t,n){if(n&&typeof n=="object"){let e=Object.getPrototypeOf(n);if(e===Object.prototype||e===null){let i=Object.keys(n);if(i.every(W8))return n;let r=JSON.stringify(i),o=tc.get(r);if(!o){i.sort();let a=JSON.stringify(i);o=tc.get(a)||i,tc.set(r,o),tc.set(a,o)}let s=Object.create(e);return o.forEach(a=>{s[a]=n[a]}),s}}return n}function W8(t,n,e){return n===0||e[n-1]<=t}var G8=["connection","include","skip","client","rest","export","nonreactive","stream"],cu=En,du=Object.assign(function(t,n,e){if(n&&e&&e.connection&&e.connection.key){if(e.connection.filter&&e.connection.filter.length>0){let r=e.connection.filter?e.connection.filter:[];r.sort();let o={};r.forEach(a=>{o[a]=n[a]});let s=cu(o);if(s!=="{}")return`${e.connection.key}(${s})`}return e.connection.key}let i=t;if(n){let r=cu(n);r!=="{}"&&(i+=`(${r})`)}return e&&Object.keys(e).forEach(r=>{G8.indexOf(r)===-1&&(e[r]&&Object.keys(e[r]).length?i+=`@${r}(${cu(e[r])})`:i+=`@${r}`)}),i},{setStringify(t){let n=cu;return cu=t,n}});function To(t){return!!t.errors?.length}function Wr(t,n,e){let i=new Set(t),r=i.size;return on(n,{Directive(o){if(i.delete(o.name.value)&&(!e||!i.size))return Co}}),e?!i.size:i.size<r}function o_(t){let n=!1;return on(t,{Directive:{enter(e){if(e.name.value==="client"&&e.arguments&&(n=e.arguments.some(i=>i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0),n))return Co}}}),n}var Tt=Array.isArray;function s_(t){return Ct(t)&&t.kind==="Document"&&Array.isArray(t.definitions)}function Gr(t){return t.kind==="Field"}function fa(t){return Array.isArray(t)&&t.length>0}function qr(t){return{__ref:String(t)}}function MM(t){let n=new Set([t]);return n.forEach(e=>{Ct(e)&&q8(e)===e&&Object.getOwnPropertyNames(e).forEach(i=>{Ct(e[i])&&n.add(e[i])})}),t}function q8(t){if(!1)try{Object.freeze(t)}catch(n){if(n instanceof TypeError)return null;throw n}return t}function cs(t){return!1,t}function a_(t){let n=t[0]||{},e=t.length;if(e>1){let i=new ni;for(let r=1;r<e;++r)n=i.merge(n,t[r])}return n}function ha(t,n){return Fi(t,n,n.variables&&{variables:Fi(_(_({},t&&t.variables),n.variables))})}function rm(t){return t.catch(()=>{}),t}function l_(t,n){Qn(n);let e=OM(""),i=OM(""),r=v=>{for(let w=0,D;w<v.length&&(D=v[w]);++w)if(!Tt(D)){if(D.kind===q.OPERATION_DEFINITION)return e(D.name&&D.name.value);if(D.kind===q.FRAGMENT_DEFINITION)return i(D.name.value)}return W.error(14),null},o=0;for(let v=n.definitions.length-1;v>=0;--v)n.definitions[v].kind===q.OPERATION_DEFINITION&&++o;let s=Q8(t),a=v=>fa(v)&&v.map(s).some(w=>w&&w.remove),l=new Map,c=!1,d={enter(v){if(a(v.directives))return c=!0,null}},u=on(n,{Field:d,InlineFragment:d,VariableDefinition:{enter(){return!1}},Variable:{enter(v,w,D,P,B){let Y=r(B);Y&&Y.variables.add(v.name.value)}},FragmentSpread:{enter(v,w,D,P,B){if(a(v.directives))return c=!0,null;let Y=r(B);Y&&Y.fragmentSpreads.add(v.name.value)}},FragmentDefinition:{enter(v,w,D,P){l.set(JSON.stringify(P),v)},leave(v,w,D,P){let B=l.get(JSON.stringify(P));if(v===B)return v;if(o>0&&v.selectionSet.selections.every(Y=>Y.kind===q.FIELD&&Y.name.value==="__typename"))return i(v.name.value).removed=!0,c=!0,null}},Directive:{leave(v){if(s(v))return c=!0,null}}});if(!c)return n;let p=v=>(v.transitiveVars||(v.transitiveVars=new Set(v.variables),v.removed||v.fragmentSpreads.forEach(w=>{p(i(w)).transitiveVars.forEach(D=>{v.transitiveVars.add(D)})})),v),f=new Set;u.definitions.forEach(v=>{v.kind===q.OPERATION_DEFINITION?p(e(v.name&&v.name.value)).fragmentSpreads.forEach(w=>{f.add(w)}):v.kind===q.FRAGMENT_DEFINITION&&o===0&&!i(v.name.value).removed&&f.add(v.name.value)}),f.forEach(v=>{p(i(v)).fragmentSpreads.forEach(w=>{f.add(w)})});let y=v=>!!(!f.has(v)||i(v).removed),b={enter(v){if(y(v.name.value))return null}};return K8(on(u,{FragmentSpread:b,FragmentDefinition:b,OperationDefinition:{leave(v){if(v.variableDefinitions){let w=p(e(v.name&&v.name.value)).transitiveVars;if(w.size<v.variableDefinitions.length)return A(_({},v),{variableDefinitions:v.variableDefinitions.filter(D=>w.has(D.variable.name.value))})}}}}))}function OM(t){let n=new Map;return function(i=t){let r=n.get(i);return r||n.set(i,r={variables:new Set,fragmentSpreads:new Set}),r}}function Q8(t){let n=new Map,e=new Map;return t.forEach(i=>{i&&(i.name?n.set(i.name,i):i.test&&e.set(i.test,i))}),i=>{let r=n.get(i.name.value);return!r&&e.size&&e.forEach((o,s)=>{s(i)&&(r=o)}),r}}function RM(t,n){return!t||t.selectionSet.selections.every(e=>e.kind===q.FRAGMENT_SPREAD&&RM(n[e.name.value],n))}function K8(t){return RM(Pn(t)||su(t),cr(dr(t)))?null:t}function c_(t){return on(t,{FragmentSpread(n){if(!n.directives?.some(({name:e})=>e.value==="unmask"))return null}})}function fi(t){return t.alias?t.alias.value:t.name.value}function Eo({directives:t},n){return!t||!t.length?!0:Z8(t).every(({directive:e,ifArgument:i})=>{let r=!1;return i.value.kind==="Variable"?(r=n&&n[i.value.name.value],W(r!==void 0,15,e.name.value)):r=i.value.value,e.name.value==="skip"?!r:r})}function Y8({name:{value:t}}){return t==="skip"||t==="include"}function Z8(t){let n=[];return t&&t.length&&t.forEach(e=>{if(!Y8(e))return;let i=e.arguments,r=e.name.value;W(i&&i.length===1,16,r);let o=i[0];W(o.name&&o.name.value==="if",17,r);let s=o.value;W(s&&(s.kind==="Variable"||s.kind==="BooleanValue"),18,r),n.push({directive:e,ifArgument:o})}),n}function d_(t,n){let e=null;t.directives&&(e={},t.directives.forEach(r=>{e[r.name.value]={},r.arguments&&r.arguments.forEach(({name:o,value:s})=>xo(e[r.name.value],o,s,n))}));let i=null;return t.arguments&&t.arguments.length&&(i={},t.arguments.forEach(({name:r,value:o})=>xo(i,r,o,n))),du(t.name.value,i,e)}function ds(t){let n={data:t.data};return t.error&&(n.error=t.error),n}function nc(t,n=()=>{}){return e=>new ue(i=>{let r=n();return e.subscribe({next(o){let s;try{s=t(o,r)}catch(a){i.error(a)}s!==void 0&&i.next(s)},error(o){i.error(o)},complete(){i.complete()}})})}var{toString:PM,hasOwnProperty:J8}=Object.prototype,AM=Function.prototype.toString,u_=new Map;function dt(t,n){try{return p_(t,n)}finally{u_.clear()}}function p_(t,n){if(t===n)return!0;let e=PM.call(t),i=PM.call(n);if(e!==i)return!1;switch(e){case"[object Array]":if(t.length!==n.length)return!1;case"[object Object]":{if(FM(t,n))return!0;let r=NM(t),o=NM(n),s=r.length;if(s!==o.length)return!1;for(let a=0;a<s;++a)if(!J8.call(n,r[a]))return!1;for(let a=0;a<s;++a){let l=r[a];if(!p_(t[l],n[l]))return!1}return!0}case"[object Error]":return t.name===n.name&&t.message===n.message;case"[object Number]":if(t!==t)return n!==n;case"[object Boolean]":case"[object Date]":return+t==+n;case"[object RegExp]":case"[object String]":return t==`${n}`;case"[object Map]":case"[object Set]":{if(t.size!==n.size)return!1;if(FM(t,n))return!0;let r=t.entries(),o=e==="[object Map]";for(;;){let s=r.next();if(s.done)break;let[a,l]=s.value;if(!n.has(a)||o&&!p_(l,n.get(a)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),n=new Uint8Array(n);case"[object DataView]":{let r=t.byteLength;if(r===n.byteLength)for(;r--&&t[r]===n[r];);return r===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let r=AM.call(t);return r!==AM.call(n)?!1:!t7(r,e7)}}return!1}function NM(t){return Object.keys(t).filter(X8,t)}function X8(t){return this[t]!==void 0}var e7="{ [native code] }";function t7(t,n){let e=t.length-n.length;return e>=0&&t.indexOf(n,e)===e}function FM(t,n){let e=u_.get(t);if(e){if(e.has(n))return!0}else u_.set(t,e=new Set);return e.add(n),!1}function uu(t,s,l,o){var a=s,{data:n}=a,e=Et(a,["data"]);var c=l,{data:i}=c,r=Et(c,["data"]);return dt(e,r)&&om(ls(t).selectionSet,n,i,{fragmentMap:cr(dr(t)),variables:o})}function om(t,n,e,i){if(n===e)return!0;let r=new Set;return t.selections.every(o=>{if(r.has(o)||(r.add(o),!Eo(o,i.variables))||LM(o))return!0;if(Gr(o)){let s=fi(o),a=n&&n[s],l=e&&e[s],c=o.selectionSet;if(!c)return dt(a,l);let d=Array.isArray(a),u=Array.isArray(l);if(d!==u)return!1;if(d&&u){let p=a.length;if(l.length!==p)return!1;for(let f=0;f<p;++f)if(!om(c,a[f],l[f],i))return!1;return!0}return om(c,a,l,i)}else{let s=as(o,i.fragmentMap);if(s)return LM(s)?!0:om(s.selectionSet,n,e,i)}})}function LM(t){return!!t.directives&&t.directives.some(n7)}function n7(t){return t.name.value==="nonreactive"}function i7(t,n){let e,i;function r(o){return o!==e&&(e=o,i=n(e)),i}return Object.assign(t.pipe(ye(r),Ms({bufferSize:1,refCount:!0})),{getCurrentResult:()=>r(t.getCurrentResult())})}var pu=im(function(n,e,i){return i7(n,i)},{max:1,makeCacheKey:t=>t.slice(0,2)});var fu=Symbol.for("apollo.result.extensions"),hi=Symbol.for("apollo.result.streamInfo"),f_=Symbol.for("apollo.observableQuery.variablesUnknown");var An=null,BM={},r7=1,o7=()=>class{constructor(){this.id=["slot",r7++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let n=An;n;n=n.parent)if(this.id in n.slots){let e=n.slots[this.id];if(e===BM)break;return n!==An&&(An.slots[this.id]=e),!0}return An&&(An.slots[this.id]=BM),!1}getValue(){if(this.hasValue())return An.slots[this.id]}withValue(n,e,i,r){let o={__proto__:null,[this.id]:n},s=An;An={parent:s,slots:o};try{return e.apply(r,i)}finally{An=s}}static bind(n){let e=An;return function(){let i=An;try{return An=e,n.apply(this,arguments)}finally{An=i}}}static noContext(n,e,i){if(An){let r=An;try{return An=null,n.apply(i,e)}finally{An=r}}else return n.apply(i,e)}};function VM(t){try{return t()}catch{}}var h_="@wry/context:Slot",s7=VM(()=>globalThis)||VM(()=>global)||Object.create(null),jM=s7,So=jM[h_]||Array[h_]||(function(t){try{Object.defineProperty(jM,h_,{value:t,enumerable:!1,writable:!1,configurable:!0})}finally{return t}})(o7());var{bind:zM,noContext:HM}=So;var ma=new So;var{hasOwnProperty:$M}=Object.prototype,hu=Array.from||function(t){let n=[];return t.forEach(e=>n.push(e)),n};function ic(t){let{unsubscribe:n}=t;typeof n=="function"&&(t.unsubscribe=void 0,n())}var mu=[],c7=100;function rc(t,n){if(!t)throw new Error(n||"assertion failure")}function WM(t,n){let e=t.length;return e>0&&e===n.length&&t[e-1]===n[e-1]}function GM(t){switch(t.length){case 0:throw new Error("unknown value");case 1:return t[0];case 2:throw t[1]}}function qM(t){return t.slice(0)}var QM=(()=>{class t{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++t.count}peek(){if(this.value.length===1&&!us(this))return UM(this),this.value[0]}recompute(e){return rc(!this.recomputing,"already recomputing"),UM(this),us(this)?d7(this,e):GM(this.value)}setDirty(){this.dirty||(this.dirty=!0,KM(this),ic(this))}dispose(){this.setDirty(),eO(this),m_(this,(e,i)=>{e.setDirty(),tO(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=mu.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(hu(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),mu.push(this.deps),this.deps=null)}}return t.count=0,t})();function UM(t){let n=ma.getValue();if(n)return t.parents.add(n),n.childValues.has(t)||n.childValues.set(t,[]),us(t)?ZM(n,t):JM(n,t),n}function d7(t,n){return eO(t),ma.withValue(t,u7,[t,n]),f7(t,n)&&p7(t),GM(t.value)}function u7(t,n){t.recomputing=!0;let{normalizeResult:e}=t,i;e&&t.value.length===1&&(i=qM(t.value)),t.value.length=0;try{if(t.value[0]=t.fn.apply(null,n),e&&i&&!WM(i,t.value))try{t.value[0]=e(t.value[0],i[0])}catch{}}catch(r){t.value[1]=r}t.recomputing=!1}function us(t){return t.dirty||!!(t.dirtyChildren&&t.dirtyChildren.size)}function p7(t){t.dirty=!1,!us(t)&&YM(t)}function KM(t){m_(t,ZM)}function YM(t){m_(t,JM)}function m_(t,n){let e=t.parents.size;if(e){let i=hu(t.parents);for(let r=0;r<e;++r)n(i[r],t)}}function ZM(t,n){rc(t.childValues.has(n)),rc(us(n));let e=!us(t);if(!t.dirtyChildren)t.dirtyChildren=mu.pop()||new Set;else if(t.dirtyChildren.has(n))return;t.dirtyChildren.add(n),e&&KM(t)}function JM(t,n){rc(t.childValues.has(n)),rc(!us(n));let e=t.childValues.get(n);e.length===0?t.childValues.set(n,qM(n.value)):WM(e,n.value)||t.setDirty(),XM(t,n),!us(t)&&YM(t)}function XM(t,n){let e=t.dirtyChildren;e&&(e.delete(n),e.size===0&&(mu.length<c7&&mu.push(e),t.dirtyChildren=null))}function eO(t){t.childValues.size>0&&t.childValues.forEach((n,e)=>{tO(t,e)}),t.forgetDeps(),rc(t.dirtyChildren===null)}function tO(t,n){n.parents.delete(t),t.childValues.delete(n),XM(t,n)}function f7(t,n){if(typeof t.subscribe=="function")try{ic(t),t.unsubscribe=t.subscribe.apply(null,n)}catch{return t.setDirty(),!1}return!0}var h7={setDirty:!0,dispose:!0,forget:!0};function gu(t){let n=new Map,e=t&&t.subscribe;function i(r){let o=ma.getValue();if(o){let s=n.get(r);s||n.set(r,s=new Set),o.dependOn(s),typeof e=="function"&&(ic(s),s.unsubscribe=e(r))}}return i.dirty=function(o,s){let a=n.get(o);if(a){let l=s&&$M.call(h7,s)?s:"setDirty";hu(a).forEach(c=>c[l]()),n.delete(o),ic(a)}},i}var nO;function y_(...t){return(nO||(nO=new Rn(typeof WeakMap=="function"))).lookupArray(t)}var g_=new Set;function Io(t,{max:n=Math.pow(2,16),keyArgs:e,makeCacheKey:i=y_,normalizeResult:r,subscribe:o,cache:s=ss}=Object.create(null)){let a=typeof s=="function"?new s(n,p=>p.dispose()):s,l=function(){let p=i.apply(null,e?e.apply(null,arguments):arguments);if(p===void 0)return t.apply(null,arguments);let f=a.get(p);f||(a.set(p,f=new QM(t)),f.normalizeResult=r,f.subscribe=o,f.forget=()=>a.delete(p));let y=f.recompute(Array.prototype.slice.call(arguments));return a.set(p,f),g_.add(a),ma.hasValue()||(g_.forEach(b=>b.clean()),g_.clear()),y};Object.defineProperty(l,"size",{get:()=>a.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:n,keyArgs:e,makeCacheKey:i,normalizeResult:r,subscribe:o,cache:a});function c(p){let f=p&&a.get(p);f&&f.setDirty()}l.dirtyKey=c,l.dirty=function(){c(i.apply(null,arguments))};function d(p){let f=p&&a.get(p);if(f)return f.peek()}l.peekKey=d,l.peek=function(){return d(i.apply(null,arguments))};function u(p){return p?a.delete(p):!1}return l.forgetKey=u,l.forget=function(){return u(i.apply(null,arguments))},l.makeCacheKey=i,l.getKey=e?function(){return i.apply(null,e.apply(null,arguments))}:i,Object.freeze(l)}function b_(...t){return y_.bind(null,...t)}function v_(){throw new Error("only supported in development mode")}var iO=v_,rO=v_,oO=v_;var yu=class{isIncrementalResult(n){return!1}prepareRequest(n){return W(!Wr(["defer","stream"],n.query),67),n}extractErrors(){}startRequest=void 0};function __(t,{client:n}){let e={query:t.query,variables:t.variables||{},extensions:t.extensions||{},operationName:sn(t.query),operationType:Pn(t.query).operation},i=_({},t.context),r=s=>{typeof s=="function"?i=_(_({},i),s(o())):i=_(_({},i),s)},o=()=>Object.freeze(_({},i));return Object.defineProperty(e,"setContext",{enumerable:!1,value:r}),Object.defineProperty(e,"getContext",{enumerable:!1,value:o}),Object.defineProperty(e,"client",{enumerable:!1,value:n}),e}var Bn=class t{static empty(){return new t(()=>Pt)}static from(n){if(n.length===0)return t.empty();let[e,...i]=n;return e.concat(...i)}static split(n,e,i=new t((r,o)=>o(r))){let r=new t((o,s)=>{let a=n(o);return!1,a?e.request(o,s):i.request(o,s)});return Object.assign(r,{left:e,right:i})}static execute(n,e,i){return n.request(__(e,i),()=>(!1,Pt))}static concat(...n){return t.from(n)}constructor(n){n&&(this.request=n)}split(n,e,i){return this.concat(t.split(n,e,i))}concat(...n){return n.length===0?this:n.reduce(this.combine.bind(this),this)}combine(n,e){let i=new t((r,o)=>n.request(r,s=>e.request(s,o)));return Object.assign(i,{left:n,right:e})}request(n,e){throw Qt(65)}left;right};var sm=Bn.split;var ga=Bn.execute;function m7(t){return t}var Do=class t{transform;cached;resultCache=new WeakSet;getCacheKey(n){return[n]}static identity(){return new t(m7,{cache:!1})}static split(n,e,i=t.identity()){return Object.assign(new t(r=>(n(r)?e:i).transformDocument(r),{cache:!1}),{left:e,right:i})}constructor(n,e={}){this.transform=n,e.getCacheKey&&(this.getCacheKey=e.getCacheKey),this.cached=e.cache!==!1,this.resetCache()}resetCache(){if(this.cached){let n=new Rn;this.performWork=Io(t.prototype.performWork.bind(this),{makeCacheKey:e=>{let i=this.getCacheKey(e);if(i)return W(Array.isArray(i),20),n.lookupArray(i)},max:mn["documentTransform.cache"],cache:Ur})}}performWork(n){return Qn(n),this.transform(n)}transformDocument(n){if(this.resultCache.has(n))return n;let e=this.performWork(n);return this.resultCache.add(e),e}concat(n){return Object.assign(new t(e=>n.transformDocument(this.transformDocument(e)),{cache:!1}),{left:this,right:n})}left;right};var bu,Qr=Object.assign(t=>{let n=bu.get(t);return n||(n=Xl(t),bu.set(t,n)),n},{reset(){bu=new ua(mn.print||2e3)}});Qr.reset();!1;function et(t){return!!(t&&typeof t=="object"&&typeof t.__ref=="string")}var sO={kind:q.FIELD,name:{kind:q.NAME,value:"__typename"}},ya=Object.assign(function(t){return on(t,{SelectionSet:{enter(n,e,i){if(i&&i.kind===q.OPERATION_DEFINITION)return;let{selections:r}=n;if(!r||r.some(a=>a.kind===q.FIELD&&(a.name.value==="__typename"||a.name.value.lastIndexOf("__",0)===0)))return;let s=i;if(!(s.kind===q.FIELD&&s.directives&&s.directives.some(a=>a.name.value==="export")))return A(_({},n),{selections:[...r,sO]})}}})},{added(t){return t===sO}});function vu(t){return t===7||t===8}function ba(t){return!vu(t)}var oc=class{assumeImmutableResults=!1;lookupFragment(n){return null}batch(n){let e=typeof n.optimistic=="string"?n.optimistic:n.optimistic===!1?null:void 0,i;return this.performTransaction(()=>i=n.update(this),e),i}recordOptimisticTransaction(n,e){this.performTransaction(n,e)}transformDocument(n){return n}transformForLink(n){return n}identify(n){}gc(){return[]}modify(n){return!1}readQuery(n,e=!!n.optimistic){return this.read(A(_({},n),{rootId:n.id||"ROOT_QUERY",optimistic:e}))}fragmentWatches=new Rn(!0);watchFragment(n){let{fragment:e,fragmentName:i,from:r}=n,o=this.getFragmentDoc(e,i),a=(Array.isArray(r)?r:[r]).map(f=>{let y=f==null?f:this.toCacheId(f);if(!1){let b=i||su(e).name.value;y===void 0&&!1&&W.warn(118,b)}return y});if(!Array.isArray(r)){let f=this.watchSingleFragment(a[0],o,n);return r===null?f:pu(f,Symbol.for("apollo.transform.individualResult"),y=>A(_({},y),{data:y.data??{}}))}let l;function c(f){let y=f.reduce((b,v,w)=>(b.data.push(v.data),b.complete&&=v.complete,b.dataState=b.complete?"complete":"partial",v.missing&&(b.missing||={},b.missing[w]=v.missing),b),{data:[],dataState:"complete",complete:!0});return dt(l,y)||(l=y),l}if(a.length===0)return y7;let d=!1,u=a.map(f=>this.watchSingleFragment(f,o,n)),p=i_(u).pipe(ye(c),St({subscribe:()=>d=!0,unsubscribe:()=>d=!1}),Ms({bufferSize:1,refCount:!0}));return Object.assign(p,{getCurrentResult:()=>{if(d&&l)return l;let f=u.map(y=>y.getCurrentResult());return c(f)}})}onAfterBroadcast=n=>n();watchSingleFragment(n,e,i){if(n===null)return g7;let{optimistic:r=!0,variables:o}=i,s=[e,En({id:n,optimistic:r,variables:o})],a=this.fragmentWatches.lookupArray(s);if(!a.observable){let u=function(f){let y=f.result;return(!d||!uu(e,{data:d.data},{data:y},i.variables))&&(d={data:y,dataState:f.complete?"complete":"partial",complete:f.complete},f.missing&&(d.missing=f.missing.missing)),d};var l=u;let c=!1,d,p=new ue(f=>{c=!0;let y=this.watch({variables:o,returnPartialData:!0,id:n,query:e,optimistic:r,immediate:!0,callback:b=>{p.dirty=!0,this.onAfterBroadcast(()=>{f.next(u(b)),p.dirty=!1})}});return()=>{c=!1,y(),this.fragmentWatches.removeArray(s)}}).pipe(Pc(),Cr({connector:()=>new to(1),resetOnRefCountZero:()=>Bg(0)}));a.observable=Object.assign(p,{dirty:!1,getCurrentResult:()=>c&&d?d:u(this.diff({id:n,query:e,returnPartialData:!0,optimistic:r,variables:o}))})}return a.observable}getFragmentDoc=Io(r_,{max:mn["cache.fragmentQueryDocuments"]||1e3,cache:Ur,makeCacheKey:b_(this)});readFragment(n,e=!!n.optimistic){let i=n.from!==void 0?this.toCacheId(n.from):n.id;return this.read(A(_({},n),{query:this.getFragmentDoc(n.fragment,n.fragmentName),rootId:i,optimistic:e}))}writeQuery(r){var o=r,{id:n,data:e}=o,i=Et(o,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:e}))}writeFragment(o){var s=o,{data:n,fragment:e,fragmentName:i}=s,r=Et(s,["data","fragment","fragmentName"]);let a=r.from!==void 0?this.toCacheId(r.from):r.id;return this.write(Object.assign(r,{query:this.getFragmentDoc(e,i),dataId:a,result:n}))}updateQuery(n,e){return this.batch({update(i){let r=i.readQuery(n),o=e(r);return o==null?r:(i.writeQuery(A(_({},n),{data:o})),o)}})}updateFragment(n,e){return this.batch({update(i){let r=i.readFragment(n),o=e(r);return o==null?r:(i.writeFragment(A(_({},n),{data:o})),o)}})}toCacheId(n){return typeof n=="string"?n:this.identify(n)}};!1;var aO=Object.freeze({data:null,dataState:"complete",complete:!0}),g7=Object.assign(new ue(t=>{t.next(aO)}),{dirty:!1,getCurrentResult:()=>aO}),lO=Object.freeze({data:[],dataState:"complete",complete:!0}),y7=Object.assign(new ue(t=>{t.next(lO)}),{getCurrentResult:()=>lO});var _u=class t extends Error{message;path;query;variables;constructor(n,e,i,r){if(super(n),this.message=n,this.path=e,this.query=i,this.variables=r,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let o=this.path.length-1;o>=0;--o)this.missing={[this.path[o]]:this.missing}}else this.missing=this.path;this.__proto__=t.prototype}missing};var{hasOwnProperty:Kt}=Object.prototype;function lm({__typename:t,id:n,_id:e},i){if(typeof t=="string"&&(i&&(i.keyObject=n!=null?{id:n}:e!=null?{_id:e}:void 0),n==null&&e!=null&&(n=e),n!=null))return`${t}:${typeof n=="number"||typeof n=="string"?n:JSON.stringify(n)}`}var b7={dataIdFromObject:lm,resultCaching:!0};function cO(t){return Fi(b7,t)}function dO(t,n){return et(n)?t.get(n.__ref,"__typename"):n&&n.__typename}var w_=/^[_a-z][_0-9a-z]*/i;function ur(t){let n=t.match(w_);return n?n[0]:t}function am(t,n,e){return Ct(n)?Tt(n)?n.every(i=>am(t,i,e)):t.selections.every(i=>{if(Gr(i)&&Eo(i,e)){let r=fi(i);return Kt.call(n,r)&&(!i.selectionSet||am(i.selectionSet,n[r],e))}return!0}):!1}function ps(t){return Ct(t)&&!et(t)&&!Tt(t)}function uO(){return new ni}function cm(t,n){let e=cr(dr(t));return{fragmentMap:e,lookupFragment(i){let r=e[i];return!r&&n&&(r=n.lookup(i)),r||null}}}var dm={},C_=()=>dm,pO={},va=class{policies;group;data={};constructor(n,e){this.policies=n,this.group=e}toObject(){return _({},this.data)}has(n){return this.lookup(n,!0)!==void 0}get(n,e){if(this.group.depend(n,e),Kt.call(this.data,n)){let i=this.data[n];if(i&&Kt.call(i,e))return i[e]}if(e==="__typename"&&Kt.call(this.policies.rootTypenamesById,n))return this.policies.rootTypenamesById[n];if(this instanceof Kr)return this.parent.get(n,e)}lookup(n,e){if(e&&this.group.depend(n,"__exists"),Kt.call(this.data,n))return this.data[n];if(this instanceof Kr)return this.parent.lookup(n,e);if(this.policies.rootTypenamesById[n])return{}}merge(n,e){let i;et(n)&&(n=n.__ref),et(e)&&(e=e.__ref);let r=typeof n=="string"?this.lookup(i=n):n,o=typeof e=="string"?this.lookup(i=e):e;if(!o)return;W(typeof i=="string",104);let s=new ni({reconciler:v7}).merge(r,o);if(this.data[i]=s,s!==r&&(delete this.refs[i],this.group.caching)){let a={};r||(a.__exists=1),Object.keys(o).forEach(l=>{if(!r||r[l]!==s[l]){a[l]=1;let c=ur(l);c!==l&&!this.policies.hasKeyArgs(s.__typename,c)&&(a[c]=1),s[l]===void 0&&!(this instanceof Kr)&&delete s[l]}}),a.__typename&&!(r&&r.__typename)&&this.policies.rootTypenamesById[i]===s.__typename&&delete a.__typename,Object.keys(a).forEach(l=>this.group.dirty(i,l))}}modify(n,e,i){let r=this.lookup(n);if(r){let o={},s=!1,a=!0,l={DELETE:dm,INVALIDATE:pO,isReference:et,toReference:this.toReference,canRead:this.canRead,readField:(c,d)=>this.policies.readField(typeof c=="string"?{fieldName:c,from:d||qr(n)}:c,{store:this})};if(Object.keys(r).forEach(c=>{let d=ur(c),u=r[c];if(u===void 0)return;let p=typeof e=="function"?e:e[c]||(i?void 0:e[d]);if(p){let f=p===C_?dm:p(cs(u),A(_({},l),{fieldName:d,storeFieldName:c,storage:this.getStorage(n,c)}));if(f===pO)this.group.dirty(n,c);else if(f===dm&&(f=void 0),f!==u&&(o[c]=f,s=!0,u=f,!1)){let y=b=>{if(this.lookup(b.__ref)===void 0)return!1,!0};if(et(f))y(f);else if(Array.isArray(f)){let b=!1,v;for(let w of f){if(et(w)){if(b=!0,y(w))break}else if(typeof w=="object"&&w){let[D]=this.policies.identify(w);D&&(v=w)}if(b&&v!==void 0){!1;break}}}}}u!==void 0&&(a=!1)}),s)return this.merge(n,o),a&&(this instanceof Kr?this.data[n]=void 0:delete this.data[n],this.group.dirty(n,"__exists")),!0}return!1}delete(n,e,i){let r=this.lookup(n);if(r){let o=this.getFieldValue(r,"__typename"),s=e&&i?this.policies.getStoreFieldName({typename:o,fieldName:e,args:i}):e;return this.modify(n,s?{[s]:C_}:C_,!!i)}return!1}evict(n,e){let i=!1;return n.id&&(Kt.call(this.data,n.id)&&(i=this.delete(n.id,n.fieldName,n.args)),this instanceof Kr&&this!==e&&(i=this.parent.evict(n,e)||i),(n.fieldName||i)&&this.group.dirty(n.id,n.fieldName||"__exists")),i}clear(){this.replace(null)}extract(){let n=this.toObject(),e=[];return this.getRootIdSet().forEach(i=>{Kt.call(this.policies.rootTypenamesById,i)||e.push(i)}),e.length&&(n.__META={extraRootIds:e.sort()}),n}replace(n){if(Object.keys(this.data).forEach(i=>{n&&Kt.call(n,i)||this.delete(i)}),n){let e=n,{__META:i}=e,r=Et(e,["__META"]);Object.keys(r).forEach(o=>{this.merge(o,r[o])}),i&&i.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(n){return this.rootIds[n]=(this.rootIds[n]||0)+1}release(n){if(this.rootIds[n]>0){let e=--this.rootIds[n];return e||delete this.rootIds[n],e}return 0}getRootIdSet(n=new Set){return Object.keys(this.rootIds).forEach(n.add,n),this instanceof Kr?this.parent.getRootIdSet(n):Object.keys(this.policies.rootTypenamesById).forEach(n.add,n),n}gc(){let n=this.getRootIdSet(),e=this.toObject();n.forEach(r=>{Kt.call(e,r)&&(Object.keys(this.findChildRefIds(r)).forEach(n.add,n),delete e[r])});let i=Object.keys(e);if(i.length){let r=this;for(;r instanceof Kr;)r=r.parent;i.forEach(o=>r.delete(o))}return i}refs={};findChildRefIds(n){if(!Kt.call(this.refs,n)){let e=this.refs[n]={},i=this.data[n];if(!i)return e;let r=new Set([i]);r.forEach(o=>{et(o)&&(e[o.__ref]=!0),Ct(o)&&Object.keys(o).forEach(s=>{let a=o[s];Ct(a)&&r.add(a)})})}return this.refs[n]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(n,e)=>cs(et(n)?this.get(n.__ref,e):n&&n[e]);canRead=n=>et(n)?this.has(n.__ref):typeof n=="object";toReference=(n,e)=>{if(typeof n=="string")return qr(n);if(et(n))return n;let[i]=this.policies.identify(n);if(i){let r=qr(i);return e&&this.merge(i,n),r}};get supportsResultCaching(){return this.group.caching}},um=class{caching;parent;d=null;keyMaker;constructor(n,e=null){this.caching=n,this.parent=e,this.resetCaching()}resetCaching(){this.d=this.caching?gu():null,this.keyMaker=new Rn}depend(n,e){if(this.d){this.d(x_(n,e));let i=ur(e);i!==e&&this.d(x_(n,i)),this.parent&&this.parent.depend(n,e)}}dirty(n,e){this.d&&this.d.dirty(x_(n,e),e==="__exists"?"forget":"setDirty")}};function x_(t,n){return n+"#"+t}function S_(t,n){_a(t)&&t.group.depend(n,"__exists")}var T_=class extends va{constructor({policies:n,resultCaching:e=!0,seed:i}){super(n,new um(e)),i&&this.replace(i)}stump=new E_(this);addLayer(n,e){return this.stump.addLayer(n,e)}removeLayer(){return this}storageTrie=new Rn;getStorage(){return this.storageTrie.lookupArray(arguments)}};va.Root=T_;var Kr=class t extends va{id;parent;replay;group;constructor(n,e,i,r){super(e.policies,r),this.id=n,this.parent=e,this.replay=i,this.group=r,i(this)}addLayer(n,e){return new t(n,this,e,this.group)}removeLayer(n){let e=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(i=>{let r=this.data[i],o=e.lookup(i);o?r?r!==o&&Object.keys(r).forEach(s=>{dt(r[s],o[s])||this.group.dirty(i,s)}):(this.group.dirty(i,"__exists"),Object.keys(o).forEach(s=>{this.group.dirty(i,s)})):this.delete(i)}),e):e===this.parent?this:e.addLayer(this.id,this.replay)}toObject(){return _(_({},this.parent.toObject()),this.data)}findChildRefIds(n){let e=this.parent.findChildRefIds(n);return Kt.call(this.data,n)?_(_({},e),super.findChildRefIds(n)):e}getStorage(...n){let e=this.parent;for(;e.parent;)e=e.parent;return e.getStorage(...n)}},E_=class extends Kr{constructor(n){super("EntityStore.Stump",n,()=>{},new um(n.group.caching,n.group))}removeLayer(){return this}merge(n,e){return this.parent.merge(n,e)}};function v7(t,n,e){let i=t[e],r=n[e];return dt(i,r)?i:r}function _a(t){return!!(t&&t.supportsResultCaching)}var sc=new So;function fO(t){let n=t.directives?.find(({name:i})=>i.value==="unmask");if(!n)return"mask";let e=n.arguments?.find(({name:i})=>i.value==="mode");return!1,e&&"value"in e.value&&e.value.value==="migrate"?"migrate":"unmask"}function pm(t,n,e){return sc.withValue(!0,()=>{let i=wu(t,n,e,!1);return Object.isFrozen(t)&&cs(i),i})}function _7(t,n){if(n.has(t))return n.get(t);let e=Array.isArray(t)?[]:{};return n.set(t,e),e}function wu(t,n,e,i,r){let{knownChanged:o}=e,s=_7(t,e.mutableTargets);if(Array.isArray(t)){for(let[a,l]of Array.from(t.entries())){if(l===null){s[a]=null;continue}let c=wu(l,n,e,i,void 0);o.has(c)&&o.add(s),s[a]=c}return o.has(s)?s:t}for(let a of n.selections){let l;if(i&&o.add(s),a.kind===q.FIELD){let c=fi(a),d=a.selectionSet;if(l=s[c]||t[c],l===void 0)continue;if(d&&l!==null){let u=wu(t[c],d,e,i,void 0);o.has(u)&&(l=u)}s[c]=l,!1}if(a.kind===q.INLINE_FRAGMENT&&(!a.typeCondition||e.cache.fragmentMatches(a,t.__typename))&&(l=wu(t,a.selectionSet,e,i,r)),a.kind===q.FRAGMENT_SPREAD){let c=a.name.value,d=e.fragmentMap[c]||(e.fragmentMap[c]=e.cache.lookupFragment(c));W(d,39,c);let u=fO(a);u!=="mask"&&(l=wu(t,d.selectionSet,e,u==="migrate",r))}o.has(l)&&o.add(s)}return"__typename"in t&&!("__typename"in s)&&(s.__typename=t.__typename),Object.keys(s).length!==Object.keys(t).length&&o.add(s),o.has(s)?s:t}function w7(t,n,e,i,r){let o=()=>(sc.getValue()||(!1,o=()=>n),n);return{get(){return o()},set(s){o=()=>s},enumerable:!0,configurable:!0}}function I_(t,n,e,i){let r=n.definitions.filter(s=>s.kind===q.FRAGMENT_DEFINITION);typeof i>"u"&&(W(r.length===1,41,r.length),i=r[0].name.value);let o=r.find(s=>s.name.value===i);return W(!!o,42,i),t==null||dt(t,{})?t:pm(t,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:cr(dr(n)),cache:e,mutableTargets:new WeakMap,knownChanged:new WeakSet})}function D_(t,n,e){let i=Pn(n);return W(i,43),t==null?t:pm(t,i.selectionSet,{operationType:i.operation,operationName:i.name?.value,fragmentMap:cr(dr(n)),cache:e,mutableTargets:new WeakMap,knownChanged:new WeakSet})}var hO={};function k_(t){let n=JSON.stringify(t);return hO[n]||(hO[n]={})}function M_(t){let n=k_(t);return n.keyFieldsFn||(n.keyFieldsFn=(e,i)=>{let r=(s,a)=>i.readField(a,s),o=i.keyObject=R_(t,s=>{let a=ac(i.storeObject,s,r);return a===void 0&&e!==i.storeObject&&Kt.call(e,s[0])&&(a=ac(e,s,gO)),W(a!==void 0,107,s.join("."),e),a});return`${i.typename}:${JSON.stringify(o)}`})}function O_(t){let n=k_(t);return n.keyArgsFn||(n.keyArgsFn=(e,{field:i,variables:r,fieldName:o})=>{let s=R_(t,l=>{let c=l[0],d=c.charAt(0);if(d==="@"){if(i&&fa(i.directives)){let u=c.slice(1),p=i.directives.find(y=>y.name.value===u),f=p&&da(p,r);return f&&ac(f,l.slice(1))}return}if(d==="$"){let u=c.slice(1);if(r&&Kt.call(r,u)){let p=l.slice(0);return p[0]=u,ac(r,p)}return}if(e)return ac(e,l)}),a=JSON.stringify(s);return(e||a!=="{}")&&(o+=":"+a),o})}function R_(t,n){let e=new ni;return mO(t).reduce((i,r)=>{let o=n(r);if(o!==void 0){for(let s=r.length-1;s>=0;--s)o={[r[s]]:o};i=e.merge(i,o)}return i},{})}function mO(t){let n=k_(t);if(!n.paths){let e=n.paths=[],i=[];t.forEach((r,o)=>{Tt(r)?(mO(r).forEach(s=>e.push(i.concat(s))),i.length=0):(i.push(r),Tt(t[o+1])||(e.push(i.slice(0)),i.length=0))})}return n.paths}function gO(t,n){return t[n]}function ac(t,n,e){return e=e||gO,yO(n.reduce(function i(r,o){return Tt(r)?r.map(s=>i(s,o)):r&&e(r,o)},t))}function yO(t){return Ct(t)?Tt(t)?t.map(yO):R_(Object.keys(t).sort(),n=>ac(t,n)):t}var P_=new So,bO=new WeakMap;function Cu(t){let n=bO.get(t);return n||bO.set(t,n={vars:new Set,dep:gu()}),n}function A_(t){Cu(t).vars.forEach(n=>n.forgetCache(t))}function vO(t){Cu(t).vars.forEach(n=>n.attachCache(t))}function N_(t){let n=new Set,e=new Set,i=function(o){if(arguments.length>0){if(t!==o){t=o,n.forEach(a=>{Cu(a).dep.dirty(i),C7(a)});let s=Array.from(e);e.clear(),s.forEach(a=>a(t))}}else{let s=P_.getValue();s&&(r(s),Cu(s).dep(i))}return t};i.onNextChange=o=>(e.add(o),()=>{e.delete(o)});let r=i.attachCache=o=>(n.add(o),Cu(o).vars.add(i),i);return i.forgetCache=o=>n.delete(o),i}function C7(t){t.broadcastWatches&&t.broadcastWatches()}function F_(t){return t.args!==void 0?t.args:t.field?da(t.field,t.variables):null}var x7=()=>{},_O=(t,n)=>n.fieldName,wO=(t,n,{mergeObjects:e})=>e(t,n),CO=(t,n)=>n,xO=(t,n,{streamFieldInfo:e,existingData:i})=>{if(!t&&!i)return n;let r=[],o=t??i,s=e?.isLastChunk?n.length:Math.max(o.length,n.length);for(let a=0;a<s;a++)r[a]=n[a]===void 0?o[a]:n[a];return r},fm=class{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(n){this.config=n,this.config=_({dataIdFromObject:lm},n),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),n.possibleTypes&&this.addPossibleTypes(n.possibleTypes),n.typePolicies&&this.addTypePolicies(n.typePolicies)}identify(n,e){let i=this,r=e&&(e.typename||e.storeObject?.__typename)||n.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];let o=e&&e.storeObject||n,s=A(_({},e),{typename:r,storeObject:o,readField:e&&e.readField||((...d)=>{let u=hm(d,o);return i.readField(u,{store:i.cache.data,variables:u.variables})})}),a,l=r&&this.getTypePolicy(r),c=l&&l.keyFn||this.config.dataIdFromObject;return sc.withValue(!0,()=>{for(;c;){let d=c(_(_({},n),o),s);if(Tt(d))c=M_(d);else{a=d;break}}}),a=a?String(a):void 0,s.keyObject?[a,s.keyObject]:[a]}addTypePolicies(n){Object.keys(n).forEach(e=>{let a=n[e],{queryType:i,mutationType:r,subscriptionType:o}=a,s=Et(a,["queryType","mutationType","subscriptionType"]);i&&this.setRootTypename("Query",e),r&&this.setRootTypename("Mutation",e),o&&this.setRootTypename("Subscription",e),Kt.call(this.toBeAdded,e)?this.toBeAdded[e].push(s):this.toBeAdded[e]=[s]})}updateTypePolicy(n,e,i){let r=this.getTypePolicy(n),{keyFields:o,fields:s}=e;function a(l,c){l.merge=typeof c=="function"?c:c===!0?wO:c===!1?CO:l.merge}a(r,e.merge),r.keyFn=o===!1?x7:Tt(o)?M_(o):typeof o=="function"?o:r.keyFn,s&&Object.keys(s).forEach(l=>{let c=i[l];(!c||c?.typename!==n)&&(c=i[l]={typename:n});let d=s[l];if(typeof d=="function")c.read=d;else{let{keyArgs:u,read:p,merge:f}=d;c.keyFn=u===!1?_O:Tt(u)?O_(u):typeof u=="function"?u:c.keyFn,typeof p=="function"&&(c.read=p),a(c,f)}c.read&&c.merge&&(c.keyFn=c.keyFn||_O)})}setRootTypename(n,e=n){let i="ROOT_"+n.toUpperCase(),r=this.rootTypenamesById[i];e!==r&&(W(!r||r===n,108,n),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[e]=i,this.rootTypenamesById[i]=e)}addPossibleTypes(n){this.usingPossibleTypes=!0,Object.keys(n).forEach(e=>{this.getSupertypeSet(e,!0),n[e].forEach(i=>{this.getSupertypeSet(i,!0).add(e);let r=i.match(w_);(!r||r[0]!==i)&&this.fuzzySubtypes.set(i,new RegExp(i))})})}getTypePolicy(n){if(!Kt.call(this.typePolicies,n)){let i=this.typePolicies[n]={};i.fields={};let r=this.supertypeMap.get(n);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(n,!0),this.fuzzySubtypes.forEach((o,s)=>{if(o.test(n)){let a=this.supertypeMap.get(s);a&&a.forEach(l=>r.add(l))}})),r&&r.size&&r.forEach(o=>{let l=this.getTypePolicy(o),{fields:s}=l,a=Et(l,["fields"]);Object.assign(i,a),Object.assign(i.fields,s)})}let e=this.toBeAdded[n];return e&&e.length&&e.splice(0).forEach(i=>{this.updateTypePolicy(n,i,this.typePolicies[n].fields)}),this.typePolicies[n]}getFieldPolicy(n,e){if(n)return this.getTypePolicy(n).fields[e]}getSupertypeSet(n,e){let i=this.supertypeMap.get(n);return!i&&e&&this.supertypeMap.set(n,i=new Set),i}fragmentMatches(n,e,i,r){if(!n.typeCondition)return!0;if(!e)return!1;let o=n.typeCondition.name.value;if(e===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o)){let s=this.getSupertypeSet(e,!0),a=[s],l=u=>{let p=this.getSupertypeSet(u,!1);p&&p.size&&a.indexOf(p)<0&&a.push(p)},c=!!(i&&this.fuzzySubtypes.size),d=!1;for(let u=0;u<a.length;++u){let p=a[u];if(p.has(o))return s.has(o)||(d&&!1&&W.warn(109,e,o),s.add(o)),!0;p.forEach(l),c&&u===a.length-1&&am(n.selectionSet,i,r)&&(c=!1,d=!0,this.fuzzySubtypes.forEach((f,y)=>{let b=e.match(f);b&&b[0]===e&&l(y)}))}}return!1}hasKeyArgs(n,e){let i=this.getFieldPolicy(n,e);return!!(i&&i.keyFn)}getStoreFieldName(n){let{typename:e,fieldName:i}=n,r=this.getFieldPolicy(e,i),o,s=r&&r.keyFn;if(s&&e){let a={typename:e,fieldName:i,field:n.field||null,variables:n.variables},l=F_(n);for(;s;){let c=s(l,a);if(Tt(c))s=O_(c);else{o=c||i;break}}}return o===void 0&&(o=n.field?d_(n.field,n.variables):du(i,F_(n))),o===!1?i:i===ur(o)?o:i+":"+o}readField(n,e){let i=n.from;if(!i||!(n.field||n.fieldName))return;if(n.typename===void 0){let d=e.store.getFieldValue(i,"__typename");d&&(n.typename=d)}let o=this.getStoreFieldName(n),s=ur(o),a=e.store.getFieldValue(i,o),l=this.getFieldPolicy(n.typename,s),c=l&&l.read;if(c){let d=TO(this,i,n,e,e.store.getStorage(et(i)?i.__ref:i,o));return P_.withValue(this.cache,c,[a,d])}return a}getReadFunction(n,e){let i=this.getFieldPolicy(n,e);return i&&i.read}getMergeFunction(n,e,i){let r=this.getFieldPolicy(n,e),o=r&&r.merge;return!o&&i&&(r=this.getTypePolicy(i),o=r&&r.merge),o}runMergeFunction(n,e,{field:i,typename:r,merge:o,path:s},a,l){let c=n;if(o===wO)return EO(a.store)(n,e);if(o===CO)return e;a.overwrite&&(n=void 0);let d=a.extensions?.[hi]?.deref()?.peekArray(s);if(d){let{current:p,previous:f}=d;if(f&&dt(f.incoming,e)&&dt(f.streamFieldInfo,p))return f.result}let u=o(n,e,T7(this,void 0,{typename:r,fieldName:i.name.value,field:i,variables:a.variables,path:s},a,l||{},c));return d&&(d.previous={incoming:e,streamFieldInfo:d.current,result:u}),u}};function TO(t,n,e,i,r){let o=t.getStoreFieldName(e),s=ur(o),a=e.variables||i.variables,{toReference:l,canRead:c}=i.store;return{args:F_(e),field:e.field||null,fieldName:s,storeFieldName:o,variables:a,isReference:et,toReference:l,storage:r,cache:t.cache,canRead:c,readField(...d){return t.readField(hm(d,n,a),i)},mergeObjects:EO(i.store)}}function T7(t,n,e,i,r,o){var l;let s=A(_({},TO(t,n,e,i,r)),{extensions:i.extensions,existingData:o}),a=i.extensions;if(a&&hi in a){let c=a,{[l=hi]:d}=c,u=Et(c,[Uu(l)]),p=d?.deref()?.peekArray(e.path);p&&(s.streamFieldInfo=p.current),s.extensions=Object.keys(u).length===0?void 0:u}return s}function hm(t,n,e){let{0:i,1:r,length:o}=t,s;return typeof i=="string"?s={fieldName:i,from:o>1?r:n}:(s=_({},i),Kt.call(s,"from")||(s.from=n)),!1,s.variables===void 0&&(s.variables=e),s}function EO(t){return function(e,i){if(Tt(e)||Tt(i))throw Qt(111);if(Ct(e)&&Ct(i)){let r=t.getFieldValue(e,"__typename"),o=t.getFieldValue(i,"__typename");if(r&&o&&r!==o)return i;if(et(e)&&ps(i))return t.merge(e.__ref,i),e;if(ps(e)&&et(i))return t.merge(e,i.__ref),i;if(ps(e)&&ps(i))return _(_({},e),i)}return i}}function SO(t){return[t.selectionSet,t.objectOrReference,t.context]}var mm=class{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(n){this.config=n,this.executeSelectionSet=Io(e=>{let i=SO(e),r=this.executeSelectionSet.peek(...i);return r||(S_(e.context.store,e.enclosingRef.__ref),this.execSelectionSetImpl(e))},{max:mn["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:SO,makeCacheKey(e,i,r){if(_a(r.store))return r.store.makeCacheKey(e,et(i)?i.__ref:i,r.varString)}}),this.executeSubSelectedArray=Io(e=>(S_(e.context.store,e.enclosingRef.__ref),this.execSubSelectedArrayImpl(e)),{max:mn["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:e,array:i,context:r}){if(_a(r.store))return r.store.makeCacheKey(e,i,r.varString)}})}diffQueryAgainstStore({store:n,query:e,rootId:i="ROOT_QUERY",variables:r,returnPartialData:o=!0}){let s=this.config.cache.policies;r=_(_({},pa(au(e))),r);let a=qr(i),l=this.executeSelectionSet({selectionSet:ls(e).selectionSet,objectOrReference:a,enclosingRef:a,context:_({store:n,query:e,policies:s,variables:r,varString:En(r)},cm(e,this.config.fragments))}),c;l.missing&&(c=new _u(E7(l.missing),l.missing,e,r));let d=!c,{result:u}=l;return{result:d?u:o?Object.keys(u).length===0?null:u:null,complete:d,missing:c}}isFresh(n,e,i,r){if(_a(r.store)&&this.knownResults.get(n)===i){let o=this.executeSelectionSet.peek(i,e,r);if(o&&n===o.result)return!0}return!1}execSelectionSetImpl({selectionSet:n,objectOrReference:e,enclosingRef:i,context:r}){if(et(e)&&!r.policies.rootTypenamesById[e.__ref]&&!r.store.has(e.__ref))return{result:{},missing:`Dangling reference to missing ${e.__ref} object`};let{variables:o,policies:s,store:a}=r,l=a.getFieldValue(e,"__typename"),c=[],d,u=new ni;typeof l=="string"&&!s.rootIdsByTypename[l]&&c.push({__typename:l});function p(w,D){return w.missing&&(d=u.merge(d,{[D]:w.missing})),w.result}let f=new Set(n.selections);f.forEach(w=>{if(Eo(w,o))if(Gr(w)){let D=s.readField({fieldName:w.name.value,field:w,variables:r.variables,from:e},r),P=fi(w);D===void 0?ya.added(w)||(d=u.merge(d,{[P]:`Can't find field '${w.name.value}' on ${et(e)?e.__ref+" object":"object "+JSON.stringify(e,null,2)}`})):Tt(D)?D.length>0&&(D=p(this.executeSubSelectedArray({field:w,array:D,enclosingRef:i,context:r}),P)):w.selectionSet&&D!=null&&(D=p(this.executeSelectionSet({selectionSet:w.selectionSet,objectOrReference:D,enclosingRef:et(D)?D:i,context:r}),P)),D!==void 0&&c.push({[P]:D})}else{let D=as(w,r.lookupFragment);if(!D&&w.kind===q.FRAGMENT_SPREAD)throw Qt(112,w.name.value);D&&s.fragmentMatches(D,l)&&D.selectionSet.selections.forEach(f.add,f)}});let b={result:a_(c),missing:d},v=cs(b);return v.result&&this.knownResults.set(v.result,n),v}execSubSelectedArrayImpl({field:n,array:e,enclosingRef:i,context:r}){let o,s=new ni;function a(l,c){return l.missing&&(o=s.merge(o,{[c]:l.missing})),l.result}return n.selectionSet&&(e=e.filter(l=>l===void 0||r.store.canRead(l))),e=e.map((l,c)=>l===null?null:Tt(l)?a(this.executeSubSelectedArray({field:n,array:l,enclosingRef:i,context:r}),c):n.selectionSet?a(this.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:l,enclosingRef:et(l)?l:i,context:r}),c):(!1,l)),{result:e,missing:o}}};function E7(t){try{JSON.stringify(t,(n,e)=>{if(typeof e=="string")throw e;return e})}catch(n){return n}}function S7(t,n,e){if(!n.selectionSet){let i=new Set([e]);i.forEach(r=>{Ct(r)&&(W(!et(r),113,dO(t,r),n.name.value),Object.values(r).forEach(i.add,i))})}}function L_(t,n,e){let i=`${n}${e}`,r=t.flavors.get(i);return r||t.flavors.set(i,r=t.clientOnly===n&&t.deferred===e?t:A(_({},t),{clientOnly:n,deferred:e})),r}var gm=class{cache;reader;fragments;constructor(n,e,i){this.cache=n,this.reader=e,this.fragments=i}writeToStore(n,{query:e,result:i,dataId:r,variables:o,overwrite:s,extensions:a}){let l=Pn(e),c=uO();o=_(_({},pa(l)),o);let d=A(_({store:n,written:{},merge(p,f){return c.merge(p,f)},variables:o,varString:En(o)},cm(e,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:a}),u=this.processSelectionSet({result:i||{},dataId:r,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:d,path:[]});if(!et(u))throw Qt(114,i);return d.incomingById.forEach(({storeObject:p,mergeTree:f,fieldNodeSet:y},b)=>{let v=qr(b);if(f&&f.map.size){let w=this.applyMerges(f,v,p,d);if(et(w))return;p=w}if(!1){let w={};y.forEach(B=>{B.selectionSet&&(w[B.name.value]=!0)});let D=B=>w[ur(B)]===!0,P=B=>{let Y=f&&f.map.get(B);return!!(Y&&Y.info&&Y.info.merge)};Object.keys(p).forEach(B=>{D(B)&&!P(B)&&I7(v,p,B,d.store)})}n.merge(b,p)}),n.retain(u.__ref),u}processSelectionSet({dataId:n,result:e,selectionSet:i,context:r,mergeTree:o,path:s}){let{policies:a}=this.cache,l={},c=n&&a.rootTypenamesById[n]||V_(e,i,r.fragmentMap)||n&&r.store.get(n,"__typename");typeof c=="string"&&(l.__typename=c);let d=(...p)=>{let f=hm(p,l,r.variables);if(et(f.from)){let y=r.incomingById.get(f.from.__ref);if(y){let b=a.readField(A(_({},f),{from:y.storeObject}),r);if(b!==void 0)return b}}return a.readField(f,r)},u=new Set;this.flattenFields(i,e,r,c).forEach((p,f)=>{let y=fi(f),b=e[y],v=[...s,f.name.value];if(u.add(f),b!==void 0){let w=a.getStoreFieldName({typename:c,fieldName:f.name.value,field:f,variables:p.variables}),D=IO(o,w),P=this.processFieldValue(b,f,f.selectionSet?L_(p,!1,!1):p,D,v),B;f.selectionSet&&(et(P)||ps(P))&&(B=d("__typename",P));let Y=a.getMergeFunction(c,f.name.value,B);Y?D.info={field:f,typename:c,merge:Y,path:v}:Wr(["stream"],f)&&Array.isArray(P)&&p.extensions?.[hi]?D.info={field:f,typename:c,merge:xO,path:v}:DO(o,w),l=p.merge(l,{[w]:P})}else!1});try{let[p,f]=a.identify(e,{typename:c,selectionSet:i,fragmentMap:r.fragmentMap,storeObject:l,readField:d});n=n||p,f&&(l=r.merge(l,f))}catch(p){if(!n)throw p}if(typeof n=="string"){let p=qr(n),f=r.written[n]||(r.written[n]=[]);if(f.indexOf(i)>=0||(f.push(i),this.reader&&this.reader.isFresh(e,p,i,r)))return p;let y=r.incomingById.get(n);return y?(y.storeObject=r.merge(y.storeObject,l),y.mergeTree=B_(y.mergeTree,o),u.forEach(b=>y.fieldNodeSet.add(b))):r.incomingById.set(n,{storeObject:l,mergeTree:ym(o)?void 0:o,fieldNodeSet:u}),p}return l}processFieldValue(n,e,i,r,o){return!e.selectionSet||n===null?n:Tt(n)?n.map((s,a)=>{let l=this.processFieldValue(s,e,i,IO(r,a),[...o,a]);return DO(r,a),l}):this.processSelectionSet({result:n,selectionSet:e.selectionSet,context:i,mergeTree:r,path:o})}flattenFields(n,e,i,r=V_(e,n,i.fragmentMap)){let o=new Map,{policies:s}=this.cache,a=new Rn(!1);return(function l(c,d){let u=a.lookup(c,d.clientOnly,d.deferred);u.visited||(u.visited=!0,c.selections.forEach(p=>{if(!Eo(p,i.variables))return;let{clientOnly:f,deferred:y}=d;if(!(f&&y)&&fa(p.directives)&&p.directives.forEach(b=>{let v=b.name.value;if(v==="client"&&(f=!0),v==="defer"){let w=da(b,i.variables);(!w||w.if!==!1)&&(y=!0)}}),Gr(p)){let b=o.get(p);b&&(f=f&&b.clientOnly,y=y&&b.deferred),o.set(p,L_(i,f,y))}else{let b=as(p,i.lookupFragment);if(!b&&p.kind===q.FRAGMENT_SPREAD)throw Qt(116,p.name.value);b&&s.fragmentMatches(b,r,e,i.variables)&&l(b.selectionSet,L_(i,f,y))}}))})(n,i),o}applyMerges(n,e,i,r,o){if(n.map.size&&!et(i)){let s=!Tt(i)&&(et(e)||ps(e))?e:void 0,a=i;s&&!o&&(o=[et(s)?s.__ref:s]);let l,c=(d,u)=>Tt(d)?typeof u=="number"?d[u]:void 0:r.store.getFieldValue(d,String(u));n.map.forEach((d,u)=>{let p=c(s,u),f=c(a,u);if(f===void 0)return;o&&o.push(u);let y=this.applyMerges(d,p,f,r,o);y!==f&&(l=l||new Map,l.set(u,y)),o&&W(o.pop()===u)}),l&&(i=Tt(a)?a.slice(0):_({},a),l.forEach((d,u)=>{i[u]=d}))}return n.info?this.cache.policies.runMergeFunction(e,i,n.info,r,o&&r.store.getStorage(...o)):i}},MO=[];function IO({map:t},n){return t.has(n)||t.set(n,MO.pop()||{map:new Map}),t.get(n)}function B_(t,n){if(t===n||!n||ym(n))return t;if(!t||ym(t))return n;let e=t.info&&n.info?_(_({},t.info),n.info):t.info||n.info,i=t.map.size&&n.map.size,r=i?new Map:t.map.size?t.map:n.map,o={info:e,map:r};if(i){let s=new Set(n.map.keys());t.map.forEach((a,l)=>{o.map.set(l,B_(a,n.map.get(l))),s.delete(l)}),s.forEach(a=>{o.map.set(a,B_(n.map.get(a),t.map.get(a)))})}return o}function ym(t){return!t||!(t.info||t.map.size)}function DO({map:t},n){let e=t.get(n);e&&ym(e)&&(MO.push(e),t.delete(n))}var kO=new Set;function I7(t,n,e,i){let r=u=>{let p=i.getFieldValue(u,e);return typeof p=="object"&&p},o=r(t);if(!o)return;let s=r(n);if(!s||et(o)||dt(o,s)||Object.keys(o).every(u=>i.getFieldValue(s,u)!==void 0))return;let a=i.getFieldValue(t,"__typename")||i.getFieldValue(n,"__typename"),l=ur(e),c=`${a}.${l}`;if(kO.has(c))return;kO.add(c);let d=[];!Tt(o)&&!Tt(s)&&[o,s].forEach(u=>{let p=i.getFieldValue(u,"__typename");typeof p=="string"&&!d.includes(p)&&d.push(p)}),!1}function V_(t,n,e){let i;for(let r of n.selections)if(Gr(r)){if(r.name.value==="__typename")return t[fi(r)]}else i?i.push(r):i=[r];if(typeof t.__typename=="string")return t.__typename;if(i)for(let r of i){let o=V_(t,as(r,e).selectionSet,e);if(typeof o=="string")return o}}var wa=class extends oc{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new Do(ya);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=N_;constructor(n={}){super(),this.config=cO(n),this.policies=new fm({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){let n=this.data=new va.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=n.stump,this.resetResultCache()}resetResultCache(){let{fragments:n}=this.config;this.addTypenameTransform.resetCache(),n?.resetCaches(),this.storeWriter=new gm(this,this.storeReader=new mm({cache:this,fragments:n}),n),this.maybeBroadcastWatch=Io((e,i)=>this.broadcastWatch(e,i),{max:mn["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:e=>{let i=e.optimistic?this.optimisticData:this.data;if(_a(i)){let{optimistic:r,id:o,variables:s}=e;return i.makeCacheKey(e.query,e.callback,En({optimistic:r,id:o,variables:s}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(e=>e.resetCaching())}restore(n){return this.init(),n&&this.data.replace(n),this}extract(n=!1){return(n?this.optimisticData:this.data).extract()}read(n){let{returnPartialData:e=!1}=n;return this.storeReader.diffQueryAgainstStore(A(_({},n),{store:n.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:e})).result}write(n){try{return++this.txCount,this.storeWriter.writeToStore(this.data,n)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}}modify(n){if(Kt.call(n,"id")&&!n.id)return!1;let e=n.optimistic?this.optimisticData:this.data;try{return++this.txCount,e.modify(n.id||"ROOT_QUERY",n.fields,!1)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}}diff(n){return this.storeReader.diffQueryAgainstStore(A(_({},n),{store:n.optimistic?this.optimisticData:this.data,rootId:n.id||"ROOT_QUERY",config:this.config}))}watch(n){return this.watches.size||vO(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),()=>{this.watches.delete(n)&&!this.watches.size&&A_(this),this.maybeBroadcastWatch.forget(n)}}gc(n){En.reset(),Qr.reset();let e=this.optimisticData.gc();return n&&!this.txCount&&n.resetResultCache&&this.resetResultCache(),e}retain(n,e){return(e?this.optimisticData:this.data).retain(n)}release(n,e){return(e?this.optimisticData:this.data).release(n)}identify(n){if(et(n))return n.__ref;try{return this.policies.identify(n)[0]}catch(e){!1}}evict(n){if(!n.id){if(Kt.call(n,"id"))return!1;n=A(_({},n),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(n,this.data)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}}reset(n){return this.init(),En.reset(),n&&n.discardWatches?(this.watches.forEach(e=>this.maybeBroadcastWatch.forget(e)),this.watches.clear(),A_(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(n){let e=this.optimisticData.removeLayer(n);e!==this.optimisticData&&(this.optimisticData=e,this.broadcastWatches())}txCount=0;batch(n){let{update:e,optimistic:i=!0,removeOptimistic:r,onWatchUpdated:o}=n,s,a=c=>{let{data:d,optimisticData:u}=this;++this.txCount,c&&(this.data=this.optimisticData=c);try{return s=e(this)}finally{--this.txCount,this.data=d,this.optimisticData=u}},l=new Set;return o&&!this.txCount&&this.broadcastWatches(A(_({},n),{onWatchUpdated(c){return l.add(c),!1}})),typeof i=="string"?this.optimisticData=this.optimisticData.addLayer(i,a):i===!1?a(this.data):a(),typeof r=="string"&&(this.optimisticData=this.optimisticData.removeLayer(r)),o&&l.size?(this.broadcastWatches(A(_({},n),{onWatchUpdated(c,d){let u=o.call(this,c,d);return u!==!1&&l.delete(c),u}})),l.size&&l.forEach(c=>this.maybeBroadcastWatch.dirty(c))):this.broadcastWatches(n),s}performTransaction(n,e){return this.batch({update:n,optimistic:e||e!==null})}transformDocument(n){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(n))}fragmentMatches(n,e){return this.policies.fragmentMatches(n,e)}lookupFragment(n){return this.config.fragments?.lookup(n)||null}resolvesClientField(n,e){return!!this.policies.getReadFunction(n,e)}broadcastWatches(n){if(!this.txCount){let e=this.onAfterBroadcast,i=new Set;this.onAfterBroadcast=r=>{i.add(r)};try{this.watches.forEach(r=>this.maybeBroadcastWatch(r,n)),i.forEach(r=>r())}finally{this.onAfterBroadcast=e}}}addFragmentsToDocument(n){let{fragments:e}=this.config;return e?e.transform(n):n}broadcastWatch(n,e){let{lastDiff:i}=n,r=this.diff(n);e&&(n.optimistic&&typeof e.optimistic=="string"&&(r.fromOptimisticTransaction=!0),e.onWatchUpdated&&e.onWatchUpdated.call(this,n,r,i)===!1)||(!i||!dt(i.result,r.result))&&n.callback(n.lastDiff=r,i)}};!1;function fs(t,n){return typeof t=="object"&&t!==null&&t[Symbol.for("apollo.error")]===n}function hs(t){Object.defineProperty(t,Symbol.for("apollo.error"),{value:t.name,enumerable:!1,writable:!1,configurable:!1})}function OO(t){return t.map(n=>n.message||"Error message not found.").join(`
`)}var RO=(()=>{class t extends Error{static is(e){return fs(e,"CombinedProtocolErrors")}static formatMessage=OO;errors;constructor(e){super(t.formatMessage(e,{defaultFormatMessage:OO})),this.name="CombinedProtocolErrors",this.errors=e,hs(this),Object.setPrototypeOf(this,t.prototype)}}return t})();function PO(t){return t!==null&&typeof t=="object"&&typeof t.message=="string"&&typeof t.name=="string"&&(typeof t.stack=="string"||typeof t.stack>"u")}var bm=class t extends Error{static is(n){return fs(n,"UnconventionalError")}constructor(n){super("An error of unexpected shape occurred.",{cause:n}),this.name="UnconventionalError",hs(this),Object.setPrototypeOf(this,t.prototype)}};function AO(t){return t.filter(n=>n).map(n=>n.message||"Error message not found.").join(`
`)}var ko=(()=>{class t extends Error{static is(e){return fs(e,"CombinedGraphQLErrors")}static formatMessage=AO;errors;data;extensions;constructor(e,i=e.errors||[]){super(t.formatMessage(i,{result:e,defaultFormatMessage:AO})),this.errors=i,this.data=e.data,this.extensions=e.extensions,this.name="CombinedGraphQLErrors",hs(this),Object.setPrototypeOf(this,t.prototype)}}return t})();var D7=new WeakSet;function j_(t){D7.add(t)}var xu=class t extends Error{static is(n){return fs(n,"ServerError")}response;statusCode;bodyText;constructor(n,e){super(n),this.name="ServerError",this.response=e.response,this.statusCode=e.response.status,this.bodyText=e.bodyText,hs(this),Object.setPrototypeOf(this,t.prototype)}};var vm=Symbol();function NO(t){return"extensions"in t?RO.is(t.extensions[vm]):!1}function FO(t){return PO(t)?t:typeof t=="string"?new Error(t,{cause:t}):new bm(t)}var Ae=(function(t){return t[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error",t[t.streaming=9]="streaming",t})(Ae||{});var{assign:LO,hasOwnProperty:k7}=Object,lc={loading:!0,networkStatus:Ae.loading,data:void 0,dataState:"empty",partial:!0},z_={loading:!1,networkStatus:Ae.ready,data:void 0,dataState:"empty",partial:!0},cc=class{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:n,options:e,transformedQuery:i=n.transform(e.query)}){this.queryManager=n,this.waitForNetworkResult=e.fetchPolicy==="network-only",this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);let{watchQuery:{fetchPolicy:r="cache-first"}={}}=n.defaultOptions,{fetchPolicy:o=r,initialFetchPolicy:s=o==="standby"?r:o}=e;e[f_]&&(W(o==="standby",82),this.variablesUnknown=!0),this.lastQuery=i,this.options=A(_({},e),{initialFetchPolicy:s,fetchPolicy:o,variables:this.getVariablesWithDefaults(e.variables)}),this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);let a=Pn(this.query);this.queryName=a&&a.name&&a.name.value}initializeObservablesQueue(){this.subject=new an({query:this.query,variables:this.variables,result:lc,meta:{}});let n=this.subject.pipe(St({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),nc(({query:e,variables:i,result:r,meta:o},s)=>{let{shouldEmit:a}=o;if(r===lc&&(s.previous=void 0,s.previousVariables=void 0),this.options.fetchPolicy==="standby"||a===2)return;if(a===1)return d();let{previous:l,previousVariables:c}=s;if(l){let u=this.queryManager.getDocumentInfo(e),p=this.queryManager.dataMasking,f=p?u.nonReactiveQuery:e;if((p||u.hasNonreactiveDirective?uu(f,l,r,i):dt(l,r))&&dt(c,i))return}if(a===3&&(!this.options.notifyOnNetworkStatusChange||dt(l,r)))return;return d();function d(){return s.previous=r,s.previousVariables=i,r}},()=>({})));this.pipe=n.pipe.bind(n),this.subscribe=n.subscribe.bind(n),this.input=new Ge,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:n=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:n})}getInitialResult(n){let e=n||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&(e==="network-only"||e==="cache-and-network")&&(e="cache-first");let i=()=>{let r=this.getCacheDiff(),o=this.options.returnPartialData||r.complete?r.result??void 0:void 0;return this.maskResult({data:o,dataState:r.complete?"complete":o===void 0?"empty":"partial",loading:!r.complete,networkStatus:r.complete?Ae.ready:Ae.loading,partial:!r.complete})};switch(e){case"cache-only":return A(_({},i()),{loading:!1,networkStatus:Ae.ready});case"cache-first":return i();case"cache-and-network":return A(_({},i()),{loading:!0,networkStatus:Ae.loading});case"standby":return z_;default:return lc}}resubscribeCache(){let{variables:n,fetchPolicy:e}=this.options,i=this.query,r=e==="standby"||e==="no-cache"||this.waitForNetworkResult,o=!Tu({query:i,variables:n},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((r||o)&&this.unsubscribeFromCache?.(),r||!o)return;let s={query:i,variables:n,optimistic:!0,watcher:this,callback:l=>{let c=this.queryManager.getDocumentInfo(i);if((c.hasClientExports||c.hasForcedResolvers)&&(s.lastDiff=void 0),s.lastOwnDiff===l)return;let{result:d}=this.subject.getValue();!l.complete&&(d.error||d===lc||d===z_)||dt(d.data,l.result)||this.scheduleNotify()}},a=this.cache.watch(s);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,a()},{query:i,variables:n})}stableLastResult;getCurrentResult(){let{result:n}=this.subject.getValue(),e=n.networkStatus===Ae.error||this.hasObservers()||this.options.fetchPolicy==="no-cache"?n:this.getInitialResult();return e===lc&&(e=this.getInitialResult()),dt(this.stableLastResult,e)||(this.stableLastResult=e),this.stableLastResult}refetch(n){let{fetchPolicy:e}=this.options,i={pollInterval:0};if(e==="no-cache"?i.fetchPolicy="no-cache":i.fetchPolicy="network-only",!1){let r=au(this.query),o=r.variableDefinitions;(!o||!o.some(s=>s.variable.name.value==="variables"))&&!1&&W.warn(83,n,r.name?.value||r)}return n&&!dt(this.variables,n)&&(i.variables=this.options.variables=this.getVariablesWithDefaults(_(_({},this.variables),n))),this._lastWrite=void 0,this._reobserve(i,{newNetworkStatus:Ae.refetch})}fetchMore({query:n,variables:e,context:i,errorPolicy:r,updateQuery:o}){W(this.options.fetchPolicy!=="cache-only",84,sn(this.query,"(anonymous)"));let s=A(_({},Fi(this.options,{errorPolicy:"none"},{query:n,context:i,errorPolicy:r})),{variables:n?e:_(_({},this.variables),e),fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange});s.query=this.transformDocument(s.query),this.lastQuery=n?this.transformDocument(this.options.query):s.query;let a=!1,l=this.options.fetchPolicy!=="no-cache";l||W(o,85);let{finalize:c,pushNotification:d}=this.pushOperation(Ae.fetchMore);d({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});let{promise:u,operator:p}=BO(),{observable:f}=this.queryManager.fetchObservableWithInfo(s,{networkStatus:Ae.fetchMore,exposeExtensions:!0}),y=f.pipe(p,nn(b=>b.kind==="N"&&b.source==="network")).subscribe({next:b=>{a=!1;let v=b.value,w=v[fu];if(vu(b.value.networkStatus)&&c(),l){let D=this.getCacheDiff();this.cache.batch({update:P=>{o?P.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:w},B=>o(B,{fetchMoreResult:v.data,variables:s.variables})):P.writeQuery({query:s.query,variables:s.variables,data:v.data,extensions:w})},onWatchUpdated:(P,B)=>{if(P.watcher===this&&!dt(B.result,D.result)){a=!0;let Y=this.getCurrentResult();ba(v.networkStatus)&&d({kind:"N",source:"network",value:A(_({},Y),{networkStatus:v.networkStatus===Ae.error?Ae.ready:v.networkStatus,loading:!1,data:B.result,dataState:v.dataState==="streaming"?"streaming":"complete"})})}}})}else{let D=this.getCurrentResult(),P=o(D.data,{fetchMoreResult:v.data,variables:s.variables});d({kind:"N",value:A(_({},D),{networkStatus:Ae.ready,loading:!1,data:P,dataState:D.dataState==="streaming"?"streaming":"complete"}),source:"network"})}}});return rm(u.then(b=>ds(this.maskResult(b))).finally(()=>{if(y.unsubscribe(),c(),l&&!a){let b=this.getCurrentResult();b.dataState==="streaming"?d({kind:"N",source:"network",value:A(_({},b),{dataState:"complete",networkStatus:Ae.ready})}):d({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(n){let e=this.queryManager.startGraphQLSubscription({query:n.document,variables:n.variables,context:n.context}).subscribe({next:i=>{let{updateQuery:r,onError:o}=n,{error:s}=i;if(s){o?o(s):W.error(86,s);return}r&&this.updateQuery((a,l)=>r(a,_({subscriptionData:i},l)))}});return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)&&e.unsubscribe()}}applyOptions(n){let e=Fi(this.options,n||{});LO(this.options,e),this.updatePolling()}setVariables(n){return gt(this,null,function*(){return n=this.getVariablesWithDefaults(n),dt(this.variables,n)?ds(this.getCurrentResult()):(this.options.variables=n,this.hasObservers()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:n},{newNetworkStatus:Ae.setVariables}):ds(this.getCurrentResult()))})}updateQuery(n){let{queryManager:e}=this,{result:i,complete:r}=this.getCacheDiff({optimistic:!1}),o=n(i,{variables:this.variables,complete:!!r,previousData:i});o&&(this.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),e.broadcastQueries())}startPolling(n){this.options.pollInterval=n,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(n,e){if(e.nextFetchPolicy){let{fetchPolicy:i="cache-first",initialFetchPolicy:r=i}=e;i==="standby"||(typeof e.nextFetchPolicy=="function"?e.fetchPolicy=e.nextFetchPolicy.call(e,i,{reason:n,options:e,observable:this,initialFetchPolicy:r}):n==="variables-changed"?e.fetchPolicy=r:e.fetchPolicy=e.nextFetchPolicy)}return e.fetchPolicy}fetch(n,e,i,r){let o=this.options.fetchPolicy;n.context??={};let s=!1,a=()=>{s=!0},l=v=>new ue(w=>{try{return v.subscribe({next(D){s=!0,w.next(D)},error:D=>w.error(D),complete:()=>w.complete()})}finally{s||(f.override=e,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:u,variables:p,meta:{shouldEmit:3,fetchPolicy:o}}))}}),{observable:c,fromLink:d}=this.queryManager.fetchObservableWithInfo(n,{networkStatus:e,query:i,onCacheHit:a,fetchQueryOperator:l,observableQuery:this}),{query:u,variables:p}=this,f={abort:()=>{b.unsubscribe()},query:u,variables:p};this.activeOperations.add(f);let y=e==Ae.refetch||e==Ae.setVariables;c=c.pipe(r,Cr());let b=c.pipe(St({next:v=>{v.source==="newNetworkStatus"||v.kind==="N"&&v.value.loading?f.override=e:delete f.override},finalize:()=>this.activeOperations.delete(f)})).subscribe({next:v=>{let w={};y&&v.kind==="N"&&"loading"in v.value&&!v.value.loading&&(y=!1,w.shouldEmit=1),this.input.next(A(_({},v),{query:u,variables:p,meta:w}))}});return{fromLink:d,subscription:b,observable:c}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;let{pollingInfo:n,options:{fetchPolicy:e,pollInterval:i}}=this,r=()=>{let{options:l}=this;return!l.pollInterval||!this.hasObservers()||l.fetchPolicy==="cache-only"||l.fetchPolicy==="standby"};if(r()){!1,this.cancelPolling();return}if(n?.interval===i)return;let o=n||(this.pollingInfo={});o.interval=i;let s=()=>{if(r())return this.cancelPolling();this.pollingInfo&&(!ba(this.networkStatus)&&!this.options.skipPollAttempt?.()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},{newNetworkStatus:Ae.poll}).then(a,a):a())},a=()=>{let l=this.pollingInfo;l&&(clearTimeout(l.timeout),l.timeout=setTimeout(s,l.interval))};a()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(n){return this._reobserve(n)}_reobserve(n,e){this.isTornDown=!1;let{newNetworkStatus:i}=e||{};this.queryManager.obsQueries.add(this);let r=i===Ae.refetch||i===Ae.poll,o=this.variables,s=this.options.fetchPolicy,a=Fi(this.options,n||{});this.variablesUnknown&&=a.fetchPolicy==="standby";let l=r?a:LO(this.options,a),c=this.transformDocument(l.query);this.lastQuery=c,n&&"variables"in n&&(l.variables=this.getVariablesWithDefaults(n.variables)),r||(this.updatePolling(),n&&n.variables&&!dt(n.variables,o)&&l.fetchPolicy!=="standby"&&(l.fetchPolicy===s||typeof l.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",l),i===void 0&&(i=Ae.setVariables)));let d=this.networkStatus;i||(i=Ae.loading,d!==Ae.loading&&n?.variables&&!dt(n.variables,o)&&(i=Ae.setVariables),l.fetchPolicy==="standby"&&(i=Ae.ready)),l.fetchPolicy==="standby"&&this.cancelPolling(),this.resubscribeCache();let{promise:u,operator:p}=BO(l.fetchPolicy==="standby"?{data:void 0}:void 0),{subscription:f,observable:y,fromLink:b}=this.fetch(l,i,c,p);!r&&(b||!this.linkSubscription)&&(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=f);let v=Object.assign(rm(u.then(w=>ds(this.maskResult(w))).finally(()=>{!this.hasObservers()&&this.activeOperations.size===0&&this.tearDownQuery()})),{retain:()=>{let w=y.subscribe({}),D=()=>w.unsubscribe();return u.then(D,D),v}});return v}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(n=>n.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(n){return this.queryManager.transform(n)}maskResult(n){let e=this.queryManager.maskOperation({document:this.query,data:n.data,fetchPolicy:this.options.fetchPolicy,cause:this});return e===n.data?n:A(_({},n),{data:e})}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(n=!1){if(!n){let i=this.queryManager.getDocumentInfo(this.query);if(i.hasClientExports||i.hasForcedResolvers)return}let{dirty:e}=this;if(this.resetNotifications(),e&&(this.options.fetchPolicy==="cache-only"||this.options.fetchPolicy==="cache-and-network"||!this.activeOperations.size)){let i=this.getCacheDiff();dt(i.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:i.result,dataState:i.complete?"complete":i.result?"partial":"empty",networkStatus:Ae.ready,loading:!1,error:void 0,partial:!i.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(n){let e=!1,{query:i,variables:r}=this,o=()=>{this.activeOperations.delete(s)},s={override:n,abort:()=>{e=!0,o()},query:i,variables:r};return this.activeOperations.add(s),{finalize:o,pushNotification:(a,l)=>{e||this.input.next(A(_({},a),{query:i,variables:r,meta:_({},l)}))}}}calculateNetworkStatus(n){return n===Ae.streaming?n:Array.from(this.activeOperations.values()).reverse().find(i=>Tu(i,this)&&i.override!==void 0)?.override??n}abortActiveOperations(){this.activeOperations.forEach(n=>n.abort())}reset(){let n=this.options.fetchPolicy==="cache-only";this.setResult(n?z_:lc,{shouldEmit:n?1:2}),this.abortActiveOperations()}setResult(n,e){this.input.next({source:"setResult",kind:"N",value:n,query:this.query,variables:this.variables,meta:_({},e)})}operator=nc(n=>{let{query:e,variables:i,meta:r}=n;if(n.source==="setResult")return{query:e,variables:i,result:n.value,meta:r};if(n.kind==="C"||!Tu(n,this))return;let o,s=this.subject.getValue();if(n.source==="cache"){if(o=n.value,o.networkStatus===Ae.ready&&o.partial&&(!this.options.returnPartialData||s.result.networkStatus===Ae.error)&&this.options.fetchPolicy!=="cache-only")return}else if(n.source==="network")this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),o=n.kind==="E"?A(_({},Tu(s,n)?s.result:{data:void 0,dataState:"empty",partial:!0}),{error:n.error,networkStatus:Ae.error,loading:!1}):n.value,n.kind==="E"&&o.dataState==="streaming"&&(o.dataState="complete"),o.error&&(r.shouldEmit=1);else if(n.source==="newNetworkStatus"){let a=Tu(s,n)?s.result:this.getInitialResult(r.fetchPolicy),{resetError:l}=n.value,c=l?void 0:a.error,d=c?Ae.error:Ae.ready;o=A(_({},a),{error:c,networkStatus:d})}return W(o),o.error||delete o.error,o.networkStatus=this.calculateNetworkStatus(o.networkStatus),o.loading=ba(o.networkStatus),o=this.maskResult(o),s.result.data!==void 0&&o.data!==s.result.data&&dt(o.data,s.result.data)&&(o.data=s.result.data),{query:e,variables:i,result:o,meta:r}});reobserveCacheFirst(){let{fetchPolicy:n,nextFetchPolicy:e}=this.options;n==="cache-and-network"||n==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(i,r){return this.nextFetchPolicy=e,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(i,r):n}}):this.reobserve()}getVariablesWithDefaults(n){return this.queryManager.getVariables(this.query,n)}};function VO(t){!1}function Tu(t,n){return!!(t&&n&&t.query===n.query&&dt(t.variables,n.variables))}function BO(t){let n=t,e,i,r=new Promise((s,a)=>{e=s,i=a}),o=St({next(s){if(s.kind==="E")return i(s.error);s.kind==="N"&&s.source!=="newNetworkStatus"&&!s.value.loading&&(n=s.value)},finalize:()=>{if(n)e(n);else{let s="The operation was aborted.",a="AbortError";i(typeof DOMException<"u"?new DOMException(s,a):Object.assign(new Error(s),{name:a}))}}});return{promise:r,operator:o}}var jO={},dc=new WeakMap;function H_(t,n){let e=t[n];typeof e=="function"&&(t[n]=function(){return dc.set(t,(dc.get(t)+1)%1e15),e.apply(this,arguments)})}var zO=new WeakMap,uc=class{lastRequestId=1;cache;queryManager;id;observableQuery;incremental;constructor(n,e){let i=this.cache=n.cache,r=(zO.get(n)||0)+1;zO.set(n,r),this.id=r+"",this.observableQuery=e,this.queryManager=n,dc.has(i)||(dc.set(i,0),H_(i,"evict"),H_(i,"modify"),H_(i,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(n){(this.observableQuery||this)._lastWrite=n}resetLastWrite(){this.lastWrite=void 0}shouldWrite(n,e){let{lastWrite:i}=this;return!(i&&i.dmCount===dc.get(this.cache)&&dt(e,i.variables)&&dt(n.data,i.result.data)&&n.extensions?.[hi]===i.result.extensions?.[hi])}get hasNext(){return this.incremental?this.incremental.hasNext:!1}maybeHandleIncrementalResult(n,e,i){let{incrementalHandler:r}=this.queryManager;return r.isIncrementalResult(e)?(this.incremental||=r.startRequest({query:i}),this.incremental.handle(n,e)):e}markQueryResult(n,{document:e,variables:i,errorPolicy:r,cacheWriteBehavior:o}){let s={query:e,variables:i,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();let a=o===0,l=a?void 0:this.cache.diff(s),c=this.maybeHandleIncrementalResult(l?.result,n,e);return a||($_(c,r)?this.cache.batch({onWatchUpdated:(d,u)=>{d.watcher===this.observableQuery&&(d.lastOwnDiff=u)},update:d=>{if(this.shouldWrite(c,i))d.writeQuery({query:e,data:c.data,variables:i,overwrite:o===1,extensions:c.extensions}),this.lastWrite={result:c,variables:i,dmCount:dc.get(this.cache)};else if(l&&l.complete){c=A(_({},c),{data:l.result});return}let u=d.diff(s);u.complete&&(c=A(_({},c),{data:u.result}))}}):this.lastWrite=void 0),c}markMutationResult(n,e,i=this.cache){let r=[],o=e.cacheWriteBehavior===0,s=this.maybeHandleIncrementalResult(o?void 0:i.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}).result,n,e.document);if(e.errorPolicy==="ignore"&&(s=A(_({},s),{errors:[]})),To(s)&&e.errorPolicy==="none")return Promise.resolve(s);let a=()=>A(_({},s),{dataState:this.hasNext?"streaming":"complete"});if(!o&&$_(s,e.errorPolicy)){r.push({result:s.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables,extensions:s.extensions});let{updateQueries:c}=e;c&&this.queryManager.getObservableQueries("all").forEach(d=>{let u=d&&d.queryName;if(!u||!Object.hasOwnProperty.call(c,u))return;let p=c[u],{query:f,variables:y}=d,{result:b,complete:v}=d.getCacheDiff({optimistic:!1});if(v&&b){let w=p(b,{mutationResult:a(),queryName:f&&sn(f)||void 0,queryVariables:y});w&&r.push({result:w,dataId:"ROOT_QUERY",query:f,variables:y})}})}let l=e.refetchQueries;if(typeof l=="function"&&(l=l(a())),r.length>0||(l||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){let c=[];if(this.queryManager.refetchQueries({updateCache:d=>{o||r.forEach(p=>d.write(p));let{update:u}=e;if(u){if(!o){let p=d.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});p.complete&&(s=A(_({},s),{data:p.result}))}this.hasNext||u(d,s,{context:e.context,variables:e.variables})}!o&&!e.keepRootFields&&!this.hasNext&&d.modify({id:"ROOT_MUTATION",fields(p,{fieldName:f,DELETE:y}){return f==="__typename"?p:y}})},include:l,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(d=>c.push(d)),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then(()=>s)}return Promise.resolve(s)}markMutationOptimistic(n,e){let i=typeof n=="function"?n(e.variables,{IGNORE:jO}):n;return i===jO?!1:(this.cache.recordOptimisticTransaction(r=>{try{this.markMutationResult({data:i},e,r)}catch(o){W.error(o)}},this.id),!0)}markSubscriptionResult(n,{document:e,variables:i,errorPolicy:r,cacheWriteBehavior:o}){o!==0&&($_(n,r)&&this.cache.write({query:e,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:i,extensions:n.extensions}),this.queryManager.broadcastQueries())}};function $_(t,n="none"){let e=n==="ignore"||n==="all",i=!To(t);return!i&&e&&t.data&&(i=!0),i}var _m=class{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(n){let e=new Do(r=>this.cache.transformDocument(r),{cache:!1});this.client=n.client,this.defaultOptions=n.defaultOptions,this.queryDeduplication=n.queryDeduplication,this.clientOptions=n.clientOptions,this.ssrMode=n.ssrMode,this.assumeImmutableResults=n.assumeImmutableResults,this.dataMasking=n.dataMasking,this.localState=n.localState,this.incrementalHandler=n.incrementalHandler;let i=n.documentTransform;this.documentTransform=i?e.concat(i).concat(e):e,this.defaultContext=n.defaultContext||{},(this.onBroadcast=n.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(n=>n.stop()),this.cancelPendingFetches(Qt(89))}cancelPendingFetches(n){this.fetchCancelFns.forEach(e=>e(n)),this.fetchCancelFns.clear()}mutate(f){return gt(this,arguments,function*({mutation:n,variables:e,optimisticResponse:i,updateQueries:r,refetchQueries:o=[],awaitRefetchQueries:s=!1,update:a,onQueryUpdated:l,fetchPolicy:c,errorPolicy:d,keepRootFields:u,context:p}){let y=new uc(this);n=this.cache.transformForLink(this.transform(n));let{hasClientExports:b}=this.getDocumentInfo(n);e=this.getVariables(n,e),b&&(!1,e=yield this.localState.getExportedVariables({client:this.client,document:n,variables:e,context:p}));let v=this.mutationStore&&(this.mutationStore[y.id]={mutation:n,variables:e,loading:!0,error:null}),w=i&&y.markMutationOptimistic(i,{document:n,variables:e,cacheWriteBehavior:c==="no-cache"?0:2,errorPolicy:d,context:p,updateQueries:r,update:a,keepRootFields:u});return this.broadcastQueries(),new Promise((D,P)=>{let B={};return this.getObservableFromLink(n,A(_({},p),{optimisticResponse:w?i:void 0}),e,c,{},!1).observable.pipe(HO(),Nt(Y=>{let ge=_({},Y);return pt(y.markMutationResult(ge,{document:n,variables:e,cacheWriteBehavior:c==="no-cache"?0:2,errorPolicy:d,context:p,update:a,updateQueries:r,awaitRefetchQueries:s,refetchQueries:o,removeOptimistic:w?y.id:void 0,onQueryUpdated:l,keepRootFields:u}))})).pipe(ye(Y=>{if(To(Y)&&d==="none")throw new ko(U_(Y));return v&&(v.loading=!1,v.error=null),Y})).subscribe({next:Y=>{if(this.broadcastQueries(),!y.hasNext){let ge={data:this.maskOperation({document:n,data:Y.data,fetchPolicy:c,cause:B})};To(Y)&&(ge.error=new ko(Y)),Object.keys(Y.extensions||{}).length&&(ge.extensions=Y.extensions),D(ge)}},error:Y=>{if(v&&(v.loading=!1,v.error=Y),w&&this.cache.removeOptimistic(y.id),this.broadcastQueries(),d==="ignore")return D({data:void 0});if(d==="all")return D({data:void 0,error:Y});P(Y)}})})})}fetchQuery(n,e){return Qn(n.query,qn.QUERY),gt(this,null,function*(){return vr(this.fetchObservableWithInfo(n,{networkStatus:e}).observable.pipe(nc(i=>{switch(i.kind){case"E":throw i.error;case"N":if(i.source!=="newNetworkStatus")return ds(i.value)}})),{defaultValue:{data:void 0}})})}transform(n){return this.documentTransform.transformDocument(n)}transformCache=new ua(mn["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(n){let{transformCache:e}=this;if(!e.has(n)){let r=Pn(n),o={hasClientExports:Wr(["client","export"],n,!0),hasForcedResolvers:o_(n),hasNonreactiveDirective:Wr(["nonreactive"],n),hasIncrementalDirective:Wr(["defer"],n),nonReactiveQuery:O7(n),clientQuery:Wr(["client"],n)?n:null,serverQuery:l_([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],n),operationType:r?.operation,defaultVars:pa(r),asQuery:A(_({},n),{definitions:n.definitions.map(s=>s.kind==="OperationDefinition"&&s.operation!=="query"?A(_({},s),{operation:"query"}):s)})};e.set(n,o)}let i=e.get(n);if(i.violation)throw i.violation;return i}getVariables(n,e){let i=this.getDocumentInfo(n).defaultVars,r=Object.entries(e??{}).map(([o,s])=>[o,s===void 0?i[o]:s]);return _(_({},i),Object.fromEntries(r))}watchQuery(n){Qn(n.query,qn.QUERY);let e=this.transform(n.query);return n=A(_({},n),{variables:this.getVariables(e,n.variables)}),typeof n.notifyOnNetworkStatusChange>"u"&&(n.notifyOnNetworkStatusChange=!0),new cc({queryManager:this,options:n,transformedQuery:e})}query(n){let e=this.transform(n.query);return this.fetchQuery(A(_({},n),{query:e})).then(i=>A(_({},i),{data:this.maskOperation({document:e,data:i?.data,fetchPolicy:n.fetchPolicy})}))}requestIdCounter=1;generateRequestId(){return this.requestIdCounter++}clearStore(n={discardWatches:!0}){return this.cancelPendingFetches(Qt(91)),this.obsQueries.forEach(e=>{e.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(n)}getObservableQueries(n="active"){let e=new Set,i=new Map,r=new Map,o=new Set;return Array.isArray(n)&&n.forEach(s=>{if(typeof s=="string")i.set(s,s),r.set(s,!1);else if(s_(s)){let a=Qr(this.transform(s));i.set(a,sn(s)),r.set(a,!1)}else Ct(s)&&s.query&&o.add(s)}),this.obsQueries.forEach(s=>{let a=Qr(this.transform(s.options.query));if(n==="all"){e.add(s);return}let{queryName:l,options:{fetchPolicy:c}}=s;n==="active"&&c==="standby"||(n==="active"||l&&r.has(l)||a&&r.has(a))&&(e.add(s),l&&r.set(l,!0),a&&r.set(a,!0))}),o.size&&o.forEach(s=>{let a=new cc({queryManager:this,options:A(_({},ha(this.defaultOptions.watchQuery,s)),{fetchPolicy:"network-only"})});e.add(a)}),!1,e}refetchObservableQueries(n=!1){let e=[];return this.getObservableQueries(n?"all":"active").forEach(i=>{let{fetchPolicy:r}=i.options;(n||r!=="standby")&&r!=="cache-only"&&e.push(i.refetch())}),this.broadcastQueries(),Promise.all(e)}startGraphQLSubscription(n){let{query:e,variables:i}=n,{fetchPolicy:r="cache-first",errorPolicy:o="none",context:s={},extensions:a={}}=n;Qn(e,qn.SUBSCRIPTION),e=this.transform(e),i=this.getVariables(e,i);let l;!1;let c=(this.getDocumentInfo(e).hasClientExports?pt(this.localState.getExportedVariables({client:this.client,document:e,variables:i,context:s})):be(i)).pipe(Nt(d=>{let{observable:u,restart:p}=this.getObservableFromLink(e,s,d,r,a),f=new uc(this);return l=p,u.pipe(ye(y=>{f.markSubscriptionResult(y,{document:e,variables:d,errorPolicy:o,cacheWriteBehavior:r==="no-cache"?0:2});let b={data:y.data??void 0};return To(y)?b.error=new ko(y):NO(y)&&(b.error=y.extensions[vm],delete y.extensions[vm]),y.extensions&&Object.keys(y.extensions).length&&(b.extensions=y.extensions),b.error&&o==="none"&&(b.data=void 0),o==="ignore"&&delete b.error,b}),ai(y=>o==="ignore"?be({data:void 0}):be({data:void 0,error:y})),nn(y=>!!(y.data||y.error)))}));return Object.assign(c,{restart:()=>l?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(n=>n.notify())}inFlightLinkObservables=new Rn(!1);getObservableFromLink(n,e,i,r,o,s=e?.queryDeduplication??this.queryDeduplication){let a={},{serverQuery:l,clientQuery:c,operationType:d,hasIncrementalDirective:u}=this.getDocumentInfo(n),p=sn(n),f={client:this.client};if(l){let{inFlightLinkObservables:b,link:v}=this;try{let D=function(P){return new ue(B=>{function Y(){return P.subscribe({next:B.next.bind(B),complete:B.complete.bind(B),error:B.error.bind(B)})}let ge=Y();return a.restart||=()=>{ge.unsubscribe(),ge=Y()},()=>{ge.unsubscribe(),a.restart=void 0}})};var y=D;let w=this.incrementalHandler.prepareRequest({query:l,variables:i,context:A(_(_({},this.defaultContext),e),{queryDeduplication:s}),extensions:o});if(e=w.context,s){let P=Qr(l),B=En(i);a=b.lookup(P,B),a.observable||(a.observable=ga(v,w,f).pipe(D,wr(()=>{b.peek(P,B)===a&&b.remove(P,B)}),d===qn.SUBSCRIPTION?Cr():Ms({refCount:!0})))}else a.observable=ga(v,w,f).pipe(D)}catch(w){a.observable=br(()=>w)}}else a.observable=be({data:{}});if(c){let{operation:b}=Pn(n);!1,W(!u,96,b[0].toUpperCase()+b.slice(1),p??"(anonymous)"),a.observable=a.observable.pipe(Nt(v=>pt(this.localState.execute({client:this.client,document:c,remoteResult:v,context:e,variables:i,fetchPolicy:r}))))}return{restart:()=>a.restart?.(),observable:a.observable.pipe(ai(b=>{throw b=FO(b),j_(b),b}))}}getResultsFromLink(n,{queryInfo:e,cacheWriteBehavior:i,observableQuery:r,exposeExtensions:o}){let s=e.lastRequestId=this.generateRequestId(),{errorPolicy:a}=n,l=this.cache.transformForLink(n.query);return this.getObservableFromLink(l,n.context,n.variables,n.fetchPolicy).observable.pipe(ye(c=>{let d=e.markQueryResult(c,A(_({},n),{document:l,cacheWriteBehavior:i})),u=To(d);if(u&&a==="none")throw e.resetLastWrite(),r?.resetNotifications(),new ko(U_(d));let p=_({data:d.data},e.hasNext?{loading:!0,networkStatus:Ae.streaming,dataState:"streaming",partial:!0}:{dataState:d.data?"complete":"empty",loading:!1,networkStatus:Ae.ready,partial:!d.data});return o&&"extensions"in d&&(p[fu]=d.extensions),u&&(a==="none"&&(p.data=void 0,p.dataState="empty"),a!=="ignore"&&(p.error=new ko(U_(d)),p.dataState!=="streaming"&&(p.networkStatus=Ae.error))),p}),ai(c=>{if(s>=e.lastRequestId&&a==="none")throw e.resetLastWrite(),r?.resetNotifications(),c;let d={data:void 0,dataState:"empty",loading:!1,networkStatus:Ae.ready,partial:!0};return a!=="ignore"&&(d.error=c,d.networkStatus=Ae.error),be(d)}))}fetchObservableWithInfo(n,{networkStatus:e=Ae.loading,query:i=n.query,fetchQueryOperator:r=l=>l,onCacheHit:o=()=>{},observableQuery:s,exposeExtensions:a}){let l=this.getVariables(i,n.variables),{fetchPolicy:c="cache-first",errorPolicy:d="none",returnPartialData:u=!1,notifyOnNetworkStatusChange:p=!0,context:f={}}=n;this.prioritizeCacheValues&&(c==="network-only"||c==="cache-and-network")&&(c="cache-first");let y=Object.assign({},n,{query:i,variables:l,fetchPolicy:c,errorPolicy:d,returnPartialData:u,notifyOnNetworkStatusChange:p,context:f}),b=new uc(this,s),v=Y=>{y.variables=Y;let ge=c==="no-cache"?0:e===Ae.refetch&&y.refetchWritePolicy!=="merge"?1:2,tt=this.fetchQueryByPolicy(y,{queryInfo:b,cacheWriteBehavior:ge,onCacheHit:o,observableQuery:s,exposeExtensions:a});return tt.observable=tt.observable.pipe(r),y.fetchPolicy!=="standby"&&s?.applyNextFetchPolicy("after-fetch",n),tt},w=()=>{this.fetchCancelFns.delete(b.id)};this.fetchCancelFns.set(b.id,Y=>{D.next({kind:"E",error:Y,source:"network"})});let D=new Ge,P,B;if(this.getDocumentInfo(y.query).hasClientExports)!1,P=pt(this.localState.getExportedVariables({client:this.client,document:y.query,variables:y.variables,context:y.context})).pipe(Nt(Y=>v(Y).observable)),B=!0;else{let Y=v(y.variables);B=Y.fromLink,P=Y.observable}return{observable:new ue(Y=>{Y.add(w),P.subscribe(Y),D.subscribe(Y)}).pipe(Cr()),fromLink:B}}refetchQueries({updateCache:n,include:e,optimistic:i=!1,removeOptimistic:r=i?ru("refetchQueries"):void 0,onQueryUpdated:o}){let s=new Map;e&&this.getObservableQueries(e).forEach(l=>{if(l.options.fetchPolicy==="cache-only"||l.variablesUnknown)return;let c=l.getCurrentResult();s.set(l,{oq:l,lastDiff:{result:c?.data,complete:!c?.partial}})});let a=new Map;if(n){let l=new Set;this.cache.batch({update:n,optimistic:i&&r||!1,removeOptimistic:r,onWatchUpdated(c,d,u){let p=c.watcher;if(p instanceof cc&&!l.has(p)){if(l.add(p),o){s.delete(p);let f=o(p,d,u);return f===!0&&(f=p.refetch().retain()),f!==!1&&a.set(p,f),f}o!==null&&p.options.fetchPolicy!=="cache-only"&&s.set(p,{oq:p,lastDiff:u,diff:d})}}})}return s.size&&s.forEach(({oq:l,lastDiff:c,diff:d})=>{let u;o&&(d||(d=l.getCacheDiff()),u=o(l,d,c)),(!o||u===!0)&&(u=l.refetch().retain()),u!==!1&&a.set(l,u)}),r&&this.cache.removeOptimistic(r),a}noCacheWarningsByCause=new WeakSet;maskOperation(n){let{document:e,data:i}=n;if(!1){let{fetchPolicy:r,cause:o={}}=n,s=Pn(e)?.operation;this.dataMasking&&r==="no-cache"&&!M7(e)&&!this.noCacheWarningsByCause.has(o)&&(this.noCacheWarningsByCause.add(o),!1)}return this.dataMasking?D_(i,e,this.cache):i}maskFragment(n){let{data:e,fragment:i,fragmentName:r}=n;return this.dataMasking?I_(e,i,this.cache,r):e}fetchQueryByPolicy({query:n,variables:e,fetchPolicy:i,errorPolicy:r,returnPartialData:o,context:s},{cacheWriteBehavior:a,onCacheHit:l,queryInfo:c,observableQuery:d,exposeExtensions:u}){let p=()=>this.cache.diff({query:n,variables:e,returnPartialData:!0,optimistic:!0}),f=(b,v)=>{let w=b.result;!1;let D=B=>(!b.complete&&!o&&(B=void 0),{data:B,dataState:b.complete?"complete":B?"partial":"empty",loading:ba(v),networkStatus:v,partial:!b.complete}),P=B=>be({kind:"N",value:D(B),source:"cache"});return(b.complete||o)&&this.getDocumentInfo(n).hasForcedResolvers?(!1,l(),pt(this.localState.execute({client:this.client,document:n,remoteResult:w?{data:w}:void 0,context:s,variables:e,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:i}).then(B=>({kind:"N",value:D(B.data||void 0),source:"cache"})))):r==="none"&&v===Ae.refetch&&b.missing?P(void 0):P(w||void 0)},y=()=>this.getResultsFromLink({query:n,variables:e,context:s,fetchPolicy:i,errorPolicy:r},{cacheWriteBehavior:a,queryInfo:c,observableQuery:d,exposeExtensions:u}).pipe(HO(),Hg(),ye(b=>A(_({},b),{source:"network"})));switch(i){default:case"cache-first":{let b=p();return b.complete?{fromLink:!1,observable:f(b,Ae.ready)}:o?{fromLink:!0,observable:_r(f(b,Ae.loading),y())}:{fromLink:!0,observable:y()}}case"cache-and-network":{let b=p();return b.complete||o?{fromLink:!0,observable:_r(f(b,Ae.loading),y())}:{fromLink:!0,observable:y()}}case"cache-only":return{fromLink:!1,observable:_r(f(p(),Ae.ready))};case"network-only":return{fromLink:!0,observable:y()};case"no-cache":return{fromLink:!0,observable:y()};case"standby":return{fromLink:!1,observable:Pt}}}};function HO(){let t=!1;return St({next(){t=!0},complete(){W(t,100)}})}function M7(t){let n=!0;return on(t,{FragmentSpread:e=>{if(n=!!e.directives&&e.directives.some(i=>i.name.value==="unmask"),!n)return Co}}),n}function O7(t){return on(t,{FragmentSpread:n=>{if(!n.directives?.some(e=>e.name.value==="unmask"))return A(_({},n),{directives:[...n.directives||[],{kind:q.DIRECTIVE,name:{kind:q.NAME,value:"nonreactive"}}]})}})}function U_(t){var s;if(t.extensions?.[hi]==null)return t;let r=t,{extensions:o}=r,a=o,{[s=hi]:n}=a,e=Et(a,[Uu(s)]),i=Et(r,["extensions"]);return Object.keys(e).length>0&&(i.extensions=e),i}var $O=!1,Ca=class{link;cache;disableNetworkFetches;set prioritizeCacheValues(n){this.queryManager.prioritizeCacheValues=n}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;refetchEventManager;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(n){!1;let{cache:e,documentTransform:i,ssrMode:r=!1,ssrForceFetchDelay:o=0,queryDeduplication:s=!0,defaultOptions:a,defaultContext:l,assumeImmutableResults:c=e.assumeImmutableResults,localState:d,devtools:u,dataMasking:p,link:f,incrementalHandler:y=new yu,experiments:b=[],refetchEventManager:v}=n;this.link=f,this.cache=e,this.queryDeduplication=s,this.defaultOptions=a||{},this.devtoolsConfig=A(_({},u),{enabled:u?.enabled??!1}),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=iu,this.queryManager=new _m({client:this,defaultOptions:this.defaultOptions,defaultContext:l,documentTransform:i,queryDeduplication:s,ssrMode:r,dataMasking:!!p,clientOptions:n,incrementalHandler:y,assumeImmutableResults:c,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:d}),this.prioritizeCacheValues=r||o>0,o&&setTimeout(()=>{this.prioritizeCacheValues=!1},o),this.devtoolsConfig.enabled&&this.connectToDevTools(),b.forEach(w=>w.call(this,n)),this.refetchEventManager=v,this.refetchEventManager?.connect(this)}connectToDevTools(){if(typeof window>"u")return;let n=window,e=Symbol.for("apollo.devtools");(n[e]=n[e]||[]).push(this),n.__APOLLO_CLIENT__=this,!$O&&!1&&($O=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(()=>{if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){let i=window.navigator,r=i&&i.userAgent,o;typeof r=="string"&&(r.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":r.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&!1&&W.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(n){this.queryManager.localState=n}stop(){this.queryManager.stop(),this.refetchEventManager?.disconnect(this)}watchQuery(n){let{refetchOn:e}=n;if(this.defaultOptions.watchQuery){let i=this.defaultOptions.watchQuery.refetchOn,r;e&&typeof e=="object"&&(typeof i=="object"?r=_(_({},i),e):i!=null&&(r=o=>{let s=e[o.source]??i;return typeof s=="function"?s(o):s})),n=ha(this.defaultOptions.watchQuery,n),r&&(n.refetchOn=r)}if(!1){let{query:i}=n,{refetchEventManager:r}=this;if(e){let o=sn(i,"(anonymous)");r?typeof e=="object"&&Object.keys(e).forEach(s=>{r.hasSource(s)||!1}):!1}}return this.queryManager.watchQuery(n)}query=n=>(this.defaultOptions.query&&(n=ha(this.defaultOptions.query,n)),!1,this.queryManager.query(n));mutate=n=>{let e=ha(Fi({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),n);return!1,Qn(e.mutation,qn.MUTATION),this.queryManager.mutate(e)};subscribe(n){let e={},i=this.queryManager.startGraphQLSubscription(n),r=i.pipe(ye(o=>A(_({},o),{data:this.queryManager.maskOperation({document:n.query,data:o.data,fetchPolicy:n.fetchPolicy,cause:e})})));return Object.assign(r,{restart:i.restart})}readQuery(n,e=!1){return this.cache.readQuery(A(_({},n),{query:this.transform(n.query)}),e)}watchFragment(n){let e=this.queryManager.dataMasking,i=this.cache.watchFragment(A(_({},n),{fragment:this.transform(n.fragment,e)}));return i}readFragment(n,e=!1){return this.cache.readFragment(A(_({},n),{fragment:this.transform(n.fragment)}),e)}writeQuery(n){let e=this.cache.writeQuery(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e}writeFragment(n){let e=this.cache.writeFragment(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e}__actionHookForDevTools(n){this.devToolsHookCb=n}__requestRaw(n){return ga(this.link,n,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(n=>n()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(n=>n())))}onResetStore(n){return this.resetStoreCallbacks.push(n),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(e=>e!==n)}}onClearStore(n){return this.clearStoreCallbacks.push(n),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(e=>e!==n)}}reFetchObservableQueries;refetchObservableQueries(n){return this.queryManager.refetchObservableQueries(n)}refetchQueries(n){let e=this.queryManager.refetchQueries(n),i=[],r=[];e.forEach((s,a)=>{i.push(a),r.push(s)});let o=Promise.all(r);return o.queries=i,o.results=r,o.catch(s=>{!1}),o}getObservableQueries(n="active"){return this.queryManager.getObservableQueries(n)}extract(n){return this.cache.extract(n)}restore(n){return this.cache.restore(n)}setLink(n){this.link=n}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new Do(c_);transform(n,e=!1){let i=this.queryManager.transform(n);return e?this.maskedFragmentTransform.transformDocument(i):i}};!1;var wm=new Map,W_=new Map,UO=!0,Cm=!1;function WO(t){return t.replace(/[\s,]+/g," ").trim()}function R7(t){return WO(t.source.body.substring(t.start,t.end))}function P7(t){var n=new Set,e=[];return t.definitions.forEach(function(i){if(i.kind==="FragmentDefinition"){var r=i.name.value,o=R7(i.loc),s=W_.get(r);s&&!s.has(o)?UO&&console.warn("Warning: fragment with name "+r+` already exists.
graphql-tag enforces all fragment names across your application to be unique; read more about
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):s||W_.set(r,s=new Set),s.add(o),n.has(o)||(n.add(o),e.push(i))}else e.push(i)}),Oc(Oc({},t),{definitions:e})}function A7(t){var n=new Set(t.definitions);n.forEach(function(i){i.loc&&delete i.loc,Object.keys(i).forEach(function(r){var o=i[r];o&&typeof o=="object"&&n.add(o)})});var e=t.loc;return e&&(delete e.startToken,delete e.endToken),t}function N7(t){var n=WO(t);if(!wm.has(n)){var e=em(t,{experimentalFragmentVariables:Cm,allowLegacyFragmentVariables:Cm});if(!e||e.kind!=="Document")throw new Error("Not a valid GraphQL document.");wm.set(n,A7(P7(e)))}return wm.get(n)}function ms(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];typeof t=="string"&&(t=[t]);var i=t[0];return n.forEach(function(r,o){r&&r.kind==="Document"?i+=r.loc.source.body:i+=r,i+=t[o+1]}),N7(i)}function GO(){wm.clear(),W_.clear()}function qO(){UO=!1}function QO(){Cm=!0}function KO(){Cm=!1}var Eu={gql:ms,resetCaches:GO,disableFragmentWarnings:qO,enableExperimentalFragmentVariables:QO,disableExperimentalFragmentVariables:KO};(function(t){t.gql=Eu.gql,t.resetCaches=Eu.resetCaches,t.disableFragmentWarnings=Eu.disableFragmentWarnings,t.enableExperimentalFragmentVariables=Eu.enableExperimentalFragmentVariables,t.disableExperimentalFragmentVariables=Eu.disableExperimentalFragmentVariables})(ms||(ms={}));ms.default=ms;function YO(t){return new ue(n=>(t().then(e=>{n.closed||(n.next(e),n.complete())},e=>{n.closed||n.error(e)}),()=>n.unsubscribe()))}function F7(t,n){return n?t.pipe(ye(e=>A(_({},e),{loading:!1})),Ac({data:void 0,loading:!0})):t.pipe(ye(e=>A(_({},e),{loading:!1})))}var q_=class{zone;constructor(n){this.zone=n}now=Date.now;schedule(n,e=0,i){return this.zone.run(()=>Ag.schedule(n,e,i))}};function Q_(t,n){return t.pipe(ks(new q_(n)))}var K_=class{obsQuery;valueChanges;constructor(n,e){this.obsQuery=n,this.valueChanges=Q_(pt(this.obsQuery),e)}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}getCurrentResult(){return this.obsQuery.getCurrentResult()}refetch(n){return this.obsQuery.refetch(n)}fetchMore(n){return this.obsQuery.fetchMore(n)}subscribeToMore(n){return this.obsQuery.subscribeToMore(n)}updateQuery(n){return this.obsQuery.updateQuery(n)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(n){return this.obsQuery.startPolling(n)}setVariables(n){return this.obsQuery.setVariables(n)}reobserve(n){return this.obsQuery.reobserve(n)}},L7=new z("APOLLO_FLAGS"),Y_=new z("APOLLO_OPTIONS"),B7=new z("APOLLO_NAMED_OPTIONS"),xm=class{ngZone;flags;_client;useMutationLoading;constructor(n,e,i){this.ngZone=n,this.flags=e,this._client=i,this.useMutationLoading=e?.useMutationLoading??!1}watchQuery(n){return new K_(this.ensureClient().watchQuery(_({},n)),this.ngZone)}query(n){return YO(()=>this.ensureClient().query(_({},n)))}mutate(n){return F7(YO(()=>this.ensureClient().mutate(_({},n))),n.useMutationLoading??this.useMutationLoading)}watchFragment(n){let o=n,{useZone:e}=o,i=Et(o,["useZone"]),r=this.ensureClient().watchFragment(_({},i));return e!==!0?r:Q_(r,this.ngZone)}subscribe(n){let o=n,{useZone:e}=o,i=Et(o,["useZone"]),r=this.ensureClient().subscribe(_({},i));return e!==!0?r:Q_(r,this.ngZone)}get client(){return this.ensureClient()}set client(n){if(this._client)throw new Error("Client has been already defined");this._client=n}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(this._client)return!0;throw new Error("Client has not been defined yet")}},Tm=(()=>{class t extends xm{map=new Map;constructor(e,i,r,o){if(super(e,o),i&&this.createDefault(i),r&&typeof r=="object"){for(let s in r)if(r.hasOwnProperty(s)){let a=r[s];this.create(a,s)}}}create(e,i){G_(i)?this.createNamed(i,e):this.createDefault(e)}default(){return this}use(e){return G_(e)?this.map.get(e):this.default()}createDefault(e){if(this._client)throw new Error("Apollo has been already created.");this.client=this.ngZone.runOutsideAngular(()=>new Ca(e))}createNamed(e,i){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new xm(this.ngZone,this.flags,this.ngZone.runOutsideAngular(()=>new Ca(i))))}removeClient(e){G_(e)?this.map.delete(e):this._client=void 0}static \u0275fac=function(i){return new(i||t)(he($e),he(Y_,8),he(B7,8),he(L7,8))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();function G_(t){return!!t&&t!=="default"}var V7=ms,Yr=V7;var pc=Yr`
fragment BaseModel on IBaseModel {
id
createdById
createdAt
updatedAt
lastUpdatedById
version
deleted
}
`,bAe=Yr`
mutation Login($username: String!, $password: String!) {
login(username: $username, password: $password) {
... on CurrentUser {
id
identifier
channels {
id
token
}
}
... on InvalidCredentialsError {
errorCode
message
}
... on NativeAuthStrategyError {
errorCode
message
}
... on EmailCodeAuthStrategyError {
errorCode
message
}
}
}
`,ZO=Yr`
query Me {
me {
id
identifier
}
}
`;var JO=Yr`
query GetUser($id: String!) {
getUser(id: $id) {
...BaseModel
identifier
activeEmployee {
...BaseModel
name
lastName
}
}
}
${pc}
`;var Ht={production:!0,apiUrl:void 0,wsUrl:void 0,apiKey:void 0,serverUrl:""};var xa=class t{_hostInjector=_e(null);_pluginServices=_e(null);hostInjector(){return this._hostInjector()}setHostInjector(n){this._hostInjector.set(n)}pluginServices(){return this._pluginServices()}setPluginServices(n){this._pluginServices.set(n)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})};var gs=class t{constructor(n){this.injector=n;Ht.production?this._apollo.set(n.get(xa)?.pluginServices()?.apollo):this._apollo.set(n.get(xa)?.pluginServices()?.apollo??n.get(Tm))}injector;_apollo=_e(void 0);apollo=()=>this._apollo();static \u0275fac=function(e){return new(e||t)(he(Bt))};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})};var j7=(t,n)=>n.title;function z7(t,n){t&1&&(I(0,"div",2),ce(1," Apollo not provided! "),T())}function H7(t,n){if(t&1){let e=se();I(0,"p-button",5),K("click",function(){let r=E(e).$implicit,o=m(2);return S(r.link?o.router.navigate([r.link]):null)}),T()}if(t&2){let e=n.$implicit,i=n.$index,r=n.$index,o=n.$count;k("w-full drop-shadow-lg"+(r===o-1&&i%2==0?" col-span-2":"")),h("label",e.title)("icon",e.icon)}}function $7(t,n){if(t&1&&(I(0,"app-base",0)(1,"div",1),ce(2," This is a demo of a PHX Frontend Plugin. "),ee(3,"br"),ce(4," Click the buttons below to navigate to the different pages. "),T(),ot(5,z7,2,0,"div",2),I(6,"div",3),Zo(7,H7,1,4,"p-button",4,j7),T()()),t&2){let e=m();h("title",bb("Hello ",e.userName(),"!"))("noHomeButton",!0),g(5),st(e.apolloProvided()?-1:5),g(2),Jo(e.routeItems())}}var Em=class t{constructor(n){this.apollo=n;this.init()}apollo;router=x(Pi);userName=_e(void 0);apolloProvided=We(()=>this.apollo.apollo()!==void 0);routeItems=ae([{title:"Product View",link:"/product-view",icon:"fa fa-boxes-stacked"},{title:"Address List",link:"/address-list",icon:"fa fa-address-card"}]);init(){return gt(this,null,function*(){let n="World";try{let e=yield vr(this.apollo.apollo().query({query:ZO}));if(!e.data?.me)return;n=e.data.me.identifier??"World";let i=yield vr(this.apollo.apollo().query({query:JO,variables:{id:e.data.me.id}}));if(i.data?.getUser?.activeEmployee){let r=[i.data.getUser.activeEmployee.name,i.data.getUser.activeEmployee.lastName].filter(Boolean);r.length>0&&(n=r.join(" "))}}catch(e){console.error(e)}finally{this.userName.set(n)}})}static \u0275fac=function(e){return new(e||t)(me(gs))};static \u0275cmp=$({type:t,selectors:[["app-hello-world"]],inputs:{routeItems:[1,"routeItems"]},decls:1,vars:1,consts:[[3,"title","noHomeButton"],[1,"text-muted-color","text-center","bg-white","border-2","rounded-lg","p-8","mb-4","drop-shadow-lg"],[1,"text-center","text-white","bg-red-500","border-2","rounded-lg","p-4","mb-4"],[1,"grid","grid-cols-2","gap-2","pt-4"],["size","large","styleClass","w-full","iconPos","top",3,"label","icon","class"],["size","large","styleClass","w-full","iconPos","top",3,"click","label","icon"]],template:function(e,i){e&1&&ot(0,$7,9,4,"app-base",0),e&2&&st(i.userName()?0:-1)},dependencies:[os,Ni],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type=button]), input[_ngcontent-%COMP%]:where([type=reset]), input[_ngcontent-%COMP%]:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden=until-found])){display:none}.visible[_ngcontent-%COMP%]{visibility:visible}.absolute[_ngcontent-%COMP%]{position:absolute}.col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.ml-auto[_ngcontent-%COMP%]{margin-left:auto}.mr-auto[_ngcontent-%COMP%]{margin-right:auto}.mt-4[_ngcontent-%COMP%]{margin-top:1rem}.line-clamp-2[_ngcontent-%COMP%]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block[_ngcontent-%COMP%]{display:block}.flex[_ngcontent-%COMP%]{display:flex}.table[_ngcontent-%COMP%]{display:table}.grid[_ngcontent-%COMP%]{display:grid}.h-16[_ngcontent-%COMP%]{height:4rem}.h-32[_ngcontent-%COMP%]{height:8rem}.h-screen[_ngcontent-%COMP%]{height:100vh}.min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.w-16[_ngcontent-%COMP%]{width:4rem}.w-32[_ngcontent-%COMP%]{width:8rem}.w-full[_ngcontent-%COMP%]{width:100%}.w-screen[_ngcontent-%COMP%]{width:100vw}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}to{opacity:1}}.animate-fadein[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadein .5s ease-in-out}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.bg-gray-100\\/50[_ngcontent-%COMP%]{background-color:#f3f4f680}.bg-red-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1[_ngcontent-%COMP%]{padding:.25rem}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-8[_ngcontent-%COMP%]{padding:2rem}.pt-4[_ngcontent-%COMP%]{padding-top:1rem}.text-center[_ngcontent-%COMP%]{text-align:center}.text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.font-bold[_ngcontent-%COMP%]{font-weight:700}.italic[_ngcontent-%COMP%]{font-style:italic}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-20[_ngcontent-%COMP%]{opacity:.2}.drop-shadow[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.duration-1000[_ngcontent-%COMP%]{transition-duration:1s}.animate-alternate[_ngcontent-%COMP%]{animation-direction:alternate}.animate-duration-\\__ph-0__[_ngcontent-%COMP%]{animation-duration:1.5s}.animate-infinite[_ngcontent-%COMP%]{animation-iteration-count:infinite}.text-muted-color[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}@keyframes _ngcontent-%COMP%_enter{0%{opacity:var(--p-enter-opacity, 1);transform:translate3d(var(--p-enter-translate-x, 0),var(--p-enter-translate-y, 0),0) scale3d(var(--p-enter-scale, 1),var(--p-enter-scale, 1),var(--p-enter-scale, 1)) rotate(var(--p-enter-rotate, 0))}}@keyframes _ngcontent-%COMP%_leave{to{opacity:var(--p-leave-opacity, 1);transform:translate3d(var(--p-leave-translate-x, 0),var(--p-leave-translate-y, 0),0) scale3d(var(--p-leave-scale, 1),var(--p-leave-scale, 1),var(--p-leave-scale, 1)) rotate(var(--p-leave-rotate, 0))}}.hover\\:text-blue-700[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}@media(min-width:640px){.sm\\:grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}']})};var a2=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(me(Yi),me(un))};static \u0275dir=Ye({type:t})}return t})(),U7=(()=>{class t extends a2{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275dir=Ye({type:t,features:[j]})}return t})(),Vn=new z("");var W7={provide:Vn,useExisting:Jt(()=>Mm),multi:!0};function G7(){let t=Mi()?Mi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var q7=new z(""),Mm=(()=>{class t extends a2{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!G7())}writeValue(e){let i=e??"";this.setProperty("value",i)}_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)}static \u0275fac=function(i){return new(i||t)(me(Yi),me(un),me(q7,8))};static \u0275dir=Ye({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&K("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[Se([W7]),j]})}return t})();var Q7=new z(""),K7=new z("");function l2(t){return t!=null}function c2(t){return Yo(t)?pt(t):t}function d2(t){let n={};return t.forEach(e=>{n=e!=null?_(_({},n),e):n}),Object.keys(n).length===0?null:n}function u2(t,n){return n.map(e=>e(t))}function Y7(t){return!t.validate}function p2(t){return t.map(n=>Y7(n)?n:e=>n.validate(e))}function Z7(t){if(!t)return null;let n=t.filter(l2);return n.length==0?null:function(e){return d2(u2(e,n))}}function f2(t){return t!=null?Z7(p2(t)):null}function J7(t){if(!t)return null;let n=t.filter(l2);return n.length==0?null:function(e){let i=u2(e,n).map(c2);return Lg(i).pipe(ye(d2))}}function h2(t){return t!=null?J7(p2(t)):null}function e2(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function X7(t){return t._rawValidators}function e9(t){return t._rawAsyncValidators}function Z_(t){return t?Array.isArray(t)?t:[t]:[]}function Im(t,n){return Array.isArray(t)?t.includes(n):t===n}function t2(t,n){let e=Z_(n);return Z_(t).forEach(r=>{Im(e,r)||e.push(r)}),e}function n2(t,n){return Z_(n).filter(e=>!Im(t,e))}var Dm=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=f2(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=h2(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},J_=class extends Dm{name;get formDirective(){return null}get path(){return null}},mi=class extends Dm{_parent=null;name=null;valueAccessor=null},X_=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},t9={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},oNe=A(_({},t9),{"[class.ng-submitted]":"isSubmitted"}),mc=(()=>{class t extends X_{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(me(mi,2))};static \u0275dir=Ye({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&yl("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)},standalone:!1,features:[j]})}return t})();var Su="VALID",Sm="INVALID",fc="PENDING",Iu="DISABLED",Ta=class{},km=class extends Ta{value;source;constructor(n,e){super(),this.value=n,this.source=e}},Du=class extends Ta{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},ku=class extends Ta{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},hc=class extends Ta{status;source;constructor(n,e){super(),this.status=n,this.source=e}};var ew=class extends Ta{source;constructor(n){super(),this.source=n}};function n9(t){return(Om(t)?t.validators:t)||null}function i9(t){return Array.isArray(t)?f2(t):t||null}function r9(t,n){return(Om(n)?n.asyncValidators:t)||null}function o9(t){return Array.isArray(t)?h2(t):t||null}function Om(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var tw=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return vn(this.statusReactive)}set status(n){vn(()=>this.statusReactive.set(n))}_status=We(()=>this.statusReactive());statusReactive=_e(void 0);get valid(){return this.status===Su}get invalid(){return this.status===Sm}get pending(){return this.status==fc}get disabled(){return this.status===Iu}get enabled(){return this.status!==Iu}errors;get pristine(){return vn(this.pristineReactive)}set pristine(n){vn(()=>this.pristineReactive.set(n))}_pristine=We(()=>this.pristineReactive());pristineReactive=_e(!0);get dirty(){return!this.pristine}get touched(){return vn(this.touchedReactive)}set touched(n){vn(()=>this.touchedReactive.set(n))}_touched=We(()=>this.touchedReactive());touchedReactive=_e(!1);get untouched(){return!this.touched}_events=new Ge;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(t2(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(t2(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(n2(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(n2(n,this._rawAsyncValidators))}hasValidator(n){return Im(this._rawValidators,n)}hasAsyncValidator(n){return Im(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(A(_({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new ku(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new ku(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(A(_({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Du(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Du(!0,i))}markAsPending(n={}){this.status=fc;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new hc(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(A(_({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Iu,this.errors=null,this._forEachChild(r=>{r.disable(A(_({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new km(this.value,i)),this._events.next(new hc(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(A(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Su,this._forEachChild(i=>{i.enable(A(_({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(A(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Su||this.status===fc)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new km(this.value,e)),this._events.next(new hc(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(A(_({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Iu:Su}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=fc,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=c2(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new hc(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?Iu:this.errors?Sm:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fc)?fc:this._anyControlsHaveStatus(Sm)?Sm:Su}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new Du(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ku(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Om(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=i9(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=o9(this._rawAsyncValidators)}};var m2=new z("",{providedIn:"root",factory:()=>nw}),nw="always";function s9(t,n){return[...n.path,t]}function a9(t,n,e=nw){c9(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),d9(t,n),p9(t,n),u9(t,n),l9(t,n)}function i2(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function l9(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function c9(t,n){let e=X7(t);n.validator!==null?t.setValidators(e2(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=e9(t);n.asyncValidator!==null?t.setAsyncValidators(e2(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();i2(n._rawValidators,r),i2(n._rawAsyncValidators,r)}function d9(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&g2(t,n)})}function u9(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&g2(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function g2(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function p9(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function f9(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function h9(t){return Object.getPrototypeOf(t.constructor)===U7}function m9(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===Mm?e=o:h9(o)?i=o:r=o}),r||i||e||null}function r2(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function o2(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var g9=class extends tw{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(n9(e),r9(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Om(e)&&(e.nonNullable||e.initialValueIsDefault)&&(o2(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new ew(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){r2(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){r2(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){o2(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var y9={provide:mi,useExisting:Jt(()=>Ea)},s2=Promise.resolve(),Ea=(()=>{class t extends mi{_changeDetectorRef;callSetDisabledState;control=new g9;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new H;constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=m9(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),f9(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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){a9(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){s2.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&R(i);s2.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?s9(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(me(J_,9),me(Q7,10),me(K7,10),me(Vn,10),me(Xo,8),me(m2,8))};static \u0275dir=Ye({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Se([y9]),j,po]})}return t})();var b9=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({})}return t})();var ys=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:m2,useValue:e.callSetDisabledState??nw}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[b9]})}return t})();var Rm=(()=>{class t extends ut{modelValue=_e(void 0);$filled=We(()=>lt(this.modelValue()));writeModelValue(e){this.modelValue.set(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275dir=Ye({type:t,features:[j]})}return t})();var Zr=(()=>{class t extends Rm{required=ae(void 0,{transform:R});invalid=ae(void 0,{transform:R});disabled=ae(void 0,{transform:R});name=ae();_disabled=_e(!1);$disabled=We(()=>this.disabled()||this._disabled());onModelChange=()=>{};onModelTouched=()=>{};writeDisabledState(e){this._disabled.set(e)}writeControlValue(e,i){}writeValue(e){this.writeControlValue(e,this.writeModelValue.bind(this))}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.writeDisabledState(e),this.cd.markForCheck()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275dir=Ye({type:t,inputs:{required:[1,"required"],invalid:[1,"invalid"],disabled:[1,"disabled"],name:[1,"name"]},features:[j]})}return t})();var gc=(()=>{class t extends Zr{pcFluid=x(Ul,{optional:!0,host:!0,skipSelf:!0});fluid=ae(void 0,{transform:R});variant=ae();size=ae();inputSize=ae();pattern=ae();min=ae();max=ae();step=ae();minlength=ae();maxlength=ae();$variant=We(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());get hasFluid(){return this.fluid()??!!this.pcFluid}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275dir=Ye({type:t,inputs:{fluid:[1,"fluid"],variant:[1,"variant"],size:[1,"size"],inputSize:[1,"inputSize"],pattern:[1,"pattern"],min:[1,"min"],max:[1,"max"],step:[1,"step"],minlength:[1,"minlength"],maxlength:[1,"maxlength"]},features:[j]})}return t})();var y2=`
.p-iconfield {
position: relative;
display: block;
}
.p-inputicon {
position: absolute;
top: 50%;
margin-top: calc(-1 * (dt('icon.size') / 2));
color: dt('iconfield.icon.color');
line-height: 1;
z-index: 1;
}
.p-iconfield .p-inputicon:first-child {
inset-inline-start: dt('form.field.padding.x');
}
.p-iconfield .p-inputicon:last-child {
inset-inline-end: dt('form.field.padding.x');
}
.p-iconfield .p-inputtext:not(:first-child),
.p-iconfield .p-inputwrapper:not(:first-child) .p-inputtext {
padding-inline-start: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
}
.p-iconfield .p-inputtext:not(:last-child) {
padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
}
.p-iconfield:has(.p-inputfield-sm) .p-inputicon {
font-size: dt('form.field.sm.font.size');
width: dt('form.field.sm.font.size');
height: dt('form.field.sm.font.size');
margin-top: calc(-1 * (dt('form.field.sm.font.size') / 2));
}
.p-iconfield:has(.p-inputfield-lg) .p-inputicon {
font-size: dt('form.field.lg.font.size');
width: dt('form.field.lg.font.size');
height: dt('form.field.lg.font.size');
margin-top: calc(-1 * (dt('form.field.lg.font.size') / 2));
}
`;var v9=["*"],_9={root:({instance:t})=>["p-iconfield",{"p-iconfield-left":t.iconPosition=="left","p-iconfield-right":t.iconPosition=="right"}]},b2=(()=>{class t extends Me{name="iconfield";style=y2;classes=_9;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var v2=new z("ICONFIELD_INSTANCE"),Pm=(()=>{class t extends ut{hostName="";_componentStyle=x(b2);$pcIconField=x(v2,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}iconPosition="left";styleClass;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-iconfield"],["p-iconField"],["p-icon-field"]],hostVars:2,hostBindings:function(i,r){i&2&&k(r.cn(r.cx("root"),r.styleClass))},inputs:{hostName:"hostName",iconPosition:"iconPosition",styleClass:"styleClass"},features:[Se([b2,{provide:v2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],ngContentSelectors:v9,decls:1,vars:0,template:function(i,r){i&1&&(zt(),Ot(0))},dependencies:[qe,Wt],encapsulation:2,changeDetection:0})}return t})();var w9=["*"],C9={root:"p-inputicon"},_2=(()=>{class t extends Me{name="inputicon";classes=C9;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),w2=new z("INPUTICON_INSTANCE"),Am=(()=>{class t extends ut{hostName="";styleClass;_componentStyle=x(_2);$pcInputIcon=x(w2,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-inputicon"],["p-inputIcon"]],hostVars:2,hostBindings:function(i,r){i&2&&k(r.cn(r.cx("root"),r.styleClass))},inputs:{hostName:"hostName",styleClass:"styleClass"},features:[Se([_2,{provide:w2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],ngContentSelectors:w9,decls:1,vars:0,template:function(i,r){i&1&&(zt(),Ot(0))},dependencies:[qe,xe,Wt],encapsulation:2,changeDetection:0})}return t})();var C2=`
.p-inputtext {
font-family: inherit;
font-feature-settings: inherit;
font-size: 1rem;
color: dt('inputtext.color');
background: dt('inputtext.background');
padding-block: dt('inputtext.padding.y');
padding-inline: dt('inputtext.padding.x');
border: 1px solid dt('inputtext.border.color');
transition:
background dt('inputtext.transition.duration'),
color dt('inputtext.transition.duration'),
border-color dt('inputtext.transition.duration'),
outline-color dt('inputtext.transition.duration'),
box-shadow dt('inputtext.transition.duration');
appearance: none;
border-radius: dt('inputtext.border.radius');
outline-color: transparent;
box-shadow: dt('inputtext.shadow');
}
.p-inputtext:enabled:hover {
border-color: dt('inputtext.hover.border.color');
}
.p-inputtext:enabled:focus {
border-color: dt('inputtext.focus.border.color');
box-shadow: dt('inputtext.focus.ring.shadow');
outline: dt('inputtext.focus.ring.width') dt('inputtext.focus.ring.style') dt('inputtext.focus.ring.color');
outline-offset: dt('inputtext.focus.ring.offset');
}
.p-inputtext.p-invalid {
border-color: dt('inputtext.invalid.border.color');
}
.p-inputtext.p-variant-filled {
background: dt('inputtext.filled.background');
}
.p-inputtext.p-variant-filled:enabled:hover {
background: dt('inputtext.filled.hover.background');
}
.p-inputtext.p-variant-filled:enabled:focus {
background: dt('inputtext.filled.focus.background');
}
.p-inputtext:disabled {
opacity: 1;
background: dt('inputtext.disabled.background');
color: dt('inputtext.disabled.color');
}
.p-inputtext::placeholder {
color: dt('inputtext.placeholder.color');
}
.p-inputtext.p-invalid::placeholder {
color: dt('inputtext.invalid.placeholder.color');
}
.p-inputtext-sm {
font-size: dt('inputtext.sm.font.size');
padding-block: dt('inputtext.sm.padding.y');
padding-inline: dt('inputtext.sm.padding.x');
}
.p-inputtext-lg {
font-size: dt('inputtext.lg.font.size');
padding-block: dt('inputtext.lg.padding.y');
padding-inline: dt('inputtext.lg.padding.x');
}
.p-inputtext-fluid {
width: 100%;
}
`;var x9=`
${C2}
/* For PrimeNG */
.p-inputtext.ng-invalid.ng-dirty {
border-color: dt('inputtext.invalid.border.color');
}
.p-inputtext.ng-invalid.ng-dirty::placeholder {
color: dt('inputtext.invalid.placeholder.color');
}
`,T9={root:({instance:t})=>["p-inputtext p-component",{"p-filled":t.$filled(),"p-inputtext-sm":t.pSize==="small","p-inputtext-lg":t.pSize==="large","p-invalid":t.invalid(),"p-variant-filled":t.$variant()==="filled","p-inputtext-fluid":t.hasFluid}]},x2=(()=>{class t extends Me{name="inputtext";style=x9;classes=T9;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var T2=new z("INPUTTEXT_INSTANCE"),bs=(()=>{class t extends Rm{hostName="";ptInputText=ae();bindDirectiveInstance=x(te,{self:!0});$pcInputText=x(T2,{optional:!0,skipSelf:!0})??void 0;ngControl=x(mi,{optional:!0,self:!0});pcFluid=x(Ul,{optional:!0,host:!0,skipSelf:!0});pSize;variant=ae();fluid=ae(void 0,{transform:R});invalid=ae(void 0,{transform:R});$variant=We(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());_componentStyle=x(x2);constructor(){super(),Lt(()=>{this.ptInputText()&&this.directivePT.set(this.ptInputText())})}onAfterViewInit(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value),this.cd.detectChanges()}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("root"))}onDoCheck(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value)}onInput(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value)}get hasFluid(){return this.fluid()??!!this.pcFluid}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Ye({type:t,selectors:[["","pInputText",""]],hostVars:2,hostBindings:function(i,r){i&1&&K("input",function(s){return r.onInput(s)}),i&2&&k(r.cx("root"))},inputs:{hostName:"hostName",ptInputText:[1,"ptInputText"],pSize:"pSize",variant:[1,"variant"],fluid:[1,"fluid"],invalid:[1,"invalid"]},features:[Se([x2,{provide:T2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j]})}return t})(),E2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({})}return t})();var Ne=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(Ne||{}),Li="*";function Mu(t,n){return{type:Ne.Trigger,name:t,definitions:n,options:{}}}function Mo(t,n=null){return{type:Ne.Animate,styles:n,timings:t}}function S2(t,n=null){return{type:Ne.Sequence,steps:t,options:n}}function ii(t){return{type:Ne.Style,styles:t,offset:null}}function rw(t,n,e){return{type:Ne.State,name:t,styles:n,options:e}}function Oo(t,n,e=null){return{type:Ne.Transition,expr:t,animation:n,options:e}}function Nm(t,n=null){return{type:Ne.Reference,animation:t,options:n}}function Fm(t,n=null){return{type:Ne.AnimateRef,animation:t,options:n}}var Jr=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Sa=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==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(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},yc="!";var I2=["content"],E9=["overlay"],S9=["*"],I9=(t,n,e)=>({showTransitionParams:t,hideTransitionParams:n,transform:e}),D9=t=>({value:"visible",params:t}),k9=t=>({mode:t}),M9=t=>({$implicit:t});function O9(t,n){t&1&&ne(0)}function R9(t,n){if(t&1){let e=se();I(0,"div",3,1),K("click",function(r){E(e);let o=m(2);return S(o.onOverlayContentClick(r))})("@overlayContentAnimation.start",function(r){E(e);let o=m(2);return S(o.onOverlayContentAnimationStart(r))})("@overlayContentAnimation.done",function(r){E(e);let o=m(2);return S(o.onOverlayContentAnimationDone(r))}),Ot(2),C(3,O9,1,0,"ng-container",4),T()}if(t&2){let e=m(2);k(e.cn(e.cx("content"),e.contentStyleClass)),h("pBind",e.ptm("content"))("@overlayContentAnimation",Te(10,D9,vb(6,I9,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),g(3),h("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",Te(14,M9,Te(12,k9,e.overlayMode)))}}function P9(t,n){if(t&1){let e=se();I(0,"div",3,0),K("click",function(){E(e);let r=m();return S(r.onOverlayClick())}),C(2,R9,4,16,"div",2),T()}if(t&2){let e=m();k(e.cn(e.cx("root"),e.styleClass)),h("pBind",e.ptm("root")),g(2),h("ngIf",e.visible)}}var A9=`
.p-overlay {
position: absolute;
top: 0;
}
.p-overlay-modal {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.p-overlay-content {
transform-origin: inherit;
}
/* Github Issue #18560 */
.p-component-overlay.p-component {
position: relative;
}
.p-overlay-modal > .p-overlay-content {
z-index: 1;
width: 90%;
}
/* Position */
/* top */
.p-overlay-top {
align-items: flex-start;
}
.p-overlay-top-start {
align-items: flex-start;
justify-content: flex-start;
}
.p-overlay-top-end {
align-items: flex-start;
justify-content: flex-end;
}
/* bottom */
.p-overlay-bottom {
align-items: flex-end;
}
.p-overlay-bottom-start {
align-items: flex-end;
justify-content: flex-start;
}
.p-overlay-bottom-end {
align-items: flex-end;
justify-content: flex-end;
}
/* left */
.p-overlay-left {
justify-content: flex-start;
}
.p-overlay-left-start {
justify-content: flex-start;
align-items: flex-start;
}
.p-overlay-left-end {
justify-content: flex-start;
align-items: flex-end;
}
/* right */
.p-overlay-right {
justify-content: flex-end;
}
.p-overlay-right-start {
justify-content: flex-end;
align-items: flex-start;
}
.p-overlay-right-end {
justify-content: flex-end;
align-items: flex-end;
}
.p-overlay-content ~ .p-overlay-content {
display: none;
}
`,N9={host:"p-overlay-host",root:({instance:t})=>["p-overlay p-component",{"p-overlay-modal p-overlay-mask p-overlay-mask-enter":t.modal,"p-overlay-center":t.modal&&t.overlayResponsiveDirection==="center","p-overlay-top":t.modal&&t.overlayResponsiveDirection==="top","p-overlay-top-start":t.modal&&t.overlayResponsiveDirection==="top-start","p-overlay-top-end":t.modal&&t.overlayResponsiveDirection==="top-end","p-overlay-bottom":t.modal&&t.overlayResponsiveDirection==="bottom","p-overlay-bottom-start":t.modal&&t.overlayResponsiveDirection==="bottom-start","p-overlay-bottom-end":t.modal&&t.overlayResponsiveDirection==="bottom-end","p-overlay-left":t.modal&&t.overlayResponsiveDirection==="left","p-overlay-left-start":t.modal&&t.overlayResponsiveDirection==="left-start","p-overlay-left-end":t.modal&&t.overlayResponsiveDirection==="left-end","p-overlay-right":t.modal&&t.overlayResponsiveDirection==="right","p-overlay-right-start":t.modal&&t.overlayResponsiveDirection==="right-start","p-overlay-right-end":t.modal&&t.overlayResponsiveDirection==="right-end"}],content:"p-overlay-content"},D2=(()=>{class t extends Me{name="overlay";style=A9;classes=N9;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),k2=new z("OVERLAY_INSTANCE"),F9=Nm([ii({transform:"{{transform}}",opacity:0}),Mo("{{showTransitionParams}}")]),L9=Nm([Mo("{{hideTransitionParams}}",ii({transform:"{{transform}}",opacity:0}))]),M2=(()=>{class t extends ut{overlayService;zone;$pcOverlay=x(k2,{optional:!0,skipSelf:!0})??void 0;hostName="";get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(e){this._mode=e}get style(){return Pe.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(e){this._style=e}get styleClass(){return Pe.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(e){this._styleClass=e}get contentStyle(){return Pe.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(e){this._contentStyle=e}get contentStyleClass(){return Pe.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(e){this._contentStyleClass=e}get target(){let e=this._target||this.overlayOptions?.target;return e===void 0?"@prev":e}set target(e){this._target=e}get autoZIndex(){let e=this._autoZIndex||this.overlayOptions?.autoZIndex;return e===void 0?!0:e}set autoZIndex(e){this._autoZIndex=e}get baseZIndex(){let e=this._baseZIndex||this.overlayOptions?.baseZIndex;return e===void 0?0:e}set baseZIndex(e){this._baseZIndex=e}get showTransitionOptions(){let e=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return e===void 0?".12s cubic-bezier(0, 0, 0.2, 1)":e}set showTransitionOptions(e){this._showTransitionOptions=e}get hideTransitionOptions(){let e=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return e===void 0?".1s linear":e}set hideTransitionOptions(e){this._hideTransitionOptions=e}get listener(){return this._listener||this.overlayOptions?.listener}set listener(e){this._listener=e}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(e){this._responsive=e}get options(){return this._options}set options(e){this._options=e}appendTo=ae(void 0);visibleChange=new H;onBeforeShow=new H;onShow=new H;onBeforeHide=new H;onHide=new H;onAnimationStart=new H;onAnimationDone=new H;overlayViewChild;contentViewChild;contentTemplate;templates;hostAttrSelector=ae();$appendTo=We(()=>this.appendTo()||this.config.overlayAppendTo());_contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;_componentStyle=x(D2);bindDirectiveInstance=x(te,{self:!0});documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if(kn(this.platformId))return this.mode==="modal"||this.overlayResponsiveOptions&&this.document.defaultView?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return _(_({},this.config?.overlayOptions),this.options)}get overlayResponsiveOptions(){return _(_({},this.overlayOptions?.responsive),this.responsive)}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return Sv(this.target,this.el?.nativeElement)}constructor(e,i){super(),this.overlayService=e,this.zone=i}onAfterContentInit(){this.templates?.forEach(e=>{e.getType()==="content"?this._contentTemplate=e.template:this._contentTemplate=e.template})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host"))}show(e,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&nr(this.targetEl),this.modal&&tr(this.document?.body,"p-overflow-hidden")}hide(e,i=!1){if(this.visible)this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&nr(this.targetEl),this.modal&&Lr(this.document?.body,"p-overflow-hidden");else return}alignOverlay(){!this.modal&&Ie.alignOverlay(this.overlayEl,this.targetEl,this.$appendTo())}onVisibleChange(e){this._visible=e,this.visibleChange.emit(e)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(e){this.overlayService.add({originalEvent:e,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(e){switch(e.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&ti.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),this.hostAttrSelector()&&this.overlayEl&&this.overlayEl.setAttribute(this.hostAttrSelector(),""),Ie.appendOverlay(this.overlayEl,this.$appendTo()==="body"?this.document.body:this.$appendTo(),this.$appendTo()),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&tr(this.overlayEl,"p-overlay-mask-leave");break}this.handleEvents("onAnimationStart",e)}onOverlayContentAnimationDone(e){let i=this.overlayEl||e.element.parentElement;switch(e.toState){case"visible":this.visible&&(this.show(i,!0),this.bindListeners());break;case"void":if(!this.visible){this.hide(i,!0),this.modalVisible=!1,this.unbindListeners(),Ie.appendOverlay(this.overlayEl,this.targetEl,this.$appendTo()),ti.clear(i),this.cd.markForCheck();break}}this.handleEvents("onAnimationDone",e)}handleEvents(e,i){this[e].emit(i),this.options&&this.options[e]&&this.options[e](i),this.config?.overlayOptions&&(this.config?.overlayOptions)[e]&&(this.config?.overlayOptions)[e](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new _o(this.targetEl,e=>{(!this.listener||this.listener(e,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(e,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",e=>{let r=!(this.targetEl&&(this.targetEl.isSameNode(e.target)||!this.isOverlayClicked&&this.targetEl.contains(e.target)))&&!this.isOverlayContentClicked;(this.listener?this.listener(e,{type:"outside",mode:this.overlayMode,valid:e.which!==3&&r}):r)&&this.hide(e),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.document.defaultView,"resize",e=>{(this.listener?this.listener(e,{type:"resize",mode:this.overlayMode,valid:!yo()}):!yo())&&this.hide(e,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.document.defaultView,"keydown",e=>{if(this.overlayOptions.hideOnEscape===!1||e.code!=="Escape")return;(this.listener?this.listener(e,{type:"keydown",mode:this.overlayMode,valid:!yo()}):!yo())&&this.zone.run(()=>{this.hide(e,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}onDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&this.$appendTo()!=="self"&&(this.renderer.appendChild(this.el.nativeElement,this.overlayEl),ti.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(i){return new(i||t)(me(Vl),me($e))};static \u0275cmp=$({type:t,selectors:[["p-overlay"]],contentQueries:function(i,r,o){if(i&1&&(V(o,I2,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.contentTemplate=s.first),M(s=O())&&(r.templates=s)}},viewQuery:function(i,r){if(i&1&&(ct(E9,5),ct(I2,5)),i&2){let o;M(o=O())&&(r.overlayViewChild=o.first),M(o=O())&&(r.contentViewChild=o.first)}},inputs:{hostName:"hostName",visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options",appendTo:[1,"appendTo"],hostAttrSelector:[1,"hostAttrSelector"]},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[Se([D2,{provide:k2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],ngContentSelectors:S9,decls:1,vars:1,consts:[["overlay",""],["content",""],[3,"class","pBind","click",4,"ngIf"],[3,"click","pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,r){i&1&&(zt(),C(0,P9,3,4,"div",2)),i&2&&h("ngIf",r.modalVisible)},dependencies:[qe,Ut,kt,xe,te],encapsulation:2,data:{animation:[Mu("overlayContentAnimation",[Oo(":enter",[Fm(F9)]),Oo(":leave",[Fm(L9)])])]},changeDetection:0})}return t})();var O2=["content"],B9=["item"],V9=["loader"],j9=["loadericon"],z9=["element"],H9=["*"],ow=(t,n)=>({$implicit:t,options:n}),$9=t=>({numCols:t}),A2=t=>({options:t}),U9=()=>({styleClass:"p-virtualscroller-loading-icon"}),W9=(t,n)=>({rows:t,columns:n});function G9(t,n){t&1&&ne(0)}function q9(t,n){if(t&1&&(re(0),C(1,G9,1,0,"ng-container",10),oe()),t&2){let e=m(2);g(),h("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",Dt(2,ow,e.loadedItems,e.getContentOptions()))}}function Q9(t,n){t&1&&ne(0)}function K9(t,n){if(t&1&&(re(0),C(1,Q9,1,0,"ng-container",10),oe()),t&2){let e=n.$implicit,i=n.index,r=m(3);g(),h("ngTemplateOutlet",r.itemTemplate||r._itemTemplate)("ngTemplateOutletContext",Dt(2,ow,e,r.getOptions(i)))}}function Y9(t,n){if(t&1&&(I(0,"div",11,3),C(2,K9,2,5,"ng-container",12),T()),t&2){let e=m(2);Dn(e.contentStyle),k(e.cn(e.cx("content"),e.contentStyleClass)),h("pBind",e.ptm("content")),g(2),h("ngForOf",e.loadedItems)("ngForTrackBy",e._trackBy)}}function Z9(t,n){if(t&1&&ee(0,"div",13),t&2){let e=m(2);k(e.cx("spacer")),h("ngStyle",e.spacerStyle)("pBind",e.ptm("spacer"))}}function J9(t,n){t&1&&ne(0)}function X9(t,n){if(t&1&&(re(0),C(1,J9,1,0,"ng-container",10),oe()),t&2){let e=n.index,i=m(4);g(),h("ngTemplateOutlet",i.loaderTemplate||i._loaderTemplate)("ngTemplateOutletContext",Te(4,A2,i.getLoaderOptions(e,i.both&&Te(2,$9,i.numItemsInViewport.cols))))}}function ej(t,n){if(t&1&&(re(0),C(1,X9,2,6,"ng-container",14),oe()),t&2){let e=m(3);g(),h("ngForOf",e.loaderArr)}}function tj(t,n){t&1&&ne(0)}function nj(t,n){if(t&1&&(re(0),C(1,tj,1,0,"ng-container",10),oe()),t&2){let e=m(4);g(),h("ngTemplateOutlet",e.loaderIconTemplate||e._loaderIconTemplate)("ngTemplateOutletContext",Te(3,A2,Rr(2,U9)))}}function ij(t,n){if(t&1&&(G(),ee(0,"svg",15)),t&2){let e=m(4);k(e.cx("loadingIcon")),h("spin",!0)("pBind",e.ptm("loadingIcon"))}}function rj(t,n){if(t&1&&C(0,nj,2,5,"ng-container",6)(1,ij,1,4,"ng-template",null,5,at),t&2){let e=pn(2),i=m(3);h("ngIf",i.loaderIconTemplate||i._loaderIconTemplate)("ngIfElse",e)}}function oj(t,n){if(t&1&&(I(0,"div",11),C(1,ej,2,1,"ng-container",6)(2,rj,3,2,"ng-template",null,4,at),T()),t&2){let e=pn(3),i=m(2);k(i.cx("loader")),h("pBind",i.ptm("loader")),g(),h("ngIf",i.loaderTemplate||i._loaderTemplate)("ngIfElse",e)}}function sj(t,n){if(t&1){let e=se();re(0),I(1,"div",7,1),K("scroll",function(r){E(e);let o=m();return S(o.onContainerScroll(r))}),C(3,q9,2,5,"ng-container",6)(4,Y9,3,7,"ng-template",null,2,at)(6,Z9,1,4,"div",8)(7,oj,4,5,"div",9),T(),oe()}if(t&2){let e=pn(5),i=m();g(),k(i.cn(i.cx("root"),i.styleClass)),h("ngStyle",i._style)("pBind",i.ptm("root")),J("id",i._id)("tabindex",i.tabindex),g(2),h("ngIf",i.contentTemplate||i._contentTemplate)("ngIfElse",e),g(3),h("ngIf",i._showSpacer),g(),h("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function aj(t,n){t&1&&ne(0)}function lj(t,n){if(t&1&&(re(0),C(1,aj,1,0,"ng-container",10),oe()),t&2){let e=m(2);g(),h("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",Dt(5,ow,e.items,Dt(2,W9,e._items,e.loadedColumns)))}}function cj(t,n){if(t&1&&(Ot(0),C(1,lj,2,8,"ng-container",16)),t&2){let e=m();g(),h("ngIf",e.contentTemplate||e._contentTemplate)}}var dj=`
.p-virtualscroller {
position: relative;
overflow: auto;
contain: strict;
transform: translateZ(0);
will-change: scroll-position;
outline: 0 none;
}
.p-virtualscroller-content {
position: absolute;
top: 0;
left: 0;
min-height: 100%;
min-width: 100%;
will-change: transform;
}
.p-virtualscroller-spacer {
position: absolute;
top: 0;
left: 0;
height: 1px;
width: 1px;
transform-origin: 0 0;
pointer-events: none;
}
.p-virtualscroller-loader {
position: sticky;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: dt('virtualscroller.loader.mask.background');
color: dt('virtualscroller.loader.mask.color');
}
.p-virtualscroller-loader-mask {
display: flex;
align-items: center;
justify-content: center;
}
.p-virtualscroller-loading-icon {
font-size: dt('virtualscroller.loader.icon.size');
width: dt('virtualscroller.loader.icon.size');
height: dt('virtualscroller.loader.icon.size');
}
.p-virtualscroller-horizontal > .p-virtualscroller-content {
display: flex;
}
.p-virtualscroller-inline .p-virtualscroller-content {
position: static;
}
`,uj={root:({instance:t})=>["p-virtualscroller",{"p-virtualscroller-inline":t.inline,"p-virtualscroller-both p-both-scroll":t.both,"p-virtualscroller-horizontal p-horizontal-scroll":t.horizontal}],content:"p-virtualscroller-content",spacer:"p-virtualscroller-spacer",loader:({instance:t})=>["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!t.loaderTemplate}],loadingIcon:"p-virtualscroller-loading-icon"},R2=(()=>{class t extends Me{name="virtualscroller";css=dj;classes=uj;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var P2=new z("SCROLLER_INSTANCE"),Ou=(()=>{class t extends ut{zone;componentName="virtualScroller";bindDirectiveInstance=x(te,{self:!0});$pcScroller=x(P2,{optional:!0,skipSelf:!0})??void 0;hostName="";get id(){return this._id}set id(e){this._id=e}get style(){return this._style}set style(e){this._style=e}get styleClass(){return this._styleClass}set styleClass(e){this._styleClass=e}get tabindex(){return this._tabindex}set tabindex(e){this._tabindex=e}get items(){return this._items}set items(e){this._items=e}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e}get scrollHeight(){return this._scrollHeight}set scrollHeight(e){this._scrollHeight=e}get scrollWidth(){return this._scrollWidth}set scrollWidth(e){this._scrollWidth=e}get orientation(){return this._orientation}set orientation(e){this._orientation=e}get step(){return this._step}set step(e){this._step=e}get delay(){return this._delay}set delay(e){this._delay=e}get resizeDelay(){return this._resizeDelay}set resizeDelay(e){this._resizeDelay=e}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=e}get inline(){return this._inline}set inline(e){this._inline=e}get lazy(){return this._lazy}set lazy(e){this._lazy=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(e){this._loaderDisabled=e}get columns(){return this._columns}set columns(e){this._columns=e}get showSpacer(){return this._showSpacer}set showSpacer(e){this._showSpacer=e}get showLoader(){return this._showLoader}set showLoader(e){this._showLoader=e}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(e){this._numToleratedItems=e}get loading(){return this._loading}set loading(e){this._loading=e}get autoSize(){return this._autoSize}set autoSize(e){this._autoSize=e}get trackBy(){return this._trackBy}set trackBy(e){this._trackBy=e}get options(){return this._options}set options(e){this._options=e,e&&typeof e=="object"&&(Object.entries(e).forEach(([i,r])=>this[`_${i}`]!==r&&(this[`_${i}`]=r)),Object.entries(e).forEach(([i,r])=>this[`${i}`]!==r&&(this[`${i}`]=r)))}onLazyLoad=new H;onScroll=new H;onScrollIndexChange=new H;elementViewChild;contentViewChild;height;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;templates;_contentTemplate;_itemTemplate;_loaderTemplate;_loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;_contentStyleClass;get contentStyleClass(){return this._contentStyleClass}set contentStyleClass(e){this._contentStyleClass=e}get vertical(){return this._orientation==="vertical"}get horizontal(){return this._orientation==="horizontal"}get both(){return this._orientation==="both"}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(e=>this._columns?e:Array.isArray(e)?e.slice(this._appendOnly?0:this.first.cols,this.last.cols):e):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}_componentStyle=x(R2);constructor(e){super(),this.zone=e}onInit(){this.setInitialState()}onChanges(e){let i=!1;if(this.scrollHeight=="100%"&&(this.height="100%"),e.loading){let{previousValue:r,currentValue:o}=e.loading;this.lazy&&r!==o&&o!==this.d_loading&&(this.d_loading=o,i=!0)}if(e.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),e.numToleratedItems){let{previousValue:r,currentValue:o}=e.numToleratedItems;r!==o&&o!==this.d_numToleratedItems&&(this.d_numToleratedItems=o)}if(e.options){let{previousValue:r,currentValue:o}=e.options;this.lazy&&r?.loading!==o?.loading&&o?.loading!==this.d_loading&&(this.d_loading=o.loading,i=!0),r?.numToleratedItems!==o?.numToleratedItems&&o?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=o.numToleratedItems)}this.initialized&&!i&&(e.items?.previousValue?.length!==e.items?.currentValue?.length||e.itemSize||e.scrollHeight||e.scrollWidth)&&(this.init(),this.calculateAutoSize())}onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"item":this._itemTemplate=e.template;break;case"loader":this._loaderTemplate=e.template;break;case"loadericon":this._loaderIconTemplate=e.template;break;default:this._itemTemplate=e.template;break}})}onAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host")),this.initialized||this.viewInit()}onDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){kn(this.platformId)&&!this.initialized&&Iv(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=jr(this.elementViewChild?.nativeElement),this.defaultHeight=Vr(this.elementViewChild?.nativeElement),this.defaultContentWidth=jr(this.contentEl),this.defaultContentHeight=Vr(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.bindResizeListener(),setTimeout(()=>{this.setSpacerSize(),this.setSize(),this.calculateOptions(),this.cd.detectChanges()},1))}setContentEl(e){this.contentEl=e||this.contentViewChild?.nativeElement||wt(this.elementViewChild?.nativeElement,".p-virtualscroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,(this.d_loading===void 0||this.d_loading===!1)&&(this.d_loading=this._loading||!1),this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=this.loaderArr.length>0?this.loaderArr:[]}getElementRef(){return this.elementViewChild}getPageByFirst(e){return Math.floor(((e??this.first)+this.d_numToleratedItems*4)/(this._step||1))}isPageChanged(e){return this._step?this.page!==this.getPageByFirst(e??this.first):!0}scrollTo(e){this.elementViewChild?.nativeElement?.scrollTo(e)}scrollToIndex(e,i="auto"){if(this.both?e.every(o=>o>-1):e>-1){let o=this.first,{scrollTop:s=0,scrollLeft:a=0}=this.elementViewChild?.nativeElement,{numToleratedItems:l}=this.calculateNumItems(),c=this.getContentPosition(),d=this.itemSize,u=(w=0,D)=>w<=D?0:w,p=(w,D,P)=>w*D+P,f=(w=0,D=0)=>this.scrollTo({left:w,top:D,behavior:i}),y=this.both?{rows:0,cols:0}:0,b=!1,v=!1;this.both?(y={rows:u(e[0],l[0]),cols:u(e[1],l[1])},f(p(y.cols,d[1],c.left),p(y.rows,d[0],c.top)),v=this.lastScrollPos.top!==s||this.lastScrollPos.left!==a,b=y.rows!==o.rows||y.cols!==o.cols):(y=u(e,l),this.horizontal?f(p(y,d,c.left),s):f(a,p(y,d,c.top)),v=this.lastScrollPos!==(this.horizontal?a:s),b=y!==o),this.isRangeChanged=b,v&&(this.first=y)}}scrollInView(e,i,r="auto"){if(i){let{first:o,viewport:s}=this.getRenderedRange(),a=(d=0,u=0)=>this.scrollTo({left:d,top:u,behavior:r}),l=i==="to-start",c=i==="to-end";if(l){if(this.both)s.first.rows-o.rows>e[0]?a(s.first.cols*this._itemSize[1],(s.first.rows-1)*this._itemSize[0]):s.first.cols-o.cols>e[1]&&a((s.first.cols-1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.first-o>e){let d=(s.first-1)*this._itemSize;this.horizontal?a(d,0):a(0,d)}}else if(c){if(this.both)s.last.rows-o.rows<=e[0]+1?a(s.first.cols*this._itemSize[1],(s.first.rows+1)*this._itemSize[0]):s.last.cols-o.cols<=e[1]+1&&a((s.first.cols+1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.last-o<=e+1){let d=(s.first+1)*this._itemSize;this.horizontal?a(d,0):a(0,d)}}}else this.scrollToIndex(e,r)}getRenderedRange(){let e=(o,s)=>s||o?Math.floor(o/(s||o)):0,i=this.first,r=0;if(this.elementViewChild?.nativeElement){let{scrollTop:o,scrollLeft:s}=this.elementViewChild.nativeElement;if(this.both)i={rows:e(o,this._itemSize[0]),cols:e(s,this._itemSize[1])},r={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols};else{let a=this.horizontal?s:o;i=e(a,this._itemSize),r=i+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:i,last:r}}}calculateNumItems(){let e=this.getContentPosition(),i=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-e.left:0)||0,r=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-e.top:0)||0,o=(c,d)=>d||c?Math.ceil(c/(d||c)):0,s=c=>Math.ceil(c/2),a=this.both?{rows:o(r,this._itemSize[0]),cols:o(i,this._itemSize[1])}:o(this.horizontal?i:r,this._itemSize),l=this.d_numToleratedItems||(this.both?[s(a.rows),s(a.cols)]:s(a));return{numItemsInViewport:a,numToleratedItems:l}}calculateOptions(){let{numItemsInViewport:e,numToleratedItems:i}=this.calculateNumItems(),r=(a,l,c,d=!1)=>this.getLast(a+l+(a<c?2:3)*c,d),o=this.first,s=this.both?{rows:r(this.first.rows,e.rows,i[0]),cols:r(this.first.cols,e.cols,i[1],!0)}:r(this.first,e,i);this.last=s,this.numItemsInViewport=e,this.d_numToleratedItems=i,this._showLoader&&(this.loaderArr=this.both?Array.from({length:e.rows}).map(()=>Array.from({length:e.cols})):Array.from({length:e})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:o.cols}:0:o,last:Math.min(this._step?this._step:this.last,this._items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";let[e,i]=[jr(this.contentEl),Vr(this.contentEl)];e!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");let[r,o]=[jr(this.elementViewChild.nativeElement),Vr(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=r<this.defaultWidth?r+"px":this._scrollWidth||this.defaultWidth+"px"),(this.both||this.vertical)&&(this.elementViewChild.nativeElement.style.height=o<this.defaultHeight?o+"px":this._scrollHeight||this.defaultHeight+"px"),this.contentEl.style.minHeight=this.contentEl.style.minWidth="",this.contentEl.style.position="",this.elementViewChild.nativeElement.style.contain=""}})}getLast(e=0,i=!1){return this._items?Math.min(i?(this._columns||this._items[0]).length:this._items.length,e):0}getContentPosition(){if(this.contentEl){let e=getComputedStyle(this.contentEl),i=parseFloat(e.paddingLeft)+Math.max(parseFloat(e.left)||0,0),r=parseFloat(e.paddingRight)+Math.max(parseFloat(e.right)||0,0),o=parseFloat(e.paddingTop)+Math.max(parseFloat(e.top)||0,0),s=parseFloat(e.paddingBottom)+Math.max(parseFloat(e.bottom)||0,0);return{left:i,right:r,top:o,bottom:s,x:i+r,y:o+s}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}setSize(){if(this.elementViewChild?.nativeElement){let e=this.elementViewChild.nativeElement,i=e.parentElement?.parentElement,r=e.offsetWidth,o=i?.offsetWidth||0,s=this._scrollWidth||`${r||o}px`,a=e.offsetHeight,l=i?.offsetHeight||0,c=this._scrollHeight||`${a||l}px`,d=(u,p)=>e.style[u]=p;this.both||this.horizontal?(d("height",c),d("width",s)):d("height",c)}}setSpacerSize(){if(this._items){let e=this.getContentPosition(),i=(r,o,s,a=0)=>this.spacerStyle=A(_({},this.spacerStyle),{[`${r}`]:(o||[]).length*s+a+"px"});this.both?(i("height",this._items,this._itemSize[0],e.y),i("width",this._columns||this._items[1],this._itemSize[1],e.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,e.x):i("height",this._items,this._itemSize,e.y)}}setContentPosition(e){if(this.contentEl&&!this._appendOnly){let i=e?e.first:this.first,r=(s,a)=>s*a,o=(s=0,a=0)=>this.contentStyle=A(_({},this.contentStyle),{transform:`translate3d(${s}px, ${a}px, 0)`});if(this.both)o(r(i.cols,this._itemSize[1]),r(i.rows,this._itemSize[0]));else{let s=r(i,this._itemSize);this.horizontal?o(s,0):o(0,s)}}}onScrollPositionChange(e){let i=e.target;if(!i)throw new Error("Event target is null");let r=this.getContentPosition(),o=(v,w)=>v?v>w?v-w:v:0,s=(v,w)=>w||v?Math.floor(v/(w||v)):0,a=(v,w,D,P,B,Y)=>v<=B?B:Y?D-P-B:w+B-1,l=(v,w,D,P,B,Y,ge)=>v<=Y?0:Math.max(0,ge?v<w?D:v-Y:v>w?D:v-2*Y),c=(v,w,D,P,B,Y=!1)=>{let ge=w+P+2*B;return v>=B&&(ge+=B+1),this.getLast(ge,Y)},d=o(i.scrollTop,r.top),u=o(i.scrollLeft,r.left),p=this.both?{rows:0,cols:0}:0,f=this.last,y=!1,b=this.lastScrollPos;if(this.both){let v=this.lastScrollPos.top<=d,w=this.lastScrollPos.left<=u;if(!this._appendOnly||this._appendOnly&&(v||w)){let D={rows:s(d,this._itemSize[0]),cols:s(u,this._itemSize[1])},P={rows:a(D.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],v),cols:a(D.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],w)};p={rows:l(D.rows,P.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],v),cols:l(D.cols,P.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],w)},f={rows:c(D.rows,p.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:c(D.cols,p.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},y=p.rows!==this.first.rows||f.rows!==this.last.rows||p.cols!==this.first.cols||f.cols!==this.last.cols||this.isRangeChanged,b={top:d,left:u}}}else{let v=this.horizontal?u:d,w=this.lastScrollPos<=v;if(!this._appendOnly||this._appendOnly&&w){let D=s(v,this._itemSize),P=a(D,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,w);p=l(D,P,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,w),f=c(D,p,this.last,this.numItemsInViewport,this.d_numToleratedItems),y=p!==this.first||f!==this.last||this.isRangeChanged,b=v}}return{first:p,last:f,isRangeChanged:y,scrollPos:b}}onScrollChange(e){let{first:i,last:r,isRangeChanged:o,scrollPos:s}=this.onScrollPositionChange(e);if(o){let a={first:i,last:r};if(this.setContentPosition(a),this.first=i,this.last=r,this.lastScrollPos=s,this.handleEvents("onScrollIndexChange",a),this._lazy&&this.isPageChanged(i)){let l={first:this._step?Math.min(this.getPageByFirst(i)*this._step,this._items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst(i)+1)*this._step:r,this._items.length)};(this.lazyLoadState.first!==l.first||this.lazyLoadState.last!==l.last)&&this.handleEvents("onLazyLoad",l),this.lazyLoadState=l}}}onContainerScroll(e){if(this.handleEvents("onScroll",{originalEvent:e}),this._delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this._showLoader){let{isRangeChanged:i}=this.onScrollPositionChange(e);(i||this._step&&this.isPageChanged())&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(e),this.d_loading&&this._showLoader&&(!this._lazy||this._loading===void 0)&&(this.d_loading=!1,this.page=this.getPageByFirst()),this.cd.detectChanges()},this._delay)}else!this.d_loading&&this.onScrollChange(e)}bindResizeListener(){kn(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{let e=this.document.defaultView,i=yo()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(e,i,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(Iv(this.elementViewChild?.nativeElement)){let[e,i]=[jr(this.elementViewChild?.nativeElement),Vr(this.elementViewChild?.nativeElement)],[r,o]=[e!==this.defaultWidth,i!==this.defaultHeight];(this.both?r||o:this.horizontal?r:this.vertical&&o)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=e,this.defaultHeight=i,this.defaultContentWidth=jr(this.contentEl),this.defaultContentHeight=Vr(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(e,i){return this.options&&this.options[e]?this.options[e](i):this[e].emit(i)}getContentOptions(){return{contentStyleClass:`p-virtualscroller-content ${this.d_loading?"p-virtualscroller-loading":""}`,items:this.loadedItems,getItemOptions:e=>this.getOptions(e),loading:this.d_loading,getLoaderOptions:(e,i)=>this.getLoaderOptions(e,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both,scrollTo:this.scrollTo.bind(this),scrollToIndex:this.scrollToIndex.bind(this),orientation:this._orientation,scrollableElement:this.elementViewChild?.nativeElement}}getOptions(e){let i=(this._items||[]).length,r=this.both?this.first.rows+e:this.first+e;return{index:r,count:i,first:r===0,last:r===i-1,even:r%2===0,odd:r%2!==0}}getLoaderOptions(e,i){let r=this.loaderArr.length;return _({index:e,count:r,first:e===0,last:e===r-1,even:e%2===0,odd:e%2!==0,loading:this.d_loading},i)}static \u0275fac=function(i){return new(i||t)(me($e))};static \u0275cmp=$({type:t,selectors:[["p-scroller"],["p-virtualscroller"],["p-virtual-scroller"],["p-virtualScroller"]],contentQueries:function(i,r,o){if(i&1&&(V(o,O2,4),V(o,B9,4),V(o,V9,4),V(o,j9,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.contentTemplate=s.first),M(s=O())&&(r.itemTemplate=s.first),M(s=O())&&(r.loaderTemplate=s.first),M(s=O())&&(r.loaderIconTemplate=s.first),M(s=O())&&(r.templates=s)}},viewQuery:function(i,r){if(i&1&&(ct(z9,5),ct(O2,5)),i&2){let o;M(o=O())&&(r.elementViewChild=o.first),M(o=O())&&(r.contentViewChild=o.first)}},hostVars:2,hostBindings:function(i,r){i&2&&Jn("height",r.height)},inputs:{hostName:"hostName",id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[Se([R2,{provide:P2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],ngContentSelectors:H9,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","pBind"],[3,"class","ngStyle","pBind",4,"ngIf"],[3,"class","pBind",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"pBind"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle","pBind"],[4,"ngFor","ngForOf"],["data-p-icon","spinner",3,"spin","pBind"],[4,"ngIf"]],template:function(i,r){if(i&1&&(zt(),C(0,sj,8,10,"ng-container",6)(1,cj,2,1,"ng-template",null,0,at)),i&2){let o=pn(2);h("ngIf",!r._disabled)("ngIfElse",o)}},dependencies:[qe,Oi,Ut,kt,Xn,wo,xe,te],encapsulation:2})}return t})(),sw=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[Ou,xe,xe]})}return t})();var N2=`
.p-select {
display: inline-flex;
cursor: pointer;
position: relative;
user-select: none;
background: dt('select.background');
border: 1px solid dt('select.border.color');
transition:
background dt('select.transition.duration'),
color dt('select.transition.duration'),
border-color dt('select.transition.duration'),
outline-color dt('select.transition.duration'),
box-shadow dt('select.transition.duration');
border-radius: dt('select.border.radius');
outline-color: transparent;
box-shadow: dt('select.shadow');
}
.p-select:not(.p-disabled):hover {
border-color: dt('select.hover.border.color');
}
.p-select:not(.p-disabled).p-focus {
border-color: dt('select.focus.border.color');
box-shadow: dt('select.focus.ring.shadow');
outline: dt('select.focus.ring.width') dt('select.focus.ring.style') dt('select.focus.ring.color');
outline-offset: dt('select.focus.ring.offset');
}
.p-select.p-variant-filled {
background: dt('select.filled.background');
}
.p-select.p-variant-filled:not(.p-disabled):hover {
background: dt('select.filled.hover.background');
}
.p-select.p-variant-filled:not(.p-disabled).p-focus {
background: dt('select.filled.focus.background');
}
.p-select.p-invalid {
border-color: dt('select.invalid.border.color');
}
.p-select.p-disabled {
opacity: 1;
background: dt('select.disabled.background');
}
.p-select-clear-icon {
align-self: center;
color: dt('select.clear.icon.color');
inset-inline-end: dt('select.dropdown.width');
}
.p-select-dropdown {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
background: transparent;
color: dt('select.dropdown.color');
width: dt('select.dropdown.width');
border-start-end-radius: dt('select.border.radius');
border-end-end-radius: dt('select.border.radius');
}
.p-select-label {
display: block;
white-space: nowrap;
overflow: hidden;
flex: 1 1 auto;
width: 1%;
padding: dt('select.padding.y') dt('select.padding.x');
text-overflow: ellipsis;
cursor: pointer;
color: dt('select.color');
background: transparent;
border: 0 none;
outline: 0 none;
font-size: 1rem;
}
.p-select-label.p-placeholder {
color: dt('select.placeholder.color');
}
.p-select.p-invalid .p-select-label.p-placeholder {
color: dt('select.invalid.placeholder.color');
}
.p-select.p-disabled .p-select-label {
color: dt('select.disabled.color');
}
.p-select-label-empty {
overflow: hidden;
opacity: 0;
}
input.p-select-label {
cursor: default;
}
.p-select-overlay {
position: absolute;
top: 0;
left: 0;
background: dt('select.overlay.background');
color: dt('select.overlay.color');
border: 1px solid dt('select.overlay.border.color');
border-radius: dt('select.overlay.border.radius');
box-shadow: dt('select.overlay.shadow');
min-width: 100%;
}
.p-select-header {
padding: dt('select.list.header.padding');
}
.p-select-filter {
width: 100%;
}
.p-select-list-container {
overflow: auto;
}
.p-select-option-group {
cursor: auto;
margin: 0;
padding: dt('select.option.group.padding');
background: dt('select.option.group.background');
color: dt('select.option.group.color');
font-weight: dt('select.option.group.font.weight');
}
.p-select-list {
margin: 0;
padding: 0;
list-style-type: none;
padding: dt('select.list.padding');
gap: dt('select.list.gap');
display: flex;
flex-direction: column;
}
.p-select-option {
cursor: pointer;
font-weight: normal;
white-space: nowrap;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
padding: dt('select.option.padding');
border: 0 none;
color: dt('select.option.color');
background: transparent;
transition:
background dt('select.transition.duration'),
color dt('select.transition.duration'),
border-color dt('select.transition.duration'),
box-shadow dt('select.transition.duration'),
outline-color dt('select.transition.duration');
border-radius: dt('select.option.border.radius');
}
.p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus {
background: dt('select.option.focus.background');
color: dt('select.option.focus.color');
}
.p-select-option.p-select-option-selected {
background: dt('select.option.selected.background');
color: dt('select.option.selected.color');
}
.p-select-option.p-select-option-selected.p-focus {
background: dt('select.option.selected.focus.background');
color: dt('select.option.selected.focus.color');
}
.p-select-option-blank-icon {
flex-shrink: 0;
}
.p-select-option-check-icon {
position: relative;
flex-shrink: 0;
margin-inline-start: dt('select.checkmark.gutter.start');
margin-inline-end: dt('select.checkmark.gutter.end');
color: dt('select.checkmark.color');
}
.p-select-empty-message {
padding: dt('select.empty.message.padding');
}
.p-select-fluid {
display: flex;
width: 100%;
}
.p-select-sm .p-select-label {
font-size: dt('select.sm.font.size');
padding-block: dt('select.sm.padding.y');
padding-inline: dt('select.sm.padding.x');
}
.p-select-sm .p-select-dropdown .p-icon {
font-size: dt('select.sm.font.size');
width: dt('select.sm.font.size');
height: dt('select.sm.font.size');
}
.p-select-lg .p-select-label {
font-size: dt('select.lg.font.size');
padding-block: dt('select.lg.padding.y');
padding-inline: dt('select.lg.padding.x');
}
.p-select-lg .p-select-dropdown .p-icon {
font-size: dt('select.lg.font.size');
width: dt('select.lg.font.size');
height: dt('select.lg.font.size');
}
.p-floatlabel-in .p-select-filter {
padding-block-start: dt('select.padding.y');
padding-block-end: dt('select.padding.y');
}
`;var Ru=t=>({height:t}),aw=t=>({$implicit:t});function fj(t,n){if(t&1&&(G(),ee(0,"svg",6)),t&2){let e=m(2);k(e.cx("optionCheckIcon")),h("pBind",e.$pcSelect==null?null:e.$pcSelect.ptm("optionCheckIcon"))}}function hj(t,n){if(t&1&&(G(),ee(0,"svg",7)),t&2){let e=m(2);k(e.cx("optionBlankIcon")),h("pBind",e.$pcSelect==null?null:e.$pcSelect.ptm("optionBlankIcon"))}}function mj(t,n){if(t&1&&(re(0),C(1,fj,1,3,"svg",4)(2,hj,1,3,"svg",5),oe()),t&2){let e=m();g(),h("ngIf",e.selected),g(),h("ngIf",!e.selected)}}function gj(t,n){if(t&1&&(I(0,"span",8),ce(1),T()),t&2){let e=m();h("pBind",e.$pcSelect==null?null:e.$pcSelect.ptm("optionLabel")),g(),Xe(e.label??"empty")}}function yj(t,n){t&1&&ne(0)}var bj=["item"],vj=["group"],_j=["loader"],wj=["selectedItem"],Cj=["header"],F2=["filter"],xj=["footer"],Tj=["emptyfilter"],Ej=["empty"],Sj=["dropdownicon"],Ij=["loadingicon"],Dj=["clearicon"],kj=["filtericon"],Mj=["onicon"],Oj=["officon"],Rj=["cancelicon"],Pj=["focusInput"],Aj=["editableInput"],Nj=["items"],Fj=["scroller"],Lj=["overlay"],Bj=["firstHiddenFocusableEl"],Vj=["lastHiddenFocusableEl"],L2=t=>({class:t}),B2=t=>({options:t}),V2=(t,n)=>({$implicit:t,options:n}),jj=()=>({});function zj(t,n){if(t&1&&(re(0),ce(1),oe()),t&2){let e=m(2);g(),Xe(e.label()==="p-emptylabel"?"\xA0":e.label())}}function Hj(t,n){if(t&1&&ne(0,24),t&2){let e=m(2);h("ngTemplateOutlet",e.selectedItemTemplate||e._selectedItemTemplate)("ngTemplateOutletContext",Te(2,aw,e.selectedOption))}}function $j(t,n){if(t&1&&(I(0,"span"),ce(1),T()),t&2){let e=m(3);g(),Xe(e.label()==="p-emptylabel"?"\xA0":e.label())}}function Uj(t,n){if(t&1&&C(0,$j,2,1,"span",18),t&2){let e=m(2);h("ngIf",e.isSelectedOptionEmpty())}}function Wj(t,n){if(t&1){let e=se();I(0,"span",22,3),K("focus",function(r){E(e);let o=m();return S(o.onInputFocus(r))})("blur",function(r){E(e);let o=m();return S(o.onInputBlur(r))})("keydown",function(r){E(e);let o=m();return S(o.onKeyDown(r))}),C(2,zj,2,1,"ng-container",20)(3,Hj,1,4,"ng-container",23)(4,Uj,1,1,"ng-template",null,4,at),T()}if(t&2){let e=pn(5),i=m();k(i.cx("label")),h("pBind",i.ptm("label"))("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass)("pAutoFocus",i.autofocus),J("aria-disabled",i.$disabled())("id",i.inputId)("aria-label",i.ariaLabel||(i.label()==="p-emptylabel"?void 0:i.label()))("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",i.overlayVisible??!1)("aria-controls",i.overlayVisible?i.id+"_list":null)("tabindex",i.$disabled()?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0)("aria-required",i.required())("required",i.required()?"":void 0)("disabled",i.$disabled()?"":void 0),g(2),h("ngIf",!i.selectedItemTemplate&&!i._selectedItemTemplate)("ngIfElse",e),g(),h("ngIf",(i.selectedItemTemplate||i._selectedItemTemplate)&&!i.isSelectedOptionEmpty())}}function Gj(t,n){if(t&1){let e=se();I(0,"input",25,5),K("input",function(r){E(e);let o=m();return S(o.onEditableInput(r))})("keydown",function(r){E(e);let o=m();return S(o.onKeyDown(r))})("focus",function(r){E(e);let o=m();return S(o.onInputFocus(r))})("blur",function(r){E(e);let o=m();return S(o.onInputBlur(r))}),T()}if(t&2){let e=m();k(e.cx("label")),h("pBind",e.ptm("label"))("pAutoFocus",e.autofocus),J("id",e.inputId)("aria-haspopup","listbox")("placeholder",e.modelValue()===void 0||e.modelValue()===null?e.placeholder():void 0)("aria-label",e.ariaLabel||(e.label()==="p-emptylabel"?void 0:e.label()))("aria-activedescendant",e.focused?e.focusedOptionId:void 0)("name",e.name())("minlength",e.minlength())("min",e.min())("max",e.max())("pattern",e.pattern())("size",e.inputSize())("maxlength",e.maxlength())("required",e.required()?"":void 0)("readonly",e.readonly?"":void 0)("disabled",e.$disabled()?"":void 0)}}function qj(t,n){if(t&1){let e=se();G(),I(0,"svg",28),K("click",function(r){E(e);let o=m(2);return S(o.clear(r))}),T()}if(t&2){let e=m(2);k(e.cx("clearIcon")),h("pBind",e.ptm("clearIcon")),J("data-pc-section","clearicon")}}function Qj(t,n){}function Kj(t,n){t&1&&C(0,Qj,0,0,"ng-template")}function Yj(t,n){if(t&1){let e=se();I(0,"span",29),K("click",function(r){E(e);let o=m(2);return S(o.clear(r))}),C(1,Kj,1,0,null,30),T()}if(t&2){let e=m(2);k(e.cx("clearIcon")),h("pBind",e.ptm("clearIcon")),J("data-pc-section","clearicon"),g(),h("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)("ngTemplateOutletContext",Te(6,L2,e.cx("clearIcon")))}}function Zj(t,n){if(t&1&&(re(0),C(1,qj,1,4,"svg",26)(2,Yj,2,8,"span",27),oe()),t&2){let e=m();g(),h("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),g(),h("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function Jj(t,n){t&1&&ne(0)}function Xj(t,n){if(t&1&&(re(0),C(1,Jj,1,0,"ng-container",31),oe()),t&2){let e=m(2);g(),h("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function ez(t,n){if(t&1&&ee(0,"span",33),t&2){let e=m(3);k(e.cn(e.cx("loadingIcon"),"pi-spin"+e.loadingIcon)),h("pBind",e.ptm("loadingIcon"))}}function tz(t,n){if(t&1&&ee(0,"span",33),t&2){let e=m(3);k(e.cn(e.cx("loadingIcon"),"pi pi-spinner pi-spin")),h("pBind",e.ptm("loadingIcon"))}}function nz(t,n){if(t&1&&(re(0),C(1,ez,1,3,"span",32)(2,tz,1,3,"span",32),oe()),t&2){let e=m(2);g(),h("ngIf",e.loadingIcon),g(),h("ngIf",!e.loadingIcon)}}function iz(t,n){if(t&1&&(re(0),C(1,Xj,2,1,"ng-container",18)(2,nz,3,2,"ng-container",18),oe()),t&2){let e=m();g(),h("ngIf",e.loadingIconTemplate||e._loadingIconTemplate),g(),h("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate)}}function rz(t,n){if(t&1&&ee(0,"span",36),t&2){let e=m(3);k(e.cn(e.cx("dropdownIcon"),e.dropdownIcon)),h("pBind",e.ptm("dropdownIcon"))}}function oz(t,n){if(t&1&&(G(),ee(0,"svg",37)),t&2){let e=m(3);k(e.cx("dropdownIcon")),h("pBind",e.ptm("dropdownIcon"))}}function sz(t,n){if(t&1&&(re(0),C(1,rz,1,3,"span",34)(2,oz,1,3,"svg",35),oe()),t&2){let e=m(2);g(),h("ngIf",e.dropdownIcon),g(),h("ngIf",!e.dropdownIcon)}}function az(t,n){}function lz(t,n){t&1&&C(0,az,0,0,"ng-template")}function cz(t,n){if(t&1&&(I(0,"span",36),C(1,lz,1,0,null,30),T()),t&2){let e=m(2);k(e.cx("dropdownIcon")),h("pBind",e.ptm("dropdownIcon")),g(),h("ngTemplateOutlet",e.dropdownIconTemplate||e._dropdownIconTemplate)("ngTemplateOutletContext",Te(5,L2,e.cx("dropdownIcon")))}}function dz(t,n){if(t&1&&C(0,sz,3,2,"ng-container",18)(1,cz,2,7,"span",34),t&2){let e=m();h("ngIf",!e.dropdownIconTemplate&&!e._dropdownIconTemplate),g(),h("ngIf",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function uz(t,n){t&1&&ne(0)}function pz(t,n){t&1&&ne(0)}function fz(t,n){if(t&1&&(re(0),C(1,pz,1,0,"ng-container",30),oe()),t&2){let e=m(3);g(),h("ngTemplateOutlet",e.filterTemplate||e._filterTemplate)("ngTemplateOutletContext",Te(2,B2,e.filterOptions))}}function hz(t,n){if(t&1&&(G(),ee(0,"svg",45)),t&2){let e=m(4);h("pBind",e.ptm("filterIcon"))}}function mz(t,n){}function gz(t,n){t&1&&C(0,mz,0,0,"ng-template")}function yz(t,n){if(t&1&&(I(0,"span",36),C(1,gz,1,0,null,31),T()),t&2){let e=m(4);h("pBind",e.ptm("filterIcon")),g(),h("ngTemplateOutlet",e.filterIconTemplate||e._filterIconTemplate)}}function bz(t,n){if(t&1){let e=se();I(0,"p-iconfield",41)(1,"input",42,10),K("input",function(r){E(e);let o=m(3);return S(o.onFilterInputChange(r))})("keydown",function(r){E(e);let o=m(3);return S(o.onFilterKeyDown(r))})("blur",function(r){E(e);let o=m(3);return S(o.onFilterBlur(r))}),T(),I(3,"p-inputicon",41),C(4,hz,1,1,"svg",43)(5,yz,2,2,"span",44),T()()}if(t&2){let e=m(3);h("pt",e.ptm("pcFilterContainer")),g(),k(e.cx("pcFilter")),h("pSize",e.size())("value",e._filterValue()||"")("variant",e.$variant())("pt",e.ptm("pcFilter")),J("placeholder",e.filterPlaceholder)("aria-owns",e.id+"_list")("aria-label",e.ariaFilterLabel)("aria-activedescendant",e.focusedOptionId),g(2),h("pt",e.ptm("pcFilterIconContainer")),g(),h("ngIf",!e.filterIconTemplate&&!e._filterIconTemplate),g(),h("ngIf",e.filterIconTemplate||e._filterIconTemplate)}}function vz(t,n){if(t&1){let e=se();I(0,"div",29),K("click",function(r){return E(e),S(r.stopPropagation())}),C(1,fz,2,4,"ng-container",20)(2,bz,6,14,"ng-template",null,9,at),T()}if(t&2){let e=pn(3),i=m(2);k(i.cx("header")),h("pBind",i.ptm("header")),g(),h("ngIf",i.filterTemplate||i._filterTemplate)("ngIfElse",e)}}function _z(t,n){t&1&&ne(0)}function wz(t,n){if(t&1&&C(0,_z,1,0,"ng-container",30),t&2){let e=n.$implicit,i=n.options;m(2);let r=pn(9);h("ngTemplateOutlet",r)("ngTemplateOutletContext",Dt(2,V2,e,i))}}function Cz(t,n){t&1&&ne(0)}function xz(t,n){if(t&1&&C(0,Cz,1,0,"ng-container",30),t&2){let e=n.options,i=m(4);h("ngTemplateOutlet",i.loaderTemplate||i._loaderTemplate)("ngTemplateOutletContext",Te(2,B2,e))}}function Tz(t,n){t&1&&(re(0),C(1,xz,1,4,"ng-template",null,12,at),oe())}function Ez(t,n){if(t&1){let e=se();I(0,"p-scroller",46,11),K("onLazyLoad",function(r){E(e);let o=m(2);return S(o.onLazyLoad.emit(r))}),C(2,wz,1,5,"ng-template",null,2,at)(4,Tz,3,0,"ng-container",18),T()}if(t&2){let e=m(2);Dn(Te(9,Ru,e.scrollHeight)),h("items",e.visibleOptions())("itemSize",e.virtualScrollItemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions)("pt",e.ptm("virtualScroller")),g(4),h("ngIf",e.loaderTemplate||e._loaderTemplate)}}function Sz(t,n){t&1&&ne(0)}function Iz(t,n){if(t&1&&(re(0),C(1,Sz,1,0,"ng-container",30),oe()),t&2){m();let e=pn(9),i=m();g(),h("ngTemplateOutlet",e)("ngTemplateOutletContext",Dt(3,V2,i.visibleOptions(),Rr(2,jj)))}}function Dz(t,n){if(t&1&&(I(0,"span",36),ce(1),T()),t&2){let e=m(2).$implicit,i=m(3);k(i.cx("optionGroupLabel")),h("pBind",i.ptm("optionGroupLabel")),g(),Xe(i.getOptionGroupLabel(e.optionGroup))}}function kz(t,n){t&1&&ne(0)}function Mz(t,n){if(t&1&&(re(0),I(1,"li",50),C(2,Dz,2,4,"span",34)(3,kz,1,0,"ng-container",30),T(),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m().options,s=m(2);g(),k(s.cx("optionGroup")),h("ngStyle",Te(8,Ru,o.itemSize+"px"))("pBind",s.ptm("optionGroup")),J("id",s.id+"_"+s.getOptionIndex(r,o)),g(),h("ngIf",!s.groupTemplate&&!s._groupTemplate),g(),h("ngTemplateOutlet",s.groupTemplate||s._groupTemplate)("ngTemplateOutletContext",Te(10,aw,i.optionGroup))}}function Oz(t,n){if(t&1){let e=se();re(0),I(1,"p-selectItem",51),K("onClick",function(r){E(e);let o=m().$implicit,s=m(3);return S(s.onOptionSelect(r,o))})("onMouseEnter",function(r){E(e);let o=m().index,s=m().options,a=m(2);return S(a.onOptionMouseEnter(r,a.getOptionIndex(o,s)))}),T(),oe()}if(t&2){let e=m(),i=e.$implicit,r=e.index,o=m().options,s=m(2);g(),h("id",s.id+"_"+s.getOptionIndex(r,o))("option",i)("checkmark",s.checkmark)("selected",s.isSelected(i))("label",s.getOptionLabel(i))("disabled",s.isOptionDisabled(i))("template",s.itemTemplate||s._itemTemplate)("focused",s.focusedOptionIndex()===s.getOptionIndex(r,o))("ariaPosInset",s.getAriaPosInset(s.getOptionIndex(r,o)))("ariaSetSize",s.ariaSetSize)("index",r)("scrollerOptions",o)}}function Rz(t,n){if(t&1&&C(0,Mz,4,12,"ng-container",18)(1,Oz,2,12,"ng-container",18),t&2){let e=n.$implicit,i=m(3);h("ngIf",i.isOptionGroup(e)),g(),h("ngIf",!i.isOptionGroup(e))}}function Pz(t,n){if(t&1&&ce(0),t&2){let e=m(4);$t(" ",e.emptyFilterMessageLabel," ")}}function Az(t,n){t&1&&ne(0,null,14)}function Nz(t,n){if(t&1&&C(0,Az,2,0,"ng-container",31),t&2){let e=m(4);h("ngTemplateOutlet",e.emptyFilterTemplate||e._emptyFilterTemplate||e.emptyTemplate||e._emptyTemplate)}}function Fz(t,n){if(t&1&&(I(0,"li",50),ot(1,Pz,1,1)(2,Nz,1,1,"ng-container"),T()),t&2){let e=m().options,i=m(2);k(i.cx("emptyMessage")),h("ngStyle",Te(5,Ru,e.itemSize+"px"))("pBind",i.ptm("emptyMessage")),g(),st(!i.emptyFilterTemplate&&!i._emptyFilterTemplate&&!i.emptyTemplate?1:2)}}function Lz(t,n){if(t&1&&ce(0),t&2){let e=m(4);$t(" ",e.emptyMessageLabel||e.emptyFilterMessageLabel," ")}}function Bz(t,n){t&1&&ne(0,null,15)}function Vz(t,n){if(t&1&&C(0,Bz,2,0,"ng-container",31),t&2){let e=m(4);h("ngTemplateOutlet",e.emptyTemplate||e._emptyTemplate)}}function jz(t,n){if(t&1&&(I(0,"li",50),ot(1,Lz,1,1)(2,Vz,1,1,"ng-container"),T()),t&2){let e=m().options,i=m(2);k(i.cx("emptyMessage")),h("ngStyle",Te(5,Ru,e.itemSize+"px"))("pBind",i.ptm("emptyMessage")),g(),st(!i.emptyTemplate&&!i._emptyTemplate?1:2)}}function zz(t,n){if(t&1&&(I(0,"ul",47,13),C(2,Rz,2,2,"ng-template",48)(3,Fz,3,7,"li",49)(4,jz,3,7,"li",49),T()),t&2){let e=n.$implicit,i=n.options,r=m(2);Dn(i.contentStyle),k(r.cn(r.cx("list"),i.contentStyleClass)),h("pBind",r.ptm("list")),J("id",r.id+"_list")("aria-label",r.listLabel),g(2),h("ngForOf",e),g(),h("ngIf",r.filterValue&&r.isEmpty()),g(),h("ngIf",!r.filterValue&&r.isEmpty())}}function Hz(t,n){t&1&&ne(0)}function $z(t,n){if(t&1){let e=se();I(0,"div",38)(1,"span",39,6),K("focus",function(r){E(e);let o=m();return S(o.onFirstHiddenFocus(r))}),T(),C(3,uz,1,0,"ng-container",31)(4,vz,4,5,"div",27),I(5,"div",36),C(6,Ez,5,11,"p-scroller",40)(7,Iz,2,6,"ng-container",18)(8,zz,5,10,"ng-template",null,7,at),T(),C(10,Hz,1,0,"ng-container",31),I(11,"span",39,8),K("focus",function(r){E(e);let o=m();return S(o.onLastHiddenFocus(r))}),T()()}if(t&2){let e=m();k(e.cn(e.cx("overlay"),e.panelStyleClass)),h("ngStyle",e.panelStyle)("pBind",e.ptm("overlay")),g(),h("pBind",e.ptm("hiddenFirstFocusableEl")),J("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),g(2),h("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),g(),h("ngIf",e.filter),g(),k(e.cx("listContainer")),Jn("max-height",e.virtualScroll?"auto":e.scrollHeight||"auto"),h("pBind",e.ptm("listContainer")),g(),h("ngIf",e.virtualScroll),g(),h("ngIf",!e.virtualScroll),g(3),h("ngTemplateOutlet",e.footerTemplate||e._footerTemplate),g(),h("pBind",e.ptm("hiddenLastFocusableEl")),J("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}var Uz=`
${N2}
/* For PrimeNG */
.p-select-label.p-placeholder {
color: dt('select.placeholder.color');
}
.p-select.ng-invalid.ng-dirty {
border-color: dt('select.invalid.border.color');
}
.p-dropdown.ng-invalid.ng-dirty .p-dropdown-label.p-placeholder,
.p-select.ng-invalid.ng-dirty .p-select-label.p-placeholder {
color: dt('select.invalid.placeholder.color');
}
`,Wz={root:({instance:t})=>["p-select p-component p-inputwrapper",{"p-disabled":t.$disabled(),"p-variant-filled":t.$variant()==="filled","p-focus":t.focused,"p-invalid":t.invalid(),"p-inputwrapper-filled":t.$filled(),"p-inputwrapper-focus":t.focused||t.overlayVisible,"p-select-open":t.overlayVisible,"p-select-fluid":t.hasFluid,"p-select-sm p-inputfield-sm":t.size()==="small","p-select-lg p-inputfield-lg":t.size()==="large"}],label:({instance:t})=>["p-select-label",{"p-placeholder":t.placeholder()&&t.label()===t.placeholder(),"p-select-label-empty":!t.editable&&!t.selectedItemTemplate&&(t.label()===void 0||t.label()===null||t.label()==="p-emptylabel"||t.label().length===0)}],clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingIcon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:({instance:t})=>["p-select-option",{"p-select-option-selected":t.selected&&!t.checkmark,"p-disabled":t.disabled,"p-focus":t.focused}],optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},Lm=(()=>{class t extends Me{name="select";style=Uz;classes=Wz;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var j2=new z("SELECT_INSTANCE"),Gz=new z("SELECT_ITEM_INSTANCE"),qz={provide:Vn,useExisting:Jt(()=>Bm),multi:!0},Qz=(()=>{class t extends ut{hostName="select";$pcSelectItem=x(Gz,{optional:!0,skipSelf:!0})??void 0;$pcSelect=x(j2,{optional:!0,skipSelf:!0})??void 0;id;option;selected;focused;label;disabled;visible;itemSize;ariaPosInset;ariaSetSize;template;checkmark;index;scrollerOptions;onClick=new H;onMouseEnter=new H;_componentStyle=x(Lm);onOptionClick(e){this.onClick.emit(e)}onOptionMouseEnter(e){this.onMouseEnter.emit(e)}getPTOptions(){return this.$pcSelect?.getPTItemOptions?.(this.option,this.scrollerOptions,this.index??0,"option")??this.$pcSelect?.ptm("option",{context:{option:this.option,selected:this.selected,focused:this.focused,disabled:this.disabled}})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-selectItem"]],inputs:{id:"id",option:"option",selected:[2,"selected","selected",R],focused:[2,"focused","focused",R],label:"label",disabled:[2,"disabled","disabled",R],visible:[2,"visible","visible",R],itemSize:[2,"itemSize","itemSize",ke],ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template",checkmark:[2,"checkmark","checkmark",R],index:"index",scrollerOptions:"scrollerOptions"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},features:[Se([Lm,{provide:Qe,useExisting:t}]),j],decls:4,vars:20,consts:[["role","option","pRipple","",3,"click","mouseenter","id","pBind","ngStyle"],[4,"ngIf"],[3,"pBind",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","check",3,"class","pBind",4,"ngIf"],["data-p-icon","blank",3,"class","pBind",4,"ngIf"],["data-p-icon","check",3,"pBind"],["data-p-icon","blank",3,"pBind"],[3,"pBind"]],template:function(i,r){i&1&&(I(0,"li",0),K("click",function(s){return r.onOptionClick(s)})("mouseenter",function(s){return r.onOptionMouseEnter(s)}),C(1,mj,3,2,"ng-container",1)(2,gj,2,2,"span",2)(3,yj,1,0,"ng-container",3),T()),i&2&&(k(r.cx("option")),h("id",r.id)("pBind",r.getPTOptions())("ngStyle",Te(16,Ru,r.itemSize+"px")),J("aria-label",r.label)("aria-setsize",r.ariaSetSize)("aria-posinset",r.ariaPosInset)("aria-selected",r.selected)("data-p-focused",r.focused)("data-p-highlight",r.selected)("data-p-disabled",r.disabled),g(),h("ngIf",r.checkmark),g(),h("ngIf",!r.template),g(),h("ngTemplateOutlet",r.template)("ngTemplateOutletContext",Te(18,aw,r.option)))},dependencies:[qe,Ut,kt,Xn,xe,$r,Uh,Pk,Wt,te],encapsulation:2})}return t})(),Bm=(()=>{class t extends gc{zone;filterService;bindDirectiveInstance=x(te,{self:!0});id;scrollHeight="200px";filter;panelStyle;styleClass;panelStyleClass;readonly;editable;tabindex=0;set placeholder(e){this._placeholder.set(e)}get placeholder(){return this._placeholder.asReadonly()}loadingIcon;filterPlaceholder;filterLocale;inputId;dataKey;filterBy;filterFields;autofocus;resetFilterOnHide=!1;checkmark=!1;dropdownIcon;loading=!1;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";group;showClear;emptyFilterMessage="";emptyMessage="";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;ariaLabel;ariaLabelledBy;filterMatchMode="contains";tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;focusOnHover=!0;selectOnFocus=!1;autoOptionFocus=!1;autofocusFilter=!0;get filterValue(){return this._filterValue()}set filterValue(e){setTimeout(()=>{this._filterValue.set(e)})}get options(){return this._options()}set options(e){Mv(e,this._options())||this._options.set(e)}appendTo=ae(void 0);onChange=new H;onFilter=new H;onFocus=new H;onBlur=new H;onClick=new H;onShow=new H;onHide=new H;onClear=new H;onLazyLoad=new H;_componentStyle=x(Lm);filterViewChild;focusInputViewChild;editableInputViewChild;itemsViewChild;scroller;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;itemsWrapper;$appendTo=We(()=>this.appendTo()||this.config.overlayAppendTo());itemTemplate;groupTemplate;loaderTemplate;selectedItemTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;dropdownIconTemplate;loadingIconTemplate;clearIconTemplate;filterIconTemplate;onIconTemplate;offIconTemplate;cancelIconTemplate;templates;_itemTemplate;_selectedItemTemplate;_headerTemplate;_filterTemplate;_footerTemplate;_emptyFilterTemplate;_emptyTemplate;_groupTemplate;_loaderTemplate;_dropdownIconTemplate;_loadingIconTemplate;_clearIconTemplate;_filterIconTemplate;_cancelIconTemplate;_onIconTemplate;_offIconTemplate;filterOptions;_options=_e(null);_placeholder=_e(void 0);value;hover;focused;overlayVisible;optionsChanged;panel;dimensionsUpdated;hoveredItem;selectedOptionUpdated;_filterValue=_e(null);searchValue;searchIndex;searchTimeout;previousSearchChar;currentSearchChar;preventModelTouched;focusedOptionIndex=_e(-1);labelId;listId;clicked=_e(!1);get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(xn.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(xn.EMPTY_FILTER_MESSAGE)}get isVisibleClearIcon(){return this.modelValue()!=null&&this.hasSelectedOption()&&this.showClear&&!this.$disabled()}get listLabel(){return this.config.getTranslation(xn.ARIA).listLabel}get focusedOptionId(){return this.focusedOptionIndex()!==-1?`${this.id}_${this.focusedOptionIndex()}`:null}visibleOptions=We(()=>{let e=this.getAllVisibleAndNonVisibleOptions();if(this._filterValue()){let r=!(this.filterBy||this.optionLabel)&&!this.filterFields&&!this.optionValue?this.options?.filter(o=>o.label?o.label.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim())!==-1:o.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim())!==-1):this.filterService.filter(e,this.searchFields(),this._filterValue().trim(),this.filterMatchMode,this.filterLocale);if(this.group){let o=this.options||[],s=[];return o.forEach(a=>{let c=this.getOptionGroupChildren(a).filter(d=>r?.includes(d));c.length>0&&s.push(A(_({},a),{[typeof this.optionGroupChildren=="string"?this.optionGroupChildren:"items"]:[...c]}))}),this.flatOptions(s)}return r}return e});label=We(()=>{let e=this.getAllVisibleAndNonVisibleOptions(),i=e.findIndex(r=>this.isOptionValueEqualsModelValue(r));if(i!==-1){let r=e[i];return this.getOptionLabel(r)}return this.placeholder()||"p-emptylabel"});selectedOption;constructor(e,i){super(),this.zone=e,this.filterService=i,Lt(()=>{let r=this.modelValue(),o=this.visibleOptions();if(o&&lt(o)){let s=this.findSelectedOptionIndex();if(s!==-1||r===void 0||typeof r=="string"&&r.length===0||this.isModelValueNotSet()||this.editable)this.selectedOption=o[s];else{let a=o.findIndex(l=>this.isSelected(l));a!==-1&&(this.selectedOption=o[a])}}zr(o)&&(r===void 0||this.isModelValueNotSet())&&lt(this.selectedOption)&&(this.selectedOption=null),r!==void 0&&this.editable&&this.updateEditableLabel(),this.cd.markForCheck()})}isModelValueNotSet(){return this.modelValue()===null&&!this.isOptionValueEqualsModelValue(this.selectedOption)}getAllVisibleAndNonVisibleOptions(){return this.group?this.flatOptions(this.options):this.options||[]}onInit(){this.id=this.id||mt("pn_id_"),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":this._itemTemplate=e.template;break;case"selectedItem":this._selectedItemTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"filter":this._filterTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"emptyfilter":this._emptyFilterTemplate=e.template;break;case"empty":this._emptyTemplate=e.template;break;case"group":this._groupTemplate=e.template;break;case"loader":this._loaderTemplate=e.template;break;case"dropdownicon":this._dropdownIconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"filtericon":this._filterIconTemplate=e.template;break;case"cancelicon":this._cancelIconTemplate=e.template;break;case"onicon":this._onIconTemplate=e.template;break;case"officon":this._offIconTemplate=e.template;break;default:this._itemTemplate=e.template;break}})}onAfterViewChecked(){if(this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"])),this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let e=wt(this.overlayViewChild?.overlayViewChild?.nativeElement,"li.p-select-option-selected");e&&UD(this.itemsWrapper,e),this.selectedOptionUpdated=!1}}flatOptions(e){return(e||[]).reduce((i,r,o)=>{i.push({optionGroup:r,group:!0,index:o});let s=this.getOptionGroupChildren(r);return s&&s.forEach(a=>i.push(a)),i},[])}autoUpdateModel(){this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1))}onOptionSelect(e,i,r=!0,o=!1){if(!this.isOptionDisabled(i)){if(!this.isSelected(i)){let s=this.getOptionValue(i);this.updateModel(s,e),this.focusedOptionIndex.set(this.findSelectedOptionIndex()),o===!1&&this.onChange.emit({originalEvent:e,value:s})}r&&this.hide(!0)}}onOptionMouseEnter(e,i){this.focusOnHover&&this.changeFocusedOptionIndex(e,i)}updateModel(e,i){this.value=e,this.onModelChange(e),this.writeModelValue(e),this.selectedOptionUpdated=!0}allowModelChange(){return!!this.modelValue()&&!this.placeholder()&&(this.modelValue()===void 0||this.modelValue()===null)&&!this.editable&&this.options&&this.options.length}isSelected(e){return this.isOptionValueEqualsModelValue(e)}isOptionValueEqualsModelValue(e){return e!=null&&!this.isOptionGroup(e)&&ei(this.modelValue(),this.getOptionValue(e),this.equalityKey())}onAfterViewInit(){this.editable&&this.updateEditableLabel(),this.updatePlaceHolderForFloatingLabel()}updatePlaceHolderForFloatingLabel(){let e=this.el.nativeElement.parentElement,i=e?.classList.contains("p-float-label");if(e&&i&&!this.selectedOption){let r=e.querySelector("label");r&&this._placeholder.set(r.textContent)}}updateEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value=this.getOptionLabel(this.selectedOption)||this.modelValue()||"")}clearEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value="")}getOptionIndex(e,i){return this.virtualScrollerDisabled?e:i&&i.getItemOptions(e).index}getOptionLabel(e){return this.optionLabel!==void 0&&this.optionLabel!==null?On(e,this.optionLabel):e&&e.label!==void 0?e.label:e}getOptionValue(e){return this.optionValue&&this.optionValue!==null?On(e,this.optionValue):!this.optionLabel&&e&&e.value!==void 0?e.value:e}getPTItemOptions(e,i,r,o){return this.ptm(o,{context:{option:e,index:r,selected:this.isSelected(e),focused:this.focusedOptionIndex()===this.getOptionIndex(r,i),disabled:this.isOptionDisabled(e)}})}isSelectedOptionEmpty(){return zr(this.selectedOption)}isOptionDisabled(e){return this.optionDisabled?On(e,this.optionDisabled):e&&e.disabled!==void 0?e.disabled:!1}getOptionGroupLabel(e){return this.optionGroupLabel!==void 0&&this.optionGroupLabel!==null?On(e,this.optionGroupLabel):e&&e.label!==void 0?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren!==void 0&&this.optionGroupChildren!==null?On(e,this.optionGroupChildren):e.items}getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions().slice(0,e).filter(i=>this.isOptionGroup(i)).length:e)+1}get ariaSetSize(){return this.visibleOptions().filter(e=>!this.isOptionGroup(e)).length}resetFilter(){this._filterValue.set(null),this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}onContainerClick(e){this.$disabled()||this.readonly||this.loading||e.target.tagName==="INPUT"||e.target.getAttribute("data-pc-section")==="clearicon"||e.target.closest('[data-pc-section="clearicon"]')||((!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(e.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),this.onClick.emit(e),this.clicked.set(!0),this.cd.detectChanges())}isEmpty(){return!this._options()||this.visibleOptions()&&this.visibleOptions().length===0}onEditableInput(e){let i=e.target.value;this.searchValue="",!this.searchOptions(e,i)&&this.focusedOptionIndex.set(-1),this.onModelChange(i),this.updateModel(i||null,e),setTimeout(()=>{this.onChange.emit({originalEvent:e,value:i})},1),!this.overlayVisible&&lt(i)&&this.show()}show(e){this.overlayVisible=!0,this.focusedOptionIndex.set(this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex()),e&&nr(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(e){if(e.toState==="visible"){if(this.itemsWrapper=wt(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-select-list-container"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){let i=this.modelValue()?this.focusedOptionIndex():-1;i!==-1&&this.scroller?.scrollToIndex(i)}else{let i=wt(this.itemsWrapper,".p-select-option.p-select-option-selected");i&&i.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&!this.editable&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(e)}e.toState==="void"&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(e))}hide(e){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.clicked.set(!1),this.searchValue="",this.overlayOptions?.mode==="modal"&&Hh(),this.filter&&this.resetFilterOnHide&&this.resetFilter(),e&&(this.focusInputViewChild&&nr(this.focusInputViewChild?.nativeElement),this.editable&&this.editableInputViewChild&&nr(this.editableInputViewChild?.nativeElement)),this.cd.markForCheck()}onInputFocus(e){if(this.$disabled())return;this.focused=!0;let i=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),!this.preventModelTouched&&!this.overlayVisible&&this.onModelTouched(),this.preventModelTouched=!1}onKeyDown(e,i=!1){if(!(this.$disabled()||this.readonly||this.loading)){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,this.editable);break;case"Delete":this.onDeleteKey(e);break;case"Home":this.onHomeKey(e,this.editable);break;case"End":this.onEndKey(e,this.editable);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Space":this.onSpaceKey(e,i);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"Backspace":this.onBackspaceKey(e,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!e.metaKey&&nk(e.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(e,e.key));break}this.clicked.set(!1)}}onFilterKeyDown(e){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,!0);break;case"Home":this.onHomeKey(e,!0);break;case"End":this.onEndKey(e,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(e,!0);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e,!0);break;default:break}}onFilterBlur(e){this.focusedOptionIndex.set(-1)}onArrowDownKey(e){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(e,this.findSelectedOptionIndex());else{let i=this.focusedOptionIndex()!==-1?this.findNextOptionIndex(this.focusedOptionIndex()):this.clicked()?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(e,i)}e.preventDefault(),e.stopPropagation()}changeFocusedOptionIndex(e,i){if(this.focusedOptionIndex()!==i&&(this.focusedOptionIndex.set(i),this.scrollInView(),this.selectOnFocus)){let r=this.visibleOptions()[i];this.onOptionSelect(e,r,!1)}}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(e=-1){let i=e!==-1?`${this.id}_${e}`:this.focusedOptionId;if(this.itemsViewChild&&this.itemsViewChild.nativeElement){let r=wt(this.itemsViewChild.nativeElement,`li[id="${i}"]`);r?r.scrollIntoView&&r.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(e!==-1?e:this.focusedOptionIndex())},0)}}hasSelectedOption(){return this.modelValue()!==void 0}isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)}equalityKey(){return this.optionValue?void 0:this.dataKey}findFirstFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e}findFirstOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidOption(e))}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}findNextOptionIndex(e){let i=e<this.visibleOptions().length-1?this.visibleOptions().slice(e+1).findIndex(r=>this.isValidOption(r)):-1;return i>-1?i+e+1:e}findPrevOptionIndex(e){let i=e>0?Ov(this.visibleOptions().slice(0,e),r=>this.isValidOption(r)):-1;return i>-1?i:e}findLastOptionIndex(){return Ov(this.visibleOptions(),e=>this.isValidOption(e))}findLastFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e}isValidOption(e){return e!=null&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))}isOptionGroup(e){return this.optionGroupLabel!==void 0&&this.optionGroupLabel!==null&&e.optionGroup!==void 0&&e.optionGroup!==null&&e.group}onArrowUpKey(e,i=!1){if(e.altKey&&!i){if(this.focusedOptionIndex()!==-1){let r=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,r)}this.overlayVisible&&this.hide()}else{let r=this.focusedOptionIndex()!==-1?this.findPrevOptionIndex(this.focusedOptionIndex()):this.clicked()?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(e,r),!this.overlayVisible&&this.show()}e.preventDefault(),e.stopPropagation()}onArrowLeftKey(e,i=!1){i&&this.focusedOptionIndex.set(-1)}onDeleteKey(e){this.showClear&&(this.clear(e),e.preventDefault())}onHomeKey(e,i=!1){if(i&&e.currentTarget&&e.currentTarget.setSelectionRange){let r=e.currentTarget;e.shiftKey?r.setSelectionRange(0,r.value.length):(r.setSelectionRange(0,0),this.focusedOptionIndex.set(-1))}else this.changeFocusedOptionIndex(e,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()}onEndKey(e,i=!1){if(i&&e.currentTarget&&e.currentTarget.setSelectionRange){let r=e.currentTarget;if(e.shiftKey)r.setSelectionRange(0,r.value.length);else{let o=r.value.length;r.setSelectionRange(o,o),this.focusedOptionIndex.set(-1)}}else this.changeFocusedOptionIndex(e,this.findLastOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()}onPageDownKey(e){this.scrollInView(this.visibleOptions().length-1),e.preventDefault()}onPageUpKey(e){this.scrollInView(0),e.preventDefault()}onSpaceKey(e,i=!1){!this.editable&&!i&&this.onEnterKey(e)}onEnterKey(e,i=!1){if(!this.overlayVisible)this.focusedOptionIndex.set(-1),this.onArrowDownKey(e);else{if(this.focusedOptionIndex()!==-1){let r=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,r)}!i&&this.hide()}e.preventDefault()}onEscapeKey(e){this.overlayVisible&&(this.hide(!0),e.preventDefault(),e.stopPropagation())}onTabKey(e,i=!1){if(!i)if(this.overlayVisible&&this.hasFocusableElements())nr(e.shiftKey?this.lastHiddenFocusableElementOnOverlay?.nativeElement:this.firstHiddenFocusableElementOnOverlay?.nativeElement),e.preventDefault();else{if(this.focusedOptionIndex()!==-1&&this.overlayVisible){let r=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,r)}this.overlayVisible&&this.hide(this.filter)}e.stopPropagation()}onFirstHiddenFocus(e){let i=e.relatedTarget===this.focusInputViewChild?.nativeElement?BD(this.overlayViewChild?.el?.nativeElement,":not(.p-hidden-focusable)"):this.focusInputViewChild?.nativeElement;nr(i)}onLastHiddenFocus(e){let i=e.relatedTarget===this.focusInputViewChild?.nativeElement?VD(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;nr(i)}hasFocusableElements(){return oa(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}onBackspaceKey(e,i=!1){i&&!this.overlayVisible&&this.show()}searchFields(){return this.filterBy?.split(",")||this.filterFields||[this.optionLabel]}searchOptions(e,i){this.searchValue=(this.searchValue||"")+i;let r=-1,o=!1;return r=this.visibleOptions().findIndex(s=>this.isOptionMatched(s)),r!==-1&&(o=!0),r===-1&&this.focusedOptionIndex()===-1&&(r=this.findFirstFocusedOptionIndex()),r!==-1&&setTimeout(()=>{this.changeFocusedOptionIndex(e,r)}),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),o}isOptionMatched(e){return this.isValidOption(e)&&this.getOptionLabel(e).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue?.toLocaleLowerCase(this.filterLocale))}onFilterInputChange(e){let i=e.target.value;this._filterValue.set(i),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:e,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller?.scrollToIndex(0),setTimeout(()=>{this.overlayViewChild?.alignOverlay()}),this.cd.markForCheck()}applyFocus(){this.editable?wt(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():nr(this.focusInputViewChild?.nativeElement)}focus(){this.applyFocus()}clear(e){this.updateModel(null,e),this.clearEditableLabel(),this.onModelTouched(),this.onChange.emit({originalEvent:e,value:this.value}),this.onClear.emit(e),this.resetFilter()}writeControlValue(e,i){this.filter&&this.resetFilter(),this.value=e,this.allowModelChange()&&this.onModelChange(e),i(this.value),this.updateEditableLabel(),this.cd.markForCheck()}static \u0275fac=function(i){return new(i||t)(me($e),me(Bl))};static \u0275cmp=$({type:t,selectors:[["p-select"]],contentQueries:function(i,r,o){if(i&1&&(V(o,bj,4),V(o,vj,4),V(o,_j,4),V(o,wj,4),V(o,Cj,4),V(o,F2,4),V(o,xj,4),V(o,Tj,4),V(o,Ej,4),V(o,Sj,4),V(o,Ij,4),V(o,Dj,4),V(o,kj,4),V(o,Mj,4),V(o,Oj,4),V(o,Rj,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.itemTemplate=s.first),M(s=O())&&(r.groupTemplate=s.first),M(s=O())&&(r.loaderTemplate=s.first),M(s=O())&&(r.selectedItemTemplate=s.first),M(s=O())&&(r.headerTemplate=s.first),M(s=O())&&(r.filterTemplate=s.first),M(s=O())&&(r.footerTemplate=s.first),M(s=O())&&(r.emptyFilterTemplate=s.first),M(s=O())&&(r.emptyTemplate=s.first),M(s=O())&&(r.dropdownIconTemplate=s.first),M(s=O())&&(r.loadingIconTemplate=s.first),M(s=O())&&(r.clearIconTemplate=s.first),M(s=O())&&(r.filterIconTemplate=s.first),M(s=O())&&(r.onIconTemplate=s.first),M(s=O())&&(r.offIconTemplate=s.first),M(s=O())&&(r.cancelIconTemplate=s.first),M(s=O())&&(r.templates=s)}},viewQuery:function(i,r){if(i&1&&(ct(F2,5),ct(Pj,5),ct(Aj,5),ct(Nj,5),ct(Fj,5),ct(Lj,5),ct(Bj,5),ct(Vj,5)),i&2){let o;M(o=O())&&(r.filterViewChild=o.first),M(o=O())&&(r.focusInputViewChild=o.first),M(o=O())&&(r.editableInputViewChild=o.first),M(o=O())&&(r.itemsViewChild=o.first),M(o=O())&&(r.scroller=o.first),M(o=O())&&(r.overlayViewChild=o.first),M(o=O())&&(r.firstHiddenFocusableElementOnOverlay=o.first),M(o=O())&&(r.lastHiddenFocusableElementOnOverlay=o.first)}},hostVars:3,hostBindings:function(i,r){i&1&&K("click",function(s){return r.onContainerClick(s)}),i&2&&(J("id",r.id),k(r.cn(r.cx("root"),r.styleClass)))},inputs:{id:"id",scrollHeight:"scrollHeight",filter:[2,"filter","filter",R],panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:[2,"readonly","readonly",R],editable:[2,"editable","editable",R],tabindex:[2,"tabindex","tabindex",ke],placeholder:"placeholder",loadingIcon:"loadingIcon",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",inputId:"inputId",dataKey:"dataKey",filterBy:"filterBy",filterFields:"filterFields",autofocus:[2,"autofocus","autofocus",R],resetFilterOnHide:[2,"resetFilterOnHide","resetFilterOnHide",R],checkmark:[2,"checkmark","checkmark",R],dropdownIcon:"dropdownIcon",loading:[2,"loading","loading",R],optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",group:[2,"group","group",R],showClear:[2,"showClear","showClear",R],emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:[2,"lazy","lazy",R],virtualScroll:[2,"virtualScroll","virtualScroll",R],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",ke],virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",focusOnHover:[2,"focusOnHover","focusOnHover",R],selectOnFocus:[2,"selectOnFocus","selectOnFocus",R],autoOptionFocus:[2,"autoOptionFocus","autoOptionFocus",R],autofocusFilter:[2,"autofocusFilter","autofocusFilter",R],filterValue:"filterValue",options:"options",appendTo:[1,"appendTo"]},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},features:[Se([qz,Lm,{provide:j2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],decls:11,vars:16,consts:[["elseBlock",""],["overlay",""],["content",""],["focusInput",""],["defaultPlaceholder",""],["editableInput",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["filter",""],["scroller",""],["loader",""],["items",""],["emptyFilter",""],["empty",""],["role","combobox",3,"class","pBind","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","pAutoFocus","focus","blur","keydown",4,"ngIf"],["type","text",3,"class","pBind","pAutoFocus","input","keydown","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",3,"pBind"],[4,"ngIf","ngIfElse"],["hostName","select",3,"visibleChange","onAnimationStart","onHide","hostAttrSelector","pt","visible","options","target","appendTo"],["role","combobox",3,"focus","blur","keydown","pBind","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","pAutoFocus"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["type","text",3,"input","keydown","focus","blur","pBind","pAutoFocus"],["data-p-icon","times",3,"class","pBind","click",4,"ngIf"],[3,"class","pBind","click",4,"ngIf"],["data-p-icon","times",3,"click","pBind"],[3,"click","pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["aria-hidden","true",3,"class","pBind",4,"ngIf"],["aria-hidden","true",3,"pBind"],[3,"class","pBind",4,"ngIf"],["data-p-icon","chevron-down",3,"class","pBind",4,"ngIf"],[3,"pBind"],["data-p-icon","chevron-down",3,"pBind"],[3,"ngStyle","pBind"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus","pBind"],["hostName","select",3,"items","style","itemSize","autoSize","lazy","options","pt","onLazyLoad",4,"ngIf"],[3,"pt"],["pInputText","","type","text","role","searchbox","autocomplete","off",3,"input","keydown","blur","pSize","value","variant","pt"],["data-p-icon","search",3,"pBind",4,"ngIf"],[3,"pBind",4,"ngIf"],["data-p-icon","search",3,"pBind"],["hostName","select",3,"onLazyLoad","items","itemSize","autoSize","lazy","options","pt"],["role","listbox",3,"pBind"],["ngFor","",3,"ngForOf"],["role","option",3,"class","ngStyle","pBind",4,"ngIf"],["role","option",3,"ngStyle","pBind"],[3,"onClick","onMouseEnter","id","option","checkmark","selected","label","disabled","template","focused","ariaPosInset","ariaSetSize","index","scrollerOptions"]],template:function(i,r){if(i&1){let o=se();C(0,Wj,6,23,"span",16)(1,Gj,2,19,"input",17)(2,Zj,3,2,"ng-container",18),I(3,"div",19),C(4,iz,3,2,"ng-container",20)(5,dz,2,2,"ng-template",null,0,at),T(),I(7,"p-overlay",21,1),ki("visibleChange",function(a){return E(o),Zi(r.overlayVisible,a)||(r.overlayVisible=a),S(a)}),K("onAnimationStart",function(a){return E(o),S(r.onOverlayAnimationStart(a))})("onHide",function(){return E(o),S(r.hide())}),C(9,$z,13,22,"ng-template",null,2,at),T()}if(i&2){let o=pn(6);h("ngIf",!r.editable),g(),h("ngIf",r.editable),g(),h("ngIf",r.isVisibleClearIcon),g(),k(r.cx("dropdown")),h("pBind",r.ptm("dropdown")),J("aria-expanded",r.overlayVisible??!1)("data-pc-section","trigger"),g(),h("ngIf",r.loading)("ngIfElse",o),g(3),h("hostAttrSelector",r.$attrSelector)("pt",r.ptm("pcOverlay")),Di("visible",r.overlayVisible),h("options",r.overlayOptions)("target","@parent")("appendTo",r.$appendTo())}},dependencies:[qe,Oi,Ut,kt,Xn,Qz,M2,Gh,Hr,Wl,Wh,Hk,bs,Pm,Am,Ou,xe,Wt,te],encapsulation:2,changeDetection:0})}return t})(),z2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[Bm,xe,xe]})}return t})();var H2=`
.p-inputnumber {
display: inline-flex;
position: relative;
}
.p-inputnumber-button {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
cursor: pointer;
background: dt('inputnumber.button.background');
color: dt('inputnumber.button.color');
width: dt('inputnumber.button.width');
transition:
background dt('inputnumber.transition.duration'),
color dt('inputnumber.transition.duration'),
border-color dt('inputnumber.transition.duration'),
outline-color dt('inputnumber.transition.duration');
}
.p-inputnumber-button:disabled {
cursor: auto;
}
.p-inputnumber-button:not(:disabled):hover {
background: dt('inputnumber.button.hover.background');
color: dt('inputnumber.button.hover.color');
}
.p-inputnumber-button:not(:disabled):active {
background: dt('inputnumber.button.active.background');
color: dt('inputnumber.button.active.color');
}
.p-inputnumber-stacked .p-inputnumber-button {
position: relative;
flex: 1 1 auto;
border: 0 none;
}
.p-inputnumber-stacked .p-inputnumber-button-group {
display: flex;
flex-direction: column;
position: absolute;
inset-block-start: 1px;
inset-inline-end: 1px;
height: calc(100% - 2px);
z-index: 1;
}
.p-inputnumber-stacked .p-inputnumber-increment-button {
padding: 0;
border-start-end-radius: calc(dt('inputnumber.button.border.radius') - 1px);
}
.p-inputnumber-stacked .p-inputnumber-decrement-button {
padding: 0;
border-end-end-radius: calc(dt('inputnumber.button.border.radius') - 1px);
}
.p-inputnumber-stacked .p-inputnumber-input {
padding-inline-end: calc(dt('inputnumber.button.width') + dt('form.field.padding.x'));
}
.p-inputnumber-horizontal .p-inputnumber-button {
border: 1px solid dt('inputnumber.button.border.color');
}
.p-inputnumber-horizontal .p-inputnumber-button:hover {
border-color: dt('inputnumber.button.hover.border.color');
}
.p-inputnumber-horizontal .p-inputnumber-button:active {
border-color: dt('inputnumber.button.active.border.color');
}
.p-inputnumber-horizontal .p-inputnumber-increment-button {
order: 3;
border-start-end-radius: dt('inputnumber.button.border.radius');
border-end-end-radius: dt('inputnumber.button.border.radius');
border-inline-start: 0 none;
}
.p-inputnumber-horizontal .p-inputnumber-input {
order: 2;
border-radius: 0;
}
.p-inputnumber-horizontal .p-inputnumber-decrement-button {
order: 1;
border-start-start-radius: dt('inputnumber.button.border.radius');
border-end-start-radius: dt('inputnumber.button.border.radius');
border-inline-end: 0 none;
}
.p-floatlabel:has(.p-inputnumber-horizontal) label {
margin-inline-start: dt('inputnumber.button.width');
}
.p-inputnumber-vertical {
flex-direction: column;
}
.p-inputnumber-vertical .p-inputnumber-button {
border: 1px solid dt('inputnumber.button.border.color');
padding: dt('inputnumber.button.vertical.padding');
}
.p-inputnumber-vertical .p-inputnumber-button:hover {
border-color: dt('inputnumber.button.hover.border.color');
}
.p-inputnumber-vertical .p-inputnumber-button:active {
border-color: dt('inputnumber.button.active.border.color');
}
.p-inputnumber-vertical .p-inputnumber-increment-button {
order: 1;
border-start-start-radius: dt('inputnumber.button.border.radius');
border-start-end-radius: dt('inputnumber.button.border.radius');
width: 100%;
border-block-end: 0 none;
}
.p-inputnumber-vertical .p-inputnumber-input {
order: 2;
border-radius: 0;
text-align: center;
}
.p-inputnumber-vertical .p-inputnumber-decrement-button {
order: 3;
border-end-start-radius: dt('inputnumber.button.border.radius');
border-end-end-radius: dt('inputnumber.button.border.radius');
width: 100%;
border-block-start: 0 none;
}
.p-inputnumber-input {
flex: 1 1 auto;
}
.p-inputnumber-fluid {
width: 100%;
}
.p-inputnumber-fluid .p-inputnumber-input {
width: 1%;
}
.p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input {
width: 100%;
}
.p-inputnumber:has(.p-inputtext-sm) .p-inputnumber-button .p-icon {
font-size: dt('form.field.sm.font.size');
width: dt('form.field.sm.font.size');
height: dt('form.field.sm.font.size');
}
.p-inputnumber:has(.p-inputtext-lg) .p-inputnumber-button .p-icon {
font-size: dt('form.field.lg.font.size');
width: dt('form.field.lg.font.size');
height: dt('form.field.lg.font.size');
}
.p-inputnumber-clear-icon {
position: absolute;
top: 50%;
margin-top: -0.5rem;
cursor: pointer;
inset-inline-end: dt('form.field.padding.x');
color: dt('form.field.icon.color');
}
.p-inputnumber:has(.p-inputnumber-clear-icon) .p-inputnumber-input {
padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
}
.p-inputnumber-stacked .p-inputnumber-clear-icon {
inset-inline-end: calc(dt('inputnumber.button.width') + dt('form.field.padding.x'));
}
.p-inputnumber-stacked:has(.p-inputnumber-clear-icon) .p-inputnumber-input {
padding-inline-end: calc(dt('inputnumber.button.width') + (dt('form.field.padding.x') * 2) + dt('icon.size'));
}
.p-inputnumber-horizontal .p-inputnumber-clear-icon {
inset-inline-end: calc(dt('inputnumber.button.width') + dt('form.field.padding.x'));
}
`;var Kz=["clearicon"],Yz=["incrementbuttonicon"],Zz=["decrementbuttonicon"],Jz=["input"];function Xz(t,n){if(t&1){let e=se();G(),I(0,"svg",7),K("click",function(){E(e);let r=m(2);return S(r.clear())}),T()}if(t&2){let e=m(2);k(e.cx("clearIcon")),h("pBind",e.ptm("clearIcon"))}}function eH(t,n){}function tH(t,n){t&1&&C(0,eH,0,0,"ng-template")}function nH(t,n){if(t&1){let e=se();I(0,"span",8),K("click",function(){E(e);let r=m(2);return S(r.clear())}),C(1,tH,1,0,null,9),T()}if(t&2){let e=m(2);k(e.cx("clearIcon")),h("pBind",e.ptm("clearIcon")),g(),h("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function iH(t,n){if(t&1&&(re(0),C(1,Xz,1,3,"svg",5)(2,nH,2,4,"span",6),oe()),t&2){let e=m();g(),h("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),g(),h("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function rH(t,n){if(t&1&&ee(0,"span",13),t&2){let e=m(2);h("pBind",e.ptm("incrementButtonIcon"))("ngClass",e.incrementButtonIcon)}}function oH(t,n){if(t&1&&(G(),ee(0,"svg",15)),t&2){let e=m(3);h("pBind",e.ptm("incrementButtonIcon"))}}function sH(t,n){}function aH(t,n){t&1&&C(0,sH,0,0,"ng-template")}function lH(t,n){if(t&1&&(re(0),C(1,oH,1,1,"svg",14)(2,aH,1,0,null,9),oe()),t&2){let e=m(2);g(),h("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),g(),h("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function cH(t,n){if(t&1&&ee(0,"span",13),t&2){let e=m(2);h("pBind",e.ptm("decrementButtonIcon"))("ngClass",e.decrementButtonIcon)}}function dH(t,n){if(t&1&&(G(),ee(0,"svg",17)),t&2){let e=m(3);h("pBind",e.ptm("decrementButtonIcon"))}}function uH(t,n){}function pH(t,n){t&1&&C(0,uH,0,0,"ng-template")}function fH(t,n){if(t&1&&(re(0),C(1,dH,1,1,"svg",16)(2,pH,1,0,null,9),oe()),t&2){let e=m(2);g(),h("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),g(),h("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function hH(t,n){if(t&1){let e=se();I(0,"span",10)(1,"button",11),K("mousedown",function(r){E(e);let o=m();return S(o.onUpButtonMouseDown(r))})("mouseup",function(){E(e);let r=m();return S(r.onUpButtonMouseUp())})("mouseleave",function(){E(e);let r=m();return S(r.onUpButtonMouseLeave())})("keydown",function(r){E(e);let o=m();return S(o.onUpButtonKeyDown(r))})("keyup",function(){E(e);let r=m();return S(r.onUpButtonKeyUp())}),C(2,rH,1,2,"span",12)(3,lH,3,2,"ng-container",2),T(),I(4,"button",11),K("mousedown",function(r){E(e);let o=m();return S(o.onDownButtonMouseDown(r))})("mouseup",function(){E(e);let r=m();return S(r.onDownButtonMouseUp())})("mouseleave",function(){E(e);let r=m();return S(r.onDownButtonMouseLeave())})("keydown",function(r){E(e);let o=m();return S(o.onDownButtonKeyDown(r))})("keyup",function(){E(e);let r=m();return S(r.onDownButtonKeyUp())}),C(5,cH,1,2,"span",12)(6,fH,3,2,"ng-container",2),T()()}if(t&2){let e=m();k(e.cx("buttonGroup")),h("pBind",e.ptm("buttonGroup")),g(),k(e.cn(e.cx("incrementButton"),e.incrementButtonClass)),h("pBind",e.ptm("incrementButton")),J("disabled",e.$disabled()?"":void 0)("aria-hidden",!0),g(),h("ngIf",e.incrementButtonIcon),g(),h("ngIf",!e.incrementButtonIcon),g(),k(e.cn(e.cx("decrementButton"),e.decrementButtonClass)),h("pBind",e.ptm("decrementButton")),J("disabled",e.$disabled()?"":void 0)("aria-hidden",!0),g(),h("ngIf",e.decrementButtonIcon),g(),h("ngIf",!e.decrementButtonIcon)}}function mH(t,n){if(t&1&&ee(0,"span",13),t&2){let e=m(2);h("pBind",e.ptm("incrementButtonIcon"))("ngClass",e.incrementButtonIcon)}}function gH(t,n){if(t&1&&(G(),ee(0,"svg",15)),t&2){let e=m(3);h("pBind",e.ptm("incrementButtonIcon"))}}function yH(t,n){}function bH(t,n){t&1&&C(0,yH,0,0,"ng-template")}function vH(t,n){if(t&1&&(re(0),C(1,gH,1,1,"svg",14)(2,bH,1,0,null,9),oe()),t&2){let e=m(2);g(),h("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),g(),h("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function _H(t,n){if(t&1){let e=se();I(0,"button",11),K("mousedown",function(r){E(e);let o=m();return S(o.onUpButtonMouseDown(r))})("mouseup",function(){E(e);let r=m();return S(r.onUpButtonMouseUp())})("mouseleave",function(){E(e);let r=m();return S(r.onUpButtonMouseLeave())})("keydown",function(r){E(e);let o=m();return S(o.onUpButtonKeyDown(r))})("keyup",function(){E(e);let r=m();return S(r.onUpButtonKeyUp())}),C(1,mH,1,2,"span",12)(2,vH,3,2,"ng-container",2),T()}if(t&2){let e=m();k(e.cn(e.cx("incrementButton"),e.incrementButtonClass)),h("pBind",e.ptm("incrementButton")),J("disabled",e.$disabled()?"":void 0)("aria-hidden",!0),g(),h("ngIf",e.incrementButtonIcon),g(),h("ngIf",!e.incrementButtonIcon)}}function wH(t,n){if(t&1&&ee(0,"span",13),t&2){let e=m(2);h("pBind",e.ptm("decrementButtonIcon"))("ngClass",e.decrementButtonIcon)}}function CH(t,n){if(t&1&&(G(),ee(0,"svg",17)),t&2){let e=m(3);h("pBind",e.ptm("decrementButtonIcon"))}}function xH(t,n){}function TH(t,n){t&1&&C(0,xH,0,0,"ng-template")}function EH(t,n){if(t&1&&(re(0),C(1,CH,1,1,"svg",16)(2,TH,1,0,null,9),oe()),t&2){let e=m(2);g(),h("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),g(),h("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function SH(t,n){if(t&1){let e=se();I(0,"button",11),K("mousedown",function(r){E(e);let o=m();return S(o.onDownButtonMouseDown(r))})("mouseup",function(){E(e);let r=m();return S(r.onDownButtonMouseUp())})("mouseleave",function(){E(e);let r=m();return S(r.onDownButtonMouseLeave())})("keydown",function(r){E(e);let o=m();return S(o.onDownButtonKeyDown(r))})("keyup",function(){E(e);let r=m();return S(r.onDownButtonKeyUp())}),C(1,wH,1,2,"span",12)(2,EH,3,2,"ng-container",2),T()}if(t&2){let e=m();k(e.cn(e.cx("decrementButton"),e.decrementButtonClass)),h("pBind",e.ptm("decrementButton")),J("disabled",e.$disabled()?"":void 0)("aria-hidden",!0),g(),h("ngIf",e.decrementButtonIcon),g(),h("ngIf",!e.decrementButtonIcon)}}var IH=`
${H2}
/* For PrimeNG */
p-inputNumber.ng-invalid.ng-dirty > .p-inputtext,
p-input-number.ng-invalid.ng-dirty > .p-inputtext,
p-inputnumber.ng-invalid.ng-dirty > .p-inputtext {
border-color: dt('inputtext.invalid.border.color');
}
p-inputNumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus,
p-input-number.ng-invalid.ng-dirty > .p-inputtext:enabled:focus,
p-inputnumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus {
border-color: dt('inputtext.focus.border.color');
}
p-inputNumber.ng-invalid.ng-dirty > .p-inputtext::placeholder,
p-input-number.ng-invalid.ng-dirty > .p-inputtext::placeholder,
p-inputnumber.ng-invalid.ng-dirty > .p-inputtext::placeholder {
color: dt('inputtext.invalid.placeholder.color');
}
`,DH={root:({instance:t})=>["p-inputnumber p-component p-inputwrapper",{"p-inputwrapper-filled":t.$filled()||t.allowEmpty===!1,"p-inputwrapper-focus":t.focused,"p-inputnumber-stacked":t.showButtons&&t.buttonLayout==="stacked","p-inputnumber-horizontal":t.showButtons&&t.buttonLayout==="horizontal","p-inputnumber-vertical":t.showButtons&&t.buttonLayout==="vertical","p-inputnumber-fluid":t.hasFluid,"p-invalid":t.invalid()}],pcInputText:"p-inputnumber-input",buttonGroup:"p-inputnumber-button-group",incrementButton:({instance:t})=>["p-inputnumber-button p-inputnumber-increment-button",{"p-disabled":t.showButtons&&t.max()!=null&&t.maxlength()}],decrementButton:({instance:t})=>["p-inputnumber-button p-inputnumber-decrement-button",{"p-disabled":t.showButtons&&t.min()!=null&&t.minlength()}],clearIcon:"p-inputnumber-clear-icon"},$2=(()=>{class t extends Me{name="inputnumber";style=IH;classes=DH;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var U2=new z("INPUTNUMBER_INSTANCE"),kH={provide:Vn,useExisting:Jt(()=>Vm),multi:!0},Vm=(()=>{class t extends gc{injector;$pcInputNumber=x(U2,{optional:!0,skipSelf:!0})??void 0;_componentStyle=x($2);bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}showButtons=!1;format=!0;buttonLayout="stacked";inputId;styleClass;placeholder;tabindex;title;ariaLabelledBy;ariaDescribedBy;ariaLabel;ariaRequired;autocomplete;incrementButtonClass;decrementButtonClass;incrementButtonIcon;decrementButtonIcon;readonly;allowEmpty=!0;locale;localeMatcher;mode="decimal";currency;currencyDisplay;useGrouping=!0;minFractionDigits;maxFractionDigits;prefix;suffix;inputStyle;inputStyleClass;showClear=!1;autofocus;onInput=new H;onFocus=new H;onBlur=new H;onKeyDown=new H;onClear=new H;clearIconTemplate;incrementButtonIconTemplate;decrementButtonIconTemplate;templates;input;_clearIconTemplate;_incrementButtonIconTemplate;_decrementButtonIconTemplate;value;focused;initialized;groupChar="";prefixChar="";suffixChar="";isSpecialChar;timer;lastValue;_numeral;numberFormat;_decimal;_decimalChar="";_group;_minusSign;_currency;_prefix;_suffix;_index;ngControl=null;constructor(e){super(),this.injector=e}onChanges(e){["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(r=>!!e[r])&&this.updateConstructParser()}onInit(){this.ngControl=this.injector.get(mi,null,{optional:!0}),this.constructParser(),this.initialized=!0}onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"clearicon":this._clearIconTemplate=e.template;break;case"incrementbuttonicon":this._incrementButtonIconTemplate=e.template;break;case"decrementbuttonicon":this._decrementButtonIconTemplate=e.template;break}})}getOptions(){let e=(s,a,l)=>{if(!(s==null||isNaN(s)||!isFinite(s)))return Math.max(a,Math.min(l,Math.floor(s)))},i=e(this.minFractionDigits,0,20),r=e(this.maxFractionDigits,0,100),o=i!=null&&r!=null&&i>r?r:i;return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:o,maximumFractionDigits:r}}constructParser(){let e=this.getOptions(),i=Object.fromEntries(Object.entries(e).filter(([s,a])=>a!==void 0));this.numberFormat=new Intl.NumberFormat(this.locale,i);let r=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),o=new Map(r.map((s,a)=>[s,a]));this._numeral=new RegExp(`[${r.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._decimalChar=this.getDecimalChar(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=s=>o.get(s)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){let e=this.getDecimalChar();return new RegExp(`[${e}]`,"g")}getDecimalChar(){return new Intl.NumberFormat(this.locale,A(_({},this.getOptions()),{useGrouping:!1})).format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}getGroupingExpression(){let e=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=e.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){let e=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${e.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){let e=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${e.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{let e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=e.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{let e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=e.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(e){if(e!=null){if(e==="-")return e;if(this.format){let r=new Intl.NumberFormat(this.locale,this.getOptions()).format(e);return this.prefix&&e!=this.prefix&&(r=this.prefix+r),this.suffix&&e!=this.suffix&&(r=r+this.suffix),r}return e.toString()}return""}parseValue(e){let i=this._suffix?new RegExp(this._suffix,""):/(?:)/,r=this._prefix?new RegExp(this._prefix,""):/(?:)/,o=this._currency?new RegExp(this._currency,""):/(?:)/,s=e.replace(i,"").replace(r,"").trim().replace(/\s/g,"").replace(o,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(s){if(s==="-")return s;let a=+s;return isNaN(a)?null:a}return null}repeat(e,i,r){if(this.readonly)return;let o=i||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(e,40,r)},o),this.spin(e,r)}spin(e,i){let r=(this.step()??1)*i,o=this.parseValue(this.input?.nativeElement.value)||0,s=this.validateValue(o+r),a=this.maxlength();a&&a<this.formatValue(s).length||(this.updateInput(s,null,"spin",null),this.updateModel(e,s),this.handleOnInput(e,o,s))}clear(){this.value=null,this.onModelChange(this.value),this.onClear.emit()}onUpButtonMouseDown(e){if(e.button===2){this.clearTimer();return}this.$disabled()||(this.input?.nativeElement.focus(),this.repeat(e,null,1),e.preventDefault())}onUpButtonMouseUp(){this.$disabled()||this.clearTimer()}onUpButtonMouseLeave(){this.$disabled()||this.clearTimer()}onUpButtonKeyDown(e){(e.keyCode===32||e.keyCode===13)&&this.repeat(e,null,1)}onUpButtonKeyUp(){this.$disabled()||this.clearTimer()}onDownButtonMouseDown(e){if(e.button===2){this.clearTimer();return}this.$disabled()||(this.input?.nativeElement.focus(),this.repeat(e,null,-1),e.preventDefault())}onDownButtonMouseUp(){this.$disabled()||this.clearTimer()}onDownButtonMouseLeave(){this.$disabled()||this.clearTimer()}onDownButtonKeyUp(){this.$disabled()||this.clearTimer()}onDownButtonKeyDown(e){(e.keyCode===32||e.keyCode===13)&&this.repeat(e,null,-1)}onUserInput(e){this.readonly||(this.isSpecialChar&&(e.target.value=this.lastValue),this.isSpecialChar=!1)}onInputKeyDown(e){if(this.readonly)return;if(this.lastValue=e.target.value,e.shiftKey||e.altKey){this.isSpecialChar=!0;return}let i=e.target.selectionStart,r=e.target.selectionEnd,o=e.target.value,s=null;switch(e.altKey&&e.preventDefault(),e.key){case"ArrowUp":this.spin(e,1),e.preventDefault();break;case"ArrowDown":this.spin(e,-1),e.preventDefault();break;case"ArrowLeft":for(let a=i;a<=o.length;a++){let l=a===0?0:a-1;if(this.isNumeralChar(o.charAt(l))){this.input.nativeElement.setSelectionRange(a,a);break}}break;case"ArrowRight":for(let a=r;a>=0;a--)if(this.isNumeralChar(o.charAt(a))){this.input.nativeElement.setSelectionRange(a,a);break}break;case"Tab":case"Enter":s=this.validateValue(this.parseValue(this.input.nativeElement.value)),this.input.nativeElement.value=this.formatValue(s),this.input.nativeElement.setAttribute("aria-valuenow",s),this.updateModel(e,s);break;case"Backspace":{if(e.preventDefault(),i===r){if(i==1&&this.prefix||i==o.length&&this.suffix)break;let a=o.charAt(i-1),{decimalCharIndex:l,decimalCharIndexWithoutPrefix:c}=this.getDecimalCharIndexes(o);if(this.isNumeralChar(a)){let d=this.getDecimalLength(o);if(this._group.test(a))this._group.lastIndex=0,s=o.slice(0,i-2)+o.slice(i-1);else if(this._decimal.test(a))this._decimal.lastIndex=0,d?this.input?.nativeElement.setSelectionRange(i-1,i-1):s=o.slice(0,i-1)+o.slice(i);else if(l>0&&i>l){let u=this.isDecimalMode()&&(this.minFractionDigits||0)<d?"":"0";s=o.slice(0,i-1)+u+o.slice(i)}else c===1?(s=o.slice(0,i-1)+"0"+o.slice(i),s=this.parseValue(s)>0?s:""):s=o.slice(0,i-1)+o.slice(i)}else this.mode==="currency"&&this._currency&&a.search(this._currency)!=-1&&(s=o.slice(1));this.updateValue(e,s,null,"delete-single")}else s=this.deleteRange(o,i,r),this.updateValue(e,s,null,"delete-range");break}case"Delete":if(e.preventDefault(),i===r){if(i==0&&this.prefix||i==o.length-1&&this.suffix)break;let a=o.charAt(i),{decimalCharIndex:l,decimalCharIndexWithoutPrefix:c}=this.getDecimalCharIndexes(o);if(this.isNumeralChar(a)){let d=this.getDecimalLength(o);if(this._group.test(a))this._group.lastIndex=0,s=o.slice(0,i)+o.slice(i+2);else if(this._decimal.test(a))this._decimal.lastIndex=0,d?this.input?.nativeElement.setSelectionRange(i+1,i+1):s=o.slice(0,i)+o.slice(i+1);else if(l>0&&i>l){let u=this.isDecimalMode()&&(this.minFractionDigits||0)<d?"":"0";s=o.slice(0,i)+u+o.slice(i+1)}else c===1?(s=o.slice(0,i)+"0"+o.slice(i+1),s=this.parseValue(s)>0?s:""):s=o.slice(0,i)+o.slice(i+1)}this.updateValue(e,s,null,"delete-back-single")}else s=this.deleteRange(o,i,r),this.updateValue(e,s,null,"delete-range");break;case"Home":this.min()&&(this.updateModel(e,this.min()),e.preventDefault());break;case"End":this.max()&&(this.updateModel(e,this.max()),e.preventDefault());break;default:break}this.onKeyDown.emit(e)}onInputKeyPress(e){if(this.readonly)return;let i=e.which||e.keyCode,r=String.fromCharCode(i),o=this.isDecimalSign(r),s=this.isMinusSign(r);i!=13&&e.preventDefault(),!o&&e.code==="NumpadDecimal"&&(o=!0,r=this._decimalChar,i=r.charCodeAt(0));let{value:a,selectionStart:l,selectionEnd:c}=this.input.nativeElement,d=this.parseValue(a+r),u=d!=null?d.toString():"",p=a.substring(l,c),f=this.parseValue(p),y=f!=null?f.toString():"";if(l!==c&&y.length>0){this.insert(e,r,{isDecimalSign:o,isMinusSign:s});return}let b=this.maxlength();b&&u.length>b||(48<=i&&i<=57||s||o)&&this.insert(e,r,{isDecimalSign:o,isMinusSign:s})}onPaste(e){if(!this.$disabled()&&!this.readonly){e.preventDefault();let i=(e.clipboardData||this.document.defaultView.clipboardData).getData("Text");if(this.inputId==="integeronly"&&/[^\d-]/.test(i))return;if(i){this.maxlength()&&(i=i.toString().substring(0,this.maxlength()));let r=this.parseValue(i);r!=null&&this.insert(e,r.toString())}}}allowMinusSign(){let e=this.min();return e==null||e<0}isMinusSign(e){return this._minusSign.test(e)||e==="-"?(this._minusSign.lastIndex=0,!0):!1}isDecimalSign(e){return this._decimal.test(e)?(this._decimal.lastIndex=0,!0):!1}isDecimalMode(){return this.mode==="decimal"}getDecimalCharIndexes(e){let i=e.search(this._decimal);this._decimal.lastIndex=0;let o=e.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:i,decimalCharIndexWithoutPrefix:o}}getCharIndexes(e){let i=e.search(this._decimal);this._decimal.lastIndex=0;let r=e.search(this._minusSign);this._minusSign.lastIndex=0;let o=e.search(this._suffix);this._suffix.lastIndex=0;let s=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:i,minusCharIndex:r,suffixCharIndex:o,currencyCharIndex:s}}insert(e,i,r={isDecimalSign:!1,isMinusSign:!1}){let o=i.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&o!==-1)return;let s=this.input?.nativeElement.selectionStart,a=this.input?.nativeElement.selectionEnd,l=this.input?.nativeElement.value.trim(),{decimalCharIndex:c,minusCharIndex:d,suffixCharIndex:u,currencyCharIndex:p}=this.getCharIndexes(l),f;if(r.isMinusSign)s===0&&(f=l,(d===-1||a!==0)&&(f=this.insertText(l,i,0,a)),this.updateValue(e,f,i,"insert"));else if(r.isDecimalSign)c>0&&s===c?this.updateValue(e,l,i,"insert"):c>s&&c<a?(f=this.insertText(l,i,s,a),this.updateValue(e,f,i,"insert")):c===-1&&this.maxFractionDigits&&(f=this.insertText(l,i,s,a),this.updateValue(e,f,i,"insert"));else{let y=this.numberFormat.resolvedOptions().maximumFractionDigits,b=s!==a?"range-insert":"insert";if(c>0&&s>c){if(s+i.length-(c+1)<=y){let v=p>=s?p-1:u>=s?u:l.length;f=l.slice(0,s)+i+l.slice(s+i.length,v)+l.slice(v),this.updateValue(e,f,i,b)}}else f=this.insertText(l,i,s,a),this.updateValue(e,f,i,b)}}insertText(e,i,r,o){if((i==="."?i:i.split(".")).length===2){let a=e.slice(r,o).search(this._decimal);return this._decimal.lastIndex=0,a>0?e.slice(0,r)+this.formatValue(i)+e.slice(o):e||this.formatValue(i)}else return o-r===e.length?this.formatValue(i):r===0?i+e.slice(o):o===e.length?e.slice(0,r)+i:e.slice(0,r)+i+e.slice(o)}deleteRange(e,i,r){let o;return r-i===e.length?o="":i===0?o=e.slice(r):r===e.length?o=e.slice(0,i):o=e.slice(0,i)+e.slice(r),o}initCursor(){let e=this.input?.nativeElement.selectionStart,i=this.input?.nativeElement.selectionEnd,r=this.input?.nativeElement.value,o=r.length,s=null,a=(this.prefixChar||"").length;r=r.replace(this._prefix,""),(e===i||e!==0||i<a)&&(e-=a);let l=r.charAt(e);if(this.isNumeralChar(l))return e+a;let c=e-1;for(;c>=0;)if(l=r.charAt(c),this.isNumeralChar(l)){s=c+a;break}else c--;if(s!==null)this.input?.nativeElement.setSelectionRange(s+1,s+1);else{for(c=e;c<o;)if(l=r.charAt(c),this.isNumeralChar(l)){s=c+a;break}else c++;s!==null&&this.input?.nativeElement.setSelectionRange(s,s)}return s||0}onInputClick(){let e=this.input?.nativeElement.value;!this.readonly&&e!==zD()&&this.initCursor()}isNumeralChar(e){return e.length===1&&(this._numeral.test(e)||this._decimal.test(e)||this._group.test(e)||this._minusSign.test(e))?(this.resetRegex(),!0):!1}resetRegex(){this._numeral.lastIndex=0,this._decimal.lastIndex=0,this._group.lastIndex=0,this._minusSign.lastIndex=0}updateValue(e,i,r,o){let s=this.input?.nativeElement.value,a=null;i!=null&&(a=this.parseValue(i),a=!a&&!this.allowEmpty?0:a,this.updateInput(a,r,o,i),this.handleOnInput(e,s,a))}handleOnInput(e,i,r){this.isValueChanged(i,r)&&(this.input.nativeElement.value=this.formatValue(r),this.input?.nativeElement.setAttribute("aria-valuenow",r),this.updateModel(e,r),this.onInput.emit({originalEvent:e,value:r,formattedValue:i}))}isValueChanged(e,i){if(i===null&&e!==null)return!0;if(i!=null){let r=typeof e=="string"?this.parseValue(e):e;return i!==r}return!1}validateValue(e){if(e==="-"||e==null)return null;let i=this.min(),r=this.max();return i!=null&&e<i?this.min():r!=null&&e>r?r:e}updateInput(e,i,r,o){i=i||"";let s=this.input?.nativeElement.value,a=this.formatValue(e),l=s.length;if(a!==o&&(a=this.concatValues(a,o)),l===0){this.input.nativeElement.value=a,this.input.nativeElement.setSelectionRange(0,0);let d=this.initCursor()+i.length;this.input.nativeElement.setSelectionRange(d,d)}else{let c=this.input.nativeElement.selectionStart,d=this.input.nativeElement.selectionEnd,u=this.maxlength();if(u&&a.length>u&&(a=a.slice(0,u),c=Math.min(c,u),d=Math.min(d,u)),u&&u<a.length)return;this.input.nativeElement.value=a;let p=a.length;if(r==="range-insert"){let f=this.parseValue((s||"").slice(0,c)),b=(f!==null?f.toString():"").split("").join(`(${this.groupChar})?`),v=new RegExp(b,"g");v.test(a);let w=i.split("").join(`(${this.groupChar})?`),D=new RegExp(w,"g");D.test(a.slice(v.lastIndex)),d=v.lastIndex+D.lastIndex,this.input.nativeElement.setSelectionRange(d,d)}else if(p===l)r==="insert"||r==="delete-back-single"?this.input.nativeElement.setSelectionRange(d+1,d+1):r==="delete-single"?this.input.nativeElement.setSelectionRange(d-1,d-1):(r==="delete-range"||r==="spin")&&this.input.nativeElement.setSelectionRange(d,d);else if(r==="delete-back-single"){let f=s.charAt(d-1),y=s.charAt(d),b=l-p,v=this._group.test(y);v&&b===1?d+=1:!v&&this.isNumeralChar(f)&&(d+=-1*b+1),this._group.lastIndex=0,this.input.nativeElement.setSelectionRange(d,d)}else if(s==="-"&&r==="insert"){this.input.nativeElement.setSelectionRange(0,0);let y=this.initCursor()+i.length+1;this.input.nativeElement.setSelectionRange(y,y)}else d=d+(p-l),this.input.nativeElement.setSelectionRange(d,d)}this.input.nativeElement.setAttribute("aria-valuenow",e)}concatValues(e,i){if(e&&i){let r=i.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?r!==-1?e.replace(this.suffixChar,"").split(this._decimal)[0]+i.replace(this.suffixChar,"").slice(r)+this.suffixChar:e:r!==-1?e.split(this._decimal)[0]+i.slice(r):e}return e}getDecimalLength(e){if(e){let i=e.split(this._decimal);if(i.length===2)return i[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1;let i=this.validateValue(this.parseValue(this.input.nativeElement.value)),r=i?.toString();this.input.nativeElement.value=this.formatValue(r),this.input.nativeElement.setAttribute("aria-valuenow",r),this.updateModel(e,i),this.onModelTouched(),this.onBlur.emit(e)}formattedValue(){let e=!this.value&&!this.allowEmpty?0:this.value;return this.formatValue(e)}updateModel(e,i){let r=this.ngControl?.control?.updateOn==="blur";this.value!==i?(this.value=i,r&&this.focused||this.onModelChange(i)):r&&this.onModelChange(i)}writeControlValue(e,i){this.value=e&&Number(e),i(e),this.cd.markForCheck()}clearTimer(){this.timer&&clearInterval(this.timer)}static \u0275fac=function(i){return new(i||t)(me(Bt))};static \u0275cmp=$({type:t,selectors:[["p-inputNumber"],["p-inputnumber"],["p-input-number"]],contentQueries:function(i,r,o){if(i&1&&(V(o,Kz,4),V(o,Yz,4),V(o,Zz,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.clearIconTemplate=s.first),M(s=O())&&(r.incrementButtonIconTemplate=s.first),M(s=O())&&(r.decrementButtonIconTemplate=s.first),M(s=O())&&(r.templates=s)}},viewQuery:function(i,r){if(i&1&&ct(Jz,5),i&2){let o;M(o=O())&&(r.input=o.first)}},hostVars:2,hostBindings:function(i,r){i&2&&k(r.cn(r.cx("root"),r.styleClass))},inputs:{showButtons:[2,"showButtons","showButtons",R],format:[2,"format","format",R],buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",placeholder:"placeholder",tabindex:[2,"tabindex","tabindex",ke],title:"title",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",ariaLabel:"ariaLabel",ariaRequired:[2,"ariaRequired","ariaRequired",R],autocomplete:"autocomplete",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:[2,"readonly","readonly",R],allowEmpty:[2,"allowEmpty","allowEmpty",R],locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:[2,"useGrouping","useGrouping",R],minFractionDigits:[2,"minFractionDigits","minFractionDigits",e=>ke(e,void 0)],maxFractionDigits:[2,"maxFractionDigits","maxFractionDigits",e=>ke(e,void 0)],prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:[2,"showClear","showClear",R],autofocus:[2,"autofocus","autofocus",R]},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[Se([kH,$2,{provide:U2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],decls:6,vars:36,consts:[["input",""],["pInputText","","role","spinbutton","inputmode","decimal",3,"input","keydown","keypress","paste","click","focus","blur","value","ngStyle","variant","invalid","pSize","pt","pAutoFocus","fluid"],[4,"ngIf"],[3,"pBind","class",4,"ngIf"],["type","button","tabindex","-1",3,"pBind","class","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],["data-p-icon","times",3,"pBind","class","click",4,"ngIf"],[3,"pBind","class","click",4,"ngIf"],["data-p-icon","times",3,"click","pBind"],[3,"click","pBind"],[4,"ngTemplateOutlet"],[3,"pBind"],["type","button","tabindex","-1",3,"mousedown","mouseup","mouseleave","keydown","keyup","pBind"],[3,"pBind","ngClass",4,"ngIf"],[3,"pBind","ngClass"],["data-p-icon","angle-up",3,"pBind",4,"ngIf"],["data-p-icon","angle-up",3,"pBind"],["data-p-icon","angle-down",3,"pBind",4,"ngIf"],["data-p-icon","angle-down",3,"pBind"]],template:function(i,r){if(i&1){let o=se();I(0,"input",1,0),K("input",function(a){return E(o),S(r.onUserInput(a))})("keydown",function(a){return E(o),S(r.onInputKeyDown(a))})("keypress",function(a){return E(o),S(r.onInputKeyPress(a))})("paste",function(a){return E(o),S(r.onPaste(a))})("click",function(){return E(o),S(r.onInputClick())})("focus",function(a){return E(o),S(r.onInputFocus(a))})("blur",function(a){return E(o),S(r.onInputBlur(a))}),T(),C(2,iH,3,2,"ng-container",2)(3,hH,7,17,"span",3)(4,_H,3,7,"button",4)(5,SH,3,7,"button",4)}i&2&&(k(r.cn(r.cx("pcInputText"),r.inputStyleClass)),h("value",r.formattedValue())("ngStyle",r.inputStyle)("variant",r.$variant())("invalid",r.invalid())("pSize",r.size())("pt",r.ptm("pcInputText"))("pAutoFocus",r.autofocus)("fluid",r.hasFluid),J("id",r.inputId)("aria-valuemin",r.min())("aria-valuemax",r.max())("aria-valuenow",r.value)("placeholder",r.placeholder)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledBy)("aria-describedby",r.ariaDescribedBy)("title",r.title)("size",r.inputSize())("name",r.name())("autocomplete",r.autocomplete)("maxlength",r.maxlength())("minlength",r.minlength())("tabindex",r.tabindex)("aria-required",r.ariaRequired)("min",r.min())("max",r.max())("step",r.step()??1)("required",r.required()?"":void 0)("readonly",r.readonly?"":void 0)("disabled",r.$disabled()?"":void 0),g(2),h("ngIf",r.buttonLayout!="vertical"&&r.showClear&&r.value),g(),h("ngIf",r.showButtons&&r.buttonLayout==="stacked"),g(),h("ngIf",r.showButtons&&r.buttonLayout!=="stacked"),g(),h("ngIf",r.showButtons&&r.buttonLayout!=="stacked"))},dependencies:[qe,Ji,Ut,kt,Xn,bs,Hr,Wl,Rk,kk,xe,Wt,te],encapsulation:2,changeDetection:0})}return t})(),W2=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[Vm,xe,xe]})}return t})();var G2=`
.p-paginator {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
background: dt('paginator.background');
color: dt('paginator.color');
padding: dt('paginator.padding');
border-radius: dt('paginator.border.radius');
gap: dt('paginator.gap');
}
.p-paginator-content {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: dt('paginator.gap');
}
.p-paginator-content-start {
margin-inline-end: auto;
}
.p-paginator-content-end {
margin-inline-start: auto;
}
.p-paginator-page,
.p-paginator-next,
.p-paginator-last,
.p-paginator-first,
.p-paginator-prev {
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
user-select: none;
overflow: hidden;
position: relative;
background: dt('paginator.nav.button.background');
border: 0 none;
color: dt('paginator.nav.button.color');
min-width: dt('paginator.nav.button.width');
height: dt('paginator.nav.button.height');
transition:
background dt('paginator.transition.duration'),
color dt('paginator.transition.duration'),
outline-color dt('paginator.transition.duration'),
box-shadow dt('paginator.transition.duration');
border-radius: dt('paginator.nav.button.border.radius');
padding: 0;
margin: 0;
}
.p-paginator-page:focus-visible,
.p-paginator-next:focus-visible,
.p-paginator-last:focus-visible,
.p-paginator-first:focus-visible,
.p-paginator-prev:focus-visible {
box-shadow: dt('paginator.nav.button.focus.ring.shadow');
outline: dt('paginator.nav.button.focus.ring.width') dt('paginator.nav.button.focus.ring.style') dt('paginator.nav.button.focus.ring.color');
outline-offset: dt('paginator.nav.button.focus.ring.offset');
}
.p-paginator-page:not(.p-disabled):not(.p-paginator-page-selected):hover,
.p-paginator-first:not(.p-disabled):hover,
.p-paginator-prev:not(.p-disabled):hover,
.p-paginator-next:not(.p-disabled):hover,
.p-paginator-last:not(.p-disabled):hover {
background: dt('paginator.nav.button.hover.background');
color: dt('paginator.nav.button.hover.color');
}
.p-paginator-page.p-paginator-page-selected {
background: dt('paginator.nav.button.selected.background');
color: dt('paginator.nav.button.selected.color');
}
.p-paginator-current {
color: dt('paginator.current.page.report.color');
}
.p-paginator-pages {
display: flex;
align-items: center;
gap: dt('paginator.gap');
}
.p-paginator-jtp-input .p-inputtext {
max-width: dt('paginator.jump.to.page.input.max.width');
}
.p-paginator-first:dir(rtl),
.p-paginator-prev:dir(rtl),
.p-paginator-next:dir(rtl),
.p-paginator-last:dir(rtl) {
transform: rotate(180deg);
}
`;var MH=["dropdownicon"],OH=["firstpagelinkicon"],RH=["previouspagelinkicon"],PH=["lastpagelinkicon"],AH=["nextpagelinkicon"],jm=t=>({$implicit:t}),NH=t=>({pageLink:t});function FH(t,n){t&1&&ne(0)}function LH(t,n){if(t&1&&(I(0,"div",10),C(1,FH,1,0,"ng-container",11),T()),t&2){let e=m();k(e.cx("contentStart")),h("pBind",e.ptm("contentStart")),g(),h("ngTemplateOutlet",e.templateLeft)("ngTemplateOutletContext",Te(5,jm,e.paginatorState))}}function BH(t,n){if(t&1&&(I(0,"span",10),ce(1),T()),t&2){let e=m();k(e.cx("current")),h("pBind",e.ptm("current")),g(),Xe(e.currentPageReport)}}function VH(t,n){if(t&1&&(G(),ee(0,"svg",14)),t&2){let e=m(2);k(e.cx("firstIcon")),h("pBind",e.ptm("firstIcon"))}}function jH(t,n){}function zH(t,n){t&1&&C(0,jH,0,0,"ng-template")}function HH(t,n){if(t&1&&(I(0,"span"),C(1,zH,1,0,null,15),T()),t&2){let e=m(2);k(e.cx("firstIcon")),g(),h("ngTemplateOutlet",e.firstPageLinkIconTemplate||e._firstPageLinkIconTemplate)}}function $H(t,n){if(t&1){let e=se();I(0,"button",12),K("click",function(r){E(e);let o=m();return S(o.changePageToFirst(r))}),C(1,VH,1,3,"svg",13)(2,HH,2,3,"span",4),T()}if(t&2){let e=m();k(e.cx("first")),h("pBind",e.ptm("first")),J("aria-label",e.getAriaLabel("firstPageLabel")),g(),h("ngIf",!e.firstPageLinkIconTemplate&&!e._firstPageLinkIconTemplate),g(),h("ngIf",e.firstPageLinkIconTemplate||e._firstPageLinkIconTemplate)}}function UH(t,n){if(t&1&&(G(),ee(0,"svg",16)),t&2){let e=m();k(e.cx("prevIcon")),h("pBind",e.ptm("prevIcon"))}}function WH(t,n){}function GH(t,n){t&1&&C(0,WH,0,0,"ng-template")}function qH(t,n){if(t&1&&(I(0,"span"),C(1,GH,1,0,null,15),T()),t&2){let e=m();k(e.cx("prevIcon")),g(),h("ngTemplateOutlet",e.previousPageLinkIconTemplate||e._previousPageLinkIconTemplate)}}function QH(t,n){if(t&1){let e=se();I(0,"button",12),K("click",function(r){let o=E(e).$implicit,s=m(2);return S(s.onPageLinkClick(r,o-1))}),ce(1),T()}if(t&2){let e=n.$implicit,i=m(2);k(i.cx("page",Te(6,NH,e))),h("pBind",i.ptm("page")),J("aria-label",i.getPageAriaLabel(e))("aria-current",e-1==i.getPage()?"page":void 0),g(),$t(" ",i.getLocalization(e)," ")}}function KH(t,n){if(t&1&&(I(0,"span",10),C(1,QH,2,8,"button",17),T()),t&2){let e=m();k(e.cx("pages")),h("pBind",e.ptm("pages")),g(),h("ngForOf",e.pageLinks)}}function YH(t,n){if(t&1&&ce(0),t&2){let e=m(2);Xe(e.currentPageReport)}}function ZH(t,n){t&1&&ne(0)}function JH(t,n){if(t&1&&C(0,ZH,1,0,"ng-container",11),t&2){let e=n.$implicit,i=m(3);h("ngTemplateOutlet",i.jumpToPageItemTemplate)("ngTemplateOutletContext",Te(2,jm,e))}}function XH(t,n){t&1&&(re(0),C(1,JH,1,4,"ng-template",21),oe())}function e$(t,n){t&1&&ne(0)}function t$(t,n){if(t&1&&C(0,e$,1,0,"ng-container",15),t&2){let e=m(3);h("ngTemplateOutlet",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function n$(t,n){t&1&&C(0,t$,1,1,"ng-template",22)}function i$(t,n){if(t&1){let e=se();I(0,"p-select",18),K("onChange",function(r){E(e);let o=m();return S(o.onPageDropdownChange(r))}),C(1,YH,1,1,"ng-template",19)(2,XH,2,0,"ng-container",20)(3,n$,1,0,null,20),T()}if(t&2){let e=m();h("options",e.pageItems)("ngModel",e.getPage())("disabled",e.empty())("styleClass",e.cx("pcJumpToPageDropdown"))("appendTo",e.dropdownAppendTo||e.$appendTo())("scrollHeight",e.dropdownScrollHeight)("pt",e.ptm("pcJumpToPageDropdown")),J("aria-label",e.getAriaLabel("jumpToPageDropdownLabel")),g(2),h("ngIf",e.jumpToPageItemTemplate),g(),h("ngIf",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function r$(t,n){if(t&1&&(G(),ee(0,"svg",23)),t&2){let e=m();k(e.cx("nextIcon")),h("pBind",e.ptm("nextIcon"))}}function o$(t,n){}function s$(t,n){t&1&&C(0,o$,0,0,"ng-template")}function a$(t,n){if(t&1&&(I(0,"span"),C(1,s$,1,0,null,15),T()),t&2){let e=m();k(e.cx("nextIcon")),g(),h("ngTemplateOutlet",e.nextPageLinkIconTemplate||e._nextPageLinkIconTemplate)}}function l$(t,n){if(t&1&&(G(),ee(0,"svg",25)),t&2){let e=m(2);k(e.cx("lastIcon")),h("pBind",e.ptm("lastIcon"))}}function c$(t,n){}function d$(t,n){t&1&&C(0,c$,0,0,"ng-template")}function u$(t,n){if(t&1&&(I(0,"span"),C(1,d$,1,0,null,15),T()),t&2){let e=m(2);k(e.cx("lastIcon")),g(),h("ngTemplateOutlet",e.lastPageLinkIconTemplate||e._lastPageLinkIconTemplate)}}function p$(t,n){if(t&1){let e=se();I(0,"button",2),K("click",function(r){E(e);let o=m();return S(o.changePageToLast(r))}),C(1,l$,1,3,"svg",24)(2,u$,2,3,"span",4),T()}if(t&2){let e=m();k(e.cx("last")),h("pBind",e.ptm("last"))("disabled",e.isLastPage()||e.empty()),J("aria-label",e.getAriaLabel("lastPageLabel")),g(),h("ngIf",!e.lastPageLinkIconTemplate&&!e._lastPageLinkIconTemplate),g(),h("ngIf",e.lastPageLinkIconTemplate||e._lastPageLinkIconTemplate)}}function f$(t,n){if(t&1){let e=se();I(0,"p-inputnumber",26),K("ngModelChange",function(r){E(e);let o=m();return S(o.changePage(r-1))}),T()}if(t&2){let e=m();k(e.cx("pcJumpToPageInput")),h("pt",e.ptm("pcJumpToPageInput"))("ngModel",e.currentPage())("disabled",e.empty())}}function h$(t,n){t&1&&ne(0)}function m$(t,n){if(t&1&&C(0,h$,1,0,"ng-container",11),t&2){let e=n.$implicit,i=m(3);h("ngTemplateOutlet",i.dropdownItemTemplate)("ngTemplateOutletContext",Te(2,jm,e))}}function g$(t,n){t&1&&(re(0),C(1,m$,1,4,"ng-template",21),oe())}function y$(t,n){t&1&&ne(0)}function b$(t,n){if(t&1&&C(0,y$,1,0,"ng-container",15),t&2){let e=m(3);h("ngTemplateOutlet",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function v$(t,n){t&1&&C(0,b$,1,1,"ng-template",22)}function _$(t,n){if(t&1){let e=se();I(0,"p-select",27),ki("ngModelChange",function(r){E(e);let o=m();return Zi(o.rows,r)||(o.rows=r),S(r)}),K("onChange",function(r){E(e);let o=m();return S(o.onRppChange(r))}),C(1,g$,2,0,"ng-container",20)(2,v$,1,0,null,20),T()}if(t&2){let e=m();h("options",e.rowsPerPageItems),Di("ngModel",e.rows),h("styleClass",e.cx("pcRowPerPageDropdown"))("disabled",e.empty())("appendTo",e.dropdownAppendTo||e.$appendTo())("scrollHeight",e.dropdownScrollHeight)("ariaLabel",e.getAriaLabel("rowsPerPageLabel"))("pt",e.ptm("pcRowPerPageDropdown")),g(),h("ngIf",e.dropdownItemTemplate),g(),h("ngIf",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function w$(t,n){t&1&&ne(0)}function C$(t,n){if(t&1&&(I(0,"div",10),C(1,w$,1,0,"ng-container",11),T()),t&2){let e=m();k(e.cx("contentEnd")),h("pBind",e.ptm("contentEnd")),g(),h("ngTemplateOutlet",e.templateRight)("ngTemplateOutletContext",Te(5,jm,e.paginatorState))}}var x$={paginator:({instance:t})=>["p-paginator p-component"],content:"p-paginator-content",contentStart:"p-paginator-content-start",contentEnd:"p-paginator-content-end",first:({instance:t})=>["p-paginator-first",{"p-disabled":t.isFirstPage()||t.empty()}],firstIcon:"p-paginator-first-icon",prev:({instance:t})=>["p-paginator-prev",{"p-disabled":t.isFirstPage()||t.empty()}],prevIcon:"p-paginator-prev-icon",next:({instance:t})=>["p-paginator-next",{"p-disabled":t.isLastPage()||t.empty()}],nextIcon:"p-paginator-next-icon",last:({instance:t})=>["p-paginator-last",{"p-disabled":t.isLastPage()||t.empty()}],lastIcon:"p-paginator-last-icon",pages:"p-paginator-pages",page:({instance:t,pageLink:n})=>["p-paginator-page",{"p-paginator-page-selected":n-1==t.getPage()}],current:"p-paginator-current",pcRowPerPageDropdown:"p-paginator-rpp-dropdown",pcJumpToPageDropdown:"p-paginator-jtp-dropdown",pcJumpToPageInput:"p-paginator-jtp-input"},q2=(()=>{class t extends Me{name="paginator";style=G2;classes=x$;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var Q2=new z("PAGINATOR_INSTANCE"),Pu=(()=>{class t extends ut{bindDirectiveInstance=x(te,{self:!0});$pcPaginator=x(Q2,{optional:!0,skipSelf:!0})??void 0;onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}pageLinkSize=5;styleClass;alwaysShow=!0;dropdownAppendTo;templateLeft;templateRight;dropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showFirstLastIcon=!0;totalRecords=0;rows=0;rowsPerPageOptions;showJumpToPageDropdown;showJumpToPageInput;jumpToPageItemTemplate;showPageLinks=!0;locale;dropdownItemTemplate;get first(){return this._first}set first(e){this._first=e}appendTo=ae(void 0);onPageChange=new H;dropdownIconTemplate;firstPageLinkIconTemplate;previousPageLinkIconTemplate;lastPageLinkIconTemplate;nextPageLinkIconTemplate;templates;_dropdownIconTemplate;_firstPageLinkIconTemplate;_previousPageLinkIconTemplate;_lastPageLinkIconTemplate;_nextPageLinkIconTemplate;pageLinks;pageItems;rowsPerPageItems;paginatorState;_first=0;_page=0;_componentStyle=x(q2);$appendTo=We(()=>this.appendTo()||this.config.overlayAppendTo());get display(){return this.alwaysShow||this.pageLinks&&this.pageLinks.length>1?null:"none"}constructor(){super()}onInit(){this.updatePaginatorState()}onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"dropdownicon":this._dropdownIconTemplate=e.template;break;case"firstpagelinkicon":this._firstPageLinkIconTemplate=e.template;break;case"previouspagelinkicon":this._previousPageLinkIconTemplate=e.template;break;case"lastpagelinkicon":this._lastPageLinkIconTemplate=e.template;break;case"nextpagelinkicon":this._nextPageLinkIconTemplate=e.template;break}})}getAriaLabel(e){return this.config.translation.aria?this.config.translation.aria[e]:void 0}getPageAriaLabel(e){return this.config.translation.aria?this.config.translation.aria.pageLabel?.replace(/{page}/g,`${e}`):void 0}getLocalization(e){let i=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),r=new Map(i.map((o,s)=>[s,o]));return e>9?String(e).split("").map(s=>r.get(Number(s))).join(""):r.get(e)}onChanges(e){e.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),e.first&&(this._first=e.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),e.rows&&(this.updatePageLinks(),this.updatePaginatorState()),e.rowsPerPageOptions&&this.updateRowsPerPageOptions(),e.pageLinkSize&&this.updatePageLinks()}updateRowsPerPageOptions(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];let e=null;for(let i of this.rowsPerPageOptions)typeof i=="object"&&i.showAll?e={label:i.showAll,value:this.totalRecords}:this.rowsPerPageItems.push({label:String(this.getLocalization(i)),value:i});e&&this.rowsPerPageItems.push(e)}}isFirstPage(){return this.getPage()===0}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)}calculatePageLinkBoundaries(){let e=this.getPageCount(),i=Math.min(this.pageLinkSize,e),r=Math.max(0,Math.ceil(this.getPage()-i/2)),o=Math.min(e-1,r+i-1);var s=this.pageLinkSize-(o-r+1);return r=Math.max(0,r-s),[r,o]}updatePageLinks(){this.pageLinks=[];let e=this.calculatePageLinkBoundaries(),i=e[0],r=e[1];for(let o=i;o<=r;o++)this.pageLinks.push(o+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let o=0;o<this.getPageCount();o++)this.pageItems.push({label:String(o+1),value:o})}}changePage(e){var i=this.getPageCount();if(e>=0&&e<i){this._first=this.rows*e;var r={page:e,first:this.first,rows:this.rows,pageCount:i};this.updatePageLinks(),this.onPageChange.emit(r),this.updatePaginatorState()}}updateFirst(){let e=this.getPage();e>0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(()=>this.changePage(e-1))}getPage(){return Math.floor(this.first/this.rows)}changePageToFirst(e){this.isFirstPage()||this.changePage(0),e.preventDefault()}changePageToPrev(e){this.changePage(this.getPage()-1),e.preventDefault()}changePageToNext(e){this.changePage(this.getPage()+1),e.preventDefault()}changePageToLast(e){this.isLastPage()||this.changePage(this.getPageCount()-1),e.preventDefault()}onPageLinkClick(e,i){this.changePage(i),e.preventDefault()}onRppChange(e){this.changePage(this.getPage())}onPageDropdownChange(e){this.changePage(e.value)}updatePaginatorState(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}empty(){return this.getPageCount()===0}currentPage(){return this.getPageCount()>0?this.getPage()+1:0}get currentPageReport(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.currentPage())).replace("{totalPages}",String(this.getPageCount())).replace("{first}",String(this.totalRecords>0?this._first+1:0)).replace("{last}",String(Math.min(this._first+this.rows,this.totalRecords))).replace("{rows}",String(this.rows)).replace("{totalRecords}",String(this.totalRecords))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["p-paginator"]],contentQueries:function(i,r,o){if(i&1&&(V(o,MH,4),V(o,OH,4),V(o,RH,4),V(o,PH,4),V(o,AH,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.dropdownIconTemplate=s.first),M(s=O())&&(r.firstPageLinkIconTemplate=s.first),M(s=O())&&(r.previousPageLinkIconTemplate=s.first),M(s=O())&&(r.lastPageLinkIconTemplate=s.first),M(s=O())&&(r.nextPageLinkIconTemplate=s.first),M(s=O())&&(r.templates=s)}},hostVars:4,hostBindings:function(i,r){i&2&&(k(r.cn(r.cx("paginator"),r.styleClass)),Jn("display",r.display))},inputs:{pageLinkSize:[2,"pageLinkSize","pageLinkSize",ke],styleClass:"styleClass",alwaysShow:[2,"alwaysShow","alwaysShow",R],dropdownAppendTo:"dropdownAppendTo",templateLeft:"templateLeft",templateRight:"templateRight",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:[2,"showCurrentPageReport","showCurrentPageReport",R],showFirstLastIcon:[2,"showFirstLastIcon","showFirstLastIcon",R],totalRecords:[2,"totalRecords","totalRecords",ke],rows:[2,"rows","rows",ke],rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:[2,"showJumpToPageDropdown","showJumpToPageDropdown",R],showJumpToPageInput:[2,"showJumpToPageInput","showJumpToPageInput",R],jumpToPageItemTemplate:"jumpToPageItemTemplate",showPageLinks:[2,"showPageLinks","showPageLinks",R],locale:"locale",dropdownItemTemplate:"dropdownItemTemplate",first:"first",appendTo:[1,"appendTo"]},outputs:{onPageChange:"onPageChange"},features:[Se([q2,{provide:Q2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],decls:15,vars:23,consts:[[3,"pBind","class",4,"ngIf"],["type","button","pRipple","",3,"pBind","class","click",4,"ngIf"],["type","button","pRipple","",3,"click","pBind","disabled"],["data-p-icon","angle-left",3,"pBind","class",4,"ngIf"],[3,"class",4,"ngIf"],[3,"options","ngModel","disabled","styleClass","appendTo","scrollHeight","pt","onChange",4,"ngIf"],["data-p-icon","angle-right",3,"pBind","class",4,"ngIf"],["type","button","pRipple","",3,"pBind","disabled","class","click",4,"ngIf"],[3,"pt","ngModel","class","disabled","ngModelChange",4,"ngIf"],[3,"options","ngModel","styleClass","disabled","appendTo","scrollHeight","ariaLabel","pt","ngModelChange","onChange",4,"ngIf"],[3,"pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button","pRipple","",3,"click","pBind"],["data-p-icon","angle-double-left",3,"pBind","class",4,"ngIf"],["data-p-icon","angle-double-left",3,"pBind"],[4,"ngTemplateOutlet"],["data-p-icon","angle-left",3,"pBind"],["type","button","pRipple","",3,"pBind","class","click",4,"ngFor","ngForOf"],[3,"onChange","options","ngModel","disabled","styleClass","appendTo","scrollHeight","pt"],["pTemplate","selectedItem"],[4,"ngIf"],["pTemplate","item"],["pTemplate","dropdownicon"],["data-p-icon","angle-right",3,"pBind"],["data-p-icon","angle-double-right",3,"pBind","class",4,"ngIf"],["data-p-icon","angle-double-right",3,"pBind"],[3,"ngModelChange","pt","ngModel","disabled"],[3,"ngModelChange","onChange","options","ngModel","styleClass","disabled","appendTo","scrollHeight","ariaLabel","pt"]],template:function(i,r){i&1&&(C(0,LH,2,7,"div",0)(1,BH,2,4,"span",0)(2,$H,3,6,"button",1),I(3,"button",2),K("click",function(s){return r.changePageToPrev(s)}),C(4,UH,1,3,"svg",3)(5,qH,2,3,"span",4),T(),C(6,KH,2,4,"span",0)(7,i$,4,10,"p-select",5),I(8,"button",2),K("click",function(s){return r.changePageToNext(s)}),C(9,r$,1,3,"svg",6)(10,a$,2,3,"span",4),T(),C(11,p$,3,7,"button",7)(12,f$,1,5,"p-inputnumber",8)(13,_$,3,10,"p-select",9)(14,C$,2,7,"div",0)),i&2&&(h("ngIf",r.templateLeft),g(),h("ngIf",r.showCurrentPageReport),g(),h("ngIf",r.showFirstLastIcon),g(),k(r.cx("prev")),h("pBind",r.ptm("prev"))("disabled",r.isFirstPage()||r.empty()),J("aria-label",r.getAriaLabel("prevPageLabel")),g(),h("ngIf",!r.previousPageLinkIconTemplate&&!r._previousPageLinkIconTemplate),g(),h("ngIf",r.previousPageLinkIconTemplate||r._previousPageLinkIconTemplate),g(),h("ngIf",r.showPageLinks),g(),h("ngIf",r.showJumpToPageDropdown),g(),k(r.cx("next")),h("pBind",r.ptm("next"))("disabled",r.isLastPage()||r.empty()),J("aria-label",r.getAriaLabel("nextPageLabel")),g(),h("ngIf",!r.nextPageLinkIconTemplate&&!r._nextPageLinkIconTemplate),g(),h("ngIf",r.nextPageLinkIconTemplate||r._nextPageLinkIconTemplate),g(),h("ngIf",r.showFirstLastIcon),g(),h("ngIf",r.showJumpToPageInput),g(),h("ngIf",r.rowsPerPageOptions),g(),h("ngIf",r.templateRight))},dependencies:[qe,Oi,Ut,kt,Bm,Vm,ys,mc,Ea,$r,Ik,Dk,Mk,Ok,xe,xt,te],encapsulation:2,changeDetection:0})}return t})(),zm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[Pu,xe,xe]})}return t})();var Y2=`
.p-dataview {
position: relative;
border-color: dt('dataview.border.color');
border-width: dt('dataview.border.width');
border-style: solid;
border-radius: dt('dataview.border.radius');
padding: dt('dataview.padding');
}
.p-dataview-header {
background: dt('dataview.header.background');
color: dt('dataview.header.color');
border-color: dt('dataview.header.border.color');
border-width: dt('dataview.header.border.width');
border-style: solid;
padding: dt('dataview.header.padding');
border-radius: dt('dataview.header.border.radius');
}
.p-dataview-content {
background: dt('dataview.content.background');
border-color: dt('dataview.content.border.color');
border-width: dt('dataview.content.border.width');
border-style: solid;
color: dt('dataview.content.color');
padding: dt('dataview.content.padding');
border-radius: dt('dataview.content.border.radius');
}
.p-dataview-footer {
background: dt('dataview.footer.background');
color: dt('dataview.footer.color');
border-color: dt('dataview.footer.border.color');
border-width: dt('dataview.footer.border.width');
border-style: solid;
padding: dt('dataview.footer.padding');
border-radius: dt('dataview.footer.border.radius');
}
.p-dataview-paginator-top {
border-width: dt('dataview.paginator.top.border.width');
border-color: dt('dataview.paginator.top.border.color');
border-style: solid;
}
.p-dataview-paginator-bottom {
border-width: dt('dataview.paginator.bottom.border.width');
border-color: dt('dataview.paginator.bottom.border.color');
border-style: solid;
}
.p-dataview-loading-overlay {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}
`;var T$=["list"],E$=["grid"],S$=["header"],I$=["emptymessage"],D$=["footer"],k$=["paginatorleft"],M$=["paginatorright"],O$=["paginatordropdownitem"],R$=["loadingicon"],P$=["listicon"],A$=["gridicon"],N$=[[["p-header"]],[["p-footer"]]],F$=["p-header","p-footer"],L$=()=>({position:"top"}),X2=t=>({$implicit:t}),B$=()=>({position:"bottom"});function V$(t,n){if(t&1&&ee(0,"i"),t&2){let e=m(2);k(e.cn(e.cx("loadingIcon"),"pi-spin"+e.loadingIcon))}}function j$(t,n){}function z$(t,n){t&1&&C(0,j$,0,0,"ng-template")}function H$(t,n){if(t&1&&(re(0),G(),ee(1,"svg",5),C(2,z$,1,0,null,6),oe()),t&2){let e=m(2);g(),k(e.cx("loadingIcon")),h("pBind",e.ptm("loadingIcon"))("spin",!0),g(),h("ngTemplateOutlet",e.loadingicon)}}function $$(t,n){if(t&1&&(I(0,"div",3)(1,"div",3),ot(2,V$,1,2,"i",4)(3,H$,3,5,"ng-container"),T()()),t&2){let e=m();k(e.cx("loading")),h("pBind",e.ptm("loading")),g(),k(e.cx("loadingOverlay")),h("pBind",e.ptm("loadingOverlay")),g(),st(e.loadingIcon?2:3)}}function U$(t,n){t&1&&ne(0)}function W$(t,n){if(t&1&&(I(0,"div",3),Ot(1),C(2,U$,1,0,"ng-container",6),T()),t&2){let e=m();k(e.cx("header")),h("pBind",e.ptm("header")),g(2),h("ngTemplateOutlet",e.headerTemplate)}}function G$(t,n){if(t&1){let e=se();I(0,"p-paginator",7),K("onPageChange",function(r){E(e);let o=m();return S(o.paginate(r))}),T()}if(t&2){let e=m();h("rows",e.rows)("first",e.first)("totalRecords",e.totalRecords)("pageLinkSize",e.pageLinks)("alwaysShow",e.alwaysShowPaginator)("rowsPerPageOptions",e.rowsPerPageOptions)("appendTo",e.paginatorDropdownAppendTo)("dropdownScrollHeight",e.paginatorDropdownScrollHeight)("templateLeft",e.paginatorleft)("templateRight",e.paginatorright)("currentPageReportTemplate",e.currentPageReportTemplate)("showFirstLastIcon",e.showFirstLastIcon)("dropdownItemTemplate",e.paginatordropdownitem)("showCurrentPageReport",e.showCurrentPageReport)("showJumpToPageDropdown",e.showJumpToPageDropdown)("showPageLinks",e.showPageLinks)("styleClass",e.cn(e.cx("pcPaginator",Rr(18,L$)),e.paginatorStyleClass))("pt",e.ptm("pcPaginator"))}}function q$(t,n){t&1&&ne(0)}function Q$(t,n){if(t&1&&(C(0,q$,1,0,"ng-container",8),Wf(1,"slice")),t&2){let e=m();h("ngTemplateOutlet",e.listTemplate)("ngTemplateOutletContext",Te(6,X2,e.paginator?Gf(1,2,e.filteredValue||e.value,e.lazy?0:e.first,(e.lazy?0:e.first)+e.rows):e.filteredValue||e.value))}}function K$(t,n){t&1&&ne(0)}function Y$(t,n){if(t&1&&(C(0,K$,1,0,"ng-container",8),Wf(1,"slice")),t&2){let e=m();h("ngTemplateOutlet",e.gridTemplate)("ngTemplateOutletContext",Te(6,X2,e.paginator?Gf(1,2,e.filteredValue||e.value,e.lazy?0:e.first,(e.lazy?0:e.first)+e.rows):e.filteredValue||e.value))}}function Z$(t,n){if(t&1&&(re(0),ce(1),oe()),t&2){let e=m(2);g(),$t(" ",e.emptyMessageLabel," ")}}function J$(t,n){t&1&&ne(0,null,0)}function X$(t,n){if(t&1&&(I(0,"div",3),C(1,Z$,2,1,"ng-container",9)(2,J$,2,0,"ng-container",6),T()),t&2){let e=m();k(e.cx("emptyMessage")),h("pBind",e.ptm("emptyMessage")),g(),h("ngIf",!e.emptymessageTemplate)("ngIfElse",e.empty),g(),h("ngTemplateOutlet",e.emptymessageTemplate)}}function eU(t,n){if(t&1){let e=se();I(0,"p-paginator",7),K("onPageChange",function(r){E(e);let o=m();return S(o.paginate(r))}),T()}if(t&2){let e=m();h("rows",e.rows)("first",e.first)("totalRecords",e.totalRecords)("pageLinkSize",e.pageLinks)("alwaysShow",e.alwaysShowPaginator)("rowsPerPageOptions",e.rowsPerPageOptions)("appendTo",e.paginatorDropdownAppendTo)("dropdownScrollHeight",e.paginatorDropdownScrollHeight)("templateLeft",e.paginatorleft)("templateRight",e.paginatorright)("currentPageReportTemplate",e.currentPageReportTemplate)("showFirstLastIcon",e.showFirstLastIcon)("dropdownItemTemplate",e.paginatordropdownitem)("showCurrentPageReport",e.showCurrentPageReport)("showJumpToPageDropdown",e.showJumpToPageDropdown)("showPageLinks",e.showPageLinks)("styleClass",e.cn(e.cx("pcPaginator",Rr(18,B$)),e.paginatorStyleClass))("pt",e.ptm("pcPaginator"))}}function tU(t,n){t&1&&ne(0)}function nU(t,n){if(t&1&&(I(0,"div",3),Ot(1,1),C(2,tU,1,0,"ng-container",6),T()),t&2){let e=m();k(e.cx("footer")),h("pBind",e.ptm("footer")),g(2),h("ngTemplateOutlet",e.footerTemplate)}}var iU={root:({instance:t})=>["p-dataview p-component",{"p-dataview-list":t.layout==="list","p-dataview-grid":t.layout==="grid"}],header:"p-dataview-header",loading:"p-dataview-loading",loadingOverlay:"p-dataview-loading-overlay p-overlay-mask",loadingIcon:"p-dataview-loading-icon",pcPaginator:({position:t})=>"p-dataview-paginator-"+t,content:"p-dataview-content",emptyMessage:"p-dataview-empty-message",footer:"p-dataview-footer"},Z2=(()=>{class t extends Me{name="dataview";style=Y2;classes=iU;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var J2=new z("DATAVIEW_INSTANCE"),eR=(()=>{class t extends ut{bindDirectiveInstance=x(te,{self:!0});$pcDataView=x(J2,{optional:!0,skipSelf:!0})??void 0;onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}paginator;rows;totalRecords;pageLinks=5;rowsPerPageOptions;paginatorPosition="bottom";paginatorStyleClass;alwaysShowPaginator=!0;paginatorDropdownAppendTo;paginatorDropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showJumpToPageDropdown;showFirstLastIcon=!0;showPageLinks=!0;lazy;lazyLoadOnInit=!0;emptyMessage="";styleClass;gridStyleClass="";trackBy=(e,i)=>i;filterBy;filterLocale;loading;loadingIcon;first=0;sortField;sortOrder;value;layout="list";onLazyLoad=new H;onPage=new H;onSort=new H;onChangeLayout=new H;listTemplate;gridTemplate;headerTemplate;emptymessageTemplate;footerTemplate;paginatorleft;paginatorright;paginatordropdownitem;loadingicon;listicon;gridicon;header;footer;_value;filteredValue;filterValue;initialized;_layout="list";translationSubscription;_componentStyle=x(Z2);get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(xn.EMPTY_MESSAGE)}filterService=x(Bl);onInit(){this.lazy&&this.lazyLoadOnInit&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.cd.markForCheck()}),this.initialized=!0}onAfterViewInit(){}onChanges(e){e.layout&&!e.layout.firstChange&&this.onChangeLayout.emit({layout:e.layout.currentValue}),e.value&&(this._value=e.value.currentValue,this.updateTotalRecords(),!this.lazy&&this.hasFilter()&&this.filter(this.filterValue)),(e.sortField||e.sortOrder)&&(!this.lazy||this.initialized)&&this.sort()}updateTotalRecords(){this.totalRecords=this.lazy?this.totalRecords:this._value?this._value.length:0}paginate(e){this.first=e.first,this.rows=e.rows,this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.onPage.emit({first:this.first,rows:this.rows})}sort(){this.first=0,this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.value.sort((e,i)=>{let r=On(e,this.sortField),o=On(i,this.sortField),s;return r==null&&o!=null?s=-1:r!=null&&o==null?s=1:r==null&&o==null?s=0:typeof r=="string"&&typeof o=="string"?s=r.localeCompare(o):s=r<o?-1:r>o?1:0,this.sortOrder*s}),this.hasFilter()&&this.filter(this.filterValue)),this.onSort.emit({sortField:this.sortField,sortOrder:this.sortOrder})}isEmpty(){let e=this.filteredValue||this.value;return e==null||e.length==0}createLazyLoadMetadata(){return{first:this.first,rows:this.rows,sortField:this.sortField,sortOrder:this.sortOrder}}getBlockableElement(){return this.el.nativeElement.children[0]}filter(e,i="contains"){if(this.filterValue=e,this.value&&this.value.length){let r=this.filterBy.split(",");this.filteredValue=this.filterService.filter(this.value,r,e,i,this.filterLocale),this.filteredValue.length===this.value.length&&(this.filteredValue=null),this.paginator&&(this.first=0,this.totalRecords=this.filteredValue?this.filteredValue.length:this.value?this.value.length:0),this.cd.markForCheck()}}hasFilter(){return this.filterValue&&this.filterValue.trim().length>0}onDestroy(){this.translationSubscription&&this.translationSubscription.unsubscribe()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-dataView"],["p-dataview"],["p-data-view"]],contentQueries:function(i,r,o){if(i&1&&(V(o,T$,5),V(o,E$,5),V(o,S$,5),V(o,I$,5),V(o,D$,5),V(o,k$,5),V(o,M$,5),V(o,O$,5),V(o,R$,5),V(o,P$,5),V(o,A$,5),V(o,rk,5),V(o,ok,5)),i&2){let s;M(s=O())&&(r.listTemplate=s.first),M(s=O())&&(r.gridTemplate=s.first),M(s=O())&&(r.headerTemplate=s.first),M(s=O())&&(r.emptymessageTemplate=s.first),M(s=O())&&(r.footerTemplate=s.first),M(s=O())&&(r.paginatorleft=s.first),M(s=O())&&(r.paginatorright=s.first),M(s=O())&&(r.paginatordropdownitem=s.first),M(s=O())&&(r.loadingicon=s.first),M(s=O())&&(r.listicon=s.first),M(s=O())&&(r.gridicon=s.first),M(s=O())&&(r.header=s.first),M(s=O())&&(r.footer=s.first)}},hostVars:2,hostBindings:function(i,r){i&2&&k(r.cn(r.cx("root"),r.styleClass))},inputs:{paginator:[2,"paginator","paginator",R],rows:[2,"rows","rows",ke],totalRecords:[2,"totalRecords","totalRecords",ke],pageLinks:[2,"pageLinks","pageLinks",ke],rowsPerPageOptions:"rowsPerPageOptions",paginatorPosition:"paginatorPosition",paginatorStyleClass:"paginatorStyleClass",alwaysShowPaginator:[2,"alwaysShowPaginator","alwaysShowPaginator",R],paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:[2,"showCurrentPageReport","showCurrentPageReport",R],showJumpToPageDropdown:[2,"showJumpToPageDropdown","showJumpToPageDropdown",R],showFirstLastIcon:[2,"showFirstLastIcon","showFirstLastIcon",R],showPageLinks:[2,"showPageLinks","showPageLinks",R],lazy:[2,"lazy","lazy",R],lazyLoadOnInit:[2,"lazyLoadOnInit","lazyLoadOnInit",R],emptyMessage:"emptyMessage",styleClass:"styleClass",gridStyleClass:"gridStyleClass",trackBy:"trackBy",filterBy:"filterBy",filterLocale:"filterLocale",loading:[2,"loading","loading",R],loadingIcon:"loadingIcon",first:[2,"first","first",ke],sortField:"sortField",sortOrder:[2,"sortOrder","sortOrder",ke],value:"value",layout:"layout"},outputs:{onLazyLoad:"onLazyLoad",onPage:"onPage",onSort:"onSort",onChangeLayout:"onChangeLayout"},features:[Se([Z2,{provide:J2,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],ngContentSelectors:F$,decls:9,vars:11,consts:[["empty",""],[3,"pBind","class"],[3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","appendTo","dropdownScrollHeight","templateLeft","templateRight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","styleClass","pt"],[3,"pBind"],[3,"class"],["data-p-icon","spinner",3,"pBind","spin"],[4,"ngTemplateOutlet"],[3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","appendTo","dropdownScrollHeight","templateLeft","templateRight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","styleClass","pt"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"]],template:function(i,r){i&1&&(zt(N$),ot(0,$$,4,7,"div",1),ot(1,W$,3,4,"div",1),ot(2,G$,1,19,"p-paginator",2),I(3,"div",3),ot(4,Q$,2,8,"ng-container"),ot(5,Y$,2,8,"ng-container"),ot(6,X$,3,6,"div",1),T(),ot(7,eU,1,19,"p-paginator",2),ot(8,nU,3,4,"div",1)),i&2&&(st(r.loading?0:-1),g(),st(r.header||r.headerTemplate?1:-1),g(),st(r.paginator&&(r.paginatorPosition==="top"||r.paginatorPosition=="both")?2:-1),g(),k(r.cx("content")),h("pBind",r.ptm("content")),g(),st(r.layout==="list"?4:-1),g(),st(r.layout==="grid"?5:-1),g(),st(r.isEmpty()&&!r.loading?6:-1),g(),st(r.paginator&&(r.paginatorPosition==="bottom"||r.paginatorPosition=="both")?7:-1),g(),st(r.footer||r.footerTemplate?8:-1))},dependencies:[qe,Ut,kt,zm,Pu,wo,xe,te,Vb],encapsulation:2,changeDetection:0})}return t})();var tR=Yr`
query GetProductsForList($input: ProductSearchInput) {
getProducts(input: $input) {
isLastPage
totalItems
items {
id
...BaseModel
identifier
description
primaryProductGroup {
...BaseModel
identifier
description
}
featuredAsset {
...BaseModel
source
preview
name
displayName
height
width
}
}
}
}
${pc}
`;var nR=`
.p-togglebutton {
display: inline-flex;
cursor: pointer;
user-select: none;
overflow: hidden;
position: relative;
color: dt('togglebutton.color');
background: dt('togglebutton.background');
border: 1px solid dt('togglebutton.border.color');
padding: dt('togglebutton.padding');
font-size: 1rem;
font-family: inherit;
font-feature-settings: inherit;
transition:
background dt('togglebutton.transition.duration'),
color dt('togglebutton.transition.duration'),
border-color dt('togglebutton.transition.duration'),
outline-color dt('togglebutton.transition.duration'),
box-shadow dt('togglebutton.transition.duration');
border-radius: dt('togglebutton.border.radius');
outline-color: transparent;
font-weight: dt('togglebutton.font.weight');
}
.p-togglebutton-content {
display: inline-flex;
flex: 1 1 auto;
align-items: center;
justify-content: center;
gap: dt('togglebutton.gap');
padding: dt('togglebutton.content.padding');
background: transparent;
border-radius: dt('togglebutton.content.border.radius');
transition:
background dt('togglebutton.transition.duration'),
color dt('togglebutton.transition.duration'),
border-color dt('togglebutton.transition.duration'),
outline-color dt('togglebutton.transition.duration'),
box-shadow dt('togglebutton.transition.duration');
}
.p-togglebutton:not(:disabled):not(.p-togglebutton-checked):hover {
background: dt('togglebutton.hover.background');
color: dt('togglebutton.hover.color');
}
.p-togglebutton.p-togglebutton-checked {
background: dt('togglebutton.checked.background');
border-color: dt('togglebutton.checked.border.color');
color: dt('togglebutton.checked.color');
}
.p-togglebutton-checked .p-togglebutton-content {
background: dt('togglebutton.content.checked.background');
box-shadow: dt('togglebutton.content.checked.shadow');
}
.p-togglebutton:focus-visible {
box-shadow: dt('togglebutton.focus.ring.shadow');
outline: dt('togglebutton.focus.ring.width') dt('togglebutton.focus.ring.style') dt('togglebutton.focus.ring.color');
outline-offset: dt('togglebutton.focus.ring.offset');
}
.p-togglebutton.p-invalid {
border-color: dt('togglebutton.invalid.border.color');
}
.p-togglebutton:disabled {
opacity: 1;
cursor: default;
background: dt('togglebutton.disabled.background');
border-color: dt('togglebutton.disabled.border.color');
color: dt('togglebutton.disabled.color');
}
.p-togglebutton-label,
.p-togglebutton-icon {
position: relative;
transition: none;
}
.p-togglebutton-icon {
color: dt('togglebutton.icon.color');
}
.p-togglebutton:not(:disabled):not(.p-togglebutton-checked):hover .p-togglebutton-icon {
color: dt('togglebutton.icon.hover.color');
}
.p-togglebutton.p-togglebutton-checked .p-togglebutton-icon {
color: dt('togglebutton.icon.checked.color');
}
.p-togglebutton:disabled .p-togglebutton-icon {
color: dt('togglebutton.icon.disabled.color');
}
.p-togglebutton-sm {
padding: dt('togglebutton.sm.padding');
font-size: dt('togglebutton.sm.font.size');
}
.p-togglebutton-sm .p-togglebutton-content {
padding: dt('togglebutton.content.sm.padding');
}
.p-togglebutton-lg {
padding: dt('togglebutton.lg.padding');
font-size: dt('togglebutton.lg.font.size');
}
.p-togglebutton-lg .p-togglebutton-content {
padding: dt('togglebutton.content.lg.padding');
}
.p-togglebutton-fluid {
width: 100%;
}
`;var rU=["icon"],oU=["content"],oR=t=>({$implicit:t});function sU(t,n){t&1&&ne(0)}function aU(t,n){if(t&1&&ee(0,"span",0),t&2){let e=m(3);k(e.cn(e.cx("icon"),e.checked?e.onIcon:e.offIcon,e.iconPos==="left"?e.cx("iconLeft"):e.cx("iconRight"))),h("pBind",e.ptm("icon"))}}function lU(t,n){if(t&1&&ot(0,aU,1,3,"span",2),t&2){let e=m(2);st(e.onIcon||e.offIcon?0:-1)}}function cU(t,n){t&1&&ne(0)}function dU(t,n){if(t&1&&C(0,cU,1,0,"ng-container",1),t&2){let e=m(2);h("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)("ngTemplateOutletContext",Te(2,oR,e.checked))}}function uU(t,n){if(t&1&&(ot(0,lU,1,1)(1,dU,1,4,"ng-container"),I(2,"span",0),ce(3),T()),t&2){let e=m();st(e.iconTemplate?1:0),g(2),k(e.cx("label")),h("pBind",e.ptm("label")),g(),Xe(e.checked?e.hasOnLabel?e.onLabel:"\xA0":e.hasOffLabel?e.offLabel:"\xA0")}}var pU=`
${nR}
/* For PrimeNG (iconPos) */
.p-togglebutton-icon-right {
order: 1;
}
.p-togglebutton.ng-invalid.ng-dirty {
border-color: dt('togglebutton.invalid.border.color');
}
`,fU={root:({instance:t})=>["p-togglebutton p-component",{"p-togglebutton-checked":t.checked,"p-invalid":t.invalid(),"p-disabled":t.$disabled(),"p-togglebutton-sm p-inputfield-sm":t.size==="small","p-togglebutton-lg p-inputfield-lg":t.size==="large","p-togglebutton-fluid":t.fluid()}],content:"p-togglebutton-content",icon:"p-togglebutton-icon",iconLeft:"p-togglebutton-icon-left",iconRight:"p-togglebutton-icon-right",label:"p-togglebutton-label"},iR=(()=>{class t extends Me{name="togglebutton";style=pU;classes=fU;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var rR=new z("TOGGLEBUTTON_INSTANCE"),hU={provide:Vn,useExisting:Jt(()=>lw),multi:!0},lw=(()=>{class t extends Zr{$pcToggleButton=x(rR,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}onKeyDown(e){switch(e.code){case"Enter":this.toggle(e),e.preventDefault();break;case"Space":this.toggle(e),e.preventDefault();break}}toggle(e){!this.$disabled()&&!(this.allowEmpty===!1&&this.checked)&&(this.checked=!this.checked,this.writeModelValue(this.checked),this.onModelChange(this.checked),this.onModelTouched(),this.onChange.emit({originalEvent:e,checked:this.checked}),this.cd.markForCheck())}onLabel="Yes";offLabel="No";onIcon;offIcon;ariaLabel;ariaLabelledBy;styleClass;inputId;tabindex=0;iconPos="left";autofocus;size;allowEmpty;fluid=ae(void 0,{transform:R});onChange=new H;iconTemplate;contentTemplate;templates;checked=!1;onInit(){(this.checked===null||this.checked===void 0)&&(this.checked=!1)}_componentStyle=x(iR);onBlur(){this.onModelTouched()}get hasOnLabel(){return this.onLabel&&this.onLabel.length>0}get hasOffLabel(){return this.offLabel&&this.offLabel.length>0}get active(){return this.checked===!0}_iconTemplate;_contentTemplate;onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"icon":this._iconTemplate=e.template;break;case"content":this._contentTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}writeControlValue(e,i){this.checked=e,i(e),this.cd.markForCheck()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-toggleButton"],["p-togglebutton"],["p-toggle-button"]],contentQueries:function(i,r,o){if(i&1&&(V(o,rU,4),V(o,oU,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.iconTemplate=s.first),M(s=O())&&(r.contentTemplate=s.first),M(s=O())&&(r.templates=s)}},hostVars:8,hostBindings:function(i,r){i&1&&K("keydown",function(s){return r.onKeyDown(s)})("click",function(s){return r.toggle(s)}),i&2&&(J("aria-labelledby",r.ariaLabelledBy)("aria-label",r.ariaLabel)("aria-pressed",r.checked?"true":"false")("role","button")("tabindex",r.tabindex!==void 0?r.tabindex:r.$disabled()?-1:0)("data-pc-name","togglebutton"),k(r.cn(r.cx("root"),r.styleClass)))},inputs:{onLabel:"onLabel",offLabel:"offLabel",onIcon:"onIcon",offIcon:"offIcon",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",styleClass:"styleClass",inputId:"inputId",tabindex:[2,"tabindex","tabindex",ke],iconPos:"iconPos",autofocus:[2,"autofocus","autofocus",R],size:"size",allowEmpty:"allowEmpty",fluid:[1,"fluid"]},outputs:{onChange:"onChange"},features:[Se([hU,iR,{provide:rR,useExisting:t},{provide:Qe,useExisting:t}]),nt([$r,te]),j],decls:3,vars:8,consts:[[3,"pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"class","pBind"]],template:function(i,r){i&1&&(I(0,"span",0),C(1,sU,1,0,"ng-container",1),ot(2,uU,4,5),T()),i&2&&(k(r.cx("content")),h("pBind",r.ptm("content")),g(),h("ngTemplateOutlet",r.contentTemplate||r._contentTemplate)("ngTemplateOutletContext",Te(6,oR,r.checked)),g(),st(r.contentTemplate?-1:2))},dependencies:[qe,kt,xe,Wt,te],encapsulation:2,changeDetection:0})}return t})();var sR=`
.p-selectbutton {
display: inline-flex;
user-select: none;
vertical-align: bottom;
outline-color: transparent;
border-radius: dt('selectbutton.border.radius');
}
.p-selectbutton .p-togglebutton {
border-radius: 0;
border-width: 1px 1px 1px 0;
}
.p-selectbutton .p-togglebutton:focus-visible {
position: relative;
z-index: 1;
}
.p-selectbutton .p-togglebutton:first-child {
border-inline-start-width: 1px;
border-start-start-radius: dt('selectbutton.border.radius');
border-end-start-radius: dt('selectbutton.border.radius');
}
.p-selectbutton .p-togglebutton:last-child {
border-start-end-radius: dt('selectbutton.border.radius');
border-end-end-radius: dt('selectbutton.border.radius');
}
.p-selectbutton.p-invalid {
outline: 1px solid dt('selectbutton.invalid.border.color');
outline-offset: 0;
}
.p-selectbutton-fluid {
width: 100%;
}
.p-selectbutton-fluid .p-togglebutton {
flex: 1 1 0;
}
`;var mU=["item"],gU=(t,n)=>({$implicit:t,index:n});function yU(t,n){return this.getOptionLabel(n)}function bU(t,n){t&1&&ne(0)}function vU(t,n){if(t&1&&C(0,bU,1,0,"ng-container",3),t&2){let e=m(2),i=e.$implicit,r=e.$index,o=m();h("ngTemplateOutlet",o.itemTemplate||o._itemTemplate)("ngTemplateOutletContext",Dt(2,gU,i,r))}}function _U(t,n){t&1&&C(0,vU,1,5,"ng-template",null,0,at)}function wU(t,n){if(t&1){let e=se();I(0,"p-togglebutton",2),K("onChange",function(r){let o=E(e),s=o.$implicit,a=o.$index,l=m();return S(l.onOptionSelect(r,s,a))}),ot(1,_U,2,0),T()}if(t&2){let e=n.$implicit,i=m();h("autofocus",i.autofocus)("styleClass",i.styleClass)("ngModel",i.isSelected(e))("onLabel",i.getOptionLabel(e))("offLabel",i.getOptionLabel(e))("disabled",i.$disabled()||i.isOptionDisabled(e))("allowEmpty",i.getAllowEmpty())("size",i.size())("fluid",i.fluid())("pt",i.ptm("pcToggleButton")),g(),st(i.itemTemplate||i._itemTemplate?1:-1)}}var CU=`
${sR}
/* For PrimeNG */
.p-selectbutton.ng-invalid.ng-dirty {
outline: 1px solid dt('selectbutton.invalid.border.color');
outline-offset: 0;
}
`,xU={root:({instance:t})=>["p-selectbutton p-component",{"p-invalid":t.invalid(),"p-selectbutton-fluid":t.fluid()}]},aR=(()=>{class t extends Me{name="selectbutton";style=CU;classes=xU;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var lR=new z("SELECTBUTTON_INSTANCE"),TU={provide:Vn,useExisting:Jt(()=>Hm),multi:!0},Hm=(()=>{class t extends Zr{options;optionLabel;optionValue;optionDisabled;get unselectable(){return this._unselectable}_unselectable=!1;set unselectable(e){this._unselectable=e,this.allowEmpty=!e}tabindex=0;multiple;allowEmpty=!0;styleClass;ariaLabelledBy;dataKey;autofocus;size=ae();fluid=ae(void 0,{transform:R});onOptionClick=new H;onChange=new H;itemTemplate;_itemTemplate;get equalityKey(){return this.optionValue?null:this.dataKey}value;focusedIndex=0;_componentStyle=x(aR);$pcSelectButton=x(lR,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}getAllowEmpty(){return this.multiple?this.allowEmpty||this.value?.length!==1:this.allowEmpty}getOptionLabel(e){return this.optionLabel?On(e,this.optionLabel):e.label!=null?e.label:e}getOptionValue(e){return this.optionValue?On(e,this.optionValue):this.optionLabel||e.value===void 0?e:e.value}isOptionDisabled(e){return this.optionDisabled?On(e,this.optionDisabled):e.disabled!==void 0?e.disabled:!1}onOptionSelect(e,i,r){if(this.$disabled()||this.isOptionDisabled(i))return;let o=this.isSelected(i);if(o&&this.unselectable)return;let s=this.getOptionValue(i),a;if(this.multiple)o?a=this.value.filter(l=>!ei(l,s,this.equalityKey||void 0)):a=this.value?[...this.value,s]:[s];else{if(o&&!this.allowEmpty)return;a=o?null:s}this.focusedIndex=r,this.value=a,this.writeModelValue(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}),this.onOptionClick.emit({originalEvent:e,option:i,index:r})}changeTabIndexes(e,i){let r,o;for(let s=0;s<=this.el.nativeElement.children.length-1;s++)this.el.nativeElement.children[s].getAttribute("tabindex")==="0"&&(r={elem:this.el.nativeElement.children[s],index:s});i==="prev"?r.index===0?o=this.el.nativeElement.children.length-1:o=r.index-1:r.index===this.el.nativeElement.children.length-1?o=0:o=r.index+1,this.focusedIndex=o,this.el.nativeElement.children[o].focus()}onFocus(e,i){this.focusedIndex=i}onBlur(){this.onModelTouched()}removeOption(e){this.value=this.value.filter(i=>!ei(i,this.getOptionValue(e),this.dataKey))}isSelected(e){let i=!1,r=this.getOptionValue(e);if(this.multiple){if(this.value&&Array.isArray(this.value)){for(let o of this.value)if(ei(o,r,this.dataKey)){i=!0;break}}}else i=ei(this.getOptionValue(e),this.value,this.equalityKey||void 0);return i}templates;onAfterContentInit(){this.templates.forEach(e=>{e.getType()==="item"&&(this._itemTemplate=e.template)})}writeControlValue(e,i){this.value=e,i(this.value),this.cd.markForCheck()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-selectButton"],["p-selectbutton"],["p-select-button"]],contentQueries:function(i,r,o){if(i&1&&(V(o,mU,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.itemTemplate=s.first),M(s=O())&&(r.templates=s)}},hostVars:4,hostBindings:function(i,r){i&2&&(J("role","group")("aria-labelledby",r.ariaLabelledBy),k(r.cx("root")))},inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",unselectable:[2,"unselectable","unselectable",R],tabindex:[2,"tabindex","tabindex",ke],multiple:[2,"multiple","multiple",R],allowEmpty:[2,"allowEmpty","allowEmpty",R],styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",dataKey:"dataKey",autofocus:[2,"autofocus","autofocus",R],size:[1,"size"],fluid:[1,"fluid"]},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[Se([TU,aR,{provide:lR,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],decls:2,vars:0,consts:[["content",""],[3,"autofocus","styleClass","ngModel","onLabel","offLabel","disabled","allowEmpty","size","fluid","pt"],[3,"onChange","autofocus","styleClass","ngModel","onLabel","offLabel","disabled","allowEmpty","size","fluid","pt"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,r){i&1&&Zo(0,wU,2,11,"p-togglebutton",1,yU,!0),i&2&&Jo(r.options)},dependencies:[lw,ys,mc,Ea,qe,kt,xe,Wt],encapsulation:2,changeDetection:0})}return t})(),cR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[Hm,xe,xe]})}return t})();function bc(t){return`${Ht.serverUrl}${t}`}var EU=["dt2"],SU=(t,n)=>({"fa-bars":t,"fa-table":n});function IU(t,n){if(t&1){let e=se();I(0,"p-inputicon",17),K("click",function(){E(e),m();let r=pn(6),o=m();return o.searchTrigger.next(""),o.filterValue.set(""),S(r.focus())}),T()}}function DU(t,n){if(t&1&&ee(0,"i",18),t&2){let e=n.$implicit;h("ngClass",Dt(1,SU,e==="list",e==="grid"))}}function kU(t,n){if(t&1){let e=se();I(0,"div",9)(1,"div",10)(2,"p-iconfield",11)(3,"p-iconfield",12),ee(4,"p-inputicon",13),I(5,"input",14,5),ki("ngModelChange",function(r){E(e);let o=m();return Zi(o.filterValue,r)||(o.filterValue=r),S(r)}),K("input",function(r){E(e);let o=m();return S(o.searchTrigger.next(r.target.value))}),T()(),ot(7,IU,1,0,"p-inputicon",15),T()(),I(8,"p-selectbutton",16),ki("ngModelChange",function(r){E(e);let o=m();return Zi(o.layout,r)||(o.layout=r),S(r)}),K("ngModelChange",function(r){E(e);let o=m();return S(o.onLayoutChange(r))}),C(9,DU,1,4,"ng-template",null,6,at),T()()}if(t&2){let e=m();g(5),Di("ngModel",e.filterValue),g(2),st(e.filterValue()?7:-1),g(),Di("ngModel",e.layout),h("options",e.layoutOptions)("allowEmpty",!1)}}function MU(t,n){if(t&1&&ee(0,"img",22),t&2){let e=m().$implicit,i=m(2);h("src",i.getPhxUrl(e.featuredAsset==null?null:e.featuredAsset.source),Ys)("alt",e.featuredAsset==null?null:e.featuredAsset.name)}}function OU(t,n){if(t&1){let e=se();I(0,"div",20)(1,"div",21),ot(2,MU,1,2,"img",22),I(3,"div",23)(4,"div")(5,"h3",24),ce(6),T(),I(7,"p",25),ce(8),T()(),I(9,"p-button",26),K("click",function(){let r=E(e).$implicit,o=m(2);return S(o.openProduct(r))}),T()()()()}if(t&2){let e=n.$implicit;g(2),st(e.featuredAsset!=null&&e.featuredAsset.source?2:-1),g(4),Xe(e.identifier),g(2),Xe(e.description)}}function RU(t,n){if(t&1&&(I(0,"div",19),Zo(1,OU,10,3,"div",20,zf),T()),t&2){let e=n.$implicit;g(),Jo(e)}}function PU(t,n){if(t&1&&ee(0,"img",28),t&2){let e=m().$implicit,i=m(2);h("src",i.getPhxUrl(e.featuredAsset==null?null:e.featuredAsset.source),Ys)("alt",e.featuredAsset==null?null:e.featuredAsset.name)}}function AU(t,n){if(t&1){let e=se();I(0,"div",20),ot(1,PU,1,2,"img",28),I(2,"div",29)(3,"div")(4,"h3",24),ce(5),T(),I(6,"p",25),ce(7),T()(),I(8,"p-button",30),K("click",function(){let r=E(e).$implicit,o=m(2);return S(o.openProduct(r))}),T()()()}if(t&2){let e=n.$implicit;g(),st(e.featuredAsset!=null&&e.featuredAsset.source?1:-1),g(4),Xe(e.identifier),g(2),Xe(e.description)}}function NU(t,n){if(t&1&&(I(0,"div",27),Zo(1,AU,9,3,"div",20,zf),T()),t&2){let e=n.$implicit;g(),Jo(e)}}function FU(t,n){t&1&&(I(0,"div",31),ce(1,"No results found"),T())}function LU(t,n){t&1&&(I(0,"div",31),ce(1,"No products found"),T())}function BU(t,n){if(t&1&&ot(0,FU,2,0,"div",31)(1,LU,2,0,"div",31),t&2){let e=m();st(e.filterValue()?0:1)}}var $m=class t{constructor(n){this.apollo=n;this.searchTrigger.pipe(jg(800),Pc()).subscribe(e=>{this.onLazyLoad()})}apollo;router=x(Pi);dataViewComponent=sI("dt2");products=_e([]);loading=ae(!1);layout=_e(localStorage.getItem("product-view-layout")==="list"?"list":"grid");layoutOptions=["list","grid"];listPageOptions=[10,25,50,75,100];gridPageOptions=[12,24,48,72,96];listRows=_e(localStorage.getItem("product-view-list-rows")?parseInt(localStorage.getItem("product-view-list-rows")):25);gridRows=_e(localStorage.getItem("product-view-grid-rows")?parseInt(localStorage.getItem("product-view-grid-rows")):12);rows=We(()=>this.layout()==="list"?this.listRows():this.gridRows());currentTotalProducts=_e(0);filterValue=_e("");getPhxUrl=bc;searchTrigger=new Ge;getProducts=(...e)=>gt(this,[...e],function*(n={}){return(yield vr(this.apollo.apollo().query({query:tR,variables:{input:n}})))?.data?.getProducts});onLazyLoad(n){return gt(this,null,function*(){let e=yield this.getProducts({take:n?.rows??this.rows(),skip:n?.first??0,term:this.filterValue()});(n?.rows??-1)>=0&&n.rows!=this.rows()&&(this.layout()==="list"?(this.listRows.set(n.rows),localStorage.setItem("product-view-list-rows",n.rows.toString())):(this.gridRows.set(n.rows),localStorage.setItem("product-view-grid-rows",n.rows.toString()))),this.products.set(e?.items??[]),this.currentTotalProducts.set(e?.totalItems??0)})}openProduct(n){window.open(bc("/products/edit/"+n.id),"_blank")}onLayoutChange(n){this.layout.set(n),this.dataViewComponent()&&(this.dataViewComponent().first=0),localStorage.setItem("product-view-layout",n),this.onLazyLoad()}static \u0275fac=function(e){return new(e||t)(me(gs))};static \u0275cmp=$({type:t,selectors:[["app-product-view"]],viewQuery:function(e,i){e&1&&yb(i.dataViewComponent,EU,5),e&2&&Hf()},inputs:{loading:[1,"loading"]},decls:11,vars:8,consts:[["dt2",""],["header",""],["list",""],["grid",""],["emptymessage",""],["searchInput",""],["item",""],["title","Product View"],["lazy","",3,"onLazyLoad","value","paginator","lazy","totalRecords","loading","layout","rowsPerPageOptions","rows"],[1,"flex","justify-between","items-center","gap-4"],[1,"w-full"],["iconPosition","right",1,"mr-auto","drop-shadow"],["iconPosition","left",1,"ml-auto"],[1,"fa","fa-search"],["pInputText","","type","text","placeholder","Search...","fluid","",3,"ngModelChange","input","ngModel"],[1,"fa","fa-circle-xmark","cursor-pointer"],[1,"drop-shadow",3,"ngModelChange","ngModel","options","allowEmpty"],[1,"fa","fa-circle-xmark","cursor-pointer",3,"click"],[1,"fa",3,"ngClass"],[1,"flex","flex-col","gap-2","p-2"],[1,"bg-white","border","rounded-lg","p-4","drop-shadow-lg"],[1,"flex","items-center","gap-2"],[1,"w-16","h-16","p-1","rounded-lg","border",2,"object-fit","contain",3,"src","alt"],[1,"flex","justify-between","gap-2","w-full","items-center"],[1,"text-lg","font-bold","truncate"],[1,"text-sm","text-gray-500","line-clamp-2"],["icon","fa fa-arrow-up-right-from-square","size","large","text","","rounded","","outlined","",3,"click"],[1,"grid","grid-cols-2","sm:grid-cols-3","gap-2","p-2"],[1,"w-32","h-32","p-1","mx-auto","mb-4","rounded-lg","border",2,"object-fit","contain",3,"src","alt"],[1,"flex","justify-between","gap-2"],["icon","fa fa-arrow-up-right-from-square","size","small","text","","rounded","","outlined","",3,"click"],[1,"text-center","p-8","italic","text-muted-color"]],template:function(e,i){if(e&1){let r=se();I(0,"app-base",7)(1,"p-dataView",8,0),K("onLazyLoad",function(s){return E(r),S(i.onLazyLoad(s))}),C(3,kU,11,5,"ng-template",null,1,at)(5,RU,3,0,"ng-template",null,2,at)(7,NU,3,0,"ng-template",null,3,at)(9,BU,2,1,"ng-template",null,4,at),T()()}e&2&&(g(),h("value",i.products())("paginator",!0)("lazy",!0)("totalRecords",i.currentTotalProducts())("loading",i.loading())("layout",i.layout())("rowsPerPageOptions",i.layout()==="list"?i.listPageOptions:i.gridPageOptions)("rows",i.rows()))},dependencies:[os,eR,Hm,ys,Mm,mc,Ea,Ji,Ni,bs,Pm,Am],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type=button]), input[_ngcontent-%COMP%]:where([type=reset]), input[_ngcontent-%COMP%]:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden=until-found])){display:none}.visible[_ngcontent-%COMP%]{visibility:visible}.absolute[_ngcontent-%COMP%]{position:absolute}.col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.ml-auto[_ngcontent-%COMP%]{margin-left:auto}.mr-auto[_ngcontent-%COMP%]{margin-right:auto}.mt-4[_ngcontent-%COMP%]{margin-top:1rem}.line-clamp-2[_ngcontent-%COMP%]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block[_ngcontent-%COMP%]{display:block}.flex[_ngcontent-%COMP%]{display:flex}.table[_ngcontent-%COMP%]{display:table}.grid[_ngcontent-%COMP%]{display:grid}.h-16[_ngcontent-%COMP%]{height:4rem}.h-32[_ngcontent-%COMP%]{height:8rem}.h-screen[_ngcontent-%COMP%]{height:100vh}.min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.w-16[_ngcontent-%COMP%]{width:4rem}.w-32[_ngcontent-%COMP%]{width:8rem}.w-full[_ngcontent-%COMP%]{width:100%}.w-screen[_ngcontent-%COMP%]{width:100vw}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}to{opacity:1}}.animate-fadein[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadein .5s ease-in-out}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.bg-gray-100\\/50[_ngcontent-%COMP%]{background-color:#f3f4f680}.bg-red-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1[_ngcontent-%COMP%]{padding:.25rem}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-8[_ngcontent-%COMP%]{padding:2rem}.pt-4[_ngcontent-%COMP%]{padding-top:1rem}.text-center[_ngcontent-%COMP%]{text-align:center}.text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.font-bold[_ngcontent-%COMP%]{font-weight:700}.italic[_ngcontent-%COMP%]{font-style:italic}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-20[_ngcontent-%COMP%]{opacity:.2}.drop-shadow[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.duration-1000[_ngcontent-%COMP%]{transition-duration:1s}.animate-alternate[_ngcontent-%COMP%]{animation-direction:alternate}.animate-duration-\\__ph-0__[_ngcontent-%COMP%]{animation-duration:1.5s}.animate-infinite[_ngcontent-%COMP%]{animation-iteration-count:infinite}.text-muted-color[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}@keyframes _ngcontent-%COMP%_enter{0%{opacity:var(--p-enter-opacity, 1);transform:translate3d(var(--p-enter-translate-x, 0),var(--p-enter-translate-y, 0),0) scale3d(var(--p-enter-scale, 1),var(--p-enter-scale, 1),var(--p-enter-scale, 1)) rotate(var(--p-enter-rotate, 0))}}@keyframes _ngcontent-%COMP%_leave{to{opacity:var(--p-leave-opacity, 1);transform:translate3d(var(--p-leave-translate-x, 0),var(--p-leave-translate-y, 0),0) scale3d(var(--p-leave-scale, 1),var(--p-leave-scale, 1),var(--p-leave-scale, 1)) rotate(var(--p-leave-rotate, 0))}} .p-dataview-content{background:transparent!important} .p-dataview-header, p-paginator{border-width:1px!important;border-radius:12px!important;margin-left:.5rem!important;margin-right:.5rem!important;--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}input[pInputText][_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important;border-width:1px!important}.hover\\:text-blue-700[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}@media(min-width:640px){.sm\\:grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}']})};var Um=class t{constructor(n){this.route=n;this.route.queryParams.subscribe(e=>{let i=e.authToken;if(i){let r=decodeURIComponent(atob(e.redirectTo));localStorage.setItem("api-key",i),window.history.replaceState({},"",r),window.location.href=r}})}route;static \u0275fac=function(e){return new(e||t)(me(Fr))};static \u0275cmp=$({type:t,selectors:[["app-login"]],decls:3,vars:0,consts:[[1,"flex","flex-col","items-center","justify-center","h-screen","w-screen","opacity-20"],[1,"animate-fadein","duration-1000","animate-infinite","animate-alternate","text-4xl"]],template:function(e,i){e&1&&(Ze(0,"div",0)(1,"div",1),ce(2,"Signing in..."),Je()())},styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type=button]), input[_ngcontent-%COMP%]:where([type=reset]), input[_ngcontent-%COMP%]:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden=until-found])){display:none}.visible[_ngcontent-%COMP%]{visibility:visible}.absolute[_ngcontent-%COMP%]{position:absolute}.col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.ml-auto[_ngcontent-%COMP%]{margin-left:auto}.mr-auto[_ngcontent-%COMP%]{margin-right:auto}.mt-4[_ngcontent-%COMP%]{margin-top:1rem}.line-clamp-2[_ngcontent-%COMP%]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block[_ngcontent-%COMP%]{display:block}.flex[_ngcontent-%COMP%]{display:flex}.table[_ngcontent-%COMP%]{display:table}.grid[_ngcontent-%COMP%]{display:grid}.h-16[_ngcontent-%COMP%]{height:4rem}.h-32[_ngcontent-%COMP%]{height:8rem}.h-screen[_ngcontent-%COMP%]{height:100vh}.min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.w-16[_ngcontent-%COMP%]{width:4rem}.w-32[_ngcontent-%COMP%]{width:8rem}.w-full[_ngcontent-%COMP%]{width:100%}.w-screen[_ngcontent-%COMP%]{width:100vw}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}to{opacity:1}}.animate-fadein[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadein .5s ease-in-out}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.bg-gray-100\\/50[_ngcontent-%COMP%]{background-color:#f3f4f680}.bg-red-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1[_ngcontent-%COMP%]{padding:.25rem}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-8[_ngcontent-%COMP%]{padding:2rem}.pt-4[_ngcontent-%COMP%]{padding-top:1rem}.text-center[_ngcontent-%COMP%]{text-align:center}.text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.font-bold[_ngcontent-%COMP%]{font-weight:700}.italic[_ngcontent-%COMP%]{font-style:italic}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-20[_ngcontent-%COMP%]{opacity:.2}.drop-shadow[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.duration-1000[_ngcontent-%COMP%]{transition-duration:1s}.animate-alternate[_ngcontent-%COMP%]{animation-direction:alternate}.animate-infinite[_ngcontent-%COMP%]{animation-iteration-count:infinite}.text-muted-color[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}@keyframes _ngcontent-%COMP%_enter{0%{opacity:var(--p-enter-opacity, 1);transform:translate3d(var(--p-enter-translate-x, 0),var(--p-enter-translate-y, 0),0) scale3d(var(--p-enter-scale, 1),var(--p-enter-scale, 1),var(--p-enter-scale, 1)) rotate(var(--p-enter-rotate, 0))}}@keyframes _ngcontent-%COMP%_leave{to{opacity:var(--p-leave-opacity, 1);transform:translate3d(var(--p-leave-translate-x, 0),var(--p-leave-translate-y, 0),0) scale3d(var(--p-leave-scale, 1),var(--p-leave-scale, 1),var(--p-leave-scale, 1)) rotate(var(--p-leave-rotate, 0))}}.hover\\:text-blue-700[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}@media(min-width:640px){.sm\\:grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}']})};var Ia=class t{canActivate(n,e){let i=Ht.apiKey??localStorage.getItem("api-key");if(!Ht.production&&!i){let r=encodeURIComponent(btoa(`${window.location.protocol}//${window.location.host}/login?redirectTo=${encodeURIComponent(btoa(window.location.href))}`));return window.location.href=`${Ht.serverUrl}/login?redirectTo=${r}`,!1}return!0}static \u0275fac=function(e){return new(e||t)};static \u0275prov=N({token:t,factory:t.\u0275fac})};var dR=`
.p-datatable {
position: relative;
display: block;
}
.p-datatable-table {
border-spacing: 0;
border-collapse: separate;
width: 100%;
}
.p-datatable-scrollable > .p-datatable-table-container {
position: relative;
}
.p-datatable-scrollable-table > .p-datatable-thead {
inset-block-start: 0;
z-index: 1;
}
.p-datatable-scrollable-table > .p-datatable-frozen-tbody {
position: sticky;
z-index: 1;
}
.p-datatable-scrollable-table > .p-datatable-tfoot {
inset-block-end: 0;
z-index: 1;
}
.p-datatable-scrollable .p-datatable-frozen-column {
position: sticky;
}
.p-datatable-scrollable th.p-datatable-frozen-column {
z-index: 1;
}
.p-datatable-scrollable td.p-datatable-frozen-column {
background: inherit;
}
.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-thead,
.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-thead {
background: dt('datatable.header.cell.background');
}
.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-tfoot,
.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-tfoot {
background: dt('datatable.footer.cell.background');
}
.p-datatable-flex-scrollable {
display: flex;
flex-direction: column;
height: 100%;
}
.p-datatable-flex-scrollable > .p-datatable-table-container {
display: flex;
flex-direction: column;
flex: 1;
height: 100%;
}
.p-datatable-scrollable-table > .p-datatable-tbody > .p-datatable-row-group-header {
position: sticky;
z-index: 1;
}
.p-datatable-resizable-table > .p-datatable-thead > tr > th,
.p-datatable-resizable-table > .p-datatable-tfoot > tr > td,
.p-datatable-resizable-table > .p-datatable-tbody > tr > td {
overflow: hidden;
white-space: nowrap;
}
.p-datatable-resizable-table > .p-datatable-thead > tr > th.p-datatable-resizable-column:not(.p-datatable-frozen-column) {
background-clip: padding-box;
position: relative;
}
.p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-datatable-resizable-column:last-child .p-datatable-column-resizer {
display: none;
}
.p-datatable-column-resizer {
display: block;
position: absolute;
inset-block-start: 0;
inset-inline-end: 0;
margin: 0;
width: dt('datatable.column.resizer.width');
height: 100%;
padding: 0;
cursor: col-resize;
border: 1px solid transparent;
}
.p-datatable-column-header-content {
display: flex;
align-items: center;
gap: dt('datatable.header.cell.gap');
}
.p-datatable-column-resize-indicator {
width: dt('datatable.resize.indicator.width');
position: absolute;
z-index: 10;
display: none;
background: dt('datatable.resize.indicator.color');
}
.p-datatable-row-reorder-indicator-up,
.p-datatable-row-reorder-indicator-down {
position: absolute;
display: none;
}
.p-datatable-reorderable-column,
.p-datatable-reorderable-row-handle {
cursor: move;
}
.p-datatable-mask {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}
.p-datatable-inline-filter {
display: flex;
align-items: center;
width: 100%;
gap: dt('datatable.filter.inline.gap');
}
.p-datatable-inline-filter .p-datatable-filter-element-container {
flex: 1 1 auto;
width: 1%;
}
.p-datatable-filter-overlay {
background: dt('datatable.filter.overlay.select.background');
color: dt('datatable.filter.overlay.select.color');
border: 1px solid dt('datatable.filter.overlay.select.border.color');
border-radius: dt('datatable.filter.overlay.select.border.radius');
box-shadow: dt('datatable.filter.overlay.select.shadow');
min-width: 12.5rem;
}
.p-datatable-filter-constraint-list {
margin: 0;
list-style: none;
display: flex;
flex-direction: column;
padding: dt('datatable.filter.constraint.list.padding');
gap: dt('datatable.filter.constraint.list.gap');
}
.p-datatable-filter-constraint {
padding: dt('datatable.filter.constraint.padding');
color: dt('datatable.filter.constraint.color');
border-radius: dt('datatable.filter.constraint.border.radius');
cursor: pointer;
transition:
background dt('datatable.transition.duration'),
color dt('datatable.transition.duration'),
border-color dt('datatable.transition.duration'),
box-shadow dt('datatable.transition.duration');
}
.p-datatable-filter-constraint-selected {
background: dt('datatable.filter.constraint.selected.background');
color: dt('datatable.filter.constraint.selected.color');
}
.p-datatable-filter-constraint:not(.p-datatable-filter-constraint-selected):not(.p-disabled):hover {
background: dt('datatable.filter.constraint.focus.background');
color: dt('datatable.filter.constraint.focus.color');
}
.p-datatable-filter-constraint:focus-visible {
outline: 0 none;
background: dt('datatable.filter.constraint.focus.background');
color: dt('datatable.filter.constraint.focus.color');
}
.p-datatable-filter-constraint-selected:focus-visible {
outline: 0 none;
background: dt('datatable.filter.constraint.selected.focus.background');
color: dt('datatable.filter.constraint.selected.focus.color');
}
.p-datatable-filter-constraint-separator {
border-block-start: 1px solid dt('datatable.filter.constraint.separator.border.color');
}
.p-datatable-popover-filter {
display: inline-flex;
margin-inline-start: auto;
}
.p-datatable-filter-overlay-popover {
background: dt('datatable.filter.overlay.popover.background');
color: dt('datatable.filter.overlay.popover.color');
border: 1px solid dt('datatable.filter.overlay.popover.border.color');
border-radius: dt('datatable.filter.overlay.popover.border.radius');
box-shadow: dt('datatable.filter.overlay.popover.shadow');
min-width: 12.5rem;
padding: dt('datatable.filter.overlay.popover.padding');
display: flex;
flex-direction: column;
gap: dt('datatable.filter.overlay.popover.gap');
}
.p-datatable-filter-operator-dropdown {
width: 100%;
}
.p-datatable-filter-rule-list,
.p-datatable-filter-rule {
display: flex;
flex-direction: column;
gap: dt('datatable.filter.overlay.popover.gap');
}
.p-datatable-filter-rule {
border-block-end: 1px solid dt('datatable.filter.rule.border.color');
padding-bottom: dt('datatable.filter.overlay.popover.gap');
}
.p-datatable-filter-rule:last-child {
border-block-end: 0 none;
padding-bottom: 0;
}
.p-datatable-filter-add-rule-button {
width: 100%;
}
.p-datatable-filter-remove-rule-button {
width: 100%;
}
.p-datatable-filter-buttonbar {
padding: 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.p-datatable-virtualscroller-spacer {
display: flex;
}
.p-datatable .p-virtualscroller .p-virtualscroller-loading {
transform: none !important;
min-height: 0;
position: sticky;
inset-block-start: 0;
inset-inline-start: 0;
}
.p-datatable-paginator-top {
border-color: dt('datatable.paginator.top.border.color');
border-style: solid;
border-width: dt('datatable.paginator.top.border.width');
}
.p-datatable-paginator-bottom {
border-color: dt('datatable.paginator.bottom.border.color');
border-style: solid;
border-width: dt('datatable.paginator.bottom.border.width');
}
.p-datatable-header {
background: dt('datatable.header.background');
color: dt('datatable.header.color');
border-color: dt('datatable.header.border.color');
border-style: solid;
border-width: dt('datatable.header.border.width');
padding: dt('datatable.header.padding');
}
.p-datatable-footer {
background: dt('datatable.footer.background');
color: dt('datatable.footer.color');
border-color: dt('datatable.footer.border.color');
border-style: solid;
border-width: dt('datatable.footer.border.width');
padding: dt('datatable.footer.padding');
}
.p-datatable-header-cell {
padding: dt('datatable.header.cell.padding');
background: dt('datatable.header.cell.background');
border-color: dt('datatable.header.cell.border.color');
border-style: solid;
border-width: 0 0 1px 0;
color: dt('datatable.header.cell.color');
font-weight: normal;
text-align: start;
transition:
background dt('datatable.transition.duration'),
color dt('datatable.transition.duration'),
border-color dt('datatable.transition.duration'),
outline-color dt('datatable.transition.duration'),
box-shadow dt('datatable.transition.duration');
}
.p-datatable-column-title {
font-weight: dt('datatable.column.title.font.weight');
}
.p-datatable-tbody > tr {
outline-color: transparent;
background: dt('datatable.row.background');
color: dt('datatable.row.color');
transition:
background dt('datatable.transition.duration'),
color dt('datatable.transition.duration'),
border-color dt('datatable.transition.duration'),
outline-color dt('datatable.transition.duration'),
box-shadow dt('datatable.transition.duration');
}
.p-datatable-tbody > tr > td {
text-align: start;
border-color: dt('datatable.body.cell.border.color');
border-style: solid;
border-width: 0 0 1px 0;
padding: dt('datatable.body.cell.padding');
}
.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover {
background: dt('datatable.row.hover.background');
color: dt('datatable.row.hover.color');
}
.p-datatable-tbody > tr.p-datatable-row-selected {
background: dt('datatable.row.selected.background');
color: dt('datatable.row.selected.color');
}
.p-datatable-tbody > tr:has(+ .p-datatable-row-selected) > td {
border-block-end-color: dt('datatable.body.cell.selected.border.color');
}
.p-datatable-tbody > tr.p-datatable-row-selected > td {
border-block-end-color: dt('datatable.body.cell.selected.border.color');
}
.p-datatable-tbody > tr:focus-visible,
.p-datatable-tbody > tr.p-datatable-contextmenu-row-selected {
box-shadow: dt('datatable.row.focus.ring.shadow');
outline: dt('datatable.row.focus.ring.width') dt('datatable.row.focus.ring.style') dt('datatable.row.focus.ring.color');
outline-offset: dt('datatable.row.focus.ring.offset');
}
.p-datatable-tfoot > tr > td {
text-align: start;
padding: dt('datatable.footer.cell.padding');
border-color: dt('datatable.footer.cell.border.color');
border-style: solid;
border-width: 0 0 1px 0;
color: dt('datatable.footer.cell.color');
background: dt('datatable.footer.cell.background');
}
.p-datatable-column-footer {
font-weight: dt('datatable.column.footer.font.weight');
}
.p-datatable-sortable-column {
cursor: pointer;
user-select: none;
outline-color: transparent;
}
.p-datatable-column-title,
.p-datatable-sort-icon,
.p-datatable-sort-badge {
vertical-align: middle;
}
.p-datatable-sort-icon {
color: dt('datatable.sort.icon.color');
font-size: dt('datatable.sort.icon.size');
width: dt('datatable.sort.icon.size');
height: dt('datatable.sort.icon.size');
transition: color dt('datatable.transition.duration');
}
.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover {
background: dt('datatable.header.cell.hover.background');
color: dt('datatable.header.cell.hover.color');
}
.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover .p-datatable-sort-icon {
color: dt('datatable.sort.icon.hover.color');
}
.p-datatable-column-sorted {
background: dt('datatable.header.cell.selected.background');
color: dt('datatable.header.cell.selected.color');
}
.p-datatable-column-sorted .p-datatable-sort-icon {
color: dt('datatable.header.cell.selected.color');
}
.p-datatable-sortable-column:focus-visible {
box-shadow: dt('datatable.header.cell.focus.ring.shadow');
outline: dt('datatable.header.cell.focus.ring.width') dt('datatable.header.cell.focus.ring.style') dt('datatable.header.cell.focus.ring.color');
outline-offset: dt('datatable.header.cell.focus.ring.offset');
}
.p-datatable-hoverable .p-datatable-selectable-row {
cursor: pointer;
}
.p-datatable-tbody > tr.p-datatable-dragpoint-top > td {
box-shadow: inset 0 2px 0 0 dt('datatable.drop.point.color');
}
.p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td {
box-shadow: inset 0 -2px 0 0 dt('datatable.drop.point.color');
}
.p-datatable-loading-icon {
font-size: dt('datatable.loading.icon.size');
width: dt('datatable.loading.icon.size');
height: dt('datatable.loading.icon.size');
}
.p-datatable-gridlines .p-datatable-header {
border-width: 1px 1px 0 1px;
}
.p-datatable-gridlines .p-datatable-footer {
border-width: 0 1px 1px 1px;
}
.p-datatable-gridlines .p-datatable-paginator-top {
border-width: 1px 1px 0 1px;
}
.p-datatable-gridlines .p-datatable-paginator-bottom {
border-width: 0 1px 1px 1px;
}
.p-datatable-gridlines .p-datatable-thead > tr > th {
border-width: 1px 0 1px 1px;
}
.p-datatable-gridlines .p-datatable-thead > tr > th:last-child {
border-width: 1px;
}
.p-datatable-gridlines .p-datatable-tbody > tr > td {
border-width: 1px 0 0 1px;
}
.p-datatable-gridlines .p-datatable-tbody > tr > td:last-child {
border-width: 1px 1px 0 1px;
}
.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td {
border-width: 1px 0 1px 1px;
}
.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td:last-child {
border-width: 1px;
}
.p-datatable-gridlines .p-datatable-tfoot > tr > td {
border-width: 1px 0 1px 1px;
}
.p-datatable-gridlines .p-datatable-tfoot > tr > td:last-child {
border-width: 1px 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td {
border-width: 0 0 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td:last-child {
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td {
border-width: 0 0 1px 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td:last-child {
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td {
border-width: 0 0 0 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child {
border-width: 0 1px 0 1px;
}
.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd {
background: dt('datatable.row.striped.background');
}
.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-datatable-row-selected {
background: dt('datatable.row.selected.background');
color: dt('datatable.row.selected.color');
}
.p-datatable-striped.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover {
background: dt('datatable.row.hover.background');
color: dt('datatable.row.hover.color');
}
.p-datatable.p-datatable-sm .p-datatable-header {
padding: dt('datatable.header.sm.padding');
}
.p-datatable.p-datatable-sm .p-datatable-thead > tr > th {
padding: dt('datatable.header.cell.sm.padding');
}
.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td {
padding: dt('datatable.body.cell.sm.padding');
}
.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td {
padding: dt('datatable.footer.cell.sm.padding');
}
.p-datatable.p-datatable-sm .p-datatable-footer {
padding: dt('datatable.footer.sm.padding');
}
.p-datatable.p-datatable-lg .p-datatable-header {
padding: dt('datatable.header.lg.padding');
}
.p-datatable.p-datatable-lg .p-datatable-thead > tr > th {
padding: dt('datatable.header.cell.lg.padding');
}
.p-datatable.p-datatable-lg .p-datatable-tbody > tr > td {
padding: dt('datatable.body.cell.lg.padding');
}
.p-datatable.p-datatable-lg .p-datatable-tfoot > tr > td {
padding: dt('datatable.footer.cell.lg.padding');
}
.p-datatable.p-datatable-lg .p-datatable-footer {
padding: dt('datatable.footer.lg.padding');
}
.p-datatable-row-toggle-button {
display: inline-flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
width: dt('datatable.row.toggle.button.size');
height: dt('datatable.row.toggle.button.size');
color: dt('datatable.row.toggle.button.color');
border: 0 none;
background: transparent;
cursor: pointer;
border-radius: dt('datatable.row.toggle.button.border.radius');
transition:
background dt('datatable.transition.duration'),
color dt('datatable.transition.duration'),
border-color dt('datatable.transition.duration'),
outline-color dt('datatable.transition.duration'),
box-shadow dt('datatable.transition.duration');
outline-color: transparent;
user-select: none;
}
.p-datatable-row-toggle-button:enabled:hover {
color: dt('datatable.row.toggle.button.hover.color');
background: dt('datatable.row.toggle.button.hover.background');
}
.p-datatable-tbody > tr.p-datatable-row-selected .p-datatable-row-toggle-button:hover {
background: dt('datatable.row.toggle.button.selected.hover.background');
color: dt('datatable.row.toggle.button.selected.hover.color');
}
.p-datatable-row-toggle-button:focus-visible {
box-shadow: dt('datatable.row.toggle.button.focus.ring.shadow');
outline: dt('datatable.row.toggle.button.focus.ring.width') dt('datatable.row.toggle.button.focus.ring.style') dt('datatable.row.toggle.button.focus.ring.color');
outline-offset: dt('datatable.row.toggle.button.focus.ring.offset');
}
.p-datatable-row-toggle-icon:dir(rtl) {
transform: rotate(180deg);
}
`;var uR=`
.p-checkbox {
position: relative;
display: inline-flex;
user-select: none;
vertical-align: bottom;
width: dt('checkbox.width');
height: dt('checkbox.height');
}
.p-checkbox-input {
cursor: pointer;
appearance: none;
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
opacity: 0;
z-index: 1;
outline: 0 none;
border: 1px solid transparent;
border-radius: dt('checkbox.border.radius');
}
.p-checkbox-box {
display: flex;
justify-content: center;
align-items: center;
border-radius: dt('checkbox.border.radius');
border: 1px solid dt('checkbox.border.color');
background: dt('checkbox.background');
width: dt('checkbox.width');
height: dt('checkbox.height');
transition:
background dt('checkbox.transition.duration'),
color dt('checkbox.transition.duration'),
border-color dt('checkbox.transition.duration'),
box-shadow dt('checkbox.transition.duration'),
outline-color dt('checkbox.transition.duration');
outline-color: transparent;
box-shadow: dt('checkbox.shadow');
}
.p-checkbox-icon {
transition-duration: dt('checkbox.transition.duration');
color: dt('checkbox.icon.color');
font-size: dt('checkbox.icon.size');
width: dt('checkbox.icon.size');
height: dt('checkbox.icon.size');
}
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
border-color: dt('checkbox.hover.border.color');
}
.p-checkbox-checked .p-checkbox-box {
border-color: dt('checkbox.checked.border.color');
background: dt('checkbox.checked.background');
}
.p-checkbox-checked .p-checkbox-icon {
color: dt('checkbox.icon.checked.color');
}
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
background: dt('checkbox.checked.hover.background');
border-color: dt('checkbox.checked.hover.border.color');
}
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon {
color: dt('checkbox.icon.checked.hover.color');
}
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
border-color: dt('checkbox.focus.border.color');
box-shadow: dt('checkbox.focus.ring.shadow');
outline: dt('checkbox.focus.ring.width') dt('checkbox.focus.ring.style') dt('checkbox.focus.ring.color');
outline-offset: dt('checkbox.focus.ring.offset');
}
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
border-color: dt('checkbox.checked.focus.border.color');
}
.p-checkbox.p-invalid > .p-checkbox-box {
border-color: dt('checkbox.invalid.border.color');
}
.p-checkbox.p-variant-filled .p-checkbox-box {
background: dt('checkbox.filled.background');
}
.p-checkbox-checked.p-variant-filled .p-checkbox-box {
background: dt('checkbox.checked.background');
}
.p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
background: dt('checkbox.checked.hover.background');
}
.p-checkbox.p-disabled {
opacity: 1;
}
.p-checkbox.p-disabled .p-checkbox-box {
background: dt('checkbox.disabled.background');
border-color: dt('checkbox.checked.disabled.border.color');
}
.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon {
color: dt('checkbox.icon.disabled.color');
}
.p-checkbox-sm,
.p-checkbox-sm .p-checkbox-box {
width: dt('checkbox.sm.width');
height: dt('checkbox.sm.height');
}
.p-checkbox-sm .p-checkbox-icon {
font-size: dt('checkbox.icon.sm.size');
width: dt('checkbox.icon.sm.size');
height: dt('checkbox.icon.sm.size');
}
.p-checkbox-lg,
.p-checkbox-lg .p-checkbox-box {
width: dt('checkbox.lg.width');
height: dt('checkbox.lg.height');
}
.p-checkbox-lg .p-checkbox-icon {
font-size: dt('checkbox.icon.lg.size');
width: dt('checkbox.icon.lg.size');
height: dt('checkbox.icon.lg.size');
}
`;var VU=["icon"],jU=["input"],zU=(t,n)=>({checked:t,class:n});function HU(t,n){if(t&1&&ee(0,"span",8),t&2){let e=m(3);k(e.cx("icon")),h("ngClass",e.checkboxIcon)("pBind",e.ptm("icon"))}}function $U(t,n){if(t&1&&(G(),ee(0,"svg",9)),t&2){let e=m(3);k(e.cx("icon")),h("pBind",e.ptm("icon"))}}function UU(t,n){if(t&1&&(re(0),C(1,HU,1,4,"span",6)(2,$U,1,3,"svg",7),oe()),t&2){let e=m(2);g(),h("ngIf",e.checkboxIcon),g(),h("ngIf",!e.checkboxIcon)}}function WU(t,n){if(t&1&&(G(),ee(0,"svg",10)),t&2){let e=m(2);k(e.cx("icon")),h("pBind",e.ptm("icon"))}}function GU(t,n){if(t&1&&(re(0),C(1,UU,3,2,"ng-container",3)(2,WU,1,3,"svg",5),oe()),t&2){let e=m();g(),h("ngIf",e.checked),g(),h("ngIf",e._indeterminate())}}function qU(t,n){}function QU(t,n){t&1&&C(0,qU,0,0,"ng-template")}var KU=`
${uR}
/* For PrimeNG */
p-checkBox.ng-invalid.ng-dirty .p-checkbox-box,
p-check-box.ng-invalid.ng-dirty .p-checkbox-box,
p-checkbox.ng-invalid.ng-dirty .p-checkbox-box {
border-color: dt('checkbox.invalid.border.color');
}
`,YU={root:({instance:t})=>["p-checkbox p-component",{"p-checkbox-checked p-highlight":t.checked,"p-disabled":t.$disabled(),"p-invalid":t.invalid(),"p-variant-filled":t.$variant()==="filled","p-checkbox-sm p-inputfield-sm":t.size()==="small","p-checkbox-lg p-inputfield-lg":t.size()==="large"}],box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},pR=(()=>{class t extends Me{name="checkbox";style=KU;classes=YU;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var fR=new z("CHECKBOX_INSTANCE"),ZU={provide:Vn,useExisting:Jt(()=>hR),multi:!0},hR=(()=>{class t extends Zr{hostName="";value;binary;ariaLabelledBy;ariaLabel;tabindex;inputId;inputStyle;styleClass;inputClass;indeterminate=!1;formControl;checkboxIcon;readonly;autofocus;trueValue=!0;falseValue=!1;variant=ae();size=ae();onChange=new H;onFocus=new H;onBlur=new H;inputViewChild;get checked(){return this._indeterminate()?!1:this.binary?this.modelValue()===this.trueValue:JD(this.value,this.modelValue())}_indeterminate=_e(void 0);checkboxIconTemplate;templates;_checkboxIconTemplate;focused=!1;_componentStyle=x(pR);bindDirectiveInstance=x(te,{self:!0});$pcCheckbox=x(fR,{optional:!0,skipSelf:!0})??void 0;$variant=We(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());onAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"icon":this._checkboxIconTemplate=e.template;break;case"checkboxicon":this._checkboxIconTemplate=e.template;break}})}onChanges(e){e.indeterminate&&this._indeterminate.set(e.indeterminate.currentValue)}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}updateModel(e){let i,r=this.injector.get(mi,null,{optional:!0,self:!0}),o=r&&!this.formControl?r.value:this.modelValue();this.binary?(i=this._indeterminate()?this.trueValue:this.checked?this.falseValue:this.trueValue,this.writeModelValue(i),this.onModelChange(i)):(this.checked||this._indeterminate()?i=o.filter(s=>!ei(s,this.value)):i=o?[...o,this.value]:[this.value],this.onModelChange(i),this.writeModelValue(i),this.formControl&&this.formControl.setValue(i)),this._indeterminate()&&this._indeterminate.set(!1),this.onChange.emit({checked:i,originalEvent:e})}handleChange(e){this.readonly||this.updateModel(e)}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.onModelTouched()}focus(){this.inputViewChild?.nativeElement.focus()}writeControlValue(e,i){i(e),this.cd.markForCheck()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-checkbox"],["p-checkBox"],["p-check-box"]],contentQueries:function(i,r,o){if(i&1&&(V(o,VU,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.checkboxIconTemplate=s.first),M(s=O())&&(r.templates=s)}},viewQuery:function(i,r){if(i&1&&ct(jU,5),i&2){let o;M(o=O())&&(r.inputViewChild=o.first)}},hostVars:5,hostBindings:function(i,r){i&2&&(J("data-p-highlight",r.checked)("data-p-checked",r.checked)("data-p-disabled",r.$disabled()),k(r.cn(r.cx("root"),r.styleClass)))},inputs:{hostName:"hostName",value:"value",binary:[2,"binary","binary",R],ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",tabindex:[2,"tabindex","tabindex",ke],inputId:"inputId",inputStyle:"inputStyle",styleClass:"styleClass",inputClass:"inputClass",indeterminate:[2,"indeterminate","indeterminate",R],formControl:"formControl",checkboxIcon:"checkboxIcon",readonly:[2,"readonly","readonly",R],autofocus:[2,"autofocus","autofocus",R],trueValue:"trueValue",falseValue:"falseValue",variant:[1,"variant"],size:[1,"size"]},outputs:{onChange:"onChange",onFocus:"onFocus",onBlur:"onBlur"},features:[Se([ZU,pR,{provide:fR,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],decls:5,vars:24,consts:[["input",""],["type","checkbox",3,"focus","blur","change","checked","pBind"],[3,"pBind"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","minus",3,"class","pBind",4,"ngIf"],[3,"class","ngClass","pBind",4,"ngIf"],["data-p-icon","check",3,"class","pBind",4,"ngIf"],[3,"ngClass","pBind"],["data-p-icon","check",3,"pBind"],["data-p-icon","minus",3,"pBind"]],template:function(i,r){if(i&1){let o=se();I(0,"input",1,0),K("focus",function(a){return E(o),S(r.onInputFocus(a))})("blur",function(a){return E(o),S(r.onInputBlur(a))})("change",function(a){return E(o),S(r.handleChange(a))}),T(),I(2,"div",2),C(3,GU,3,2,"ng-container",3)(4,QU,1,0,null,4),T()}i&2&&(Dn(r.inputStyle),k(r.cn(r.cx("input"),r.inputClass)),h("checked",r.checked)("pBind",r.ptm("input")),J("id",r.inputId)("value",r.value)("name",r.name())("tabindex",r.tabindex)("required",r.required()?"":void 0)("readonly",r.readonly?"":void 0)("disabled",r.$disabled()?"":void 0)("aria-labelledby",r.ariaLabelledBy)("aria-label",r.ariaLabel),g(2),k(r.cx("box")),h("pBind",r.ptm("box")),g(),h("ngIf",!r.checkboxIconTemplate&&!r._checkboxIconTemplate),g(),h("ngTemplateOutlet",r.checkboxIconTemplate||r._checkboxIconTemplate)("ngTemplateOutletContext",Dt(21,zU,r.checked,r.cx("icon"))))},dependencies:[qe,Ji,Ut,kt,xe,Uh,jk,Wt,te],encapsulation:2,changeDetection:0})}return t})(),mR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[hR,xe,xe]})}return t})();var gR=`
.p-datepicker {
display: inline-flex;
max-width: 100%;
}
.p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-input {
border-start-end-radius: 0;
border-end-end-radius: 0;
}
.p-datepicker-dropdown {
cursor: pointer;
display: inline-flex;
user-select: none;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
width: dt('datepicker.dropdown.width');
border-start-end-radius: dt('datepicker.dropdown.border.radius');
border-end-end-radius: dt('datepicker.dropdown.border.radius');
background: dt('datepicker.dropdown.background');
border: 1px solid dt('datepicker.dropdown.border.color');
border-inline-start: 0 none;
color: dt('datepicker.dropdown.color');
transition:
background dt('datepicker.transition.duration'),
color dt('datepicker.transition.duration'),
border-color dt('datepicker.transition.duration'),
outline-color dt('datepicker.transition.duration');
outline-color: transparent;
}
.p-datepicker-dropdown:not(:disabled):hover {
background: dt('datepicker.dropdown.hover.background');
border-color: dt('datepicker.dropdown.hover.border.color');
color: dt('datepicker.dropdown.hover.color');
}
.p-datepicker-dropdown:not(:disabled):active {
background: dt('datepicker.dropdown.active.background');
border-color: dt('datepicker.dropdown.active.border.color');
color: dt('datepicker.dropdown.active.color');
}
.p-datepicker-dropdown:focus-visible {
box-shadow: dt('datepicker.dropdown.focus.ring.shadow');
outline: dt('datepicker.dropdown.focus.ring.width') dt('datepicker.dropdown.focus.ring.style') dt('datepicker.dropdown.focus.ring.color');
outline-offset: dt('datepicker.dropdown.focus.ring.offset');
}
.p-datepicker:has(.p-datepicker-input-icon-container) {
position: relative;
}
.p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input {
padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
}
.p-datepicker-input-icon-container {
cursor: pointer;
position: absolute;
top: 50%;
inset-inline-end: dt('form.field.padding.x');
margin-block-start: calc(-1 * (dt('icon.size') / 2));
color: dt('datepicker.input.icon.color');
line-height: 1;
z-index: 1;
}
.p-datepicker:has(.p-datepicker-input:disabled) .p-datepicker-input-icon-container {
cursor: default;
}
.p-datepicker-fluid {
display: flex;
}
.p-datepicker-fluid:has(.p-datepicker-dropdown) .p-datepicker-input {
flex: 1 1 auto;
width: 1%;
}
.p-datepicker .p-datepicker-panel {
min-width: 100%;
}
.p-datepicker-panel {
width: auto;
padding: dt('datepicker.panel.padding');
background: dt('datepicker.panel.background');
color: dt('datepicker.panel.color');
border: 1px solid dt('datepicker.panel.border.color');
border-radius: dt('datepicker.panel.border.radius');
box-shadow: dt('datepicker.panel.shadow');
}
.p-datepicker-panel-inline {
display: inline-block;
overflow-x: auto;
box-shadow: none;
}
.p-datepicker-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: dt('datepicker.header.padding');
background: dt('datepicker.header.background');
color: dt('datepicker.header.color');
border-block-end: 1px solid dt('datepicker.header.border.color');
}
.p-datepicker-next-button:dir(rtl) {
order: -1;
}
.p-datepicker-prev-button:dir(rtl) {
order: 1;
}
.p-datepicker-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: dt('datepicker.title.gap');
font-weight: dt('datepicker.title.font.weight');
}
.p-datepicker-select-year,
.p-datepicker-select-month {
border: none;
background: transparent;
margin: 0;
cursor: pointer;
font-weight: inherit;
transition:
background dt('datepicker.transition.duration'),
color dt('datepicker.transition.duration'),
border-color dt('datepicker.transition.duration'),
outline-color dt('datepicker.transition.duration'),
box-shadow dt('datepicker.transition.duration');
}
.p-datepicker-select-month {
padding: dt('datepicker.select.month.padding');
color: dt('datepicker.select.month.color');
border-radius: dt('datepicker.select.month.border.radius');
}
.p-datepicker-select-year {
padding: dt('datepicker.select.year.padding');
color: dt('datepicker.select.year.color');
border-radius: dt('datepicker.select.year.border.radius');
}
.p-datepicker-select-month:enabled:hover {
background: dt('datepicker.select.month.hover.background');
color: dt('datepicker.select.month.hover.color');
}
.p-datepicker-select-year:enabled:hover {
background: dt('datepicker.select.year.hover.background');
color: dt('datepicker.select.year.hover.color');
}
.p-datepicker-select-month:focus-visible,
.p-datepicker-select-year:focus-visible {
box-shadow: dt('datepicker.date.focus.ring.shadow');
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
outline-offset: dt('datepicker.date.focus.ring.offset');
}
.p-datepicker-calendar-container {
display: flex;
}
.p-datepicker-calendar-container .p-datepicker-calendar {
flex: 1 1 auto;
border-inline-start: 1px solid dt('datepicker.group.border.color');
padding-inline-end: dt('datepicker.group.gap');
padding-inline-start: dt('datepicker.group.gap');
}
.p-datepicker-calendar-container .p-datepicker-calendar:first-child {
padding-inline-start: 0;
border-inline-start: 0 none;
}
.p-datepicker-calendar-container .p-datepicker-calendar:last-child {
padding-inline-end: 0;
}
.p-datepicker-day-view {
width: 100%;
border-collapse: collapse;
font-size: 1rem;
margin: dt('datepicker.day.view.margin');
}
.p-datepicker-weekday-cell {
padding: dt('datepicker.week.day.padding');
}
.p-datepicker-weekday {
font-weight: dt('datepicker.week.day.font.weight');
color: dt('datepicker.week.day.color');
}
.p-datepicker-day-cell {
padding: dt('datepicker.date.padding');
}
.p-datepicker-day {
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin: 0 auto;
overflow: hidden;
position: relative;
width: dt('datepicker.date.width');
height: dt('datepicker.date.height');
border-radius: dt('datepicker.date.border.radius');
transition:
background dt('datepicker.transition.duration'),
color dt('datepicker.transition.duration'),
border-color dt('datepicker.transition.duration'),
box-shadow dt('datepicker.transition.duration'),
outline-color dt('datepicker.transition.duration');
border: 1px solid transparent;
outline-color: transparent;
color: dt('datepicker.date.color');
}
.p-datepicker-day:not(.p-datepicker-day-selected):not(.p-disabled):hover {
background: dt('datepicker.date.hover.background');
color: dt('datepicker.date.hover.color');
}
.p-datepicker-day:focus-visible {
box-shadow: dt('datepicker.date.focus.ring.shadow');
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
outline-offset: dt('datepicker.date.focus.ring.offset');
}
.p-datepicker-day-selected {
background: dt('datepicker.date.selected.background');
color: dt('datepicker.date.selected.color');
}
.p-datepicker-day-selected-range {
background: dt('datepicker.date.range.selected.background');
color: dt('datepicker.date.range.selected.color');
}
.p-datepicker-today > .p-datepicker-day {
background: dt('datepicker.today.background');
color: dt('datepicker.today.color');
}
.p-datepicker-today > .p-datepicker-day-selected {
background: dt('datepicker.date.selected.background');
color: dt('datepicker.date.selected.color');
}
.p-datepicker-today > .p-datepicker-day-selected-range {
background: dt('datepicker.date.range.selected.background');
color: dt('datepicker.date.range.selected.color');
}
.p-datepicker-weeknumber {
text-align: center;
}
.p-datepicker-month-view {
margin: dt('datepicker.month.view.margin');
}
.p-datepicker-month {
width: 33.3%;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
overflow: hidden;
position: relative;
padding: dt('datepicker.month.padding');
transition:
background dt('datepicker.transition.duration'),
color dt('datepicker.transition.duration'),
border-color dt('datepicker.transition.duration'),
box-shadow dt('datepicker.transition.duration'),
outline-color dt('datepicker.transition.duration');
border-radius: dt('datepicker.month.border.radius');
outline-color: transparent;
color: dt('datepicker.date.color');
}
.p-datepicker-month:not(.p-disabled):not(.p-datepicker-month-selected):hover {
color: dt('datepicker.date.hover.color');
background: dt('datepicker.date.hover.background');
}
.p-datepicker-month-selected {
color: dt('datepicker.date.selected.color');
background: dt('datepicker.date.selected.background');
}
.p-datepicker-month:not(.p-disabled):focus-visible {
box-shadow: dt('datepicker.date.focus.ring.shadow');
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
outline-offset: dt('datepicker.date.focus.ring.offset');
}
.p-datepicker-year-view {
margin: dt('datepicker.year.view.margin');
}
.p-datepicker-year {
width: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
overflow: hidden;
position: relative;
padding: dt('datepicker.year.padding');
transition:
background dt('datepicker.transition.duration'),
color dt('datepicker.transition.duration'),
border-color dt('datepicker.transition.duration'),
box-shadow dt('datepicker.transition.duration'),
outline-color dt('datepicker.transition.duration');
border-radius: dt('datepicker.year.border.radius');
outline-color: transparent;
color: dt('datepicker.date.color');
}
.p-datepicker-year:not(.p-disabled):not(.p-datepicker-year-selected):hover {
color: dt('datepicker.date.hover.color');
background: dt('datepicker.date.hover.background');
}
.p-datepicker-year-selected {
color: dt('datepicker.date.selected.color');
background: dt('datepicker.date.selected.background');
}
.p-datepicker-year:not(.p-disabled):focus-visible {
box-shadow: dt('datepicker.date.focus.ring.shadow');
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
outline-offset: dt('datepicker.date.focus.ring.offset');
}
.p-datepicker-buttonbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: dt('datepicker.buttonbar.padding');
border-block-start: 1px solid dt('datepicker.buttonbar.border.color');
}
.p-datepicker-buttonbar .p-button {
width: auto;
}
.p-datepicker-time-picker {
display: flex;
justify-content: center;
align-items: center;
border-block-start: 1px solid dt('datepicker.time.picker.border.color');
padding: 0;
gap: dt('datepicker.time.picker.gap');
}
.p-datepicker-calendar-container + .p-datepicker-time-picker {
padding: dt('datepicker.time.picker.padding');
}
.p-datepicker-time-picker > div {
display: flex;
align-items: center;
flex-direction: column;
gap: dt('datepicker.time.picker.button.gap');
}
.p-datepicker-time-picker span {
font-size: 1rem;
}
.p-datepicker-timeonly .p-datepicker-time-picker {
border-block-start: 0 none;
}
.p-datepicker-time-picker:dir(rtl) {
flex-direction: row-reverse;
}
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown {
width: dt('datepicker.dropdown.sm.width');
}
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown .p-icon,
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-input-icon {
font-size: dt('form.field.sm.font.size');
width: dt('form.field.sm.font.size');
height: dt('form.field.sm.font.size');
}
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown {
width: dt('datepicker.dropdown.lg.width');
}
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown .p-icon,
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-input-icon {
font-size: dt('form.field.lg.font.size');
width: dt('form.field.lg.font.size');
height: dt('form.field.lg.font.size');
}
.p-datepicker-clear-icon {
position: absolute;
top: 50%;
margin-top: -0.5rem;
cursor: pointer;
color: dt('form.field.icon.color');
inset-inline-end: dt('form.field.padding.x');
}
.p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-clear-icon {
inset-inline-end: calc(dt('datepicker.dropdown.width') + dt('form.field.padding.x'));
}
.p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-clear-icon {
inset-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
}
.p-datepicker:has(.p-datepicker-clear-icon) .p-datepicker-input {
padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
}
.p-datepicker:has(.p-datepicker-input-icon-container):has(.p-datepicker-clear-icon) .p-datepicker-input {
padding-inline-end: calc((dt('form.field.padding.x') * 3) + calc(dt('icon.size') * 2));
}
.p-inputgroup .p-datepicker-dropdown {
border-radius: 0;
}
.p-inputgroup > .p-datepicker:last-child:has(.p-datepicker-dropdown) > .p-datepicker-input {
border-start-end-radius: 0;
border-end-end-radius: 0;
}
.p-inputgroup > .p-datepicker:last-child .p-datepicker-dropdown {
border-start-end-radius: dt('datepicker.dropdown.border.radius');
border-end-end-radius: dt('datepicker.dropdown.border.radius');
}
`;var JU=["date"],XU=["header"],eW=["footer"],tW=["disabledDate"],nW=["decade"],iW=["previousicon"],rW=["nexticon"],oW=["triggericon"],sW=["clearicon"],aW=["decrementicon"],lW=["incrementicon"],cW=["inputicon"],dW=["buttonbar"],uW=["inputfield"],pW=["contentWrapper"],fW=[[["p-header"]],[["p-footer"]]],hW=["p-header","p-footer"],mW=t=>({clickCallBack:t}),gW=(t,n)=>({showTransitionParams:t,hideTransitionParams:n}),yW=t=>({value:"visible",params:t}),yR=t=>({visibility:t}),cw=t=>({$implicit:t}),bW=t=>({date:t}),vW=(t,n)=>({month:t,index:n}),_W=t=>({year:t}),wW=(t,n)=>({todayCallback:t,clearCallback:n});function CW(t,n){if(t&1){let e=se();G(),I(0,"svg",10),K("click",function(){E(e);let r=m(3);return S(r.clear())}),T()}if(t&2){let e=m(3);k(e.cx("clearIcon")),h("pBind",e.ptm("inputIcon"))}}function xW(t,n){}function TW(t,n){t&1&&C(0,xW,0,0,"ng-template")}function EW(t,n){if(t&1){let e=se();I(0,"span",11),K("click",function(){E(e);let r=m(3);return S(r.clear())}),C(1,TW,1,0,null,12),T()}if(t&2){let e=m(3);k(e.cx("clearIcon")),h("pBind",e.ptm("inputIcon")),g(),h("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function SW(t,n){if(t&1&&(re(0),C(1,CW,1,3,"svg",8)(2,EW,2,4,"span",9),oe()),t&2){let e=m(2);g(),h("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),g(),h("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function IW(t,n){if(t&1&&ee(0,"span",15),t&2){let e=m(3);h("ngClass",e.icon)("pBind",e.ptm("dropdownIcon"))}}function DW(t,n){if(t&1&&(G(),ee(0,"svg",17)),t&2){let e=m(4);h("pBind",e.ptm("dropdownIcon"))}}function kW(t,n){}function MW(t,n){t&1&&C(0,kW,0,0,"ng-template")}function OW(t,n){if(t&1&&(re(0),C(1,DW,1,1,"svg",16)(2,MW,1,0,null,12),oe()),t&2){let e=m(3);g(),h("ngIf",!e.triggerIconTemplate&&!e._triggerIconTemplate),g(),h("ngTemplateOutlet",e.triggerIconTemplate||e._triggerIconTemplate)}}function RW(t,n){if(t&1){let e=se();I(0,"button",13),K("click",function(r){E(e),m();let o=pn(1),s=m();return S(s.onButtonClick(r,o))}),C(1,IW,1,2,"span",14)(2,OW,3,2,"ng-container",6),T()}if(t&2){let e=m(2);k(e.cx("dropdown")),h("disabled",e.$disabled())("pBind",e.ptm("dropdown")),J("aria-label",e.iconButtonAriaLabel)("aria-expanded",e.overlayVisible??!1)("aria-controls",e.overlayVisible?e.panelId:null),g(),h("ngIf",e.icon),g(),h("ngIf",!e.icon)}}function PW(t,n){if(t&1){let e=se();G(),I(0,"svg",21),K("click",function(r){E(e);let o=m(3);return S(o.onButtonClick(r))}),T()}if(t&2){let e=m(3);k(e.cx("inputIcon")),h("pBind",e.ptm("inputIcon"))}}function AW(t,n){t&1&&ne(0)}function NW(t,n){if(t&1&&(re(0),I(1,"span",18),C(2,PW,1,3,"svg",19)(3,AW,1,0,"ng-container",20),T(),oe()),t&2){let e=m(2);g(),k(e.cx("inputIconContainer")),h("pBind",e.ptm("inputIconContainer")),g(),h("ngIf",!e.inputIconTemplate&&!e._inputIconTemplate),g(),h("ngTemplateOutlet",e.inputIconTemplate||e._inputIconTemplate)("ngTemplateOutletContext",Te(6,mW,e.onButtonClick.bind(e)))}}function FW(t,n){if(t&1){let e=se();I(0,"input",5,0),K("focus",function(r){E(e);let o=m();return S(o.onInputFocus(r))})("keydown",function(r){E(e);let o=m();return S(o.onInputKeydown(r))})("click",function(){E(e);let r=m();return S(r.onInputClick())})("blur",function(r){E(e);let o=m();return S(o.onInputBlur(r))})("input",function(r){E(e);let o=m();return S(o.onUserInput(r))}),T(),C(2,SW,3,2,"ng-container",6)(3,RW,3,9,"button",7)(4,NW,4,8,"ng-container",6)}if(t&2){let e=m();k(e.cn(e.cx("pcInputText"),e.inputStyleClass)),h("pSize",e.size())("value",e.inputFieldValue)("ngStyle",e.inputStyle)("pAutoFocus",e.autofocus)("variant",e.$variant())("fluid",e.hasFluid)("invalid",e.invalid())("pt",e.ptm("pcInputText")),J("size",e.inputSize())("id",e.inputId)("name",e.name())("aria-required",e.required())("aria-expanded",e.overlayVisible??!1)("aria-controls",e.overlayVisible?e.panelId:null)("aria-labelledby",e.ariaLabelledBy)("aria-label",e.ariaLabel)("required",e.required()?"":void 0)("readonly",e.readonlyInput?"":void 0)("disabled",e.$disabled()?"":void 0)("placeholder",e.placeholder)("tabindex",e.tabindex)("inputmode",e.touchUI?"off":null),g(2),h("ngIf",e.showClear&&!e.$disabled()&&(e.inputfieldViewChild==null||e.inputfieldViewChild.nativeElement==null?null:e.inputfieldViewChild.nativeElement.value)),g(),h("ngIf",e.showIcon&&e.iconDisplay==="button"),g(),h("ngIf",e.iconDisplay==="input"&&e.showIcon)}}function LW(t,n){t&1&&ne(0)}function BW(t,n){t&1&&(G(),ee(0,"svg",30))}function VW(t,n){}function jW(t,n){t&1&&C(0,VW,0,0,"ng-template")}function zW(t,n){if(t&1&&(I(0,"span"),C(1,jW,1,0,null,12),T()),t&2){let e=m(5);g(),h("ngTemplateOutlet",e.previousIconTemplate||e._previousIconTemplate)}}function HW(t,n){if(t&1&&C(0,BW,1,0,"svg",29)(1,zW,2,1,"span",6),t&2){let e=m(4);h("ngIf",!e.previousIconTemplate&&!e._previousIconTemplate),g(),h("ngIf",e.previousIconTemplate||e._previousIconTemplate)}}function $W(t,n){if(t&1){let e=se();I(0,"button",31),K("click",function(r){E(e);let o=m(4);return S(o.switchToMonthView(r))})("keydown",function(r){E(e);let o=m(4);return S(o.onContainerButtonKeydown(r))}),ce(1),T()}if(t&2){let e=m().$implicit,i=m(3);k(i.cx("selectMonth")),h("pBind",i.ptm("selectMonth")),J("disabled",i.switchViewButtonDisabled()?"":void 0)("aria-label",i.getTranslation("chooseMonth"))("data-pc-group-section","navigator"),g(),$t(" ",i.getMonthName(e.month)," ")}}function UW(t,n){if(t&1){let e=se();I(0,"button",31),K("click",function(r){E(e);let o=m(4);return S(o.switchToYearView(r))})("keydown",function(r){E(e);let o=m(4);return S(o.onContainerButtonKeydown(r))}),ce(1),T()}if(t&2){let e=m().$implicit,i=m(3);k(i.cx("selectYear")),h("pBind",i.ptm("selectYear")),J("disabled",i.switchViewButtonDisabled()?"":void 0)("aria-label",i.getTranslation("chooseYear"))("data-pc-group-section","navigator"),g(),$t(" ",i.getYear(e)," ")}}function WW(t,n){if(t&1&&(re(0),ce(1),oe()),t&2){let e=m(5);g(),bl("",e.yearPickerValues()[0]," - ",e.yearPickerValues()[e.yearPickerValues().length-1])}}function GW(t,n){t&1&&ne(0)}function qW(t,n){if(t&1&&(I(0,"span",18),C(1,WW,2,2,"ng-container",6)(2,GW,1,0,"ng-container",20),T()),t&2){let e=m(4);k(e.cx("decade")),h("pBind",e.ptm("decade")),g(),h("ngIf",!e.decadeTemplate&&!e._decadeTemplate),g(),h("ngTemplateOutlet",e.decadeTemplate||e._decadeTemplate)("ngTemplateOutletContext",Te(6,cw,e.yearPickerValues))}}function QW(t,n){t&1&&(G(),ee(0,"svg",33))}function KW(t,n){}function YW(t,n){t&1&&C(0,KW,0,0,"ng-template")}function ZW(t,n){if(t&1&&(re(0),C(1,YW,1,0,null,12),oe()),t&2){let e=m(5);g(),h("ngTemplateOutlet",e.nextIconTemplate||e._nextIconTemplate)}}function JW(t,n){if(t&1&&C(0,QW,1,0,"svg",32)(1,ZW,2,1,"ng-container",6),t&2){let e=m(4);h("ngIf",!e.nextIconTemplate&&!e._nextIconTemplate),g(),h("ngIf",e.nextIconTemplate||e._nextIconTemplate)}}function XW(t,n){if(t&1&&(I(0,"th",18)(1,"span",18),ce(2),T()()),t&2){let e=m(5);k(e.cx("weekHeader")),h("pBind",e.ptm("weekHeader")),g(),h("pBind",e.ptm("weekHeaderLabel")),g(),Xe(e.getTranslation("weekHeader"))}}function eG(t,n){if(t&1&&(I(0,"th",37)(1,"span",18),ce(2),T()()),t&2){let e=n.$implicit,i=m(5);k(i.cx("weekDayCell")),h("pBind",i.ptm("weekDayCell")),g(),k(i.cx("weekDay")),h("pBind",i.ptm("weekDay")),g(),Xe(e)}}function tG(t,n){if(t&1&&(I(0,"td",18)(1,"span",18),ce(2),T()()),t&2){let e=m().index,i=m(2).$implicit,r=m(3);k(r.cx("weekNumber")),h("pBind",r.ptm("weekNumber")),g(),k(r.cx("weekLabelContainer")),h("pBind",r.ptm("weekLabelContainer")),g(),$t(" ",i.weekNumbers[e]," ")}}function nG(t,n){if(t&1&&(re(0),ce(1),oe()),t&2){let e=m(2).$implicit;g(),Xe(e.day)}}function iG(t,n){t&1&&ne(0)}function rG(t,n){if(t&1&&(re(0),C(1,iG,1,0,"ng-container",20),oe()),t&2){let e=m(2).$implicit,i=m(6);g(),h("ngTemplateOutlet",i.dateTemplate||i._dateTemplate)("ngTemplateOutletContext",Te(2,cw,e))}}function oG(t,n){t&1&&ne(0)}function sG(t,n){if(t&1&&(re(0),C(1,oG,1,0,"ng-container",20),oe()),t&2){let e=m(2).$implicit,i=m(6);g(),h("ngTemplateOutlet",i.disabledDateTemplate||i._disabledDateTemplate)("ngTemplateOutletContext",Te(2,cw,e))}}function aG(t,n){if(t&1&&(I(0,"div",40),ce(1),T()),t&2){let e=m(2).$implicit;g(),$t(" ",e.day," ")}}function lG(t,n){if(t&1){let e=se();re(0),I(1,"span",38),K("click",function(r){E(e);let o=m().$implicit,s=m(6);return S(s.onDateSelect(r,o))})("keydown",function(r){E(e);let o=m().$implicit,s=m(3).index,a=m(3);return S(a.onDateCellKeydown(r,o,s))}),C(2,nG,2,1,"ng-container",6)(3,rG,2,4,"ng-container",6)(4,sG,2,4,"ng-container",6),T(),C(5,aG,2,1,"div",39),oe()}if(t&2){let e=m().$implicit,i=m(6);g(),h("ngClass",i.dayClass(e))("pBind",i.ptm("day")),J("data-date",i.formatDateKey(i.formatDateMetaToDate(e))),g(),h("ngIf",!i.dateTemplate&&!i._dateTemplate&&(e.selectable||!i.disabledDateTemplate&&!i._disabledDateTemplate)),g(),h("ngIf",e.selectable||!i.disabledDateTemplate&&!i._disabledDateTemplate),g(),h("ngIf",!e.selectable),g(),h("ngIf",i.isSelected(e))}}function cG(t,n){if(t&1&&(I(0,"td",18),C(1,lG,6,7,"ng-container",6),T()),t&2){let e=n.$implicit,i=m(6);k(i.cx("dayCell",Te(5,bW,e))),h("pBind",i.ptm("dayCell")),J("aria-label",e.day),g(),h("ngIf",e.otherMonth?i.showOtherMonths:!0)}}function dG(t,n){if(t&1&&(I(0,"tr",18),C(1,tG,3,7,"td",23)(2,cG,2,7,"td",24),T()),t&2){let e=n.$implicit,i=m(5);h("pBind",i.ptm("tableBodyRow")),g(),h("ngIf",i.showWeek),g(),h("ngForOf",e)}}function uG(t,n){if(t&1&&(I(0,"table",34)(1,"thead",18)(2,"tr",18),C(3,XW,3,5,"th",23)(4,eG,3,7,"th",35),T()(),I(5,"tbody",18),C(6,dG,3,3,"tr",36),T()()),t&2){let e=m().$implicit,i=m(3);k(i.cx("dayView")),h("pBind",i.ptm("table")),g(),h("pBind",i.ptm("tableHeader")),g(),h("pBind",i.ptm("tableHeaderRow")),g(),h("ngIf",i.showWeek),g(),h("ngForOf",i.weekDays),g(),h("pBind",i.ptm("tableBody")),g(),h("ngForOf",e.dates)}}function pG(t,n){if(t&1){let e=se();I(0,"div",18)(1,"div",18)(2,"p-button",25),K("keydown",function(r){E(e);let o=m(3);return S(o.onContainerButtonKeydown(r))})("onClick",function(r){E(e);let o=m(3);return S(o.onPrevButtonClick(r))}),C(3,HW,2,2,"ng-template",null,2,at),T(),I(5,"div",18),C(6,$W,2,7,"button",26)(7,UW,2,7,"button",26)(8,qW,3,8,"span",23),T(),I(9,"p-button",27),K("keydown",function(r){E(e);let o=m(3);return S(o.onContainerButtonKeydown(r))})("onClick",function(r){E(e);let o=m(3);return S(o.onNextButtonClick(r))}),C(10,JW,2,2,"ng-template",null,2,at),T()(),C(12,uG,7,9,"table",28),T()}if(t&2){let e=n.index,i=m(3);k(i.cx("calendar")),h("pBind",i.ptm("calendar")),g(),k(i.cx("header")),h("pBind",i.ptm("header")),g(),h("styleClass",i.cx("pcPrevButton"))("ngStyle",Te(23,yR,e===0?"visible":"hidden"))("ariaLabel",i.prevIconAriaLabel)("pt",i.ptm("pcPrevButton")),J("data-pc-group-section","navigator"),g(3),k(i.cx("title")),h("pBind",i.ptm("title")),g(),h("ngIf",i.currentView==="date"),g(),h("ngIf",i.currentView!=="year"),g(),h("ngIf",i.currentView==="year"),g(),h("styleClass",i.cx("pcNextButton"))("ngStyle",Te(25,yR,e===i.months.length-1?"visible":"hidden"))("ariaLabel",i.nextIconAriaLabel)("pt",i.ptm("pcNextButton")),J("data-pc-group-section","navigator"),g(3),h("ngIf",i.currentView==="date")}}function fG(t,n){if(t&1&&(I(0,"div",40),ce(1),T()),t&2){let e=m().$implicit;g(),$t(" ",e," ")}}function hG(t,n){if(t&1){let e=se();I(0,"span",42),K("click",function(r){let o=E(e).index,s=m(4);return S(s.onMonthSelect(r,o))})("keydown",function(r){let o=E(e).index,s=m(4);return S(s.onMonthCellKeydown(r,o))}),ce(1),C(2,fG,2,1,"div",39),T()}if(t&2){let e=n.$implicit,i=n.index,r=m(4);k(r.cx("month",Dt(5,vW,e,i))),h("pBind",r.ptm("month")),g(),$t(" ",e," "),g(),h("ngIf",r.isMonthSelected(i))}}function mG(t,n){if(t&1&&(I(0,"div",18),C(1,hG,3,8,"span",41),T()),t&2){let e=m(3);k(e.cx("monthView")),h("pBind",e.ptm("monthView")),g(),h("ngForOf",e.monthPickerValues())}}function gG(t,n){if(t&1&&(I(0,"div",40),ce(1),T()),t&2){let e=m().$implicit;g(),$t(" ",e," ")}}function yG(t,n){if(t&1){let e=se();I(0,"span",42),K("click",function(r){let o=E(e).$implicit,s=m(4);return S(s.onYearSelect(r,o))})("keydown",function(r){let o=E(e).$implicit,s=m(4);return S(s.onYearCellKeydown(r,o))}),ce(1),C(2,gG,2,1,"div",39),T()}if(t&2){let e=n.$implicit,i=m(4);k(i.cx("year",Te(5,_W,e))),h("pBind",i.ptm("year")),g(),$t(" ",e," "),g(),h("ngIf",i.isYearSelected(e))}}function bG(t,n){if(t&1&&(I(0,"div",18),C(1,yG,3,7,"span",41),T()),t&2){let e=m(3);k(e.cx("yearView")),h("pBind",e.ptm("yearView")),g(),h("ngForOf",e.yearPickerValues())}}function vG(t,n){if(t&1&&(re(0),I(1,"div",18),C(2,pG,13,27,"div",24),T(),C(3,mG,2,4,"div",23)(4,bG,2,4,"div",23),oe()),t&2){let e=m(2);g(),k(e.cx("calendarContainer")),h("pBind",e.ptm("calendarContainer")),g(),h("ngForOf",e.months),g(),h("ngIf",e.currentView==="month"),g(),h("ngIf",e.currentView==="year")}}function _G(t,n){if(t&1&&(G(),ee(0,"svg",46)),t&2){let e=m(4);h("pBind",e.ptm("pcIncrementButton").icon)}}function wG(t,n){}function CG(t,n){t&1&&C(0,wG,0,0,"ng-template")}function xG(t,n){if(t&1&&C(0,_G,1,1,"svg",45)(1,CG,1,0,null,12),t&2){let e=m(3);h("ngIf",!e.incrementIconTemplate&&!e._incrementIconTemplate),g(),h("ngTemplateOutlet",e.incrementIconTemplate||e._incrementIconTemplate)}}function TG(t,n){t&1&&(re(0),ce(1,"0"),oe())}function EG(t,n){if(t&1&&(G(),ee(0,"svg",48)),t&2){let e=m(4);h("pBind",e.ptm("pcDecrementButton").icon)}}function SG(t,n){}function IG(t,n){t&1&&C(0,SG,0,0,"ng-template")}function DG(t,n){if(t&1&&C(0,EG,1,1,"svg",47)(1,IG,1,0,null,12),t&2){let e=m(3);h("ngIf",!e.decrementIconTemplate&&!e._decrementIconTemplate),g(),h("ngTemplateOutlet",e.decrementIconTemplate||e._decrementIconTemplate)}}function kG(t,n){if(t&1&&(G(),ee(0,"svg",46)),t&2){let e=m(4);h("pBind",e.ptm("pcIncrementButton").icon)}}function MG(t,n){}function OG(t,n){t&1&&C(0,MG,0,0,"ng-template")}function RG(t,n){if(t&1&&C(0,kG,1,1,"svg",45)(1,OG,1,0,null,12),t&2){let e=m(3);h("ngIf",!e.incrementIconTemplate&&!e._incrementIconTemplate),g(),h("ngTemplateOutlet",e.incrementIconTemplate||e._incrementIconTemplate)}}function PG(t,n){t&1&&(re(0),ce(1,"0"),oe())}function AG(t,n){if(t&1&&(G(),ee(0,"svg",48)),t&2){let e=m(4);h("pBind",e.ptm("pcDecrementButton").icon)}}function NG(t,n){}function FG(t,n){t&1&&C(0,NG,0,0,"ng-template")}function LG(t,n){if(t&1&&C(0,AG,1,1,"svg",47)(1,FG,1,0,null,12),t&2){let e=m(3);h("ngIf",!e.decrementIconTemplate&&!e._decrementIconTemplate),g(),h("ngTemplateOutlet",e.decrementIconTemplate||e._decrementIconTemplate)}}function BG(t,n){if(t&1&&(I(0,"div",18)(1,"span",18),ce(2),T()()),t&2){let e=m(3);k(e.cx("separator")),h("pBind",e.ptm("separatorContainer")),g(),h("pBind",e.ptm("separator")),g(),Xe(e.timeSeparator)}}function VG(t,n){if(t&1&&(G(),ee(0,"svg",46)),t&2){let e=m(5);h("pBind",e.ptm("pcIncrementButton").icon)}}function jG(t,n){}function zG(t,n){t&1&&C(0,jG,0,0,"ng-template")}function HG(t,n){if(t&1&&C(0,VG,1,1,"svg",45)(1,zG,1,0,null,12),t&2){let e=m(4);h("ngIf",!e.incrementIconTemplate&&!e._incrementIconTemplate),g(),h("ngTemplateOutlet",e.incrementIconTemplate||e._incrementIconTemplate)}}function $G(t,n){t&1&&(re(0),ce(1,"0"),oe())}function UG(t,n){if(t&1&&(G(),ee(0,"svg",48)),t&2){let e=m(5);h("pBind",e.ptm("pcDecrementButton").icon)}}function WG(t,n){}function GG(t,n){t&1&&C(0,WG,0,0,"ng-template")}function qG(t,n){if(t&1&&C(0,UG,1,1,"svg",47)(1,GG,1,0,null,12),t&2){let e=m(4);h("ngIf",!e.decrementIconTemplate&&!e._decrementIconTemplate),g(),h("ngTemplateOutlet",e.decrementIconTemplate||e._decrementIconTemplate)}}function QG(t,n){if(t&1){let e=se();I(0,"div",18)(1,"p-button",43),K("keydown",function(r){E(e);let o=m(3);return S(o.onContainerButtonKeydown(r))})("keydown.enter",function(r){E(e);let o=m(3);return S(o.incrementSecond(r))})("keydown.space",function(r){E(e);let o=m(3);return S(o.incrementSecond(r))})("mousedown",function(r){E(e);let o=m(3);return S(o.onTimePickerElementMouseDown(r,2,1))})("mouseup",function(r){E(e);let o=m(3);return S(o.onTimePickerElementMouseUp(r))})("keyup.enter",function(r){E(e);let o=m(3);return S(o.onTimePickerElementMouseUp(r))})("keyup.space",function(r){E(e);let o=m(3);return S(o.onTimePickerElementMouseUp(r))})("mouseleave",function(){E(e);let r=m(3);return S(r.onTimePickerElementMouseLeave())}),C(2,HG,2,2,"ng-template",null,2,at),T(),I(4,"span",18),C(5,$G,2,0,"ng-container",6),ce(6),T(),I(7,"p-button",43),K("keydown",function(r){E(e);let o=m(3);return S(o.onContainerButtonKeydown(r))})("keydown.enter",function(r){E(e);let o=m(3);return S(o.decrementSecond(r))})("keydown.space",function(r){E(e);let o=m(3);return S(o.decrementSecond(r))})("mousedown",function(r){E(e);let o=m(3);return S(o.onTimePickerElementMouseDown(r,2,-1))})("mouseup",function(r){E(e);let o=m(3);return S(o.onTimePickerElementMouseUp(r))})("keyup.enter",function(r){E(e);let o=m(3);return S(o.onTimePickerElementMouseUp(r))})("keyup.space",function(r){E(e);let o=m(3);return S(o.onTimePickerElementMouseUp(r))})("mouseleave",function(){E(e);let r=m(3);return S(r.onTimePickerElementMouseLeave())}),C(8,qG,2,2,"ng-template",null,2,at),T()()}if(t&2){let e=m(3);k(e.cx("secondPicker")),h("pBind",e.ptm("secondPicker")),g(),h("styleClass",e.cx("pcIncrementButton"))("pt",e.ptm("pcIncrementButton")),J("aria-label",e.getTranslation("nextSecond"))("data-pc-group-section","timepickerbutton"),g(3),h("pBind",e.ptm("second")),g(),h("ngIf",e.currentSecond<10),g(),Xe(e.currentSecond),g(),h("styleClass",e.cx("pcDecrementButton"))("pt",e.ptm("pcDecrementButton")),J("aria-label",e.getTranslation("prevSecond"))("data-pc-group-section","timepickerbutton")}}function KG(t,n){if(t&1&&(I(0,"div",18)(1,"span",18),ce(2),T()()),t&2){let e=m(3);k(e.cx("separator")),h("pBind",e.ptm("separatorContainer")),g(),h("pBind",e.ptm("separator")),g(),Xe(e.timeSeparator)}}function YG(t,n){if(t&1&&(G(),ee(0,"svg",46)),t&2){let e=m(5);h("pBind",e.ptm("pcIncrementButton").icon)}}function ZG(t,n){}function JG(t,n){t&1&&C(0,ZG,0,0,"ng-template")}function XG(t,n){if(t&1&&C(0,YG,1,1,"svg",45)(1,JG,1,0,null,12),t&2){let e=m(4);h("ngIf",!e.incrementIconTemplate&&!e._incrementIconTemplate),g(),h("ngTemplateOutlet",e.incrementIconTemplate||e._incrementIconTemplate)}}function eq(t,n){if(t&1&&(G(),ee(0,"svg",48)),t&2){let e=m(5);h("pBind",e.ptm("pcDecrementButton").icon)}}function tq(t,n){}function nq(t,n){t&1&&C(0,tq,0,0,"ng-template")}function iq(t,n){if(t&1&&C(0,eq,1,1,"svg",47)(1,nq,1,0,null,12),t&2){let e=m(4);h("ngIf",!e.decrementIconTemplate&&!e._decrementIconTemplate),g(),h("ngTemplateOutlet",e.decrementIconTemplate||e._decrementIconTemplate)}}function rq(t,n){if(t&1){let e=se();I(0,"div",18)(1,"p-button",49),K("keydown",function(r){E(e);let o=m(3);return S(o.onContainerButtonKeydown(r))})("onClick",function(r){E(e);let o=m(3);return S(o.toggleAMPM(r))})("keydown.enter",function(r){E(e);let o=m(3);return S(o.toggleAMPM(r))}),C(2,XG,2,2,"ng-template",null,2,at),T(),I(4,"span",18),ce(5),T(),I(6,"p-button",50),K("keydown",function(r){E(e);let o=m(3);return S(o.onContainerButtonKeydown(r))})("click",function(r){E(e);let o=m(3);return S(o.toggleAMPM(r))})("keydown.enter",function(r){E(e);let o=m(3);return S(o.toggleAMPM(r))}),C(7,iq,2,2,"ng-template",null,2,at),T()()}if(t&2){let e=m(3);k(e.cx("ampmPicker")),h("pBind",e.ptm("ampmPicker")),g(),h("styleClass",e.cx("pcIncrementButton"))("pt",e.ptm("pcIncrementButton")),J("aria-label",e.getTranslation("am"))("data-pc-group-section","timepickerbutton"),g(3),h("pBind",e.ptm("ampm")),g(),Xe(e.pm?"PM":"AM"),g(),h("styleClass",e.cx("pcDecrementButton"))("pt",e.ptm("pcDecrementButton")),J("aria-label",e.getTranslation("pm"))("data-pc-group-section","timepickerbutton")}}function oq(t,n){if(t&1){let e=se();I(0,"div",18)(1,"div",18)(2,"p-button",43),K("keydown",function(r){E(e);let o=m(2);return S(o.onContainerButtonKeydown(r))})("keydown.enter",function(r){E(e);let o=m(2);return S(o.incrementHour(r))})("keydown.space",function(r){E(e);let o=m(2);return S(o.incrementHour(r))})("mousedown",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseDown(r,0,1))})("mouseup",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("keyup.enter",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("keyup.space",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("mouseleave",function(){E(e);let r=m(2);return S(r.onTimePickerElementMouseLeave())}),C(3,xG,2,2,"ng-template",null,2,at),T(),I(5,"span",18),C(6,TG,2,0,"ng-container",6),ce(7),T(),I(8,"p-button",43),K("keydown",function(r){E(e);let o=m(2);return S(o.onContainerButtonKeydown(r))})("keydown.enter",function(r){E(e);let o=m(2);return S(o.decrementHour(r))})("keydown.space",function(r){E(e);let o=m(2);return S(o.decrementHour(r))})("mousedown",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseDown(r,0,-1))})("mouseup",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("keyup.enter",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("keyup.space",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("mouseleave",function(){E(e);let r=m(2);return S(r.onTimePickerElementMouseLeave())}),C(9,DG,2,2,"ng-template",null,2,at),T()(),I(11,"div",44)(12,"span",18),ce(13),T()(),I(14,"div",18)(15,"p-button",43),K("keydown",function(r){E(e);let o=m(2);return S(o.onContainerButtonKeydown(r))})("keydown.enter",function(r){E(e);let o=m(2);return S(o.incrementMinute(r))})("keydown.space",function(r){E(e);let o=m(2);return S(o.incrementMinute(r))})("mousedown",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseDown(r,1,1))})("mouseup",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("keyup.enter",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("keyup.space",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("mouseleave",function(){E(e);let r=m(2);return S(r.onTimePickerElementMouseLeave())}),C(16,RG,2,2,"ng-template",null,2,at),T(),I(18,"span",18),C(19,PG,2,0,"ng-container",6),ce(20),T(),I(21,"p-button",43),K("keydown",function(r){E(e);let o=m(2);return S(o.onContainerButtonKeydown(r))})("keydown.enter",function(r){E(e);let o=m(2);return S(o.decrementMinute(r))})("keydown.space",function(r){E(e);let o=m(2);return S(o.decrementMinute(r))})("mousedown",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseDown(r,1,-1))})("mouseup",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("keyup.enter",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("keyup.space",function(r){E(e);let o=m(2);return S(o.onTimePickerElementMouseUp(r))})("mouseleave",function(){E(e);let r=m(2);return S(r.onTimePickerElementMouseLeave())}),C(22,LG,2,2,"ng-template",null,2,at),T()(),C(24,BG,3,5,"div",23)(25,QG,10,14,"div",23)(26,KG,3,5,"div",23)(27,rq,9,13,"div",23),T()}if(t&2){let e=m(2);k(e.cx("timePicker")),h("pBind",e.ptm("timePicker")),g(),k(e.cx("hourPicker")),h("pBind",e.ptm("hourPicker")),g(),h("styleClass",e.cx("pcIncrementButton"))("pt",e.ptm("pcIncrementButton")),J("aria-label",e.getTranslation("nextHour"))("data-pc-group-section","timepickerbutton"),g(3),h("pBind",e.ptm("hour")),g(),h("ngIf",e.currentHour<10),g(),Xe(e.currentHour),g(),h("styleClass",e.cx("pcDecrementButton"))("pt",e.ptm("pcDecrementButton")),J("aria-label",e.getTranslation("prevHour"))("data-pc-group-section","timepickerbutton"),g(3),h("pBind",e.ptm("separatorContainer")),g(),h("pBind",e.ptm("separator")),g(),Xe(e.timeSeparator),g(),k(e.cx("minutePicker")),h("pBind",e.ptm("minutePicker")),g(),h("styleClass",e.cx("pcIncrementButton"))("pt",e.ptm("pcIncrementButton")),J("aria-label",e.getTranslation("nextMinute"))("data-pc-group-section","timepickerbutton"),g(3),h("pBind",e.ptm("minute")),g(),h("ngIf",e.currentMinute<10),g(),Xe(e.currentMinute),g(),h("styleClass",e.cx("pcDecrementButton"))("pt",e.ptm("pcDecrementButton")),J("aria-label",e.getTranslation("prevMinute"))("data-pc-group-section","timepickerbutton"),g(3),h("ngIf",e.showSeconds),g(),h("ngIf",e.showSeconds),g(),h("ngIf",e.hourFormat=="12"),g(),h("ngIf",e.hourFormat=="12")}}function sq(t,n){t&1&&ne(0)}function aq(t,n){if(t&1&&C(0,sq,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.buttonBarTemplate||e._buttonBarTemplate)("ngTemplateOutletContext",Dt(2,wW,e.onTodayButtonClick.bind(e),e.onClearButtonClick.bind(e)))}}function lq(t,n){if(t&1){let e=se();I(0,"p-button",51),K("keydown",function(r){E(e);let o=m(3);return S(o.onContainerButtonKeydown(r))})("onClick",function(r){E(e);let o=m(3);return S(o.onTodayButtonClick(r))}),T(),I(1,"p-button",51),K("keydown",function(r){E(e);let o=m(3);return S(o.onContainerButtonKeydown(r))})("onClick",function(r){E(e);let o=m(3);return S(o.onClearButtonClick(r))}),T()}if(t&2){let e=m(3);h("styleClass",e.cx("pcTodayButton"))("label",e.getTranslation("today"))("ngClass",e.todayButtonStyleClass)("pt",e.ptm("pcTodayButton")),J("data-pc-group-section","button"),g(),h("styleClass",e.cx("pcClearButton"))("label",e.getTranslation("clear"))("ngClass",e.clearButtonStyleClass)("pt",e.ptm("pcClearButton")),J("data-pc-group-section","button")}}function cq(t,n){if(t&1&&(I(0,"div",18),ot(1,aq,1,5,"ng-container")(2,lq,2,10),T()),t&2){let e=m(2);k(e.cx("buttonbar")),h("pBind",e.ptm("buttonbar")),g(),st(e.buttonBarTemplate||e._buttonBarTemplate?1:2)}}function dq(t,n){t&1&&ne(0)}function uq(t,n){if(t&1){let e=se();I(0,"div",22,1),K("@overlayAnimation.start",function(r){E(e);let o=m();return S(o.onOverlayAnimationStart(r))})("@overlayAnimation.done",function(r){E(e);let o=m();return S(o.onOverlayAnimationDone(r))})("click",function(r){E(e);let o=m();return S(o.onOverlayClick(r))}),Ot(2),C(3,LW,1,0,"ng-container",12)(4,vG,5,6,"ng-container",6)(5,oq,28,38,"div",23)(6,cq,3,4,"div",23),Ot(7,1),C(8,dq,1,0,"ng-container",12),T()}if(t&2){let e=m();k(e.cn(e.cx("panel"),e.panelStyleClass)),h("ngStyle",e.panelStyle)("@overlayAnimation",Te(18,yW,Dt(15,gW,e.showTransitionOptions,e.hideTransitionOptions)))("@.disabled",e.inline===!0)("pBind",e.ptm("panel")),J("id",e.panelId)("aria-label",e.getTranslation("chooseDate"))("role",e.inline?null:"dialog")("aria-modal",e.inline?null:"true"),g(3),h("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),g(),h("ngIf",!e.timeOnly),g(),h("ngIf",(e.showTime||e.timeOnly)&&e.currentView==="date"),g(),h("ngIf",e.showButtonBar),g(2),h("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}var pq=`
${gR}
/* For PrimeNG */
.p-datepicker.ng-invalid.ng-dirty .p-inputtext {
border-color: dt('inputtext.invalid.border.color');
}
`,fq={root:()=>({position:"relative"})},hq={root:({instance:t})=>["p-datepicker p-component p-inputwrapper",{"p-invalid":t.invalid(),"p-datepicker-fluid":t.hasFluid,"p-inputwrapper-filled":t.$filled(),"p-variant-filled":t.$variant()==="filled","p-inputwrapper-focus":t.focus||t.overlayVisible,"p-focus":t.focus||t.overlayVisible}],pcInputText:"p-datepicker-input",dropdown:"p-datepicker-dropdown",inputIconContainer:"p-datepicker-input-icon-container",inputIcon:"p-datepicker-input-icon",panel:({instance:t})=>["p-datepicker-panel p-component",{"p-datepicker-panel p-component":!0,"p-datepicker-panel-inline":t.inline,"p-disabled":t.$disabled(),"p-datepicker-timeonly":t.timeOnly}],calendarContainer:"p-datepicker-calendar-container",calendar:"p-datepicker-calendar",header:"p-datepicker-header",pcPrevButton:"p-datepicker-prev-button",title:"p-datepicker-title",selectMonth:"p-datepicker-select-month",selectYear:"p-datepicker-select-year",decade:"p-datepicker-decade",pcNextButton:"p-datepicker-next-button",dayView:"p-datepicker-day-view",weekHeader:"p-datepicker-weekheader p-disabled",weekNumber:"p-datepicker-weeknumber",weekLabelContainer:"p-datepicker-weeklabel-container p-disabled",weekDayCell:"p-datepicker-weekday-cell",weekDay:"p-datepicker-weekday",dayCell:({date:t})=>["p-datepicker-day-cell",{"p-datepicker-other-month":t.otherMonth,"p-datepicker-today":t.today}],day:({instance:t,date:n})=>{let e="";if(t.isRangeSelection()&&t.isSelected(n)&&n.selectable){let i=t.value[0],r=t.value[1],o=i&&n.year===i.getFullYear()&&n.month===i.getMonth()&&n.day===i.getDate(),s=r&&n.year===r.getFullYear()&&n.month===r.getMonth()&&n.day===r.getDate();e=o||s?"p-datepicker-day-selected":"p-datepicker-day-selected-range"}return{"p-datepicker-day":!0,"p-datepicker-day-selected":!t.isRangeSelection()&&t.isSelected(n)&&n.selectable,"p-disabled":t.$disabled()||!n.selectable,[e]:!0}},monthView:"p-datepicker-month-view",month:({instance:t,index:n})=>["p-datepicker-month",{"p-datepicker-month-selected":t.isMonthSelected(n),"p-disabled":t.isMonthDisabled(n)}],yearView:"p-datepicker-year-view",year:({instance:t,year:n})=>["p-datepicker-year",{"p-datepicker-year-selected":t.isYearSelected(n),"p-disabled":t.isYearDisabled(n)}],timePicker:"p-datepicker-time-picker",hourPicker:"p-datepicker-hour-picker",pcIncrementButton:"p-datepicker-increment-button",pcDecrementButton:"p-datepicker-decrement-button",separator:"p-datepicker-separator",minutePicker:"p-datepicker-minute-picker",secondPicker:"p-datepicker-second-picker",ampmPicker:"p-datepicker-ampm-picker",buttonbar:"p-datepicker-buttonbar",pcTodayButton:"p-datepicker-today-button",pcClearButton:"p-datepicker-clear-button",clearIcon:"p-datepicker-clear-icon"},bR=(()=>{class t extends Me{name="datepicker";style=pq;classes=hq;inlineStyles=fq;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var mq={provide:Vn,useExisting:Jt(()=>_R),multi:!0},vR=new z("DATEPICKER_INSTANCE"),_R=(()=>{class t extends gc{zone;overlayService;bindDirectiveInstance=x(te,{self:!0});$pcDatePicker=x(vR,{optional:!0,skipSelf:!0})??void 0;iconDisplay="button";styleClass;inputStyle;inputId;inputStyleClass;placeholder;ariaLabelledBy;ariaLabel;iconAriaLabel;get dateFormat(){return this._dateFormat}set dateFormat(e){this._dateFormat=e,this.initialized&&this.updateInputfield()}multipleSeparator=",";rangeSeparator="-";inline=!1;showOtherMonths=!0;selectOtherMonths;showIcon;icon;readonlyInput;shortYearCutoff="+10";get hourFormat(){return this._hourFormat}set hourFormat(e){this._hourFormat=e,this.initialized&&this.updateInputfield()}timeOnly;stepHour=1;stepMinute=1;stepSecond=1;showSeconds=!1;showOnFocus=!0;showWeek=!1;startWeekFromFirstDayOfYear=!1;showClear=!1;dataType="date";selectionMode="single";maxDateCount;showButtonBar;todayButtonStyleClass;clearButtonStyleClass;autofocus;autoZIndex=!0;baseZIndex=0;panelStyleClass;panelStyle;keepInvalid=!1;hideOnDateTimeSelect=!0;touchUI;timeSeparator=":";focusTrap=!0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";tabindex;get minDate(){return this._minDate}set minDate(e){this._minDate=e,this.currentMonth!=null&&this.currentMonth!=null&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=e,this.currentMonth!=null&&this.currentMonth!=null&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(e){this._disabledDates=e,this.currentMonth!=null&&this.currentMonth!=null&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(e){this._disabledDays=e,this.currentMonth!=null&&this.currentMonth!=null&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get showTime(){return this._showTime}set showTime(e){this._showTime=e,this.currentHour===void 0&&this.initTime(this.value||new Date),this.updateInputfield()}get responsiveOptions(){return this._responsiveOptions}set responsiveOptions(e){this._responsiveOptions=e,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get numberOfMonths(){return this._numberOfMonths}set numberOfMonths(e){this._numberOfMonths=e,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get firstDayOfWeek(){return this._firstDayOfWeek}set firstDayOfWeek(e){this._firstDayOfWeek=e,this.createWeekDays()}get view(){return this._view}set view(e){this._view=e,this.currentView=this._view}get defaultDate(){return this._defaultDate}set defaultDate(e){if(this._defaultDate=e,this.initialized){let i=e||new Date;this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear(),this.initTime(i),this.createMonths(this.currentMonth,this.currentYear)}}appendTo=ae(void 0);onFocus=new H;onBlur=new H;onClose=new H;onSelect=new H;onClear=new H;onInput=new H;onTodayClick=new H;onClearClick=new H;onMonthChange=new H;onYearChange=new H;onClickOutside=new H;onShow=new H;inputfieldViewChild;set content(e){this.contentViewChild=e,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):!this.focus&&!this.inline&&this.initFocusableCell())}_componentStyle=x(bR);contentViewChild;value;dates;months;weekDays;currentMonth;currentYear;currentHour;currentMinute;currentSecond;p;pm;mask;maskClickListener;overlay;responsiveStyleElement;overlayVisible;$appendTo=We(()=>this.appendTo()||this.config.overlayAppendTo());calendarElement;timePickerTimer;documentClickListener;animationEndListener;ticksTo1970;yearOptions;focus;isKeydown;_minDate;_maxDate;_dateFormat;_hourFormat="24";_showTime;_yearRange;preventDocumentListener;dayClass(e){return this._componentStyle.classes.day({instance:this,date:e})}dateTemplate;headerTemplate;footerTemplate;disabledDateTemplate;decadeTemplate;previousIconTemplate;nextIconTemplate;triggerIconTemplate;clearIconTemplate;decrementIconTemplate;incrementIconTemplate;inputIconTemplate;buttonBarTemplate;_dateTemplate;_headerTemplate;_footerTemplate;_disabledDateTemplate;_decadeTemplate;_previousIconTemplate;_nextIconTemplate;_triggerIconTemplate;_clearIconTemplate;_decrementIconTemplate;_incrementIconTemplate;_inputIconTemplate;_buttonBarTemplate;_disabledDates;_disabledDays;selectElement;todayElement;focusElement;scrollHandler;documentResizeListener;navigationState=null;isMonthNavigate;initialized;translationSubscription;_locale;_responsiveOptions;currentView;attributeSelector;panelId;_numberOfMonths=1;_firstDayOfWeek;_view="date";preventFocus;_defaultDate;_focusKey=null;window;get locale(){return this._locale}get iconButtonAriaLabel(){return this.iconAriaLabel?this.iconAriaLabel:this.getTranslation("chooseDate")}get prevIconAriaLabel(){return this.currentView==="year"?this.getTranslation("prevDecade"):this.currentView==="month"?this.getTranslation("prevYear"):this.getTranslation("prevMonth")}get nextIconAriaLabel(){return this.currentView==="year"?this.getTranslation("nextDecade"):this.currentView==="month"?this.getTranslation("nextYear"):this.getTranslation("nextMonth")}constructor(e,i){super(),this.zone=e,this.overlayService=i,this.window=this.document.defaultView}onInit(){this.attributeSelector=mt("pn_id_"),this.panelId=this.attributeSelector+"_panel";let e=this.defaultDate||new Date;this.createResponsiveStyle(),this.currentMonth=e.getMonth(),this.currentYear=e.getFullYear(),this.yearOptions=[],this.currentView=this.view,this.view==="date"&&(this.createWeekDays(),this.initTime(e),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=(1969*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*1e7),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.createWeekDays(),this.cd.markForCheck()}),this.initialized=!0}onAfterViewInit(){this.inline&&(this.contentViewChild&&this.contentViewChild.nativeElement.setAttribute(this.attributeSelector,""),!this.$disabled()&&!this.inline&&(this.initFocusableCell(),this.numberOfMonths===1&&this.contentViewChild&&this.contentViewChild.nativeElement&&(this.contentViewChild.nativeElement.style.width=Mn(this.el?.nativeElement)+"px")))}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}templates;onAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"date":this._dateTemplate=e.template;break;case"decade":this._decadeTemplate=e.template;break;case"disabledDate":this._disabledDateTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"inputicon":this._inputIconTemplate=e.template;break;case"buttonbar":this._buttonBarTemplate=e.template;break;case"previousicon":this._previousIconTemplate=e.template;break;case"nexticon":this._nextIconTemplate=e.template;break;case"triggericon":this._triggerIconTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"decrementicon":this._decrementIconTemplate=e.template;break;case"incrementicon":this._incrementIconTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;default:this._dateTemplate=e.template;break}})}getTranslation(e){return this.config.getTranslation(e)}populateYearOptions(e,i){this.yearOptions=[];for(let r=e;r<=i;r++)this.yearOptions.push(r)}createWeekDays(){this.weekDays=[];let e=this.getFirstDateOfWeek(),i=this.getTranslation(xn.DAY_NAMES_MIN);for(let r=0;r<7;r++)this.weekDays.push(i[e]),e=e==6?0:++e}monthPickerValues(){let e=[];for(let i=0;i<=11;i++)e.push(this.config.getTranslation("monthNamesShort")[i]);return e}yearPickerValues(){let e=[],i=this.currentYear-this.currentYear%10;for(let r=0;r<10;r++)e.push(i+r);return e}createMonths(e,i){this.months=this.months=[];for(let r=0;r<this.numberOfMonths;r++){let o=e+r,s=i;o>11&&(o=o%12,s=i+Math.floor((e+r)/12)),this.months.push(this.createMonth(o,s))}}getWeekNumber(e){let i=new Date(e.getTime());if(this.startWeekFromFirstDayOfYear){let o=+this.getFirstDateOfWeek();i.setDate(i.getDate()+6+o-i.getDay())}else i.setDate(i.getDate()+4-(i.getDay()||7));let r=i.getTime();return i.setMonth(0),i.setDate(1),Math.floor(Math.round((r-i.getTime())/864e5)/7)+1}createMonth(e,i){let r=[],o=this.getFirstDayOfMonthIndex(e,i),s=this.getDaysCountInMonth(e,i),a=this.getDaysCountInPrevMonth(e,i),l=1,c=new Date,d=[],u=Math.ceil((s+o)/7);for(let p=0;p<u;p++){let f=[];if(p==0){for(let b=a-o+1;b<=a;b++){let v=this.getPreviousMonthAndYear(e,i);f.push({day:b,month:v.month,year:v.year,otherMonth:!0,today:this.isToday(c,b,v.month,v.year),selectable:this.isSelectable(b,v.month,v.year,!0)})}let y=7-f.length;for(let b=0;b<y;b++)f.push({day:l,month:e,year:i,today:this.isToday(c,l,e,i),selectable:this.isSelectable(l,e,i,!1)}),l++}else for(let y=0;y<7;y++){if(l>s){let b=this.getNextMonthAndYear(e,i);f.push({day:l-s,month:b.month,year:b.year,otherMonth:!0,today:this.isToday(c,l-s,b.month,b.year),selectable:this.isSelectable(l-s,b.month,b.year,!0)})}else f.push({day:l,month:e,year:i,today:this.isToday(c,l,e,i),selectable:this.isSelectable(l,e,i,!1)});l++}this.showWeek&&d.push(this.getWeekNumber(new Date(f[0].year,f[0].month,f[0].day))),r.push(f)}return{month:e,year:i,dates:r,weekNumbers:d}}initTime(e){this.pm=e.getHours()>11,this.showTime?(this.currentMinute=e.getMinutes(),this.currentSecond=this.showSeconds?e.getSeconds():0,this.setCurrentHourPM(e.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(e){if(this.$disabled()){e.preventDefault();return}this.isMonthNavigate=!0,this.currentView==="month"?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):this.currentView==="year"?(this.decrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(this.currentMonth===0?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear))}navForward(e){if(this.$disabled()){e.preventDefault();return}this.isMonthNavigate=!0,this.currentView==="month"?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):this.currentView==="year"?(this.incrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(this.currentMonth===11?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear))}decrementYear(){this.currentYear--;let e=this.yearOptions;if(this.currentYear<e[0]){let i=e[e.length-1]-e[0];this.populateYearOptions(e[0]-i,e[e.length-1]-i)}}decrementDecade(){this.currentYear=this.currentYear-10}incrementDecade(){this.currentYear=this.currentYear+10}incrementYear(){this.currentYear++;let e=this.yearOptions;if(this.currentYear>e[e.length-1]){let i=e[e.length-1]-e[0];this.populateYearOptions(e[0]+i,e[e.length-1]+i)}}switchToMonthView(e){this.setCurrentView("month"),e.preventDefault()}switchToYearView(e){this.setCurrentView("year"),e.preventDefault()}onDateSelect(e,i){if(this.$disabled()||!i.selectable){e.preventDefault();return}this.isMultipleSelection()&&this.isSelected(i)?(this.value=this.value.filter((r,o)=>!this.isDateEquals(r,i)),this.value.length===0&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(i)&&this.selectDate(i),this.hideOnDateTimeSelect&&(this.isSingleSelection()||this.isRangeSelection()&&this.value[1])&&setTimeout(()=>{e.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),e.preventDefault()}shouldSelectDate(e){return this.isMultipleSelection()&&this.maxDateCount!=null?this.maxDateCount>(this.value?this.value.length:0):!0}onMonthSelect(e,i){this.view==="month"?this.onDateSelect(e,{year:this.currentYear,month:i,day:1,selectable:!0}):(this.currentMonth=i,this.createMonths(this.currentMonth,this.currentYear),this.setCurrentView("date"),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}))}onYearSelect(e,i){this.view==="year"?this.onDateSelect(e,{year:i,month:0,day:1,selectable:!0}):(this.currentYear=i,this.setCurrentView("month"),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}))}updateInputfield(){let e="";if(this.value){if(this.isSingleSelection())e=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let i=0;i<this.value.length;i++){let r=this.formatDateTime(this.value[i]);e+=r,i!==this.value.length-1&&(e+=this.multipleSeparator+" ")}else if(this.isRangeSelection()&&this.value&&this.value.length){let i=this.value[0],r=this.value[1];e=this.formatDateTime(i),r&&(e+=" "+this.rangeSeparator+" "+this.formatDateTime(r))}}this.writeModelValue(e),this.inputFieldValue=e,this.inputfieldViewChild&&this.inputfieldViewChild.nativeElement&&(this.inputfieldViewChild.nativeElement.value=this.inputFieldValue)}inputFieldValue=null;formatDateTime(e){let i=this.keepInvalid?e:null,r=this.isValidDateForTimeConstraints(e);return this.isValidDate(e)?this.timeOnly?i=this.formatTime(e):(i=this.formatDate(e,this.getDateFormat()),this.showTime&&(i+=" "+this.formatTime(e))):this.dataType==="string"&&(i=e),i=r?i:"",i}formatDateMetaToDate(e){return new Date(e.year,e.month,e.day)}formatDateKey(e){return`${e.getFullYear()}-${e.getMonth()}-${e.getDate()}`}setCurrentHourPM(e){this.hourFormat=="12"?(this.pm=e>11,e>=12?this.currentHour=e==12?12:e-12:this.currentHour=e==0?12:e):this.currentHour=e}setCurrentView(e){this.currentView=e,this.cd.detectChanges(),this.alignOverlay()}selectDate(e){let i=this.formatDateMetaToDate(e);if(this.showTime&&(this.hourFormat=="12"?this.currentHour===12?i.setHours(this.pm?12:0):i.setHours(this.pm?this.currentHour+12:this.currentHour):i.setHours(this.currentHour),i.setMinutes(this.currentMinute),i.setSeconds(this.currentSecond)),this.minDate&&this.minDate>i&&(i=this.minDate,this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds()),this.maxDate&&this.maxDate<i&&(i=this.maxDate,this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds()),this.isSingleSelection())this.updateModel(i);else if(this.isMultipleSelection())this.updateModel(this.value?[...this.value,i]:[i]);else if(this.isRangeSelection())if(this.value&&this.value.length){let r=this.value[0],o=this.value[1];!o&&i.getTime()>=r.getTime()?o=i:(r=i,o=null),this.updateModel([r,o])}else this.updateModel([i,null]);this.onSelect.emit(i)}updateModel(e){if(this.value=e,this.dataType=="date")this.writeModelValue(this.value),this.onModelChange(this.value);else if(this.dataType=="string")if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let i=null;Array.isArray(this.value)&&(i=this.value.map(r=>this.formatDateTime(r))),this.writeModelValue(i),this.onModelChange(i)}}getFirstDayOfMonthIndex(e,i){let r=new Date;r.setDate(1),r.setMonth(e),r.setFullYear(i);let o=r.getDay()+this.getSundayIndex();return o>=7?o-7:o}getDaysCountInMonth(e,i){return 32-this.daylightSavingAdjust(new Date(i,e,32)).getDate()}getDaysCountInPrevMonth(e,i){let r=this.getPreviousMonthAndYear(e,i);return this.getDaysCountInMonth(r.month,r.year)}getPreviousMonthAndYear(e,i){let r,o;return e===0?(r=11,o=i-1):(r=e-1,o=i),{month:r,year:o}}getNextMonthAndYear(e,i){let r,o;return e===11?(r=0,o=i+1):(r=e+1,o=i),{month:r,year:o}}getSundayIndex(){let e=this.getFirstDateOfWeek();return e>0?7-e:0}isSelected(e){if(this.value){if(this.isSingleSelection())return this.isDateEquals(this.value,e);if(this.isMultipleSelection()){let i=!1;for(let r of this.value)if(i=this.isDateEquals(r,e),i)break;return i}else if(this.isRangeSelection())return this.value[1]?this.isDateEquals(this.value[0],e)||this.isDateEquals(this.value[1],e)||this.isDateBetween(this.value[0],this.value[1],e):this.isDateEquals(this.value[0],e)}else return!1}isComparable(){return this.value!=null&&typeof this.value!="string"}isMonthSelected(e){if(!this.isComparable())return!1;if(this.isMultipleSelection())return this.value.some(i=>i.getMonth()===e&&i.getFullYear()===this.currentYear);if(this.isRangeSelection())if(this.value[1]){let i=new Date(this.currentYear,e,1),r=new Date(this.value[0].getFullYear(),this.value[0].getMonth(),1),o=new Date(this.value[1].getFullYear(),this.value[1].getMonth(),1);return i>=r&&i<=o}else return this.value[0]?.getFullYear()===this.currentYear&&this.value[0]?.getMonth()===e;else return this.value.getMonth()===e&&this.value.getFullYear()===this.currentYear}isMonthDisabled(e,i){let r=i??this.currentYear;for(let o=1;o<this.getDaysCountInMonth(e,r)+1;o++)if(this.isSelectable(o,e,r,!1))return!1;return!0}isYearDisabled(e){return Array(12).fill(0).every((i,r)=>this.isMonthDisabled(r,e))}isYearSelected(e){if(this.isComparable()){let i=this.isRangeSelection()?this.value[0]:this.value;return this.isMultipleSelection()?!1:i.getFullYear()===e}return!1}isDateEquals(e,i){return e&&Xd(e)?e.getDate()===i.day&&e.getMonth()===i.month&&e.getFullYear()===i.year:!1}isDateBetween(e,i,r){let o=!1;if(Xd(e)&&Xd(i)){let s=this.formatDateMetaToDate(r);return e.getTime()<=s.getTime()&&i.getTime()>=s.getTime()}return o}isSingleSelection(){return this.selectionMode==="single"}isRangeSelection(){return this.selectionMode==="range"}isMultipleSelection(){return this.selectionMode==="multiple"}isToday(e,i,r,o){return e.getDate()===i&&e.getMonth()===r&&e.getFullYear()===o}isSelectable(e,i,r,o){let s=!0,a=!0,l=!0,c=!0;return o&&!this.selectOtherMonths?!1:(this.minDate&&(this.minDate.getFullYear()>r||this.minDate.getFullYear()===r&&this.currentView!="year"&&(this.minDate.getMonth()>i||this.minDate.getMonth()===i&&this.minDate.getDate()>e))&&(s=!1),this.maxDate&&(this.maxDate.getFullYear()<r||this.maxDate.getFullYear()===r&&(this.maxDate.getMonth()<i||this.maxDate.getMonth()===i&&this.maxDate.getDate()<e))&&(a=!1),this.disabledDates&&(l=!this.isDateDisabled(e,i,r)),this.disabledDays&&(c=!this.isDayDisabled(e,i,r)),s&&a&&l&&c)}isDateDisabled(e,i,r){if(this.disabledDates){for(let o of this.disabledDates)if(o.getFullYear()===r&&o.getMonth()===i&&o.getDate()===e)return!0}return!1}isDayDisabled(e,i,r){if(this.disabledDays){let s=new Date(r,i,e).getDay();return this.disabledDays.indexOf(s)!==-1}return!1}onInputFocus(e){this.focus=!0,this.showOnFocus&&this.showOverlay(),this.onFocus.emit(e)}onInputClick(){this.showOnFocus&&!this.overlayVisible&&this.showOverlay()}onInputBlur(e){this.focus=!1,this.onBlur.emit(e),this.keepInvalid||this.updateInputfield(),this.onModelTouched()}onButtonClick(e,i=this.inputfieldViewChild?.nativeElement){this.$disabled()||(this.overlayVisible?this.hideOverlay():(i.focus(),this.showOverlay()))}clear(){this.value=null,this.inputFieldValue=null,this.writeModelValue(this.value),this.onModelChange(this.value),this.updateInputfield(),this.onClear.emit()}onOverlayClick(e){this.overlayService.add({originalEvent:e,target:this.el.nativeElement})}getMonthName(e){return this.config.getTranslation("monthNames")[e]}getYear(e){return this.currentView==="month"?this.currentYear:e.year}switchViewButtonDisabled(){return this.numberOfMonths>1||this.$disabled()}onPrevButtonClick(e){this.navigationState={backward:!0,button:!0},this.navBackward(e)}onNextButtonClick(e){this.navigationState={backward:!1,button:!0},this.navForward(e)}onContainerButtonKeydown(e){switch(e.which){case 9:if(this.inline||this.trapFocus(e),this.inline){let i=wt(this.el?.nativeElement,".p-datepicker-header"),r=e.target;if(this.timeOnly)return;r==i?.children[i?.children?.length-1]&&this.initFocusableCell()}break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,e.preventDefault();break;default:break}}onInputKeydown(e){this.isKeydown=!0,e.keyCode===40&&this.contentViewChild?this.trapFocus(e):e.keyCode===27?this.overlayVisible&&(this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,e.preventDefault()):e.keyCode===13?this.overlayVisible&&(this.overlayVisible=!1,e.preventDefault()):e.keyCode===9&&this.contentViewChild&&(oa(this.contentViewChild.nativeElement).forEach(i=>i.tabIndex="-1"),this.overlayVisible&&(this.overlayVisible=!1))}onDateCellKeydown(e,i,r){let o=e.currentTarget,s=o.parentElement,a=this.formatDateMetaToDate(i);switch(e.which){case 40:{o.tabIndex="-1";let y=Zd(s),b=s.parentElement.nextElementSibling;if(b){let v=b.children[y].children[0];wn(v,"p-disabled")?(this.navigationState={backward:!1},this.navForward(e)):(b.children[y].children[0].tabIndex="0",b.children[y].children[0].focus())}else this.navigationState={backward:!1},this.navForward(e);e.preventDefault();break}case 38:{o.tabIndex="-1";let y=Zd(s),b=s.parentElement.previousElementSibling;if(b){let v=b.children[y].children[0];wn(v,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(e)):(v.tabIndex="0",v.focus())}else this.navigationState={backward:!0},this.navBackward(e);e.preventDefault();break}case 37:{o.tabIndex="-1";let y=s.previousElementSibling;if(y){let b=y.children[0];wn(b,"p-disabled")||wn(b.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,r):(b.tabIndex="0",b.focus())}else this.navigateToMonth(!0,r);e.preventDefault();break}case 39:{o.tabIndex="-1";let y=s.nextElementSibling;if(y){let b=y.children[0];wn(b,"p-disabled")?this.navigateToMonth(!1,r):(b.tabIndex="0",b.focus())}else this.navigateToMonth(!1,r);e.preventDefault();break}case 13:case 32:{this.onDateSelect(e,i),e.preventDefault();break}case 27:{this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,e.preventDefault();break}case 9:{this.inline||this.trapFocus(e);break}case 33:{o.tabIndex="-1";let y=new Date(a.getFullYear(),a.getMonth()-1,a.getDate()),b=this.formatDateKey(y);this.navigateToMonth(!0,r,`span[data-date='${b}']:not(.p-disabled):not(.p-ink)`),e.preventDefault();break}case 34:{o.tabIndex="-1";let y=new Date(a.getFullYear(),a.getMonth()+1,a.getDate()),b=this.formatDateKey(y);this.navigateToMonth(!1,r,`span[data-date='${b}']:not(.p-disabled):not(.p-ink)`),e.preventDefault();break}case 36:o.tabIndex="-1";let l=new Date(a.getFullYear(),a.getMonth(),1),c=this.formatDateKey(l),d=wt(o.offsetParent,`span[data-date='${c}']:not(.p-disabled):not(.p-ink)`);d&&(d.tabIndex="0",d.focus()),e.preventDefault();break;case 35:o.tabIndex="-1";let u=new Date(a.getFullYear(),a.getMonth()+1,0),p=this.formatDateKey(u),f=wt(o.offsetParent,`span[data-date='${p}']:not(.p-disabled):not(.p-ink)`);u&&(f.tabIndex="0",f.focus()),e.preventDefault();break;default:break}}onMonthCellKeydown(e,i){let r=e.currentTarget;switch(e.which){case 38:case 40:{r.tabIndex="-1";var o=r.parentElement.children,s=Zd(r);let a=o[e.which===40?s+3:s-3];a&&(a.tabIndex="0",a.focus()),e.preventDefault();break}case 37:{r.tabIndex="-1";let a=r.previousElementSibling;a?(a.tabIndex="0",a.focus()):(this.navigationState={backward:!0},this.navBackward(e)),e.preventDefault();break}case 39:{r.tabIndex="-1";let a=r.nextElementSibling;a?(a.tabIndex="0",a.focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break}case 13:case 32:{this.onMonthSelect(e,i),e.preventDefault();break}case 27:{this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,e.preventDefault();break}case 9:{this.inline||this.trapFocus(e);break}default:break}}onYearCellKeydown(e,i){let r=e.currentTarget;switch(e.which){case 38:case 40:{r.tabIndex="-1";var o=r.parentElement.children,s=Zd(r);let a=o[e.which===40?s+2:s-2];a&&(a.tabIndex="0",a.focus()),e.preventDefault();break}case 37:{r.tabIndex="-1";let a=r.previousElementSibling;a?(a.tabIndex="0",a.focus()):(this.navigationState={backward:!0},this.navBackward(e)),e.preventDefault();break}case 39:{r.tabIndex="-1";let a=r.nextElementSibling;a?(a.tabIndex="0",a.focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break}case 13:case 32:{this.onYearSelect(e,i),e.preventDefault();break}case 27:{this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,e.preventDefault();break}case 9:{this.trapFocus(e);break}default:break}}navigateToMonth(e,i,r){if(e)if(this.numberOfMonths===1||i===0)this.navigationState={backward:!0},this._focusKey=r,this.navBackward(event);else{let o=this.contentViewChild.nativeElement.children[i-1];if(r){let s=wt(o,r);s.tabIndex="0",s.focus()}else{let s=Br(o,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),a=s[s.length-1];a.tabIndex="0",a.focus()}}else if(this.numberOfMonths===1||i===this.numberOfMonths-1)this.navigationState={backward:!1},this._focusKey=r,this.navForward(event);else{let o=this.contentViewChild.nativeElement.children[i+1];if(r){let s=wt(o,r);s.tabIndex="0",s.focus()}else{let s=wt(o,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");s.tabIndex="0",s.focus()}}}updateFocus(){let e;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?wt(this.contentViewChild.nativeElement,".p-datepicker-prev-button").focus():wt(this.contentViewChild.nativeElement,".p-datepicker-next-button").focus();else{if(this.navigationState.backward){let i;this.currentView==="month"?i=Br(this.contentViewChild.nativeElement,".p-datepicker-month-view .p-datepicker-month:not(.p-disabled)"):this.currentView==="year"?i=Br(this.contentViewChild.nativeElement,".p-datepicker-year-view .p-datepicker-year:not(.p-disabled)"):i=Br(this.contentViewChild.nativeElement,this._focusKey||".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),i&&i.length>0&&(e=i[i.length-1])}else this.currentView==="month"?e=wt(this.contentViewChild.nativeElement,".p-datepicker-month-view .p-datepicker-month:not(.p-disabled)"):this.currentView==="year"?e=wt(this.contentViewChild.nativeElement,".p-datepicker-year-view .p-datepicker-year:not(.p-disabled)"):e=wt(this.contentViewChild.nativeElement,this._focusKey||".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");e&&(e.tabIndex="0",e.focus())}this.navigationState=null,this._focusKey=null}else this.initFocusableCell()}initFocusableCell(){let e=this.contentViewChild?.nativeElement,i;if(this.currentView==="month"){let r=Br(e,".p-datepicker-month-view .p-datepicker-month:not(.p-disabled)"),o=wt(e,".p-datepicker-month-view .p-datepicker-month.p-highlight");r.forEach(s=>s.tabIndex=-1),i=o||r[0],r.length===0&&Br(e,'.p-datepicker-month-view .p-datepicker-month.p-disabled[tabindex = "0"]').forEach(a=>a.tabIndex=-1)}else if(this.currentView==="year"){let r=Br(e,".p-datepicker-year-view .p-datepicker-year:not(.p-disabled)"),o=wt(e,".p-datepicker-year-view .p-datepicker-year.p-highlight");r.forEach(s=>s.tabIndex=-1),i=o||r[0],r.length===0&&Br(e,'.p-datepicker-year-view .p-datepicker-year.p-disabled[tabindex = "0"]').forEach(a=>a.tabIndex=-1)}else if(i=wt(e,"span.p-highlight"),!i){let r=wt(e,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)");r?i=r:i=wt(e,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)")}i&&(i.tabIndex="0",!this.preventFocus&&(!this.navigationState||!this.navigationState.button)&&setTimeout(()=>{this.$disabled()||i.focus()},1),this.preventFocus=!1)}trapFocus(e){let i=oa(this.contentViewChild.nativeElement);if(i&&i.length>0)if(!i[0].ownerDocument.activeElement)i[0].focus();else{let r=i.indexOf(i[0].ownerDocument.activeElement);if(e.shiftKey)if(r==-1||r===0)if(this.focusTrap)i[i.length-1].focus();else{if(r===-1)return this.hideOverlay();if(r===0)return}else i[r-1].focus();else if(r==-1)if(this.timeOnly)i[0].focus();else{let o=0;for(let s=0;s<i.length;s++)i[s].tagName==="SPAN"&&(o=s);i[o].focus()}else if(r===i.length-1){if(!this.focusTrap&&r!=-1)return this.hideOverlay();i[0].focus()}else i[r+1].focus()}e.preventDefault()}onMonthDropdownChange(e){this.currentMonth=parseInt(e),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}onYearDropdownChange(e){this.currentYear=parseInt(e),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}convertTo24Hour(e,i){return this.hourFormat=="12"?e===12?i?12:0:i?e+12:e:e}constrainTime(e,i,r,o){let s=[e,i,r],a=!1,l=this.value,c=this.convertTo24Hour(e,o),d=this.isRangeSelection(),u=this.isMultipleSelection();(d||u)&&(this.value||(this.value=[new Date,new Date]),d&&(l=this.value[1]||this.value[0]),u&&(l=this.value[this.value.length-1]));let f=l?l.toDateString():null,y=this.minDate&&f&&this.minDate.toDateString()===f,b=this.maxDate&&f&&this.maxDate.toDateString()===f;switch(y&&(a=this.minDate.getHours()>=12),!0){case(y&&a&&this.minDate.getHours()===12&&this.minDate.getHours()>c):s[0]=11;case(y&&this.minDate.getHours()===c&&this.minDate.getMinutes()>i):s[1]=this.minDate.getMinutes();case(y&&this.minDate.getHours()===c&&this.minDate.getMinutes()===i&&this.minDate.getSeconds()>r):s[2]=this.minDate.getSeconds();break;case(y&&!a&&this.minDate.getHours()-1===c&&this.minDate.getHours()>c):s[0]=11,this.pm=!0;case(y&&this.minDate.getHours()===c&&this.minDate.getMinutes()>i):s[1]=this.minDate.getMinutes();case(y&&this.minDate.getHours()===c&&this.minDate.getMinutes()===i&&this.minDate.getSeconds()>r):s[2]=this.minDate.getSeconds();break;case(y&&a&&this.minDate.getHours()>c&&c!==12):this.setCurrentHourPM(this.minDate.getHours()),s[0]=this.currentHour||0;case(y&&this.minDate.getHours()===c&&this.minDate.getMinutes()>i):s[1]=this.minDate.getMinutes();case(y&&this.minDate.getHours()===c&&this.minDate.getMinutes()===i&&this.minDate.getSeconds()>r):s[2]=this.minDate.getSeconds();break;case(y&&this.minDate.getHours()>c):s[0]=this.minDate.getHours();case(y&&this.minDate.getHours()===c&&this.minDate.getMinutes()>i):s[1]=this.minDate.getMinutes();case(y&&this.minDate.getHours()===c&&this.minDate.getMinutes()===i&&this.minDate.getSeconds()>r):s[2]=this.minDate.getSeconds();break;case(b&&this.maxDate.getHours()<c):s[0]=this.maxDate.getHours();case(b&&this.maxDate.getHours()===c&&this.maxDate.getMinutes()<i):s[1]=this.maxDate.getMinutes();case(b&&this.maxDate.getHours()===c&&this.maxDate.getMinutes()===i&&this.maxDate.getSeconds()<r):s[2]=this.maxDate.getSeconds();break}return s}incrementHour(e){let i=this.currentHour??0,r=(this.currentHour??0)+this.stepHour,o=this.pm;this.hourFormat=="24"?r=r>=24?r-24:r:this.hourFormat=="12"&&(i<12&&r>11&&(o=!this.pm),r=r>=13?r-12:r),this.toggleAMPMIfNotMinDate(o),[this.currentHour,this.currentMinute,this.currentSecond]=this.constrainTime(r,this.currentMinute,this.currentSecond,o),e.preventDefault()}toggleAMPMIfNotMinDate(e){let i=this.value,r=i?i.toDateString():null;this.minDate&&r&&this.minDate.toDateString()===r&&this.minDate.getHours()>=12?this.pm=!0:this.pm=e}onTimePickerElementMouseDown(e,i,r){this.$disabled()||(this.repeat(e,null,i,r),e.preventDefault())}onTimePickerElementMouseUp(e){this.$disabled()||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseLeave(){!this.$disabled()&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(e,i,r,o){let s=i||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(e,100,r,o),this.cd.markForCheck()},s),r){case 0:o===1?this.incrementHour(e):this.decrementHour(e);break;case 1:o===1?this.incrementMinute(e):this.decrementMinute(e);break;case 2:o===1?this.incrementSecond(e):this.decrementSecond(e);break}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}decrementHour(e){let i=(this.currentHour??0)-this.stepHour,r=this.pm;this.hourFormat=="24"?i=i<0?24+i:i:this.hourFormat=="12"&&(this.currentHour===12&&(r=!this.pm),i=i<=0?12+i:i),this.toggleAMPMIfNotMinDate(r),[this.currentHour,this.currentMinute,this.currentSecond]=this.constrainTime(i,this.currentMinute,this.currentSecond,r),e.preventDefault()}incrementMinute(e){let i=(this.currentMinute??0)+this.stepMinute;i=i>59?i-60:i,[this.currentHour,this.currentMinute,this.currentSecond]=this.constrainTime(this.currentHour||0,i,this.currentSecond,this.pm),e.preventDefault()}decrementMinute(e){let i=(this.currentMinute??0)-this.stepMinute;i=i<0?60+i:i,[this.currentHour,this.currentMinute,this.currentSecond]=this.constrainTime(this.currentHour||0,i,this.currentSecond||0,this.pm),e.preventDefault()}incrementSecond(e){let i=this.currentSecond+this.stepSecond;i=i>59?i-60:i,[this.currentHour,this.currentMinute,this.currentSecond]=this.constrainTime(this.currentHour||0,this.currentMinute||0,i,this.pm),e.preventDefault()}decrementSecond(e){let i=this.currentSecond-this.stepSecond;i=i<0?60+i:i,[this.currentHour,this.currentMinute,this.currentSecond]=this.constrainTime(this.currentHour||0,this.currentMinute||0,i,this.pm),e.preventDefault()}updateTime(){let e=this.value;this.isRangeSelection()&&(e=this.value[1]||this.value[0]),this.isMultipleSelection()&&(e=this.value[this.value.length-1]),e=e?new Date(e.getTime()):new Date,this.hourFormat=="12"?this.currentHour===12?e.setHours(this.pm?12:0):e.setHours(this.pm?this.currentHour+12:this.currentHour):e.setHours(this.currentHour),e.setMinutes(this.currentMinute),e.setSeconds(this.currentSecond),this.isRangeSelection()&&(this.value[1]?e=[this.value[0],e]:e=[e,null]),this.isMultipleSelection()&&(e=[...this.value.slice(0,-1),e]),this.updateModel(e),this.onSelect.emit(e),this.updateInputfield()}toggleAMPM(e){let i=!this.pm;this.pm=i,[this.currentHour,this.currentMinute,this.currentSecond]=this.constrainTime(this.currentHour||0,this.currentMinute||0,this.currentSecond||0,i),this.updateTime(),e.preventDefault()}onUserInput(e){if(!this.isKeydown)return;this.isKeydown=!1;let i=e.target.value;try{let r=this.parseValueFromString(i);this.isValidSelection(r)?(this.updateModel(r),this.updateUI()):this.keepInvalid&&this.updateModel(r)}catch{let o=this.keepInvalid?i:null;this.updateModel(o)}this.onInput.emit(e)}isValidSelection(e){if(this.isSingleSelection())return this.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1);let i=e.every(r=>this.isSelectable(r.getDate(),r.getMonth(),r.getFullYear(),!1));return i&&this.isRangeSelection()&&(i=e.length===1||e.length>1&&e[1]>=e[0]),i}parseValueFromString(e){if(!e||e.trim().length===0)return null;let i;if(this.isSingleSelection())i=this.parseDateTime(e);else if(this.isMultipleSelection()){let r=e.split(this.multipleSeparator);i=[];for(let o of r)i.push(this.parseDateTime(o.trim()))}else if(this.isRangeSelection()){let r=e.split(" "+this.rangeSeparator+" ");i=[];for(let o=0;o<r.length;o++)i[o]=this.parseDateTime(r[o].trim())}return i}parseDateTime(e){let i,r=e.split(" ");if(this.timeOnly)i=new Date,this.populateTime(i,r[0],r[1]);else{let o=this.getDateFormat();if(this.showTime){let s=this.hourFormat=="12"?r.pop():null,a=r.pop();i=this.parseDate(r.join(" "),o),this.populateTime(i,a,s)}else i=this.parseDate(e,o)}return i}populateTime(e,i,r){if(this.hourFormat=="12"&&!r)throw"Invalid Time";this.pm=r==="PM"||r==="pm";let o=this.parseTime(i);e.setHours(o.hour),e.setMinutes(o.minute),e.setSeconds(o.second)}isValidDate(e){return Xd(e)&&lt(e)}updateUI(){let e=this.value;Array.isArray(e)&&(e=e.length===2?e[1]:e[0]);let i=this.defaultDate&&this.isValidDate(this.defaultDate)&&!this.value?this.defaultDate:e&&this.isValidDate(e)?e:new Date;this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear(),this.createMonths(this.currentMonth,this.currentYear),(this.showTime||this.timeOnly)&&(this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=this.showSeconds?i.getSeconds():0)}showOverlay(){this.overlayVisible||(this.updateUI(),this.touchUI||(this.preventFocus=!0),this.overlayVisible=!0)}hideOverlay(){this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,this.clearTimePickerTimer(),this.touchUI&&this.disableModality(),this.cd.markForCheck()}toggle(){this.inline||(this.overlayVisible?this.hideOverlay():(this.showOverlay(),this.inputfieldViewChild?.nativeElement.focus()))}onOverlayAnimationStart(e){switch(e.toState){case"visible":case"visibleTouchUI":if(!this.inline){this.overlay=e.element,this.$attrSelector&&this.overlay.setAttribute(this.$attrSelector,"");let i=this.inline?void 0:{position:"absolute",top:"0"};PD(this.overlay,i||{}),this.appendOverlay(),this.updateFocus(),this.autoZIndex&&(this.touchUI?ti.set("modal",this.overlay,this.baseZIndex||this.config.zIndex.modal):ti.set("overlay",this.overlay,this.baseZIndex||this.config.zIndex.overlay)),this.alignOverlay(),this.onShow.emit(e)}break;case"void":this.onOverlayHide(),this.onClose.emit(e);break}}onOverlayAnimationDone(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inline||(this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener());break;case"void":this.autoZIndex&&ti.clear(e.element);break}}appendOverlay(){this.$appendTo()&&this.$appendTo()!=="self"&&(this.$appendTo()==="body"?this.document.body.appendChild(this.overlay):Kd(this.$appendTo(),this.overlay))}restoreOverlayAppend(){this.overlay&&this.$appendTo()!=="self"&&this.el.nativeElement.appendChild(this.overlay)}alignOverlay(){this.touchUI?this.enableModality(this.overlay):this.overlay&&(this.view==="date"?(this.overlay.style.width||(this.overlay.style.width=Mn(this.overlay)+"px"),this.overlay.style.minWidth||(this.overlay.style.minWidth=Mn(this.inputfieldViewChild?.nativeElement)+"px")):this.overlay.style.width||(this.overlay.style.width=Mn(this.inputfieldViewChild?.nativeElement)+"px"),this.$appendTo()&&this.$appendTo()!=="self"?RD(this.overlay,this.inputfieldViewChild?.nativeElement):AD(this.overlay,this.inputfieldViewChild?.nativeElement))}enableModality(e){!this.mask&&this.touchUI&&(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(e.style.zIndex)-1)),tr(this.mask,"p-overlay-mask p-datepicker-mask p-datepicker-mask-scrollblocker p-overlay-mask p-overlay-mask-enter"),this.maskClickListener=this.renderer.listen(this.mask,"click",r=>{this.disableModality(),this.overlayVisible=!1}),this.renderer.appendChild(this.document.body,this.mask),_k())}disableModality(){this.mask&&(tr(this.mask,"p-overlay-mask-leave"),this.animationEndListener||(this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyMask.bind(this))))}destroyMask(){if(!this.mask)return;this.renderer.removeChild(this.document.body,this.mask);let e=this.document.body.children,i;for(let r=0;r<e.length;r++){let o=e[r];if(wn(o,"p-datepicker-mask-scrollblocker")){i=!0;break}}i||Hh(),this.unbindAnimationEndListener(),this.unbindMaskClickListener(),this.mask=null}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}getDateFormat(){return this.dateFormat||this.getTranslation("dateFormat")}getFirstDateOfWeek(){return this._firstDayOfWeek||this.getTranslation(xn.FIRST_DAY_OF_WEEK)}formatDate(e,i){if(!e)return"";let r,o=d=>{let u=r+1<i.length&&i.charAt(r+1)===d;return u&&r++,u},s=(d,u,p)=>{let f=""+u;if(o(d))for(;f.length<p;)f="0"+f;return f},a=(d,u,p,f)=>o(d)?f[u]:p[u],l="",c=!1;if(e)for(r=0;r<i.length;r++)if(c)i.charAt(r)==="'"&&!o("'")?c=!1:l+=i.charAt(r);else switch(i.charAt(r)){case"d":l+=s("d",e.getDate(),2);break;case"D":l+=a("D",e.getDay(),this.getTranslation(xn.DAY_NAMES_SHORT),this.getTranslation(xn.DAY_NAMES));break;case"o":l+=s("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":l+=s("m",e.getMonth()+1,2);break;case"M":l+=a("M",e.getMonth(),this.getTranslation(xn.MONTH_NAMES_SHORT),this.getTranslation(xn.MONTH_NAMES));break;case"y":l+=o("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":l+=e.getTime();break;case"!":l+=e.getTime()*1e4+this.ticksTo1970;break;case"'":o("'")?l+="'":c=!0;break;default:l+=i.charAt(r)}return l}formatTime(e){if(!e)return"";let i="",r=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return this.hourFormat=="12"&&r>11&&r!=12&&(r-=12),this.hourFormat=="12"?i+=r===0?12:r<10?"0"+r:r:i+=r<10?"0"+r:r,i+=":",i+=o<10?"0"+o:o,this.showSeconds&&(i+=":",i+=s<10?"0"+s:s),this.hourFormat=="12"&&(i+=e.getHours()>11?" PM":" AM"),i}parseTime(e){let i=e.split(":"),r=this.showSeconds?3:2;if(i.length!==r)throw"Invalid time";let o=parseInt(i[0]),s=parseInt(i[1]),a=this.showSeconds?parseInt(i[2]):null;if(isNaN(o)||isNaN(s)||o>23||s>59||this.hourFormat=="12"&&o>12||this.showSeconds&&(isNaN(a)||a>59))throw"Invalid time";return this.hourFormat=="12"&&(o!==12&&this.pm?o+=12:!this.pm&&o===12&&(o-=12)),{hour:o,minute:s,second:a}}parseDate(e,i){if(i==null||e==null)throw"Invalid arguments";if(e=typeof e=="object"?e.toString():e+"",e==="")return null;let r,o,s,a=0,l=typeof this.shortYearCutoff!="string"?this.shortYearCutoff:new Date().getFullYear()%100+parseInt(this.shortYearCutoff,10),c=-1,d=-1,u=-1,p=-1,f=!1,y,b=P=>{let B=r+1<i.length&&i.charAt(r+1)===P;return B&&r++,B},v=P=>{let B=b(P),Y=P==="@"?14:P==="!"?20:P==="y"&&B?4:P==="o"?3:2,ge=P==="y"?Y:1,tt=new RegExp("^\\d{"+ge+","+Y+"}"),it=e.substring(a).match(tt);if(!it)throw"Missing number at position "+a;return a+=it[0].length,parseInt(it[0],10)},w=(P,B,Y)=>{let ge=-1,tt=b(P)?Y:B,it=[];for(let vt=0;vt<tt.length;vt++)it.push([vt,tt[vt]]);it.sort((vt,tn)=>-(vt[1].length-tn[1].length));for(let vt=0;vt<it.length;vt++){let tn=it[vt][1];if(e.substr(a,tn.length).toLowerCase()===tn.toLowerCase()){ge=it[vt][0],a+=tn.length;break}}if(ge!==-1)return ge+1;throw"Unknown name at position "+a},D=()=>{if(e.charAt(a)!==i.charAt(r))throw"Unexpected literal at position "+a;a++};for(this.view==="month"&&(u=1),r=0;r<i.length;r++)if(f)i.charAt(r)==="'"&&!b("'")?f=!1:D();else switch(i.charAt(r)){case"d":u=v("d");break;case"D":w("D",this.getTranslation(xn.DAY_NAMES_SHORT),this.getTranslation(xn.DAY_NAMES));break;case"o":p=v("o");break;case"m":d=v("m");break;case"M":d=w("M",this.getTranslation(xn.MONTH_NAMES_SHORT),this.getTranslation(xn.MONTH_NAMES));break;case"y":c=v("y");break;case"@":y=new Date(v("@")),c=y.getFullYear(),d=y.getMonth()+1,u=y.getDate();break;case"!":y=new Date((v("!")-this.ticksTo1970)/1e4),c=y.getFullYear(),d=y.getMonth()+1,u=y.getDate();break;case"'":b("'")?D():f=!0;break;default:D()}if(a<e.length&&(s=e.substr(a),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(c===-1?c=new Date().getFullYear():c<100&&(c+=new Date().getFullYear()-new Date().getFullYear()%100+(c<=l?0:-100)),p>-1){d=1,u=p;do{if(o=this.getDaysCountInMonth(c,d-1),u<=o)break;d++,u-=o}while(!0)}if(this.view==="year"&&(d=d===-1?1:d,u=u===-1?1:u),y=this.daylightSavingAdjust(new Date(c,d-1,u)),y.getFullYear()!==c||y.getMonth()+1!==d||y.getDate()!==u)throw"Invalid date";return y}daylightSavingAdjust(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null}isValidDateForTimeConstraints(e){return this.keepInvalid?!0:(!this.minDate||e>=this.minDate)&&(!this.maxDate||e<=this.maxDate)}onTodayButtonClick(e){let i=new Date,r={day:i.getDate(),month:i.getMonth(),year:i.getFullYear(),otherMonth:i.getMonth()!==this.currentMonth||i.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.createMonths(i.getMonth(),i.getFullYear()),this.onDateSelect(e,r),this.onTodayClick.emit(i)}onClearButtonClick(e){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(e)}createResponsiveStyle(){if(this.numberOfMonths>1&&this.responsiveOptions){this.responsiveStyleElement||(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",Jd(this.responsiveStyleElement,"nonce",this.config?.csp()?.nonce),this.renderer.appendChild(this.document.body,this.responsiveStyleElement));let e="";if(this.responsiveOptions){let i=[...this.responsiveOptions].filter(r=>!!(r.breakpoint&&r.numMonths)).sort((r,o)=>-1*r.breakpoint.localeCompare(o.breakpoint,void 0,{numeric:!0}));for(let r=0;r<i.length;r++){let{breakpoint:o,numMonths:s}=i[r],a=`
.p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${s}) .p-datepicker-next {
display: inline-flex !important;
}
`;for(let l=s;l<this.numberOfMonths;l++)a+=`
.p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${l+1}) {
display: none !important;
}
`;e+=`
@media screen and (max-width: ${o}) {
${a}
}
`}}this.responsiveStyleElement.innerHTML=e,Jd(this.responsiveStyleElement,"nonce",this.config?.csp()?.nonce)}}destroyResponsiveStyleElement(){this.responsiveStyleElement&&(this.responsiveStyleElement.remove(),this.responsiveStyleElement=null)}bindDocumentClickListener(){this.documentClickListener||this.zone.runOutsideAngular(()=>{let e=this.el?this.el.nativeElement.ownerDocument:this.document;this.documentClickListener=this.renderer.listen(e,"mousedown",i=>{this.isOutsideClicked(i)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(i),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){!this.documentResizeListener&&!this.touchUI&&(this.documentResizeListener=this.renderer.listen(this.window,"resize",this.onWindowResize.bind(this)))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new _o(this.el?.nativeElement,()=>{this.overlayVisible&&this.hideOverlay()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}isOutsideClicked(e){return!(this.el.nativeElement.isSameNode(e.target)||this.isNavIconClicked(e)||this.el.nativeElement.contains(e.target)||this.overlay&&this.overlay.contains(e.target))}isNavIconClicked(e){return wn(e.target,"p-datepicker-prev-button")||wn(e.target,"p-datepicker-prev-icon")||wn(e.target,"p-datepicker-next-button")||wn(e.target,"p-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!yo()&&this.hideOverlay()}onOverlayHide(){this.currentView=this.view,this.mask&&this.destroyMask(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null}writeControlValue(e){if(this.value=e,this.value&&typeof this.value=="string")try{this.value=this.parseValueFromString(this.value)}catch{this.keepInvalid&&(this.value=e)}this.updateInputfield(),this.updateUI(),this.cd.markForCheck()}onDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.overlay&&this.autoZIndex&&ti.clear(this.overlay),this.destroyResponsiveStyleElement(),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}static \u0275fac=function(i){return new(i||t)(me($e),me(Vl))};static \u0275cmp=$({type:t,selectors:[["p-datePicker"],["p-datepicker"],["p-date-picker"]],contentQueries:function(i,r,o){if(i&1&&(V(o,JU,4),V(o,XU,4),V(o,eW,4),V(o,tW,4),V(o,nW,4),V(o,iW,4),V(o,rW,4),V(o,oW,4),V(o,sW,4),V(o,aW,4),V(o,lW,4),V(o,cW,4),V(o,dW,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r.dateTemplate=s.first),M(s=O())&&(r.headerTemplate=s.first),M(s=O())&&(r.footerTemplate=s.first),M(s=O())&&(r.disabledDateTemplate=s.first),M(s=O())&&(r.decadeTemplate=s.first),M(s=O())&&(r.previousIconTemplate=s.first),M(s=O())&&(r.nextIconTemplate=s.first),M(s=O())&&(r.triggerIconTemplate=s.first),M(s=O())&&(r.clearIconTemplate=s.first),M(s=O())&&(r.decrementIconTemplate=s.first),M(s=O())&&(r.incrementIconTemplate=s.first),M(s=O())&&(r.inputIconTemplate=s.first),M(s=O())&&(r.buttonBarTemplate=s.first),M(s=O())&&(r.templates=s)}},viewQuery:function(i,r){if(i&1&&(ct(uW,5),ct(pW,5)),i&2){let o;M(o=O())&&(r.inputfieldViewChild=o.first),M(o=O())&&(r.content=o.first)}},hostVars:4,hostBindings:function(i,r){i&2&&(Dn(r.sx("root")),k(r.cn(r.cx("root"),r.styleClass)))},inputs:{iconDisplay:"iconDisplay",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",iconAriaLabel:"iconAriaLabel",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:[2,"inline","inline",R],showOtherMonths:[2,"showOtherMonths","showOtherMonths",R],selectOtherMonths:[2,"selectOtherMonths","selectOtherMonths",R],showIcon:[2,"showIcon","showIcon",R],icon:"icon",readonlyInput:[2,"readonlyInput","readonlyInput",R],shortYearCutoff:"shortYearCutoff",hourFormat:"hourFormat",timeOnly:[2,"timeOnly","timeOnly",R],stepHour:[2,"stepHour","stepHour",ke],stepMinute:[2,"stepMinute","stepMinute",ke],stepSecond:[2,"stepSecond","stepSecond",ke],showSeconds:[2,"showSeconds","showSeconds",R],showOnFocus:[2,"showOnFocus","showOnFocus",R],showWeek:[2,"showWeek","showWeek",R],startWeekFromFirstDayOfYear:"startWeekFromFirstDayOfYear",showClear:[2,"showClear","showClear",R],dataType:"dataType",selectionMode:"selectionMode",maxDateCount:[2,"maxDateCount","maxDateCount",ke],showButtonBar:[2,"showButtonBar","showButtonBar",R],todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autofocus:[2,"autofocus","autofocus",R],autoZIndex:[2,"autoZIndex","autoZIndex",R],baseZIndex:[2,"baseZIndex","baseZIndex",ke],panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:[2,"keepInvalid","keepInvalid",R],hideOnDateTimeSelect:[2,"hideOnDateTimeSelect","hideOnDateTimeSelect",R],touchUI:[2,"touchUI","touchUI",R],timeSeparator:"timeSeparator",focusTrap:[2,"focusTrap","focusTrap",R],showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:[2,"tabindex","tabindex",ke],minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",showTime:"showTime",responsiveOptions:"responsiveOptions",numberOfMonths:"numberOfMonths",firstDayOfWeek:"firstDayOfWeek",view:"view",defaultDate:"defaultDate",appendTo:[1,"appendTo"]},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onClear:"onClear",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[Se([mq,bR,{provide:vR,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],ngContentSelectors:hW,decls:2,vars:2,consts:[["inputfield",""],["contentWrapper",""],["icon",""],[3,"ngIf"],[3,"ngStyle","class","pBind","click",4,"ngIf"],["pInputText","","type","text","role","combobox","aria-autocomplete","none","aria-haspopup","dialog","autocomplete","off",3,"focus","keydown","click","blur","input","pSize","value","ngStyle","pAutoFocus","variant","fluid","invalid","pt"],[4,"ngIf"],["type","button","aria-haspopup","dialog","tabindex","0",3,"class","disabled","pBind","click",4,"ngIf"],["data-p-icon","times",3,"class","pBind","click",4,"ngIf"],[3,"class","pBind","click",4,"ngIf"],["data-p-icon","times",3,"click","pBind"],[3,"click","pBind"],[4,"ngTemplateOutlet"],["type","button","aria-haspopup","dialog","tabindex","0",3,"click","disabled","pBind"],[3,"ngClass","pBind",4,"ngIf"],[3,"ngClass","pBind"],["data-p-icon","calendar",3,"pBind",4,"ngIf"],["data-p-icon","calendar",3,"pBind"],[3,"pBind"],["data-p-icon","calendar",3,"class","pBind","click",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","calendar",3,"click","pBind"],[3,"click","ngStyle","pBind"],[3,"class","pBind",4,"ngIf"],[3,"class","pBind",4,"ngFor","ngForOf"],["rounded","","variant","text","severity","secondary","type","button",3,"keydown","onClick","styleClass","ngStyle","ariaLabel","pt"],["type","button","pRipple","",3,"class","pBind","click","keydown",4,"ngIf"],["rounded","","variant","text","severity","secondary",3,"keydown","onClick","styleClass","ngStyle","ariaLabel","pt"],["role","grid",3,"class","pBind",4,"ngIf"],["data-p-icon","chevron-left",4,"ngIf"],["data-p-icon","chevron-left"],["type","button","pRipple","",3,"click","keydown","pBind"],["data-p-icon","chevron-right",4,"ngIf"],["data-p-icon","chevron-right"],["role","grid",3,"pBind"],["scope","col",3,"class","pBind",4,"ngFor","ngForOf"],[3,"pBind",4,"ngFor","ngForOf"],["scope","col",3,"pBind"],["draggable","false","pRipple","",3,"click","keydown","ngClass","pBind"],["class","p-hidden-accessible","aria-live","polite",4,"ngIf"],["aria-live","polite",1,"p-hidden-accessible"],["pRipple","",3,"class","pBind","click","keydown",4,"ngFor","ngForOf"],["pRipple","",3,"click","keydown","pBind"],["rounded","","variant","text","severity","secondary",3,"keydown","keydown.enter","keydown.space","mousedown","mouseup","keyup.enter","keyup.space","mouseleave","styleClass","pt"],[1,"p-datepicker-separator",3,"pBind"],["data-p-icon","chevron-up",3,"pBind",4,"ngIf"],["data-p-icon","chevron-up",3,"pBind"],["data-p-icon","chevron-down",3,"pBind",4,"ngIf"],["data-p-icon","chevron-down",3,"pBind"],["text","","rounded","","severity","secondary",3,"keydown","onClick","keydown.enter","styleClass","pt"],["text","","rounded","","severity","secondary",3,"keydown","click","keydown.enter","styleClass","pt"],["size","small","severity","secondary","variant","text","size","small",3,"keydown","onClick","styleClass","label","ngClass","pt"]],template:function(i,r){i&1&&(zt(fW),C(0,FW,5,27,"ng-template",3)(1,uq,9,20,"div",4)),i&2&&(h("ngIf",!r.inline),g(),h("ngIf",r.inline||r.overlayVisible))},dependencies:[qe,Ji,Oi,Ut,kt,Xn,Ni,$r,Nk,Fk,Lk,Wh,Wl,Ak,Hr,bs,xe,Wt,te],encapsulation:2,data:{animation:[Mu("overlayAnimation",[rw("visibleTouchUI",ii({transform:"translate(-50%,-50%)",opacity:1})),Oo("void => visible",[ii({opacity:0,transform:"scaleY(0.8)"}),Mo("{{showTransitionParams}}",ii({opacity:1,transform:"*"}))]),Oo("visible => void",[Mo("{{hideTransitionParams}}",ii({opacity:0}))]),Oo("void => visibleTouchUI",[ii({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),Mo("{{showTransitionParams}}")]),Oo("visibleTouchUI => void",[Mo("{{hideTransitionParams}}",ii({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0})}return t})(),wR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[_R,xe,xe]})}return t})();var gq=["data-p-icon","filter-fill"],CR=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["","data-p-icon","filter-fill"]],features:[j],attrs:gq,decls:1,vars:0,consts:[["d","M13.7274 0.33847C13.6228 0.130941 13.4095 0 13.1764 0H0.82351C0.590451 0 0.377157 0.130941 0.272568 0.33847C0.167157 0.545999 0.187746 0.795529 0.325275 0.98247L4.73527 6.99588V13.3824C4.73527 13.7233 5.01198 14 5.35292 14H8.64704C8.98798 14 9.26469 13.7233 9.26469 13.3824V6.99588L13.6747 0.98247C13.8122 0.795529 13.8328 0.545999 13.7274 0.33847Z","fill","currentColor"]],template:function(i,r){i&1&&(G(),de(0,"path",0))},encapsulation:2})}return t})();var xR=`
.p-radiobutton {
position: relative;
display: inline-flex;
user-select: none;
vertical-align: bottom;
width: dt('radiobutton.width');
height: dt('radiobutton.height');
}
.p-radiobutton-input {
cursor: pointer;
appearance: none;
position: absolute;
top: 0;
inset-inline-start: 0;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
opacity: 0;
z-index: 1;
outline: 0 none;
border: 1px solid transparent;
border-radius: 50%;
}
.p-radiobutton-box {
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
border: 1px solid dt('radiobutton.border.color');
background: dt('radiobutton.background');
width: dt('radiobutton.width');
height: dt('radiobutton.height');
transition:
background dt('radiobutton.transition.duration'),
color dt('radiobutton.transition.duration'),
border-color dt('radiobutton.transition.duration'),
box-shadow dt('radiobutton.transition.duration'),
outline-color dt('radiobutton.transition.duration');
outline-color: transparent;
box-shadow: dt('radiobutton.shadow');
}
.p-radiobutton-icon {
transition-duration: dt('radiobutton.transition.duration');
background: transparent;
font-size: dt('radiobutton.icon.size');
width: dt('radiobutton.icon.size');
height: dt('radiobutton.icon.size');
border-radius: 50%;
backface-visibility: hidden;
transform: translateZ(0) scale(0.1);
}
.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box {
border-color: dt('radiobutton.hover.border.color');
}
.p-radiobutton-checked .p-radiobutton-box {
border-color: dt('radiobutton.checked.border.color');
background: dt('radiobutton.checked.background');
}
.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon {
background: dt('radiobutton.icon.checked.color');
transform: translateZ(0) scale(1, 1);
visibility: visible;
}
.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box {
border-color: dt('radiobutton.checked.hover.border.color');
background: dt('radiobutton.checked.hover.background');
}
.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon {
background: dt('radiobutton.icon.checked.hover.color');
}
.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:focus-visible) .p-radiobutton-box {
border-color: dt('radiobutton.focus.border.color');
box-shadow: dt('radiobutton.focus.ring.shadow');
outline: dt('radiobutton.focus.ring.width') dt('radiobutton.focus.ring.style') dt('radiobutton.focus.ring.color');
outline-offset: dt('radiobutton.focus.ring.offset');
}
.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:focus-visible) .p-radiobutton-box {
border-color: dt('radiobutton.checked.focus.border.color');
}
.p-radiobutton.p-invalid > .p-radiobutton-box {
border-color: dt('radiobutton.invalid.border.color');
}
.p-radiobutton.p-variant-filled .p-radiobutton-box {
background: dt('radiobutton.filled.background');
}
.p-radiobutton.p-variant-filled.p-radiobutton-checked .p-radiobutton-box {
background: dt('radiobutton.checked.background');
}
.p-radiobutton.p-variant-filled:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box {
background: dt('radiobutton.checked.hover.background');
}
.p-radiobutton.p-disabled {
opacity: 1;
}
.p-radiobutton.p-disabled .p-radiobutton-box {
background: dt('radiobutton.disabled.background');
border-color: dt('radiobutton.checked.disabled.border.color');
}
.p-radiobutton-checked.p-disabled .p-radiobutton-box .p-radiobutton-icon {
background: dt('radiobutton.icon.disabled.color');
}
.p-radiobutton-sm,
.p-radiobutton-sm .p-radiobutton-box {
width: dt('radiobutton.sm.width');
height: dt('radiobutton.sm.height');
}
.p-radiobutton-sm .p-radiobutton-icon {
font-size: dt('radiobutton.icon.sm.size');
width: dt('radiobutton.icon.sm.size');
height: dt('radiobutton.icon.sm.size');
}
.p-radiobutton-lg,
.p-radiobutton-lg .p-radiobutton-box {
width: dt('radiobutton.lg.width');
height: dt('radiobutton.lg.height');
}
.p-radiobutton-lg .p-radiobutton-icon {
font-size: dt('radiobutton.icon.lg.size');
width: dt('radiobutton.icon.lg.size');
height: dt('radiobutton.icon.lg.size');
}
`;var yq=["input"],bq=`
${xR}
/* For PrimeNG */
p-radioButton.ng-invalid.ng-dirty .p-radiobutton-box,
p-radio-button.ng-invalid.ng-dirty .p-radiobutton-box,
p-radiobutton.ng-invalid.ng-dirty .p-radiobutton-box {
border-color: dt('radiobutton.invalid.border.color');
}
`,vq={root:({instance:t})=>["p-radiobutton p-component",{"p-radiobutton-checked":t.checked,"p-disabled":t.$disabled(),"p-invalid":t.invalid(),"p-variant-filled":t.$variant()==="filled","p-radiobutton-sm p-inputfield-sm":t.size()==="small","p-radiobutton-lg p-inputfield-lg":t.size()==="large"}],box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"},TR=(()=>{class t extends Me{name="radiobutton";style=bq;classes=vq;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var ER=new z("RADIOBUTTON_INSTANCE"),_q={provide:Vn,useExisting:Jt(()=>SR),multi:!0},wq=(()=>{class t{accessors=[];add(e,i){this.accessors.push([e,i])}remove(e){this.accessors=this.accessors.filter(i=>i[1]!==e)}select(e){this.accessors.forEach(i=>{this.isSameGroup(i,e)&&i[1]!==e&&i[1].writeValue(e.value)})}isSameGroup(e,i){return e[0].control?e[0].control.root===i.control.control.root&&e[1].name()===i.name():!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),SR=(()=>{class t extends Zr{$pcRadioButton=x(ER,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}value;tabindex;inputId;ariaLabelledBy;ariaLabel;styleClass;autofocus;binary;variant=ae();size=ae();onClick=new H;onFocus=new H;onBlur=new H;inputViewChild;$variant=We(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());checked;focused;control;_componentStyle=x(TR);injector=x(Bt);registry=x(wq);onInit(){this.control=this.injector.get(mi),this.registry.add(this.control,this)}onChange(e){this.$disabled()||this.select(e)}select(e){this.$disabled()||(this.checked=!0,this.writeModelValue(this.checked),this.onModelChange(this.value),this.registry.select(this),this.onClick.emit({originalEvent:e,value:this.value}))}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onModelTouched(),this.onBlur.emit(e)}focus(){this.inputViewChild.nativeElement.focus()}writeControlValue(e,i){this.checked=this.binary?!!e:e==this.value,i(this.checked),this.cd.markForCheck()}onDestroy(){this.registry.remove(this)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-radioButton"],["p-radiobutton"],["p-radio-button"]],viewQuery:function(i,r){if(i&1&&ct(yq,5),i&2){let o;M(o=O())&&(r.inputViewChild=o.first)}},hostVars:2,hostBindings:function(i,r){i&2&&k(r.cx("root"))},inputs:{value:"value",tabindex:[2,"tabindex","tabindex",ke],inputId:"inputId",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",styleClass:"styleClass",autofocus:[2,"autofocus","autofocus",R],binary:[2,"binary","binary",R],variant:[1,"variant"],size:[1,"size"]},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[Se([_q,TR,{provide:ER,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],decls:4,vars:20,consts:[["input",""],["type","radio",3,"focus","blur","change","checked","pAutoFocus","pBind"],[3,"pBind"]],template:function(i,r){if(i&1){let o=se();I(0,"input",1,0),K("focus",function(a){return E(o),S(r.onInputFocus(a))})("blur",function(a){return E(o),S(r.onInputBlur(a))})("change",function(a){return E(o),S(r.onChange(a))}),T(),I(2,"div",2),ee(3,"div",2),T()}i&2&&(k(r.cx("input")),h("checked",r.checked)("pAutoFocus",r.autofocus)("pBind",r.ptm("input")),J("id",r.inputId)("name",r.name())("required",r.required()?"":void 0)("disabled",r.$disabled()?"":void 0)("value",r.modelValue())("aria-labelledby",r.ariaLabelledBy)("aria-label",r.ariaLabel)("aria-checked",r.checked)("tabindex",r.tabindex),g(2),k(r.cx("box")),h("pBind",r.ptm("box")),g(),k(r.cx("icon")),h("pBind",r.ptm("icon")))},dependencies:[qe,Hr,xe,Wt,te],encapsulation:2,changeDetection:0})}return t})(),IR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({imports:[SR,xe,xe]})}return t})();var Cq=["header"],xq=["headergrouped"],Tq=["body"],Eq=["loadingbody"],Sq=["caption"],Iq=["footer"],Dq=["footergrouped"],kq=["summary"],Mq=["colgroup"],Oq=["expandedrow"],Rq=["groupheader"],Pq=["groupfooter"],Aq=["frozenexpandedrow"],Nq=["frozenheader"],Fq=["frozenbody"],Lq=["frozenfooter"],Bq=["frozencolgroup"],Vq=["emptymessage"],jq=["paginatorleft"],zq=["paginatorright"],Hq=["paginatordropdownitem"],$q=["loadingicon"],Uq=["reorderindicatorupicon"],Wq=["reorderindicatordownicon"],Gq=["sorticon"],qq=["checkboxicon"],Qq=["headercheckboxicon"],Kq=["paginatordropdownicon"],Yq=["paginatorfirstpagelinkicon"],Zq=["paginatorlastpagelinkicon"],Jq=["paginatorpreviouspagelinkicon"],Xq=["paginatornextpagelinkicon"],eQ=["resizeHelper"],tQ=["reorderIndicatorUp"],nQ=["reorderIndicatorDown"],iQ=["wrapper"],rQ=["table"],oQ=["thead"],sQ=["tfoot"],aQ=["scroller"],lQ=t=>({height:t}),DR=(t,n)=>({$implicit:t,options:n}),cQ=t=>({columns:t}),dw=t=>({$implicit:t});function dQ(t,n){if(t&1&&ee(0,"i",17),t&2){let e=m(2);k(e.cn(e.cx("loadingIcon"),e.loadingIcon)),h("pBind",e.ptm("loadingIcon"))}}function uQ(t,n){if(t&1&&(G(),ee(0,"svg",19)),t&2){let e=m(3);k(e.cx("loadingIcon")),h("spin",!0)("pBind",e.ptm("loadingIcon"))}}function pQ(t,n){}function fQ(t,n){t&1&&C(0,pQ,0,0,"ng-template")}function hQ(t,n){if(t&1&&(I(0,"span",17),C(1,fQ,1,0,null,20),T()),t&2){let e=m(3);k(e.cx("loadingIcon")),h("pBind",e.ptm("loadingIcon")),g(),h("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function mQ(t,n){if(t&1&&(re(0),C(1,uQ,1,4,"svg",18)(2,hQ,2,4,"span",10),oe()),t&2){let e=m(2);g(),h("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),g(),h("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function gQ(t,n){if(t&1&&(I(0,"div",17),C(1,dQ,1,3,"i",10)(2,mQ,3,2,"ng-container",14),T()),t&2){let e=m();k(e.cx("mask")),h("pBind",e.ptm("mask")),g(),h("ngIf",e.loadingIcon),g(),h("ngIf",!e.loadingIcon)}}function yQ(t,n){t&1&&ne(0)}function bQ(t,n){if(t&1&&(I(0,"div",17),C(1,yQ,1,0,"ng-container",20),T()),t&2){let e=m();k(e.cx("header")),h("pBind",e.ptm("header")),g(),h("ngTemplateOutlet",e.captionTemplate||e._captionTemplate)}}function vQ(t,n){t&1&&ne(0)}function _Q(t,n){if(t&1&&C(0,vQ,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorDropdownIconTemplate||e._paginatorDropdownIconTemplate)}}function wQ(t,n){t&1&&C(0,_Q,1,1,"ng-template",22)}function CQ(t,n){t&1&&ne(0)}function xQ(t,n){if(t&1&&C(0,CQ,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorFirstPageLinkIconTemplate||e._paginatorFirstPageLinkIconTemplate)}}function TQ(t,n){t&1&&C(0,xQ,1,1,"ng-template",23)}function EQ(t,n){t&1&&ne(0)}function SQ(t,n){if(t&1&&C(0,EQ,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorPreviousPageLinkIconTemplate||e._paginatorPreviousPageLinkIconTemplate)}}function IQ(t,n){t&1&&C(0,SQ,1,1,"ng-template",24)}function DQ(t,n){t&1&&ne(0)}function kQ(t,n){if(t&1&&C(0,DQ,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorLastPageLinkIconTemplate||e._paginatorLastPageLinkIconTemplate)}}function MQ(t,n){t&1&&C(0,kQ,1,1,"ng-template",25)}function OQ(t,n){t&1&&ne(0)}function RQ(t,n){if(t&1&&C(0,OQ,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorNextPageLinkIconTemplate||e._paginatorNextPageLinkIconTemplate)}}function PQ(t,n){t&1&&C(0,RQ,1,1,"ng-template",26)}function AQ(t,n){if(t&1){let e=se();I(0,"p-paginator",21),K("onPageChange",function(r){E(e);let o=m();return S(o.onPageChange(r))}),C(1,wQ,1,0,null,14)(2,TQ,1,0,null,14)(3,IQ,1,0,null,14)(4,MQ,1,0,null,14)(5,PQ,1,0,null,14),T()}if(t&2){let e=m();h("rows",e.rows)("first",e.first)("totalRecords",e.totalRecords)("pageLinkSize",e.pageLinks)("alwaysShow",e.alwaysShowPaginator)("rowsPerPageOptions",e.rowsPerPageOptions)("templateLeft",e.paginatorLeftTemplate||e._paginatorLeftTemplate)("templateRight",e.paginatorRightTemplate||e._paginatorRightTemplate)("appendTo",e.paginatorDropdownAppendTo)("dropdownScrollHeight",e.paginatorDropdownScrollHeight)("currentPageReportTemplate",e.currentPageReportTemplate)("showFirstLastIcon",e.showFirstLastIcon)("dropdownItemTemplate",e.paginatorDropdownItemTemplate||e._paginatorDropdownItemTemplate)("showCurrentPageReport",e.showCurrentPageReport)("showJumpToPageDropdown",e.showJumpToPageDropdown)("showJumpToPageInput",e.showJumpToPageInput)("showPageLinks",e.showPageLinks)("styleClass",e.cx("pcPaginator")+" "+e.paginatorStyleClass&&e.paginatorStyleClass)("locale",e.paginatorLocale)("pt",e.ptm("pcPaginator")),g(),h("ngIf",e.paginatorDropdownIconTemplate||e._paginatorDropdownIconTemplate),g(),h("ngIf",e.paginatorFirstPageLinkIconTemplate||e._paginatorFirstPageLinkIconTemplate),g(),h("ngIf",e.paginatorPreviousPageLinkIconTemplate||e._paginatorPreviousPageLinkIconTemplate),g(),h("ngIf",e.paginatorLastPageLinkIconTemplate||e._paginatorLastPageLinkIconTemplate),g(),h("ngIf",e.paginatorNextPageLinkIconTemplate||e._paginatorNextPageLinkIconTemplate)}}function NQ(t,n){t&1&&ne(0)}function FQ(t,n){if(t&1&&C(0,NQ,1,0,"ng-container",28),t&2){let e=n.$implicit,i=n.options;m(2);let r=pn(8);h("ngTemplateOutlet",r)("ngTemplateOutletContext",Dt(2,DR,e,i))}}function LQ(t,n){if(t&1){let e=se();I(0,"p-scroller",27,2),K("onLazyLoad",function(r){E(e);let o=m();return S(o.onLazyItemLoad(r))}),C(2,FQ,1,5,"ng-template",null,3,at),T()}if(t&2){let e=m();Dn(Te(16,lQ,e.scrollHeight!=="flex"?e.scrollHeight:void 0)),h("items",e.processedData)("columns",e.columns)("scrollHeight",e.scrollHeight!=="flex"?void 0:"100%")("itemSize",e.virtualScrollItemSize)("step",e.rows)("delay",e.lazy?e.virtualScrollDelay:0)("inline",!0)("autoSize",!0)("lazy",e.lazy)("loaderDisabled",!0)("showSpacer",!1)("showLoader",e.loadingBodyTemplate||e._loadingBodyTemplate)("options",e.virtualScrollOptions)("pt",e.ptm("virtualScroller"))}}function BQ(t,n){t&1&&ne(0)}function VQ(t,n){if(t&1&&(re(0),C(1,BQ,1,0,"ng-container",28),oe()),t&2){let e=m(),i=pn(8);g(),h("ngTemplateOutlet",i)("ngTemplateOutletContext",Dt(4,DR,e.processedData,Te(2,cQ,e.columns)))}}function jQ(t,n){t&1&&ne(0)}function zQ(t,n){t&1&&ne(0)}function HQ(t,n){if(t&1&&ee(0,"tbody",35),t&2){let e=m().options,i=m();k(i.cx("tbody")),h("pBind",i.ptm("tbody"))("value",i.frozenValue)("frozenRows",!0)("pTableBody",e.columns)("pTableBodyTemplate",i.frozenBodyTemplate||i._frozenBodyTemplate)("frozen",!0)}}function $Q(t,n){if(t&1&&ee(0,"tbody",36),t&2){let e=m().options,i=m();Dn("height: calc("+e.spacerStyle.height+" - "+e.rows.length*e.itemSize+"px);"),k(i.cx("virtualScrollerSpacer")),h("pBind",i.ptm("virtualScrollerSpacer"))}}function UQ(t,n){t&1&&ne(0)}function WQ(t,n){if(t&1&&(I(0,"tfoot",37,6),C(2,UQ,1,0,"ng-container",28),T()),t&2){let e=m().options,i=m();h("ngClass",i.cx("footer"))("ngStyle",i.sx("tfoot"))("pBind",i.ptm("tfoot")),g(2),h("ngTemplateOutlet",i.footerGroupedTemplate||i.footerTemplate||i._footerTemplate||i._footerGroupedTemplate)("ngTemplateOutletContext",Te(5,dw,e.columns))}}function GQ(t,n){if(t&1&&(I(0,"table",29,4),C(2,jQ,1,0,"ng-container",28),I(3,"thead",30,5),C(5,zQ,1,0,"ng-container",28),T(),C(6,HQ,1,8,"tbody",31),ee(7,"tbody",32),C(8,$Q,1,5,"tbody",33)(9,WQ,3,7,"tfoot",34),T()),t&2){let e=n.options,i=m();Dn(i.tableStyle),k(i.cn(i.cx("table"),i.tableStyleClass)),h("pBind",i.ptm("table")),J("id",i.id+"-table"),g(2),h("ngTemplateOutlet",i.colGroupTemplate||i._colGroupTemplate)("ngTemplateOutletContext",Te(26,dw,e.columns)),g(),k(i.cx("thead")),h("ngStyle",i.sx("thead"))("pBind",i.ptm("thead")),g(2),h("ngTemplateOutlet",i.headerGroupedTemplate||i.headerTemplate||i._headerTemplate)("ngTemplateOutletContext",Te(28,dw,e.columns)),g(),h("ngIf",i.frozenValue||i.frozenBodyTemplate||i._frozenBodyTemplate),g(),Dn(e.contentStyle),k(i.cx("tbody",e.contentStyleClass)),h("pBind",i.ptm("tbody"))("value",i.dataToRender(e.rows))("pTableBody",e.columns)("pTableBodyTemplate",i.bodyTemplate||i._bodyTemplate)("scrollerOptions",e),g(),h("ngIf",e.spacerStyle),g(),h("ngIf",i.footerGroupedTemplate||i.footerTemplate||i._footerTemplate||i._footerGroupedTemplate)}}function qQ(t,n){t&1&&ne(0)}function QQ(t,n){if(t&1&&C(0,qQ,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorDropdownIconTemplate||e._paginatorDropdownIconTemplate)}}function KQ(t,n){t&1&&C(0,QQ,1,1,"ng-template",22)}function YQ(t,n){t&1&&ne(0)}function ZQ(t,n){if(t&1&&C(0,YQ,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorFirstPageLinkIconTemplate||e._paginatorFirstPageLinkIconTemplate)}}function JQ(t,n){t&1&&C(0,ZQ,1,1,"ng-template",23)}function XQ(t,n){t&1&&ne(0)}function eK(t,n){if(t&1&&C(0,XQ,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorPreviousPageLinkIconTemplate||e._paginatorPreviousPageLinkIconTemplate)}}function tK(t,n){t&1&&C(0,eK,1,1,"ng-template",24)}function nK(t,n){t&1&&ne(0)}function iK(t,n){if(t&1&&C(0,nK,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorLastPageLinkIconTemplate||e._paginatorLastPageLinkIconTemplate)}}function rK(t,n){t&1&&C(0,iK,1,1,"ng-template",25)}function oK(t,n){t&1&&ne(0)}function sK(t,n){if(t&1&&C(0,oK,1,0,"ng-container",20),t&2){let e=m(3);h("ngTemplateOutlet",e.paginatorNextPageLinkIconTemplate||e._paginatorNextPageLinkIconTemplate)}}function aK(t,n){t&1&&C(0,sK,1,1,"ng-template",26)}function lK(t,n){if(t&1){let e=se();I(0,"p-paginator",21),K("onPageChange",function(r){E(e);let o=m();return S(o.onPageChange(r))}),C(1,KQ,1,0,null,14)(2,JQ,1,0,null,14)(3,tK,1,0,null,14)(4,rK,1,0,null,14)(5,aK,1,0,null,14),T()}if(t&2){let e=m();h("rows",e.rows)("first",e.first)("totalRecords",e.totalRecords)("pageLinkSize",e.pageLinks)("alwaysShow",e.alwaysShowPaginator)("rowsPerPageOptions",e.rowsPerPageOptions)("templateLeft",e.paginatorLeftTemplate||e._paginatorLeftTemplate)("templateRight",e.paginatorRightTemplate||e._paginatorRightTemplate)("appendTo",e.paginatorDropdownAppendTo)("dropdownScrollHeight",e.paginatorDropdownScrollHeight)("currentPageReportTemplate",e.currentPageReportTemplate)("showFirstLastIcon",e.showFirstLastIcon)("dropdownItemTemplate",e.paginatorDropdownItemTemplate||e._paginatorDropdownItemTemplate)("showCurrentPageReport",e.showCurrentPageReport)("showJumpToPageDropdown",e.showJumpToPageDropdown)("showJumpToPageInput",e.showJumpToPageInput)("showPageLinks",e.showPageLinks)("styleClass",e.cx("pcPaginator")+" "+e.paginatorStyleClass&&e.paginatorStyleClass)("locale",e.paginatorLocale)("pt",e.ptm("pcPaginator")),g(),h("ngIf",e.paginatorDropdownIconTemplate||e._paginatorDropdownIconTemplate),g(),h("ngIf",e.paginatorFirstPageLinkIconTemplate||e._paginatorFirstPageLinkIconTemplate),g(),h("ngIf",e.paginatorPreviousPageLinkIconTemplate||e._paginatorPreviousPageLinkIconTemplate),g(),h("ngIf",e.paginatorLastPageLinkIconTemplate||e._paginatorLastPageLinkIconTemplate),g(),h("ngIf",e.paginatorNextPageLinkIconTemplate||e._paginatorNextPageLinkIconTemplate)}}function cK(t,n){t&1&&ne(0)}function dK(t,n){if(t&1&&(I(0,"div",38),C(1,cK,1,0,"ng-container",20),T()),t&2){let e=m();h("ngClass",e.cx("footer"))("pBind",e.ptm("footer")),g(),h("ngTemplateOutlet",e.summaryTemplate||e._summaryTemplate)}}function uK(t,n){if(t&1&&ee(0,"div",38,7),t&2){let e=m();Jn("display","none"),h("ngClass",e.cx("columnResizeIndicator"))("pBind",e.ptm("columnResizeIndicator"))}}function pK(t,n){if(t&1&&(G(),ee(0,"svg",40)),t&2){let e=m(2);h("pBind",e.ptm("rowReorderIndicatorUp").icon)}}function fK(t,n){}function hK(t,n){t&1&&C(0,fK,0,0,"ng-template")}function mK(t,n){if(t&1&&(I(0,"span",38,8),C(2,pK,1,1,"svg",39)(3,hK,1,0,null,20),T()),t&2){let e=m();Jn("display","none"),h("ngClass",e.cx("rowReorderIndicatorUp"))("pBind",e.ptm("rowReorderIndicatorUp")),g(2),h("ngIf",!e.reorderIndicatorUpIconTemplate&&!e._reorderIndicatorUpIconTemplate),g(),h("ngTemplateOutlet",e.reorderIndicatorUpIconTemplate||e._reorderIndicatorUpIconTemplate)}}function gK(t,n){if(t&1&&(G(),ee(0,"svg",42)),t&2){let e=m(2);h("pBind",e.ptm("rowReorderIndicatorDown").icon)}}function yK(t,n){}function bK(t,n){t&1&&C(0,yK,0,0,"ng-template")}function vK(t,n){if(t&1&&(I(0,"span",38,9),C(2,gK,1,1,"svg",41)(3,bK,1,0,null,20),T()),t&2){let e=m();Jn("display","none"),h("ngClass",e.cx("rowReorderIndicatorDown"))("pBind",e.ptm("rowReorderIndicatorDown")),g(2),h("ngIf",!e.reorderIndicatorDownIconTemplate&&!e._reorderIndicatorDownIconTemplate),g(),h("ngTemplateOutlet",e.reorderIndicatorDownIconTemplate||e._reorderIndicatorDownIconTemplate)}}var _K=["pTableBody",""],fw=(t,n,e,i,r)=>({$implicit:t,rowIndex:n,columns:e,editing:i,frozen:r}),wK=(t,n,e,i,r,o,s)=>({$implicit:t,rowIndex:n,columns:e,editing:i,frozen:r,rowgroup:o,rowspan:s}),Wm=(t,n,e,i,r,o)=>({$implicit:t,rowIndex:n,columns:e,expanded:i,editing:r,frozen:o}),kR=(t,n,e,i)=>({$implicit:t,rowIndex:n,columns:e,frozen:i}),MR=(t,n)=>({$implicit:t,frozen:n});function CK(t,n){t&1&&ne(0)}function xK(t,n){if(t&1&&(re(0,3),C(1,CK,1,0,"ng-container",4),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",o.dataTable.groupHeaderTemplate||o.dataTable._groupHeaderTemplate)("ngTemplateOutletContext",md(2,fw,i,o.getRowIndex(r),o.columns,o.dataTable.editMode==="row"&&o.dataTable.isRowEditing(i),o.frozen))}}function TK(t,n){t&1&&ne(0)}function EK(t,n){if(t&1&&(re(0),C(1,TK,1,0,"ng-container",4),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",i?o.template:o.dataTable.loadingBodyTemplate||o.dataTable._loadingBodyTemplate)("ngTemplateOutletContext",md(2,fw,i,o.getRowIndex(r),o.columns,o.dataTable.editMode==="row"&&o.dataTable.isRowEditing(i),o.frozen))}}function SK(t,n){t&1&&ne(0)}function IK(t,n){if(t&1&&(re(0),C(1,SK,1,0,"ng-container",4),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",i?o.template:o.dataTable.loadingBodyTemplate||o.dataTable._loadingBodyTemplate)("ngTemplateOutletContext",_b(2,wK,i,o.getRowIndex(r),o.columns,o.dataTable.editMode==="row"&&o.dataTable.isRowEditing(i),o.frozen,o.shouldRenderRowspan(o.value,i,r),o.calculateRowGroupSize(o.value,i,r)))}}function DK(t,n){t&1&&ne(0)}function kK(t,n){if(t&1&&(re(0,3),C(1,DK,1,0,"ng-container",4),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",o.dataTable.groupFooterTemplate||o.dataTable._groupFooterTemplate)("ngTemplateOutletContext",md(2,fw,i,o.getRowIndex(r),o.columns,o.dataTable.editMode==="row"&&o.dataTable.isRowEditing(i),o.frozen))}}function MK(t,n){if(t&1&&C(0,xK,2,8,"ng-container",2)(1,EK,2,8,"ng-container",0)(2,IK,2,10,"ng-container",0)(3,kK,2,8,"ng-container",2),t&2){let e=n.$implicit,i=n.index,r=m(2);h("ngIf",(r.dataTable.groupHeaderTemplate||r.dataTable._groupHeaderTemplate)&&!r.dataTable.virtualScroll&&r.dataTable.rowGroupMode==="subheader"&&r.shouldRenderRowGroupHeader(r.value,e,r.getRowIndex(i))),g(),h("ngIf",r.dataTable.rowGroupMode!=="rowspan"),g(),h("ngIf",r.dataTable.rowGroupMode==="rowspan"),g(),h("ngIf",(r.dataTable.groupFooterTemplate||r.dataTable._groupFooterTemplate)&&!r.dataTable.virtualScroll&&r.dataTable.rowGroupMode==="subheader"&&r.shouldRenderRowGroupFooter(r.value,e,r.getRowIndex(i)))}}function OK(t,n){if(t&1&&(re(0),C(1,MK,4,4,"ng-template",1),oe()),t&2){let e=m();g(),h("ngForOf",e.value)("ngForTrackBy",e.dataTable.rowTrackBy)}}function RK(t,n){t&1&&ne(0)}function PK(t,n){if(t&1&&(re(0),C(1,RK,1,0,"ng-container",4),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",o.template)("ngTemplateOutletContext",vl(2,Wm,i,o.getRowIndex(r),o.columns,o.dataTable.isRowExpanded(i),o.dataTable.editMode==="row"&&o.dataTable.isRowEditing(i),o.frozen))}}function AK(t,n){t&1&&ne(0)}function NK(t,n){if(t&1&&(re(0,3),C(1,AK,1,0,"ng-container",4),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",o.dataTable.groupHeaderTemplate||o.dataTable._groupHeaderTemplate)("ngTemplateOutletContext",vl(2,Wm,i,o.getRowIndex(r),o.columns,o.dataTable.isRowExpanded(i),o.dataTable.editMode==="row"&&o.dataTable.isRowEditing(i),o.frozen))}}function FK(t,n){t&1&&ne(0)}function LK(t,n){t&1&&ne(0)}function BK(t,n){if(t&1&&(re(0,3),C(1,LK,1,0,"ng-container",4),oe()),t&2){let e=m(2),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",o.dataTable.groupFooterTemplate||o.dataTable._groupFooterTemplate)("ngTemplateOutletContext",vl(2,Wm,i,o.getRowIndex(r),o.columns,o.dataTable.isRowExpanded(i),o.dataTable.editMode==="row"&&o.dataTable.isRowEditing(i),o.frozen))}}function VK(t,n){if(t&1&&(re(0),C(1,FK,1,0,"ng-container",4)(2,BK,2,9,"ng-container",2),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",o.dataTable.expandedRowTemplate||o.dataTable._expandedRowTemplate)("ngTemplateOutletContext",$f(3,kR,i,o.getRowIndex(r),o.columns,o.frozen)),g(),h("ngIf",(o.dataTable.groupFooterTemplate||o.dataTable._groupFooterTemplate)&&o.dataTable.rowGroupMode==="subheader"&&o.shouldRenderRowGroupFooter(o.value,i,o.getRowIndex(r)))}}function jK(t,n){if(t&1&&C(0,PK,2,9,"ng-container",0)(1,NK,2,9,"ng-container",2)(2,VK,3,8,"ng-container",0),t&2){let e=n.$implicit,i=n.index,r=m(2);h("ngIf",!(r.dataTable.groupHeaderTemplate&&r.dataTable._groupHeaderTemplate)),g(),h("ngIf",(r.dataTable.groupHeaderTemplate||r.dataTable._groupHeaderTemplate)&&r.dataTable.rowGroupMode==="subheader"&&r.shouldRenderRowGroupHeader(r.value,e,r.getRowIndex(i))),g(),h("ngIf",r.dataTable.isRowExpanded(e))}}function zK(t,n){if(t&1&&(re(0),C(1,jK,3,3,"ng-template",1),oe()),t&2){let e=m();g(),h("ngForOf",e.value)("ngForTrackBy",e.dataTable.rowTrackBy)}}function HK(t,n){t&1&&ne(0)}function $K(t,n){t&1&&ne(0)}function UK(t,n){if(t&1&&(re(0),C(1,$K,1,0,"ng-container",4),oe()),t&2){let e=m(),i=e.$implicit,r=e.index,o=m(2);g(),h("ngTemplateOutlet",o.dataTable.frozenExpandedRowTemplate||o.dataTable._frozenExpandedRowTemplate)("ngTemplateOutletContext",$f(2,kR,i,o.getRowIndex(r),o.columns,o.frozen))}}function WK(t,n){if(t&1&&C(0,HK,1,0,"ng-container",4)(1,UK,2,7,"ng-container",0),t&2){let e=n.$implicit,i=n.index,r=m(2);h("ngTemplateOutlet",r.template)("ngTemplateOutletContext",vl(3,Wm,e,r.getRowIndex(i),r.columns,r.dataTable.isRowExpanded(e),r.dataTable.editMode==="row"&&r.dataTable.isRowEditing(e),r.frozen)),g(),h("ngIf",r.dataTable.isRowExpanded(e))}}function GK(t,n){if(t&1&&(re(0),C(1,WK,2,10,"ng-template",1),oe()),t&2){let e=m();g(),h("ngForOf",e.value)("ngForTrackBy",e.dataTable.rowTrackBy)}}function qK(t,n){t&1&&ne(0)}function QK(t,n){if(t&1&&(re(0),C(1,qK,1,0,"ng-container",4),oe()),t&2){let e=m();g(),h("ngTemplateOutlet",e.dataTable.loadingBodyTemplate||e.dataTable._loadingBodyTemplate)("ngTemplateOutletContext",Dt(2,MR,e.columns,e.frozen))}}function KK(t,n){t&1&&ne(0)}function YK(t,n){if(t&1&&(re(0),C(1,KK,1,0,"ng-container",4),oe()),t&2){let e=m();g(),h("ngTemplateOutlet",e.dataTable.emptyMessageTemplate||e.dataTable._emptyMessageTemplate)("ngTemplateOutletContext",Dt(2,MR,e.columns,e.frozen))}}var ZK=`
${dR}
/* For PrimeNG */
.p-datatable-scrollable-table > .p-datatable-thead {
top: 0;
z-index: 2;
}
.p-datatable-scrollable-table > .p-datatable-frozen-tbody {
position: sticky;
z-index: 2;
}
.p-datatable-scrollable-table > .p-datatable-frozen-tbody + .p-datatable-frozen-tbody {
z-index: 1;
}
.p-datatable-mask.p-overlay-mask {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
z-index: 3;
}
.p-datatable-filter-overlay {
position: absolute;
background: dt('datatable.filter.overlay.select.background');
color: dt('datatable.filter.overlay.select.color');
border: 1px solid dt('datatable.filter.overlay.select.border.color');
border-radius: dt('datatable.filter.overlay.select.border.radius');
box-shadow: dt('datatable.filter.overlay.select.shadow');
min-width: 12.5rem;
}
.p-datatable-filter-rule {
border-bottom: 1px solid dt('datatable.filter.rule.border.color');
}
.p-datatable-filter-rule:last-child {
border-bottom: 0 none;
}
.p-datatable-filter-add-rule-button,
.p-datatable-filter-remove-rule-button {
width: 100%;
}
.p-datatable-filter-remove-button {
width: 100%;
}
.p-datatable-thead > tr > th {
padding: dt('datatable.header.cell.padding');
background: dt('datatable.header.cell.background');
border-color: dt('datatable.header.cell.border.color');
border-style: solid;
border-width: 0 0 1px 0;
color: dt('datatable.header.cell.color');
font-weight: dt('datatable.column.title.font.weight');
text-align: start;
transition:
background dt('datatable.transition.duration'),
color dt('datatable.transition.duration'),
border-color dt('datatable.transition.duration'),
outline-color dt('datatable.transition.duration'),
box-shadow dt('datatable.transition.duration');
}
.p-datatable-thead > tr > th p-columnfilter {
font-weight: normal;
}
.p-datatable-thead > tr > th,
.p-datatable-sort-icon,
.p-datatable-sort-badge {
vertical-align: middle;
}
.p-datatable-thead > tr > th.p-datatable-column-sorted {
background: dt('datatable.header.cell.selected.background');
color: dt('datatable.header.cell.selected.color');
}
.p-datatable-thead > tr > th.p-datatable-column-sorted .p-datatable-sort-icon {
color: dt('datatable.header.cell.selected.color');
}
.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(odd) {
background: dt('datatable.row.striped.background');
}
.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(odd).p-datatable-row-selected {
background: dt('datatable.row.selected.background');
color: dt('datatable.row.selected.color');
}
p-sortIcon, p-sort-icon, p-sorticon {
display: inline-flex;
align-items: center;
gap: dt('datatable.header.cell.gap');
}
.p-datatable .p-editable-column.p-cell-editing {
padding: 0;
}
.p-datatable .p-editable-column.p-cell-editing p-celleditor {
display: block;
width: 100%;
}
`,JK={root:({instance:t})=>["p-datatable p-component",{"p-datatable-hoverable":t.rowHover||t.selectionMode,"p-datatable-resizable":t.resizableColumns,"p-datatable-resizable-fit":t.resizableColumns&&t.columnResizeMode==="fit","p-datatable-scrollable":t.scrollable,"p-datatable-flex-scrollable":t.scrollable&&t.scrollHeight==="flex","p-datatable-striped":t.stripedRows,"p-datatable-gridlines":t.showGridlines,"p-datatable-sm":t.size==="small","p-datatable-lg":t.size==="large"}],mask:"p-datatable-mask p-overlay-mask",loadingIcon:"p-datatable-loading-icon",header:"p-datatable-header",pcPaginator:({instance:t})=>"p-datatable-paginator-"+t.paginatorPosition,tableContainer:"p-datatable-table-container",table:({instance:t})=>["p-datatable-table",{"p-datatable-scrollable-table":t.scrollable,"p-datatable-resizable-table":t.resizableColumns,"p-datatable-resizable-table-fit":t.resizableColumns&&t.columnResizeMode==="fit"}],thead:"p-datatable-thead",columnResizer:"p-datatable-column-resizer",columnHeaderContent:"p-datatable-column-header-content",columnTitle:"p-datatable-column-title",columnFooter:"p-datatable-column-footer",sortIcon:"p-datatable-sort-icon",pcSortBadge:"p-datatable-sort-badge",filter:({instance:t})=>({"p-datatable-filter":!0,"p-datatable-inline-filter":t.display==="row","p-datatable-popover-filter":t.display==="menu"}),filterElementContainer:"p-datatable-filter-element-container",pcColumnFilterButton:"p-datatable-column-filter-button",pcColumnFilterClearButton:"p-datatable-column-filter-clear-button",filterOverlay:({instance:t})=>({"p-datatable-filter-overlay p-component":!0,"p-datatable-filter-overlay-popover":t.display==="menu"}),filterConstraintList:"p-datatable-filter-constraint-list",filterConstraint:"p-datatable-filter-constraint",filterConstraintSeparator:"p-datatable-filter-constraint-separator",filterOperator:"p-datatable-filter-operator",pcFilterOperatorDropdown:"p-datatable-filter-operator-dropdown",filterRuleList:"p-datatable-filter-rule-list",filterRule:"p-datatable-filter-rule",pcFilterConstraintDropdown:"p-datatable-filter-constraint-dropdown",pcFilterRemoveRuleButton:"p-datatable-filter-remove-rule-button",pcFilterAddRuleButton:"p-datatable-filter-add-rule-button",filterButtonbar:"p-datatable-filter-buttonbar",pcFilterClearButton:"p-datatable-filter-clear-button",pcFilterApplyButton:"p-datatable-filter-apply-button",tbody:({instance:t})=>({"p-datatable-tbody":!0,"p-datatable-frozen-tbody":t.frozenValue||t.frozenBodyTemplate,"p-virtualscroller-content":t.virtualScroll}),rowGroupHeader:"p-datatable-row-group-header",rowToggleButton:"p-datatable-row-toggle-button",rowToggleIcon:"p-datatable-row-toggle-icon",rowExpansion:"p-datatable-row-expansion",rowGroupFooter:"p-datatable-row-group-footer",emptyMessage:"p-datatable-empty-message",bodyCell:({instance:t})=>({"p-datatable-frozen-column":t.columnProp("frozen")}),reorderableRowHandle:"p-datatable-reorderable-row-handle",pcRowEditorInit:"p-datatable-row-editor-init",pcRowEditorSave:"p-datatable-row-editor-save",pcRowEditorCancel:"p-datatable-row-editor-cancel",tfoot:"p-datatable-tfoot",footerCell:({instance:t})=>({"p-datatable-frozen-column":t.columnProp("frozen")}),virtualScrollerSpacer:"p-datatable-virtualscroller-spacer",footer:"p-datatable-tfoot",columnResizeIndicator:"p-datatable-column-resize-indicator",rowReorderIndicatorUp:"p-datatable-row-reorder-indicator-up",rowReorderIndicatorDown:"p-datatable-row-reorder-indicator-down",sortableColumn:({instance:t})=>({"p-datatable-sortable-column":t.isEnabled()," p-datatable-column-sorted":t.sorted}),sortableColumnIcon:"p-datatable-sort-icon",sortableColumnBadge:"p-sortable-column-badge",selectableRow:({instance:t})=>({"p-datatable-selectable-row":t.isEnabled(),"p-datatable-row-selected":t.selected}),resizableColumn:"p-datatable-resizable-column",reorderableColumn:"p-datatable-reorderable-column",rowEditorCancel:"p-datatable-row-editor-cancel"},XK={tableContainer:({instance:t})=>({"max-height":t.virtualScroll?"":t.scrollHeight,overflow:"auto"}),thead:{position:"sticky"},tfoot:{position:"sticky"}},uw=(()=>{class t extends Me{name="datatable";style=ZK;classes=JK;inlineStyles=XK;static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();var eY=new z("TABLE_INSTANCE"),pw=(()=>{class t{sortSource=new Ge;selectionSource=new Ge;contextMenuSource=new Ge;valueSource=new Ge;columnsSource=new Ge;sortSource$=this.sortSource.asObservable();selectionSource$=this.selectionSource.asObservable();contextMenuSource$=this.contextMenuSource.asObservable();valueSource$=this.valueSource.asObservable();columnsSource$=this.columnsSource.asObservable();onSort(e){this.sortSource.next(e)}onSelectionChange(){this.selectionSource.next(null)}onContextMenu(e){this.contextMenuSource.next(e)}onValueChange(e){this.valueSource.next(e)}onColumnsChange(e){this.columnsSource.next(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t extends ut{frozenColumns;frozenValue;styleClass;tableStyle;tableStyleClass;paginator;pageLinks=5;rowsPerPageOptions;alwaysShowPaginator=!0;paginatorPosition="bottom";paginatorStyleClass;paginatorDropdownAppendTo;paginatorDropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showJumpToPageDropdown;showJumpToPageInput;showFirstLastIcon=!0;showPageLinks=!0;defaultSortOrder=1;sortMode="single";resetPageOnSort=!0;selectionMode;selectionPageOnly;contextMenuSelection;contextMenuSelectionChange=new H;contextMenuSelectionMode="separate";dataKey;metaKeySelection=!1;rowSelectable;rowTrackBy=(e,i)=>i;lazy=!1;lazyLoadOnInit=!0;compareSelectionBy="deepEquals";csvSeparator=",";exportFilename="download";filters={};globalFilterFields;filterDelay=300;filterLocale;expandedRowKeys={};editingRowKeys={};rowExpandMode="multiple";scrollable;rowGroupMode;scrollHeight;virtualScroll;virtualScrollItemSize;virtualScrollOptions;virtualScrollDelay=250;frozenWidth;contextMenu;resizableColumns;columnResizeMode="fit";reorderableColumns;loading;loadingIcon;showLoader=!0;rowHover;customSort;showInitialSortBadge=!0;exportFunction;exportHeader;stateKey;stateStorage="session";editMode="cell";groupRowsBy;size;showGridlines;stripedRows;groupRowsByOrder=1;responsiveLayout="scroll";breakpoint="960px";paginatorLocale;get value(){return this._value}set value(e){this._value=e}get columns(){return this._columns}set columns(e){this._columns=e}get first(){return this._first}set first(e){this._first=e}get rows(){return this._rows}set rows(e){this._rows=e}totalRecords=0;get sortField(){return this._sortField}set sortField(e){this._sortField=e}get sortOrder(){return this._sortOrder}set sortOrder(e){this._sortOrder=e}get multiSortMeta(){return this._multiSortMeta}set multiSortMeta(e){this._multiSortMeta=e}get selection(){return this._selection}set selection(e){this._selection=e}get selectAll(){return this._selection}set selectAll(e){this._selection=e}selectAllChange=new H;selectionChange=new H;onRowSelect=new H;onRowUnselect=new H;onPage=new H;onSort=new H;onFilter=new H;onLazyLoad=new H;onRowExpand=new H;onRowCollapse=new H;onContextMenuSelect=new H;onColResize=new H;onColReorder=new H;onRowReorder=new H;onEditInit=new H;onEditComplete=new H;onEditCancel=new H;onHeaderCheckboxToggle=new H;sortFunction=new H;firstChange=new H;rowsChange=new H;onStateSave=new H;onStateRestore=new H;resizeHelperViewChild;reorderIndicatorUpViewChild;reorderIndicatorDownViewChild;wrapperViewChild;tableViewChild;tableHeaderViewChild;tableFooterViewChild;scroller;_templates;_value=[];_columns;_totalRecords=0;_first=0;_rows;filteredValue;_headerTemplate;headerTemplate;_headerGroupedTemplate;headerGroupedTemplate;_bodyTemplate;bodyTemplate;_loadingBodyTemplate;loadingBodyTemplate;_captionTemplate;captionTemplate;_footerTemplate;footerTemplate;_footerGroupedTemplate;footerGroupedTemplate;_summaryTemplate;summaryTemplate;_colGroupTemplate;colGroupTemplate;_expandedRowTemplate;expandedRowTemplate;_groupHeaderTemplate;groupHeaderTemplate;_groupFooterTemplate;groupFooterTemplate;_frozenExpandedRowTemplate;frozenExpandedRowTemplate;_frozenHeaderTemplate;frozenHeaderTemplate;_frozenBodyTemplate;frozenBodyTemplate;_frozenFooterTemplate;frozenFooterTemplate;_frozenColGroupTemplate;frozenColGroupTemplate;_emptyMessageTemplate;emptyMessageTemplate;_paginatorLeftTemplate;paginatorLeftTemplate;_paginatorRightTemplate;paginatorRightTemplate;_paginatorDropdownItemTemplate;paginatorDropdownItemTemplate;_loadingIconTemplate;loadingIconTemplate;_reorderIndicatorUpIconTemplate;reorderIndicatorUpIconTemplate;_reorderIndicatorDownIconTemplate;reorderIndicatorDownIconTemplate;_sortIconTemplate;sortIconTemplate;_checkboxIconTemplate;checkboxIconTemplate;_headerCheckboxIconTemplate;headerCheckboxIconTemplate;_paginatorDropdownIconTemplate;paginatorDropdownIconTemplate;_paginatorFirstPageLinkIconTemplate;paginatorFirstPageLinkIconTemplate;_paginatorLastPageLinkIconTemplate;paginatorLastPageLinkIconTemplate;_paginatorPreviousPageLinkIconTemplate;paginatorPreviousPageLinkIconTemplate;_paginatorNextPageLinkIconTemplate;paginatorNextPageLinkIconTemplate;selectionKeys={};lastResizerHelperX;reorderIconWidth;reorderIconHeight;draggedColumn;draggedRowIndex;droppedRowIndex;rowDragging;dropPosition;editingCell;editingCellData;editingCellField;editingCellRowIndex;selfClick;documentEditListener;_multiSortMeta;_sortField;_sortOrder=1;preventSelectionSetterPropagation;_selection;_selectAll=null;anchorRowIndex;rangeRowIndex;filterTimeout;initialized;rowTouched;restoringSort;restoringFilter;stateRestored;columnOrderStateRestored;columnWidthsState;tableWidthState;overlaySubscription;resizeColumnElement;columnResizing=!1;rowGroupHeaderStyleObject={};id=tM();styleElement;responsiveStyleElement;overlayService=x(Vl);filterService=x(Bl);tableService=x(pw);zone=x($e);_componentStyle=x(uw);bindDirectiveInstance=x(te,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}onInit(){this.lazy&&this.lazyLoadOnInit&&(this.virtualScroll||this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.restoringFilter&&(this.restoringFilter=!1)),this.responsiveLayout==="stack"&&this.createResponsiveStyle(),this.initialized=!0}onAfterContentInit(){this._templates.forEach(e=>{switch(e.getType()){case"caption":this.captionTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"headergrouped":this.headerGroupedTemplate=e.template;break;case"body":this.bodyTemplate=e.template;break;case"loadingbody":this.loadingBodyTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"footergrouped":this.footerGroupedTemplate=e.template;break;case"summary":this.summaryTemplate=e.template;break;case"colgroup":this.colGroupTemplate=e.template;break;case"expandedrow":this.expandedRowTemplate=e.template;break;case"groupheader":this.groupHeaderTemplate=e.template;break;case"groupfooter":this.groupFooterTemplate=e.template;break;case"frozenheader":this.frozenHeaderTemplate=e.template;break;case"frozenbody":this.frozenBodyTemplate=e.template;break;case"frozenfooter":this.frozenFooterTemplate=e.template;break;case"frozencolgroup":this.frozenColGroupTemplate=e.template;break;case"frozenexpandedrow":this.frozenExpandedRowTemplate=e.template;break;case"emptymessage":this.emptyMessageTemplate=e.template;break;case"paginatorleft":this.paginatorLeftTemplate=e.template;break;case"paginatorright":this.paginatorRightTemplate=e.template;break;case"paginatordropdownicon":this.paginatorDropdownIconTemplate=e.template;break;case"paginatordropdownitem":this.paginatorDropdownItemTemplate=e.template;break;case"paginatorfirstpagelinkicon":this.paginatorFirstPageLinkIconTemplate=e.template;break;case"paginatorlastpagelinkicon":this.paginatorLastPageLinkIconTemplate=e.template;break;case"paginatorpreviouspagelinkicon":this.paginatorPreviousPageLinkIconTemplate=e.template;break;case"paginatornextpagelinkicon":this.paginatorNextPageLinkIconTemplate=e.template;break;case"loadingicon":this.loadingIconTemplate=e.template;break;case"reorderindicatorupicon":this.reorderIndicatorUpIconTemplate=e.template;break;case"reorderindicatordownicon":this.reorderIndicatorDownIconTemplate=e.template;break;case"sorticon":this.sortIconTemplate=e.template;break;case"checkboxicon":this.checkboxIconTemplate=e.template;break;case"headercheckboxicon":this.headerCheckboxIconTemplate=e.template;break}})}onAfterViewInit(){kn(this.platformId)&&this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()}onChanges(e){e.totalRecords&&e.totalRecords.firstChange&&(this._totalRecords=e.totalRecords.currentValue),e.value&&(this.isStateful()&&!this.stateRestored&&kn(this.platformId)&&this.restoreState(),this._value=e.value.currentValue,this.lazy||(this.totalRecords=this._totalRecords===0&&this._value?this._value.length:this._totalRecords??0,this.sortMode=="single"&&(this.sortField||this.groupRowsBy)?this.sortSingle():this.sortMode=="multiple"&&(this.multiSortMeta||this.groupRowsBy)?this.sortMultiple():this.hasFilter()&&this._filter()),this.tableService.onValueChange(e.value.currentValue)),e.columns&&(this.isStateful()||(this._columns=e.columns.currentValue,this.tableService.onColumnsChange(e.columns.currentValue)),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&(this.restoreColumnOrder(),this.tableService.onColumnsChange(this._columns))),e.sortField&&(this._sortField=e.sortField.currentValue,(!this.lazy||this.initialized)&&this.sortMode==="single"&&this.sortSingle()),e.groupRowsBy&&(!this.lazy||this.initialized)&&this.sortMode==="single"&&this.sortSingle(),e.sortOrder&&(this._sortOrder=e.sortOrder.currentValue,(!this.lazy||this.initialized)&&this.sortMode==="single"&&this.sortSingle()),e.groupRowsByOrder&&(!this.lazy||this.initialized)&&this.sortMode==="single"&&this.sortSingle(),e.multiSortMeta&&(this._multiSortMeta=e.multiSortMeta.currentValue,this.sortMode==="multiple"&&(this.initialized||!this.lazy&&!this.virtualScroll)&&this.sortMultiple()),e.selection&&(this._selection=e.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1),e.selectAll&&(this._selectAll=e.selectAll.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()),this.preventSelectionSetterPropagation=!1)}get processedData(){return this.filteredValue||this.value||[]}_initialColWidths;dataToRender(e){let i=e||this.processedData;if(i&&this.paginator){let r=this.lazy?0:this.first;return i.slice(r,r+this.rows)}return i}updateSelectionKeys(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(let e of this._selection)this.selectionKeys[String(Pe.resolveFieldData(e,this.dataKey))]=1;else this.selectionKeys[String(Pe.resolveFieldData(this._selection,this.dataKey))]=1}onPageChange(e){this.first=e.first,this.rows=e.rows,this.onPage.emit({first:this.first,rows:this.rows}),this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.firstChange.emit(this.first),this.rowsChange.emit(this.rows),this.tableService.onValueChange(this.value),this.isStateful()&&this.saveState(),this.anchorRowIndex=null,this.scrollable&&this.resetScrollTop()}sort(e){let i=e.originalEvent;if(this.sortMode==="single"&&(this._sortOrder=this.sortField===e.field?this.sortOrder*-1:this.defaultSortOrder,this._sortField=e.field,this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop()),this.sortSingle()),this.sortMode==="multiple"){let r=i.metaKey||i.ctrlKey,o=this.getSortMeta(e.field);o?r?o.order=o.order*-1:(this._multiSortMeta=[{field:e.field,order:o.order*-1}],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop())):((!r||!this.multiSortMeta)&&(this._multiSortMeta=[],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first))),this._multiSortMeta.push({field:e.field,order:this.defaultSortOrder})),this.sortMultiple()}this.isStateful()&&this.saveState(),this.anchorRowIndex=null}sortSingle(){let e=this.sortField||this.groupRowsBy,i=this.sortField?this.sortOrder:this.groupRowsByOrder;if(this.groupRowsBy&&this.sortField&&this.groupRowsBy!==this.sortField){this._multiSortMeta=[this.getGroupRowsMeta(),{field:this.sortField,order:this.sortOrder}],this.sortMultiple();return}if(e&&i){this.restoringSort&&(this.restoringSort=!1),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,field:e,order:i}):(this.value.sort((o,s)=>{let a=Pe.resolveFieldData(o,e),l=Pe.resolveFieldData(s,e),c=null;return a==null&&l!=null?c=-1:a!=null&&l==null?c=1:a==null&&l==null?c=0:typeof a=="string"&&typeof l=="string"?c=a.localeCompare(l):c=a<l?-1:a>l?1:0,i*(c||0)}),this._value=[...this.value]),this.hasFilter()&&this._filter());let r={field:e,order:i};this.onSort.emit(r),this.tableService.onSort(r)}}sortMultiple(){this.groupRowsBy&&(this._multiSortMeta?this.multiSortMeta[0].field!==this.groupRowsBy&&(this._multiSortMeta=[this.getGroupRowsMeta(),...this._multiSortMeta]):this._multiSortMeta=[this.getGroupRowsMeta()]),this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):(this.value.sort((e,i)=>this.multisortField(e,i,this.multiSortMeta,0)),this._value=[...this.value]),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))}multisortField(e,i,r,o){let s=Pe.resolveFieldData(e,r[o].field),a=Pe.resolveFieldData(i,r[o].field);return Pe.compare(s,a,this.filterLocale)===0?r.length-1>o?this.multisortField(e,i,r,o+1):0:this.compareValuesOnSort(s,a,r[o].order)}compareValuesOnSort(e,i,r){return Pe.sort(e,i,r,this.filterLocale,this.sortOrder)}getSortMeta(e){if(this.multiSortMeta&&this.multiSortMeta.length){for(let i=0;i<this.multiSortMeta.length;i++)if(this.multiSortMeta[i].field===e)return this.multiSortMeta[i]}return null}isSorted(e){if(this.sortMode==="single")return this.sortField&&this.sortField===e;if(this.sortMode==="multiple"){let i=!1;if(this.multiSortMeta){for(let r=0;r<this.multiSortMeta.length;r++)if(this.multiSortMeta[r].field==e){i=!0;break}}return i}}handleRowClick(e){let i=e.originalEvent.target,r=i.nodeName,o=i.parentElement&&i.parentElement.nodeName;if(!(r=="INPUT"||r=="BUTTON"||r=="A"||o=="INPUT"||o=="BUTTON"||o=="A"||Ie.hasClass(e.originalEvent.target,"p-clickable"))){if(this.selectionMode){let s=e.rowData,a=e.rowIndex;if(this.preventSelectionSetterPropagation=!0,this.isMultipleSelectionMode()&&e.originalEvent.shiftKey&&this.anchorRowIndex!=null)Ie.clearSelection(),this.rangeRowIndex!=null&&this.clearSelectionRange(e.originalEvent),this.rangeRowIndex=a,this.selectRange(e.originalEvent,a);else{let l=this.isSelected(s);if(!l&&!this.isRowSelectable(s,a))return;let c=this.rowTouched?!1:this.metaKeySelection,d=this.dataKey?String(Pe.resolveFieldData(s,this.dataKey)):null;if(this.anchorRowIndex=a,this.rangeRowIndex=a,c){let u=e.originalEvent.metaKey||e.originalEvent.ctrlKey;if(l&&u){if(this.isSingleSelectionMode())this._selection=null,this.selectionKeys={},this.selectionChange.emit(null);else{let p=this.findIndexInSelection(s);this._selection=this.selection.filter((f,y)=>y!=p),this.selectionChange.emit(this.selection),d&&delete this.selectionKeys[d]}this.onRowUnselect.emit({originalEvent:e.originalEvent,data:s,type:"row"})}else this.isSingleSelectionMode()?(this._selection=s,this.selectionChange.emit(s),d&&(this.selectionKeys={},this.selectionKeys[d]=1)):this.isMultipleSelectionMode()&&(u?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[...this.selection,s],this.selectionChange.emit(this.selection),d&&(this.selectionKeys[d]=1)),this.onRowSelect.emit({originalEvent:e.originalEvent,data:s,type:"row",index:a})}else if(this.selectionMode==="single")l?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,data:s,type:"row",index:a})):(this._selection=s,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,data:s,type:"row",index:a}),d&&(this.selectionKeys={},this.selectionKeys[d]=1));else if(this.selectionMode==="multiple")if(l){let u=this.findIndexInSelection(s);this._selection=this.selection.filter((p,f)=>f!=u),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,data:s,type:"row",index:a}),d&&delete this.selectionKeys[d]}else this._selection=this.selection?[...this.selection,s]:[s],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,data:s,type:"row",index:a}),d&&(this.selectionKeys[d]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}this.rowTouched=!1}}handleRowTouchEnd(e){this.rowTouched=!0}handleRowRightClick(e){if(this.contextMenu){let i=e.rowData,r=e.rowIndex,o=()=>{this.contextMenu.show(e.originalEvent),this.contextMenu.hideCallback=()=>{this.contextMenuSelection=null,this.contextMenuSelectionChange.emit(null),this.tableService.onContextMenu(null)}};if(this.contextMenuSelectionMode==="separate")this.contextMenuSelection=i,this.contextMenuSelectionChange.emit(i),this.onContextMenuSelect.emit({originalEvent:e.originalEvent,data:i,index:e.rowIndex}),o(),this.tableService.onContextMenu(i);else if(this.contextMenuSelectionMode==="joint"){this.preventSelectionSetterPropagation=!0;let s=this.isSelected(i),a=this.dataKey?String(Pe.resolveFieldData(i,this.dataKey)):null;if(!s){if(!this.isRowSelectable(i,r))return;this.isSingleSelectionMode()?(this.selection=i,this.selectionChange.emit(i),a&&(this.selectionKeys={},this.selectionKeys[a]=1)):this.isMultipleSelectionMode()&&(this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),a&&(this.selectionKeys[a]=1))}this.tableService.onSelectionChange(),o(),this.onContextMenuSelect.emit({originalEvent:e,data:i,index:e.rowIndex})}}}selectRange(e,i,r){let o,s;this.anchorRowIndex>i?(o=i,s=this.anchorRowIndex):this.anchorRowIndex<i?(o=this.anchorRowIndex,s=i):(o=i,s=i),this.lazy&&this.paginator&&(o-=this.first,s-=this.first);let a=[];for(let l=o;l<=s;l++){let c=this.filteredValue?this.filteredValue[l]:this.value[l];if(!this.isSelected(c)&&!r){if(!this.isRowSelectable(c,i))continue;a.push(c),this._selection=[...this.selection,c];let d=this.dataKey?String(Pe.resolveFieldData(c,this.dataKey)):null;d&&(this.selectionKeys[d]=1)}}this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e,data:a,type:"row"})}clearSelectionRange(e){let i,r,o=this.rangeRowIndex,s=this.anchorRowIndex;o>s?(i=this.anchorRowIndex,r=this.rangeRowIndex):o<s?(i=this.rangeRowIndex,r=this.anchorRowIndex):(i=this.rangeRowIndex,r=this.rangeRowIndex);for(let a=i;a<=r;a++){let l=this.value[a],c=this.findIndexInSelection(l);this._selection=this.selection.filter((u,p)=>p!=c);let d=this.dataKey?String(Pe.resolveFieldData(l,this.dataKey)):null;d&&delete this.selectionKeys[d],this.onRowUnselect.emit({originalEvent:e,data:l,type:"row"})}}isSelected(e){return e&&this.selection?this.dataKey?this.selectionKeys[Pe.resolveFieldData(e,this.dataKey)]!==void 0:Array.isArray(this.selection)?this.findIndexInSelection(e)>-1:this.equals(e,this.selection):!1}findIndexInSelection(e){let i=-1;if(this.selection&&this.selection.length){for(let r=0;r<this.selection.length;r++)if(this.equals(e,this.selection[r])){i=r;break}}return i}isRowSelectable(e,i){return!(this.rowSelectable&&!this.rowSelectable({data:e,index:i}))}toggleRowWithRadio(e,i){if(this.preventSelectionSetterPropagation=!0,this.selection!=i){if(!this.isRowSelectable(i,e.rowIndex))return;this._selection=i,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:i,type:"radiobutton"}),this.dataKey&&(this.selectionKeys={},this.selectionKeys[String(Pe.resolveFieldData(i,this.dataKey))]=1)}else this._selection=null,this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:i,type:"radiobutton"});this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowWithCheckbox(e,i){this.selection=this.selection||[];let r=this.isSelected(i),o=this.dataKey?String(Pe.resolveFieldData(i,this.dataKey)):null;if(this.preventSelectionSetterPropagation=!0,r){let s=this.findIndexInSelection(i);this._selection=this.selection.filter((a,l)=>l!=s),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:i,type:"checkbox"}),o&&delete this.selectionKeys[o]}else{if(!this.isRowSelectable(i,e.rowIndex))return;this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:i,type:"checkbox"}),o&&(this.selectionKeys[o]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowsWithCheckbox({originalEvent:e},i){if(this._selectAll!==null)this.selectAllChange.emit({originalEvent:e,checked:i});else{let r=this.selectionPageOnly?this.dataToRender(this.processedData):this.processedData,o=this.selectionPageOnly&&this._selection?this._selection.filter(s=>!r.some(a=>this.equals(s,a))):[];i&&(o=this.frozenValue?[...o,...this.frozenValue,...r]:[...o,...r],o=this.rowSelectable?o.filter((s,a)=>this.rowSelectable({data:s,index:a})):o),this._selection=o,this.preventSelectionSetterPropagation=!0,this.updateSelectionKeys(),this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:e,checked:i}),this.isStateful()&&this.saveState()}}equals(e,i){return this.compareSelectionBy==="equals"?e===i:Pe.equals(e,i,this.dataKey)}filter(e,i,r){this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank(e)?this.filters[i]&&delete this.filters[i]:this.filters[i]={value:e,matchMode:r},this.filterTimeout=setTimeout(()=>{this._filter(),this.filterTimeout=null},this.filterDelay),this.anchorRowIndex=null}filterGlobal(e,i){this.filter(e,"global",i)}isFilterBlank(e){return e!=null?!!(typeof e=="string"&&e.trim().length==0||Array.isArray(e)&&e.length==0):!0}_filter(){if(this.restoringFilter||(this.first=0,this.firstChange.emit(this.first)),this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(!this.hasFilter())this.filteredValue=null,this.paginator&&(this.totalRecords=this._totalRecords===0&&this.value?this.value.length:this._totalRecords);else{let e;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");e=this.globalFilterFields||this.columns}this.filteredValue=[];for(let i=0;i<this.value.length;i++){let r=!0,o=!1,s=!1;for(let l in this.filters)if(this.filters.hasOwnProperty(l)&&l!=="global"){s=!0;let c=l,d=this.filters[c];if(Array.isArray(d)){for(let u of d)if(r=this.executeLocalFilter(c,this.value[i],u),u.operator===Pv.OR&&r||u.operator===Pv.AND&&!r)break}else r=this.executeLocalFilter(c,this.value[i],d);if(!r)break}if(this.filters.global&&!o&&e)for(let l=0;l<e.length;l++){let c=e[l].field||e[l];if(o=this.filterService.filters[this.filters.global.matchMode](Pe.resolveFieldData(this.value[i],c),this.filters.global.value,this.filterLocale),o)break}let a;this.filters.global?a=s?s&&r&&o:o:a=s&&r,a&&this.filteredValue.push(this.value[i])}this.filteredValue.length===this.value.length&&(this.filteredValue=null),this.paginator&&(this.totalRecords=this.filteredValue?this.filteredValue.length:this._totalRecords===0&&this.value?this.value.length:this._totalRecords??0)}}this.onFilter.emit({filters:this.filters,filteredValue:this.filteredValue||this.value}),this.tableService.onValueChange(this.value),this.isStateful()&&!this.restoringFilter&&this.saveState(),this.restoringFilter&&(this.restoringFilter=!1),this.cd.markForCheck(),this.scrollable&&this.resetScrollTop()}executeLocalFilter(e,i,r){let o=r.value,s=r.matchMode||fn.STARTS_WITH,a=Pe.resolveFieldData(i,e),l=this.filterService.filters[s];return l(a,o,this.filterLocale)}hasFilter(){let e=!0;for(let i in this.filters)if(this.filters.hasOwnProperty(i)){e=!1;break}return!e}createLazyLoadMetadata(){return{first:this.first,rows:this.rows,sortField:this.sortField,sortOrder:this.sortOrder,filters:this.filters,globalFilter:this.filters&&this.filters.global?this.filters.global.value:null,multiSortMeta:this.multiSortMeta,forceUpdate:()=>this.cd.detectChanges()}}clear(){this._sortField=null,this._sortOrder=this.defaultSortOrder,this._multiSortMeta=null,this.tableService.onSort(null),this.clearFilterValues(),this.filteredValue=null,this.first=0,this.firstChange.emit(this.first),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._totalRecords===0&&this._value?this._value.length:this._totalRecords??0}clearFilterValues(){for(let[,e]of Object.entries(this.filters))if(Array.isArray(e))for(let i of e)i.value=null;else e&&(e.value=null)}reset(){this.clear()}getExportHeader(e){return e[this.exportHeader]||e.header||e.field}exportCSV(e){let i,r="",o=this.columns;e&&e.selectionOnly?i=this.selection||[]:e&&e.allValues?i=this.value||[]:(i=this.filteredValue||this.value,this.frozenValue&&(i=i?[...this.frozenValue,...i]:this.frozenValue));let s=o.filter(d=>d.exportable!==!1&&d.field);r+=s.map(d=>'"'+this.getExportHeader(d)+'"').join(this.csvSeparator);let a=i.map(d=>s.map(u=>{let p=Pe.resolveFieldData(d,u.field);return p!=null?this.exportFunction?p=this.exportFunction({data:p,field:u.field}):p=String(p).replace(/"/g,'""'):p="",'"'+p+'"'}).join(this.csvSeparator)).join(`
`);a.length&&(r+=`
`+a);let l=new Blob([new Uint8Array([239,187,191]),r],{type:"text/csv;charset=utf-8;"}),c=this.renderer.createElement("a");c.style.display="none",this.renderer.appendChild(this.document.body,c),c.download!==void 0?(c.setAttribute("href",URL.createObjectURL(l)),c.setAttribute("download",this.exportFilename+".csv"),c.click()):(r="data:text/csv;charset=utf-8,"+r,this.document.defaultView?.open(encodeURI(r))),this.renderer.removeChild(this.document.body,c)}onLazyItemLoad(e){this.onLazyLoad.emit(A(_(_({},this.createLazyLoadMetadata()),e),{rows:e.last-e.first}))}resetScrollTop(){this.virtualScroll?this.scrollToVirtualIndex(0):this.scrollTo({top:0})}scrollToVirtualIndex(e){this.scroller&&this.scroller.scrollToIndex(e)}scrollTo(e){this.virtualScroll?this.scroller?.scrollTo(e):this.wrapperViewChild&&this.wrapperViewChild.nativeElement&&(this.wrapperViewChild.nativeElement.scrollTo?this.wrapperViewChild.nativeElement.scrollTo(e):(this.wrapperViewChild.nativeElement.scrollLeft=e.left,this.wrapperViewChild.nativeElement.scrollTop=e.top))}updateEditingCell(e,i,r,o){this.editingCell=e,this.editingCellData=i,this.editingCellField=r,this.editingCellRowIndex=o,this.bindDocumentEditListener()}isEditingCellValid(){return this.editingCell&&Ie.find(this.editingCell,".ng-invalid.ng-dirty").length===0}bindDocumentEditListener(){this.documentEditListener||(this.documentEditListener=this.renderer.listen(this.document,"click",e=>{this.editingCell&&!this.selfClick&&this.isEditingCellValid()&&(Ie.removeClass(this.editingCell,"p-cell-editing"),this.editingCell=null,this.onEditComplete.emit({field:this.editingCellField,data:this.editingCellData,originalEvent:e,index:this.editingCellRowIndex}),this.editingCellField=null,this.editingCellData=null,this.editingCellRowIndex=null,this.unbindDocumentEditListener(),this.cd.markForCheck(),this.overlaySubscription&&this.overlaySubscription.unsubscribe()),this.selfClick=!1}))}unbindDocumentEditListener(){this.documentEditListener&&(this.documentEditListener(),this.documentEditListener=null)}initRowEdit(e){let i=String(Pe.resolveFieldData(e,this.dataKey));this.editingRowKeys[i]=!0}saveRowEdit(e,i){if(Ie.find(i,".ng-invalid.ng-dirty").length===0){let r=String(Pe.resolveFieldData(e,this.dataKey));delete this.editingRowKeys[r]}}cancelRowEdit(e){let i=String(Pe.resolveFieldData(e,this.dataKey));delete this.editingRowKeys[i]}toggleRow(e,i){if(!this.dataKey&&!this.groupRowsBy)throw new Error("dataKey or groupRowsBy must be defined to use row expansion");let r=this.groupRowsBy?String(Pe.resolveFieldData(e,this.groupRowsBy)):String(Pe.resolveFieldData(e,this.dataKey));this.expandedRowKeys[r]!=null?(delete this.expandedRowKeys[r],this.onRowCollapse.emit({originalEvent:i,data:e})):(this.rowExpandMode==="single"&&(this.expandedRowKeys={}),this.expandedRowKeys[r]=!0,this.onRowExpand.emit({originalEvent:i,data:e})),i&&i.preventDefault(),this.isStateful()&&this.saveState()}isRowExpanded(e){return this.groupRowsBy?this.expandedRowKeys[String(Pe.resolveFieldData(e,this.groupRowsBy))]===!0:this.expandedRowKeys[String(Pe.resolveFieldData(e,this.dataKey))]===!0}isRowEditing(e){return this.editingRowKeys[String(Pe.resolveFieldData(e,this.dataKey))]===!0}isSingleSelectionMode(){return this.selectionMode==="single"}isMultipleSelectionMode(){return this.selectionMode==="multiple"}onColumnResizeBegin(e){let i=Ie.getOffset(this.el?.nativeElement).left;this.resizeColumnElement=e.target.closest("th"),this.columnResizing=!0,e.type=="touchstart"?this.lastResizerHelperX=e.changedTouches[0].clientX-i+this.el?.nativeElement.scrollLeft:this.lastResizerHelperX=e.pageX-i+this.el?.nativeElement.scrollLeft,this.onColumnResize(e),e.preventDefault()}onColumnResize(e){let i=Ie.getOffset(this.el?.nativeElement).left;Ie.addClass(this.el?.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.el?.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",e.type=="touchmove"?this.resizeHelperViewChild.nativeElement.style.left=e.changedTouches[0].clientX-i+this.el?.nativeElement.scrollLeft+"px":this.resizeHelperViewChild.nativeElement.style.left=e.pageX-i+this.el?.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}onColumnResizeEnd(){let e=this.resizeHelperViewChild?.nativeElement.offsetLeft-this.lastResizerHelperX,r=this.resizeColumnElement.offsetWidth+e,o=this.resizeColumnElement.style.minWidth.replace(/[^\d.]/g,""),s=o?parseFloat(o):15;if(r>=s){if(this.columnResizeMode==="fit"){let l=this.resizeColumnElement.nextElementSibling.offsetWidth-e;r>15&&l>15&&this.resizeTableCells(r,l)}else if(this.columnResizeMode==="expand"){this._initialColWidths=this._totalTableWidth();let a=this.tableViewChild?.nativeElement.offsetWidth+e;this.setResizeTableWidth(a+"px"),this.resizeTableCells(r,null)}this.onColResize.emit({element:this.resizeColumnElement,delta:e}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",Ie.removeClass(this.el?.nativeElement,"p-unselectable-text")}_totalTableWidth(){let e=[],i=Ie.findSingle(this.el.nativeElement,".p-datatable-thead");return Ie.find(i,"tr > th").forEach(o=>e.push(Ie.getOuterWidth(o))),e}onColumnDragStart(e,i){this.reorderIconWidth=Ie.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild?.nativeElement),this.reorderIconHeight=Ie.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild?.nativeElement),this.draggedColumn=i,e.dataTransfer.setData("text","b")}onColumnDragEnter(e,i){if(this.reorderableColumns&&this.draggedColumn&&i){e.preventDefault();let r=Ie.getOffset(this.el?.nativeElement),o=Ie.getOffset(i);if(this.draggedColumn!=i){let s=Ie.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),a=Ie.indexWithinGroup(i,"preorderablecolumn"),l=o.left-r.left,c=r.top-o.top,d=o.left+i.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=o.top-r.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=o.top-r.top+i.offsetHeight+"px",e.pageX>d?(this.reorderIndicatorUpViewChild.nativeElement.style.left=l+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=l+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=l-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=l-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else e.dataTransfer.dropEffect="none"}}onColumnDragLeave(e){this.reorderableColumns&&this.draggedColumn&&e.preventDefault()}onColumnDrop(e,i){if(e.preventDefault(),this.draggedColumn){let r=Ie.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),o=Ie.indexWithinGroup(i,"preorderablecolumn"),s=r!=o;if(s&&(o-r==1&&this.dropPosition===-1||r-o==1&&this.dropPosition===1)&&(s=!1),s&&o<r&&this.dropPosition===1&&(o=o+1),s&&o>r&&this.dropPosition===-1&&(o=o-1),s&&(Pe.reorderArray(this.columns,r,o),this.onColReorder.emit({dragIndex:r,dropIndex:o,columns:this.columns}),this.isStateful()&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.saveState()})})),this.resizableColumns&&this.resizeColumnElement){let a=this.columnResizeMode==="expand"?this._initialColWidths:this._totalTableWidth();Pe.reorderArray(a,r+1,o+1),this.updateStyleElement(a,r,0,0)}this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}resizeTableCells(e,i){let r=Ie.index(this.resizeColumnElement),o=this.columnResizeMode==="expand"?this._initialColWidths:this._totalTableWidth();this.updateStyleElement(o,r,e,i)}updateStyleElement(e,i,r,o){this.destroyStyleElement(),this.createStyleElement();let s="";e.forEach((a,l)=>{let c=l===i?r:o&&l===i+1?o:a,d=`width: ${c}px !important; max-width: ${c}px !important;`;s+=`
#${this.id}-table > .p-datatable-thead > tr > th:nth-child(${l+1}),
#${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${l+1}),
#${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${l+1}) {
${d}
}
`}),this.renderer.setProperty(this.styleElement,"innerHTML",s)}onRowDragStart(e,i){this.rowDragging=!0,this.draggedRowIndex=i,e.dataTransfer.setData("text","b")}onRowDragOver(e,i,r){if(this.rowDragging&&this.draggedRowIndex!==i){let o=Ie.getOffset(r).top,s=e.pageY,a=o+Ie.getOuterHeight(r)/2,l=r.previousElementSibling;s<a?(Ie.removeClass(r,"p-datatable-dragpoint-bottom"),this.droppedRowIndex=i,l?Ie.addClass(l,"p-datatable-dragpoint-bottom"):Ie.addClass(r,"p-datatable-dragpoint-top")):(l?Ie.removeClass(l,"p-datatable-dragpoint-bottom"):Ie.addClass(r,"p-datatable-dragpoint-top"),this.droppedRowIndex=i+1,Ie.addClass(r,"p-datatable-dragpoint-bottom"))}}onRowDragLeave(e,i){let r=i.previousElementSibling;r&&Ie.removeClass(r,"p-datatable-dragpoint-bottom"),Ie.removeClass(i,"p-datatable-dragpoint-bottom"),Ie.removeClass(i,"p-datatable-dragpoint-top")}onRowDragEnd(e){this.rowDragging=!1,this.draggedRowIndex=null,this.droppedRowIndex=null}onRowDrop(e,i){if(this.droppedRowIndex!=null){let r=this.draggedRowIndex>this.droppedRowIndex?this.droppedRowIndex:this.droppedRowIndex===0?0:this.droppedRowIndex-1;Pe.reorderArray(this.value,this.draggedRowIndex,r),this.virtualScroll&&(this._value=[...this._value]),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:r})}this.onRowDragLeave(e,i),this.onRowDragEnd(e)}isEmpty(){let e=this.filteredValue||this.value;return e==null||e.length==0}getBlockableElement(){return this.el.nativeElement.children[0]}getStorage(){if(kn(this.platformId))switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}else throw new Error("Browser storage is not available in the server side.")}isStateful(){return this.stateKey!=null}saveState(){let e=this.getStorage(),i={};this.paginator&&(i.first=this.first,i.rows=this.rows),this.sortField&&(i.sortField=this.sortField,i.sortOrder=this.sortOrder),this.multiSortMeta&&(i.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(i.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(i),this.reorderableColumns&&this.saveColumnOrder(i),this.selection&&(i.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(i.expandedRowKeys=this.expandedRowKeys),e.setItem(this.stateKey,JSON.stringify(i)),this.onStateSave.emit(i)}clearState(){let e=this.getStorage();this.stateKey&&e.removeItem(this.stateKey)}restoreState(){let i=this.getStorage().getItem(this.stateKey),r=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/,o=function(s,a){return typeof a=="string"&&r.test(a)?new Date(a):a};if(i){let s=JSON.parse(i,o);this.paginator&&(this.first!==void 0&&(this.first=s.first,this.firstChange.emit(this.first)),this.rows!==void 0&&(this.rows=s.rows,this.rowsChange.emit(this.rows))),s.sortField&&(this.restoringSort=!0,this._sortField=s.sortField,this._sortOrder=s.sortOrder),s.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=s.multiSortMeta),s.filters&&(this.restoringFilter=!0,this.filters=s.filters),this.resizableColumns&&(this.columnWidthsState=s.columnWidths,this.tableWidthState=s.tableWidth),s.expandedRowKeys&&(this.expandedRowKeys=s.expandedRowKeys),s.selection&&Promise.resolve(null).then(()=>this.selectionChange.emit(s.selection)),this.stateRestored=!0,this.onStateRestore.emit(s)}}saveColumnWidths(e){let i=[],r=[],o=this.el?.nativeElement;o&&(r=Ie.find(o,".p-datatable-thead > tr > th")),r.forEach(s=>i.push(Ie.getOuterWidth(s))),e.columnWidths=i.join(","),this.columnResizeMode==="expand"&&this.tableViewChild&&(e.tableWidth=Ie.getOuterWidth(this.tableViewChild.nativeElement))}setResizeTableWidth(e){this.tableViewChild.nativeElement.style.width=e,this.tableViewChild.nativeElement.style.minWidth=e}restoreColumnWidths(){if(this.columnWidthsState){let e=this.columnWidthsState.split(",");if(this.columnResizeMode==="expand"&&this.tableWidthState&&this.setResizeTableWidth(this.tableWidthState+"px"),Pe.isNotEmpty(e)){this.createStyleElement();let i="";e.forEach((r,o)=>{let s=`width: ${r}px !important; max-width: ${r}px !important`;i+=`
#${this.id}-table > .p-datatable-thead > tr > th:nth-child(${o+1}),
#${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${o+1}),
#${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${o+1}) {
${s}
}
`}),this.styleElement.innerHTML=i}}}saveColumnOrder(e){if(this.columns){let i=[];this.columns.map(r=>{i.push(r.field||r.key)}),e.columnOrder=i}}restoreColumnOrder(){let i=this.getStorage().getItem(this.stateKey);if(i){let o=JSON.parse(i).columnOrder;if(o){let s=[];o.map(a=>{let l=this.findColumnByKey(a);l&&s.push(l)}),this.columnOrderStateRestored=!0,this.columns=s}}}findColumnByKey(e){if(this.columns){for(let i of this.columns)if(i.key===e||i.field===e)return i}else return null}createStyleElement(){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",Ie.setAttribute(this.styleElement,"nonce",this.config?.csp()?.nonce),this.renderer.appendChild(this.document.head,this.styleElement),Ie.setAttribute(this.styleElement,"nonce",this.config?.csp()?.nonce)}getGroupRowsMeta(){return{field:this.groupRowsBy,order:this.groupRowsByOrder}}createResponsiveStyle(){if(kn(this.platformId)&&!this.responsiveStyleElement){this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",Ie.setAttribute(this.responsiveStyleElement,"nonce",this.config?.csp()?.nonce),this.renderer.appendChild(this.document.head,this.responsiveStyleElement);let e=`
@media screen and (max-width: ${this.breakpoint}) {
#${this.id}-table > .p-datatable-thead > tr > th,
#${this.id}-table > .p-datatable-tfoot > tr > td {
display: none !important;
}
#${this.id}-table > .p-datatable-tbody > tr > td {
display: flex;
width: 100% !important;
align-items: center;
justify-content: space-between;
}
#${this.id}-table > .p-datatable-tbody > tr > td:not(:last-child) {
border: 0 none;
}
#${this.id}.p-datatable-gridlines > .p-datatable-table-container > .p-datatable-table > .p-datatable-tbody > tr > td:last-child {
border-top: 0;
border-right: 0;
border-left: 0;
}
#${this.id}-table > .p-datatable-tbody > tr > td > .p-datatable-column-title {
display: block;
}
}
`;this.renderer.setProperty(this.responsiveStyleElement,"innerHTML",e),Ie.setAttribute(this.responsiveStyleElement,"nonce",this.config?.csp()?.nonce)}}destroyResponsiveStyle(){this.responsiveStyleElement&&(this.renderer.removeChild(this.document.head,this.responsiveStyleElement),this.responsiveStyleElement=null)}destroyStyleElement(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}onDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null,this.destroyStyleElement(),this.destroyResponsiveStyle()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=F(t)))(r||t)}})();static \u0275cmp=$({type:t,selectors:[["p-table"]],contentQueries:function(i,r,o){if(i&1&&(V(o,Cq,4),V(o,xq,4),V(o,Tq,4),V(o,Eq,4),V(o,Sq,4),V(o,Iq,4),V(o,Dq,4),V(o,kq,4),V(o,Mq,4),V(o,Oq,4),V(o,Rq,4),V(o,Pq,4),V(o,Aq,4),V(o,Nq,4),V(o,Fq,4),V(o,Lq,4),V(o,Bq,4),V(o,Vq,4),V(o,jq,4),V(o,zq,4),V(o,Hq,4),V(o,$q,4),V(o,Uq,4),V(o,Wq,4),V(o,Gq,4),V(o,qq,4),V(o,Qq,4),V(o,Kq,4),V(o,Yq,4),V(o,Zq,4),V(o,Jq,4),V(o,Xq,4),V(o,xt,4)),i&2){let s;M(s=O())&&(r._headerTemplate=s.first),M(s=O())&&(r._headerGroupedTemplate=s.first),M(s=O())&&(r._bodyTemplate=s.first),M(s=O())&&(r._loadingBodyTemplate=s.first),M(s=O())&&(r._captionTemplate=s.first),M(s=O())&&(r._footerTemplate=s.first),M(s=O())&&(r._footerGroupedTemplate=s.first),M(s=O())&&(r._summaryTemplate=s.first),M(s=O())&&(r._colGroupTemplate=s.first),M(s=O())&&(r._expandedRowTemplate=s.first),M(s=O())&&(r._groupHeaderTemplate=s.first),M(s=O())&&(r._groupFooterTemplate=s.first),M(s=O())&&(r._frozenExpandedRowTemplate=s.first),M(s=O())&&(r._frozenHeaderTemplate=s.first),M(s=O())&&(r._frozenBodyTemplate=s.first),M(s=O())&&(r._frozenFooterTemplate=s.first),M(s=O())&&(r._frozenColGroupTemplate=s.first),M(s=O())&&(r._emptyMessageTemplate=s.first),M(s=O())&&(r._paginatorLeftTemplate=s.first),M(s=O())&&(r._paginatorRightTemplate=s.first),M(s=O())&&(r._paginatorDropdownItemTemplate=s.first),M(s=O())&&(r._loadingIconTemplate=s.first),M(s=O())&&(r._reorderIndicatorUpIconTemplate=s.first),M(s=O())&&(r._reorderIndicatorDownIconTemplate=s.first),M(s=O())&&(r._sortIconTemplate=s.first),M(s=O())&&(r._checkboxIconTemplate=s.first),M(s=O())&&(r._headerCheckboxIconTemplate=s.first),M(s=O())&&(r._paginatorDropdownIconTemplate=s.first),M(s=O())&&(r._paginatorFirstPageLinkIconTemplate=s.first),M(s=O())&&(r._paginatorLastPageLinkIconTemplate=s.first),M(s=O())&&(r._paginatorPreviousPageLinkIconTemplate=s.first),M(s=O())&&(r._paginatorNextPageLinkIconTemplate=s.first),M(s=O())&&(r._templates=s)}},viewQuery:function(i,r){if(i&1&&(ct(eQ,5),ct(tQ,5),ct(nQ,5),ct(iQ,5),ct(rQ,5),ct(oQ,5),ct(sQ,5),ct(aQ,5)),i&2){let o;M(o=O())&&(r.resizeHelperViewChild=o.first),M(o=O())&&(r.reorderIndicatorUpViewChild=o.first),M(o=O())&&(r.reorderIndicatorDownViewChild=o.first),M(o=O())&&(r.wrapperViewChild=o.first),M(o=O())&&(r.tableViewChild=o.first),M(o=O())&&(r.tableHeaderViewChild=o.first),M(o=O())&&(r.tableFooterViewChild=o.first),M(o=O())&&(r.scroller=o.first)}},hostVars:2,hostBindings:function(i,r){i&2&&k(r.cn(r.cx("root"),r.styleClass))},inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:[2,"paginator","paginator",R],pageLinks:[2,"pageLinks","pageLinks",ke],rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:[2,"alwaysShowPaginator","alwaysShowPaginator",R],paginatorPosition:"paginatorPosition",paginatorStyleClass:"paginatorStyleClass",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:[2,"showCurrentPageReport","showCurrentPageReport",R],showJumpToPageDropdown:[2,"showJumpToPageDropdown","showJumpToPageDropdown",R],showJumpToPageInput:[2,"showJumpToPageInput","showJumpToPageInput",R],showFirstLastIcon:[2,"showFirstLastIcon","showFirstLastIcon",R],showPageLinks:[2,"showPageLinks","showPageLinks",R],defaultSortOrder:[2,"defaultSortOrder","defaultSortOrder",ke],sortMode:"sortMode",resetPageOnSort:[2,"resetPageOnSort","resetPageOnSort",R],selectionMode:"selectionMode",selectionPageOnly:[2,"selectionPageOnly","selectionPageOnly",R],contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:[2,"metaKeySelection","metaKeySelection",R],rowSelectable:"rowSelectable",rowTrackBy:"rowTrackBy",lazy:[2,"lazy","lazy",R],lazyLoadOnInit:[2,"lazyLoadOnInit","lazyLoadOnInit",R],compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:[2,"filterDelay","filterDelay",ke],filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:[2,"scrollable","scrollable",R],rowGroupMode:"rowGroupMode",scrollHeight:"scrollHeight",virtualScroll:[2,"virtualScroll","virtualScroll",R],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",ke],virtualScrollOptions:"virtualScrollOptions",virtualScrollDelay:[2,"virtualScrollDelay","virtualScrollDelay",ke],frozenWidth:"frozenWidth",contextMenu:"contextMenu",resizableColumns:[2,"resizableColumns","resizableColumns",R],columnResizeMode:"columnResizeMode",reorderableColumns:[2,"reorderableColumns","reorderableColumns",R],loading:[2,"loading","loading",R],loadingIcon:"loadingIcon",showLoader:[2,"showLoader","showLoader",R],rowHover:[2,"rowHover","rowHover",R],customSort:[2,"customSort","customSort",R],showInitialSortBadge:[2,"showInitialSortBadge","showInitialSortBadge",R],exportFunction:"exportFunction",exportHeader:"exportHeader",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",groupRowsBy:"groupRowsBy",size:"size",showGridlines:[2,"showGridlines","showGridlines",R],stripedRows:[2,"stripedRows","stripedRows",R],groupRowsByOrder:[2,"groupRowsByOrder","groupRowsByOrder",ke],responsiveLayout:"responsiveLayout",breakpoint:"breakpoint",paginatorLocale:"paginatorLocale",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection",selectAll:"selectAll"},outputs:{contextMenuSelectionChange:"contextMenuSelectionChange",selectAllChange:"selectAllChange",selectionChange:"selectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},standalone:!1,features:[Se([pw,uw,{provide:eY,useExisting:t},{provide:Qe,useExisting:t}]),nt([te]),j],decls:14,vars:14,consts:[["wrapper",""],["buildInTable",""],["scroller",""],["content",""],["table",""],["thead",""],["tfoot",""],["resizeHelper",""],["reorderIndicatorUp",""],["reorderIndicatorDown",""],[3,"class","pBind",4,"ngIf"],[3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","appendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","pt","onPageChange",4,"ngIf"],[3,"ngStyle","pBind"],[3,"items","columns","style","scrollHeight","itemSize","step","delay","inline","autoSize","lazy","loaderDisabled","showSpacer","showLoader","options","pt","onLazyLoad",4,"ngIf"],[4,"ngIf"],[3,"ngClass","pBind",4,"ngIf"],[3,"ngClass","pBind","display",4,"ngIf"],[3,"pBind"],["data-p-icon","spinner",3,"spin","class","pBind",4,"ngIf"],["data-p-icon","spinner",3,"spin","pBind"],[4,"ngTemplateOutlet"],[3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","appendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","pt"],["pTemplate","dropdownicon"],["pTemplate","firstpagelinkicon"],["pTemplate","previouspagelinkicon"],["pTemplate","lastpagelinkicon"],["pTemplate","nextpagelinkicon"],[3,"onLazyLoad","items","columns","scrollHeight","itemSize","step","delay","inline","autoSize","lazy","loaderDisabled","showSpacer","showLoader","options","pt"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","table",3,"pBind"],["role","rowgroup",3,"ngStyle","pBind"],["role","rowgroup",3,"class","pBind","value","frozenRows","pTableBody","pTableBodyTemplate","frozen",4,"ngIf"],["role","rowgroup",3,"pBind","value","pTableBody","pTableBodyTemplate","scrollerOptions"],["role","rowgroup",3,"style","class","pBind",4,"ngIf"],["role","rowgroup",3,"ngClass","ngStyle","pBind",4,"ngIf"],["role","rowgroup",3,"pBind","value","frozenRows","pTableBody","pTableBodyTemplate","frozen"],["role","rowgroup",3,"pBind"],["role","rowgroup",3,"ngClass","ngStyle","pBind"],[3,"ngClass","pBind"],["data-p-icon","arrow-down",3,"pBind",4,"ngIf"],["data-p-icon","arrow-down",3,"pBind"],["data-p-icon","arrow-up",3,"pBind",4,"ngIf"],["data-p-icon","arrow-up",3,"pBind"]],template:function(i,r){i&1&&(C(0,gQ,3,5,"div",10)(1,bQ,2,4,"div",10)(2,AQ,6,25,"p-paginator",11),I(3,"div",12,0),C(5,LQ,4,18,"p-scroller",13)(6,VQ,2,7,"ng-container",14)(7,GQ,10,30,"ng-template",null,1,at),T(),C(9,lK,6,25,"p-paginator",11)(10,dK,2,3,"div",15)(11,uK,2,4,"div",16)(12,mK,4,6,"span",16)(13,vK,4,6,"span",16)),i&2&&(h("ngIf",r.loading&&r.showLoader),g(),h("ngIf",r.captionTemplate||r._captionTemplate),g(),h("ngIf",r.paginator&&(r.paginatorPosition==="top"||r.paginatorPosition=="both")),g(),k(r.cx("tableContainer")),h("ngStyle",r.sx("tableContainer"))("pBind",r.ptm("tableContainer")),g(2),h("ngIf",r.virtualScroll),g(),h("ngIf",!r.virtualScroll),g(3),h("ngIf",r.paginator&&(r.paginatorPosition==="bottom"||r.paginatorPosition=="both")),g(),h("ngIf",r.summaryTemplate||r._summaryTemplate),g(),h("ngIf",r.resizableColumns),g(),h("ngIf",r.reorderableColumns),g(),h("ngIf",r.reorderableColumns))},dependencies:()=>[Ji,Ut,kt,Xn,Pu,xt,Ou,jv,zv,wo,te,tY],encapsulation:2})}return t})(),tY=(()=>{class t extends ut{dataTable;tableService;hostName="Table";columns;template;get value(){return this._value}set value(e){this._value=e,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dataTable.scrollable&&this.dataTable.rowGroupMode==="subheader"&&this.updateFrozenRowGroupHeaderStickyPosition()}frozen;frozenRows;scrollerOptions;subscription;_value;onAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dataTable.scrollable&&this.dataTable.rowGroupMode==="subheader"&&this.updateFrozenRowGroupHeaderStickyPosition()}constructor(e,i){super(),this.dataTable=e,this.tableService=i,this.subscription=this.dataTable.tableService.valueSource$.subscribe(()=>{this.dataTable.virtualScroll&&this.cd.detectChanges()})}shouldRenderRowGroupHeader(e,i,r){let o=Pe.resolveFieldData(i,this.dataTable?.groupRowsBy||""),s=e[r-(this.dataTable?._first||0)-1];if(s){let a=Pe.resolveFieldData(s,this.dataTable?.groupRowsBy||"");return o!==a}else return!0}shouldRenderRowGroupFooter(e,i,r){let o=Pe.resolveFieldData(i,this.dataTable?.groupRowsBy||""),s=e[r-(this.dataTable?._first||0)+1];if(s){let a=Pe.resolveFieldData(s,this.dataTable?.groupRowsBy||"");return o!==a}else return!0}shouldRenderRowspan(e,i,r){let o=Pe.resolveFieldData(i,this.dataTable?.groupRowsBy),s=e[r-1];if(s){let a=Pe.resolveFieldData(s,this.dataTable?.groupRowsBy||"");return o!==a}else return!0}calculateRowGroupSize(e,i,r){let o=Pe.resolveFieldData(i,this.dataTable?.groupRowsBy),s=o,a=0;for(;o===s;){a++;let l=e[++r];if(l)s=Pe.resolveFieldData(l,this.dataTable?.groupRowsBy||"");else break}return a===1?null:a}onDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=Ie.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let e=Ie.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dataTable.rowGroupHeaderStyleObject.top=e+"px"}}getScrollerOption(e,i){return this.dataTable.virtualScroll?(i=i||this.scrollerOptions,i?i[e]:null):null}getRowIndex(e){let i=this.dataTable.paginator?this.dataTable.first+e:e,r=this.getScrollerOption("getItemOptions");return r?r(i).index:i}static \u0275fac=function(i){return new(i||t)(me(hw),me(pw))};static \u0275cmp=$({type:t,selectors:[["","pTableBody",""]],inputs:{columns:[0,"pTableBody","columns"],template:[0,"pTableBodyTemplate","template"],value:"value",frozen:[2,"frozen","frozen",R],frozenRows:[2,"frozenRows","frozenRows",R],scrollerOptions:"scrollerOptions"},standalone:!1,features:[j],attrs:_K,decls:5,vars:5,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,r){i&1&&C(0,OK,2,2,"ng-container",0)(1,zK,2,2,"ng-container",0)(2,GK,2,2,"ng-container",0)(3,QK,2,5,"ng-container",0)(4,YK,2,5,"ng-container",0),i&2&&(h("ngIf",!r.dataTable.expandedRowTemplate&&!r.dataTable._expandedRowTemplate),g(),h("ngIf",(r.dataTable.expandedRowTemplate||r.dataTable._expandedRowTemplate)&&!(r.frozen&&(r.dataTable.frozenExpandedRowTemplate||r.dataTable._frozenExpandedRowTemplate))),g(),h("ngIf",(r.dataTable.frozenExpandedRowTemplate||r.dataTable._frozenExpandedRowTemplate)&&r.frozen),g(),h("ngIf",r.dataTable.loading),g(),h("ngIf",r.dataTable.isEmpty()&&!r.dataTable.loading))},dependencies:[Oi,Ut,kt],encapsulation:2})}return t})();var OR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=De({providers:[uw],imports:[qe,zm,E2,z2,ys,Xk,cR,wR,W2,$h,mR,sw,jv,zv,wo,$k,Wk,Uk,Bk,CR,Vk,zk,Gk,IR,Wt,xe,sw]})}return t})();var RR=Yr`
query GetAddressesForList($input: AddressSearchInput) {
getAddresses(input: $input) {
isLastPage
totalItems
items {
id
...BaseModel
name
addition
defaultEmail
featuredAsset {
...BaseModel
source
preview
width
height
displayName
name
}
primaryPostalAddress {
...BaseModel
street
city
postalCode
countryIso
countryName
}
}
}
}
${pc}
`;var iY=()=>[10,25,50,75,100];function rY(t,n){t&1&&(I(0,"tr"),ee(1,"th"),I(2,"th"),ce(3,"Name"),T(),I(4,"th"),ce(5,"Email"),T(),I(6,"th"),ce(7,"Address"),T(),ee(8,"th"),T())}function oY(t,n){if(t&1&&(I(0,"div",4),ee(1,"img",7),T()),t&2){let e=m().$implicit,i=m();g(),h("src",i.getPhxUrl(e.featuredAsset==null?null:e.featuredAsset.preview),Ys)("alt",e.featuredAsset==null?null:e.featuredAsset.displayName)}}function sY(t,n){if(t&1&&(ee(0,"br"),I(1,"div",8),ce(2),T()),t&2){let e=m().$implicit;g(2),Xe(e.addition)}}function aY(t,n){if(t&1){let e=se();I(0,"tr")(1,"td"),ot(2,oY,2,2,"div",4),T(),I(3,"td")(4,"b"),ce(5),T(),ot(6,sY,3,1),T(),I(7,"td")(8,"a",5),ce(9),T()(),I(10,"td"),ce(11),ee(12,"br"),ce(13),ee(14,"br"),ce(15),T(),I(16,"td")(17,"p-button",6),K("click",function(){let r=E(e).$implicit,o=m();return S(o.openAddress(r))}),T()()()}if(t&2){let e=n.$implicit;g(2),st(e.featuredAsset!=null&&e.featuredAsset.preview?2:-1),g(3),Xe(e.name),g(),st(e.addition&&e.addition.length>0?6:-1),g(2),h("href","mailto:"+e.defaultEmail,Ys),g(),Xe(e.defaultEmail),g(2),$t(" ",e.primaryPostalAddress==null?null:e.primaryPostalAddress.street),g(2),bl(" ",e.primaryPostalAddress==null?null:e.primaryPostalAddress.postalCode," ",e.primaryPostalAddress==null?null:e.primaryPostalAddress.city),g(2),$t(" ",e.primaryPostalAddress==null?null:e.primaryPostalAddress.countryName," ")}}var Gm=class t{apollo=x(gs);addresses=_e([]);rows=_e(localStorage.getItem("address-list-rows")?parseInt(localStorage.getItem("address-list-rows")):10);totalItems=_e(0);getPhxUrl=bc;constructor(){Lt(()=>{let n=this.rows();n>0&&n!==parseInt(localStorage.getItem("address-list-rows")??"0")&&localStorage.setItem("address-list-rows",n.toString())})}getAddresses=(...e)=>gt(this,[...e],function*(n={}){return(yield vr(this.apollo.apollo().query({query:RR,variables:{input:n}})))?.data?.getAddresses});onLazyLoad(n){return gt(this,null,function*(){let e=yield this.getAddresses({take:n?.rows??this.rows(),skip:n?.first??0});this.addresses.set(e?.items??[]),this.totalItems.set(e?.totalItems??0)})}openAddress(n){window.open(bc("/crm/address/edit/"+n.id),"_blank")}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=$({type:t,selectors:[["app-address-list"]],decls:4,vars:5,consts:[["title","Address List"],["lazy","","paginator","",3,"onLazyLoad","rowsChange","value","rows","totalRecords","rowsPerPageOptions"],["pTemplate","header"],["pTemplate","body"],[1,"flex","justify-center","items-center"],[1,"text-blue-500","hover:text-blue-700","hover:underline",3,"href"],["icon","fa fa-arrow-up-right-from-square","size","small","text","","rounded","","outlined","",3,"click"],[2,"object-fit","contain","max-width","100px","max-height","70px",3,"src","alt"],[1,"text-muted-color","italic","text-sm"]],template:function(e,i){e&1&&(I(0,"app-base",0)(1,"p-table",1),K("onLazyLoad",function(o){return i.onLazyLoad(o)}),ki("rowsChange",function(o){return Zi(i.rows,o)||(i.rows=o),o}),C(2,rY,9,0,"ng-template",2)(3,aY,18,9,"ng-template",3),T()()),e&2&&(g(),h("value",i.addresses()),Di("rows",i.rows),h("totalRecords",i.totalItems())("rowsPerPageOptions",Rr(4,iY)))},dependencies:[os,OR,hw,xt,Ni],encapsulation:2})};var mw=[Ht.production?()=>!0:Ia],gw=[{path:"",canActivate:mw,component:Em},{path:"product-view",canActivate:mw,component:$m},{path:"address-list",canActivate:mw,component:Gm},{path:"login",component:Um}];var lY={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)}};function cY(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function dY(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var yw;function uY(t,n){if(!yw){let e=Element.prototype;yw=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?yw.call(t,n):!1}function pY(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[cY(i)]=[e,r]}),n}function fY(t,n){return n.get(Qo).resolveComponentFactory(t).inputs}function hY(t,n){let e=t.childNodes,i=n.map(()=>[]),r=-1;n.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=mY(a,n,r);l!==-1&&i[l].push(a)}return i}function mY(t,n,e){let i=e;return dY(t)&&n.some((r,o)=>r!=="*"&&uY(t,r)?(i=o,!0):!1),i}var gY=10,bw=class{componentFactory;inputMap=new Map;constructor(n,e){this.componentFactory=e.get(Qo).resolveComponentFactory(n);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new vw(this.componentFactory,n,this.inputMap)}},vw=class{componentFactory;injector;inputMap;eventEmitters=new to(1);events=this.eventEmitters.pipe(yn(n=>Vg(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,e,i){this.componentFactory=n,this.injector=e,this.inputMap=i,this.ngZone=this.injector.get($e),this.appRef=this.injector.get(Or),this.cdScheduler=e.get(li),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=lY.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},gY))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e){if(this.componentRef===null){this.initialInputValues.set(n,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,e),ib(this.componentRef.hostView)&&(rb(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let e=Bt.create({providers:[],parent:this.injector}),i=hY(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[n,e]of this.initialInputValues)this.setInputValue(n,e);this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=n.instance[i];return new ue(s=>{let a=o.subscribe(l=>s.next({name:r,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(e)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},_w=class extends HTMLElement{ngElementEventsSubscription=null};function PR(t,n){let e=fY(t,n.injector),i=n.strategyFactory||new bw(t,n.injector),r=pY(e);class o extends _w{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[u,p]=r[a];this.ngElementStrategy.setInputValue(u,c,p)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}function AR(t){return new U(3e3,!1)}function yY(){return new U(3100,!1)}function bY(){return new U(3101,!1)}function vY(t){return new U(3001,!1)}function _Y(t){return new U(3003,!1)}function wY(t){return new U(3004,!1)}function FR(t,n){return new U(3005,!1)}function LR(){return new U(3006,!1)}function BR(){return new U(3007,!1)}function VR(t,n){return new U(3008,!1)}function jR(t){return new U(3002,!1)}function zR(t,n,e,i,r){return new U(3010,!1)}function HR(){return new U(3011,!1)}function $R(){return new U(3012,!1)}function UR(){return new U(3200,!1)}function WR(){return new U(3202,!1)}function GR(){return new U(3013,!1)}function qR(t){return new U(3014,!1)}function QR(t){return new U(3015,!1)}function KR(t){return new U(3016,!1)}function YR(t,n){return new U(3404,!1)}function CY(t){return new U(3502,!1)}function ZR(t){return new U(3503,!1)}function JR(){return new U(3300,!1)}function XR(t){return new U(3504,!1)}function eP(t){return new U(3301,!1)}function tP(t,n){return new U(3302,!1)}function nP(t){return new U(3303,!1)}function iP(t,n){return new U(3400,!1)}function rP(t){return new U(3401,!1)}function oP(t){return new U(3402,!1)}function sP(t,n){return new U(3505,!1)}function Ro(t){switch(t.length){case 0:return new Jr;case 1:return t[0];default:return new Sa(t)}}function Tw(t,n,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((p,f)=>{let y=f,b=p;if(f!=="offset")switch(y=t.normalizePropertyName(y,r),b){case yc:b=e.get(f);break;case Li:b=i.get(f);break;default:b=t.normalizeStyleValue(f,y,b,r);break}u.set(y,b)}),d||o.push(u),a=u,s=c}),r.length)throw CY(r);return o}function qm(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&ww(e,"start",t)));break;case"done":t.onDone(()=>i(e&&ww(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&ww(e,"destroy",t)));break}}function ww(t,n,e){let i=e.totalTime,r=!!e.disabled,o=Qm(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function Qm(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function ri(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function Ew(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var xY=typeof document>"u"?null:document.documentElement;function Km(t){let n=t.parentNode||t.host||null;return n===xY?null:n}function TY(t){return t.substring(1,6)=="ebkit"}var Da=null,NR=!1;function aP(t){Da||(Da=EY()||{},NR=Da.style?"WebkitAppearance"in Da.style:!1);let n=!0;return Da.style&&!TY(t)&&(n=t in Da.style,!n&&NR&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Da.style)),n}function EY(){return typeof document<"u"?document.body:null}function Sw(t,n){for(;n;){if(n===t)return!0;n=Km(n)}return!1}function Iw(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var SY=1e3,Dw="{{",IY="}}",kw="ng-enter",Ym="ng-leave",Au="ng-trigger",Nu=".ng-trigger",Mw="ng-animating",Zm=".ng-animating";function Xr(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Cw(parseFloat(n[1]),n[2])}function Cw(t,n){return n==="s"?t*SY:t}function Fu(t,n,e){return t.hasOwnProperty("duration")?t:kY(t,n,e)}var DY=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function kY(t,n,e){let i,r=0,o="";if(typeof t=="string"){let s=t.match(DY);if(s===null)return n.push(AR(t)),{duration:0,delay:0,easing:""};i=Cw(parseFloat(s[1]),s[2]);let a=s[3];a!=null&&(r=Cw(parseFloat(a),s[4]));let l=s[5];l&&(o=l)}else i=t;if(!e){let s=!1,a=n.length;i<0&&(n.push(yY()),s=!0),r<0&&(n.push(bY()),s=!0),s&&n.splice(a,0,AR(t))}return{duration:i,delay:r,easing:o}}function lP(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function pr(t,n,e){n.forEach((i,r)=>{let o=Jm(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function vs(t,n){n.forEach((e,i)=>{let r=Jm(i);t.style[r]=""})}function vc(t){return Array.isArray(t)?t.length==1?t[0]:S2(t):t}function cP(t,n,e){let i=n.params||{},r=Ow(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(vY(o))})}var xw=new RegExp(`${Dw}\\s*(.+?)\\s*${IY}`,"g");function Ow(t){let n=[];if(typeof t=="string"){let e;for(;e=xw.exec(t);)n.push(e[1]);xw.lastIndex=0}return n}function _c(t,n,e){let i=`${t}`,r=i.replace(xw,(o,s)=>{let a=n[s];return a==null&&(e.push(_Y(s)),a=""),a.toString()});return r==i?t:r}var MY=/-+([a-z0-9])/g;function Jm(t){return t.replace(MY,(...n)=>n[1].toUpperCase())}function dP(t,n){return t===0||n===0}function uP(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,Xm(t,a)))}}return n}function oi(t,n,e){switch(n.type){case Ne.Trigger:return t.visitTrigger(n,e);case Ne.State:return t.visitState(n,e);case Ne.Transition:return t.visitTransition(n,e);case Ne.Sequence:return t.visitSequence(n,e);case Ne.Group:return t.visitGroup(n,e);case Ne.Animate:return t.visitAnimate(n,e);case Ne.Keyframes:return t.visitKeyframes(n,e);case Ne.Style:return t.visitStyle(n,e);case Ne.Reference:return t.visitReference(n,e);case Ne.AnimateChild:return t.visitAnimateChild(n,e);case Ne.AnimateRef:return t.visitAnimateRef(n,e);case Ne.Query:return t.visitQuery(n,e);case Ne.Stagger:return t.visitStagger(n,e);default:throw wY(n.type)}}function Xm(t,n){return window.getComputedStyle(t)[n]}var Qw=(()=>{class t{validateStyleProperty(e){return aP(e)}containsElement(e,i){return Sw(e,i)}getParentElement(e){return Km(e)}query(e,i,r){return Iw(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Jr(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})(),Ma=class{static NOOP=new Qw},Oa=class{};var OY=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"]),rg=class extends Oa{normalizePropertyName(n,e){return Jm(n)}normalizeStyleValue(n,e,i,r){let o="",s=i.toString().trim();if(OY.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(FR(n,i))}return s+o}};var og="*";function RY(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>PY(i,e,n)):e.push(t),e}function PY(t,n,e){if(t[0]==":"){let l=AY(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(QR(t)),n;let r=i[1],o=i[2],s=i[3];n.push(pP(r,s));let a=r==og&&s==og;o[0]=="<"&&!a&&n.push(pP(s,r))}function AY(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(KR(t)),"* => *"}}var eg=new Set(["true","1"]),tg=new Set(["false","0"]);function pP(t,n){let e=eg.has(t)||tg.has(t),i=eg.has(n)||tg.has(n);return(r,o)=>{let s=t==og||t==r,a=n==og||n==o;return!s&&e&&typeof r=="boolean"&&(s=r?eg.has(t):tg.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?eg.has(n):tg.has(n)),s&&a}}var CP=":self",NY=new RegExp(`s*${CP}s*,?`,"g");function xP(t,n,e,i){return new Lw(t).build(n,e,i)}var fP="",Lw=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new Bw(e);return this._resetContextStyleTimingState(r),oi(this,vc(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=fP,n.collectedStyles=new Map,n.collectedStyles.set(fP,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(LR()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==Ne.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==Ne.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(BR())}),{type:Ne.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Ow(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(VR(n.name,[...o.values()]))}return{type:Ne.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=oi(this,vc(n.animation),e),r=RY(n.expr,e.errors);return{type:Ne.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:ka(n.options)}}visitSequence(n,e){return{type:Ne.Sequence,steps:n.steps.map(i=>oi(this,i,e)),options:ka(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(s=>{e.currentTime=i;let a=oi(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:Ne.Group,steps:o,options:ka(n.options)}}visitAnimate(n,e){let i=VY(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:ii({});if(o.type==Ne.Keyframes)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=ii(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:Ne.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)typeof a=="string"?a===Li?i.push(a):e.errors.push(jR(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.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(Dw)>=0){o=!0;break}}}),{type:Ne.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(zR(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&cP(a,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:Ne.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(HR()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=n.steps.map(w=>{let D=this._makeStyleAst(w,e),P=D.offset!=null?D.offset:BY(D.styles),B=0;return P!=null&&(o++,B=D.offset=P),l=l||B<0||B>1,a=a||B<c,c=B,s.push(B),D});l&&e.errors.push($R()),a&&e.errors.push(UR());let u=n.steps.length,p=0;o>0&&o<u?e.errors.push(WR()):o==0&&(p=r/(u-1));let f=u-1,y=e.currentTime,b=e.currentAnimateTimings,v=b.duration;return d.forEach((w,D)=>{let P=p>0?D==f?1:p*D:s[D],B=P*v;e.currentTime=y+b.delay+B,b.duration=B,this._validateStyleAst(w,e),w.offset=P,i.styles.push(w)}),i}visitReference(n,e){return{type:Ne.Reference,animation:oi(this,vc(n.animation),e),options:ka(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:Ne.AnimateChild,options:ka(n.options)}}visitAnimateRef(n,e){return{type:Ne.AnimateRef,animation:this.visitReference(n.animation,e),options:ka(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=FY(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,ri(e.collectedStyles,e.currentQuerySelector,new Map);let a=oi(this,vc(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:Ne.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:ka(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(GR());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:Fu(n.timings,e.errors,!0);return{type:Ne.Stagger,animation:oi(this,vc(n.animation),e),timings:i,options:null}}};function FY(t){let n=!!t.split(/\s*,\s*/).find(e=>e==CP);return n&&(t=t.replace(NY,"")),t=t.replace(/@\*/g,Nu).replace(/@\w+/g,e=>Nu+"-"+e.slice(1)).replace(/:animating/g,Zm),[t,n]}function LY(t){return t?_({},t):null}var Bw=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};function BY(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function VY(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Fu(t,n).duration;return Rw(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Rw(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=Fu(e,n);return Rw(r.duration,r.delay,r.easing)}function ka(t){return t?(t=_({},t),t.params&&(t.params=LY(t.params))):t={},t}function Rw(t,n,e){return{duration:t,delay:n,easing:e}}function Kw(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}var Bu=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},jY=1,zY=":enter",HY=new RegExp(zY,"g"),$Y=":leave",UY=new RegExp($Y,"g");function TP(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new Vw().buildKeyframes(t,n,e,i,r,o,s,a,l,c)}var Vw=class{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new Bu;let u=new jw(n,e,c,r,o,d,[]);u.options=l;let p=l.delay?Xr(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([s],null,u.errors,l),oi(this,i,u);let f=u.timelines.filter(y=>y.containsAnimation());if(f.length&&a.size){let y;for(let b=f.length-1;b>=0;b--){let v=f[b];if(v.element===e){y=v;break}}y&&!y.allowOnlyTimelineStyles()&&y.setStyles([a],null,u.errors,l)}return f.length?f.map(y=>y.buildKeyframes()):[Kw(e,[],[],[],0,p,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let s=typeof o=="number"?o:Xr(_c(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?Xr(i.duration):null,a=i.delay!=null?Xr(i.delay):null;return s!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),oi(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==Ne.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=sg);let s=Xr(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>oi(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?Xr(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),oi(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?_c(i,e.params,e.errors):i;return Fu(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==Ne.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Xr(r.delay):0;o&&(e.previousNode.type===Ne.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=sg);let s=i,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let u=e.createSubContext(n.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),oi(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe();let p=u.currentTimeline.currentTime;s=Math.max(s,p)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;oi(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},sg={},jw=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=sg;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new ag(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=Xr(i.duration)),i.delay!=null&&(r.delay=Xr(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=_c(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=sg,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new zw(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=n.replace(HY,"."+this._enterClassName),n=n.replace(UY,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(qR(e)),a}},ag=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,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(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,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+=jY,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Li),this._currentKeyframe.set(e,Li);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=WY(n,this._globalTimelineStyles);for(let[a,l]of s){let c=_c(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Li),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===yc?n.add(u):d===Li&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Kw(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},zw=class extends ag{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=r,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 n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",hP(a)),o.push(c);let d=n.length-1;for(let u=1;u<=d;u++){let p=new Map(n[u]),f=p.get("offset"),y=e+f*i;p.set("offset",hP(y/s)),o.push(p)}i=s,e=0,r="",n=o}return Kw(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function hP(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function WY(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,Li)}else for(let[o,s]of r)e.set(o,s)}),e}function mP(t,n,e,i,r,o,s,a,l,c,d,u,p){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:p}}var Pw={},lg=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return GY(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){let u=[],p=this.ast.options&&this.ast.options.params||Pw,f=a&&a.params||Pw,y=this.buildStyles(i,f,u),b=l&&l.params||Pw,v=this.buildStyles(r,b,u),w=new Set,D=new Map,P=new Map,B=r==="void",Y={params:EP(b,p),delay:this.ast.options?.delay},ge=d?[]:TP(n,e,this.ast.animation,o,s,y,v,Y,c,u),tt=0;return ge.forEach(it=>{tt=Math.max(it.duration+it.delay,tt)}),u.length?mP(e,this._triggerName,i,r,B,y,v,[],[],D,P,tt,u):(ge.forEach(it=>{let vt=it.element,tn=ri(D,vt,new Set);it.preStyleProps.forEach(jn=>tn.add(jn));let hr=ri(P,vt,new Set);it.postStyleProps.forEach(jn=>hr.add(jn)),vt!==e&&w.add(vt)}),mP(e,this._triggerName,i,r,B,y,v,ge,[...w.values()],D,P,tt))}};function GY(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function EP(t,n){let e=_({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var Hw=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=EP(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=_c(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};function qY(t,n,e){return new $w(t,n,e)}var $w=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Hw(r.style,o,i))}),gP(this.states,"true","1"),gP(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new lg(n,r,this.states))}),this.fallbackTransition=QY(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};function QY(t,n,e){let i=[(s,a)=>!0],r={type:Ne.Sequence,steps:[],options:null},o={type:Ne.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new lg(t,o,n)}function gP(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}var KY=new Bu,Uw=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],o=xP(this._driver,e,i,r);if(i.length)throw ZR(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=Tw(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),s,a=new Map;if(o?(s=TP(this._driver,e,o,kw,Ym,new Map,new Map,i,KY,r),s.forEach(d=>{let u=ri(a,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(r.push(JR()),s=[]),r.length)throw XR(r);a.forEach((d,u)=>{d.forEach((p,f)=>{d.set(f,this._driver.computeStyle(u,f,Li))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Ro(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw eP(n);return e}listen(n,e,i,r){let o=Qm(e,"","","");return qm(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);switch(i){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(r[0]));break;case"destroy":this.destroy(n);break}}},yP="ng-animate-queued",YY=".ng-animate-queued",Aw="ng-animate-disabled",ZY=".ng-animate-disabled",JY="ng-star-inserted",XY=".ng-star-inserted",eZ=[],SP={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},tZ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fr="__ng_removed",Vu=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=iZ(r),i){let o=n,{value:s}=o,a=Et(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},Lu="void",Nw=new Vu(Lu),Ww=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,Bi(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw tP(i,e);if(i==null||i.length==0)throw nP(e);if(!rZ(i))throw iP(i,e);let o=ri(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);let a=ri(this._engine.statesByElement,n,new Map);return a.has(e)||(Bi(n,Au),Bi(n,Au+"-"+e),a.set(e,Nw)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw rP(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),s=new ju(this.id,e,n),a=this._engine.statesByElement.get(n);a||(Bi(n,Au),Bi(n,Au+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),c=new Vu(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Nw),!(c.value===Lu)&&l.value===c.value){if(!aZ(l.params,c.params)){let b=[],v=o.matchStyles(l.value,l.params,b),w=o.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{vs(n,v),pr(n,w)})}return}let p=ri(this._engine.playersByElement,n,[]);p.forEach(b=>{b.namespaceId==this.id&&b.triggerName==e&&b.queued&&b.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),y=!1;if(!f){if(!r)return;f=o.fallbackTransition,y=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:y}),y||(Bi(n,yP),s.onStart(()=>{wc(n,yP)})),s.onDone(()=>{let b=this.players.indexOf(s);b>=0&&this.players.splice(b,1);let v=this._engine.playersByElement.get(n);if(v){let w=v.indexOf(s);w>=0&&v.splice(w,1)}}),this.players.push(s),p.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,Nu,!0);i.forEach(r=>{if(r[fr])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,Lu,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&Ro(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Nw,d=new Vu(Lu),u=new ju(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[fr];(!o||o===SP)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Bi(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=Qm(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,qm(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},Gw=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new Ww(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(ng(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!ng(e))return;let o=e[fr];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Bi(n,Aw)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),wc(n,Aw))}removeNode(n,e,i){if(ng(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[fr]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return ng(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Nu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,Zm,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Ro(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[fr];if(e&&e.setForRemoval){if(n[fr]=SP,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(Aw)&&this.markElementAsDisabled(n,!1),this.driver.query(n,ZY,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];Bi(r,JY)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?Ro(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw oP(n)}_flushAnimations(n,e){let i=new Bu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(Z=>{d.add(Z);let Q=this.driver.query(Z,YY,!0);for(let X=0;X<Q.length;X++)d.add(Q[X])});let u=this.bodyNode,p=Array.from(this.statesByElement.keys()),f=_P(p,this.collectedEnterElements),y=new Map,b=0;f.forEach((Z,Q)=>{let X=kw+b++;y.set(Q,X),Z.forEach(fe=>Bi(fe,X))});let v=[],w=new Set,D=new Set;for(let Z=0;Z<this.collectedLeaveElements.length;Z++){let Q=this.collectedLeaveElements[Z],X=Q[fr];X&&X.setForRemoval&&(v.push(Q),w.add(Q),X.hasAnimation?this.driver.query(Q,XY,!0).forEach(fe=>w.add(fe)):D.add(Q))}let P=new Map,B=_P(p,Array.from(w));B.forEach((Z,Q)=>{let X=Ym+b++;P.set(Q,X),Z.forEach(fe=>Bi(fe,X))}),n.push(()=>{f.forEach((Z,Q)=>{let X=y.get(Q);Z.forEach(fe=>wc(fe,X))}),B.forEach((Z,Q)=>{let X=P.get(Q);Z.forEach(fe=>wc(fe,X))}),v.forEach(Z=>{this.processLeaveNode(Z)})});let Y=[],ge=[];for(let Z=this._namespaceList.length-1;Z>=0;Z--)this._namespaceList[Z].drainQueuedTransitions(e).forEach(X=>{let fe=X.player,Ke=X.element;if(Y.push(fe),this.collectedEnterElements.length){let rt=Ke[fr];if(rt&&rt.setForMove){if(rt.previousTriggersValues&&rt.previousTriggersValues.has(X.triggerName)){let mr=rt.previousTriggersValues.get(X.triggerName),Nn=this.statesByElement.get(X.element);if(Nn&&Nn.has(X.triggerName)){let Ra=Nn.get(X.triggerName);Ra.value=mr,Nn.set(X.triggerName,Ra)}}fe.destroy();return}}let Fe=!u||!this.driver.containsElement(u,Ke),Rt=P.get(Ke),Sn=y.get(Ke),ft=this._buildInstruction(X,i,Sn,Rt,Fe);if(ft.errors&&ft.errors.length){ge.push(ft);return}if(Fe){fe.onStart(()=>vs(Ke,ft.fromStyles)),fe.onDestroy(()=>pr(Ke,ft.toStyles)),r.push(fe);return}if(X.isFallbackTransition){fe.onStart(()=>vs(Ke,ft.fromStyles)),fe.onDestroy(()=>pr(Ke,ft.toStyles)),r.push(fe);return}let vi=[];ft.timelines.forEach(rt=>{rt.stretchStartingKeyframe=!0,this.disabledNodes.has(rt.element)||vi.push(rt)}),ft.timelines=vi,i.append(Ke,ft.timelines);let Yt={instruction:ft,player:fe,element:Ke};s.push(Yt),ft.queriedElements.forEach(rt=>ri(a,rt,[]).push(fe)),ft.preStyleProps.forEach((rt,mr)=>{if(rt.size){let Nn=l.get(mr);Nn||l.set(mr,Nn=new Set),rt.forEach((Ra,Ec)=>Nn.add(Ec))}}),ft.postStyleProps.forEach((rt,mr)=>{let Nn=c.get(mr);Nn||c.set(mr,Nn=new Set),rt.forEach((Ra,Ec)=>Nn.add(Ec))})});if(ge.length){let Z=[];ge.forEach(Q=>{Z.push(sP(Q.triggerName,Q.errors))}),Y.forEach(Q=>Q.destroy()),this.reportError(Z)}let tt=new Map,it=new Map;s.forEach(Z=>{let Q=Z.element;i.has(Q)&&(it.set(Q,Q),this._beforeAnimationBuild(Z.player.namespaceId,Z.instruction,tt))}),r.forEach(Z=>{let Q=Z.element;this._getPreviousPlayers(Q,!1,Z.namespaceId,Z.triggerName,null).forEach(fe=>{ri(tt,Q,[]).push(fe),fe.destroy()})});let vt=v.filter(Z=>wP(Z,l,c)),tn=new Map;vP(tn,this.driver,D,c,Li).forEach(Z=>{wP(Z,l,c)&&vt.push(Z)});let jn=new Map;f.forEach((Z,Q)=>{vP(jn,this.driver,new Set(Z),l,yc)}),vt.forEach(Z=>{let Q=tn.get(Z),X=jn.get(Z);tn.set(Z,new Map([...Q?.entries()??[],...X?.entries()??[]]))});let bi=[],Po=[],je={};s.forEach(Z=>{let{element:Q,player:X,instruction:fe}=Z;if(i.has(Q)){if(d.has(Q)){X.onDestroy(()=>pr(Q,fe.toStyles)),X.disabled=!0,X.overrideTotalTime(fe.totalTime),r.push(X);return}let Ke=je;if(it.size>1){let Rt=Q,Sn=[];for(;Rt=Rt.parentNode;){let ft=it.get(Rt);if(ft){Ke=ft;break}Sn.push(Rt)}Sn.forEach(ft=>it.set(ft,Ke))}let Fe=this._buildAnimation(X.namespaceId,fe,tt,o,jn,tn);if(X.setRealPlayer(Fe),Ke===je)bi.push(X);else{let Rt=this.playersByElement.get(Ke);Rt&&Rt.length&&(X.parentPlayer=Ro(Rt)),r.push(X)}}else vs(Q,fe.fromStyles),X.onDestroy(()=>pr(Q,fe.toStyles)),Po.push(X),d.has(Q)&&r.push(X)}),Po.forEach(Z=>{let Q=o.get(Z.element);if(Q&&Q.length){let X=Ro(Q);Z.setRealPlayer(X)}}),r.forEach(Z=>{Z.parentPlayer?Z.syncPlayerEvents(Z.parentPlayer):Z.destroy()});for(let Z=0;Z<v.length;Z++){let Q=v[Z],X=Q[fr];if(wc(Q,Ym),X&&X.hasAnimation)continue;let fe=[];if(a.size){let Fe=a.get(Q);Fe&&Fe.length&&fe.push(...Fe);let Rt=this.driver.query(Q,Zm,!0);for(let Sn=0;Sn<Rt.length;Sn++){let ft=a.get(Rt[Sn]);ft&&ft.length&&fe.push(...ft)}}let Ke=fe.filter(Fe=>!Fe.destroyed);Ke.length?oZ(this,Q,Ke):this.processLeaveNode(Q)}return v.length=0,bi.forEach(Z=>{this.players.push(Z),Z.onDone(()=>{Z.destroy();let Q=this.players.indexOf(Z);this.players.splice(Q,1)}),Z.play()}),bi}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==Lu;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,u=ri(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(f=>{let y=f.getRealPlayer();y.beforeDestroy&&y.beforeDestroy(),f.destroy(),u.push(f)})}vs(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,p=e.timelines.map(y=>{let b=y.element;d.add(b);let v=b[fr];if(v&&v.removedBeforeQueried)return new Jr(y.duration,y.delay);let w=b!==l,D=sZ((i.get(b)||eZ).map(tt=>tt.getRealPlayer())).filter(tt=>{let it=tt;return it.element?it.element===b:!1}),P=o.get(b),B=s.get(b),Y=Tw(this._normalizer,y.keyframes,P,B),ge=this._buildPlayer(y,Y,D);if(y.subTimeline&&r&&u.add(b),w){let tt=new ju(n,a,b);tt.setRealPlayer(ge),c.push(tt)}return ge});c.forEach(y=>{ri(this.playersByQueriedElement,y.element,[]).push(y),y.onDone(()=>nZ(this.playersByQueriedElement,y.element,y))}),d.forEach(y=>Bi(y,Mw));let f=Ro(p);return f.onDestroy(()=>{d.forEach(y=>wc(y,Mw)),pr(l,e.toStyles)}),u.forEach(y=>{ri(r,y,[]).push(f)}),f}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Jr(n.duration,n.delay)}},ju=class{namespaceId;triggerName;element;_player=new Jr;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>qm(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){ri(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};function nZ(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function iZ(t){return t??null}function ng(t){return t&&t.nodeType===1}function rZ(t){return t=="start"||t=="done"}function bP(t,n){let e=t.style.display;return t.style.display=n??"none",e}function vP(t,n,e,i,r){let o=[];e.forEach(l=>o.push(bP(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let p=n.computeStyle(c,u,r);d.set(u,p),(!p||p.length==0)&&(c[fr]=tZ,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>bP(l,o[a++])),s}function _P(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return n.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function Bi(t,n){t.classList?.add(n)}function wc(t,n){t.classList?.remove(n)}function oZ(t,n,e){Ro(e).onDone(()=>t.processLeaveNode(n))}function sZ(t){let n=[];return IP(t,n),n}function IP(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof Sa?IP(i.players,n):n.push(i)}}function aZ(t,n){let e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}function wP(t,n,e){let i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}var Cc=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Gw(n.body,e,i),this._timelineEngine=new Uw(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let s=n+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=xP(this._driver,o,l,c);if(l.length)throw YR(r,l);a=qY(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,s]=Ew(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=Ew(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function lZ(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=Fw(n[0]),n.length>1&&(i=Fw(n[n.length-1]))):n instanceof Map&&(e=Fw(n)),e||i?new cZ(t,e,i):null}var cZ=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&pr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(pr(this._element,this._initialStyles),this._endStyles&&(pr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(vs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(vs(this._element,this._endStyles),this._endStyles=null),pr(this._element,this._initialStyles),this._state=3)}}return t})();function Fw(t){let n=null;return t.forEach((e,i)=>{dZ(i)&&(n=n||new Map,n.set(i,e))}),n}function dZ(t){return t==="display"||t==="position"}var cg=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let n=this.keyframes,e=this._triggerWebAnimation(this.element,n,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=n.length?n[n.length-1]:new Map;let i=()=>this._onFinish();return e.addEventListener("finish",i),this.onDestroy(()=>{e.removeEventListener("finish",i)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){let r=this._convertKeyframesToObject(e);try{return n.animate(r,i)}catch{return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){let n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:Xm(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},dg=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return Sw(n,e)}getParentElement(n){return Km(n)}query(n,e,i){return Iw(n,e,i)}computeStyle(n,e,i){return Xm(n,e)}animate(n,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(f=>f instanceof cg);dP(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((y,b)=>c.set(b,y))});let u=lP(e).map(f=>new Map(f));u=uP(n,u,c);let p=lZ(n,u);return new cg(n,u,l,p)}};var ig="@",DP="@.disabled",ug=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i,r){if(r){this.delegate.removeChild(n,e,i,r);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==ig&&e==DP?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},qw=class extends ug{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==ig?e.charAt(1)=="."&&e==DP?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if(e.charAt(0)==ig){let o=uZ(n),s=e.slice(1),a="";return s.charAt(0)!=ig&&([s,a]=pZ(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(n,e,i,r)}};function uZ(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function pZ(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var pg=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new ug("",r,this.engine,u),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return e.data.animation.forEach(a),new qw(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}};var hZ=(()=>{class t extends Cc{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(he(bt),he(Ma),he(Oa))};static \u0275prov=N({token:t,factory:t.\u0275fac})}return t})();function mZ(){return new rg}function gZ(t,n,e){return new pg(t,n,e)}var kP=[{provide:Oa,useFactory:mZ},{provide:Cc,useClass:hZ},{provide:uo,useFactory:gZ,deps:[Cd,Cc,$e]}],O6e=[{provide:Ma,useClass:Qw},{provide:Sf,useValue:"NoopAnimations"},...kP],yZ=[{provide:Ma,useFactory:()=>new dg},{provide:Sf,useFactory:()=>"BrowserAnimations"},...kP];function MP(){return Ki("NgEagerAnimations"),[...yZ]}var bZ={transitionDuration:"{transition.duration}"},vZ={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},_Z={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},wZ={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},Yw={root:bZ,panel:vZ,header:_Z,content:wZ};var CZ={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},xZ={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},TZ={padding:"{list.padding}",gap:"{list.gap}"},EZ={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},SZ={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},IZ={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},DZ={borderRadius:"{border.radius.sm}"},kZ={padding:"{list.option.padding}"},MZ={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},Zw={root:CZ,overlay:xZ,list:TZ,option:EZ,optionGroup:SZ,dropdown:IZ,chip:DZ,emptyMessage:kZ,colorScheme:MZ};var OZ={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},RZ={size:"1rem"},PZ={borderColor:"{content.background}",offset:"-0.75rem"},AZ={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},NZ={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},Jw={root:OZ,icon:RZ,group:PZ,lg:AZ,xl:NZ};var FZ={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},LZ={size:"0.5rem"},BZ={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},VZ={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},jZ={fontSize:"1rem",minWidth:"2rem",height:"2rem"},zZ={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},Xw={root:FZ,dot:LZ,sm:BZ,lg:VZ,xl:jZ,colorScheme:zZ};var HZ={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},$Z={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},eC={primitive:HZ,semantic:$Z};var UZ={borderRadius:"{content.border.radius}"},tC={root:UZ};var WZ={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},GZ={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},qZ={color:"{navigation.item.icon.color}"},nC={root:WZ,item:GZ,separator:qZ};var QZ={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},KZ={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},iC={root:QZ,colorScheme:KZ};var YZ={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},ZZ={padding:"1.25rem",gap:"0.5rem"},JZ={gap:"0.5rem"},XZ={fontSize:"1.25rem",fontWeight:"500"},eJ={color:"{text.muted.color}"},rC={root:YZ,body:ZZ,caption:JZ,title:XZ,subtitle:eJ};var tJ={transitionDuration:"{transition.duration}"},nJ={gap:"0.25rem"},iJ={padding:"1rem",gap:"0.5rem"},rJ={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},oJ={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},oC={root:tJ,content:nJ,indicatorList:iJ,indicator:rJ,colorScheme:oJ};var sJ={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},aJ={width:"2.5rem",color:"{form.field.icon.color}"},lJ={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},cJ={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},dJ={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},uJ={color:"{form.field.icon.color}"},sC={root:sJ,dropdown:aJ,overlay:lJ,list:cJ,option:dJ,clearIcon:uJ};var pJ={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},fJ={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},aC={root:pJ,icon:fJ};var hJ={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},mJ={width:"2rem",height:"2rem"},gJ={size:"1rem"},yJ={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},bJ={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},lC={root:hJ,image:mJ,icon:gJ,removeIcon:yJ,colorScheme:bJ};var vJ={transitionDuration:"{transition.duration}"},_J={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},wJ={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},CJ={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},cC={root:vJ,preview:_J,panel:wJ,colorScheme:CJ};var xJ={size:"2rem",color:"{overlay.modal.color}"},TJ={gap:"1rem"},dC={icon:xJ,content:TJ};var EJ={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},SJ={padding:"{overlay.popover.padding}",gap:"1rem"},IJ={size:"1.5rem",color:"{overlay.popover.color}"},DJ={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},uC={root:EJ,content:SJ,icon:IJ,footer:DJ};var kJ={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},MJ={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},OJ={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},RJ={mobileIndent:"1rem"},PJ={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},AJ={borderColor:"{content.border.color}"},pC={root:kJ,list:MJ,item:OJ,submenu:RJ,submenuIcon:PJ,separator:AJ};var NJ={transitionDuration:"{transition.duration}"},FJ={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},LJ={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},BJ={fontWeight:"600"},VJ={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},jJ={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},zJ={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},HJ={fontWeight:"600"},$J={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},UJ={color:"{primary.color}"},WJ={width:"0.5rem"},GJ={width:"1px",color:"{primary.color}"},qJ={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},QJ={size:"2rem"},KJ={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},YJ={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},ZJ={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},JJ={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},XJ={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},fC={root:NJ,header:FJ,headerCell:LJ,columnTitle:BJ,row:VJ,bodyCell:jJ,footerCell:zJ,columnFooter:HJ,footer:$J,dropPoint:UJ,columnResizer:WJ,resizeIndicator:GJ,sortIcon:qJ,loadingIcon:QJ,rowToggleButton:KJ,filter:YJ,paginatorTop:ZJ,paginatorBottom:JJ,colorScheme:XJ};var eX={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},tX={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},nX={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},iX={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},rX={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},oX={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},hC={root:eX,header:tX,content:nX,footer:iX,paginatorTop:rX,paginatorBottom:oX};var sX={transitionDuration:"{transition.duration}"},aX={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},lX={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},cX={gap:"0.5rem",fontWeight:"500"},dX={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},uX={color:"{form.field.icon.color}"},pX={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},fX={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},hX={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},mX={margin:"0.5rem 0 0 0"},gX={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},yX={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bX={margin:"0.5rem 0 0 0"},vX={padding:"0.375rem",borderRadius:"{content.border.radius}"},_X={margin:"0.5rem 0 0 0"},wX={padding:"0.375rem",borderRadius:"{content.border.radius}"},CX={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},xX={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},TX={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},mC={root:sX,panel:aX,header:lX,title:cX,dropdown:dX,inputIcon:uX,selectMonth:pX,selectYear:fX,group:hX,dayView:mX,weekDay:gX,date:yX,monthView:bX,month:vX,yearView:_X,year:wX,buttonbar:CX,timePicker:xX,colorScheme:TX};var EX={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},SX={padding:"{overlay.modal.padding}",gap:"0.5rem"},IX={fontSize:"1.25rem",fontWeight:"600"},DX={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},kX={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},gC={root:EX,header:SX,title:IX,content:DX,footer:kX};var MX={borderColor:"{content.border.color}"},OX={background:"{content.background}",color:"{text.color}"},RX={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},PX={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},yC={root:MX,content:OX,horizontal:RX,vertical:PX};var AX={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},NX={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bC={root:AX,item:NX};var FX={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},LX={padding:"{overlay.modal.padding}"},BX={fontSize:"1.5rem",fontWeight:"600"},VX={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},jX={padding:"{overlay.modal.padding}"},vC={root:FX,header:LX,title:BX,content:VX,footer:jX};var zX={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},HX={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},$X={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},UX={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},WX={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},_C={toolbar:zX,toolbarItem:HX,overlay:$X,overlayOption:UX,content:WX};var GX={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},qX={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},QX={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},KX={padding:"0"},wC={root:GX,legend:qX,toggleIcon:QX,content:KX};var YX={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},ZX={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},JX={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},XX={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},eee={gap:"0.5rem"},tee={height:"0.25rem"},nee={gap:"0.5rem"},CC={root:YX,header:ZX,content:JX,file:XX,fileList:eee,progressbar:tee,basic:nee};var iee={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},ree={active:{top:"-1.25rem"}},oee={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},see={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},xC={root:iee,over:ree,in:oee,on:see};var aee={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},lee={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},cee={size:"1.5rem"},dee={background:"{content.background}",padding:"1rem 0.25rem"},uee={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},pee={size:"1rem"},fee={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},hee={gap:"0.5rem",padding:"1rem"},mee={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},gee={background:"rgba(0, 0, 0, 0.5)"},yee={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},bee={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},vee={size:"1.5rem"},_ee={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},TC={root:aee,navButton:lee,navIcon:cee,thumbnailsContent:dee,thumbnailNavButton:uee,thumbnailNavButtonIcon:pee,caption:fee,indicatorList:hee,indicatorButton:mee,insetIndicatorList:gee,insetIndicatorButton:yee,closeButton:bee,closeButtonIcon:vee,colorScheme:_ee};var wee={color:"{form.field.icon.color}"},EC={icon:wee};var Cee={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},xee={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},SC={root:Cee,input:xee};var Tee={transitionDuration:"{transition.duration}"},Eee={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},See={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},Iee={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},IC={root:Tee,preview:Eee,toolbar:See,action:Iee};var Dee={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},DC={handle:Dee};var kee={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},Mee={fontWeight:"500"},Oee={size:"1rem"},Ree={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},kC={root:kee,text:Mee,icon:Oee,colorScheme:Ree};var Pee={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},Aee={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},MC={root:Pee,display:Aee};var Nee={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},Fee={borderRadius:"{border.radius.sm}"},Lee={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},OC={root:Nee,chip:Fee,colorScheme:Lee};var Bee={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},RC={addon:Bee};var Vee={transitionDuration:"{transition.duration}"},jee={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},zee={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},PC={root:Vee,button:jee,colorScheme:zee};var Hee={gap:"0.5rem"},$ee={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},AC={root:Hee,input:$ee};var Uee={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},NC={root:Uee};var Wee={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Gee={background:"{primary.color}"},qee={background:"{content.border.color}"},Qee={color:"{text.muted.color}"},FC={root:Wee,value:Gee,range:qee,text:Qee};var Kee={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},Yee={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},Zee={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},Jee={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},Xee={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},ete={padding:"{list.option.padding}"},tte={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},LC={root:Kee,list:Yee,option:Zee,optionGroup:Jee,checkmark:Xee,emptyMessage:ete,colorScheme:tte};var nte={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},ite={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},rte={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},ote={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},ste={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},ate={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},lte={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},cte={borderColor:"{content.border.color}"},dte={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},BC={root:nte,baseItem:ite,item:rte,overlay:ote,submenu:ste,submenuLabel:ate,submenuIcon:lte,separator:cte,mobileButton:dte};var ute={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},pte={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},fte={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},hte={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},mte={borderColor:"{content.border.color}"},VC={root:ute,list:pte,item:fte,submenuLabel:hte,separator:mte};var gte={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},yte={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},bte={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},vte={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},_te={borderColor:"{content.border.color}"},wte={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},jC={root:gte,baseItem:yte,item:bte,submenu:vte,separator:_te,mobileButton:wte};var Cte={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},xte={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},Tte={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},Ete={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},Ste={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},Ite={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},Dte={root:{borderWidth:"1px"}},kte={content:{padding:"0"}},Mte={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},zC={root:Cte,content:xte,text:Tte,icon:Ete,closeButton:Ste,closeIcon:Ite,outlined:Dte,simple:kte,colorScheme:Mte};var Ote={borderRadius:"{content.border.radius}",gap:"1rem"},Rte={background:"{content.border.color}",size:"0.5rem"},Pte={gap:"0.5rem"},Ate={size:"0.5rem"},Nte={size:"1rem"},Fte={verticalGap:"0.5rem",horizontalGap:"1rem"},HC={root:Ote,meters:Rte,label:Pte,labelMarker:Ate,labelIcon:Nte,labelList:Fte};var Lte={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Bte={width:"2.5rem",color:"{form.field.icon.color}"},Vte={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},jte={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},zte={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},Hte={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},$te={color:"{form.field.icon.color}"},Ute={borderRadius:"{border.radius.sm}"},Wte={padding:"{list.option.padding}"},$C={root:Lte,dropdown:Bte,overlay:Vte,list:jte,option:zte,optionGroup:Hte,chip:Ute,clearIcon:$te,emptyMessage:Wte};var Gte={gap:"1.125rem"},qte={gap:"0.5rem"},UC={root:Gte,controls:qte};var Qte={gutter:"0.75rem",transitionDuration:"{transition.duration}"},Kte={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},Yte={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Zte={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},WC={root:Qte,node:Kte,nodeToggleButton:Yte,connector:Zte};var Jte={outline:{width:"2px",color:"{content.background}"}},GC={root:Jte};var Xte={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},ene={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},tne={color:"{text.muted.color}"},nne={maxWidth:"2.5rem"},qC={root:Xte,navButton:ene,currentPageReport:tne,jumpToPageInput:nne};var ine={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},rne={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},one={padding:"0.375rem 1.125rem"},sne={fontWeight:"600"},ane={padding:"0 1.125rem 1.125rem 1.125rem"},lne={padding:"0 1.125rem 1.125rem 1.125rem"},QC={root:ine,header:rne,toggleableHeader:one,title:sne,content:ane,footer:lne};var cne={gap:"0.5rem",transitionDuration:"{transition.duration}"},dne={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},une={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},pne={indent:"1rem"},fne={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},KC={root:cne,panel:dne,item:une,submenu:pne,submenuIcon:fne};var hne={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},mne={color:"{form.field.icon.color}"},gne={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},yne={gap:"0.5rem"},bne={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},YC={meter:hne,icon:mne,overlay:gne,content:yne,colorScheme:bne};var vne={gap:"1.125rem"},_ne={gap:"0.5rem"},ZC={root:vne,controls:_ne};var wne={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},Cne={padding:"{overlay.popover.padding}"},JC={root:wne,content:Cne};var xne={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},Tne={background:"{primary.color}"},Ene={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},XC={root:xne,value:Tne,label:Ene};var Sne={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},e1={colorScheme:Sne};var Ine={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},Dne={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},t1={root:Ine,icon:Dne};var kne={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Mne={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},n1={root:kne,icon:Mne};var One={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},i1={colorScheme:One};var Rne={transitionDuration:"{transition.duration}"},Pne={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Ane={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},r1={root:Rne,bar:Pne,colorScheme:Ane};var Nne={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Fne={width:"2.5rem",color:"{form.field.icon.color}"},Lne={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Bne={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},Vne={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},jne={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},zne={color:"{form.field.icon.color}"},Hne={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},$ne={padding:"{list.option.padding}"},o1={root:Nne,dropdown:Fne,overlay:Lne,list:Bne,option:Vne,optionGroup:jne,clearIcon:zne,checkmark:Hne,emptyMessage:$ne};var Une={borderRadius:"{form.field.border.radius}"},Wne={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},s1={root:Une,colorScheme:Wne};var Gne={borderRadius:"{content.border.radius}"},qne={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},a1={root:Gne,colorScheme:qne};var Qne={transitionDuration:"{transition.duration}"},Kne={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},Yne={background:"{primary.color}"},Zne={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Jne={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},l1={root:Qne,track:Kne,range:Yne,handle:Zne,colorScheme:Jne};var Xne={gap:"0.5rem",transitionDuration:"{transition.duration}"},c1={root:Xne};var eie={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},d1={root:eie};var tie={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},nie={background:"{content.border.color}"},iie={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},u1={root:tie,gutter:nie,handle:iie};var rie={transitionDuration:"{transition.duration}"},oie={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},sie={padding:"0.5rem",gap:"1rem"},aie={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},lie={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},cie={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},die={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},uie={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},p1={root:rie,separator:oie,step:sie,stepHeader:aie,stepTitle:lie,stepNumber:cie,steppanels:die,steppanel:uie};var pie={transitionDuration:"{transition.duration}"},fie={background:"{content.border.color}"},hie={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},mie={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},gie={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},f1={root:pie,separator:fie,itemLink:hie,itemLabel:mie,itemNumber:gie};var yie={transitionDuration:"{transition.duration}"},bie={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},vie={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_ie={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},wie={height:"1px",bottom:"-1px",background:"{primary.color}"},h1={root:yie,tablist:bie,item:vie,itemIcon:_ie,activeBar:wie};var Cie={transitionDuration:"{transition.duration}"},xie={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Tie={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Eie={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},Sie={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Iie={height:"1px",bottom:"-1px",background:"{primary.color}"},Die={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},m1={root:Cie,tablist:xie,tab:Tie,tabpanel:Eie,navButton:Sie,activeBar:Iie,colorScheme:Die};var kie={transitionDuration:"{transition.duration}"},Mie={background:"{content.background}",borderColor:"{content.border.color}"},Oie={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},Rie={background:"{content.background}",color:"{content.color}"},Pie={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},Aie={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},g1={root:kie,tabList:Mie,tab:Oie,tabPanel:Rie,navButton:Pie,colorScheme:Aie};var Nie={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},Fie={size:"0.75rem"},Lie={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},y1={root:Nie,icon:Fie,colorScheme:Lie};var Bie={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},Vie={gap:"0.25rem"},jie={margin:"2px 0"},b1={root:Bie,prompt:Vie,commandResponse:jie};var zie={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},v1={root:zie};var Hie={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},$ie={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},Uie={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Wie={mobileIndent:"1rem"},Gie={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},qie={borderColor:"{content.border.color}"},_1={root:Hie,list:$ie,item:Uie,submenu:Wie,submenuIcon:Gie,separator:qie};var Qie={minHeight:"5rem"},Kie={eventContent:{padding:"1rem 0"}},Yie={eventContent:{padding:"0 1rem"}},Zie={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},Jie={color:"{content.border.color}",size:"2px"},w1={event:Qie,horizontal:Kie,vertical:Yie,eventMarker:Zie,eventConnector:Jie};var Xie={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},ere={size:"1.125rem"},tre={padding:"{overlay.popover.padding}",gap:"0.5rem"},nre={gap:"0.5rem"},ire={fontWeight:"500",fontSize:"1rem"},rre={fontWeight:"500",fontSize:"0.875rem"},ore={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},sre={size:"1rem"},are={light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},C1={root:Xie,icon:ere,content:tre,text:nre,summary:ire,detail:rre,closeButton:ore,closeIcon:sre,colorScheme:are};var lre={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},cre={disabledColor:"{form.field.disabled.color}"},dre={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},ure={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},x1={root:lre,icon:cre,content:dre,colorScheme:ure};var pre={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},fre={borderRadius:"50%",size:"1rem"},hre={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},T1={root:pre,handle:fre,colorScheme:hre};var mre={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},E1={root:mre};var gre={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},yre={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},S1={root:gre,colorScheme:yre};var bre={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},vre={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},_re={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},wre={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Cre={size:"2rem"},xre={margin:"0 0 0.5rem 0"},I1={root:bre,node:vre,nodeIcon:_re,nodeToggleButton:wre,loadingIcon:Cre,filter:xre};var Tre={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Ere={width:"2.5rem",color:"{form.field.icon.color}"},Sre={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Ire={padding:"{list.padding}"},Dre={padding:"{list.option.padding}"},kre={borderRadius:"{border.radius.sm}"},Mre={color:"{form.field.icon.color}"},D1={root:Tre,dropdown:Ere,overlay:Sre,tree:Ire,emptyMessage:Dre,chip:kre,clearIcon:Mre};var Ore={transitionDuration:"{transition.duration}"},Rre={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},Pre={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Are={fontWeight:"600"},Nre={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Fre={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},Lre={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},Bre={fontWeight:"600"},Vre={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},jre={width:"0.5rem"},zre={width:"1px",color:"{primary.color}"},Hre={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},$re={size:"2rem"},Ure={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Wre={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Gre={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},qre={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},k1={root:Ore,header:Rre,headerCell:Pre,columnTitle:Are,row:Nre,bodyCell:Fre,footerCell:Lre,columnFooter:Bre,footer:Vre,columnResizer:jre,resizeIndicator:zre,sortIcon:Hre,loadingIcon:$re,nodeToggleButton:Ure,paginatorTop:Wre,paginatorBottom:Gre,colorScheme:qre};var Qre={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},M1={loader:Qre};var OP=A(_({},eC),{components:{accordion:Yw,autocomplete:Zw,avatar:Jw,badge:Xw,blockui:tC,breadcrumb:nC,button:iC,datepicker:mC,card:rC,carousel:oC,cascadeselect:sC,checkbox:aC,chip:lC,colorpicker:cC,confirmdialog:dC,confirmpopup:uC,contextmenu:pC,dataview:hC,datatable:fC,dialog:gC,divider:yC,dock:bC,drawer:vC,editor:_C,fieldset:wC,fileupload:CC,iftalabel:SC,floatlabel:xC,galleria:TC,iconfield:EC,image:IC,imagecompare:DC,inlinemessage:kC,inplace:MC,inputchips:OC,inputgroup:RC,inputnumber:PC,inputotp:AC,inputtext:NC,knob:FC,listbox:LC,megamenu:BC,menu:VC,menubar:jC,message:zC,metergroup:HC,multiselect:$C,orderlist:UC,organizationchart:WC,overlaybadge:GC,popover:JC,paginator:qC,password:YC,panel:QC,panelmenu:KC,picklist:ZC,progressbar:XC,progressspinner:e1,radiobutton:t1,rating:n1,ripple:i1,scrollpanel:r1,select:o1,selectbutton:s1,skeleton:a1,slider:l1,speeddial:c1,splitter:u1,splitbutton:d1,stepper:p1,steps:f1,tabmenu:h1,tabs:m1,tabview:g1,textarea:v1,tieredmenu:_1,tag:y1,terminal:b1,timeline:w1,togglebutton:x1,toggleswitch:T1,tree:I1,treeselect:D1,treetable:k1,toast:C1,toolbar:E1,tooltip:S1,virtualscroller:M1}});var Kre=Object.defineProperty,RP=Object.getOwnPropertySymbols,Yre=Object.prototype.hasOwnProperty,Zre=Object.prototype.propertyIsEnumerable,_s=(t,n)=>Kre(t,"name",{value:n,configurable:!0}),Jre=(t,n)=>{var e={};for(var i in t)Yre.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&RP)for(var i of RP(t))n.indexOf(i)<0&&Zre.call(t,i)&&(e[i]=t[i]);return e};function O1(t,n,e){return Kb(e).then(i=>{let r=PR(t,{injector:i.injector});return customElements.define(n,r),i}).catch(i=>(console.error(i),null))}_s(O1,"bootstrapPhoenixPluginCustomElement");function PP(t){var n;let e=window.location.pathname.replace(/\/$/,"")||"/",i=(n=t?.stripTrailingSegments)!=null?n:[];for(let r of i){if(!r||r.includes("/"))continue;let o=`/${r}`;e.endsWith(o)&&(e=e.slice(0,-o.length)||"/")}return e!=="/"&&!e.endsWith("/")?`${e}/`:e}_s(PP,"pluginAppBaseHref");function AP(t){return{provide:Zf,useFactory:_s(()=>PP(t),"useFactory")}}_s(AP,"providePluginAppBaseHref");function NP(){return gl(()=>{let t=x(Pi),n=x(Zt);cd(()=>{t.initialNavigation()},{injector:n})})}_s(NP,"providePhoenixPluginRouterInitialNavigation");function FP(t){return[AP(t),NP()]}_s(FP,"providePhoenixPlugin");function R1(t,n){return Lt(()=>{let e=n();e!==void 0&&t.setHostInjector(e)})}_s(R1,"syncPhoenixHostInjector");var Xre=dk(OP,{semantic:{primary:{50:"{blue.50}",100:"{blue.100}",200:"{blue.200}",300:"{blue.300}",400:"{blue.400}",500:"{blue.500}",600:"{blue.600}",700:"{blue.700}",800:"{blue.800}",900:"{blue.900}",950:"{blue.950}"}}}),eoe={ripple:!0,theme:{options:{prefix:"p",darkModeSelector:".dark"},preset:Xre}};function P1(t){let n=t??{},{primeNG:e}=n,i=Jre(n,["primeNG"]);return[MP(),bk(e??eoe),...FP(i)]}_s(P1,"providePhoenixPluginWithPrimeNG");var fg=class extends Bn{constructor(n){super((e,i)=>{let r=Et(e,[]);return Object.defineProperty(r,"client",{enumerable:!1,value:e.client}),new ue(o=>{let s=!1;return Promise.resolve(r).then(a=>n(e.getContext(),a)).then(e.setContext).then(()=>{s||i(e).subscribe(o)}).catch(o.error.bind(o)),()=>{s=!0}})})}};function toe(t){return Ct(t)&&"code"in t&&"reason"in t}function noe(t){return Ct(t)&&t.target?.readyState===WebSocket.CLOSED}var hg=class extends Bn{client;constructor(n){super(),this.client=n}request(n){return new ue(e=>{let{query:i,variables:r,operationName:o,extensions:s}=n;return this.client.subscribe({variables:r,operationName:o,extensions:s,query:Qr(i)},{next:e.next.bind(e),complete:e.complete.bind(e),error:a=>{if(a instanceof Error)return e.error(a);let l=toe(a);return l||noe(a)?e.error(new Error(`Socket closed${l?` with event ${a.code}`:""}${l?` ${a.reason}`:""}`)):e.error(new ko({errors:Array.isArray(a)?a:[a]}))}})})}};var ioe=(t,n,e)=>{let i=["POST","PUT","PATCH"].indexOf(t.method.toUpperCase())!==-1,r=c=>["variables","extensions"].indexOf(c.toLowerCase())!==-1,o=t.body.length,s=t.options&&t.options.useMultipart,a;if(s){if(o)return new ue(c=>c.error(new Error("File upload is not available when combined with Batching")));if(!i)return new ue(c=>c.error(new Error("File upload is not available when GET is used")));if(!e)return new ue(c=>c.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));a=e(t.body),s=!!a.files.size}let l={};if(o){if(!i)return new ue(c=>c.error(new Error("Batching is not available for GET requests")));l={body:t.body}}else{let c=s?a.clone:t.body;i?l={body:c}:l={params:Object.keys(t.body).reduce((u,p)=>{let f=t.body[p];return u[p]=r(p)?JSON.stringify(f):f,u},{})}}if(s&&i){let c=new FormData;c.append("operations",JSON.stringify(l.body));let d={},u=a.files,p=0;u.forEach(f=>{d[++p]=f}),c.append("map",JSON.stringify(d)),p=0,u.forEach((f,y)=>{c.append(++p+"",y,y.name)}),l.body=c}return n.request(t.method,t.url,_(_({observe:"response",responseType:"json",reportProgress:!1},l),t.options))},roe=t=>t instanceof Xi?t:new Xi(t);var ooe=(t,n)=>t&&n?n.keys().reduce((e,i)=>e.set(i,n.getAll(i)),t):n||t,LP=(t,n)=>t&&n?[...t.keys()].reduce((e,i)=>e.set(i,t.get(i)),n):n||t;function soe(...t){return t.find(n=>typeof n<"u")}function aoe(t){let n=roe(t.headers);if(t.clientAwareness){let{name:e,version:i}=t.clientAwareness;e&&!n.has("apollographql-client-name")&&(n=n.set("apollographql-client-name",e)),i&&!n.has("apollographql-client-version")&&(n=n.set("apollographql-client-version",i))}return n}var loe={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function xc(t,n,e){return soe(t[e],n[e],loe[e])}function coe(t){let n={status:t.status,statusText:t.statusText,ok:t.ok,url:t.url||"",headers:new Headers,type:"error",redirected:!1};t.headers.keys().forEach(i=>{let r=t.headers.getAll(i);r&&r.forEach(o=>n.headers.append(i,o))});let e=typeof t.error=="string"?t.error:JSON.stringify(t.error||{});return t.status>=300?new xu(`Response not successful: Received status code ${t.status}`,{response:n,bodyText:e}):new Error(t.message)}var A1=class extends Bn{httpClient;options;requester;print=Xl;constructor(n,e){super(),this.httpClient=n,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=i=>new ue(r=>{let o=i.getContext(),s=xc(o,this.options,"method"),a=xc(o,this.options,"includeQuery"),l=xc(o,this.options,"includeExtensions"),c=xc(o,this.options,"uri"),d=xc(o,this.options,"withCredentials"),u=xc(o,this.options,"useMultipart"),p=this.options.useGETForQueries===!0,f=LP(o.httpContext,LP(this.options.httpContext,new Tl)),y=i.query.definitions.some(D=>D.kind==="OperationDefinition"&&D.operation==="query");p&&y&&(s="GET");let b=ooe(this.options.headers,aoe(o)),v={method:s,url:typeof c=="function"?c(i):c,body:{operationName:i.operationName,variables:i.variables},options:{withCredentials:d,useMultipart:u,headers:b,context:f}};l&&(v.body.extensions=i.extensions),a&&(v.body.query=this.print(i.query));let w=ioe(v,this.httpClient,this.options.extractFiles).subscribe({next:D=>{i.setContext({response:D}),r.next(D.body)},error:D=>{D instanceof ts?r.error(coe(D)):r.error(D)},complete:()=>r.complete()});return()=>{w.closed||w.unsubscribe()}})}request(n){return this.requester(n)}},BP=(()=>{class t{httpClient;constructor(e){this.httpClient=e}create(e){return new A1(this.httpClient,e)}static \u0275fac=function(i){return new(i||t)(he(lh))};static \u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function si(t){return t===null?"null":Array.isArray(t)?"array":typeof t}function ws(t){return si(t)==="object"}function doe(t){return Array.isArray(t)&&t.length>0&&t.every(n=>"message"in n)}function N1(t,n){return t.length<124?t:n}var VP="graphql-transport-ws";var gi=(t=>(t[t.InternalServerError=4500]="InternalServerError",t[t.InternalClientError=4005]="InternalClientError",t[t.BadRequest=4400]="BadRequest",t[t.BadResponse=4004]="BadResponse",t[t.Unauthorized=4401]="Unauthorized",t[t.Forbidden=4403]="Forbidden",t[t.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",t[t.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",t[t.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",t[t.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",t[t.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",t))(gi||{}),yi=(t=>(t.ConnectionInit="connection_init",t.ConnectionAck="connection_ack",t.Ping="ping",t.Pong="pong",t.Subscribe="subscribe",t.Next="next",t.Error="error",t.Complete="complete",t))(yi||{});function jP(t){if(!ws(t))throw new Error(`Message is expected to be an object, but got ${si(t)}`);if(!t.type)throw new Error("Message is missing the 'type' property");if(typeof t.type!="string")throw new Error(`Message is expects the 'type' property to be a string, but got ${si(t.type)}`);switch(t.type){case"connection_init":case"connection_ack":case"ping":case"pong":{if(t.payload!=null&&!ws(t.payload))throw new Error(`"${t.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${t.payload}"`);break}case"subscribe":{if(typeof t.id!="string")throw new Error(`"${t.type}" message expects the 'id' property to be a string, but got ${si(t.id)}`);if(!t.id)throw new Error(`"${t.type}" message requires a non-empty 'id' property`);if(!ws(t.payload))throw new Error(`"${t.type}" message expects the 'payload' property to be an object, but got ${si(t.payload)}`);if(typeof t.payload.query!="string")throw new Error(`"${t.type}" message payload expects the 'query' property to be a string, but got ${si(t.payload.query)}`);if(t.payload.variables!=null&&!ws(t.payload.variables))throw new Error(`"${t.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${si(t.payload.variables)}`);if(t.payload.operationName!=null&&si(t.payload.operationName)!=="string")throw new Error(`"${t.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${si(t.payload.operationName)}`);if(t.payload.extensions!=null&&!ws(t.payload.extensions))throw new Error(`"${t.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${si(t.payload.extensions)}`);break}case"next":{if(typeof t.id!="string")throw new Error(`"${t.type}" message expects the 'id' property to be a string, but got ${si(t.id)}`);if(!t.id)throw new Error(`"${t.type}" message requires a non-empty 'id' property`);if(!ws(t.payload))throw new Error(`"${t.type}" message expects the 'payload' property to be an object, but got ${si(t.payload)}`);break}case"error":{if(typeof t.id!="string")throw new Error(`"${t.type}" message expects the 'id' property to be a string, but got ${si(t.id)}`);if(!t.id)throw new Error(`"${t.type}" message requires a non-empty 'id' property`);if(!doe(t.payload))throw new Error(`"${t.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(t.payload)}`);break}case"complete":{if(typeof t.id!="string")throw new Error(`"${t.type}" message expects the 'id' property to be a string, but got ${si(t.id)}`);if(!t.id)throw new Error(`"${t.type}" message requires a non-empty 'id' property`);break}default:throw new Error(`Invalid message 'type' property "${t.type}"`)}return t}function zP(t,n){return jP(typeof t=="string"?JSON.parse(t,n):t)}function Tc(t,n){return jP(t),JSON.stringify(t,n)}function L1(t){let{url:n,connectionParams:e,lazy:i=!0,onNonLazyError:r=console.error,lazyCloseTimeout:o=0,keepAlive:s=0,disablePong:a,connectionAckWaitTimeout:l=0,retryAttempts:c=5,retryWait:d=function(Z){return gt(this,null,function*(){let Q=Math.pow(2,Z);yield new Promise(X=>setTimeout(X,Q*1e3+Math.floor(Math.random()*2700+300)))})},shouldRetry:u=F1,on:p,webSocketImpl:f,generateID:y=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,Z=>{let Q=Math.random()*16|0;return(Z=="x"?Q:Q&3|8).toString(16)})},jsonMessageReplacer:b,jsonMessageReviver:v}=t,w;if(f){if(!poe(f))throw new Error("Invalid WebSocket implementation provided");w=f}else typeof WebSocket<"u"?w=WebSocket:typeof global<"u"?w=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(w=window.WebSocket||window.MozWebSocket);if(!w)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");let D=w,P=(()=>{let je=(()=>{let Q={};return{on(X,fe){return Q[X]=fe,()=>{delete Q[X]}},emit(X){"id"in X&&Q[X.id]?.(X)}}})(),Z={connecting:p?.connecting?[p.connecting]:[],opened:p?.opened?[p.opened]:[],connected:p?.connected?[p.connected]:[],ping:p?.ping?[p.ping]:[],pong:p?.pong?[p.pong]:[],message:p?.message?[je.emit,p.message]:[je.emit],closed:p?.closed?[p.closed]:[],error:p?.error?[p.error]:[]};return{onMessage:je.on,on(Q,X){let fe=Z[Q];return fe.push(X),()=>{fe.splice(fe.indexOf(X),1)}},emit(Q,...X){for(let fe of[...Z[Q]])fe(...X)}}})();function B(je){let Z=[P.on("error",Q=>{Z.forEach(X=>X()),je(Q)}),P.on("closed",Q=>{Z.forEach(X=>X()),je(Q)})]}let Y,ge=0,tt,it=!1,vt=0,tn=!1;function hr(){return gt(this,null,function*(){clearTimeout(tt);let[je,Z]=yield Y??(Y=new Promise((fe,Ke)=>gt(null,null,function*(){if(it){if(yield d(vt),!ge)return Y=void 0,Ke({code:1e3,reason:"All Subscriptions Gone"});vt++}P.emit("connecting",it);let Fe=new D(typeof n=="function"?yield n():n,VP),Rt,Sn;function ft(){isFinite(s)&&s>0&&(clearTimeout(Sn),Sn=setTimeout(()=>{Fe.readyState===D.OPEN&&(Fe.send(Tc({type:yi.Ping})),P.emit("ping",!1,void 0))},s))}B(Yt=>{Y=void 0,clearTimeout(Rt),clearTimeout(Sn),Ke(Yt),Yt instanceof zu&&(Fe.close(4499,"Terminated"),Fe.onerror=null,Fe.onclose=null)}),Fe.onerror=Yt=>P.emit("error",Yt),Fe.onclose=Yt=>P.emit("closed",Yt),Fe.onopen=()=>gt(null,null,function*(){try{P.emit("opened",Fe);let Yt=typeof e=="function"?yield e():e;if(Fe.readyState!==D.OPEN)return;Fe.send(Tc(Yt?{type:yi.ConnectionInit,payload:Yt}:{type:yi.ConnectionInit},b)),isFinite(l)&&l>0&&(Rt=setTimeout(()=>{Fe.close(gi.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},l)),ft()}catch(Yt){P.emit("error",Yt),Fe.close(gi.InternalClientError,N1(Yt instanceof Error?Yt.message:String(Yt),"Internal client error"))}});let vi=!1;Fe.onmessage=({data:Yt})=>{try{let rt=zP(Yt,v);if(P.emit("message",rt),rt.type==="ping"||rt.type==="pong"){P.emit(rt.type,!0,rt.payload),rt.type==="pong"?ft():a||(Fe.send(Tc(rt.payload?{type:yi.Pong,payload:rt.payload}:{type:yi.Pong})),P.emit("pong",!1,rt.payload));return}if(vi)return;if(rt.type!==yi.ConnectionAck)throw new Error(`First message cannot be of type ${rt.type}`);clearTimeout(Rt),vi=!0,P.emit("connected",Fe,rt.payload,it),it=!1,vt=0,fe([Fe,new Promise((mr,Nn)=>B(Nn))])}catch(rt){Fe.onmessage=null,P.emit("error",rt),Fe.close(gi.BadResponse,N1(rt instanceof Error?rt.message:String(rt),"Bad response"))}}})));je.readyState===D.CLOSING&&(yield Z);let Q=()=>{},X=new Promise(fe=>Q=fe);return[je,Q,Promise.race([X.then(()=>{if(!ge){let fe=()=>je.close(1e3,"Normal Closure");isFinite(o)&&o>0?tt=setTimeout(()=>{je.readyState===D.OPEN&&fe()},o):fe()}}),Z])]})}function jn(je){if(F1(je)&&(uoe(je.code)||[gi.InternalServerError,gi.InternalClientError,gi.BadRequest,gi.BadResponse,gi.Unauthorized,gi.SubprotocolNotAcceptable,gi.SubscriberAlreadyExists,gi.TooManyInitialisationRequests].includes(je.code)))throw je;if(tn)return!1;if(F1(je)&&je.code===1e3)return ge>0;if(!c||vt>=c||!u(je))throw je;return it=!0}i||gt(null,null,function*(){for(ge++;;)try{let[,,je]=yield hr();yield je}catch(je){try{if(!jn(je))return}catch(Z){return r?.(Z)}}});function bi(je,Z){let Q=y(je),X=!1,fe=!1,Ke=()=>{ge--,X=!0};return gt(null,null,function*(){for(ge++;;)try{let[Fe,Rt,Sn]=yield hr();if(X)return Rt();let ft=P.onMessage(Q,vi=>{switch(vi.type){case yi.Next:{Z.next(vi.payload);return}case yi.Error:{fe=!0,X=!0,Z.error(vi.payload),Ke();return}case yi.Complete:{X=!0,Ke();return}}});Fe.send(Tc({id:Q,type:yi.Subscribe,payload:je},b)),Ke=()=>{!X&&Fe.readyState===D.OPEN&&Fe.send(Tc({id:Q,type:yi.Complete},b)),ge--,X=!0,Rt()},yield Sn.finally(ft);return}catch(Fe){if(!jn(Fe))return}}).then(()=>{fe||Z.complete()}).catch(Fe=>{Z.error(Fe)}),()=>{X||Ke()}}return{on:P.on,subscribe:bi,iterate(je){let Z=[],Q={done:!1,error:null,resolve:()=>{}},X=bi(je,{next(Ke){Z.push(Ke),Q.resolve()},error(Ke){Q.done=!0,Q.error=Ke,Q.resolve()},complete(){Q.done=!0,Q.resolve()}}),fe=(function(){return z1(this,null,function*(){for(;;){for(Z.length||(yield new mg(new Promise(Fe=>Q.resolve=Fe)));Z.length;)yield Z.shift();if(Q.error)throw Q.error;if(Q.done)return}})})();return fe.throw=Ke=>gt(null,null,function*(){return Q.done||(Q.done=!0,Q.error=Ke,Q.resolve()),{done:!0,value:void 0}}),fe.return=()=>gt(null,null,function*(){return X(),{done:!0,value:void 0}}),fe},dispose(){return gt(this,null,function*(){if(tn=!0,Y){let[je]=yield Y;je.close(1e3,"Normal Closure")}})},terminate(){Y&&P.emit("closed",new zu)}}}var zu=class extends Error{name="TerminatedCloseEvent";message="4499: Terminated";code=4499;reason="Terminated";wasClean=!1};function F1(t){return ws(t)&&"code"in t&&"reason"in t}function uoe(t){return[1e3,1001,1006,1005,1012,1013,1014].includes(t)?!1:t>=1e3&&t<=1999}function poe(t){return typeof t=="function"&&"constructor"in t&&"CLOSED"in t&&"CLOSING"in t&&"CONNECTING"in t&&"OPEN"in t}function foe(t){if(!Ht.apiUrl||!Ht.wsUrl){console.error("API URL or WS URL is not set");return}let n=t.create({uri:Ht.apiUrl}),e=new fg((a,l)=>gt(null,null,function*(){let c=Ht.apiKey??localStorage.getItem("api-key");return c?A(_({},a),{headers:A(_({},a.headers),{authorization:`Bearer ${c}`})}):a})),i=new hg(L1({url:Ht.wsUrl,connectionParams:()=>{let a=Ht.apiKey??localStorage.getItem("api-key");return{context:{authorization:a?`Bearer ${a}`:""}}}})),r=sm(({query:a})=>{let l=ls(a);return l.kind==="OperationDefinition"&&l.operation==="subscription"},i,e.concat(n));return{link:new Bn((a,l)=>l(a).pipe(ye(c=>{let u=a.getContext().response?.headers.get("phoenix-auth-token");return u?.length&&(Ht.apiKey=u,localStorage.setItem("api-key",u)),c}))).concat(r),cache:new wa,defaultOptions:{watchQuery:{fetchPolicy:"network-only"},query:{fetchPolicy:"network-only"},mutate:{fetchPolicy:"network-only"}}}}var HP=()=>[{provide:"API_URI",useValue:Ht.apiUrl},{provide:"WS_URI",useValue:Ht.wsUrl},Tm,{provide:Y_,useFactory:foe,deps:[BP,"API_URI","WS_URI"]}];var $P={providers:[z0(),xb({eventCoalescing:!0}),...P1({stripTrailingSegments:gw.map(t=>t.path).filter(t=>(t?.length??0)>0)}),Cv(gw),Jb(),...Ht.production?[]:[...HP(),{provide:Ia,useFactory:()=>new Ia}]]};var Hu=class t{hostBridge=x(xa);pluginServices=ae({});hostInjector=ae(void 0);_syncHostInjector=R1(this.hostBridge,this.hostInjector);_syncPluginServices=Lt(()=>{this.hostBridge.setPluginServices(this.pluginServices())});static \u0275fac=function(e){return new(e||t)};static \u0275cmp=$({type:t,selectors:[["app-root"]],inputs:{pluginServices:[1,"pluginServices"],hostInjector:[1,"hostInjector"]},decls:1,vars:0,template:function(e,i){e&1&&ee(0,"router-outlet")},dependencies:[$d],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type=button]), input[_ngcontent-%COMP%]:where([type=reset]), input[_ngcontent-%COMP%]:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden=until-found])){display:none}.visible[_ngcontent-%COMP%]{visibility:visible}.absolute[_ngcontent-%COMP%]{position:absolute}.col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.ml-auto[_ngcontent-%COMP%]{margin-left:auto}.mr-auto[_ngcontent-%COMP%]{margin-right:auto}.mt-4[_ngcontent-%COMP%]{margin-top:1rem}.line-clamp-2[_ngcontent-%COMP%]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block[_ngcontent-%COMP%]{display:block}.flex[_ngcontent-%COMP%]{display:flex}.table[_ngcontent-%COMP%]{display:table}.grid[_ngcontent-%COMP%]{display:grid}.h-16[_ngcontent-%COMP%]{height:4rem}.h-32[_ngcontent-%COMP%]{height:8rem}.h-screen[_ngcontent-%COMP%]{height:100vh}.min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.w-16[_ngcontent-%COMP%]{width:4rem}.w-32[_ngcontent-%COMP%]{width:8rem}.w-full[_ngcontent-%COMP%]{width:100%}.w-screen[_ngcontent-%COMP%]{width:100vw}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}to{opacity:1}}.animate-fadein[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadein .5s ease-in-out}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.bg-gray-100\\/50[_ngcontent-%COMP%]{background-color:#f3f4f680}.bg-red-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1[_ngcontent-%COMP%]{padding:.25rem}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-8[_ngcontent-%COMP%]{padding:2rem}.pt-4[_ngcontent-%COMP%]{padding-top:1rem}.text-center[_ngcontent-%COMP%]{text-align:center}.text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.font-bold[_ngcontent-%COMP%]{font-weight:700}.italic[_ngcontent-%COMP%]{font-style:italic}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-20[_ngcontent-%COMP%]{opacity:.2}.drop-shadow[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.duration-1000[_ngcontent-%COMP%]{transition-duration:1s}.animate-alternate[_ngcontent-%COMP%]{animation-direction:alternate}.animate-duration-\\__ph-0__[_ngcontent-%COMP%]{animation-duration:1.5s}.animate-infinite[_ngcontent-%COMP%]{animation-iteration-count:infinite}.text-muted-color[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}@keyframes _ngcontent-%COMP%_enter{0%{opacity:var(--p-enter-opacity, 1);transform:translate3d(var(--p-enter-translate-x, 0),var(--p-enter-translate-y, 0),0) scale3d(var(--p-enter-scale, 1),var(--p-enter-scale, 1),var(--p-enter-scale, 1)) rotate(var(--p-enter-rotate, 0))}}@keyframes _ngcontent-%COMP%_leave{to{opacity:var(--p-leave-opacity, 1);transform:translate3d(var(--p-leave-translate-x, 0),var(--p-leave-translate-y, 0),0) scale3d(var(--p-leave-scale, 1),var(--p-leave-scale, 1),var(--p-leave-scale, 1)) rotate(var(--p-leave-rotate, 0))}}.hover\\:text-blue-700[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}@media(min-width:640px){.sm\\:grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}']})};O1(Hu,"frontend-plugin-demo",$P).then(t=>Ht.production?t:t.bootstrap(Hu));