1var G5=Object.create;var Pw=Object.defineProperty,W5=Object.defineProperties,$5=Object.getOwnPropertyDescriptor,q5=Object.getOwnPropertyDescriptors,Y5=Object.getOwnPropertyNames,vb=Object.getOwnPropertySymbols,K5=Object.getPrototypeOf,Lw=Object.prototype.hasOwnProperty,SM=Object.prototype.propertyIsEnumerable;var xM=(t,i,e)=>i in t?Pw(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,P=(t,i)=>{for(var e in i||={})Lw.call(i,e)&&xM(t,e,i[e]);if(vb)for(var e of vb(i))SM.call(i,e)&&xM(t,e,i[e]);return t},Ae=(t,i)=>W5(t,q5(i));var X5=(t,i)=>{var e={};for(var n in t)Lw.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&vb)for(var n of vb(t))i.indexOf(n)<0&&SM.call(t,n)&&(e[n]=t[n]);return e};var TM=(t,i)=>()=>{try{return i||t((i={exports:{}}).exports,i),i.exports}catch(e){throw i=0,e}};var Z5=(t,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let r of Y5(i))!Lw.call(t,r)&&r!==e&&Pw(t,r,{get:()=>i[r],enumerable:!(n=$5(i,r))||n.enumerable});return t};var Si=(t,i,e)=>(e=t!=null?G5(K5(t)):{},Z5(i||!t||!t.__esModule?Pw(e,"default",{value:t,enumerable:!0}):e,t));var Rn=(t,i,e)=>new Promise((n,r)=>{var o=d=>{try{s(e.next(d))}catch(p){r(p)}},a=d=>{try{s(e.throw(d))}catch(p){r(p)}},s=d=>d.done?n(d.value):Promise.resolve(d.value).then(o,a);s((e=e.apply(t,i)).next())});var cm=TM((sR,lR)=>{"use strict";(function(t,i){typeof sR=="object"&&typeof lR<"u"?lR.exports=i():typeof define=="function"&&define.amd?define(i):(t=t||self,t.currency=i())})(sR,function(){function t(o,a){if(!(this instanceof t))return new t(o,a);a=Object.assign({},e,a);var s=Math.pow(10,a.precision);this.intValue=o=i(o,a),this.value=o/s,a.increment=a.increment||1/s,a.groups=a.useVedic?r:n,this.s=a,this.p=s}function i(o,a){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0,d=a.decimal,p=a.errorOnInvalid,f=a.fromCents,b=Math.pow(10,a.precision),w=o instanceof t;if(w&&f)return o.intValue;if(typeof o=="number"||w)d=w?o.value:o;else if(typeof o=="string")p=new RegExp("[^-\\d"+d+"]","g"),d=new RegExp("\\"+d,"g"),d=(d=o.replace(/\((.*)\)/,"-$1").replace(p,"").replace(d,"."))||0;else{if(p)throw Error("Invalid Input");d=0}return f||(d=(d*b).toFixed(4)),s?Math.round(d):d}var e={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(o,a){var s=a.pattern,d=a.negativePattern,p=a.symbol,f=a.separator,b=a.decimal;a=a.groups;var w=(""+o).replace(/^-/,"").split("."),A=w[0];return w=w[1],(0<=o.value?s:d).replace("!",p).replace("#",A.replace(a,"$1"+f)+(w?b+w:""))},fromCents:!1},n=/(\d)(?=(\d{3})+\b)/g,r=/(\d)(?=(\d\d)+\d\b)/g;return t.prototype={add:function(o){var a=this.s,s=this.p;return t((this.intValue+i(o,a))/(a.fromCents?1:s),a)},subtract:function(o){var a=this.s,s=this.p;return t((this.intValue-i(o,a))/(a.fromCents?1:s),a)},multiply:function(o){var a=this.s;return t(this.intValue*o/(a.fromCents?1:Math.pow(10,a.precision)),a)},divide:function(o){var a=this.s;return t(this.intValue/i(o,a,!1),a)},distribute:function(o){var a=this.intValue,s=this.p,d=this.s,p=[],f=Math[0<=a?"floor":"ceil"](a/o),b=Math.abs(a-f*o);for(s=d.fromCents?1:s;o!==0;o--){var w=t(f/s,d);0<b--&&(w=w[0<=a?"add":"subtract"](1/s)),p.push(w)}return p},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(o){var a=this.s;return typeof o=="function"?o(this,a):a.format(this,Object.assign({},a,o))},toString:function(){var o=this.s,a=o.increment;return(Math.round(this.intValue/this.p/a)*a).toFixed(o.precision)},toJSON:function(){return this.value}},t})});var Xr=TM(PR=>{"use strict";Object.defineProperty(PR,"__esModule",{value:!0});function Zce(t,i,e){var n=function(){var r,o=arguments,a=i.apply(this,o),s=n.cache;if(s.has(a))return s.get(a);var d=t.apply(this,o);return n.cache=(r=s.set(a,d))!==null&&r!==void 0?r:s,d};return n.cache=e,n}var Qce=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t[0]};PR.default=function(t){return t===void 0&&(t={}),function(i,e,n){var r,o;if(typeof n.value!="function")throw new Error("Memoization can be applied only to methods");var a=(r=t.resolver)!==null&&r!==void 0?r:Qce,s=(o=t.cache)!==null&&o!==void 0?o:new Map;return n.value=Zce(n.value,a,s),n}}});var Or=null,yb=!1,Bw=1,Q5=null,yi=Symbol("SIGNAL");function nt(t){let i=Or;return Or=t,i}function Cb(){return Or}var xc={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 El(t){if(yb)throw new Error("");
vendor: 4,395 bytes, lines 1-3
1if(Or===null)return;Or.consumerOnSignalRead(t);let i=Or.producersTail;if(i!==void 0&&i.producer===t)return;let e,n=Or.recomputing;if(n&&(e=i!==void 0?i.nextProducer:Or.producers,e!==void 0&&e.producer===t)){Or.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Or&&(!n||eW(r,Or)))return;let o=Sm(Or),a={producer:t,consumer:Or,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Or.producersTail=a,i!==void 0?i.nextProducer=a:Or.producers=a,o&&RM(t,a)}function IM(){Bw++}function Xd(t){if(!(Sm(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Bw)){if(!t.producerMustRecompute(t)&&!xm(t)){wm(t);return}t.producerRecomputeValue(t),wm(t)}}function Vw(t){if(t.consumers===void 0)return;let i=yb;yb=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let n=e.consumer;n.dirty||J5(n)}}finally{yb=i}}function jw(){return Or?.consumerAllowSignalWrites!==!1}function J5(t){t.dirty=!0,Vw(t),t.consumerMarkedDirty?.(t)}function wm(t){t.dirty=!1,t.lastCleanEpoch=Bw}function wl(t){return t&&AM(t),nt(t)}function AM(t){t.producersTail=void 0,t.recomputing=!0}function Sc(t,i){nt(i),t&&kM(t)}function kM(t){t.recomputing=!1;let i=t.producersTail,e=i!==void 0?i.nextProducer:t.producers;if(e!==void 0){if(Sm(t))do e=Hw(e);while(e!==void 0);i!==void 0?i.nextProducer=void 0:t.producers=void 0}}function xm(t){for(let i=t.producers;i!==void 0;i=i.nextProducer){let e=i.producer,n=i.lastReadVersion;if(n!==e.version||(Xd(e),n!==e.version))return!0}return!1}function Tc(t){if(Sm(t)){let i=t.producers;for(;i!==void 0;)i=Hw(i)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function RM(t,i){let e=t.consumersTail,n=Sm(t);if(e!==void 0?(i.nextConsumer=e.nextConsumer,e.nextConsumer=i):(i.nextConsumer=void 0,t.consumers=i),i.prevConsumer=e,t.consumersTail=i,!n)for(let r=t.producers;r!==void 0;r=r.nextProducer)RM(r.producer,r)}function Hw(t){let i=t.producer,e=t.nextProducer,n=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,n!==void 0?n.prevConsumer=r:i.consumersTail=r,r!==void 0)r.nextConsumer=n;else if(i.consumers=n,!Sm(i)){let o=i.producers;for(;o!==void 0;)o=Hw(o)}return e}function Sm(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function lf(t){Q5?.(t)}function eW(t,i){let e=i.producersTail;if(e!==void 0){let n=i.producers;do{if(n===t)return!0;if(n===e)break;n=n.nextProducer}while(n!==void 0)}return!1}function cf(t,i){return Object.is(t,i)}function df(t,i){let e=Object.create(tW);e.computation=t,i!==void 0&&(e.equal=i);let n=()=>{if(Xd(e),El(e),e.value===Ds)throw e.error;return e.value};return n[yi]=e,lf(e),n}var Yd=Symbol("UNSET"),Kd=Symbol("COMPUTING"),Ds=Symbol("ERRORED"),tW=Ae(P({},xc),{value:Yd,dirty:!0,error:null,equal:cf,kind:"computed",producerMustRecompute(t){return t.value===Yd||t.value===Kd},producerRecomputeValue(t){if(t.value===Kd)throw new Error("");let i=t.value;t.value=Kd;let e=wl(t),n,r=!1;try{n=t.computation(),nt(null),r=i!==Yd&&i!==Ds&&n!==Ds&&t.equal(i,n)}catch(o){n=Ds,t.error=o}finally{Sc(t,e)}if(r){t.value=i;return}t.value=n,t.version++}});function nW(){throw new Error}var MM=nW;function NM(t){MM(t)}function Uw(t){MM=t}var iW=null;function zw(t,i){let e=Object.create(uf);e.value=t,i!==void 0&&(e.equal=i);let n=()=>OM(e);return n[yi]=e,lf(e),[n,a=>Ic(e,a),a=>Db(e,a)]}function OM(t){return El(t),t.value}function Ic(t,i){jw()||NM(t),t.equal(t.value,i)||(t.value=i,rW(t))}function Db(t,i){jw()||NM(t),Ic(t,i(t.value))}var uf=Ae(P({},xc),{equal:cf,value:void 0,kind:"signal"});function rW(t){t.version++,IM(),Vw(t),iW?.(t)}var Gw=Ae(P({},xc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Ww(t){if(t.dirty=!1,t.version>0&&!xm(t))return;t.version++;let i=wl(t);try{t.cleanup(),t.fn()}finally{Sc(t,i)}}function dt(t){return typeof t=="function"}function Ac(t){let e=t(n=>{Error.call(n),n.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Eb=Ac(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: 2${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(` 3 `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Zd(t,i){if(t){let e=t.indexOf(i);0<=e&&t.splice(e,1)}}var _e=class t{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}
vendor: 10,408 bytes, line 3
3unsubscribe(){let i;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:n}=this;if(dt(n))try{n()}catch(o){i=o instanceof Eb?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{FM(o)}catch(a){i=i??[],a instanceof Eb?i=[...i,...a.errors]:i.push(a)}}if(i)throw new Eb(i)}}add(i){var e;if(i&&i!==this)if(this.closed)FM(i);else{if(i instanceof t){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(i)}}_hasParent(i){let{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){let{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&Zd(e,i)}remove(i){let{_finalizers:e}=this;e&&Zd(e,i),i instanceof t&&i._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();var $w=_e.EMPTY;function wb(t){return t instanceof _e||t&&"closed"in t&&dt(t.remove)&&dt(t.add)&&dt(t.unsubscribe)}function FM(t){dt(t)?t():t.unsubscribe()}var ja={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tm={setTimeout(t,i,...e){let{delegate:n}=Tm;return n?.setTimeout?n.setTimeout(t,i,...e):setTimeout(t,i,...e)},clearTimeout(t){let{delegate:i}=Tm;return(i?.clearTimeout||clearTimeout)(t)},delegate:void 0};function xb(t){Tm.setTimeout(()=>{let{onUnhandledError:i}=ja;if(i)i(t);else throw t})}function xl(){}var PM=qw("C",void 0,void 0);function LM(t){return qw("E",void 0,t)}function BM(t){return qw("N",t,void 0)}function qw(t,i,e){return{kind:t,value:i,error:e}}var Qd=null;function Im(t){if(ja.useDeprecatedSynchronousErrorHandling){let i=!Qd;if(i&&(Qd={errorThrown:!1,error:null}),t(),i){let{errorThrown:e,error:n}=Qd;if(Qd=null,e)throw n}}else t()}function VM(t){ja.useDeprecatedSynchronousErrorHandling&&Qd&&(Qd.errorThrown=!0,Qd.error=t)}var Jd=class extends _e{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,wb(i)&&i.add(this)):this.destination=sW}static create(i,e,n){return new Ha(i,e,n)}next(i){this.isStopped?Kw(BM(i),this):this._next(i)}error(i){this.isStopped?Kw(LM(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?Kw(PM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},oW=Function.prototype.bind;function Yw(t,i){return oW.call(t,i)}var Xw=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(n){Sb(n)}}error(i){let{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(n){Sb(n)}else Sb(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){Sb(e)}}},Ha=class extends Jd{constructor(i,e,n){super();let r;if(dt(i)||!i)r={next:i??void 0,error:e??void 0,complete:n??void 0};else{let o;this&&ja.useDeprecatedNextContext?(o=Object.create(i),o.unsubscribe=()=>this.unsubscribe(),r={next:i.next&&Yw(i.next,o),error:i.error&&Yw(i.error,o),complete:i.complete&&Yw(i.complete,o)}):r=i}this.destination=new Xw(r)}};function Sb(t){ja.useDeprecatedSynchronousErrorHandling?VM(t):xb(t)}function aW(t){throw t}function Kw(t,i){let{onStoppedNotification:e}=ja;e&&Tm.setTimeout(()=>e(t,i))}var sW={closed:!0,next:xl,error:aW,complete:xl};var Am=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ho(t){return t}function Zw(...t){return Qw(t)}function Qw(t){return t.length===0?Ho:t.length===1?t[0]:function(e){return t.reduce((n,r)=>r(n),e)}}var Ne=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let n=new t;return n.source=this,n.operator=e,n}subscribe(e,n,r){let o=cW(e)?e:new Ha(e,n,r);return Im(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return n=jM(n),new n((r,o)=>{let a=new Ha({next:s=>{try{e(s)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e)}[Am](){return this}pipe(...e){return Qw(e)(this)}toPromise(e){return e=jM(e),new e((n,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>n(o))})}}return t.create=i=>new t(i),t})();function jM(t){var i;return(i=t??ja.Promise)!==null&&i!==void 0?i:Promise}function lW(t){return t&&dt(t.next)&&dt(t.error)&&dt(t.complete)}function cW(t){return t&&t instanceof Jd||lW(t)&&wb(t)}function Jw(t){return dt(t?.lift)}function Qe(t){return i=>{if(Jw(i))return i.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ye(t,i,e,n,r){return new ex(t,i,e,n,r)}var ex=class extends Jd{constructor(i,e,n,r,o,a){super(i),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(d){i.error(d)}}:super._next,this._error=r?function(s){try{r(s)}catch(d){i.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){i.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((i=this.onFinalize)===null||i===void 0||i.call(this))}}};function HM(){return Qe((t,i)=>{let e=null;t._refCount++;let n=Ye(i,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(),i.unsubscribe()});t.subscribe(n),n.closed||(e=t.connect())})}var mf=class extends Ne{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Jw(i)&&(this.lift=i.lift)}_subscribe(i){return this.getSubject().subscribe(i)}getSubject(){let i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:i}=this;this._subject=this._connection=null,i?.unsubscribe()}connect(){let i=this._connection;if(!i){i=this._connection=new _e;let e=this.getSubject();i.add(this.source.subscribe(Ye(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),i.closed&&(this._connection=null,i=_e.EMPTY)}return i}refCount(){return HM()(this)}};var km={schedule(t){let i=requestAnimationFrame,e=cancelAnimationFrame,{delegate:n}=km;n&&(i=n.requestAnimationFrame,e=n.cancelAnimationFrame);let r=i(o=>{e=void 0,t(o)});return new _e(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:i}=km;return(i?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:i}=km;return(i?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var UM=Ac(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var O=(()=>{class t extends Ne{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let n=new Tb(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new UM}next(e){Im(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(e)}})}error(e){Im(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){Im(()=>{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:n,isStopped:r,observers:o}=this;return n||r?$w:(this.currentObservers=null,o.push(e),new _e(()=>{this.currentObservers=null,Zd(o,e)}))}_checkFinalizedStatuses(e){let{hasError:n,thrownError:r,isStopped:o}=this;n?e.error(r):o&&e.complete()}asObservable(){let e=new Ne;return e.source=this,e}}return t.create=(i,e)=>new Tb(i,e),t})(),Tb=class extends O{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.next)===null||n===void 0||n.call(e,i)}error(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.error)===null||n===void 0||n.call(e,i)}complete(){var i,e;(e=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||e===void 0||e.call(i)}_subscribe(i){var e,n;return(n=(e=this.source)===null||e===void 0?void 0:e.subscribe(i))!==null&&n!==void 0?n:$w}};var zt=class extends O{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){let e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){let{hasError:i,thrownError:e,_value:n}=this;if(i)throw e;return this._throwIfClosed(),n}next(i){super.next(this._value=i)}};var pf={now(){return(pf.delegate||Date).now()},delegate:void 0};var Co=class extends O{constructor(i=1/0,e=1/0,n=pf){super(),this._bufferSize=i,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,e)}next(i){let{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(n.push(i),!r&&n.push(o.now()+a)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(i),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!i.closed;a+=n?1:2)i.next(o[a]);return this._checkFinalizedStatuses(i),e}_trimBuffer(){let{_bufferSize:i,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*i;if(i<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let a=e.now(),s=0;for(let d=1;d<n.length&&n[d]<=a;d+=2)s=d;s&&n.splice(0,s+1)}}};
vendor: 5,676 bytes, line 3
3var Ib=class extends _e{constructor(i,e){super()}schedule(i,e=0){return this}};var hf={setInterval(t,i,...e){let{delegate:n}=hf;return n?.setInterval?n.setInterval(t,i,...e):setInterval(t,i,...e)},clearInterval(t){let{delegate:i}=hf;return(i?.clearInterval||clearInterval)(t)},delegate:void 0};var kc=class extends Ib{constructor(i,e){super(i,e),this.scheduler=i,this.work=e,this.pending=!1}schedule(i,e=0){var n;if(this.closed)return this;this.state=i;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=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,e),this}requestAsyncId(i,e,n=0){return hf.setInterval(i.flush.bind(i,this),n)}recycleAsyncId(i,e,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return e;e!=null&&hf.clearInterval(e)}execute(i,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(i,e);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(i,e){let n=!1,r;try{this.work(i)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:i,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Zd(n,this),i!=null&&(this.id=this.recycleAsyncId(e,i,null)),this.delay=null,super.unsubscribe()}}};var dW=1,tx,nx={};function zM(t){return t in nx?(delete nx[t],!0):!1}var GM={setImmediate(t){let i=dW++;return nx[i]=!0,tx||(tx=Promise.resolve()),tx.then(()=>zM(i)&&t()),i},clearImmediate(t){zM(t)}};var{setImmediate:uW,clearImmediate:mW}=GM,ff={setImmediate(...t){let{delegate:i}=ff;return(i?.setImmediate||uW)(...t)},clearImmediate(t){let{delegate:i}=ff;return(i?.clearImmediate||mW)(t)},delegate:void 0};var Ab=class extends kc{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,n=0){return n!==null&&n>0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=ff.setImmediate(i.flush.bind(i,void 0))))}recycleAsyncId(i,e,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);let{actions:o}=i;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(ff.clearImmediate(e),i._scheduled===e&&(i._scheduled=void 0))}};var Rm=class t{constructor(i,e=t.now){this.schedulerActionCtor=i,this.now=e}schedule(i,e=0,n){return new this.schedulerActionCtor(this,i).schedule(n,e)}};Rm.now=pf.now;var Rc=class extends Rm{constructor(i,e=Rm.now){super(i,e),this.actions=[],this._active=!1}flush(i){let{actions:e}=this;if(this._active){e.push(i);return}let n;this._active=!0;do if(n=i.execute(i.state,i.delay))break;while(i=e.shift());if(this._active=!1,n){for(;i=e.shift();)i.unsubscribe();throw n}}};var kb=class extends Rc{flush(i){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:n}=this,r;i=i||n.shift();do if(r=i.execute(i.state,i.delay))break;while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,r){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw r}}};var Rb=new kb(Ab);var Uo=new Rc(kc),WM=Uo;var Mb=class extends kc{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,n=0){return n!==null&&n>0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=km.requestAnimationFrame(()=>i.flush(void 0))))}recycleAsyncId(i,e,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);let{actions:o}=i;e!=null&&e===i._scheduled&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(km.cancelAnimationFrame(e),i._scheduled=void 0)}};var Nb=class extends Rc{flush(i){this._active=!0;let e;i?e=i.id:(e=this._scheduled,this._scheduled=void 0);let{actions:n}=this,r;i=i||n.shift();do if(r=i.execute(i.state,i.delay))break;while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,r){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw r}}};var Mm=new Nb(Mb);var ke=new Ne(t=>t.complete());function Ob(t){return t&&dt(t.schedule)}function ix(t){return t[t.length-1]}function Fb(t){return dt(ix(t))?t.pop():void 0}function ma(t){return Ob(ix(t))?t.pop():void 0}function $M(t,i){return typeof ix(t)=="number"?t.pop():i}function Sn(t,i,e,n){var r=arguments.length,o=r<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,e):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(o=(r<3?a(o):r>3?a(i,e,o):a(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o}function YM(t,i,e,n){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(f){try{p(n.next(f))}catch(b){a(b)}}function d(f){try{p(n.throw(f))}catch(b){a(b)}}function p(f){f.done?o(f.value):r(f.value).then(s,d)}p((n=n.apply(t,i||[])).next())})}function qM(t){var i=typeof Symbol=="function"&&Symbol.iterator,e=i&&t[i],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function eu(t){return this instanceof eu?(this.v=t,this):new eu(t)}function KM(t,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(t,i||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(A){return function(M){return Promise.resolve(M).then(A,b)}}function s(A,M){n[A]&&(r[A]=function(J){return new Promise(function(j,K){o.push([A,J,j,K])>1||d(A,J)})}
vendor: 10,943 bytes, line 3
3,M&&(r[A]=M(r[A])))}function d(A,M){try{p(n[A](M))}catch(J){w(o[0][3],J)}}function p(A){A.value instanceof eu?Promise.resolve(A.value.v).then(f,b):w(o[0][2],A)}function f(A){d("next",A)}function b(A){d("throw",A)}function w(A,M){A(M),o.shift(),o.length&&d(o[0][0],o[0][1])}}function XM(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t[Symbol.asyncIterator],e;return i?i.call(t):(t=typeof qM=="function"?qM(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(a){return new Promise(function(s,d){a=t[o](a),r(s,d,a.done,a.value)})}}function r(o,a,s,d){Promise.resolve(d).then(function(p){o({value:p,done:s})},a)}}var Nm=t=>t&&typeof t.length=="number"&&typeof t!="function";function Pb(t){return dt(t?.then)}function Lb(t){return dt(t[Am])}function Bb(t){return Symbol.asyncIterator&&dt(t?.[Symbol.asyncIterator])}function Vb(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 pW(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var jb=pW();function Hb(t){return dt(t?.[jb])}function Ub(t){return KM(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:n,done:r}=yield eu(e.read());if(r)return yield eu(void 0);yield yield eu(n)}}finally{e.releaseLock()}})}function zb(t){return dt(t?.getReader)}function Ft(t){if(t instanceof Ne)return t;if(t!=null){if(Lb(t))return hW(t);if(Nm(t))return fW(t);if(Pb(t))return gW(t);if(Bb(t))return ZM(t);if(Hb(t))return _W(t);if(zb(t))return bW(t)}throw Vb(t)}function hW(t){return new Ne(i=>{let e=t[Am]();if(dt(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function fW(t){return new Ne(i=>{for(let e=0;e<t.length&&!i.closed;e++)i.next(t[e]);i.complete()})}function gW(t){return new Ne(i=>{t.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,xb)})}function _W(t){return new Ne(i=>{for(let e of t)if(i.next(e),i.closed)return;i.complete()})}function ZM(t){return new Ne(i=>{vW(t,i).catch(e=>i.error(e))})}function bW(t){return ZM(Ub(t))}function vW(t,i){var e,n,r,o;return YM(this,void 0,void 0,function*(){try{for(e=XM(t);n=yield e.next(),!n.done;){let a=n.value;if(i.next(a),i.closed)return}}catch(a){r={error:a}}finally{try{n&&!n.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}i.complete()})}function Fr(t,i,e,n=0,r=!1){let o=i.schedule(function(){e(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}function Gb(t,i=0){return Qe((e,n)=>{e.subscribe(Ye(n,r=>Fr(n,t,()=>n.next(r),i),()=>Fr(n,t,()=>n.complete(),i),r=>Fr(n,t,()=>n.error(r),i)))})}function Wb(t,i=0){return Qe((e,n)=>{n.add(t.schedule(()=>e.subscribe(n),i))})}function QM(t,i){return Ft(t).pipe(Wb(i),Gb(i))}function JM(t,i){return Ft(t).pipe(Wb(i),Gb(i))}function eN(t,i){return new Ne(e=>{let n=0;return i.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function tN(t,i){return new Ne(e=>{let n;return Fr(e,i,()=>{n=t[jb](),Fr(e,i,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>dt(n?.return)&&n.return()})}function $b(t,i){if(!t)throw new Error("Iterable cannot be null");return new Ne(e=>{Fr(e,i,()=>{let n=t[Symbol.asyncIterator]();Fr(e,i,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function nN(t,i){return $b(Ub(t),i)}function iN(t,i){if(t!=null){if(Lb(t))return QM(t,i);if(Nm(t))return eN(t,i);if(Pb(t))return JM(t,i);if(Bb(t))return $b(t,i);if(Hb(t))return tN(t,i);if(zb(t))return nN(t,i)}throw Vb(t)}function fn(t,i){return i?iN(t,i):Ft(t)}function B(...t){let i=ma(t);return fn(t,i)}function gn(t,i){let e=dt(t)?t:()=>t,n=r=>r.error(e());return new Ne(i?r=>i.schedule(n,0,r):n)}function Sl(t){return!!t&&(t instanceof Ne||dt(t.lift)&&dt(t.subscribe))}var Tl=Ac(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function yW(t,i){let e=typeof i=="object";return new Promise((n,r)=>{let o=new Ha({next:a=>{n(a),o.unsubscribe()},error:r,complete:()=>{e?n(i.defaultValue):r(new Tl)}});t.subscribe(o)})}function qb(t){return t instanceof Date&&!isNaN(t)}var CW=Ac(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function Om(t,i){let{first:e,each:n,with:r=DW,scheduler:o=i??Uo,meta:a=null}=qb(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&n==null)throw new TypeError("No timeout provided.");return Qe((s,d)=>{let p,f,b=null,w=0,A=M=>{f=Fr(d,o,()=>{try{p.unsubscribe(),Ft(r({meta:a,lastValue:b,seen:w})).subscribe(d)}catch(J){d.error(J)}},M)};p=s.subscribe(Ye(d,M=>{f?.unsubscribe(),w++,d.next(b=M),n>0&&A(n)},void 0,void 0,()=>{f?.closed||f?.unsubscribe(),b=null})),!w&&A(e!=null?typeof e=="number"?e:+e-o.now():n)})}function DW(t){throw new CW(t)}function $(t,i){return Qe((e,n)=>{let r=0;e.subscribe(Ye(n,o=>{n.next(t.call(i,o,r++))}))})}var{isArray:EW}=Array;function wW(t,i){return EW(i)?t(...i):t(i)}function Fm(t){return $(i=>wW(t,i))}var{isArray:xW}=Array,{getPrototypeOf:SW,prototype:TW,keys:IW}=Object;function Yb(t){if(t.length===1){let i=t[0];if(xW(i))return{args:i,keys:null};if(AW(i)){let e=IW(i);return{args:e.map(n=>i[n]),keys:e}}}return{args:t,keys:null}}function AW(t){return t&&typeof t=="object"&&SW(t)===TW}function Kb(t,i){return t.reduce((e,n,r)=>(e[n]=i[r],e),{})}function nn(...t){let i=ma(t),e=Fb(t),{args:n,keys:r}=Yb(t);if(n.length===0)return fn([],i);let o=new Ne(kW(n,i,r?a=>Kb(r,a):Ho));return e?o.pipe(Fm(e)):o}function kW(t,i,e=Ho){return n=>{rN(i,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let d=0;d<r;d++)rN(i,()=>{let p=fn(t[d],i),f=!1;p.subscribe(Ye(n,b=>{o[d]=b,f||(f=!0,s--),s||n.next(e(o.slice()))},()=>{--a||n.complete()}))},n)},n)}}function rN(t,i,e){t?Fr(e,t,i):i()}function oN(t,i,e,n,r,o,a,s){let d=[],p=0,f=0,b=!1,w=()=>{b&&!d.length&&!p&&i.complete()},A=J=>p<n?M(J):d.push(J),M=J=>{o&&i.next(J),p++;let j=!1;Ft(e(J,f++)).subscribe(Ye(i,K=>{r?.(K),o?A(K):i.next(K)},()=>{j=!0},void 0,()=>{if(j)try{for(p--;d.length&&p<n;){let K=d.shift();a?Fr(i,a,()=>M(K)):M(K)}w()}catch(K){i.error(K)}}))};return t.subscribe(Ye(i,A,()=>{b=!0,w()})),()=>{s?.()}}function ii(t,i,e=1/0){return dt(i)?ii((n,r)=>$((o,a)=>i(n,o,r,a))(Ft(t(n,r))),e):(typeof i=="number"&&(e=i),Qe((n,r)=>oN(n,r,t,e)))}function Es(t=1/0){return ii(Ho,t)}function Xb(){return Es(1)}function ws(...t){return Xb()(fn(t,ma(t)))}function $n(t){return new Ne(i=>{Ft(t()).subscribe(i)})}function gf(...t){let i=Fb(t),{args:e,keys:n}=Yb(t),r=new Ne(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),d=a,p=a;for(let f=0;f<a;f++){let b=!1;Ft(e[f]).subscribe(Ye(o,w=>{b||(b=!0,p--),s[f]=w},()=>d--,void 0,()=>{(!d||!b)&&(p||o.next(n?Kb(n,s):s),o.complete())}))}});return i?r.pipe(Fm(i)):r}var RW=["addListener","removeListener"],MW=["addEventListener","removeEventListener"],NW=["on","off"];function Il(t,i,e,n){if(dt(e)&&(n=e,e=void 0),n)return Il(t,i,e).pipe(Fm(n));let[r,o]=PW(t)?MW.map(a=>s=>t[a](i,s,e)):OW(t)?RW.map(aN(t,i)):FW(t)?NW.map(aN(t,i)):[];if(!r&&Nm(t))return ii(a=>Il(a,i,e))(Ft(t));if(!r)throw new TypeError("Invalid event target");return new Ne(a=>{let s=(...d)=>a.next(1<d.length?d:d[0]);return r(s),()=>o(s)})}function aN(t,i){return e=>n=>t[e](i,n)}function OW(t){return dt(t.addListener)&&dt(t.removeListener)}function FW(t){return dt(t.on)&&dt(t.off)}function PW(t){return dt(t.addEventListener)&&dt(t.removeEventListener)}function LW(t,i,e){return $n(()=>t()?i:e)}function Ua(t=0,i,e=WM){let n=-1;return i!=null&&(Ob(i)?e=i:n=i),new Ne(r=>{let o=qb(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=n?this.schedule(void 0,n):r.complete())},o)})}function rx(t=0,i=Uo){return t<0&&(t=0),Ua(t,t,i)}function ut(...t){let i=ma(t),e=$M(t,1/0),n=t;return n.length?n.length===1?Ft(n[0]):Es(e)(fn(n,i)):ke}var _f=new Ne(xl);var{isArray:BW}=Array;function sN(t){return t.length===1&&BW(t[0])?t[0]:t}function ae(t,i){return Qe((e,n)=>{let r=0;e.subscribe(Ye(n,o=>t.call(i,o,r++)&&n.next(o)))})}function ox(...t){return t=sN(t),t.length===1?Ft(t[0]):new Ne(VW(t))}function VW(t){return i=>{let e=[];for(let n=0;e&&!i.closed&&n<t.length;n++)e.push(Ft(t[n]).subscribe(Ye(i,r=>{if(e){for(let o=0;o<e.length;o++)o!==n&&e[o].unsubscribe();e=null}i.next(r)})))}}function lN(t){return Qe((i,e)=>{let n=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let p=r;r=null,e.next(p)}a&&e.complete()},d=()=>{o=null,a&&e.complete()};i.subscribe(Ye(e,p=>{n=!0,r=p,o||Ft(t(p)).subscribe(o=Ye(e,s,d))},()=>{a=!0,(!n||!o||o.closed)&&e.complete()}))})}function Pm(t,i=Uo){return lN(()=>Ua(t,i))}function Ge(t){return Qe((i,e)=>{let n=null,r=!1,o;n=i.subscribe(Ye(e,void 0,void 0,a=>{o=Ft(t(a,Ge(t)(i))),n?(n.unsubscribe(),n=null,o.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(e))})}function cN(t,i,e,n,r){return(o,a)=>{let s=e,d=i,p=0;o.subscribe(Ye(a,f=>{let b=p++;d=s?t(d,f,b):(s=!0,f),n&&a.next(d)},r&&(()=>{s&&a.next(d),a.complete()})))}}function dN(t,i){return Qe(cN(t,i,arguments.length>=2,!1,!0))}var jW=(t,i)=>(t.push(i),t);function HW(){return Qe((t,i)=>{dN(jW,[])(t).subscribe(i)})}function xs(t,i){return dt(i)?ii(t,i,1):ii(t,1)}function uN(...t){let i=ma(t);return Qe((e,n)=>{Xb()(fn([e,...t],i)).subscribe(n)})}function Lm(...t){return uN(...t)}function hi(t,i=Uo){return Qe((e,n)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let p=o;o=null,n.next(p)}};function d(){let p=a+t,f=i.now();if(f<p){r=this.schedule(void 0,p-f),n.add(r);return}s()}e.subscribe(Ye(n,p=>{o=p,a=i.now(),r||(r=i.schedule(d,t),n.add(r))},()=>{s(),n.complete()},void 0,()=>{o=r=null}))})}function mN(t){return Qe((i,e)=>{let n=!1;i.subscribe(Ye(e,r=>{n=!0,e.next(r)},()=>{n||e.next(t),e.complete()}))})}function We(t){return t<=0?()=>ke:Qe((i,e)=>{let n=0;i.subscribe(Ye(e,r=>{++n<=t&&(e.next(r),t<=n&&e.complete())}))})}function Bm(){return Qe((t,i)=>{t.subscribe(Ye(i,xl))})}function Vm(t){return $(()=>t)}function ax(t,i){return i?e=>ws(i.pipe(We(1),Bm()),e.pipe(ax(t))):ii((e,n)=>Ft(t(e,n)).pipe(We(1),Vm(e)))}function sx(t,i=Uo){let e=Ua(t,i);return ax(()=>e)}function It(t,i=Ho){return t=t??UW,Qe((e,n)=>{let r,o=!0;e.subscribe(Ye(n,a=>{let s=i(a);(o||!t(r,s))&&(o=!1,r=s,n.next(a))}))})}function UW(t,i){return t===i}function pN(t=zW){return Qe((i,e)=>{let n=!1;i.subscribe(Ye(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(t())))})}function zW(){return new Tl}function Zb(t,i){return i?e=>e.pipe(Zb((n,r)=>Ft(t(n,r)).pipe($((o,a)=>i(n,o,r,a))))):Qe((e,n)=>{let r=0,o=null,a=!1;e.subscribe(Ye(n,s=>{o||(o=Ye(n,void 0,()=>{o=null,a&&n.complete()}),Ft(t(s,r++)).subscribe(o))},()=>{a=!0,!o&&n.complete()}
3))})}function Zr(t){return Qe((i,e)=>{try{i.subscribe(e)}finally{e.add(t)}})}function za(t,i){let e=arguments.length>=2;return n=>n.pipe(t?ae((r,o)=>t(r,o,n)):Ho,We(1),e?mN(i):pN(()=>new Tl))}function Qb(t){return t<=0?()=>ke:Qe((i,e)=>{let n=[];i.subscribe(Ye(e,r=>{n.push(r),t<n.length&&n.shift()},()=>{for(let r of n)e.next(r);e.complete()},void 0,()=>{n=null}))})}function Jb(){return Qe((t,i)=>{let e,n=!1;t.subscribe(Ye(i,r=>{let o=e;e=r,n&&i.next([o,r]),n=!0}))})}function bf(t={}){let{connector:i=()=>new O,resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,d,p=0,f=!1,b=!1,w=()=>{s?.unsubscribe(),s=void 0},A=()=>{w(),a=d=void 0,f=b=!1},M=()=>{let J=a;A(),J?.unsubscribe()};return Qe((J,j)=>{p++,!b&&!f&&w();let K=d=d??i();j.add(()=>{p--,p===0&&!b&&!f&&(s=lx(M,r))}),K.subscribe(j),!a&&p>0&&(a=new Ha({next:Te=>K.next(Te),error:Te=>{b=!0,w(),s=lx(A,e,Te),K.error(Te)},complete:()=>{f=!0,w(),s=lx(A,n),K.complete()}}),Ft(J).subscribe(a))})(o)}}function lx(t,i,...e){if(i===!0){t();return}if(i===!1)return;let n=new Ha({next:()=>{n.unsubscribe(),t()}});return Ft(i(...e)).subscribe(n)}function Qr(t,i,e){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:i=1/0,refCount:r=!1,scheduler:e}=t:n=t??1/0,bf({connector:()=>new Co(n,i,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Al(t){return ae((i,e)=>t<=e)}function Re(...t){let i=ma(t);return Qe((e,n)=>{(i?ws(t,e,i):ws(t,e)).subscribe(n)})}function W(t,i){return Qe((e,n)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&n.complete();e.subscribe(Ye(n,d=>{r?.unsubscribe();let p=0,f=o++;Ft(t(d,f)).subscribe(r=Ye(n,b=>n.next(i?i(d,b,f,p++):b),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function xe(t){return Qe((i,e)=>{Ft(t).subscribe(Ye(e,()=>e.complete(),xl)),!e.closed&&i.subscribe(e)})}function cx(t,i=!1){return Qe((e,n)=>{let r=0;e.subscribe(Ye(n,o=>{let a=t(o,r++);(a||i)&&n.next(o),!a&&n.complete()}))})}function L(t,i,e){let n=dt(t)||i||e?{next:t,error:i,complete:e}:t;return n?Qe((r,o)=>{var a;(a=n.subscribe)===null||a===void 0||a.call(n);let s=!0;r.subscribe(Ye(o,d=>{var p;(p=n.next)===null||p===void 0||p.call(n,d),o.next(d)},()=>{var d;s=!1,(d=n.complete)===null||d===void 0||d.call(n),o.complete()},d=>{var p;s=!1,(p=n.error)===null||p===void 0||p.call(n,d),o.error(d)},()=>{var d,p;s&&((d=n.unsubscribe)===null||d===void 0||d.call(n)),(p=n.finalize)===null||p===void 0||p.call(n)}))}):Ho}function hN(t,i){return Qe((e,n)=>{let{leading:r=!0,trailing:o=!1}=i??{},a=!1,s=null,d=null,p=!1,f=()=>{d?.unsubscribe(),d=null,o&&(A(),p&&n.complete())},b=()=>{d=null,p&&n.complete()},w=M=>d=Ft(t(M)).subscribe(Ye(n,f,b)),A=()=>{if(a){a=!1;let M=s;s=null,n.next(M),!p&&w(M)}};e.subscribe(Ye(n,M=>{a=!0,s=M,!(d&&!d.closed)&&(r?A():w(M))},()=>{p=!0,!(o&&a&&d&&!d.closed)&&n.complete()}))})}function dx(t,i=Uo,e){let n=Ua(t,i);return hN(()=>n,e)}var ux;function ev(){return ux}function Ss(t){let i=ux;return ux=t,i}var fN=Symbol("NotFound");function jm(t){return t===fN||t?.name==="\u0275NotFound"}function mx(t,i,e){let n=Object.create(GW);n.source=t,n.computation=i,e!=null&&(n.equal=e);let o=()=>{if(Xd(n),El(n),n.value===Ds)throw n.error;return n.value};return o[yi]=n,lf(n),o}function gN(t,i){Xd(t),Ic(t,i),wm(t)}function _N(t,i){if(Xd(t),t.value===Ds)throw t.error;Db(t,i),wm(t)}var GW=Ae(P({},xc),{value:Yd,dirty:!0,error:null,equal:cf,kind:"linkedSignal",producerMustRecompute(t){return t.value===Yd||t.value===Kd},producerRecomputeValue(t){if(t.value===Kd)throw new Error("");let i=t.value;t.value=Kd;let e=wl(t),n,r=!1;try{let o=t.source(),a=i!==Yd&&i!==Ds,s=a?{source:t.sourceValue,value:i}:void 0;n=t.computation(o,s),t.sourceValue=o,nt(null),r=a&&n!==Ds&&t.equal(i,n)}catch(o){n=Ds,t.error=o}finally{Sc(t,e)}if(r){t.value=i;return}t.value=n,t.version++}});function bN(t){let i=nt(null);try{return t()}finally{nt(i)}}var lv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",ce=class extends Error{code;constructor(i,e){super(pa(i,e)),this.code=i}};function WW(t){return`NG0${Math.abs(t)}`}function pa(t,i){return`${WW(t)}${i?": "+i:""}`}var Fi=globalThis;function Tn(t){for(let i in t)if(t[i]===Tn)return i;throw Error("")}function EN(t,i){for(let e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function Sf(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Sf).join(", ")}]`;if(t==null)return""+t;let i=t.overriddenName||t.name;if(i)return`${i}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` 4`);return n>=0?e.slice(0,n):e}function cv(t,i){return t?i?`${t} ${i}`:t:i||""}var $W=Tn({__forward_ref__:Tn});function bn(t){return t.__forward_ref__=bn,t}function $i(t){return xx(t)?t():t}function xx(t){return typeof t=="function"&&t.hasOwnProperty($W)&&t.__forward_ref__===bn}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Y(t){return{providers:t.providers||[],imports:t.imports||[]}}function Tf(t){return qW(t,dv)}function Sx(t){return Tf(t)!==null}function qW(t,i){return t.hasOwnProperty(i)&&t[i]||null}function YW(t){let i=t?.[dv]??null;return i||null}function hx(t){return t&&t.hasOwnProperty(iv)?t[iv]:null}var dv=Tn({\u0275prov:Tn}),iv=Tn({\u0275inj:Tn}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(i,e){this._desc=i,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=D({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Tx(t){return t&&!!t.\u0275providers}var If=Tn({\u0275cmp:Tn}),Af=Tn({\u0275dir:Tn}),Ix=Tn({\u0275pipe:Tn}),Ax=Tn({\u0275mod:Tn}),yf=Tn({\u0275fac:Tn}),ou=Tn({__NG_ELEMENT_ID__:Tn}),vN=Tn({__NG_ENV_ID__:Tn});function kx(t){return mv(t,"@NgModule"),t[Ax]||null}function Ts(t){return mv(t,"@Component"),t[If]||null}function uv(t){return mv(t,"@Directive"),t[Af]||null}function Rx(t){return mv(t,"@Pipe"),t[Ix]||null}function mv(t,i){if(t==null)throw new ce(-919,!1)}function eo(t){return typeof t=="string"?t:t==null?"":String(t)}var wN=Tn({ngErrorCode:Tn}),KW=Tn({ngErrorMessage:Tn}),XW=Tn({ngTokenPath:Tn});function Mx(t,i){return xN("",-200,i)}
vendor: 4,139 bytes, line 4
4function pv(t,i){throw new ce(-201,!1)}function xN(t,i,e){let n=new ce(i,t);return n[wN]=i,n[KW]=t,e&&(n[XW]=e),n}function ZW(t){return t[wN]}var fx;function SN(){return fx}function Jr(t){let i=fx;return fx=t,i}function Nx(t,i,e){let n=Tf(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(e&8)return null;if(i!==void 0)return i;pv(t,"")}var QW={},tu=QW,JW="__NG_DI_FLAG__",gx=class{injector;constructor(i){this.injector=i}retrieve(i,e){let n=nu(e)||0;try{return this.injector.get(i,n&8?null:tu,n)}catch(r){if(jm(r))return r;throw r}}};function e8(t,i=0){let e=ev();if(e===void 0)throw new ce(-203,!1);if(e===null)return Nx(t,void 0,i);{let n=t8(i),r=e.retrieve(t,n);if(jm(r)){if(n.optional)return null;throw r}return r}}function F(t,i=0){return(SN()||e8)($i(t),i)}function m(t,i){return F(t,nu(i))}function nu(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function t8(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function _x(t){let i=[];for(let e=0;e<t.length;e++){let n=$i(t[e]);if(Array.isArray(n)){if(n.length===0)throw new ce(900,!1);let r,o=0;for(let a=0;a<n.length;a++){let s=n[a],d=n8(s);typeof d=="number"?d===-1?r=s.token:o|=d:r=s}i.push(F(r,o))}else i.push(F(n))}return i}function n8(t){return t[JW]}function Nc(t,i){let e=t.hasOwnProperty(yf);return e?t[yf]:null}function TN(t,i,e){if(t.length!==i.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=i[n];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function IN(t){return t.flat(Number.POSITIVE_INFINITY)}function hv(t,i){t.forEach(e=>Array.isArray(e)?hv(e,i):i(e))}function Ox(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function kf(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function AN(t,i){let e=[];for(let n=0;n<t;n++)e.push(i);return e}function kN(t,i,e,n){let r=t.length;if(r==i)t.push(e,n);else if(r===1)t.push(n,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>i;){let o=r-2;t[r]=t[o],r--}t[i]=e,t[i+1]=n}}function Rf(t,i,e){let n=Um(t,i);return n>=0?t[n|1]=e:(n=~n,kN(t,n,i,e)),n}function fv(t,i){let e=Um(t,i);if(e>=0)return t[e|1]}function Um(t,i){return i8(t,i,1)}function i8(t,i,e){let n=0,r=t.length>>e;for(;r!==n;){let o=n+(r-n>>1),a=t[o<<e];if(i===a)return o<<e;a>i?r=o:n=o+1}return~(r<<e)}var Wa={},Pr=[],Rl=new R(""),Fx=new R("",-1),Px=new R(""),Cf=class{get(i,e=tu){if(e===tu){let r=xN("",-201);throw r.name="\u0275NotFound",r}return e}};function Pc(t){return{\u0275providers:t}}function RN(...t){return{\u0275providers:Lx(!0,t),\u0275fromNgModule:!0}}function Lx(t,...i){let e=[],n=new Set,r,o=a=>{e.push(a)};return hv(i,a=>{let s=a;rv(s,o,[],n)&&(r||=[],r.push(s))}),r!==void 0&&MN(r,o),e}function MN(t,i){for(let e=0;e<t.length;e++){let{ngModule:n,providers:r}=t[e];Bx(r,o=>{i(o,n)})}}function rv(t,i,e,n){if(t=$i(t),!t)return!1;let r=null,o=hx(t),a=!o&&Ts(t);if(!o&&!a){let d=t.ngModule;if(o=hx(d),o)r=d;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=n.has(r);if(a){if(s)return!1;if(n.add(r),a.dependencies){let d=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let p of d)rv(p,i,e,n)}}else if(o){if(o.imports!=null&&!s){n.add(r);let p;hv(o.imports,f=>{rv(f,i,e,n)&&(p||=[],p.push(f))}),p!==void 0&&MN(p,i)}if(!s){let p=Nc(r)||(()=>new r);i({provide:r,useFactory:p,deps:Pr},r),i({provide:Px,useValue:r,multi:!0},r),i({provide:Rl,useValue:()=>F(r),multi:!0},r)}let d=o.providers;if(d!=null&&!s){let p=t;Bx(d,f=>{i(f,p)})}}else return!1;return r!==t&&t.providers!==void 0}function Bx(t,i){for(let e of t)Tx(e)&&(e=e.\u0275providers),Array.isArray(e)?Bx(e,i):i(e)}var r8=Tn({provide:String,useValue:Tn});function NN(t){return t!==null&&typeof t=="object"&&r8 in t}function o8(t){return!!(t&&t.useExisting)}function a8(t){return!!(t&&t.useFactory)}function iu(t){return typeof t=="function"}function ON(t){return!!t.useClass}var Mf=new R(""),tv={},yN={},px;function zm(){return px===void 0&&(px=new Cf),px}var _n=class{},ru=class extends _n{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;
vendor: 6,916 bytes, line 4
4constructor(i,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,vx(i,a=>this.processProvider(a)),this.records.set(Fx,Hm(void 0,this)),r.has("environment")&&this.records.set(_n,Hm(void 0,this));let o=this.records.get(Mf);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Px,Pr,{self:!0}))}retrieve(i,e){let n=nu(e)||0;try{return this.get(i,tu,n)}catch(r){if(jm(r))return r;throw r}}destroy(){vf(this),this._destroyed=!0;let i=nt(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),nt(i)}}onDestroy(i){return vf(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){vf(this);let e=Ss(this),n=Jr(void 0),r;try{return i()}finally{Ss(e),Jr(n)}}get(i,e=tu,n){if(vf(this),i.hasOwnProperty(vN))return i[vN](this);let r=nu(n),o,a=Ss(this),s=Jr(void 0);try{if(!(r&4)){let p=this.records.get(i);if(p===void 0){let f=u8(i)&&Tf(i);f&&this.injectableDefInScope(f)?p=Hm(bx(i),tv):p=null,this.records.set(i,p)}if(p!=null)return this.hydrate(i,p,r)}let d=r&2?zm():this.parent;return e=r&8&&e===tu?null:e,d.get(i,e)}catch(d){let p=ZW(d);throw p===-200||p===-201?new ce(p,null):d}finally{Jr(s),Ss(a)}}resolveInjectorInitializers(){let i=nt(null),e=Ss(this),n=Jr(void 0),r;try{let o=this.get(Rl,Pr,{self:!0});for(let a of o)a()}finally{Ss(e),Jr(n),nt(i)}}toString(){return"R3Injector[...]"}processProvider(i){i=$i(i);let e=iu(i)?i:$i(i&&i.provide),n=l8(i);if(!iu(i)&&i.multi===!0){let r=this.records.get(e);r||(r=Hm(void 0,tv,!0),r.factory=()=>_x(r.multi),this.records.set(e,r)),e=i,r.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let r=nt(null);try{if(e.value===yN)throw Mx("");return e.value===tv&&(e.value=yN,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&d8(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{nt(r)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=$i(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function bx(t){let i=Tf(t),e=i!==null?i.factory:Nc(t);if(e!==null)return e;if(t instanceof R)throw new ce(-204,!1);if(t instanceof Function)return s8(t);throw new ce(-204,!1)}function s8(t){if(t.length>0)throw new ce(-204,!1);let e=YW(t);return e!==null?()=>e.factory(t):()=>new t}function l8(t){if(NN(t))return Hm(void 0,t.useValue);{let i=Vx(t);return Hm(i,tv)}}function Vx(t,i,e){let n;if(iu(t)){let r=$i(t);return Nc(r)||bx(r)}else if(NN(t))n=()=>$i(t.useValue);else if(a8(t))n=()=>t.useFactory(..._x(t.deps||[]));else if(o8(t))n=(r,o)=>F($i(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=$i(t&&(t.useClass||t.provide));if(c8(t))n=()=>new r(..._x(t.deps));else return Nc(r)||bx(r)}return n}function vf(t){if(t.destroyed)throw new ce(-205,!1)}function Hm(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function c8(t){return!!t.deps}function d8(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function u8(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function vx(t,i){for(let e of t)Array.isArray(e)?vx(e,i):e&&Tx(e)?vx(e.\u0275providers,i):i(e)}function Yi(t,i){let e;t instanceof ru?(vf(t),e=t):e=new gx(t);let n,r=Ss(e),o=Jr(void 0);try{return i()}finally{Ss(r),Jr(o)}}function jx(){return SN()!==void 0||ev()!=null}var $a=0,st=1,vt=2,qi=3,ha=4,to=5,au=6,Gm=7,Ti=8,Ml=9,qa=10,Mn=11,Wm=12,Hx=13,su=14,no=15,Lc=16,lu=17,Is=18,Nl=19,Ux=20,kl=21,gv=22,Oc=23,zo=24,cu=25,Bc=26,Nn=27,FN=1,zx=6,Vc=7,Nf=8,du=9,Ci=10;function Ol(t){return Array.isArray(t)&&typeof t[FN]=="object"}function Ya(t){return Array.isArray(t)&&t[FN]===!0}function Gx(t){return(t.flags&4)!==0}function As(t){return t.componentOffset>-1}function $m(t){return(t.flags&1)===1}function Ka(t){return!!t.template}function qm(t){return(t[vt]&512)!==0}function uu(t){return(t[vt]&256)===256}var cn=(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})(cn||{}),nv,Df="svg",Wx="math";function PN(){return nv||(nv={},Mc(cn.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Mc(cn.STYLE,void 0,[["*",["style"]]]),Mc(cn.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Mc(cn.URL,Wx,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Mc(cn.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Mc(cn.URL,Df,[["a",["href","xlink:href"]]]),Mc(cn.ATTRIBUTE_NO_BINDING,Df,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Mc(cn.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),nv}function Mc(t,i,e){for(let[n,r]of e){let o=i&&n!=="unknown"?`:${i}:${n}`:n;o=o.toLowerCase();for(let a of r)nv[`${o}|${a.toLowerCase()}`]=t}}function LN(t,i,e){let n=PN(),r=t.toLowerCase(),o=i.toLowerCase(),a=e&&r!=="*"&&r!=="unknown"?n[`:${e}:${r}|${o}`]:void 0,s=e?n[`:${e}:*|${o}`]:void 0;return a??s??n[`${r}|${o}`]??n[`*|${o}`]??cn.NONE}function fa(t){for(;Array.isArray(t);)t=t[$a];return t}function $x(t,i){return fa(i[t])}function Go(t,i){return fa(i[t.index])}function _v(t,i){return t.data[i]}function mu(t,i){return t[i]}
vendor: 4,447 bytes, line 4
4function Of(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function ga(t,i){let e=i[t];return Ol(e)?e:e[$a]}function BN(t){return(t[vt]&4)===4}function bv(t){return(t[vt]&128)===128}function VN(t){return Ya(t[qi])}function Wo(t,i){return i==null?null:t[i]}function qx(t){t[lu]=0}function Yx(t){t[vt]&1024||(t[vt]|=1024,bv(t)&&pu(t))}function jN(t,i){for(;t>0;)i=i[su],t--;return i}function Ff(t){return!!(t[vt]&9216||t[zo]?.dirty)}function vv(t){t[qa].changeDetectionScheduler?.notify(8),t[vt]&64&&(t[vt]|=1024),Ff(t)&&pu(t)}function pu(t){t[qa].changeDetectionScheduler?.notify(0);let i=Fc(t);for(;i!==null&&!(i[vt]&8192||(i[vt]|=8192,!bv(i)));)i=Fc(i)}function Kx(t,i){if(uu(t))throw new ce(911,!1);t[kl]===null&&(t[kl]=[]),t[kl].push(i)}function HN(t,i){if(t[kl]===null)return;let e=t[kl].indexOf(i);e!==-1&&t[kl].splice(e,1)}function Fc(t){let i=t[qi];return Ya(i)?i[qi]:i}function Xx(t){return t[Gm]??=[]}function Zx(t){return t.cleanup??=[]}function UN(t,i,e,n){let r=Xx(i);r.push(e),t.firstCreatePass&&Zx(t).push(n,r.length-1)}var At={lFrame:QN(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var yx=!1;function zN(){return At.lFrame.elementDepthCount}function GN(){At.lFrame.elementDepthCount++}function Qx(){At.lFrame.elementDepthCount--}function yv(){return At.bindingsEnabled}function Jx(){return At.skipHydrationRootTNode!==null}function eS(t){return At.skipHydrationRootTNode===t}function tS(){At.skipHydrationRootTNode=null}function Oe(){return At.lFrame.lView}function On(){return At.lFrame.tView}function te(t){return At.lFrame.contextLView=t,t[Ti]}function ne(t){return At.lFrame.contextLView=null,t}function Ki(){let t=nS();for(;t!==null&&t.type===64;)t=t.parent;return t}function nS(){return At.lFrame.currentTNode}function WN(){let t=At.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function hu(t,i){let e=At.lFrame;e.currentTNode=t,e.isParent=i}function iS(){return At.lFrame.isParent}function rS(){At.lFrame.isParent=!1}function oS(){return At.lFrame.contextLView}function aS(){return yx}function Ef(t){let i=yx;return yx=t,i}function jc(){let t=At.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function Cv(){return At.lFrame.bindingIndex}function $N(t){return At.lFrame.bindingIndex=t}function ks(){return At.lFrame.bindingIndex++}function Ym(t){let i=At.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function qN(){return At.lFrame.inI18n}function YN(t,i){let e=At.lFrame;e.bindingIndex=e.bindingRootIndex=t,Dv(i)}function KN(){return At.lFrame.currentDirectiveIndex}function Dv(t){At.lFrame.currentDirectiveIndex=t}function XN(t){let i=At.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function Ev(){return At.lFrame.currentQueryIndex}function Pf(t){At.lFrame.currentQueryIndex=t}function m8(t){let i=t[st];return i.type===2?i.declTNode:i.type===1?t[to]:null}function sS(t,i,e){if(e&4){let r=i,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=m8(o),r===null||(o=o[su],r.type&10))break;if(r===null)return!1;i=r,t=o}let n=At.lFrame=ZN();return n.currentTNode=i,n.lView=t,!0}function wv(t){let i=ZN(),e=t[st];At.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function ZN(){let t=At.lFrame,i=t===null?null:t.child;return i===null?QN(t):i}function QN(t){let i={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=i),i}function JN(){let t=At.lFrame;return At.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var lS=JN;function xv(){let t=JN();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 eO(t){return(At.lFrame.contextLView=jN(t,At.lFrame.contextLView))[Ti]}function Do(){return At.lFrame.selectedIndex}function Hc(t){At.lFrame.selectedIndex=t}function fu(){let t=At.lFrame;return _v(t.tView,t.selectedIndex)}function In(){At.lFrame.currentNamespace=Df}function $o(){p8()}function p8(){At.lFrame.currentNamespace=null}function cS(){return At.lFrame.currentNamespace}var tO=!0;function Sv(){return tO}function Lf(t){tO=t}function Cx(t,i=null,e=null,n){let r=dS(t,i,e,n);
vendor: 22,883 bytes, line 4
4return r.resolveInjectorInitializers(),r}function dS(t,i=null,e=null,n,r=new Set){let o=[e||Pr,RN(t)],a;return new ru(o,i||zm(),a||null,r)}var ie=class t{static THROW_IF_NOT_FOUND=tu;static NULL=new Cf;static create(i,e){if(Array.isArray(i))return Cx({name:""},e,i,"");{let n=i.name??"";return Cx({name:n},i.parent,i.providers,n)}}static \u0275prov=D({token:t,providedIn:"any",factory:()=>F(Fx)});static __NG_ELEMENT_ID__=-1},Ce=new R(""),dn=(()=>{class t{static __NG_ELEMENT_ID__=h8;static __NG_ENV_ID__=e=>e}return t})(),ov=class extends dn{_lView;constructor(i){super(),this._lView=i}get destroyed(){return uu(this._lView)}onDestroy(i){let e=this._lView;return Kx(e,i),()=>HN(e,i)}};function h8(){return new ov(Oe())}var uS=!1,nO=new R(""),Rs=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new zt(!1);debugTaskTracker=m(nO,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Ne(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),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(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=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),Dx=class extends O{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,jx()&&(this.destroyRef=m(dn,{optional:!0})??void 0,this.pendingTasks=m(Rs,{optional:!0})??void 0)}emit(i){let e=nt(null);try{super.next(i)}finally{nt(e)}}subscribe(i,e,n){let r=i,o=e||(()=>null),a=n;if(i&&typeof i=="object"){let d=i;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return i instanceof _e&&i.add(s),s}wrapInTimeout(i){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{i(e)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},V=Dx;function av(...t){}function mS(t){let i,e;function n(){t=av;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch(r){}}return i=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),n()})),()=>n()}function iO(t){return queueMicrotask(()=>t()),()=>{t=av}}var pS="isAngularZone",wf=pS+"_ID",f8=0,le=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new V(!1);onMicrotaskEmpty=new V(!1);onStable=new V(!1);onError=new V(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=uS}=i;if(typeof Zone>"u")throw new ce(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,b8(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(pS)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new ce(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new ce(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,i,g8,av,av);try{return o.runTask(a,e,n)}finally{o.cancelTask(a)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}},g8={};function hS(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 _8(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){mS(()=>{t.callbackScheduled=!1,Ex(t),t.isCheckStableRunning=!0,hS(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),Ex(t)}function b8(t){let i=()=>{_8(t)},e=f8++;t._inner=t._inner.fork({name:"angular",properties:{[pS]:!0,[wf]:e,[wf+e]:!0},onInvokeTask:(n,r,o,a,s,d)=>{if(v8(d))return n.invokeTask(o,a,s,d);try{return CN(t),n.invokeTask(o,a,s,d)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),DN(t)}},onInvoke:(n,r,o,a,s,d,p)=>{try{return CN(t),n.invoke(o,a,s,d,p)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!y8(d)&&i(),DN(t)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,Ex(t),hS(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function Ex(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function CN(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function DN(t){t._nesting--,hS(t)}var xf=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new V;onMicrotaskEmpty=new V;onStable=new V;onError=new V;run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,r){return i.apply(e,n)}};function v8(t){return rO(t,"__ignore_ng_zone__")}function y8(t){return rO(t,"__scheduler_tick__")}function rO(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}var Lr=class{_console=console;handleError(i){this._console.error("ERROR",i)}},Eo=new R("",{factory:()=>{let t=m(le),i=m(_n),e;return n=>{t.runOutsideAngular(()=>{i.destroyed&&!e?setTimeout(()=>{throw n}):(e??=i.get(Lr),e.handleError(n))})}}}),oO={provide:Rl,useValue:()=>{let t=m(Lr,{optional:!0})},multi:!0};function Z(t,i){let[e,n,r]=zw(t,i?.equal),o=e,a=o[yi];return o.set=n,o.update=r,o.asReadonly=Bf.bind(o),o}function Bf(){let t=this[yi];if(t.readonlyFn===void 0){let i=()=>this();i[yi]=t,t.readonlyFn=i}return t.readonlyFn}var Km=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=C8}return t})();function C8(){return new Km(Oe(),Ki())}var Ga=class{},Xm=new R("",{factory:()=>!0});var Tv=new R(""),gu=(()=>{class t{internalPendingTasks=m(Rs);scheduler=m(Ga);errorHandler=m(Eo);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let n=this.add();e().catch(this.errorHandler).finally(n)}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),Iv=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new wx})}return t})(),wx=class{dirtyEffectCount=0;queues=new Map;add(i){this.enqueue(i),this.schedule(i)}schedule(i){i.dirty&&this.dirtyEffectCount++}remove(i){let e=i.zone,n=this.queues.get(e);n.has(i)&&(n.delete(i),i.dirty&&this.dirtyEffectCount--)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(i)||n.add(i)}flush(){for(;this.dirtyEffectCount>0;){let i=!1;for(let[e,n]of this.queues)e===null?i||=this.flushQueue(n):i||=e.run(()=>this.flushQueue(n));i||(this.dirtyEffectCount=0)}}flushQueue(i){let e=!1;for(let n of i)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}},sv=class{[yi];constructor(i){this[yi]=i}destroy(){this[yi].destroy()}};function io(t,i){let e=i?.injector??m(ie),n=i?.manualCleanup!==!0?e.get(dn):null,r,o=e.get(Km,null,{optional:!0}),a=e.get(Ga);return o!==null?(r=w8(o.view,a,t),n instanceof ov&&n._lView===o.view&&(n=null)):r=x8(t,e.get(Iv),a),r.injector=e,n!==null&&(r.onDestroyFns=[n.onDestroy(()=>r.destroy())]),new sv(r)}var aO=Ae(P({},Gw),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=Ef(!1);try{Ww(this)}finally{Ef(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=nt(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],nt(t)}}}),D8=Ae(P({},aO),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Tc(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),E8=Ae(P({},aO),{consumerMarkedDirty(){this.view[vt]|=8192,pu(this.view),this.notifier.notify(13)},destroy(){if(Tc(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[Oc]?.delete(this)}});function w8(t,i,e){let n=Object.create(E8);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=sO(n,e),t[Oc]??=new Set,t[Oc].add(n),n.consumerMarkedDirty(n),n}function x8(t,i,e){let n=Object.create(D8);return n.fn=sO(n,t),n.scheduler=i,n.notifier=e,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.add(n),n.notifier.notify(12),n}function sO(t,i){return()=>{i(e=>(t.cleanupFns??=[]).push(e))}}function Zf(t){return{toString:t}.toString()}function $O(t){let i=Fi.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function M8(t){return typeof t=="function"}function qO(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Vv=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}},Ke=(()=>{let t=()=>YO;return t.ngInherit=!0,t})();function YO(t){return t.type.prototype.ngOnChanges&&(t.setInput=O8),N8}function N8(){let t=XO(this),i=t?.current;if(i){let e=t.previous;if(e===Wa)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function O8(t,i,e,n,r){let o=this.declaredInputs[n],a=XO(t)||F8(t,{previous:Wa,current:null}),s=a.current||(a.current={}),d=a.previous,p=d[o];s[o]=new Vv(p&&p.currentValue,e,d===Wa),qO(t,i,r,e)}var KO="__ngSimpleChanges__";function XO(t){return t[KO]||null}function F8(t,i){return t[KO]=i}var lO=[];var Hn=function(t,i=null,e){for(let n=0;n<lO.length;n++){let r=lO[n];r(t,i,e)}},yn=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(yn||{});function P8(t,i,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=i.type.prototype;if(n){let a=YO(i);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function ZO(t,i){for(let e=i.directiveStart,n=i.directiveEnd;e<n;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:d,ngAfterViewChecked:p,ngOnDestroy:f}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),d&&(t.viewHooks??=[]).push(-e,d),p&&((t.viewHooks??=[]).push(e,p),(t.viewCheckHooks??=[]).push(e,p)),f!=null&&(t.destroyHooks??=[]).push(e,f)}}function Ov(t,i,e){QO(t,i,3,e)}function Fv(t,i,e,n){(t[vt]&3)===e&&QO(t,i,e,n)}function fS(t,i){let e=t[vt];(e&3)===i&&(e&=16383,e+=1,t[vt]=e)}function QO(t,i,e,n){let r=n!==void 0?t[lu]&65535:0,o=n??-1,a=i.length-1,s=0;for(let d=r;d<a;d++)if(typeof i[d+1]=="number"){if(s=i[d],n!=null&&s>=n)break}else i[d]<0&&(t[lu]+=65536),(s<o||o==-1)&&(L8(t,e,i,d),t[lu]=(t[lu]&4294901760)+d+2),d++}function cO(t,i){Hn(yn.LifecycleHookStart,t,i);let e=nt(null);try{i.call(t)}finally{nt(e),Hn(yn.LifecycleHookEnd,t,i)}}function L8(t,i,e,n){let r=e[n]<0,o=e[n+1],a=r?-e[n]:e[n],s=t[a];r?t[vt]>>14<t[lu]>>16&&(t[vt]&3)===i&&(t[vt]+=16384,cO(s,o)):cO(s,o)}var Qm=-1,bu=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n,r){this.factory=i,this.name=r,this.canSeeViewProviders=e,this.injectImpl=n}};function B8(t){return(t.flags&8)!==0}function V8(t){return(t.flags&16)!==0}function j8(t,i,e){let n=0;for(;n<e.length;){let r=e[n];if(typeof r=="number"){if(r!==0)break;n++;let o=e[n++],a=e[n++],s=e[n++];t.setAttribute(i,a,s,o)}else{let o=r,a=e[++n];H8(o)?t.setProperty(i,o,a):t.setAttribute(i,o,a),n++}}return n}function JO(t){return t===3||t===4||t===6}function H8(t){return t.charCodeAt(0)===64}function Jm(t,i){if(!(i===null||i.length===0))if(t===null||t.length===0)t=i.slice();else{let e=-1;for(let n=0;n<i.length;n++){let r=i[n];typeof r=="number"?e=r:e===0||(e===-1||e===2?dO(t,e,r,null,i[++n]):dO(t,e,r,null,null))}}return t}function dO(t,i,e,n,r){let o=0,a=t.length;if(i===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===i){a=-1;break}else if(s>i){a=o-1;break}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(t.splice(a,0,i),o=a+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function eF(t){return t!==Qm}function jv(t){return t&32767}function U8(t){return t>>16}function Hv(t,i){let e=U8(t),n=i;for(;e>0;)n=n[su],e--;return n}var SS=!0;function Uv(t){let i=SS;return SS=t,i}var z8=256,tF=z8-1,nF=5,G8=0,Ms={};function W8(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(ou)&&(n=e[ou]),n==null&&(n=e[ou]=G8++);let r=n&tF,o=1<<r;i.data[t+(r>>nF)]|=o}function zv(t,i){let e=iF(t,i);if(e!==-1)return e;let n=i[st];n.firstCreatePass&&(t.injectorIndex=i.length,gS(n.data,t),gS(i,null),gS(n.blueprint,null));let r=uT(t,i),o=t.injectorIndex;if(eF(r)){let a=jv(r),s=Hv(r,i),d=s[st].data;for(let p=0;p<8;p++)i[o+p]=s[a+p]|d[a+p]}return i[o+8]=r,o}function gS(t,i){t.push(0,0,0,0,0,0,0,0,i)}function iF(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function uT(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,r=i;for(;r!==null;){if(n=lF(r),n===null)return Qm;if(e++,r=r[su],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return Qm}function TS(t,i,e){W8(t,i,e)}function $8(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,r=0;for(;r<n;){let o=e[r];if(JO(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof e[r]=="string";)r++;else{if(o===i)return e[r+1];r=r+2}}}return null}function rF(t,i,e){if(e&8||t!==void 0)return t;pv(i,"NodeInjector")}function oF(t,i,e,n){if(e&8&&n===void 0&&(n=null),(e&3)===0){let r=t[Ml],o=Jr(void 0);try{return r?r.get(i,n,e&8):Nx(i,n,e&8)}finally{Jr(o)}}return rF(n,i,e)}function aF(t,i,e,n=0,r){if(t!==null){if(i[vt]&2048&&!(n&2)){let a=X8(t,i,e,n,Ms);if(a!==Ms)return a}let o=sF(t,i,e,n,Ms);if(o!==Ms)return o}return oF(i,e,n,r)}function sF(t,i,e,n,r){let o=Y8(e);if(typeof o=="function"){if(!sS(i,t,n))return n&1?rF(r,e,n):oF(i,e,n,r);try{let a;if(a=o(n),a==null&&!(n&8))pv(e);else return a}finally{lS()}}else if(typeof o=="number"){let a=null,s=iF(t,i),d=Qm,p=n&1?i[no][to]:null;for((s===-1||n&4)&&(d=s===-1?uT(t,i):i[s+8],d===Qm||!mO(n,!1)?s=-1:(a=i[st],s=jv(d),i=Hv(d,i)));s!==-1;){let f=i[st];if(uO(o,s,f.data)){let b=q8(s,i,e,a,n,p);if(b!==Ms)return b}d=i[s+8],d!==Qm&&mO(n,i[st].data[s+8]===p)&&uO(o,s,i)?(a=f,s=jv(d),i=Hv(d,i)):s=-1}}return r}function q8(t,i,e,n,r,o){let a=i[st],s=a.data[t+8],d=n==null?As(s)&&SS:n!=a&&(s.type&3)!==0,p=r&1&&o===s,f=Pv(s,a,e,d,p);return f!==null?zf(i,a,f,s,r):Ms}function Pv(t,i,e,n,r){let o=t.providerIndexes,a=i.data,s=o&1048575,d=t.directiveStart,p=t.directiveEnd,f=o>>20,b=n?s:s+f,w=r?s+f:p;for(let A=b;A<w;A++){let M=a[A];if(A<d&&e===M||A>=d&&M.type===e)return A}if(r){let A=a[d];if(A&&Ka(A)&&A.type===e)return d}return null}function zf(t,i,e,n,r){let o=t[e],a=i.data;if(o instanceof bu){let s=o;if(s.resolving)throw Mx("");let d=Uv(s.canSeeViewProviders);s.resolving=!0;let p=a[e].type||a[e],f,b=s.injectImpl?Jr(s.injectImpl):null,w=sS(t,n,0);try{o=t[e]=s.factory(void 0,r,a,t,n),i.firstCreatePass&&e>=n.directiveStart&&P8(e,a[e],i)}finally{b!==null&&Jr(b),Uv(d),s.resolving=!1,lS()}}return o}function Y8(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(ou)?t[ou]:void 0;return typeof i=="number"?i>=0?i&tF:K8:i}function uO(t,i,e){let n=1<<t;return!!(e[i+(t>>nF)]&n)}function mO(t,i){return!(t&2)&&!(t&1&&i)}var _u=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return aF(this._tNode,this._lView,i,nu(n),e)}};function K8(){return new _u(Ki(),Oe())}function yt(t){return Zf(()=>{let i=t.prototype.constructor,e=i[yf]||IS(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[yf]||IS(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function IS(t){return xx(t)?()=>{let i=IS($i(t));return i&&i()}:Nc(t)}function X8(t,i,e,n,r){let o=t,a=i;for(;o!==null&&a!==null&&a[vt]&2048&&!qm(a);){let s=sF(o,a,e,n|2,Ms);if(s!==Ms)return s;let d=o.parent;if(!d){let p=a[Ux];if(p){let f=p.get(e,Ms,n&-5);if(f!==Ms)return f}d=lF(a),a=a[su]}o=d}return r}function lF(t){let i=t[st],e=i.type;return e===2?i.declTNode:e===1?t[to]:null}function Qf(t){return $8(Ki(),t)}function Z8(){return op(Ki(),Oe())}function op(t,i){return new Q(Go(t,i))}var Q=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=Z8}return t})();function cF(t){return t instanceof Q?t.nativeElement:t}function Q8(){return this._results[Symbol.iterator]()}var ro=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 O}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let n=IN(i);(this._changesDetected=!TN(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Q8};function dF(t){return(t.flags&128)===128}var mT=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(mT||{}),uF=new Map,J8=0;function e$(){return J8++}function t$(t){uF.set(t[Nl],t)}function AS(t){uF.delete(t[Nl])}var pO="__ngContext__";function ep(t,i){Ol(i)?(t[pO]=i[Nl],t$(i)):t[pO]=i}function mF(t){return hF(t[Wm])}function pF(t){return hF(t[ha])}function hF(t){for(;t!==null&&!Ya(t);)t=t[ha];return t}var kS;function pT(t){kS=t}function fF(){if(kS!==void 0)return kS;if(typeof document<"u")return document;throw new ce(210,!1)}var Gc=new R("",{factory:()=>n$}),n$="ng";var n0=new R(""),Pl=new R("",{providedIn:"platform",factory:()=>"unknown"}),Jf=new R(""),Cu=new R("",{factory:()=>m(Ce).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),i0={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},r0=new R("",{factory:()=>i0});var gF="r";var _F="di";var hT=new R(""),bF=!1,vF=new R("",{factory:()=>bF});var o0=new R("");var hO=new WeakMap;function i$(t,i){if(t==null||typeof t!="object")return;let e=hO.get(t);e||(e=new WeakSet,hO.set(t,e)),e.add(i)}var r$=(t,i,e,n)=>{};function o$(t,i,e,n){r$(t,i,e,n)}function a0(t){return(t.flags&32)===32}var a$=()=>null;function yF(t,i,e=!1){return a$(t,i,e)}function CF(t,i){let e=t.contentQueries;if(e!==null){let n=nt(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],a=e[r+1];if(a!==-1){let s=t.data[a];Pf(o),s.contentQueries(2,i[a],a)}}}finally{nt(n)}}}function RS(t,i,e){Pf(0);let n=nt(null);try{i(t,e)}finally{nt(n)}}function fT(t,i,e){if(Gx(i)){let n=nt(null);try{let r=i.directiveStart,o=i.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let d=e[a];s.contentQueries(1,d,a)}}}finally{nt(n)}}}var Za=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(Za||{});var s$="svg",l$="math",c$={"http://www.w3.org/2000/svg":s$,"http://www.w3.org/1998/Math/MathML":l$},Av;function d$(){if(Av===void 0&&(Av=null,Fi.trustedTypes))try{Av=Fi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Av}function s0(t){return d$()?.createHTML(t)||t}var kv;function DF(){if(kv===void 0&&(kv=null,Fi.trustedTypes))try{kv=Fi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return kv}function fO(t){return DF()?.createHTML(t)||t}function gO(t){return DF()?.createScriptURL(t)||t}var Fl=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lv})`}},MS=class extends Fl{getTypeName(){return"HTML"}},NS=class extends Fl{getTypeName(){return"Style"}}
vendor: 7,964 bytes, line 4
4,OS=class extends Fl{getTypeName(){return"Script"}},FS=class extends Fl{getTypeName(){return"URL"}},PS=class extends Fl{getTypeName(){return"ResourceURL"}};function ao(t){return t instanceof Fl?t.changingThisBreaksApplicationSecurity:t}function Fs(t,i){let e=EF(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${lv})`)}return e===i}function EF(t){return t instanceof Fl&&t.getTypeName()||null}function gT(t){return new MS(t)}function _T(t){return new NS(t)}function bT(t){return new OS(t)}function vT(t){return new FS(t)}function yT(t){return new PS(t)}function u$(t){let i=new BS(t);return m$()?new LS(i):i}var LS=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i="<body><remove></remove>"+i;try{let e=new window.DOMParser().parseFromString(s0(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch(e){return null}}},BS=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=s0(i),e}};function m$(){try{return!!new window.DOMParser().parseFromString(s0(""),"text/html")}catch(t){return!1}}var p$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function eg(t){return t=String(t),t.match(p$)?t:"unsafe:"+t}function Ll(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function tg(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var wF=Ll("area,br,col,hr,img,wbr"),xF=Ll("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),SF=Ll("rp,rt"),h$=tg(SF,xF),f$=tg(xF,Ll("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),g$=tg(SF,Ll("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),_O=tg(wF,f$,g$,h$),TF=Ll("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_$=Ll("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),b$=Ll("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),v$=tg(TF,_$,b$),y$=Ll("script,style,template"),VS=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=E$(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=D$(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(i){let e=bO(i).toLowerCase();if(!_O.hasOwnProperty(e))return this.sanitizedSomething=!0,!y$.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),a=o.name,s=a.toLowerCase();if(!v$.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let d=o.value;TF[s]&&(d=eg(d)),this.buf.push(" ",a,'="',vO(d),'"')}return this.buf.push(">"),!0}endElement(i){let e=bO(i).toLowerCase();_O.hasOwnProperty(e)&&!wF.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(i){this.buf.push(vO(i))}};function C$(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function D$(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw IF(i);return i}function E$(t){let i=t.firstChild;if(i&&C$(t,i))throw IF(i);return i}function bO(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function IF(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var w$=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,x$=/([^\#-~ |!])/g;function vO(t){return t.replace(/&/g,"&").replace(w$,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(x$,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Rv;function l0(t,i){let e=null;try{Rv=Rv||u$(t);let n=i?String(i):"";e=Rv.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=e.innerHTML,e=Rv.getInertBodyElement(n)}while(n!==o);let s=new VS().sanitizeChildren(yO(e)||e);return s0(s)}finally{if(e){let n=yO(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function yO(t){return"content"in t&&S$(t)?t.content:null}function S$(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var T$=/^>|^->|<!--|-->|--!>|<!-$/g,I$=/(<|>)/g,A$="\u200B$1\u200B";function k$(t){return t.replace(T$,i=>i.replace(I$,A$))}function R$(t,i){return t.createText(i)}function M$(t,i,e){t.setValue(i,e)}function N$(t,i){return t.createComment(k$(i))}function AF(t,i,e){return t.createElement(i,e)}function Gv(t,i,e,n,r){t.insertBefore(i,e,n,r)}function kF(t,i,e){t.appendChild(i,e)}function CO(t,i,e,n,r){n!==null?Gv(t,i,e,n,r):kF(t,i,e)}function RF(t,i,e,n){t.removeChild(null,i,e,n)}function O$(t,i,e){t.setAttribute(i,"style",e)}function F$(t,i,e){e===""?t.removeAttribute(i,"class"):t.setAttribute(i,"class",e)}function MF(t,i,e){let{mergedAttrs:n,classes:r,styles:o}=e;n!==null&&j8(t,i,n),r!==null&&F$(t,i,r),o!==null&&O$(t,i,o)}function P$(t,i=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(i)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function Du(t,i,e){if(i!==void 0&&e!==void 0&&FF(i,e)!==cn.HTML)return t;let n=DT();return n?fO(n.sanitize(cn.HTML,t)||""):Fs(t,"HTML")?fO(ao(t)):l0(fF(),eo(t))}function NF(t){let i=DT();return i?i.sanitize(cn.URL,t)||"":Fs(t,"URL")?ao(t):eg(eo(t))}function OF(t){let i=DT();if(i)return gO(i.sanitize(cn.RESOURCE_URL,t)||"");if(Fs(t,"ResourceURL"))return gO(ao(t));throw new ce(904,!1)}function L$(t,i){switch(FF(t,i)){case cn.RESOURCE_URL:return OF;case cn.URL:return NF;default:return null}}function CT(t,i,e){return L$(i,e)?.(t)??t}function DT(){let t=Oe();return t&&t[qa].sanitizer}function FF(t,i){let[e,n]=B$(t);return LN(n,i,e)}function B$(t){t=t.toLowerCase();let i=P$(t,!1);if(i[0])return i;let n=Do()===-1?null:fu(),r=n?.namespace;if(t==="#host"&&n?.type===2){let o=Go(n,Oe());if(o.tagName&&(t=o.tagName.toLowerCase()),r==null){let a=o.namespaceURI;r=a&&c$[a]}}return[r,t]}function V$(t){return t.ownerDocument.defaultView}function qo(t){return t.ownerDocument}function PF(t){return t instanceof Function?t():t}function j$(t,i,e){let n=t.length;for(;;){let r=t.indexOf(i,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=i.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}e=r+1}}var LF="ng-template";function H$(t,i,e,n){let r=0;if(n){for(;
vendor: 4,415 bytes, line 4
4r<i.length&&typeof i[r]=="string";r+=2)if(i[r]==="class"&&j$(i[r+1].toLowerCase(),e,0)!==-1)return!0}else if(ET(t))return!1;if(r=i.indexOf(1,r),r>-1){let o;for(;++r<i.length&&typeof(o=i[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function ET(t){return t.type===4&&t.value!==LF}function U$(t,i,e){let n=t.type===4&&!e?LF:t.value;return i===n}function z$(t,i,e){let n=4,r=t.attrs,o=r!==null?$$(r):0,a=!1;for(let s=0;s<i.length;s++){let d=i[s];if(typeof d=="number"){if(!a&&!Xa(n)&&!Xa(d))return!1;if(a&&Xa(d))continue;a=!1,n=d|n&1;continue}if(!a)if(n&4){if(n=2|n&1,d!==""&&!U$(t,d,e)||d===""&&i.length===1){if(Xa(n))return!1;a=!0}}else if(n&8){if(r===null||!H$(t,r,d,e)){if(Xa(n))return!1;a=!0}}else{let p=i[++s],f=G$(d,r,ET(t),e);if(f===-1){if(Xa(n))return!1;a=!0;continue}if(p!==""){let b;if(f>o?b="":b=r[f+1].toLowerCase(),n&2&&p!==b){if(Xa(n))return!1;a=!0}}}}return Xa(n)||a}function Xa(t){return(t&1)===0}function G$(t,i,e,n){if(i===null)return-1;let r=0;if(n||!e){let o=!1;for(;r<i.length;){let a=i[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=i[++r];for(;typeof s=="string";)s=i[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return q$(i,t)}function BF(t,i,e=!1){for(let n=0;n<i.length;n++)if(z$(t,i[n],e))return!0;return!1}function W$(t){let i=t.attrs;if(i!=null){let e=i.indexOf(5);if((e&1)===0)return i[e+1]}return null}function $$(t){for(let i=0;i<t.length;i++){let e=t[i];if(JO(e))return i}return t.length}function q$(t,i){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let n=t[e];if(typeof n=="number")return-1;if(n===i)return e;e++}return-1}function Y$(t,i){e:for(let e=0;e<i.length;e++){let n=i[e];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function DO(t,i){return t?":not("+i.trim()+")":i}function K$(t){let i=t[0],e=1,n=2,r="",o=!1;for(;e<t.length;){let a=t[e];if(typeof a=="string")if(n&2){let s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else n&8?r+="."+a:n&4&&(r+=" "+a);else r!==""&&!Xa(a)&&(i+=DO(o,r),r=""),n=a,o=o||!Xa(n);e++}return r!==""&&(i+=DO(o,r)),i}function X$(t){return t.map(K$).join(",")}function Z$(t){let i=[],e=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&i.push(o,t[++n]):r===8&&e.push(o);else{if(!Xa(r))break;r=o}n++}return e.length&&i.push(1,...e),i}var Zi={};function wT(t,i,e,n,r,o,a,s,d,p,f){let b=Nn+n,w=b+r,A=Q$(b,w),M=typeof p=="function"?p():p;return A[st]={type:t,blueprint:A,template:e,queries:null,viewQuery:s,declTNode:i,data:A.slice().fill(null,b),bindingStartIndex:b,expandoStartIndex:w,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 a=="function"?a():a,firstChild:null,schemas:d,consts:M,incompleteFirstPass:!1,ssrId:f}}function Q$(t,i){let e=[];for(let n=0;n<i;n++)e.push(n<t?null:Zi);return e}function J$(t){let i=t.tView;return i===null||i.incompleteFirstPass?t.tView=wT(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):i}function xT(t,i,e,n,r,o,a,s,d,p,f){let b=i.blueprint.slice();return b[$a]=r,b[vt]=n|4|128|8|64|1024,(p!==null||t&&t[vt]&2048)&&(b[vt]|=2048),qx(b),b[qi]=b[su]=t,b[Ti]=e,b[qa]=a||t&&t[qa],b[Mn]=s||t&&t[Mn],b[Ml]=d||t&&t[Ml]||null,b[to]=o,b[Nl]=e$(),b[au]=f,b[Ux]=p,b[no]=i.type==2?t[no]:b,b}function e6(t,i,e){let n=Go(i,t),r=J$(e),o=t[qa].rendererFactory,a=ST(t,xT(t,r,null,VF(e),n,i,null,o.createRenderer(n,e),null,null,null));return t[i.index]=a}function VF(t){let i=16;return t.signals?i=4096:t.onPush&&(i=64),i}function jF(t,i,e,n){if(e===0)return-1;let r=i.length;for(let o=0;o<e;o++)i.push(n),t.blueprint.push(n),t.data.push(null);return r}function ST(t,i){return t[Wm]?t[Hx][ha]=i:t[Wm]=i,t[Hx]=i,i}function l(t=1){HF(On(),Oe(),Do()+t,!1)}function HF(t,i,e,n){if(!n)if((i[vt]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Ov(i,o,e)}else{let o=t.preOrderHooks;o!==null&&Fv(i,o,0,e)}Hc(e)}var c0=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(c0||{});function jS(t,i,e,n){let r=nt(null);try{let[o,a,s]=t.inputs[e],d=null;
4(a&c0.SignalBased)!==0&&(d=i[o][yi]),d!==null&&d.transformFn!==void 0?n=d.transformFn(n):s!==null&&(n=s.call(i,n)),t.setInput!==null?t.setInput(i,d,n,e,o):qO(i,d,o,n)}finally{nt(r)}}var Ns=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Ns||{}),t6;function TT(t,i){return t6(t,i)}var Lke=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var HS=new WeakMap,jf=new WeakSet;function n6(t,i){let e=HS.get(t);if(!e||e.length===0)return;let n=i.parentNode,r=i.previousSibling;for(let o=e.length-1;o>=0;o--){let a=e[o],s=a.parentNode;a===i?(e.splice(o,1),jf.add(a),a.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(r&&a===r||s&&n&&s!==n)&&(e.splice(o,1),a.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),a.parentNode?.removeChild(a))}}function i6(t,i){let e=HS.get(t);e?e.includes(i)||e.push(i):HS.set(t,[i])}var vu=new Set,d0=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(d0||{}),Qa=new R(""),EO=new Set;function Yo(t){EO.has(t)||(EO.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var u0=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),IT=[0,1,2,3],AT=(()=>{class t{ngZone=m(le);scheduler=m(Ga);errorHandler=m(Lr,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(Qa,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Hn(yn.AfterRenderHooksStart),this.executing=!0;for(let n of IT)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[n];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Hn(yn.AfterRenderHooksEnd)}register(e){let{view:n}=e;n!==void 0?((n[cu]??=[]).push(e),pu(n),n[vt]|=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,n){return n?n.run(d0.AFTER_NEXT_RENDER,e):e()}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),Gf=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,n,r,o,a=null){this.impl=i,this.hooks=e,this.view=n,this.once=r,this.snapshot=a,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 i=this.view?.[cu];i&&(this.view[cu]=i.filter(e=>e!==this))}};function Dt(t,i){let e=i?.injector??m(ie);return Yo("NgAfterNextRender"),o6(t,e,i,!0)}function r6(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function o6(t,i,e,n){let r=i.get(u0);r.impl??=i.get(AT);let o=i.get(Qa,null,{optional:!0}),a=e?.manualCleanup!==!0?i.get(dn):null,s=i.get(Km,null,{optional:!0}),d=new Gf(r.impl,r6(t),s?.view,n,a,o?.snapshot(null));return r.impl.register(d),d}var UF=new R("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:m(_n)})});function zF(t,i,e){let n=t.get(UF);if(Array.isArray(i))for(let r of i)n.queue.add(r),e?.detachedLeaveAnimationFns?.push(r);else n.queue.add(i),e?.detachedLeaveAnimationFns?.push(i);n.scheduler&&n.scheduler(t)}function a6(t,i){let e=t.get(UF);if(i.detachedLeaveAnimationFns){for(let n of i.detachedLeaveAnimationFns)e.queue.delete(n);i.detachedLeaveAnimationFns=void 0}}function s6(t,i){for(let[e,n]of i)zF(t,n.animateFns)}function wO(t,i,e,n){let r=t?.[Bc]?.enter;i!==null&&r&&r.has(e.index)&&s6(n,r)}
vendor: 22,944 bytes, line 4
4function Zm(t,i,e,n,r,o,a,s){if(r!=null){let d,p=!1;Ya(r)?d=r:Ol(r)&&(p=!0,r=r[$a]);let f=fa(r);t===0&&n!==null?(wO(s,n,o,e),a==null?kF(i,n,f):Gv(i,n,f,a||null,!0)):t===1&&n!==null?(wO(s,n,o,e),Gv(i,n,f,a||null,!0),n6(o,f)):t===2?(s?.[Bc]?.leave?.has(o.index)&&i6(o,f),jf.delete(f),xO(s,o,e,b=>{if(jf.has(f)){jf.delete(f);return}RF(i,f,p,b)})):t===3&&(jf.delete(f),xO(s,o,e,()=>{i.destroyNode(f)})),d!=null&&b6(i,t,e,d,o,n,a)}}function l6(t,i){GF(t,i),i[$a]=null,i[to]=null}function c6(t,i,e,n,r,o){n[$a]=r,n[to]=i,p0(t,n,e,1,r,o)}function GF(t,i){i[qa].changeDetectionScheduler?.notify(9),p0(t,i,i[Mn],2,null,null)}function d6(t){let i=t[Wm];if(!i)return _S(t[st],t);for(;i;){let e=null;if(Ol(i))e=i[Wm];else{let n=i[Ci];n&&(e=n)}if(!e){for(;i&&!i[ha]&&i!==t;)Ol(i)&&_S(i[st],i),i=i[qi];i===null&&(i=t),Ol(i)&&_S(i[st],i),e=i&&i[ha]}i=e}}function kT(t,i){let e=t[du],n=e.indexOf(i);e.splice(n,1)}function m0(t,i){if(uu(i))return;let e=i[Mn];e.destroyNode&&p0(t,i,e,3,null,null),d6(i)}function _S(t,i){if(uu(i))return;let e=nt(null);try{i[vt]&=-129,i[vt]|=256,i[zo]&&Tc(i[zo]),p6(t,i),m6(t,i),i[st].type===1&&i[Mn].destroy();let n=i[Lc];if(n!==null&&Ya(i[qi])){n!==i[qi]&&kT(n,i);let r=i[Is];r!==null&&r.detachView(t)}AS(i)}finally{nt(e)}}function xO(t,i,e,n){let r=t?.[Bc];if(r==null||r.leave==null||!r.leave.has(i.index))return n(!1);t&&vu.add(t[Nl]),zF(e,()=>{if(r.leave&&r.leave.has(i.index)){let a=r.leave.get(i.index),s=[];if(a){for(let d=0;d<a.animateFns.length;d++){let p=a.animateFns[d],{promise:f}=p();s.push(f)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),u6(t,n)}else t&&vu.delete(t[Nl]),n(!1)},r)}function u6(t,i){let e=t[Bc]?.running;if(e){e.then(()=>{t[Bc].running=void 0,vu.delete(t[Nl]),i(!0)});return}i(!1)}function m6(t,i){let e=t.cleanup,n=i[Gm];if(e!==null)for(let a=0;a<e.length-1;a+=2)if(typeof e[a]=="string"){let s=e[a+3];s>=0?n[s]():n[-s].unsubscribe(),a+=2}else{let s=n[e[a+1]];e[a].call(s)}n!==null&&(i[Gm]=null);let r=i[kl];if(r!==null){i[kl]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=i[Oc];if(o!==null){i[Oc]=null;for(let a of o)a.destroy()}}function p6(t,i){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let n=0;n<e.length;n+=2){let r=i[e[n]];if(!(r instanceof bu)){let o=e[n+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],d=o[a+1];Hn(yn.LifecycleHookStart,s,d);try{d.call(s)}finally{Hn(yn.LifecycleHookEnd,s,d)}}else{Hn(yn.LifecycleHookStart,r,o);try{o.call(r)}finally{Hn(yn.LifecycleHookEnd,r,o)}}}}}function WF(t,i,e){return h6(t,i.parent,e)}function h6(t,i,e){let n=i;for(;n!==null&&n.type&168;)i=n,n=i.parent;if(n===null)return e[$a];if(As(n)){let{encapsulation:r}=t.data[n.directiveStart+n.componentOffset];if(r===Za.None||r===Za.Emulated)return null}return Go(n,e)}function $F(t,i,e){return g6(t,i,e)}function f6(t,i,e){return t.type&40?Go(t,e):null}var g6=f6,SO;function RT(t,i,e,n){let r=WF(t,n,i),o=i[Mn],a=n.parent||i[to],s=$F(a,n,i);if(r!=null)if(Array.isArray(e))for(let d=0;d<e.length;d++)CO(o,r,e[d],s,!1);else CO(o,r,e,s,!1);SO!==void 0&&SO(o,n,i,e,r)}function Hf(t,i){if(i!==null){let e=i.type;if(e&3)return Go(i,t);if(e&4)return US(-1,t[i.index]);if(e&8){let n=i.child;if(n!==null)return Hf(t,n);{let r=t[i.index];return Ya(r)?US(-1,r):fa(r)}}else{if(e&128)return Hf(t,i.next);if(e&32)return TT(i,t)()||fa(t[i.index]);{let n=qF(t,i);if(n!==null){if(Array.isArray(n))return n[0];let r=Fc(t[no]);return Hf(r,n)}else return Hf(t,i.next)}}}return null}function qF(t,i){if(i!==null){let n=t[no][to],r=i.projection;return n.projection[r]}return null}function US(t,i){let e=Ci+t+1;if(e<i.length){let n=i[e],r=n[st].firstChild;if(r!==null)return Hf(n,r)}return i[Vc]}function MT(t,i,e,n,r,o,a){for(;e!=null;){let s=n[Ml];if(e.type===128){e=e.next;continue}let d=n[e.index],p=e.type;if(a&&i===0&&(d&&ep(fa(d),n),e.flags|=2),!a0(e))if(p&8)MT(t,i,e.child,n,r,o,!1),Zm(i,t,s,r,d,e,o,n);else if(p&32){let f=TT(e,n),b;for(;b=f();)Zm(i,t,s,r,b,e,o,n);Zm(i,t,s,r,d,e,o,n)}else p&16?YF(t,i,n,e,r,o):Zm(i,t,s,r,d,e,o,n);e=a?e.projectionNext:e.next}}function p0(t,i,e,n,r,o){MT(e,n,t.firstChild,i,r,o,!1)}function _6(t,i,e){let n=i[Mn],r=WF(t,e,i),o=e.parent||i[to],a=$F(o,e,i);YF(n,0,i,e,r,a)}function YF(t,i,e,n,r,o){let a=e[no],d=a[to].projection[n.projection];if(Array.isArray(d))for(let p=0;p<d.length;p++){let f=d[p];Zm(i,t,e[Ml],r,f,n,o,e)}else{let p=d,f=a[qi];dF(n)&&(p.flags|=128),MT(t,i,p,f,r,o,!0)}}function b6(t,i,e,n,r,o,a){let s=n[Vc],d=fa(n);s!==d&&Zm(i,t,e,o,s,r,a);for(let p=Ci;p<n.length;p++){let f=n[p];p0(f[st],f,t,i,o,s)}}function v6(t,i,e,n,r){if(i)r?t.addClass(e,n):t.removeClass(e,n);else{let o=n.indexOf("-")===-1?void 0:Ns.DashCase;r==null?t.removeStyle(e,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ns.Important),t.setStyle(e,n,r,o))}}function KF(t,i,e,n,r){let o=Do(),a=n&2;try{Hc(-1),a&&i.length>Nn&&HF(t,i,Nn,!1);let s=a?yn.TemplateUpdateStart:yn.TemplateCreateStart;Hn(s,r,e),e(n,r)}finally{Hc(o);let s=a?yn.TemplateUpdateEnd:yn.TemplateCreateEnd;Hn(s,r,e)}}function h0(t,i,e){w6(t,i,e),(e.flags&64)===64&&x6(t,i,e)}function ng(t,i,e=Go){let n=i.localNames;if(n!==null){let r=i.index+1;for(let o=0;o<n.length;o+=2){let a=n[o+1],s=a===-1?e(i,t):t[a];t[r++]=s}}}function y6(t,i,e,n){let o=n.get(vF,bF)||e===Za.ShadowDom||e===Za.ExperimentalIsolatedShadowDom,a=t.selectRootElement(i,o);return C6(a),a}function C6(t){D6(t)}var D6=()=>null;function E6(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function XF(t,i,e,n,r,o){let a=i[st];if(f0(t,a,i,e,n)){As(t)&&QF(i,t.index);return}t.type&3&&(e=E6(e)),ZF(t,i,e,n,r,o)}function ZF(t,i,e,n,r,o){if(t.type&3){let a=Go(t,i);n=o!=null?o(n,t.value||"",e):n,r.setProperty(a,e,n)}else t.type&12}function QF(t,i){let e=ga(i,t);e[vt]&16||(e[vt]|=64)}function w6(t,i,e){let n=e.directiveStart,r=e.directiveEnd;As(e)&&e6(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||zv(e,i);let o=e.initialInputs;for(let a=n;a<r;a++){let s=t.data[a],d=zf(i,t,a,e);if(ep(d,i),o!==null&&I6(i,a-n,d,s,e,o),Ka(s)){let p=ga(e.index,i);p[Ti]=zf(i,t,a,e)}}}function x6(t,i,e){let n=e.directiveStart,r=e.directiveEnd,o=e.index,a=KN();try{Hc(o);for(let s=n;s<r;s++){let d=t.data[s],p=i[s];Dv(s),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&S6(d,p)}}finally{Hc(-1),Dv(a)}}function S6(t,i){t.hostBindings!==null&&t.hostBindings(1,i)}function NT(t,i){let e=t.directiveRegistry,n=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];BF(i,o.selectors,!1)&&(n??=[],Ka(o)?n.unshift(o):n.push(o))}return n}function T6(t,i,e,n,r,o){let a=Go(t,i);JF(i[Mn],a,o,t.value,e,n,r)}function JF(t,i,e,n,r,o,a){if(o==null)t.removeAttribute(i,r,e);else{let s=a==null?eo(o):a(o,n||"",r);t.setAttribute(i,r,s,e)}}function I6(t,i,e,n,r,o){let a=o[i];if(a!==null)for(let s=0;s<a.length;s+=2){let d=a[s],p=a[s+1];jS(n,e,d,p)}}function OT(t,i,e,n,r){let o=Nn+e,a=i[st],s=r(a,i,t,n,e);i[o]=s,hu(t,!0);let d=t.type===2;return d?(MF(i[Mn],s,t),(zN()===0||$m(t))&&ep(s,i),GN()):ep(s,i),Sv()&&(!d||!a0(t))&&RT(a,i,s,t),t}function FT(t){let i=t;return iS()?rS():(i=i.parent,hu(i,!1)),i}function A6(t,i){let e=t[Ml];if(!e)return;let n;try{n=e.get(Eo,null)}catch(r){n=null}n?.(i)}function f0(t,i,e,n,r){let o=t.inputs?.[n],a=t.hostDirectiveInputs?.[n],s=!1;if(a)for(let d=0;d<a.length;d+=2){let p=a[d],f=a[d+1],b=i.data[p];jS(b,e[p],f,r),s=!0}if(o)for(let d of o){let p=e[d],f=i.data[d];jS(f,p,n,r),s=!0}return s}function k6(t,i){let e=ga(i,t),n=e[st];R6(n,e);let r=e[$a];r!==null&&e[au]===null&&(e[au]=yF(r,e[Ml])),Hn(yn.ComponentStart);try{PT(n,e,e[Ti])}finally{Hn(yn.ComponentEnd,e[Ti])}}function R6(t,i){for(let e=i.length;e<t.blueprint.length;e++)i.push(t.blueprint[e])}function PT(t,i,e){wv(i);try{let n=t.viewQuery;n!==null&&RS(1,n,e);let r=t.template;r!==null&&KF(t,i,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),i[Is]?.finishViewCreation(t),t.staticContentQueries&&CF(t,i),t.staticViewQueries&&RS(2,t.viewQuery,e);let o=t.components;o!==null&&M6(i,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{i[vt]&=-5,xv()}}function M6(t,i){for(let e=0;e<i.length;e++)k6(t,i[e])}function ig(t,i,e,n){let r=nt(null);try{let o=i.tView,s=t[vt]&4096?4096:16,d=xT(t,o,e,s,null,i,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),p=t[i.index];d[Lc]=p;let f=t[Is];return f!==null&&(d[Is]=f.createEmbeddedView(o)),PT(o,d,e),d}finally{nt(r)}}function tp(t,i){return!i||i.firstChild===null||dF(t)}function Wf(t,i,e,n,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=i[e.index];o!==null&&n.push(fa(o)),Ya(o)&&eP(o,n);let a=e.type;if(a&8)Wf(t,i,e.child,n);else if(a&32){let s=TT(e,i),d;for(;d=s();)n.push(d)}else if(a&16){let s=qF(i,e);if(Array.isArray(s))n.push(...s);else{let d=Fc(i[no]);Wf(d[st],d,s,n,!0)}}e=r?e.projectionNext:e.next}return n}function eP(t,i){for(let e=Ci;e<t.length;e++){let n=t[e],r=n[st].firstChild;r!==null&&Wf(n[st],n,r,i)}t[Vc]!==t[$a]&&i.push(t[Vc])}function tP(t){if(t[cu]!==null){for(let i of t[cu])i.impl.addSequence(i);t[cu].length=0}}var nP=[];function N6(t){return t[zo]??O6(t)}function O6(t){let i=nP.pop()??Object.create(P6);return i.lView=t,i}function F6(t){t.lView[zo]!==t&&(t.lView=null,nP.push(t))}var P6=Ae(P({},xc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{pu(t.lView)},consumerOnSignalRead(){this.lView[zo]=this}});function L6(t){let i=t[zo]??Object.create(B6);return i.lView=t,i}var B6=Ae(P({},xc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=Fc(t.lView);for(;i&&!iP(i[st]);)i=Fc(i);i&&Yx(i)},consumerOnSignalRead(){this.lView[zo]=this}});function iP(t){return t.type!==2}function rP(t){if(t[Oc]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[Oc])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[vt]&8192)}}var V6=100;function oP(t,i=0){let n=t[qa].rendererFactory,r=!1;r||n.begin?.();try{j6(t,i)}finally{r||n.end?.()}}function j6(t,i){let e=aS();try{Ef(!0),zS(t,i);let n=0;for(;Ff(t);){if(n===V6)throw new ce(103,!1);n++,zS(t,1)}}finally{Ef(e)}}function H6(t,i,e,n){if(uu(i))return;let r=i[vt],o=!1,a=!1;wv(i);let s=!0,d=null,p=null;o||(iP(t)?(p=N6(i),d=wl(p)):Cb()===null?(s=!1,p=L6(i),d=wl(p)):i[zo]&&(Tc(i[zo]),i[zo]=null));try{qx(i),$N(t.bindingStartIndex),e!==null&&KF(t,i,e,2,n);let f=(r&3)===3;if(!o)if(f){let A=t.preOrderCheckHooks;A!==null&&Ov(i,A,null)}else{let A=t.preOrderHooks;A!==null&&Fv(i,A,0,null),fS(i,0)}if(a||U6(i),rP(i),aP(i,0),t.contentQueries!==null&&CF(t,i),!o)if(f){let A=t.contentCheckHooks;A!==null&&Ov(i,A)}else{let A=t.contentHooks;A!==null&&Fv(i,A,1),fS(i,1)}G6(t,i);let b=t.components;b!==null&&lP(i,b,0);let w=t.viewQuery;if(w!==null&&RS(2,w,n),!o)if(f){let A=t.viewCheckHooks;A!==null&&Ov(i,A)}else{let A=t.viewHooks;A!==null&&Fv(i,A,2),fS(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[gv]){for(let A of i[gv])A();i[gv]=null}o||(tP(i),i[vt]&=-73)}catch(f){throw o||pu(i),f}finally{p!==null&&(Sc(p,d),s&&F6(p)),xv()}}function aP(t,i){for(let e=mF(t);e!==null;e=pF(e))for(let n=Ci;n<e.length;n++){let r=e[n];sP(r,i)}}function U6(t){for(let i=mF(t);i!==null;i=pF(i)){if(!(i[vt]&2))continue;let e=i[du];for(let n=0;n<e.length;n++){let r=e[n];Yx(r)}}}function z6(t,i,e){Hn(yn.ComponentStart);let n=ga(i,t);try{sP(n,e)}finally{Hn(yn.ComponentEnd,n[Ti])}}function sP(t,i){bv(t)&&zS(t,i)}function zS(t,i){let n=t[st],r=t[vt],o=t[zo],a=!!(i===0&&r&16);if(a||=!!(r&64&&i===0),a||=!!(r&1024),a||=!!(o?.dirty&&xm(o)),a||=!1,o&&(o.dirty=!1),t[vt]&=-9217,a)H6(n,t,n.template,t[Ti]);else if(r&8192){let s=nt(null);try{rP(t),aP(t,1);let d=n.components;d!==null&&lP(t,d,1),tP(t)}finally{nt(s)}}}function lP(t,i,e){for(let n=0;n<i.length;n++)z6(t,i[n],e)}function G6(t,i){let e=t.hostBindingOpCodes;if(e!==null)try{for(let n=0;n<e.length;n++){let r=e[n];if(r<0)Hc(~r);else{let o=r,a=e[++n],s=e[++n];YN(a,o);let d=i[o];Hn(yn.HostBindingsUpdateStart,d);try{s(2,d)}finally{Hn(yn.HostBindingsUpdateEnd,d)}}}}finally{Hc(-1)}}function LT(t,i){let e=aS()?64:1088;for(t[qa].changeDetectionScheduler?.notify(i);t;){t[vt]|=e;let n=Fc(t);if(qm(t)&&!n)return t;t=n}return null}function cP(t,i,e,n){return[t,!0,0,i,null,n,null,e,null,null]}function dP(t,i){let e=Ci+i;if(e<t.length)return t[e]}function rg(t,i,e,n=!0){let r=i[st];if(W6(r,i,t,e),n){let a=US(e,t),s=i[Mn],d=s.parentNode(t[Vc]);d!==null&&c6(r,t[to],s,i,d,a)}let o=i[au];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function uP(t,i){let e=$f(t,i);return e!==void 0&&m0(e[st],e),e}function $f(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e];if(n){let r=n[Lc];r!==null&&r!==t&&kT(r,n),i>0&&(t[e-1][ha]=n[ha]);let o=kf(t,Ci+i);l6(n[st],n);let a=o[Is];a!==null&&a.detachView(o[st]),n[qi]=null,n[ha]=null,n[vt]&=-129}return n}function W6(t,i,e,n){let r=Ci+n,o=e.length;n>0&&(e[r-1][ha]=i),n<o-Ci?(i[ha]=e[r],Ox(e,Ci+n,i)):(e.push(i),i[ha]=null),i[qi]=e;let a=i[Lc];a!==null&&e!==a&&mP(a,i);let s=i[Is];s!==null&&s.insertView(t),vv(i),i[vt]|=128}function mP(t,i){let e=t[du],n=i[qi];if(Ol(n))t[vt]|=2;else{let r=n[qi][no];i[no]!==r&&(t[vt]|=2)}e===null?t[du]=[i]:e.push(i)}var Uc=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let i=this._lView,e=i[st];return Wf(e,i,e.firstChild,[])}constructor(i,e){this._lView=i,this._cdRefInjectingView=e}get context(){return this._lView[Ti]}set context(i){this._lView[Ti]=i}get destroyed(){return uu(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let i=this._lView[qi];if(Ya(i)){let e=i[Nf],n=e?e.indexOf(this):-1;n>-1&&($f(i,n),kf(e,n))}this._attachedToViewContainer=!1}m0(this._lView[st],this._lView)}onDestroy(i){Kx(this._lView,i)}markForCheck(){LT(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[vt]&=-129}reattach(){vv(this._lView),this._lView[vt]|=128}detectChanges(){this._lView[vt]|=1024,oP(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=qm(this._lView),e=this._lView[Lc];e!==null&&!i&&kT(e,this._lView),GF(this._lView[st],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new ce(902,!1);this._appRef=i;let e=qm(this._lView),n=this._lView[Lc];n!==null&&!e&&mP(n,this._lView),vv(this._lView)}};var Zt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=$6;constructor(e,n,r){this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=ig(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new Uc(o)}}return t})();function $6(){return g0(Ki(),Oe())}function g0(t,i){return t.type&4?new Zt(i,t,op(t,i)):null}function Eu(t,i,e,n,r){let o=t.data[i];if(o===null)o=q6(t,i,e,n,r),qN()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=n,o.attrs=r;let a=WN();o.injectorIndex=a===null?-1:a.injectorIndex}return hu(o,!0),o}function q6(t,i,e,n,r){let o=nS(),a=iS(),s=a?o:o&&o.parent,d=t.data[i]=K6(t,s,e,i,n,r);return Y6(t,d,o,a),d}function Y6(t,i,e,n){t.firstChild===null&&(t.firstChild=i),e!==null&&(n?e.child==null&&i.parent!==null&&(e.child=i):e.next===null&&(e.next=i,i.prev=e))}function K6(t,i,e,n,r,o){let a=i?i.injectorIndex:-1,s=0;return Jx()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,namespace:cS(),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:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function X6(t){let i=t[zx]??[],n=t[qi][Mn],r=[];for(let o of i)o.data[_F]!==void 0?r.push(o):Z6(o,n);t[zx]=r}function Z6(t,i){let e=0,n=t.firstChild;if(n){let r=t.data[gF];for(;e<r;){let o=n.nextSibling;RF(i,n,!1),n=o,e++}}}var Q6=()=>null,J6=()=>null;function Wv(t,i){return Q6(t,i)}function pP(t,i,e){return J6(t,i,e)}var hP=class{},_0=class{},GS=class{resolveComponentFactory(i){throw new ce(917,!1)}},Bl=class{static NULL=new GS},fi=class{},ot=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>e7()}return t})();function e7(){let t=Oe(),i=Ki(),e=ga(i.index,t);return(Ol(e)?e:t)[Mn]}var fP=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>null})}return t})();var Lv={},WS=class{injector;parentInjector;constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){let r=this.injector.get(i,Lv,n);return r!==Lv||e===Lv?r:this.parentInjector.get(i,e,n)}};function $v(t,i,e){let n=e?t.styles:null,r=e?t.classes:null,o=0;if(i!==null)for(let a=0;a<i.length;a++){let s=i[a];if(typeof s=="number")o=s;else if(o==1)r=cv(r,s);else if(o==2){let d=s,p=i[++a];n=cv(n,d+": "+p+";")}}e?t.styles=n:t.stylesWithoutHost=n,e?t.classes=r:t.classesWithoutHost=r}function E(t,i=0){let e=Oe();if(e===null)return F(t,i);let n=Ki();return aF(n,e,$i(t),i)}function wu(){let t="invalid";throw new Error(t)}function gP(t,i,e,n,r){let o=n===null?null:{"":-1},a=r(t,e);if(a!==null){let s=a,d=null,p=null;for(let f of a)if(f.resolveHostDirectives!==null){[s,d,p]=f.resolveHostDirectives(a);break}i7(t,i,e,s,o,d,p)}o!==null&&n!==null&&t7(e,n,o)}function t7(t,i,e){let n=t.localNames=[];for(let r=0;r<i.length;r+=2){let o=e[i[r+1]];if(o==null)throw new ce(-301,!1);n.push(i[r],o)}}function n7(t,i,e){i.componentOffset=e,(t.components??=[]).push(i.index)}function i7(t,i,e,n,r,o,a){let s=n.length,d=null;for(let w=0;w<s;w++){let A=n[w];d===null&&Ka(A)&&(d=A,n7(t,e,w)),TS(zv(e,i),t,A.type)}c7(e,t.data.length,s),d?.viewProvidersResolver&&d.viewProvidersResolver(d);for(let w=0;w<s;w++){let A=n[w];A.providersResolver&&A.providersResolver(A)}let p=!1,f=!1,b=jF(t,i,s,null);s>0&&(e.directiveToIndex=new Map);for(let w=0;w<s;w++){let A=n[w];if(e.mergedAttrs=Jm(e.mergedAttrs,A.hostAttrs),o7(t,e,i,b,A),l7(b,A,r),a!==null&&a.has(A)){let[J,j]=a.get(A);e.directiveToIndex.set(A.type,[b,J+e.directiveStart,j+e.directiveStart])}else(o===null||!o.has(A))&&e.directiveToIndex.set(A.type,b);A.contentQueries!==null&&(e.flags|=4),(A.hostBindings!==null||A.hostAttrs!==null||A.hostVars!==0)&&(e.flags|=64);let M=A.type.prototype;!p&&(M.ngOnChanges||M.ngOnInit||M.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),p=!0),!f&&(M.ngOnChanges||M.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),f=!0),b++}r7(t,e,o)}function r7(t,i,e){for(let n=i.directiveStart;n<i.directiveEnd;n++){let r=t.data[n];if(e===null||!e.has(r))TO(0,i,r,n),TO(1,i,r,n),AO(i,n,!1);else{let o=e.get(r);IO(0,i,o,n),IO(1,i,o,n),AO(i,n,!0)}}}function TO(t,i,e,n){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;t===0?a=i.inputs??={}:a=i.outputs??={},a[o]??=[],a[o].push(n),_P(i,o)}}function IO(t,i,e,n){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;t===0?s=i.hostDirectiveInputs??={}:s=i.hostDirectiveOutputs??={},s[a]??=[],s[a].push(n,o),_P(i,a)}}function _P(t,i){i==="class"?t.flags|=8:i==="style"&&(t.flags|=16)}function AO(t,i,e){let{attrs:n,inputs:r,hostDirectiveInputs:o}=t;if(n===null||!e&&r===null||e&&o===null||ET(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let a=null,s=0;for(;s<n.length;){let d=n[s];if(d===0){s+=4;continue}else if(d===5){s+=2;continue}else if(typeof d=="number")break;if(!e&&r.hasOwnProperty(d)){let p=r[d];for(let f of p)if(f===i){a??=[],a.push(d,n[s+1]);break}}else if(e&&o.hasOwnProperty(d)){let p=o[d];for(let f=0;f<p.length;f+=2)if(p[f]===i){a??=[],a.push(p[f+1],n[s+1]);break}}s+=2}t.initialInputs??=[],t.initialInputs.push(a)}function o7(t,i,e,n,r){t.data[n]=r;let o=r.factory||(r.factory=Nc(r.type,!0)),a=new bu(o,Ka(r),E,null);t.blueprint[n]=a,e[n]=a,a7(t,i,n,jF(t,e,r.hostVars,Zi),r)}function a7(t,i,e,n,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~i.index;s7(a)!=s&&a.push(s),a.push(e,n,o)}}function s7(t){let i=t.length;for(;i>0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function l7(t,i,e){if(e){if(i.exportAs)for(let n=0;n<i.exportAs.length;n++)e[i.exportAs[n]]=t;Ka(i)&&(e[""]=t)}}function c7(t,i,e){t.flags|=1,t.directiveStart=i,t.directiveEnd=i+e,t.providerIndexes=i}function BT(t,i,e,n,r,o,a,s){let d=i[st],p=d.consts,f=Wo(p,a),b=Eu(d,t,e,n,f);return o&&gP(d,i,b,Wo(p,s),r),b.mergedAttrs=Jm(b.mergedAttrs,b.attrs),b.attrs!==null&&$v(b,b.attrs,!1),b.mergedAttrs!==null&&$v(b,b.mergedAttrs,!0),d.queries!==null&&d.queries.elementStart(d,b),b}function VT(t,i){ZO(t,i),Gx(i)&&t.queries.elementEnd(i)}function d7(t,i,e,n,r,o){let a=i.consts,s=Wo(a,r),d=Eu(i,t,e,n,s);if(d.mergedAttrs=Jm(d.mergedAttrs,d.attrs),o!=null){let p=Wo(a,o);d.localNames=[];for(let f=0;f<p.length;f+=2)d.localNames.push(p[f],-1)}return d.attrs!==null&&$v(d,d.attrs,!1),d.mergedAttrs!==null&&$v(d,d.mergedAttrs,!0),i.queries!==null&&i.queries.elementStart(i,d),d}function jT(t){return vP(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function bP(t,i){if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else{let e=t[Symbol.iterator](),n;for(;!(n=e.next()).done;)i(n.value)}}function vP(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function b0(t,i,e){return t[i]=e}function oo(t,i,e){if(e===Zi)return!1;let n=t[i];return Object.is(n,e)?!1:(t[i]=e,!0)}function qf(t,i,e,n){let r=oo(t,i,e);return oo(t,i+1,n)||r}function yP(t,i,e,n,r){let o=qf(t,i,e,n);return oo(t,i+2,r)||o}function CP(t,i,e,n,r,o){let a=qf(t,i,e,n);return qf(t,i+2,r,o)||a}function Bv(t,i,e){return function n(r){let o=n.__ngNativeEl__;o!==void 0&&i$(r,o);let a=As(t)?ga(t.index,i):i;LT(a,5);let s=i[Ti],d=kO(i,s,e,r),p=n.__ngNextListenerFn__;for(;p;)d=kO(i,s,p,r)&&d,p=p.__ngNextListenerFn__;return d}}function kO(t,i,e,n){let r=nt(null);try{return Hn(yn.OutputStart,i,e),e(n)!==!1}catch(o){return A6(t,o),!1}finally{Hn(yn.OutputEnd,i,e),nt(r)}}function DP(t,i,e,n,r,o,a,s){let d=$m(t),p=!1,f=null;if(!n&&d&&(f=m7(i,e,o,t.index)),f!==null){let b=f.__ngLastListenerFn__||f;b.__ngNextListenerFn__=a,f.__ngLastListenerFn__=a,p=!0}else{let b=Go(t,e),w=n?n(b):b;o$(e,w,o,s),n||(s.__ngNativeEl__=b);let A=r.listen(w,o,s);if(!u7(o)){let M=n?J=>n(fa(J[t.index])):t.index;EP(M,i,e,o,s,A,!1)}}return p}function u7(t){return t.startsWith("animation")||t.startsWith("transition")}function m7(t,i,e,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===e&&r[o+1]===n){let s=i[Gm],d=r[o+2];return s&&s.length>d?s[d]:null}
vendor: 11,740 bytes, line 4
4typeof a=="string"&&(o+=2)}return null}function EP(t,i,e,n,r,o,a){let s=i.firstCreatePass?Zx(i):null,d=Xx(e),p=d.length;d.push(r,o),s&&s.push(n,t,p,(p+1)*(a?-1:1))}function RO(t,i,e,n,r,o){let a=i[e],s=i[st],p=s.data[e].outputs[n],b=a[p].subscribe(o);EP(t.index,s,i,r,o,b,!0)}var $S=Symbol("BINDING");function wP(t){return t.debugInfo?.className||t.type.name||null}var qv=class extends Bl{ngModule;constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){let e=Ts(i);return new zc(e,this.ngModule)}};function p7(t){return Object.keys(t).map(i=>{let[e,n,r]=t[i],o={propName:e,templateName:i,isSignal:(n&c0.SignalBased)!==0};return r&&(o.transform=r),o})}function h7(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function f7(t,i,e){let n=i instanceof _n?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new WS(e,n):e}function g7(t){let i=t.get(fi,null);if(i===null)throw new ce(407,!1);let e=t.get(fP,null),n=t.get(Ga,null),r=t.get(Qa,null,{optional:!0});return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n,ngReflect:!1,tracingService:r}}function _7(t,i){let e=xP(t);return AF(i,e,e==="svg"?Df:e==="math"?Wx:null)}function b7(t){if(t?.toLowerCase()==="script")throw new ce(905,!1)}function xP(t){return(t.selectors[0][0]||"div").toLowerCase()}var zc=class extends _0{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=p7(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=h7(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=X$(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,r,o,a){Hn(yn.DynamicComponentStart);let s=nt(null);try{let d=this.componentDef,p=f7(d,r||this.ngModule,i),f=g7(p),b=f.tracingService;return b&&b.componentCreate?b.componentCreate(wP(d),()=>this.createComponentRef(f,p,e,n,o,a)):this.createComponentRef(f,p,e,n,o,a)}finally{nt(s)}}createComponentRef(i,e,n,r,o,a){let s=this.componentDef,d=v7(r,s,a,o),p=i.rendererFactory.createRenderer(null,s),f=r?y6(p,r,s.encapsulation,e):_7(s,p);b7(f?.tagName);let b=a?.some(MO)||o?.some(M=>typeof M!="function"&&M.bindings.some(MO)),w=xT(null,d,null,512|VF(s),null,null,i,p,e,null,yF(f,e,!0));w[Nn]=f,wv(w);let A=null;try{let M=BT(Nn,w,2,"#host",()=>d.directiveRegistry,!0,0);MF(p,f,M),ep(f,w),h0(d,w,M),fT(d,M,w),VT(d,M),n!==void 0&&C7(M,this.ngContentSelectors,n),A=ga(M.index,w),w[Ti]=A[Ti],PT(d,w,null)}catch(M){throw A!==null&&AS(A),AS(w),M}finally{Hn(yn.DynamicComponentEnd),xv()}return new Yv(this.componentType,w,!!b)}};function v7(t,i,e,n){let r=t?["ng-version","21.2.24"]:Z$(i.selectors[0]),o=null,a=null,s=0;if(e)for(let f of e)s+=f[$S].requiredVars,f.create&&(f.targetIdx=0,(o??=[]).push(f)),f.update&&(f.targetIdx=0,(a??=[]).push(f));if(n)for(let f=0;f<n.length;f++){let b=n[f];if(typeof b!="function")for(let w of b.bindings){s+=w[$S].requiredVars;let A=f+1;w.create&&(w.targetIdx=A,(o??=[]).push(w)),w.update&&(w.targetIdx=A,(a??=[]).push(w))}}let d=[i];if(n)for(let f of n){let b=typeof f=="function"?f:f.type,w=uv(b);d.push(w)}return wT(0,null,y7(o,a),1,s,d,null,null,null,[r],null)}function y7(t,i){return!t&&!i?null:e=>{if(e&1&&t)for(let n of t)n.create();if(e&2&&i)for(let n of i)n.update()}}function MO(t){let i=t[$S].kind;return i==="input"||i==="twoWay"}var Yv=class extends hP{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=_v(e[st],Nn),this.location=op(this._tNode,e),this.instance=ga(this._tNode.index,e)[Ti],this.hostView=this.changeDetectorRef=new Uc(e,void 0),this.componentType=i}setInput(i,e){this._hasInputBindings;let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;let r=this._rootLView,o=f0(n,r[st],r,i,e);this.previousInputValues.set(i,e);let a=ga(n.index,r);LT(a,1)}get injector(){return new _u(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function C7(t,i,e){let n=t.projection=[];for(let r=0;r<i.length;r++){let o=e[r];n.push(o!=null&&o.length?Array.from(o):null)}}var Pt=(()=>{class t{static __NG_ELEMENT_ID__=D7}return t})();function D7(){let t=Ki();return SP(t,Oe())}var qS=class t extends Pt{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return op(this._hostTNode,this._hostLView)}get injector(){return new _u(this._hostTNode,this._hostLView)}get parentInjector(){let i=uT(this._hostTNode,this._hostLView);if(eF(i)){let e=Hv(i,this._hostLView),n=jv(i),r=e[st].data[n+8];return new _u(r,e)}else return new _u(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=NO(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-Ci}createEmbeddedView(i,e,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let a=Wv(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,tp(this._hostTNode,a)),s}createComponent(i,e,n,r,o,a,s){let d=i&&!M8(i),p;if(d)p=e;else{let j=e||{};p=j.index,n=j.injector,r=j.projectableNodes,o=j.environmentInjector||j.ngModuleRef,a=j.directives,s=j.bindings}let f=d?i:new zc(Ts(i)),b=n||this.parentInjector;if(!o&&f.ngModule==null){let K=(d?b:this.parentInjector).get(_n,null);K&&(o=K)}let w=Ts(f.componentType??{}),A=Wv(this._lContainer,w?.id??null),M=A?.firstChild??null,J=f.create(b,r,M,o,a,s);return this.insertImpl(J.hostView,p,tp(this._hostTNode,A)),J}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let r=i._lView;if(VN(r)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let d=r[qi],p=new t(d,d[to],d[qi]);p.detach(p.indexOf(i))}}let o=this._adjustIndex(e),a=this._lContainer;return rg(a,r,o,n),i.attachToViewContainerRef(),Ox(bS(a),o,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=NO(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=$f(this._lContainer,e);n&&(kf(bS(this._lContainer),e),m0(n[st],n))}detach(i){let e=this._adjustIndex(i,-1),n=$f(this._lContainer,e);return n&&kf(bS(this._lContainer),e)!=null?new Uc(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function NO(t){return t[Nf]}function bS(t){return t[Nf]||(t[Nf]=[])}function SP(t,i){let e,n=i[t.index];return Ya(n)?e=n:(e=cP(n,i,null,t),i[t.index]=e,ST(i,e)),w7(e,i,t,n),new qS(e,t,i)}function E7(t,i){let e=t[Mn],n=e.createComment(""),r=Go(i,t),o=e.parentNode(r);return Gv(e,o,n,e.nextSibling(r),!1),n}var w7=T7,x7=()=>!1;function S7(t,i,e){return x7(t,i,e)}function T7(t,i,e,n){if(t[Vc])return;let r;e.type&8?r=fa(n):r=E7(i,e),t[Vc]=r}var YS=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},KS=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,r=[];for(let o=0;o<n;o++){let a=e.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(i){this.dirtyQueriesWithMatches(i)}detachView(i){this.dirtyQueriesWithMatches(i)}finishViewCreation(i){this.dirtyQueriesWithMatches(i)}dirtyQueriesWithMatches(i){for(let e=0;e<this.queries.length;e++)UT(i,e).matches!==null&&this.queries[e].setDirty()}},Kv=class{flags;read;predicate;constructor(i,e,n=null){this.flags=e,this.read=n,typeof i=="string"?this.predicate=M7(i):this.predicate=i}},XS=class t{queries;constructor(i=[]){this.queries=i}elementStart(i,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(i,e)}elementEnd(i){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(i)}embeddedTView(i){let e=null;for(let n=0;n<this.length;n++){let r=e!==null?e.length:0,o=this.getByIndex(n).embeddedTView(i,r);o&&(o.indexInDeclarationView=n,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(i,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(i,e)}getByIndex(i){return this.queries[i]}get length(){return this.queries.length}track(i){this.queries.push(i)}},ZS=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(i,e=-1){this.metadata=i,this._declarationNodeIndex=e}elementStart(i,e){this.isApplyingToNode(e)&&this.matchTNode(i,e)}elementEnd(i){this._declarationNodeIndex===i.index&&(this._appliesToNextNode=!1)}template(i,e){this.elementStart(i,e)}embeddedTView(i,e){return this.isApplyingToNode(i)?(this.crossesNgTemplate=!0,this.addMatch(-i.index,e),new t(this.metadata)):null}isApplyingToNode(i){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,n=i.parent;for(;n!==null&&n.type&8&&n.index!==e;)n=n.parent;return e===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(i,e){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(i,e,I7(e,o)),this.matchTNodeWithReadOption(i,e,Pv(e,i,o,!1,!1))}else n===Zt?e.type&4&&this.matchTNodeWithReadOption(i,e,-1):this.matchTNodeWithReadOption(i,e,Pv(e,i,n,!1,!1))}matchTNodeWithReadOption(i,e,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===Q||r===Pt||r===Zt&&e.type&4)this.addMatch(e.index,-2);else{let o=Pv(e,i,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,n)}}addMatch(i,e){this.matches===null?this.matches=[i,e]:this.matches.push(i,e)}};function I7(t,i){let e=t.localNames;if(e!==null){for(let n=0;n<e.length;n+=2)if(e[n]===i)return e[n+1]}return null}function A7(t,i){return t.type&11?op(t,i):t.type&4?g0(t,i):null}function k7(t,i,e,n){return e===-1?A7(i,t):e===-2?R7(t,i,n):zf(t,t[st],e,i)}function R7(t,i,e){if(e===Q)return op(i,t);if(e===Zt)return g0(i,t);if(e===Pt)return SP(i,t)}function TP(t,i,e,n){let r=i[Is].queries[n];if(r.matches===null){let o=t.data,a=e.matches,s=[];for(let d=0;a!==null&&d<a.length;d+=2){let p=a[d];if(p<0)s.push(null);else{let f=o[p];s.push(k7(i,f,a[d+1],e.metadata.read))}}r.matches=s}return r.matches}function QS(t,i,e,n){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=TP(t,i,r,e);for(let s=0;s<o.length;s+=2){let d=o[s];if(d>0)n.push(a[s/2]);else{let p=o[s+1],f=i[-d];for(let b=Ci;b<f.length;b++){let w=f[b];w[Lc]===w[qi]&&QS(w[st],w,p,n)}if(f[du]!==null){let b=f[du];for(let w=0;w<b.length;w++){let A=b[w];QS(A[st],A,p,n)}}}}}return n}function HT(t,i){return t[Is].queries[i].queryList}function IP(t,i,e){let n=new ro((e&4)===4);return UN(t,i,n,n.destroy),(i[Is]??=new KS).queries.push(new YS(n))-1}function AP(t,i,e){let n=On();return n.firstCreatePass&&(RP(n,new Kv(t,i,e),-1),(i&2)===2&&(n.staticViewQueries=!0)),IP(n,Oe(),i)}function kP(t,i,e,n){let r=On();if(r.firstCreatePass){let o=Ki();RP(r,new Kv(i,e,n),o.index),N7(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return IP(r,Oe(),e)}function M7(t){return t.split(",").map(i=>i.trim())}function RP(t,i,e){t.queries===null&&(t.queries=new XS),t.queries.track(new ZS(i,e))}function N7(t,i){let e=t.contentQueries||(t.contentQueries=[]),n=e.length?e[e.length-1]:-1;i!==n&&e.push(t.queries.length-1,i)}function UT(t,i){return t.queries.getByIndex(i)}function MP(t,i){let e=t[st],n=UT(e,i);return n.crossesNgTemplate?QS(e,t,i,[]):TP(e,t,n,i)}function zT(t,i,e){let n,r=df(()=>{n._dirtyCounter();let o=O7(n,t);if(i&&o===void 0)throw new ce(-951,!1);return o}
4);return n=r[yi],n._dirtyCounter=Z(0),n._flatValue=void 0,r}function GT(t){return zT(!0,!1,t)}function WT(t){return zT(!0,!0,t)}function NP(t){return zT(!1,!1,t)}function OP(t,i){let e=t[yi];e._lView=Oe(),e._queryIndex=i,e._queryList=HT(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function O7(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[vt]&4)return i?void 0:Pr;let r=HT(e,n),o=MP(e,n);return r.reset(o,cF),i?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var JS=new Map,F7=new Set;function $T(t){return Rn(this,null,function*(){let i=JS;JS=new Map;let e=new Map;function n(o){let a=e.get(o);if(a)return a;let s=t(o).then(d=>P7(o,d));return e.set(o,s),s}let r=Array.from(i).map(s=>Rn(null,[s],function*([o,a]){if(a.styleUrl&&a.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");let d=[];a.templateUrl&&d.push(n(a.templateUrl).then(w=>{a.template=w}));let p=typeof a.styles=="string"?[a.styles]:a.styles??[];a.styles=p;let{styleUrl:f,styleUrls:b}=a;if(f&&(b=[f],a.styleUrl=void 0),b?.length){let w=Promise.all(b.map(A=>n(A))).then(A=>{p.push(...A),a.styleUrls=void 0});d.push(w)}yield Promise.all(d),F7.delete(o)}));yield Promise.all(r)})}function FP(){return JS.size===0}function P7(t,i){return Rn(this,null,function*(){if(typeof i=="string")return i;if(i.status!==void 0&&i.status!==200)throw new ce(918,!1);return i.text()})}var Os=class{},v0=class{};var Yf=class extends Os{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new qv(this);constructor(i,e,n,r=!0){super(),this.ngModuleType=i,this._parent=e;let o=kx(i);this._bootstrapComponents=PF(o.bootstrap),this._r3Injector=dS(i,e,[{provide:Os,useValue:this},{provide:Bl,useValue:this.componentFactoryResolver},...n],Sf(i),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},Kf=class extends v0{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new Yf(this.moduleType,i,[])}};function PP(t,i,e){return new Yf(t,i,e,!1)}var Xv=class extends Os{injector;componentFactoryResolver=new qv(this);instance=null;constructor(i){super();let e=new ru([...i.providers,{provide:Os,useValue:this},{provide:Bl,useValue:this.componentFactoryResolver}],i.parent||zm(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function ap(t,i,e=null){return new Xv({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var L7=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=Lx(!1,e.type),r=n.length>0?ap([n],this._injector,""):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=D({token:t,providedIn:"environment",factory:()=>new t(F(_n))})}return t})();function k(t){return Zf(()=>{let i=BP(t),e=Ae(P({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===mT.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?r=>r.get(L7).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Za.Emulated,styles:t.styles||Pr,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&Yo("NgStandalone"),VP(e);let n=t.dependencies;return e.directiveDefs=Zv(n,LP),e.pipeDefs=Zv(n,Rx),e.id=j7(e),e})}function LP(t){return Ts(t)||uv(t)}function X(t){return Zf(()=>({type:t.type,bootstrap:t.bootstrap||Pr,declarations:t.declarations||Pr,imports:t.imports||Pr,exports:t.exports||Pr,transitiveCompileScopes:null,
vendor: 4,255 bytes, line 4
4schemas:t.schemas||null,id:t.id||null}))}function B7(t,i){if(t==null)return Wa;let e={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,a,s,d;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,d=r[3]||null):(o=r,a=r,s=c0.None,d=null),e[o]=[n,s,d],i[o]=a}return e}function V7(t){if(t==null)return Wa;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function N(t){return Zf(()=>{let i=BP(t);return VP(i),i})}function pe(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 BP(t){let i={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputConfig:t.inputs||Wa,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Pr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:B7(t.inputs,i),outputs:V7(t.outputs),debugInfo:null}}function VP(t){t.features?.forEach(i=>i(t))}function Zv(t,i){return t?()=>{let e=typeof t=="function"?t():t,n=[];for(let r of e){let o=i(r);o!==null&&n.push(o)}return n}:null}function j7(t){let i=0,e=typeof t.consts=="function"?"":t.consts,n=[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 n.join("|"))i=Math.imul(31,i)+o.charCodeAt(0)<<0;return i+=2147483648,"c"+i}function qT(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=H7,e.hostDirectives=n?t.map(eT):[t]):n?e.hostDirectives.unshift(...t.map(eT)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function H7(t){let i=[],e=!1,n=null,r=null;for(let o=0;o<t.length;o++){let a=t[o];if(a.hostDirectives!==null){let s=i.length;n??=new Map,r??=new Map,jP(a,i,n),r.set(a,[s,i.length-1])}o===0&&Ka(a)&&(e=!0,i.push(a))}for(let o=e?1:0;o<t.length;o++)i.push(t[o]);return[i,n,r]}function jP(t,i,e){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let r=n();for(let o of r)OO(eT(o),i,e)}else OO(n,i,e)}function OO(t,i,e){let n=uv(t.directive);U7(n.declaredInputs,t.inputs),jP(n,i,e),e.set(n,t),i.push(n)}function eT(t){return typeof t=="function"?{directive:$i(t),inputs:Wa,outputs:Wa}:{directive:$i(t.directive),inputs:FO(t.inputs),outputs:FO(t.outputs)}}function FO(t){if(t===void 0||t.length===0)return Wa;let i={};for(let e=0;e<t.length;e+=2)i[t[e]]=t[e+1];return i}function U7(t,i){for(let e in i)if(i.hasOwnProperty(e)){let n=i[e],r=t[e];t[n]=r}}function z7(t){return Object.getPrototypeOf(t.prototype).constructor}function he(t){let i=z7(t.type),e=!0,n=[t];for(;i&&i!==Function.prototype&&i!==Object.prototype;){let r,o=Object.hasOwn(i,If)?i[If]:void 0,a=Object.hasOwn(i,Af)?i[Af]:void 0;if(Ka(t))r=o??a;else{if(o)throw new ce(903,!1);r=a}if(r){if(e){n.push(r);let d=t;d.inputs=vS(t.inputs),d.declaredInputs=vS(t.declaredInputs),d.outputs=vS(t.outputs);let p=r.hostBindings;p&&Y7(t,p);let f=r.viewQuery,b=r.contentQueries;if(f&&$7(t,f),b&&q7(t,b),G7(t,r),EN(t.outputs,r.outputs),Ka(r)&&r.data.animation){let w=t.data;w.animation=(w.animation||[]).concat(r.data.animation)}}let s=r.features;if(s)for(let d=0;d<s.length;d++){let p=s[d];p&&p.ngInherit&&p(t),p===he&&(e=!1)}}i=Object.getPrototypeOf(i)}W7(n)}function G7(t,i){for(let e in i.inputs){if(!i.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let n=i.inputs[e];n!==void 0&&(t.inputs[e]=n,t.declaredInputs[e]=i.declaredInputs[e])}}function W7(t){let i=0,e=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=i+=r.hostVars,r.hostAttrs=Jm(r.hostAttrs,e=Jm(e,r.hostAttrs))}}function vS(t){return t===Wa?{}:t===Pr?[]:t}function $7(t,i){let e=t.viewQuery;e?t.viewQuery=(n,r)=>{i(n,r),e(n,r)}:t.viewQuery=i}function q7(t,i){let e=t.contentQueries;e?t.contentQueries=(n,r,o)=>{i(n,r,o),e(n,r,o)}:t.contentQueries=i}function Y7(t,i){let e=t.hostBindings;e?t.hostBindings=(n,r)=>{i(n,r),e(n,r)}:t.hostBindings=i}
vendor: 4,310 bytes, line 4
4function HP(t,i,e,n,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=Jm(t.mergedAttrs,t.attrs);let f=t.tView=wT(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),f.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),hu(t,!1);let d=X7(e,i,t,n);Sv()&&RT(e,i,d,t),ep(d,i);let p=cP(d,i,d,t);i[n+Nn]=p,ST(i,p),S7(p,t,i)}function K7(t,i,e,n,r,o,a,s,d,p,f){let b=e+Nn,w;return i.firstCreatePass?(w=Eu(i,b,4,a||null,s||null),yv()&&gP(i,t,w,Wo(i.consts,p),NT),ZO(i,w)):w=i.data[b],HP(w,t,i,e,n,r,o,d),$m(w)&&h0(i,t,w),p!=null&&ng(t,w,f),w}function np(t,i,e,n,r,o,a,s,d,p,f){let b=e+Nn,w;if(i.firstCreatePass){if(w=Eu(i,b,4,a||null,s||null),p!=null){let A=Wo(i.consts,p);w.localNames=[];for(let M=0;M<A.length;M+=2)w.localNames.push(A[M],-1)}}else w=i.data[b];return HP(w,t,i,e,n,r,o,d),p!=null&&ng(t,w,f),w}function fe(t,i,e,n,r,o,a,s){let d=Oe(),p=On(),f=Wo(p.consts,o);return K7(d,p,t,i,e,n,r,f,void 0,a,s),fe}function Wc(t,i,e,n,r,o,a,s){let d=Oe(),p=On(),f=Wo(p.consts,o);return np(d,p,t,i,e,n,r,f,void 0,a,s),Wc}var X7=Z7;function Z7(t,i,e,n){return Lf(!0),i[Mn].createComment("")}var y0=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Ps(t){return typeof t=="function"&&t[yi]!==void 0}function YT(t){return Ps(t)&&typeof t.set=="function"}var C0=new R(""),D0=new R(""),og=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,n,r){this._ngZone=e,this.registry=n,jx()&&(this._destroyRef=m(dn,{optional:!0})??void 0),KT||(zP(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),n=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),n.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>n.updateCb&&n.updateCb(e)?(clearTimeout(n.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,r){let o=-1;n&&n>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e()},n)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,n,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}static \u0275fac=function(n){return new(n||t)(F(le),F(UP),F(D0))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),UP=(()=>{class t{_applications=new Map;registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return KT?.findTestabilityInTree(this,e,n)??null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function zP(t){KT=t}var KT;function Vl(t){return!!t&&typeof t.then=="function"}function E0(t){return!!t&&typeof t.subscribe=="function"}var XT=new R("");function w0(t){return Pc([{provide:XT,multi:!0,useValue:t}])}var ZT=(()=>{class t{resolve;reject;initialized=!1;done=!1;
vendor: 9,357 bytes, line 4
4donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=m(XT,{optional:!0})??[];injector=m(ie);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Yi(this.injector,r);if(Vl(o))e.push(o);else if(E0(o)){let a=new Promise((s,d)=>{o.subscribe({complete:s,error:d})});e.push(a)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),e.length===0&&n(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),x0=new R("");function GP(){Uw(()=>{let t="";throw new ce(600,t)})}function WP(t){return t.isBoundToModule}var Q7=10;function QT(t,i){return Array.isArray(i)?i.reduce(QT,t):P(P({},t),i)}var Qi=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(Eo);afterRenderManager=m(u0);zonelessEnabled=m(Xm);rootEffectScheduler=m(Iv);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new O;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m(Rs);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe($(e=>!e))}constructor(){m(Qa,{optional:!0})}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:r=>{r&&n()}})}).finally(()=>{e.unsubscribe()})}_injector=m(_n);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,n){return this.bootstrapImpl(e,n)}bootstrapImpl(e,n,r=ie.NULL){return this._injector.get(le).run(()=>{Hn(yn.BootstrapComponentStart);let a=e instanceof _0;if(!this._injector.get(ZT).done){let M="";throw new ce(405,M)}let d;a?d=e:d=this._injector.get(Bl).resolveComponentFactory(e),this.componentTypes.push(d.componentType);let p=WP(d)?void 0:this._injector.get(Os),f=n||d.selector,b=d.create(r,[],f,p),w=b.location.nativeElement,A=b.injector.get(C0,null);return A?.registerApplication(w),b.onDestroy(()=>{this.detachView(b.hostView),Uf(this.components,b),A?.unregisterApplication(w)}),this._loadComponent(b),Hn(yn.BootstrapComponentEnd,b),b})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Hn(yn.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(d0.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Hn(yn.ChangeDetectionEnd),new ce(101,!1);let e=nt(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,nt(e),this.afterTick.next(),Hn(yn.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(fi,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<Q7;){Hn(yn.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Hn(yn.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!n&&!Ff(r))continue;let o=n&&!this.zonelessEnabled?0:1;oP(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})=>Ff(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){let n=e;Uf(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(x0,[]).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),()=>Uf(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ce(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Uf(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function ag(t,i){let e=Oe(),n=ks();if(oo(e,n,i)){let r=On(),o=fu();if(f0(o,r,e,t,i))As(o)&&QF(e,o.index);else{let s=Go(o,e);JF(e[Mn],s,null,o.value,t,i,null)}}return ag}function oe(t,i,e,n){let r=Oe(),o=ks();if(oo(r,o,i)){let a=On(),s=fu();T6(s,r,t,i,e,n)}return oe}var tT=class{destroy(i){}updateValue(i,e){}swap(i,e){let n=Math.min(i,e),r=Math.max(i,e),o=this.detach(r);if(r-n>1){let a=this.detach(n);this.attach(n,o),this.attach(r,a)}else this.attach(n,o)}move(i,e){this.attach(e,this.detach(i))}};function yS(t,i,e,n,r){return t===e&&Object.is(i,n)?1:Object.is(r(t,i),r(e,n))?-1:0}function J7(t,i,e,n){let r,o,a=0,s=t.length-1,d=void 0;if(Array.isArray(i)){nt(n);let p=i.length-1;for(nt(null);a<=s&&a<=p;){let f=t.at(a),b=i[a],w=yS(a,f,a,b,e);if(w!==0){w<0&&t.updateValue(a,b),a++;continue}let A=t.at(s),M=i[p],J=yS(s,A,p,M,e);if(J!==0){J<0&&t.updateValue(s,M),s--,p--;continue}let j=e(a,f),K=e(s,A),Te=e(a,b);if(Object.is(Te,K)){let tn=e(p,M);Object.is(tn,j)?(t.swap(a,s),t.updateValue(s,M),p--,s--):t.move(s,a),t.updateValue(a,b),a++;continue}if(r??=new Qv,o??=LO(t,a,s,e),nT(t,r,a,Te))t.updateValue(a,b),a++,s++;else if(o.has(Te))r.set(j,t.detach(a)),s--;else{let tn=t.create(a,i[a]);t.attach(a,tn),a++,s++}}for(;a<=p;)PO(t,r,e,a,i[a]),a++}else if(i!=null){nt(n);let p=i[Symbol.iterator]();nt(null);let f=p.next();for(;!f.done&&a<=s;){let b=t.at(a),w=f.value,A=yS(a,b,a,w,e);if(A!==0)A<0&&t.updateValue(a,w),a++,f=p.next();else{r??=new Qv,o??=LO(t,a,s,e);let M=e(a,w);if(nT(t,r,a,M))t.updateValue(a,w),a++,s++,f=p.next();else if(!o.has(M))t.attach(a,t.create(a,w)),a++,s++,f=p.next();else{let J=e(a,b);r.set(J,t.detach(a)),s--}}}for(;!f.done;)PO(t,r,e,t.length,f.value),f=p.next()}for(;a<=s;)t.destroy(t.detach(s--));r?.forEach(p=>{t.destroy(p)})}function nT(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function PO(t,i,e,n,r){if(nT(t,i,n,e(n,r)))t.updateValue(n,r);else{let o=t.create(n,r);t.attach(n,o)}}function LO(t,i,e,n){let r=new Set;for(let o=i;o<=e;o++)r.add(n(o,t.at(o)));return r}var Qv=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let n=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,n]of this.kvMap)if(i(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),i(n,e)}}};function v(t,i,e,n,r,o,a,s){Yo("NgControlFlow");let d=Oe(),p=On(),f=Wo(p.consts,o);return np(d,p,t,i,e,n,r,f,256,a,s),JT}function JT(t,i,e,n,r,o,a,s){Yo("NgControlFlow");let d=Oe(),p=On(),f=Wo(p.consts,o);return np(d,p,t,i,e,n,r,f,512,a,s),JT}function y(t,i){Yo("NgControlFlow");let e=Oe(),n=ks(),r=e[n]!==Zi?e[n]:-1,o=r!==-1?Jv(e,Nn+r):void 0,a=0;if(oo(e,n,t)){let s=nt(null);try{if(o!==void 0&&uP(o,a),t!==-1){let d=Nn+t,p=Jv(e,d),f=aT(e[st],d),b=pP(p,f,e),w=ig(e,f,i,{dehydratedView:b});rg(p,w,a,tp(f,b))}}finally{nt(s)}}else if(o!==void 0){let s=dP(o,a);s!==void 0&&(s[Ti]=i)}}var iT=class{lContainer;$implicit;$index;constructor(i,e,n){this.lContainer=i,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-Ci}};function $P(t){return t}function at(t,i){return i}var rT=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function He(t,i,e,n,r,o,a,s,d,p,f,b,w){Yo("NgControlFlow");let A=Oe(),M=On(),J=d!==void 0,j=Oe(),K=s?a.bind(j[no][Ti]):a,Te=new rT(J,K);j[Nn+t]=Te,np(A,M,t+1,i,e,n,r,Wo(M.consts,o),256),J&&np(A,M,t+2,d,p,f,b,Wo(M.consts,w),512)}var oT=class extends tT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,n){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-Ci}at(i){return this.getLView(i)[Ti].$implicit}attach(i,e){let n=e[au];this.needsIndexUpdate||=i!==this.length,rg(this.lContainer,e,i,tp(this.templateTNode,n)),e9(this.lContainer,i)}detach(i){return this.needsIndexUpdate||=i!==this.length-1,t9(this.lContainer,i),n9(this.lContainer,i)}create(i,e){let n=Wv(this.lContainer,this.templateTNode.tView.ssrId);return ig(this.hostLView,this.templateTNode,new iT(this.lContainer,e,i),{dehydratedView:n})}destroy(i){m0(i[st],i)}updateValue(i,e){this.getLView(i)[Ti].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i<this.length;i++)this.getLView(i)[Ti].$index=i}getLView(i){return i9(this.lContainer,i)}};function Ue(t){let i=nt(null),e=Do();
4try{let n=Oe(),r=n[st],o=n[e],a=e+1,s=Jv(n,a);if(o.liveCollection===void 0){let p=aT(r,a);o.liveCollection=new oT(s,n,p)}else o.liveCollection.reset();let d=o.liveCollection;if(J7(d,t,o.trackByFn,i),d.updateIndexes(),o.hasEmptyBlock){let p=ks(),f=d.length===0;if(oo(n,p,f)){let b=e+2,w=Jv(n,b);if(f){let A=aT(r,b),M=pP(w,A,n),J=ig(n,A,void 0,{dehydratedView:M});rg(w,J,0,tp(A,M))}else r.firstUpdatePass&&X6(w),uP(w,0)}}}finally{nt(i)}}function Jv(t,i){return t[i]}function e9(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e],r=n?n[Bc]:void 0;if(n&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=n[Ml];a6(o,r),vu.delete(n[Nl]),r.detachedLeaveAnimationFns=void 0}}function t9(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e],r=n?n[Bc]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function n9(t,i){return $f(t,i)}function i9(t,i){return dP(t,i)}function aT(t,i){return _v(t,i)}function g(t,i,e){let n=Oe(),r=ks();if(oo(n,r,i)){let o=On(),a=fu();XF(a,n,t,i,n[Mn],e)}return g}function sT(t,i,e,n,r){f0(i,t,e,r?"class":"style",n)}function u(t,i,e,n){let r=Oe(),o=r[st],a=t+Nn,s=o.firstCreatePass?BT(a,r,2,i,NT,yv(),e,n):o.data[a];if(As(s)){let d=r[qa].tracingService;if(d&&d.componentCreate){let p=o.data[s.directiveStart+s.componentOffset];return d.componentCreate(wP(p),()=>(BO(t,i,r,s,n),u))}}return BO(t,i,r,s,n),u}function BO(t,i,e,n,r){if(OT(n,e,t,i,qP),$m(n)){let o=e[st];h0(o,e,n),fT(o,n,e)}r!=null&&ng(e,n)}function c(){let t=On(),i=Ki(),e=FT(i);return t.firstCreatePass&&VT(t,e),eS(e)&&tS(),Qx(),e.classesWithoutHost!=null&&B8(e)&&sT(t,e,Oe(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&V8(e)&&sT(t,e,Oe(),e.stylesWithoutHost,!1),c}function x(t,i,e,n){return u(t,i,e,n),c(),x}function ft(t,i,e,n){let r=Oe(),o=r[st],a=t+Nn,s=o.firstCreatePass?d7(a,o,2,i,e,n):o.data[a];return OT(s,r,t,i,qP),n!=null&&ng(r,s),ft}function _t(){let t=Ki(),i=FT(t);return eS(i)&&tS(),Qx(),_t}function gi(t,i,e,n){return ft(t,i,e,n),_t(),gi}var qP=(t,i,e,n,r)=>(Lf(!0),AF(i[Mn],n,cS()));function Cn(t,i,e){let n=Oe(),r=n[st],o=t+Nn,a=r.firstCreatePass?BT(o,n,8,"ng-container",NT,yv(),i,e):r.data[o];if(OT(a,n,t,"ng-container",r9),$m(a)){let s=n[st];h0(s,n,a),fT(s,a,n)}return e!=null&&ng(n,a),Cn}function Dn(){let t=On(),i=Ki(),e=FT(i);return t.firstCreatePass&&VT(t,e),Dn}function Di(t,i,e){return Cn(t,i,e),Dn(),Di}var r9=(t,i,e,n,r)=>(Lf(!0),N$(i[Mn],""));function Se(){return Oe()}function An(t,i,e){let n=Oe(),r=ks();if(oo(n,r,i)){let o=On(),a=fu();ZF(a,n,t,i,n[Mn],e)}return An}var Vf=void 0;function o9(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var a9=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Vf,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Vf,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Vf,Vf,Vf],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",o9],CS=Object.create(null);function Ko(t){let i=s9(t),e=VO(i);if(e)return e;let n=i.split("-")[0];if(e=VO(n),e)return e;if(n==="en")return a9;throw new ce(701,!1)}function VO(t){if(!(t in CS)){let i=Fi.ng&&Fi.ng.common&&Fi.ng.common.locales&&Fi.ng.common.locales[t];return i!==void 0&&(CS[t]=i),i}return CS[t]}var Ii=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(Ii||{});function s9(t){return t.toLowerCase().replace(/_/g,"-")}var sg="en-US";var l9=sg;function YP(t){typeof t=="string"&&(l9=t.toLowerCase().replace(/_/g,"-"))}
vendor: 8,522 bytes, line 4
4function T(t,i,e){let n=Oe(),r=On(),o=Ki();return KP(r,n,n[Mn],o,t,i,e),T}function Ls(t,i,e){let n=Oe(),r=On(),o=Ki();return(o.type&3||e)&&DP(o,r,n,e,n[Mn],t,i,Bv(o,n,i)),Ls}function KP(t,i,e,n,r,o,a){let s=!0,d=null;if((n.type&3||a)&&(d??=Bv(n,i,o),DP(n,t,i,a,e,r,o,d)&&(s=!1)),s){let p=n.outputs?.[r],f=n.hostDirectiveOutputs?.[r];if(f&&f.length)for(let b=0;b<f.length;b+=2){let w=f[b],A=f[b+1];d??=Bv(n,i,o),RO(n,i,w,A,r,d)}if(p&&p.length)for(let b of p)d??=Bv(n,i,o),RO(n,i,b,r,r,d)}}function _(t=1){return eO(t)}function c9(t,i){let e=null,n=W$(t);for(let r=0;r<i.length;r++){let o=i[r];if(o==="*"){e=r;continue}if(n===null?BF(t,o,!0):Y$(n,o))return r}return e}function Ie(t){let i=Oe()[no][to];if(!i.projection){let e=t?t.length:1,n=i.projection=AN(e,null),r=n.slice(),o=i.child;for(;o!==null;){if(o.type!==128){let a=t?c9(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:n[a]=o,r[a]=o)}o=o.next}}}function re(t,i=0,e,n,r,o){let a=Oe(),s=On(),d=n?t+1:null;d!==null&&np(a,s,d,n,r,o,null,e);let p=Eu(s,Nn+t,16,null,e||null);p.projection===null&&(p.projection=i),rS();let b=!a[au]||Jx();a[no][to].projection[p.projection]===null&&d!==null?d9(a,s,d):b&&!a0(p)&&_6(s,a,p)}function d9(t,i,e){let n=Nn+e,r=i.data[n],o=t[n],a=Wv(o,r.tView.ssrId),s=ig(t,r,void 0,{dehydratedView:a});rg(o,s,0,tp(r,a))}function Gt(t,i,e,n){return kP(t,i,e,n),Gt}function ve(t,i,e){return AP(t,i,e),ve}function H(t){let i=Oe(),e=On(),n=Ev();Pf(n+1);let r=UT(e,n);if(t.dirty&&BN(i)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=MP(i,n);t.reset(o,cF),t.notifyOnChanges()}return!0}return!1}function U(){return HT(Oe(),Ev())}function S0(t,i,e,n,r){return OP(i,kP(t,e,n,r)),S0}function $c(t,i,e,n){return OP(t,AP(i,e,n)),$c}function qc(t=1){Pf(Ev()+t)}function ye(t){let i=oS();return mu(i,Nn+t)}function Mv(t,i){return t<<17|i<<2}function yu(t){return t>>17&32767}function u9(t){return(t&2)==2}function m9(t,i){return t&131071|i<<17}function lT(t){return t|2}function ip(t){return(t&131068)>>2}function DS(t,i){return t&-131069|i<<2}function p9(t){return(t&1)===1}function cT(t){return t|1}function h9(t,i,e,n,r,o){let a=o?i.classBindings:i.styleBindings,s=yu(a),d=ip(a);t[n]=e;let p=!1,f;if(Array.isArray(e)){let b=e;f=b[1],(f===null||Um(b,f)>0)&&(p=!0)}else f=e;if(r)if(d!==0){let w=yu(t[s+1]);t[n+1]=Mv(w,s),w!==0&&(t[w+1]=DS(t[w+1],n)),t[s+1]=m9(t[s+1],n)}else t[n+1]=Mv(s,0),s!==0&&(t[s+1]=DS(t[s+1],n)),s=n;else t[n+1]=Mv(d,0),s===0?s=n:t[d+1]=DS(t[d+1],n),d=n;p&&(t[n+1]=lT(t[n+1])),jO(t,f,n,!0),jO(t,f,n,!1),f9(i,f,t,n,o),a=Mv(s,d),o?i.classBindings=a:i.styleBindings=a}function f9(t,i,e,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof i=="string"&&Um(o,i)>=0&&(e[n+1]=cT(e[n+1]))}function jO(t,i,e,n){let r=t[e+1],o=i===null,a=n?yu(r):ip(r),s=!1;for(;a!==0&&(s===!1||o);){let d=t[a],p=t[a+1];g9(d,i)&&(s=!0,t[a+1]=n?cT(p):lT(p)),a=n?yu(p):ip(p)}s&&(t[e+1]=n?lT(r):cT(r))}function g9(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?Um(t,i)>=0:!1}var Xi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function XP(t){return t.substring(Xi.key,Xi.keyEnd)}function _9(t){return t.substring(Xi.value,Xi.valueEnd)}function b9(t){return JP(t),ZP(t,rp(t,0,Xi.textEnd))}function ZP(t,i){let e=Xi.textEnd;return e===i?-1:(i=Xi.keyEnd=y9(t,Xi.key=i,e),rp(t,i,e))}function v9(t){return JP(t),QP(t,rp(t,0,Xi.textEnd))}function QP(t,i){let e=Xi.textEnd,n=Xi.key=rp(t,i,e);return e===n?-1:(n=Xi.keyEnd=C9(t,n,e),n=HO(t,n,e,58),n=Xi.value=rp(t,n,e),n=Xi.valueEnd=D9(t,n,e),HO(t,n,e,59))}function JP(t){Xi.key=0,Xi.keyEnd=0,Xi.value=0,Xi.valueEnd=0,Xi.textEnd=t.length}function rp(t,i,e){for(;i<e&&t.charCodeAt(i)<=32;)i++;return i}function y9(t,i,e){for(;i<e&&t.charCodeAt(i)>32;)i++;return i}function C9(t,i,e){let n;for(;i<e&&((n=t.charCodeAt(i))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)i++;return i}function HO(t,i,e,n){return i=rp(t,i,e),i<e&&i++,i}function D9(t,i,e){let n=-1,r=-1,o=-1,a=i,s=a;for(;a<e;){let d=t.charCodeAt(a++);if(d===59)return s;d===34||d===39?s=a=UO(t,d,a,e):i===a-4&&o===85&&r===82&&n===76&&d===40?s=a=UO(t,41,a,e):d>32&&(s=a),o=r,r=n,n=d&-33}return s}function UO(t,i,e,n){let r=-1,o=e;for(;o<n;){let a=t.charCodeAt(o++);if(a==i&&r!==92)return o;a==92&&r===92?r=0:r=a}throw new Error}function Fn(t,i,e){return eL(t,i,e,!1),Fn}function ee(t,i){return eL(t,i,null,!0),ee}function T0(t){tL(rL,E9,t,!1)}function E9(t,i){for(let e=v9(i);e>=0;e=QP(i,e))rL(t,XP(i),_9(i))}function Be(t){tL(k9,w9,t,!0)}function w9(t,i){for(let e=b9(i);e>=0;e=ZP(i,e))Rf(t,XP(i),!0)}function eL(t,i,e,n){let r=Oe(),o=On(),a=Ym(2);if(o.firstUpdatePass&&iL(o,t,a,n),i!==Zi&&oo(r,a,i)){let s=o.data[Do()];oL(o,s,r,r[Mn],t,r[a+1]=M9(i,e),n,a)}}function tL(t,i,e,n){let r=On(),o=Ym(2);r.firstUpdatePass&&iL(r,null,o,n);let a=Oe();if(e!==Zi&&oo(a,o,e)){let s=r.data[Do()];if(aL(s,n)&&!nL(r,o)){let d=n?s.classesWithoutHost:s.stylesWithoutHost;d!==null&&(e=cv(d,e||"")),sT(r,s,a,e,n)}else R9(r,s,a,a[Mn],a[o+1],a[o+1]=A9(t,i,e),n,o)}}function nL(t,i){return i>=t.expandoStartIndex}function iL(t,i,e,n){let r=t.data;if(r[e+1]===null){let o=r[Do()],a=nL(t,e);aL(o,n)&&i===null&&!a&&(i=!1),i=x9(r,o,i,n),h9(r,o,i,e,a,n)}}function x9(t,i,e,n){let r=XN(t),o=n?i.residualClasses:i.residualStyles;if(r===null)(n?i.classBindings:i.styleBindings)===0&&(e=ES(null,t,i,e,n),e=Xf(e,i.attrs,n),o=null);else{let a=i.directiveStylingLast;if(a===-1||t[a]!==r)if(e=ES(r,t,i,e,n),o===null){let d=S9(t,i,n);d!==void 0&&Array.isArray(d)&&(d=ES(null,t,i,d[1],n),d=Xf(d,i.attrs,n),T9(t,i,n,d))}else o=I9(t,i,n)}return o!==void 0&&(n?i.residualClasses=o:i.residualStyles=o),e}function S9(t,i,e){let n=e?i.classBindings:i.styleBindings;if(ip(n)!==0)return t[yu(n)]}function T9(t,i,e,n){let r=e?i.classBindings:i.styleBindings;t[yu(r)]=n}function I9(t,i,e){let n,r=i.directiveEnd;for(let o=1+i.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;n=Xf(n,a,e)}return Xf(n,i.attrs,e)}function ES(t,i,e,n,r){let o=null,a=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<a&&(o=i[s],n=Xf(n,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),n}function Xf(t,i,e){let n=e?1:2,r=-1;if(i!==null)for(let o=0;o<i.length;o++){let a=i[o];typeof a=="number"?r=a:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Rf(t,a,e?!0:i[++o]))}return t===void 0?null:t}function A9(t,i,e){if(e==null||e==="")return Pr;let n=[],r=ao(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(r instanceof Set)for(let o of r)t(n,o,!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&i(n,r);return n}function rL(t,i,e){Rf(t,i,ao(e))}function k9(t,i,e){let n=String(i);n!==""&&!n.includes(" ")&&Rf(t,n,e)}function R9(t,i,e,n,r,o,a,s){r===Zi&&(r=Pr);let d=0,p=0,f=0<r.length?r[0]:null,b=0<o.length?o[0]:null;for(;f!==null||b!==null;){let w=d<r.length?r[d+1]:void 0,A=p<o.length?o[p+1]:void 0,M=null,J;f===b?(d+=2,p+=2,w!==A&&(M=b,J=A)):b===null||f!==null&&f<b?(d+=2,M=f):(p+=2,M=b,J=A),M!==null&&oL(t,i,e,n,M,J,a,s),f=d<r.length?r[d]:null,b=p<o.length?o[p]:null}}function oL(t,i,e,n,r,o,a,s){if(!(i.type&3))return;let d=t.data,p=d[s+1],f=p9(p)?zO(d,i,e,r,ip(p),a):void 0;if(!e0(f)){e0(o)||u9(p)&&(o=zO(d,null,e,r,s,a));let b=$x(Do(),e);v6(n,a,b,r,o)}}function zO(t,i,e,n,r,o){let a=i===null,s;for(;r>0;){let d=t[r],p=Array.isArray(d),f=p?d[1]:d,b=f===null,w=e[r+1];w===Zi&&(w=b?Pr:void 0);let A=b?fv(w,n):f===n?w:void 0;if(p&&!e0(A)&&(A=fv(d,n)),e0(A)&&(s=A,a))return s;let M=t[r+1];r=a?yu(M):ip(M)}if(i!==null){let d=o?i.residualClasses:i.residualStyles;d!=null&&(s=fv(d,n))}return s}function e0(t){return t!==void 0}function M9(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=Sf(ao(t)))),t}function aL(t,i){return(t.flags&(i?8:16))!==0}function h(t,i=""){let e=Oe(),n=On(),r=t+Nn,o=n.firstCreatePass?Eu(n,r,1,i,null):n.data[r],a=N9(n,e,o,i);e[r]=a,Sv()&&RT(n,e,a,o),hu(o,!1)}var N9=(t,i,e,n)=>(Lf(!0),R$(i[Mn],n));function sL(t,i,e,n=""){return oo(t,ks(),e)?i+eo(e)+n:Zi}function O9(t,i,e,n,r,o=""){let a=Cv(),s=qf(t,a,e,r);return Ym(2),s?i+eo(e)+n+eo(r)+o:Zi}function lL(t,i,e,n,r,o,a,s=""){let d=Cv(),p=yP(t,d,e,r,a);return Ym(3),p?i+eo(e)+n+eo(r)+o+eo(a)+s:Zi}function F9(t,i,e,n,r,o,a,s,d,p=""){let f=Cv(),b=CP(t,f,e,r,a,d);return Ym(4),b?i+eo(e)+n+eo(r)+o+eo(a)+s+eo(d)+p:Zi}function S(t){return se("",t),S}function se(t,i,e){let n=Oe(),r=sL(n,t,i,e);return r!==Zi&&I0(n,Do(),r),se}function so(t,i,e,n,r){let o=Oe(),a=O9(o,t,i,e,n,r);return a!==Zi&&I0(o,Do(),a),so}
vendor: 3,412 bytes, line 4
4function wo(t,i,e,n,r,o,a){let s=Oe(),d=lL(s,t,i,e,n,r,o,a);return d!==Zi&&I0(s,Do(),d),wo}function cL(t,i,e,n,r,o,a,s,d){let p=Oe(),f=F9(p,t,i,e,n,r,o,a,s,d);return f!==Zi&&I0(p,Do(),f),cL}function I0(t,i,e){let n=$x(i,t);M$(t[Mn],n,e)}function xo(t,i,e){YT(i)&&(i=i());let n=Oe(),r=ks();if(oo(n,r,i)){let o=On(),a=fu();XF(a,n,t,i,n[Mn],e)}return xo}function Xo(t,i){let e=YT(t);return e&&t.set(i),e}function So(t,i){let e=Oe(),n=On(),r=Ki();return KP(n,e,e[Mn],r,t,i),So}var dL={};function uL(t){Yo("NgLet");let i=On(),e=Oe(),n=t+Nn,r=Eu(i,n,128,null,null);return hu(r,!1),Of(i,e,n,dL),uL}function P9(t){let i=On(),e=Oe(),n=Do();return Of(i,e,n,t),t}function L9(t){let i=oS(),e=mu(i,Nn+t);if(e===dL)throw new ce(314,!1);return e}function ri(t){return oo(Oe(),ks(),t)?eo(t):Zi}function jl(t,i,e=""){return sL(Oe(),t,i,e)}function eI(t,i,e,n,r,o,a=""){return lL(Oe(),t,i,e,n,r,o,a)}function GO(t,i,e){let n=On();n.firstCreatePass&&mL(i,n.data,n.blueprint,Ka(t),e)}function mL(t,i,e,n,r){if(t=$i(t),Array.isArray(t))for(let o=0;o<t.length;o++)mL(t[o],i,e,n,r);else{let o=On(),a=Oe(),s=Ki(),d=iu(t)?t:$i(t.provide),p=Vx(t),f=s.providerIndexes&1048575,b=s.directiveStart,w=s.providerIndexes>>20;if(iu(t)||!t.multi){let A=new bu(p,r,E,null),M=xS(d,i,r?f:f+w,b);M===-1?(TS(zv(s,a),o,d),wS(o,t,i.length),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(A),a.push(A)):(e[M]=A,a[M]=A)}else{let A=xS(d,i,f+w,b),M=xS(d,i,f,f+w),J=A>=0&&e[A],j=M>=0&&e[M];if(r&&!j||!r&&!J){TS(zv(s,a),o,d);let K=j9(r?V9:B9,e.length,r,n,p,t);!r&&j&&(e[M].providerFactory=K),wS(o,t,i.length,0),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(K),a.push(K)}else{let K=pL(e[r?M:A],p,!r&&n);wS(o,t,A>-1?A:M,K)}!r&&n&&j&&e[M].componentProviders++}}}function wS(t,i,e,n){let r=iu(i),o=ON(i);if(r||o){let d=(o?$i(i.useClass):i).prototype.ngOnDestroy;if(d){let p=t.destroyHooks||(t.destroyHooks=[]);if(!r&&i.multi){let f=p.indexOf(e);f===-1?p.push(e,[n,d]):p[f+1].push(n,d)}else p.push(e,d)}}}function pL(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function xS(t,i,e,n){for(let r=e;r<n;r++)if(i[r]===t)return r;return-1}function B9(t,i,e,n,r){return dT(this.multi,[])}function V9(t,i,e,n,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,d=zf(n,n[st],this.providerFactory.index,r);a=d.slice(0,s),dT(o,a);for(let p=s;p<d.length;p++)a.push(d[p])}else a=[],dT(o,a);return a}function dT(t,i){for(let e=0;e<t.length;e++){let n=t[e];i.push(n())}return i}function j9(t,i,e,n,r,o){let a=new bu(t,e,E,null);return a.multi=[],a.index=i,a.componentProviders=0,pL(a,r,n&&!e),a}function me(t,i){return e=>{e.providersResolver=(n,r)=>GO(n,r?r(t):t,!1),i&&(e.viewProvidersResolver=(n,r)=>GO(n,r?r(i):i,!0))}}function Yc(t,i,e){let n=t.\u0275cmp;n.directiveDefs=Zv(i,LP),n.pipeDefs=Zv(e,Rx)}function lo(t,i,e){return hL(Oe(),jc(),t,i,e)}function H9(t,i,e,n){return fL(Oe(),jc(),t,i,e,n)}function tI(t,i,e,n,r,o,a){return gL(Oe(),jc(),t,i,e,n,r,o)}function A0(t,i){let e=t[i];return e===Zi?void 0:e}function hL(t,i,e,n,r,o){let a=i+e;return oo(t,a,r)?b0(t,a+1,o?n.call(o,r):n(r)):A0(t,a+1)}function fL(t,i,e,n,r,o,a){let s=i+e;return qf(t,s,r,o)?b0(t,s+2,a?n.call(a,r,o):n(r,o)):A0(t,s+2)}function U9(t,i,e,n,r,o,a,s){let d=i+e;return yP(t,d,r,o,a)?b0(t,d+3,s?n.call(s,r,o,a):n(r,o,a)):A0(t,d+3)}function gL(t,i,e,n,r,o,a,s,d){let p=i+e;
4return CP(t,p,r,o,a,s)?b0(t,p+4,d?n.call(d,r,o,a,s):n(r,o,a,s)):A0(t,p+4)}function be(t,i){let e=On(),n,r=t+Nn;e.firstCreatePass?(n=z9(i,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks??=[]).push(r,n.onDestroy)):n=e.data[r];let o=n.factory||(n.factory=Nc(n.type,!0)),a,s=Jr(E);try{let d=Uv(!1),p=o();return Uv(d),Of(e,Oe(),r,p),p}finally{Jr(s)}}function z9(t,i){if(i)for(let e=i.length-1;e>=0;e--){let n=i[e];if(t===n.name)return n}}function Fe(t,i,e){let n=t+Nn,r=Oe(),o=mu(r,n);return k0(r,n)?hL(r,jc(),i,o.transform,e,o):o.transform(e)}function Dr(t,i,e,n){let r=t+Nn,o=Oe(),a=mu(o,r);return k0(o,r)?fL(o,jc(),i,a.transform,e,n,a):a.transform(e,n)}function sp(t,i,e,n,r){let o=t+Nn,a=Oe(),s=mu(a,o);return k0(a,o)?U9(a,jc(),i,s.transform,e,n,r,s):s.transform(e,n,r)}function nI(t,i,e,n,r,o){let a=t+Nn,s=Oe(),d=mu(s,a);return k0(s,a)?gL(s,jc(),i,d.transform,e,n,r,o,d):d.transform(e,n,r,o)}function k0(t,i){return t[st].data[i].pure}function _a(t,i){return g0(t,i)}var Nv=null;function _L(t){Nv!==null&&(t.defaultEncapsulation!==Nv.defaultEncapsulation||t.preserveWhitespaces!==Nv.preserveWhitespaces)||(Nv=t)}var t0=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},iI=(()=>{class t{compileModuleSync(e){return new Kf(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),r=kx(e),o=PF(r.declarations).reduce((a,s)=>{let d=Ts(s);return d&&a.push(new zc(d)),a},[]);return new t0(n,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),bL=new R("");var vL=(()=>{class t{applicationErrorHandler=m(Eo);appRef=m(Qi);taskService=m(Rs);ngZone=m(le);zonelessEnabled=m(Xm);tracing=m(Qa,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _e;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(wf):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Tv,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;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;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let n=this.useMicrotaskScheduler?iO:mS;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>n(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>n(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(wf+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(n){this.applicationErrorHandler(n)}finally{this.taskService.remove(e),this.cleanup()}}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(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function yL(){return[{provide:Ga,useExisting:vL},{provide:le,useClass:xf},{provide:Xm,useValue:!0}]}function G9(){return typeof $localize<"u"&&$localize.locale||sg}var xu=new R("",{factory:()=>m(xu,{optional:!0,skipSelf:!0})||G9()});var lg=class{destroyed=!1;listeners=null;errorHandler=m(Lr,{optional:!0});destroyRef=m(dn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(i){if(this.destroyed)throw new ce(953,!1);return(this.listeners??=[]).push(i),{unsubscribe:()=>{let e=this.listeners?.indexOf(i);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(i){if(this.destroyed){console.warn(pa(953,!1));return}if(this.listeners===null)return;let e=nt(null);try{for(let n of this.listeners)try{n(i)}catch(r){this.errorHandler?.handleError(r)}}finally{nt(e)}}};function Wt(t){return bN(t)}function Ct(t,i){return df(t,i?.equal)}var W9=t=>t;function rI(t,i){if(typeof t=="function"){let e=mx(t,W9,i?.equal);
4return CL(e,i?.debugName)}else{let e=mx(t.source,t.computation,t.equal);return CL(e,t.debugName)}}function CL(t,i){let e=t[yi],n=t;return n.set=r=>gN(e,r),n.update=r=>_N(e,r),n.asReadonly=Bf.bind(t),n}var O0=Symbol("InputSignalNode#UNSET"),RL=Ae(P({},uf),{transformFn:void 0,applyValueToInputSignal(t,i){Ic(t,i)}});function ML(t,i){let e=Object.create(RL);e.value=t,e.transformFn=i?.transform;function n(){if(El(e),e.value===O0){let r=null;throw new ce(-950,r)}return e.value}return n[yi]=e,n}var di=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>Qf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function QOe(t){return new lg}function DL(t,i){return ML(t,i)}function iq(t){return ML(O0,t)}var co=(DL.required=iq,DL);function EL(t,i){return GT(i)}function rq(t,i){return WT(i)}var Bs=(EL.required=rq,EL);function wL(t,i){return GT(i)}function oq(t,i){return WT(i)}var NL=(wL.required=oq,wL);function JOe(t,i){return NP(i)}function OL(t,i){let e=Object.create(RL),n=new lg;e.value=t;function r(){return El(e),xL(e.value),e.value}return r[yi]=e,r.asReadonly=Bf.bind(r),r.set=o=>{e.equal(e.value,o)||(Ic(e,o),n.emit(o))},r.update=o=>{xL(e.value),r.set(o(e.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function xL(t){if(t===O0)throw new ce(952,!1)}function SL(t,i){return OL(t,i)}function aq(t){return OL(O0,t)}var eFe=(SL.required=aq,SL);function sq(t,i,e){let n=new Kf(e);return Promise.resolve(n)}function TL(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var lq=(()=>{class t{zone=m(le);changeDetectionScheduler=m(Ga);applicationRef=m(Qi);applicationErrorHandler=m(Eo);_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(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cq=new R("",{factory:()=>!1});function dq({ngZoneFactory:t,scheduleInRootZone:i}){return t??=()=>new le(Ae(P({},FL()),{scheduleInRootZone:i})),[{provide:Xm,useValue:!1},{provide:le,useFactory:t},{provide:Rl,multi:!0,useFactory:()=>{let e=m(lq,{optional:!0});return()=>e.initialize()}},{provide:Rl,multi:!0,useFactory:()=>{let e=m(uq);return()=>{e.initialize()}}},{provide:Tv,useValue:i??uS}]}function tFe(t){let i=t?.scheduleInRootZone,e=dq({ngZoneFactory:()=>{let n=FL(t);return n.scheduleInRootZone=i,n.shouldCoalesceEventChangeDetection&&Yo("NgZone_CoalesceEvent"),new le(n)},scheduleInRootZone:i});return Pc([{provide:cq,useValue:!0},e])}function FL(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var uq=(()=>{class t{subscription=new _e;initialized=!1;zone=m(le);pendingTasks=m(Rs);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(()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var R0=new R(""),mq=new R("");function cg(t){return!t.moduleRef}function pq(t){let i=cg(t)?t.r3Injector:t.moduleRef.injector,e=i.get(le);return e.run(()=>{cg(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(Eo),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:n})}),cg(t)){let o=()=>i.destroy(),a=t.platformInjector.get(R0);a.add(o),i.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(R0);a.add(o),t.moduleRef.onDestroy(()=>{Uf(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return fq(n,e,()=>{let o=i.get(Rs),a=o.add(),s=i.get(ZT);
vendor: 10,048 bytes, line 4
4return s.runInitializers(),s.donePromise.then(()=>{let d=i.get(xu,sg);if(YP(d||sg),!i.get(mq,!0))return cg(t)?i.get(Qi):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(cg(t)){let f=i.get(Qi);return t.rootComponent!==void 0&&f.bootstrap(t.rootComponent),f}else return PL?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}var PL;function IL(){PL=hq}function hq(t,i){let e=t.injector.get(Qi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>e.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new ce(-403,!1);i.push(t)}function fq(t,i,e){try{let n=e();return Vl(n)?n.catch(r=>{throw i.runOutsideAngular(()=>t(r)),r}):n}catch(n){throw i.runOutsideAngular(()=>t(n)),n}}var LL=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let r=[yL(),...n?.applicationProviders??[],oO],o=PP(e.moduleType,this.injector,r);return IL(),pq({moduleRef:o,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let r=QT({},n);return IL(),sq(this.injector,r,e).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ce(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(R0,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(n){return new(n||t)(F(ie))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),uI=null;function gq(t){if(pI())throw new ce(400,!1);GP(),uI=t;let i=t.get(LL);return vq(t),i}function mI(t,i,e=[]){let n=`Platform: ${i}`,r=new R(n);return(o=[])=>{let a=pI();if(!a){let s=[...e,...o,{provide:r,useValue:!0}];a=t?.(s)??gq(_q(s,n))}return bq(r)}}function _q(t=[],i){return ie.create({name:i,providers:[{provide:Mf,useValue:"platform"},{provide:R0,useValue:new Set([()=>uI=null])},...t]})}function bq(t){let i=pI();if(!i)throw new ce(-401,!1);return i}function pI(){return uI?.get(LL)??null}function vq(t){let i=t.get(n0,null);Yi(t,()=>{i?.forEach(e=>e())})}var yq=1e4;var nFe=yq-1e3;var Ee=(()=>{class t{static __NG_ELEMENT_ID__=Cq}return t})();function Cq(t){return Dq(Ki(),Oe(),(t&16)===16)}function Dq(t,i,e){if(As(t)&&!e){let n=ga(t.index,i);return new Uc(n,n)}else if(t.type&175){let n=i[no];return new Uc(n,i)}return null}var aI=class{supports(i){return jT(i)}create(i){return new sI(i)}},Eq=(t,i)=>i,sI=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(i){this._trackByFn=i||Eq}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,n=this._removalsHead,r=0,o=null;for(;e||n;){let a=!n||e&&e.currentIndex<AL(n,r,o)?e:n,s=AL(a,r,o),d=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(e=e._next,a.previousIndex==null)r++;else{o||(o=[]);let p=s-r,f=d-r;if(p!=f){for(let w=0;w<p;w++){let A=w<o.length?o[w]:o[w]=0,M=A+w;f<=M&&M<p&&(o[w]=A+1)}let b=a.previousIndex;o[b]=f-p}}s!==d&&i(a,s,d)}}forEachPreviousItem(i){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)i(e)}forEachAddedItem(i){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)i(e)}forEachMovedItem(i){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)i(e)}forEachRemovedItem(i){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)i(e)}forEachIdentityChange(i){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)i(e)}diff(i){if(i==null&&(i=[]),!jT(i))throw new ce(900,!1);return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let e=this._itHead,n=!1,r,o,a;if(Array.isArray(i)){this.length=i.length;for(let s=0;s<this.length;s++)o=i[s],a=this._trackByFn(s,o),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,o,a,s),n=!0):(n&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,bP(i,s=>{a=this._trackByFn(r,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,r),n=!0):(n&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,n,r){let o;return i===null?o=this._itTail:(o=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,o,r)):(i=this._linkedRecords===null?null:this._linkedRecords.get(n,r),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,o,r)):i=this._addAfter(new lI(e,n),o,r)),i}_verifyReinsertion(i,e,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?i=this._reinsertAfter(o,i._prev,r):i.currentIndex!=r&&(i.currentIndex=r,this._addToMoves(i,r)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=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(i,e,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let r=i._prevRemoved,o=i._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(i,e,n),this._addToMoves(i,n),i}_moveAfter(i,e,n){return this._unlink(i),this._insertAfter(i,e,n),this._addToMoves(i,n),i}_addAfter(i,e,n){return this._insertAfter(i,e,n),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,n){let r=e===null?this._itHead:e._next;return i._next=r,i._prev=e,r===null?this._itTail=i:r._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new M0),this._linkedRecords.put(i),i.currentIndex=n,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,n=i._next;return e===null?this._itHead=n:e._next=n,n===null?this._itTail=e:n._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new M0),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},lI=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(i,e){this.item=i,this.trackById=e}},cI=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let n;for(n=this._head;n!==null;n=n._nextDup)if((e===null||e<=n.currentIndex)&&Object.is(n.trackById,i))return n;return null}remove(i){let e=i._prevDup,n=i._nextDup;return e===null?this._head=n:e._nextDup=n,n===null?this._tail=e:n._prevDup=e,this._head===null}},M0=class{map=new Map;put(i){let e=i.trackById,n=this.map.get(e);n||(n=new cI,this.map.set(e,n)),n.add(i)}get(i,e){let n=i,r=this.map.get(n);return r?r.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function AL(t,i,e){let n=t.previousIndex;if(n===null)return n;let r=0;return e&&n<e.length&&(r=e[n]),n+i+r}function kL(){return new Hl([new aI])}var Hl=(()=>{class t{factories;static \u0275prov=D({token:t,providedIn:"root",factory:kL});constructor(e){this.factories=e}static create(e,n){if(n!=null){let r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let n=m(t,{optional:!0,skipSelf:!0});return t.create(e,n||kL())}}}find(e){let n=this.factories.find(r=>r.supports(e));if(n!=null)return n;throw new ce(901,!1)}}return t})();var BL=mI(null,"core",[]),VL=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(F(Qi))};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function q(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function rn(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}var oI=Symbol("NOT_SET"),jL=new Set,wq=Ae(P({},uf),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:oI,cleanup:null,consumerMarkedDirty(){
4if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==oI&&!xm(this))return this.signal;try{for(let r of this.cleanup??jL)r()}finally{this.cleanup?.clear()}let i=[];t!==void 0&&i.push(t),i.push(this.registerCleanupFn);let e=wl(this),n;try{n=this.userFn.apply(null,i)}finally{Sc(this,e)}return(this.value===oI||!this.equal(this.value,n))&&(this.value=n,this.version++),this.signal}}),dI=class extends Gf{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(i,e,n,r,o,a=null){super(i,[void 0,void 0,void 0,void 0],n,!1,o.get(dn),a),this.scheduler=r;for(let s of IT){let d=e[s];if(d===void 0)continue;let p=Object.create(wq);p.sequence=this,p.phase=s,p.userFn=d,p.dirty=!0,p.signal=()=>(El(p),p.value),p.signal[yi]=p,p.registerCleanupFn=f=>(p.cleanup??=new Set).add(f),this.nodes[s]=p,this.hooks[s]=f=>p.phaseFn(f)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let i of this.onDestroyFns)i();super.destroy();for(let i of this.nodes)if(i)try{for(let e of i.cleanup??jL)e()}finally{Tc(i)}}};function HL(t,i){let e=i?.injector??m(ie),n=e.get(Ga),r=e.get(u0),o=e.get(Qa,null,{optional:!0});r.impl??=e.get(AT);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(Km,null,{optional:!0}),d=new dI(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,n,e,o?.snapshot(null));return r.impl.register(d),d}function F0(t,i){let e=Ts(t),n=i.elementInjector||zm();return new zc(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector,i.directives,i.bindings)}function P0(t){let i=Ts(t);if(!i)return null;let e=new zc(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var UL=null;function Zo(){return UL}function hI(t){UL??=t}var dg=class{},Ul=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(zL),providedIn:"platform"})}return t})(),fI=new R(""),zL=(()=>{class t extends Ul{_location;_history;_doc=m(Ce);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zo().getBaseHref(this._doc)}onPopState(e){let n=Zo().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=Zo().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.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,n,r){this._history.pushState(e,n,r)}replaceState(e,n,r){this._history.replaceState(e,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function L0(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function GL(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function Ja(t){return t&&t[0]!=="?"?`?${t}`:t}var es=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(V0),providedIn:"root"})}return t})(),B0=new R(""),V0=(()=>{class t extends es{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??m(Ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
vendor: 5,650 bytes, line 4
4HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return L0(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+Ja(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+Ja(o));this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+Ja(o));this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(F(Ul),F(B0,8))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vs=(()=>{class t{_subject=new O;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Tq(GL(WL(n))),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,n=""){return this.path()==this.normalize(e+Ja(n))}normalize(e){return t.stripTrailingSlash(Sq(this._basePath,WL(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ja(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ja(n)),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(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=Ja;static joinWithSlash=L0;static stripTrailingSlash=GL;static \u0275fac=function(n){return new(n||t)(F(es))};static \u0275prov=D({token:t,factory:()=>xq(),providedIn:"root"})}return t})();function xq(){return new Vs(F(es))}function Sq(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function WL(t){return t.replace(/\/index\.html$/,"")}function Tq(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var DI=(()=>{class t extends es{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=L0(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+Ja(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+Ja(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(F(Ul),F(B0,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var Br=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Br||{}),Un=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(Un||{}),To=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(To||{}),Gl={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function YL(t){return Ko(t)[Ii.LocaleId]}function KL(t,i,e){let n=Ko(t),r=[n[Ii.DayPeriodsFormat],n[Ii.DayPeriodsStandalone]],o=ba(r,i);return ba(o,e)}function XL(t,i,e){let n=Ko(t),r=[n[Ii.DaysFormat],n[Ii.DaysStandalone]],o=ba(r,i);return ba(o,e)}function ZL(t,i,e){let n=Ko(t),r=[n[Ii.MonthsFormat],n[Ii.MonthsStandalone]],o=ba(r,i);return ba(o,e)}function QL(t,i){let n=Ko(t)[Ii.Eras];return ba(n,i)}function ug(t,i){let e=Ko(t);return ba(e[Ii.DateFormat],i)}function mg(t,i){let e=Ko(t);return ba(e[Ii.TimeFormat],i)}function pg(t,i){let n=Ko(t)[Ii.DateTimeFormat];return ba(n,i)}function hg(t,i){let e=Ko(t),n=e[Ii.NumberSymbols][i];if(typeof n>"u"){if(i===Gl.CurrencyDecimal)return e[Ii.NumberSymbols][Gl.Decimal];if(i===Gl.CurrencyGroup)return e[Ii.NumberSymbols][Gl.Group]}return n}function JL(t){if(!t[Ii.ExtraData])throw new ce(2303,!1)}function e2(t){let i=Ko(t);return JL(i),(i[Ii.ExtraData][2]||[]).map(n=>typeof n=="string"?gI(n):[gI(n[0]),gI(n[1])])}
vendor: 6,368 bytes, line 4
4function t2(t,i,e){let n=Ko(t);JL(n);let r=[n[Ii.ExtraData][0],n[Ii.ExtraData][1]],o=ba(r,i)||[];return ba(o,e)||[]}function ba(t,i){for(let e=i;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new ce(2304,!1)}function gI(t){let[i,e]=t.split(":");return{hours:+i,minutes:+e}}var Iq=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,j0={},Aq=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,kq=256;function n2(t,i,e,n){let r=jq(t);Rq(i),i=zl(e,i)||i;let a=[],s;for(;i;)if(s=Aq.exec(i),s){a=a.concat(s.slice(1));let f=a.pop();if(!f)break;i=f}else{a.push(i);break}let d=r.getTimezoneOffset();n&&(d=r2(n,d),r=Vq(r,n));let p="";return a.forEach(f=>{let b=Lq(f);p+=b?b(r,e,d):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function Rq(t){if(t.length>kq)throw new ce(2300,!1)}function W0(t,i,e){let n=new Date(0);return n.setFullYear(t,i,e),n.setHours(0,0,0),n}function zl(t,i){let e=YL(t);if(j0[e]??={},j0[e][i])return j0[e][i];let n="";switch(i){case"shortDate":n=ug(t,To.Short);break;case"mediumDate":n=ug(t,To.Medium);break;case"longDate":n=ug(t,To.Long);break;case"fullDate":n=ug(t,To.Full);break;case"shortTime":n=mg(t,To.Short);break;case"mediumTime":n=mg(t,To.Medium);break;case"longTime":n=mg(t,To.Long);break;case"fullTime":n=mg(t,To.Full);break;case"short":let r=zl(t,"shortTime"),o=zl(t,"shortDate");n=H0(pg(t,To.Short),[r,o]);break;case"medium":let a=zl(t,"mediumTime"),s=zl(t,"mediumDate");n=H0(pg(t,To.Medium),[a,s]);break;case"long":let d=zl(t,"longTime"),p=zl(t,"longDate");n=H0(pg(t,To.Long),[d,p]);break;case"full":let f=zl(t,"fullTime"),b=zl(t,"fullDate");n=H0(pg(t,To.Full),[f,b]);break}return n&&(j0[e][i]=n),n}function H0(t,i){return i&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return i!=null&&n in i?i[n]:e})),t}function ts(t,i,e="-",n,r){let o="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,o=e));let a=String(t);for(;a.length<i;)a="0"+a;return n&&(a=a.slice(a.length-i)),o+a}function Mq(t,i){return ts(t,3).substring(0,i)}function Pi(t,i,e=0,n=!1,r=!1){return function(o,a){let s=Nq(t,o);if((e>0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return Mq(s,i);let d=hg(a,Gl.MinusSign);return ts(s,i,d,n,r)}}function Nq(t,i){switch(t){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new ce(2301,!1)}}function Xn(t,i,e=Br.Format,n=!1){return function(r,o){return Oq(r,o,t,i,e,n)}}function Oq(t,i,e,n,r,o){switch(e){case 2:return ZL(i,r,n)[t.getMonth()];case 1:return XL(i,r,n)[t.getDay()];case 0:let a=t.getHours(),s=t.getMinutes();if(o){let p=e2(i),f=t2(i,r,n),b=p.findIndex(w=>{if(Array.isArray(w)){let[A,M]=w,J=a>=A.hours&&s>=A.minutes,j=a<M.hours||a===M.hours&&s<M.minutes;if(A.hours<M.hours){if(J&&j)return!0}else if(J||j)return!0}else if(w.hours===a&&w.minutes===s)return!0;return!1});if(b!==-1)return f[b]}return KL(i,r,n)[a<12?0:1];case 3:return QL(i,n)[t.getFullYear()<=0?0:1];default:let d=e;throw new ce(2302,!1)}}function U0(t){return function(i,e,n){let r=-1*n,o=hg(e,Gl.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+ts(a,2,o)+ts(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+ts(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+ts(a,2,o)+":"+ts(Math.abs(r%60),2,o);case 3:return n===0?"Z":(r>=0?"+":"")+ts(a,2,o)+":"+ts(Math.abs(r%60),2,o);default:throw new ce(2310,!1)}}}var Fq=0,G0=4;function Pq(t){let i=W0(t,Fq,1).getDay();return W0(t,0,1+(i<=G0?G0:G0+7)-i)}function i2(t){let i=t.getDay(),e=i===0?-3:G0-i;return W0(t.getFullYear(),t.getMonth(),t.getDate()+e)}function _I(t,i=!1){return function(e,n){let r;if(i){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();r=1+Math.floor((a+o)/7)}else{let o=i2(e),a=Pq(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5)}return ts(r,t,hg(n,Gl.MinusSign))}}function z0(t,i=!1){return function(e,n){let o=i2(e).getFullYear();return ts(o,t,hg(n,Gl.MinusSign),i)}}var bI={};function Lq(t){if(bI[t])return bI[t];let i;switch(t){case"G":case"GG":case"GGG":i=Xn(3,Un.Abbreviated);break;case"GGGG":i=Xn(3,Un.Wide);break;case"GGGGG":i=Xn(3,Un.Narrow);break;case"y":i=Pi(0,1,0,!1,!0);break;case"yy":i=Pi(0,2,0,!0,!0);break;case"yyy":i=Pi(0,3,0,!1,!0);break;case"yyyy":i=Pi(0,4,0,!1,!0);break;case"Y":i=z0(1);break;case"YY":i=z0(2,!0);break;case"YYY":i=z0(3);break;case"YYYY":i=z0(4);break;case"M":case"L":i=Pi(1,1,1);break;case"MM":case"LL":i=Pi(1,2,1);break;case"MMM":i=Xn(2,Un.Abbreviated);break;case"MMMM":i=Xn(2,Un.Wide);break;case"MMMMM":i=Xn(2,Un.Narrow);break;case"LLL":i=Xn(2,Un.Abbreviated,Br.Standalone);break;case"LLLL":i=Xn(2,Un.Wide,Br.Standalone);break;case"LLLLL":i=Xn(2,Un.Narrow,Br.Standalone);break;case"w":i=_I(1);break;case"ww":i=_I(2);break;case"W":i=_I(1,!0);break;case"d":i=Pi(2,1);break;case"dd":i=Pi(2,2);break;case"c":case"cc":i=Pi(7,1);break;case"ccc":i=Xn(1,Un.Abbreviated,Br.Standalone);break;case"cccc":i=Xn(1,Un.Wide,Br.Standalone);break;case"ccccc":i=Xn(1,Un.Narrow,Br.Standalone);break;case"cccccc":i=Xn(1,Un.Short,Br.Standalone);break;case"E":case"EE":case"EEE":i=Xn(1,Un.Abbreviated);break;case"EEEE":i=Xn(1,Un.Wide);break;case"EEEEE":i=Xn(1,Un.Narrow);break;case"EEEEEE":i=Xn(1,Un.Short);break;case"a":case"aa":case"aaa":i=Xn(0,Un.Abbreviated);break;case"aaaa":i=Xn(0,Un.Wide);break;case"aaaaa":i=Xn(0,Un.Narrow);break;case"b":case"bb":case"bbb":i=Xn(0,Un.Abbreviated,Br.Standalone,!0);break;case"bbbb":i=Xn(0,Un.Wide,Br.Standalone,!0);break;case"bbbbb":i=Xn(0,Un.Narrow,Br.Standalone,!0);break;case"B":case"BB":case"BBB":i=Xn(0,Un.Abbreviated,Br.Format,!0);break;case"BBBB":i=Xn(0,Un.Wide,Br.Format,!0);break;case"BBBBB":i=Xn(0,Un.Narrow,Br.Format,!0);break;case"h":i=Pi(3,1,-12);break;case"hh":i=Pi(3,2,-12);break;case"H":i=Pi(3,1);break;case"HH":i=Pi(3,2);break;case"m":i=Pi(4,1);break;case"mm":i=Pi(4,2);break;case"s":i=Pi(5,1);break;case"ss":i=Pi(5,2);break;case"S":i=Pi(6,1);break;case"SS":i=Pi(6,2);break;case"SSS":i=Pi(6,3);break;case"Z":case"ZZ":case"ZZZ":i=U0(0);break;case"ZZZZZ":i=U0(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=U0(1);break;
vendor: 17,265 bytes, line 4
4case"OOOO":case"ZZZZ":case"zzzz":i=U0(2);break;default:return null}return bI[t]=i,i}function r2(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function Bq(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function Vq(t,i,e){let r=t.getTimezoneOffset(),o=r2(i,r);return Bq(t,-1*(o-r))}function jq(t){if($L(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,o=1,a=1]=t.split("-").map(s=>+s);return W0(r,o-1,a)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(Iq))return Hq(n)}let i=new Date(t);if(!$L(i))throw new ce(2311,!1);return i}function Hq(t){let i=new Date(0),e=0,n=0,r=t[8]?i.setUTCFullYear:i.setFullYear,o=t[8]?i.setUTCHours:i.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),r.call(i,Number(t[1]),Number(t[2])-1,Number(t[3]));let a=Number(t[4]||0)-e,s=Number(t[5]||0)-n,d=Number(t[6]||0),p=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(i,a,s,d,p),i}function $L(t){return t instanceof Date&&!isNaN(t.valueOf())}var vI=/\s+/,qL=[],cr=(()=>{class t{_ngEl;_renderer;initialClasses=qL;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(vI):qL}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(vI):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(vI).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||t)(E(Q),E(ot))};static \u0275dir=N({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Su=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=m(ie);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(e,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||t)(E(Pt))};static \u0275dir=N({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ke]})}return t})();function EI(t,i){return new ce(2100,!1)}var yI=class{createSubscription(i,e,n){return Wt(()=>i.subscribe({next:e,error:n}))}dispose(i){Wt(()=>i.unsubscribe())}},CI=class{createSubscription(i,e,n){return i.then(r=>e?.(r),r=>n?.(r)),{unsubscribe:()=>{e=null,n=null}}}dispose(i){i.unsubscribe()}},Uq=new CI,zq=new yI,Ji=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=m(Eo);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n),n=>this.applicationErrorHandler(n))}_selectStrategy(e){if(Vl(e))return Uq;if(E0(e))return zq;throw EI(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(E(Ee,16))};static \u0275pipe=pe({name:"async",type:t,pure:!1})}return t})();var Gq=(()=>{class t{transform(e){return e==null?null:(Wq(t,e),e.toUpperCase())}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=pe({name:"uppercase",type:t,pure:!0})}return t})();function Wq(t,i){if(typeof i!="string")throw EI(t,i)}var $q="mediumDate",o2=new R(""),a2=new R(""),un=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,r){this.locale=e,this.defaultTimezone=n,this.defaultOptions=r}transform(e,n,r,o){if(e==null||e===""||e!==e)return null;try{let a=n??this.defaultOptions?.dateFormat??$q,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return n2(e,a,o||this.locale,s)}catch(a){throw EI(t,a.message)}}static \u0275fac=function(n){return new(n||t)(E(xu,16),E(o2,24),E(a2,24))};static \u0275pipe=pe({name:"date",type:t,pure:!0})}return t})();var Kc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function fg(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[r,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===i)return decodeURIComponent(o)}return null}var Tu=class{};var xI="browser";function $0(t){return t===xI}var SI=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new wI(m(Ce),window)})}return t})(),wI=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,e){this.window.scrollTo(Ae(P({},e),{left:i[0],top:i[1]}))}scrollToAnchor(i,e){let n=Yq(this.document,i);n&&(this.scrollToElement(n,e),n.focus({preventScroll:!0}))}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch(e){console.warn(pa(2400,!1))}}scrollToElement(i,e){let n=i.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(Ae(P({},e),{left:r-a[0],top:o-a[1]}))}};function Yq(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(i)||o.querySelector(`[name="${i}"]`);if(a)return a}r=n.nextNode()}}return null}var c2=t=>t.src,Kq=new R("",{factory:()=>c2});var s2=/^((\s*\d+w\s*(,|$)){1,})$/;var Xq=[1,2],Zq=640;var Qq=1920,Jq=1080;var SPe=(()=>{class t{imageLoader=m(Kq);config=eY(m(r0));renderer=m(ot);imgElement=m(Q).nativeElement;injector=m(ie);destroyRef=m(dn);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){Yo("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let e=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&s2.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(e){let n=e;this.loaderParams&&(n.loaderParams=this.loaderParams);let r=this.getAspectRatio();return r!==null&&n.width&&(n.height=Math.round(n.width/r)),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=s2.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let o=e?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:e}=this.config,n=e;return this.sizes?.trim()==="100vw"&&(n=e.filter(o=>o>=Zq)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return Xq.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>Qq||this.height>Jq),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==c2&&!e}generatePlaceholder(e){let{placeholderResolution:n}=this.config;return e===!0?`url("${l2(this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0}))}")`:typeof e=="string"?`url("${l2(e)}")`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")?!0:!!e.blur}removePlaceholderOnLoad(e){let n=()=>{let a=this.injector.get(Ee);r(),o(),this.placeholder=!1,a.markForCheck()},r=this.renderer.listen(e,"load",n),o=this.renderer.listen(e,"error",n);this.destroyRef.onDestroy(()=>{r(),o()}),tY(e,n)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&Fn("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",nY],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",rn],height:[2,"height","height",rn],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",q],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",q],fill:[2,"fill","fill",q],placeholder:[2,"placeholder","placeholder",iY],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Ke]})}return t})();function eY(t){let i={};return t.breakpoints&&(i.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},i0,t,i)}function tY(t,i){t.complete&&t.naturalWidth&&i()}function nY(t){return typeof t=="string"?t:ao(t)}function l2(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function iY(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:q(t)}var gg=class{_doc;constructor(i){this._doc=i}manager},q0=(()=>{class t extends gg{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r,o){return e.addEventListener(n,r,o),()=>this.removeEventListener(e,n,r,o)}removeEventListener(e,n,r,o){return e.removeEventListener(n,r,o)}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),X0=new R(""),kI=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(a=>{a.manager=this});let r=e.filter(a=>!(a instanceof q0));this._plugins=r.slice().reverse();let o=e.find(a=>a instanceof q0);o&&this._plugins.push(o)}addEventListener(e,n,r,o){return this._findPluginFor(n).addEventListener(e,n,r,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new ce(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(F(X0),F(le))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),TI="ng-app-id";function d2(t){for(let i of t)i.remove()}function u2(t,i){let e=i.createElement("style");return e.textContent=t,e}function rY(t,i,e,n){let r=t.head?.querySelectorAll(`style[${TI}="${i}"],link[${TI}="${i}"]`);if(r)for(let o of r)o.removeAttribute(TI),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function AI(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var RI=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,r,o={}){this.doc=e,this.appId=n,this.nonce=r,rY(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,u2);n?.forEach(r=>this.addUsage(r,this.external,AI))}removeStyles(e,n){for(let r of e)this.removeUsage(r,this.inline);n?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,n,r){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,n){let r=n.get(e);r&&(r.usage--,r.usage<=0&&(d2(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])d2(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,u2(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(e,AI(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(F(Ce),F(Gc),F(Cu,8),F(Pl))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),II={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"},MI=/%COMP%/g;var p2="%COMP%",oY=`_nghost-${p2}`,aY=`_ngcontent-${p2}`,sY=!0,lY=new R("",{factory:()=>sY});function cY(t){return aY.replace(MI,t)}function dY(t){return oY.replace(MI,t)}function h2(t,i){return i.map(e=>e.replace(MI,t))}var NI=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,n,r,o,a,s,d=null,p=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=d,this.tracingService=p,this.defaultRenderer=new _g(e,a,s,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,n);return r instanceof K0?r.applyToHost(e):r instanceof bg&&r.applyStyles(),r}getOrCreateRenderer(e,n){let r=this.rendererByCompId,o=r.get(n.id);if(!o){let a=this.doc,s=this.ngZone,d=this.eventManager,p=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,b=this.tracingService;switch(n.encapsulation){case Za.Emulated:o=new K0(d,p,n,this.appId,f,a,s,b);break;case Za.ShadowDom:return new Y0(d,e,n,a,s,this.nonce,b,p);case Za.ExperimentalIsolatedShadowDom:return new Y0(d,e,n,a,s,this.nonce,b);default:o=new bg(d,p,n,f,a,s,b);break}r.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(F(kI),F(RI),F(Gc),F(lY),F(Ce),F(le),F(Cu),F(Qa,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),_g=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;
vendor: 7,192 bytes, line 4
4constructor(i,e,n,r){this.eventManager=i,this.doc=e,this.ngZone=n,this.tracingService=r}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(II[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(m2(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(m2(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new ce(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,r){if(r){e=r+":"+e;let o=II[r];o?i.setAttributeNS(o,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let r=II[n];r?i.removeAttributeNS(r,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,r){r&(Ns.DashCase|Ns.Important)?i.style.setProperty(e,n,r&Ns.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&Ns.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,r){if(typeof i=="string"&&(i=Zo().getGlobalEventTarget(this.doc,i),!i))throw new ce(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(i,e,o)),this.eventManager.addEventListener(i,e,o,r)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;i(e)===!1&&e.preventDefault()}}};function m2(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Y0=class extends _g{hostEl;sharedStylesHost;shadowRoot;constructor(i,e,n,r,o,a,s,d){super(i,r,o,s),this.hostEl=e,this.sharedStylesHost=d,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let p=n.styles;p=h2(n.id,p);for(let b of p){let w=document.createElement("style");a&&w.setAttribute("nonce",a),w.textContent=b,this.shadowRoot.appendChild(w)}let f=n.getExternalStyles?.();if(f)for(let b of f){let w=AI(b,r);a&&w.setAttribute("nonce",a),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},bg=class extends _g{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,r,o,a,s,d){super(i,o,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let p=n.styles;this.styles=d?h2(d,p):p,this.styleUrls=n.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&vu.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},K0=class extends bg{contentAttr;hostAttr;constructor(i,e,n,r,o,a,s,d){let p=r+"-"+n.id;super(i,e,n,o,a,s,d,p),this.contentAttr=cY(p),this.hostAttr=dY(p)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}};var Z0=class t extends dg{supportsDOMEvents=!0;static makeCurrent(){hI(new t)}onAndCancel(i,e,n,r){return i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=uY();return e==null?null:mY(e)}resetBaseElement(){vg=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return fg(document.cookie,i)}},vg=null;function uY(){return vg=vg||document.head.querySelector("base"),vg?vg.getAttribute("href"):null}function mY(t){return new URL(t,document.baseURI).pathname}var Q0=class{addToWindow(i){Fi.getAngularTestability=(n,r=!0)=>{let o=i.findTestabilityInTree(n,r);if(o==null)throw new ce(5103,!1);return o},Fi.getAllAngularTestabilities=()=>i.getAllTestabilities(),Fi.getAllAngularRootElements=()=>i.getAllRootElements();let e=n=>{let r=Fi.getAllAngularTestabilities(),o=r.length,a=function(){o--,o==0&&n()};r.forEach(s=>{s.whenStable(a)})};Fi.frameworkStabilizers||(Fi.frameworkStabilizers=[]),Fi.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,n){if(e==null)return null;let r=i.getTestability(e);return r??(n?Zo().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},pY=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),f2=["alt","control","meta","shift"],hY={"\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"},fY={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},g2=(()=>{class t extends gg{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,r,o){let a=t.parseEventName(n),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zo().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let n=e.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(n.pop()),a="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),a="code."),f2.forEach(p=>{let f=n.indexOf(p);f>-1&&(n.splice(f,1),a+=p+".")}),a+=o,n.length!=0||o.length===0)return null;let d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(e,n){let r=hY[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),f2.forEach(a=>{if(a!==r){let s=fY[a];s(e)&&(o+=a+".")}}),o+=r,o===n)}static eventCallback(e,n,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function gY(){Z0.makeCurrent()}function _Y(){return new Lr}function bY(){return pT(document),document}var vY=[{provide:Pl,useValue:xI},{provide:n0,useValue:gY,multi:!0},{provide:Ce,useFactory:bY}],yY=mI(BL,"browser",vY);var CY=[{provide:D0,useClass:Q0},{provide:C0,useClass:og},{provide:og,useClass:og}],DY=[{provide:Mf,useValue:"root"},{provide:Lr,useFactory:_Y},{provide:X0,useClass:q0,multi:!0},{provide:X0,useClass:g2,multi:!0},NI,RI,kI,{provide:fi,useExisting:NI}
vendor: 10,912 bytes, lines 4-5
4,{provide:Tu,useClass:pY},[]],EY=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[...DY,...CY],imports:[Kc,VL]})}return t})();var Zc=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` 5`).forEach(e=>{let n=e.indexOf(":");if(n>0){let r=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init();for(let[e,n]of i.headers.entries())this.headers.set(e,n),this.normalizedNames.set(e,i.normalizedNames.get(e))}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let r=i.op==="a"?(this.headers.get(e)||[]).slice():[];r.push(...n),this.headers.set(e,r);break;case"d":let o=i.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=Array.isArray(o)?o:[o],s=this.headers.get(e);if(!s)return;s=s.filter(d=>a.indexOf(d)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var ey=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}},ty=class{encodeKey(i){return _2(i)}encodeValue(i){return _2(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function wY(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,o)),i.decodeValue(r.slice(o+1))],d=e.get(a)||[];d.push(s),e.set(a,d)}),e}var xY=/%(\d[a-f0-9])/gi,SY={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _2(t){return encodeURIComponent(t).replace(xY,(i,e)=>SY[e]??i)}function J0(t){return`${t}`}var it=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new ty,i.fromString){if(i.fromObject)throw new ce(2805,!1);this.map=wY(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],r=Array.isArray(n)?n.map(J0):[J0(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[i,e]of this.cloneFrom.map.entries())this.map.set(i,e);this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=i.op==="a"?(this.map.get(i.param)||[]).slice():[];e.push(J0(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=(this.map.get(i.param)||[]).slice(),r=n.indexOf(J0(i.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null}}};function TY(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function b2(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function v2(t){return typeof Blob<"u"&&t instanceof Blob}function y2(t){return typeof FormData<"u"&&t instanceof FormData}function IY(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var C2="Content-Type",D2="Accept",w2="text/plain",x2="application/json",AY=`${x2}, ${w2}, */*`,lp=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(i,e,n,r){this.url=e,this.method=i.toUpperCase();let o;if(TY(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,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 ce(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!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new Zc,this.context??=new ey,!this.params)this.params=new it,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),d=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+d+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||b2(this.body)||v2(this.body)||y2(this.body)||IY(this.body)?this.body:this.body instanceof it?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||y2(this.body)?null:v2(this.body)?this.body.type||null:b2(this.body)?null:typeof this.body=="string"?w2:this.body instanceof it?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?x2:null}clone(i={}){let e=i.method||this.method,n=i.url||this.url,r=i.responseType||this.responseType,o=i.keepalive??this.keepalive,a=i.priority||this.priority,s=i.cache||this.cache,d=i.mode||this.mode,p=i.redirect||this.redirect,f=i.credentials||this.credentials,b=i.referrer??this.referrer,w=i.integrity||this.integrity,A=i.referrerPolicy||this.referrerPolicy,M=i.transferCache??this.transferCache,J=i.timeout??this.timeout,j=i.body!==void 0?i.body:this.body,K=i.withCredentials??this.withCredentials,Te=i.reportProgress??this.reportProgress,tn=i.headers||this.headers,jt=i.params||this.params,Oi=i.context??this.context;return i.setHeaders!==void 0&&(tn=Object.keys(i.setHeaders).reduce((wc,qd)=>wc.set(qd,i.setHeaders[qd]),tn)),i.setParams&&(jt=Object.keys(i.setParams).reduce((wc,qd)=>wc.set(qd,i.setParams[qd]),jt)),new t(e,n,j,{params:jt,headers:tn,context:Oi,reportProgress:Te,responseType:r,withCredentials:K,transferCache:M,keepalive:o,cache:s,priority:a,timeout:J,mode:d,redirect:p,credentials:f,referrer:b,integrity:w,referrerPolicy:A})}},Iu=(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})(Iu||{}),cp=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(i,e=200,n="OK"){this.headers=i.headers||new Zc,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.redirected=i.redirected,this.responseType=i.responseType,this.ok=this.status>=200&&this.status<300}},ny=class t extends cp{constructor(i={}){super(i)}type=Iu.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},yg=class t extends cp{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=Iu.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0,redirected:i.redirected??this.redirected,responseType:i.responseType??this.responseType})}},Xc=class extends cp{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},kY=200,RY=204;var MY=new R("");var NY=/^\)\]\}',?\n/;var FI=(()=>{class t{xhrFactory;tracingService=m(Qa,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new ce(-2800,!1);let n=this.xhrFactory;return B(null).pipe(W(()=>new Ne(o=>{let a=n.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEac
5h((j,K)=>a.setRequestHeader(j,K.join(","))),e.headers.has(D2)||a.setRequestHeader(D2,AY),!e.headers.has(C2)){let j=e.detectContentTypeHeader();j!==null&&a.setRequestHeader(C2,j)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let j=e.responseType.toLowerCase();a.responseType=j!=="json"?j:"text"}let s=e.serializeBody(),d=null,p=()=>{if(d!==null)return d;let j=a.statusText||"OK",K=new Zc(a.getAllResponseHeaders()),Te=a.responseURL||e.url;return d=new ny({headers:K,status:a.status,statusText:j,url:Te}),d},f=this.maybePropagateTrace(()=>{let{headers:j,status:K,statusText:Te,url:tn}=p(),jt=null;K!==RY&&(jt=typeof a.response>"u"?a.responseText:a.response),K===0&&(K=jt?kY:0);let Oi=K>=200&&K<300;if(e.responseType==="json"&&typeof jt=="string"){let wc=jt;jt=jt.replace(NY,"");try{jt=jt!==""?JSON.parse(jt):null}catch(qd){jt=wc,Oi&&(Oi=!1,jt={error:qd,text:jt})}}Oi?(o.next(new yg({body:jt,headers:j,status:K,statusText:Te,url:tn||void 0})),o.complete()):o.error(new Xc({error:jt,headers:j,status:K,statusText:Te,url:tn||void 0}))}),b=this.maybePropagateTrace(j=>{let{url:K}=p(),Te=new Xc({error:j,status:a.status||0,statusText:a.statusText||"Unknown Error",url:K||void 0});o.error(Te)}),w=b;e.timeout&&(w=this.maybePropagateTrace(j=>{let{url:K}=p(),Te=new Xc({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:K||void 0});o.error(Te)}));let A=!1,M=this.maybePropagateTrace(j=>{A||(o.next(p()),A=!0);let K={type:Iu.DownloadProgress,loaded:j.loaded};j.lengthComputable&&(K.total=j.total),e.responseType==="text"&&a.responseText&&(K.partialText=a.responseText),o.next(K)}),J=this.maybePropagateTrace(j=>{let K={type:Iu.UploadProgress,loaded:j.loaded};j.lengthComputable&&(K.total=j.total),o.next(K)});return a.addEventListener("load",f),a.addEventListener("error",b),a.addEventListener("timeout",w),a.addEventListener("abort",b),e.reportProgress&&(a.addEventListener("progress",M),s!==null&&a.upload&&a.upload.addEventListener("progress",J)),a.send(s),o.next({type:Iu.Sent}),()=>{a.removeEventListener("error",b),a.removeEventListener("abort",b),a.removeEventListener("load",f),a.removeEventListener("timeout",w),e.reportProgress&&(a.removeEventListener("progress",M),s!==null&&a.upload&&a.upload.removeEventListener("progress",J)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(n){return new(n||t)(F(Tu))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OY=new R("",{factory:()=>!0}),FY="XSRF-TOKEN",S2=new R("",{factory:()=>FY}),PY="X-XSRF-TOKEN",T2=new R("",{factory:()=>PY}),LY=(()=>{class t{cookieName=m(S2);doc=m(Ce);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=fg(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),I2=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=F(LY),r},providedIn:"root"})}return t})();function A2(t,i){if(!m(OY)||t.method==="GET"||t.method==="HEAD")return i(t);try{let r=m(Ul).href,{origin:o}=new URL(r),{origin:a}=new URL(t.url,o);if(o!==a)return i(t)}catch(r){return i(t)}let e=m(I2).getToken(),n=m(T2);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),i(t)}function k2(t,i){return i(t)}function BY(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function VY(t,i,e){return(n,r)=>Yi(e,()=>i(n,o=>t(o,r)))}var R2=new R(""),PI=new R("",{factory:()=>[A2]}),M2=new R(""),LI=new R("",{factory:()=>!0});function jY(){let t=null;return(i,e)=>{t===null&&(t=(m(R2,{optional:!0})??[]).reduceRight(BY,k2));let n=m(gu);if(m(LI)){let o=n.add();return t(i,e).pipe(Zr(o))}else return t(i,e)}}var BI=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=F(FI),r},providedIn:"root"})}return t})();var iy=(()=>{class t{backend;injector;chain=null;pendingTasks=m(gu);contributeToStability=m(LI);constructor(e,n){this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=this.injector.get(ry,null,{skipSelf:!0}),r=n!==null&&this.backend===n,o=this.injector.get(M2,[],r?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(PI),...o]));this.chain=a.reduceRight((s,d)=>VY(s,d,this.injector),k2)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Zr(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(F(BI),F(_n))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ry=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=F(iy),r},providedIn:"root"})}return t})();function OI(t,i){return{body:i,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,referrerPolicy:t.referrerPolicy}}var ge=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,r={}){let o;if(e instanceof lp)o=e;else{let d;r.headers instanceof Zc?d=r.headers:d=new Zc(r.headers);let p;r.params&&(r.params instanceof it?p=r.params:p=new it({fromObject:r.params})),o=new lp(e,n,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:p,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,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let a=B(o).pipe(xs(d=>this.handler.handle(d)));if(e instanceof lp||r.observe==="events")return a;let s=a.pipe(ae(d=>d instanceof yg));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe($(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new ce(2806,!1);return d.body}));case"blob":return s.pipe($(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new ce(2807,!1);return d.body}));case"text":return s.pipe($(d=>{if(d.body!==null&&typeof d.body!="string")throw new ce(2808,!1);return d.body}));default:return s.pipe($(d=>d.body))}case"response":return s;default:throw new ce(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new it().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,OI(r,n))}post(e,n,r={}){return this.request("POST",e,OI(r,n))}put(e,n,r={}){return this.request("PUT",e,OI(r,n))}static \u0275fac=function(n){return new(n||t)(F(ry))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oy=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(oy||{});function N2(t,i){return{\u0275kind:t,\u0275providers:i}}function HY(...t){let i=[ge,iy,{provide:ry,useExisting:iy},{provide:BI,useFactory:()=>m(MY,{optional:!0})??m(FI)},{provide:PI,useValue:A2,multi:!0}];for(let e of t)i.push(...e.\u0275providers);return Pc(i)}var E2=new R("");function UY(){return N2(oy.LegacyInterceptors,[{provide:E2,useFactory:jY},{provide:PI,useExisting:E2,multi:!0}])}function zY({cookieName:t,headerName:i}){let e=[];return t!==void 0&&e.push({provide:S2,useValue:t}),i!==void 0&&e.push({provide:T2,useValue:i}),N2(oy.CustomXsrfConfiguration,e)}var O2=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Au=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=F(GY),r},providedIn:"root"})}return t})(),GY=(()=>{class t extends Au{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case cn.NONE:return n;case cn.HTML:return Fs(n,"HTML")?ao(n):l0(this._doc,String(n)).toString();case cn.STYLE:return Fs(n,"Style")?ao(n):n;case cn.SCRIPT:if(Fs(n,"Script"))return ao(n);throw new ce(5200,!1);case cn.URL:return Fs(n,"URL")?ao(n):eg(String(n));case cn.RESOURCE_URL:if(Fs(n,"ResourceURL"))return ao(n);throw new ce(5201,!1);default:throw new ce(5202,!1)}}bypassSecurityTrustHtml(e){return gT(e)}bypassSecurityTrustStyle(e){return _T(e)}bypassSecurityTrustScript(e){return bT(e)}bypassSecurityTrustUrl(e){return vT(e)}bypassSecurityTrustResourceUrl(e){return yT(e)}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var U2=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(E(ot),E(Q))};static \u0275dir=N({type:t})}return t})(),z2=(()=>{class t extends U2{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,features:[he]})}return t})(),er=new R("");var WY={provide:er,useExisting:bn(()=>Je),multi:!0};function $Y(){let t=Zo()?Zo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var qY=new R(""),Je=(()=>{class t extends U2{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!$Y())}writeValue(e){let n=e??"";this.setProperty("value",n)}_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(n){return new(n||t)(E(ot),E(Q),E(qY,8))};static \u0275dir=N({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(n,r){n&1&&T("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[me([WY]),he]})}return t})();function UI(t){return t==null||zI(t)===0}function zI(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Qo=new R(""),Ig=new R(""),YY=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,G=class{static min(i){return KY(i)}static max(i){return XY(i)}static required(i){return G2(i)}static requiredTrue(i){return ZY(i)}static email(i){return QY(i)}static minLength(i){return JY(i)}static maxLength(i){return W2(i)}static pattern(i){return eK(i)}static nullValidator(i){return sy()}static compose(i){return Z2(i)}static composeAsync(i){return Q2(i)}};function KY(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e<t?{min:{min:t,actual:i.value}}:null}}function XY(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function G2(t){return UI(t.value)?{required:!0}:null}function ZY(t){return t.value===!0?null:{required:!0}}function QY(t){return UI(t.value)||YY.test(t.value)?null:{email:!0}}function JY(t){return i=>{let e=i.value?.length??zI(i.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function W2(t){return i=>{let e=i.value?.length??zI(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function eK(t){if(!t)return sy;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>
vendor: 4,614 bytes, line 5
5{if(UI(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function sy(t){return null}function $2(t){return t!=null}function q2(t){return Vl(t)?fn(t):t}function Y2(t){let i={};return t.forEach(e=>{i=e!=null?P(P({},i),e):i}),Object.keys(i).length===0?null:i}function K2(t,i){return i.map(e=>e(t))}function tK(t){return!t.validate}function X2(t){return t.map(i=>tK(i)?i:e=>i.validate(e))}function Z2(t){if(!t)return null;let i=t.filter($2);return i.length==0?null:function(e){return Y2(K2(e,i))}}function GI(t){return t!=null?Z2(X2(t)):null}function Q2(t){if(!t)return null;let i=t.filter($2);return i.length==0?null:function(e){let n=K2(e,i).map(q2);return gf(n).pipe($(Y2))}}function WI(t){return t!=null?Q2(X2(t)):null}function F2(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function J2(t){return t._rawValidators}function eB(t){return t._rawAsyncValidators}function jI(t){return t?Array.isArray(t)?t:[t]:[]}function ly(t,i){return Array.isArray(t)?t.includes(i):t===i}function P2(t,i){let e=jI(i);return jI(t).forEach(r=>{ly(e,r)||e.push(r)}),e}function L2(t,i){return jI(i).filter(e=>!ly(t,e))}var cy=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(i){this._rawValidators=i||[],this._composedValidatorFn=GI(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=WI(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control?.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},js=class extends cy{name;get formDirective(){return null}get path(){return null}},Li=class extends cy{_parent=null;name=null;valueAccessor=null},dy=class{_cd;constructor(i){this._cd=i}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}};var Xe=(()=>{class t extends dy{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(E(Li,2))};static \u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&ee("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:[he]})}return t})(),Ai=(()=>{class t extends dy{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(E(js,10))};static \u0275dir=N({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&ee("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[he]})}return t})();
vendor: 4,273 bytes, line 5
5var Cg="VALID",ay="INVALID",dp="PENDING",Dg="DISABLED",Qc=class{},uy=class extends Qc{value;source;constructor(i,e){super(),this.value=i,this.source=e}},wg=class extends Qc{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},xg=class extends Qc{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},up=class extends Qc{status;source;constructor(i,e){super(),this.status=i,this.source=e}},my=class extends Qc{source;constructor(i){super(),this.source=i}},Sg=class extends Qc{source;constructor(i){super(),this.source=i}};function $I(t){return(_y(t)?t.validators:t)||null}function nK(t){return Array.isArray(t)?GI(t):t||null}function qI(t,i){return(_y(i)?i.asyncValidators:t)||null}function iK(t){return Array.isArray(t)?WI(t):t||null}function _y(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function tB(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new ce(1e3,"");if(!n[e])throw new ce(1001,"")}function nB(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new ce(-1002,"")})}var mp=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return Wt(this.statusReactive)}set status(i){Wt(()=>this.statusReactive.set(i))}_status=Ct(()=>this.statusReactive());statusReactive=Z(void 0);get valid(){return this.status===Cg}get invalid(){return this.status===ay}get pending(){return this.status===dp}get disabled(){return this.status===Dg}get enabled(){return this.status!==Dg}errors;get pristine(){return Wt(this.pristineReactive)}set pristine(i){Wt(()=>this.pristineReactive.set(i))}_pristine=Ct(()=>this.pristineReactive());pristineReactive=Z(!0);get dirty(){return!this.pristine}get touched(){return Wt(this.touchedReactive)}set touched(i){Wt(()=>this.touchedReactive.set(i))}_touched=Ct(()=>this.touchedReactive());touchedReactive=Z(!1);get untouched(){return!this.touched}_events=new O;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(P2(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(P2(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(L2(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(L2(i,this._rawAsyncValidators))}hasValidator(i){return ly(this._rawValidators,i)}hasAsyncValidator(i){return ly(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;i.onlySelf||this._parent?.markAsTouched(Ae(P({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new xg(!0,n))}markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),i.onlySelf||this._parent?._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new xg(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;i.onlySelf||this._parent?.markAsDirty(Ae(P({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new wg(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;
5this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),i.onlySelf||this._parent?._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new wg(!0,n))}markAsPending(i={}){this.status=dp;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new up(this.status,e)),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.markAsPending(Ae(P({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Dg,this.errors=null,this._forEachChild(r=>{r.disable(Ae(P({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new uy(this.value,n)),this._events.next(new up(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ae(P({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Cg,this._forEachChild(n=>{n.enable(Ae(P({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Ae(P({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){i.onlySelf||(this._parent?.updateValueAndValidity(i),i.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Cg||this.status===dp)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new uy(this.value,e)),this._events.next(new up(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.updateValueAndValidity(Ae(P({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dg:Cg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=dp,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:i!==!1};let n=q2(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(i,e){let n=e?this.get(e):this;return n?.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new up(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?Dg:this.errors?ay:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(dp)?dp:this._anyControlsHaveStatus(ay)?ay:Cg}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,i.onlySelf||this._parent?._updatePristine(i,e),r&&this._events.next(new wg(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new xg(this.touched,e)),i.onlySelf||this._parent?._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){_y(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}
vendor: 1,316 bytes, line 5
5_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=nK(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=iK(this._rawAsyncValidators)}},ku=class extends mp{constructor(i,e,n){super($I(e),qI(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}
vendor: 20,035 bytes, line 5
5){nB(this,!0,i),Object.keys(i).forEach(n=>{tB(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let r=this.controls[n];r&&r.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,r)=>{n.reset(i?i[r]:null,Ae(P({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Sg(this))}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((r,o)=>{n=e(n,r,o)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var Qn=ku;var HI=class extends ku{};var pp=new R("",{factory:()=>by}),by="always";function iB(t,i){return[...i.path,t]}function Tg(t,i,e=by){YI(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),oK(t,i),sK(t,i),aK(t,i),rK(t,i)}function py(t,i,e=!0){let n=()=>{};i?.valueAccessor?.registerOnChange(n),i?.valueAccessor?.registerOnTouched(n),fy(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function hy(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function rK(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function YI(t,i){let e=J2(t);i.validator!==null?t.setValidators(F2(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=eB(t);i.asyncValidator!==null?t.setAsyncValidators(F2(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();hy(i._rawValidators,r),hy(i._rawAsyncValidators,r)}function fy(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=J2(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==i.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(i.asyncValidator!==null){let r=eB(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==i.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let n=()=>{};return hy(i._rawValidators,n),hy(i._rawAsyncValidators,n),e}function oK(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&rB(t,i)})}function aK(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&rB(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function rB(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function sK(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function oB(t,i){t==null,YI(t,i)}function lK(t,i){return fy(t,i)}function KI(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function cK(t){return Object.getPrototypeOf(t.constructor)===z2}function aB(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function XI(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(o=>{o.constructor===Je?e=o:cK(o)?n=o:r=o}),r||n||e||null}function dK(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var uK={provide:js,useExisting:bn(()=>hp)},Eg=Promise.resolve(),hp=(()=>{class t extends js{callSetDisabledState;get submitted(){return Wt(this.submittedReactive)}_submitted=Ct(()=>this.submittedReactive());submittedReactive=Z(!1);_directives=new Set;form;ngSubmit=new V;options;constructor(e,n,r){super(),this.callSetDisabledState=r,this.form=new ku({},GI(e),WI(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Eg.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Tg(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Eg.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Eg.then(()=>{let n=this._findContainer(e.path),r=new ku({});oB(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Eg.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Eg.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),aB(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new my(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(E(Qo,10),E(Ig,10),E(pp,8))};static \u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&T("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[me([uK]),he]})}return t})();function B2(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function V2(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var uo=class extends mp{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super($I(e),qI(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_y(e)&&(e.nonNullable||e.initialValueIsDefault)&&(V2(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Sg(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){B2(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){B2(this._onDisabledChange,i)}_forEachChild(i){}_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(i){V2(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},z=uo,mK=t=>t instanceof uo;var pK={provide:Li,useExisting:bn(()=>Jc)},j2=Promise.resolve(),Jc=(()=>{class t extends Li{_changeDetectorRef;callSetDisabledState;control=new uo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new V;constructor(e,n,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=XI(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),KI(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){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(){Tg(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){j2.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&q(n);j2.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?iB(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(E(js,9),E(Qo,10),E(Ig,10),E(er,10),E(Ee,8),E(pp,8))};static \u0275dir=N({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:[me([pK]),he,Ke]})}return t})();var Vr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),hK={provide:er,useExisting:bn(()=>Ru),multi:!0},Ru=(()=>{class t extends z2{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&T("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[me([hK]),he]})}return t})();var gy=class extends mp{constructor(i,e,n){super($I(e),qI(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){Array.isArray(i)?i.forEach(n=>{this.controls.push(n),this._registerControl(n)}):(this.controls.push(i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){nB(this,!1,i),i.forEach((n,r)=>{tB(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,r)=>{n.reset(i[r],Ae(P({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Sg(this))}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}},n2e=gy;var fK=(()=>{class t extends js{callSetDisabledState;get submitted(){return Wt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Ct(()=>this._submittedReactive());_submittedReactive=Z(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,n,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(fy(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let n=this.form.get(e.path);return Tg(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){py(e.control||null,e,!1),dK(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,n){this.form.get(e.path).setValue(n)}onReset(){this.resetForm()}resetForm(e=void 0,n={}){this.form.reset(e,n),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,aB(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new my(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(py(n||null,e),mK(r)&&(Tg(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);oB(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let n=this.form?.get(e.path);n&&lK(n,e)&&n.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){YI(this.form,this),this._oldForm&&fy(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(n){return new(n||t)(E(Qo,10),E(Ig,10),E(pp,8))};static \u0275dir=N({type:t,features:[he,Ke]})}return t})();var ZI=new R(""),gK={provide:Li,useExisting:bn(()=>$e)},$e=(()=>{class t extends Li{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new V;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=XI(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&py(n,this,!1),Tg(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}KI(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&py(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||t)(E(Qo,10),E(Ig,10),E(er,10),E(ZI,8),E(pp,8))};static \u0275dir=N({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[me([gK]),he,Ke]})}return t})();var _K={provide:Li,useExisting:bn(()=>Mu)},Mu=(()=>{class t extends Li{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new V;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,r,o,a){super(),this._ngModelWarningConfig=a,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=XI(this,o)}ngOnChanges(e){this._added||this._setUpControl(),KI(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return iB(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(E(js,13),E(Qo,10),E(Ig,10),E(er,10),E(ZI,8))};static \u0275dir=N({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[me([_K]),he,Ke]})}return t})();var bK={provide:js,useExisting:bn(()=>qn)},qn=(()=>{class t extends fK{form=null;ngSubmit=new V;get control(){return this.form}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&T("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[me([bK]),he]})}return t})();function vK(t){return typeof t=="number"?t:parseInt(t,10)}var sB=(()=>{class t{_validator=sy;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].
5currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):sy,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,features:[Ke]})}return t})();var yK={provide:Qo,useExisting:bn(()=>mn),multi:!0};var mn=(()=>{class t extends sB{required;inputName="required";normalizeInput=q;createValidator=e=>G2;enabled(e){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&oe("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[me([yK]),he]})}return t})();var CK={provide:Qo,useExisting:bn(()=>Bi),multi:!0},Bi=(()=>{class t extends sB{maxlength;inputName="maxlength";normalizeInput=e=>vK(e);createValidator=e=>W2(e);static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&oe("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[me([CK]),he]})}return t})();var lB=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function H2(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var Er=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let r=this._reduceControls(e),o={};return H2(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new ku(r,o)}record(e,n=null){let r=this._reduceControls(e);return new HI(r,n)}control(e,n,r){let o={};return this.useNonNullable?(H2(n)?o=n:(o.validators=n,o.asyncValidators=r),new uo(e,Ae(P({},o),{nonNullable:!0}))):new uo(e,n,r)}array(e,n,r){let o=e.map(a=>this._createControl(a));return new gy(o,n,r)}_reduceControls(e){let n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){if(e instanceof uo)return e;if(e instanceof mp)return e;if(Array.isArray(e)){let n=e[0],r=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(n,r,o)}else return this.control(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vi=(()=>{class t extends Er{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),QI=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:pp,useValue:e.callSetDisabledState??by}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[lB]})}return t})(),ns=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ZI,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:pp,useValue:e.callSetDisabledState??by}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[lB]})}return t})();var xt="primary",Hg=Symbol("RouteTitle"),rA=class{params;constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ou(t){return new rA(t)}function JI(t,i,e){for(let n=0;n<t.length;n++){let r=t[n],o=i[n];if(r[0]===":")e[r.substring(1)]=o;else if(r!==o.path)return!1}return!0}function fB(t,i,e){let n=e.path.split("/"),r=n.indexOf("**");if(r===-1){if(n.length>t.length||e.pathMatch==="full"&&(i.hasChildren()||n.length<t.length))return null;let d={},p=t.slice(0,n.length);return JI(n,p,d)?{consumed:p,posParams:d}:null}if(r!==n.lastIndexOf("**"))return null;let o=n.slice(0,r),a=n.slice(r+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&i.hasChildren()&&e.path!=="**")return null;let s={};return!JI(o,t.slice(0,o.length),s)||!JI(a,t.slice(t.length-a.length),s)?null:{consumed:t,posParams:s}}function wy(t){return new Promise((i,e)=>{t.pipe(za()).subscribe({next:n=>i(n),error:n=>e(n)})})}function DK(t,i){if(t.length!==i.length)return!1;for(let e=0;e<t.length;++e)if(!Hs(t[e],i[e]))return!1;return!0}function Hs(t,i){let e=t?oA(t):void 0,n=i?oA(i):void 0;if(!e||!n||e.length!=n.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!gB(t[r],i[r]))return!1;return!0}function oA(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function gB(t,i){if(Array.isArray(t)&&Array.isArray(i)){if(t.length!==i.length)return!1;let e=[...t].sort(),n=[...i].sort();return e.every((r,o)=>n[o]===r)}else return t===i}function EK(t){return t.length>0?t[t.length-1]:null}function Pu(t){return Sl(t)?t:Vl(t)?fn(Promise.resolve(t)):B(t)}function _B(t){return Sl(t)?wy(t):Promise.resolve(t)}var wK={exact:vB,subset:yB},bB={exact:xK,subset:SK,ignored:()=>!0},vA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ng={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function yA(t,i,e){let n=t instanceof mo?t:i.parseUrl(t);return Ct(()=>aA(i.lastSuccessfulNavigation()?.finalUrl??new mo,n,P(P({},Ng),e)))}function aA(t,i,e){return wK[e.paths](t.root,i.root,e.matrixParams)&&bB[e.queryParams](t.queryParams,i.queryParams)&&!(e.fragment==="exact"&&t.fragment!==i.fragment)}function xK(t,i){return Hs(t,i)}function vB(t,i,e){if(!Nu(t.segments,i.segments)||!Cy(t.segments,i.segments,e)||t.numberOfChildren!==i.numberOfChildren)return!1;
vendor: 4,256 bytes, line 5
5for(let n in i.children)if(!t.children[n]||!vB(t.children[n],i.children[n],e))return!1;return!0}function SK(t,i){return Object.keys(i).length<=Object.keys(t).length&&Object.keys(i).every(e=>gB(t[e],i[e]))}function yB(t,i,e){return CB(t,i,i.segments,e)}function CB(t,i,e,n){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Nu(r,e)||i.hasChildren()||!Cy(r,e,n))}else if(t.segments.length===e.length){if(!Nu(t.segments,e)||!Cy(t.segments,e,n))return!1;for(let r in i.children)if(!t.children[r]||!yB(t.children[r],i.children[r],n))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Nu(t.segments,r)||!Cy(t.segments,r,n)||!t.children[xt]?!1:CB(t.children[xt],i,o,n)}}function Cy(t,i,e){return i.every((n,r)=>bB[e](t[r].parameters,n.parameters))}var mo=class{root;queryParams;fragment;_queryParamMap;constructor(i=new En([],{}),e={},n=null){this.root=i,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Ou(this.queryParams),this._queryParamMap}toString(){return AK.serialize(this)}},En=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dy(this)}},ed=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=Ou(this.parameters),this._parameterMap}toString(){return EB(this)}};function TK(t,i){return Nu(t,i)&&t.every((e,n)=>Hs(e.parameters,i[n].parameters))}function Nu(t,i){return t.length!==i.length?!1:t.every((e,n)=>e.path===i[n].path)}function IK(t,i){let e=[];return Object.entries(t.children).forEach(([n,r])=>{n===xt&&(e=e.concat(i(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==xt&&(e=e.concat(i(r,n)))}),e}var nd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new $l,providedIn:"root"})}return t})(),$l=class{parse(i){let e=new lA(i);return new mo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${Ag(i.root,!0)}`,n=MK(i.queryParams),r=typeof i.fragment=="string"?`#${kK(i.fragment)}`:"";return`${e}${n}${r}`}},AK=new $l;function Dy(t){return t.segments.map(i=>EB(i)).join("/")}function Ag(t,i){if(!t.hasChildren())return Dy(t);if(i){let e=t.children[xt]?Ag(t.children[xt],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==xt&&n.push(`${r}:${Ag(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=IK(t,(n,r)=>r===xt?[Ag(t.children[xt],!1)]:[`${r}:${Ag(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[xt]!=null?`${Dy(t)}/${e[0]}`:`${Dy(t)}/(${e.join("//")})`}}function DB(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function vy(t){return DB(t).replace(/%3B/gi,";")}function kK(t){return encodeURI(t)}function sA(t){return DB(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ey(t){return decodeURIComponent(t)}function cB(t){return Ey(t.replace(/\+/g,"%20"))}function EB(t){return`${sA(t.path)}${RK(t.parameters)}`}function RK(t){return Object.entries(t).map(([i,e])=>`;${sA(i)}=${sA(e)}`).join("")}function MK(t){let i=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(r=>`${vy(e)}=${vy(r)}`).join("&"):`${vy(e)}=${vy(n)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var eA=1073741824;function xy(t,i,e){Number(i)>=32&&!Object.hasOwn(t,eA)&&(t[eA]=e,delete t[eA]),t[i]=e}var NK=/^[^\/()?;#]+/;function tA(t){let i=t.match(NK);return i?i[0]:""}var OK=/^[^\/()?;=#]+/;function FK(t){let i=t.match(OK);return i?i[0]:""}var PK=/^[^=?&#]+/;function LK(t){let i=t.match(PK);return i?i[0]:""}var BK=/^[^&#]+/;function VK(t){let i=t.match(BK);return i?i[0]:""}var lA=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new En([],{}):new En([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}
5parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(i=0){if(i>50)throw new ce(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0,i));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1,i)),(e.length>0||Object.keys(n).length>0)&&(r[xt]=new En(e,n)),r}parseSegment(){let i=tA(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new ce(4009,!1);return this.capture(i),new ed(Ey(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=FK(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let r=tA(this.remaining);r&&(n=r,this.capture(n))}xy(i,Ey(e),Ey(n))}parseQueryParam(i){let e=LK(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let a=VK(this.remaining);a&&(n=a,this.capture(n))}let r=cB(e),o=cB(n);if(i.hasOwnProperty(r)){let a=i[r];Array.isArray(a)||(a=[a],i[r]=a),a.push(o)}else i[r]=o}parseParens(i,e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=tA(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new ce(4010,!1);let a;r.indexOf(":")>-1?(a=r.slice(0,r.indexOf(":")),this.capture(a),this.capture(":")):i&&(a=xt);let s=this.parseChildren(e+1),d=Object.keys(s).length===1&&s[xt]?s[xt]:new En([],s);xy(n,a??xt,d),this.consumeOptional("//")}return n}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new ce(4011,!1)}};function wB(t){return t.segments.length>0?new En([],{[xt]:t}):t}function xB(t){let i={};for(let[n,r]of Object.entries(t.children)){let o=xB(r);if(n===xt&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))xy(i,a,s);else(o.segments.length>0||o.hasChildren())&&xy(i,n,o)}let e=new En(t.segments,i);return jK(e)}function jK(t){if(t.numberOfChildren===1&&t.children[xt]){let i=t.children[xt];return new En(t.segments.concat(i.segments),i.children)}return t}function td(t){return t instanceof mo}function SB(t,i,e=null,n=null,r=new $l){let o=TB(t);return IB(o,i,e,n,r)}function TB(t){let i;function e(o){let a={};for(let d of o.children){let p=e(d);a[d.outlet]=p}let s=new En(o.url,a);return o===t&&(i=s),s}let n=e(t.root),r=wB(n);return i??r}function IB(t,i,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(i.length===0)return nA(o,o,o,e,n,r);let a=HK(i);if(a.toRoot())return nA(o,o,new En([],{}),e,n,r);let s=UK(a,o,t),d=s.processChildren?Rg(s.segmentGroup,s.index,a.commands):kB(s.segmentGroup,s.index,a.commands);return nA(o,s.segmentGroup,d,e,n,r)}function Sy(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Og(t){return typeof t=="object"&&t!=null&&t.outlets}function dB(t,i,e){t||="\u0275";let n=new mo;return n.queryParams={[t]:i},e.parse(e.serialize(n)).queryParams[t]}function nA(t,i,e,n,r,o){let a={};for(let[p,f]of Object.entries(n??{}))a[p]=Array.isArray(f)?f.map(b=>dB(p,b,o)):dB(p,f,o);let s;t===i?s=e:s=AB(t,i,e);let d=wB(xB(s));return new mo(d,a,r)}function AB(t,i,e){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===i?n[r]=e:n[r]=AB(o,i,e)}),new En(t.segments,n)}var Ty=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,n){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=n,i&&n.length>0&&Sy(n[0]))throw new ce(4003,!1);let r=n.find(Og);if(r&&r!==EK(n))throw new ce(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function HK(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ty(!0,0,t);let i=0,e=!1,n=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};
vendor: 4,199 bytes, line 5
5return Object.entries(o.outlets).forEach(([d,p])=>{s[d]=typeof p=="string"?p.split("/"):p}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,d)=>{d==0&&s==="."||(d==0&&s===""?e=!0:s===".."?i++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new Ty(e,i,n)}var gp=class{segmentGroup;processChildren;index;constructor(i,e,n){this.segmentGroup=i,this.processChildren=e,this.index=n}};function UK(t,i,e){if(t.isAbsolute)return new gp(i,!0,0);if(!e)return new gp(i,!1,NaN);if(e.parent===null)return new gp(e,!0,0);let n=Sy(t.commands[0])?0:1,r=e.segments.length-1+n;return zK(e,r,t.numberOfDoubleDots)}function zK(t,i,e){let n=t,r=i,o=e;for(;o>r;){if(o-=r,n=n.parent,!n)throw new ce(4005,!1);r=n.segments.length}return new gp(n,!1,r-o)}function GK(t){return Og(t[0])?t[0].outlets:{[xt]:t}}function kB(t,i,e){if(t??=new En([],{}),t.segments.length===0&&t.hasChildren())return Rg(t,i,e);let n=WK(t,i,e),r=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new En(t.segments.slice(0,n.pathIndex),{});return o.children[xt]=new En(t.segments.slice(n.pathIndex),t.children),Rg(o,0,r)}else return n.match&&r.length===0?new En(t.segments,{}):n.match&&!t.hasChildren()?cA(t,i,e):n.match?Rg(t,0,r):cA(t,i,e)}function Rg(t,i,e){if(e.length===0)return new En(t.segments,{});{let n=GK(e),r={};if(Object.keys(n).some(o=>o!==xt)&&t.children[xt]&&t.numberOfChildren===1&&t.children[xt].segments.length===0){let o=Rg(t.children[xt],i,e);return new En(t.segments,o.children)}return Object.entries(n).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=kB(t.children[o],i,a))}),Object.entries(t.children).forEach(([o,a])=>{n[o]===void 0&&(r[o]=a)}),new En(t.segments,r)}}function WK(t,i,e){let n=0,r=i,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=e.length)return o;let a=t.segments[r],s=e[n];if(Og(s))break;let d=`${s}`,p=n<e.length-1?e[n+1]:null;if(r>0&&d===void 0)break;if(d&&p&&typeof p=="object"&&p.outlets===void 0){if(!mB(d,p,a))return o;n+=2}else{if(!mB(d,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function cA(t,i,e){let n=t.segments.slice(0,i),r=0;for(;r<e.length;){let o=e[r];if(Og(o)){let d=$K(o.outlets);return new En(n,d)}if(r===0&&Sy(e[0])){let d=t.segments[i];n.push(new ed(d.path,uB(e[0]))),r++;continue}let a=Og(o)?o.outlets[xt]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&Sy(s)?(n.push(new ed(a,uB(s))),r+=2):(n.push(new ed(a,{})),r++)}return new En(n,{})}function $K(t){let i={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(i[e]=cA(new En([],{}),0,n))}),i}function uB(t){let i={};return Object.entries(t).forEach(([e,n])=>i[e]=`${n}`),i}function mB(t,i,e){return t==e.path&&Hs(i,e.parameters)}var _p="imperative",tr=(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})(tr||{}),ea=class{id;url;constructor(i,e){this.id=i,this.url=e}},Us=class extends ea{type=tr.NavigationStart;navigationTrigger;restoredState;constructor(i,e,n="imperative",r=null){super(i,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ta=class extends ea{urlAfterRedirects;type=tr.NavigationEnd;constructor(i,e,n){super(i,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},jr=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
5solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(jr||{}),vp=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(vp||{}),va=class extends ea{reason;code;type=tr.NavigationCancel;constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function RB(t){return t instanceof va&&(t.code===jr.Redirect||t.code===jr.SupersededByNewNavigation)}var zs=class extends ea{reason;code;type=tr.NavigationSkipped;constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r}},Fu=class extends ea{error;target;type=tr.NavigationError;constructor(i,e,n,r){super(i,e),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Fg=class extends ea{urlAfterRedirects;state;type=tr.RoutesRecognized;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Iy=class extends ea{urlAfterRedirects;state;type=tr.GuardsCheckStart;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ay=class extends ea{urlAfterRedirects;state;shouldActivate;type=tr.GuardsCheckEnd;constructor(i,e,n,r,o){super(i,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ky=class extends ea{urlAfterRedirects;state;type=tr.ResolveStart;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ry=class extends ea{urlAfterRedirects;state;type=tr.ResolveEnd;constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},My=class{route;type=tr.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ny=class{route;type=tr.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Oy=class{snapshot;type=tr.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Fy=class{snapshot;type=tr.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Py=class{snapshot;type=tr.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ly=class{snapshot;type=tr.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yp=class{routerEvent;position;anchor;scrollBehavior;type=tr.Scroll;constructor(i,e,n,r){this.routerEvent=i,this.position=e,this.anchor=n,this.scrollBehavior=r}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},Cp=class{},Pg=class{},Dp=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function qK(t){return!(t instanceof Cp)&&!(t instanceof Dp)&&!(t instanceof Pg)}var By=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new Lu(this.rootInjector)}},Lu=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new By(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(F(_n))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vy=class{_root;constructor(i){this._root=i}get root(){return this._root.value}
vendor: 16,303 bytes, line 5
5parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=dA(i,this._root);return e?e.children.map(n=>n.value):[]}firstChild(i){let e=dA(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=uA(i,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==i)}pathFromRoot(i){return uA(i,this._root).map(e=>e.value)}};function dA(t,i){if(t===i.value)return i;for(let e of i.children){let n=dA(t,e);if(n)return n}return null}function uA(t,i){if(t===i.value)return[i];for(let e of i.children){let n=uA(t,e);if(n.length)return n.unshift(i),n}return[]}var Jo=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function fp(t){let i={};return t&&t.children.forEach(e=>i[e.value.outlet]=e),i}var Lg=class extends Vy{snapshot;constructor(i,e){super(i),this.snapshot=e,DA(this,i)}toString(){return this.snapshot.toString()}};function MB(t,i){let e=YK(t,i),n=new zt([new ed("",{})]),r=new zt({}),o=new zt({}),a=new zt({}),s=new zt(""),d=new ql(n,r,a,s,o,xt,t,e.root);return d.snapshot=e.root,new Lg(new Jo(d,[]),e)}function YK(t,i){let e={},n={},r={},a=new Ep([],e,r,"",n,xt,t,null,{},i);return new Bg("",new Jo(a,[]))}var ql=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(i,e,n,r,o,a,s,d){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=d,this.title=this.dataSubject?.pipe($(p=>p[Hg]))??B(void 0),this.url=i,this.params=e,this.queryParams=n,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($(i=>Ou(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe($(i=>Ou(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function CA(t,i,e="emptyOnly"){let n,{routeConfig:r}=t;return i!==null&&(e==="always"||r?.path===""||!i.component&&!i.routeConfig?.loadComponent)?n={params:P(P({},i.params),t.params),data:P(P({},i.data),t.data),resolve:P(P(P(P({},t.data),i.data),r?.data),t._resolvedData)}:n={params:P({},t.params),data:P({},t.data),resolve:P(P({},t.data),t._resolvedData??{})},r&&OB(r)&&(n.resolve[Hg]=r.title),n}var Ep=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Hg]}constructor(i,e,n,r,o,a,s,d,p,f){this.url=i,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=d,this._resolve=p,this._environmentInjector=f}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??=Ou(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ou(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},Bg=class extends Vy{url;constructor(i,e){super(e),this.url=i,DA(this,e)}toString(){return NB(this._root)}};function DA(t,i){i.value._routerState=t,i.children.forEach(e=>DA(t,e))}function NB(t){let i=t.children.length>0?` { ${t.children.map(NB).join(", ")} } `:"";return`${t.value}${i}`}function iA(t){if(t.snapshot){let i=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Hs(i.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Hs(i.params,e.params)||t.paramsSubject.next(e.params),DK(i.url,e.url)||t.urlSubject.next(e.url),Hs(i.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function mA(t,i){let e=Hs(t.params,i.params)&&TK(t.url,i.url),n=!t.parent!=!i.parent;return e&&!n&&(!t.parent||mA(t.parent,i.parent))}function OB(t){return typeof t.title=="string"||t.title===null}var FB=new R(""),EA=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=xt;activateEvents=new V;deactivateEvents=new V;attachEvents=new V;detachEvents=new V;routerOutletData=co();parentContexts=m(Lu);location=m(Pt);changeDetector=m(Ee);inputBinder=m(Ug,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:r}=e.name;if(n)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 ce(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ce(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ce(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,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,n){if(this.isActivated)throw new ce(4013,!1);this._activatedRoute=e;let r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,d=new pA(e,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:d,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ke]})}return t})(),pA=class{route;childContexts;parent;outletData;constructor(i,e,n,r){this.route=i,this.childContexts=e,this.parent=n,this.outletData=r}get(i,e){return i===ql?this.route:i===Lu?this.childContexts:i===FB?this.outletData:this.parent.get(i,e)}},Ug=new R(""),wA=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,r=nn([n.queryParams,n.params,n.data]).pipe(W(([o,a,s],d)=>(s=P(P(P({},o),a),s),d===0?B(s):Promise.resolve(s)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let a=P0(n.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,o[s])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),xA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,r){n&1&&x(0,"router-outlet")},dependencies:[EA],encapsulation:2})}return t})();function SA(t){let i=t.children&&t.children.map(SA),e=i?Ae(P({},t),{children:i}):P({},t);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==xt&&(e.component=xA),e}function KK(t,i,e){let n=Vg(t,i._root,e?e._root:void 0);return new Lg(n,i)}function Vg(t,i,e){if(e&&t.shouldReuseRoute(i.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=i.value;let r=XK(t,i,e);return new Jo(n,r)}else{if(t.shouldAttach(i.value)){let o=t.retrieve(i.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=i.value,a.children=i.children.map(s=>Vg(t,s)),a}}let n=ZK(i.value),r=i.children.map(o=>Vg(t,o));return new Jo(n,r)}}function XK(t,i,e){return i.children.map(n=>{for(let r of e.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return Vg(t,n,r);return Vg(t,n)})}function ZK(t){return new ql(new zt(t.url),new zt(t.params),new zt(t.queryParams),new zt(t.fragment),new zt(t.data),t.outlet,t.component,t)}var wp=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},PB="ngNavigationCancelingError";function jy(t,i){let{redirectTo:e,navigationBehaviorOptions:n}=td(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,r=LB(!1,jr.Redirect);return r.url=e,r.navigationBehaviorOptions=n,r}function LB(t,i){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[PB]=!0,e.cancellationCode=i,e}function QK(t){return BB(t)&&td(t.url)}function BB(t){return!!t&&t[PB]}var hA=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,n,r,o){this.routeReuseStrategy=i,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(i){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,i),iA(this.futureState.root),this.activateChildRoutes(e,n,i)}deactivateChildRoutes(i,e,n){let r=fp(e);i.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],n),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(i,e,n){let r=i.value,o=e?e.value:null;if(r===o)if(r.component){let a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let n=e.getContext(i.value.outlet),r=n&&i.value.component?n.children:e,o=fp(i);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(n&&n.outlet){let a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:s})}}deactivateRouteAndOutlet(i,e){let n=e.getContext(i.value.outlet),r=n&&i.value.component?n.children:e,o=fp(i);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(i,e,n){let r=fp(e);i.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new Ly(o.value.snapshot))}),i.children.length&&this.forwardEvent(new Fy(i.value.snapshot))}activateRoutes(i,e,n){let r=i.value,o=e?e.value:null;if(iA(r),r===o)if(r.component){let a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,n);else if(r.component){let a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),iA(s.route.value),this.activateChildRoutes(i,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(i,null,a.children)}else this.activateChildRoutes(i,null,n)}},Hy=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},bp=class{component;route;constructor(i,e){this.component=i,this.route=e}};function JK(t,i,e){let n=t._root,r=i?i._root:null;return kg(n,r,e,[n.value])}function eX(t){let i=t.routeConfig?t.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:t,guards:i}}function Sp(t,i){let e=Symbol(),n=i.get(t,e);return n===e?typeof t=="function"&&!Sx(t)?t:i.get(t):n}function kg(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=fp(i);return t.children.forEach(a=>{tX(a,o[a.value.outlet],e,n.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Mg(s,e.getContext(a),r)),r}function tX(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=i?i.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let d=nX(a,o,o.routeConfig.runGuardsAndResolvers);d?r.canActivateChecks.push(new Hy(n)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?kg(t,i,s?s.children:null,n,r):kg(t,i,e,n,r),d&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new bp(s.outlet.component,a))}else a&&Mg(i,s,r),r.canActivateChecks.push(new Hy(n)),o.component?kg(t,null,s?s.children:null,n,r):kg(t,null,e,n,r);return r}function nX(t,i,e){if(typeof e=="function")return Yi(i._environmentInjector,()=>e(t,i));switch(e){case"pathParamsChange":return!Nu(t.url,i.url);case"pathParamsOrQueryParamsChange":return!Nu(t.url,i.url)||!Hs(t.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!mA(t,i)||!Hs(t.queryParams,i.queryParams);default:return!mA(t,i)}}function Mg(t,i,e){let n=fp(t),r=t.value;Object.entries(n).forEach(([o,a])=>{r.component?i?Mg(a,i.children.getContext(o),e):Mg(a,null,e):Mg(a,i,e)}),r.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new bp(i.outlet.component,r)):e.canDeactivateChecks.push(new bp(null,r)):e.canDeactivateChecks.push(new bp(null,r))}function zg(t){return typeof t=="function"}function iX(t){return typeof t=="boolean"}function rX(t){return t&&zg(t.canLoad)}function oX(t){return t&&zg(t.canActivate)}function aX(t){return t&&zg(t.canActivateChild)}function sX(t){return t&&zg(t.canDeactivate)}function lX(t){return t&&zg(t.canMatch)}function VB(t){return t instanceof Tl||t?.name==="EmptyError"}var yy=Symbol("INITIAL_VALUE");function xp(){return W(t=>nn(t.map(i=>i.pipe(We(1),Re(yy)))).pipe($(i=>{for(let e of i)if(e!==!0){if(e===yy)return yy;if(e===!1||cX(e))return e}return!0}),ae(i=>i!==yy),We(1)))}function cX(t){return td(t)||t instanceof wp}function jB(t){return t.aborted?B(void 0).pipe(We(1)):new Ne(i=>{let e=()=>{i.next(),i.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function HB(t){return xe(jB(t))}function dX(t){return ii(i=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:r,canDeactivateChecks:o}}=i;return o.length===0&&r.length===0?B(Ae(P({},i),{guardsResult:!0})):uX(o,e,n).pipe(ii(a=>a&&iX(a)?mX(e,r,t):B(a)),$(a=>Ae(P({},i),{guardsResult:a})))})}function uX(t,i,e){return fn(t).pipe(ii(n=>_X(n.component,n.route,e,i)),za(n=>n!==!0,!0))}function mX(t,i,e){return fn(i).pipe(xs(n=>ws(hX(n.route.parent,e),pX(n.route,e),gX(t,n.path),fX(t,n.route))),za(n=>n!==!0,!0))}function pX(t,i){return t!==null&&i&&i(new Py(t)),B(!0)}function hX(t,i){return t!==null&&i&&i(new Oy(t)),B(!0)}
5function fX(t,i){let e=i.routeConfig?i.routeConfig.canActivate:null;if(!e||e.length===0)return B(!0);let n=e.map(r=>$n(()=>{let o=i._environmentInjector,a=Sp(r,o),s=oX(a)?a.canActivate(i,t):Yi(o,()=>a(i,t));return Pu(s).pipe(za())}));return B(n).pipe(xp())}function gX(t,i){let e=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(o=>eX(o)).filter(o=>o!==null).map(o=>$n(()=>{let a=o.guards.map(s=>{let d=o.node._environmentInjector,p=Sp(s,d),f=aX(p)?p.canActivateChild(e,t):Yi(d,()=>p(e,t));return Pu(f).pipe(za())});return B(a).pipe(xp())}));return B(r).pipe(xp())}function _X(t,i,e,n){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return B(!0);let o=r.map(a=>{let s=i._environmentInjector,d=Sp(a,s),p=sX(d)?d.canDeactivate(t,i,e,n):Yi(s,()=>d(t,i,e,n));return Pu(p).pipe(za())});return B(o).pipe(xp())}function bX(t,i,e,n,r){let o=i.canLoad;if(o===void 0||o.length===0)return B(!0);let a=o.map(s=>{let d=Sp(s,t),p=rX(d)?d.canLoad(i,e):Yi(t,()=>d(i,e)),f=Pu(p);return r?f.pipe(HB(r)):f});return B(a).pipe(xp(),UB(n))}function UB(t){return Zw(L(i=>{if(typeof i!="boolean")throw jy(t,i)}),$(i=>i===!0))}function vX(t,i,e,n,r,o){let a=i.canMatch;if(!a||a.length===0)return B(!0);let s=a.map(d=>{let p=Sp(d,t),f=lX(p)?p.canMatch(i,e,r):Yi(t,()=>p(i,e,r));return Pu(f).pipe(HB(o))});return B(s).pipe(xp(),UB(n))}var Wl=class t extends Error{segmentGroup;constructor(i){super(),this.segmentGroup=i||null,Object.setPrototypeOf(this,t.prototype)}},jg=class t extends Error{urlTree;constructor(i){super(),this.urlTree=i,Object.setPrototypeOf(this,t.prototype)}};function yX(t){throw new ce(4e3,!1)}function CX(t){throw LB(!1,jr.GuardRejected)}var fA=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){return Rn(this,null,function*(){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return n;if(r.numberOfChildren>1||!r.children[xt])throw yX(`${i.redirectTo}`);r=r.children[xt]}})}applyRedirectCommands(i,e,n,r,o){return Rn(this,null,function*(){let a=yield DX(e,r,o);if(a instanceof mo)throw new jg(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),i,n);if(a[0]==="/")throw new jg(s);return s})}applyRedirectCreateUrlTree(i,e,n,r){let o=this.createSegmentGroup(i,e.root,n,r);return new mo(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let n={};return Object.entries(i).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);n[r]=e[s]}else n[r]=o}),n}createSegmentGroup(i,e,n,r){let o=this.createSegments(i,e.segments,n,r),a={};return Object.entries(e.children).forEach(([s,d])=>{a[s]=this.createSegmentGroup(i,d,n,r)}),new En(o,a)}createSegments(i,e,n,r){return e.map(o=>o.path[0]===":"?this.findPosParam(i,o,r):this.findOrReturn(o,n))}findPosParam(i,e,n){let r=n[e.path.substring(1)];if(!r)throw new ce(4001,!1);return r}findOrReturn(i,e){let n=0;for(let r of e){if(r.path===i.path)return e.splice(n),r;n++}return i}};function DX(t,i,e){if(typeof t=="string")return Promise.resolve(t);let n=t;return wy(Pu(Yi(e,()=>n(i))))}function EX(t,i){return t.providers&&!t._injector&&(t._injector=ap(t.providers,i,`Route: ${t.path}`)),t._injector??i}function is(t){return t.outlet||xt}function wX(t,i){let e=t.filter(n=>is(n)===i);return e.push(...t.filter(n=>is(n)!==i)),e}var gA={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zB(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function xX(t,i,e,n,r,o,a){let s=GB(t,i,e);if(!s.matched)return B(s);let d=zB(o(s));return n=EX(i,n),vX(n,i,e,r,d,a).pipe($(p=>p===!0?s:P({},gA)))}function GB(t,i,e){if(i.path==="")return i.pathMatch==="full"&&(t.hasChildren()||e.length>0)?P({},gA):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(i.matcher||fB)(e,t,i);if(!r)return P({},gA);let o={};Object.entries(r.posParams??{}
5).forEach(([s,d])=>{o[s]=d.path});let a=r.consumed.length>0?P(P({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function pB(t,i,e,n,r){return e.length>0&&IX(t,e,n,r)?{segmentGroup:new En(i,TX(n,new En(e,t.children))),slicedSegments:[]}:e.length===0&&AX(t,e,n)?{segmentGroup:new En(t.segments,SX(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new En(t.segments,t.children),slicedSegments:e}}function SX(t,i,e,n){let r={};for(let o of e)if(zy(t,i,o)&&!n[is(o)]){let a=new En([],{});r[is(o)]=a}return P(P({},n),r)}function TX(t,i){let e={};e[xt]=i;for(let n of t)if(n.path===""&&is(n)!==xt){let r=new En([],{});e[is(n)]=r}return e}function IX(t,i,e,n){return e.some(r=>!zy(t,i,r)||!(is(r)!==xt)?!1:!(n!==void 0&&is(r)===n))}function AX(t,i,e){return e.some(n=>zy(t,i,n))}function zy(t,i,e){return(t.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function kX(t,i,e){return i.length===0&&!t.children[e]}var _A=class{};function RX(t,i,e,n,r,o,a="emptyOnly",s){return Rn(this,null,function*(){return new bA(t,i,e,n,r,a,o,s).recognize()})}var MX=31,bA=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(i,e,n,r,o,a,s,d){this.injector=i,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.abortSignal=d,this.applyRedirects=new fA(this.urlSerializer,this.urlTree)}noMatchError(i){return new ce(4002,`'${i.segmentGroup}'`)}recognize(){return Rn(this,null,function*(){let i=pB(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:n}=yield this.match(i),r=new Jo(n,e),o=new Bg("",r),a=SB(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}})}match(i){return Rn(this,null,function*(){let e=new Ep([],Object.freeze({}),Object.freeze(P({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),xt,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,i,xt,e),rootSnapshot:e}}catch(n){if(n instanceof jg)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Wl?this.noMatchError(n):n}})}processSegmentGroup(i,e,n,r,o){return Rn(this,null,function*(){if(n.segments.length===0&&n.hasChildren())return this.processChildren(i,e,n,o);let a=yield this.processSegment(i,e,n,n.segments,r,!0,o);return a instanceof Jo?[a]:[]})}processChildren(i,e,n,r){return Rn(this,null,function*(){let o=[];for(let d of Object.keys(n.children))d==="primary"?o.unshift(d):o.push(d);let a=[];for(let d of o){let p=n.children[d],f=wX(e,d),b=yield this.processSegmentGroup(i,f,p,d,r);a.push(...b)}let s=WB(a);return NX(s),s})}processSegment(i,e,n,r,o,a,s){return Rn(this,null,function*(){for(let d of e)try{return yield this.processSegmentAgainstRoute(d._injector??i,e,d,n,r,o,a,s)}catch(p){if(p instanceof Wl||VB(p))continue;throw p}if(kX(n,r,o))return new _A;throw new Wl(n)})}processSegmentAgainstRoute(i,e,n,r,o,a,s,d){return Rn(this,null,function*(){if(is(n)!==a&&(a===xt||!zy(r,o,n)))throw new Wl(r);if(n.redirectTo===void 0)return this.matchSegmentAgainstRoute(i,r,n,o,a,d);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(i,r,e,n,o,a,d);throw new Wl(r)})}expandSegmentAgainstRouteUsingRedirect(i,e,n,r,o,a,s){return Rn(this,null,function*(){let{matched:d,parameters:p,consumedSegments:f,positionalParamSegments:b,remainingSegments:w}=GB(e,r,o);if(!d)throw new Wl(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>MX&&(this.allowRedirects=!1));let A=this.createSnapshot(i,r,o,p,s);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let M=yield this.applyRedirects.applyRedirectCommands(f,r.redirectTo,b,zB(A),i),J=yield this.applyRedirects.lineralizeSegments(r,M);return this.processSegment(i,n,e,J.concat(w),a,!1,s)})}
5createSnapshot(i,e,n,r,o){let a=new Ep(n,r,Object.freeze(P({},this.urlTree.queryParams)),this.urlTree.fragment,FX(e),is(e),e.component??e._loadedComponent??null,e,PX(e),i),s=CA(a,o,this.paramsInheritanceStrategy);return a.params=Object.freeze(s.params),a.data=Object.freeze(s.data),a}matchSegmentAgainstRoute(i,e,n,r,o,a){return Rn(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=tn=>this.createSnapshot(i,n,tn.consumedSegments,tn.parameters,a),d=yield wy(xX(e,n,r,i,this.urlSerializer,s,this.abortSignal));if(n.path==="**"&&(e.children={}),!d?.matched)throw new Wl(e);i=n._injector??i;let{routes:p}=yield this.getChildConfig(i,n,r),f=n._loadedInjector??i,{parameters:b,consumedSegments:w,remainingSegments:A}=d,M=this.createSnapshot(i,n,w,b,a),{segmentGroup:J,slicedSegments:j}=pB(e,w,A,p,o);if(j.length===0&&J.hasChildren()){let tn=yield this.processChildren(f,p,J,M);return new Jo(M,tn)}if(p.length===0&&j.length===0)return new Jo(M,[]);let K=is(n)===o,Te=yield this.processSegment(f,p,J,j,K?xt:o,!0,M);return new Jo(M,Te instanceof Jo?[Te]:[])})}getChildConfig(i,e,n){return Rn(this,null,function*(){if(e.children)return{routes:e.children,injector:i};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(i).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield wy(bX(i,e,n,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(i,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw CX(e)}return{routes:[],injector:i}})}};function NX(t){t.sort((i,e)=>i.value.outlet===xt?-1:e.value.outlet===xt?1:i.value.outlet.localeCompare(e.value.outlet))}function OX(t){let i=t.value.routeConfig;return i&&i.path===""}function WB(t){let i=[],e=new Set;for(let n of t){if(!OX(n)){i.push(n);continue}let r=i.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),e.add(r)):i.push(n)}for(let n of e){let r=WB(n.children);i.push(new Jo(n.value,r))}return i.filter(n=>!e.has(n))}function FX(t){return t.data||{}}function PX(t){return t.resolve||{}}function LX(t,i,e,n,r,o,a){return ii(s=>Rn(null,null,function*(){let{state:d,tree:p}=yield RX(t,i,e,n,s.extractedUrl,r,o,a);return Ae(P({},s),{targetSnapshot:d,urlAfterRedirects:p})}))}function BX(t){return ii(i=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=i;if(!n.length)return B(i);let r=new Set(n.map(s=>s.route)),o=new Set;for(let s of r)if(!o.has(s))for(let d of $B(s))o.add(d);let a=0;return fn(o).pipe(xs(s=>r.has(s)?VX(s,e,t):(s.data=CA(s,s.parent,t).resolve,B(void 0))),L(()=>a++),Qb(1),ii(s=>a===o.size?B(i):ke))})}function $B(t){let i=t.children.map(e=>$B(e)).flat();return[t,...i]}function VX(t,i,e){let n=t.routeConfig,r=t._resolve;return n?.title!==void 0&&!OB(n)&&(r[Hg]=n.title),$n(()=>(t.data=CA(t,t.parent,e).resolve,jX(r,t,i).pipe($(o=>(t._resolvedData=o,t.data=P(P({},t.data),o),null)))))}function jX(t,i,e){let n=oA(t);if(n.length===0)return B({});let r={};return fn(n).pipe(ii(o=>HX(t[o],i,e).pipe(za(),L(a=>{if(a instanceof wp)throw jy(new $l,a);r[o]=a}))),Qb(1),$(()=>r),Ge(o=>VB(o)?ke:gn(o)))}function HX(t,i,e){let n=i._environmentInjector,r=Sp(t,n),o=r.resolve?r.resolve(i,e):Yi(n,()=>r(i,e));return Pu(o)}function hB(t){return W(i=>{let e=t(i);return e?fn(e).pipe($(()=>i)):B(i)})}var TA=(()=>{class t{buildTitle(e){let n,r=e.root;for(;r!==void 0;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(o=>o.outlet===xt);return n}getResolvedTitleForRoute(e){return e.data[Hg]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(qB),providedIn:"root"})}return t})(),qB=(()=>{class t extends TA{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(F(O2))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),id=new R("",{factory:()=>({})}),Tp=new R(""),Gy=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m(iI);loadComponent(e,n){return Rn(this,null,function*(){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Promise.resolve(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Rn(this,null,function*(){try{let o=yield _B(Yi(e,()=>
5n.loadComponent())),a=yield XB(KB(o));return this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=a,a}finally{this.componentLoaders.delete(n)}});return this.componentLoaders.set(n,r),r})}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Promise.resolve({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let r=Rn(this,null,function*(){try{let o=yield YB(n,this.compiler,e,this.onLoadEndListener);return n._loadedRoutes=o.routes,n._loadedInjector=o.injector,n._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(n)}});return this.childrenLoaders.set(n,r),r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function YB(t,i,e,n){return Rn(this,null,function*(){let r=yield _B(Yi(e,()=>t.loadChildren())),o=yield XB(KB(r)),a;o instanceof v0||Array.isArray(o)?a=o:a=yield i.compileModuleAsync(o),n&&n(t);let s,d,p=!1,f;return Array.isArray(a)?(d=a,p=!0):(s=a.create(e).injector,f=a,d=s.get(Tp,[],{optional:!0,self:!0}).flat()),{routes:d.map(SA),injector:s,factory:f}})}function UX(t){return t&&typeof t=="object"&&"default"in t}function KB(t){return UX(t)?t.default:t}function XB(t){return Rn(this,null,function*(){return t})}var Wy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(zX),providedIn:"root"})}return t})(),zX=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IA=new R(""),AA=new R("");function ZB(t,i,e){let n=t.get(AA),r=t.get(Ce);if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(p=>setTimeout(p));let o,a=new Promise(p=>{o=p}),s=r.startViewTransition(()=>(o(),GX(t)));s.updateCallbackDone.catch(p=>{}),s.ready.catch(p=>{}),s.finished.catch(p=>{});let{onViewTransitionCreated:d}=n;return d&&Yi(t,()=>d({transition:s,from:i,to:e})),a}function GX(t){return new Promise(i=>{Dt({read:()=>setTimeout(i)},{injector:t})})}var WX=()=>{},kA=new R(""),$y=(()=>{class t{currentNavigation=Z(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Z(null);events=new O;transitionAbortWithErrorSubject=new O;configLoader=m(Gy);environmentInjector=m(_n);destroyRef=m(dn);urlSerializer=m(nd);rootContexts=m(Lu);location=m(Vs);inputBindingEnabled=m(Ug,{optional:!0})!==null;titleStrategy=m(TA);options=m(id,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=m(Wy);createViewTransition=m(IA,{optional:!0});navigationErrorHandler=m(kA,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>B(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new My(r)),n=r=>this.events.next(new Ny(r));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;Wt(()=>{this.transitions?.next(Ae(P({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new zt(null),this.transitions.pipe(ae(n=>n!==null),W(n=>{let r=!1,o=new AbortController,a=()=>!r&&this.currentTransition?.id===n.id;return B(n).pipe(W(s=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",jr.SupersededByNewNavigation),ke;this.currentTransition=n;let d=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:d?Ae(P({},d),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:s.routesRecognizeHandler,beforeActivateHandler:s.beforeActivateHandler});let p=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!p&&f!=="reload")return this.events.next(new zs(s.id,this.urlSerializer.serialize(s.rawUrl),"",vp.IgnoredSameUrlNavigation)),s.resolve(!1),ke;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return B(s).pipe(W(b=>(this.events.next(new Us(b.id,this.urlSerializer.serialize(b.extractedUrl),b.source,b.restoredState)),b.id!==this.navigationId?ke:Promise.resolve(b))),LX(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),L(b=>{n.targetSnapshot=b.targetSnapshot,n.urlAfterRedirects=b.urlAfterRedirects,this.currentNavigation.update(w=>(w.finalUrl=b.urlAfterRedirects,w)),this.events.next(new Pg)}),W(b=>fn(n.routesRecognizeHandler.deferredHandle??B(void 0)).pipe($(()=>b))),L(()=>{let b=new Fg(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(b)}));if(p&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:b,extractedUrl:w,source:A,restoredState:M,extras:J}=s,j=new Us(b,this.urlSerializer.serialize(w),A,M);this.events.next(j);let K=MB(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=n=Ae(P({},s),{targetSnapshot:K,urlAfterRedirects:w,extras:Ae(P({},J),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(Te=>(Te.finalUrl=w,Te)),B(n)}else return this.events.next(new zs(s.id,this.urlSerializer.serialize(s.extractedUrl),"",vp.IgnoredByUrlHandlingStrategy)),s.resolve(!1),ke}),$(s=>{let d=new Iy(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(d),this.currentTransition=n=Ae(P({},s),{guards:JK(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),n}),dX(s=>this.events.next(s)),W(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw jy(this.urlSerializer,s.guardsResult);let d=new Ay(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(d),!a())return ke;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",jr.GuardRejected),ke;if(s.guards.canActivateChecks.length===0)return B(s);let p=new ky(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(p),!a())return ke;let f=!1;return B(s).pipe(BX(this.paramsInheritanceStrategy),L({next:()=>{f=!0;let b=new Ry(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(b)},complete:()=>
5{f||this.cancelNavigationTransition(s,"",jr.NoDataFromResolver)}}))}),hB(s=>{let d=f=>{let b=[];if(f.routeConfig?._loadedComponent)f.component=f.routeConfig?._loadedComponent;else if(f.routeConfig?.loadComponent){let w=f._environmentInjector;b.push(this.configLoader.loadComponent(w,f.routeConfig).then(A=>{f.component=A}))}for(let w of f.children)b.push(...d(w));return b},p=d(s.targetSnapshot.root);return p.length===0?B(s):fn(Promise.all(p).then(()=>s))}),hB(()=>this.afterPreactivation()),W(()=>{let{currentSnapshot:s,targetSnapshot:d}=n,p=this.createViewTransition?.(this.environmentInjector,s.root,d.root);return p?fn(p).pipe($(()=>n)):B(n)}),We(1),W(s=>{let d=KK(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);this.currentTransition=n=s=Ae(P({},s),{targetRouterState:d}),this.currentNavigation.update(f=>(f.targetRouterState=d,f)),this.events.next(new Cp);let p=n.beforeActivateHandler.deferredHandle;return p?fn(p.then(()=>s)):B(s)}),L(s=>{new hA(e.routeReuseStrategy,n.targetRouterState,n.currentRouterState,d=>this.events.next(d),this.inputBindingEnabled).activate(this.rootContexts),a()&&(r=!0,this.currentNavigation.update(d=>(d.abort=WX,d)),this.lastSuccessfulNavigation.set(Wt(this.currentNavigation)),this.events.next(new ta(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0))}),xe(jB(o.signal).pipe(ae(()=>!r&&!n.targetRouterState),L(()=>{this.cancelNavigationTransition(n,o.signal.reason+"",jr.Aborted)}))),L({complete:()=>{r=!0}}),xe(this.transitionAbortWithErrorSubject.pipe(L(s=>{throw s}))),Zr(()=>{o.abort(),r||this.cancelNavigationTransition(n,"",jr.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ge(s=>{if(r=!0,this.destroyed)return n.resolve(!1),ke;if(BB(s))this.events.next(new va(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),QK(s)?this.events.next(new Dp(s.url,s.navigationBehaviorOptions)):n.resolve(!1);else{let d=new Fu(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let p=Yi(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(p instanceof wp){let{message:f,cancellationCode:b}=jy(this.urlSerializer,p);this.events.next(new va(n.id,this.urlSerializer.serialize(n.extractedUrl),f,b)),this.events.next(new Dp(p.redirectTo,p.navigationBehaviorOptions))}else throw this.events.next(d),s}catch(p){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(p)}}return ke}))}))}cancelNavigationTransition(e,n,r){let o=new va(e.id,this.urlSerializer.serialize(e.extractedUrl),n,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))),n=Wt(this.currentNavigation),r=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==r?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function $X(t){return t!==_p}var QB=new R("");var JB=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(qX),providedIn:"root"})}return t})(),Uy=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}shouldDestroyInjector(i){return!0}},qX=(()=>{class t extends Uy{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qy=(()=>{class t{urlSerializer=m(nd);options=m(id,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=m(Vs);urlHandlingStrategy=m(Wy);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new mo;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,a=r??o;return a instanceof mo?this.urlSerializer.serialize(a):a}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:r}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,r),this.routerState=e):this.rawUrlTree=r}routerState=MB(null,m(_n));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(YX),providedIn:"root"})}return t})(),YX=(()=>{class t extends qy{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,n){e instanceof Us?this.updateStateMemento():e instanceof zs?this.commitTransition(n):e instanceof Fg?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof Cp?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof va&&!RB(e)?this.restoreHistory(n):e instanceof Fu?this.restoreHistory(n,!0):e instanceof ta&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let{extras:r,id:o}=n,{replaceUrl:a,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||a){let d=this.browserPageId,p=P(P({},s),this.generateNgRouterState(o,d,n));this.location.replaceState(e,"",p)}else{let d=P(P({},s),this.generateNgRouterState(o,this.browserPageId+1,n));this.location.go(e,"",d)}}restoreHistory(e,n=!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"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n,r){return this.canceledNavigationResolution==="computed"?P({navigationId:e,\u0275routerPageId:n},this.routerUrlState(r)):P({navigationId:e},this.routerUrlState(r))}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Yy(t,i){t.events.pipe(ae(e=>e instanceof ta||e instanceof va||e instanceof Fu||e instanceof zs),$(e=>e instanceof ta||e instanceof zs?0:(e instanceof va?e.code===jr.Redirect||e.code===jr.SupersededByNewNavigation:!1)?2:1),ae(e=>e!==2),We(1)).subscribe(()=>{i()})}var wr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m(y0);stateManager=m(qy);options=m(id,{optional:!0})||{};pendingTasks=m(Rs);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=m($y);
5urlSerializer=m(nd);location=m(Vs);urlHandlingStrategy=m(Wy);injector=m(_n);_events=new O;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m(JB);injectorCleanup=m(QB,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=m(Tp,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m(Ug,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new _e;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let r=this.navigationTransitions.currentTransition,o=Wt(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof va&&n.code!==jr.Redirect&&n.code!==jr.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof ta)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(n instanceof Dp){let a=n.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(n.url,r.currentRawUrl),d=P({scroll:r.extras.scroll,browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||$X(r.source)},a);this.scheduleNavigation(s,_p,null,d,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}qK(n)&&this._events.next(n)}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),_p,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,r,o)=>{this.navigateToSyncWithBrowser(e,r,n,o)})}navigateToSyncWithBrowser(e,n,r,o){let a=r?.navigationId?r:null,s=r?.\u0275routerUrl??e;if(r?.\u0275routerUrl&&(o=Ae(P({},o),{browserUrl:e})),r){let p=P({},r);delete p.navigationId,delete p.\u0275routerPageId,delete p.\u0275routerUrl,Object.keys(p).length!==0&&(o.state=p)}let d=this.parseUrl(s);this.scheduleNavigation(d,n,a,o).catch(p=>{this.disposed||this.injector.get(Eo)(p)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Wt(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(SA),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:d}=n,p=d?this.currentUrlTree.fragment:a,f=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":f=P(P({},this.currentUrlTree.queryParams),o);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=o||null}f!==null&&(f=this.removeEmptyProps(f));let b;try{let w=r?r.snapshot:this.routerState.snapshot.root;b=TB(w)}catch(w){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),b=this.currentUrlTree.root}return IB(b,e,f,p??null,this.urlSerializer)}navigateByUrl(e,n={skipLocationChange:!1}){let r=td(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,_p,null,n)}navigate(e,n={skipLocationChange:!1}){return KX(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(n){return this.console.warn(pa(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,n){let r;if(n===!0?r=P({},vA):n===!1?r=P({},Ng):r=P(P({},Ng),n),td(e))return aA(this.currentUrlTree,e,r);let o=this.parseUrl(e);return aA(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((n,[r,o])=>(o!=null&&(n[r]=o),n),{})}scheduleNavigation(e,n,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,d,p;a?(s=a.resolve,d=a.reject,p=a.promise):p=new Promise((b,w)=>{s=b,d=w});let f=this.pendingTasks.add();return Yy(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:d,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
5),p.catch(Promise.reject.bind(Promise))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function KX(t){for(let i=0;i<t.length;i++)if(t[i]==null)throw new ce(4008,!1)}var XX=(()=>{class t{router=m(wr);stateManager=m(qy);fragment=Z("");queryParams=Z({});path=Z("");serializer=m(nd);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof ta&&this.updateState()})}updateState(){let{fragment:e,root:n,queryParams:r}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(r),this.path.set(this.serializer.serialize(new mo(n)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ky=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=m(new di("href"),{optional:!0});reactiveHref=rI(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Wt(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Wt(this._target)}_target=Z(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Wt(this._queryParams)}_queryParams=Z(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Wt(this._fragment)}_fragment=Z(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Wt(this._queryParamsHandling)}_queryParamsHandling=Z(void 0);set state(e){this._state.set(e)}get state(){return Wt(this._state)}_state=Z(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Wt(this._info)}_info=Z(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Wt(this._relativeTo)}_relativeTo=Z(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Wt(this._preserveFragment)}_preserveFragment=Z(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Wt(this._skipLocationChange)}_skipLocationChange=Z(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Wt(this._replaceUrl)}_replaceUrl=Z(!1);isAnchorElement;onChanges=new O;applicationErrorHandler=m(Eo);options=m(id,{optional:!0});reactiveRouterState=m(XX);constructor(e,n,r,o,a,s){this.router=e,this.route=n,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s;let d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area"||!!(typeof customElements=="object"&&customElements.get(d)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=Z(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(td(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,r,o,a){let s=this._urlTree();if(s===null||this.isAnchorElement&&(e!==0||n||r||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,d)?.catch(p=>{this.applicationErrorHandler(p)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,n){let r=this.renderer,o=this.el.nativeElement;n!==null?r.setAttribute(o,e,n):r.removeAttribute(o,e)}_urlTree=Ct(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=r=>r==="preserve"||r==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let n=this.routerLinkInput();return n===null||!this.router.createUrlTree?null:td(n)?n:this.router.createUrlTree(n,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,n)=>this.computeHref(e)===this.computeHref(n)});get urlTree(){return Wt(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(n){return new(n||t)(E(wr),E(ql),Qf("tabindex"),E(ot),E(Q),E(es))};static \u0275dir=N({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,r){n&1&&T("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),n&2&&oe("href",r.reactiveHref(),CT)("target",r._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",q],skipLocationChange:[2,"skipLocationChange","skipLocationChange",q],replaceUrl:[2,"replaceUrl","replaceUrl",q],routerLink:"routerLink"},features:[Ke]})}return t})(),ZX=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new V;link=m(Ky,{optional:!0});constructor(e,n,r,o){this.router=e,this.element=n,this.renderer=r,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof ta&&this.update()})}ngAfterContentInit(){B(this.links.changes,B(null)).pipe(Es()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=fn(e).pipe(Es()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();
5this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=QX(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?P({},vA):P({},Ng);return r=>{let o=r.urlTree;return o?Wt(yA(o,e,n)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(E(wr),E(Q),E(ot),E(Ee))};static \u0275dir=N({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Ky,5),n&2){let a;H(a=U())&&(r.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Ke]})}return t})();function QX(t){let i=t;return!!(i.paths||i.matrixParams||i.queryParams||i.fragment)}var Gg=class{};var eV=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,r,o){this.router=e,this.injector=n,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ae(e=>e instanceof ta),xs(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,n){let r=[];for(let o of n){o.providers&&!o._injector&&(o._injector=ap(o.providers,e,""));let a=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(a).injector);let s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return fn(r).pipe(Es())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{if(e.destroyed)return B(null);let r;n.loadChildren&&n.canLoad===void 0?r=fn(this.loader.loadChildren(e,n)):r=B(null);let o=r.pipe(ii(a=>a===null?B(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,n._loadedNgModuleFactory=a.factory,this.processRoutes(a.injector??e,a.routes))));if(n.loadComponent&&!n._loadedComponent){let a=this.loader.loadComponent(e,n);return fn([o,a]).pipe(Es())}else return o})}static \u0275fac=function(n){return new(n||t)(F(wr),F(_n),F(Gg),F(Gy))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),tV=new R(""),JX=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=_p;restoredId=0;store={};isHydrating=m(hT,{optional:!0})??!1;urlSerializer=m(nd);zone=m(le);viewportScroller=m(SI);transitions=m($y);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&m(Qi).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Us?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ta?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof zs&&e.code===vp.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof yp)||e.scrollBehavior==="manual")return;let n={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],n):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,n):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,n){if(this.isHydrating)return;let r=Wt(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>Rn(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new yp(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){wu()};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function eZ(){return m(wr).routerState.root}function Wg(t,i){return{\u0275kind:t,\u0275providers:i}}function tZ(){let t=m(ie);return i=>{let e=t.get(Qi);if(i!==e.components[0])return;let n=t.get(wr),r=t.get(nV);t.get(MA)===1&&n.initialNavigation(),t.get(oV,null,{optional:!0})?.setUpPreloading(),t.get(tV,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var nV=new R("",{factory:()=>new O}),MA=new R("",{factory:()=>1});function iV(){let t=[{provide:o0,useValue:!0},{provide:MA,useValue:0},w0(()=>{let i=m(ie);return i.get(fI,Promise.resolve()).then(()=>new Promise(n=>{let r=i.get(wr),o=i.get(nV);Yy(r,()=>{n(!0)}),i.get($y).afterPreactivation=()=>(n(!0),o.closed?B(void 0):o),r.initialNavigation()}))})];return Wg(2,t)}function rV(){let t=[w0(()=>{m(wr).setUpLocationChangeListener()}),{provide:MA,useValue:2}];return Wg(3,t)}var oV=new R("");function aV(t){return Wg(0,[{provide:oV,useExisting:eV},{provide:Gg,useExisting:t}])}function sV(){return Wg(8,[wA,{provide:Ug,useExisting:wA}])}function lV(t){Yo("NgRouterViewTransitions");let i=[{provide:IA,useValue:ZB},{provide:AA,useValue:P({skipNextTransition:!!t?.skipInitialTransition},t)}];return Wg(9,i)}var cV=[Vs,{provide:nd,useClass:$l},wr,Lu,{provide:ql,useFactory:eZ},Gy,[]],nZ=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[cV,[],{provide:Tp,multi:!0,useValue:e},[],n?.errorHandler?{provide:kA,useValue:n.errorHandler}:[],{provide:id,useValue:n||{}},n?.useHash?rZ():oZ(),iZ(),n?.preloadingStrategy?aV(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?aZ(n):[],n?.bindToComponentInputs?sV().\u0275providers:[],n?.enableViewTransitions?lV().\u0275providers:[],sZ()]}}static forChild(e){return{ngModule:t,providers:[{provide:Tp,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();function iZ(){return{provide:tV,useFactory:()=>{let t=m(SI),i=m(id);return i.scrollOffset&&t.setOffset(i.scrollOffset),new JX(i)}}}function rZ(){return{provide:es,useClass:DI}}function oZ(){return{provide:es,useClass:V0}}function aZ(t){return[t.initialNavigation==="disabled"?rV().\u0275providers:[],t.initialNavigation==="enabledBlocking"?iV().\u0275providers:[]]}
5var RA=new R("");function sZ(){return[{provide:RA,useFactory:tZ},{provide:x0,multi:!0,useExisting:RA}]}var Ip="accounts",eBe="bank-statements",tBe="current",nBe="transfer-history",iBe="cards",rBe="card-locks",oBe="operations",aBe="standing-order",sBe="deposits",lBe="gsm-boosts",cBe="transfers",dBe="signatures",uBe="approvals",mBe="execution",pBe="currency-exchange",hBe="contractors",fBe="support-tables",gBe="banks",_Be="foreign-banks",bBe="tax-office",vBe="exchange-rate",yBe="deposit-interest-rate",CBe="proposals",DBe="credit-holidays",Xy="messages",Zy="view",dV="unallocated",uV="login",EBe="logout",wBe="profile",xBe="mobile-app";var rd=(function(t){return t[t.ALL=0]="ALL",t[t.ANY=1]="ANY",t})(rd||{});var Qy=new WeakMap,Lt=(()=>{class t{_appRef;_injector=m(ie);_environmentInjector=m(_n);load(e){let n=this._appRef=this._appRef||this._injector.get(Qi),r=Qy.get(n);r||(r={loaders:new Set,refs:[]},Qy.set(n,r),n.onDestroy(()=>{Qy.get(n)?.refs.forEach(o=>o.destroy()),Qy.delete(n)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(F0(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var NA;function mV(){if(NA==null){let t=typeof document<"u"?document.head:null;NA=!!(t&&(t.createShadowRoot||t.attachShadow))}return NA}function Bu(t){if(mV()){let i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Io(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function ui(t){return t.composedPath?t.composedPath()[0]:t.target}function Yl(t){return t.buttons===0||t.detail===0}function Kl(t){let i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}function xr(t,i=0){return Jy(t)?Number(t):arguments.length===2?i:0}function Jy(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function _i(t){return t instanceof Q?t.nativeElement:t}var OA;try{OA=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){OA=!1}var gt=(()=>{class t{_platformId=m(Pl);isBrowser=this._platformId?$0(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||OA)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var cZ=new R("cdk-dir-doc",{providedIn:"root",factory:()=>m(Ce)}),dZ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function pV(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?dZ.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var an=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Z("ltr");change=new V;constructor(){let e=m(cZ,{optional:!0});if(e){let n=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(pV(n||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var rs=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(rs||{}),eC,Vu;function tC(){if(Vu==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Vu=!1,Vu;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Vu=!0;else{let t=Element.prototype.scrollTo;t?Vu=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Vu=!1}}return Vu}function Ap(){if(typeof document!="object"||!document)return rs.NORMAL;if(eC==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),e
vendor: 4,518 bytes, line 5
5C=rs.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,eC=t.scrollLeft===0?rs.NEGATED:rs.INVERTED),t.remove()}return eC}var ju=class{};function $g(t){return t&&typeof t.connect=="function"&&!(t instanceof mf)}var os=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(os||{}),nC=class{viewCacheSize=20;_viewCache=[];applyChanges(i,e,n,r,o){i.forEachOperation((a,s,d)=>{let p,f;if(a.previousIndex==null){let b=()=>n(a,s,d);p=this._insertView(b,d,e,r(a)),f=p?os.INSERTED:os.REPLACED}else d==null?(this._detachAndCacheView(s,e),f=os.REMOVED):(p=this._moveView(s,d,e,r(a)),f=os.MOVED);o&&o({context:p?.context,operation:f,record:a})})}detach(){for(let i of this._viewCache)i.destroy();this._viewCache=[]}_insertView(i,e,n,r){let o=this._insertViewFromCache(e,n);if(o){o.context.$implicit=r;return}let a=i();return n.createEmbeddedView(a.templateRef,a.context,a.index)}_detachAndCacheView(i,e){let n=e.detach(i);this._maybeCacheView(n,e)}_moveView(i,e,n,r){let o=n.get(i);return n.move(o,e),o.context.$implicit=r,o}_maybeCacheView(i,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(i);else{let n=e.indexOf(i);n===-1?i.destroy():e.remove(n)}}_insertViewFromCache(i,e){let n=this._viewCache.pop();return n&&e.insert(n,i),n||null}};var De=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var uZ=20,as=(()=>{class t{_ngZone=m(le);_platform=m(gt);_renderer=m(fi).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new O;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=uZ){return this._platform.isBrowser?new Ne(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Pm(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):B()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(ae(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&n.push(o)}),n}_scrollableContainsElement(e,n){let r=_i(n),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gs=(()=>{class t{elementRef=m(Q);scrollDispatcher=m(as);ngZone=m(le);dir=m(an,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new O;_renderer=m(ot);_cleanupScroll;_elementScrolled=new O;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let n=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),r&&Ap()!=rs.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),Ap()==rs.INVERTED?e.left=e.right:Ap()==rs.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let n=this.elementRef.nativeElement;tC()?n.scrollTo(e):(e.top!=null&&(n.scrollTop=e.top),e.left!=null&&(n.scrollLeft=e.left))}measureScrollOffset(e){let n="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";
5return e=="start"?e=a?r:n:e=="end"&&(e=a?n:r),a&&Ap()==rs.INVERTED?e==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Ap()==rs.NEGATED?e==n?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==n?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),mZ=20,ji=(()=>{class t{_platform=m(gt);_listeners;_viewportSize=null;_change=new O;_document=m(Ce);constructor(){let e=m(le),n=m(fi).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[n.listen("window","resize",r),n.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body?.scrollTop||n.scrollY||r.scrollTop||0,s=-o.left||e.body?.scrollLeft||n.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=mZ){return e>0?this._change.pipe(Pm(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hV=new R("CDK_VIRTUAL_SCROLL_VIEWPORT");var ur=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})(),od=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De,ur,De,ur]})}return t})();var FA={},pt=class t{_appId=m(Gc);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(i,e=!1){return this._appId!=="ng"&&(i+=this._appId),FA.hasOwnProperty(i)||(FA[i]=0),`${i}${e?t._infix+"-":""}${FA[i]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})};function Xl(t){return Array.isArray(t)?t:[t]}function BA(t){let i=t.cloneNode(!0),e=i.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();i.removeAttribute("id");for(let r=0;r<e.length;r++)e[r].removeAttribute("id");return n==="canvas"?_V(t,i):(n==="input"||n==="select"||n==="textarea")&&gV(t,i),fV("canvas",t,i,_V),fV("input, textarea, select",t,i,gV),i}function fV(t,i,e,n){let r=i.querySelectorAll(t);if(r.length){let o=e.querySelectorAll(t);for(let a=0;a<r.length;a++)n(r[a],o[a])}}var hZ=0;function gV(t,i){i.type!=="file"&&(i.value=t.value),i.type==="radio"&&i.name&&(i.name=`mat-clone-${i.name}-${hZ++}`)}function _V(t,i){let e=i.getContext("2d");if(e)try{e.drawImage(t,0,0)}catch(n){}}function GA(t){let i=t.getBoundingClientRect();return{top:i.top,right:i.right,bottom:i.bottom,left:i.left,width:i.width,height:i.height,x:i.x,y:i.y}}function VA(t,i,e){let{top:n,bottom:r,left:o,right:a}=t;return e>=n&&e<=r&&i>=o&&i<=a}function fZ(t,i){let e=i.left<t.left,n=i.left+i.width>t.right,r=i.top<t.top,o=i.top+i.height>t.bottom;return e||n||r||o}function Kg(t,i,e){t.top+=i,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function bV(t,i,e,n){let{top:r,right:o,bottom:a,left:s,width:d,height:p}=t,f=d*i,b=p*i;return n>r-b&&n<a+b&&e>s-f&&e<o+f}var iC=class{_document;positions=new Map;constructor(i){this._document=i}clear(){this.positions.clear()}cache(i){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}
vendor: 4,103 bytes, lines 5-18
5),i.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:GA(e)})})}handleScroll(i){let e=ui(i),n=this.positions.get(e);if(!n)return null;let r=n.scrollPosition,o,a;if(e===this._document){let p=this.getViewportScrollPosition();o=p.top,a=p.left}else o=e.scrollTop,a=e.scrollLeft;let s=r.top-o,d=r.left-a;return this.positions.forEach((p,f)=>{p.clientRect&&e!==f&&e.contains(f)&&Kg(p.clientRect,s,d)}),r.top=o,r.left=a,{top:s,left:d}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function AV(t,i){let e=t.rootNodes;if(e.length===1&&e[0].nodeType===i.ELEMENT_NODE)return e[0];let n=i.createElement("div");return e.forEach(r=>n.appendChild(r)),n}function WA(t,i,e){for(let n in i)if(i.hasOwnProperty(n)){let r=i[n];r?t.setProperty(n,r,e?.has(n)?"important":""):t.removeProperty(n)}return t}function kp(t,i){let e=i?"":"none";WA(t.style,{"touch-action":i?"":"none","-webkit-user-drag":i?"":"none","-webkit-tap-highlight-color":i?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function vV(t,i,e){WA(t.style,{position:i?"":"fixed",top:i?"":"0",opacity:i?"":"0",left:i?"":"-999em"},e)}function rC(t,i){return i&&i!="none"?t+" "+i:t}function yV(t,i){t.style.width=`${i.width}px`,t.style.height=`${i.height}px`,t.style.transform=Xg(i.left,i.top)}function Xg(t,i){return`translate3d(${Math.round(t)}px, ${Math.round(i)}px, 0)`}var qg={capture:!0},PA={passive:!1,capture:!0},gZ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(n,r){},styles:[`@layer cdk-resets { 6 .cdk-drag-preview { 7 background: none; 8 border: none; 9 padding: 0; 10 color: inherit; 11 inset: auto; 12 } 13} 14.cdk-drag-placeholder *, 15.cdk-drag-preview * { 16 pointer-events: none !important; 17} 18`],encapsulation:2,changeDetection:0})}return t})(),kV=(()=>{class t{_ngZone=m(le);_document=m(Ce);_styleLoader=m(Lt);_renderer=m(fi).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new O;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=Z([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new O;pointerUp=new O;constructor(){}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,PA)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.()}startDragging(e,n){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._styleLoader.load(gZ),this._activeDragInstances.update(r=>[...r,e]),this._activeDragInstances().length===1)){let r=n.type.startsWith("touch"),o=s=>this.pointerUp.next(s),a=[["scroll",s=>this._scroll.next(s),qg],["selectstart",this._preventDefaultWhileDragging,PA]];r?a.push(["touchend",o,qg],["touchcancel",o,qg]):a.push(["mouseup",o,qg]),r||a.push(["mousemove",s=>this.pointerMove.next(s),PA]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=a.map(([s,d,p])=>this._renderer.listen(this._document,s,d,p))})}}stopDragging(e){this._activeDragInstances.update(n=>{let r=n.indexOf(e);return r>-1?(n.splice(r,1),[...n]):n}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let n=[this._scroll];return e&&e!==this._document&&n.push(new Ne(r=>this._ngZone.runOutsideAngular(()=>{let o=this._renderer.listen(e,"scroll",a=>{this._activeDragInstances().length&&r.next(a)},qg);return()=>{o()}}))),ut(...n)}registerDirectiveNode(e,n){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(e,n)}removeDirectiveNode(e){this._domNodesToDirectives?.delete(e)}
18getDragDirectiveForNode(e){return this._domNodesToDirectives?.get(e)||null}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=e=>{this._activeDragInstances().length>0&&e.preventDefault()};_persistentTouchmoveListener=e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))};_clearGlobalListeners(){this._globalListeners?.forEach(e=>e()),this._globalListeners=void 0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function CV(t){let i=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*i}function _Z(t){let i=getComputedStyle(t),e=LA(i,"transition-property"),n=e.find(s=>s==="transform"||s==="all");if(!n)return 0;let r=e.indexOf(n),o=LA(i,"transition-duration"),a=LA(i,"transition-delay");return CV(o[r])+CV(a[r])}function LA(t,i){return t.getPropertyValue(i).split(",").map(n=>n.trim())}var bZ=new Set(["position"]),jA=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView=null;_preview;get element(){return this._preview}constructor(i,e,n,r,o,a,s,d,p,f){this._document=i,this._rootElement=e,this._direction=n,this._initialDomRect=r,this._previewTemplate=o,this._previewClass=a,this._pickupPositionOnPage=s,this._initialTransform=d,this._zIndex=p,this._renderer=f}attach(i){this._preview=this._createPreview(),i.appendChild(this._preview),DV(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(i){this._preview.style.transform=i}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(i){this._preview.classList.add(i)}getTransitionDuration(){return _Z(this._preview)}addEventListener(i,e){return this._renderer.listen(this._preview,i,e)}_createPreview(){let i=this._previewTemplate,e=this._previewClass,n=i?i.template:null,r;if(n&&i){let o=i.matchSize?this._initialDomRect:null,a=i.viewContainer.createEmbeddedView(n,i.context);a.detectChanges(),r=AV(a,this._document),this._previewEmbeddedView=a,i.matchSize?yV(r,o):r.style.transform=Xg(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=BA(this._rootElement),yV(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return WA(r.style,{"pointer-events":"none",margin:DV(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},bZ),kp(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}};function DV(t){return"showPopover"in t}var vZ={passive:!0},EV={passive:!1},yZ={passive:!1,capture:!0},CZ=800,wV="cdk-drag-placeholder",xV=new Set(["position"]);function DZ(t,i,e={dragStartThreshold:5,pointerDirectionChangeThreshold:5}){let n=t.get(ot,null,{optional:!0})||t.get(fi).createRenderer(null,null);return new HA(i,e,t.get(Ce),t.get(le),t.get(ji),t.get(kV),n)}var HA=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview=null;_previewContainer;_placeholderRef=null;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=Z(!1);_hasMoved=!1;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new O;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement=null;_rootElementTapHighlight;_pointerMoveSubscription=_e.EMPTY;_pointerUpSubscription=_e.EMPTY;_scrollSubscription=_e.EMPTY;_resizeSubscription=_e.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef=null;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(i){i!==this._disabled&&(this._disabled=i,this._toggleNativeDragInteractions(),this._handles.forEac
vendor: 14,019 bytes, line 18
18h(e=>kp(e,i)))}_disabled=!1;beforeStarted=new O;started=new O;released=new O;ended=new O;entered=new O;exited=new O;dropped=new O;moved=this._moveEvents;data;constrainPosition;constructor(i,e,n,r,o,a,s){this._config=e,this._document=n,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._renderer=s,this.withRootElement(i).withParent(e.parentDragRef||null),this._parentPositions=new iC(n),a.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(i){this._handles=i.map(n=>_i(n)),this._handles.forEach(n=>kp(n,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(n=>{this._handles.indexOf(n)>-1&&e.add(n)}),this._disabledHandles=e,this}withPreviewTemplate(i){return this._previewTemplate=i,this}withPlaceholderTemplate(i){return this._placeholderTemplate=i,this}withRootElement(i){let e=_i(i);if(e!==this._rootElement){this._removeRootElementListeners();let n=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"mousedown",this._pointerDown,EV),n.listen(e,"touchstart",this._pointerDown,vZ),n.listen(e,"dragstart",this._nativeDragStart,EV)]),this._initialTransform=void 0,this._rootElement=e}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(i){return this._boundaryElement=i?_i(i):null,this._resizeSubscription.unsubscribe(),i&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(i){return this._parentDragRef=i,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&fZ(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let i=this._boundaryElement.getBoundingClientRect(),e=this._rootElement.getBoundingClientRect(),n=0,r=0;e.left<i.left?n=i.left-e.left:e.right>i.right&&(n=i.right-e.right),e.top<i.top?r=i.top-e.top:e.bottom>i.bottom&&(r=i.bottom-e.bottom);let o=this._activeTransform.x,a=this._activeTransform.y,s=o+n,d=a+r;this._rootElement.style.transform=Xg(s,d),this._activeTransform={x:s,y:d},this._passiveTransform={x:s,y:d}}}disableHandle(i){!this._disabledHandles.has(i)&&this._handles.indexOf(i)>-1&&(this._disabledHandles.add(i),kp(i,!0))}enableHandle(i){this._disabledHandles.has(i)&&(this._disabledHandles.delete(i),kp(i,this.disabled))}withDirection(i){return this._direction=i,this}_withDropContainer(i){this._dropContainer=i}getFreeDragPosition(){let i=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:i.x,y:i.y}}setFreeDragPosition(i){return this._activeTransform={x:0,y:0},this._passiveTransform.x=i.x,this._passiveTransform.y=i.y,this._dropContainer||this._applyRootElementTransform(i.x,i.y),this}withPreviewContainer(i){return this._previewContainer=i,this}_sortFromLastPointerPosition(){let i=this._lastKnownPointerPosition;i&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(i),i)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=i=>{if(this.beforeStarted.next(),this._handles.length){let e=this._getTargetHandle(i);e&&!this._disabledHandles.has(e)&&!this.disabled&&this._initializeDragSequence(e,i)}else this.disabled||this._initializeDragSequence(this._rootElement,i)};_pointerMove=i=>{let e=this._getPointerPositionOnPage(i);if(!this._hasStartedDragging()){let r=Math.abs(e.x-this._pickupPositionOnPage.x),o=Math.abs(e.y-this._pickupPositionOnPage.y);if(r+o>=this._config.dragStartThreshold){let s=Date.now()>=this._dragStartTime+this._getDragStartDelay(i),d=this._dropContainer;if(!s){this._endDragSequence(i);return}(!d||!d.isDragging()&&!d.isReceiving())&&(i.cancelable&&i.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(i)))}return}i.cancelable&&i.preventDefault();let n=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n,e);else{let r=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,o=this._activeTransform;o.x=n.x-r.x+this._passiveTransform.x,o.y=n.y-r.y+this._passiveTransform.y,this._applyRootElementTransform(o.x,o.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:n,event:i,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})})};_pointerUp=i=>{this._endDragSequence(i)};_endDragSequence(i){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:i}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(i),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(i);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:i})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(i){Yg(i)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),n=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(e,"selectstart",EZ,yZ)}),n){let r=this._rootElement,o=r.parentNode,a=this._placeholder=this._createPlaceholderElement(),s=this._marker=this._marker||this._document.createComment("");o.insertBefore(s,r),this._initialTransform=r.style.transform||"",this._preview=new jA(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(o,e)),vV(r,!1,xV),this._document.body.appendChild(o.replaceChild(a,r)),this.started.next({source:this,event:i}),n.start(),this._initialContainer=n,this._initialIndex=n.getItemIndex(this)}else this.started.next({source:this,event:i}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(n?n.getScrollableParents():[])}_initializeDragSequence(i,e){this._parentDragRef&&e.stopPropagation();let n=this.isDragging(),r=Yg(e),o=!r&&e.button!==0,a=this._rootElement,s=ui(e),d=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+CZ>Date.now(),p=r?Kl(e):Yl(e);if(s&&s.draggable&&e.type==="mousedown"&&e.preventDefault(),n||o||d||p)return;if(this._handles.length){let w=a.style;this._rootElementTapHighlight=w.webkitTapHighlightColor||"",w.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(w=>this._updateOnScroll(w)),this._boundaryElement&&(this._boundaryRect=GA(this._boundaryElement));let f=this._previewTemplate;this._pickupPositionInElement=f&&f.template&&!f.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,i,e);let b=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:b.x,y:b.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(i){vV(this._rootElement,!0,xV),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,n=e.getItemIndex(this),r=this._getPointerPositionOnPage(i),o=this._getDragDistance(r),a=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:i}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r,event:i}),e.drop(this,n,this._initialIndex,this._initialContainer,a,o,r,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:i,y:e},{x:n,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,i,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{let a=this._dropContainer.getItemIndex(this),s=this._dropContainer.getItemAtIndex(a+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(o,this._dropContainer,s),this._dropContainer=o,this._dropContainer.enter(this,i,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(n,r),this._dropContainer._sortItem(this,i,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(i,e):this._applyPreviewTransform(i-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let i=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(i.left,i.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(n=>{let r=s=>{(!s||this._preview&&ui(s)===this._preview.element&&s.propertyName==="transform")&&(a(),n(),clearTimeout(o))},o=setTimeout(r,e*1.5),a=this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){let i=this._placeholderTemplate,e=i?i.template:null,n;return e?(this._placeholderRef=i.viewContainer.createEmbeddedView(e,i.context),this._placeholderRef.detectChanges(),n=AV(this._placeholderRef,this._document)):n=BA(this._rootElement),n.style.pointerEvents="none",n.classList.add(wV),n}_getPointerPositionInElement(i,e,n){let r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():i,a=Yg(n)?n.targetTouches[0]:n,s=this._getViewportScrollPosition(),d=a.pageX-o.left-s.left,p=a.pageY-o.top-s.top;return{x:o.left-i.left+d,y:o.top-i.top+p}}_getPointerPositionOnPage(i){let e=this._getViewportScrollPosition(),n=Yg(i)?i.touches[0]||i.changedTouches[0]||{pageX:0,pageY:0}:i,r=n.pageX-e.left,o=n.pageY-e.top;if(this._ownerSVGElement){let a=this._ownerSVGElement.getScreenCTM();if(a){let s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=o,s.matrixTransform(a.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(i){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:n,y:r}=this.constrainPosition?this.constrainPosition(i,this,this._initialDomRect,this._pickupPositionInElement):i;if(this.lockAxis==="x"||e==="x"?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(n=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:o,y:a}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,s=this._boundaryRect,{width:d,height:p}=this._getPreviewRect(),f=s.top+a,b=s.bottom-(p-a),w=s.left+o,A=s.right-(d-o);n=SV(n,w,A),r=SV(r,f,b)}return{x:n,y:r}}_updatePointerDirectionDelta(i){let{x:e,y:n}=i,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-o.x),s=Math.abs(n-o.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=n>o.y?1:-1,o.y=n),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let i=this._handles.length>0||!this.isDragging();i!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=i,kp(this._rootElement,i))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(i=>
vendor: 5,119 bytes, line 18
18i()),this._rootElementCleanups=void 0}_applyRootElementTransform(i,e){let n=1/this.scale,r=Xg(i*n,e*n),o=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=o.transform&&o.transform!="none"?o.transform:""),o.transform=rC(r,this._initialTransform)}_applyPreviewTransform(i,e){let n=this._previewTemplate?.template?void 0:this._initialTransform,r=Xg(i,e);this._preview.setTransform(rC(r,n))}_getDragDistance(i){let e=this._pickupPositionOnPage;return e?{x:i.x-e.x,y:i.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:i,y:e}=this._passiveTransform;if(i===0&&e===0||this.isDragging()||!this._boundaryElement)return;let n=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(r.width===0&&r.height===0||n.width===0&&n.height===0)return;let o=r.left-n.left,a=n.right-r.right,s=r.top-n.top,d=n.bottom-r.bottom;r.width>n.width?(o>0&&(i+=o),a>0&&(i-=a)):i=0,r.height>n.height?(s>0&&(e+=s),d>0&&(e-=d)):e=0,(i!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:i})}_getDragStartDelay(i){let e=this.dragStartDelay;return typeof e=="number"?e:Yg(i)?e.touch:e?e.mouse:0}_updateOnScroll(i){let e=this._parentPositions.handleScroll(i);if(e){let n=ui(i);this._boundaryRect&&n!==this._boundaryElement&&n.contains(this._boundaryElement)&&Kg(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=Bu(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(i,e){let n=this._previewContainer||"global";if(n==="parent")return i;if(n==="global"){let r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return _i(n)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=i=>{if(this._handles.length){let e=this._getTargetHandle(i);e&&!this._disabledHandles.has(e)&&!this.disabled&&i.preventDefault()}else this.disabled||i.preventDefault()};_getTargetHandle(i){return this._handles.find(e=>i.target&&(i.target===e||e.contains(i.target)))}_conditionallyInsertAnchor(i,e,n){if(i===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(e===this._initialContainer&&e.hasAnchor){let r=this._anchor??=BA(this._placeholder);r.classList.remove(wV),r.classList.add("cdk-drag-anchor"),r.style.transform="",n?n.before(r):_i(e.element).appendChild(r)}}};function SV(t,i,e){return Math.max(i,Math.min(e,t))}function Yg(t){return t.type[0]==="t"}function EZ(t){t.preventDefault()}function RV(t,i,e){let n=TV(i,t.length-1),r=TV(e,t.length-1);if(n===r)return;let o=t[n],a=r<n?-1:1;for(let s=n;s!==r;s+=a)t[s]=t[s+a];t[r]=o}function TV(t,i){return Math.max(0,Math.min(i,t))}var oC=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction="ltr";constructor(i){this._dragDropRegistry=i}_previousSwap={drag:null,delta:0,overlaps:!1};start(i){this.withItems(i)}sort(i,e,n,r){let o=this._itemPositions,a=this._getItemIndexFromPointerPosition(i,e,n,r);if(a===-1&&o.length>0)return null;let s=this.orientation==="horizontal",d=o.findIndex(j=>j.drag===i),p=o[a],f=o[d].clientRect,b=p.clientRect,w=d>a?1:-1,A=this._getItemOffsetPx(f,b,w),M=this._getSiblingOffsetPx(d,o,w),J=o.slice();return RV(o,d,a),o.forEach((j,K)=>{if(J[K]===j)return;let Te=j.drag===i,tn=Te?A:M,jt=Te?i.getPlaceholderElement():j.drag.getRootElement();j.offset+=tn;let Oi=Math.round(j.offset*(1/j.drag.scale));s?(jt.style.transform=rC(`translate3d(${Oi}px, 0, 0)`,j.initialTransform),Kg(j.clientRect,0,tn)):(jt.style.transform=rC(`translate3d(0, ${Oi}px, 0)`,j.initialTransform),Kg(j.clientRect,tn,0))}),this._previousSwap.overlaps=VA(b,e,n),this._previousSwap.drag=p.drag,this._previousSwap.delta=s?r.x:r.y,{previousIndex:d,currentIndex:a}}enter(i,e,n,r){let o=this._activeDraggables,a=o.indexOf(i),s=i.getPlaceholderElement();a>-1&&o.splice(a,1);let d=r==null||r<0?this._getItemIndexFromPointerPosition(i,e,n):r,p=o[d];if(p===i&&(p=o[d+1]),!p&&(d==null||d===-1||d<o.length-1)&&this._shouldEnterAsFirstChild(e,n)&&(p=o[0]),p&&!this._dragDropRegistry.isDragging(p)){let f=p.getRootElement();f.parentElement.insertBefore(s,f),o.splice(d,0,i)}else this._element.appendChild(s),o.push(i);s.style.transform="",this._cacheItemPositions()}withItems(i){this._activeDraggables=i.slice(),this._cacheItemPositions()}withSortPredicate(i){this._sortPredicate=i}reset(){this._activeDraggables?.forEach(i=>
vendor: 9,266 bytes, line 18
18{let e=i.getRootElement();if(e){let n=this._itemPositions.find(r=>r.drag===i)?.initialTransform;e.style.transform=n||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(i){return this._getVisualItemPositions().findIndex(e=>e.drag===i)}getItemAtIndex(i){return this._getVisualItemPositions()[i]?.drag||null}updateOnScroll(i,e){this._itemPositions.forEach(({clientRect:n})=>{Kg(n,i,e)}),this._itemPositions.forEach(({drag:n})=>{this._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()})}withElementContainer(i){this._element=i}_cacheItemPositions(){let i=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let n=e.getVisibleElement();return{drag:e,offset:0,initialTransform:n.style.transform||"",clientRect:GA(n)}}).sort((e,n)=>i?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top)}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(i,e,n){let r=this.orientation==="horizontal",o=r?e.left-i.left:e.top-i.top;return n===-1&&(o+=r?e.width-i.width:e.height-i.height),o}_getSiblingOffsetPx(i,e,n){let r=this.orientation==="horizontal",o=e[i].clientRect,a=e[i+n*-1],s=o[r?"width":"height"]*n;if(a){let d=r?"left":"top",p=r?"right":"bottom";n===-1?s-=a.clientRect[d]-o[p]:s+=o[d]-a.clientRect[p]}return s}_shouldEnterAsFirstChild(i,e){if(!this._activeDraggables.length)return!1;let n=this._itemPositions,r=this.orientation==="horizontal";if(n[0].drag!==this._activeDraggables[0]){let a=n[n.length-1].clientRect;return r?i>=a.right:e>=a.bottom}else{let a=n[0].clientRect;return r?i<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(i,e,n,r){let o=this.orientation==="horizontal",a=this._itemPositions.findIndex(({drag:s,clientRect:d})=>{if(s===i)return!1;if(r){let p=o?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&p===this._previousSwap.delta)return!1}return o?e>=Math.floor(d.left)&&e<Math.floor(d.right):n>=Math.floor(d.top)&&n<Math.floor(d.bottom)});return a===-1||!this._sortPredicate(a,i)?-1:a}},UA=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(i,e){this._document=i,this._dragDropRegistry=e}start(i){let e=this._element.childNodes;this._relatedNodes=[];for(let n=0;n<e.length;n++){let r=e[n];this._relatedNodes.push([r,r.nextSibling])}this.withItems(i)}sort(i,e,n,r){let o=this._getItemIndexFromPointerPosition(i,e,n),a=this._previousSwap;if(o===-1||this._activeItems[o]===i)return null;let s=this._activeItems[o];if(a.drag===s&&a.overlaps&&a.deltaX===r.x&&a.deltaY===r.y)return null;let d=this.getItemIndex(i),p=i.getPlaceholderElement(),f=s.getRootElement();o>d?f.after(p):f.before(p),RV(this._activeItems,d,o);let b=this._getRootNode().elementFromPoint(e,n);return a.deltaX=r.x,a.deltaY=r.y,a.drag=s,a.overlaps=f===b||f.contains(b),{previousIndex:d,currentIndex:o}}enter(i,e,n,r){let o=this._activeItems.indexOf(i);o>-1&&this._activeItems.splice(o,1);let a=r==null||r<0?this._getItemIndexFromPointerPosition(i,e,n):r;a===-1&&(a=this._getClosestItemIndexToPointer(i,e,n));let s=this._activeItems[a];s&&!this._dragDropRegistry.isDragging(s)?(this._activeItems.splice(a,0,i),s.getRootElement().before(i.getPlaceholderElement())):(this._activeItems.push(i),this._element.appendChild(i.getPlaceholderElement()))}withItems(i){this._activeItems=i.slice()}withSortPredicate(i){this._sortPredicate=i}reset(){let i=this._element,e=this._previousSwap;for(let n=this._relatedNodes.length-1;n>-1;n--){let[r,o]=this._relatedNodes[n];r.parentNode===i&&r.nextSibling!==o&&(o===null?i.appendChild(r):o.parentNode===i&&i.insertBefore(r,o))}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(i){return this._activeItems.indexOf(i)}getItemAtIndex(i){return this._activeItems[i]||null}updateOnScroll(){this._activeItems.forEach(i=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(i){i!==this._element&&(this._element=i,this._rootNode=void 0)}_getItemIndexFromPointerPosition(i,e,n){let r=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(n)),o=r?this._activeItems.findIndex(a=>{let s=a.getRootElement();return r===s||s.contains(r)}):-1;return o===-1||!this._sortPredicate(o,i)?-1:o}_getRootNode(){return this._rootNode||(this._rootNode=Bu(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(i,e,n){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let r=1/0,o=-1;for(let a=0;a<this._activeItems.length;a++){let s=this._activeItems[a];if(s!==i){let{x:d,y:p}=s.getRootElement().getBoundingClientRect(),f=Math.hypot(e-d,n-p);f<r&&(r=f,o=a)}}return o}},IV=.05,MV=.05,ya=(function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t})(ya||{}),po=(function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t})(po||{});function wZ(t,i){return new zA(i,t.get(kV),t.get(Ce),t.get(le),t.get(ji))}var zA=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis=null;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new O;entered=new O;exited=new O;dropped=new O;sorted=new O;receivingStarted=new O;receivingStopped=new O;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=_e.EMPTY;_verticalScrollDirection=ya.NONE;_horizontalScrollDirection=po.NONE;_scrollNode;_stopScrollTimers=new O;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(i,e,n,r,o){this._dragDropRegistry=e,this._ngZone=r,this._viewportRuler=o;let a=this.element=_i(i);this._document=n,this.withOrientation("vertical").withElementContainer(a),e.registerDropContainer(this),this._parentPositions=new iC(n)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(i,e,n,r){this._draggingStarted(),r==null&&this.sortingDisabled&&(r=this._draggables.indexOf(i)),this._sortStrategy.enter(i,e,n,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:i,container:this,currentIndex:this.getItemIndex(i)})}exit(i){this._reset(),this.exited.next({item:i,container:this})}drop(i,e,n,r,o,a,s,d={}){this._reset(),this.dropped.next({item:i,currentIndex:e,previousIndex:n,container:this,previousContainer:r,isPointerOverContainer:o,distance:a,dropPoint:s,event:d})}withItems(i){let e=this._draggables;return this._draggables=i,i.forEach(n=>n._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>i.indexOf(r)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(i){return this._direction=i,this._sortStrategy instanceof oC&&(this._sortStrategy.direction=i),this}connectedTo(i){return this._siblings=i.slice(),this}withOrientation(i){if(i==="mixed")this._sortStrategy=new UA(this._document,this._dragDropRegistry);else{let e=new oC(this._dragDropRegistry);e.direction=this._direction,e.orientation=i,this._sortStrategy=e}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,n)=>this.sortPredicate(e,n,this)),this}withScrollableParents(i){let e=this._container;return this._scrollableElements=i.indexOf(e)===-1?[e,...i]:i.slice(),this}withElementContainer(i){if(i===this._container)return this;let e=_i(this.element),n=this._scrollableElements.indexOf(this._container),r=this._scrollableElements.indexOf(i);return n>-1&&this._scrollableElements.splice(n,1),r>-1&&this._scrollableElements.splice(r,1),this._sortStrategy&&this._sortStrategy.withElementContainer(i),this._cachedShadowRoot=null,this._scrollableElements.unshift(i),this._container=i,this}getScrollableParents(){return this._scrollableElements}getItemIndex(i){return this._isDragging?this._sortStrategy.getItemIndex(i):this._draggables.indexOf(i)}getItemAtIndex(i){return this._isDragging?this._sortStrategy.getItemAtIndex(i):this._draggables[i]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(i,e,n,r){if(this.sortingDisabled||!this._domRect||!bV(this._domRect,IV,e,n))return;let o=this._sortStrategy.sort(i,e,n,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:i})}_startScrollingIfNecessary(i,e){if(this.autoScrollDisabled)return;let n,r=ya.NONE,o=po.NONE;if(this._parentPositions.positions.forEach((a,s)=>
18{s===this._document||!a.clientRect||n||bV(a.clientRect,IV,i,e)&&([r,o]=xZ(s,a.clientRect,this._direction,i,e),(r||o)&&(n=s))}),!r&&!o){let{width:a,height:s}=this._viewportRuler.getViewportSize(),d={width:a,height:s,top:0,right:a,bottom:s,left:0};r=NV(d,e),o=OV(d,i),n=window}n&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||n!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=n,(r||o)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let i=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=i.msScrollSnapType||i.scrollSnapType||"",i.scrollSnapType=i.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let i=this._container.style;i.scrollSnapType=i.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),rx(0,Mm).pipe(xe(this._stopScrollTimers)).subscribe(()=>{let i=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===ya.UP?i.scrollBy(0,-e):this._verticalScrollDirection===ya.DOWN&&i.scrollBy(0,e),this._horizontalScrollDirection===po.LEFT?i.scrollBy(-e,0):this._horizontalScrollDirection===po.RIGHT&&i.scrollBy(e,0)})};_isOverContainer(i,e){return this._domRect!=null&&VA(this._domRect,i,e)}_getSiblingContainerFromPosition(i,e,n){return this._siblings.find(r=>r._canReceive(i,e,n))}_canReceive(i,e,n){if(!this._domRect||!VA(this._domRect,e,n)||!this.enterPredicate(i,this))return!1;let r=this._getShadowRoot().elementFromPoint(e,n);return r?r===this._container||this._container.contains(r):!1}_startReceiving(i,e){let n=this._activeSiblings;!n.has(i)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(n.add(i),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:i,receiver:this,items:e}))}_stopReceiving(i){this._activeSiblings.delete(i),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:i,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(i=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(i);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let i=Bu(this._container);this._cachedShadowRoot=i||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let i=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,i))}};function NV(t,i){let{top:e,bottom:n,height:r}=t,o=r*MV;return i>=e-o&&i<=e+o?ya.UP:i>=n-o&&i<=n+o?ya.DOWN:ya.NONE}function OV(t,i){let{left:e,right:n,width:r}=t,o=r*MV;return i>=e-o&&i<=e+o?po.LEFT:i>=n-o&&i<=n+o?po.RIGHT:po.NONE}function xZ(t,i,e,n,r){let o=NV(i,r),a=OV(i,n),s=ya.NONE,d=po.NONE;if(o){let p=t.scrollTop;o===ya.UP?p>0&&(s=ya.UP):t.scrollHeight-p>t.clientHeight&&(s=ya.DOWN)}if(a){let p=t.scrollLeft;e==="rtl"?a===po.RIGHT?p<0&&(d=po.RIGHT):t.scrollWidth+p>t.clientWidth&&(d=po.LEFT):a===po.LEFT?p>0&&(d=po.LEFT):t.scrollWidth-p>t.clientWidth&&(d=po.RIGHT)}return[s,d]}var $A=(()=>{class t{_injector=m(ie);constructor(){}createDrag(e,n){return DZ(this._injector,e,n)}createDropList(e){return wZ(this._injector,e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[$A],imports:[ur]})}return t})();var Zg;function FV(){if(Zg==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Zg=!0}))}finally{Zg=Zg||!1}return Zg}function Rp(t){return FV()?t:!!t.capture}var PV=new R("cdk-input-modality-detector-options"),LV={ignoreKeys:[18,17,224,91,16]},BV=650,YA={passive:!0,capture:!0},VV=(()=>{class t{_platform=m(gt);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new zt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(n=>
vendor: 7,924 bytes, lines 18-37
18n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ui(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<BV||(this._modality.next(Yl(e)?"keyboard":"mouse"),this._mostRecentTarget=ui(e))};_onTouchstart=e=>{if(Kl(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ui(e)};constructor(){let e=m(le),n=m(Ce),r=m(PV,{optional:!0});if(this._options=P(P({},LV),r),this.modalityDetected=this._modality.pipe(Al(1)),this.modalityChanged=this.modalityDetected.pipe(It()),this._platform.isBrowser){let o=m(fi).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(n,"keydown",this._onKeydown,YA),o.listen(n,"mousedown",this._onMousedown,YA),o.listen(n,"touchstart",this._onTouchstart,YA)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qg=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Qg||{}),jV=new R("cdk-focus-monitor-default-options"),aC=Rp({passive:!0,capture:!0}),oi=(()=>{class t{_ngZone=m(le);_platform=m(gt);_inputModalityDetector=m(VV);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=m(Ce);_stopInputModalityDetector=new O;constructor(){let e=m(jV,{optional:!0});this._detectionMode=e?.detectionMode||Qg.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=ui(e);for(let r=n;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,n=!1){let r=_i(e);if(!this._platform.isBrowser||r.nodeType!==1)return B();let o=Bu(r)||this._document,a=this._elementInfo.get(r);if(a)return n&&(a.checkChildren=!0),a.subject;let s={checkChildren:n,subject:new O,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let n=_i(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){let o=_i(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,d])=>this._originChanged(s,n,d)):(this._setOrigin(n),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Qg.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Qg.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?BV:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),o=ui(e);!r||!r.checkChildren&&n!==o||this._originChanged(n,this._getFocusOrigin(o),r)}_onBlur(e,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,aC),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,aC)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,aC),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,aC),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&n.push([o,r])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(n))return!0}return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sC=(()=>{class t{_elementRef=m(Q);_focusMonitor=m(oi);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new V;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var Ws=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden { 19 border: 0; 20 clip: rect(0 0 0 0); 21 height: 1px; 22 margin: -1px; 23 overflow: hidden; 24 padding: 0; 25 position: absolute; 26 width: 1px; 27 white-space: nowrap; 28 outline: 0; 29 -webkit-appearance: none; 30 -moz-appearance: none; 31 left: 0; 32} 33[dir=rtl] .cdk-visually-hidden { 34 left: auto; 35 right: 0; 36} 37`],encapsulation:2,changeDetection:0})}return t})(),lC;function TZ(){if(lC===void 0&&(lC=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(lC=t.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return lC}function Hu(t){return TZ()?.createHTML(t)||t}function HV(t,i,e){let n=e.sanitize(cn.HTML,i);t.innerHTML=Hu(n||"")}var UV=new Set,Uu,Mp=(()=>{class t{_platform=m(gt);_nonce=m(Cu,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):AZ}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&IZ(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();
37function IZ(t,i){if(!UV.has(t))try{Uu||(Uu=document.createElement("style"),i&&Uu.setAttribute("nonce",i),Uu.setAttribute("type","text/css"),document.head.appendChild(Uu)),Uu.sheet&&(Uu.sheet.insertRule(`@media ${t} {body{ }}`,0),UV.add(t))}catch(e){console.error(e)}}function AZ(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Zl=(()=>{class t{_mediaMatcher=m(Mp);_zone=m(le);_queries=new Map;_destroySubject=new O;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return zV(Xl(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=zV(Xl(e)).map(a=>this._registerQuery(a).observable),o=nn(r);return o=ws(o.pipe(We(1)),o.pipe(Al(1),hi(0))),o.pipe($(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:p})=>{s.matches=s.matches||d,s.breakpoints[p]=d}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),o={observable:new Ne(a=>{let s=d=>this._zone.run(()=>a.next(d));return n.addListener(s),()=>{n.removeListener(s)}}).pipe(Re(n),$(({matches:a})=>({query:e,matches:a})),xe(this._destroySubject)),mql:n};return this._queries.set(e,o),o}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zV(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function kZ(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let i=0;i<t.addedNodes.length;i++)if(!(t.addedNodes[i]instanceof Comment))return!1;for(let i=0;i<t.removedNodes.length;i++)if(!(t.removedNodes[i]instanceof Comment))return!1;return!0}return!1}var GV=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),WV=(()=>{class t{_mutationObserverFactory=m(GV);_observedElements=new Map;_ngZone=m(le);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=_i(e);return new Ne(r=>{let a=this._observeElement(n).pipe($(s=>s.filter(d=>!kZ(d))),ae(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let n=new O,r=this._mutationObserverFactory.create(o=>n.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:n,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:n,stream:r}=this._observedElements.get(e);n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jg=(()=>{class t{_contentObserver=m(WV);_elementRef=m(Q);event=new V;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=xr(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(hi(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",q],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Np=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[GV]})}return t})();var zu=(()=>{class t{_platform=m(gt);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return MZ(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=RZ(jZ(e));if(n&&($V(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),o=$V(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!BZ(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIRE
37FOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return VZ(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function RZ(t){try{return t.frameElement}catch(i){return null}}function MZ(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function NZ(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function OZ(t){return PZ(t)&&t.type=="hidden"}function FZ(t){return LZ(t)&&t.hasAttribute("href")}function PZ(t){return t.nodeName.toLowerCase()=="input"}function LZ(t){return t.nodeName.toLowerCase()=="a"}function KV(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function $V(t){if(!KV(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function BZ(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function VZ(t){return OZ(t)?!1:NZ(t)||FZ(t)||t.hasAttribute("contenteditable")||KV(t)}function jZ(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var cC=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,r,o=!1,a){this._element=i,this._checker=e,this._ngZone=n,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n<e.length;n++){let r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null}_getLastTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=e.length-1;n>=0;n--){let r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?Dt(i,{injector:this._injector}):setTimeout(i)}},Op=(()=>{class t{_checker=m(zu);_ngZone=m(le);_document=m(Ce);_injector=m(ie);constructor(){m(Lt).load(Ws)}create(e,n=!1){return new cC(e,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XA=(()=>{class t{_elementRef=m(Q);_focusTrapFactory=m(Op);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture=!1;constructor(){m(gt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let n=e.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Io(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",q],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",q]},exportAs:["cdkTrapFocus"],features:[Ke]})}return t})(),XV=new R("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),ZV=new R("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),HZ=0,e_=(()=>{class t{_ngZone=m(le);_defaultOptions=m(ZV,{optional:!0});_liveElement;_document=m(Ce);_sanitizer=m(Au);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=m(XV,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...n){let r=this._defaultOptions,o,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[o,a]=n,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:HV(this._liveElement,e,this._sanitizer),typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<n.length;o++)n[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${HZ++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){let o=n[r],a=o.getAttribute("aria-owns");a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ad=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(ad||{}),qV="cdk-high-contrast-black-on-white",YV="cdk-high-contrast-white-on-black",KA="cdk-high-contrast-active",QV=(()=>{class t{_platform=m(gt);_hasCheckedHighContrastMode=!1;_document=m(Ce);_breakpointSubscription;constructor(){this._breakpointSubscription=m(Zl).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasse
vendor: 4,883 bytes, line 37
37s())})}getHighContrastMode(){if(!this._platform.isBrowser)return ad.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ad.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ad.BLACK_ON_WHITE}return ad.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(KA,qV,YV),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===ad.BLACK_ON_WHITE?e.add(KA,qV):n===ad.WHITE_ON_BLACK&&e.add(KA,YV)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ql=(()=>{class t{constructor(){m(QV)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Np]})}return t})();var UZ=200,dC=class{_letterKeyStream=new O;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new O;selectedItem=this._selectedItem;constructor(i,e){let n=typeof e?.debounceInterval=="number"?e.debounceInterval:UZ;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(L(e=>this._pressedLetters.push(e)),hi(i),ae(()=>this._pressedLetters.length>0),$(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let n=1;n<this._items.length+1;n++){let r=(this._selectedItemIndex+n)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Ht(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Fp=class{_items;_activeItemIndex=Z(-1);_activeItem=Z(null);_wrap=!1;_typeaheadSubscription=_e.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=i=>i.disabled;constructor(i,e){this._items=i,i instanceof ro?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):Ps(i)&&(this._effectRef=io(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new O;change=new O;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new dC(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(i){let e=i.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!i[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>
370?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(r||Ht(i,"shiftKey"))&&this._typeahead?.handleKey(i);return}this._typeahead?.reset(),i.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(i){let e=this._getItemsArray(),n=typeof i=="number"?i:e.indexOf(i),r=e[n];this._activeItem.set(r??null),this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(i){this._wrap?this._setActiveInWrapMode(i):this._setActiveInDefaultMode(i)}_setActiveInWrapMode(i){let e=this._getItemsArray();for(let n=1;n<=e.length;n++){let r=(this._activeItemIndex()+i*n+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(i){this._setActiveItemByIndex(this._activeItemIndex()+i,i)}_setActiveItemByIndex(i,e){let n=this._getItemsArray();if(n[i]){for(;this._skipPredicateFn(n[i]);)if(i+=e,!n[i])return;this.setActiveItem(i)}}_getItemsArray(){return Ps(this._items)?this._items():this._items instanceof ro?this._items.toArray():this._items}_itemsChanged(i){this._typeahead?.setItems(i);let e=this._activeItem();if(e){let n=i.indexOf(e);n>-1&&n!==this._activeItemIndex()&&(this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n))}}};var Gu=class extends Fp{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var ss=class extends Fp{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var tj=" ";function Pp(t,i,e){let n=fC(t,i);e=e.trim(),!n.some(r=>r.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(tj)))}function sd(t,i,e){let n=fC(t,i);e=e.trim();let r=n.filter(o=>o!==e);r.length?t.setAttribute(i,r.join(tj)):t.removeAttribute(i)}function fC(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var nj="cdk-describedby-message",hC="cdk-describedby-host",QA=0,i_=(()=>{class t{_platform=m(gt);_document=m(Ce);_messageRegistry=new Map;_messagesContainer=null;_id=`${QA++}`;constructor(){m(Lt).load(Ws),this._id=m(Gc)+"-"+QA++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let o=ZA(n,r);typeof n!="string"?(ej(n,this._id),this._messageRegistry.set(o,{messageElement:n,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;let o=ZA(n,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof n=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${hC}="${this._id}"]`);for(let n=0;n<e.length;n++)this._removeCdkDescribedByReferenceIds(e[n]),e[n].removeAttribute(hC);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,n){let r=this._document.createElement("div");ej(r,this._id),r.textContent=e,n&&r.setAttribute("role",n),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(ZA(e,n),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",n=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<n.length;o++)n[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let n=fC(e,"aria-describedby").filter(r=>r.indexOf(nj)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let r=this._messageRegistry.get(n);Pp(e,"aria-describedby",r.messageElement.id),e.setAttribute(hC,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,sd(e,"aria-describedby",r.messageElement.id),e.removeAttribute(hC)}_isElementDescribedByMessage(e,n){let r=fC(e,"aria-describedby"),o=this._messageRegistry.get(n),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let r=n==null?"":`${n}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}
37_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ZA(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function ej(t,i){t.id||(t.id=`${nj}-${i}-${QA++}`)}var mr=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new O;constructor(i=!1,e,n=!0,r){this._multiple=i,this._emitChanges=n,this.compareWith=r,e&&e.length&&(i?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(n=>this._markSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(n=>this._unmarkSelected(n));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);let e=this.selected,n=new Set(i.map(o=>this._getConcreteValue(o)));i.forEach(o=>this._markSelected(o)),e.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,e){if(this.compareWith){e=e??this._selection;for(let n of e)if(this.compareWith(i,n))return n;return i}else return i}};var Wu=(()=>{class t{_listeners=[];notify(e,n){for(let r of this._listeners)r(e,n)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(n=>e!==n)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gC=class{applyChanges(i,e,n,r,o){i.forEachOperation((a,s,d)=>{let p,f;if(a.previousIndex==null){let b=n(a,s,d);p=e.createEmbeddedView(b.templateRef,b.context,b.index),f=os.INSERTED}else d==null?(e.remove(s),f=os.REMOVED):(p=e.get(s),e.move(p,d),f=os.MOVED);o&&o({context:p?.context,operation:f,record:a})})}detach(){}};var zZ=["mat-internal-form-field",""],GZ=["*"],Lp=(()=>{class t{labelPosition="after";static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:zZ,ngContentSelectors:GZ,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[`.mat-internal-form-field { 38 -moz-osx-font-smoothing: grayscale; 39 -webkit-font-smoothing: antialiased; 40 display: inline-flex; 41 align-items: center; 42 vertical-align: middle; 43} 44.mat-internal-form-field > label { 45 margin-left: 0; 46 margin-right: auto; 47 padding-left: 4px; 48 padding-right: 0; 49 order: 0; 50} 51[dir=rtl] .mat-internal-form-field > label { 52 margin-left: auto; 53 margin-right: 0; 54 padding-left: 0; 55 padding-right: 4px; 56} 57
58.mdc-form-field--align-end > label { 59 margin-left: auto; 60 margin-right: 0; 61 padding-left: 0; 62 padding-right: 4px; 63 order: -1; 64} 65[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label { 66 margin-left: 0; 67 margin-right: auto; 68 padding-left: 4px; 69 padding-right: 0; 70} 71`],encapsulation:2,changeDetection:0})}return t})();var ls={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var WZ=new R("MATERIAL_ANIMATIONS"),ij=null;function r_(){return m(WZ,{optional:!0})?.animationsDisabled||m(Jf,{optional:!0})==="NoopAnimations"?"di-disabled":(ij??=m(Mp).matchMedia("(prefers-reduced-motion)").matches,ij?"reduced-motion":"enabled")}function lt(){return r_()!=="enabled"}var mi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,r){},styles:[`.mat-focus-indicator { 72 position: relative; 73} 74.mat-focus-indicator::before { 75 top: 0; 76 left: 0; 77 right: 0; 78 bottom: 0; 79 position: absolute; 80 box-sizing: border-box; 81 pointer-events: none; 82 display: var(--mat-focus-indicator-display, none); 83 border-width: var(--mat-focus-indicator-border-width, 3px); 84 border-style: var(--mat-focus-indicator-border-style, solid); 85 border-color: var(--mat-focus-indicator-border-color, transparent); 86 border-radius: var(--mat-focus-indicator-border-radius, 4px); 87} 88.mat-focus-indicator:focus-visible::before { 89 content: ""; 90} 91 92@media (forced-colors: active) { 93 html { 94 --mat-focus-indicator-display: block; 95 } 96} 97`],encapsulation:2,changeDetection:0})}return t})();function JA(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Bp,rj=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ek(){if(Bp)return Bp;if(typeof document!="object"||!document)return Bp=new Set(rj),Bp;let t=document.createElement("input");return Bp=new Set(rj.filter(i=>(t.setAttribute("type",i),t.type===i))),Bp}function ki(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Pn(t){return t!=null&&`${t}`!="false"}function oj(t,i=/\s+/){let e=[];
vendor: 4,181 bytes, lines 97-125
97if(t!=null){let n=Array.isArray(t)?t:`${t}`.split(i);for(let r of n){let o=`${r}`.trim();o&&e.push(o)}}return e}var ia=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(ia||{}),_C=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ia.HIDDEN;constructor(i,e,n,r=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},aj=Rp({passive:!0,capture:!0}),tk=class{_events=new Map;addHandler(i,e,n,r){let o=this._events.get(e);if(o){let a=o.get(n);a?a.add(r):o.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,aj)})}removeHandler(i,e,n){let r=this._events.get(i);if(!r)return;let o=r.get(e);o&&(o.delete(n),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,aj)))}_delegateEventHandler=i=>{let e=ui(i);e&&this._events.get(i.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(o=>o.handleEvent(i))})}},Vp={enterDuration:225,exitDuration:150},$Z=800,sj=Rp({passive:!0,capture:!0}),lj=["mousedown","touchstart"],cj=["mouseup","mouseleave","touchend","touchcancel"],qZ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.mat-ripple { 98 overflow: hidden; 99 position: relative; 100} 101.mat-ripple:not(:empty) { 102 transform: translateZ(0); 103} 104 105.mat-ripple.mat-ripple-unbounded { 106 overflow: visible; 107} 108 109.mat-ripple-element { 110 position: absolute; 111 border-radius: 50%; 112 pointer-events: none; 113 transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1); 114 transform: scale3d(0, 0, 0); 115 background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent)); 116} 117@media (forced-colors: active) { 118 .mat-ripple-element { 119 display: none; 120 } 121} 122.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { 123 display: none; 124} 125`],encapsulation:2,changeDetection:0})}return t})(),ld=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new tk;constructor(i,e,n,r,o){this._target=i,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=_i(n)),o&&o.get(Lt).load(qZ)}fadeInRipple(i,e,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=P(P({},Vp),n.animation);n.centered&&(i=r.left+r.width/2,e=r.top+r.height/2);let a=n.radius||YZ(i,e,r),s=i-r.left,d=e-r.top,p=o.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=`${s-a}px`,f.style.top=`${d-a}px`,f.style.height=`${a*2}px`,f.style.width=`${a*2}px`,n.color!=null&&(f.style.backgroundColor=n.color),f.style.transitionDuration=`${p}ms`,this._containerElement.appendChild(f);let b=window.getComputedStyle(f),w=b.transitionProperty,A=b.transitionDuration,M=w==="none"||A==="0s"||A==="0s, 0s"||r.width===0&&r.height===0,J=new _C(this,f,n,M);f.style.transform="scale3d(1, 1, 1)",J.state=ia.FADING_IN,n.persistent||(this._mostRecentTransientRipple=J);let j=null;return!M&&(p||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let K=()=>{j&&(j.fallbackTimer=null),clearTimeout(tn),this._finishRippleTransition(J)},Te=()=>this._destroyRipple(J),tn=setTimeout(Te,p+100);f.addEventListener("transitionend",K),f.addEventListener("transitioncancel",Te),j={onTransitionEnd:K,onTransitionCancel:Te,fallbackTimer:tn}}),this._activeRipples.set(J,j),(M||!p)&&this._finishRippleTransition(J),J}fadeOutRipple(i){if(i.state===ia.FADING_OUT||i.state===ia.HIDDEN)return;let e=i.element,n=P(P({},Vp),i.config.animation);e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",i.state=ia.FADING_OUT,(i._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(i)}
125fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=_i(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,lj.forEach(n=>{t._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{cj.forEach(e=>{this._triggerElement.addEventListener(e,this,sj)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===ia.FADING_IN?this._startFadeOutTransition(i):i.state===ia.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:n}=i.config;i.state=ia.VISIBLE,!n&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=ia.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=Yl(i),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+$Z;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(i.clientX,i.clientY,this._target.rippleConfig))}_onTouchStart(i){if(!this._target.rippleDisabled&&!Kl(i)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=i.changedTouches;if(e)for(let n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(i=>{let e=i.state===ia.VISIBLE||i.config.terminateOnPointerUp&&i.state===ia.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(lj.forEach(e=>t._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(cj.forEach(e=>i.removeEventListener(e,this,sj)),this._pointerUpEventsRegistered=!1))}};function YZ(t,i,e){let n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+r*r)}var cd=new R("mat-ripple-global-options"),Hr=(()=>{class t{_elementRef=m(Q);_animationsDisabled=lt();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=m(le),n=m(gt),r=m(cd,{optional:!0}),o=m(ie);this._globalOptions=r||{},this._rippleRenderer=new ld(this,e,this._elementRef,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:P(P(P({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,P(P({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,P(P({},this.rippleConfig),e))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var Hi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var KZ=["input"],XZ=["formField"],ZZ=["*"],bC=class{source;value;constructor(i,e){this.source=i,this.value=e}},QZ={provide:er,useExisting:bn(()=>nk),multi:!0},dj=new R("MatRadioGroup"),JZ=new R("mat-radio-default-options",{providedIn:"root",factory:()=>({color:"accent",disabledInteractive:!1})}),nk=(()=>{class t{_changeDetector=m(Ee);_value=null;_name=m(pt).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new V;_radios;color;get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition=e==="before"?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=e,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e,this._markRadiosForCheck()}_disabledInteractive=!1;constructor(){}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(e=>e===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}
125_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){let e=this._selected!==null&&this._selected.value===this._value;this._radios&&!e&&(this._selected=null,this._radios.forEach(n=>{n.checked=this.value===n.value,n.checked&&(this._selected=n)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new bC(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-radio-group"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,vC,5),n&2){let a;H(a=U())&&(r._radios=a)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",q],required:[2,"required","required",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[me([QZ,{provide:dj,useExisting:t}])]})}return t})(),vC=(()=>{class t{_elementRef=m(Q);_changeDetector=m(Ee);_focusMonitor=m(oi);_radioDispatcher=m(Wu);_defaultOptions=m(JZ,{optional:!0});_ngZone=m(le);_renderer=m(ot);_uniqueId=m(pt).getId("mat-radio-");_cleanupClick;id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}_labelPosition;get disabled(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled}set disabled(e){this._setDisabled(e)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){e!==this._required&&this._changeDetector.markForCheck(),this._required=e}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(e){this._color=e}_color;get disabledInteractive(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new V;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled=!1;_required=!1;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations=lt();_injector=m(ie);constructor(){m(Lt).load(mi);let e=m(dj,{optional:!0}),n=m(new di("tabindex"),{optional:!0});this.radioGroup=e,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,n&&(this.tabIndex=rn(n,0))}focus(e,n){n?this._focusMonitor.focusVia(this._inputElement,n,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,n)=>{e!==this.id&&n===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._inputElement.nativeElement,"click",this._onInputClick)})}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new bC(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){let n=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._c
125ontrolValueAccessorChangeFn(this.value),n&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(e){this._onInputInteraction(e),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_onInputClick=e=>{this.disabled&&this.disabledInteractive&&e.preventDefault()};_updateTabIndex(){let e=this.radioGroup,n;if(!e||!e.selected||this.disabled?n=this.tabIndex:n=e.selected===this?this.tabIndex:-1,n!==this._previousTabIndex){let r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",n+""),this._previousTabIndex=n,Dt(()=>{queueMicrotask(()=>{e&&e.selected&&e.selected!==this&&document.activeElement===r&&(e.selected?._inputElement.nativeElement.focus(),document.activeElement===r&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-radio-button"]],viewQuery:function(n,r){if(n&1&&ve(KZ,5)(XZ,7,Q),n&2){let o;H(o=U())&&(r._inputElement=o.first),H(o=U())&&(r._rippleTrigger=o.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(n,r){n&1&&T("focus",function(){return r._inputElement.nativeElement.focus()}),n&2&&(oe("id",r.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),ee("mat-primary",r.color==="primary")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("mat-mdc-radio-checked",r.checked)("mat-mdc-radio-disabled",r.disabled)("mat-mdc-radio-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)],checked:[2,"checked","checked",q],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",q],required:[2,"required","required",q],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:ZZ,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],["aria-hidden","true",1,"mat-mdc-radio-touch-target",3,"click"],["type","radio","aria-invalid","false",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],["aria-hidden","true",1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","","aria-hidden","true",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(n,r){n&1&&(Ie(),u(0,"div",2,0)(2,"div",3)(3,"div",4),T("click",function(a){return r._onTouchTargetClick(a)}),c(),u(4,"input",5,1),T("change",function(a){return r._onInputInteraction(a)}),c(),u(6,"div",6),x(7,"div",7)(8,"div",8),c(),u(9,"div",9),x(10,"div",10),c()(),u(11,"label",11),re(12),c()()),n&2&&(g("labelPosition",r.labelPosition),l(2),ee("mdc-radio--disabled",r.disabled),l(2),g("id",r.inputId)("checked",r.checked)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),oe("name",r.name)("value",r.value)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),l(5),g("matRippleTrigger",r._rippleTrigger.nativeElement)("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",!0),l(2),g("for",r.inputId))},dependencies:[Hr,Lp],styles:[`.mat-mdc-radio-button { 126 -webkit-tap-highlight-color: transparent; 127} 128.mat-mdc-radio-button .mdc-radio { 129 display: inline-block; 130 position: relative; 131 flex: 0 0 auto; 132 box-sizing: content-box; 133 width: 20px; 134 height: 20px; 135 cursor: pointer; 136 will-change: opacity, transform, border-color, color; 137 padding: calc((var(--mat-radio-state-layer-size, 40px) - 20px) / 2); 138} 139.mat-mdc-radio-button .mdc-radio:hover > .mdc-radio__native-control:not([disabled]):not(:focus) ~ .mdc-radio__background::before { 140 opacity: 0.04; 141 transform: scale(1); 142} 143.mat-mdc-radio-button .mdc-radio:hover > .mdc-radio__native-control:not([disabled]) ~ .mdc-radio__background > .mdc-radio__outer-circle { 144 border-color: var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface)); 145} 146.mat-mdc-radio-button .mdc-radio:hover > .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle { 147 border-color: var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary)); 148} 149.mat-mdc-radio-button .mdc-radio:hover > .mdc-radio__native-control:enabled:checked + .mdc-radio__background >
149 .mdc-radio__inner-circle { 150 background-color: var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor)); 151} 152.mat-mdc-radio-button .mdc-radio:active > .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle { 153 border-color: var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface)); 154} 155.mat-mdc-radio-button .mdc-radio:active > .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle { 156 border-color: var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary)); 157} 158.mat-mdc-radio-button .mdc-radio:active > .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__inner-circle { 159 background-color: var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor)); 160} 161.mat-mdc-radio-button .mdc-radio__background { 162 display: inline-block; 163 position: relative; 164 box-sizing: border-box; 165 width: 20px; 166 height: 20px; 167} 168.mat-mdc-radio-button .mdc-radio__background::before { 169 position: absolute; 170 transform: scale(0, 0); 171 border-radius: 50%; 172 opacity: 0; 173 pointer-events: none; 174 content: ""; 175 transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1); 176 width: var(--mat-radio-state-layer-size, 40px); 177 height: var(--mat-radio-state-layer-size, 40px); 178 top: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2); 179 left: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2); 180} 181.mat-mdc-radio-button .mdc-radio__outer-circle { 182 position: absolute; 183 top: 0; 184 left: 0; 185 box-sizing: border-box; 186 width: 100%; 187 height: 100%; 188 border-width: 2px; 189 border-style: solid; 190 border-radius: 50%; 191 transition: border-color 90ms cubic-bezier(0.4, 0, 0.6, 1); 192} 193.mat-mdc-radio-button .mdc-radio__inner-circle { 194 position: absolute; 195 top: 0; 196 left: 0; 197 box-sizing: border-box; 198 width: 100%; 199 height: 100%; 200 transform: scale(0); 201 border-radius: 50%; 202 transition: transform 90ms cubic-bezier(0.4, 0, 0.6, 1), background-color 90ms cubic-bezier(0.4, 0, 0.6, 1); 203} 204@media (forced-colors: active) { 205 .mat-mdc-radio-button .mdc-radio__inner-circle { 206 background-color: CanvasText !important; 207 } 208} 209.mat-mdc-radio-button .mdc-radio__native-control { 210 position: absolute; 211 margin: 0; 212 padding: 0; 213 opacity: 0; 214 top: 0; 215 right: 0; 216 left: 0; 217 cursor: inherit; 218 z-index: 1; 219 width: var(--mat-radio-state-layer-size, 40px); 220 height: var(--mat-radio-state-layer-size, 40px); 221} 222.mat-mdc-radio-button .mdc-radio__native-control:checked + .mdc-radio__background, .mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background { 223 transition: opacity 90ms cubic-bezier(0, 0, 0.2, 1), transform 90ms cubic-bezier(0, 0, 0.2, 1); 224} 225.mat-mdc-radio-button .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__outer-circle, .mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle { 226 transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1); 227} 228.mat-mdc-radio-button .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__inner-circle, .mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__inner-circle { 229 transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1); 230} 231.mat-mdc-radio-button .mdc-radio__native-control:focus + .mdc-radio__background::before { 232 transform: scale(1); 233 opacity: 0.12; 234 transition: opacity 90ms cubic-bezier(0, 0, 0.2, 1), transform 90ms cubic-bezier(0, 0, 0.2, 1); 235} 236.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle { 237 border-color: var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface)); 238 opacity: var(--mat-radio-disabled-unselected-icon-opacity, 0.38); 239} 240.mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background { 241 cursor: default; 242} 243.mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle { 244 border-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface)); 245 opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38); 246} 247.mat-mdc-radio-button .mdc-radio__native-control:disabled + .mdc-radio__background >
247 .mdc-radio__inner-circle { 248 background-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor)); 249 opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38); 250} 251.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle { 252 border-color: var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant)); 253} 254.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle { 255 border-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary)); 256} 257.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__inner-circle { 258 background-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor)); 259} 260.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked + .mdc-radio__background > .mdc-radio__outer-circle { 261 border-color: var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary)); 262} 263.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked + .mdc-radio__background > .mdc-radio__inner-circle { 264 background-color: var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor)); 265} 266.mat-mdc-radio-button .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__inner-circle { 267 transform: scale(0.5); 268 transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1); 269} 270.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled { 271 pointer-events: auto; 272} 273.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle { 274 border-color: var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface)); 275 opacity: var(--mat-radio-disabled-unselected-icon-opacity, 0.38); 276} 277.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__outer-circle, 278.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus + .mdc-radio__background > .mdc-radio__outer-circle, 279.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control + .mdc-radio__background > .mdc-radio__outer-circle { 280 border-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface)); 281 opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38); 282} 283.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__inner-circle, 284.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus + .mdc-radio__background > .mdc-radio__inner-circle, 285.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control + .mdc-radio__background > .mdc-radio__inner-circle { 286 background-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor)); 287 opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38); 288} 289.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before, 290.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle, 291.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle { 292 transition: none !important; 293} 294.mat-mdc-radio-button label { 295 cursor: pointer; 296} 297.mat-mdc-radio-button label:empty { 298 display: none; 299} 300.mat-mdc-radio-button .mdc-radio__background::before { 301 background-color: var(--mat-radio-ripple-color, var(--mat-sys-on-surface)); 302} 303.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element, 304.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before { 305 background-color: var(--mat-radio-checked-ripple-color, var(--mat-sys-primary)); 306} 307.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element, 308.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before { 309 background-color: var(--mat-radio-ripple-color, var(--mat-sys-on-surface)); 310} 311.mat-mdc-radio-button .mat-internal-form-field { 312 color: var(--mat-radio-label-text-color, var(--mat-sys-on-surface)); 313 font-family: var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font)); 314 line-height: var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height)); 315 font-size: var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size)); 316 letter-spacing: var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking)); 317 font-weight: var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight)); 318} 319.mat-mdc-radio-button .mdc-radio--disabled + label { 320 color: var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 321} 322.mat-mdc-radio-button .mat-radio-ripple { 323 top: 0; 324 left: 0; 325 right: 0; 326 bottom: 0; 327 position: absolute; 328 pointer-events: none; 329 border-radius: 50%; 330} 331.mat-mdc-radio-button .mat-radio-ripple > .mat-ripple-element { 332 opacity: 0.14; 333} 334.mat-mdc-radio-button .mat-radio-ripple::before { 335 border-radius: 50%; 336} 337.mat-mdc-radio-button .mdc-radio > .mdc-radio__native-control:focus:enabled:not(:checked) ~ .mdc-radio__background > .mdc-radio__outer-circle { 338 border-color: var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface)); 339} 340.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before { 341 content: ""; 342} 343 344.mat-mdc-radio-disabled { 345 cursor: default; 346 pointer-events: none; 347} 348.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive { 349 pointer-events: auto; 350} 351 352.mat-mdc-radio-touch-target { 353 position: absolute; 354 top: 50%; 355 left: 50%; 356 height: var(--mat-radio-touch-target-size, 48px); 357 width: var(--mat-radio-touch-target-size, 48px); 358 transform: translate(-50%, -50%); 359 display: var(--mat-radio-touch-target-display, block); 360} 361[dir=rtl] .mat-mdc-radio-touch-target { 362 left: auto; 363 right: 50%; 364 transform: translate(50%, -50%); 365} 366`],encapsulation:2,changeDetection:0})}return t})(),ik=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,vC,De]})}return t})();var rk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var o_=class{_attachedHost=null;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},ko=class extends o_{component;viewContainerRef;injector;projectableNodes;bindings;
vendor: 10,265 bytes, line 366
366constructor(i,e,n,r,o){super(),this.component=i,this.viewContainerRef=e,this.injector=n,this.projectableNodes=r,this.bindings=o||null}},Sr=class extends o_{templateRef;viewContainerRef;context;injector;constructor(i,e,n,r){super(),this.templateRef=i,this.viewContainerRef=e,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},ok=class extends o_{element;constructor(i){super(),this.element=i instanceof Q?i.nativeElement:i}},dd=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof ko)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof Sr)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof ok)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},jp=class extends dd{outletElement;_appRef;_defaultInjector;constructor(i,e,n){super(),this.outletElement=i,this._appRef=e,this._defaultInjector=n}attachComponentPortal(i){let e;if(i.viewContainerRef){let n=i.injector||i.viewContainerRef.injector,r=n.get(Os,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:n,ngModuleRef:r,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let n=this._appRef,r=i.injector||this._defaultInjector||ie.NULL,o=r.get(_n,n.injector);e=F0(i.component,{elementInjector:r,environmentInjector:o,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,n=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(n);r!==-1&&e.remove(r)}),this._attachedPortal=i,n}attachDomPortal=i=>{let e=i.element;e.parentNode;let n=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var ho=(()=>{class t extends dd{_moduleRef=m(Os,{optional:!0});_document=m(Ce);_viewContainerRef=m(Pt);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new V;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=n.createComponent(e.component,{index:n.length,injector:e.injector||n.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return n!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachDomPortal=e=>{let n=e.element;n.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),n.parentNode.insertBefore(r,n),this._getRootNode().appendChild(n),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(n,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[he]})}return t})(),pr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var uj=tC();function Ys(t){return new yC(t.get(ji),t.get(Ce))}var yC=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=ki(-this._previousScrollPosition.left),i.style.top=ki(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,n=i.style,r=e.style,o=n.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),uj&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),uj&&(n.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}};function bj(t,i){return new CC(t.get(as),t.get(le),t.get(ji),i)}var CC=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,n,r){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=r}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(ae(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var a_=class{enable(){}disable(){}attach(){}};function ak(t,i){return i.some(e=>{let n=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,a=t.left>e.right;return n||r||o||a})}function mj(t,i){return i.some(e=>{let n=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,a=t.right>e.right;return n||r||o||a})}function ra(t,i){return new DC(t.get(as),t.get(ji),t.get(le),i)}var DC=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,n,r){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=r}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();ak(e,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},vj=(()=>{class t{_injector=m(ie);constructor(){}noop=()=>new a_;close=e=>bj(this._injector,e);block=()=>Ys(this._injector);reposition=e=>ra(this._injector,e);static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fo=class{positionStrategy;scrollStrategy=new a_;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(i){if(i){let e=Object.keys(i);for(let n of e)i[n]!==void 0&&(this[n]=i[n])}}};var EC=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var yj=(()=>{class t{_attachedOverlays=[];_document=m(Ce);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,n,r){return r.observers.length<1?!1:e.eventPredicate?e.eventPredicate(n):!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cj=(()=>{class t extends yj{_ngZone=m(le);_renderer=m(fi).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._key
366downListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let n=this._attachedOverlays;for(let r=n.length-1;r>-1;r--){let o=n[r];if(this.canReceiveEvent(o,e,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dj=(()=>{class t extends yj{_platform=m(gt);_ngZone=m(le);_renderer=m(fi).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let n=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(n,"pointerdown",this._pointerDownListener,r),o.listen(n,"click",this._clickListener,r),o.listen(n,"auxclick",this._clickListener,r),o.listen(n,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=ui(e)};_clickListener=e=>{let n=ui(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a],d=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,e,d))){if(pj(s.overlayElement,n)||pj(s.overlayElement,r))break;this._ngZone?this._ngZone.run(()=>d.next(e)):d.next(e)}}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function pj(t,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=i;for(;n;){if(n===t)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var Ej=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { 367 pointer-events: none; 368 top: 0; 369 left: 0; 370 height: 100%; 371 width: 100%; 372} 373 374.cdk-overlay-container { 375 position: fixed; 376} 377@layer cdk-overlay { 378 .cdk-overlay-container { 379 z-index: 1000; 380 } 381} 382.cdk-overlay-container:empty { 383 display: none; 384} 385 386.cdk-global-overlay-wrapper { 387 display: flex; 388 position: absolute; 389} 390@layer cdk-overlay { 391 .cdk-global-overlay-wrapper { 392 z-index: 1000; 393 } 394} 395 396.cdk-overlay-pane { 397 position: absolute; 398 pointer-events: auto; 399 box-sizing: border-box; 400 display: flex; 401 max-width: 100%; 402 max-height: 100%; 403} 404@layer cdk-overlay { 405 .cdk-overlay-pane { 406 z-index: 1000; 407 } 408} 409 410.cdk-overlay-backdrop { 411 position: absolute; 412 top: 0; 413 bottom: 0; 414 left: 0; 415 right: 0; 416 pointer-events: auto; 417 -webkit-tap-highlight-color: transparent; 418 opacity: 0; 419 touch-action: manipulation; 420} 421@layer cdk-overlay { 422 .cdk-overlay-backdrop { 423 z-index: 1000; 424 transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 425 } 426} 427@media (prefers-reduced-motion) { 428 .cdk-overlay-backdrop { 429 transition-duration: 1ms; 430 } 431} 432 433.cdk-overlay-backdrop-showing { 434 opacity: 1; 435} 436@media (forced-colors: active) { 437 .cdk-overlay-backdrop-showing { 438 opacity: 0.6; 439 } 440} 441 442@layer cdk-overlay { 443 .cdk-overlay-dark-backdrop { 444 background: rgba(0, 0, 0, 0.32); 445 } 446} 447 448.cdk-overlay-transparent-backdrop { 449 transition: visibility 1ms linear, opacity 1ms linear; 450 visibility: hidden; 451 opacity: 1; 452} 453.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop { 454 opacity: 0; 455 visibility: visible; 456} 457 458.cdk-overlay-backdrop-noop-animation { 459 transition: none; 460} 461 462.cdk-overlay-connected-position-bounding-box { 463 position: absolute; 464 display: flex; 465 flex-direction: column; 466 min-width: 1px; 467 min-height: 1px; 468} 469@layer cdk-overlay { 470 .cdk-overlay-connected-position-bounding-box { 471 z-index: 1000; 472 } 473} 474 475.cdk-global-scrollblock { 476 position: fixed; 477 width: 100%;
478 overflow-y: scroll; 479} 480 481.cdk-overlay-popover { 482 background: none; 483 border: none; 484 padding: 0; 485 outline: 0; 486 overflow: visible; 487 position: fixed; 488 pointer-events: none; 489 white-space: normal; 490 color: inherit; 491 text-decoration: none; 492 width: 100%; 493 height: 100%; 494 inset: auto; 495 top: 0; 496 left: 0; 497} 498.cdk-overlay-popover::backdrop { 499 display: none; 500} 501.cdk-overlay-popover .cdk-overlay-backdrop { 502 position: fixed; 503 z-index: auto; 504} 505`],encapsulation:2,changeDetection:0})}return t})(),xC=(()=>{class t{_platform=m(gt);_containerElement;_document=m(Ce);_styleLoader=m(Lt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||JA()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let n=this._document.createElement("div");n.classList.add(e),JA()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}_loadStyles(){this._styleLoader.load(Ej)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sk=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(i,e,n,r){this._renderer=e,this._ngZone=n,this.element=i.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function lk(t){return t&&t.nodeType===1}var Hp=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new O;_attachments=new O;_detachments=new O;_positionStrategy;_scrollStrategy;_locationChanges=_e.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new O;_outsidePointerEvents=new O;_afterNextRenderRef;constructor(i,e,n,r,o,a,s,d,p,f=!1,b,w){this._portalOutlet=i,this._host=e,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=d,this._outsideClickDispatcher=p,this._animationsDisabled=f,this._injector=b,this._renderer=w,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(i){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(i);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Dt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){if(this._disposed)return;let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
505pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=P(P({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Ae(P({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=ki(this._config.width),i.height=ki(this._config.height),i.minWidth=ki(this._config.minWidth),i.minHeight=ki(this._config.minHeight),i.maxWidth=ki(this._config.maxWidth),i.maxHeight=ki(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachHost(){if(!this._host.parentElement){let i=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;lk(i)?i.after(this._host):i?.type==="parent"?i.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(i){}}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new sk(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,n){let r=Xl(e||[]).filter(o=>!!o);r.length&&(n?i.classList.add(...r):i.classList.remove(...r))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=Dt(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(e){if(i)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},hj="cdk-overlay-connected-position-bounding-box",tQ=/([A-Za-z%]+)$/;function cs(t,i){return new Up(i,t.get(ji),t.get(Ce),t.get(gt),t.get(xC))}var Up=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new O;_resizeSubscription=_e.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 5,340 bytes, line 505
505constructor(i,e,n,r,o){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=o,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(hj),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let i=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let d=this._getOriginPoint(i,r,s),p=this._getOverlayPoint(d,e,s),f=this._getOverlayFit(p,e,n,s);if(f.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,d);return}if(this._canFitWithFlexibleDimensions(f,p,n)){o.push({position:s,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,s)});continue}(!a||a.overlayFit.visibleArea<f.visibleArea)&&(a={overlayFit:f,overlayPoint:p,originPoint:d,position:s,overlayRect:e})}if(o.length){let s=null,d=-1;for(let p of o){let f=p.boundingBoxRect.width*p.boundingBoxRect.height*(p.position.weight||1);f>d&&(d=f,s=p)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$u(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(hj),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;i?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(i,this._getOriginPoint(this._originRect,this._containerRect,i))):this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}withPopoverLocation(i){return this._popoverLocation=i,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof Q?this._origin.nativeElement:lk(this._origin)?this._origin:null}_getOriginPoint(i,e,n){let r;if(n.originX=="center")r=i.left+i.width/2;else{let a=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;r=n.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return n.originY=="center"?o=i.top+i.height/2:o=n.originY=="top"?i.top:i.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(i,e,n){let r;n.overlayX=="center"?r=-e.width/2:n.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return n.overlayY=="center"?o=-e.height/2:o=n.overlayY=="top"?0:-e.height,{x:i.x+r,y:i.y+o}}_getOverlayFit(i,e,n,r){let o=gj(e),{x:a,y:s}=i,d=this._getOffset(r,"x"),p=this._getOffset(r,"y");d&&(a+=d),p&&(s+=p);let f=0-a,b=a+o.width-n.width,w=0-s,A=s+o.height-n.height,M=this._subtractOverflows(o.width,f,b),J=this._subtractOverflows(o.height,w,A),j=M*J;return{visibleArea:j,isCompletelyWithinViewport:o.width*o.height===j,fitsInViewportVertically:J===o.height,fitsInViewportHorizontally:M==o.width}}_canFitWithFlexibleDimensions(i,e,n){if(this._hasFlexibleDimensions){let r=n.bottom-e.y,o=n.right-e.x,a=fj(this._overlayRef.getConfig().minHeight),s=fj(this._overlayRef.getConfig().minWidth),d=i.fitsInViewportVertically||a!=null&&a<=r,p=i.fitsInViewportHorizontally||s!=null&&s<=o;return d&&p}return!1}_pushOverlayOnScreen(i,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let r=gj(e),o=this._viewportRect,a=Math.max(i.x+r.width-o.width,0),s=Math.max(i.y+r.height-o.height,0),d=Math.max(o.top-n.top-i.y,0),p=Math.max(o.left-n.left-i.x,0),f=0,b=0;
505return r.width<=o.width?f=p||-a:f=i.x<this._getViewportMarginStart()?o.left-n.left-i.x:0,r.height<=o.height?b=d||-s:b=i.y<this._getViewportMarginTop()?o.top-n.top-i.y:0,this._previousPushAmount={x:f,y:b},{x:i.x+f,y:i.y+b}}_applyPosition(i,e){if(this._setTransformOrigin(i),this._setOverlayElementStyles(e,i),this._setBoundingBoxStyles(e,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!nQ(this._lastScrollVisibility,n)){let r=new EC(i,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=i.overlayY;i.overlayX==="center"?n="center":this._isRtl()?n=i.overlayX==="start"?"right":"left":n=i.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(i,e){let n=this._viewportRect,r=this._isRtl(),o,a,s;if(e.overlayY==="top")a=i.y,o=n.height-a+this._getViewportMarginBottom();else if(e.overlayY==="bottom")s=n.height-i.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=n.height-s+this._getViewportMarginTop();else{let A=Math.min(n.bottom-i.y+n.top,i.y),M=this._lastBoundingBoxSize.height;o=A*2,a=i.y-A,o>M&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-M/2)}let d=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,p=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,f,b,w;if(p)w=n.width-i.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),f=i.x-this._getViewportMarginStart();else if(d)b=i.x,f=n.right-i.x-this._getViewportMarginEnd();else{let A=Math.min(n.right-i.x+n.left,i.x),M=this._lastBoundingBoxSize.width;f=A*2,b=i.x-A,f>M&&!this._isInitialRender&&!this._growAfterOpen&&(b=i.x-M/2)}return{top:a,left:b,bottom:s,right:w,width:f,height:o}}_setBoundingBoxStyles(i,e){let n=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="auto",r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.width=ki(n.width),r.height=ki(n.height),r.top=ki(n.top)||"auto",r.bottom=ki(n.bottom)||"auto",r.left=ki(n.left)||"auto",r.right=ki(n.right)||"auto",e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=ki(o)),a&&(r.maxWidth=ki(a))}this._lastBoundingBoxSize=n,$u(this._boundingBox.style,r)}_resetBoundingBoxStyles(){$u(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$u(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let f=this._viewportRuler.getViewportScrollPosition();$u(n,this._getExactOverlayY(e,i,f)),$u(n,this._getExactOverlayX(e,i,f))}else n.position="static";let s="",d=this._getOffset(e,"x"),p=this._getOffset(e,"y");d&&(s+=`translateX(${d}px) `),p&&(s+=`translateY(${p}px)`),n.transform=s.trim(),a.maxHeight&&(r?n.maxHeight=ki(a.maxHeight):o&&(n.maxHeight="")),a.maxWidth&&(r?n.maxWidth=ki(a.maxWidth):o&&(n.maxWidth="")),$u(this._pane.style,n)}_getExactOverlayY(i,e,n){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=ki(o.y);return r}_getExactOverlayX(i,e,n){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let a;if(this._isRtl()?a=i.overlayX==="end"?"left":"right":a=i.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=ki(o.x);return r}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:mj(i,n),isOriginOutsideView:ak(i,n),isOverlayClipped:mj(e,n),isOverlayOutsideView:ak(e,n)}}_subtractOverflows(i,...e){return e.reduce((n,r)=>n-Math.max(r,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._getViewportMarginTop(),left:n.left+this._getViewportMarginStart(),right:n.left+i-this._getViewportMarginEnd(),bottom:n.top+e-this._getViewportMarginBottom(),width:i-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}
505_addPanelClasses(i){this._pane&&Xl(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let i=this._origin;if(i instanceof Q)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,n=i.height||0;return{top:i.y,bottom:i.y+n,left:i.x,right:i.x+e,height:n,width:e}}_getContainerRect(){let i=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();i&&(e.style.display="block");let n=e.getBoundingClientRect();return i&&(e.style.display=""),n}};function $u(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function fj(t){if(typeof t!="number"&&t!=null){let[i,e]=t.split(tQ);return!e||e==="px"?parseFloat(i):null}return t||null}function gj(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function nQ(t,i){return t===i?!0:t.isOriginClipped===i.isOriginClipped&&t.isOriginOutsideView===i.isOriginOutsideView&&t.isOverlayClipped===i.isOverlayClipped&&t.isOverlayOutsideView===i.isOverlayOutsideView}var _j="cdk-global-overlay-wrapper";function Ca(t){return new wC}var wC=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(_j),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=n,d=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),p=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),f=this._xPosition,b=this._xOffset,w=this._overlayRef.getConfig().direction==="rtl",A="",M="",J="";d?J="flex-start":f==="center"?(J="center",w?M=b:A=b):w?f==="left"||f==="end"?(J="flex-end",A=b):(f==="right"||f==="start")&&(J="flex-start",M=b):f==="left"||f==="start"?(J="flex-start",A=b):(f==="right"||f==="end")&&(J="flex-end",M=b),i.position=this._cssPosition,i.marginLeft=d?"0":A,i.marginTop=p?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=d?"0":M,e.justifyContent=J,e.alignItems=p?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(_j),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},wj=(()=>{class t{_injector=m(ie);constructor(){}global(){return Ca()}flexibleConnectedTo(e){return cs(this._injector,e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),s_=new R("OVERLAY_DEFAULT_CONFIG");function go(t,i){t.get(Lt).load(Ej);let e=t.get(xC),n=t.get(Ce),r=t.get(pt),o=t.get(Qi),a=t.get(an),s=t.get(ot,null,{optional:!0})||t.get(fi).createRenderer(null,null),d=new fo(i),p=t.get(s_,null,{optional:!0})?.usePopover??!0;d.direction=d.direction||a.value,"showPopover"in n.body?d.usePopover=i?.usePopover??p:d.usePopover=!1;let f=n.createElement("div"),b=n.createElement("div");f.id=r.getId("cdk-overlay-"),f.classList.add("cdk-overlay-pane"),b.appendChild(f),d.usePopover&&(b.setAttribute("popover","manual"),b.classList.add("cdk-overlay-popover"));let w=d.usePopover?d.positionStrategy?.getPopoverInsertionPoint?.():null;return lk(w)?w.after(b):w?.type==="parent"?w.element.appendChild(b):e.getContainerElement().appendChild(b),new Hp(new jp(f,o,t),b,f,d,t.get(le),t.get(Cj),n,t.get(Vs),t.get(
505Dj),i?.disableAnimations??t.get(Jf,null,{optional:!0})==="NoopAnimations",t.get(_n),s)}var xj=(()=>{class t{scrollStrategies=m(vj);_positionBuilder=m(wj);_injector=m(ie);constructor(){}create(e){return go(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iQ=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],rQ=new R("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}}),zp=(()=>{class t{elementRef=m(Q);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Sj=new R("cdk-connected-overlay-default-config"),SC=(()=>{class t{_dir=m(an,{optional:!0});_injector=m(ie);_overlayRef;_templatePortal;_backdropSubscription=_e.EMPTY;_attachSubscription=_e.EMPTY;_detachSubscription=_e.EMPTY;_positionSubscription=_e.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=m(rQ);_ngZone=m(le);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new V;positionChange=new V;attach=new V;detach=new V;overlayKeydown=new V;overlayOutsideClick=new V;constructor(){let e=m(Zt),n=m(Pt),r=m(Sj,{optional:!0}),o=m(s_,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new Sr(e,n),this.scrollStrategy=this._scrollStrategyFactory(),r&&this._assignConfig(r)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=iQ);let e=this._overlayRef=go(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Ht(n)&&(n.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let r=this._getOriginElement(),o=ui(n);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new fo({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){let n=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=cs(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}
505_getOrigin(){return this.origin instanceof zp?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof zp?this.origin.elementRef.nativeElement:this.origin instanceof Q?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(n=>this.backdropClick.emit(n)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(cx(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",q],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",q],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",q],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",q],push:[2,"cdkConnectedOverlayPush","push",q],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",q],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",q],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ke]})}return t})(),Ui=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[xj],imports:[De,pr,od,od]})}return t})();var oQ=[[["caption"]],[["colgroup"],["col"]],"*"],aQ=["caption","colgroup, col","*"];function sQ(t,i){t&1&&re(0,2)}function lQ(t,i){t&1&&(u(0,"thead",0),Di(1,1),c(),u(2,"tbody",0),Di(3,2)(4,3),c(),u(5,"tfoot",0),Di(6,4),c())}function cQ(t,i){t&1&&Di(0,1)(1,2)(2,3)(3,4)}var ds=new R("CDK_TABLE");var AC=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),kC=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),Aj=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),ud=(()=>{class t{_table=m(ds,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,AC,5)(o,kC,5)(o,Aj,5),n&2){let a;H(a=U())&&(r.cell=a.first),H(a=U())&&(r.headerCell=a.first),H(a=U())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",q],stickyEnd:[2,"stickyEnd","stickyEnd",q]}})}return t})(),IC=class{constructor(i,e){e.nativeElement.classList.add(...i._columnCssClassName)}},kj=(()=>{class t extends IC{constructor(){super(m(ud),m(Q))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[he]})}return t})();var Rj=(()=>{class t extends IC{constructor(){let e=m(ud),n=m(Q);super(e,n);let r=e._table?._getCellRole();r&&n.nativeElement.setAttribute("role",r)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[he]})}return t})();var dk=(()=>{class t{template=m(Zt);_differs=m(Hl);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let n=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof c_?e.headerCell.template:this instanceof uk?e.footerCell.template:e.cell.template}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,features:[Ke]})}return t})(),c_=(()=>{class t extends dk{_table=m(ds,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(m(Zt),m(Hl))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",q]},features:[he,Ke]})}return t})(),uk=(()=>{class t extends dk{_table=m(ds,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(m(Zt),m(Hl))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",q]},features:[he,Ke]})}return t})(),RC=(()=>{class t extends dk{_table=m(ds,{optional:!0});when;constructor(){super(m(Zt),m(Hl))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[he]})}return t})(),qu=(()=>{class t{_viewContainer=m(Pt);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),mk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[qu],encapsulation:2})}return t})();var pk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[qu],encapsulation:2})}return t})(),Mj=(()=>{class t{templateRef=m(Zt);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),Tj=["top","bottom","left","right"],ck=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(i=>this._updateCachedSizes(i)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;
505constructor(i,e,n=!0,r=!0,o,a,s){this._isNativeHtmlTable=i,this._stickCellCss=e,this._isBrowser=n,this._needsPositionStickyOnElement=r,this.direction=o,this._positionListener=a,this._tableInjector=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(i,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(i);let n=[];for(let r of i)r.nodeType===r.ELEMENT_NODE&&n.push(r,...Array.from(r.children));Dt({write:()=>{for(let r of n)this._removeStickyStyle(r,e)}},{injector:this._tableInjector})}updateStickyColumns(i,e,n,r=!0,o=!0){if(!i.length||!this._isBrowser||!(e.some(j=>j)||n.some(j=>j))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=i[0],s=a.children.length,d=this.direction==="rtl",p=d?"right":"left",f=d?"left":"right",b=e.lastIndexOf(!0),w=n.indexOf(!0),A,M,J;o&&this._updateStickyColumnReplayQueue({rows:[...i],stickyStartStates:[...e],stickyEndStates:[...n]}),Dt({earlyRead:()=>{A=this._getCellWidths(a,r),M=this._getStickyStartColumnPositions(A,e),J=this._getStickyEndColumnPositions(A,n)},write:()=>{for(let j of i)for(let K=0;K<s;K++){let Te=j.children[K];e[K]&&this._addStickyStyle(Te,p,M[K],K===b),n[K]&&this._addStickyStyle(Te,f,J[K],K===w)}this._positionListener&&A.some(j=>!!j)&&(this._positionListener.stickyColumnsUpdated({sizes:b===-1?[]:A.slice(0,b+1).map((j,K)=>e[K]?j:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:w===-1?[]:A.slice(w).map((j,K)=>n[K+w]?j:null).reverse()}))}},{injector:this._tableInjector})}stickRows(i,e,n){if(!this._isBrowser)return;let r=n==="bottom"?i.slice().reverse():i,o=n==="bottom"?e.slice().reverse():e,a=[],s=[],d=[];Dt({earlyRead:()=>{for(let p=0,f=0;p<r.length;p++){if(!o[p])continue;a[p]=f;let b=r[p];d[p]=this._isNativeHtmlTable?Array.from(b.children):[b];let w=this._retrieveElementSize(b).height;f+=w,s[p]=w}},write:()=>{let p=o.lastIndexOf(!0);for(let f=0;f<r.length;f++){if(!o[f])continue;let b=a[f],w=f===p;for(let A of d[f])this._addStickyStyle(A,n,b,w)}n==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:a,elements:d}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:a,elements:d})}},{injector:this._tableInjector})}updateStickyFooterContainer(i,e){this._isNativeHtmlTable&&Dt({write:()=>{let n=i.querySelector("tfoot");n&&(e.some(r=>!r)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(i,e){if(!i.classList.contains(this._stickCellCss))return;for(let r of e)i.style[r]="",i.classList.remove(this._borderCellCss[r]);Tj.some(r=>e.indexOf(r)===-1&&i.style[r])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,e,n,r){i.classList.add(this._stickCellCss),r&&i.classList.add(this._borderCellCss[e]),i.style[e]=`${n}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){let e={top:100,bottom:10,left:1,right:1},n=0;for(let r of Tj)i.style[r]&&(n+=e[r]);return n?`${n}`:""}_getCellWidths(i,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let n=[],r=i.children;for(let o=0;o<r.length;o++){let a=r[o];n.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(i,e){let n=[],r=0;for(let o=0;o<i.length;o++)e[o]&&(n[o]=r,r+=i[o]);return n}_getStickyEndColumnPositions(i,e){let n=[],r=0;for(let o=i.length;o>0;o--)e[o]&&(n[o]=r,r+=i[o]);return n}_retrieveElementSize(i){let e=this._elemSizeCache.get(i);if(e)return e;let n=i.getBoundingClientRect(),r={width:n.width,height:n.height};return this._resizeObserver&&(this._elemSizeCache.set(i,r),this._resizeObserver.observe(i,{box:"border-box"})),r}_updateStickyColumnReplayQueue(i){this._removeFromStickyColumnReplayQueue(i.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(i)}_removeFromStickyColumnReplayQueue(i){let e=new Set(i);for(let n of this._updatedStickyColumnsParamsToReplay)n.rows=n.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(n=>!!n.rows.length)}_updateCachedSizes(i){let e=!1;for(let n of i){let r=n.borderBoxSize?.length?{width:n.borderBoxSize[0].inlineSize,height:n.borderBoxSize[0].blockSize}:{width:n.contentRect.width,height:n.contentRect.height};r.width!==this._elemSizeCache.get(n.target)?.width&&dQ(n.target)&&(e=!0),this._elemSizeCache.set(n.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let n of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(n.rows,n.stickyStart
505States,n.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function dQ(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(i=>t.classList.contains(i))}var l_=new R("STICKY_POSITIONING_LISTENER");var hk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(ds);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","rowOutlet",""]]})}return t})(),fk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(ds);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),gk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(ds);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),_k=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(ds);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),bk=(()=>{class t{_differs=m(Hl);_changeDetectorRef=m(Ee);_elementRef=m(Q);_dir=m(an,{optional:!0});_platform=m(gt);_viewRepeater;_viewportRuler=m(ji);_injector=m(ie);_virtualScrollViewport=m(hV,{optional:!0,host:!0});_positionListener=m(l_,{optional:!0})||m(l_,{optional:!0,skipSelf:!0});_document=m(Ce);_data;_renderedRange;_onDestroy=new O;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new O;_footerRowStickyUpdates=new O;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new O;_dataStream=new O;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new V;viewChange=new zt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){m(new di("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((n,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(xe(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new nC:new gC,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e
505=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),$g(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,n,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===os.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=n.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=Ij(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let n=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=Ij(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let n=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...n,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s<n.length;s++)this._renderRows[s].rowDef===o&&a.push(n[s]);this._addStickyColumnStyles(a,o)}),r.forEach((o,a)=>{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],n=Math.min(this._data.length,this._renderedRange.end),r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=this._renderedRange.start;o<n;o++){let a=this._data[o],s=this._getRenderRowsForData(a,o,r.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let d=0;d<s.length;d++){let p=s[d],f=this._cachedRenderRowsMap.get(p.data);f.has(p.rowDef)?f.get(p.rowDef).push(p):f.set(p.rowDef,[p]),e.push(p)}}return e}_getRenderRowsForData(e,n,r){return this._getRowDefs(e,n).map(a=>{let s=r&&r.has(a)?r.get(a):[];if(s.length){let d=s.shift();return d.dataIndex=n,d}else return{data:e,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),TC(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEac
505h(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=TC(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=TC(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=TC(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(n=>!n.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let d=!!s.getColumnsDiff();return a||d},n=this._rowDefs.reduce(e,!1);n&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),n||r||o}_switchDataSource(e){this._data=[],$g(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;$g(this.dataSource)?e=this.dataSource.connect(this):Sl(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=B(this.dataSource)),this._renderChangeSubscription=nn([e,this.viewChange]).pipe(xe(this._onDestroy)).subscribe(([n,r])=>{this._data=n||[],this._renderedRange=r,this._dataStream.next(n),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,n)=>this._renderRow(this._headerRowOutlet,e,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,n)=>this._renderRow(this._footerRowOutlet,e,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,n){let r=Array.from(n?.columns||[]).map(s=>{let d=this._columnDefsByName.get(s);return d}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let n=[];for(let r=0;r<e.viewContainer.length;r++){let o=e.viewContainer.get(r);n.push(o.rootNodes[0])}return n}_getRowDefs(e,n){if(this._rowDefs.length===1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(n,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(n,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,n){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:n}}_renderRow(e,n,r,o={}){let a=e.viewContainer.createEmbeddedView(n.template,o,r);return this._renderCellTemplateForItem(n,o),a}_renderCellTemplateForItem(e,n){for(let r of this._getCellTemplates(e))qu.mostRecentCellOutlet&&qu.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let n=0,r=e.length;n<r;n++){let a=e.get(n).context;a.count=r,a.first=n===0,a.last=n===r-1,a.even=n%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[n].dataIndex,a.renderIndex=n):a.index=this._renderRows[n].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,n=>{let r=this._columnDefsByName.get(n);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(n,r)=>n||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",n=this._injector;this._stickyStyler=new ck(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,n),(this._dir?this._dir.change:B()).pipe(xe(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let n=typeof requestAnimationFrame<"u"?Mm:Rb;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(Pm(0,n),xe(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(r,o)=>this._measureRangeSize(r,o)}),nn([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(xe(this._onDestroy)).subscribe(([r,o])=>
505{if(!(!o.sizes||!o.offsets||!o.elements))for(let a=0;a<o.elements.length;a++){let s=o.elements[a];if(s){let d=o.offsets[a],p=r!==0?Math.max(r-d,d):-d;for(let f of s)f.style.top=`${-p}px`}}}),nn([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(xe(this._onDestroy)).subscribe(([r,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let a=0;a<o.elements.length;a++){let s=o.elements[a];if(s)for(let d of s)d.style.bottom=`${r+o.offsets[a]}px`}})}_getOwnDefs(e){return e.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(n){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];if(o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let s=a.querySelectorAll(e._cellSelector);for(let d=0;d<s.length;d++)s[d].classList.add(...e._cellClassNames)}}else r.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,n){if(e.start>=e.end||n!=="vertical")return 0;let r=this.viewChange.value,o=this._rowOutlet.viewContainer;e.start<r.start||e.end>r.end;let a=e.start-r.start,s=e.end-e.start,d,p;for(let w=0;w<s;w++){let A=o.get(w+a);if(A&&A.rootNodes.length){d=p=A.rootNodes[0];break}}for(let w=s-1;w>-1;w--){let A=o.get(w+a);if(A&&A.rootNodes.length){p=A.rootNodes[A.rootNodes.length-1];break}}let f=d?.getBoundingClientRect?.(),b=p?.getBoundingClientRect?.();return f&&b?b.bottom-f.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Mj,5)(o,ud,5)(o,RC,5)(o,c_,5)(o,uk,5),n&2){let a;H(a=U())&&(r._noDataRow=a.first),H(a=U())&&(r._contentColumnDefs=a),H(a=U())&&(r._contentRowDefs=a),H(a=U())&&(r._contentHeaderRowDefs=a),H(a=U())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,r){n&2&&ee("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",q],fixedLayout:[2,"fixedLayout","fixedLayout",q],recycleRows:[2,"recycleRows","recycleRows",q]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[me([{provide:ds,useExisting:t},{provide:l_,useValue:null}])],ngContentSelectors:aQ,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,r){n&1&&(Ie(oQ),re(0),re(1,1),v(2,sQ,1,0),v(3,lQ,7,0)(4,cQ,4,0)),n&2&&(l(2),y(r._isServer?2:-1),l(),y(r._isNativeHtmlTable?3:4))},dependencies:[fk,hk,_k,gk],styles:[`.cdk-table-fixed-layout { 506 table-layout: fixed; 507} 508`],encapsulation:2})}return t})();function TC(t,i){return t.concat(Array.from(i))}function Ij(t,i){let e=i.toUpperCase(),n=t.viewContainer.element.nativeElement;for(;n;){let r=n.nodeType===1?n.nodeName:null;if(r===e)return n;if(r==="TABLE")break;n=n.parentNode}return null}var d_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[od]})}return t})();var vk=class{dataNodes;expansionModel=new mr(!0);trackBy;getLevel;isExpandable;getChildren;toggle(i){this.expansionModel.toggle(this._trackByValue(i))}expand(i){this.expansionModel.select(this._trackByValue(i))}collapse(i){this.expansionModel.deselect(this._trackByValue(i))}isExpanded(i){return this.expansionModel.isSelected(this._trackByValue(i))}toggleDescendants(i){this.expansionModel.isSelected(this._trackByValue(i))?this.collapseDescendants(i):this.expandDescendants(i)}collapseAll(){this.expansionModel.clear()}expandDescendants(i){let e=[i];e.push(...this.getDescendants(i)),this.expansionModel.select(...e.map(n=>this._trackByValue(n)))}collapseDescendants(i){let e=[i];e.push(...this.getDescendants(i)),this.expansionModel.deselect(...e.map(n=>this._trackByValue(n)))}_trackByValue(i){return this.trackBy?this.trackBy(i):i}},Nj=class extends vk{getLevel;isExpandable;options;
508constructor(i,e,n){super(),this.getLevel=i,this.isExpandable=e,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(i){let e=this.dataNodes.indexOf(i),n=[];for(let r=e+1;r<this.dataNodes.length&&this.getLevel(i)<this.getLevel(this.dataNodes[r]);r++)n.push(this.dataNodes[r]);return n}expandAll(){this.expansionModel.select(...this.dataNodes.map(i=>this._trackByValue(i)))}};var u_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var MC=(()=>{class t{_animationsDisabled=lt();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,r){n&2&&ee("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,r){},styles:[`.mat-pseudo-checkbox { 509 border-radius: 2px; 510 cursor: pointer; 511 display: inline-block; 512 vertical-align: middle; 513 box-sizing: border-box; 514 position: relative; 515 flex-shrink: 0; 516 transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1); 517} 518.mat-pseudo-checkbox::after { 519 position: absolute; 520 opacity: 0; 521 content: ""; 522 border-bottom: 2px solid currentColor; 523 transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1); 524} 525.mat-pseudo-checkbox._mat-animation-noopable { 526 transition: none !important; 527 animation: none !important; 528} 529.mat-pseudo-checkbox._mat-animation-noopable::after { 530 transition: none; 531} 532 533.mat-pseudo-checkbox-disabled { 534 cursor: default; 535} 536 537.mat-pseudo-checkbox-indeterminate::after { 538 left: 1px; 539 opacity: 1; 540 border-radius: 2px; 541} 542 543.mat-pseudo-checkbox-checked::after { 544 left: 1px; 545 border-left: 2px solid currentColor; 546 transform: rotate(-45deg); 547 opacity: 1; 548 box-sizing: content-box; 549} 550 551.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { 552 color: var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary)); 553} 554.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { 555 color: var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 556} 557 558.mat-pseudo-checkbox-full { 559 border-color: var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant)); 560 border-width: 2px; 561 border-style: solid; 562} 563.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled { 564 border-color: var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 565} 566.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate { 567 background-color: var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary)); 568 border-color: transparent; 569} 570.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { 571 color: var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary)); 572} 573.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled { 574 background-color: var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 575} 576.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after {
577 color: var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface)); 578} 579 580.mat-pseudo-checkbox { 581 width: 18px; 582 height: 18px; 583} 584 585.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after { 586 width: 14px; 587 height: 6px; 588 transform-origin: center; 589 top: -4.2426406871px; 590 left: 0; 591 bottom: 0; 592 right: 0; 593 margin: auto; 594} 595.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { 596 top: 8px; 597 width: 16px; 598} 599 600.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after { 601 width: 10px; 602 height: 4px; 603 transform-origin: center; 604 top: -2.8284271247px; 605 left: 0; 606 bottom: 0; 607 right: 0; 608 margin: auto; 609} 610.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { 611 top: 6px; 612 width: 12px; 613} 614`],encapsulation:2,changeDetection:0})}return t})();var uQ=["text"],mQ=[[["mat-icon"]],"*"],pQ=["mat-icon","*"];function hQ(t,i){if(t&1&&x(0,"mat-pseudo-checkbox",1),t&2){let e=_();g("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function fQ(t,i){if(t&1&&x(0,"mat-pseudo-checkbox",3),t&2){let e=_();g("disabled",e.disabled)}}function gQ(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),se("(",e.group.label,")")}}var p_=new R("MAT_OPTION_PARENT_COMPONENT"),h_=new R("MatOptgroup");var m_=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},Qt=(()=>{class t{_element=m(Q);_changeDetectorRef=m(Ee);_parent=m(p_,{optional:!0});group=m(h_,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=m(pt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Z(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new V;_text;_stateChanges=new O;constructor(){let e=m(Lt);e.load(mi),e.load(Ws),this._signalDisableRipple=!!this._parent&&Ps(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,n){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Ht(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new m_(this,e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-option"]],viewQuery:function(n,r){if(n&1&&ve(uQ,7),n&2){let o;H(o=U())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,r){n&1&&T("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),n&2&&(An("id",r.id),oe("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ee("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:pQ,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,r){n&1&&(Ie(mQ),v(0,hQ,1,2,"mat-pseudo-checkbox",1),re(1),u(2,"span",2,0),re(4,1),c(),v(5,fQ,1,1,"mat-pseudo-checkbox",3),v(6,gQ,2,1,"span",4),x(7,"div",5)),n&2&&(y(r.multiple?0:-1),l(5),y(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),l(),y(r.group&&r.group._inert?6:-1),l(),g("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[MC,Hr],styles:[`.mat-mdc-option { 615 -webkit-user-select: none; 616 user-select: none; 617 -moz-osx-font-smoothing: grayscale; 618 -webkit-font-smoothing: antialiased; 619 display: flex; 620 position: relative; 621 align-items: center; 622 justify-content: flex-start; 623 overflow: hidden; 624 min-height: 48px; 625 padding: 0 16px; 626 cursor: pointer; 627 -webkit-tap-highlight-color: transparent; 628 color: var(--mat-option-label-text-color, var(--mat-sys-on-surface)); 629 font-family: var(--mat-option-label-text-font, var(--mat-sys-label-large-font)); 630 line-height: var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height)); 631 font-size: var(--mat-option-label-text-size, var(--mat-sys-body-large-size)); 632 letter-spacing: var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking)); 633 font-weight: var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight)); 634} 635.mat-mdc-option:hover:not(.mdc-list-item--disabled) { 636 background-color: var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 637} 638.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item { 639 background-color: var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 640 outline: 0; 641} 642.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) { 643 background-color: var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container)); 644} 645.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text { 646 color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container)); 647} 648.mat-mdc-option .mat-pseudo-checkbox { 649 --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container)); 650} 651.mat-mdc-option.mdc-list-item { 652 align-items: center; 653 background: transparent; 654} 655.mat-mdc-option.mdc-list-item--disabled { 656 cursor: default; 657 pointer-events: none; 658} 659.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox, .mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text, .mat-mdc-option.mdc-list-item--disabled > mat-icon { 660 opacity: 0.38; 661} 662.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { 663 padding-left: 32px; 664} 665[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { 666 padding-left: 16px; 667 padding-right: 32px; 668} 669.mat-mdc-option .mat-icon, 670.mat-mdc-option .mat-pseudo-checkbox-full { 671 margin-right: 16px; 672 flex-shrink: 0; 673} 674[dir=rtl] .mat-mdc-option .mat-icon, 675[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full { 676 margin-right: 0; 677 margin-left: 16px; 678} 679.mat-mdc-option .mat-pseudo-checkbox-minimal { 680 margin-left: 16px; 681 flex-shrink: 0; 682} 683[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal { 684 margin-right: 16px; 685 margin-left: 0; 686} 687.mat-mdc-option .mat-mdc-option-ripple { 688 top: 0; 689 left: 0; 690 right: 0; 691 bottom: 0; 692 position: absolute; 693 pointer-events: none; 694} 695.mat-mdc-option .mdc-list-item__primary-text { 696 white-space: normal; 697 font-size: inherit; 698 font-weight: inherit; 699 letter-spacing: inherit; 700 line-height: inherit; 701 font-family: inherit; 702 text-decoration: inherit; 703 text-transform: inherit; 704 margin-right: auto; 705} 706[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text { 707 margin-right: 0; 708 margin-left: auto; 709} 710@media (forced-colors: active) { 711 .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { 712 content: ""; 713 position: absolute; 714 top: 50%; 715 right: 16px; 716 transform: translateY(-50%); 717 width: 10px; 718 height: 0; 719 border-bottom: solid 10px; 720 border-radius: 10px; 721 } 722 [dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { 723 right: auto; 724 left: 16px; 725 } 726} 727 728.mat-mdc-option-multiple { 729 --mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent); 730} 731 732.mat-mdc-option-active .mat-focus-indicator::before { 733 content: ""; 734} 735`],encapsulation:2,changeDetection:0})}return t})();function NC(t,i,e){if(e.length){let n=i.toArray(),r=e.toArray(),o=0;for(let a=0;
735a<t+1;a++)n[a].group&&n[a].group===r[o]&&o++;return o}return 0}function OC(t,i,e,n){return t<e?t:t+i>e+n?Math.max(0,t-n+i):e}var yk=class{_box;_destroyed=new O;_resizeSubject=new O;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new Ne(e=>{let n=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),n.unsubscribe(),this._elementObservables.delete(i)}}).pipe(ae(e=>e.some(n=>n.target===i)),Qr({bufferSize:1,refCount:!0}),xe(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},FC=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=m(le);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,n){let r=n?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new yk(r)),this._observers.get(r).observe(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var _Q=["notch"],bQ=["matFormFieldNotchedOutline",""],vQ=["*"],Oj=["iconPrefixContainer"],Fj=["textPrefixContainer"],Pj=["iconSuffixContainer"],Lj=["textSuffixContainer"],yQ=["textField"],CQ=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],DQ=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function EQ(t,i){t&1&&x(0,"span",21)}function wQ(t,i){if(t&1&&(u(0,"label",20),re(1,1),v(2,EQ,1,0,"span",21),c()),t&2){let e=_(2);g("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),oe("for",e._control.disableAutomaticLabeling?null:e._control.id),l(2),y(!e.hideRequiredMarker&&e._control.required?2:-1)}}function xQ(t,i){if(t&1&&v(0,wQ,3,5,"label",20),t&2){let e=_();y(e._hasFloatingLabel()?0:-1)}}function SQ(t,i){t&1&&x(0,"div",7)}function TQ(t,i){}function IQ(t,i){if(t&1&&fe(0,TQ,0,0,"ng-template",13),t&2){_(2);let e=ye(1);g("ngTemplateOutlet",e)}}function AQ(t,i){if(t&1&&(u(0,"div",9),v(1,IQ,1,1,null,13),c()),t&2){let e=_();g("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),l(),y(e._forceDisplayInfixLabel()?-1:1)}}function kQ(t,i){t&1&&(u(0,"div",10,2),re(2,2),c())}function RQ(t,i){t&1&&(u(0,"div",11,3),re(2,3),c())}function MQ(t,i){}function NQ(t,i){if(t&1&&fe(0,MQ,0,0,"ng-template",13),t&2){_();let e=ye(1);g("ngTemplateOutlet",e)}}function OQ(t,i){t&1&&(u(0,"div",14,4),re(2,4),c())}function FQ(t,i){t&1&&(u(0,"div",15,5),re(2,5),c())}function PQ(t,i){t&1&&x(0,"div",16)}function LQ(t,i){t&1&&(u(0,"div",18),re(1,6),c())}function BQ(t,i){if(t&1&&(u(0,"mat-hint",22),h(1),c()),t&2){let e=_(2);g("id",e._hintLabelId),l(),S(e.hintLabel)}}function VQ(t,i){if(t&1&&(u(0,"div",19),v(1,BQ,2,2,"mat-hint",22),re(2,7),x(3,"div",23),re(4,8),c()),t&2){let e=_();l(),y(e.hintLabel?1:-1)}}var qe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-label"]]})}return t})(),Gj=new R("MatError"),St=(()=>{class t{id=m(pt).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(n,r){n&2&&An("id",r.id)},inputs:{id:"id"},features:[me([{provide:Gj,useExisting:t}])]})}return t})(),oa=(()=>{class t{align="start";id=m(pt).getId("mat-mdc-hint-");static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,r){n&2&&(An("id",r.id),oe("align",null),ee("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),Wj=new R("MatPrefix"),Ck=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[me([{provide:Wj,useExisting:t}])]})}return t})(),$j=new R("MatSuffix"),Ln=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[me([{provide:$j,useExisting:t}])]})}return t})(),qj=new R("FloatingLabelParent"),Bj=(()=>{class t{_elementRef=m(Q);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=m(FC);_ngZone=m(le);_parent=m(qj);_resizeSubscription=new _e;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return jQ(this._elementRef.nativeElement)}
735get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function jQ(t){let i=t;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let n=e.scrollWidth;return e.remove(),n}var Vj="mdc-line-ripple--active",PC="mdc-line-ripple--deactivating",jj=(()=>{class t{_elementRef=m(Q);_cleanupTransitionEnd;constructor(){let e=m(le),n=m(ot);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=n.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(PC),e.add(Vj)}deactivate(){this._elementRef.nativeElement.classList.add(PC)}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,r=n.contains(PC);e.propertyName==="opacity"&&r&&n.remove(Vj,PC)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),Hj=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,n=e.querySelector(".mdc-floating-label");n?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let n=this._notch.nativeElement;!this.open||!e?n.style.width="":n.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,r){if(n&1&&ve(_Q,5),n&2){let o;H(o=U())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:bQ,ngContentSelectors:vQ,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,r){n&1&&(Ie(),gi(0,"div",1),ft(1,"div",2,0),re(3),_t(),gi(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Gp=(()=>{class t{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t})}return t})();var Jl=new R("MatFormField"),HQ=new R("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Uj="fill",UQ="auto",zj="fixed",zQ="translateY(-50%)",Ve=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_platform=m(gt);_idGenerator=m(pt);_ngZone=m(le);_defaults=m(HQ,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Bs("iconPrefixContainer");_textPrefixContainerSignal=Bs("textPrefixContainer");_iconSuffixContainerSignal=Bs("iconSuffixContainer");_textSuffixContainerSignal=Bs("textSuffixContainer");_prefixSuffixContainers=Ct(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=NL(qe);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Pn(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||UQ}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let n=e||this._defaults?.appearance||Uj;this._appearanceSignal.set(n)}_appearanceSignal=Z(Uj);
vendor: 4,415 bytes, line 735
735get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||zj}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||zj}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new O;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=lt();constructor(){let e=this._defaults,n=m(an);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),io(()=>this._currentDirection=n.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Ct(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let n=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(r+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=n.stateChanges.pipe(Re([void 0,void 0]),$(()=>[n.errorState,n.userAriaDescribedBy]),Jb(),ae(([[o,a],[s,d]])=>o!==s||a!==d)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(xe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),ut(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){HL({earlyRead:()=>
735{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ct(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];
735if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let n=this._control.describedByIds,r;if(n){let o=this._describedByIds||e;r=e.concat(n.filter(a=>a&&!o.includes(a)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,n=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=n?.getBoundingClientRect().width??0,d=r?.getBoundingClientRect().width??0,p=o?.getBoundingClientRect().width??0,f=this._currentDirection==="rtl"?"-1":"1",b=`${a+s}px`,A=`calc(${f} * (${b} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,M=`var(--mat-mdc-form-field-label-transform, ${zQ} translateX(${A}))`,J=a+s+d+p;return[M,J]}_writeOutlinedLabelStyles(e){if(e!==null){let[n,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=n),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,r,o){if(n&1&&(S0(o,r._labelChild,qe,5),Gt(o,Gp,5)(o,Wj,5)(o,$j,5)(o,Gj,5)(o,oa,5)),n&2){qc();let a;H(a=U())&&(r._formFieldControl=a.first),H(a=U())&&(r._prefixChildren=a),H(a=U())&&(r._suffixChildren=a),H(a=U())&&(r._errorChildren=a),H(a=U())&&(r._hintChildren=a)}},viewQuery:function(n,r){if(n&1&&($c(r._iconPrefixContainerSignal,Oj,5)(r._textPrefixContainerSignal,Fj,5)(r._iconSuffixContainerSignal,Pj,5)(r._textSuffixContainerSignal,Lj,5),ve(yQ,5)(Oj,5)(Fj,5)(Pj,5)(Lj,5)(Bj,5)(Hj,5)(jj,5)),n&2){qc(4);let o;H(o=U())&&(r._textField=o.first),H(o=U())&&(r._iconPrefixContainer=o.first),H(o=U())&&(r._textPrefixContainer=o.first),H(o=U())&&(r._iconSuffixContainer=o.first),H(o=U())&&(r._textSuffixContainer=o.first),H(o=U())&&(r._floatingLabel=o.first),H(o=U())&&(r._notchedOutline=o.first),H(o=U())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(n,r){n&2&&ee("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[me([{provide:Jl,useExisting:t},{provide:qj,useExisting:t}])],ngContentSelectors:DQ,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormField
735FloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,r){if(n&1&&(Ie(CQ),fe(0,xQ,1,1,"ng-template",null,0,_a),u(2,"div",6,1),T("click",function(a){return r._control.onContainerClick(a)}),v(4,SQ,1,0,"div",7),u(5,"div",8),v(6,AQ,2,2,"div",9),v(7,kQ,3,0,"div",10),v(8,RQ,3,0,"div",11),u(9,"div",12),v(10,NQ,1,1,null,13),re(11),c(),v(12,OQ,3,0,"div",14),v(13,FQ,3,0,"div",15),c(),v(14,PQ,1,0,"div",16),c(),u(15,"div",17),v(16,LQ,2,0,"div",18)(17,VQ,5,1,"div",19),c()),n&2){let o;l(2),ee("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),l(2),y(!r._hasOutline()&&!r._control.disabled?4:-1),l(2),y(r._hasOutline()?6:-1),l(),y(r._hasIconPrefix?7:-1),l(),y(r._hasTextPrefix?8:-1),l(2),y(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),l(2),y(r._hasTextSuffix?12:-1),l(),y(r._hasIconSuffix?13:-1),l(),y(r._hasOutline()?-1:14),l(),ee("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();l(),y((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[Bj,Hj,Su,jj,oa],styles:[`.mdc-text-field { 736 display: inline-flex; 737 align-items: baseline; 738 padding: 0 16px; 739 position: relative; 740 box-sizing: border-box; 741 overflow: hidden; 742 will-change: opacity, transform, color; 743 border-top-left-radius: 4px; 744 border-top-right-radius: 4px; 745 border-bottom-right-radius: 0; 746 border-bottom-left-radius: 0; 747} 748 749.mdc-text-field__input { 750 width: 100%; 751 min-width: 0; 752 border: none; 753 border-radius: 0; 754 background: none; 755 padding: 0; 756 -moz-appearance: none; 757 -webkit-appearance: none; 758 height: 28px; 759} 760.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button { 761 display: none; 762} 763.mdc-text-field__input::-ms-clear { 764 display: none; 765} 766.mdc-text-field__input:focus { 767 outline: none; 768} 769.mdc-text-field__input:invalid { 770 box-shadow: none; 771} 772.mdc-text-field__input::placeholder { 773 opacity: 0; 774} 775.mdc-text-field__input::-moz-placeholder { 776 opacity: 0; 777} 778.mdc-text-field__input::-webkit-input-placeholder { 779 opacity: 0; 780} 781.mdc-text-field__input:-ms-input-placeholder { 782 opacity: 0; 783} 784.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder { 785 opacity: 1; 786} 787.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { 788 opacity: 1; 789} 790.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { 791 opacity: 1; 792} 793.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { 794 opacity: 1; 795} 796.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder { 797 opacity: 0; 798} 799.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder { 800 opacity: 0; 801} 802.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder { 803 opacity: 0; 804} 805.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder { 806 opacity: 0; 807} 808.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input { 809 height: 100%; 810} 811.mdc-text-field--outlined .mdc-text-field__input { 812 display: flex; 813 border: none !important; 814 background-color: transparent; 815} 816.mdc-text-field--disabled .mdc-text-field__input { 817 pointer-events: auto; 818} 819.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input { 820 color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface)); 821 caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary)); 822} 823.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { 824 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 825} 826.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { 827 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 828} 829.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { 830 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 831} 832.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { 833 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 834} 835.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input { 836 color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface)); 837 caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary)); 838} 839.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { 840 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 841} 842.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { 843 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 844} 845.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { 846 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 847} 848.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { 849 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 850} 851.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { 852 caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error)); 853} 854.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { 855 caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error)); 856} 857.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input { 858 color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 859} 860.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input { 861 color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 862} 863@media (forced-colors: active) { 864 .mdc-text-field--disabled .mdc-text-field__input { 865 background-color: Window; 866 } 867} 868 869.mdc-text-field--filled { 870 height: 56px; 871 border-bottom-right-radius: 0; 872 border-bottom-left-radius: 0; 873 border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); 874 border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); 875} 876.mdc-text-field--filled:not(.mdc-text-field--disabled) { 877 background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant)); 878} 879.mdc-text-field--filled.mdc-text-field--disabled { 880 background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent)); 881} 882 883.mdc-text-field--outlined { 884 height: 56px; 885 overflow: visible; 886 padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 887 padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); 888} 889[dir=rtl] .mdc-text-field--outlined { 890 padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); 891 padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 892} 893 894.mdc-floating-label { 895 position: absolute; 896 left: 0; 897 transform-origin: left top; 898 line-height: 1.15rem; 899 text-align: left; 900 text-overflow: ellipsis; 901 white-space: nowrap; 902 cursor: text; 903 overflow: hidden; 904 will-change: transform; 905} 906[dir=rtl] .mdc-floating-label { 907 right: 0; 908 left: auto; 909 transform-origin: right top; 910 text-align: right; 911} 912.mdc-text-field .mdc-floating-label { 913 top: 50%; 914 transform: translateY(-50%); 915 pointer-events: none; 916} 917.mdc-notched-outline .mdc-floating-label { 918 display: inline-block; 919 position: relative; 920 max-width: 100%; 921} 922.mdc-text-field--outlined .mdc-floating-label { 923 left: 4px; 924 right: auto; 925} 926[dir=rtl] .mdc-text-field--outlined .mdc-floating-label { 927 left: auto; 928 right: 4px; 929} 930.mdc-text-field--filled .mdc-floating-label { 931 left: 16px; 932 right: auto; 933} 934[dir=rtl] .mdc-text-field--filled .mdc-floating-label { 935 left: auto; 936 right: 16px; 937} 938.mdc-text-field--disabled .mdc-floating-label { 939 cursor: default; 940} 941@media (forced-colors: active) { 942 .mdc-text-field--disabled .mdc-floating-label { 943 z-index: 1; 944 } 945} 946.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label { 947 display: none; 948} 949.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label { 950 color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant)); 951} 952.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { 953 color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary)); 954} 955.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
955over .mdc-floating-label { 956 color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant)); 957} 958.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label { 959 color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 960} 961.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { 962 color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error)); 963} 964.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { 965 color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error)); 966} 967.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { 968 color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container)); 969} 970.mdc-text-field--filled .mdc-floating-label { 971 font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font)); 972 font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size)); 973 font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight)); 974 letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking)); 975} 976.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label { 977 color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant)); 978} 979.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { 980 color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary)); 981} 982.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { 983 color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface)); 984} 985.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label { 986 color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 987} 988.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { 989 color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error)); 990} 991.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { 992 color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error)); 993} 994.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { 995 color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container)); 996} 997.mdc-text-field--outlined .mdc-floating-label { 998 font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font)); 999 font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size)); 1000 font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight)); 1001 letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking)); 1002} 1003 1004.mdc-floating-label--float-above { 1005 cursor: auto; 1006 transform: translateY(-106%) scale(0.75); 1007} 1008.mdc-text-field--filled .mdc-floating-label--float-above { 1009 transform: translateY(-106%) scale(0.75); 1010} 1011.mdc-text-field--outlined .mdc-floating-label--float-above { 1012 transform: translateY(-37.25px) scale(1); 1013 font-size: 0.75rem; 1014} 1015.mdc-notched-outline .mdc-floating-label--float-above { 1016 text-overflow: clip; 1017} 1018.mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1019 max-width: 133.3333333333%; 1020} 1021.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1022 transform: translateY(-34.75px) scale(0.75); 1023} 1024.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1025 font-size: 1rem; 1026} 1027 1028.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { 1029 margin-left: 1px; 1030 margin-right: 0; 1031 content: "*"; 1032} 1033[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { 1034 margin-left: 0; 1035 margin-right: 1px; 1036} 1037 1038.mdc-notched-outline { 1039 display: flex; 1040 position: absolute; 1041 top: 0; 1042 right: 0; 1043 left: 0; 1044 box-sizing: border-box; 1045 width: 100%; 1046 max-width: 100%; 1047 height: 100%; 1048 text-align: left; 1049 pointer-events: none; 1050} 1051[dir=rtl] .mdc-notched-outline { 1052 text-align: right; 1053} 1054.mdc-text-field--outlined .mdc-notched-outline { 1055 z-index: 1; 1056} 1057 1058.mat-mdc-notch-piece { 1059 box-sizing: border-box; 1060 height: 100%; 1061 pointer-events: none; 1062 border: none; 1063 border-top: 1px solid; 1064 border-bottom: 1px solid; 1065} 1066.mdc-text-field--focused .mat-mdc-notch-piece { 1067 border-width: 2px; 1068} 1069.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece { 1070 border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline)); 1071 border-width: var(--mat-form-field-outlined-outline-width, 1px); 1072} 1073.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1073over .mat-mdc-notch-piece { 1074 border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface)); 1075} 1076.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece { 1077 border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary)); 1078} 1079.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece { 1080 border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 1081} 1082.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece { 1083 border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error)); 1084} 1085.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece { 1086 border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container)); 1087} 1088.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece { 1089 border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error)); 1090} 1091.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece { 1092 border-width: var(--mat-form-field-outlined-focus-outline-width, 2px); 1093} 1094 1095.mdc-notched-outline__leading { 1096 border-left: 1px solid; 1097 border-right: none; 1098 border-top-right-radius: 0; 1099 border-bottom-right-radius: 0; 1100 border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1101 border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1102} 1103.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading { 1104 width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1105} 1106[dir=rtl] .mdc-notched-outline__leading { 1107 border-left: none; 1108 border-right: 1px solid; 1109 border-bottom-left-radius: 0; 1110 border-top-left-radius: 0; 1111 border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1112 border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1113} 1114 1115.mdc-notched-outline__trailing { 1116 flex-grow: 1; 1117 border-left: none; 1118 border-right: 1px solid; 1119 border-top-left-radius: 0; 1120 border-bottom-left-radius: 0; 1121 border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1122 border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1123} 1124[dir=rtl] .mdc-notched-outline__trailing { 1125 border-left: 1px solid; 1126 border-right: none; 1127 border-top-right-radius: 0; 1128 border-bottom-right-radius: 0; 1129 border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1130 border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1131} 1132 1133.mdc-notched-outline__notch { 1134 flex: 0 0 auto; 1135 width: auto; 1136} 1137.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch { 1138 max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); 1139} 1140.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1141 max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); 1142} 1143.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1144 padding-top: 1px; 1145} 1146.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1147 padding-top: 2px; 1148} 1149.mdc-notched-outline--notched .mdc-notched-outline__notch { 1150 padding-left: 0; 1151 padding-right: 8px; 1152 border-top: none; 1153} 1154[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch { 1155 padding-left: 8px; 1156 padding-right: 0; 1157} 1158.mdc-notched-outline--no-label .mdc-notched-outline__notch { 1159 display: none; 1160} 1161 1162.mdc-line-ripple::before, .mdc-line-ripple::after { 1163 position: absolute; 1164 bottom: 0; 1165 left: 0; 1166 width: 100%; 1167 border-bottom-style: solid; 1168 content: ""; 1169} 1170.mdc-line-ripple::before { 1171 z-index: 1; 1172 border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px); 1173} 1174.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before { 1175 border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant)); 1176} 1177.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1177over .mdc-line-ripple::before { 1178 border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface)); 1179} 1180.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before { 1181 border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1182} 1183.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before { 1184 border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error)); 1185} 1186.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before { 1187 border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container)); 1188} 1189.mdc-line-ripple::after { 1190 transform: scaleX(0); 1191 opacity: 0; 1192 z-index: 2; 1193} 1194.mdc-text-field--filled .mdc-line-ripple::after { 1195 border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px); 1196} 1197.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after { 1198 border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary)); 1199} 1200.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after { 1201 border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error)); 1202} 1203 1204.mdc-line-ripple--active::after { 1205 transform: scaleX(1); 1206 opacity: 1; 1207} 1208 1209.mdc-line-ripple--deactivating::after { 1210 opacity: 0; 1211} 1212 1213.mdc-text-field--disabled { 1214 pointer-events: none; 1215} 1216 1217.mat-mdc-form-field-textarea-control { 1218 vertical-align: middle; 1219 resize: vertical; 1220 box-sizing: border-box; 1221 height: auto; 1222 margin: 0; 1223 padding: 0; 1224 border: none; 1225 overflow: auto; 1226} 1227 1228.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control { 1229 -moz-osx-font-smoothing: grayscale; 1230 -webkit-font-smoothing: antialiased; 1231 font: inherit; 1232 letter-spacing: inherit; 1233 text-decoration: inherit; 1234 text-transform: inherit; 1235 border: none; 1236} 1237 1238.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label { 1239 -moz-osx-font-smoothing: grayscale; 1240 -webkit-font-smoothing: antialiased; 1241 line-height: normal; 1242 pointer-events: all; 1243 will-change: auto; 1244} 1245 1246.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label { 1247 cursor: inherit; 1248} 1249 1250.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input, 1251.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control { 1252 height: auto; 1253} 1254 1255.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] { 1256 height: 23px; 1257} 1258 1259.mat-mdc-text-field-wrapper { 1260 height: auto; 1261 flex: auto; 1262 will-change: auto; 1263} 1264 1265.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { 1266 padding-left: 0; 1267 --mat-mdc-form-field-label-offset-x: -16px; 1268} 1269 1270.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { 1271 padding-right: 0; 1272} 1273 1274[dir=rtl] .mat-mdc-text-field-wrapper { 1275 padding-left: 16px; 1276 padding-right: 16px; 1277} 1278[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { 1279 padding-left: 0; 1280} 1281[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { 1282 padding-right: 0; 1283} 1284 1285.mat-form-field-disabled .mdc-text-field__input::placeholder { 1286 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1287} 1288.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder { 1289 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1290} 1291.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder { 1292 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1293} 1294.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder { 1295 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1296} 1297 1298.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder { 1299 transition-delay: 40ms; 1300 transition-duration: 110ms; 1301 opacity: 1; 1302} 1303 1304.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label { 1305 left: auto; 1306 right: auto; 1307} 1308 1309.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input { 1310 display: inline-block; 1311} 1312 1313.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch { 1314 padding-top: 0; 1315} 1316 1317.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { 1318 border-left: 1px solid transparent; 1319} 1320 1321[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { 1322 border-left: none; 1323 border-right: 1px solid transparent; 1324} 1325 1326.mat-mdc-form-field-infix { 1327 min-height: var(--mat-form-field-container-height, 56px); 1328 padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px); 1329 padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px); 1330} 1331.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix { 1332 padding-top: var(--mat-form-field-container-vertical-padding, 16px); 1333 padding-bottom: var(--mat-form-field-container-vertical-padding, 16px); 1334} 1335 1336.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label { 1337 top: calc(var(--mat-form-field-container-height, 56px) / 2); 1338} 1339 1340.mdc-text-field--filled .mat-mdc-floating-label { 1341 display: var(--mat-form-field-filled-label-display, block); 1342} 1343 1344.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1345 --mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) 1346 scale(var(--mat-mdc-form-field-floating-label-scale, 0.75)); 1347 transform: var(--mat-mdc-form-field-label-transform); 1348} 1349 1350@keyframes _mat-form-field-subscript-animation { 1351 from { 1352 opacity: 0; 1353 transform: translateY(-5px); 1354 } 1355 to { 1356 opacity: 1; 1357 transform: translateY(0); 1358 } 1359} 1360.mat-mdc-form-field-subscript-wrapper { 1361 box-sizing: border-box; 1362 width: 100%; 1363 position: relative; 1364} 1365 1366.mat-mdc-form-field-hint-wrapper, 1367.mat-mdc-form-field-error-wrapper { 1368 position: absolute; 1369 top: 0; 1370 left: 0; 1371 right: 0; 1372 padding: 0 16px; 1373 opacity: 1; 1374 transform: translateY(0); 1375 animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2); 1376} 1377 1378.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper, 1379.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper { 1380 position: static; 1381} 1382 1383.mat-mdc-form-field-bottom-align::before { 1384 content: ""; 1385 display: inline-block; 1386 height: 16px; 1387} 1388 1389.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before { 1390 content: unset; 1391} 1392 1393.mat-mdc-form-field-hint-end { 1394 order: 1; 1395} 1396 1397.mat-mdc-form-field-hint-wrapper { 1398 display: flex; 1399} 1400 1401.mat-mdc-form-field-hint-spacer { 1402 flex: 1 0 1em; 1403} 1404 1405.mat-mdc-form-field-error { 1406 display: block; 1407 color: var(--mat-form-field-error-text-color, var(--mat-sys-error)); 1408} 1409 1410.mat-mdc-form-field-subscript-wrapper, 1411.mat-mdc-form-field-bottom-align::before { 1412 -moz-osx-font-smoothing: grayscale; 1413 -webkit-font-smoothing: antialiased; 1414 font-family: var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font)); 1415 line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height)); 1416 font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size)); 1417 letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking)); 1418 font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight)); 1419} 1420 1421.mat-mdc-form-field-focus-overlay { 1422 top: 0; 1423 left: 0; 1424 right: 0; 1425 bottom: 0; 1426 position: absolute; 1427 opacity: 0; 1428 pointer-events: none; 1429 background-color: var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface)); 1430} 1431.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay { 1432 opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 1433} 1434.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay { 1435 opacity: var(--mat-form-field-focus-state-layer-opacity, 0); 1436} 1437 1438select.mat-mdc-form-field-input-control { 1439 -moz-appearance: none; 1440 -webkit-appearance: none; 1441 background-color: transparent; 1442 display: inline-flex; 1443 box-sizing: border-box; 1444} 1445select.mat-mdc-form-field-input-control:not(:disabled) { 1446 cursor: pointer; 1447} 1448select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option { 1449 color: var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10)); 1450} 1451select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled { 1452 color: var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent)); 1453} 1454 1455.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
1456 content: ""; 1457 width: 0; 1458 height: 0; 1459 border-left: 5px solid transparent; 1460 border-right: 5px solid transparent; 1461 border-top: 5px solid; 1462 position: absolute; 1463 right: 0; 1464 top: 50%; 1465 margin-top: -2.5px; 1466 pointer-events: none; 1467 color: var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant)); 1468} 1469[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { 1470 right: auto; 1471 left: 0; 1472} 1473.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after { 1474 color: var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary)); 1475} 1476.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after { 1477 color: var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1478} 1479.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { 1480 padding-right: 15px; 1481} 1482[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { 1483 padding-right: 0; 1484 padding-left: 15px; 1485} 1486 1487@media (forced-colors: active) { 1488 .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper { 1489 outline: solid 1px; 1490 } 1491} 1492@media (forced-colors: active) { 1493 .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper { 1494 outline-color: GrayText; 1495 } 1496} 1497 1498@media (forced-colors: active) { 1499 .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper { 1500 outline: dashed 3px; 1501 } 1502} 1503 1504@media (forced-colors: active) { 1505 .mat-mdc-form-field.mat-focused .mdc-notched-outline { 1506 border: dashed 3px; 1507 } 1508} 1509 1510.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] { 1511 line-height: 1; 1512} 1513.mat-mdc-form-field-input-control::-webkit-datetime-edit { 1514 line-height: 1; 1515 padding: 0; 1516 margin-bottom: -2px; 1517} 1518 1519.mat-mdc-form-field { 1520 --mat-mdc-form-field-floating-label-scale: 0.75; 1521 display: inline-flex; 1522 flex-direction: column; 1523 min-width: 0; 1524 text-align: left; 1525 -moz-osx-font-smoothing: grayscale; 1526 -webkit-font-smoothing: antialiased; 1527 font-family: var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font)); 1528 line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height)); 1529 font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size)); 1530 letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking)); 1531 font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight)); 1532} 1533.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above { 1534 font-size: calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale)); 1535} 1536.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1537 font-size: var(--mat-form-field-outlined-label-text-populated-size); 1538} 1539[dir=rtl] .mat-mdc-form-field { 1540 text-align: right; 1541} 1542 1543.mat-mdc-form-field-flex { 1544 display: inline-flex; 1545 align-items: baseline; 1546 box-sizing: border-box; 1547 width: 100%; 1548} 1549 1550.mat-mdc-text-field-wrapper { 1551 width: 100%; 1552 z-index: 0; 1553} 1554 1555.mat-mdc-form-field-icon-prefix, 1556.mat-mdc-form-field-icon-suffix { 1557 align-self: center; 1558 line-height: 0; 1559 pointer-events: auto; 1560 position: relative; 1561 z-index: 1; 1562} 1563.mat-mdc-form-field-icon-prefix > .mat-icon, 1564.mat-mdc-form-field-icon-suffix > .mat-icon { 1565 padding: 0 12px; 1566 box-sizing: content-box; 1567} 1568 1569.mat-mdc-form-field-icon-prefix { 1570 color: var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant)); 1571} 1572.mat-form-field-disabled .mat-mdc-form-field-icon-prefix { 1573 color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1574} 1575 1576.mat-mdc-form-field-icon-suffix { 1577 color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant)); 1578} 1579.mat-form-field-disabled .mat-mdc-form-field-icon-suffix { 1580 color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1581} 1582.mat-form-field-invalid .mat-mdc-form-field-icon-suffix { 1583 color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error)); 1584} 1585.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix { 1586 color: var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container)); 1587} 1588.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix { 1589 color: var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error)); 1590} 1591 1592.mat-mdc-form-field-icon-prefix, 1593[dir=rtl] .mat-mdc-form-field-icon-suffix { 1594 padding: 0 4px 0 0; 1595} 1596 1597.mat-mdc-form-field-icon-suffix, 1598[dir=rtl] .mat-mdc-form-field-icon-prefix { 1599 padding: 0 0 0 4px; 1600} 1601 1602.mat-mdc-form-field-subscript-wrapper .mat-icon, 1603.mat-mdc-form-field label .mat-icon { 1604 width: 1em; 1605 height: 1em; 1606 font-size: inherit; 1607} 1608 1609.mat-mdc-form-field-infix { 1610 flex: auto; 1611 min-width: 0; 1612 width: 180px; 1613 position: relative; 1614 box-sizing: border-box; 1615} 1616.mat-mdc-form-field-infix:has(textarea[cols]) { 1617 width: auto; 1618} 1619 1620.mat-mdc-form-field .mdc-notched-outline__notch { 1621 margin-left: -1px; 1622 -webkit-clip-path: inset(-9em -999em -9em 1px); 1623 clip-path: inset(-9em -999em -9em 1px); 1624} 1625[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch { 1626 margin-left: 0; 1627 margin-right: -1px; 1628 -webkit-clip-path: inset(-9em 1px -9em -999em); 1629 clip-path: inset(-9em 1px -9em -999em); 1630} 1631 1632.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label { 1633 transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1); 1634} 1635.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input { 1636 transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1); 1637} 1638.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder { 1639 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 1640} 1641.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder { 1642 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 1643} 1644.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder { 1645 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 1646} 1647.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder { 1648 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 1649} 1650.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder { 1651 transition-delay: 40ms; 1652 transition-duration: 110ms; 1653} 1654.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { 1655 transition-delay: 40ms; 1656 transition-duration: 110ms; 1657} 1658.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { 1659 transition-delay: 40ms; 1660 transition-duration: 110ms; 1661} 1662.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { 1663 transition-delay: 40ms; 1664 transition-duration: 110ms; 1665} 1666.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before { 1667 transition-duration: 75ms; 1668} 1669.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after { 1670 transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1); 1671} 1672.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper, 1673.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper { 1674 animation-duration: 300ms; 1675} 1676 1677.mdc-notched-outline .mdc-floating-label { 1678 max-width: calc(100% + 1px); 1679} 1680 1681.mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1682 max-width: calc(133.3333333333% + 1px); 1683} 1684`],encapsulation:2,changeDetection:0})}return t})();var LC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var Wp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,LC,Qt,De]})}return t})();var GQ=["panel"],WQ=["*"];
vendor: 20,206 bytes, lines 1684-1738
1684function $Q(t,i){if(t&1&&(ft(0,"div",1,0),re(2),_t()),t&2){let e=i.id,n=_();Be(n._classList),ee("mat-mdc-autocomplete-visible",n.showPanel)("mat-mdc-autocomplete-hidden",!n.showPanel)("mat-autocomplete-panel-animations-enabled",!n._animationsDisabled)("mat-primary",n._color==="primary")("mat-accent",n._color==="accent")("mat-warn",n._color==="warn"),An("id",n.id),oe("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}var Dk=class{source;option;constructor(i,e){this.source=i,this.option=e}},Yj=new R("mat-autocomplete-default-options",{providedIn:"root",factory:()=>({autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1})}),Da=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_defaults=m(Yj);_animationsDisabled=lt();_activeOptionChanges=_e.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple=!1;optionSelected=new V;opened=new V;closed=new V;optionActivated=new V;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=m(pt).getId("mat-autocomplete-");inertGroups;constructor(){let e=m(gt);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Gu(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let n=new Dk(this,e);this.optionSelected.emit(n)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let n=e?e+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Qt,5)(o,h_,5),n&2){let a;H(a=U())&&(r.options=a),H(a=U())&&(r.optionGroups=a)}},viewQuery:function(n,r){if(n&1&&ve(Zt,7)(GQ,5),n&2){let o;H(o=U())&&(r.template=o.first),H(o=U())&&(r.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",q],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",q],requireSelection:[2,"requireSelection","requireSelection",q],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",q],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[me([{provide:p_,useExisting:t}])],ngContentSelectors:WQ,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(n,r){n&1&&(Ie(),Wc(0,$Q,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel { 1685 width: 100%; 1686 max-height: 256px; 1687 visibility: hidden; 1688 transform-origin: center top; 1689 overflow: auto; 1690 padding: 8px 0; 1691 box-sizing: border-box; 1692 position: relative; 1693 border-radius: var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small)); 1694 box-shadow: var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 1695 background-color: var(--mat-autocomplete-background-color, var(--mat-sys-surface-container)); 1696} 1697@media (forced-colors: active) { 1698 div.mat-mdc-autocomplete-panel { 1699 outline: solid 1px; 1700 } 1701} 1702.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel { 1703 border-top-left-radius: 0; 1704 border-top-right-radius: 0; 1705} 1706.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel { 1707 border-bottom-left-radius: 0; 1708 border-bottom-right-radius: 0; 1709 transform-origin: center bottom; 1710} 1711div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible { 1712 visibility: visible; 1713} 1714 1715div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden, 1716.cdk-overlay-pane:has(> .mat-mdc-autocomplete-hidden) { 1717 visibility: hidden; 1718 pointer-events: none; 1719} 1720 1721@keyframes _mat-autocomplete-enter { 1722 from { 1723 opacity: 0; 1724 transform: scaleY(0.8); 1725 } 1726 to { 1727 opacity: 1; 1728 transform: none; 1729 } 1730} 1731.mat-autocomplete-panel-animations-enabled { 1732 animation: _mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1); 1733} 1734 1735mat-autocomplete { 1736 display: none; 1737} 1738`],encapsulation:2,changeDetection:0})}return t})();var qQ={provide:er,useExisting:bn(()=>hr),multi:!0};var YQ=new R("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}}),hr=(()=>{class t{_environmentInjector=m(_n);_element=m(Q);_injector=m(ie);_viewContainerRef=m(Pt);_zone=m(le);_changeDetectorRef=m(Ee);_dir=m(an,{optional:!0});_formField=m(Jl,{optional:!0,host:!0});_viewportRuler=m(ji);_scrollStrategy=m(YQ);_renderer=m(ot);_animationsDisabled=lt();_defaults=m(Yj,{optional:!0});_overlayRef=null;_portal;_componentDestroyed=!1;_initialized=new O;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue=null;_valueOnAttach=null;_valueOnLastKeydown=null;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=_e.EMPTY;_breakpointObserver=m(Zl);_handsetLandscapeSubscription=_e.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption=null;_closeKeyEventStream=new O;_overlayPanelClass=Xl(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled=!1;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&sd(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return ut(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ae(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ae(()=>this._overlayAttached)):B()).pipe($(e=>e instanceof m_?e:null))}optionSelections=$n(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Re(e),W(()=>ut(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(W(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Ne(e=>{let n=o=>{let a=ui(o),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,d=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(a))&&(!d||!d.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(o)},r=[this._renderer.listen("document","click",n),this._renderer.listen("document","auxclick",n),this._renderer.listen("document","touchend",n)];return()=>{r.forEach(o=>o())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let n=e,r=n.keyCode,o=Ht(n);if(r===27&&!o&&n.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&r===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),n.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=r===38||r===40;r===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(n):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let n=e.target,r=n.value;if(n.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(a=>a.selected);if(o){let a=this._getDisplayValue(o.value);r!==a&&o.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return Io()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new Ne(r=>{Dt(()=>{r.next()},{injector:this._environmentInjector})}),n=this.autocomplete.options?.changes.pipe(L(()=>this._positionStrategy.reapplyLastPosition()),sx(0))??B();return ut(e,n).pipe(W(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),We(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let n=this.autocomplete;return n&&n.displayWith?n.displayWith(e):e}_assignOptionValue(e){let n=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let n=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),n._emitSelectEvent(r),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,n){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(n)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let n=this.autocomplete.id;Pp(this._trackedModal,"aria-owns",n)}}_attachOverlay(e){if(!this.autocomplete)return;let n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new Sr(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=go(this._injector,this._getOverlayConfig()),this._overlayRef=n,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&n&&n.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(ls.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),n&&!n.hasAttached()&&(n.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!Ht(e)||e.keyCode===38&&Ht(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=void 0}_getOverlayConfig(){return new fo({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let e=cs(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPopoverLocation("inline");return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],a;this.position==="above"?a=o:this.position==="below"?a=n:a=[...n,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let n=-1;for(let r=0;r<e.options.length;r++)if(!e.options.get(r).disabled){n=r;break}e._keyManager.setActiveItem(n)}else e._keyManager.setActiveItem(-1)}_canOpen(){let e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this.autocompleteDisabled}_scrollToOption(e){let n=this.autocomplete,r=NC(e,n.options,n.optionGroups);if(e===0&&r===1)n._setScrollTop(0);else if(n.panel){let o=n.options.toArray()[e];if(o){let a=o._getHostElement(),s=OC(a.offsetTop,a.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(s)}}}_trackedModal=null;_applyModalPanelOwnership(){let e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=this.autocomplete.id;this._trackedModal&&sd(this._trackedModal,"aria-owns",n),Pp(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;sd(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,r){n&1&&T("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(a){return r._handleInput(a)})("keydown",function(a){return r._handleKeydown(a)})("click",function(){return r._handleClick()}),n&2&&oe("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",q]},exportAs:["matAutocompleteTrigger"],features:[me([qQ]),Ke]})}return t})(),f_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Ui,Wp,ur,Wp,De]})}return t})();var Ek=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Ql,De]})}return t})();function KQ(t,i){}var md=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;
vendor: 6,217 bytes, lines 1738-1745
1738autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var __=(()=>{class t extends dd{_elementRef=m(Q);_focusTrapFactory=m(Op);_config;_interactivityChecker=m(zu);_ngZone=m(le);_focusMonitor=m(oi);_renderer=m(ot);_changeDetectorRef=m(Ee);_injector=m(ie);_platform=m(gt);_document=m(Ce);_portalOutlet;_focusTrapped=new O;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=m(md,{optional:!0})||new md,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let n=this._ariaLabelledByQueue.indexOf(e);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}attachDomPortal=e=>{this._portalOutlet.hasAttached();let n=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),n};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_trapFocus(e){this._isDestroyed||Dt(()=>{let n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,n=null;if(typeof e=="string"?n=this._document.querySelector(e):typeof e=="boolean"?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&typeof n.focus=="function"){let r=Io(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,n=Io();return e===n||e.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Io()))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,r){if(n&1&&ve(ho,7),n&2){let o;H(o=U())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,r){n&2&&oe("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[he],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){n&1&&fe(0,KQ,0,0,"ng-template",0)},dependencies:[ho],styles:[`.cdk-dialog-container { 1739 display: block; 1740 width: 100%; 1741 height: 100%; 1742 min-height: inherit; 1743 max-height: inherit; 1744} 1745`],encapsulation:2})}return t})(),g_=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new O;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!Ht(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this._canClose(i)){let n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}_canClose(i){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(i,e,this.componentInstance))}},XQ=new R("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>Ys(t)}}),ZQ=new R("DialogData"),QQ=new R("DefaultDialogConfig");function JQ(t){let i=Z(t),e=new V;return{valueSignal:i,get value(){return i()},change:e,ngOnDestroy(){e.complete()}}}var b_=(()=>{class t{_injector=m(ie);_defaultOptions=m(QQ,{optional:!0});_parentDialog=m(t,{optional:!0,skipSelf:!0});_overlayContainer=m(xC);_idGenerator=m(pt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new O;_afterOpenedAtThisLevel=new O;_ariaHiddenElements=new Map;
1745_scrollStrategy=m(XQ);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=$n(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Re(void 0)));constructor(){}open(e,n){let r=this._defaultOptions||new md;n=P(P({},r),n),n.id=n.id||this._idGenerator.getId("cdk-dialog-"),n.id&&this.getDialogById(n.id);let o=this._getOverlayConfig(n),a=go(this._injector,o),s=new g_(a,n),d=this._attachContainer(a,s,n);if(s.containerInstance=d,!this.openDialogs.length){let p=this._overlayContainer.getContainerElement();d._focusTrapped?d._focusTrapped.pipe(We(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(p)}):this._hideNonDialogContentFromAssistiveTechnology(p)}return this._attachDialogContent(e,s,d,n),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){wk(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){wk(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),wk(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let n=new fo({positionStrategy:e.positionStrategy||Ca().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:md,useValue:r},{provide:g_,useValue:n},{provide:Hp,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=__;let d=new ko(s,r.viewContainerRef,ie.create({parent:o||this._injector,providers:a}));return e.attach(d).instance}_attachDialogContent(e,n,r,o){if(e instanceof Zt){let a=this._createInjector(o,n,r,void 0),s={$implicit:o.data,dialogRef:n};o.templateContext&&(s=P(P({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Sr(e,null,s,a))}else{let a=this._createInjector(o,n,r,this._injector),s=r.attachComponentPortal(new ko(e,o.viewContainerRef,a));n.componentRef=s,n.componentInstance=s.instance}}_createInjector(e,n,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:ZQ,useValue:e.data},{provide:g_,useValue:n}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(n,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(an,null,{optional:!0}))&&s.push({provide:an,useValue:JQ(e.direction)}),ie.create({parent:a||o,providers:s})}_removeOpenDialog(e,n){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let n=e.parentElement.children;for(let r=n.length-1;r>-1;r--){let o=n[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function wk(t,i){let e=t.length;for(;e--;)i(t[e])}var BC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[b_],imports:[Ui,pr,Ql,pr]})}return t})();function eJ(t,i){}var Kj="_mat-bottom-sheet-enter",Xj="_mat-bottom-sheet-exit",tJ=(()=>{class t extends __{_breakpointSubscription;_animationsDisabled=lt();_animationState="void";_animationStateChanged=new V;_destroyed=!1;constructor(){super();let e=m(Zl);this._breakpointSubscription=e.observe([ls.Medium,ls.Large,ls.XLarge]).subscribe(()=>{let n=this._elementRef.nativeElement.classList;n.toggle("mat-bottom-sheet-container-medium",e.isMatched(ls.Medium)),n.toggle("mat-bottom-sheet-container-large",e.isMatched(ls.Large)),n.toggle("mat-bottom-sheet-container-xlarge",e.isMatched(ls.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._animationsDisabled&&this._simulateAnimation(Kj))}exit(){this._destroyed||(this._elementRef.nativeElement.setAttribute("mat-exit",""),this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._animationsDisabled&&this._simulateAnimation(Xj))}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_simulateAnimation(e){this._ngZone.run(()=>{this._handleAnimationEvent(!0,e),setTimeout(()=>this._handleAnimationEvent(!1,e))})}_trapFocus(){super._trapFocus({preventScroll:!0})}_handleAnimationEvent(e,n){let r=n===Kj;(r||n===Xj)&&this._animationStateChanged.emit({toState:r?"visible":"hidden",phase:e?"start":"done"})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:9,hostBindings:function(n,r){n&1&&T("animationstart",function(a){return r._handleAnimationEvent(!0,a.animationName)})("animationend",function(a){return r._handleAnimationEvent(!1,a.animationName)})("animationcancel",function(a){return r._handleAnimationEvent(!1,a.animationName)}
vendor: 2,950 bytes, lines 1745-1814
1745),n&2&&(oe("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-label",r._config.ariaLabel),ee("mat-bottom-sheet-container-animations-enabled",!r._animationsDisabled)("mat-bottom-sheet-container-enter",r._animationState==="visible")("mat-bottom-sheet-container-exit",r._animationState==="hidden"))},features:[he],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){n&1&&fe(0,eJ,0,0,"ng-template",0)},dependencies:[ho],styles:[`@keyframes _mat-bottom-sheet-enter { 1746 from { 1747 transform: translateY(100%); 1748 } 1749 to { 1750 transform: none; 1751 } 1752} 1753@keyframes _mat-bottom-sheet-exit { 1754 from { 1755 transform: none; 1756 } 1757 to { 1758 transform: translateY(100%); 1759 } 1760} 1761.mat-bottom-sheet-container { 1762 box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12); 1763 padding: 8px 16px; 1764 min-width: 100vw; 1765 box-sizing: border-box; 1766 display: block; 1767 outline: 0; 1768 max-height: 80vh; 1769 overflow: auto; 1770 position: relative; 1771 background: var(--mat-bottom-sheet-container-background-color, var(--mat-sys-surface-container-low)); 1772 color: var(--mat-bottom-sheet-container-text-color, var(--mat-sys-on-surface)); 1773 font-family: var(--mat-bottom-sheet-container-text-font, var(--mat-sys-body-large-font)); 1774 font-size: var(--mat-bottom-sheet-container-text-size, var(--mat-sys-body-large-size)); 1775 line-height: var(--mat-bottom-sheet-container-text-line-height, var(--mat-sys-body-large-line-height)); 1776 font-weight: var(--mat-bottom-sheet-container-text-weight, var(--mat-sys-body-large-weight)); 1777 letter-spacing: var(--mat-bottom-sheet-container-text-tracking, var(--mat-sys-body-large-tracking)); 1778} 1779@media (forced-colors: active) { 1780 .mat-bottom-sheet-container { 1781 outline: 1px solid; 1782 } 1783} 1784 1785.mat-bottom-sheet-container-animations-enabled { 1786 transform: translateY(100%); 1787} 1788.mat-bottom-sheet-container-animations-enabled.mat-bottom-sheet-container-enter { 1789 animation: _mat-bottom-sheet-enter 195ms cubic-bezier(0, 0, 0.2, 1) forwards; 1790} 1791.mat-bottom-sheet-container-animations-enabled.mat-bottom-sheet-container-exit { 1792 animation: _mat-bottom-sheet-exit 375ms cubic-bezier(0.4, 0, 1, 1) backwards; 1793} 1794 1795.mat-bottom-sheet-container-xlarge, .mat-bottom-sheet-container-large, .mat-bottom-sheet-container-medium { 1796 border-top-left-radius: var(--mat-bottom-sheet-container-shape, 28px); 1797 border-top-right-radius: var(--mat-bottom-sheet-container-shape, 28px); 1798} 1799 1800.mat-bottom-sheet-container-medium { 1801 min-width: 384px; 1802 max-width: calc(100vw - 128px); 1803} 1804 1805.mat-bottom-sheet-container-large { 1806 min-width: 512px; 1807 max-width: calc(100vw - 256px); 1808} 1809 1810.mat-bottom-sheet-container-xlarge { 1811 min-width: 576px; 1812 max-width: calc(100vw - 384px); 1813} 1814`],encapsulation:2})}return t})(),nJ=new R("MatBottomSheetData"),xk=class{viewContainerRef;injector;panelClass;direction;data=null;hasBackdrop=!0;backdropClass;disableClose=!1;ariaLabel=null;ariaModal=!1;closeOnNavigation=!0;
1814autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;height="";minHeight;maxHeight},VC=class{_ref;get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}containerInstance;disableClose;_afterOpened=new O;_result;_closeFallbackTimeout;constructor(i,e,n){this._ref=i,this.containerInstance=n,this.disableClose=e.disableClose,n._animationStateChanged.pipe(ae(r=>r.phase==="done"&&r.toState==="visible"),We(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(ae(r=>r.phase==="done"&&r.toState==="hidden"),We(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),i.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),ut(this.backdropClick(),this.keydownEvents().pipe(ae(r=>r.keyCode===27))).subscribe(r=>{!this.disableClose&&(r.type!=="keydown"||!Ht(r))&&(r.preventDefault(),this.dismiss())})}dismiss(i){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(ae(e=>e.phase==="start"),We(1)).subscribe(()=>{this._closeFallbackTimeout=setTimeout(()=>this._ref.close(this._result),500),this._ref.overlayRef.detachBackdrop()}),this._result=i,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},iJ=new R("mat-bottom-sheet-default-options"),rJ=(()=>{class t{_injector=m(ie);_parentBottomSheet=m(t,{optional:!0,skipSelf:!0});_animationsDisabled=lt();_defaultOptions=m(iJ,{optional:!0});_bottomSheetRefAtThisLevel=null;_dialog=m(b_);get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(){}open(e,n){let r=P(P({},this._defaultOptions||new xk),n),o;return this._dialog.open(e,Ae(P({},r),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:tJ,scrollStrategy:r.scrollStrategy||Ys(this._injector),positionStrategy:Ca(this._injector).centerHorizontally().bottom("0"),disableAnimations:this._animationsDisabled,templateContext:()=>({bottomSheetRef:o}),providers:(a,s,d)=>(o=new VC(a,r,d),[{provide:VC,useValue:o},{provide:nJ,useValue:r.data}])})),o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Sk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[rJ],imports:[BC,pr,De]})}return t})();var oJ={capture:!0},aJ=["focus","mousedown","mouseenter","touchstart"],Tk="mat-ripple-loader-uninitialized",Ik="mat-ripple-loader-class-name",Zj="mat-ripple-loader-centered",jC="mat-ripple-loader-disabled",Qj=(()=>{class t{_document=m(Ce);_animationsDisabled=lt();_globalRippleOptions=m(cd,{optional:!0});_platform=m(gt);_ngZone=m(le);_injector=m(ie);_eventCleanups;_hosts=new Map;constructor(){let e=m(fi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>aJ.map(n=>e.listen(this._document,n,this._onInteraction,oJ)))}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);this._eventCleanups.forEach(n=>n())}configureRipple(e,n){e.setAttribute(Tk,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(Ik))&&e.setAttribute(Ik,n.className||""),n.centered&&e.setAttribute(Zj,""),n.disabled&&e.setAttribute(jC,"")}setDisabled(e,n){let r=this._hosts.get(e);r?(r.target.rippleDisabled=n,!n&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):n?e.setAttribute(jC,""):e.removeAttribute(jC)}_onInteraction=e=>{let n=ui(e);if(n instanceof HTMLElement){let r=n.closest(`[${Tk}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let n=this._document.createElement("span");n.classList.add("mat-ripple",e.getAttribute(Ik)),e.append(n);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Vp.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Vp.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(jC),rippleConfig:{centered:e.hasAttribute(Zj),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},d=new ld(s,this._ngZone,n,this._platform,this._injector),p=!s.rippleDisabled;p&&d.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:d,hasSetUpEvents:p}),e.removeAttribute(Tk)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var sJ=["mat-icon-button",""],lJ=["*"],cJ=new R("MAT_BUTTON_CONFIG");function Jj(t){return t==null?void 0:rn(t)}var Ak=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_animationsDisabled=lt();_config=m(cJ,{optional:!0});_focusMonitor=m(oi);_cleanupClick;_renderer=m(ot);_rippleLoader=m(Qj);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){m(Lt).load(mi);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}
1814_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(n,r){n&2&&(oe("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Be(r.color?"mat-"+r.color:""),ee("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",q],disabled:[2,"disabled","disabled",q],ariaDisabled:[2,"aria-disabled","ariaDisabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],tabIndex:[2,"tabIndex","tabIndex",Jj],_tabindex:[2,"tabindex","_tabindex",Jj]}})}return t})(),fr=(()=>{class t extends Ak{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[he],attrs:sJ,ngContentSelectors:lJ,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(Ie(),gi(0,"span",0),re(1),gi(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button { 1815 -webkit-user-select: none; 1816 user-select: none; 1817 display: inline-block; 1818 position: relative; 1819 box-sizing: border-box; 1820 border: none; 1821 outline: none; 1822 background-color: transparent; 1823 fill: currentColor; 1824 text-decoration: none; 1825 cursor: pointer; 1826 z-index: 0; 1827 overflow: visible; 1828 border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%)); 1829 flex-shrink: 0; 1830 text-align: center; 1831 width: var(--mat-icon-button-state-layer-size, 40px); 1832 height: var(--mat-icon-button-state-layer-size, 40px); 1833 padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2); 1834 font-size: var(--mat-icon-button-icon-size, 24px); 1835 color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant)); 1836 -webkit-tap-highlight-color: transparent; 1837} 1838.mat-mdc-icon-button .mat-mdc-button-ripple, 1839.mat-mdc-icon-button .mat-mdc-button-persistent-ripple, 1840.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 1841 top: 0; 1842 left: 0; 1843 right: 0; 1844 bottom: 0; 1845 position: absolute; 1846 pointer-events: none; 1847 border-radius: inherit; 1848} 1849.mat-mdc-icon-button .mat-mdc-button-ripple { 1850 overflow: hidden; 1851} 1852.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 1853 content: ""; 1854 opacity: 0; 1855} 1856.mat-mdc-icon-button .mdc-button__label, 1857.mat-mdc-icon-button .mat-icon { 1858 z-index: 1; 1859 position: relative; 1860} 1861.mat-mdc-icon-button .mat-focus-indicator { 1862 top: 0; 1863 left: 0; 1864 right: 0; 1865 bottom: 0; 1866 position: absolute; 1867 border-radius: inherit; 1868} 1869.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before { 1870 content: ""; 1871 border-radius: inherit; 1872} 1873.mat-mdc-icon-button .mat-ripple-element { 1874 background-color: var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 1875} 1876.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { 1877 background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant)); 1878} 1879.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 1880 background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 1881} 1882.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before { 1883 opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 1884} 1885.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 1886 opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 1887} 1888.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before { 1889 opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 1890} 1891.mat-mdc-icon-button .mat-mdc-button-touch-target { 1892 position: absolute; 1893 top: 50%; 1894 height: var(--mat-icon-button-touch-target-size, 48px); 1895 display: var(--mat-icon-button-touch-target-display, block); 1896 left: 50%; 1897 width: var(--mat-icon-button-touch-target-size, 48px); 1898 transform: translate(-50%, -50%); 1899} 1900.mat-mdc-icon-button._mat-animation-noopable { 1901 transition: none !important; 1902 animation: none !important; 1903} 1904.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled { 1905 cursor: default; 1906 pointer-events: none; 1907 color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1908} 1909.mat-mdc-icon-button.mat-mdc-button-disabled-interactive { 1910 pointer-events: auto; 1911} 1912.mat-mdc-icon-button img, 1913.mat-mdc-icon-button svg { 1914 width: var(--mat-icon-button-icon-size, 24px); 1915 height: var(--mat-icon-button-icon-size, 24px); 1916 vertical-align: baseline; 1917} 1918.mat-mdc-icon-button .mat-mdc-button-persistent-ripple { 1919 border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%)); 1920} 1921.mat-mdc-icon-button[hidden] { 1922 display: none; 1923} 1924.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before { 1925 background: transparent; 1926 opacity: 1; 1927} 1928`,`@media (forced-colors: active) { 1929 .mat-mdc-button:not(.mdc-button--outlined), 1930 .mat-mdc-unelevated-button:not(.mdc-button--outlined), 1931 .mat-mdc-raised-button:not(.mdc-button--outlined), 1932 .mat-mdc-outlined-button:not(.mdc-button--outlined), 1933 .mat-mdc-button-base.mat-tonal-button, 1934 .mat-mdc-icon-button.mat-mdc-icon-button, 1935 .mat-mdc-outlined-button .mdc-button__ripple { 1936 outline: solid 1px; 1937 } 1938} 1939`],encapsulation:2,changeDetection:0})}return t})();var dJ=["matButton",""],uJ=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],mJ=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var eH=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),Yn=(()=>{class t extends Ak{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=pJ(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let n=this._elementRef.nativeElement.classList,r=this._appearance?eH.get(this._appearance):null,o=eH.get(e);r&&n.remove(...r),n.add(...o),this._appearance=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]}
1939,exportAs:["matButton","matAnchor"],features:[he],attrs:dJ,ngContentSelectors:mJ,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(Ie(uJ),gi(0,"span",0),re(1),ft(2,"span",1),re(3,1),_t(),re(4,2),gi(5,"span",2)(6,"span",3)),n&2&&ee("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base { 1940 text-decoration: none; 1941} 1942.mat-mdc-button-base .mat-icon { 1943 min-height: fit-content; 1944 flex-shrink: 0; 1945} 1946@media (hover: none) { 1947 .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before { 1948 opacity: 0; 1949 } 1950} 1951 1952.mdc-button { 1953 -webkit-user-select: none; 1954 user-select: none; 1955 position: relative; 1956 display: inline-flex; 1957 align-items: center; 1958 justify-content: center; 1959 box-sizing: border-box; 1960 min-width: 64px; 1961 border: none; 1962 outline: none; 1963 line-height: inherit; 1964 -webkit-appearance: none; 1965 overflow: visible; 1966 vertical-align: middle; 1967 background: transparent; 1968 padding: 0 8px; 1969} 1970.mdc-button::-moz-focus-inner { 1971 padding: 0; 1972 border: 0; 1973} 1974.mdc-button:active { 1975 outline: none; 1976} 1977.mdc-button:hover { 1978 cursor: pointer; 1979} 1980.mdc-button:disabled { 1981 cursor: default; 1982 pointer-events: none; 1983} 1984.mdc-button[hidden] { 1985 display: none; 1986} 1987.mdc-button .mdc-button__label { 1988 position: relative; 1989} 1990 1991.mat-mdc-button { 1992 padding: 0 var(--mat-button-text-horizontal-padding, 12px); 1993 height: var(--mat-button-text-container-height, 40px); 1994 font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font)); 1995 font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size)); 1996 letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking)); 1997 text-transform: var(--mat-button-text-label-text-transform); 1998 font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight)); 1999} 2000.mat-mdc-button, .mat-mdc-button .mdc-button__ripple { 2001 border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full)); 2002} 2003.mat-mdc-button:not(:disabled) { 2004 color: var(--mat-button-text-label-text-color, var(--mat-sys-primary)); 2005} 2006.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled { 2007 cursor: default; 2008 pointer-events: none; 2009 color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2010} 2011.mat-mdc-button.mat-mdc-button-disabled-interactive { 2012 pointer-events: auto; 2013} 2014.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) { 2015 padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px); 2016} 2017.mat-mdc-button > .mat-icon { 2018 margin-right: var(--mat-button-text-icon-spacing, 8px); 2019 margin-left: var(--mat-button-text-icon-offset, -4px); 2020} 2021[dir=rtl] .mat-mdc-button > .mat-icon { 2022 margin-right: var(--mat-button-text-icon-offset, -4px); 2023 margin-left: var(--mat-button-text-icon-spacing, 8px); 2024} 2025.mat-mdc-button .mdc-button__label + .mat-icon { 2026 margin-right: var(--mat-button-text-icon-offset, -4px); 2027 margin-left: var(--mat-button-text-icon-spacing, 8px); 2028} 2029[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon { 2030 margin-right: var(--mat-button-text-icon-spacing, 8px); 2031 margin-left: var(--mat-button-text-icon-offset, -4px); 2032} 2033.mat-mdc-button .mat-ripple-element { 2034 background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 2035} 2036.mat-mdc-button .mat-mdc-button-persistent-ripple::before { 2037 background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary)); 2038} 2039.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 2040 background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 2041} 2042.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before { 2043 opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2044} 2045.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 2046 opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2047} 2048.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before { 2049 opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2050} 2051.mat-mdc-button .mat-mdc-button-touch-target { 2052 position: absolute; 2053 top: 50%; 2054 height: var(--mat-button-text-touch-target-size, 48px); 2055 display: var(--mat-button-text-touch-target-display, block); 2056 left: 0; 2057 right: 0; 2058 transform: translateY(-50%); 2059} 2060 2061.mat-mdc-unelevated-button { 2062 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 2063 height: var(--mat-button-filled-container-height, 40px); 2064 font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font)); 2065 font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size)); 2066 letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking)); 2067 text-transform: var(--mat-button-filled-label-text-transform); 2068 font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight)); 2069 padding: 0 var(--mat-button-filled-horizontal-padding, 24px); 2070} 2071.mat-mdc-unelevated-button > .mat-icon { 2072 margin-right: var(--mat-button-filled-icon-spacing, 8px); 2073 margin-left: var(--mat-button-filled-icon-offset, -8px); 2074} 2075[dir=rtl] .mat-mdc-unelevated-button > .mat-icon { 2076 margin-right: var(--mat-button-filled-icon-offset, -8px); 2077 margin-left: var(--mat-button-filled-icon-spacing, 8px); 2078} 2079.mat-mdc-unelevated-button .mdc-button__label + .mat-icon { 2080 margin-right: var(--mat-button-filled-icon-offset, -8px); 2081 margin-left: var(--mat-button-filled-icon-spacing, 8px); 2082} 2083[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon { 2084 margin-right: var(--mat-button-filled-icon-spacing, 8px); 2085 margin-left: var(--mat-button-filled-icon-offset, -8px); 2086} 2087.mat-mdc-unelevated-button .mat-ripple-element { 2088 background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 2089} 2090.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before { 2091 background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary)); 2092} 2093.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 2094 background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 2095} 2096.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before { 2097 opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2098} 2099.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 2100 opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2101} 2102.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before { 2103 opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2104} 2105.mat-mdc-unelevated-button .mat-mdc-button-touch-target { 2106 position: absolute; 2107 top: 50%; 2108 height: var(--mat-button-filled-touch-target-size, 48px); 2109 display: var(--mat-button-filled-touch-target-display, block); 2110 left: 0; 2111 right: 0; 2112 transform: translateY(-50%); 2113} 2114.mat-mdc-unelevated-button:not(:disabled) { 2115 color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary)); 2116 background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary)); 2117} 2118.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple { 2119 border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full)); 2120} 2121.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled { 2122 cursor: default; 2123 pointer-events: none; 2124 color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2125 background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 2126} 2127.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive { 2128 pointer-events: auto; 2129} 2130 2131.mat-mdc-raised-button { 2132 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 2133 box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1)); 2134 height: var(--mat-button-protected-container-height, 40px); 2135 font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font)); 2136 font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size)); 2137 letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking)); 2138 text-transform: var(--mat-button-protected-label-text-transform); 2139 font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight)); 2140 padding: 0 var(--mat-button-protected-horizontal-padding, 24px); 2141} 2142.mat-mdc-raised-button > .mat-icon { 2143 margin-right: var(--mat-button-protected-icon-spacing, 8px); 2144 margin-left: var(--mat-button-protected-icon-offset, -8px); 2145} 2146[dir=rtl] .mat-mdc-raised-button > .mat-icon { 2147 margin-right: var(--mat-button-protected-icon-offset, -8px); 2148 margin-left: var(--mat-button-protected-icon-spacing, 8px); 2149} 2150.mat-mdc-raised-button .mdc-button__label + .mat-icon { 2151 margin-right: var(--mat-button-protected-icon-offset, -8px); 2152 margin-left: var(--mat-button-protected-icon-spacing, 8px); 2153} 2154[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon { 2155 margin-right: var(--mat-button-protected-icon-spacing, 8px); 2156 margin-left: var(--mat-button-protected-icon-offset, -8px); 2157} 2158.mat-mdc-raised-button .mat-ripple-element { 2159 background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 2160} 2161.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before { 2162 background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary)); 2163} 2164.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 2165 background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 2166} 2167.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before { 2168 opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2169} 2170.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 2171 opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2172} 2173.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before { 2174 opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2175} 2176.mat-mdc-raised-button .mat-mdc-button-touch-target { 2177 position: absolute; 2178 top: 50%; 2179 height: var(--mat-button-protected-touch-target-size, 48px); 2180 display: var(--mat-button-protected-touch-target-display, block); 2181 left: 0; 2182 right: 0; 2183 transform: translateY(-50%); 2184} 2185.mat-mdc-raised-button:not(:disabled) { 2186 color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary)); 2187 background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface)); 2188} 2189.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple { 2190 border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full)); 2191} 2192@media (hover: hover) { 2193 .mat-mdc-raised-button:hover { 2194 box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2)); 2195 } 2196} 2197.mat-mdc-raised-button:focus { 2198 box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1)); 2199} 2200.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active { 2201 box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1)); 2202} 2203.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled { 2204 cursor: default; 2205 pointer-events: none; 2206 color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2207 background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 2208} 2209.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled { 2210 box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0)); 2211} 2212.mat-mdc-raised-button.mat-mdc-button-disabled-interactive { 2213 pointer-events: auto; 2214} 2215 2216.mat-mdc-outlined-button { 2217 border-style: solid; 2218 transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1); 2219 height: var(--mat-button-outlined-container-height, 40px); 2220 font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font)); 2221 font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size)); 2222 letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking)); 2223 text-transform: var(--mat-button-outlined-label-text-transform); 2224 font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight)); 2225 border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full)); 2226 border-width: var(--mat-button-outlined-outline-width, 1px); 2227 padding: 0 var(--mat-button-outlined-horizontal-padding, 24px); 2228} 2229.mat-mdc-outlined-button > .mat-icon { 2230 margin-right: var(--mat-button-outlined-icon-spacing, 8px); 2231 margin-left: var(--mat-button-outlined-icon-offset, -8px); 2232} 2233[dir=rtl] .mat-mdc-outlined-button > .mat-icon { 2234 margin-right: var(--mat-button-outlined-icon-offset, -8px); 2235 margin-left: var(--mat-button-outlined-icon-spacing, 8px); 2236} 2237.mat-mdc-outlined-button .mdc-button__label + .mat-icon { 2238 margin-right: var(--mat-button-outlined-icon-offset, -8px); 2239 margin-left: var(--mat-button-outlined-icon-spacing, 8px); 2240} 2241[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon { 2242 margin-right: var(--mat-button-outlined-icon-spacing, 8px); 2243 margin-left: var(--mat-button-outlined-icon-offset, -8px); 2244} 2245.mat-mdc-outlined-button .mat-ripple-element { 2246 background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 2247} 2248.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before { 2249 background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary)); 2250} 2251.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 2252 background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 2253} 2254.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before { 2255 opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2256} 2257.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 2258 opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2259} 2260.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before { 2261 opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2262} 2263.mat-mdc-outlined-button .mat-mdc-button-touch-target { 2264 position: absolute; 2265 top: 50%; 2266 he
2266ight: var(--mat-button-outlined-touch-target-size, 48px); 2267 display: var(--mat-button-outlined-touch-target-display, block); 2268 left: 0; 2269 right: 0; 2270 transform: translateY(-50%); 2271} 2272.mat-mdc-outlined-button:not(:disabled) { 2273 color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary)); 2274 border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline)); 2275} 2276.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled { 2277 cursor: default; 2278 pointer-events: none; 2279 color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2280 border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 2281} 2282.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive { 2283 pointer-events: auto; 2284} 2285 2286.mat-tonal-button { 2287 transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 2288 height: var(--mat-button-tonal-container-height, 40px); 2289 font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font)); 2290 font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size)); 2291 letter-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking)); 2292 text-transform: var(--mat-button-tonal-label-text-transform); 2293 font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight)); 2294 padding: 0 var(--mat-button-tonal-horizontal-padding, 24px); 2295} 2296.mat-tonal-button:not(:disabled) { 2297 color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container)); 2298 background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container)); 2299} 2300.mat-tonal-button, .mat-tonal-button .mdc-button__ripple { 2301 border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full)); 2302} 2303.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled { 2304 cursor: default; 2305 pointer-events: none; 2306 color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2307 background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 2308} 2309.mat-tonal-button.mat-mdc-button-disabled-interactive { 2310 pointer-events: auto; 2311} 2312.mat-tonal-button > .mat-icon { 2313 margin-right: var(--mat-button-tonal-icon-spacing, 8px); 2314 margin-left: var(--mat-button-tonal-icon-offset, -8px); 2315} 2316[dir=rtl] .mat-tonal-button > .mat-icon { 2317 margin-right: var(--mat-button-tonal-icon-offset, -8px); 2318 margin-left: var(--mat-button-tonal-icon-spacing, 8px); 2319} 2320.mat-tonal-button .mdc-button__label + .mat-icon { 2321 margin-right: var(--mat-button-tonal-icon-offset, -8px); 2322 margin-left: var(--mat-button-tonal-icon-spacing, 8px); 2323} 2324[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon { 2325 margin-right: var(--mat-button-tonal-icon-spacing, 8px); 2326 margin-left: var(--mat-button-tonal-icon-offset, -8px); 2327} 2328.mat-tonal-button .mat-ripple-element { 2329 background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); 2330} 2331.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 2332 background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container)); 2333} 2334.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { 2335 background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); 2336} 2337.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before { 2338 opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2339} 2340.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { 2341 opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2342} 2343.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before { 2344 opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2345} 2346.mat-tonal-button .mat-mdc-button-touch-target { 2347 position: absolute; 2348 top: 50%; 2349 height: var(--mat-button-tonal-touch-target-size, 48px); 2350 display: var(--mat-button-tonal-touch-target-display, block); 2351 left: 0; 2352 right: 0; 2353 transform: translateY(-50%); 2354} 2355 2356.mat-mdc-button, 2357.mat-mdc-unelevated-button, 2358.mat-mdc-raised-button, 2359.mat-mdc-outlined-button, 2360.mat-tonal-button { 2361 -webkit-tap-highlight-color: transparent; 2362} 2363.mat-mdc-button .mat-mdc-button-ripple, 2364.mat-mdc-button .mat-mdc-button-persistent-ripple, 2365.mat-mdc-button .mat-mdc-button-persistent-ripple::before, 2366.mat-mdc-unelevated-button .mat-mdc-button-ripple, 2367.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple, 2368.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, 2369.mat-mdc-raised-button .mat-mdc-button-ripple, 2370.mat-mdc-raised-button .mat-mdc-button-persistent-ripple, 2371.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, 2372.mat-mdc-outlined-button .mat-mdc-button-ripple, 2373.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple, 2374.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, 2375.mat-tonal-button .mat-mdc-button-ripple, 2376.mat-tonal-button .mat-mdc-button-persistent-ripple, 2377.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 2378 top: 0; 2379 left: 0; 2380 right: 0; 2381 bottom: 0; 2382 position: absolute; 2383 pointer-events: none; 2384 border-radius: inherit; 2385} 2386.mat-mdc-button .mat-mdc-button-ripple, 2387.mat-mdc-unelevated-button .mat-mdc-button-ripple, 2388.mat-mdc-raised-button .mat-mdc-button-ripple, 2389.mat-mdc-outlined-button .mat-mdc-button-ripple, 2390.mat-tonal-button .mat-mdc-button-ripple { 2391 overflow: hidden; 2392} 2393.mat-mdc-button .mat-mdc-button-persistent-ripple::before, 2394.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, 2395.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, 2396.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, 2397.mat-tonal-button .mat-mdc-button-persistent-ripple::before { 2398 content: ""; 2399 opacity: 0; 2400} 2401.mat-mdc-button .mdc-button__label, 2402.mat-mdc-button .mat-icon, 2403.mat-mdc-unelevated-button .mdc-button__label, 2404.mat-mdc-unelevated-button .mat-icon, 2405.mat-mdc-raised-button .mdc-button__label, 2406.mat-mdc-raised-button .mat-icon, 2407.mat-mdc-outlined-button .mdc-button__label, 2408.mat-mdc-outlined-button .mat-icon, 2409.mat-tonal-button .mdc-button__label, 2410.mat-tonal-button .mat-icon { 2411 z-index: 1; 2412 position: relative; 2413} 2414.mat-mdc-button .mat-focus-indicator, 2415.mat-mdc-unelevated-button .mat-focus-indicator, 2416.mat-mdc-raised-button .mat-focus-indicator, 2417.mat-mdc-outlined-button .mat-focus-indicator, 2418.mat-tonal-button .mat-focus-indicator { 2419 top: 0; 2420 left: 0; 2421 right: 0; 2422 bottom: 0; 2423 position: absolute; 2424 border-radius: inherit; 2425} 2426.mat-mdc-button:focus-visible > .mat-focus-indicator::before, 2427.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before, 2428.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before, 2429.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before, 2430.mat-tonal-button:focus-visible > .mat-focus-indicator::before { 2431 content: ""; 2432 border-radius: inherit; 2433} 2434.mat-mdc-button._mat-animation-noopable, 2435.mat-mdc-unelevated-button._mat-animation-noopable, 2436.mat-mdc-raised-button._mat-animation-noopable, 2437.mat-mdc-outlined-button._mat-animation-noopable, 2438.mat-tonal-button._mat-animation-noopable { 2439 transition: none !important; 2440 animation: none !important; 2441} 2442.mat-mdc-button > .mat-icon, 2443.mat-mdc-unelevated-button > .mat-icon, 2444.mat-mdc-raised-button > .mat-icon, 2445.mat-mdc-outlined-button > .mat-icon, 2446.mat-tonal-button > .mat-icon { 2447 display: inline-block; 2448 position: relative; 2449 vertical-align: top; 2450 font-size: 1.125rem; 2451 height: 1.125rem; 2452 width: 1.125rem; 2453} 2454 2455.mat-mdc-outlined-button .mat-mdc-button-ripple, 2456.mat-mdc-outlined-button .mdc-button__ripple { 2457 top: -1px; 2458 left: -1px; 2459 bottom: -1px; 2460 right: -1px; 2461} 2462 2463.mat-mdc-unelevated-button .mat-focus-indicator::before, 2464.mat-tonal-button .mat-focus-indicator::before, 2465.mat-mdc-raised-button .mat-focus-indicator::before { 2466 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1); 2467} 2468 2469.mat-mdc-outlined-button .mat-focus-indicator::before { 2470 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1); 2471} 2472`,`@media (forced-colors: active) { 2473 .mat-mdc-button:not(.mdc-button--outlined), 2474 .mat-mdc-unelevated-button:not(.mdc-button--outlined), 2475 .mat-mdc-raised-button:not(.mdc-button--outlined), 2476 .mat-mdc-outlined-button:not(.mdc-button--outlined), 2477 .mat-mdc-button-base.mat-tonal-button, 2478 .mat-mdc-icon-button.mat-mdc-icon-button, 2479 .mat-mdc-outlined-button .mdc-button__ripple { 2480 outline: solid 1px; 2481 } 2482} 2483`],encapsulation:2,changeDetection:0})}return t})();function pJ(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var _o=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,De]})}return t})();var hJ=["button"],fJ=["*"];function gJ(t,i){if(t&1&&(u(0,"div",2),x(1,"mat-pseudo-checkbox",6),c()),t&2){let e=_();l(),g("disabled",e.disabled)}}var _J=new R("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:()=>
2483({hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1})}),bJ=new R("MatButtonToggleGroup");var kk=class{source;value;constructor(i,e){this.source=i,this.value=e}};var vJ=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_focusMonitor=m(oi);_idGenerator=m(pt);_animationDisabled=lt();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex(e){this._tabIndex.set(e)}_tabIndex;disableRipple=!1;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=e}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new V;constructor(){m(Lt).load(mi);let e=m(bJ,{optional:!0}),n=m(new di("tabindex"),{optional:!0})||"",r=m(_J,{optional:!0});this._tabIndex=Z(parseInt(n)||0),this.buttonToggleGroup=e,this._appearance=r&&r.appearance?r.appearance:"standard",this._disabledInteractive=r?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let n=this.buttonToggleGroup._buttonToggles.find(r=>r.tabIndex===0);n&&(n.tabIndex=-1),this.tabIndex=0}this.change.emit(new kk(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(n,r){if(n&1&&ve(hJ,5),n&2){let o;H(o=U())&&(r._buttonElement=o.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(n,r){n&1&&T("focus",function(){return r.focus()}),n&2&&(oe("aria-label",null)("aria-labelledby",null)("id",r.id)("name",null),ee("mat-button-toggle-standalone",!r.buttonToggleGroup)("mat-button-toggle-checked",r.checked)("mat-button-toggle-disabled",r.disabled)("mat-button-toggle-disabled-interactive",r.disabledInteractive)("mat-button-toggle-appearance-standard",r.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",q],appearance:"appearance",checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:fJ,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(n,r){if(n&1&&(Ie(),u(0,"button",1,0),T("click",function(){return r._onButtonClick()}),v(2,gJ,2,1,"div",2),u(3,"span",3),re(4),c()(),x(5,"span",4)(6,"span",5)),n&2){let o=ye(1);g("id",r.buttonId)("disabled",r.disabled&&!r.disabledInteractive||null),oe("role",r.isSingleSelector()?"radio":"button")("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-pressed",r.isSingleSelector()?null:r.checked)("aria-checked",r.isSingleSelector()?r.checked:null)("name",r._getButtonName())("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),l(2),y(r.buttonToggleGroup&&(!r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideSingleSelectionIndicator||r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),l(4),g("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)}},dependencies:[Hr,MC],styles:[`.mat-button-toggle-standalone, 2484.mat-button-toggle-group { 2485 position: relative; 2486 display: inline-flex; 2487 flex-direction: row; 2488 white-space: nowrap; 2489 overflow: hidden; 2490 -webkit-tap-highlight-color: transparent; 2491 border-radius: var(--mat-button-toggle-legacy-shape); 2492 transform: translateZ(0); 2493} 2494.mat-button-toggle-standalone:not([class*=mat-elevation-z]), 2495.mat-button-toggle-group:not([class*=mat-elevation-z]) { 2496 box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); 2497} 2498@media (forced-colors: active) { 2499 .mat-button-toggle-standalone, 2500 .mat-button-toggle-group { 2501 outline: solid 1px; 2502 } 2503} 2504 2505.mat-button-toggle-standalone.mat-button-toggle-appearance-standard, 2506.mat-button-toggle-group-appearance-standard { 2507 border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2508 border: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline)); 2509} 2510.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox, 2511.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox { 2512 --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container)); 2513} 2514.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]), 2515.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]) { 2516 box-shadow: none; 2517} 2518@media (forced-colors: active) { 2519 .mat-button-toggle-standalone.mat-button-toggle-appearance-standard, 2520 .mat-button-toggle-group-appearance-standard { 2521 outline: 0; 2522 } 2523} 2524 2525.mat-button-toggle-vertical { 2526 flex-direction: column; 2527} 2528.mat-button-toggle-vertical .mat-button-toggle-label-content { 2529 display: block; 2530} 2531 2532.mat-button-toggle { 2533 white-space: nowrap; 2534 position: relative; 2535 color: var(--mat-button-toggle-legacy-text-color); 2536 font-family: var(--mat-button-toggle-legacy-label-text-font); 2537 font-size: var(--mat-button-toggle-legacy-label-text-size); 2538 line-height: var(--mat-button-toggle-legacy-label-text-line-height); 2539 font-weight: var(--mat-button-toggle-legacy-label-text-weight); 2540 letter-spacing: var(--mat-button-toggle-legacy-label-text-tracking); 2541 --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color); 2542} 2543.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay { 2544 opacity: var(--mat-button-toggle-legacy-focus-state-layer-opacity); 2545} 2546.mat-button-toggle .mat-icon svg { 2547 vertical-align: top; 2548} 2549 2550.mat-button-toggle-checkbox-wrapper { 2551 display: inline-block; 2552 justify-content: flex-start; 2553 align-items: center; 2554 width: 0; 2555 height: 18px; 2556 line-height: 18px; 2557 overflow: hidden; 2558 box-sizing: border-box; 2559 position: absolute; 2560 top: 50%; 2561 left: 16px; 2562 transform: translate3d(0, -50%, 0); 2563} 2564[dir=rtl] .mat-button-toggle-checkbox-wrapper { 2565 left: auto; 2566 right: 16px; 2567} 2568.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper { 2569 left: 12px; 2570} 2571[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper { 2572 left: auto; 2573 right: 12px; 2574} 2575.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper { 2576 width: 18px; 2577} 2578.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper { 2579 transition: width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1); 2580} 2581.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper { 2582 transition: none; 2583} 2584 2585.mat-button-toggle-checked { 2586 color: var(--mat-button-toggle-legacy-selected-state-text-color); 2587 background-color: var(--mat-button-toggle-legacy-selected-state-background-color); 2588} 2589 2590.mat-button-toggle-disabled { 2591 pointer-events: none; 2592 color: var(--mat-button-toggle-legacy-disabled-state-text-color); 2593 background-color: var(--mat-button-toggle-legacy-disabled-state-background-color); 2594 --mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color); 2595} 2596.mat-button-toggle-disabled.mat-button-toggle-checked { 2597 background-color: var(--mat-button-toggle-legacy-disabled-selected-state-background-color); 2598} 2599 2600.mat-button-toggle-disabled-interactive { 2601 pointer-events: auto; 2602} 2603 2604.mat-button-toggle-appearance-standard { 2605 color: var(--mat-button-toggle-text-color, var(--mat-sys-on-surface)); 2606 background-color: var(--mat-button-toggle-background-color, transparent); 2607 font-family: var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font)); 2608 font-size: var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size)); 2609 line-height: var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height)); 2610 font-weight: var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight)); 2611 letter-spacing: var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking)); 2612} 2613.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard { 2614 border-left: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline)); 2615} 2616[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard { 2617 border-left: none; 2618 border-right: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline)); 2619} 2620.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard { 2621 border-left: none;
2622 border-right: none; 2623 border-top: solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline)); 2624} 2625.mat-button-toggle-appearance-standard.mat-button-toggle-checked { 2626 color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container)); 2627 background-color: var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container)); 2628} 2629.mat-button-toggle-appearance-standard.mat-button-toggle-disabled { 2630 color: var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2631 background-color: var(--mat-button-toggle-disabled-state-background-color, transparent); 2632} 2633.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox { 2634 --mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2635} 2636.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked { 2637 color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 2638 background-color: var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 2639} 2640.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay { 2641 background-color: var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface)); 2642} 2643.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay { 2644 opacity: var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2645} 2646.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay { 2647 opacity: var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2648} 2649@media (hover: none) { 2650 .mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay { 2651 display: none; 2652 } 2653} 2654 2655.mat-button-toggle-label-content { 2656 -webkit-user-select: none; 2657 user-select: none; 2658 display: inline-block; 2659 padding: 0 16px; 2660 line-height: var(--mat-button-toggle-legacy-height); 2661 position: relative; 2662} 2663.mat-button-toggle-appearance-standard .mat-button-toggle-label-content { 2664 padding: 0 12px; 2665 line-height: var(--mat-button-toggle-height, 40px); 2666} 2667 2668.mat-button-toggle-label-content > * { 2669 vertical-align: middle; 2670} 2671 2672.mat-button-toggle-focus-overlay { 2673 top: 0; 2674 left: 0; 2675 right: 0; 2676 bottom: 0; 2677 position: absolute; 2678 border-radius: inherit; 2679 pointer-events: none; 2680 opacity: 0; 2681 background-color: var(--mat-button-toggle-legacy-state-layer-color); 2682} 2683 2684@media (forced-colors: active) { 2685 .mat-button-toggle-checked .mat-button-toggle-focus-overlay { 2686 border-bottom: solid 500px; 2687 opacity: 0.5; 2688 height: 0; 2689 } 2690 .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay { 2691 opacity: 0.6; 2692 } 2693 .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay { 2694 border-bottom: solid 500px; 2695 } 2696} 2697.mat-button-toggle .mat-button-toggle-ripple { 2698 top: 0; 2699 left: 0; 2700 right: 0; 2701 bottom: 0; 2702 position: absolute; 2703 pointer-events: none; 2704} 2705 2706.mat-button-toggle-button { 2707 border: 0; 2708 background: none; 2709 color: inherit; 2710 padding: 0; 2711 margin: 0; 2712 font: inherit; 2713 outline: none; 2714 width: 100%; 2715 cursor: pointer; 2716} 2717.mat-button-toggle-animations-enabled .mat-button-toggle-button { 2718 transition: padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1); 2719} 2720.mat-button-toggle-vertical .mat-button-toggle-button { 2721 transition: none; 2722} 2723.mat-button-toggle-disabled .mat-button-toggle-button { 2724 cursor: default; 2725} 2726.mat-button-toggle-button::-moz-focus-inner { 2727 border: 0; 2728} 2729.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper) { 2730 padding-left: 30px; 2731} 2732[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper) { 2733 padding-left: 0; 2734 padding-right: 30px; 2735} 2736 2737.mat-button-toggle-standalone.mat-button-toggle-appearance-standard { 2738 --mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2739} 2740 2741.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before { 2742 border-top-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2743 border-bottom-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2744} 2745.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before { 2746 border-top-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2747 border-bottom-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2748} 2749 2750.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before { 2751 border-bottom-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2752 border-bottom-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2753} 2754.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before { 2755 border-top-right-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2756 border-top-left-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large)); 2757} 2758`],encapsulation:2,changeDetection:0})}return t})(),Rk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,vJ,De]})}return t})();var yJ=["*"];var CJ=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],DJ=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, 2759 [mat-card-title], [mat-card-subtitle], 2760 [matCardTitle], [matCardSubtitle]`,"*"],EJ=new R("MAT_CARD_CONFIG"),P4e=(()=>{class t{appearance;constructor(){let e=m(EJ,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(n,r){n&2&&ee("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")("mat-mdc-card-filled",r.appearance==="filled")("mdc-card--filled",r.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:yJ,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[`.mat-mdc-card { 2761 display: flex; 2762 flex-direction: column; 2763 box-sizing: border-box; 2764 position: relative; 2765 border-style: solid; 2766 border-width: 0; 2767 background-color: var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low)); 2768 border-color: var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low)); 2769 border-radius: var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium)); 2770 box-shadow: var(--mat-card-elevated-container-elevation, var(--mat-sys-level1)); 2771} 2772.mat-mdc-card::after { 2773 position: absolute; 2774 top: 0; 2775 left: 0; 2776 width: 100%; 2777 height: 100%; 2778 border: solid 1px transparent; 2779 content: ""; 2780 display: block; 2781 pointer-events: none; 2782 box-sizing: border-box; 2783 border-radius: var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium)); 2784} 2785 2786.mat-mdc-card-outlined { 2787 background-color: var(--mat-card-outlined-container-color, var(--mat-sys-surface)); 2788 border-radius: var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium)); 2789 border-width: var(--mat-card-outlined-outline-width, 1px); 2790 border-color: var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant)); 2791 box-shadow: var(--mat-card-outlined-container-elevation, var(--mat-sys-level0)); 2792} 2793.mat-mdc-card-outlined::after { 2794 border: none; 2795} 2796 2797.mat-mdc-card-filled { 2798 background-color: var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest)); 2799 border-radius: var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium)); 2800 box-shadow: var(--mat-card-filled-container-elevation, var(--mat-sys-level0)); 2801} 2802 2803.mdc-card__media { 2804 position: relative; 2805 box-sizing: border-box; 2806 background-repeat: no-repeat; 2807 background-position: center; 2808 background-size: cover; 2809} 2810.mdc-card__media::before { 2811 display: block; 2812 content: ""; 2813} 2814.mdc-card__media:first-child { 2815 border-top-left-radius: inherit; 2816 border-top-right-radius: inherit; 2817} 2818.mdc-card__media:last-child { 2819 border-bottom-left-radius: inherit; 2820 border-bottom-right-radius: inherit; 2821} 2822 2823.mat-mdc-card-actions { 2824 display: flex; 2825 flex-direction: row; 2826 align-items: center; 2827 box-sizing: border-box; 2828 min-height: 52px; 2829 padding: 8px; 2830} 2831 2832.mat-mdc-card-title { 2833 font-family: var(--mat-card-title-text-font, var(--mat-sys-title-large-font)); 2834 line-height: var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height)); 2835 font-size: var(--mat-card-title-text-size, var(--mat-sys-title-large-size)); 2836 letter-spacing: var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking)); 2837 font-weight: var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight)); 2838} 2839 2840.mat-mdc-card-subtitle { 2841 color: var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface)); 2842 font-family: var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font)); 2843 line-height: var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height)); 2844 font-size: var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size)); 2845 letter-spacing: var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking)); 2846 font-weight: var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight)); 2847} 2848 2849.mat-mdc-card-title, 2850.mat-mdc-card-subtitle { 2851 display: block; 2852 margin: 0; 2853} 2854.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title, 2855.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle { 2856 padding: 16px 16px 0; 2857} 2858 2859.mat-mdc-card-header { 2860 display: flex; 2861 padding: 16px 16px 0; 2862} 2863 2864.mat-mdc-card-content { 2865 display: block; 2866 padding: 0 16px; 2867} 2868.mat-mdc-card-content:first-child { 2869 padding-top: 16px; 2870} 2871.mat-mdc-card-content:last-child { 2872 padding-bottom: 16px; 2873} 2874 2875.mat-mdc-card-title-group { 2876 display: flex; 2877 justify-content: space-between; 2878 width: 100%; 2879} 2880 2881.mat-mdc-card-avatar { 2882 height: 40px; 2883 width: 40px; 2884 border-radius: 50%; 2885 flex-shrink: 0; 2886 margin-bottom: 16px; 2887 object-fit: cover; 2888} 2889.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle, 2890.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title { 2891 line-height: normal; 2892} 2893 2894.mat-mdc-card-sm-image { 2895 width: 80px; 2896 height: 80px; 2897} 2898 2899.mat-mdc-card-md-image { 2900 width: 112px; 2901 height: 112px; 2902} 2903 2904.mat-mdc-card-lg-image { 2905 width: 152px; 2906 height: 152px; 2907} 2908 2909.mat-mdc-card-xl-image { 2910 width: 240px; 2911 height: 240px; 2912} 2913 2914.mat-mdc-card-subtitle ~ .mat-mdc-card-title, 2915.mat-mdc-card-title ~ .mat-mdc-card-subtitle, 2916.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title, 2917.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle, 2918.mat-mdc-card-title-group .mat-mdc-card-title, 2919.mat-mdc-card-title-group .mat-mdc-card-subtitle { 2920 padding-top: 0; 2921} 2922 2923.mat-mdc-card-content > :last-child:not(.mat-mdc-card-footer) { 2924 margin-bottom: 0; 2925} 2926
2927.mat-mdc-card-actions-align-end { 2928 justify-content: flex-end; 2929} 2930`],encapsulation:2,changeDetection:0})}return t})();var HC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})(),UC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})(),Yu=(()=>{class t{align="start";static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return t})(),zC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:DJ,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,r){n&1&&(Ie(CJ),re(0),ft(1,"div",0),re(2,1),_t(),re(3,2))},encapsulation:2,changeDetection:0})}return t})();var Mk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var wJ=["input"],xJ=["label"],SJ=["*"],Nk={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},TJ=new R("mat-checkbox-default-options",{providedIn:"root",factory:()=>Nk}),Ur=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(Ur||{}),Ok=class{source;checked},ir=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_ngZone=m(le);_animationsDisabled=lt();_options=m(TJ,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let n=new Ok;return n.source=this,n.checked=e,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition="after";name=null;change=new V;indeterminateChange=new V;value;disableRipple=!1;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=Ur.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){m(Lt).load(mi);let e=m(new di("tabindex"),{optional:!0});this._options=this._options||Nk,this.color=this._options.color||Nk.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=m(pt).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let n=e!=this._indeterminate();this._indeterminate.set(e),n&&(e?this._transitionCheckState(Ur.Indeterminate):this._transitionCheckState(this.checked?Ur.Checked:Ur.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=Z(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}
2930registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let n=this._currentCheckState,r=this._getAnimationTargetElement();if(!(n===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ur.Checked:Ur.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,n){if(this._animationsDisabled)return"";switch(e){case Ur.Init:if(n===Ur.Checked)return this._animationClasses.uncheckedToChecked;if(n==Ur.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ur.Unchecked:return n===Ur.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ur.Checked:return n===Ur.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ur.Indeterminate:return n===Ur.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let n=this._inputElement;n&&(n.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-checkbox"]],viewQuery:function(n,r){if(n&1&&ve(wJ,5)(xJ,5),n&2){let o;H(o=U())&&(r._inputElement=o.first),H(o=U())&&(r._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(n,r){n&2&&(An("id",r.id),oe("tabindex",null)("aria-label",null)("aria-labelledby",null),Be(r.color?"mat-"+r.color:"mat-accent"),ee("_mat-animation-noopable",r._animationsDisabled)("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",q],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",q],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:rn(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],indeterminate:[2,"indeterminate","indeterminate",q]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[me([{provide:er,useExisting:bn(()=>t),multi:!0},{provide:Qo,useExisting:t,multi:!0}]),Ke],ngContentSelectors:SJ,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],["aria-hidden","true",1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(n,r){if(n&1&&(Ie(),u(0,"div",3),T("click",function(a){return r._preventBubblingFromLabel(a)}),u(1,"div",4,0)(3,"div",5),T("click",function(){return r._onTouchTargetClick()}),c(),u(4,"input",6,1),T("blur",function(){return r._onBlur()})("click",function(){return r._onInputClick()})("change",function(a){return r._onInteractionEvent(a)}),c(),x(6,"div",7),u(7,"div",8),In(),u(8,"svg",9),x(9,"path",10),c(),$o(),x(10,"div",11),c(),x(11,"div",12),c(),u(12,"label",13,2),re(14),c()()),n&2){let o=ye(2);g("labelPosition",r.labelPosition),l(4),ee("mdc-checkbox--selected",r.checked),g("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),oe("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControl
2930s)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),l(7),g("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),l(),g("for",r.inputId)}},dependencies:[Hr,Lp],styles:[`.mdc-checkbox { 2931 display: inline-block; 2932 position: relative; 2933 flex: 0 0 18px; 2934 box-sizing: content-box; 2935 width: 18px; 2936 height: 18px; 2937 line-height: 0; 2938 white-space: nowrap; 2939 cursor: pointer; 2940 vertical-align: bottom; 2941 padding: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 2942 margin: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 2943} 2944.mdc-checkbox:hover > .mdc-checkbox__ripple { 2945 opacity: var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2946 background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface)); 2947} 2948.mdc-checkbox:hover > .mat-mdc-checkbox-ripple > .mat-ripple-element { 2949 background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface)); 2950} 2951.mdc-checkbox .mdc-checkbox__native-control:focus + .mdc-checkbox__ripple { 2952 opacity: var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2953 background-color: var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface)); 2954} 2955.mdc-checkbox .mdc-checkbox__native-control:focus ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 2956 background-color: var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface)); 2957} 2958.mdc-checkbox:active > .mdc-checkbox__native-control + .mdc-checkbox__ripple { 2959 opacity: var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2960 background-color: var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary)); 2961} 2962.mdc-checkbox:active > .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 2963 background-color: var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary)); 2964} 2965.mdc-checkbox:hover > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple { 2966 opacity: var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2967 background-color: var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary)); 2968} 2969.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 2970 background-color: var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary)); 2971} 2972.mdc-checkbox .mdc-checkbox__native-control:focus:checked + .mdc-checkbox__ripple { 2973 opacity: var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2974 background-color: var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary)); 2975} 2976.mdc-checkbox .mdc-checkbox__native-control:focus:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 2977 background-color: var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary)); 2978} 2979.mdc-checkbox:active > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple { 2980 opacity: var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2981 background-color: var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface)); 2982} 2983.mdc-checkbox:active > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 2984 background-color: var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface)); 2985} 2986.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element, 2987.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control + .mdc-checkbox__ripple { 2988 background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface)); 2989} 2990.mdc-checkbox .mdc-checkbox__native-control { 2991 position: absolute; 2992 margin: 0; 2993 padding: 0; 2994 opacity: 0; 2995 cursor: inherit; 2996 z-index: 1; 2997 width: var(--mat-checkbox-state-layer-size, 40px); 2998 height: var(--mat-checkbox-state-layer-size, 40px); 2999 top: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 3000 right: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 3001 left: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 3002} 3003 3004.mdc-checkbox--disabled { 3005 cursor: default; 3006 pointer-events: none; 3007} 3008 3009.mdc-checkbox__background { 3010 display: inline-flex; 3011 position: absolute; 3012 align-items: center; 3013 justify-content: center; 3014 box-sizing: border-box; 3015 width: 18px; 3016 height: 18px; 3017 border: 2px solid currentColor; 3018 border-radius: 2px; 3019 background-color: transparent; 3020 pointer-events: none; 3021 will-change: background-color, border-color; 3022 transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1); 3023 -webkit-print-color-adjust: exact; 3024 color-adjust: exact; 3025 border-color: var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant)); 3026 top: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 3027 left: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 3028} 3029 3030.mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background, 3031.mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background { 3032 border-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary)); 3033 background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary)); 3034} 3035 3036.mdc-checkbox--disabled .mdc-checkbox__background { 3037 border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3038} 3039@media (forced-colors: active) { 3040 .mdc-checkbox--disabled .mdc-checkbox__background { 3041 border-color: GrayText; 3042 } 3043} 3044 3045.mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background, 3046.mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background { 3047 background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3048 border-color: transparent; 3049} 3050@media (forced-colors: active) { 3051 .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background, 3052 .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background { 3053 border-color: GrayText; 3054 } 3055} 3056 3057.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background, 3058.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background { 3059 border-color: var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface)); 3060 background-color: transparent; 3061} 3062 3063.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 3064.mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 3065 border-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary)); 3066 background-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary)); 3067} 3068 3069.mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background, 3070.mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background { 3071 border-color: var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface)); 3072} 3073 3074.mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background, 3075.mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background { 3076 border-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary)); 3077 background-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary)); 3078} 3079 3080.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background, 3081.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background, 3082.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background { 3083 border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3084} 3085@media (forced-colors: active) { 3086 .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background, 3087 .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background, 3088 .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background { 3089 border-color: GrayText; 3090 } 3091} 3092.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 3093.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 3094 background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3095 border-color: transparent; 3096} 3097 3098.mdc-checkbox__checkmark { 3099 position: absolute; 3100 top: 0; 3101 right: 0; 3102 bottom: 0; 3103 left: 0; 3104 width: 100%; 3105 opacity: 0; 3106 transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1); 3107 color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary)); 3108} 3109@media (forced-colors: active) { 3110 .mdc-checkbox__checkmark { 3111 color: CanvasText; 3112 } 3113} 3114 3115.mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark { 3116 color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface)); 3117} 3118@media (forced-colors: active) { 3119 .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark { 3120 color: GrayText; 3121 } 3122} 3123 3124.mdc-checkbox__checkmark-path { 3125 transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1); 3126 stroke: currentColor; 3127 stroke-width: 3.12px; 3128 stroke-dashoffset: 29.7833385; 3129 stroke-dasharray: 29.7833385; 3130} 3131 3132.mdc-checkbox__mixedmark { 3133 width: 100%; 3134 height: 0; 3135 transform: scaleX(0) rotate(0deg); 3136 border-width: 1px; 3137 border-style: solid; 3138 opacity: 0; 3139 transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1); 3140 border-color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary)); 3141} 3142@media (forced-colors: active) { 3143 .mdc-checkbox__mixedmark { 3144 margin: 0 1px; 3145 } 3146} 3147 3148.mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark { 3149 border-color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface)); 3150} 3151@media (forced-colors: active) { 3152 .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark { 3153 border-color: GrayText; 3154 } 3155} 3156 3157.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background, 3158.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background, 3159.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background, 3160.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background { 3161 animation-duration: 180ms; 3162 animation-timing-function: linear; 3163} 3164 3165.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path { 3166 animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear; 3167 transition: none; 3168} 3169 3170.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark { 3171 animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear; 3172 transition: none; 3173} 3174 3175.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path { 3176 animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear; 3177 transition: none; 3178} 3179 3180.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark { 3181 animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear; 3182 transition: none; 3183} 3184.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark { 3185 animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear; 3186 transition: none; 3187} 3188 3189.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {
3190 animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear; 3191 transition: none; 3192} 3193.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark { 3194 animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear; 3195 transition: none; 3196} 3197 3198.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark { 3199 animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear; 3200 transition: none; 3201} 3202 3203.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 3204.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 3205 transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1); 3206} 3207.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path, 3208.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path { 3209 stroke-dashoffset: 0; 3210} 3211 3212.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark { 3213 transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1); 3214 opacity: 1; 3215} 3216.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark { 3217 transform: scaleX(1) rotate(-45deg); 3218} 3219 3220.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark { 3221 transform: rotate(45deg); 3222 opacity: 0; 3223 transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1); 3224} 3225.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark { 3226 transform: scaleX(1) rotate(0deg); 3227 opacity: 1; 3228} 3229 3230@keyframes mdc-checkbox-unchecked-checked-checkmark-path { 3231 0%, 50% { 3232 stroke-dashoffset: 29.7833385; 3233 } 3234 50% { 3235 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 3236 } 3237 100% { 3238 stroke-dashoffset: 0; 3239 } 3240} 3241@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark { 3242 0%, 68.2% { 3243 transform: scaleX(0); 3244 } 3245 68.2% { 3246 animation-timing-function: cubic-bezier(0, 0, 0, 1); 3247 } 3248 100% { 3249 transform: scaleX(1); 3250 } 3251} 3252@keyframes mdc-checkbox-checked-unchecked-checkmark-path { 3253 from { 3254 animation-timing-function: cubic-bezier(0.4, 0, 1, 1); 3255 opacity: 1; 3256 stroke-dashoffset: 0; 3257 } 3258 to { 3259 opacity: 0; 3260 stroke-dashoffset: -29.7833385; 3261 } 3262} 3263@keyframes mdc-checkbox-checked-indeterminate-checkmark { 3264 from { 3265 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 3266 transform: rotate(0deg); 3267 opacity: 1; 3268 } 3269 to { 3270 transform: rotate(45deg); 3271 opacity: 0; 3272 } 3273} 3274@keyframes mdc-checkbox-indeterminate-checked-checkmark { 3275 from { 3276 animation-timing-function: cubic-bezier(0.14, 0, 0, 1); 3277 transform: rotate(45deg); 3278 opacity: 0; 3279 } 3280 to { 3281 transform: rotate(360deg); 3282 opacity: 1; 3283 } 3284} 3285@keyframes mdc-checkbox-checked-indeterminate-mixedmark { 3286 from { 3287 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 3288 transform: rotate(-45deg); 3289 opacity: 0; 3290 } 3291 to { 3292 transform: rotate(0deg); 3293 opacity: 1; 3294 } 3295} 3296@keyframes mdc-checkbox-indeterminate-checked-mixedmark { 3297 from { 3298 animation-timing-function: cubic-bezier(0.14, 0, 0, 1); 3299 transform: rotate(0deg); 3300 opacity: 1; 3301 } 3302 to { 3303 transform: rotate(315deg); 3304 opacity: 0; 3305 } 3306} 3307@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark { 3308 0% { 3309 animation-timing-function: linear; 3310 transform: scaleX(1); 3311 opacity: 1; 3312 } 3313 32.8%, 100% { 3314 transform: scaleX(0); 3315 opacity: 0; 3316 } 3317} 3318.mat-mdc-checkbox { 3319 display: inline-block; 3320 position: relative; 3321 -webkit-tap-highlight-color: transparent; 3322} 3323.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-touch-target, 3324.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__native-control, 3325.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__ripple, 3326.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-ripple::before, 3327.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background, 3328.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark, 3329.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path, 3330.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark { 3331 transition: none !important; 3332 animation: none !important; 3333} 3334.mat-mdc-checkbox label { 3335 cursor: pointer; 3336} 3337.mat-mdc-checkbox .mat-internal-form-field { 3338 color: var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface)); 3339 font-family: var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font)); 3340 line-height: var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height)); 3341 font-size: var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size)); 3342 letter-spacing: var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking)); 3343 font-weight: var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight)); 3344} 3345.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive { 3346 pointer-events: auto; 3347} 3348.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input { 3349 cursor: default; 3350} 3351.mat-mdc-checkbox.mat-mdc-checkbox-disabled label { 3352 cursor: default; 3353 color: var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3354} 3355@media (forced-colors: active) { 3356 .mat-mdc-checkbox.mat-mdc-checkbox-disabled label { 3357 color: GrayText; 3358 } 3359} 3360.mat-mdc-checkbox label:empty { 3361 display: none; 3362} 3363.mat-mdc-checkbox .mdc-checkbox__ripple { 3364 opacity: 0; 3365} 3366 3367.mat-mdc-checkbox .mat-mdc-checkbox-ripple, 3368.mdc-checkbox__ripple { 3369 top: 0; 3370 left: 0; 3371 right: 0; 3372 bottom: 0; 3373 position: absolute; 3374 border-radius: 50%; 3375 pointer-events: none; 3376} 3377.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty), 3378.mdc-checkbox__ripple:not(:empty) { 3379 transform: translateZ(0); 3380} 3381 3382.mat-mdc-checkbox-ripple .mat-ripple-element { 3383 opacity: 0.1; 3384} 3385 3386.mat-mdc-checkbox-touch-target { 3387 position: absolute; 3388 top: 50%; 3389 left: 50%; 3390 height: var(--mat-checkbox-touch-target-size, 48px); 3391 width: var(--mat-checkbox-touch-target-size, 48px); 3392 transform: translate(-50%, -50%); 3393 display: var(--mat-checkbox-touch-target-display, block); 3394} 3395 3396.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before { 3397 border-radius: 50%; 3398} 3399 3400.mdc-checkbox__native-control:focus-visible ~ .mat-focus-indicator::before { 3401 content: ""; 3402} 3403`],encapsulation:2,changeDetection:0})}return t})(),v_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[ir,De]})}return t})();var qp=(()=>
3403{class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Yp=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,n,r,o){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o}updateErrorState(){let i=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(r,e)??!1;o!==i&&(this.errorState=o,this._stateChanges.next())}};var IJ=new R("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})});var Fk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[qp,{provide:IJ,useValue:{separatorKeyCodes:[13]}}],imports:[Hi,De]})}return t})();var Ku=new R("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>m(xu)}),Kp="Method not implemented",rr=class{locale;_localeChanges=new O;localeChanges=this._localeChanges;setTime(i,e,n,r){throw new Error(Kp)}getHours(i){throw new Error(Kp)}getMinutes(i){throw new Error(Kp)}getSeconds(i){throw new Error(Kp)}parseTime(i,e){throw new Error(Kp)}addSeconds(i,e){throw new Error(Kp)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let n=this.isValid(i),r=this.isValid(e);return n&&r?!this.compareDate(i,e):n==r}return i==e}sameTime(i,e){if(i&&e){let n=this.isValid(i),r=this.isValid(e);return n&&r?!this.compareTime(i,e):n==r}return i==e}clampDate(i,e,n){return e&&this.compareDate(i,e)<0?e:n&&this.compareDate(i,n)>0?n:i}},Ks=new R("mat-date-formats");var Pk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var AJ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,kJ=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Lk(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var RJ=(()=>{class t extends rr{_matDateLocale=m(Ku,{optional:!0});constructor(){super();let e=m(Ku,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Lk(12,r=>this._format(n,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Lk(31,n=>this._format(e,new Date(2017,0,n+1)))}getDayOfWeekNames(e){let n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Lk(7,r=>this._format(n,new Date(2017,0,r+1)))}getYearName(e){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),n=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return n===7?0:n}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,r){let o=this._createDateWithOverflow(e,n,r);return o.getMonth()!=n,o}today(){return new Date}parse(e,n){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,Ae(P({},n),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,n){return this.addCalendarMonths(e,n*12)}addCalendarMonths(e,n){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+n)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(AJ.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,n,r,o){let a=this.clone(e);return a.setHours(n,r,o,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,n){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let r=e.trim();if(r.length===0)return null;let o=this._parseTimeString(r);if(o===null){let a=r.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(o=this._parseTimeString(a))}return o||this.invalid()}addSeconds(e,n){return new Date(e.getTime()+n*1e3)}_createDateWithOverflow(e,n,r){let o=new Date;return o.setFullYear(e,n,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,n){let r=new Date;return r.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),r.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(r)}_parseTimeString(e){let n=e.toUpperCase().match(kJ);if(n){let r=parseInt(n[1]),o=parseInt(n[2]),a=n[3]==null?void 0:parseInt(n[3]),s=n[4];if(r===12?r=s==="AM"?0:r:s==="PM"&&(r+=12),Bk(r,0,23)&&Bk(o,0,59)&&(a==null||Bk(a,0,59)))return this.setTime(this.today(),r,o,a||0)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function Bk(t,i,e){return!isNaN(t)&&t>=i&&t<=e}
3403var MJ={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var Vk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[NJ()]})}return t})();function NJ(t=MJ){return[{provide:rr,useClass:RJ},{provide:Ks,useValue:t}]}var OJ=["tooltip"],FJ=20;var PJ=new R("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t,{scrollThrottle:FJ})}}),LJ=new R("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var tH="tooltip-panel",BJ={passive:!0},VJ=8,jJ=8,HJ=24,UJ=200,Xs=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_platform=m(gt);_ariaDescriber=m(i_);_focusMonitor=m(oi);_dir=m(an);_injector=m(ie);_viewContainerRef=m(Pt);_mediaMatcher=m(Mp);_document=m(Ce);_renderer=m(ot);_animationsDisabled=lt();_defaultOptions=m(LJ,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=nH;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Pn(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let n=Pn(e);this._disabled!==n&&(this._disabled=n,n?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=xr(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=xr(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let n=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(n)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new O;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=VJ}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(xe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(n=>n()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(n);this._detach(),this._portal=this._portal||new ko(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let n=this._tooltipInstance;n&&(n.isVisible()?n.hide(e):(n._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;
3403if((!this.positionAtOrigin||!e)&&a._origin instanceof Q)return this._overlayRef;this._detach()}let n=this._injector.get(as).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${tH}`,o=cs(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n).withPopoverLocation("global");return o.positionChanges.pipe(xe(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=go(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(PJ)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(xe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(xe(this._destroyed)).subscribe(a=>{a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let n=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();n.withPositions([this._addOffset(P(P({},r.main),o.main)),this._addOffset(P(P({},r.fallback),o.fallback))])}_addOffset(e){let n=jJ,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-n:e.originY==="bottom"?e.offsetY=n:e.originX==="start"?e.offsetX=r?-n:n:e.originX==="end"&&(e.offsetX=r?n:-n),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",n=this.position,r;n=="above"||n=="below"?r={originX:"center",originY:n=="above"?"top":"bottom"}:n=="before"||n=="left"&&e||n=="right"&&!e?r={originX:"start",originY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",n=this.position,r;n=="above"?r={overlayX:"center",overlayY:"bottom"}:n=="below"?r={overlayX:"center",overlayY:"top"}:n=="before"||n=="left"&&e||n=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(n=="after"||n=="right"&&e||n=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Dt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e instanceof Set?Array.from(e):e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return this.position==="above"||this.position==="below"?n==="top"?n="bottom":n==="bottom"&&(n="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:n}}_updateCurrentPositionClass(e){let{overlayY:n,originX:r,originY:o}=e,a;if(n==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=n==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let d=`${this._cssClassPrefix}-${tH}-`;s.removePanelClass(d+this._currentPosition),s.addPanelClass(d+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",e=>{let n=e.targetTouches?.[0],r=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let n;e.x!==void 0&&e.y!==void 0&&(n=e),this.show(void 0,n)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",e=>{let n=e.relatedTarget;(!n||!this._overlayRef?.overlayElement.contains(n))&&this.hide()}),this._addListener("wheel",e=>
3403{if(this._isTooltipVisible()){let n=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;n!==r&&!r.contains(n)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",e),this._addListener("touchcancel",e)}}}_addListener(e,n){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,e,n,BJ))}_isTouchPlatform(){let e=this._defaultOptions?.detectHoverCapability;return typeof e=="function"?!e():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!e&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let n=this._elementRef.nativeElement,r=n.style;(e==="on"||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Dt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=e=>e.type==="keydown"?this._isTooltipVisible()&&e.keyCode===27&&!Ht(e):!0;static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),nH=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=lt();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new O;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>HJ&&e.width>=UJ}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let n=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(n.classList.remove(e?o:r),n.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(n);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(n,r){if(n&1&&ve(OJ,7),n&2){let o;H(o=U())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(n,r){n&1&&T("mouseleave",function(a){return r._handleMouseLeave(a)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(n,r){n&1&&(ft(0,"div",1,0),Ls("animationend",function(a){return r._handleAnimationEnd(a)}),ft(2,"div",2),h(3),_t()()),n&2&&(Be(r.tooltipClass),ee("mdc-tooltip--multiline",r._isMultiline),l(3),S(r.message))},styles:[`.mat-mdc-tooltip { 3404 position: relative; 3405 transform: scale(0); 3406 display: inline-flex; 3407} 3408.mat-mdc-tooltip::before { 3409 content: ""; 3410 top: 0; 3411 right: 0; 3412 bottom: 0; 3413 left: 0; 3414 z-index: -1; 3415 position: absolute; 3416} 3417.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before { 3418 top: -8px; 3419} 3420.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before { 3421 bottom: -8px; 3422} 3423.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before { 3424 left: -8px; 3425} 3426.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before { 3427 right: -8px; 3428} 3429.mat-mdc-tooltip._mat-animation-noopable { 3430 animation: none; 3431 transform: scale(1); 3432} 3433 3434.mat-mdc-tooltip-surface { 3435 word-break: normal;
3436 overflow-wrap: anywhere; 3437 padding: 4px 8px; 3438 min-width: 40px; 3439 max-width: 200px; 3440 min-height: 24px; 3441 max-height: 40vh; 3442 box-sizing: border-box; 3443 overflow: hidden; 3444 text-align: center; 3445 will-change: transform, opacity; 3446 background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface)); 3447 color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface)); 3448 border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small)); 3449 font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font)); 3450 font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size)); 3451 font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight)); 3452 line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height)); 3453 letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking)); 3454} 3455.mat-mdc-tooltip-surface::before { 3456 position: absolute; 3457 box-sizing: border-box; 3458 width: 100%; 3459 height: 100%; 3460 top: 0; 3461 left: 0; 3462 border: 1px solid transparent; 3463 border-radius: inherit; 3464 content: ""; 3465 pointer-events: none; 3466} 3467.mdc-tooltip--multiline .mat-mdc-tooltip-surface { 3468 text-align: left; 3469} 3470[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface { 3471 text-align: right; 3472} 3473 3474.mat-mdc-tooltip-panel { 3475 line-height: normal; 3476} 3477.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive { 3478 pointer-events: none; 3479} 3480 3481@keyframes mat-mdc-tooltip-show { 3482 0% { 3483 opacity: 0; 3484 transform: scale(0.8); 3485 } 3486 100% { 3487 opacity: 1; 3488 transform: scale(1); 3489 } 3490} 3491@keyframes mat-mdc-tooltip-hide { 3492 0% { 3493 opacity: 1; 3494 transform: scale(1); 3495 } 3496 100% { 3497 opacity: 0; 3498 transform: scale(0.8); 3499 } 3500} 3501.mat-mdc-tooltip-show { 3502 animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards; 3503} 3504 3505.mat-mdc-tooltip-hide { 3506 animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards; 3507} 3508`],encapsulation:2,changeDetection:0})}return t})();var GC=new R("MAT_INPUT_VALUE_ACCESSOR");var zJ=["mat-calendar-body",""];function GJ(t,i){return this._trackRow(i)}var cH=(t,i)=>i.id;function WJ(t,i){if(t&1&&(ft(0,"tr",0)(1,"td",3),h(2),_t()()),t&2){let e=_();l(),Fn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),oe("colspan",e.numCols),l(),se(" ",e.label," ")}}function $J(t,i){if(t&1&&(ft(0,"td",3),h(1),_t()),t&2){let e=_(2);Fn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),oe("colspan",e._firstRowOffset),l(),se(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function qJ(t,i){if(t&1){let e=Se();ft(0,"td",6)(1,"button",7),Ls("click",function(r){let o=te(e).$implicit,a=_(2);return ne(a._cellClicked(o,r))})("focus",function(r){let o=te(e).$implicit,a=_(2);return ne(a._emitActiveDateChange(o,r))}),ft(2,"span",8),h(3),_t(),gi(4,"span",9),_t()()}if(t&2){let e=i.$implicit,n=i.$index,r=_().$index,o=_();Fn("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),oe("data-mat-row",r)("data-mat-col",n),l(),Be(e.cssClasses),ee("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",o._isActiveCell(r,n))("mat-calendar-body-range-start",o._isRangeStart(e.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",o._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(e.compareValue,r,n))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(e.compareValue,r,n))("mat-calendar-body-comparison-start",o._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",o._isInPreview(e.compareValue)),An("tabIndex",o._isActiveCell(r,n)?0:-1),oe("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",o._isSelected(e.compareValue))("aria-current",o.todayValue===e.compareValue?"date":null)("aria-describedby",o._getDescribedby(e.compareValue)),l(),ee("mat-calendar-body-selected",o._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",o.todayValue===e.compareValue),l(),se(" ",e.displayValue," ")}}function YJ(t,i){if(t&1&&(ft(0,"tr",1),v(1,$J,2,6,"td",4),He(2,qJ,5,49,"td",5,cH),_t()),t&2){let e=i.$implicit,n=i.$index,r=_();l(),y(n===0&&r._firstRowOffset?1:-1),l(),Ue(e)}}function KJ(t,i){if(t&1&&(u(0,"th",2)(1,"span",6),h(2),c(),u(3,"span",3),h(4),c()()),t&2){let e=i.$implicit;l(2),S(e.long),l(2),S(e.narrow)}}var XJ=["*"];function ZJ(t,i){}function QJ(t,i){if(t&1){let e=Se();u(0,"mat-month-view",4),So("activeDateChange",function(r){te(e);let o=_();return Xo(o.activeDate,r)||(o.activeDate=r),ne(r)}),T("_userSelection",function(r){te(e);let o=_();return ne(o._dateSelected(r))})("dragStarted",function(r){te(e);let o=_();return ne(o._dragStarted(r))})("dragEnded",function(r){te(e);let o=_();return ne(o._dragEnded(r))}),c()}if(t&2){let e=_();xo("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function JJ(t,i){if(t&1){let e=Se();u(0,"mat-year-view",5),So("activeDateChange",function(r){te(e);let o=_();return Xo(o.activeDate,r)||(o.activeDate=r),ne(r)}),T("monthSelected",function(r){te(e);let o=_();return ne(o._monthSelectedInYearView(r))})("selectedChange",function(r){te(e);let o=_();return ne(o._goToDateInView(r,"month"))}),c()}if(t&2){let e=_();xo("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function eee(t,i){if(t&1){let e=Se();u(0,"mat-multi-year-view",6),So("activeDateChange",function(r){te(e);let o=_();return Xo(o.activeDate,r)||(o.activeDate=r),ne(r)}),T("yearSelected",function(r){te(e);let o=_();return ne(o._yearSelectedInMultiYearView(r))})("selectedChange",function(r){te(e);let o=_();return ne(o._goToDateInView(r,"year"))}),c()}if(t&2){let e=_();xo("activeDate",e.activeDate),g("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function tee(t,i){}var nee=["button"],iee=[[["","matDatepickerToggleIcon",""]]],ree=["[matDatepickerToggleIcon]"];function oee(t,i){t&1&&(In(),u(0,"svg",2),x(1,"path",3),c())}var Qp=(()=>{class t{changes=new O;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";
3508switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aee=0,C_=class{value;displayValue;ariaLabel;enabled;compareValue;rawValue;id=aee++;cssClasses;constructor(i,e,n,r,o,a=i,s){this.value=i,this.displayValue=e,this.ariaLabel=n,this.enabled=r,this.compareValue=a,this.rawValue=s,this.cssClasses=o instanceof Set?Array.from(o):o}},see={passive:!1,capture:!0},WC={passive:!0,capture:!0},iH={passive:!0},Zp=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_platform=m(gt);_intl=m(Qp);_eventCleanups;_skipNextFocus=!1;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart=null;comparisonEnd=null;previewStart=null;previewEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedValueChange=new V;previewChange=new V;activeDateChange=new V;dragStarted=new V;dragEnded=new V;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=m(ie);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=m(ot),n=m(pt);this._startDateLabelId=n.getId("mat-calendar-body-start-"),this._endDateLabelId=n.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=n.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=n.getId("mat-calendar-body-comparison-end-"),m(Lt).load(mi),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,o=[e.listen(r,"touchmove",this._touchmoveHandler,see),e.listen(r,"mouseenter",this._enterHandler,WC),e.listen(r,"focus",this._enterHandler,WC),e.listen(r,"mouseleave",this._leaveHandler,WC),e.listen(r,"blur",this._leaveHandler,WC),e.listen(r,"mousedown",this._mousedownHandler,iH),e.listen(r,"touchstart",this._mousedownHandler,iH)];this._platform.isBrowser&&o.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=o})}_cellClicked(e,n){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:n})}_emitActiveDateChange(e,n){e.enabled&&this.activeDateChange.emit({value:e.value,event:n})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let n=e.numCols,{rows:r,numCols:o}=this;(e.rows||n)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(e.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(n||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,n){let r=e*this.numCols+n;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){Dt(()=>{setTimeout(()=>{let n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(this._skipNextFocus=!0),n.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return Uk(e,this.startValue,this.endValue)}_isRangeEnd(e){return zk(e,this.startValue,this.endValue)}_isInRange(e){return Gk(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Uk(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,n,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[n][r-1];if(!o){let a=this.rows[n-1];o=a&&a[a.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,n,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[n][r+1];if(!o){let a=this.rows[n+1];o=a&&a[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return zk(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return Gk(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Uk(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return zk(e,this.previewStart,this.previewEnd)}_isInPreview(e){return Gk(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let n=this._getCellFromElement(e.target);n&&this._ngZone.run(()=>this.previewChange.emit({value:n.enabled?n:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let n=rH(e),r=n?this._getCellFromElement(n):null;n!==e.target&&(this._didDragSinceMouseDown=!0),Hk(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r?.enabled?r:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let n=e.target&&this._getCellFromElement(e.target);!n||!this._isInRange(n.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:n.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let n=Hk(e.target);if(!n){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}n.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(n);this.dragEnded.emit({value:r?.rawValue??null,event:e})})};_touchendHandler=e=>{let n=rH(e);
3508n&&this._mouseupHandler({target:n})};_getCellFromElement(e){let n=Hk(e);if(n){let r=n.getAttribute("data-mat-row"),o=n.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)]?.[parseInt(o)]||null}return null}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Ke],attrs:zJ,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(n,r){n&1&&(v(0,WJ,3,6,"tr",0),He(1,YJ,4,1,"tr",1,GJ,!0),ft(3,"span",2),h(4),_t(),ft(5,"span",2),h(6),_t(),ft(7,"span",2),h(8),_t(),ft(9,"span",2),h(10),_t()),n&2&&(y(r._firstRowOffset<r.labelMinRequiredCells?0:-1),l(),Ue(r.rows),l(2),An("id",r._startDateLabelId),l(),se(" ",r.startDateAccessibleName,` 3509`),l(),An("id",r._endDateLabelId),l(),se(" ",r.endDateAccessibleName,` 3510`),l(),An("id",r._comparisonStartDateLabelId),l(),so(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,` 3511`),l(),An("id",r._comparisonEndDateLabelId),l(),so(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,` 3512`))},styles:[`.mat-calendar-body { 3513 min-width: 224px; 3514} 3515 3516.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 3517 border-color: var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary)); 3518} 3519 3520.mat-calendar-body-label { 3521 height: 0; 3522 line-height: 0; 3523 text-align: start; 3524 padding-left: 4.7142857143%; 3525 padding-right: 4.7142857143%; 3526 font-size: var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size)); 3527 font-weight: var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight)); 3528 color: var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface)); 3529} 3530 3531.mat-calendar-body-hidden-label { 3532 display: none; 3533} 3534 3535.mat-calendar-body-cell-container { 3536 position: relative; 3537 height: 0; 3538 line-height: 0; 3539} 3540 3541.mat-calendar-body-cell { 3542 position: absolute; 3543 top: 0; 3544 left: 0; 3545 width: 100%; 3546 height: 100%; 3547 background: none; 3548 text-align: center; 3549 outline: none; 3550 margin: 0; 3551 font-family: var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font)); 3552 font-size: var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size)); 3553 -webkit-user-select: none; 3554 user-select: none; 3555 cursor: pointer; 3556 outline: none; 3557 border: none; 3558 -webkit-tap-highlight-color: transparent; 3559} 3560.mat-calendar-body-cell::-moz-focus-inner { 3561 border: 0; 3562} 3563 3564.mat-calendar-body-cell::before, 3565.mat-calendar-body-cell::after, 3566.mat-calendar-body-cell-preview { 3567 content: ""; 3568 position: absolute; 3569 top: 5%; 3570 left: 0; 3571 z-index: 0; 3572 box-sizing: border-box; 3573 display: block; 3574 height: 90%; 3575 width: 100%; 3576} 3577 3578.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before, 3579.mat-calendar-body-range-start::after, 3580.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before, 3581.mat-calendar-body-comparison-start::after, 3582.mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 3583 left: 5%; 3584 width: 95%; 3585 border-top-left-radius: 999px; 3586 border-bottom-left-radius: 999px; 3587} 3588[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before, 3589[dir=rtl] .mat-calendar-body-range-start::after, 3590[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before, 3591[dir=rtl] .mat-calendar-body-comparison-start::after, 3592[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 3593 left: 0; 3594 border-radius: 0; 3595 border-top-right-radius: 999px; 3596 border-bottom-right-radius: 999px; 3597} 3598
3599.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before, 3600.mat-calendar-body-range-end::after, 3601.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before, 3602.mat-calendar-body-comparison-end::after, 3603.mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 3604 width: 95%; 3605 border-top-right-radius: 999px; 3606 border-bottom-right-radius: 999px; 3607} 3608[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before, 3609[dir=rtl] .mat-calendar-body-range-end::after, 3610[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before, 3611[dir=rtl] .mat-calendar-body-comparison-end::after, 3612[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 3613 left: 5%; 3614 border-radius: 0; 3615 border-top-left-radius: 999px; 3616 border-bottom-left-radius: 999px; 3617} 3618 3619[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after, 3620[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after { 3621 width: 95%; 3622 border-top-right-radius: 999px; 3623 border-bottom-right-radius: 999px; 3624} 3625 3626.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after, [dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after, 3627.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after, 3628[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after { 3629 width: 90%; 3630} 3631 3632.mat-calendar-body-in-preview { 3633 color: var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary)); 3634} 3635.mat-calendar-body-in-preview .mat-calendar-body-cell-preview { 3636 border-top: dashed 1px; 3637 border-bottom: dashed 1px; 3638} 3639 3640.mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 3641 border-left: dashed 1px; 3642} 3643[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview { 3644 border-left: 0; 3645 border-right: dashed 1px; 3646} 3647 3648.mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 3649 border-right: dashed 1px; 3650} 3651[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview { 3652 border-right: 0; 3653 border-left: dashed 1px; 3654} 3655 3656.mat-calendar-body-disabled { 3657 cursor: default; 3658} 3659.mat-calendar-body-disabled > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 3660 color: var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3661} 3662.mat-calendar-body-disabled > .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 3663 border-color: var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3664} 3665@media (forced-colors: active) { 3666 .mat-calendar-body-disabled { 3667 opacity: 0.5; 3668 } 3669} 3670 3671.mat-calendar-body-cell-content { 3672 top: 5%; 3673 left: 5%; 3674 z-index: 1; 3675 display: flex; 3676 align-items: center; 3677 justify-content: center; 3678 box-sizing: border-box; 3679 width: 90%; 3680 height: 90%; 3681 line-height: 1; 3682 border-width: 1px; 3683 border-style: solid; 3684 border-radius: 999px; 3685 color: var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface)); 3686 border-color: var(--mat-datepicker-calendar-date-outline-color, transparent); 3687} 3688.mat-calendar-body-cell-content.mat-focus-indicator { 3689 position: absolute; 3690} 3691@media (forced-colors: active) { 3692 .mat-calendar-body-cell-content { 3693 border: none; 3694 } 3695} 3696 3697.cdk-keyboard-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical), .cdk-program-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 3698 background-color: var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 3699} 3700 3701@media (hover: hover) { 3702 .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) { 3703 background-color: var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 3704 } 3705} 3706.mat-calendar-body-selected { 3707 background-color: var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary)); 3708 color: var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary)); 3709} 3710.mat-calendar-body-disabled > .mat-calendar-body-selected { 3711 background-color: var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 3712} 3713.mat-calendar-body-selected.mat-calendar-body-today { 3714 box-shadow: inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary)); 3715} 3716 3717.mat-calendar-body-in-range::before { 3718 background: var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)); 3719} 3720 3721.mat-calendar-body-comparison-identical, 3722.mat-calendar-body-in-comparison-range::before { 3723 background: var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)); 3724} 3725 3726.mat-calendar-body-comparison-identical, 3727.mat-calendar-body-in-comparison-range::before { 3728 background: var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)); 3729} 3730 3731.mat-calendar-body-comparison-bridge-start::before, 3732[dir=rtl] .mat-calendar-body-comparison-bridge-end::before { 3733 background: linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%); 3734} 3735 3736.mat-calendar-body-comparison-bridge-end::before, 3737[dir=rtl] .mat-calendar-body-comparison-bridge-start::before { 3738 background: linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%); 3739} 3740 3741.mat-calendar-body-in-range > .mat-calendar-body-comparison-identical, 3742.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after { 3743 background: var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container)); 3744} 3745 3746.mat-calendar-body-comparison-identical.mat-calendar-body-selected, 3747.mat-calendar-body-in-comparison-range > .mat-calendar-body-selected { 3748 background: var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary)); 3749} 3750 3751@media (forced-colors: active) { 3752 .mat-datepicker-popup:not(:empty), 3753 .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected { 3754 outline: solid 1px; 3755 } 3756 .mat-calendar-body-today { 3757 outline: dotted 1px; 3758 } 3759 .mat-calendar-body-cell::before, 3760 .mat-calendar-body-cell::after, 3761 .mat-calendar-body-selected { 3762 background: none; 3763 } 3764 .mat-calendar-body-in-range::before, 3765 .mat-calendar-body-comparison-bridge-start::before, 3766 .mat-calendar-body-comparison-bridge-end::before { 3767 border-top: solid 1px; 3768 border-bottom: solid 1px; 3769 } 3770 .mat-calendar-body-range-start::before { 3771 border-left: solid 1px; 3772 } 3773 [dir=rtl] .mat-calendar-body-range-start::before { 3774 border-left: 0; 3775 border-right: solid 1px; 3776 } 3777 .mat-calendar-body-range-end::before { 3778 border-right: solid 1px; 3779 } 3780 [dir=rtl] .mat-calendar-body-range-end::before { 3781 border-right: 0; 3782 border-left: solid 1px; 3783 } 3784 .mat-calendar-body-in-comparison-range::before { 3785 border-top: dashed 1px; 3786 border-bottom: dashed 1px; 3787 } 3788 .mat-calendar-body-comparison-start::before { 3789 border-left: dashed 1px; 3790 } 3791 [dir=rtl] .mat-calendar-body-comparison-start::before { 3792 border-left: 0; 3793 border-right: dashed 1px; 3794 }
3795 .mat-calendar-body-comparison-end::before { 3796 border-right: dashed 1px; 3797 } 3798 [dir=rtl] .mat-calendar-body-comparison-end::before { 3799 border-right: 0; 3800 border-left: dashed 1px; 3801 } 3802} 3803`],encapsulation:2,changeDetection:0})}return t})();function jk(t){return t?.nodeName==="TD"}function Hk(t){let i;return jk(t)?i=t:jk(t.parentNode)?i=t.parentNode:jk(t.parentNode?.parentNode)&&(i=t.parentNode.parentNode),i?.getAttribute("data-mat-row")!=null?i:null}function Uk(t,i,e){return e!==null&&i!==e&&t<e&&t===i}function zk(t,i,e){return i!==null&&i!==e&&t>=i&&t===e}function Gk(t,i,e,n){return n&&i!==null&&e!==null&&i!==e&&t>=i&&t<=e}function rH(t){let i=t.changedTouches[0];return document.elementFromPoint(i.clientX,i.clientY)}var Ea=class{start;end;_disableStructuralEquivalency;constructor(i,e){this.start=i,this.end=e}},D_=(()=>{class t{selection;_adapter;_selectionChanged=new O;selectionChanged=this._selectionChanged;constructor(e,n){this.selection=e,this._adapter=n,this.selection=e}updateSelection(e,n){let r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:n,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(n){wu()};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),lee=(()=>{class t extends D_{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(n){return new(n||t)(F(rr))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var dH={provide:D_,useFactory:()=>m(D_,{optional:!0,skipSelf:!0})||new lee(m(rr))};var uH=new R("MAT_DATE_RANGE_SELECTION_STRATEGY");var Wk=7,cee=0,oH=(()=>{class t{_changeDetectorRef=m(Ee);_dateFormats=m(Ks,{optional:!0});_dateAdapter=m(rr,{optional:!0});_dir=m(an,{optional:!0});_rangeStrategy=m(uH,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ea?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;activeDrag=null;selectedChange=new V;_userSelection=new V;dragStarted=new V;dragEnded=new V;activeDateChange=new V;_matCalendarBody;_monthLabel=Z("");_weeks=Z([]);_firstWeekOffset=Z(0);_rangeStart=Z(null);_rangeEnd=Z(null);_comparisonRangeStart=Z(null);_comparisonRangeEnd=Z(null);_previewStart=Z(null);_previewEnd=Z(null);_isRange=Z(!1);_todayDate=Z(null);_weekdays=Z([]);constructor(){m(Lt).load(Ws),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(null)).subscribe(()=>this._init())}ngOnChanges(e){let n=e.comparisonStart||e.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let n=e.value,r=this._getDateFromDayOfMonth(n),o,a;this._selected instanceof Ea?(o=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):o=a=this._getDateInCurrentMonth(this._selected),(o!==n||a!==n)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd()!=null&&!Ht(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((Wk+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%Wk),this._initWeek
3803days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:n}){if(this._rangeStrategy){let r=n?n.rawValue:null,o=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart.set(this._getCellCompareValue(o.start)),this._previewEnd.set(this._getCellCompareValue(o.end)),this.activeDrag&&r){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);a&&(this._previewStart.set(this._getCellCompareValue(a.start)),this._previewEnd.set(this._getCellCompareValue(a.end)))}}}_dragEnded(e){if(this.activeDrag)if(e.value){let n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:n??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),o=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:n[s],id:cee++}));this._weekdays.set(o.slice(e).concat(o.slice(0,e)))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames(),r=[[]];for(let o=0,a=this._firstWeekOffset();o<e;o++,a++){a==Wk&&(r.push([]),a=0);let s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),o+1),d=this._shouldEnableDate(s),p=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel),f=this.dateClass?this.dateClass(s,"month"):void 0;r[r.length-1].push(new C_(o+1,n[o],p,d,f,this._getCellCompareValue(s),s))}this._weeks.set(r)}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,n){return!!(e&&n&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n))}_getCellCompareValue(e){if(e){let n=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),o=this._dateAdapter.getDate(e);return new Date(n,r,o).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof Ea?(this._rangeStart.set(this._getCellCompareValue(e.start)),this._rangeEnd.set(this._getCellCompareValue(e.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(e)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-month-view"]],viewQuery:function(n,r){if(n&1&&ve(Zp,5),n&2){let o;H(o=U())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Ke],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(n,r){n&1&&(u(0,"table",0)(1,"thead",1)(2,"tr"),He(3,KJ,5,2,"th",2,cH),c(),u(5,"tr",3),x(6,"th",4),c()(),u(7,"tbody",5),T("selectedValueChange",function(a){return r._dateSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("previewChange",function(a){return r._previewChanged(a)})("dragStarted",function(a){return r.dragStarted.emit(a)})("dragEnded",function(a){return r._dragEnded(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),c()()),n&2&&(l(3),Ue(r._weekdays()),l(4),g("label",r._monthLabel())("rows",r._weeks())("todayValue",r._todayDate(
3803))("startValue",r._rangeStart())("endValue",r._rangeEnd())("comparisonStart",r._comparisonRangeStart())("comparisonEnd",r._comparisonRangeEnd())("previewStart",r._previewStart())("previewEnd",r._previewEnd())("isRange",r._isRange())("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[Zp],encapsulation:2,changeDetection:0})}return t})(),aa=24,$k=4,aH=(()=>{class t{_changeDetectorRef=m(Ee);_dateAdapter=m(rr,{optional:!0});_dir=m(an,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),mH(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ea?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;selectedChange=new V;yearSelected=new V;activeDateChange=new V;_matCalendarBody;_years=Z([]);_todayYear=Z(0);_selectedYear=Z(null);constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));let n=this._dateAdapter.getYear(this._activeDate)-y_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),r=[];for(let o=0,a=[];o<aa;o++)a.push(n+o),a.length==$k&&(r.push(a.map(s=>this._createCellForYear(s))),a=[]);this._years.set(r),this._changeDetectorRef.markForCheck()}_yearSelected(e){let n=e.value,r=this._dateAdapter.createDate(n,0,1),o=this._getDateFromYear(n);this.yearSelected.emit(r),this.selectedChange.emit(o)}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromYear(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-$k);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,$k);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-y_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,aa-y_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-aa*10:-aa);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?aa*10:aa);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return y_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let n=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));return this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),r))}
3803_createCellForYear(e){let n=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(n),o=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new C_(e,r,r,this._shouldEnableYear(e),o)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let n=this._dateAdapter.createDate(e,0,1);for(let r=n;this._dateAdapter.getYear(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(e){if(this._selectedYear.set(null),e instanceof Ea){let n=e.start||e.end;n&&this._selectedYear.set(this._dateAdapter.getYear(n))}else e&&this._selectedYear.set(this._dateAdapter.getYear(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(n,r){if(n&1&&ve(Zp,5),n&2){let o;H(o=U())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(n,r){n&1&&(u(0,"table",0)(1,"thead",1)(2,"tr"),x(3,"th",2),c()(),u(4,"tbody",3),T("selectedValueChange",function(a){return r._yearSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),c()()),n&2&&(l(4),g("rows",r._years())("todayValue",r._todayYear())("startValue",r._selectedYear())("endValue",r._selectedYear())("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))}
3803,dependencies:[Zp],encapsulation:2,changeDetection:0})}return t})();function mH(t,i,e,n,r){let o=t.getYear(i),a=t.getYear(e),s=pH(t,n,r);return Math.floor((o-s)/aa)===Math.floor((a-s)/aa)}function y_(t,i,e,n){let r=t.getYear(i);return dee(r-pH(t,e,n),aa)}function pH(t,i,e){let n=0;return e?n=t.getYear(e)-aa+1:i&&(n=t.getYear(i)),n}function dee(t,i){return(t%i+i)%i}var sH=(()=>{class t{_changeDetectorRef=m(Ee);_dateFormats=m(Ks,{optional:!0});_dateAdapter=m(rr,{optional:!0});_dir=m(an,{optional:!0});_rerenderSubscription=_e.EMPTY;_selectionKeyPressed=!1;get activeDate(){return this._activeDate}set activeDate(e){let n=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ea?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected=null;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;selectedChange=new V;monthSelected=new V;activeDateChange=new V;_matCalendarBody;_months=Z([]);_yearLabel=Z("");_todayMonth=Z(null);_selectedMonth=Z(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Re(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let n=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(r);let o=this._getDateFromMonth(n);this.selectedChange.emit(o)}_updateActiveDate(e){let n=e.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(n),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let n=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let e=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(r=>this._createCellForMonth(r,e[r])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,n){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(r,"year"):void 0;return new C_(e,n.toLocaleUpperCase(),o,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){let n=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(n,e)||this._isYearAndMonthBeforeMinDate(n,e))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(n,e,1);for(let o=r;this._dateAdapter.getMonth(o)==e;
3803o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(e,n){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&n>o}return!1}_isYearAndMonthBeforeMinDate(e,n){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return e<r||e===r&&n<o}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(e){e instanceof Ea?this._selectedMonth.set(this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end)):this._selectedMonth.set(this._getMonthInCurrentYear(e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-year-view"]],viewQuery:function(n,r){if(n&1&&ve(Zp,5),n&2){let o;H(o=U())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(n,r){n&1&&(u(0,"table",0)(1,"thead",1)(2,"tr"),x(3,"th",2),c()(),u(4,"tbody",3),T("selectedValueChange",function(a){return r._monthSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),c()()),n&2&&(l(4),g("label",r._yearLabel())("rows",r._months())("todayValue",r._todayMonth())("startValue",r._selectedMonth())("endValue",r._selectedMonth())("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._dateAdapter.getMonth(r.activeDate)))}
3803,dependencies:[Zp],encapsulation:2,changeDetection:0})}return t})(),hH=(()=>{class t{_intl=m(Qp);calendar=m(qk);_dateAdapter=m(rr,{optional:!0});_dateFormats=m(Ks,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){m(Lt).load(Ws);let e=m(Ee);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),e.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-aa))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:aa))}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){let e=this.calendar,n=this._intl,r=this._dateAdapter;e.currentView==="month"?(this._periodButtonText=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=n.switchToMultiYearViewLabel,this._prevButtonLabel=n.prevMonthLabel,this._nextButtonLabel=n.nextMonthLabel):e.currentView==="year"?(this._periodButtonText=r.getYearName(e.activeDate),this._periodButtonDescription=r.getYearName(e.activeDate),this._periodButtonLabel=n.switchToMonthViewLabel,this._prevButtonLabel=n.prevYearLabel,this._nextButtonLabel=n.nextYearLabel):(this._periodButtonText=n.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=n.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=n.switchToMonthViewLabel,this._prevButtonLabel=n.prevMultiYearLabel,this._nextButtonLabel=n.nextMultiYearLabel)}_isSameView(e,n){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(n):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(n):mH(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let n=this._dateAdapter.getYear(this.calendar.activeDate)-y_(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=n+aa-1,o=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1));return[o,a]}_periodButtonLabelId=m(pt).getId("mat-calendar-period-label-");static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:XJ,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(n,r){n&1&&(Ie(),u(0,"div",0)(1,"div",1)(2,"span",2),h(3),c(),u(4,"button",3),T("click",function(){return r.currentPeriodClicked()}),u(5,"span",4),h(6),c(),In(),u(7,"svg",5),x(8,"polygon",6),c()(),$o(),x(9,"div",7),re(10),u(11,"button",8),T("click",function(){return r.previousClicked()}),In(),u(12,"svg",9),x(13,"path",10),c()(),$o(),u(14,"button",11),T("click",function(){return r.nextClicked()}),In(),u(15,"svg",9),x(16,"path",12),c()()()()),n&2&&(l(2),g("id",r._periodButtonLabelId),l(),S(r.periodButtonDescription),l(),oe("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),l(2),S(r.periodButtonText),l(),ee("mat-calendar-invert",r.calendar.currentView!=="month"),l(4),g("disabled",!r.previousEnabled())("matTooltip",r.prevButtonLabel),oe("aria-label",r.prevButtonLabel),l(3),g("disabled",!r.nextEnabled())("matTooltip",r.nextButtonLabel),oe("aria-label",r.nextButtonLabel))},dependencies:[Yn,fr,Xs],encapsulation:2,changeDetection:0})}return t})(),qk=(()=>{class t{_dateAdapter=m(rr,{optional:!0});_dateFormats=m(Ks,{optional:!0});_changeDetectorRef=m(Ee);_elementRef=m(Q);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt=null;startView="month";get selected(){return this._selected}set selected(e){e instanceof Ea?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected=null;
3803get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate=null;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate=null;dateFilter;dateClass;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;selectedChange=new V;yearSelected=new V;monthSelected=new V;viewChanged=new V(!0);_userSelection=new V;_userDragDrop=new V;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let n=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&(this.stateChanges.next(),this.viewChanged.emit(n))}_currentView;_activeDrag=null;stateChanges=new O;constructor(){this._intlChanges=m(Qp).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new ko(this.headerComponent||hH),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let n=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,o=n||r||e.dateFilter;if(o&&!o.firstChange){let a=this._getCurrentViewComponent();a&&(this._elementRef.nativeElement.contains(Io())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()?._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()?._init()}_dateSelected(e){let n=e.value;(this.selected instanceof Ea||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,n){this.activeDate=e,this.currentView=n}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-calendar"]],viewQuery:function(n,r){if(n&1&&ve(oH,5)(sH,5)(aH,5),n&2){let o;H(o=U())&&(r.monthView=o.first),H(o=U())&&(r.yearView=o.first),H(o=U())&&(r.multiYearView=o.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[me([dH]),Ke],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(n,r){if(n&1&&(fe(0,ZJ,0,0,"ng-template",0),u(1,"div",1),v(2,QJ,1,11,"mat-month-view",2)(3,JJ,1,6,"mat-year-view",3)(4,eee,1,6,"mat-multi-year-view",3),c()),n&2){let o;g("cdkPortalOutlet",r._calendarHeaderPortal),l(2),y((o=r.currentView)==="month"?2:o==="year"?3:o==="multi-year"?4:-1)}},dependencies:[ho,sC,oH,sH,aH],styles:[`.mat-calendar { 3804 display: block; 3805 line-height: normal; 3806 font-family: var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font)); 3807 font-size: var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size)); 3808} 3809 3810.mat-calendar-header { 3811 padding: 8px 8px 0 8px; 3812} 3813 3814.mat-calendar-content { 3815 padding: 0 8px 8px 8px; 3816 outline: none; 3817} 3818
3819.mat-calendar-controls { 3820 display: flex; 3821 align-items: center; 3822 margin: 5% calc(4.7142857143% - 16px); 3823} 3824 3825.mat-calendar-spacer { 3826 flex: 1 1 auto; 3827} 3828 3829.mat-calendar-period-button { 3830 min-width: 0; 3831 margin: 0 8px; 3832 font-size: var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size)); 3833 font-weight: var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight)); 3834 --mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant)); 3835} 3836 3837.mat-calendar-arrow { 3838 display: inline-block; 3839 width: 10px; 3840 height: 5px; 3841 margin: 0 0 0 5px; 3842 vertical-align: middle; 3843 fill: var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant)); 3844} 3845.mat-calendar-arrow.mat-calendar-invert { 3846 transform: rotate(180deg); 3847} 3848[dir=rtl] .mat-calendar-arrow { 3849 margin: 0 5px 0 0; 3850} 3851@media (forced-colors: active) { 3852 .mat-calendar-arrow { 3853 fill: CanvasText; 3854 } 3855} 3856 3857.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled), 3858.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled) { 3859 color: var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant)); 3860} 3861[dir=rtl] .mat-calendar-previous-button, 3862[dir=rtl] .mat-calendar-next-button { 3863 transform: rotate(180deg); 3864} 3865 3866.mat-calendar-table { 3867 border-spacing: 0; 3868 border-collapse: collapse; 3869 width: 100%; 3870} 3871 3872.mat-calendar-table-header th { 3873 text-align: center; 3874 padding: 0 0 8px 0; 3875 color: var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant)); 3876 font-size: var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size)); 3877 font-weight: var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight)); 3878} 3879 3880.mat-calendar-table-header-divider { 3881 position: relative; 3882 height: 1px; 3883} 3884.mat-calendar-table-header-divider::after { 3885 content: ""; 3886 position: absolute; 3887 top: 0; 3888 left: -8px; 3889 right: -8px; 3890 height: 1px; 3891 background: var(--mat-datepicker-calendar-header-divider-color, transparent); 3892} 3893 3894.mat-calendar-body-cell-content::before { 3895 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1); 3896} 3897 3898.mat-calendar-body-cell:focus-visible .mat-focus-indicator::before { 3899 content: ""; 3900} 3901`],encapsulation:2,changeDetection:0})}return t})(),uee=new R("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}}),fH=(()=>{class t{_elementRef=m(Q);_animationsDisabled=lt();_changeDetectorRef=m(Ee);_globalModel=m(D_);_dateAdapter=m(rr);_ngZone=m(le);_rangeSelectionStrategy=m(uH,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart=null;comparisonEnd=null;startDateAccessibleName=null;endDateAccessibleName=null;_isAbove=!1;_animationDone=new O;_isAnimating=!1;_closeButtonText;_closeButtonFocused=!1;_actionsPortal=null;_dialogLabelId=null;constructor(){if(m(Lt).load(Ws),this._closeButtonText=m(Qp).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,n=m(ot);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"animationstart",this._handleAnimationEvent),n.listen(e,"animationend",this._handleAnimationEvent),n.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let n=this._model.selection,r=e.value,o=n instanceof Ea;if(o&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(r,n,e.event);this._model.updateSelection(a,this)}else r&&(o||!this._dateAdapter.sameDate(r,n))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let n=this._elementRef.nativeElement;e.target!==n||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",n.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};
3901_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,n){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,n&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(n,r){if(n&1&&ve(qk,5),n&2){let o;H(o=U())&&(r._calendar=o.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(n,r){n&2&&(Be(r.color?"mat-"+r.color:""),ee("mat-datepicker-content-touch",r.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!r._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"mat-calendar",1),T("yearSelected",function(a){return r.datepicker._selectYear(a)})("monthSelected",function(a){return r.datepicker._selectMonth(a)})("viewChanged",function(a){return r.datepicker._viewChanged(a)})("_userSelection",function(a){return r._handleUserSelection(a)})("_userDragDrop",function(a){return r._handleUserDragDrop(a)}),c(),fe(2,tee,0,0,"ng-template",2),u(3,"button",3),T("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),h(4),c()()),n&2&&(ee("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),oe("aria-modal",!0)("aria-labelledby",r._dialogLabelId??void 0),l(),Be(r.datepicker.panelClass),g("id",r.datepicker.id)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),l(),g("cdkPortalOutlet",r._actionsPortal),l(),ee("cdk-visually-hidden",!r._closeButtonFocused),g("color",r.color||"primary"),l(),S(r._closeButtonText))},dependencies:[XA,qk,ho,Yn],styles:[`@keyframes _mat-datepicker-content-dropdown-enter { 3902 from { 3903 opacity: 0; 3904 transform: scaleY(0.8); 3905 } 3906 to { 3907 opacity: 1; 3908 transform: none; 3909 } 3910} 3911@keyframes _mat-datepicker-content-dialog-enter { 3912 from { 3913 opacity: 0; 3914 transform: scale(0.8); 3915 } 3916 to { 3917 opacity: 1; 3918 transform: none; 3919 } 3920} 3921@keyframes _mat-datepicker-content-exit { 3922 from { 3923 opacity: 1; 3924 } 3925 to { 3926 opacity: 0; 3927 } 3928} 3929.mat-datepicker-content { 3930 display: block; 3931 background-color: var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high)); 3932 color: var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface)); 3933 box-shadow: var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)); 3934 border-radius: var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large)); 3935} 3936.mat-datepicker-content.mat-datepicker-content-animations-enabled { 3937 animation: _mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1); 3938} 3939.mat-datepicker-content .mat-calendar { 3940 width: 296px; 3941 height: 354px; 3942} 3943.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar { 3944 height: auto; 3945} 3946.mat-datepicker-content .mat-datepicker-close-button { 3947 position: absolute; 3948 top: 100%; 3949 left: 0; 3950 margin-top: 8px; 3951} 3952.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button { 3953 display: none; 3954} 3955 3956.mat-datepicker-content-container { 3957 display: flex; 3958 flex-direction: column; 3959 justify-content: space-between; 3960} 3961 3962.mat-datepicker-content-touch { 3963 display: block; 3964 max-height: 80vh; 3965 box-shadow: var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)); 3966 border-radius: var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large)); 3967 position: relative; 3968 overflow: visible; 3969 min-height: fit-content; 3970} 3971.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled { 3972 animation: _mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1); 3973} 3974.mat-datepicker-content-touch .mat-datepicker-content-container { 3975 min-height: 312px; 3976 max-height: 788px; 3977 min-width: 250px; 3978 max-width: 750px; 3979} 3980.mat-datepicker-content-touch .mat-calendar { 3981 width: 100%; 3982 height: auto; 3983} 3984 3985.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled { 3986 animation: _mat-datepicker-content-exit 100ms linear; 3987} 3988 3989@media all and (orientation: landscape) { 3990 .mat-datepicker-content-touch .mat-datepicker-content-container { 3991 width: 64vh; 3992 height: 80vh; 3993 } 3994} 3995@media all and (orientation: portrait) { 3996 .mat-datepicker-content-touch .mat-datepicker-content-container { 3997 width: 80vw; 3998 height: 100vw; 3999 } 4000 .mat-datepicker-content-touch .mat-datepicker-content-container-with-actions { 4001 height: 115vw; 4002 } 4003} 4004`],encapsulation:2,changeDetection:0})}return t})(),lH=(()=>{class t{_injector=m(ie);
4004_viewContainerRef=m(Pt);_dateAdapter=m(rr,{optional:!0});_dir=m(an,{optional:!0});_model=m(D_);_animationsDisabled=lt();_scrollStrategy=m(uee);_inputStateChanges=_e.EMPTY;_document=m(Ce);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt=null;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new V;monthSelected=new V;viewChanged=new V(!0);dateClass;openedStream=new V;closedStream=new V;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=oj(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=m(pt).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef=null;_componentRef=null;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal=null;datepickerInput;stateChanges=new O;_changeDetectorRef=m(Ee);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let n=e.xPosition||e.yPosition;if(n&&!n.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof Up&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=Io(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:r,location:o}=this._componentRef;r._animationDone.pipe(We(1)).subscribe(()=>{let a=this._document.activeElement;e&&(!a||a===this._document.activeElement||o.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),r._startExitAnimation()}e?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,n=new ko(fH,this._viewContainerRef),r=this._overlayRef=go(this._injector,new fo({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?Ys(this._injector):this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`,disableAnimations:this._animationsDisabled}));this._getCloseStream(r).subscribe(o=>{o&&o.preventDefault(),this.close()}
4004),r.keydownEvents().subscribe(o=>{let a=o.keyCode;(a===38||a===40||a===37||a===39||a===33||a===34)&&o.preventDefault()}),this._componentRef=r.attach(n),this._forwardContentValues(this._componentRef.instance),e||Dt(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return Ca(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=cs(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let n=this.xPosition==="end"?"end":"start",r=n==="start"?"end":"start",o=this.yPosition==="above"?"bottom":"top",a=o==="top"?"bottom":"top";return e.withPositions([{originX:n,originY:a,overlayX:n,overlayY:o},{originX:n,originY:o,overlayX:n,overlayY:a},{originX:r,originY:a,overlayX:r,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:a}])}_getCloseStream(e){let n=["ctrlKey","shiftKey","metaKey"];return ut(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(ae(r=>r.keyCode===27&&!Ht(r)||this.datepickerInput&&Ht(r,"altKey")&&r.keyCode===38&&n.every(o=>!Ht(r,o)))))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",q],disabled:[2,"disabled","disabled",q],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",q],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",q]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Ke]})}return t})(),zi=(()=>{class t extends lH{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[me([dH,{provide:lH,useExisting:t}]),he],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0})}return t})(),Xp=class{target;targetElement;value=null;constructor(i,e){this.target=i,this.targetElement=e,this.value=this.target.value}},mee=(()=>{class t{_elementRef=m(Q);_dateAdapter=m(rr,{optional:!0});_dateFormats=m(Ks,{optional:!0});_isInitialized=!1;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e,!0)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let n=e,r=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&r.blur&&r.blur()}_disabled;dateChange=new V;dateInput=new V;stateChanges=new O;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=_e.EMPTY;_localeSubscription=_e.EMPTY;_pendingValue=null;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!n||this._matchesFilter(n)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMinDate();return!r||!n||this._dateAdapter.compareDate(r,n)<=0?null:{matDatepickerMin:{min:r,actual:n}}};_maxValidator=e=>{let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMaxDate();return!r||!n||this._dateAdapter.compareDate(r,n)>=0?null:{matDatepickerMax:{max:r,actual:n}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){let r=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Xp(this,this._elementRef.nativeElement)),this.dateChange.emit(new Xp(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value,!0)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){pee(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}
4004registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e,e!==this.value)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let n=["ctrlKey","shiftKey","metaKey"];Ht(e,"altKey")&&e.keyCode===40&&n.every(o=>!Ht(e,o))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let n=e.target.value,r=this._lastValueValid,o=this._dateAdapter.parse(n,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);let a=!this._dateAdapter.sameDate(o,this.value);!o||a?this._cvaOnChange(o):(n&&!this.value&&this._cvaOnChange(o),r!==this._lastValueValid&&this._validatorOnChange()),a&&(this._assignValue(o),this.dateInput.emit(new Xp(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Xp(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e,n){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),n&&this._formatValue(e)}_matchesFilter(e){let n=this._getDateFilter();return!n||n(e)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",q]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ke]})}return t})();function pee(t,i){let e=Object.keys(t);for(let n of e){let{previousValue:r,currentValue:o}=t[n];if(i.isDateInstance(r)&&i.isDateInstance(o)){if(!i.sameDate(r,o))return!0}else return!0}return!1}var hee={provide:er,useExisting:bn(()=>pi),multi:!0},fee={provide:Qo,useExisting:bn(()=>pi),multi:!0},pi=(()=>{class t extends mee{_formField=m(Jl,{optional:!0});_closedSubscription=_e.EMPTY;_openedSubscription=_e.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=Z(null);get min(){return this._min}set min(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}_min=null;get max(){return this._max}set max(e){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}_max=null;get dateFilter(){return this._dateFilter}set dateFilter(e){let n=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}_dateFilter;_validator=null;constructor(){super(),this._validator=G.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,r){n&1&&T("input",function(a){return r._onInput(a)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(a){return r._onKeydown(a)}),n&2&&(An("disabled",r.disabled),oe("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[me([hee,fee,{provide:GC,useExisting:t}]),he]})}return t})(),gee=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),Ri=(()=>{class t{_intl=m(Qp);_changeDetectorRef=m(Ee);_stateChanges=_e.EMPTY;datepicker;tabIndex=null;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple=!1;_customIcon;_button;
4004constructor(){let e=m(new di("tabindex"),{optional:!0}),n=Number(e);this.tabIndex=n||n===0?n:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:B(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:B(),r=this.datepicker?ut(this.datepicker.openedStream,this.datepicker.closedStream):B();this._stateChanges.unsubscribe(),this._stateChanges=ut(this._intl.changes,e,n,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,gee,5),n&2){let a;H(a=U())&&(r._customIcon=a.first)}},viewQuery:function(n,r){if(n&1&&ve(nee,5),n&2){let o;H(o=U())&&(r._button=o.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,r){n&1&&T("click",function(a){return r._open(a)}),n&2&&(oe("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),ee("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&r.datepicker.color==="accent")("mat-warn",r.datepicker&&r.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",q],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Ke],ngContentSelectors:ree,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,r){n&1&&(Ie(iee),u(0,"button",1,0),v(2,oee,2,0,":svg:svg",2),re(3),c()),n&2&&(g("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled)("disableRipple",r.disableRipple),oe("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("aria-expanded",r.datepicker?r.datepicker.opened:null),l(2),y(r._customIcon?-1:2))},dependencies:[fr],styles:[`.mat-datepicker-toggle { 4005 pointer-events: auto; 4006 color: var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant)); 4007} 4008.mat-datepicker-toggle button { 4009 color: inherit; 4010} 4011 4012.mat-datepicker-toggle-active { 4013 color: var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary)); 4014} 4015 4016@media (forced-colors: active) { 4017 .mat-datepicker-toggle-default-icon { 4018 color: CanvasText; 4019 } 4020} 4021`],encapsulation:2,changeDetection:0})}return t})();var Yk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[Qp],imports:[_o,Ui,Ql,pr,fH,Ri,hH,De,ur]})}return t})();function _ee(t,i){}var Jt=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},Kk="mdc-dialog--open",gH="mdc-dialog--opening",_H="mdc-dialog--closing",bee=150,vee=75,yee=(()=>{class t extends __{_animationStateChanged=new V;_animationsEnabled=!lt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?vH(this._config.enterAnimationDuration)??bee:0;_exitAnimationDuration=this._animationsEnabled?vH(this._config.exitAnimationDuration)??vee:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(bH,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(gH,Kk)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Kk),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Kk),this._animationsEnabled?(this._hostElement.style.setProperty(bH,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(_H)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(gH,_H)}_waitForAnimationToComplete(e,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let n=super.attachComponentPortal(e);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,r){n&2&&(An("id",r._config.id),oe("aria-modal",r._config.ariaModal)("role",r._
vendor: 5,842 bytes, lines 4021-4193
4021config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ee("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[he],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,r){n&1&&(u(0,"div",0)(1,"div",1),fe(2,_ee,0,0,"ng-template",2),c()())},dependencies:[ho],styles:[`.mat-mdc-dialog-container { 4022 width: 100%; 4023 height: 100%; 4024 display: block; 4025 box-sizing: border-box; 4026 max-height: inherit; 4027 min-height: inherit; 4028 min-width: inherit; 4029 max-width: inherit; 4030 outline: 0; 4031} 4032 4033.cdk-overlay-pane.mat-mdc-dialog-panel { 4034 max-width: var(--mat-dialog-container-max-width, 560px); 4035 min-width: var(--mat-dialog-container-min-width, 280px); 4036} 4037@media (max-width: 599px) { 4038 .cdk-overlay-pane.mat-mdc-dialog-panel { 4039 max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px)); 4040 } 4041} 4042 4043.mat-mdc-dialog-inner-container { 4044 display: flex; 4045 flex-direction: row; 4046 align-items: center; 4047 justify-content: space-around; 4048 box-sizing: border-box; 4049 height: 100%; 4050 opacity: 0; 4051 transition: opacity linear var(--mat-dialog-transition-duration, 0ms); 4052 max-height: inherit; 4053 min-height: inherit; 4054 min-width: inherit; 4055 max-width: inherit; 4056} 4057.mdc-dialog--closing .mat-mdc-dialog-inner-container { 4058 transition: opacity 75ms linear; 4059 transform: none; 4060} 4061.mdc-dialog--open .mat-mdc-dialog-inner-container { 4062 opacity: 1; 4063} 4064._mat-animation-noopable .mat-mdc-dialog-inner-container { 4065 transition: none; 4066} 4067 4068.mat-mdc-dialog-surface { 4069 display: flex; 4070 flex-direction: column; 4071 flex-grow: 0; 4072 flex-shrink: 0; 4073 box-sizing: border-box; 4074 width: 100%; 4075 height: 100%; 4076 position: relative; 4077 overflow-y: auto; 4078 outline: 0; 4079 transform: scale(0.8); 4080 transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1); 4081 max-height: inherit; 4082 min-height: inherit; 4083 min-width: inherit; 4084 max-width: inherit; 4085 box-shadow: var(--mat-dialog-container-elevation-shadow, none); 4086 border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px)); 4087 background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white)); 4088} 4089[dir=rtl] .mat-mdc-dialog-surface { 4090 text-align: right; 4091} 4092.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface { 4093 transform: none; 4094} 4095._mat-animation-noopable .mat-mdc-dialog-surface { 4096 transition: none; 4097} 4098.mat-mdc-dialog-surface::before { 4099 position: absolute; 4100 box-sizing: border-box; 4101 width: 100%; 4102 height: 100%; 4103 top: 0; 4104 left: 0; 4105 border: 2px solid transparent; 4106 border-radius: inherit; 4107 content: ""; 4108 pointer-events: none; 4109} 4110 4111.mat-mdc-dialog-title { 4112 display: block; 4113 position: relative; 4114 flex-shrink: 0; 4115 box-sizing: border-box; 4116 margin: 0 0 1px; 4117 padding: var(--mat-dialog-headline-padding, 6px 24px 13px); 4118} 4119.mat-mdc-dialog-title::before { 4120 display: inline-block; 4121 width: 0; 4122 height: 40px; 4123 content: ""; 4124 vertical-align: 0; 4125} 4126[dir=rtl] .mat-mdc-dialog-title { 4127 text-align: right; 4128} 4129.mat-mdc-dialog-container .mat-mdc-dialog-title { 4130 color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 4131 font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit)); 4132 line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem)); 4133 font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem)); 4134 font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400)); 4135 letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em)); 4136} 4137 4138.mat-mdc-dialog-content { 4139 display: block; 4140 flex-grow: 1; 4141 box-sizing: border-box; 4142 margin: 0; 4143 overflow: auto; 4144 max-height: 65vh; 4145} 4146.mat-mdc-dialog-content > :first-child { 4147 margin-top: 0; 4148} 4149.mat-mdc-dialog-content > :last-child { 4150 margin-bottom: 0; 4151} 4152.mat-mdc-dialog-container .mat-mdc-dialog-content { 4153 color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6))); 4154 font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit)); 4155 line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem)); 4156 font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem)); 4157 font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400)); 4158 letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em)); 4159} 4160.mat-mdc-dialog-container .mat-mdc-dialog-content { 4161 padding: var(--mat-dialog-content-padding, 20px 24px); 4162} 4163.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content { 4164 padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0); 4165} 4166.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content { 4167 padding-top: 0; 4168} 4169 4170.mat-mdc-dialog-actions { 4171 display: flex; 4172 position: relative; 4173 flex-shrink: 0; 4174 flex-wrap: wrap; 4175 align-items: center; 4176 box-sizing: border-box; 4177 min-height: 52px; 4178 margin: 0; 4179 border-top: 1px solid transparent; 4180 padding: var(--mat-dialog-actions-padding, 16px 24px); 4181 justify-content: var(--mat-dialog-actions-alignment, flex-end); 4182} 4183@media (forced-colors: active) { 4184 .mat-mdc-dialog-actions { 4185 border-top-color: CanvasText; 4186 } 4187} 4188.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] { 4189 justify-content: start; 4190} 4191.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] { 4192 justify-content: center; 4193}
4194.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] { 4195 justify-content: flex-end; 4196} 4197.mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 4198.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 4199 margin-left: 8px; 4200} 4201[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 4202[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 4203 margin-left: 0; 4204 margin-right: 8px; 4205} 4206 4207.mat-mdc-dialog-component-host { 4208 display: contents; 4209} 4210`],encapsulation:2})}return t})(),bH="--mat-dialog-transition-duration";function vH(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?xr(t.substring(0,t.length-2)):t.endsWith("s")?xr(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var $C=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})($C||{}),Ze=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new Co(1);_beforeClosed=new Co(1);_result;_closeFallbackTimeout;_state=$C.OPEN;_closeInteractionType;constructor(i,e,n){this._ref=i,this._config=e,this._containerInstance=n,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(ae(r=>r.state==="opened"),We(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(ae(r=>r.state==="closed"),We(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),ut(this.backdropClick(),this.keydownEvents().pipe(ae(r=>r.keyCode===27&&!this.disableClose&&!Ht(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),yH(this,r.type==="keydown"?"keyboard":"mouse"))})}close(i){let e=this._config.closePredicate;e&&!e(i,this._config,this.componentInstance)||(this._result=i,this._containerInstance._animationStateChanged.pipe(ae(n=>n.state==="closing"),We(1)).subscribe(n=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),n.totalTime+100)}),this._state=$C.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=$C.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function yH(t,i,e){return t._closeInteractionType=i,t.close(e)}var rt=new R("MatMdcDialogData"),Cee=new R("mat-mdc-dialog-default-options"),Dee=new R("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>Ys(t)}}),mt=(()=>{class t{_defaultOptions=m(Cee,{optional:!0});_scrollStrategy=m(Dee);_parentDialog=m(t,{optional:!0,skipSelf:!0});_idGenerator=m(pt);_injector=m(ie);_dialog=m(b_);_animationsDisabled=lt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new O;_afterOpenedAtThisLevel=new O;dialogConfigClass=Jt;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=$n(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Re(void 0)));constructor(){this._dialogRefConstructor=Ze,this._dialogContainerType=yee,this._dialogDataToken=rt}open(e,n){let r;n=P(P({},this._defaultOptions||new Jt),n),n.id=n.id||this._idGenerator.getId("mat-mdc-dialog-"),n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,Ae(P({},n),{positionStrategy:Ca(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||n.enterAnimationDuration?.toLocaleStr
4210ing()==="0"||n.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:md,useValue:n}]},templateContext:()=>({dialogRef:r}),providers:(a,s,d)=>(r=new this._dialogRefConstructor(a,n,d),r.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qC=(()=>{class t{dialogRef=m(Ze,{optional:!0});_elementRef=m(Q);_dialog=m(mt);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=DH(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){yH(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,r){n&1&&T("click",function(a){return r._onButtonClick(a)}),n&2&&oe("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ke]})}return t})(),CH=(()=>{class t{_dialogRef=m(Ze,{optional:!0});_elementRef=m(Q);_dialog=m(mt);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=DH(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t})}return t})(),YC=(()=>{class t extends CH{id=m(pt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,r){n&2&&An("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[he]})}return t})(),Jp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[qT([Gs])]})}return t})(),eh=(()=>{class t extends CH{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(n,r){n&2&&ee("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[he]})}return t})();function DH(t,i){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(n=>n.id===e.id):null}var Xu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[mt],imports:[BC,Ui,pr,De]})}return t})();var ZWe=(()=>{class t{get vertical(){return this._vertical}set vertical(e){this._vertical=Pn(e)}_vertical=!1;get inset(){return this._inset}set inset(e){this._inset=Pn(e)}_inset=!1;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,r){n&2&&(oe("aria-orientation",r.vertical?"vertical":"horizontal"),ee("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,r){},styles:[`.mat-divider { 4211 display: block; 4212 margin: 0; 4213 border-top-style: solid; 4214 border-top-color: var(--mat-divider-color, var(--mat-sys-outline-variant)); 4215 border-top-width: var(--mat-divider-width, 1px); 4216} 4217.mat-divider.mat-divider-vertical { 4218 border-top: 0; 4219 border-right-style: solid; 4220 border-right-color: var(--mat-divider-color, var(--mat-sys-outline-variant)); 4221 border-right-width: var(--mat-divider-width, 1px); 4222} 4223.mat-divider.mat-divider-inset { 4224 margin-left: 80px; 4225} 4226[dir=rtl] .mat-divider.mat-divider-inset { 4227 margin-left: auto; 4228 margin-right: 80px; 4229} 4230`],encapsulation:2,changeDetection:0})}return t})(),E_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var Xk=new R("CdkAccordion"),EH=(()=>{class t{_stateChanges=new O;_openCloseAllActions=new O;id=m(pt).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",q]},exportAs:["cdkAccordion"],features:[me([{provide:Xk,useExisting:t}]),Ke]})}return t})(),wH=(()=>{class t{accordion=m(Xk,{optional:!0,skipSelf:!0});_changeDetectorRef=m(Ee);_expansionDispatcher=m(Wu);_openCloseAllSubscription=_e.EMPTY;closed=new V;opened=new V;destroyed=new V;expandedChange=new V;id=m(pt).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let n=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,n)}
4230else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Z(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,n)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===n&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",q],disabled:[2,"disabled","disabled",q]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[me([{provide:Xk,useValue:void 0}])]})}return t})(),xH=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var Eee=["body"],wee=["bodyWrapper"],xee=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],See=["mat-expansion-panel-header","*","mat-action-row"];function Tee(t,i){}var Iee=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Aee=["mat-panel-title","mat-panel-description","*"];function kee(t,i){t&1&&(ft(0,"span",1),In(),ft(1,"svg",2),gi(2,"path",3),_t()())}var Zk=new R("MAT_ACCORDION"),SH=new R("MAT_EXPANSION_PANEL"),Ree=(()=>{class t{_template=m(Zt);_expansionPanel=m(SH,{optional:!0});constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),TH=new R("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),tc=(()=>{class t extends wH{_viewContainerRef=m(Pt);_animationsDisabled=lt();_document=m(Ce);_ngZone=m(le);_elementRef=m(Q);_renderer=m(ot);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new V;afterCollapse=new V;_inputChanges=new O;accordion=m(Zk,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=m(pt).getId("mat-expansion-panel-header-");constructor(){super();let e=m(TH,{optional:!0});this._expansionDispatcher=m(Wu),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Re(null),ae(()=>this.expanded&&!this._portal),We(1)).subscribe(()=>{this._portal=new Sr(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,n=this._body.nativeElement;return e===n||n.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:n})=>{e===this._bodyWrapper?.nativeElement&&n==="grid-template-rows"&&this._ngZone.run(()=>
4230{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Ree,5),n&2){let a;H(a=U())&&(r._lazyContent=a.first)}},viewQuery:function(n,r){if(n&1&&ve(Eee,5)(wee,5),n&2){let o;H(o=U())&&(r._body=o.first),H(o=U())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(n,r){n&2&&ee("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[me([{provide:Zk,useValue:void 0},{provide:SH,useExisting:t}]),he,Ke],ngContentSelectors:See,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,r){n&1&&(Ie(xee),re(0),u(1,"div",2,0)(3,"div",3,1)(5,"div",4),re(6,1),fe(7,Tee,0,0,"ng-template",5),c(),re(8,2),c()()),n&2&&(l(),oe("inert",r.expanded?null:""),l(2),g("id",r.id),oe("aria-labelledby",r._headerId),l(4),g("cdkPortalOutlet",r._portal))},dependencies:[ho],styles:[`.mat-expansion-panel { 4231 box-sizing: content-box; 4232 display: block; 4233 margin: 0; 4234 overflow: hidden; 4235} 4236.mat-expansion-panel.mat-expansion-panel-animations-enabled { 4237 transition: margin 225ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); 4238} 4239.mat-expansion-panel { 4240 position: relative; 4241 background: var(--mat-expansion-container-background-color, var(--mat-sys-surface)); 4242 color: var(--mat-expansion-container-text-color, var(--mat-sys-on-surface)); 4243 border-radius: var(--mat-expansion-container-shape, 12px); 4244} 4245.mat-expansion-panel:not([class*=mat-elevation-z]) { 4246 box-shadow: var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 4247} 4248.mat-accordion .mat-expansion-panel:not(.mat-expanded), .mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing) { 4249 border-radius: 0; 4250} 4251.mat-accordion .mat-expansion-panel:first-of-type { 4252 border-top-right-radius: var(--mat-expansion-container-shape, 12px); 4253 border-top-left-radius: var(--mat-expansion-container-shape, 12px); 4254} 4255.mat-accordion .mat-expansion-panel:last-of-type { 4256 border-bottom-right-radius: var(--mat-expansion-container-shape, 12px); 4257 border-bottom-left-radius: var(--mat-expansion-container-shape, 12px); 4258} 4259@media (forced-colors: active) { 4260 .mat-expansion-panel { 4261 outline: solid 1px; 4262 } 4263} 4264 4265.mat-expansion-panel-content-wrapper { 4266 display: grid; 4267 grid-template-rows: 0fr; 4268 grid-template-columns: 100%; 4269} 4270.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper { 4271 transition: grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1); 4272} 4273.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper { 4274 grid-template-rows: 1fr; 4275} 4276@supports not (grid-template-rows: 0fr) { 4277 .mat-expansion-panel-content-wrapper { 4278 height: 0; 4279 } 4280 .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper { 4281 height: auto; 4282 } 4283} 4284@media print { 4285 .mat-expansion-panel-content-wrapper { 4286 height: 0; 4287 } 4288 .mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper { 4289 height: auto; 4290 } 4291} 4292 4293.mat-expansion-panel-content { 4294 display: flex; 4295 flex-direction: column; 4296 overflow: visible; 4297 min-height: 0; 4298 visibility: hidden; 4299} 4300.mat-expansion-panel-animations-enabled .mat-expansion-panel-content { 4301 transition: visibility 190ms linear; 4302} 4303.mat-expansion-panel.mat-expanded > .mat-expansion-panel-content-wrapper > .mat-expansion-panel-content { 4304 visibility: visible; 4305} 4306.mat-expansion-panel-content { 4307 font-family: var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font)); 4308 font-size: var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size)); 4309 font-weight: var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight)); 4310 line-height: var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height)); 4311 letter-spacing: var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking)); 4312} 4313 4314.mat-expansion-panel-body { 4315 padding: 0 24px 16px; 4316} 4317 4318.mat-expansion-panel-spacing { 4319 margin: 16px 0; 4320} 4321.mat-accordion > .mat-expansion-panel-spacing:first-child, .mat-accordion > *:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing { 4322 margin-top: 0; 4323} 4324.mat-accordion > .mat-expansion-panel-spacing:last-child, .mat-accordion > *:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing { 4325 margin-bottom: 0; 4326} 4327 4328.mat-action-row { 4329 border-top-style: solid; 4330 border-top-width: 1px; 4331 display: flex; 4332 flex-direction: row; 4333 justify-content: flex-end; 4334 padding: 16px 8px 16px 24px; 4335 border-top-color: var(--mat-expansion-actions-divider-color, var(--mat-sys-outline)); 4336} 4337.mat-action-row .mat-button-base, 4338.mat-action-row .mat-mdc-button-base { 4339 margin-left: 8px; 4340} 4341[dir=rtl] .mat-action-row .mat-button-base, 4342[dir=rtl] .mat-action-row .mat-mdc-button-base { 4343 margin-left: 0; 4344 margin-right: 8px; 4345} 4346`],encapsulation:2,changeDetection:0})}return t})();var nc=(()=>{class t{panel=m(tc,{host:!0});_element=m(Q);_focusMonitor=m(oi);_changeDetectorRef=m(Ee);_parentChangeSubscription=_e.EMPTY;constructor(){m(Lt).load(mi);let e=this.panel,n=m(TH,{optional:!0}),r=m(new di("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(ae(a=>!!(a.hideToggle||a.togglePosition))):ke;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=ut(e.opened,e.closed,o,e._inputChanges.pipe(ae(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ae(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),n&&(this.expandedHeight=n.expandedHeight,this.collapsedHeight=n.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}
4346_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Ht(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,n){e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(n,r){n&1&&T("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),n&2&&(oe("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),Fn("height",r._getHeaderHeight()),ee("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)]},ngContentSelectors:Aee,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,r){n&1&&(Ie(Iee),ft(0,"span",0),re(1),re(2,1),re(3,2),_t(),v(4,kee,3,0,"span",1)),n&2&&(ee("mat-content-hide-toggle",!r._showToggle()),l(4),y(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header { 4347 display: flex; 4348 flex-direction: row; 4349 align-items: center; 4350 padding: 0 24px; 4351 border-radius: inherit; 4352} 4353.mat-expansion-panel-animations-enabled .mat-expansion-panel-header { 4354 transition: height 225ms cubic-bezier(0.4, 0, 0.2, 1); 4355} 4356.mat-expansion-panel-header::before { 4357 border-radius: inherit; 4358} 4359.mat-expansion-panel-header { 4360 height: var(--mat-expansion-header-collapsed-state-height, 48px); 4361 font-family: var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font)); 4362 font-size: var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size)); 4363 font-weight: var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight)); 4364 line-height: var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height)); 4365 letter-spacing: var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking)); 4366} 4367.mat-expansion-panel-header.mat-expanded { 4368 height: var(--mat-expansion-header-expanded-state-height, 64px); 4369} 4370.mat-expansion-panel-header[aria-disabled=true] { 4371 color: var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 4372} 4373.mat-expansion-panel-header:not([aria-disabled=true]) { 4374 cursor: pointer; 4375} 4376.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover { 4377 background: var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 4378} 4379@media (hover: none) { 4380 .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover { 4381 background: var(--mat-expansion-container-background-color, var(--mat-sys-surface)); 4382 } 4383} 4384.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused { 4385 background: var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 4386} 4387.mat-expansion-panel-header._mat-animation-noopable { 4388 transition: none; 4389} 4390.mat-expansion-panel-header:focus, .mat-expansion-panel-header:hover { 4391 outline: none; 4392} 4393.mat-expansion-panel-header.mat-expanded:focus, .mat-expansion-panel-header.mat-expanded:hover { 4394 background: inherit; 4395} 4396.mat-expansion-panel-header.mat-expansion-toggle-indicator-before { 4397 flex-direction: row-reverse; 4398} 4399.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator { 4400 margin: 0 16px 0 0; 4401} 4402[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator { 4403 margin: 0 0 0 16px; 4404} 4405 4406.mat-content { 4407 display: flex; 4408 flex: 1; 4409 flex-direction: row; 4410 overflow: hidden; 4411} 4412.mat-content.mat-content-hide-toggle { 4413 margin-right: 8px; 4414} 4415[dir=rtl] .mat-content.mat-content-hide-toggle { 4416 margin-right: 0; 4417 margin-left: 8px; 4418} 4419.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle { 4420 margin-left: 24px; 4421 margin-right: 0; 4422} 4423[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle { 4424 margin-right: 24px; 4425 margin-left: 0; 4426} 4427 4428.mat-expansion-panel-header-title { 4429 color: var(--mat-expansion-header-text-color, var(--mat-sys-on-surface)); 4430} 4431 4432.mat-expansion-panel-header-title, 4433.mat-expansion-panel-header-description { 4434 display: flex; 4435 flex-grow: 1; 4436 flex-basis: 0; 4437 margin-right: 16px; 4438 align-items: center; 4439} 4440[dir=rtl] .mat-expansion-panel-header-title, 4441[dir=rtl] .mat-expansion-panel-header-description { 4442 margin-right: 0; 4443 margin-left: 16px; 4444} 4445.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title, 4446.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description { 4447 color: inherit; 4448} 4449 4450.mat-expansion-panel-header-description { 4451 flex-grow: 2; 4452 color: var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant)); 4453} 4454 4455.mat-expansion-panel-animations-enabled .mat-expansion-indicator { 4456 transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1); 4457} 4458.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator { 4459 transform: rotate(180deg); 4460} 4461.mat-expansion-indicator::after { 4462 border-style: solid; 4463 border-width: 0 2px 2px 0; 4464 content: ""; 4465 padding: 3px; 4466 transform: rotate(45deg); 4467 vertical-align: middle; 4468 color: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant)); 4469 display: var(--mat-expansion-legacy-header-indicator-display, none); 4470} 4471.mat-expansion-indicator svg { 4472 width: 24px; 4473 height: 24px; 4474 margin: 0 -8px; 4475 vertical-align: middle; 4476 fill: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant)); 4477 display: var(--mat-expansion-header-indicator-display, inline-block); 4478} 4479 4480@media (forced-colors: active) { 4481 .mat-expansion-panel-content { 4482 border-top: 1px solid; 4483 border-top-left-radius: 0; 4484 border-top-right-radius: 0; 4485 } 4486} 4487`],encapsulation:2,changeDetection:0})}return t})();var hd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),k8e=(()=>
4487{class t extends EH{_keyManager;_ownHeaders=new ro;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(Re(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ss(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-accordion"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,nc,5),n&2){let a;H(a=U())&&(r._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[me([{provide:Zk,useExisting:t}]),he]})}return t})(),Qk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[xH,pr,De]})}return t})();var zr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Np,Ve,De]})}return t})();var e1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Pk,De,Pk]})}return t})();function IH(t){return Error(`Unable to find icon with the name "${t}"`)}function Mee(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function AH(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function kH(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var ic=class{url;svgText;options;svgElement=null;constructor(i,e,n){this.url=i,this.svgText=e,this.options=n}},MH=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,n,r,o){this._httpClient=e,this._sanitizer=n,this._errorHandler=o,this._document=r}addSvgIcon(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,o){return this._addSvgIconConfig(e,n,new ic(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,o){let a=this._sanitizer.sanitize(cn.HTML,r);if(!a)throw kH(r);let s=Hu(a);return this._addSvgIconConfig(e,n,new ic("",s,o))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new ic(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){let o=this._sanitizer.sanitize(cn.HTML,n);if(!o)throw kH(n);let a=Hu(o);return this._addSvgIconSetConfig(e,new ic("",a,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let n=this._sanitizer.sanitize(cn.RESOURCE_URL,e);if(!n)throw AH(e);let r=this._cachedIconsByUrl.get(n);return r?B(KC(r)):this._loadSvgIconFromConfig(new ic(e,null)).pipe(L(o=>this._cachedIconsByUrl.set(n,o)),$(o=>KC(o)))}getNamedSvgIcon(e,n=""){let r=RH(n,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(n,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(n);return a?this._getSvgFromIconSetConfigs(e,a):gn(IH(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?B(KC(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe($(n=>KC(n)))}_getSvgFromIconSetConfigs(e,n){let r=this._extractIconWithNameFromAnySet(e,n);if(r)return B(r);let o=n.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Ge(s=>{let p=`Loading icon set URL: ${this._sanitizer.sanitize(cn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(p)),B(null)})));return gf(o).pipe($(()=>{let a=this._extractIconWithNameFromAnySet(e,n);if(!a)throw IH(e);return a}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){let o=n[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(L(n=>e.svgText=n),$(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?B(null):this._fetchIcon(e).pipe(L(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){let o=e.querySelector(`[id="${n}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(Hu("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let n=this._document.createElement("DIV");n.innerHTML=e;let r=n.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let n=this._svgElementFromString(Hu("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:a,value:s}=r[o];a!=="id"&&n.setAttribute(a,s)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&n.appendChild(e.childNodes[o].cloneNode(!0));return n}_setSvgAttributes(e,n){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),n&&n.viewBox&&e.setAttribute("viewBox",n.viewB
4487ox),e}_fetchIcon(e){let{url:n,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw Mee();if(n==null)throw Error(`Cannot fetch icon from URL "${n}".`);let a=this._sanitizer.sanitize(cn.RESOURCE_URL,n);if(!a)throw AH(n);let s=this._inProgressUrlFetches.get(a);if(s)return s;let d=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe($(p=>Hu(p)),Zr(()=>this._inProgressUrlFetches.delete(a)),bf());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(RH(e,n),r),this}_addSvgIconSetConfig(e,n){let r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){let n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](n,e);if(o)return Nee(o)?new ic(o.url,null,o.options):new ic(o,null)}}static \u0275fac=function(n){return new(n||t)(F(ge,8),F(Au),F(Ce,8),F(Lr))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function KC(t){return t.cloneNode(!0)}function RH(t,i){return t+":"+i}function Nee(t){return!!(t.url&&t.options)}var Oee=["*"],Fee=new R("MAT_ICON_DEFAULT_OPTIONS"),Pee=new R("mat-icon-location",{providedIn:"root",factory:()=>{let t=m(Ce),i=t?t.location:null;return{getPathname:()=>i?i.pathname+i.search:""}}}),NH=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Lee=NH.map(t=>`[${t}]`).join(", "),Bee=/^url\(['"]?#(.*?)['"]?\)$/,Gn=(()=>{class t{_elementRef=m(Q);_iconRegistry=m(MH);_location=m(Pee);_errorHandler=m(Lr);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=_e.EMPTY;constructor(){let e=m(new di("aria-hidden"),{optional:!0}),n=m(Fee,{optional:!0});n&&(n.color&&(this.color=this._defaultColor=n.color),n.fontSet&&(this.fontSet=n.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let r=e.childNodes[n];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let n=this._elementsWithExternalReferences;
4487n&&n.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let n=e.querySelectorAll(Lee),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<n.length;o++)NH.forEach(a=>{let s=n[o],d=s.getAttribute(a),p=d?d.match(Bee):null;if(p){let f=r.get(s);f||(f=[],r.set(s,f)),f.push({name:a,value:p[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(We(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${n}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&(oe("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Be(r.color?"mat-"+r.color:""),ee("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Oee,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn { 4488 color: var(--mat-icon-color, inherit); 4489} 4490 4491.mat-icon { 4492 -webkit-user-select: none; 4493 user-select: none; 4494 background-repeat: no-repeat; 4495 display: inline-block; 4496 fill: currentColor; 4497 height: 24px; 4498 width: 24px; 4499 overflow: hidden; 4500} 4501.mat-icon.mat-icon-inline { 4502 font-size: inherit; 4503 height: inherit; 4504 line-height: inherit; 4505 width: inherit; 4506} 4507.mat-icon.mat-ligature-font[fontIcon]::before { 4508 content: attr(fontIcon); 4509} 4510 4511[dir=rtl] .mat-icon-rtl-mirror { 4512 transform: scale(-1, 1); 4513} 4514 4515.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon, 4516.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon { 4517 display: block; 4518} 4519.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon, 4520.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon { 4521 margin: auto; 4522} 4523`],encapsulation:2,changeDetection:0})}return t})(),w_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var Vee=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`textarea.cdk-textarea-autosize { 4524 resize: none; 4525} 4526 4527textarea.cdk-textarea-autosize-measuring { 4528 padding: 2px 0 !important; 4529 box-sizing: content-box !important; 4530 height: auto !important; 4531 overflow: hidden !important; 4532} 4533 4534textarea.cdk-textarea-autosize-measuring-firefox { 4535 padding: 2px 0 !important; 4536 box-sizing: content-box !important; 4537 height: 0 !important; 4538} 4539 4540@keyframes cdk-text-field-autofill-start { /*!*/ } 4541@keyframes cdk-text-field-autofill-end { /*!*/ } 4542.cdk-text-field-autofill-monitored:-webkit-autofill { 4543 animation: cdk-text-field-autofill-start 0s 1ms; 4544} 4545 4546.cdk-text-field-autofill-monitored:not(:-webkit-autofill) { 4547 animation: cdk-text-field-autofill-end 0s 1ms; 4548} 4549`],encapsulation:2,changeDetection:0})}return t})(),jee={passive:!0},OH=(()=>{class t{_platform=m(gt);_ngZone=m(le);_renderer=m(fi).createRenderer(null,null);_styleLoader=m(Lt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return ke;this._styleLoader.load(Vee);let n=_i(e),r=this._monitoredElements.get(n);if(r)return r.subject;let o=new O,a="cdk-text-field-autofilled",s=p=>{p.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(a)?(n.classList.add(a),this._ngZone.run(()=>o.next({target:p.target,isAutofilled:!0}))):p.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(a)&&(n.classList.remove(a),this._ngZone.run(()=>o.next({target:p.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(n.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(n,"animationstart",s,jee)));return this._monitoredElements.set(n,{subject:o,unlisten:d}),o}stopMonitoring(e){let n=_i(e),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}
4549ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var FH=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({})}return t})();var Hee=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Uee=new R("MAT_INPUT_CONFIG"),et=(()=>{class t{_elementRef=m(Q);_platform=m(gt);ngControl=m(Li,{optional:!0,self:!0});_autofillMonitor=m(OH);_ngZone=m(le);_formField=m(Jl,{optional:!0});_renderer=m(ot);_uid=m(pt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=m(Uee,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new O;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Pn(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(G.required)??!1}set required(e){this._required=Pn(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ek().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Pn(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>ek().has(e));constructor(){let e=m(hp,{optional:!0}),n=m(qn,{optional:!0}),r=m(qp),o=m(GC,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();o?Ps(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Yp(r,this.ngControl,n,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&io(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let n=this._elementRef.nativeElement;n.type==="number"?(n.type="text",n.setSelectionRange(0,0),n.type="number"):n.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Hee.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let n=e.target;!n.value&&n.selectionStart===0&&n.selectionEnd===0&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(n,r){n&1&&T("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),n&2&&(An("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),oe("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ee("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},exportAs:["matInput"],features:[me([{provide:Gp,useExisting:t}]),Ke]})}return t})(),us=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[zr,zr,FH,De]})}return t})();var PH=["*"],LH=`.mdc-list { 4550 margin: 0; 4551 padding: 8px 0; 4552 list-style-type: none; 4553} 4554.mdc-list:focus { 4555 outline: none; 4556} 4557 4558.mdc-list-item { 4559 display: flex; 4560 position: relative; 4561 justify-content: flex-start; 4562 overflow: hidden; 4563 padding: 0; 4564 align-items: stretch; 4565 cursor: pointer; 4566 padding-left: 16px; 4567 padding-right: 16px; 4568 background-color: var(--mat-list-list-item-container-color, transparent); 4569 border-radius: var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none)); 4570} 4571.mdc-list-item.mdc-list-item--selected { 4572 background-color: var(--mat-list-list-item-selected-container-color); 4573} 4574.mdc-list-item:focus { 4575 outline: 0; 4576} 4577.mdc-list-item.mdc-list-item--disabled { 4578 cursor: auto; 4579} 4580.mdc-list-item.mdc-list-item--with-one-line { 4581 height: var(--mat-list-list-item-one-line-container-height, 48px); 4582} 4583.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start { 4584 align-self: center; 4585 margin-top: 0; 4586} 4587.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end { 4588 align-self: center; 4589 margin-top: 0; 4590} 4591.mdc-list-item.mdc-list-item--with-two-lines {
4592 height: var(--mat-list-list-item-two-line-container-height, 64px); 4593} 4594.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start { 4595 align-self: flex-start; 4596 margin-top: 16px; 4597} 4598.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end { 4599 align-self: center; 4600 margin-top: 0; 4601} 4602.mdc-list-item.mdc-list-item--with-three-lines { 4603 height: var(--mat-list-list-item-three-line-container-height, 88px); 4604} 4605.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start { 4606 align-self: flex-start; 4607 margin-top: 16px; 4608} 4609.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end { 4610 align-self: flex-start; 4611 margin-top: 16px; 4612} 4613.mdc-list-item.mdc-list-item--selected::before, .mdc-list-item.mdc-list-item--selected:focus::before, .mdc-list-item:not(.mdc-list-item--selected):focus::before { 4614 position: absolute; 4615 box-sizing: border-box; 4616 width: 100%; 4617 height: 100%; 4618 top: 0; 4619 left: 0; 4620 content: ""; 4621 pointer-events: none; 4622} 4623 4624a.mdc-list-item { 4625 color: inherit; 4626 text-decoration: none; 4627} 4628 4629.mdc-list-item__start { 4630 fill: currentColor; 4631 flex-shrink: 0; 4632 pointer-events: none; 4633} 4634.mdc-list-item--with-leading-icon .mdc-list-item__start { 4635 color: var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant)); 4636 width: var(--mat-list-list-item-leading-icon-size, 24px); 4637 height: var(--mat-list-list-item-leading-icon-size, 24px); 4638 margin-left: 16px; 4639 margin-right: 32px; 4640} 4641[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start { 4642 margin-left: 32px; 4643 margin-right: 16px; 4644} 4645.mdc-list-item--with-leading-icon:hover .mdc-list-item__start { 4646 color: var(--mat-list-list-item-hover-leading-icon-color); 4647} 4648.mdc-list-item--with-leading-avatar .mdc-list-item__start { 4649 width: var(--mat-list-list-item-leading-avatar-size, 40px); 4650 height: var(--mat-list-list-item-leading-avatar-size, 40px); 4651 margin-left: 16px; 4652 margin-right: 16px; 4653 border-radius: 50%; 4654} 4655.mdc-list-item--with-leading-avatar .mdc-list-item__start, [dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start { 4656 margin-left: 16px; 4657 margin-right: 16px; 4658 border-radius: 50%; 4659} 4660 4661.mdc-list-item__end { 4662 flex-shrink: 0; 4663 pointer-events: none; 4664} 4665.mdc-list-item--with-trailing-meta .mdc-list-item__end { 4666 font-family: var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font)); 4667 line-height: var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height)); 4668 font-size: var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size)); 4669 font-weight: var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight)); 4670 letter-spacing: var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking)); 4671} 4672.mdc-list-item--with-trailing-icon .mdc-list-item__end { 4673 color: var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant)); 4674 width: var(--mat-list-list-item-trailing-icon-size, 24px); 4675 height: var(--mat-list-list-item-trailing-icon-size, 24px); 4676} 4677.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end { 4678 color: var(--mat-list-list-item-hover-trailing-icon-color); 4679} 4680.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end { 4681 color: var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant)); 4682} 4683.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end { 4684 color: var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary)); 4685} 4686 4687.mdc-list-item__content { 4688 text-overflow: ellipsis; 4689 white-space: nowrap; 4690 overflow: hidden; 4691 align-self: center; 4692 flex: 1; 4693 pointer-events: none; 4694} 4695.mdc-list-item--with-two-lines .mdc-list-item__content, .mdc-list-item--with-three-lines .mdc-list-item__content { 4696 align-self: stretch; 4697} 4698 4699.mdc-list-item__primary-text { 4700 text-overflow: ellipsis; 4701 white-space: nowrap; 4702 overflow: hidden; 4703 color: var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface)); 4704 font-family: var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font)); 4705 line-height: var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height)); 4706 font-size: var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size)); 4707 font-weight: var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight)); 4708 letter-spacing: var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking)); 4709} 4710.mdc-list-item:hover .mdc-list-item__primary-text { 4711 color: var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface)); 4712} 4713.mdc-list-item:focus .mdc-list-item__primary-text { 4714 color: var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface)); 4715} 4716.mdc-list-item--with-two-lines .mdc-list-item__primary-text, .mdc-list-item--with-three-lines .mdc-list-item__primary-text { 4717 display: block; 4718 margin-top: 0; 4719 line-height: normal; 4720 margin-bottom: -20px; 4721} 4722.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::before { 4723 display: inline-block; 4724 width: 0; 4725 height: 28px; 4726 content: ""; 4727 vertical-align: 0; 4728} 4729.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::after { 4730 display: inline-block; 4731 width: 0; 4732 height: 20px; 4733 content: ""; 4734 vertical-align: -20px; 4735} 4736 4737.mdc-list-item__secondary-text { 4738 text-overflow: ellipsis; 4739 white-space: nowrap; 4740 overflow: hidden; 4741 display: block; 4742 margin-top: 0; 4743 color: var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant)); 4744 font-family: var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font)); 4745 line-height: var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height)); 4746 font-size: var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size)); 4747 font-weight: var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight)); 4748 letter-spacing: var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking)); 4749} 4750.mdc-list-item__secondary-text::before { 4751 display: inline-block; 4752 width: 0; 4753 height: 20px; 4754 content: ""; 4755 vertical-align: 0; 4756} 4757.mdc-list-item--with-three-lines .mdc-list-item__secondary-text { 4758 white-space: normal; 4759 line-height: 20px; 4760} 4761.mdc-list-item--with-overline .mdc-list-item__secondary-text { 4762 white-space: nowrap; 4763 line-height: auto; 4764} 4765 4766.mdc-list-item--with-leading-radio.mdc-list-item, 4767.mdc-list-item--with-leading-checkbox.mdc-list-item, 4768.mdc-list-item--with-leading-icon.mdc-list-item, 4769.mdc-list-item--with-leading-avatar.mdc-list-item { 4770 padding-left: 0; 4771 padding-right: 16px; 4772} 4773[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item, 4774[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item, 4775[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item, 4776[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item { 4777 padding-left: 16px; 4778 padding-right: 0; 4779} 4780.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text, 4781.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text, 4782.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text, 4783.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text { 4784 display: block; 4785 margin-top: 0; 4786 line-height: normal; 4787 margin-bottom: -20px; 4788} 4789.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, 4790.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, 4791.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, 4792.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before { 4793 display: inline-block; 4794 width: 0; 4795 height: 32px; 4796 content: ""; 4797 vertical-align: 0; 4798} 4799.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, 4800.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, 4801.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, 4802.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after { 4803 display: inline-block; 4804 width: 0; 4805 height: 20px; 4806 content: ""; 4807 vertical-align: -20px; 4808} 4809.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end, 4810.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end, 4811.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end, 4812.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end { 4813 display: block; 4814 margin-top: 0; 4815 line-height: normal; 4816} 4817.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before, 4818.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before, 4819.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before, 4820.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before { 4821 display: inline-block; 4822 width: 0; 4823 height: 32px; 4824 content: ""; 4825 vertical-align: 0; 4826} 4827 4828.mdc-list-item--with-trailing-icon.mdc-list-item, [dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item { 4829 padding-left: 0; 4830 padding-right: 0; 4831} 4832.mdc-list-item--with-trailing-icon .mdc-list-item__end { 4833 margin-left: 16px; 4834 margin-right: 16px; 4835} 4836 4837.mdc-list-item--with-trailing-meta.mdc-list-item { 4838 padding-left: 16px; 4839 padding-right: 0; 4840} 4841[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item { 4842 padding-left: 0; 4843 padding-right: 16px; 4844} 4845.mdc-list-item--with-trailing-meta .mdc-list-item__end { 4846 -webkit-user-select: none; 4847 user-select: none; 4848 margin-left: 28px; 4849 margin-right: 16px; 4850} 4851[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end { 4852 margin-left: 16px; 4853 margin-right: 28px; 4854} 4855.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end { 4856 display: block; 4857 line-height: normal; 4858 align-self: flex-start; 4859 margin-top: 0; 4860} 4861.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before { 4862 display: inline-block; 4863 width: 0; 4864 height: 28px; 4865 content: ""; 4866 vertical-align: 0; 4867} 4868 4869.mdc-list-item--with-leading-radio .mdc-list-item__start, 4870.mdc-list-item--with-leading-checkbox .mdc-list-item__start { 4871 margin-left: 8px; 4872 margin-right: 24px; 4873} 4874[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start, 4875[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start { 4876 margin-left: 24px; 4877 margin-right: 8px; 4878} 4879.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start, 4880.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start { 4881 align-self: flex-start; 4882 margin-top: 8px; 4883} 4884 4885.mdc-list-item--with-trailing-radio.mdc-list-item, 4886.mdc-list-item--with-trailing-checkbox.mdc-list-item { 4887 padding-left: 16px; 4888 padding-right: 0; 4889} 4890[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item, 4891[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item { 4892 padding-left: 0; 4893 padding-right: 16px; 4894} 4895.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar, 4896.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon, 4897.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar { 4898 padding-left: 0; 4899} 4900[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, [dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar, 4901[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon, 4902[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar { 4903 padding-right: 0; 4904} 4905.mdc-list-item--with-trailing-radio .mdc-list-item__end, 4906.mdc-list-item--with-trailing-checkbox .mdc-list-item__end { 4907 margin-left: 24px; 4908 margin-right: 8px; 4909} 4910[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end, 4911[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end { 4912 margin-left: 8px; 4913 margin-right: 24px; 4914} 4915.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end, 4916.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end { 4917 align-self: flex-start; 4918 margin-top: 8px; 4919} 4920 4921.mdc-list-group__subheader { 4922 margin: 0.75rem 16px; 4923} 4924 4925.mdc-list-item--disabled .mdc-list-item__start, 4926.mdc-list-item--disabled .mdc-list-item__content, 4927.mdc-list-item--disabled .mdc-list-item__end { 4928 opacity: 1; 4929} 4930.mdc-list-item--disabled .mdc-list-item__primary-text, 4931.mdc-list-item--disabled .mdc-list-item__secondary-text { 4932 opacity: var(--mat-list-list-item-disabled-label-text-opacity, 0.3); 4933} 4934.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start { 4935 color: var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface)); 4936 opacity: var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38); 4937} 4938.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end { 4939 color: var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface)); 4940 opacity: var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38); 4941} 4942 4943.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing, [dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing { 4944 padding-left: 0; 4945 padding-right: 0; 4946} 4947 4948.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text { 4949 color: var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface)); 4950} 4951 4952.mdc-list-item:hover::before { 4953 background-color: var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface)); 4954 opacity: var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 4955} 4956 4957.mdc-list-item.mdc-list-item--disabled::before { 4958 background-color: var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface)); 4959 opacity: var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 4960} 4961 4962.mdc-list-item:focus::before { 4963 background-color: var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface)); 4964 opacity: var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 4965} 4966 4967.mdc-list-item--disabled .mdc-radio, 4968.mdc-list-item--disabled .mdc-checkbox { 4969 opacity: var(--mat-list-list-item-disabled-label-text-opacity, 0.3); 4970} 4971 4972.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar { 4973 border-radius: var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full)); 4974 background-color: var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container)); 4975} 4976 4977.mat-mdc-list-item-icon { 4978 font-size: var(--mat-list-list-item-leading-icon-size, 24px); 4979} 4980 4981@media (forced-colors: active) { 4982 a.mdc-list-item--activated::after { 4983 content: ""; 4984 position: absolute; 4985 top: 50%; 4986 right: 16px; 4987 transform: translateY(-50%); 4988 width: 10px; 4989 height: 0; 4990 border-bottom: solid 10px; 4991 border-radius: 10px; 4992 } 4993 a.mdc-list-item--activated [dir=rtl]::after { 4994 right: auto; 4995 left: 16px; 4996 } 4997} 4998 4999.mat-mdc-list-base { 5000 display: block; 5001} 5002.mat-mdc-list-base .mdc-list-item__start, 5003.mat-mdc-list-base .mdc-list-item__end, 5004.mat-mdc-list-base .mdc-list-item__content { 5005 pointer-events: auto; 5006} 5007 5008.mat-mdc-list-item, 5009.mat-mdc-list-option { 5010 width: 100%; 5011 box-sizing: border-box; 5012 -webkit-tap-highlight-color: transparent; 5013} 5014.mat-mdc-list-item:not(.mat-mdc-list-item-interactive), 5015.mat-mdc-list-option:not(.mat-mdc-list-it
5015em-interactive) { 5016 cursor: default; 5017} 5018.mat-mdc-list-item .mat-divider-inset, 5019.mat-mdc-list-option .mat-divider-inset { 5020 position: absolute; 5021 left: 0; 5022 right: 0; 5023 bottom: 0; 5024} 5025.mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset, 5026.mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset { 5027 margin-left: 72px; 5028} 5029[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset, 5030[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset { 5031 margin-right: 72px; 5032} 5033 5034.mat-mdc-list-item-interactive::before { 5035 top: 0; 5036 left: 0; 5037 right: 0; 5038 bottom: 0; 5039 position: absolute; 5040 content: ""; 5041 opacity: 0; 5042 pointer-events: none; 5043 border-radius: inherit; 5044} 5045 5046.mat-mdc-list-item > .mat-focus-indicator { 5047 top: 0; 5048 left: 0; 5049 right: 0; 5050 bottom: 0; 5051 position: absolute; 5052 pointer-events: none; 5053} 5054.mat-mdc-list-item:focus-visible > .mat-focus-indicator::before { 5055 content: ""; 5056} 5057 5058.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text { 5059 white-space: nowrap; 5060 line-height: normal; 5061} 5062.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text { 5063 display: -webkit-box; 5064 -webkit-box-orient: vertical; 5065 -webkit-line-clamp: 2; 5066} 5067 5068mat-action-list button { 5069 background: none; 5070 color: inherit; 5071 border: none; 5072 font: inherit; 5073 outline: inherit; 5074 -webkit-tap-highlight-color: transparent; 5075 text-align: start; 5076} 5077mat-action-list button::-moz-focus-inner { 5078 border: 0; 5079} 5080 5081.mdc-list-item--with-leading-icon .mdc-list-item__start { 5082 margin-inline-start: var(--mat-list-list-item-leading-icon-start-space, 16px); 5083 margin-inline-end: var(--mat-list-list-item-leading-icon-end-space, 16px); 5084} 5085 5086.mat-mdc-nav-list .mat-mdc-list-item { 5087 border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full)); 5088 --mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full)); 5089} 5090.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated { 5091 background-color: var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container)); 5092} 5093`,BH=["unscopedContent"],zee=["text"],Gee=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Wee=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],$ee=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],qee=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"];function Yee(t,i){t&1&&re(0,4)}function Kee(t,i){if(t&1&&(u(0,"div",11),x(1,"input",12),u(2,"div",13),In(),u(3,"svg",14),x(4,"path",15),c(),$o(),x(5,"div",16),c()()),t&2){let e=_();ee("mdc-checkbox--disabled",e.disabled),l(),g("checked",e.selected)("disabled",e.disabled)}}function Xee(t,i){if(t&1&&(u(0,"div",17),x(1,"input",18),u(2,"div",19),x(3,"div",20)(4,"div",21),c()()),t&2){let e=_();ee("mdc-radio--disabled",e.disabled),l(),g("checked",e.selected)("disabled",e.disabled)}}function Zee(t,i){}function Qee(t,i){if(t&1&&(u(0,"span",4),fe(1,Zee,0,0,"ng-template",6),c()),t&2){_();let e=ye(3);l(),g("ngTemplateOutlet",e)}}function Jee(t,i){}function ete(t,i){if(t&1&&(u(0,"span",5),fe(1,Jee,0,0,"ng-template",6),c()),t&2){_();let e=ye(5);l(),g("ngTemplateOutlet",e)}}function tte(t,i){}function nte(t,i){if(t&1&&fe(0,tte,0,0,"ng-template",6),t&2){_();let e=ye(1);g("ngTemplateOutlet",e)}}function ite(t,i){}function rte(t,i){if(t&1&&(u(0,"span",9),fe(1,ite,0,0,"ng-template",6),c()),t&2){_();let e=ye(3);l(),g("ngTemplateOutlet",e)}}function ote(t,i){}function ate(t,i){if(t&1&&(u(0,"span",9),fe(1,ote,0,0,"ng-template",6),c()),t&2){_();let e=ye(5);l(),g("ngTemplateOutlet",e)}}function ste(t,i){}function lte(t,i){if(t&1&&fe(0,ste,0,0,"ng-template",6),t&2){_();let e=ye(1);g("ngTemplateOutlet",e)}}var VH=new R("ListOption"),jH=(()=>{class t{_elementRef=m(Q);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return t})(),HH=(()=>{class t{_elementRef=m(Q);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return t})(),cte=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return t})(),UH=(()=>{class t{_listOption=m(VH,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,hostVars:4,hostBindings:function(n,r){n&2&&ee("mdc-list-item__start",r._isAlignedAtStart())("mdc-list-item__end",!r._isAlignedAtStart())}})}return t})(),dte=(()=>{class t extends UH{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[he]})}return t})(),ute=(()=>{class t extends UH{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[he]})}return t})(),mte=new R("MAT_LIST_CONFIG"),x_=(()=>{class t{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Pn(e)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(Pn(e))}_disabled=Z(!1);_defaultOptions=m(mte,{optional:!0});static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,hostVars:1,hostBindings:function(n,r){n&2&&oe("aria-disabled",r.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return t})(),t1=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_listBase=m(x_,{optional:!0});_platform=m(gt);_hostElement;_isButtonElement;_noopAnimations=lt();_avatars;_icons;set lines(e){this._explicitLines=xr(e,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=Pn(e)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(e){this._disabled.set(Pn(e))}_disabled=Z(!1);_subscriptions=new _e;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){m(Lt).load(mi);let e=m(cd,{optional:!0});this.rippleConfig=e||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new ld(this,this._ngZone,this._hostElement,this._platform,m(ie)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(ut(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}
5093_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();let n=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",n===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",n===3),this._hasUnscopedTextContent){let o=this._titles.length===0&&n===1;r.classList.toggle("mdc-list-item__primary-text",o),r.classList.toggle("mdc-list-item__secondary-text",!o)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!!(e.textContent&&e.textContent.trim()))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,contentQueries:function(n,r,o){if(n&1&&Gt(o,dte,4)(o,ute,4),n&2){let a;H(a=U())&&(r._avatars=a),H(a=U())&&(r._icons=a)}},hostVars:4,hostBindings:function(n,r){n&2&&(oe("aria-disabled",r.disabled)("disabled",r._isButtonElement&&r.disabled||null),ee("mdc-list-item--disabled",r.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return t})();var s6e=(()=>{class t extends t1{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(e){this._activated=Pn(e)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,HH,5)(o,jH,5)(o,cte,5),n&2){let a;H(a=U())&&(r._lines=a),H(a=U())&&(r._titles=a),H(a=U())&&(r._meta=a)}},viewQuery:function(n,r){if(n&1&&ve(BH,5)(zee,5),n&2){let o;H(o=U())&&(r._unscopedContent=o.first),H(o=U())&&(r._itemText=o.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(n,r){n&2&&(oe("aria-current",r._getAriaCurrent()),ee("mdc-list-item--activated",r.activated)("mdc-list-item--with-leading-avatar",r._avatars.length!==0)("mdc-list-item--with-leading-icon",r._icons.length!==0)("mdc-list-item--with-trailing-meta",r._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("_mat-animation-noopable",r._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[he],ngContentSelectors:Wee,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(n,r){n&1&&(Ie(Gee),re(0),u(1,"span",1),re(2,1),re(3,2),u(4,"span",2,0),T("cdkObserveContent",function(){return r._updateItemLines(!0)}),re(6,3),c()(),re(7,4),re(8,5),x(9,"div",3))},dependencies:[Jg],encapsulation:2,changeDetection:0})}return t})(),zH=new R("SelectionList"),pte=(()=>{class t extends t1{_selectionList=m(zH);_changeDetectorRef=m(Ee);_lines;_titles;_unscopedContent;selectedChange=new V;togglePosition="after";get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}_color;get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}_value;get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){let n=Pn(e);n!==this._selected&&(this._setSelected(n),(n||this._selectionList.multiple)&&this._selectionList._reportValueChange())}_selected=!1;_inputsInitialized=!1;ngOnInit(){let e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);let n=this._selected;Promise.resolve().then(()=>{(this._selected||n)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,n){return this._getTogglePosition()!==n&&(e==="avatars"?this._avatars.length!==0:this._icons.length!==0)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e===this._selected?!1:(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}_hasBothLeadingAndTrailing(){let e=this._hasProjected("avatars","before")||this._hasProjected("icons","before")||this._hasCheckboxAt("before")||this._hasRadioAt("before"),n=this._hasProjected("icons","after")||this._hasProjected("avatars","after")||this._hasCheckboxAt("after")||this._hasRadioAt("after");return e&&n}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-list-option"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,HH,5)(o,jH,5),n&2){let a;H(a=U())&&(r._lines=a),H(a=U())&&(r._titles=a)}},viewQuery:function(n,r){if(n&1&&ve(BH,5),n&2){let o;H(o=U())&&(r._unscopedContent=o.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:27,hostBindings:function(n,r){n&1&&T("blur",function(){return r._handleBlur()})("click",function(){return r._toggleOnInteraction()}),n&2&&(oe("aria-selected",r.selected),ee("mdc-list-item--selected",r.selected&&!r._selectionList.multiple&&r._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",r._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",r._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",r._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",r._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",r._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",r._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",r._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",r._hasRadioAt("after"))("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("mat-accent",r.color!=="primary"&&r.color!=="warn")("mat-warn",r.color==="warn")("_mat-animation-noopable",r._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[me([{provide:t1,useExisting:t},{provide:VH,useExisting:t}]),he],ngContentSelectors:qee,decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mdc-list-item__end"],[1,"mat-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner
5093-circle"]],template:function(n,r){n&1&&(Ie($ee),fe(0,Yee,1,0,"ng-template",null,0,_a)(2,Kee,6,4,"ng-template",null,1,_a)(4,Xee,5,4,"ng-template",null,2,_a),v(6,Qee,2,1,"span",4)(7,ete,2,1,"span",5),v(8,nte,1,1,null,6),u(9,"span",7),re(10),re(11,1),u(12,"span",8,3),T("cdkObserveContent",function(){return r._updateItemLines(!0)}),re(14,2),c()(),v(15,rte,2,1,"span",9)(16,ate,2,1,"span",9),v(17,lte,1,1,null,6),re(18,3),x(19,"div",10)),n&2&&(l(6),y(r._hasCheckboxAt("before")?6:r._hasRadioAt("before")?7:-1),l(2),y(r._hasIconsOrAvatarsAt("before")?8:-1),l(7),y(r._hasCheckboxAt("after")?15:r._hasRadioAt("after")?16:-1),l(2),y(r._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[Su,Jg],styles:[`.mat-mdc-list-option-with-trailing-avatar.mdc-list-item, [dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item { 5094 padding-left: 0; 5095 padding-right: 0; 5096} 5097.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end { 5098 margin-left: 16px; 5099 margin-right: 16px; 5100 width: 40px; 5101 height: 40px; 5102} 5103.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text { 5104 display: block; 5105 margin-top: 0; 5106 line-height: normal; 5107 margin-bottom: -20px; 5108} 5109.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before { 5110 display: inline-block; 5111 width: 0; 5112 height: 32px; 5113 content: ""; 5114 vertical-align: 0; 5115} 5116.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after { 5117 display: inline-block; 5118 width: 0; 5119 height: 20px; 5120 content: ""; 5121 vertical-align: -20px; 5122} 5123.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end { 5124 border-radius: 50%; 5125} 5126 5127.mat-mdc-list-option .mdc-checkbox { 5128 display: inline-block; 5129 position: relative; 5130 flex: 0 0 18px; 5131 box-sizing: content-box; 5132 width: 18px; 5133 height: 18px; 5134 line-height: 0; 5135 white-space: nowrap; 5136 cursor: pointer; 5137 vertical-align: bottom; 5138 padding: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 5139 margin: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 5140} 5141.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control { 5142 position: absolute; 5143 margin: 0; 5144 padding: 0; 5145 opacity: 0; 5146 cursor: inherit; 5147 z-index: 1; 5148 width: var(--mat-checkbox-state-layer-size, 40px); 5149 height: var(--mat-checkbox-state-layer-size, 40px); 5150 top: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 5151 right: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 5152 left: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 5153} 5154.mat-mdc-list-option .mdc-checkbox--disabled { 5155 cursor: default; 5156 pointer-events: none; 5157} 5158.mat-mdc-list-option .mdc-checkbox__background { 5159 display: inline-flex; 5160 position: absolute; 5161 align-items: center; 5162 justify-content: center; 5163 box-sizing: border-box; 5164 width: 18px; 5165 height: 18px; 5166 border: 2px solid currentColor; 5167 border-radius: 2px; 5168 background-color: transparent; 5169 pointer-events: none; 5170 will-change: background-color, border-color; 5171 transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1); 5172 -webkit-print-color-adjust: exact; 5173 color-adjust: exact; 5174 border-color: var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant)); 5175 top: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 5176 left: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 5177} 5178.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background, 5179.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background { 5180 border-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary)); 5181 background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary)); 5182} 5183.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background { 5184 border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 5185} 5186@media (forced-colors: active) { 5187 .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background { 5188 border-color: GrayText; 5189 } 5190} 5191.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background, 5192.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background { 5193 background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 5194 border-color: transparent; 5195} 5196@media (forced-colors: active) { 5197 .mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background, 5198 .mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background { 5199 border-color: GrayText; 5200 } 5201} 5202.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background, 5203.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background { 5204 border-color: var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface)); 5205 background-color: transparent; 5206} 5207.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 5208.mat-mdc-list-option .mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 5209 border-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary)); 5210 background-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary)); 5211} 5212.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background, 5213.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background { 5214 border-color: var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface)); 5215} 5216.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background, 5217.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background { 5218 border-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary)); 5219 background-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary)); 5220} 5221.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background, 5222.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background, 5223.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background { 5224 border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 5225} 5226@media (forced-colors: active) { 5227 .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background, 5228 .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background, 5229 .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background { 5230 border-color: GrayText; 5231 } 5232} 5233.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 5234.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 5235 background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 5236 border-color: transparent; 5237} 5238.mat-mdc-list-option .mdc-checkbox__checkmark { 5239 position: absolute; 5240 top: 0; 5241 right: 0; 5242 bottom: 0; 5243 left: 0; 5244 width: 100%; 5245 opacity: 0; 5246 transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1); 5247 color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary)); 5248} 5249@media (forced-colors: active) { 5250 .mat-mdc-list-option .mdc-checkbox__checkmark { 5251 color: CanvasText; 5252 } 5253} 5254.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark { 5255 color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface)); 5256} 5257@media (forced-colors: active) { 5258 .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark { 5259 color: GrayText; 5260 } 5261} 5262.mat-mdc-list-option .mdc-checkbox__checkmark-path { 5263 transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1); 5264 stroke: currentColor; 5265 stroke-width: 3.12px; 5266 stroke-dashoffset: 29.7833385; 5267 stroke-dasharray: 29.7833385; 5268} 5269.mat-mdc-list-option .mdc-checkbox__mixedmark { 5270 width: 100%; 5271 height: 0; 5272 transform: scaleX(0) rotate(0deg); 5273 border-width: 1px; 5274 border-style: solid; 5275 opacity: 0; 5276 transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1); 5277 border-color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary)); 5278} 5279@media (forced-colors: active) { 5280 .mat-mdc-list-option .mdc-checkbox__mixedmark { 5281 margin: 0 1px; 5282 } 5283} 5284.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark { 5285 border-color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface)); 5286} 5287@media (forced-colors: active) { 5288 .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark { 5289 border-color: GrayText; 5290 } 5291} 5292.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background, 5293.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background, 5294.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background, 5295.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background { 5296 animation-duration: 180ms; 5297 animation-timing-function: linear; 5298} 5299.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path { 5300 animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear; 5301 transition: none; 5302} 5303.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark { 5304 animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear; 5305 transition: none; 5306} 5307.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path { 5308 animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear; 5309 transition: none; 5310} 5311.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark { 5312 animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear; 5313 transition: none; 5314} 5315.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark { 5316 animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear; 5317 transition: none; 5318} 5319.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {
5320 animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear; 5321 transition: none; 5322} 5323.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark { 5324 animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear; 5325 transition: none; 5326} 5327.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark { 5328 animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear; 5329 transition: none; 5330} 5331.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 5332.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 5333 transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1); 5334} 5335.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path, 5336.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path { 5337 stroke-dashoffset: 0; 5338} 5339.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark { 5340 transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1); 5341 opacity: 1; 5342} 5343.mat-mdc-list-option .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark { 5344 transform: scaleX(1) rotate(-45deg); 5345} 5346.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark { 5347 transform: rotate(45deg); 5348 opacity: 0; 5349 transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1); 5350} 5351.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark { 5352 transform: scaleX(1) rotate(0deg); 5353 opacity: 1; 5354} 5355@keyframes mdc-checkbox-unchecked-checked-checkmark-path { 5356 0%, 50% { 5357 stroke-dashoffset: 29.7833385; 5358 } 5359 50% { 5360 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 5361 } 5362 100% { 5363 stroke-dashoffset: 0; 5364 } 5365} 5366@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark { 5367 0%, 68.2% { 5368 transform: scaleX(0); 5369 } 5370 68.2% { 5371 animation-timing-function: cubic-bezier(0, 0, 0, 1); 5372 } 5373 100% { 5374 transform: scaleX(1); 5375 } 5376} 5377@keyframes mdc-checkbox-checked-unchecked-checkmark-path { 5378 from { 5379 animation-timing-function: cubic-bezier(0.4, 0, 1, 1); 5380 opacity: 1; 5381 stroke-dashoffset: 0; 5382 } 5383 to { 5384 opacity: 0; 5385 stroke-dashoffset: -29.7833385; 5386 } 5387} 5388@keyframes mdc-checkbox-checked-indeterminate-checkmark { 5389 from { 5390 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 5391 transform: rotate(0deg); 5392 opacity: 1; 5393 } 5394 to { 5395 transform: rotate(45deg); 5396 opacity: 0; 5397 } 5398} 5399@keyframes mdc-checkbox-indeterminate-checked-checkmark { 5400 from { 5401 animation-timing-function: cubic-bezier(0.14, 0, 0, 1); 5402 transform: rotate(45deg); 5403 opacity: 0; 5404 } 5405 to { 5406 transform: rotate(360deg); 5407 opacity: 1; 5408 } 5409} 5410@keyframes mdc-checkbox-checked-indeterminate-mixedmark { 5411 from { 5412 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 5413 transform: rotate(-45deg); 5414 opacity: 0; 5415 } 5416 to { 5417 transform: rotate(0deg); 5418 opacity: 1; 5419 } 5420} 5421@keyframes mdc-checkbox-indeterminate-checked-mixedmark { 5422 from { 5423 animation-timing-function: cubic-bezier(0.14, 0, 0, 1); 5424 transform: rotate(0deg); 5425 opacity: 1; 5426 } 5427 to { 5428 transform: rotate(315deg); 5429 opacity: 0; 5430 } 5431} 5432@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark { 5433 0% { 5434 animation-timing-function: linear; 5435 transform: scaleX(1); 5436 opacity: 1; 5437 } 5438 32.8%, 100% { 5439 transform: scaleX(0); 5440 opacity: 0; 5441 } 5442} 5443.mat-mdc-list-option .mdc-radio { 5444 display: inline-block; 5445 position: relative; 5446 flex: 0 0 auto; 5447 box-sizing: content-box; 5448 width: 20px; 5449 height: 20px; 5450 cursor: pointer; 5451 will-change: opacity, transform, border-color, color; 5452 padding: calc((var(--mat-radio-state-layer-size, 40px) - 20px) / 2); 5453} 5454.mat-mdc-list-option .mdc-radio__background { 5455 display: inline-block; 5456 position: relative; 5457 box-sizing: border-box;
5458 width: 20px; 5459 height: 20px; 5460} 5461.mat-mdc-list-option .mdc-radio__background::before { 5462 position: absolute; 5463 transform: scale(0, 0); 5464 border-radius: 50%; 5465 opacity: 0; 5466 pointer-events: none; 5467 content: ""; 5468 transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1); 5469 width: var(--mat-radio-state-layer-size, 40px); 5470 height: var(--mat-radio-state-layer-size, 40px); 5471 top: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2); 5472 left: calc(-1 * (var(--mat-radio-state-layer-size, 40px) - 20px) / 2); 5473} 5474.mat-mdc-list-option .mdc-radio__outer-circle { 5475 position: absolute; 5476 top: 0; 5477 left: 0; 5478 box-sizing: border-box; 5479 width: 100%; 5480 height: 100%; 5481 border-width: 2px; 5482 border-style: solid; 5483 border-radius: 50%; 5484 transition: border-color 90ms cubic-bezier(0.4, 0, 0.6, 1); 5485} 5486.mat-mdc-list-option .mdc-radio__inner-circle { 5487 position: absolute; 5488 top: 0; 5489 left: 0; 5490 box-sizing: border-box; 5491 width: 100%; 5492 height: 100%; 5493 transform: scale(0); 5494 border-radius: 50%; 5495 transition: transform 90ms cubic-bezier(0.4, 0, 0.6, 1), background-color 90ms cubic-bezier(0.4, 0, 0.6, 1); 5496} 5497@media (forced-colors: active) { 5498 .mat-mdc-list-option .mdc-radio__inner-circle { 5499 background-color: CanvasText !important; 5500 } 5501} 5502.mat-mdc-list-option .mdc-radio__native-control { 5503 position: absolute; 5504 margin: 0; 5505 padding: 0; 5506 opacity: 0; 5507 top: 0; 5508 right: 0; 5509 left: 0; 5510 cursor: inherit; 5511 z-index: 1; 5512 width: var(--mat-radio-state-layer-size, 40px); 5513 height: var(--mat-radio-state-layer-size, 40px); 5514} 5515.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background { 5516 transition: opacity 90ms cubic-bezier(0, 0, 0.2, 1), transform 90ms cubic-bezier(0, 0, 0.2, 1); 5517} 5518.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__outer-circle, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle { 5519 transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1); 5520} 5521.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background > .mdc-radio__inner-circle, .mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__inner-circle { 5522 transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1); 5523} 5524.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle { 5525 border-color: var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface)); 5526 opacity: var(--mat-radio-disabled-unselected-icon-opacity, 0.38); 5527} 5528.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background { 5529 cursor: default; 5530} 5531.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__outer-circle { 5532 border-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface)); 5533 opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38); 5534} 5535.mat-mdc-list-option .mdc-radio__native-control:disabled + .mdc-radio__background > .mdc-radio__inner-circle { 5536 background-color: var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor)); 5537 opacity: var(--mat-radio-disabled-selected-icon-opacity, 0.38); 5538} 5539.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle { 5540 border-color: var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant)); 5541} 5542.mat-mdc-list-option .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__outer-circle { 5543 border-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary)); 5544} 5545.mat-mdc-list-option .mdc-radio__native-control:enabled:checked + .mdc-radio__background > .mdc-radio__inner-circle { 5546 background-color: var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor)); 5547} 5548.mat-mdc-list-option .mdc-radio__native-control:checked + .mdc-radio__background >
5548 .mdc-radio__inner-circle { 5549 transform: scale(0.5); 5550 transition: transform 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1); 5551} 5552.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before, 5553.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle, 5554.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle { 5555 transition: none !important; 5556} 5557.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mat-mdc-checkbox-touch-target, 5558.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__native-control, 5559.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__ripple, 5560.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mat-mdc-checkbox-ripple::before, 5561.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background, 5562.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark, 5563.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path, 5564.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__start > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark, .mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mat-mdc-checkbox-touch-target, 5565.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__native-control, 5566.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__ripple, 5567.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mat-mdc-checkbox-ripple::before, 5568.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background, 5569.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark, 5570.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path, 5571.mat-mdc-list-option._mat-animation-noopable > .mdc-list-item__end > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark { 5572 transition: none !important; 5573 animation: none !important; 5574} 5575.mat-mdc-list-option .mdc-checkbox__native-control, .mat-mdc-list-option .mdc-radio__native-control { 5576 display: none; 5577} 5578 5579@media (forced-colors: active) { 5580 .mat-mdc-list-option.mdc-list-item--selected::after { 5581 content: ""; 5582 position: absolute; 5583 top: 50%; 5584 right: 16px; 5585 transform: translateY(-50%); 5586 width: 10px; 5587 height: 0; 5588 border-bottom: solid 10px; 5589 border-radius: 10px; 5590 } 5591 .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after { 5592 right: auto; 5593 left: 16px; 5594 } 5595} 5596`],encapsulation:2,changeDetection:0})}return t})();var l6e=(()=>{class t extends x_{_isNonInteractive=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[me([{provide:x_,useExisting:t}]),he],ngContentSelectors:PH,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[LH],encapsulation:2,changeDetection:0})}return t})(),hte={provide:er,useExisting:bn(()=>fte),multi:!0},n1=class{source;options;constructor(i,e){this.source=i,this.options=e}},fte=(()=>{class t extends x_{_element=m(Q);_ngZone=m(le);_renderer=m(ot);_initialized=!1;_keyManager;_listenerCleanups;_destroyed=new O;_isDestroyed=!1;_onChange=e=>{};_items;selectionChange=new V;color="accent";compareWith=(e,n)=>e===n;get multiple(){return this._multiple}set multiple(e){let n=Pn(e);n!==this._multiple&&(this._multiple=n,this.selectedOptions=new mr(this._multiple,this.selectedOptions.selected))}_multiple=!0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Pn(e)}
5596_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;selectedOptions=new mr(this._multiple);_value=null;_onTouched=()=>{};_changeDetectorRef=m(Ee);constructor(){super(),this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen(this._element.nativeElement,"focusin",this._handleFocusin),this._renderer.listen(this._element.nativeElement,"focusout",this._handleFocusout)]}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(e){let n=e.disabled,r=e.disableRipple,o=e.hideSingleSelectionIndicator;(r&&!r.firstChange||n&&!n.firstChange||o&&!o.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._listenerCleanups?.forEach(e=>e()),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){let e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new n1(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this._markOptionsForCheck()}get disabled(){return this._selectionListDisabled()}set disabled(e){this._selectionListDisabled.set(Pn(e)),this._selectionListDisabled()&&this._keyManager?.setActiveItem(-1)}_selectionListDisabled=Z(!1);registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(xe(this._destroyed)).subscribe(e=>{for(let n of e.added)n.selected=!0;for(let n of e.removed)n.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(n=>n._setSelected(!1)),e.forEach(n=>{let r=this.options.find(o=>o.selected?!1:this.compareWith(o.value,n));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,n){let r=[];return this.options.forEach(o=>{(!n||!o.disabled)&&o._setSelected(e)&&r.push(o)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){let n=this._keyManager.activeItem;if((e.keyCode===13||e.keyCode===32)&&!this._keyManager.isTyping()&&n&&!n.disabled)e.preventDefault(),n._toggleOnInteraction();else if(e.keyCode===65&&this.multiple&&!this._keyManager.isTyping()&&Ht(e,"ctrlKey","metaKey")){let r=this.options.some(o=>!o.disabled&&!o.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e)}_handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})};_handleFocusin=e=>{if(this.disabled)return;let n=this._items.toArray().findIndex(r=>r._elementRef.nativeElement.contains(e.target));n>-1?this._setActiveOption(n):this._resetActiveOption()};_setupRovingTabindex(){this._keyManager=new ss(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(xe(this._destroyed)).subscribe(()=>{let e=this._keyManager.activeItem;(!e||this._items.toArray().indexOf(e)===-1)&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((n,r)=>n._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled){this._setActiveOption(-1);return}let e=this._items.find(n=>n.selected&&!n.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){let e=Io();return e&&this._element.nativeElement.contains(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-selection-list"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,pte,5),n&2){let a;H(a=U())&&(r._items=a)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(n,r){n&1&&T("keydown",function(a){return r._handleKeydown(a)}),n&2&&oe("aria-multiselectable",r.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hide
vendor: 12,991 bytes, lines 5596-5666
5596SingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[me([hte,{provide:x_,useExisting:t},{provide:zH,useExisting:t}]),he,Ke],ngContentSelectors:PH,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[LH],encapsulation:2,changeDetection:0})}return t})(),i1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Np,Hi,LC,De,E_]})}return t})();var gte=["mat-menu-item",""],_te=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],bte=["mat-icon, [matMenuItemIcon]","*"];function vte(t,i){t&1&&(In(),u(0,"svg",2),x(1,"polygon",3),c())}var yte=["*"];function Cte(t,i){if(t&1){let e=Se();ft(0,"div",0),Ls("click",function(){te(e);let r=_();return ne(r.closed.emit("click"))})("animationstart",function(r){te(e);let o=_();return ne(o._onAnimationStart(r.animationName))})("animationend",function(r){te(e);let o=_();return ne(o._onAnimationDone(r.animationName))})("animationcancel",function(r){te(e);let o=_();return ne(o._onAnimationDone(r.animationName))}),ft(1,"div",1),re(2),_t()()}if(t&2){let e=_();Be(e._classList),ee("mat-menu-panel-animations-disabled",e._animationsDisabled)("mat-menu-panel-exit-animation",e._panelAnimationState==="void")("mat-menu-panel-animating",e._isAnimating()),An("id",e.panelId),oe("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var o1=new R("MAT_MENU_PANEL"),Zu=(()=>{class t{_elementRef=m(Q);_document=m(Ce);_focusMonitor=m(oi);_parentMenu=m(o1,{optional:!0});_changeDetectorRef=m(Ee);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new O;_focused=new O;_highlighted=!1;_triggersSubmenu=!1;constructor(){m(Lt).load(mi),this._parentMenu?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),n=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<n.length;r++)n[r].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(n,r){n&1&&T("click",function(a){return r._checkDisabled(a)})("mouseenter",function(){return r._handleMouseEnter()}),n&2&&(oe("role",r.role)("tabindex",r._getTabIndex())("aria-disabled",r.disabled)("disabled",r.disabled||null),ee("mat-mdc-menu-item-highlighted",r._highlighted)("mat-mdc-menu-item-submenu-trigger",r._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q]},exportAs:["matMenuItem"],attrs:gte,ngContentSelectors:bte,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(n,r){n&1&&(Ie(_te),re(0),u(1,"span",0),re(2,1),c(),x(3,"div",1),v(4,vte,2,0,":svg:svg",2)),n&2&&(l(3),g("matRippleDisabled",r.disableRipple||r.disabled)("matRippleTrigger",r._getHostElement()),l(),y(r._triggersSubmenu?4:-1))},dependencies:[Hr],encapsulation:2,changeDetection:0})}return t})();var GH=new R("MatMenuContent"),ZC=(()=>{class t{_template=m(Zt);_appRef=m(Qi);_injector=m(ie);_viewContainerRef=m(Pt);_document=m(Ce);_changeDetectorRef=m(Ee);_portal;_outlet;_attached=new O;constructor(){}attach(e={}){this._portal||(this._portal=new Sr(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new jp(this._document.createElement("div"),this._appRef,this._injector));let n=this._template.elementRef.nativeElement;n.parentNode.insertBefore(this._outlet.outletElement,n),this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal?.isAttached&&this._portal.detach()}ngOnDestroy(){this.detach(),this._outlet?.dispose()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","matMenuContent",""]],features:[me([{provide:GH,useExisting:t}])]})}return t})(),Dte=new R("mat-menu-default-options",{providedIn:"root",factory:()=>({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),r1="_mat-menu-enter",XC="_mat-menu-exit",Zs=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_injector=m(ie);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=lt();_allItems;_directDescendantItems=new ro;_classList={};_panelAnimationState="void";_animationDone=new O;_isAnimating=Z(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;set panelClass(e){let n=this._previousPanelClass,r=P({},this._classList);n&&n.length&&n.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new V;close=this.closed;panelId=m(pt).getId("mat-menu-panel-");constructor(){let e=m(Dte);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ss(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Re(this._directDescendantItems),W(e=>ut(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let n=this._keyManager;if(this._panelAnimationState==="enter"&&n.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,n.activeItemIndex||0));r[o]&&!r[o].disabled?n.setActiveItem(o):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(Re(this._directDescendantItems),W(n=>ut(...n.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let n=e.keyCode,r=this._keyManager;switch(n){case 27:Ht(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(n===38||n===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Dt(()=>{let n=this._resolvePanel();if(!n||!n.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&n&&n.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,n=this.yPosition){this._classList=Ae(P({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":n==="above","mat-menu-below":n==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(e){let n=e===XC;(n||e===r1)&&(n&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(n?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===r1||e===XC)&&this._isAnimating.set(!0)}_setIsOpen(e){if(this._panelAnimationState=e?"enter":"void",e){if(this._keyManager.activeItemIndex===0){let n=this._resolvePanel();n&&(n.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(XC),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?r1:XC)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(Re(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let e=null;return this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-menu"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,GH,5)(o,Zu,5)(o,Zu,4),n&2){let a;H(a=U())&&(r.lazyContent=a.first),H(a=U())&&(r._allItems=a),H(a=U())&&(r.items=a)}},viewQuery:function(n,r){if(n&1&&ve(Zt,5),n&2){let o;H(o=U())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(n,r){n&2&&oe("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",q],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:q(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[me([{provide:o1,useExisting:t}])],ngContentSelectors:yte,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(n,r){n&1&&(Ie(),Wc(0,Cte,3,12,"ng-template"))},styles:[`mat-menu { 5597 display: none; 5598} 5599 5600.mat-mdc-menu-content { 5601 margin: 0; 5602 padding: 8px 0; 5603 outline: 0; 5604} 5605.mat-mdc-menu-content, 5606.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text { 5607 -moz-osx-font-smoothing: grayscale; 5608 -webkit-font-smoothing: antialiased; 5609 flex: 1; 5610 white-space: normal; 5611 font-family: var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font)); 5612 line-height: var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height)); 5613 font-size: var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size)); 5614 letter-spacing: var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking)); 5615 font-weight: var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight)); 5616} 5617 5618@keyframes _mat-menu-enter { 5619 from { 5620 opacity: 0; 5621 transform: scale(0.8); 5622 } 5623 to { 5624 opacity: 1; 5625 transform: none; 5626 } 5627} 5628@keyframes _mat-menu-exit { 5629 from { 5630 opacity: 1; 5631 } 5632 to { 5633 opacity: 0; 5634 } 5635} 5636.mat-mdc-menu-panel { 5637 min-width: 112px; 5638 max-width: 280px; 5639 overflow: auto; 5640 box-sizing: border-box; 5641 outline: 0; 5642 animation: _mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1); 5643 border-radius: var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small)); 5644 background-color: var(--mat-menu-container-color, var(--mat-sys-surface-container)); 5645 box-shadow: var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 5646 will-change: transform, opacity; 5647} 5648.mat-mdc-menu-panel.mat-menu-panel-exit-animation { 5649 animation: _mat-menu-exit 100ms 25ms linear forwards; 5650} 5651.mat-mdc-menu-panel.mat-menu-panel-animations-disabled { 5652 animation: none; 5653} 5654.mat-mdc-menu-panel.mat-menu-panel-animating { 5655 pointer-events: none; 5656} 5657.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty) { 5658 display: none; 5659} 5660@media (forced-colors: active) { 5661 .mat-mdc-menu-panel { 5662 outline: solid 1px; 5663 } 5664} 5665.mat-mdc-menu-panel .mat-divider { 5666 border-top-color: var(--mat-menu-divider-color, var(--mat-sys-surface-variant));
5667 margin-bottom: var(--mat-menu-divider-bottom-spacing, 8px); 5668 margin-top: var(--mat-menu-divider-top-spacing, 8px); 5669} 5670 5671.mat-mdc-menu-item { 5672 display: flex; 5673 position: relative; 5674 align-items: center; 5675 justify-content: flex-start; 5676 overflow: hidden; 5677 padding: 0; 5678 cursor: pointer; 5679 width: 100%; 5680 text-align: left; 5681 box-sizing: border-box; 5682 color: inherit; 5683 font-size: inherit; 5684 background: none; 5685 text-decoration: none; 5686 margin: 0; 5687 min-height: 48px; 5688 padding-left: var(--mat-menu-item-leading-spacing, 12px); 5689 padding-right: var(--mat-menu-item-trailing-spacing, 12px); 5690 -webkit-user-select: none; 5691 user-select: none; 5692 cursor: pointer; 5693 outline: none; 5694 border: none; 5695 -webkit-tap-highlight-color: transparent; 5696} 5697.mat-mdc-menu-item::-moz-focus-inner { 5698 border: 0; 5699} 5700[dir=rtl] .mat-mdc-menu-item { 5701 padding-left: var(--mat-menu-item-trailing-spacing, 12px); 5702 padding-right: var(--mat-menu-item-leading-spacing, 12px); 5703} 5704.mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) { 5705 padding-left: var(--mat-menu-item-with-icon-leading-spacing, 12px); 5706 padding-right: var(--mat-menu-item-with-icon-trailing-spacing, 12px); 5707} 5708[dir=rtl] .mat-mdc-menu-item:has(.material-icons, mat-icon, [matButtonIcon]) { 5709 padding-left: var(--mat-menu-item-with-icon-trailing-spacing, 12px); 5710 padding-right: var(--mat-menu-item-with-icon-leading-spacing, 12px); 5711} 5712.mat-mdc-menu-item, .mat-mdc-menu-item:visited, .mat-mdc-menu-item:link { 5713 color: var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface)); 5714} 5715.mat-mdc-menu-item .mat-icon-no-color, 5716.mat-mdc-menu-item .mat-mdc-menu-submenu-icon { 5717 color: var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant)); 5718} 5719.mat-mdc-menu-item[disabled] { 5720 cursor: default; 5721 opacity: 0.38; 5722} 5723.mat-mdc-menu-item[disabled]::after { 5724 display: block; 5725 position: absolute; 5726 content: ""; 5727 top: 0; 5728 left: 0; 5729 bottom: 0; 5730 right: 0; 5731} 5732.mat-mdc-menu-item:focus { 5733 outline: 0; 5734} 5735.mat-mdc-menu-item .mat-icon { 5736 flex-shrink: 0; 5737 margin-right: var(--mat-menu-item-spacing, 12px); 5738 height: var(--mat-menu-item-icon-size, 24px); 5739 width: var(--mat-menu-item-icon-size, 24px); 5740} 5741[dir=rtl] .mat-mdc-menu-item { 5742 text-align: right; 5743} 5744[dir=rtl] .mat-mdc-menu-item .mat-icon { 5745 margin-right: 0; 5746 margin-left: var(--mat-menu-item-spacing, 12px); 5747} 5748.mat-mdc-menu-item:not([disabled]):hover { 5749 background-color: var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 5750} 5751.mat-mdc-menu-item:not([disabled]).cdk-program-focused, .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused, .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted { 5752 background-color: var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 5753} 5754@media (forced-colors: active) { 5755 .mat-mdc-menu-item {
5756 margin-top: 1px; 5757 } 5758} 5759 5760.mat-mdc-menu-submenu-icon { 5761 width: var(--mat-menu-item-icon-size, 24px); 5762 height: 10px; 5763 fill: currentColor; 5764 padding-left: var(--mat-menu-item-spacing, 12px); 5765} 5766[dir=rtl] .mat-mdc-menu-submenu-icon { 5767 padding-right: var(--mat-menu-item-spacing, 12px); 5768 padding-left: 0; 5769} 5770[dir=rtl] .mat-mdc-menu-submenu-icon polygon { 5771 transform: scaleX(-1); 5772 transform-origin: center; 5773} 5774@media (forced-colors: active) { 5775 .mat-mdc-menu-submenu-icon { 5776 fill: CanvasText; 5777 } 5778} 5779 5780.mat-mdc-menu-item .mat-mdc-menu-ripple { 5781 top: 0; 5782 left: 0; 5783 right: 0; 5784 bottom: 0; 5785 position: absolute; 5786 pointer-events: none; 5787} 5788`],encapsulation:2,changeDetection:0})}return t})(),Ete=new R("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}});var th=new WeakMap,wte=(()=>{class t{_canHaveBackdrop;_element=m(Q);_viewContainerRef=m(Pt);_menuItemInstance=m(Zu,{optional:!0,self:!0});_dir=m(an,{optional:!0});_focusMonitor=m(oi);_ngZone=m(le);_injector=m(ie);_scrollStrategy=m(Ete);_changeDetectorRef=m(Ee);_animationsDisabled=lt();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=_e.EMPTY;_menuCloseSubscription=_e.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(e){e!==this._menuInternal&&(this._menuInternal=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(n=>{this._destroyMenu(n),(n==="click"||n==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(e){this._canHaveBackdrop=e;let n=m(o1,{optional:!0});this._parentMaterialMenu=n instanceof Zs?n:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&th.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(e){if(this._triggerIsAriaDisabled())return;let n=this._menu;if(this._menuOpen||!n)return;this._pendingRemoval?.unsubscribe();let r=th.get(n);th.set(n,this),r&&r!==this&&r._closeMenu();let o=this._createOverlay(n),a=o.getConfig(),s=a.positionStrategy;this._setPosition(n,s),this._canHaveBackdrop?a.hasBackdrop=n.hasBackdrop==null?!this._triggersSubmenu():n.hasBackdrop:a.hasBackdrop=n.hasBackdrop??!1,o.hasAttached()||(o.attach(this._getPortal(n)),n.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),n.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,e&&n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),n instanceof Zs&&(n._setIsOpen(!0),n._directDescendantItems.changes.pipe(xe(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}_destroyMenu(e){let n=this._overlayRef,r=this._menu;!n||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),r instanceof Zs&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(We(1)).subscribe(()=>{n.detach(),th.has(r)||r.lazyContent?.detach()}),r._setIsOpen(!1)):(n.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&th.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}
vendor: 5,697 bytes, line 5788
5788_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=go(this._injector,n),this._overlayRef.keydownEvents().subscribe(r=>{this._menu instanceof Zs&&this._menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new fo({positionStrategy:cs(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(e,n){e.setPositionClasses&&n.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,a)})})}_setPosition(e,n){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[d,p]=[a,s],[f,b]=[r,o],w=0;if(this._triggersSubmenu()){if(b=r=e.xPosition==="before"?"start":"end",o=f=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let A=this._parentMaterialMenu.items.first;this._parentInnerPadding=A?A._getHostElement().offsetTop:0}w=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d=a==="top"?"bottom":"top",p=s==="top"?"bottom":"top");n.withPositions([{originX:r,originY:d,overlayX:f,overlayY:a,offsetY:w},{originX:o,originY:d,overlayX:b,overlayY:a,offsetY:w},{originX:r,originY:p,overlayX:f,overlayY:s,offsetY:-w},{originX:o,originY:p,overlayX:b,overlayY:s,offsetY:-w}])}_menuClosingActions(){let e=this._getOutsideClickStream(this._overlayRef),n=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:B(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ae(a=>this._menuOpen&&a!==this._menuItemInstance)):B();return ut(e,r,o,n)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Sr(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return th.get(e)===this}_triggerIsAriaDisabled(){return q(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(n){wu()};static \u0275dir=N({type:t})}return t})(),fd=(()=>{class t extends wte{_cleanupTouchstart;_hoverSubscription=_e.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){this._menu=e}menuData;restoreFocus=!0;menuOpened=new V;onMenuOpen=this.menuOpened;menuClosed=new V;onMenuClose=this.menuClosed;constructor(){super(!0);let e=m(ot);this._cleanupTouchstart=e.listen(this._element.nativeElement,"touchstart",n=>{Kl(n)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(e){return e.backdropClick()}_handleMousedown(e){Yl(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let n=e.keyCode;(n===13||n===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===39&&this.dir==="ltr"||n===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(e=>{e===this._menuItemInstance&&!e.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(n,r){n&1&&T("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),n&2&&oe("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu==null?null:r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[he]})}return t})();var a1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,Ui,De,ur]})}return t})();var xte=["trigger"],Ste=["panel"],Tte=[[["mat-select-trigger"]],"*"],Ite=["mat-select-trigger","*"];function Ate(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),S(e.placeholder)}}function kte(t,i){t&1&&re(0)}function Rte(t,i){if(t&1&&(u(0,"span",11),h(1),c()),t&2){let e=_(2);l(),S(e.triggerValue)}}
5788function Mte(t,i){if(t&1&&(u(0,"span",5),v(1,kte,1,0)(2,Rte,2,1,"span",11),c()),t&2){let e=_();l(),y(e.customTrigger?1:2)}}function Nte(t,i){if(t&1){let e=Se();u(0,"div",12,1),T("keydown",function(r){te(e);let o=_();return ne(o._handleKeydown(r))}),re(2,1),c()}if(t&2){let e=_();Be(e.panelClass),ee("mat-select-panel-animations-enabled",!e._animationsDisabled)("mat-primary",(e._parentFormField==null?null:e._parentFormField.color)==="primary")("mat-accent",(e._parentFormField==null?null:e._parentFormField.color)==="accent")("mat-warn",(e._parentFormField==null?null:e._parentFormField.color)==="warn")("mat-undefined",!(e._parentFormField!=null&&e._parentFormField.color)),oe("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Ote=new R("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}}),Fte=new R("MAT_SELECT_CONFIG"),Pte=new R("MatSelectTrigger"),s1=class{source;value;constructor(i,e){this.source=i,this.value=e}},si=(()=>{class t{_viewportRuler=m(ji);_changeDetectorRef=m(Ee);_elementRef=m(Q);_dir=m(an,{optional:!0});_idGenerator=m(pt);_renderer=m(ot);_parentFormField=m(Jl,{optional:!0});ngControl=m(Li,{self:!0,optional:!0});_liveAnnouncer=m(e_);_defaultOptions=m(Fte,{optional:!0});_animationsDisabled=lt();_popoverLocation;_initialized=new O;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let n=this.options.toArray()[e];if(n){let r=this.panel.nativeElement,o=NC(e,this.options,this.optionGroups),a=n._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=OC(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new s1(this,e)}_scrollStrategyFactory=m(Ote);_panelOpen=!1;_compareWith=(e,n)=>e===n;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new O;_errorStateTracker;stateChanges=new O;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Z(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(G.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=$n(()=>{let e=this.options;return e?e.changes.pipe(Re(e),W(()=>ut(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(W(()=>this.optionSelectionChanges))});openedChange=new V;
5788_openedStream=this.openedChange.pipe(ae(e=>e),$(()=>{}));_closedStream=this.openedChange.pipe(ae(e=>!e),$(()=>{}));selectionChange=new V;valueChange=new V;constructor(){let e=m(qp),n=m(hp,{optional:!0}),r=m(qn,{optional:!0}),o=m(new di("tabindex"),{optional:!0}),a=m(s_,{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Yp(e,this.ngControl,r,n,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this._popoverLocation=a?.usePopover===!1?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new mr(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(xe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(xe(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Re(null),xe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),n=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(We(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=`${this.id}-panel`;this._trackedModal&&sd(this._trackedModal,"aria-owns",n),Pp(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;sd(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{n(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,n=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let n=e.keyCode,r=n===40||n===38||n===37||n===39,o=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&o&&!Ht(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let d=this.selected;d&&s!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){let n=this._keyManager,r=e.keyCode,o=r===40||r===38,a=n.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&n.activeItem&&!Ht(e))e.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(s?d.select():d.deselect())})}else{let s=n.activeItemIndex;n.onKeydown(e),this._multiple&&o&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==s&&n.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Ht(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let n=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch(o){return!1}});return n&&this._selectionModel.select(n),n}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof zp?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Gu(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=ut(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(xe(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),ut(...this.options.map(n=>n._stateChanges)).pipe(xe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,n){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),n&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),n&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((n,r)=>this.sortComparator?this.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let n;this.multiple?n=this.selected.map(r=>r.value):n=this.selected?this.selected.value:e,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let n=0;n<this.options.length;n++)if(!this.options.get(n).disabled){e=n;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,n=e?e+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let n=this._elementRef.nativeElement;e.length?n.setAttribute("aria-describedby",e.join(" ")):n.removeAttribute("aria-describedby")}onContainerClick(e){let n=ui(e);n&&(n.tagName==="MAT-OPTION"||n.classList.contains("cdk-overlay-backdrop")||n.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-select"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Pte,5)(o,Qt,5)(o,h_,5),n&2){let a;H(a=U())&&(r.customTrigger=a.first),H(a=U())&&(r.options=a),H(a=U())&&(r.optionGroups=a)}},viewQuery:function(n,r){if(n&1&&ve(xte,5)(Ste,5)(SC,5),n&2){let o;H(o=U())&&(r.trigger=o.first),H(o=U())&&(r.panel=o.first),H(o=U())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(n,r){n&1&&T("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),n&2&&(oe("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ee("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple)("mat-select-open",r.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q],placeholder:"placeholder",required:[2,"required","required",q],multiple:[2,"multiple","multiple",q],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",q],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",rn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",q]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[me([{provide:Gp,useExisting:t},{provide:p_,useExisting:t}]),Ke],ngContentSelectors:Ite,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(n,r){if(n&1&&(Ie(Tte),u(0,"div",2,0),T("click",function(){return r.open()}),u(3,"div",3),v(4,Ate,2,1,"span",4)(5,Mte,3,1,"span",5),c(),u(6,"div",6)(7,"div",7),In(),u(8,"svg",8),x(9,"path",9),c()()()(),fe(10,Nte,3,16,"ng-template",10),T("detach",function(){return r.close()})("backdropClick",function(){return r.close()})("overlayKeydown",function(a){return r._handleOverlayKeydown(a)})),n&2){let o=ye(1);l(3),oe("id",r._valueId),l(),y(r.empty?4:5),l(6),g("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",r._popoverLocation)}},dependencies:[zp,SC],styles:[`@keyframes _mat-select-enter { 5789 from { 5790 opacity: 0; 5791 transform: scaleY(0.8); 5792 } 5793 to { 5794 opacity: 1; 5795 transform: none; 5796 } 5797} 5798@keyframes _mat-select-exit { 5799 from { 5800 opacity: 1; 5801 } 5802 to { 5803 opacity: 0; 5804 } 5805} 5806.mat-mdc-select { 5807 display: inline-block; 5808 width: 100%; 5809 outline: none; 5810 -moz-osx-font-smoothing: grayscale; 5811 -webkit-font-smoothing: antialiased; 5812 color: var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface)); 5813 font-family: var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font)); 5814 line-height: var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height)); 5815 font-size: var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size)); 5816 font-weight: var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight)); 5817 letter-spacing: var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking)); 5818} 5819 5820div.mat-mdc-select-panel { 5821 box-shadow: var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.
582114), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 5822} 5823 5824.mat-mdc-select-disabled { 5825 color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 5826} 5827.mat-mdc-select-disabled .mat-mdc-select-placeholder { 5828 color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 5829} 5830 5831.mat-mdc-select-trigger { 5832 display: inline-flex; 5833 align-items: center; 5834 cursor: pointer; 5835 position: relative; 5836 box-sizing: border-box; 5837 width: 100%; 5838} 5839.mat-mdc-select-disabled .mat-mdc-select-trigger { 5840 -webkit-user-select: none; 5841 user-select: none; 5842 cursor: default; 5843} 5844 5845.mat-mdc-select-value { 5846 width: 100%; 5847 overflow: hidden; 5848 text-overflow: ellipsis; 5849 white-space: nowrap; 5850} 5851 5852.mat-mdc-select-value-text { 5853 white-space: nowrap; 5854 overflow: hidden; 5855 text-overflow: ellipsis; 5856} 5857 5858.mat-mdc-select-arrow-wrapper { 5859 height: 24px; 5860 flex-shrink: 0; 5861 display: inline-flex; 5862 align-items: center; 5863} 5864.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper { 5865 transform: none; 5866} 5867 5868.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow, 5869.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after { 5870 color: var(--mat-select-invalid-arrow-color, var(--mat-sys-error)); 5871} 5872 5873.mat-mdc-select-arrow { 5874 width: 10px; 5875 height: 5px; 5876 position: relative; 5877 color: var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant)); 5878} 5879.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow { 5880 color: var(--mat-select-focused-arrow-color, var(--mat-sys-primary)); 5881} 5882.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow { 5883 color: var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 5884} 5885.mat-select-open .mat-mdc-select-arrow { 5886 transform: rotate(180deg); 5887} 5888.mat-form-field-animations-enabled .mat-mdc-select-arrow { 5889 transition: transform 80ms linear; 5890} 5891.mat-mdc-select-arrow svg { 5892 fill: currentColor; 5893 position: absolute; 5894 top: 50%; 5895 left: 50%; 5896 transform: translate(-50%, -50%); 5897} 5898@media (forced-colors: active) { 5899 .mat-mdc-select-arrow svg { 5900 fill: CanvasText; 5901 } 5902 .mat-mdc-select-disabled .mat-mdc-select-arrow svg { 5903 fill: GrayText; 5904 } 5905} 5906 5907div.mat-mdc-select-panel { 5908 width: 100%; 5909 max-height: 275px; 5910 outline: 0; 5911 overflow: auto; 5912 padding: 8px 0; 5913 box-sizing: border-box; 5914 transform-origin: top center; 5915 border-radius: 0 0 4px 4px; 5916 position: relative; 5917 background-color: var(--mat-select-panel-background-color, var(--mat-sys-surface-container)); 5918} 5919.mat-mdc-select-panel-above div.mat-mdc-select-panel { 5920 border-radius: 4px 4px 0 0; 5921 transform-origin: bottom center; 5922} 5923@media (forced-colors: active) { 5924 div.mat-mdc-select-panel { 5925 outline: solid 1px; 5926 } 5927} 5928 5929.mat-select-panel-animations-enabled { 5930 animation: _mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1); 5931} 5932.mat-select-panel-animations-enabled.mat-select-panel-exit { 5933 animation: _mat-select-exit 100ms linear; 5934} 5935 5936.mat-mdc-select-placeholder { 5937 transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1); 5938 color: var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant)); 5939} 5940.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder, ._mat-animation-noopable .mat-mdc-select-placeholder { 5941 transition: none; 5942} 5943.mat-form-field-hide-placeholder .mat-mdc-select-placeholder { 5944 color: transparent; 5945 -webkit-text-fill-color: transparent; 5946 transition: none; 5947 display: block; 5948} 5949 5950.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper { 5951 cursor: pointer; 5952} 5953.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label { 5954 max-width: calc(100% - 18px); 5955} 5956.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above { 5957 max-width: calc(100% / 0.75 - 24px); 5958} 5959.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch { 5960 max-width: calc(100% - 60px); 5961} 5962.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch { 5963 max-width: calc(100% - 24px); 5964} 5965 5966.mat-mdc-select-min-line:empty::before { 5967 content: " "; 5968 white-space: pre; 5969 width: 1px; 5970 display: inline-block; 5971 visibility: hidden; 5972} 5973 5974.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper { 5975 transform: var(--mat-select-arrow-transform, translateY(-8px)); 5976} 5977`],encapsulation:2,changeDetection:0})}return t})();var Qu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Ui,Wp,De,ur,zr,Wp]})}return t})();var T_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Ql,Ui,De,ur]})}return t})();function Lte(t,i){if(t&1&&(u(0,"mat-option",17),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e," ")}}function Bte(t,i){if(t&1){let e=Se();u(0,"mat-form-field",14)(1,"mat-select",16,0),T("selectionChange",function(r){te(e);let o=_(2);return ne(o._changePageSize(r.value))}),He(3,Lte,2,2,"mat-option",17,at),c(),u(5,"div",18),T("click",function(){te(e);let r=ye(2);
5977return ne(r.open())}),c()()}if(t&2){let e=_(2);g("appearance",e._formFieldAppearance)("color",e.color),l(),g("value",e.pageSize)("disabled",e.disabled),ag("aria-labelledby",e._pageSizeLabelId),g("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),l(2),Ue(e._displayedPageSizeOptions)}}function Vte(t,i){if(t&1&&(u(0,"div",15),h(1),c()),t&2){let e=_(2);l(),S(e.pageSize)}}function jte(t,i){if(t&1&&(u(0,"div",3)(1,"div",13),h(2),c(),v(3,Bte,6,7,"mat-form-field",14),v(4,Vte,2,1,"div",15),c()),t&2){let e=_();l(),oe("id",e._pageSizeLabelId),l(),se(" ",e._intl.itemsPerPageLabel," "),l(),y(e._displayedPageSizeOptions.length>1?3:-1),l(),y(e._displayedPageSizeOptions.length<=1?4:-1)}}function Hte(t,i){if(t&1){let e=Se();u(0,"button",19),T("click",function(){te(e);let r=_();return ne(r._buttonClicked(0,r._previousButtonsDisabled()))}),In(),u(1,"svg",8),x(2,"path",20),c()()}if(t&2){let e=_();g("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),oe("aria-label",e._intl.firstPageLabel)}}function Ute(t,i){if(t&1){let e=Se();u(0,"button",21),T("click",function(){te(e);let r=_();return ne(r._buttonClicked(r.getNumberOfPages()-1,r._nextButtonsDisabled()))}),In(),u(1,"svg",8),x(2,"path",22),c()()}if(t&2){let e=_();g("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),oe("aria-label",e._intl.lastPageLabel)}}var I_=(()=>{class t{changes=new O;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,n,r)=>{if(r==0||n==0)return`0 of ${r}`;r=Math.max(r,0);let o=e*n,a=o<r?Math.min(o+n,r):o+n;return`${o+1} \u2013 ${a} of ${r}`};static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zte=50;var Gte=new R("MAT_PAGINATOR_DEFAULT_OPTIONS"),bo=(()=>{class t{_intl=m(I_);_changeDetectorRef=m(Ee);_formFieldAppearance;_pageSizeLabelId=m(pt).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new Co(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(n=>rn(n,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new V;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let e=this._intl,n=m(Gte,{optional:!0});if(this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){let{pageSize:r,pageSizeOptions:o,hidePageSize:a,showFirstLastButtons:s}=n;r!=null&&(this._pageSize=r),o!=null&&(this._pageSizeOptions=o),a!=null&&(this.hidePageSize=a),s!=null&&(this.show
5977FirstLastButtons=s)}this._formFieldAppearance=n?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndex<e&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){let n=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(n/e)||0,this.pageSize=e,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:zte),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,n)=>e-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(e){let n=this.pageIndex;e!==n&&(this.pageIndex=e,this._emitPageEvent(n))}_buttonClicked(e,n){n||this._navigate(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",rn],length:[2,"length","length",rn],pageSize:[2,"pageSize","pageSize",rn],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",q],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",q],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",q]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-atomic","true","aria-live","polite","role","status",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["aria-hidden","true",1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,r){n&1&&(u(0,"div",1)(1,"div",2),v(2,jte,5,4,"div",3),u(3,"div",4)(4,"div",5),h(5),c(),v(6,Hte,3,5,"button",6),u(7,"button",7),T("click",function(){return r._buttonClicked(r.pageIndex-1,r._previousButtonsDisabled())}),In(),u(8,"svg",8),x(9,"path",9),c()(),$o(),u(10,"button",10),T("click",function(){return r._buttonClicked(r.pageIndex+1,r._nextButtonsDisabled())}),In(),u(11,"svg",8),x(12,"path",11),c()(),v(13,Ute,3,5,"button",12),c()()()),n&2&&(l(2),y(r.hidePageSize?-1:2),l(3),se(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),l(),y(r.showFirstLastButtons?6:-1),l(),g("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("disabled",r._previousButtonsDisabled())("tabindex",r._previousButtonsDisabled()?-1:null),oe("aria-label",r._intl.previousPageLabel),l(3),g("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("disabled",r._nextButtonsDisabled())("tabindex",r._nextButtonsDisabled()?-1:null),oe("aria-label",r._intl.nextPageLabel),l(3),y(r.showFirstLastButtons?13:-1))},dependencies:[Ve,si,Qt,fr,Xs],styles:[`.mat-mdc-paginator { 5978 display: block; 5979 -moz-osx-font-smoothing: grayscale; 5980 -webkit-font-smoothing: antialiased; 5981 color: var(--mat-paginator-container-text-color, var(--mat-sys-on-surface)); 5982 background-color: var(--mat-paginator-container-background-color, var(--mat-sys-surface)); 5983 font-family: var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font)); 5984 line-height: var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height)); 5985 font-size: var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size)); 5986 font-weight: var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight)); 5987 letter-spacing: var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking)); 5988 --mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px); 5989 --mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px); 5990} 5991.mat-mdc-paginator .mat-mdc-select-value { 5992 font-size: var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size)); 5993} 5994.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper { 5995 display: none; 5996} 5997.mat-mdc-paginator .mat-mdc-select { 5998 line-height: 1.5; 5999} 6000 6001.mat-mdc-paginator-outer-container { 6002 display: flex; 6003} 6004 6005.mat-mdc-paginator-container { 6006 display: flex; 6007 align-items: center; 6008 justify-content: flex-end; 6009 padding: 0 8px; 6010 flex-wrap: wrap; 6011 width: 100%; 6012 min-height: var(--mat-paginator-container-size, 56px); 6013} 6014 6015.mat-mdc-paginator-page-size { 6016 display: flex; 6017 align-items: baseline; 6018 margin-right: 8px; 6019} 6020[dir=rtl] .mat-mdc-paginator-page-size { 6021 margin-right: 0; 6022 margin-left: 8px; 6023} 6024 6025.mat-mdc-paginator-page-size-label { 6026 margin: 0 4px; 6027} 6028 6029.mat-mdc-paginator-page-size-select { 6030 margin: 0 4px; 6031 width: var(--mat-paginator-page-size-select-width, 84px); 6032} 6033 6034.mat-mdc-paginator-range-label { 6035 margin: 0 32px 0 24px; 6036} 6037 6038.mat-mdc-paginator-range-actions { 6039 display: flex; 6040 align-items: center; 6041} 6042 6043.mat-mdc-paginator-icon { 6044 display: inline-block; 6045 width: 28px; 6046 fill: var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant)); 6047} 6048.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon { 6049 fill: var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 6050} 6051[dir=rtl] .mat-mdc-paginator-icon { 6052 transform: rotate(180deg); 6053} 6054 6055@media (forced-colors: active) { 6056 .mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon, 6057 .mat-mdc-paginator-icon { 6058 fill: currentColor; 6059 } 6060 .mat-mdc-paginator-range-actions .mat-mdc-icon-button { 6061 outline: solid 1px; 6062 } 6063 .mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled] { 6064 color: GrayText; 6065 } 6066} 6067.mat-mdc-paginator-touch-target { 6068 display: var(--mat-paginator-touch-target-display, block); 6069 position: absolute; 6070 top: 50%; 6071 left: 50%; 6072 width: var(--mat-paginator-page-size-select-width, 84px); 6073 height: var(--mat-paginator-page-size-select-touch-target-height, 48px); 6074 background-color: transparent; 6075 transform: translate(-50%, -50%); 6076 cursor: pointer; 6077} 6078`],encapsulation:2,changeDetection:0})}return t})(),l1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[_o,Qu,T_,bo]})}return t})();function Wte(t,i){t&1&&gi(0,"div",2)}var $te=new R("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var qH=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_changeDetectorRef=m(Ee);_renderer=m(ot);_cleanupTransitionEnd;constructor(){let e=r_(),n=m($te,{optional:!0});this._isNoopAnimation=e==="di-disabled",e==="reduced-motion"&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),n&&(n.color&&(this.color=this._defaultColor=n.color),this.mode=n.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";get value(){return this._value}set value(e){this._value=$H(e||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=$H(e||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new V;get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}_transitionendHandler=e=>{this.animationEnd.observers.length===0||!e.target||!e.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(n,r){n&2&&(oe("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),Be("mat-"+r.color),ee("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",rn],bufferValue:[2,"bufferValue","bufferValue",rn],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,r){n&1&&(ft(0,"div",0),gi(1,"div",1),v(2,Wte,1,0,"div",2),_t(),ft(3,"div",3),gi(4,"span",4),_t(),ft(5,"div",5),gi(6,"span",4),_t()),n&2&&(l(),Fn("flex-basis",r._getBufferBarFlexBasis()),l(),y(r.mode==="buffer"?2:-1),l(),Fn("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar { 6079 --mat-progress-bar-animation-multiplier: 1; 6080 display: block; 6081 text-align: start; 6082} 6083.mat-mdc-progress-bar[mode=query] { 6084 transform: scaleX(-1); 6085} 6086.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots, 6087.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar, 6088.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar, 6089.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner { 6090 animation: none; 6091} 6092.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar, 6093.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar { 6094 transition: transform 1ms; 6095} 6096 6097.mat-progress-bar-reduced-motion { 6098 --mat-progress-bar-animation-multiplier: 2; 6099} 6100 6101.mdc-linear-progress { 6102 position: relative; 6103 width: 100%; 6104 transform: translateZ(0); 6105 outline: 1px solid transparent; 6106 overflow-x: hidden; 6107 transition: opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1); 6108 height: max(var(--mat-progress-bar-track-height, 4px), var(--mat-progress-bar-active-indicator-height, 4px)); 6109} 6110@media (forced-colors: active) { 6111 .mdc-linear-progress { 6112 outline-color: CanvasText; 6113 } 6114} 6115 6116.mdc-linear-progress__bar {
6117 position: absolute; 6118 top: 0; 6119 bottom: 0; 6120 margin: auto 0; 6121 width: 100%; 6122 animation: none; 6123 transform-origin: top left; 6124 transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1); 6125 height: var(--mat-progress-bar-active-indicator-height, 4px); 6126} 6127.mdc-linear-progress--indeterminate .mdc-linear-progress__bar { 6128 transition: none; 6129} 6130[dir=rtl] .mdc-linear-progress__bar { 6131 right: 0; 6132 transform-origin: center right; 6133} 6134 6135.mdc-linear-progress__bar-inner { 6136 display: inline-block; 6137 position: absolute; 6138 width: 100%; 6139 animation: none; 6140 border-top-style: solid; 6141 border-color: var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary)); 6142 border-top-width: var(--mat-progress-bar-active-indicator-height, 4px); 6143} 6144 6145.mdc-linear-progress__buffer { 6146 display: flex; 6147 position: absolute; 6148 top: 0; 6149 bottom: 0; 6150 margin: auto 0; 6151 width: 100%; 6152 overflow: hidden; 6153 height: var(--mat-progress-bar-track-height, 4px); 6154 border-radius: var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none)); 6155} 6156 6157.mdc-linear-progress__buffer-dots { 6158 background-image: radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0); 6159 background-repeat: repeat-x; 6160 background-size: calc(calc(var(--mat-progress-bar-track-height, 4px) / 2) * 5); 6161 background-position: left; 6162 flex: auto; 6163 transform: rotate(180deg); 6164 animation: mdc-linear-progress-buffering calc(250ms * var(--mat-progress-bar-animation-multiplier)) infinite linear; 6165} 6166@media (forced-colors: active) { 6167 .mdc-linear-progress__buffer-dots { 6168 background-color: ButtonBorder; 6169 } 6170} 6171[dir=rtl] .mdc-linear-progress__buffer-dots { 6172 animation: mdc-linear-progress-buffering-reverse calc(250ms * var(--mat-progress-bar-animation-multiplier)) infinite linear; 6173 transform: rotate(0); 6174} 6175 6176.mdc-linear-progress__buffer-bar { 6177 flex: 0 1 100%; 6178 transition: flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1); 6179 background-color: var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)); 6180} 6181 6182.mdc-linear-progress__primary-bar { 6183 transform: scaleX(0); 6184} 6185.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar { 6186 left: -145.166611%; 6187} 6188.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar { 6189 animation: mdc-linear-progress-primary-indeterminate-translate calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear; 6190} 6191.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar > .mdc-linear-progress__bar-inner { 6192 animation: mdc-linear-progress-primary-indeterminate-scale calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear; 6193} 6194[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar { 6195 animation-name: mdc-linear-progress-primary-indeterminate-translate-reverse; 6196} 6197[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar { 6198 right: -145.166611%; 6199 left: auto; 6200} 6201 6202.mdc-linear-progress__secondary-bar { 6203 display: none; 6204} 6205.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar { 6206 left: -54.888891%; 6207 display: block; 6208} 6209.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar { 6210 animation: mdc-linear-progress-secondary-indeterminate-translate calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear; 6211} 6212.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar > .mdc-linear-progress__bar-inner { 6213 animation: mdc-linear-progress-secondary-indeterminate-scale calc(2s * var(--mat-progress-bar-animation-multiplier)) infinite linear; 6214} 6215[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar { 6216 animation-name: mdc-linear-progress-secondary-indeterminate-translate-reverse; 6217} 6218[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar { 6219 right: -54.888891%; 6220 left: auto; 6221} 6222 6223@keyframes mdc-linear-progress-buffering { 6224 from { 6225 transform: rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5)); 6226 } 6227} 6228@keyframes mdc-linear-progress-primary-indeterminate-translate { 6229 0% { 6230 transform: translateX(0); 6231 } 6232 20% { 6233 animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819); 6234 transform: translateX(0); 6235 } 6236 59.15% { 6237 animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352); 6238 transform: translateX(83.67142%); 6239 } 6240 100% { 6241 transform: translateX(200.611057%); 6242 } 6243} 6244@keyframes mdc-linear-progress-primary-indeterminate-scale { 6245 0% { 6246 transform: scaleX(0.08); 6247 } 6248 36.65% { 6249 animation-timing-function: cubic-bezier(0.334731, 0.12482, 0.785844, 1); 6250 transform: scaleX(0.08); 6251 } 6252 69.15% { 6253 animation-timing-function: cubic-bezier(0.06, 0.11, 0.6, 1); 6254 transform: scaleX(0.661479); 6255 } 6256 100% { 6257 transform: scaleX(0.08); 6258 } 6259} 6260@keyframes mdc-linear-progress-secondary-indeterminate-translate { 6261 0% { 6262 animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685); 6263 transform: translateX(0); 6264 } 6265 25% { 6266 animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712); 6267 transform: translateX(37.651913%); 6268 } 6269 48.35% { 6270 animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026); 6271 transform: translateX(84.386165%); 6272 } 6273 100% { 6274 transform: translateX(160.277782%); 6275 } 6276} 6277@keyframes mdc-linear-progress-secondary-indeterminate-scale { 6278 0% { 6279 animation-timing-function: cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971); 6280 transform: scaleX(0.08); 6281 } 6282 19.15% { 6283 animation-timing-function: cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315); 6284 transform: scaleX(0.457104); 6285 } 6286 44.15% { 6287 animation-timing-function: cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179); 6288 transform: scaleX(0.72796); 6289 } 6290 100% { 6291 transform: scaleX(0.08); 6292 } 6293} 6294@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse { 6295 0% { 6296 transform: translateX(0); 6297 } 6298 20% { 6299 animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819); 6300 transform: translateX(0); 6301 } 6302 59.15% { 6303 animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352); 6304 transform: translateX(-83.67142%); 6305 } 6306 100% { 6307 transform: translateX(-200.611057%); 6308 } 6309} 6310@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse { 6311 0% { 6312 animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685); 6313 transform: translateX(0); 6314 } 6315 25% { 6316 animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712); 6317 transform: translateX(-37.651913%); 6318 } 6319 48.35% { 6320 animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026); 6321 transform: translateX(-84.386165%); 6322 } 6323 100% { 6324 transform: translateX(-160.277782%); 6325 } 6326} 6327@keyframes mdc-linear-progress-buffering-reverse { 6328 from { 6329 transform: translateX(-10px); 6330 } 6331} 6332`],encapsulation:2,changeDetection:0})}return t})();function $H(t,i=0,e=100){return Math.max(i,Math.min(e,t))}var d1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var Yte=["determinateSpinner"];function Kte(t,i){if(t&1&&(In(),u(0,"svg",11),x(1,"circle",12),c()),t&2){let e=_();oe("viewBox",e._viewBox()),l(),Fn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),oe("r",e._circleRadius())}}var Xte=new R("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:YH})}),YH=100,Zte=10,nh=(()=>{class t{_elementRef=m(Q);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=m(Xte),n=r_(),r=this._elementRef.nativeElement;this._noopAnimations=n==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=r.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&n==="reduced-motion"&&r.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=YH;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-Zte)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,r){if(n&1&&ve(Yte,5),n&2){let o;H(o=U())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,r){n&2&&(oe("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),Be("mat-"+r.color),Fn("width",r.diameter,"px")("height",r.diameter,"px")("--mat-progress-spinner-size",r.diameter+"px")("--mat-progress-spinner-active-indicator-width",r.diameter+"px"),ee("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",rn],diameter:[2,"diameter","diameter",rn],strokeWidth:[2,"strokeWidth","strokeWidth",rn]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,r){if(n&1&&(fe(0,Kte,2,8,"ng-template",null,0,_a),u(2,"div",2,1),In(),u(4,"svg",3),x(5,"circle",4),c()(),$o(),u(6,"div",5)(7,"div",6)(8,"div",7),Di(9,8),c(),u(10,"div",9),Di(11,8),c(),u(12,"div",10),Di(13,8),c()()()),n&2){let o=ye(1);l(4),oe("viewBox",r._viewBox()),l(),Fn("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),oe("r",r._circleRadius()),l(4),g("ngTemplateOutlet",o),l(2),g("ngTemplateOutlet",o),l(2),g("ngTemplateOutlet",o)}},dependencies:[Su],styles:[`.mat-mdc-progress-spinner { 6333 --mat-progress-spinner-animation-multiplier: 1; 6334 display: block; 6335 overflow: hidden; 6336 line-height: 0; 6337 position: relative; 6338 direction: ltr; 6339 transition: opacity 250ms cubic-bezier(0.4, 0, 0.6, 1); 6340} 6341.mat-mdc-progress-spinner circle { 6342 stroke-width: var(--mat-progress-spinner-active-indicator-width, 4px); 6343} 6344.mat-mdc-progress-spinner._mat-animation-noopable, .mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle { 6345 transition: none !important; 6346} 6347.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic, 6348.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer, 6349.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container { 6350 animation: none !important; 6351} 6352.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle { 6353 stroke-dasharray: 0 !important; 6354} 6355@media (forced-colors: active) { 6356 .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic, 6357 .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle { 6358 stroke: currentColor; 6359 stroke: CanvasText; 6360 } 6361} 6362 6363.mat-progress-spinner-reduced-motion { 6364 --mat-progress-spinner-animation-multiplier: 1.25; 6365} 6366 6367.mdc-circular-progress__determinate-container, 6368.mdc-circular-progress__indeterminate-circle-graphic, 6369.mdc-circular-progress__indeterminate-container, 6370.mdc-circular-progress__spinner-layer { 6371 position: absolute; 6372 width: 100%; 6373 height: 100%; 6374} 6375 6376.mdc-circular-progress__determinate-container { 6377 transform: rotate(-90deg); 6378} 6379.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container { 6380 opacity: 0; 6381} 6382 6383.mdc-circular-progress__indeterminate-container { 6384 font-size: 0; 6385 letter-spacing: 0; 6386 white-space: nowrap; 6387 opacity: 0; 6388} 6389.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container { 6390 opacity: 1; 6391 animation: mdc-circular-progress-container-rotate calc(1568.2352941176ms * var(--mat-progress-spinner-animation-multiplier)) linear infinite; 6392} 6393 6394.mdc-circular-progress__determinate-circle-graphic, 6395.mdc-circular-progress__indeterminate-circle-graphic { 6396 fill: transparent; 6397} 6398 6399.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle, 6400.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic { 6401 stroke: var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary)); 6402} 6403@media (forced-colors: active) { 6404 .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle, 6405 .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic { 6406 stroke: CanvasText; 6407 } 6408} 6409 6410.mdc-circular-progress__determinate-circle { 6411 transition: stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1); 6412} 6413 6414.mdc-circular-progress__gap-patch { 6415 position: absolute; 6416 top: 0; 6417 left: 47.5%; 6418 box-sizing: border-box; 6419 width: 5%; 6420 height: 100%; 6421 overflow: hidden; 6422} 6423 6424.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic { 6425 left: -900%; 6426 width: 2000%; 6427 transform: rotate(180deg); 6428} 6429.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic { 6430 width: 200%; 6431} 6432.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic { 6433 left: -100%; 6434} 6435.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic { 6436 animation: mdc-circular-progress-left-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both; 6437} 6438.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic { 6439 animation: mdc-circular-progress-right-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both; 6440} 6441 6442.mdc-circular-progress__circle-clipper { 6443 display: inline-flex; 6444 position: relative; 6445 width: 50%; 6446 height: 100%; 6447 overflow: hidden; 6448} 6449 6450.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer { 6451 animation: mdc-circular-progress-spinner-layer-rotate calc(5332ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both; 6452} 6453 6454@keyframes mdc-circular-progress-container-rotate { 6455 to { 6456 transform: rotate(360deg); 6457 } 6458} 6459@keyframes mdc-circular-progress-spinner-layer-rotate { 6460 12.5% { 6461 transform: rotate(135deg); 6462 } 6463 25% { 6464 transform: rotate(270deg); 6465 } 6466 37.5% { 6467 transform: rotate(405deg); 6468 } 6469 50% { 6470 transform: rotate(540deg); 6471 } 6472 62.5% { 6473 transform: rotate(675deg); 6474 } 6475 75% { 6476 transform: rotate(810deg); 6477 } 6478 87.5% { 6479 transform: rotate(945deg); 6480 } 6481 100% { 6482 transform: rotate(1080deg); 6483 } 6484} 6485@keyframes mdc-circular-progress-left-spin { 6486 from { 6487 transform: rotate(265deg); 6488 } 6489 50% { 6490 transform: rotat
6490e(130deg); 6491 } 6492 to { 6493 transform: rotate(265deg); 6494 } 6495} 6496@keyframes mdc-circular-progress-right-spin { 6497 from { 6498 transform: rotate(-265deg); 6499 } 6500 50% { 6501 transform: rotate(-130deg); 6502 } 6503 to { 6504 transform: rotate(-265deg); 6505 } 6506} 6507`],encapsulation:2,changeDetection:0})}return t})();var Ju=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var JC=["*"],Qte=["content"],Jte=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],ene=["mat-drawer","mat-drawer-content","*"];function tne(t,i){if(t&1){let e=Se();u(0,"div",1),T("click",function(){te(e);let r=_();return ne(r._onBackdropClicked())}),c()}if(t&2){let e=_();ee("mat-drawer-shown",e._isShowingBackdrop())}}function nne(t,i){t&1&&(u(0,"mat-drawer-content"),re(1,2),c())}var ine=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],rne=["mat-sidenav","mat-sidenav-content","*"];function one(t,i){if(t&1){let e=Se();u(0,"div",1),T("click",function(){te(e);let r=_();return ne(r._onBackdropClicked())}),c()}if(t&2){let e=_();ee("mat-drawer-shown",e._isShowingBackdrop())}}function ane(t,i){t&1&&(u(0,"mat-sidenav-content"),re(1,2),c())}var sne=`.mat-drawer-container { 6508 position: relative; 6509 z-index: 1; 6510 color: var(--mat-sidenav-content-text-color, var(--mat-sys-on-background)); 6511 background-color: var(--mat-sidenav-content-background-color, var(--mat-sys-background)); 6512 box-sizing: border-box; 6513 display: block; 6514 overflow: hidden; 6515} 6516.mat-drawer-container[fullscreen] { 6517 top: 0; 6518 left: 0; 6519 right: 0; 6520 bottom: 0; 6521 position: absolute; 6522} 6523.mat-drawer-container[fullscreen].mat-drawer-container-has-open { 6524 overflow: hidden; 6525} 6526.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side { 6527 z-index: 3; 6528} 6529.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop, 6530.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop, 6531.ng-animate-disabled .mat-drawer-container .mat-drawer-content { 6532 transition: none; 6533} 6534 6535.mat-drawer-backdrop { 6536 top: 0; 6537 left: 0; 6538 right: 0; 6539 bottom: 0; 6540 position: absolute; 6541 display: block; 6542 z-index: 3; 6543 visibility: hidden; 6544} 6545.mat-drawer-backdrop.mat-drawer-shown { 6546 visibility: visible; 6547 background-color: var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent)); 6548} 6549.mat-drawer-transition .mat-drawer-backdrop { 6550 transition-duration: 400ms; 6551 transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); 6552 transition-property: background-color, visibility; 6553} 6554@media (forced-colors: active) { 6555 .mat-drawer-backdrop { 6556 opacity: 0.5; 6557 } 6558} 6559 6560.mat-drawer-content { 6561 position: relative; 6562 z-index: 1; 6563 display: block; 6564 height: 100%; 6565 overflow: auto; 6566} 6567.mat-drawer-content.mat-drawer-content-hidden { 6568 opacity: 0; 6569} 6570.mat-drawer-transition .mat-drawer-content { 6571 transition-duration: 400ms; 6572 transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); 6573 transition-property: transform, margin-left, margin-right; 6574} 6575 6576.mat-drawer { 6577 position: relative; 6578 z-index: 4; 6579 color: var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant)); 6580 box-shadow: var(--mat-sidenav-container-elevation-shadow, none); 6581 background-color: var(--mat-sidenav-container-background-color, var(--mat-sys-surface)); 6582 border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6583 border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6584 width: var(--mat-sidenav-container-width, 360px); 6585 display: block; 6586 position: absolute; 6587 top: 0; 6588 bottom: 0; 6589 z-index: 3; 6590 outline: 0; 6591 box-sizing: border-box; 6592 overflow-y: auto; 6593 transform: translate3d(-100%, 0, 0); 6594} 6595@media (forced-colors: active) { 6596 .mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end { 6597 border-right: solid 1px currentColor; 6598 } 6599} 6600@media (forced-colors: active) { 6601 [dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end { 6602 border-left: solid 1px currentColor; 6603 border-right: none; 6604 } 6605} 6606.mat-drawer.mat-drawer-side { 6607 z-index: 2; 6608} 6609.mat-drawer.mat-drawer-end { 6610 right: 0; 6611 transform: translate3d(100%, 0, 0); 6612 border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6613 border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6614 border-top-right-radius: 0; 6615 border-bottom-right-radius: 0; 6616} 6617[dir=rtl] .mat-drawer { 6618 border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6619 border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6620 border-top-right-radius: 0; 6621 border-bottom-right-radius: 0; 6622 transform: translate3d(100%, 0, 0); 6623} 6624[dir=rtl] .mat-drawer.mat-drawer-end { 6625 border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6626 border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6627 border-top-left-radius: 0; 6628 border-bottom-left-radius: 0; 6629 left: 0; 6630 right: auto; 6631 transform: translate3d(-100%, 0, 0); 6632} 6633.mat-drawer-transition .mat-drawer { 6634 transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 6635} 6636.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) { 6637 visibility: hidden; 6638 box-shadow: none; 6639} 6640.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container { 6641 display: none; 6642} 6643.mat-drawer.mat-drawer-opened.mat-drawer-opened { 6644 transform: none; 6645} 6646 6647.mat-drawer-side { 6648 box-shadow: none; 6649 border-right-color: var(--mat-sidenav-container-divider-color, transparent); 6650 border-right-width: 1px; 6651 border-right-style: solid; 6652} 6653.mat-drawer-side.mat-drawer-end { 6654 border-left-color: var(--mat-sidenav-container-divider-color, transparent); 6655 border-left-width: 1px; 6656 border-left-style: solid;
6657 border-right: none; 6658} 6659[dir=rtl] .mat-drawer-side { 6660 border-left-color: var(--mat-sidenav-container-divider-color, transparent); 6661 border-left-width: 1px; 6662 border-left-style: solid; 6663 border-right: none; 6664} 6665[dir=rtl] .mat-drawer-side.mat-drawer-end { 6666 border-right-color: var(--mat-sidenav-container-divider-color, transparent); 6667 border-right-width: 1px; 6668 border-right-style: solid; 6669 border-left: none; 6670} 6671 6672.mat-drawer-inner-container { 6673 width: 100%; 6674 height: 100%; 6675 overflow: auto; 6676} 6677 6678.mat-sidenav-fixed { 6679 position: fixed; 6680} 6681`;var lne=new R("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:()=>!1}),p1=new R("MAT_DRAWER_CONTAINER"),QC=(()=>{class t extends Gs{_platform=m(gt);_changeDetectorRef=m(Ee);_container=m(m1);constructor(){let e=m(Q),n=m(as),r=m(le);super(e,n,r)}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:e,end:n}=this._container;return e!=null&&e.mode!=="over"&&e.opened||n!=null&&n.mode!=="over"&&n.opened}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(n,r){n&2&&(Fn("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px"),ee("mat-drawer-content-hidden",r._shouldBeHidden()))},features:[me([{provide:Gs,useExisting:t}]),he],ngContentSelectors:JC,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),u1=(()=>{class t{_elementRef=m(Q);_focusTrapFactory=m(Op);_focusMonitor=m(oi);_platform=m(gt);_ngZone=m(le);_renderer=m(ot);_interactivityChecker=m(zu);_doc=m(Ce);_container=m(p1,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached=!1;_anchor=null;get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Pn(e)}_disableClose=!1;get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=Pn(e)),this._autoFocus=e}_autoFocus;get opened(){return this._opened()}set opened(e){this.toggle(Pn(e))}_opened=Z(!1);_openedVia=null;_animationStarted=new O;_animationEnd=new O;openedChange=new V(!0);_openedStream=this.openedChange.pipe(ae(e=>e),$(()=>{}));openedStart=this._animationStarted.pipe(ae(()=>this.opened),Vm(void 0));
6681_closedStream=this.openedChange.pipe(ae(e=>!e),$(()=>{}));closedStart=this._animationStarted.pipe(ae(()=>!this.opened),Vm(void 0));_destroyed=new O;onPositionChanged=new V;_content;_modeChanged=new O;_injector=m(ie);_changeDetectorRef=m(Ee);constructor(){this.openedChange.pipe(xe(this._destroyed)).subscribe(e=>{e?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._eventCleanups=this._ngZone.runOutsideAngular(()=>{let e=this._renderer,n=this._elementRef.nativeElement;return[e.listen(n,"keydown",r=>{r.keyCode===27&&!this.disableClose&&!Ht(r)&&this._ngZone.run(()=>{this.close(),r.stopPropagation(),r.preventDefault()})}),e.listen(n,"transitionend",this._handleTransitionEvent),e.listen(n,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":Dt(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,n){e&&n&&(this._openedVia=n);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,n,r){return e===this.opened?Promise.resolve(e?"open":"close"):(this._opened.set(e),this._container?._transitionsEnabled?(this._setIsAnimating(!0),setTimeout(()=>this._animationStarted.next())):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",e),!e&&n&&this._restoreFocus(r),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(We(1)).subscribe(a=>o(a?"open":"close"))}))}_setIsAnimating(e){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",e)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&!!this._container?._isShowingBackdrop())}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let n=this._elementRef.nativeElement,r=n.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,n)),r.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}_handleTransitionEvent=e=>{let n=this._elementRef.nativeElement;e.target===n&&this._ngZone.run(()=>{e.type==="transitionend"&&this._setIsAnimating(!1),this._animationEnd.next(e)})};static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-drawer"]],viewQuery:function(n,r){if(n&1&&ve(Qte,5),n&2){let o;H(o=U())&&(r._content=o.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(n,r){n&2&&(oe("align",null)("tabIndex",r.mode!=="side"?"-1":null),Fn("visibility",!r._container&&!r.opened?"hidden":null),ee("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side"))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:JC,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(n,r){n&1&&(Ie(),u(0,"div",1,0),re
6681(2),c())},dependencies:[Gs],encapsulation:2,changeDetection:0})}return t})(),m1=(()=>{class t{_dir=m(an,{optional:!0});_element=m(Q);_ngZone=m(le);_changeDetectorRef=m(Ee);_animationDisabled=lt();_transitionsEnabled=!1;_allDrawers;_drawers=new ro;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Pn(e)}_autosize=m(lne);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:Pn(e)}_backdropOverride=null;backdropClick=new V;_start=null;_end=null;_left=null;_right=null;_destroyed=new O;_doCheckSubject=new O;_contentMargins={left:null,right:null};_contentMarginChanges=new O;get scrollable(){return this._userContent||this._content}_injector=m(ie);constructor(){let e=m(gt),n=m(ji);this._dir?.change.pipe(xe(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),n.change().pipe(xe(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&e.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe(Re(this._allDrawers),xe(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Re(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(hi(10),xe(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,n=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,n-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")n+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();n+=r,e-=r}}e=e||null,n=n||null,(e!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:e,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(xe(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(xe(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e.onPositionChanged.pipe(xe(this._drawers.changes)).subscribe(()=>{Dt({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(xe(ut(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let n=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?n.add(r):n.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>
6681e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,QC,5)(o,u1,5),n&2){let a;H(a=U())&&(r._content=a.first),H(a=U())&&(r._allDrawers=a)}},viewQuery:function(n,r){if(n&1&&ve(QC,5),n&2){let o;H(o=U())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[me([{provide:p1,useExisting:t}])],ngContentSelectors:ene,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(n,r){n&1&&(Ie(Jte),v(0,tne,1,2,"div",0),re(1),re(2,1),v(3,nne,2,0,"mat-drawer-content")),n&2&&(y(r.hasBackdrop?0:-1),l(3),y(r._content?-1:3))},dependencies:[QC],styles:[`.mat-drawer-container { 6682 position: relative; 6683 z-index: 1; 6684 color: var(--mat-sidenav-content-text-color, var(--mat-sys-on-background)); 6685 background-color: var(--mat-sidenav-content-background-color, var(--mat-sys-background)); 6686 box-sizing: border-box; 6687 display: block; 6688 overflow: hidden; 6689} 6690.mat-drawer-container[fullscreen] { 6691 top: 0; 6692 left: 0; 6693 right: 0; 6694 bottom: 0; 6695 position: absolute; 6696} 6697.mat-drawer-container[fullscreen].mat-drawer-container-has-open { 6698 overflow: hidden; 6699} 6700.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side { 6701 z-index: 3; 6702} 6703.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop, 6704.mat-drawer-container.ng-animate-disabled .mat-drawer-content, .ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop, 6705.ng-animate-disabled .mat-drawer-container .mat-drawer-content { 6706 transition: none; 6707} 6708 6709.mat-drawer-backdrop { 6710 top: 0; 6711 left: 0; 6712 right: 0; 6713 bottom: 0; 6714 position: absolute; 6715 display: block; 6716 z-index: 3; 6717 visibility: hidden; 6718} 6719.mat-drawer-backdrop.mat-drawer-shown { 6720 visibility: visible; 6721 background-color: var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent)); 6722} 6723.mat-drawer-transition .mat-drawer-backdrop { 6724 transition-duration: 400ms; 6725 transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); 6726 transition-property: background-color, visibility; 6727} 6728@media (forced-colors: active) { 6729 .mat-drawer-backdrop { 6730 opacity: 0.5; 6731 } 6732} 6733 6734.mat-drawer-content { 6735 position: relative; 6736 z-index: 1; 6737 display: block; 6738 height: 100%; 6739 overflow: auto; 6740} 6741.mat-drawer-content.mat-drawer-content-hidden { 6742 opacity: 0; 6743} 6744.mat-drawer-transition .mat-drawer-content { 6745 transition-duration: 400ms; 6746 transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1); 6747 transition-property: transform, margin-left, margin-right; 6748} 6749 6750.mat-drawer { 6751 position: relative; 6752 z-index: 4; 6753 color: var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant)); 6754 box-shadow: var(--mat-sidenav-container-elevation-shadow, none); 6755 background-color: var(--mat-sidenav-container-background-color, var(--mat-sys-surface)); 6756 border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6757 border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6758 width: var(--mat-sidenav-container-width, 360px); 6759 display: block; 6760 position: absolute; 6761 top: 0; 6762 bottom: 0; 6763 z-index: 3; 6764 outline: 0; 6765 box-sizing: border-box; 6766 overflow-y: auto; 6767 transform: translate3d(-100%, 0, 0); 6768} 6769@media (forced-colors: active) { 6770 .mat-drawer, [dir=rtl] .mat-drawer.mat-drawer-end { 6771 border-right: solid 1px currentColor; 6772 } 6773} 6774@media (forced-colors: active) { 6775 [dir=rtl] .mat-drawer, .mat-drawer.mat-drawer-end { 6776 border-left: solid 1px currentColor;
6777 border-right: none; 6778 } 6779} 6780.mat-drawer.mat-drawer-side { 6781 z-index: 2; 6782} 6783.mat-drawer.mat-drawer-end { 6784 right: 0; 6785 transform: translate3d(100%, 0, 0); 6786 border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6787 border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6788 border-top-right-radius: 0; 6789 border-bottom-right-radius: 0; 6790} 6791[dir=rtl] .mat-drawer { 6792 border-top-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6793 border-bottom-left-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6794 border-top-right-radius: 0; 6795 border-bottom-right-radius: 0; 6796 transform: translate3d(100%, 0, 0); 6797} 6798[dir=rtl] .mat-drawer.mat-drawer-end { 6799 border-top-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6800 border-bottom-right-radius: var(--mat-sidenav-container-shape, var(--mat-sys-corner-large)); 6801 border-top-left-radius: 0; 6802 border-bottom-left-radius: 0; 6803 left: 0; 6804 right: auto; 6805 transform: translate3d(-100%, 0, 0); 6806} 6807.mat-drawer-transition .mat-drawer { 6808 transition: transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 6809} 6810.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) { 6811 visibility: hidden; 6812 box-shadow: none; 6813} 6814.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container { 6815 display: none; 6816} 6817.mat-drawer.mat-drawer-opened.mat-drawer-opened { 6818 transform: none; 6819} 6820 6821.mat-drawer-side { 6822 box-shadow: none; 6823 border-right-color: var(--mat-sidenav-container-divider-color, transparent); 6824 border-right-width: 1px; 6825 border-right-style: solid; 6826} 6827.mat-drawer-side.mat-drawer-end { 6828 border-left-color: var(--mat-sidenav-container-divider-color, transparent); 6829 border-left-width: 1px; 6830 border-left-style: solid; 6831 border-right: none; 6832} 6833[dir=rtl] .mat-drawer-side { 6834 border-left-color: var(--mat-sidenav-container-divider-color, transparent); 6835 border-left-width: 1px; 6836 border-left-style: solid; 6837 border-right: none; 6838} 6839[dir=rtl] .mat-drawer-side.mat-drawer-end { 6840 border-right-color: var(--mat-sidenav-container-divider-color, transparent); 6841 border-right-width: 1px; 6842 border-right-style: solid; 6843 border-left: none; 6844} 6845 6846.mat-drawer-inner-container { 6847 width: 100%; 6848 height: 100%; 6849 overflow: auto; 6850} 6851 6852.mat-sidenav-fixed { 6853 position: fixed; 6854} 6855`],encapsulation:2,changeDetection:0})}return t})(),XH=(()=>{class t extends QC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[me([{provide:Gs,useExisting:t}]),he],ngContentSelectors:JC,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),cne=(()=>{class t extends u1{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Pn(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=xr(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=xr(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(n,r){n&2&&(oe("tabIndex",r.mode!=="side"?"-1":null)("align",null),Fn("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),ee("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-sidenav-fixed",r.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[me([{provide:u1,useExisting:t}]),he],ngContentSelectors:JC,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(n,r){n&1&&(Ie(),u(0,"div",1,0),re(2),c())},dependencies:[Gs],encapsulation:2,changeDetection:0})}return t})(),g9e=(()=>{class t extends m1{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,XH,5)(o,cne,5),n&2){let a;H(a=U())&&(r._content=a.first),H(a=U())&&(r._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],features:[me([{provide:p1,useExisting:t},{provide:m1,useExisting:t}]),he],ngContentSelectors:rne,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(n,r){n&1&&(Ie(ine),v(0,one,1,2,"div",0),re(1),re(2,1),v(3,ane,2,0,"mat-sidenav-content")),n&2&&(y(r.hasBackdrop?0:-1),l(3),y(r._content?-1:3))},dependencies:[XH],styles:[sne],encapsulation:2,changeDetection:0})}return t})(),h1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[ur,De,ur]})}return t})();var dne=["switch"],une=["*"];function mne(t,i){t&1&&(u(0,"span",11),In(),u(1,"svg",13),x(2,"path",14),c(),u(3,"svg",15),x(4,"path",16),c()())}var pne=new R("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),eD=class{source;checked;constructor(i,e){this.source=i,this.checked=e}},hne=(()=>{class t{_elementRef=m(Q);_focusMonitor=m(oi);_changeDetectorRef=m(Ee);defaults=m(pne);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new eD(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=lt();_focused=!1;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required=!1;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new V;toggleChange=new V;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){m(Lt).load(mi);
vendor: 4,997 bytes, lines 6855-6866
6855let e=m(new di("tabindex"),{optional:!0}),n=this.defaults;this.tabIndex=e==null?0:parseInt(e)||0,this.color=n.color||"accent",this.id=this._uniqueId=m(pt).getId("mat-mdc-slide-toggle-"),this.hideIcon=n.hideIcon??!1,this.disabledInteractive=n.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new eD(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(n,r){if(n&1&&ve(dne,5),n&2){let o;H(o=U())&&(r._switchElement=o.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(n,r){n&2&&(An("id",r.id),oe("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Be(r.color?"mat-"+r.color:""),ee("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",q],color:"color",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)],checked:[2,"checked","checked",q],hideIcon:[2,"hideIcon","hideIcon",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[me([{provide:er,useExisting:bn(()=>t),multi:!0},{provide:Qo,useExisting:t,multi:!0}]),Ke],ngContentSelectors:une,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(n,r){if(n&1&&(Ie(),u(0,"div",1)(1,"button",2,0),T("click",function(){return r._handleClick()}),x(3,"div",3)(4,"span",4),u(5,"span",5)(6,"span",6)(7,"span",7),x(8,"span",8),c(),u(9,"span",9),x(10,"span",10),c(),v(11,mne,5,0,"span",11),c()()(),u(12,"label",12),T("click",function(a){return a.stopPropagation()}),re(13),c()()),n&2){let o=ye(2);g("labelPosition",r.labelPosition),l(),ee("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled)("mat-mdc-slide-toggle-disabled-interactive",r.disabledInteractive),g("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("disabled",r.disabled&&!r.disabledInteractive),oe("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),l(9),g("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),l(),y(r.hideIcon?-1:11),l(),g("for",r.buttonId),oe("id",r._labelId)}},dependencies:[Hr,Lp],styles:[`.mdc-switch { 6856 align-items: center; 6857 background: none; 6858 border: none; 6859 cursor: pointer; 6860 display: inline-flex; 6861 flex-shrink: 0; 6862 margin: 0; 6863 outline: none; 6864 overflow: visible; 6865 padding: 0; 6866 position: relative;
6867 width: var(--mat-slide-toggle-track-width, 52px); 6868} 6869.mdc-switch.mdc-switch--disabled { 6870 cursor: default; 6871 pointer-events: none; 6872} 6873.mdc-switch.mat-mdc-slide-toggle-disabled-interactive { 6874 pointer-events: auto; 6875} 6876 6877.mdc-switch__track { 6878 overflow: hidden; 6879 position: relative; 6880 width: 100%; 6881 height: var(--mat-slide-toggle-track-height, 32px); 6882 border-radius: var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full)); 6883} 6884.mdc-switch--disabled.mdc-switch .mdc-switch__track { 6885 opacity: var(--mat-slide-toggle-disabled-track-opacity, 0.12); 6886} 6887.mdc-switch__track::before, .mdc-switch__track::after { 6888 border: 1px solid transparent; 6889 border-radius: inherit; 6890 box-sizing: border-box; 6891 content: ""; 6892 height: 100%; 6893 left: 0; 6894 position: absolute; 6895 width: 100%; 6896 border-width: var(--mat-slide-toggle-track-outline-width, 2px); 6897 border-color: var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline)); 6898} 6899.mdc-switch--selected .mdc-switch__track::before, .mdc-switch--selected .mdc-switch__track::after { 6900 border-width: var(--mat-slide-toggle-selected-track-outline-width, 2px); 6901 border-color: var(--mat-slide-toggle-selected-track-outline-color, transparent); 6902} 6903.mdc-switch--disabled .mdc-switch__track::before, .mdc-switch--disabled .mdc-switch__track::after { 6904 border-width: var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px); 6905 border-color: var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface)); 6906} 6907@media (forced-colors: active) { 6908 .mdc-switch__track { 6909 border-color: currentColor; 6910 } 6911} 6912.mdc-switch__track::before { 6913 transition: transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1); 6914 transform: translateX(0); 6915 background: var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant)); 6916} 6917.mdc-switch--selected .mdc-switch__track::before { 6918 transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1); 6919 transform: translateX(100%); 6920} 6921[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before { 6922 transform: translateX(-100%); 6923} 6924.mdc-switch--selected .mdc-switch__track::before { 6925 opacity: var(--mat-slide-toggle-hidden-track-opacity, 0); 6926 transition: var(--mat-slide-toggle-hidden-track-transition, opacity 75ms); 6927} 6928.mdc-switch--unselected .mdc-switch__track::before { 6929 opacity: var(--mat-slide-toggle-visible-track-opacity, 1); 6930 transition: var(--mat-slide-toggle-visible-track-transition, opacity 75ms); 6931} 6932.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before { 6933 background: var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant)); 6934} 6935.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before { 6936 background: var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant)); 6937} 6938.mdc-switch:enabled:active .mdc-switch__track::before { 6939 background: var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant)); 6940} 6941.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before, .mdc-switch.mdc-switch--disabled .mdc-switch__track::before { 6942 background: var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant)); 6943} 6944.mdc-switch__track::after { 6945 transform: translateX(-100%); 6946 background: var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary)); 6947} 6948[dir=rtl] .mdc-switch__track::after { 6949 transform: translateX(100%); 6950} 6951.mdc-switch--selected .mdc-switch__track::after { 6952 transform: translateX(0); 6953} 6954.mdc-switch--selected .mdc-switch__track::after { 6955 opacity: var(--mat-slide-toggle-visible-track-opacity, 1); 6956 transition: var(--mat-slide-toggle-visible-track-transition, opacity 75ms); 6957} 6958.mdc-switch--unselected .mdc-switch__track::after { 6959 opacity: var(--mat-slide-toggle-hidden-track-opacity, 0); 6960 transition: var(--mat-slide-toggle-hidden-track-transition, opacity 75ms); 6961}
6962.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after { 6963 background: var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary)); 6964} 6965.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after { 6966 background: var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary)); 6967} 6968.mdc-switch:enabled:active .mdc-switch__track::after { 6969 background: var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary)); 6970} 6971.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after, .mdc-switch.mdc-switch--disabled .mdc-switch__track::after { 6972 background: var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface)); 6973} 6974 6975.mdc-switch__handle-track { 6976 height: 100%; 6977 pointer-events: none; 6978 position: absolute; 6979 top: 0; 6980 transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1); 6981 left: 0; 6982 right: auto; 6983 transform: translateX(0); 6984 width: calc(100% - var(--mat-slide-toggle-handle-width)); 6985} 6986[dir=rtl] .mdc-switch__handle-track { 6987 left: auto; 6988 right: 0; 6989} 6990.mdc-switch--selected .mdc-switch__handle-track { 6991 transform: translateX(100%); 6992} 6993[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track { 6994 transform: translateX(-100%); 6995} 6996 6997.mdc-switch__handle { 6998 display: flex; 6999 pointer-events: auto; 7000 position: absolute; 7001 top: 50%; 7002 transform: translateY(-50%); 7003 left: 0; 7004 right: auto; 7005 transition: width 75ms cubic-bezier(0.4, 0, 0.2, 1), height 75ms cubic-bezier(0.4, 0, 0.2, 1), margin 75ms cubic-bezier(0.4, 0, 0.2, 1); 7006 width: var(--mat-slide-toggle-handle-width); 7007 height: var(--mat-slide-toggle-handle-height); 7008 border-radius: var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full)); 7009} 7010[dir=rtl] .mdc-switch__handle { 7011 left: auto; 7012 right: 0; 7013} 7014.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle { 7015 width: var(--mat-slide-toggle-unselected-handle-size, 16px); 7016 height: var(--mat-slide-toggle-unselected-handle-size, 16px); 7017 margin: var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px); 7018} 7019.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons) { 7020 margin: var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px); 7021} 7022.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle { 7023 width: var(--mat-slide-toggle-selected-handle-size, 24px); 7024 height: var(--mat-slide-toggle-selected-handle-size, 24px); 7025 margin: var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px); 7026} 7027.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons) { 7028 margin: var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px); 7029} 7030.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons) { 7031 width: var(--mat-slide-toggle-with-icon-handle-size, 24px); 7032 height: var(--mat-slide-toggle-with-icon-handle-size, 24px); 7033} 7034.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle { 7035 width: var(--mat-slide-toggle-pressed-handle-size, 28px); 7036 height: var(--mat-slide-toggle-pressed-handle-size, 28px); 7037} 7038.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle { 7039 margin: var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px); 7040} 7041.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle { 7042 margin: var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px); 7043} 7044.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after { 7045 opacity: var(--mat-slide-toggle-disabled-selected-handle-opacity, 1); 7046} 7047.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after { 7048 opacity: var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38); 7049} 7050.mdc-switch__handle::before, .mdc-switch__handle::after { 7051 border: 1px solid transparent; 7052 border-radius: inherit; 7053 box-sizing: border-box; 7054 content: ""; 7055 width: 100%; 7056 height: 100%; 7057 left: 0; 7058 position: absolute; 7059 top: 0; 7060 transition: background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1), border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1); 7061 z-index: -1; 7062} 7063@media (forced-colors: active) { 7064 .mdc-switch__handle::before, .mdc-switch__handle::after { 7065 border-color: currentColor; 7066 } 7067} 7068.mdc-switch--selected:enabled .mdc-switch__handle::after {
7069 background: var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary)); 7070} 7071.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after { 7072 background: var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container)); 7073} 7074.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after { 7075 background: var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container)); 7076} 7077.mdc-switch--selected:enabled:active .mdc-switch__handle::after { 7078 background: var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container)); 7079} 7080.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after, .mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after { 7081 background: var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface)); 7082} 7083.mdc-switch--unselected:enabled .mdc-switch__handle::after { 7084 background: var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline)); 7085} 7086.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after { 7087 background: var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant)); 7088} 7089.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after { 7090 background: var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant)); 7091} 7092.mdc-switch--unselected:enabled:active .mdc-switch__handle::after { 7093 background: var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant)); 7094} 7095.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after { 7096 background: var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface)); 7097} 7098.mdc-switch__handle::before { 7099 background: var(--mat-slide-toggle-handle-surface-color); 7100} 7101 7102.mdc-switch__shadow { 7103 border-radius: inherit; 7104 bottom: 0; 7105 left: 0; 7106 position: absolute; 7107 right: 0; 7108 top: 0; 7109} 7110.mdc-switch:enabled .mdc-switch__shadow { 7111 box-shadow: var(--mat-slide-toggle-handle-elevation-shadow); 7112} 7113.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow, .mdc-switch.mdc-switch--disabled .mdc-switch__shadow { 7114 box-shadow: var(--mat-slide-toggle-disabled-handle-elevation-shadow); 7115} 7116 7117.mdc-switch__ripple { 7118 left: 50%; 7119 position: absolute; 7120 top: 50%; 7121 transform: translate(-50%, -50%); 7122 z-index: -1; 7123 width: var(--mat-slide-toggle-state-layer-size, 40px); 7124 height: var(--mat-slide-toggle-state-layer-size, 40px); 7125} 7126.mdc-switch__ripple::after { 7127 content: ""; 7128 opacity: 0; 7129} 7130.mdc-switch--disabled .mdc-switch__ripple::after { 7131 display: none; 7132} 7133.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after { 7134 display: block; 7135} 7136.mdc-switch:hover .mdc-switch__ripple::after { 7137 transition: 75ms opacity cubic-bezier(0, 0, 0.2, 1); 7138} 7139.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after, .mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after { 7140 background: var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface)); 7141 opacity: var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 7142} 7143.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after {
7144 background: var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface)); 7145 opacity: var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 7146} 7147.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after { 7148 background: var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface)); 7149 opacity: var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 7150 transition: opacity 75ms linear; 7151} 7152.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after { 7153 background: var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary)); 7154 opacity: var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 7155} 7156.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after { 7157 background: var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary)); 7158 opacity: var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 7159} 7160.mdc-switch--selected:enabled:active .mdc-switch__ripple::after { 7161 background: var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary)); 7162 opacity: var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 7163 transition: opacity 75ms linear; 7164} 7165 7166.mdc-switch__icons { 7167 position: relative; 7168 height: 100%; 7169 width: 100%; 7170 z-index: 1; 7171 transform: translateZ(0); 7172} 7173.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons { 7174 opacity: var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38); 7175} 7176.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons { 7177 opacity: var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38); 7178} 7179 7180.mdc-switch__icon { 7181 bottom: 0; 7182 left: 0; 7183 margin: auto; 7184 position: absolute; 7185 right: 0; 7186 top: 0; 7187 opacity: 0; 7188 transition: opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1); 7189} 7190.mdc-switch--unselected .mdc-switch__icon { 7191 width: var(--mat-slide-toggle-unselected-icon-size, 16px); 7192 height: var(--mat-slide-toggle-unselected-icon-size, 16px); 7193 fill: var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant)); 7194} 7195.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon { 7196 fill: var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant)); 7197} 7198.mdc-switch--selected .mdc-switch__icon { 7199 width: var(--mat-slide-toggle-selected-icon-size, 16px); 7200 height: var(--mat-slide-toggle-selected-icon-size, 16px); 7201 fill: var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container)); 7202} 7203.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon { 7204 fill: var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface)); 7205} 7206 7207.mdc-switch--selected .mdc-switch__icon--on, 7208.mdc-switch--unselected .mdc-switch__icon--off { 7209 opacity: 1; 7210 transition: opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1); 7211} 7212 7213.mat-mdc-slide-toggle { 7214 -webkit-user-select: none; 7215 user-select: none; 7216 display: inline-block; 7217 -webkit-tap-highlight-color: transparent; 7218 outline: 0; 7219} 7220.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple, 7221.mat-mdc-slide-toggle .mdc-switch__ripple::after { 7222 top: 0; 7223 left: 0; 7224 right: 0; 7225 bottom: 0; 7226 position: absolute; 7227 border-radius: 50%; 7228 pointer-events: none; 7229} 7230.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty), 7231.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty) { 7232 transform: translateZ(0); 7233} 7234.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before { 7235 content: ""; 7236} 7237.mat-mdc-slide-toggle .mat-internal-form-field { 7238 color: var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface)); 7239 font-family: var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font)); 7240 line-height: var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height)); 7241 font-size: var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size)); 7242 letter-spacing: var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));
7243 font-weight: var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight)); 7244} 7245.mat-mdc-slide-toggle .mat-ripple-element { 7246 opacity: 0.12; 7247} 7248.mat-mdc-slide-toggle .mat-focus-indicator::before { 7249 border-radius: 50%; 7250} 7251.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track, 7252.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon, 7253.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before, 7254.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after, 7255.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before, 7256.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after { 7257 transition: none; 7258} 7259.mat-mdc-slide-toggle .mdc-switch:enabled + .mdc-label { 7260 cursor: pointer; 7261} 7262.mat-mdc-slide-toggle .mdc-switch--disabled + label { 7263 color: var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface)); 7264} 7265.mat-mdc-slide-toggle label:empty { 7266 display: none; 7267} 7268 7269.mat-mdc-slide-toggle-touch-target { 7270 position: absolute; 7271 top: 50%; 7272 left: 50%; 7273 height: var(--mat-slide-toggle-touch-target-size, 48px); 7274 width: 100%; 7275 transform: translate(-50%, -50%); 7276 display: var(--mat-slide-toggle-touch-target-display, block); 7277} 7278[dir=rtl] .mat-mdc-slide-toggle-touch-target { 7279 left: auto; 7280 right: 50%; 7281 transform: translate(50%, -50%); 7282} 7283`],encapsulation:2,changeDetection:0})}return t})(),f1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[hne,De]})}return t})();var g1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[Hi,De]})}return t})();function fne(t,i){if(t&1){let e=Se();u(0,"div",1)(1,"button",2),T("click",function(){te(e);let r=_();return ne(r.action())}),h(2),c()()}if(t&2){let e=_();l(2),se(" ",e.data.action," ")}}var gne=["label"];function _ne(t,i){}var bne=Math.pow(2,31)-1,em=class{_overlayRef;instance;containerInstance;_afterDismissed=new O;_afterOpened=new O;_onAction=new O;_durationTimeoutId;_dismissedByAction=!1;constructor(i,e){this._overlayRef=e,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,bne))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},tD=new R("MatSnackBarData"),ih=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},vne=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),yne=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),Cne=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),ZH=(()=>{class t{snackBarRef=m(em);data=m(tD);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(n,r){n&1&&(u(0,"div",0),h(1),c(),v(2,fne,3,1,"div",1)),n&2&&(l(),se(" ",r.data.message,` 7284`),l(),y(r.hasAction?2:-1))},dependencies:[Yn,vne,yne,Cne],styles:[`.mat-mdc-simple-snack-bar { 7285 display: flex; 7286} 7287.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label { 7288 max-height: 50vh; 7289 overflow: auto; 7290} 7291`],encapsulation:2,changeDetection:0})}return t})(),_1="_mat-snack-bar-enter",b1="_mat-snack-bar-exit",Dne=(()=>{class t extends dd{_ngZone=m(le);_elementRef=m(Q);_changeDetectorRef=m(Ee);_platform=m(gt);_animationsDisabled=lt();snackBarConfig=m(ih);_document=m(Ce);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=m(ie);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;
7291_onAnnounce=new O;_onExit=new O;_onEnter=new O;_animationState="void";_live;_label;_role;_liveElementId=m(pt).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}attachDomPortal=e=>{this._assertNotAttached();let n=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),n};onAnimationEnd(e){e===b1?this._completeExit():e===_1&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?Dt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(_1)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(_1)},200)))}exit(){return this._destroyed?B(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?Dt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(b1)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(b1),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;
7291n&&(Array.isArray(n)?n.forEach(a=>e.classList.add(a)):e.classList.add(n)),this._exposeToModals();let r=this._label.nativeElement,o="mdc-snackbar__label";r.classList.toggle(o,!r.querySelector(`.${o}`))}_exposeToModals(){let e=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){let o=n[r],a=o.getAttribute("aria-owns");this._trackedModals.add(o),a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{let n=e.getAttribute("aria-owns");if(n){let r=n.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let e=this._elementRef.nativeElement,n=e.querySelector("[aria-hidden]"),r=e.querySelector("[aria-live]");if(n&&r){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(o=document.activeElement),n.removeAttribute("aria-hidden"),r.appendChild(n),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,r){if(n&1&&ve(ho,7)(gne,7),n&2){let o;H(o=U())&&(r._portalOutlet=o.first),H(o=U())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(n,r){n&1&&T("animationend",function(a){return r.onAnimationEnd(a.animationName)})("animationcancel",function(a){return r.onAnimationEnd(a.animationName)}),n&2&&ee("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[he],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,r){n&1&&(u(0,"div",1)(1,"div",2,0)(3,"div",3),fe(4,_ne,0,0,"ng-template",4),c(),x(5,"div"),c()()),n&2&&(l(5),oe("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[ho],styles:[`@keyframes _mat-snack-bar-enter { 7292 from { 7293 transform: scale(0.8); 7294 opacity: 0; 7295 } 7296 to { 7297 transform: scale(1); 7298 opacity: 1; 7299 } 7300} 7301@keyframes _mat-snack-bar-exit { 7302 from { 7303 opacity: 1; 7304 } 7305 to { 7306 opacity: 0; 7307 } 7308} 7309.mat-mdc-snack-bar-container { 7310 display: flex; 7311 align-items: center; 7312 justify-content: center; 7313 box-sizing: border-box; 7314 -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 7315 margin: 8px; 7316} 7317.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container { 7318 width: 100vw; 7319} 7320 7321.mat-snack-bar-container-animations-enabled { 7322 opacity: 0; 7323} 7324.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible { 7325 opacity: 1; 7326} 7327.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter { 7328 animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards; 7329} 7330.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit { 7331 animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards; 7332} 7333 7334.mat-mdc-snackbar-surface { 7335 box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12); 7336 display: flex; 7337 align-items: center; 7338 justify-content: flex-start; 7339 box-sizing: border-box; 7340 padding-left: 0; 7341 padding-right: 8px; 7342} 7343[dir=rtl] .mat-mdc-snackbar-surface { 7344 padding-right: 0; 7345 padding-left: 8px; 7346} 7347.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface { 7348 min-width: 344px; 7349 max-width: 672px; 7350} 7351.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface { 7352 width: 100%; 7353 min-width: 0; 7354} 7355@media (forced-colors: active) { 7356 .mat-mdc-snackbar-surface { 7357 outline: solid 1px; 7358 } 7359} 7360.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
7361 color: var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface)); 7362 border-radius: var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small)); 7363 background-color: var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface)); 7364} 7365 7366.mdc-snackbar__label { 7367 width: 100%; 7368 flex-grow: 1; 7369 box-sizing: border-box; 7370 margin: 0; 7371 padding: 14px 8px 14px 16px; 7372} 7373[dir=rtl] .mdc-snackbar__label { 7374 padding-left: 8px; 7375 padding-right: 16px; 7376} 7377.mat-mdc-snack-bar-container .mdc-snackbar__label { 7378 font-family: var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font)); 7379 font-size: var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size)); 7380 font-weight: var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight)); 7381 line-height: var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height)); 7382} 7383 7384.mat-mdc-snack-bar-actions { 7385 display: flex; 7386 flex-shrink: 0; 7387 align-items: center; 7388 box-sizing: border-box; 7389} 7390 7391.mat-mdc-snack-bar-handset, 7392.mat-mdc-snack-bar-container, 7393.mat-mdc-snack-bar-label { 7394 flex: 1 1 auto; 7395} 7396 7397.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed { 7398 color: var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary)); 7399} 7400.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) { 7401 --mat-button-text-state-layer-color: currentColor; 7402 --mat-button-text-ripple-color: currentColor; 7403} 7404.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element { 7405 opacity: 0.1; 7406} 7407`],encapsulation:2})}return t})(),Ene=new R("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new ih}),v1=(()=>{class t{_live=m(e_);_injector=m(ie);_breakpointObserver=m(Zl);_parentSnackBar=m(t,{optional:!0,skipSelf:!0});_defaultConfig=m(Ene);_animationsDisabled=lt();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=ZH;snackBarContainerComponent=Dne;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",r){let o=P(P({},this._defaultConfig),r);return o.data={message:e,action:n},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){let r=n&&n.viewContainerRef&&n.viewContainerRef.injector,o=ie.create({parent:r||this._injector,providers:[{provide:ih,useValue:n}]}),a=new ko(this.snackBarContainerComponent,n.viewContainerRef,o),s=e.attach(a);return s.instance.snackBarConfig=n,s.instance}_attach(e,n){let r=P(P(P({},new ih),this._defaultConfig),n),o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new em(a,o);if(e instanceof Zt){let d=new Sr(e,null,{$implicit:r.data,snackBarRef:s});s.instance=a.attachTemplatePortal(d)}else{let d=this._createInjector(r,s),p=new ko(e,void 0,d),f=a.attachComponentPortal(p);s.instance=f.instance}return this._breakpointObserver.observe(ls.HandsetPortrait).pipe(xe(o.detachments())).subscribe(d=>{o.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter()}_createOverlay(e){let n=new fo;
7407n.direction=e.direction;let r=Ca(this._injector),o=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!o||e.horizontalPosition==="end"&&o,s=!a&&e.horizontalPosition!=="center";return a?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),n.positionStrategy=r,n.disableAnimations=this._animationsDisabled,go(this._injector,n)}_createInjector(e,n){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return ie.create({parent:r||this._injector,providers:[{provide:em,useValue:n},{provide:tD,useValue:e.data}]})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var y1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[v1],imports:[Ui,pr,_o,ZH,De]})}return t})();var wne=["mat-sort-header",""],xne=["*",[["","matSortHeaderIcon",""]]],Sne=["*","[matSortHeaderIcon]"];function Tne(t,i){t&1&&(In(),ft(0,"svg",3),gi(1,"path",4),_t())}function Ine(t,i){t&1&&(ft(0,"div",2),re(1,1,null,Tne,2,0),_t())}var JH=new R("MAT_SORT_DEFAULT_OPTIONS"),Ir=(()=>{class t{_defaultOptions;_initializedStream=new Co(1);sortables=new Map;_stateChanges=new O;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new V;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let n=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,r=Ane(e.start||this.start,n),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(n){return new(n||t)(E(JH,8))};static \u0275dir=N({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",q],disabled:[2,"matSortDisabled","disabled",q]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Ke]})}return t})();function Ane(t,i){let e=["asc","desc"];return t=="desc"&&e.reverse(),i||e.push(""),e}var Qs=(()=>{class t{_sort=m(Ir,{optional:!0});_columnDef=m(ud,{optional:!0});_changeDetectorRef=m(Ee);_focusMonitor=m(oi);_elementRef=m(Q);_ariaDescriber=m(i_,{optional:!0});_renderChanges;_animationsDisabled=lt();_recentlyCleared=Z(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){m(Lt).load(mi);let e=m(JH,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=ut(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){let e=this._isSorted(),n=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(e&&!this._isSorted()?n:null)}}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,r){n&1&&T("click",function(){return r._toggleOnInteraction()})("keydown",function(a){return r._handleKeydown(a)})("mouseleave",function(){return r._recentlyCleared.set(null)}),n&2&&(oe("aria-sort",r._getAriaSortAttribute()),ee("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",q],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",q]},exportAs:["matSortHeader"],attrs:wne,ngContentSelectors:Sne,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(n,r){n&1&&(Ie(xne),ft(0,"div",0)(1,"div",1),re(2),_t(),v(3,Ine,3,0,"div",2),_t()),n&2&&(ee("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before")("mat-sort-header-descending",r._sort.direction==="desc")("mat-sort-header-ascending",r._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",r._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",r._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",r._animationsDisabled),oe("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),l(3),y(r._renderArrow()?3:-1))},styles:[`.mat-sort-header { 7408 cursor: pointer; 7409} 7410 7411.mat-sort-header-disabled { 7412 cursor: default; 7413} 7414 7415.mat-sort-header-container { 7416 display: flex; 7417 align-items: center; 7418 letter-spacing: normal; 7419 outline: 0; 7420} 7421[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container, [mat-sort-header].cdk-program-focused .mat-sort-header-container { 7422 border-bottom: solid 1px currentColor; 7423} 7424.mat-sort-header-container::before { 7425 margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1); 7426} 7427 7428.mat-sort-header-content { 7429 display: flex; 7430 align-items: center; 7431} 7432 7433.mat-sort-header-position-before { 7434 flex-direction: row-reverse; 7435} 7436 7437@keyframes _mat-sort-header-recently-cleared-ascending { 7438 from { 7439 transform: translateY(0); 7440 opacity: 1; 7441 } 7442 to { 7443 transform: translateY(-25%); 7444 opacity: 0; 7445 } 7446} 7447@keyframes _mat-sort-header-recently-cleared-descending { 7448 from { 7449 transform: translateY(0) rotate(180deg); 7450 opacity: 1; 7451 } 7452 to { 7453 transform: translateY(25%) rotate(180deg); 7454 opacity: 0; 7455 } 7456} 7457.mat-sort-header-arrow { 7458 height: 12px; 7459 width: 12px; 7460 position: relative; 7461 transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1), opacity 225ms cubic-bezier(0.4, 0, 0.2, 1); 7462 opacity: 0; 7463 overflow: visible; 7464 color: var(--mat-sort-arrow-color, var(--mat-sys-on-surface)); 7465} 7466.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow, .mat-sort-header.cdk-program-focused .mat-sort-header-arrow, .mat-sort-header:hover .mat-sort-header-arrow { 7467 opacity: 0.54; 7468} 7469.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow { 7470 opacity: 1; 7471} 7472.mat-sort-header-descending .mat-sort-header-arrow { 7473 transform: rotate(180deg); 7474} 7475.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow { 7476 transform: translateY(-25%); 7477} 7478.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow { 7479 transition: none; 7480 animation: _mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards; 7481} 7482.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow { 7483 transition: none; 7484 animation: _mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards; 7485} 7486.mat-sort-header-animations-disabled .mat-sort-header-arrow { 7487 transition-duration: 0ms; 7488 animation-duration: 0ms; 7489} 7490.mat-sort-header-arrow > svg, .mat-sort-header-arrow [matSortHeaderIcon] { 7491 width: 24px; 7492 height: 24px; 7493 fill: currentColor; 7494 position: absolute; 7495 top: 50%; 7496 left: 50%; 7497 margin: -12px 0 0 -12px; 7498 transform: translateZ(0); 7499} 7500.mat-sort-header-arrow, [dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow { 7501 margin: 0 0 0 6px; 7502} 7503.mat-sort-header-position-before .mat-sort-header-arrow, [dir=rtl] .mat-sort-header-arrow { 7504 margin: 0 6px 0 0; 7505} 7506`],encapsulation:2,changeDetection:0})}return t})(),A_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var kne=[[["caption"]],[["colgroup"],["col"]],"*"],Rne=["caption","colgroup, col","*"];function Mne(t,i){t&1&&re(0,2)}function Nne(t,i){t&1&&(u(0,"thead",0),Di(1,1),c(),u(2,"tbody",2),Di(3,3)(4,4),c(),u(5,"tfoot",0),Di(6,5),c())}function One(t,i){t&1&&Di(0,1)(1,3)(2,4)(3,5)}var Js=(()=>{class t extends bk{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[me([{provide:bk,useExisting:t},{provide:ds,useExisting:t},{provide:l_,useValue:null}]),he],ngContentSelectors:Rne,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,r){n&1&&(Ie(kne),re(0),re(1,1),v(2,Mne,1,0),v(3,Nne,7,0)(4,One,4,0)),n&2&&(l(2),y(r._isServer?2:-1),l(),y(r._isNativeHtmlTable?3:4))},dependencies:[fk,hk,_k,gk],styles:[`.mat-mdc-table-sticky { 7507 position: sticky !important; 7508} 7509 7510mat-table { 7511 display: block; 7512} 7513 7514mat-header-row { 7515 min-height: var(--mat-table-header-container-height, 56px); 7516} 7517 7518mat-row { 7519 min-height: var(--mat-table-row-item-container-height, 52px); 7520} 7521 7522mat-footer-row { 7523 min-height: var(--mat-table-footer-container-height, 52px); 7524} 7525 7526mat-row, mat-header-row, mat-footer-row { 7527 display: flex; 7528 border-width: 0; 7529 border-bottom-width: 1px; 7530 border-style: solid; 7531 align-items: center; 7532 box-sizing: border-box; 7533} 7534 7535mat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type { 7536 padding-left: 24px; 7537} 7538[dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) { 7539 padding-left: 0; 7540 padding-right: 24px; 7541} 7542mat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type { 7543 padding-right: 24px; 7544} 7545[dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) { 7546 padding-right: 0; 7547 padding-left: 24px; 7548} 7549 7550mat-cell, mat-header-cell, mat-footer-cell { 7551 flex: 1; 7552 display: flex; 7553 align-items: center; 7554 overflow: hidden; 7555 word-wrap: break-word; 7556 min-height: inherit; 7557} 7558 7559.mat-mdc-table { 7560 min-width: 100%; 7561 border: 0; 7562 border-spacing: 0; 7563 table-layout: auto; 7564 white-space: normal; 7565 background-color: var(--mat-table-background-color, var(--mat-sys-surface)); 7566} 7567 7568.mat-table-fixed-layout { 7569 table-layout: fixed; 7570} 7571 7572.mdc-data-table__cell { 7573 box-sizing: border-box; 7574 overflow: hidden; 7575 text-align: start; 7576 text-overflow: ellipsis; 7577} 7578 7579.mdc-data-table__cell, 7580.mdc-data-table__header-cell { 7581 padding: 0 16px; 7582} 7583 7584.mat-mdc-header-row { 7585 -moz-osx-font-smoothing: grayscale; 7586 -webkit-font-smoothing: antialiased; 7587 height: var(--mat-table-header-container-height, 56px); 7588 color: var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 7589 font-family: var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif)); 7590 line-height: var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height)); 7591 font-size: var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px)); 7592 font-weight: var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500)); 7593} 7594 7595.mat-mdc-row { 7596 height: var(--mat-table-row-item-container-height, 52px); 7597 color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 7598} 7599 7600.mat-mdc-row, 7601.mdc-data-table__content { 7602 -moz-osx-font-smoothing: grayscale; 7603 -webkit-font-smoothing: antialiased; 7604 font-family: var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif)); 7605 line-height: var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height)); 7606 font-size: var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px)); 7607 font-weight: var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight)); 7608} 7609 7610.mat-mdc-footer-row { 7611 -moz-osx-font-smoothing: grayscale; 7612 -webkit-font-smoothing: antialiased; 7613 height: var(--mat-table-footer-container-height, 52px); 7614 color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 7615 font-family: var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif)); 7616 line-height: var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height)); 7617 font-size: var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px)); 7618 font-weight: var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight)); 7619 letter-spacing: var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking)); 7620} 7621 7622.mat-mdc-header-cell { 7623 border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12))); 7624 border-bottom-width: var(--mat-table-row-item-outline-width, 1px); 7625 border-bottom-style: solid; 7626 letter-spacing: var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking)); 7627 font-weight: inherit; 7628 line-height: inherit; 7629 box-sizing: border-box; 7630 text-overflow: ellipsis; 7631 overflow: hidden; 7632 outline: none; 7633 text-align: start; 7634} 7635.mdc-data-table__row:last-child > .mat-mdc-header-cell { 7636 border-bottom: none; 7637} 7638 7639.mat-mdc-cell { 7640 border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12))); 7641 border-bottom-width: var(--mat-table-row-item-outline-width, 1px); 7642 border-bottom-style: solid; 7643 letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking)); 7644 line-height: inherit; 7645} 7646.mdc-data-table__row:last-child > .mat-mdc-cell { 7647 border-bottom: none; 7648} 7649 7650.mat-mdc-footer-cell { 7651 letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking)); 7652} 7653 7654mat-row.mat-mdc-row, 7655mat-header-row.mat-mdc-header-row, 7656mat-footer-row.mat-mdc-footer-row { 7657 border-bottom: none; 7658} 7659 7660.mat-mdc-table tbody, 7661.mat-mdc-table tfoot, 7662.mat-mdc-table thead, 7663.mat-mdc-cell, 7664.mat-mdc-footer-cell, 7665.mat-mdc-header-row, 7666.mat-mdc-row, 7667.mat-mdc-footer-row, 7668.mat-mdc-table .mat-mdc-header-cell { 7669 background: inherit; 7670} 7671 7672.mat-mdc-table mat-header-row.mat-mdc-header-row, 7673.mat-mdc-table mat-row.mat-mdc-row, 7674.mat-mdc-table mat-footer-row.mat-mdc-footer-cell { 7675 height: unset; 7676} 7677 7678mat-header-cell.mat-mdc-header-cell, 7679mat-cell.mat-mdc-cell, 7680mat-footer-cell.mat-mdc-footer-cell { 7681 align-self: stretch; 7682} 7683`],encapsulation:2})}return t})(),el=(()=>{class t extends AC{static \u0275fac=(()=>{let e;retur
7683n function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matCellDef",""]],features:[me([{provide:AC,useExisting:t}]),he]})}return t})(),tl=(()=>{class t extends kC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderCellDef",""]],features:[me([{provide:kC,useExisting:t}]),he]})}return t})();var nl=(()=>{class t extends ud{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[me([{provide:ud,useExisting:t}]),he]})}return t})(),il=(()=>{class t extends kj{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[he]})}return t})();var rl=(()=>{class t extends Rj{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[he]})}return t})();var ol=(()=>{class t extends c_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",q]},features:[me([{provide:c_,useExisting:t}]),he]})}return t})();var al=(()=>{class t extends RC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[me([{provide:RC,useExisting:t}]),he]})}return t})(),sl=(()=>{class t extends mk{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[me([{provide:mk,useExisting:t}]),he],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[qu],encapsulation:2})}return t})();var ll=(()=>{class t extends pk{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[me([{provide:pk,useExisting:t}]),he],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[qu],encapsulation:2})}return t})();var k_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[d_,De]})}return t})(),Fne=9007199254740991,iD=class extends ju{_data;_renderData=new zt([]);_filter=new zt("");_internalPageChanges=new O;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(i,e)=>{let n=i[e];if(Jy(n)){let r=Number(n);return r<Fne?r:n}return n};sortData=(i,e)=>{let n=e.active,r=e.direction;return!n||r==""?i:i.sort((o,a)=>{let s=this.sortingDataAccessor(o,n),d=this.sortingDataAccessor(a,n),p=typeof s,f=typeof d;p!==f&&(p==="number"&&(s+=""),f==="number"&&(d+=""));let b=0;return s!=null&&d!=null?s>d?b=1:s<d&&(b=-1):s!=null?b=1:d!=null&&(b=-1),b*(r=="asc"?1:-1)})};filterPredicate=(i,e)=>{let n=e.trim().toLowerCase();return Object.values(i).some(r=>`${r}`.toLowerCase().includes(n))};constructor(i=[]){super(),this._data=new zt(i),this._updateChangeSubscription()}_updateChangeSubscription(){let i=this._sort?ut(this._sort.sortChange,this._sort.initialized):B(null),e=this._paginator?ut(this._paginator.page,this._internalPageChanges,this._paginator.initialized):B(null),n=this._data,r=nn([n,this._filter]).pipe($(([s])=>this._filterData(s))),o=nn([r,i]).pipe($(([s])=>this._orderData(s))),a=nn([o,e]).pipe($(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(i){return this.filteredData=this.filter==null||this.filter===""?i:i.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;let e=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(e,e+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=i,e.pageIndex>0)){let n=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,n);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var E1=["*"];var Pne=["tabListContainer"],Lne=["tabList"],Bne=["tabListInner"],Vne=["nextPaginator"],jne=["previousPaginator"];var Hne=["mat-tab-nav-bar",""],Une=["mat-tab-link",""];var C1="mdc-tab-indicator--active",eU="mdc-tab-indicator--no-transition",D1=class{_items;_currentItem;constructor(i){this._items=i}
7683hide(){this._items.forEach(i=>i.deactivateInkBar()),this._currentItem=void 0}alignToElement(i){let e=this._items.find(r=>r.elementRef.nativeElement===i),n=this._currentItem;if(e!==n&&(n?.deactivateInkBar(),e)){let r=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},zne=(()=>{class t{_elementRef=m(Q);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let n=this._elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(C1);return}let r=n.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;n.classList.add(eU),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),n.getBoundingClientRect(),n.classList.remove(eU),n.classList.add(C1),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(C1)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");n.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",q]}})}return t})();var tU={passive:!0},Gne=650,Wne=100,$ne=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_viewportRuler=m(ji);_dir=m(an,{optional:!0});_ngZone=m(le);_platform=m(gt);_sharedResizeObserver=m(FC);_injector=m(ie);_renderer=m(ot);_animationsDisabled=lt();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new O;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new O;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let n=isNaN(e)?0:e;this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}_selectedIndex=0;selectFocusedIndex=new V;indexFocused=new V;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),tU),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),tU))}ngAfterContentInit(){let e=this._dir?this._dir.change:B("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(hi(32),xe(this._destroyed)),r=this._viewportRuler.change(150).pipe(xe(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new ss(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Dt(o,{injector:this._injector}),ut(e,r,n,this._items.changes,this._itemsResized()).pipe(xe(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?ke:this._items.changes.pipe(Re(this._items),W(e=>new Ne(n=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>n.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Al(1),ae(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}
7683ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ht(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let n=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let n=this._items?this._items.toArray()[e]:null;if(!n)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=n.elementRef.nativeElement,s,d;this._getLayoutDirection()=="ltr"?(s=o,d=s+a):(d=this._tabListInner.nativeElement.offsetWidth-o,s=d-a);let p=this.scrollDistance,f=this.scrollDistance+r;s<p?this.scrollDistance-=p-s:d>f&&(this.scrollDistance+=Math.min(d-f,s-p))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,n=this._elementRef.nativeElement.offsetWidth,r=e-n>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return e-n||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),Ua(Gne,Wne).pipe(xe(ut(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",q],selectedIndex:[2,"selectedIndex","selectedIndex",rn]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})();var qne=new R("MAT_TABS_CONFIG");var Yne=(()=>{class t extends $ne{_focusedItem=Z(null);get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}_fitInkBarToContent=new zt(!1);stretchTabs=!0;get animationDuration(){return this._animationDuration}set animationDuration(e){let n=e+"";this._animationDuration=/^\d+$/.test(n)?e+"ms":n}_animationDuration;_items;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Z(!1);color="primary";tabPanel;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;constructor(){let e=m(qne,{optional:!0});super(),this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new D1(this._items),this._items.changes.pipe(Re(null),xe(this._destroyed)).subscribe(()=>this.updateActiveLink()),super.ngAfterContentInit(),this._keyManager.change.pipe(Re(null),xe(this._destroyed)).subscribe(()=>this._focusedItem.set(this._keyManager?.activeItem||null))}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let n=0;n<e.length;n++)if(e[n].active){this.selectedIndex=n,this.tabPanel&&(this.tabPanel._activeTabId=e[n].id),this._focusedItem.set(e[n]),this._changeDetectorRef.markForCheck();return}this.selectedIndex=-1}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}_hasFocus(e){return this._keyManager?.activeItem===e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Kne,5),n&2){let a;H(a=U())&&(r._items=a)}},viewQuery:function(n,r){if(n&1&&ve(Pne,7)(Lne,7)(Bne,7)(Vne,5)(jne,5),n&2){let o;H(o=U())&&(r._tabListContainer=o.first),H(o=U())&&(r._tabList=o.first),H(o=U())&&(r._tabListInner=o.first),H(o=U())&&(r._nextPaginator=o.first),H(o=U())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(n,r){n&2&&(oe("role",r._getRole()),Fn("--mat-tab-animation-duration",r.animationDuration),ee("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")("mat-mdc-tab-nav-bar-stretch-tabs",r.stretchTabs)("mat-primary",r.color!=="warn"&&r.color!=="accent")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("_mat-animation-noopable",r._animationsDisabled))},inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",q],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",q],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",q],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[he],attrs:Hne,ngContentSelectors:E1,decls:13,vars:6,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(n,r){n&1&&(Ie(),u(0,"div",5,0),T("click",function(){return r._handlePaginatorClick("before")})("mousedown",function(a){return r._handlePaginatorPress("before",a)})("touchend",function(){return r._stopInterval()}),x(2,"div",6),c(),u(3,"div",7,1),T("keydown",function(a){return r._handleKeydown(a)}),u(5,"div",8,2),T("cdkObserveContent",function(){return r._onContentChanges()}),u(7,"div",9,3),re(9),c()()(),u(10,"div",10,4),T("mousedown",function(a){return r._handlePaginatorPress("after",a)})("click",function(){return r._handlePaginatorClick("after")})("touchend",function(){return r._stopInterval()}),x(12,"div",6),c()),n&2&&(ee("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),g("matRippleDisabled",r._disableScrollBefore||r.disableRipple),l(10),ee("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),g("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[Hr,Jg],styles:[`.mdc-tab { 7684 min-width: 90px; 7685 padding: 0 24px; 7686 display: flex; 7687 flex: 1 0 auto; 7688 justify-content: center; 7689 box-sizing: border-box; 7690 border: none; 7691 outline: none; 7692 text-align: center; 7693 white-space: nowrap; 7694 cursor: pointer; 7695 z-index: 1; 7696 touch-action: manipulation; 7697} 7698 7699.mdc-tab__content { 7700 display: flex; 7701 align-items: center; 7702 justify-content: center; 7703 height: inherit; 7704 pointer-events: none; 7705} 7706 7707.mdc-tab__text-label { 7708 transition: 150ms color linear; 7709 display: inline-block; 7710 line-height: 1; 7711 z-index: 2; 7712} 7713 7714.mdc-tab--active .mdc-tab__text-label { 7715 transition-delay: 100ms; 7716} 7717 7718._mat-animation-noopable .mdc-tab__text-label { 7719 transition: none; 7720} 7721 7722.mdc-tab-indicator { 7723 display: flex; 7724 position: absolute; 7725 top: 0; 7726 left: 0; 7727 justify-content: center; 7728 width: 100%; 7729 height: 100%; 7730 pointer-events: none; 7731 z-index: 1; 7732} 7733 7734.mdc-tab-indicator__content { 7735 transition: var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1); 7736 transform-origin: left; 7737 opacity: 0; 7738} 7739 7740.mdc-tab-indicator__content--underline { 7741 align-self: flex-end; 7742 box-sizing: border-box; 7743 width: 100%; 7744 border-top-style: solid; 7745} 7746 7747.mdc-tab-indicator--active .mdc-tab-indicator__content { 7748 opacity: 1; 7749} 7750 7751._mat-animation-noopable .mdc-tab-indicator__content, .mdc-tab-indicator--no-transition .mdc-tab-indicator__content { 7752 transition: none; 7753} 7754 7755.mat-mdc-tab-ripple.mat-mdc-tab-ripple { 7756 position: absolute; 7757 top: 0; 7758 left: 0; 7759 bottom: 0; 7760 right: 0; 7761 pointer-events: none; 7762} 7763 7764.mat-mdc-tab-header { 7765 display: flex; 7766 overflow: hidden; 7767 position: relative; 7768 flex-shrink: 0; 7769} 7770 7771.mdc-tab-indicator .mdc-tab-indicator__content { 7772 transition-duration: var(--mat-tab-animation-duration, 250ms); 7773} 7774 7775.mat-mdc-tab-header-pagination { 7776 -webkit-user-select: none; 7777 user-select: none; 7778 position: relative; 7779 display: none; 7780 justify-content: center; 7781 align-items: center; 7782 min-width: 32px; 7783 cursor: pointer; 7784 z-index: 2; 7785 -webkit-tap-highlight-color: transparent; 7786 touch-action: none; 7787 box-sizing: content-box; 7788 outline: 0; 7789} 7790.mat-mdc-tab-header-pagination::-moz-focus-inner { 7791 border: 0; 7792} 7793.mat-mdc-tab-header-pagination .mat-ripple-element { 7794 opacity: 0.12; 7795 background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface)); 7796} 7797.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination { 7798 display: flex; 7799} 7800 7801.mat-mdc-tab-header-pagination-before, 7802.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after { 7803 padding-left: 4px; 7804} 7805.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron, 7806.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron { 7807 transform: rotate(-135deg); 7808} 7809 7810.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before, 7811.mat-mdc-tab-header-pagination-after { 7812 padding-right: 4px; 7813} 7814.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron, 7815.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron { 7816 transform: rotate(45deg); 7817} 7818 7819.mat-mdc-tab-header-pagination-chevron { 7820 border-style: solid; 7821 border-width: 2px 2px 0 0; 7822 height: 8px; 7823 width: 8px; 7824 border-color: var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface)); 7825} 7826 7827.mat-mdc-tab-header-pagination-disabled { 7828 box-shadow: none; 7829 cursor: default; 7830 pointer-events: none; 7831} 7832.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron { 7833 opacity: 0.4; 7834} 7835 7836.mat-mdc-tab-list { 7837 flex-grow: 1; 7838 position: relative; 7839 transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1); 7840} 7841._mat-animation-noopable .mat-mdc-tab-list { 7842 transition: none; 7843} 7844 7845.mat-mdc-tab-links { 7846 display: flex; 7847 flex: 1 0 auto; 7848} 7849[mat-align-tabs=center] > .mat-mdc-tab-link-container .mat-mdc-tab-links { 7850 justify-content: center; 7851} 7852[mat-align-tabs=end] > .mat-mdc-tab-link-container .mat-mdc-tab-links { 7853 justify-content: flex-end; 7854} 7855.cdk-drop-list .mat-mdc-tab-links, .mat-mdc-tab-links.cdk-drop-list { 7856 min-height: var(--mat-tab-container-height, 48px); 7857} 7858 7859.mat-mdc-tab-link-container { 7860 display: flex; 7861 flex-grow: 1; 7862 overflow: hidden; 7863 z-index: 1; 7864 border-bottom-style: solid; 7865 border-bottom-width: var(--mat-tab-divider-height, 1px); 7866 border-bottom-color: var(--mat-tab-divider-color, var(--mat-sys-surface-variant)); 7867} 7868 7869.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination { 7870 background-color: var(--mat-tab-background-color); 7871} 7872.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary > .mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label { 7873 color: var(--mat-tab-foreground-color); 7874} 7875.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary > .mat-mdc-tab-link-container .mdc-tab-indicator__content--underline { 7876 border-color: var(--mat-tab-foreground-color); 7877} 7878.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label { 7879 color: var(--mat-tab-foreground-color); 7880} 7881.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline { 7882 border-color: var(--mat-tab-foreground-color); 7883} 7884.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron, 7885.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mat-focus-indicator::before, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron, 7886.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-focus-indicator::before { 7887 border-color: var(--mat-tab-foreground-color); 7888} 7889.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mat-ripple-element, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mdc-tab__ripple::before, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-ripple-element, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mdc-tab__ripple::before { 7890 background-color: var(--mat-tab-foreground-color); 7891} 7892.mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron, .mat-mdc-tab-nav-bar.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron { 7893 color: var(--mat-tab-foreground-color); 7894} 7895`],encapsulation:2})}return t})(),Kne=(()=>{class t extends zne{_tabNavBar=m(Yne);elementRef=m(Q);_focusMonitor=m(oi);_destroyed=new O;_isActive=!1;_tabIndex=Ct(()=>this._tabNavBar._focusedItem()===this?this.tabIndex:-1);get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Z(!1);tabIndex=0;rippleConfig;get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleCon
7895fig.disabled}id=m(pt).getId("mat-tab-link-");constructor(){super(),m(Lt).load(mi);let e=m(cd,{optional:!0}),n=m(new di("tabindex"),{optional:!0});this.rippleConfig=e||{},this.tabIndex=n==null?0:parseInt(n)||0,lt()&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),this._tabNavBar._fitInkBarToContent.pipe(xe(this._destroyed)).subscribe(r=>{this.fitInkBarToContent=r})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(n,r){n&1&&T("focus",function(){return r._handleFocus()})("keydown",function(a){return r._handleKeydown(a)}),n&2&&(oe("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._tabIndex())("role",r._getRole()),ee("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",q],disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:rn(e)],id:"id"},exportAs:["matTabLink"],features:[he],attrs:Une,ngContentSelectors:E1,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(n,r){n&1&&(Ie(),x(0,"span",0)(1,"div",1),u(2,"span",2)(3,"span",3),re(4),c()()),n&2&&(l(),g("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[Hr],styles:[`.mat-mdc-tab-link { 7896 -webkit-tap-highlight-color: transparent; 7897 -webkit-font-smoothing: antialiased; 7898 -moz-osx-font-smoothing: grayscale; 7899 text-decoration: none; 7900 background: none; 7901 height: var(--mat-tab-container-height, 48px); 7902 font-family: var(--mat-tab-label-text-font, var(--mat-sys-title-small-font)); 7903 font-size: var(--mat-tab-label-text-size, var(--mat-sys-title-small-size)); 7904 letter-spacing: var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking)); 7905 line-height: var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height)); 7906 font-weight: var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight)); 7907} 7908.mat-mdc-tab-link.mdc-tab { 7909 flex-grow: 0; 7910} 7911.mat-mdc-tab-link .mdc-tab-indicator__content--underline { 7912 border-color: var(--mat-tab-active-indicator-color, var(--mat-sys-primary)); 7913 border-top-width: var(--mat-tab-active-indicator-height, 2px); 7914 border-radius: var(--mat-tab-active-indicator-shape, 0); 7915} 7916.mat-mdc-tab-link:hover .mdc-tab__text-label { 7917 color: var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface)); 7918} 7919.mat-mdc-tab-link:focus .mdc-tab__text-label { 7920 color: var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface)); 7921} 7922.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label { 7923 color: var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface)); 7924} 7925.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before, 7926.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element { 7927 background-color: var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface)); 7928} 7929.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label { 7930 color: var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface)); 7931} 7932.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline { 7933 border-color: var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary)); 7934} 7935.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label { 7936 color: var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface)); 7937} 7938.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline { 7939 border-color: var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary)); 7940} 7941.mat-mdc-tab-link.mat-mdc-tab-disabled { 7942 opacity: 0.4; 7943 pointer-events: none; 7944} 7945.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content { 7946 pointer-events: none; 7947} 7948.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before, 7949.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element { 7950 background-color: var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant)); 7951} 7952.mat-mdc-tab-link .mdc-tab__ripple::before { 7953 content: ""; 7954 display: block; 7955 position: absolute; 7956 top: 0; 7957 left: 0; 7958 right: 0; 7959 bottom: 0; 7960 opacity: 0; 7961 pointer-events: none; 7962 background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface)); 7963} 7964.mat-mdc-tab-link .mdc-tab__text-label { 7965 color: var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface)); 7966 display: inline-flex; 7967 align-items: center; 7968} 7969.mat-mdc-tab-link .mdc-tab__content { 7970 position: relative; 7971 pointer-events: auto; 7972} 7973.mat-mdc-tab-link:hover .mdc-tab__ripple::before { 7974 opacity: 0.04; 7975} 7976.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before, .mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before { 7977 opacity: 0.12; 7978} 7979.mat-mdc-tab-link .mat-ripple-element { 7980 opacity: 0.12; 7981 background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface)); 7982} 7983.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link { 7984 flex-grow: 1; 7985} 7986.mat-mdc-tab-link::before { 7987 margin: 5px; 7988} 7989 7990@media (max-width: 599px) { 7991 .mat-mdc-tab-link { 7992 min-width: 72px; 7993 } 7994} 7995`],encapsulation:2,changeDetection:0})}return t})(),cYe=(()=>{class t{id=m(pt).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=k({type:t,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(n,r){n&2&&oe("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:E1,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),w1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var x1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[De]})}return t})();var S1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({imports:[u_,De]})}return t})(),nU=class{transformFunction;getLevel;isExpandable;getChildren;
7995constructor(i,e,n,r){this.transformFunction=i,this.getLevel=e,this.isExpandable=n,this.getChildren=r}_flattenNode(i,e,n,r){let o=this.transformFunction(i,e);if(n.push(o),this.isExpandable(o)){let a=this.getChildren(i);a&&(Array.isArray(a)?this._flattenChildren(a,e,n,r):a.pipe(We(1)).subscribe(s=>{this._flattenChildren(s,e,n,r)}))}return n}_flattenChildren(i,e,n,r){i.forEach((o,a)=>{let s=r.slice();s.push(a!=i.length-1),this._flattenNode(o,e+1,n,s)})}flattenNodes(i){let e=[];return i.forEach(n=>this._flattenNode(n,0,e,[])),e}expandFlattenedNodes(i,e){let n=[],r=[];return r[0]=!0,i.forEach(o=>{let a=!0;for(let s=0;s<=this.getLevel(o);s++)a=a&&r[s];a&&n.push(o),this.isExpandable(o)&&(r[this.getLevel(o)+1]=e.isExpanded(o))}),n}},iU=class extends ju{_treeControl;_treeFlattener;_flattenedData=new zt([]);_expandedData=new zt([]);get data(){return this._data.value}set data(i){this._data.next(i),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}_data=new zt([]);constructor(i,e,n){super(),this._treeControl=i,this._treeFlattener=e,n&&(this.data=n)}connect(i){return ut(i.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe($(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var Xne=Math.pow(10,8)*24*60*60*1e3,TYe=-Xne,oD=6048e5,rU=864e5,R_=6e4,M_=36e5,oU=1e3;var Zne=3600;var aU=Zne*24,IYe=aU*7,Qne=aU*365.2425,Jne=Qne/12,AYe=Jne*3,T1=Symbol.for("constructDateFrom");function Et(t,i){return typeof t=="function"?t(i):t&&typeof t=="object"&&T1 in t?t[T1](i):t instanceof Date?new t.constructor(i):new Date(i)}function we(t,i){return Et(i||t,t)}function sa(t,i,e){let n=we(t,e?.in);return isNaN(i)?Et(e?.in||t,NaN):(i&&n.setDate(n.getDate()+i),n)}function rh(t,i,e){let n=we(t,e?.in);if(isNaN(i))return Et(e?.in||t,NaN);if(!i)return n;let r=n.getDate(),o=Et(e?.in||t,n.getTime());o.setMonth(n.getMonth()+i+1,0);let a=o.getDate();return r>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function sU(t,i,e){return Et(e?.in||t,+we(t)+i)}var eie={};function wa(){return eie}function Ar(t,i){let e=wa(),n=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,r=we(t,i?.in),o=r.getDay(),a=(o<n?7:0)+o-n;return r.setDate(r.getDate()-a),r.setHours(0,0,0,0),r}function ps(t,i){return Ar(t,Ae(P({},i),{weekStartsOn:1}))}function aD(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=Et(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let o=ps(r),a=Et(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);let s=ps(a);return e.getTime()>=o.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function tm(t){let i=we(t),e=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return e.setUTCFullYear(i.getFullYear()),+t-+e}function oh(t,...i){let e=Et.bind(null,t||i.find(n=>typeof n=="object"));return i.map(e)}function kn(t,i){let e=we(t,i?.in);return e.setHours(0,0,0,0),e}function lU(t,i,e){let[n,r]=oh(e?.in,t,i),o=kn(n),a=kn(r),s=+o-tm(o),d=+a-tm(a);return Math.round((s-d)/rU)}function cU(t,i){let e=aD(t,i),n=Et(i?.in||t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),ps(n)}function dU(t,i,e){return sU(t,i*1e3,e)}function sD(t,i,e){return rh(t,i*12,e)}function lD(t,i,e){let[n,r]=oh(e?.in,t,i);return+kn(n)==+kn(r)}function cD(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function rc(t){return!(!cD(t)&&typeof t!="number"||isNaN(+we(t)))}function I1(t,i){let e=we(t,i?.in);return e.setDate(1),e.setHours(0,0,0,0),e}function uU(t,i){let e=we(t,i?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}var tie={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},mU=(t,i,e)=>{let n,r=tie[t];return typeof r=="string"?n=r:i===1?n=r.one:n=r.other.replace("{{count}}",i.toString()),e?.addSuffix?e.comparison&&e.comparison>0?"in "+n:n+" ago":n};function gd(t){return(i={})=>{let e=i.width?String(i.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}var nie={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},iie={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},rie={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},pU={date:gd({formats:nie,defaultWidth:"full"}),time:gd({formats:iie,defaultWidth:"full"}),dateTime:gd({formats:rie,defaultWidth:"full"})};var oie={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},hU=(t,i,e,n)=>oie[t];function xa(t){return(i,e)=>{let n=e?.context?String(e.context):"standalone",r;if(n==="formatting"&&t.formattingValues){let a=t.defaultFormattingWidth||t.defaultWidth,s=e?.width?String(e.width):a;r=t.formattingValues[s]||t.formattingValues[a]}else{let a=t.defaultWidth,s=e?.width?String(e.width):t.defaultWidth;r=t.values[s]||t.values[a]}let o=t.argumentCallback?t.argumentCallback(i):i;return r[o]}}var aie={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},sie={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},lie={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},cie={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
7995ay","Saturday"]},die={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},uie={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},mie=(t,i)=>{let e=Number(t),n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},fU={ordinalNumber:mie,era:xa({values:aie,defaultWidth:"wide"}),quarter:xa({values:sie,defaultWidth:"wide",argumentCallback:t=>t-1}),month:xa({values:lie,defaultWidth:"wide"}),day:xa({values:cie,defaultWidth:"wide"}),dayPeriod:xa({values:die,defaultWidth:"wide",formattingValues:uie,defaultFormattingWidth:"wide"})};function Sa(t){return(i,e={})=>{let n=e.width,r=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=i.match(r);if(!o)return null;let a=o[0],s=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?hie(s,b=>b.test(a)):pie(s,b=>b.test(a)),p;p=t.valueCallback?t.valueCallback(d):d,p=e.valueCallback?e.valueCallback(p):p;let f=i.slice(a.length);return{value:p,rest:f}}}function pie(t,i){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&i(t[e]))return e}function hie(t,i){for(let e=0;e<t.length;e++)if(i(t[e]))return e}function dD(t){return(i,e={})=>{let n=i.match(t.matchPattern);if(!n)return null;let r=n[0],o=i.match(t.parsePattern);if(!o)return null;let a=t.valueCallback?t.valueCallback(o[0]):o[0];a=e.valueCallback?e.valueCallback(a):a;let s=i.slice(r.length);return{value:a,rest:s}}}var fie=/^(\d+)(th|st|nd|rd)?/i,gie=/\d+/i,_ie={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},bie={any:[/^b/i,/^(a|c)/i]},vie={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},yie={any:[/1/i,/2/i,/3/i,/4/i]},Cie={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Die={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Eie={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},wie={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},xie={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Sie={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},gU={ordinalNumber:dD({matchPattern:fie,parsePattern:gie,valueCallback:t=>parseInt(t,10)}),era:Sa({matchPatterns:_ie,defaultMatchWidth:"wide",parsePatterns:bie,defaultParseWidth:"any"}),quarter:Sa({matchPatterns:vie,defaultMatchWidth:"wide",parsePatterns:yie,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Sa({matchPatterns:Cie,defaultMatchWidth:"wide",parsePatterns:Die,defaultParseWidth:"any"}),day:Sa({matchPatterns:Eie,defaultMatchWidth:"wide",parsePatterns:wie,defaultParseWidth:"any"}),dayPeriod:Sa({matchPatterns:xie,defaultMatchWidth:"any",parsePatterns:Sie,defaultParseWidth:"any"})};var N_={code:"en-US",formatDistance:mU,formatLong:pU,formatRelative:hU,localize:fU,match:gU,options:{weekStartsOn:0,firstWeekContainsDate:1}};function _U(t,i){let e=we(t,i?.in);return lU(e,uU(e))+1}function uD(t,i){let e=we(t,i?.in),n=+ps(e)-+cU(e);return Math.round(n/oD)+1}function ah(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=wa(),o=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=Et(i?.in||t,0);a.setFullYear(n+1,0,o),a.setHours(0,0,0,0);let s=Ar(a,i),d=Et(i?.in||t,0);d.setFullYear(n,0,o),d.setHours(0,0,0,0);let p=Ar(d,i);return+e>=+s?n+1:+e>=+p?n:n-1}function bU(t,i){let e=wa(),n=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,r=ah(t,i),o=Et(i?.in||t,0);return o.setFullYear(r,0,n),o.setHours(0,0,0,0),Ar(o,i)}function mD(t,i){let e=we(t,i?.in),n=+Ar(e,i)-+bU(e,i);return Math.round(n/oD)+1}function Vt(t,i){let e=t<0?"-":"",n=Math.abs(t).toString().padStart(i,"0");return e+n}var oc={y(t,i){let e=t.getFullYear(),n=e>0?e:1-e;return Vt(i==="yy"?n%100:n,i.length)},M(t,i){let e=t.getMonth();return i==="M"?String(e+1):Vt(e+1,2)},d(t,i){return Vt(t.getDate(),i.length)},a(t,i){let e=t.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];default:return e==="am"?"a.m.":"p.m."}},h(t,i){return Vt(t.getHours()%12||12,i.length)},H(t,i){return Vt(t.getHours(),i.length)},m(t,i){return Vt(t.getMinutes(),i.length)},s(t,i){return Vt(t.getSeconds(),i.length)},S(t,i){let e=i.length,n=t.getMilliseconds(),r=Math.trunc(n*Math.pow(10,e-3));return Vt(r,i.length)}};var sh={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},A1={G:function(t,i,e){let n=t.getFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});default:return e.era(n,{width:"wide"})}},y:function(t,i,e){if(i==="yo"){let n=t.getFullYear(),r=n>0?n:1-n;return e.ordinalNumber(r,{unit:"year"})}return oc.y(t,i)},Y:function(t,i,e,n){let r=ah(t,n),o=r>0?r:1-r;if(i==="YY"){let a=o%100;return Vt(a,2)}return i==="Yo"?e.ordinalNumber(o,{unit:"year"}):Vt(o,i.length)},R:function(t,i){let e=aD(t);return Vt(e,i.length)},u:function(t,i){let e=t.getFullYear();return Vt(e,i.length)},Q:function(t,i,e){let n=Math.ceil((t.getMonth()+1)/3);switch(i){case"Q":return String(n);case"QQ":return Vt(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,i,e){let n=Math.ceil((t.getMonth()+1)/3);switch(i){case"q":return String(n);case"qq":return Vt(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,i,e){let n=t.getMonth();switch(i){case"M":case"MM":return oc.M(t,i);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(t,i,e){let n=t.getMonth();switch(i){case"L":return String(n+1);case"LL":return Vt(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(t,i,e,n){let r=mD(t,n);return i==="wo"?e.ordinalNumber(r,{unit:"week"}):Vt(r,i.length)},I:function(t,i,e){let n=uD(t);return i==="Io"?e.ordinalNumber(n,{unit:"week"}):Vt(n,i.length)},d:function(t,i,e){return i==="do"?e.ordinalNumber(t.getDate(),{unit:"date"}):oc.d(t,i)},D:function(t,i,e){let n=_U(t);return i==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):Vt(n,i.length)},E:function(t,i,e){let n=t.getDay();switch(i){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(t,i,e,n){let r=t.getDay(),o=(r-n.weekStartsOn+8)%7||7;switch(i){case"e":return String(o);case"ee":return Vt(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(r,{width:"short",context:"formatting"});default:return e.day(r,{width:"wide",context:"formatting"})}},c:function(t,i,e,n){let r=t.getDay(),o=(r-n.weekStartsOn+8)%7||7;switch(i){case"c":return String(o);case"cc":return Vt(o,i.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(r,{width:"narrow",context:"standalone"});case"cccccc":return e.day(r,{width:"short",context:"standalone"});default:return e.day(r,{width:"wide",context:"standalone"})}},i:function(t,i,e){let n=t.getDay(),r=n===0?7:n;switch(i){case"i":return String(r);case"ii":return Vt(r,i.length);case"io":return e.ordinalNumber(r,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(t,i,e){let r=t.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,i,e){let n=t.getHours(),r;switch(n===12?r=sh.noon:n===0?r=sh.midnight:r=n/12>
7995=1?"pm":"am",i){case"b":case"bb":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,i,e){let n=t.getHours(),r;switch(n>=17?r=sh.evening:n>=12?r=sh.afternoon:n>=4?r=sh.morning:r=sh.night,i){case"B":case"BB":case"BBB":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(r,{width:"narrow",context:"formatting"});default:return e.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,i,e){if(i==="ho"){let n=t.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return oc.h(t,i)},H:function(t,i,e){return i==="Ho"?e.ordinalNumber(t.getHours(),{unit:"hour"}):oc.H(t,i)},K:function(t,i,e){let n=t.getHours()%12;return i==="Ko"?e.ordinalNumber(n,{unit:"hour"}):Vt(n,i.length)},k:function(t,i,e){let n=t.getHours();return n===0&&(n=24),i==="ko"?e.ordinalNumber(n,{unit:"hour"}):Vt(n,i.length)},m:function(t,i,e){return i==="mo"?e.ordinalNumber(t.getMinutes(),{unit:"minute"}):oc.m(t,i)},s:function(t,i,e){return i==="so"?e.ordinalNumber(t.getSeconds(),{unit:"second"}):oc.s(t,i)},S:function(t,i){return oc.S(t,i)},X:function(t,i,e){let n=t.getTimezoneOffset();if(n===0)return"Z";switch(i){case"X":return yU(n);case"XXXX":case"XX":return nm(n);default:return nm(n,":")}},x:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"x":return yU(n);case"xxxx":case"xx":return nm(n);default:return nm(n,":")}},O:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+vU(n,":");default:return"GMT"+nm(n,":")}},z:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+vU(n,":");default:return"GMT"+nm(n,":")}},t:function(t,i,e){let n=Math.trunc(+t/1e3);return Vt(n,i.length)},T:function(t,i,e){return Vt(+t,i.length)}};function vU(t,i=""){let e=t>0?"-":"+",n=Math.abs(t),r=Math.trunc(n/60),o=n%60;return o===0?e+String(r):e+String(r)+i+Vt(o,2)}function yU(t,i){return t%60===0?(t>0?"-":"+")+Vt(Math.abs(t)/60,2):nm(t,i)}function nm(t,i=""){let e=t>0?"-":"+",n=Math.abs(t),r=Vt(Math.trunc(n/60),2),o=Vt(n%60,2);return e+r+i+o}var CU=(t,i)=>{switch(t){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});default:return i.date({width:"full"})}},DU=(t,i)=>{switch(t){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});default:return i.time({width:"full"})}},Tie=(t,i)=>{let e=t.match(/(P+)(p+)?/)||[],n=e[1],r=e[2];if(!r)return CU(t,i);let o;switch(n){case"P":o=i.dateTime({width:"short"});break;case"PP":o=i.dateTime({width:"medium"});break;case"PPP":o=i.dateTime({width:"long"});break;default:o=i.dateTime({width:"full"});break}return o.replace("{{date}}",CU(n,i)).replace("{{time}}",DU(r,i))},O_={p:DU,P:Tie};var Iie=/^D+$/,Aie=/^Y+$/,kie=["D","DD","YY","YYYY"];function pD(t){return Iie.test(t)}function hD(t){return Aie.test(t)}function F_(t,i,e){let n=Rie(t,i,e);if(console.warn(n),kie.includes(t))throw new RangeError(n)}function Rie(t,i,e){let n=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${i}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Mie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Nie=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Oie=/^'([^]*?)'?$/,Fie=/''/g,Pie=/[a-zA-Z]/;function $t(t,i,e){let n=wa(),r=e?.locale??n.locale??N_,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=we(t,e?.in);if(!rc(s))throw new RangeError("Invalid time value");let d=i.match(Nie).map(f=>{let b=f[0];if(b==="p"||b==="P"){let w=O_[b];return w(f,r.formatLong)}return f}).join("").match(Mie).map(f=>{if(f==="''")return{isToken:!1,value:"'"};let b=f[0];if(b==="'")return{isToken:!1,value:Lie(f)};if(A1[b])return{isToken:!0,value:f};
7995if(b.match(Pie))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:f}});r.localize.preprocessor&&(d=r.localize.preprocessor(s,d));let p={firstWeekContainsDate:o,weekStartsOn:a,locale:r};return d.map(f=>{if(!f.isToken)return f.value;let b=f.value;(!e?.useAdditionalWeekYearTokens&&hD(b)||!e?.useAdditionalDayOfYearTokens&&pD(b))&&F_(b,i,String(t));let w=A1[b[0]];return w(s,b,r.localize,p)}).join("")}function Lie(t){let i=t.match(Oie);return i?i[1].replace(Fie,"'"):t}function EU(t,i){let e=we(t,i?.in);if(isNaN(+e))throw new RangeError("Invalid time value");let n=i?.format??"extended",r=i?.representation??"complete",o="",a="",s=n==="extended"?"-":"",d=n==="extended"?":":"";if(r!=="time"){let p=Vt(e.getDate(),2),f=Vt(e.getMonth()+1,2);o=`${Vt(e.getFullYear(),4)}${s}${f}${s}${p}`}if(r!=="date"){let p=e.getTimezoneOffset();if(p!==0){let J=Math.abs(p),j=Vt(Math.trunc(J/60),2),K=Vt(J%60,2);a=`${p<0?"+":"-"}${j}:${K}`}else a="Z";let f=Vt(e.getHours(),2),b=Vt(e.getMinutes(),2),w=Vt(e.getSeconds(),2),A=o===""?"":"T",M=[f,b,w].join(d);o=`${o}${A}${M}${a}`}return o}function wU(t,i){return we(t,i?.in).getDate()}function xU(t,i){return we(t,i?.in).getDay()}function fD(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=e.getMonth(),o=Et(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function SU(){return Object.assign({},wa())}function TU(t,i){return we(t,i?.in).getHours()}function IU(t,i){let e=we(t,i?.in).getDay();return e===0?7:e}function AU(t,i){return we(t,i?.in).getMinutes()}function kU(t,i){return we(t,i?.in).getMonth()}function RU(t){return we(t).getSeconds()}function MU(t,i){return we(t,i?.in).getFullYear()}function NU(t,i){return+we(t)>+we(i)}function _d(t,i){return+we(t)<+we(i)}function OU(t,i){let e=Bie(i)?new i(0):Et(i,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e}function Bie(t){return typeof t=="function"&&t.prototype?.constructor===t}var Vie=10,gD=class{subPriority=0;validate(i,e){return!0}},_D=class extends gD{constructor(i,e,n,r,o){super(),this.value=i,this.validateValue=e,this.setValue=n,this.priority=r,o&&(this.subPriority=o)}validate(i,e){return this.validateValue(i,this.value,e)}set(i,e,n){return this.setValue(i,e,this.value,n)}},bD=class extends gD{priority=Vie;subPriority=-1;constructor(i,e){super(),this.context=i||(n=>Et(e,n))}set(i,e){return e.timestampIsSet?i:Et(i,OU(i,this.context))}};var Pe=class{run(i,e,n,r){let o=this.parse(i,e,n,r);return o?{setter:new _D(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(i,e,n){return!0}};var vD=class extends Pe{priority=140;parse(i,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"})||n.era(i,{width:"narrow"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})||n.era(i,{width:"abbreviated"})||n.era(i,{width:"narrow"})}}set(i,e,n){return e.era=n,i.setFullYear(n,0,1),i.setHours(0,0,0,0),i}incompatibleTokens=["R","u","t","T"]};var sn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ta={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Bn(t,i){return t&&{value:i(t.value),rest:t.rest}}function en(t,i){let e=i.match(t);return e?{value:parseInt(e[0],10),rest:i.slice(e[0].length)}:null}function Ia(t,i){let e=i.match(t);if(!e)return null;if(e[0]==="Z")return{value:0,rest:i.slice(1)};let n=e[1]==="+"?1:-1,r=e[2]?parseInt(e[2],10):0,o=e[3]?parseInt(e[3],10):0,a=e[5]?parseInt(e[5],10):0;return{value:n*(r*M_+o*R_+a*oU),rest:i.slice(e[0].length)}}function yD(t){return en(sn.anyDigitsSigned,t)}function kt(t,i){switch(t){case 1:return en(sn.singleDigit,i);case 2:return en(sn.twoDigits,i);case 3:return en(sn.threeDigits,i);case 4:return en(sn.fourDigits,i);default:return en(new RegExp("^\\d{1,"+t+"}"),i)}}function lh(t,i){switch(t){case 1:return en(sn.singleDigitSigned,i);case 2:return en(sn.twoDigitsSigned,i);case 3:return en(sn.threeDigitsSigned,i);case 4:return en(sn.fourDigitsSigned,i);default:return en(new RegExp("^-?\\d{1,"+t+"}"),i)}}function ch(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function CD(t,i){let e=i>0,n=e?i:1-i,r;if(n<=50)r=t||100;
vendor: 10,735 bytes, line 7995
7995else{let o=n+50,a=Math.trunc(o/100)*100,s=t>=o%100;r=t+a-(s?100:0)}return e?r:1-r}function DD(t){return t%400===0||t%4===0&&t%100!==0}var ED=class extends Pe{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(i,e,n){let r=o=>({year:o,isTwoDigitYear:e==="yy"});switch(e){case"y":return Bn(kt(4,i),r);case"yo":return Bn(n.ordinalNumber(i,{unit:"year"}),r);default:return Bn(kt(e.length,i),r)}}validate(i,e){return e.isTwoDigitYear||e.year>0}set(i,e,n){let r=i.getFullYear();if(n.isTwoDigitYear){let a=CD(n.year,r);return i.setFullYear(a,0,1),i.setHours(0,0,0,0),i}let o=!("era"in e)||e.era===1?n.year:1-n.year;return i.setFullYear(o,0,1),i.setHours(0,0,0,0),i}};var wD=class extends Pe{priority=130;parse(i,e,n){let r=o=>({year:o,isTwoDigitYear:e==="YY"});switch(e){case"Y":return Bn(kt(4,i),r);case"Yo":return Bn(n.ordinalNumber(i,{unit:"year"}),r);default:return Bn(kt(e.length,i),r)}}validate(i,e){return e.isTwoDigitYear||e.year>0}set(i,e,n,r){let o=ah(i,r);if(n.isTwoDigitYear){let s=CD(n.year,o);return i.setFullYear(s,0,r.firstWeekContainsDate),i.setHours(0,0,0,0),Ar(i,r)}let a=!("era"in e)||e.era===1?n.year:1-n.year;return i.setFullYear(a,0,r.firstWeekContainsDate),i.setHours(0,0,0,0),Ar(i,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]};var xD=class extends Pe{priority=130;parse(i,e){return e==="R"?lh(4,i):lh(e.length,i)}set(i,e,n){let r=Et(i,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),ps(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]};var SD=class extends Pe{priority=130;parse(i,e){return e==="u"?lh(4,i):lh(e.length,i)}set(i,e,n){return i.setFullYear(n,0,1),i.setHours(0,0,0,0),i}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]};var TD=class extends Pe{priority=120;parse(i,e,n){switch(e){case"Q":case"QQ":return kt(e.length,i);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"})||n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})||n.quarter(i,{width:"abbreviated",context:"formatting"})||n.quarter(i,{width:"narrow",context:"formatting"})}}validate(i,e){return e>=1&&e<=4}set(i,e,n){return i.setMonth((n-1)*3,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]};var ID=class extends Pe{priority=120;parse(i,e,n){switch(e){case"q":case"qq":return kt(e.length,i);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"})||n.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})||n.quarter(i,{width:"abbreviated",context:"standalone"})||n.quarter(i,{width:"narrow",context:"standalone"})}}validate(i,e){return e>=1&&e<=4}set(i,e,n){return i.setMonth((n-1)*3,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]};var AD=class extends Pe{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(i,e,n){let r=o=>o-1;switch(e){case"M":return Bn(en(sn.month,i),r);case"MM":return Bn(kt(2,i),r);case"Mo":return Bn(n.ordinalNumber(i,{unit:"month"}),r);case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"})||n.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})||n.month(i,{width:"abbreviated",context:"formatting"})||n.month(i,{width:"narrow",context:"formatting"})}}validate(i,e){return e>=0&&e<=11}set(i,e,n){return i.setMonth(n,1),i.setHours(0,0,0,0),i}};var kD=class extends Pe{priority=110;parse(i,e,n){let r=o=>o-1;switch(e){case"L":return Bn(en(sn.month,i),r);case"LL":return Bn(kt(2,i),r);case"Lo":return Bn(n.ordinalNumber(i,{unit:"month"}),r);case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"})||n.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})||n.month(i,{width:"abbreviated",context:"standalone"})||n.month(i,{width:"narrow",context:"standalone"})}}validate(i,e){return e>=0&&e<=11}set(i,e,n){return i.setMonth(n,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]};function FU(t,i,e){let n=we(t,e?.in),r=mD(n,e)-i;return n.setDate(n.getDate()-r*7),we(n,e?.in)}var RD=class extends Pe{priority=100;parse(i,e,n){switch(e){case"w":return en(sn.week,i);case"wo":return n.ordinalNumber(i,{unit:"week"});default:return kt(e.length,i)}}validate(i,e){return e>=1&&e<=53}set(i,e,n,r){return Ar(FU(i,n,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]};function PU(t,i,e){let n=we(t,e?.in),r=uD(n,e)-i;return n.setDate(n.getDate()-r*7),n}var MD=class extends Pe{priority=100;parse(i,e,n){switch(e){case"I":return en(sn.week,i);case"Io":return n.ordinalNumber(i,{unit:"week"});default:return kt(e.length,i)}}validate(i,e){return e>=1&&e<=53}set(i,e,n){return ps(PU(i,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]};var jie=[31,28,31,30,31,30,31,31,30,31,30,31],Hie=[31,29,31,30,31,30,31,31,30,31,30,31],ND=class extends Pe{priority=90;subPriority=1;parse(i,e,n){switch(e){case"d":return en(sn.date,i);case"do":return n.ordinalNumber(i,{unit:"date"});default:return kt(e.length,i)}}validate(i,e){let n=i.getFullYear(),r=DD(n),o=i.getMonth();return r?e>=1&&e<=Hie[o]:e>=1&&e<=jie[o]}set(i,e,n){return i.setDate(n),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]};var OD=class extends Pe{priority=90;subpriority=1;parse(i,e,n){switch(e){case"D":case"DD":return en(sn.dayOfYear,i);case"Do":return n.ordinalNumber(i,{unit:"date"});default:return kt(e.length,i)}}validate(i,e){let n=i.getFullYear();return DD(n)?e>=1&&e<=366:e>=1&&e<=365}set(i,e,n){return i.setMonth(0,n),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]};function dh(t,i,e){let n=wa(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=we(t,e?.in),a=o.getDay(),d=(i%7+7)%7,p=7-r,f=i<0||i>6?i-(a+p)%7:(d+p)%7-(a+p)%7;return sa(o,f,e)}var FD=class extends Pe{priority=90;parse(i,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"})}}validate(i,e){return e>=0&&e<=6}set(i,e,n,r){return i=dh(i,n,r),i.setHours(0,0,0,0),i}incompatibleTokens=["D","i","e","c","t","T"]};var PD=class extends Pe{priority=90;parse(i,e,n,r){let o=a=>{let s=Math.floor((a-1)/7)*7;return(a+r.weekStartsOn+6)%7+s};switch(e){case"e":case"ee":return Bn(kt(e.length,i),o);case"eo":return Bn(n.ordinalNumber(i,{unit:"day"}),o);case"eee":return n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"})}}validate(i,e){return e>=0&&e<=6}set(i,e,n,r){return i=dh(i,n,r),i.setHours(0,0,0,0),i}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]};var LD=class extends Pe{priority=90;parse(i,e,n,r){let o=a=>{let s=Math.floor((a-1)/7)*7;return(a+r.weekStartsOn+6)%7+s};switch(e){case"c":case"cc":return Bn(kt(e.length,i),o);case"co":return Bn(n.ordinalNumber(i,{unit:"day"}),o);case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"})||n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})||n.day(i,{width:"abbreviated",context:"standalone"})||n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"})}}validate(i,e){return e>=0&&e<=6}set(i,e,n,r){return i=dh(i,n,r),i.setHours(0,0,0,0),i}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]};function LU(t,i,e){let n=we(t,e?.in),r=IU(n,e),o=i-r;return sa(n,o,e)}var BD=class extends Pe{priority=90;parse(i,e,n){let r=o=>o===0?7:o;switch(e){case"i":case"ii":return kt(e.length,i);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return Bn(n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),r);case"iiiii":return Bn(n.day(i,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Bn(n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),r);default:return Bn(n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),r)}}validate(i,e){return e>=1&&e<=7}set(i,e,n){return i=LU(i,n),i.setHours(0,0,0,0),i}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]};var VD=class extends Pe{priority=80;parse(i,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,e,n){return i.setHours(ch(n),0,0,0),i}incompatibleTokens=["b","B","H","k","t","T"]};var jD=class extends Pe{priority=80;
7995parse(i,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,e,n){return i.setHours(ch(n),0,0,0),i}incompatibleTokens=["a","B","H","k","t","T"]};var HD=class extends Pe{priority=80;parse(i,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,e,n){return i.setHours(ch(n),0,0,0),i}incompatibleTokens=["a","b","t","T"]};var UD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"h":return en(sn.hour12h,i);case"ho":return n.ordinalNumber(i,{unit:"hour"});default:return kt(e.length,i)}}validate(i,e){return e>=1&&e<=12}set(i,e,n){let r=i.getHours()>=12;return r&&n<12?i.setHours(n+12,0,0,0):!r&&n===12?i.setHours(0,0,0,0):i.setHours(n,0,0,0),i}incompatibleTokens=["H","K","k","t","T"]};var zD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"H":return en(sn.hour23h,i);case"Ho":return n.ordinalNumber(i,{unit:"hour"});default:return kt(e.length,i)}}validate(i,e){return e>=0&&e<=23}set(i,e,n){return i.setHours(n,0,0,0),i}incompatibleTokens=["a","b","h","K","k","t","T"]};var GD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"K":return en(sn.hour11h,i);case"Ko":return n.ordinalNumber(i,{unit:"hour"});default:return kt(e.length,i)}}validate(i,e){return e>=0&&e<=11}set(i,e,n){return i.getHours()>=12&&n<12?i.setHours(n+12,0,0,0):i.setHours(n,0,0,0),i}incompatibleTokens=["h","H","k","t","T"]};var WD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"k":return en(sn.hour24h,i);case"ko":return n.ordinalNumber(i,{unit:"hour"});default:return kt(e.length,i)}}validate(i,e){return e>=1&&e<=24}set(i,e,n){let r=n<=24?n%24:n;return i.setHours(r,0,0,0),i}incompatibleTokens=["a","b","h","H","K","t","T"]};var $D=class extends Pe{priority=60;parse(i,e,n){switch(e){case"m":return en(sn.minute,i);case"mo":return n.ordinalNumber(i,{unit:"minute"});default:return kt(e.length,i)}}validate(i,e){return e>=0&&e<=59}set(i,e,n){return i.setMinutes(n,0,0),i}incompatibleTokens=["t","T"]};var qD=class extends Pe{priority=50;parse(i,e,n){switch(e){case"s":return en(sn.second,i);case"so":return n.ordinalNumber(i,{unit:"second"});default:return kt(e.length,i)}}validate(i,e){return e>=0&&e<=59}set(i,e,n){return i.setSeconds(n,0),i}incompatibleTokens=["t","T"]};var YD=class extends Pe{priority=30;parse(i,e){let n=r=>Math.trunc(r*Math.pow(10,-e.length+3));return Bn(kt(e.length,i),n)}set(i,e,n){return i.setMilliseconds(n),i}incompatibleTokens=["t","T"]};var KD=class extends Pe{priority=10;parse(i,e){switch(e){case"X":return Ia(Ta.basicOptionalMinutes,i);case"XX":return Ia(Ta.basic,i);case"XXXX":return Ia(Ta.basicOptionalSeconds,i);case"XXXXX":return Ia(Ta.extendedOptionalSeconds,i);default:return Ia(Ta.extended,i)}}set(i,e,n){return e.timestampIsSet?i:Et(i,i.getTime()-tm(i)-n)}incompatibleTokens=["t","T","x"]};var XD=class extends Pe{priority=10;parse(i,e){switch(e){case"x":return Ia(Ta.basicOptionalMinutes,i);case"xx":return Ia(Ta.basic,i);case"xxxx":return Ia(Ta.basicOptionalSeconds,i);case"xxxxx":return Ia(Ta.extendedOptionalSeconds,i);default:return Ia(Ta.extended,i)}}set(i,e,n){return e.timestampIsSet?i:Et(i,i.getTime()-tm(i)-n)}incompatibleTokens=["t","T","X"]};var ZD=class extends Pe{priority=40;parse(i){return yD(i)}set(i,e,n){return[Et(i,n*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"};var QD=class extends Pe{priority=20;parse(i){return yD(i)}set(i,e,n){return[Et(i,n),{timestampIsSet:!0}]}incompatibleTokens="*"};
7995var BU={G:new vD,y:new ED,Y:new wD,R:new xD,u:new SD,Q:new TD,q:new ID,M:new AD,L:new kD,w:new RD,I:new MD,d:new ND,D:new OD,E:new FD,e:new PD,c:new LD,i:new BD,a:new VD,b:new jD,B:new HD,h:new UD,H:new zD,K:new GD,k:new WD,m:new $D,s:new qD,S:new YD,X:new KD,x:new XD,t:new ZD,T:new QD};var Uie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zie=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Gie=/^'([^]*?)'?$/,Wie=/''/g,$ie=/\S/,qie=/[a-zA-Z]/;function VU(t,i,e,n){let r=()=>Et(n?.in||e,NaN),o=SU(),a=n?.locale??o.locale??N_,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,d=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(!i)return t?r():we(e,n?.in);let p={firstWeekContainsDate:s,weekStartsOn:d,locale:a},f=[new bD(n?.in,e)],b=i.match(zie).map(j=>{let K=j[0];if(K in O_){let Te=O_[K];return Te(j,a.formatLong)}return j}).join("").match(Uie),w=[];for(let j of b){!n?.useAdditionalWeekYearTokens&&hD(j)&&F_(j,i,t),!n?.useAdditionalDayOfYearTokens&&pD(j)&&F_(j,i,t);let K=j[0],Te=BU[K];if(Te){let{incompatibleTokens:tn}=Te;if(Array.isArray(tn)){let Oi=w.find(wc=>tn.includes(wc.token)||wc.token===K);if(Oi)throw new RangeError(`The format string mustn't contain \`${Oi.fullToken}\` and \`${j}\` at the same time`)}else if(Te.incompatibleTokens==="*"&&w.length>0)throw new RangeError(`The format string mustn't contain \`${j}\` and any other token at the same time`);w.push({token:K,fullToken:j});let jt=Te.run(t,j,a.match,p);if(!jt)return r();f.push(jt.setter),t=jt.rest}else{if(K.match(qie))throw new RangeError("Format string contains an unescaped latin alphabet character `"+K+"`");if(j==="''"?j="'":K==="'"&&(j=Yie(j)),t.indexOf(j)===0)t=t.slice(j.length);else return r()}}if(t.length>0&&$ie.test(t))return r();let A=f.map(j=>j.priority).sort((j,K)=>K-j).filter((j,K,Te)=>Te.indexOf(j)===K).map(j=>f.filter(K=>K.priority===j).sort((K,Te)=>Te.subPriority-K.subPriority)).map(j=>j[0]),M=we(e,n?.in);if(isNaN(+M))return r();let J={};for(let j of A){if(!j.validate(M,p))return r();let K=j.set(M,J,p);Array.isArray(K)?(M=K[0],Object.assign(J,K[1])):M=K}return M}function Yie(t){return t.match(Gie)[1].replace(Wie,"'")}function jU(t,i,e){let[n,r]=oh(e?.in,t,i);return+Ar(n,e)==+Ar(r,e)}function HU(t,i,e){return sa(t,-i,e)}function L_(t,i){let e=()=>Et(i?.in,NaN),n=i?.additionalDigits??2,r=Qie(t),o;if(r.date){let p=Jie(r.date,n);o=ere(p.restDateString,p.year)}if(!o||isNaN(+o))return e();let a=+o,s=0,d;if(r.time&&(s=tre(r.time),isNaN(s)))return e();if(r.timezone){if(d=nre(r.timezone),isNaN(d))return e()}else{let p=new Date(a+s),f=we(0,i?.in);return f.setFullYear(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate()),f.setHours(p.getUTCHours(),p.getUTCMinutes(),p.getUTCSeconds(),p.getUTCMilliseconds()),f}return we(a+s+d,i?.in)}var JD={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Kie=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Xie=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Zie=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Qie(t){let i={},e=t.split(JD.dateTimeDelimiter),n;if(e.length>2)return i;if(/:/.test(e[0])?n=e[0]:(i.date=e[0],n=e[1],JD.timeZoneDelimiter.test(i.date)&&(i.date=t.split(JD.timeZoneDelimiter)[0],n=t.substr(i.date.length,t.length))),n){let r=JD.timezone.exec(n);r?(i.time=n.replace(r[1],""),i.timezone=r[1]):i.time=n}return i}function Jie(t,i){let e=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),n=t.match(e);if(!n)return{year:NaN,restDateString:""};let r=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:o===null?r:o*100,restDateString:t.slice((n[1]||n[2]).length)}}function ere(t,i){if(i===null)return new Date(NaN);let e=t.match(Kie);if(!e)return new Date(NaN);let n=!!e[4],r=P_(e[1]),o=P_(e[2])-1,a=P_(e[3]),s=P_(e[4]),d=P_(e[5])-1;if(n)return sre(i,s,d)?ire(i,s,d):new Date(NaN);{let p=new Date(0);return!ore(i,o,a)||!are(i,r)?new Date(NaN):(p.setUTCFullYear(i,o,Math.max(r,a)),p)}}function P_(t){return t?parseInt(t):1}function tre(t){let i=t.match(Xie);if(!i)return NaN;let e=k1(i[1]),n=k1(i[2]),r=k1(i[3]);return lre(e,n,r)?e*M_+n*R_+r*1e3:NaN}function k1(t){return t&&parseFloat(t.replace(",","."))||0}function nre(t){if(t==="Z")return 0;let i=t.match(Zie);if(!i)return 0;let e=i[1]==="+"?-1:1,n=parseInt(i[2]),r=i[3]&&parseInt(i[3])||0;return cre(n,r)?e*(n*M_+r*R_):NaN}function ire(t,i,e){let n=new Date(0);n.setUTCFullYear(t,0,4);let r=n.getUTCDay()||7,o=(i-1)*7+e+1-r;return n.setUTCDate(n.getUTCDate()+o),n}var rre=[31,null,31,30,31,30,31,31,30,31,30,31];function UU(t){return t%400===0||t%4===0&&t%100!==0}function ore(t,i,e){return i>=0&&i<=11&&e>=1&&e<=(rre[i]||(UU(t)?29:28))}function are(t,i){return i>=1&&i<=(UU(t)?366:365)}function sre(t,i,e){return i>=1&&i<=53&&e>=0&&e<=6}function lre(t,i,e){return t===24?i===0&&e===0:e>=0&&e<60&&i>=0&&i<60&&t>=0&&t<25}function cre(t,i){return i>=0&&i<=59}function zU(t,i,e){let n=we(t,e?.in),r=n.getFullYear(),o=n.getDate(),a=Et(e?.in||t,0);a.setFullYear(r,i,15),a.setHours(0,0,0,0);let s=fD(a);return n.setMonth(i,Math.min(o,s)),n}function GU(t,i,e){let n=we(t,e?.in);return isNaN(+n)?Et(e?.in||t,NaN):(i.year!=null&&n.setFullYear(i.year),i.month!=null&&(n=zU(n,i.month)),i.date!=null&&n.setDate(i.date),i.hours!=null&&n.setHours(i.hours),i.minutes!=null&&n.setMinutes(i.minutes),i.seconds!=null&&n.setSeconds(i.seconds),i.milliseconds!=null&&n.setMilliseconds(i.milliseconds),n)}function R1(t,i,e){return rh(t,-i,e)}function M1(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var dre={long:"LLLL",short:"LLL",narrow:"LLLLL"},ure={long:"EEEE",short:"EEE",narrow:"EEEEE"},mre=(()=>{class t extends rr{constructor(){super();let e=m(Ku,{optional:!0});this.setLocale(e)}getYear(e){return MU(e)}getMonth(e){return kU(e)}getDate(e){return wU(e)}getDayOfWeek(e){return xU(e)}getMonthNames(e){let n=dre[e];return M1(12,r=>this.format(new Date(2017,r,1),n))}getDateNames(){let e=typeof Intl<"u"?new Intl.DateTimeFormat(this.locale.code,{day:"numeric",timeZone:"utc"}):null;return M1(31,n=>{if(e){let r=new Date;return r.setUTCFullYear(2017,0,n+1),r.setUTCHours(0,0,0,0),e.format(r).replace(/[\u200e\u200f]/g,"")}return n+""})}getDayOfWeekNames(e){let n=ure[e];return M1(7,r=>this.format(new Date(2017,0,r+1),n))}getYearName(e){return this.format(e,"y")}getFirstDayOfWeek(){return this.locale.options?.weekStartsOn??0}getNumDaysInMonth(e){return fD(e)}clone(e){return new Date(e.getTime())}createDate(e,n,r){let o=new Date;return o.setFullYear(e,n,r),o.setHours(0,0,0,0),o.getMonth()!=n,o}today(){return new Date}parse(e,n){return this._parse(e,n)}format(e,n){if(!this.isValid(e))throw Error("DateFnsAdapter: Cannot format invalid date.");return $t(e,n,{locale:this.locale})}addCalendarYears(e,n){return sD(e,n)}addCalendarMonths(e,n){return rh(e,n)}addCalendarDays(e,n){return sa(e,n)}toIso8601(e){return EU(e,{representation:"date"})}deserialize(e){if(typeof e=="string"){if(!e)return null;let n=L_(e);if(this.isValid(n))return n}return super.deserialize(e)}isDateInstance(e){return cD(e)}isValid(e){return rc(e)}invalid(){return new Date(NaN)}setTime(e,n,r,o){return GU(this.clone(e),{hours:n,minutes:r,seconds:o,milliseconds:0})}getHours(e){return TU(e)}getMinutes(e){return AU(e)}getSeconds(e){return RU(e)}parseTime(e,n){return this._parse(e,n,!1)}addSeconds(e,n){return dU(e,n)}
7995_parse(e,n,r=!0){if(typeof e=="string"&&e.length>0){if(r){let a=L_(e);if(this.isValid(a))return a}let o=Array.isArray(n)?n:[n];if(!n.length)throw Error("Formats array must not be empty.");for(let a of o){let s=VU(e,a,new Date,{locale:this.locale});if(this.isValid(s))return s}return this.invalid()}else{if(typeof e=="number")return new Date(e);if(e instanceof Date)return this.clone(e)}return null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),pre={parse:{dateInput:"P",timeInput:"p"},display:{dateInput:"P",timeInput:"p",monthYearLabel:"LLL uuuu",dateA11yLabel:"PP",monthYearA11yLabel:"LLLL uuuu",timeOptionLabel:"p"}};var N1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=Y({providers:[O1()]})}return t})();function O1(t=pre){return[{provide:rr,useClass:mre},{provide:Ks,useValue:t}]}var hre={lessThanXSeconds:{one:{regular:"mniej ni\u017C sekunda",past:"mniej ni\u017C sekund\u0119",future:"mniej ni\u017C sekund\u0119"},twoFour:"mniej ni\u017C {{count}} sekundy",other:"mniej ni\u017C {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekund\u0119",future:"sekund\u0119"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"p\xF3\u0142 minuty",twoFour:"p\xF3\u0142 minuty",other:"p\xF3\u0142 minuty"},lessThanXMinutes:{one:{regular:"mniej ni\u017C minuta",past:"mniej ni\u017C minut\u0119",future:"mniej ni\u017C minut\u0119"},twoFour:"mniej ni\u017C {{count}} minuty",other:"mniej ni\u017C {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minut\u0119",future:"minut\u0119"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"oko\u0142o godziny",past:"oko\u0142o godziny",future:"oko\u0142o godzin\u0119"},twoFour:"oko\u0142o {{count}} godziny",other:"oko\u0142o {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzin\u0119",future:"godzin\u0119"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzie\u0144",past:"dzie\u0144",future:"1 dzie\u0144"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"oko\u0142o tygodnia",twoFour:"oko\u0142o {{count}} tygodni",other:"oko\u0142o {{count}} tygodni"},xWeeks:{one:"tydzie\u0144",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"oko\u0142o miesi\u0105c",twoFour:"oko\u0142o {{count}} miesi\u0105ce",other:"oko\u0142o {{count}} miesi\u0119cy"},xMonths:{one:"miesi\u0105c",twoFour:"{{count}} miesi\u0105ce",other:"{{count}} miesi\u0119cy"},aboutXYears:{one:"oko\u0142o rok",twoFour:"oko\u0142o {{count}} lata",other:"oko\u0142o {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function fre(t,i){if(i===1)return t.one;let e=i%100;if(e<=20&&e>10)return t.other;let n=e%10;return n>=2&&n<=4?t.twoFour:t.other}function F1(t,i,e){let n=fre(t,i);return(typeof n=="string"?n:n[e]).replace("{{count}}",String(i))}var WU=(t,i,e)=>{let n=hre[t];return e?.addSuffix?e.comparison&&e.comparison>0?"za "+F1(n,i,"future"):F1(n,i,"past")+" temu":F1(n,i,"regular")};var gre={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},_re={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},bre={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$U={date:gd({formats:gre,defaultWidth:"full"}),time:gd({formats:_re,defaultWidth:"full"}),dateTime:gd({formats:bre,defaultWidth:"full"})};var vre={masculine:"ostatni",feminine:"ostatnia"},yre={masculine:"ten",feminine:"ta"},Cre={masculine:"nast\u0119pny",feminine:"nast\u0119pna"},Dre={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function qU(t,i,e,n){let r;if(jU(i,e,n))r=yre;else if(t==="lastWeek")r=vre;else if(t==="nextWeek")r=Cre;else throw new Error(`Cannot determine adjectives for token ${t}`);let o=i.getDay(),a=Dre[o];return`'${r[a]}' eeee 'o' p`}var Ere={lastWeek:qU,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:qU,other:"P"},YU=(t,i,e,n)=>{let r=Ere[t];return typeof r=="function"?r(t,i,e,n):r};var wre={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed nasz\u0105 er\u0105","naszej ery"]},xre={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwarta\u0142","II kwarta\u0142","III kwarta\u0142","IV kwarta\u0142"]},Sre={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],wide:["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017Adziernik","listopad","grudzie\u0144"]},Tre={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrze\u015Bnia","pa\u017Adziernika","listopada","grudnia"]},Ire={narrow:["N","P","W","\u015A","C","P","S"],short:["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"],abbreviated:["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],wide:["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"]}
7995,Are={narrow:["n","p","w","\u015B","c","p","s"],short:["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"],abbreviated:["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],wide:["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"]},kre={narrow:{am:"a",pm:"p",midnight:"p\xF3\u0142n.",noon:"po\u0142",morning:"rano",afternoon:"popo\u0142.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"p\xF3\u0142noc",noon:"po\u0142udnie",morning:"rano",afternoon:"popo\u0142udnie",evening:"wiecz\xF3r",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"p\xF3\u0142noc",noon:"po\u0142udnie",morning:"rano",afternoon:"popo\u0142udnie",evening:"wiecz\xF3r",night:"noc"}},Rre={narrow:{am:"a",pm:"p",midnight:"o p\xF3\u0142n.",noon:"w po\u0142.",morning:"rano",afternoon:"po po\u0142.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o p\xF3\u0142nocy",noon:"w po\u0142udnie",morning:"rano",afternoon:"po po\u0142udniu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o p\xF3\u0142nocy",noon:"w po\u0142udnie",morning:"rano",afternoon:"po po\u0142udniu",evening:"wieczorem",night:"w nocy"}},Mre=(t,i)=>String(t),KU={ordinalNumber:Mre,era:xa({values:wre,defaultWidth:"wide"}),quarter:xa({values:xre,defaultWidth:"wide",argumentCallback:t=>t-1}),month:xa({values:Sre,defaultWidth:"wide",formattingValues:Tre,defaultFormattingWidth:"wide"}),day:xa({values:Ire,defaultWidth:"wide",formattingValues:Are,defaultFormattingWidth:"wide"}),dayPeriod:xa({values:kre,defaultWidth:"wide",formattingValues:Rre,defaultFormattingWidth:"wide"})};var Nre=/^(\d+)?/i,Ore=/\d+/i,Fre={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(Ä
|a)\s*er(Ä
|a)|naszej\s*ery)/i},Pre={any:[/^p/i,/^n/i]},Lre={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(Å|l)/i},Bre={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},Vre={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(Å|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(Å|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(Å|n)|wrze(Å|s)nia|wrzesie(Å|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(Å|n))/i},jre={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},Hre={narrow:/^[npwÅcs]/i,short:/^(nie|pon|wto|(Å|s)ro|czw|pi(Ä
|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(Å|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(Å|l)ek|wtorek|(Å|s)roda|czwartek|pi(Ä
|a)tek|sobota)/i}
7995,Ure={narrow:[/^n/i,/^p/i,/^w/i,/^Å/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(Å|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(Å|s)r/i,/^c/i,/^pi/i,/^so/i]},zre={narrow:/^(^a$|^p$|pó(Å|l)n\.?|o\s*pó(Å|l)n\.?|po(Å|l)\.?|w\s*po(Å|l)\.?|po\s*po(Å|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(Å|l)noc|o\s*pó(Å|l)nocy|po(Å|l)udnie|w\s*po(Å|l)udnie|popo(Å|l)udnie|po\s*po(Å|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},Gre={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(Å|l)n/i,noon:/po(Å|l)/i,morning:/rano/i,afternoon:/po\s*po(Å|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(Å|l)n/i,noon:/po(Å|l)/i,morning:/rano/i,afternoon:/po\s*po(Å|l)/i,evening:/wiecz/i,night:/noc/i}},XU={ordinalNumber:dD({matchPattern:Nre,parsePattern:Ore,valueCallback:t=>parseInt(t,10)}),era:Sa({matchPatterns:Fre,defaultMatchWidth:"wide",parsePatterns:Pre,defaultParseWidth:"any"}),quarter:Sa({matchPatterns:Lre,defaultMatchWidth:"wide",parsePatterns:Bre,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Sa({matchPatterns:Vre,defaultMatchWidth:"wide",parsePatterns:jre,defaultParseWidth:"any"}),day:Sa({matchPatterns:Hre,defaultMatchWidth:"wide",parsePatterns:Ure,defaultParseWidth:"any"}),dayPeriod:Sa({matchPatterns:zre,defaultMatchWidth:"any",parsePatterns:Gre,defaultParseWidth:"any"})};var ZU={code:"pl",formatDistance:WU,formatLong:$U,formatRelative:YU,localize:KU,match:XU,options:{weekStartsOn:1,firstWeekContainsDate:4}};var Wre=(t,i,e)=>{if(e===0||i===0)return`0 / ${e}`;e=Math.max(e,0);let n=t*i,r=n<e?Math.min(n+i,e):n+i;return`${n+1} - ${r} / ${e}`},QU=(()=>{class t extends I_{constructor(){super(),this.itemsPerPageLabel="Elementy na stron\u0119",this.nextPageLabel="Nast\u0119pna strona",this.previousPageLabel="Poprzednia strona",this.firstPageLabel="Pierwsza strona",this.lastPageLabel="Ostatnia strona",this.getRangeLabel=Wre}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var JU=class extends Error{constructor(){super("Can't find MAT ROW element")}},ez=class extends Error{constructor(){super("Nie mo\u017Cna pobra\u0107 paczki")}},eE=class extends Error{constructor(i){super(`Wrong file format ${i}`)}},tz=class extends Error{constructor(){super("Can't choose a component")}};var Aa=class extends Error{constructor(i){super(`${i} is undefined`)}},tE=class extends Error{constructor(i){super(`Invalid Date: ${i}`)}},nz=class extends Error{constructor(i){super(`Can't find dialog for ${i}`)}};var iz=class extends Error{constructor(){super("CoreModule is already loaded. Import it in the AppModule only")}};var im=class extends Error{constructor(i,e){super(`Illegal ${i} argument: ${e}`)}};var je="yyyy-MM-dd",Btt="yyyy-MM-dd HH:mm",hs="yyyy-MM-dd HH:mm:ss";function cl(t){if(t==null)return null;if(t instanceof Date)return rc(t)?t:null;if(typeof t=="number"){let i=new Date(t);return rc(i)?i:null}if(typeof t=="string"){if(!t.trim())return null;let i=L_(t);if(rc(i))return i;let e=new Date(t);return rc(e)?e:null}return null}function $re(t){let i=cl(t);if(!i)throw new tE(t);return i}var wn=class{static keepMinDate(i,e){let n=cl(i.value),r=cl(e);n&&r&&_d(n,r)&&i.setValue(e,{emitEvent:!1})}static getTodayStartOfDay(){return kn(new Date)}static isDate(i){return cl(i)!==null}static getTodayWithTime(i=hs){return $t(new Date,i)}static formatDate(i,e=je){return $t($re(i),e)}static formatDateNoError(i,e=je){let n=cl(i);return n?$t(n,e):"Invalid Date"}static isAfter(i,e){let n=cl(i),r=cl(e);return!n||!r?!1:NU(kn(n),kn(r))}static isBeforeToday(i){let e=cl(i);return e?_d(kn(e),kn(new Date)):!1}static isSameOrAfter(i,e){let n=cl(i),r=cl(e);return!n||!r?!1:!_d(kn(n),kn(r))}};var qre={parse:{dateInput:je},display:{dateInput:je,monthLabel:"MMMM",monthYearLabel:"yyyy MMM",dateA11yLabel:"PPP",monthYearA11yLabel:"yyyy MMMM"}},Yre=[N1,zr,rk,d_,u_,qA,f_,Ek,Sk,_o,Rk,Mk,v_,Fk,Yk,Xu,E_,Qk,e1,w_,us,i1,a1,Vk,l1,d1,Ju,ik,Hi,Qu,h1,g1,f1,y1,A_,k_,w1,x1,T_,S1,Ui,pr,od],P1=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({providers:[{provide:Ku,useValue:ZU},O1(qre),{provide:I_,useClass:QU}],imports:[Yre,N1,zr,rk,d_,u_,qA,f_,Ek,Sk,_o,Rk,Mk,v_,Fk,Yk,Xu,E_,Qk,e1,w_,us,i1,a1,Vk,l1,d1,Ju,ik,Hi,Qu,h1,g1,f1,y1,A_,k_,w1,x1,T_,S1,Ui,pr,od]})}}return t})();var tt=(function(t){return t.REFRESH="Od\u015Bwie\u017C",t.DOWNLOAD="Pobierz",t.CONFIRM="Potwierd\u017A",t.SAVE="Zapisz",t.SAVE_ADD_NEXT="Zapisz i dodaj nast\u0119pny",t.LOGIN="Zaloguj",t.IMPORT="Wybierz plik do importu",t.IMPORT_DISPOSITIONS="Importuj",t.EXECUTE="Wykonaj",t.CHOOSE="Wybierz",t.CLOSE="Zamknij",t.CLEAR="Wyczy\u015B\u0107",t.CANCEL="Anuluj",t.OK="Ok",t.YES="Tak",t.NO="Nie",t.OPEN="Otw\xF3rz",t.ACCEPT="Akceptuj",t.BACK="Powr\xF3t",t})(tt||{});var ze=(function(t){return t.ERROR="B\u0142\u0105d",t.NO_PERMISSION="Brak uprawnie\u0144 do strony",t.NO_PERMISSIONS="Brak uprawnien",t.NO_LIMITS="Brak limit\xF3w do wy\u015Bwietlenia",t.PERMISSION_CHECKING_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas sprawdzania uprawnie\u0144",t.CONTRACTOR_CREATING_SUCCESS="Utworzono kontrahenta",t.CONTRACTOR_UPDATING_SUCCESS="Zaktualizowano dane kontrahenta",t.CONTRACTOR_CREATING_UPDATING_SUCCESS="Utworzono / Zaktualizowano dane kontrahenta",t.CONTRACTOR_CREATING_ERROR="B\u0142\u0105d podczas tworzenia kontrahenta",t.CONTRACTOR_CREATING_EXIST_ERROR="Istnieje ju\u017C kontrahent o takiej samej nazwie skr\xF3conej",t.CONTRACTOR_UPDATING_ERROR="B\u0142\u0105d podczas uaktualniania kontrahenta",t.CONTRACTOR_REMOVE_SUCCESS="Usuni\u0119to kontrahenta",t.CONTRACTOR_GROUP_SUCCESS="Pobrano grupy kontrahent\xF3w",t.CONTRACTOR_GROUP_ERROR="B\u0142\u0105d podczas pobierania grup kontrahent\xF3w",t.CONTRACTOR_GROUP_CHANGE_ERROR="B\u0142\u0105d podczas zapisu zmiany grupy",t.REFRESH="Zaktualizowano dane",t.REFRESH_WHITE_LIST_SUCCESS="Zaktualizowano stan weryfikacji vat dla wskazanych obiekt\xF3w",t.REFRESH_WHITE_LIST_ERROR="Nie uda\u0142o si\u0119 zaaktualizowa\u0107 stanu weryfikacji vat dla wskazanych obiekt\xF3w",t.NO_RECORDS_FOUND="Brak pasuj\u0105cych rekord\xF3w",t.FETCHING_DATA_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas pobierania danych",t.DATA_DOWNLOADING="Trwa pobieranie danych ...",t.SAVING_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisu",t.SAVING_SUCCESS="Zapisano pomy\u015Blnie",t.DELET
7995E_SUCCESS="Usuni\u0119to pomy\u015Blnie",t.DELETE_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas usuwania",t.CONFIRMED="Potwierdzono",t.EXECUTION_STARTED="Rozpocz\u0119to realizacj\u0119",t.QUICK_EXECUTION_STARTED="Rozpocz\u0119to szybk\u0105 realizacj\u0119",t.SUCCESS="Sukces",t.EDITING_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas edycji",t.SELECT_ACCOUNT="Wybierz konto do przesuni\u0119cia",t.SAVING_PROGRESS="Trwa zapisywanie zmian ...",t.ADD_TRANSFER_SUCCESS="Przelew zosta\u0142 dodany",t.ADD_TRANSFER_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d podczas dodawania przelewu",t.IBAN_CHECK_ERROR="B\u0142\u0105d komunikacji z serwerem - numer IBAN rachunku nie zosta\u0142 pobrany",t.IMPORT_VALID_ERROR="Brak poprawnych rekord\xF3w do zaimportowania",t.NO_DETAILS_FOR_SELECTED_EXECUTION="Brak szczeg\xF3\u0142\xF3w wybranej realizacji",t.AUTHORIZATION_SUCCESS="Pomy\u015Blnie zalogowano",t.AUTHORIZATION_ERROR="B\u0142\u0105d podczas logowania",t.NO_HOLDS="Brak blokad na karcie",t.NO_HOLDS_ACCOUNT="Brak blokad na rachunku",t.CHANGE_PASSWORD_SUCCESS="Has\u0142o zosta\u0142o zmienione",t.FORM_ERROR="Popraw formularz",t.SAVING_CARD_SUCCESS="Zmiana limit\xF3w karty wykonana pomy\u015Blnie",t.WRONG_BUNDLE="Niepoprawne paczki - niepoprawne dane do edycji",t.CONNECTED_TO_SIGNATURE_APP="Uruchamianie okna aplikacji do podpis\xF3w. Prosz\u0119 czeka\u0107",t.INCORRECT_FORM_DATA="Niepoprawne dane",t.REALIZATION_SUCCESS="Zrealizowano pomy\u015Blnie",t.REALIZATION_ERROR="B\u0142\u0105d podczas realizacji",t.SIGNING_SUCCESS="Przekazano do podpisu",t.SIGNING_ERROR="B\u0142\u0105d podczas przekazywania do podpisu",t.NO_SUCH_CONTRACTOR_TITLE="Nie ma takiego kontrahenta",t.NO_SUCH_CONTRACTOR_MESSAGE="Podany rachunek nie nale\u017Cy do \u017Cadnego kontrahenta. Czy chcesz go doda\u0107?",t.LACK_AUTH_METHOD="Login nie posiada odpowiedniej metody autoryzacji! W celu zmiany skontaktuj si\u0119 z obs\u0142ug\u0105 banku",t.TARGET_ACCOUNT_SAME_AS_BUNDLE_SOURCE_ACCOUNT_WARNING="Rachunek odbiorcy w dyspozycji nie mo\u017Ce by\u0107 taki sam jak rachunek obci\u0105\u017Cany paczki docelowej",t.EXTERNAL_TRANSFER_FOREIGN_SOURCE_ACCOUNT_WARNING="Przelew na rachunek zewn\u0119trzny mo\u017Ce by\u0107 wykonany tylko z rachunku w walucie PLN. Nie mo\u017Cna przenie\u015B\u0107 dyspozycji do paczki z rachunkiem obci\u0105\u017Canym w walucie obcej.",t.STANDING_ORDERS_WRONG_DATE_ERROR="Data wykonania nie mo\u017Ce by\u0107 z przesz\u0142o\u015Bci",t.CHANGE_IP_ADDRESSES_SUCCESS="Zmiana dozwolonych IP wykonana poprawnie",t.UNAVAILABLE_ACTION="Akcja niedost\u0119pna",t.MAJOR_ERROR_OCCURED="Wyst\u0105pi\u0142 powa\u017Cny b\u0142\u0105d!",t.ERROR_OCCURED="Wyst\u0105pi\u0142 nieznany b\u0142\u0105d!",t.CANNOT_PERFORM_OPERATION="Operacja nie mo\u017Ce zosta\u0107 zrealizowana!",t.AUTO_LOGOUT_SUCCESSFUL="Nast\u0105pi\u0142o automatyczne wylogowanie",t.STARTING_DOWNLOAD="Rozpocz\u0119to pobieranie",t.DOWNLOAD_SUCCESSFUL="Pobrano pomy\u015Blnie",t.FILE_NOT_FOUND="Nie znaleziono pliku",t.EXCHANGE_RATE_INFO="Podany kurs ma charakter szacunkowy. Zlecenie zostanie zrealizowane zgodnie z tabel\u0105 kurs\xF3w obowi\u0105zuj\u0105c\u0105 w momencie wykonania przelewu przez bank",t.LOAD_FILE="Wczytywanie pliku",t.DEFAULT_REQUEST_PROCESSING="Przetwarzanie \u017C\u0105dania",t.WHITE_LIST_CHECK="Sprawdzanie w wykazie podatnik\xF3w VAT",t.UPLOADED_FILE_TOO_LARGE="Maksymalny rozmiar pliku 5MB",t.TOO_LONG_REQUEST_MT940="Wybrano zbyt du\u017Co wyci\u0105g\xF3w. Spr\xF3buj zmniejszy\u0107 zakres.",t})(ze||{});var L1="Wybierz ponownie plik z dysku",B1="Wybierz plik z dysku",V1="Brak ",nE="Uwaga! Numer rachunku odbiorcy zosta\u0142 wklejony. Prosimy o jego weryfikacj\u0119";var rz="60000002026";var Ont={accountId:"",ownerShortName:"Wszystkie"},ue=class t{static{this.polishAcceptableLettersAndCharsPattern=/^[A-Za-z0-9!#$%&â'"()\[\]*+,./:;=?@^_`ÃóÄÄ
ÄÄÄÄÅÅÅÅÅÅŹźŻż -]*$/}static{this.vatTitleAllowedChar=/[A-Za-z0-9!#$%&()â'"*+,./:;=?@^_`ÃóÄÄ
ÄÄÄÄÅÅÅÅÅÅŹźŻż -]/}static{this.vatTitleAcceptableCharsPattern=new RegExp(`^${t.vatTitleAllowedChar.source}*$`)}static{this.ibanPattern=/^[A-Z0-9\s]*$/}static{this.namePattern=t.polishAcceptableLettersAndCharsPattern}static{this.swiftPattern=/^(?!-)[a-zA-Z0-9/\-?:.,'+ \n\r]*$/}static{this.addressPattern=t.polishAcceptableLettersAndCharsPattern}static{this.titlePattern=t.polishAcceptableLettersAndCharsPattern}static{this.onlyNumbersPattern=/-?\d*\.?\d{1,2}/}static{this.bracketErrorData=/\[.+?]/g}static{this.numbersCommaDotPattern=/[^0-9.,-]*/g}static{this.dayPattern=/^(0?[1-9]|[12]\d|3[01])$/}static{this.monthPattern=/^(0?[1-9]|1[012])$/}static{this.decadePattern=/^(0?[123])$/}static{this.quarterPattern=/^(0?[1234])$/}static{this.halfYearPattern=/^(0?[12])$/}static prepareString(i){return i=i?.trim(),i===""?null:i}
7995static removeWhitespaces(i){return i?i.replace(/[\s]+/g,""):""}static trimToLength(i,e){return i.substr(0,e)}static removeTrashBracketDataFromError(i){return i.replace(this.bracketErrorData,"").trim()}static isEmpty(i){return i==null||typeof i=="string"&&i.trim()===""?!0:typeof i=="number"&&i===0}static replaceDoubleQuotesInName(i){i.forEach(e=>this.replaceDoubleQuotes(e))}static replaceDoubleQuotes(i){if(i.value?.includes('"')){let e=i.value.replace(/"/g,"'");i.setValue(e,{emitEvent:!1})}}static getInvalidCharacters(i){let e=i.requiredPattern.slice(1,-1),n=i.actualValue,r=new RegExp(e),o=new Set;for(let a of n)r.test(a)||o.add(a);return Array.from(o).join(" ")}};var iE=class{constructor(i,e){this.component=i,this.data=e}};var j1=(()=>{class t{transform(e){let n=Kre[e];return n||"Formularz"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"inputErrorName",type:t,pure:!0,standalone:!1})}}return t})(),Kre={rachunekOdbiorcy:"Rachunek odbiorcy",rach:"Rachunek odbiorcy",rachunekUs:"Rachunek odbiorcy",sorbnet:"Rachunek odbiorcy",przelew:"Rachunek odbiorcy",rachunek:"Rachunek obci\u0105\u017Cany",rachunekObciazany:"Rachunek obci\u0105\u017Cany",rachunekProwizji:"Rachunek prowizji",bic:"BIC",bankData:"BIC",bank1:"Nazwa banku",bank2:"Nazwa banku",bank3:"Adres banku",bank4:"Adres banku",kwota:"Kwota",nazwaSkrot:"Nazwa",nip:"Nip",regon:"Regon",pesel:"Pesel",dataOstatecznejRealizacji:"Data ostatecznej realizacji",sfp:"Symbol formularza p\u0142atno\u015Bci",okresTyp:"Okres rozliczeniowy",okresRok:"Okres rozliczeniowy",okresNumer:"Okres rozliczeniowy",idZobowiazania:"Identyfikator zobowi\u0105zania",identyfikator:"Identyfikator zobowi\u0105zania",typIdentyfikatora:"Typ identyfikatora",dataWykonania:"Data wykonania",nazwaOdbiorcy1:"Nazwa odbiorcy"};function Zre(t,i){if(t&1&&(u(0,"div")(1,"p")(2,"strong"),h(3),be(4,"inputErrorName"),c(),h(5),c()()),t&2){let e=i.$implicit;l(3),se("",Fe(4,2,e.inputName),": "),l(2),se("",e.errorMessage," ")}}var H1=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-disable-input-error"]],inputs:{data:"data"},standalone:!1,decls:3,vars:0,template:function(n,r){n&1&&(u(0,"div"),He(1,Zre,6,4,"div",null,at),c()),n&2&&(l(),Ue(r.data))},dependencies:[j1],encapsulation:2})}}return t})();var B_=(()=>{class t{constructor(e){this.viewContainerRef=e}static{this.\u0275fac=function(n){return new(n||t)(E(Pt))}}static{this.\u0275dir=N({type:t,selectors:[["","appDynamicContainer",""]],standalone:!1})}}return t})();var ac=(()=>{class t{constructor(e,n,r,o){this.matButton=e,this.componentFactoryResolver=n,this.viewContainerRef=r,this.renderer=o,this.loading=!1,this.disabled=!1,this.color="primary",this.spinner=null,this.spinnerFactory=this.componentFactoryResolver.resolveComponentFactory(nh)}ngOnChanges(e){e.loading&&(e.loading.currentValue?(this.matButton._elementRef.nativeElement.classList.add("mat-loading"),this.matButton.disabled=!0,this.createSpinner()):e.loading.firstChange||(this.matButton._elementRef.nativeElement.classList.remove("mat-loading"),this.matButton.disabled=this.disabled,this.destroySpinner()))}createSpinner(){if(!this.spinner){this.spinner=this.viewContainerRef.createComponent(this.spinnerFactory);let e=this.spinner.instance;e.color=this.color,e.diameter=25,e.strokeWidth=5,e.mode="indeterminate",this.renderer.appendChild(this.matButton._elementRef.nativeElement,e._elementRef.nativeElement)}}destroySpinner(){this.spinner&&(this.spinner.destroy(),this.spinner=null)}static{this.\u0275fac=function(n){return new(n||t)(E(Yn),E(Bl),E(Pt),E(ot))}}static{this.\u0275dir=N({type:t,selectors:[["button","mat-button","","loading",""],["button","mat-raised-button","","loading",""],["button","mat-icon-button","","loading",""],["button","mat-fab","","loading",""],["button","mat-mini-fab","","loading",""],["button","mat-stroked-button","","loading",""],["button","mat-flat-button","","loading",""]],inputs:{loading:"loading",disabled:"disabled",color:"color"},standalone:!1,features:[Ke]})}}return t})();var Jre=["*"];function eoe(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),S(e.icon)}}var bi=(()=>{class t{constructor(){this.disabled=!1,this.loading=!1,this.clickAction=new V}click(){this.clickAction.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-button"]],inputs:{disabled:"disabled",loading:"loading",icon:"icon"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:Jre,decls:3,vars:3,consts:[["mat-raised-button","",3,"click","disabled","loading"],[1,"icon-margin-right"]],template:function(n,r){n&1&&(Ie(),u(0,"button",0),T("click",function(){return r.click()}),v(1,eoe,2,1,"mat-icon",1),re(2),c()),n&2&&(g("disabled",r.disabled)("loading",r.loading),l(
7995),y(r.icon?1:-1))},dependencies:[Yn,Gn,ac],styles:[".icon-margin-right[_ngcontent-%COMP%]{margin-right:.2rem}"]})}}return t})();function toe(t,i){}var U1=(()=>{class t{constructor(e,n,r){this.snackBarRef=e,this.data=n,this.componentFactoryResolver=r}ngAfterViewInit(){this.createDynamicComponent()}createDynamicComponent(){if(!this.appDynamicContainer)return;let e=this.data.component,n=this.componentFactoryResolver.resolveComponentFactory(e.component),r=this.appDynamicContainer.viewContainerRef;r.clear();let o=r.createComponent(n);o.instance.data=e.data,o.changeDetectorRef.detectChanges()}static{this.\u0275fac=function(n){return new(n||t)(E(em),E(tD),E(Bl))}}static{this.\u0275cmp=k({type:t,selectors:[["app-notification-component"]],viewQuery:function(n,r){if(n&1&&ve(B_,7),n&2){let o;H(o=U())&&(r.appDynamicContainer=o.first)}},standalone:!1,decls:11,vars:1,consts:[[1,"notification__container"],["mat-icon-button","",1,"notification__button__close",3,"click"],[1,"notification__icon__close"],[1,"notification__header"],[1,"notification__content"],["appDynamicContainer",""],[1,"notification__button"],[3,"clickAction"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"button",1),T("click",function(){return r.snackBarRef.dismiss()}),u(2,"mat-icon",2),h(3,"close"),c()(),u(4,"div",3),h(5),c(),u(6,"div",4),fe(7,toe,0,0,"ng-template",5),c(),u(8,"div",6)(9,"app-button",7),T("clickAction",function(){return r.snackBarRef.dismiss()}),h(10,"OK"),c()()()),n&2&&(l(5),S(r.data.title))},dependencies:[fr,Gn,B_,bi],styles:[`.notification__container{display:flex;flex-direction:column}.notification__container .notification__button__close{position:absolute;top:0;right:0}.notification__container .notification__header{padding-bottom:.8rem;font-size:1.2rem;text-align:center;font-weight:700;line-height:2rem}.notification__container .notification__content{line-height:1rem}.notification__container .notification__button{text-align:center;padding-top:1.2rem} 7996`],encapsulation:2})}}return t})();var Le=(()=>{class t{constructor(e,n){this.snackBar=e,this.defaultConfig={horizontalPosition:"center",verticalPosition:"bottom",duration:5e3},this.closeDialogWhenPageChanges(n)}warningWithHTML(e){this.snackBar.openFromComponent(U1,P({panelClass:"warningSnackBar",data:e},this.defaultConfig))}formErrors(e){this.warningWithHTML({title:"Formularz zawiera b\u0142\u0119dy",component:new iE(H1,e)})}default(e,n){this.snackBar.open(e,n,P({panelClass:"defaultSnackBar"},this.defaultConfig))}success(e,n){this.snackBar.open(e,n,P({panelClass:"successSnackBar"},this.defaultConfig))}warning(e,n){this.snackBar.open(e,n,P({panelClass:"warningSnackBar"},this.defaultConfig))}error(e,n){this.snackBar.open(e,n,P({panelClass:"errorSnackBar"},this.defaultConfig))}closeDialogWhenPageChanges(e){e.events.pipe(ae(n=>n instanceof Us),L(()=>this.snackBar.dismiss()),We(1)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(F(v1),F(wr))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var ul=(function(t){return t.REGISTERED="REGISTERED",t.NOT_REGISTERED="NOT_REGISTERED",t.CHECK_UNSUCCESSFUL="CHECK_UNSUCCESSFUL",t.ERROR="ERROR",t})(ul||{});var noe=(function(t){return t[t.MOGE_PODPISAC=0]="MOGE_PODPISAC",t[t.NIE_MOGE_PODPISAC=1]="NIE_MOGE_PODPISAC",t[t.PODPISALEM=2]="PODPISALEM",t})(noe||{});var fs=(function(t){return t.NO="NO",t.SMS="SMS",t.CERTIFICATE="CERTIFICATE",t.MOBILE="MOBILE",t.TAN="TAN",t.TOKEN="TOKEN",t.SCRATCHCARD="SCRATCHCARD",t})(fs||{}),or=(function(t){return t[t.EMPTY=0]="EMPTY",t[t.KIR_CARBON=1]="KIR_CARBON",t[t.KIR_GRAPHITE=2]="KIR_GRAPHITE",t[t.CRYPTOCARD_GRAPHITE=3]="CRYPTOCARD_GRAPHITE",t[t.KIR_M_SZAFIR=4]="KIR_M_SZAFIR",t[t.SIGILLUM_BLUE=5]="SIGILLUM_BLUE",t[t.SIGILLUM_DARK=6]="SIGILLUM_DARK",t[t.SIGILLUM_M_EDO_APP=7]="SIGILLUM_M_EDO_APP",t[t.ASSECO_OLD=8]="ASSECO_OLD",t[t.ASSECO=9]="ASSECO",t[t.ASSECO_M_SIMPLY_SIGN=10]="ASSECO_M_SIMPLY_SIGN",t[t.CENCERT_OLD=11]="CENCERT_OLD",t[t.CENCERT=12]="CENCERT",t[t.CENCERT_M_RSIGN=13]="CENCERT_M_RSIGN",t[t.EUROCERT=14]="EUROCERT",t})(or||{});var Ut=(function(t){return t.FUNC_NONE="FUNC_NONE",t.FUNC_ACCOUNT_VIEW="FUNC_ACCOUNT_VIEW",t.FUNC_ACCOUNTS_PRINTOUT="FUNC_ACCOUNTS_PRINTOUT",t.FUNC_CONTRACTORS_EDIT="FUNC_CONTRACTORS_EDIT",t.FUNC_CARDS_VIEW="FUNC_CARDS_VIEW",t.FUNC_TRANSFER_VIEW="FUNC_TRANSFER_VIEW",t.FUNC_TRANSFER_EDIT="FUNC_TRANSFER_EDIT",t.FUNC_TRANSFER_IMPORT="FUNC_TRANSFER_IMPORT",t.FUNC_TRANSFER_FOREIGN_EDIT="FUNC_TRANSFER_FOREIGN_EDIT",t.FUNC_TRANSFER_FOREIGN_IMPORT="FUNC_TRANSFER_FOREIGN_IMPORT",t.FUNC_TRANSFER_WAGES="FUNC_TRANSFER_WAGES",t.FUNC_TOPUP="FUNC_TOPUP",t.FUNC_SEE_ONLY_OWN="FUNC_SEE_ONLY_OWN",t.FUNC_DEPOSIT_VIEW="FUNC_DEPOSIT_VIEW",t.FUNC_DEPOSIT_EDIT_BRAKE="FUNC_DEPOSIT_EDIT_BRAKE",t.FUNC_DEPOSIT_CREATE="FUNC_DEPOSIT_CREATE",t.FUNC_STANDING_ORDER_VIEW="FUNC_STANDING_ORDER_VIEW",t.FUNC_STANDING_ORDER_EDIT="FUNC_STANDING_ORDER_EDIT",t.FUNC_ACCEPT="FUNC_ACCEPT",t.FUNC_SIGN="FUNC_SIGN",t.FUNC_EXECUTE="FUNC_
7996EXECUTE",t.FUNC_IP_EDIT="FUNC_IP_EDIT",t.FUNC_MLYNEK="FUNC_MLYNEK",t.FUNC_ALL="FUNC_ALL",t})(Ut||{});var V_=(function(t){return t[t.SYSTEM=0]="SYSTEM",t[t.TRANSFERS=1]="TRANSFERS",t[t.DEPOSITS=2]="DEPOSITS",t[t.TOP_UPS=3]="TOP_UPS",t[t.NONE=4]="NONE",t})(V_||{}),rm=(function(t){return t.SIMPLE_ACCEPT="SIMPLE_ACCEPT",t.PASSWORD="PASSWORD",t.AUTHORIZATION="AUTHORIZATION",t})(rm||{});var gs=(function(t){return t.OK="OK",t.BIC_NOT_FOUND="BIC_NOT_FOUND",t.INVALID_IBAN="INVALID_IBAN",t.INVALID_BIC="INVALID_BIC",t})(gs||{});var ht=new R("API_CONFIG");var oz=(()=>{class t{constructor(e,n){this.http=e,this.config=n}checkAccount(e,n){return this.http.get(this.config.wlRegistryUrl+`/nip/${n}/bank-account/${e}`).pipe(Qr(),Om(1e4))}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var uit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.TRANSFERS_DISPOSITIONS_PATH="/transfers/dispositions",this.TRANSFERS_UPDATE_PATH="/transfers/update"}deleteDisposition(e){let n=new it().set("dispositionIds",e.toString());return this.http.delete(this.config.eCorpoNetApiUrl+this.TRANSFERS_DISPOSITIONS_PATH,{params:n})}updateDispositions(e){return this.http.post(this.config.eCorpoNetApiUrl+this.TRANSFERS_UPDATE_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var hit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.SIGNATURES_VALIDATE_PATH="/signs/validate"}validate(e){return this.http.post(this.config.eCorpoNetApiUrl+this.SIGNATURES_VALIDATE_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _it=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.TRANSFERS_QUICK_EXECUTION_VALIDATE_PATH="/transfers/quick-execution/validate"}validate(e){return this.http.post(this.config.eCorpoNetApiUrl+this.TRANSFERS_QUICK_EXECUTION_VALIDATE_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var yit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.EXIMEE_PATH="/eximee"}generateEximeeUrl(){return this.http.post(this.config.eCorpoNetApiUrl+this.EXIMEE_PATH,{responseType:"arraybuffer"})}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var uh=class{static encode(i){let e=String.fromCharCode(...new TextEncoder().encode(i));return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}};var oE=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.AUTHENTICATION_PATH="/authentication",this.SECOND_STAGE_LOGON_PATH="/second-stage-logon",this.CHECK_PATH=this.SECOND_STAGE_LOGON_PATH+"/check",this.PREPARE_PATH=this.SECOND_STAGE_LOGON_PATH+"/prepare",this.PERFORM_PATH=this.SECOND_STAGE_LOGON_PATH+"/perform",this.CANCEL_PATH=this.SECOND_STAGE_LOGON_PATH+"/cancel",this.CERT_TYPE_PATH=this.SECOND_STAGE_LOGON_PATH+"/cert-type",this.LOGOUT_PATH="/logout"}authenticate(e,n){let r=new it().set("login",e).set("password",uh.encode(n));return this.http.post(this.config.eCorpoNetApiUrl+this.AUTHENTICATION_PATH,r,{observe:"response"})}isSecondStageRequired(){return this.http.get(this.config.eCorpoNetApiUrl+this.CHECK_PATH)}secondStagePrepare(){return this.http.post(this.config.eCorpoNetApiUrl+this.PREPARE_PATH,{})}secondStagePerform(e){return this.http.post(this.config.eCorpoNetApiUrl+this.PERFORM_PATH,e)}secondStageCancel(){return this.http.post(this.config.eCorpoNetApiUrl+this.CANCEL_PATH,{})}logout(e){let n=new it().set("reason",e);return this.http.post(this.config.eCorpoNetApiUrl+this.LOGOUT_PATH,n,{})}updateDefaultCertType(e){return this.http.put(this.config.eCorpoNetApiUrl+this.CERT_TYPE_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var az=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/password`}isPasswordExpired(){return this.http.get(this.baseUrl)}change(e){return this.http.post(this.baseUrl,e)}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e)}perform(e){return this.http.post(`${this.baseUrl}/perform`,e)}cancel(){return this.http.post(`${this.baseUrl}/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var sz=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.CLIENTS_PATH="/clients"}getAll(){return this.http.get(this.config.eCorpoNetApiUrl+this.CLIENTS_PATH)}getDefault(){return this.http.get(this.config.eCorpoNetApiUrl+this.CLIENTS_PATH+"/default")}setClient(e){return this.http.post(this.config.eCorpoNetApiUrl+this.CLIENTS_PATH,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vo="arraybuffer";var aE=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return this.config.eCorpoNetApiUrl+"/terms"}openFile(e){return this.http.post(`${this.baseUrl}/file`,parseInt(e,10),{responseType:vo})}getTermsToAccept(e){return this.http.post(`${this.baseUrl}/to-accept`,e)}simpleAccept(){return this.http.post(`${this.baseUrl}/accept`,null)}passwordAccept(e){return this.http.post(`${this.baseUrl}/accept/password`,e)}authOperation(e){let n=`${this.baseUrl}/auth`;return{prepare:()=>this.http.post(`${n}/prepare`,e),perform:r=>this.http.post(`${n}/perform`,r),cancel:()=>this.http.post(`${n}/cancel`,null)}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var zit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.BANK_STATEMENT_DETAILS_PATH="/bank-statements/details"}getBankStatementOperations(e,n,r){let o=new it().set("accountId",String(e.accountId)).set("date",e.date.toISOString()).set("session",e.session).set("pageIndex",n).set("pageSize",r);return this.http.get(this.config.eCorpoNetApiUrl+this.BANK_STATEMENT_DETAILS_PATH,{params:o})}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Xit=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.BANK_STATEMENT_PLUS_FILE_MT940_PATH="/bank-statements/plus/file/MT940"}getMT940(e,n=!1,r=!1){let o=new it;return e.forEach(a=>{o=o.append("statementIds",a.toString())}),o=o.append("isExtended",n.toString()),o=o.append("isZipped",r.toString()),this.http.get(this.config.eCorpoNetApiUrl+this.BANK_STATEMENT_PLUS_FILE_MT940_PATH,{params:o,responseType:vo,observe:"response"}).pipe(W(a=>{let s=a.headers.get("X-SN-Filename"),d=a.body;return B({name:s,data:d})}))}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ml=(()=>{class t{constructor(){this.CURRENCY_PATH="api/currencies",this.http=m(ge)}getCurrencies(){return this.http.get(this.CURRENCY_PATH)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var bd=(function(t){return t[t.CSV=0]="CSV",t[t.TXT_SABA=1]="TXT_SABA",t[t.TXT_DEF=2]="TXT_DEF",t[t.TXT_NOV=3]="TXT_NOV",t[t.XML=4]="XML",t})(bd||{}),ct=(function(t){return t.NORMAL_TRANSFER="NORMAL_TRANSFER",t.FOREIGN_TRANSFER="FOREIGN_TRANSFER",t.VAT_TRANSFER="VAT_TRANSFER",t.ZUS_TRANSFER="ZUS_TRANSFER",t.US_TRANSFER="US_TRANSFER",t})(ct||{});var sE=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/contractors`}existsBy(e){let n=new it().set("name",e);return this.http.get(`${this.baseUrl}/exists`,{params:n})}importPrepare(e,n){let r=new it().set("group",n);return this.http.post(`${this.baseUrl}/imports/prepare`,e,{params:r})}importPerform(e){return this.http.post(`${this.baseUrl}/imports/perform`,e)}importCancel(){return this.http.post(`${this.baseUrl}/imports/cancel`,null)}savePrepare(e){return this.http.post(`${this.baseUrl}/prepare`,e)}updatePrepare(e){return this.http.put(`${this.baseUrl}/prepare`,e)}saveUpdatePerform(e){return this.http.post(`${this.baseUrl}/perform`,e)}
7996saveUpdateCancel(){return this.http.post(`${this.baseUrl}/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var j_=(function(t){return t.TRANSACTION="TRANSACTION",t.DAILY="DAILY",t.MONTHLY="MONTHLY",t})(j_||{}),mh=(function(t){return t.CASH="CASH",t.WITHOUT_CASH="WITHOUT_CASH",t.TOGETHER="TOGETHER",t.INTERNET="INTERNET",t})(mh||{});var prt=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/cards`}limitsUpdatePrepare(e,n){return this.http.post(`${this.baseUrl}/limits/update/prepare/${e}`,n)}limitsUpdatePerform(e){return this.http.post(`${this.baseUrl}/limits/update/perform`,e)}limitsUpdateCancel(){return this.http.post(`${this.baseUrl}/limits/update/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vrt=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/ip-addresses`}changePrepare(e){return this.http.post(`${this.baseUrl}/prepare`,e)}changePerform(e){return this.http.post(`${this.baseUrl}/perform`,e)}changeCancel(){return this.http.post(`${this.baseUrl}/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var xrt=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/credit-holidays`}uploadPrepare(e,n){let r=new FormData;return r.append("title",n),r.append("file",new Blob([e])),this.http.post(`${this.baseUrl}/prepare`,r)}uploadPerform(e){return this.http.post(`${this.baseUrl}/perform`,e)}uploadCancel(){return this.http.post(`${this.baseUrl}/cancel`,null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var krt=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.PATH="/deposits/deposit/confirmation-report"}getConfirmationReportFile(e){let n=new it().set("accountId",e);return this.http.get(this.config.eCorpoNetApiUrl+this.PATH,{responseType:vo,params:n})}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var No=(()=>{class t{constructor(e){this.http=e,this.FOREIGN_BANKS="api/banks/foreign",this.FOREIGN_BANK_BY_ACCOUNT_PATH=this.FOREIGN_BANKS+"/account",this.FOREIGN_BANK_BY_BIC_PATH=this.FOREIGN_BANKS+"/bic",this.FOREIGN_BANKS_COUNT_PATH=this.FOREIGN_BANKS+"/count",this.FOREIGN_TRANSFER_GET_COUNTRIES=this.FOREIGN_BANKS+"/countries",this.FOREIGN_TRANSFER_GET_IBAN_LENGTH_INFOS=this.FOREIGN_BANKS+"/ibans"}getForeignBanks(e,n=0){let r=new it().set("pageIndex",n.toString());return this.http.post(this.FOREIGN_BANKS,e,{params:r})}getBankByAccount(e){let n=new it().set("account",e);return this.http.get(this.FOREIGN_BANK_BY_ACCOUNT_PATH,{params:n})}getBankByBic(e){let n=new it().set("bic",e);return this.http.get(this.FOREIGN_BANK_BY_BIC_PATH,{params:n})}getForeignBanksCount(e){return this.http.post(this.FOREIGN_BANKS_COUNT_PATH,e)}getCountries(){return this.http.get(this.FOREIGN_TRANSFER_GET_COUNTRIES)}getForeignIbanInfos(){return this.http.get(this.FOREIGN_TRANSFER_GET_IBAN_LENGTH_INFOS)}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Prt=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.LOGIN_PAGE_PARAMETERS_URL="/params/login-page"}getLoginPageParameters(){return this.http.get(this.config.eCorpoNetApiUrl+this.LOGIN_PAGE_PARAMETERS_URL).pipe(Qr())}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var gr=(function(t){return t.BUNDLE="BUNDLE",t.SALARY_BUNDLE="SALARY_BUNDLE",t.TRANSFER_COMMON="TRANSFER_COMMON",t.TRANSFER_US="TRANSFER_US",t.TRANSFER_ZUS="TRANSFER_ZUS",t.TRANSFER_INTERNATIONAL="TRANSFER_INTERNATIONAL",t.TRANSFER_INSTANT="TRANSFER_INSTANT",t.TRANSFER_DEALING_BPS="TRANSFER_DEALING_BPS",t.TRANSFER_VAT="TRANSFER_VAT",t.TRANSFER_VAT_TOP_UP="TRANSFER_VAT_TOP_UP",t.DEPOSIT_OPENING="DEPOSIT_OPENING",t.DEPOSIT_MODIFICATION="DEPOSIT_MODIFICATION",t.DEPOSIT_CLOSING="DEPOSIT_CLOSING",t.STANDING_ORDER_OPENING="STANDING_ORDER_OPENING",t.STANDING_ORDER_MODIFICATION="STANDING_ORDER_MODIFICATION",t.STANDING_ORDER_CLOSING="STANDING_ORDER_CLOSING",t.GSM_TOP_UP="GSM_TOP_UP",t.UNKNOWN="UNKNOWN",t})(gr||{}),Brt=[gr.TRANSFER_COMMON,gr.TRANSFER_US,gr.TRANSFER_ZUS,gr.TRANSFER_INTERNATIONAL,gr.TRANSFER_INSTANT,gr.TRANSFER_DEALING_BPS,gr.TRANSFER_VAT,gr.TRANSFER_VAT_TOP_UP],Vrt=[gr.BUNDLE,gr.SALARY_BUNDLE],jrt=[gr.STANDING_ORDER_OPENING,gr.STANDING_ORDER_MODIFICATION,gr.STANDING_ORDER_CLOSING],Hrt=[gr.DEPOSIT_OPENING,gr.DEPOSIT_MODIFICATION,gr.DEPOSIT_CLOSING],Urt=[gr.GSM_TOP_UP],ioe=(function(t){return t.TO_APPROVE="TO_APPROVE",t.APPROVED="APPROVED",t})(ioe||{}),roe=(function(t){return t.NONE="NONE",t.DISPOSITION="DISPOSITION",t})(roe||{});var ooe=(function(t){return t.POSITIVE="POSITIVE",t.NEGATIVE="NEGATIVE",t.NO_CHECK="NO_CHECK",t})(ooe||{}),aoe=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(aoe||{}),soe=(function(t){return t.REGISTERED="REGISTERED",t.NOT_REGISTERED="NOT_REGISTERED",t.CHECK_UNSUCCESSFUL="CHECK_UNSUCCESSFUL",t.ERROR="ERROR",t.INVALID_
7996NIP="INVALID_NIP",t})(soe||{});var loe=(function(t){return t.VALIDATION_ERROR="VALIDATION_ERROR",t.UNAUTHENTICATED="UNAUTHENTICATED",t.ACCOUNT_ACCESS_DENIED="ACCOUNT_ACCESS_DENIED",t.ID_DOCUMENT_EXPIRED="ID_DOCUMENT_EXPIRED",t.ID_DOCUMENT_NOT_VERIFIED="ID_DOCUMENT_NOT_VERIFIED",t.NOT_ELIGIBLE="NOT_ELIGIBLE",t.ITEM_NOT_FOUND="ITEM_NOT_FOUND",t.BUNDLE_EXPIRED="BUNDLE_EXPIRED",t.BUNDLE_TERMINAL_STATE="BUNDLE_TERMINAL_STATE",t.DISPOSITIONS_INVALID_FOR_EXECUTION="DISPOSITIONS_INVALID_FOR_EXECUTION",t.INTERNAL_ERROR="INTERNAL_ERROR",t})(loe||{}),coe=(function(t){return t.EXECUTED="EXECUTED",t.FAILED="FAILED",t})(coe||{});var wt=(function(t){return t[t.AUTODEALING_PORT=0]="AUTODEALING_PORT",t[t.AUTODEALING_URL=1]="AUTODEALING_URL",t[t.AUTO_DEALING_VALIDATEID_ENDPIONT=2]="AUTO_DEALING_VALIDATEID_ENDPIONT",t[t.BANK_IDS=3]="BANK_IDS",t[t.BANK_NUMBER_ENABLED=4]="BANK_NUMBER_ENABLED",t[t.CURRENCY_DATE_ENABLED=5]="CURRENCY_DATE_ENABLED",t[t.EXCHANGE_PREFER_ENABLED=6]="EXCHANGE_PREFER_ENABLED",t[t.EXCHANGE_RATE_VISIBLE=7]="EXCHANGE_RATE_VISIBLE",t[t.EXIMEE_ENABLED=8]="EXIMEE_ENABLED",t[t.OTHER_RECIPIENT_AUTHORIZE=9]="OTHER_RECIPIENT_AUTHORIZE",t[t.LOGIN_NOK_LABEL=10]="LOGIN_NOK_LABEL",t[t.LOGIN_OK_LABEL=11]="LOGIN_OK_LABEL",t[t.LOAN_PFR_SCHEDULE_ENABLED=12]="LOAN_PFR_SCHEDULE_ENABLED",t[t.PASSWORD_DIGIT_COUNT=13]="PASSWORD_DIGIT_COUNT",t[t.PASSWORD_LENGTH_MAX=14]="PASSWORD_LENGTH_MAX",t[t.PASSWORD_LENGTH_MIN=15]="PASSWORD_LENGTH_MIN",t[t.PASSWORD_LOWERCASE_COUNT=16]="PASSWORD_LOWERCASE_COUNT",t[t.PASSWORD_UPPERCASE_COUNT=17]="PASSWORD_UPPERCASE_COUNT",t[t.SESSION_TIMEOUT=18]="SESSION_TIMEOUT",t[t.STATEMENT_PLUS_ENABLED=19]="STATEMENT_PLUS_ENABLED",t[t.STATEMENT_ENABLED=20]="STATEMENT_ENABLED",t[t.STATEMENT_FAKE_ENABLED=21]="STATEMENT_FAKE_ENABLED",t[t.SUBMIT=22]="SUBMIT",t[t.TRANSFERMANAGER_REST_ENABLED=23]="TRANSFERMANAGER_REST_ENABLED",t[t.TOPUP_GSM_VISIBLE=24]="TOPUP_GSM_VISIBLE",t[t.TOPUP_ALLOW_LOGINS=25]="TOPUP_ALLOW_LOGINS",t[t.TRANSFER_EXPRESS_ENABLED=26]="TRANSFER_EXPRESS_ENABLED",t[t.TRANSFER_FOREIGN_BIC_SELECTION_ENABLED=27]="TRANSFER_FOREIGN_BIC_SELECTION_ENABLED",t[t.TRANSFER_FOREIGN_CURRENCY_TRANSFER_ENABLED=28]="TRANSFER_FOREIGN_CURRENCY_TRANSFER_ENABLED",t[t.TRANSFER_CHECK_RECIPIENT=29]="TRANSFER_CHECK_RECIPIENT",t[t.TRANSFER_SORBNET_ENABLED=30]="TRANSFER_SORBNET_ENABLED",t[t.TRANSFER_SORBNET_OPENING_HOUR=31]="TRANSFER_SORBNET_OPENING_HOUR",t[t.TRANSFER_SORBNET_DEADLINE=32]="TRANSFER_SORBNET_DEADLINE",t[t.TRANSFER_SORBNET_REQUIRED_ENABLED=33]="TRANSFER_SORBNET_REQUIRED_ENABLED",t[t.TRANSFER_SORBNET_REQUIRED_LOGINS=34]="TRANSFER_SORBNET_REQUIRED_LOGINS",t[t.TRANSFER_SORBNET_REQUIRED_AMOUNT=35]="TRANSFER_SORBNET_REQUIRED_AMOUNT",t[t.TRANSFER_SORBNET_REQUIRED_COMMON_ENABLED=36]="TRANSFER_SORBNET_REQUIRED_COMMON_ENABLED",t[t.TRANSFER_SORBNET_REQUIRED_VAT_ENABLED=37]="TRANSFER_SORBNET_REQUIRED_VAT_ENABLED",t[t.TRANSFER_VAT_FROM=38]="TRANSFER_VAT_FROM",t[t.BASEMENT_EXCHANGE_NAME=39]="BASEMENT_EXCHANGE_NAME",t[t.BASEMENT_EXCHANGE_URL=40]="BASEMENT_EXCHANGE_URL",t[t.APPLICATION_LOGIN_PAGE_BUTTON1_CAPTION=41]="APPLICATION_LOGIN_PAGE_BUTTON1_CAPTION",t[t.APPLICATION_LOGIN_PAGE_BUTTON2_CAPTION=42]="APPLICATION_LOGIN_PAGE_BUTTON2_CAPTION",t[t.APPLICATION_LOGIN_PAGE_BUTTON3_CAPTION=43]="APPLICATION_LOGIN_PAGE_BUTTON3_CAPTION",t[t.APPLICATION_LOGIN_PAGE_BUTTON1_LINK=44]="APPLICATION_LOGIN_PAGE_BUTTON1_LINK",t[t.APPLICATION_LOGIN_PAGE_BUTTON2_LINK=45]="APPLICATION_LOGIN_PAGE_BUTTON2_LINK",t[t.APPLICATION_LOGIN_PAGE_BUTTON3_LINK=46]="APPLICATION_LOGIN_PAGE_BUTTON3_LINK",t[t.APPLICATION_LOGIN_PAGE_FOOTER_CAPTION=47]="APPLICATION_LOGIN_PAGE_FOOTER_CAPTION",t[t.APPLICATION_LOGIN_PAGE_SYSTEM_NAME=48]="APPLICATION_LOGIN_PAGE_SYSTEM_NAME",t[t.EXPORT_MT940_ENABLED=49]="EXPORT_MT940_ENABLED",t[t.WYCIAGI_API_ENABLED=50]="WYCIAGI_API_ENABLED",t[t.MOBILE_APP_ENABLED=51]="MOBILE_APP_ENABLED",t[t.APPROVALS_ENABLED=52]="APPROVALS_ENABLED",t})(wt||{});var Zrt=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/items"}getApprovableItems(e){let n=new it;return e&&(n=n.set("stateFilter",e)),this.http.get(this.baseUrl,{params:n})}getItemDetails(e){return this.http.get(`${this.baseUrl}/${e}/details`)}getChildNodes(e,n){let r=new it().set("page",n);return this.http.get(`${this.baseUrl}/${e}/child-nodes`,{params:r})}getChildNodeDetails(e,n){return this.http.get(`${this.baseUrl}/${e}/child-nodes/${n}/details`)}getApprovals(e){return this.http.get(`${this.baseUrl}/${e}/approvals`)}getItemFile(e){return this.http.get(`${this.baseUrl}/${e}/file`,{responseType:"arraybuffer"})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var rot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht),this.currentIds=[]}
7996get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/approve"}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e).pipe(L(()=>this.currentIds=e))}perform(e){return this.http.post(`${this.baseUrl}/perform`,{itemIds:this.currentIds,verifyRequest:e})}cancel(){return this.http.post(`${this.baseUrl}/cancel`,{})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var uot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht),this.currentIds=[]}get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/revoke-approval"}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e).pipe(L(()=>this.currentIds=e))}perform(e){return this.http.post(`${this.baseUrl}/perform`,{itemIds:this.currentIds,verifyRequest:e})}cancel(){return this.http.post(`${this.baseUrl}/cancel`,{})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var bot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht),this.currentIds=[]}get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/convert-to-draft"}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e).pipe(L(()=>this.currentIds=e))}perform(e){return this.http.post(`${this.baseUrl}/perform`,{itemIds:this.currentIds,verifyRequest:e})}cancel(){return this.http.post(`${this.baseUrl}/cancel`,{})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var wot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}executeItem(e,n){let r=`${this.config.eCorpoNetApiUrl}/approvals/items/${e}/execute`,o=n?.executionDate?n:null;return this.http.post(r,o)}executeItems(e,n){let r=`${this.config.eCorpoNetApiUrl}/approvals/execute`,o=n?{itemIds:e,executionDate:n}:{itemIds:e};return this.http.post(r,o)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kr=(function(t){return t.AUTH_INCORRECT="AUTH_INCORRECT",t.AUTH_BLOCKED="AUTH_BLOCKED",t.AUTH_EXPIRED="AUTH_EXPIRED",t.GENERAL="GENERAL",t})(kr||{});var lz=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.SESSION_CONTEXT_PATH="/session-context",this.CUSTOMER_PROFILE_PATH="/customer-profile-context"}getSessionContext(){return this.http.get(this.config.eCorpoNetApiUrl+this.SESSION_CONTEXT_PATH)}getCustomerProfileContext(){return this.http.get(this.config.eCorpoNetApiUrl+this.CUSTOMER_PROFILE_PATH)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(ht))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var doe=(function(t){return t.PAIRED="PAIRED",t.PAIRING_IN_PROGRESS="PAIRING_IN_PROGRESS",t.NOT_PAIRED="NOT_PAIRED",t})(doe||{}),uoe=(function(t){return t.ACTIVE_PAIRING_CODE="ACTIVE_PAIRING_CODE",t.PAIRING_ORDER_PLACED="PAIRING_ORDER_PLACED",t})(uoe||{});var Oot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return this.config.eCorpoNetApiUrl+"/mobile-app"}getStatus(){return this.http.get(`${this.baseUrl}/status`)}startPairing(){return this.http.post(this.baseUrl,null)}unpair(){return this.http.delete(this.baseUrl)}getAppLinks(){return this.http.get(`${this.baseUrl}/app-links`)}getActivateText(){return this.http.get(`${this.baseUrl}/activate-text`)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var cz=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}report(e){return this.http.post(`${this.config.eCorpoNetApiUrl}/authorization/signnet/report`,e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var dz="/file/list",uz="/file/pdf",mz="/file/xml",pz="/file/homenet",hz="/file/MT940",moe="/file/MT940allTheSame",fz="/file/MT940-day",lE="/file/duplicate",gz="/file/print",_z="/file/csv",om="/prepare",am="/perform",sm="/cancel",bz="/enabled",poe="/enablers",vd="/bundles",hoe="/permission",ph="/dispositions",pl="/add",_s="/update",vz="/delete",foe="/check",yz="/filters",cE="/audit",z1="/to-signing",G1="/unsign",W1="/to_edition",$1="/plain",Cz="/own",hh="/vat",goe="/vat-transmission";var q1="/foreign",_oe="/exchange",Y1="/count",Oat="api/session",yd="api/bank-statements",Fat=yd+dz,Pat=yd+uz,Lat=yd+mz,Bat=yd+pz,Vat=yd+hz,jat=yd+fz,Hat=yd+lE,fh=yd+"/plus",Uat=fh+dz,zat=fh+uz,Gat=fh+mz,Wat=fh+pz,$at=fh+fz,qat=fh+lE,Oo="api/accounts",Dz=Oo+"/simple-name",Ez=Oo+"/turnover",K1=Oo+"/loan-schedule",U_=Oo+"/chargeable",Yat=U_+"/own",Kat=Oo+"/chargeable_order",Xat=Oo+"/update-order",wz=Oo+hh,boe=K1+"-pfr",Zat=boe+foe,X1=Oo+"/statements",Qat=X1+"/list",Jat=X1+hz,est=X1+moe,Z1=Oo+"/own",xz=Z1+hh,Sz=Oo+"/vat/chargeable",tst=Oo+"/holds/list",dE=Oo+"/bulk-statements",nst=dE+"/year",ist=dE+"/month",rst=dE+"/filename",ost=dE+"/txt",voe="/login-page";var ast="api"+voe+"/info",sst="api/banners",lst="api/favicon",Q1="api/logo",Tz=Q1+"/image",cst="api/ip-addresses",hl="api/contractors",Iz=hl+"/count",Az=hl+"/exists",kz=hl+"/groups",Rz=hl+"/changeGroup",Mz=hl+"/export/csv",Nz=hl+"/export/xml",yoe=hl+"/imports",Oz=yoe+"/uploads",z_="api/messages",Fz=z_+"/mark-as-seen",Pz=z_+"/unread-amount",dst="api"+_oe,Coe="api/banks",uE=Coe+"/domestic",Lz=uE+"/count",gh="api/operations",_h=gh+"/history",ust=gh+gz,mst=gh+_z,Bz=gh+lE,Vz=_h+lE,pst=_h+_z,hst=_h+"/file/videotel",fst=_h+gz,ei="api/transfers",J1=ei+vd,jz=ei+vd+cE,eR=ei+ph,Hz=ei+ph+cE,Uz=ei+z1,lm=ei+"/imports",bh="/checks",tR="/salary",zz=lm+bh,mE=zz+ph,Gz=zz+tR,Wz=mE+$1,$z=mE+q1,qz=mE+"/us",Yz=mE+hh,Kz=lm+"/uploads",pE=lm+vd,Xz=lm+ph,hE=ei+"/quick-execution",gst=hE+om,_st=hE+bz,bst=hE+am,vst=hE+sm,Zz=ei+pl+$1,Qz=ei+pl+Cz,fE=ei+pl+hh,Jz=ei+pl+"/us",e3=ei+pl+q1,t3=ei+_s+$1,n3=ei+_s+Cz,gE=ei+_s+hh,i3=ei+_s+"/us",r3=ei+_s+q1,o3=ei+hh,a3=ei+goe,s3=ei+vd+"/imports",l3=ei+"/dispositions",c3=ei+"/dispositions/whitelist",G_="api/topups",yst=G_+"/update",Cst=G_+"/operators",Dst=G_+"/to-signing",Est=G_+"/enablers",nR=G_
7996+"/quick-execution",wst=nR+om,xst=nR+am,Sst=nR+sm,Tst="/file",Gr="api/standing-orders",d3=Gr+pl+pl,u3=Gr+pl+_s,m3=Gr+pl+vz,p3=Gr+_s+pl,h3=Gr+_s+_s,f3=Gr+_s+vz,iR=Gr+"/quick-execution",g3=Gr+vd,_3=Gr+vd+cE,b3=Gr+z1,v3=Gr+ph+cE,Ist=iR+om,Ast=iR+am,kst=iR+sm,y3=Gr+poe,_E="api/cards",Rst=_E+"/holds",Doe=_E+"/extract",Mst=Doe+"/dates",Nst=_E+"/limits",Ost=_E+"/hasCardLimits",rR="api/us",C3=rR+yz,D3=rR+Y1,E3=rR+"/sfp",bE="api/executions",Fst=bE+z1,Pst=bE+"/bundles",Lst=bE+"/dispositions",Bst=bE+"/contractors_changed",yo="api/signs",Vst=yo+om,jst=yo+am,Hst=yo+bz,Ust=yo+sm,oR=yo+"/sign_execute",zst=oR+om,Gst=oR+am,Wst=oR+sm,$st=yo+"/to_execution",qst=yo+G1+om,Yst=yo+G1+am,Kst=yo+G1+sm,Xst=yo+W1+om,Zst=yo+W1+am,Qst=yo+W1+sm,Jst=yo+vd+yz,elt=yo+vd,tlt=yo+ph,ka="api/deposits",nlt=ka+"/add/add",ilt=ka+"/add/update",rlt=ka+"/add/delete",olt=ka+"/update/add",alt=ka+"/update/update",slt=ka+"/update/delete",llt=ka+"/delete",clt=ka+"/to-signing",dlt=ka+"/dispositions",aR=ka+"/quick-execution",ult=aR+"/prepare",mlt=aR+"/perform",plt=aR+"/cancel",hlt="api/deposits-pattern",flt=ka+hoe,glt=ka+"/deposit",_lt="api/credit-holidays",blt="api/events/last-login-ip",vlt="api/autodealing",Eoe="api/white-list",ylt="https://wl-api.mf.gov.pl/api/check",w3=Eoe+"/transfers"+_s,Clt="api/fiduciary-accounts",Dlt="api/basement";var Ra=(function(t){return t.PDF="application/pdf",t.XML="application/xml",t.TXT="text/plain",t.ZIP="application/zip",t.HTML="text/html",t})(Ra||{});var Me=(function(t){return t[t.NEW=0]="NEW",t[t.EDIT=1]="EDIT",t[t.IMPORT=2]="IMPORT",t[t.REPEAT=3]="REPEAT",t})(Me||{});var vh=new R("TRANSFER_DIALOG_TOKEN");var pn=(function(t){return t.COMMON="COMMON",t.INSTANT="INSTANT",t.INTERNATIONAL="INTERNATIONAL",t.PERSONAL="PERSONAL",t.US_CLO="US_CLO",t.VAT_INVOICE="VAT_INVOICE",t.VAT_TRANSFERENCE="VAT_TRANSFERENCE",t.SORBNET="SORBNET",t})(pn||{});var vE=class{static parse(i){switch(i){case"PRZELEW_VAT":return pn.VAT_INVOICE;case"PRZELEW_US":return pn.US_CLO;case"PRZELEW_ZAGRANICZNY":return pn.INTERNATIONAL;case"PRZELEW_VAT_ZASILENIE":return pn.VAT_TRANSFERENCE;default:return pn.COMMON}}static parseFromContractorType(i){switch(i){case ct.FOREIGN_TRANSFER:return pn.INTERNATIONAL;case ct.US_TRANSFER:return pn.US_CLO;case ct.VAT_TRANSFER:return pn.VAT_INVOICE;default:return pn.COMMON}}};var vn=(function(t){return t.NIP="N-NIP",t.REGON="R-REGON",t.PESEL="P-PESEL",t.DOWOD_OSOBISTY="1-DOW\xD3D OSOBISTY",t.PASZPORT="2-PASZPORT",t.INNY="3-INNY DOKUMENT TO\u017BSAMO\u015ACI",t.EMPTY="",t})(vn||{});var sc=(()=>{class t{static{this.US_IRP_REGEX=/[0-9]{2}10100071222[1-2]{1}[0-9]{12}/g}static isIRPAccount(e){return e!=null&&!!e.match(t.US_IRP_REGEX)}static hasPesel(e){return e.charAt(13)==="1"}static getPesel(e){return e.substring(14,25)}static getNip(e){return e.substring(14,24)}static getSpecificIdentifier(e,n){switch(n){case vn.PESEL:return e.pesel;case vn.REGON:return e.regon;case vn.NIP:return e.nip;default:return}}static getDefaultIdentifier(e){return e.pesel?{value:e.pesel,type:vn.PESEL}:e.regon?{value:e.regon,type:vn.REGON}:e.nip?{value:e.nip,type:vn.NIP}:{value:"",type:""}}static getIrpIdentifier(e){return t.hasPesel(e)?{type:vn.PESEL,value:this.getPesel(e)}:{type:vn.NIP,value:this.getNip(e)}}static getTaxData(e){let n=this.isIRPAccount(e.targetAccount)?this.getIrpIdentifier(e.targetAccount):t.getDefaultIdentifier(e),r={idType:n.type,idValue:n.value};return e.title&&(r.obligationsId=e.title),r}}return t})();var Cd=class t{static parse(i,e){let n={peselNip:"",invoice:"",message:""};return i===void 0?n:i.indexOf("/IDC/")<5?t.getFromPeselNip(e,n):t.getFromTitle(i,n)}static getFromTitle(i,e){let n=i.indexOf("/IDC/");return e.peselNip=i.substring(n+5,i.indexOf("/INV/")),i.includes("/TXT/")?(e.invoice=i.substring(i.indexOf("/INV/")+5,i.indexOf("/TXT/")),e.message=i.substring(i.indexOf("/TXT/")+5)):e.invoice=i.substring(i.indexOf("/INV/")+5),e}static getFromPeselNip(i,e){return e.peselNip=i,e}};var $_=Si(cm());var x3="hideAmount",q_="0.00",woe="0",W_=".",Vlt=",",bt=class{static currencyFormat(i,e=" "){return i?(0,$_.default)(i,{symbol:"",separator:e,precision:2,pattern:"#!",negativePattern:"-#!"}).format():q_}static amountFormat(i,e=" "){return i?(0,$_.default)(i,{separator:e,precision:0,pattern:"#",negativePattern:"-#"}).format():woe}static getTrimmedValue(i){return(0,$_.default)(i,{separator:"",precision:2,pattern:"#",negativePattern:"-#"}).value||0}
7996static formatAmount(i){return i===""?"":(0,$_.default)(this.getOnlyNumbersWithOneDot(i),{symbol:"",separator:" ",precision:2,decimal:".",pattern:"#!",negativePattern:"-#!"}).format()}static getOnlyNumbers(i){return i.replace(/[^0-9]*/g,"")}static getOnlyNumbersWithOneDot(i){let e=0,n=r=>r===W_?e++===0?W_:"":"";return i.replace(ue.numbersCommaDotPattern,"").replace(/[,]/g,W_).replace(/[\.]/g,n)}static trimDecimalsToTwoPlaces(i){if(i.toString().includes(W_)){let[e,n]=i.toString().split(W_);i=`${+e.replace(/[\s]+/g,"")>0?e:"0"}.${n.substring(0,2)}`}return i}};var ar=class{static getFromContractor(i){let e=Cd.parse(i.title,i?.nip||i?.pesel||"");return{title:i.title,amount:bt.formatAmount(i?.amount?.toString()||""),currency:i?.currency||"",targetAccount:i.targetAccount,name1:i.name1,name2:i.name2,address1:i.address1,address2:i.address2,bank:{bic:i.bic,bankName:i.bank1,address:i.bank2,city:i.bank3,country:i.bank4},tax:i?.type===ct.US_TRANSFER?sc.getTaxData(i):{},contractorId:i.id,idNipPesel:e?.peselNip||"",vatNumber:e.invoice,message:e.message,dateOfExecution:kn(new Date)}}static newWithBundleId(i,e){let n;return i?.virtual===!1&&(n="bundleId"in i?i.bundleId:i.id),{bundleId:n,dateOfExecution:kn(new Date),sourceAccountId:e||"",currency:"PLN",tax:{},packaged:!!n}}static getFromTaxOffice(i){return{name1:i.name1,name2:i.name2,address1:i.address,targetAccount:i.accountIban,currency:"PLN",tax:{},lastExecutionDate:kn(new Date),dateOfExecution:kn(new Date)}}static getFromImport(i,e){let n=this.getFromDisposition(i);return n.dispositionId=e,n}static getFromDisposition(i){return{targetAccount:i.targetAccount,name1:i.name1,name2:i.name2,address1:i.address1,address2:i.address2,amount:bt.formatAmount((i.amount??0).toString()),vatAmount:bt.formatAmount((i.vatAmount??0).toString()),netAmount:bt.formatAmount(((i.amount??0)-(i.vatAmount??0)).toString()),currency:i.currency,dateOfExecution:wn.isDate(i.dateOfExecution)?wn.formatDate(i.dateOfExecution):$t(new Date,je),idNipPesel:i.vatDispositionData?.idNipPesel,vatNumber:i.vatDispositionData?.invoiceNumber,message:i.vatDispositionData?.additionalInfo,title:i.title,tax:{}}}};var Rr=class extends Error{constructor(i,e,n,r,o,a=kn(new Date)){super(),this.status=i,this.errorCode=e,this.messageToShow=n,this.inputErrorTypes=r,this.logout=o,this.date=a}static isTypeOf(i){return i?.errorCode!==void 0}};var $r=(()=>{class t{constructor(){this.subject=new zt(!1)}showSpinner(){this.subject.next(!0)}hideSpinner(){this.subject.next(!1)}getSpinnerState(){return this.subject.asObservable()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function hn(t){t||(t=m(dn));let i=new Ne(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(xe(i))}function Ed(t,i){let e=i?.injector??m(ie),n=new Co(1),r=io(()=>{let o;try{o=t()}catch(a){Wt(()=>n.error(a));return}Wt(()=>n.next(o))},{injector:e,manualCleanup:!0});return e.get(dn).onDestroy(()=>{r.destroy(),n.complete()}),n.asObservable()}function dm(t,i){let n=!i?.manualCleanup?i?.injector?.get(dn)??m(dn):null,r=xoe(i?.equal),o;i?.requireSync?o=Z({kind:0},{equal:r}):o=Z({kind:1,value:i?.initialValue},{equal:r});let a,s=t.subscribe({next:d=>o.set({kind:1,value:d}),error:d=>{o.set({kind:2,error:d}),a?.()},complete:()=>{a?.()}});if(i?.requireSync&&o().kind===0)throw new ce(601,!1);return a=n?.onDestroy(s.unsubscribe.bind(s)),Ct(()=>{let d=o();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new ce(601,!1)}},{equal:i?.equal})}function xoe(t=Object.is){return(i,e)=>i.kind===1&&e.kind===1&&t(i.value,e.value)}var Wn=(function(t){return t[t.HIDDEN=0]="HIDDEN",t[t.DISABLED=1]="DISABLED",t[t.VISIBLE=2]="VISIBLE",t})(Wn||{});var Fo=(()=>{class t{constructor(e){this.sessionContextApi=e,this.user=Z(null),this.parameters=Z([]),this.perLoginParameters=Z([]),this.loggedIn=Z(!1),this.authorities=Z([]),this.clientInfo=Z(null),this.autoDealingEnabled=Z(!1),this.basementEnabled=Z(!1),this.whiteListEnabled=Z(!1),this.menuVisibility=Ct(()=>{let n=this.authorities(),r=this.parameters(),o=this.perLoginParameters(),a=this.user(),s=this.autoDealingEnabled(),d=this.basementEnabled(),p=(Te,tn=!1)=>!Te||Te.length===0?Wn.VISIBLE:(tn?Te.some(Oi=>n.includes(Oi)):Te.every(Oi=>n.includes(Oi)))?Wn.VISIBLE:Wn.DISABLED,f=Te=>!!r.find(jt=>jt.name===wt[Te])?.value,b=Te=>r.find(jt=>jt.name===wt[Te])?.value??"",w=Te=>r.find(jt=>jt.name===wt[Te])?.value??[],A=Te=>!!o.find(jt=>jt.name===wt[Te])?.value,M=Wn.HIDDEN,J=w(wt.TOPUP_ALLOW_LOGINS),j=!J||J.length===0;!j&&a&&(j=J.includes(a.username)),j&&f(wt.TOPUP_GSM_VISIBLE)&&(M=n.includes(Ut.FUNC_TOPUP)?Wn.VISIBLE:Wn.DISABLED);let K=Wn.HIDDEN;return a&&(a.isMainAccount||a.isTechnicalAccount)&&n.includes(Ut.FUNC_TRANSFER_WAGES)&&(K=Wn.VISIBLE),{foreignBanks:f(wt.TRANSFER_FOREIGN_BIC_SELECTION_ENABLED)?Wn.VISIBLE:Wn.HIDDEN,exchangeRates:f(wt.EXCHANGE_RATE_VISIBLE)?Wn.VISIBLE:Wn.HIDDEN,exchangeOffice:Wn.DISABLED,bankAccounts:p([Ut.FUNC_ACCOUNT_VIEW]),cards:p([Ut.FUNC_CARDS_VIEW]),gsmTopUp:M,standingOrders:p([Ut.FUNC_STANDING_ORDER_VIEW]),deposits:p([Ut.FUNC_DEPOSIT_VIEW]),transfers:p([Ut.FUNC_TRANSFER_VIEW]),signatures:p([Ut.FUNC_SIGN]),execution:p([Ut.FUNC_EXECUTE]),salaryBundleOptions:K,autoDealing:s?Wn.VISIBLE:Wn.HIDDEN,carrier:Wn.DISABLED,eximee:f(wt.EXIMEE_ENABLED)?Wn.VISIBLE:Wn.HIDDEN,creditHolidays:b(wt.SUBMIT)?Wn.VISIBLE:Wn.HIDDEN,loginOptions:n.includes(Ut.FUNC_IP_EDIT)?Wn.VISIBLE:Wn.HIDDEN,basement:d?Wn.VISIBLE:Wn.HIDDEN,mobileAp
7996p:A(wt.MOBILE_APP_ENABLED)?Wn.VISIBLE:Wn.HIDDEN}})}loadSessionContext(){return this.sessionContextApi.getSessionContext().pipe(W(e=>(this.user.set(e.user),this.parameters.set(e.parameters),this.perLoginParameters.set(e.perLoginParameters),this.loggedIn.set(!0),B(void 0))))}loadCustomerProfileContext(){return this.sessionContextApi.getCustomerProfileContext().pipe(W(e=>(this.authorities.set(e.authorities),this.autoDealingEnabled.set(e.autoDealingEnabled),this.basementEnabled.set(e.basementEnabled),this.whiteListEnabled.set(e.whiteListEnabled),B(void 0))))}setClientInfo(e){this.clientInfo.set(e)}reset(){this.user.set(null),this.parameters.set([]),this.perLoginParameters.set([]),this.loggedIn.set(!1),this.authorities.set([]),this.clientInfo.set(null),this.autoDealingEnabled.set(!1),this.basementEnabled.set(!1),this.whiteListEnabled.set(!1)}static{this.\u0275fac=function(n){return new(n||t)(F(lz))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var qr=(()=>{class t{constructor(){this.appStore=m(Fo),this.parameters$=Ed(this.appStore.parameters).pipe(ae(e=>e.length>0))}getParameter(e){return this.parameters$.pipe($(n=>this.findParameter(n,e)?.value))}getParameterAsBoolean(e){return this.getParameter(e).pipe($(n=>!!n))}getParameterAsStringArray(e){return this.getParameter(e).pipe($(n=>n))}getParameterAsString(e){return this.getParameter(e).pipe($(n=>n))}findParameter(e,n){return e.find(r=>r.name===wt[n].toString())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ln={"rachunekOdbiorcy.empty":" Musisz poda\u0107 rachunek odbiorcy","rachunekOdbiorcy.maxlength":"Numer rachunku nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C {RACHUNEK_ODBIORCY_LENGTH} znak\xF3w","rachunekOdbiorcy.illegal":"Pole zawiera nieprawid\u0142owe znaki","rachunekOdbiorcy.invalid":"Podany rachunek jest nieprawid\u0142owy","rachunekOdbiorcy.invalid_iban":"Podany rachunek jest nieprawid\u0142owy","rachunekOdbiorcy.invalid_iban2":"Podany rachunek jest nieprawid\u0142owy","rachunekOdbiorcy.us_illegal":"Podany rachunek nie jest rachunkiem urz\u0119du skarbowego/izby celnej","rachunekOdbiorcy.zus_old":"Wybrany rachunek ZUS jest nieaktywny w zwi\u0105zku z nowymi przepisami prawa dotycz\u0105cymi przelew\xF3w do ZUS","rachunekOdbiorcy.same_rach":"Rachunek odbiorcy nie mo\u017Ce by\u0107 taki sam jak rachunek nadawcy","rachunekOdbiorcy.notUznawalny":"Nie mo\u017Cna wykona\u0107 przelewu na wybrany rachunek","rachunekOdbiorcy.is_us_so_use_us":"Rachunek odbiorcy jest rachunkiem Urz\u0119du Skarbowego","rachunekOdbiorcy.is_clo_so_use_us":"Rachunek odbiorcy jest rachunkiem Izby Celnej. Nale\u017Cy skorzysta\u0107 z opcji tworzenia przelew\x
7996F3w US / C\u0141O","rachunekOdbiorcy.noVat":"Rachunek odbiorcy nie powi\u0105zany z VAT","rachunekOdbiorcy.wewnetrzny":"Rachunek odbiorcy jest rachunkiem wewn\u0119trznym Banku","rachunekOdbiorcy.krajowy":"Wykonanie przelewu krajowego w PLN jest mo\u017Cliwe tylko w opcji przelewu na rachunek krajowy","rachunekOdbiorcy.same_vat_rach":"Rachunek VAT odbiorcy nie mo\u017Ce by\u0107 taki sam jak rachunek nadawcy","nazwaOdbiorcy1.maxlength":"Pierwsza linia nazwy odbiorcy nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C {NAZWA1_ODBIORCY_LENGTH} znak\xF3w","nazwaOdbiorcy2.maxlength":"Druga linia nazwy odbiorcy nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C {NAZWA2_ODBIORCY_LENGTH} znak\xF3w","nazwaOdbiorcy3.maxlength":"Pierwsza linia adresu odbiorcy nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C {NAZWA3_ODBIORCY_LENGTH} znak\xF3w","nazwaOdbiorcy4.maxlength":"Druga linia adresu odbiorcy nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C {NAZWA4_ODBIORCY_LENGTH} znak\xF3w","nazwaOdbiorcy1.illegal":"Pierwsza linia nazwy odbiorcy zawiera nieprawid\u0142owe znaki","nazwaOdbiorcy2.illegal":"Druga linia nazwy odbiorcy zawiera nieprawid\u0142owe znaki","nazwaOdbiorcy3.illegal":"Pierwsza linia adresu odbiorcy zawiera nieprawid\u0142owe znaki","nazwaOdbiorcy4.illegal":"Druga linia adresu odbiorcy zawiera nieprawid\u0142owe znaki}","nazwaOdbiorcy1.empty":"Pole niewype\u0142nione","nazwaOdbiorcy.empty":"Nazwa odbiorcy nie mo\u017Ce by\u0107 pusta","nazwaOdbiorcy4.fill_in_order":"Pola nazwy musz\u0105 by\u0107 wype\u0142niane po kolei","sfp.maxlength":"Symbol formularza p\u0142atno\u015Bci nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C {SFP_LENGTH} znak\xF3w","sfp.inactive":"W wybranym okresie realizacji formularz jest niedost\u0119pny","sfp.illegal":"Symbol formularza p\u0142atno\u015Bci jest nieprawid\u0142owy","sfp.empty":"Symbol formularza p\u0142atno\u015Bci nie mo\u017Ce by\u0107 pusty","idZobowiazania.maxlength":"Identyfikator zobowi\u0105zania nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C 40 znak\xF3w","sfp.notINNE":'Symbol formularza p\u0142atno\u015Bci musi mie\u0107 warto\u015B\u0107 "INNE"',"kwota.empty":"Kwota nie mo\u017Ce by\u0107 pusta","kwota.greaterThan001":"Kwota musi by\u0107 r\xF3wna lub wi\u0119ksza od 0,01","kwota.greaterThanOne":"Kwota musi by\u0107 r\xF3wna lub wi\u0119ksza od 1,00","kwota.max_range":"Kwota zbyt wysoka","kwota.min_range":"Kwota zbyt niska","kwota.zero":"Kwota musi by\u0107 r\xF3wna lub wi\u0119ksza od 0,01","kwotaVat.greaterThan0":"Kwota VAT musi by\u0107 wi\u0119ksza od 0,00","kwotaVat.atMostBrutto":"Kwota VAT musi by\u0107 mniejsza lub r\xF3wna kwocie brutto","kwota.brakSrodkow":"Kwota nie mo\u017Ce by\u0107 wi\u0119ksza ni\u017C dost\u0119pne wolne \u015Brodki rachunku \u017Ar\xF3d\u0142owego","kwota.wplata.greaterThanOne":"Kwota wp\u0142aty musi by\u0107 r\xF3wna lub wi\u0119ksza od 1,00","kwota.wyplata.greaterThanOne":"Kwota wyp\u0142aty musi by\u0107 r\xF3wna lub wi\u0119ksza od 1,00","kwota.wyplata.za_duzo":"Kwota do cz\u0119\u015Bciowej wyp\u0142aty jest zbyt du\u017Ca","error.field.amount.not_allowed":"Niedozwolona kwota operacji","error.field.amount.wrong_format":"Z\u0142y format kwoty","error.field.amount.wrong_format_with_penny":"Z\u0142y format kwoty. Kwota musi by\u0107 podana bez groszy","kwTyp.wplata.brak_dostepu":"Nie mo\u017Cna wp\u0142aca\u0107 na dan\u0105 lokat\u0119","kwTyp.wyplata.brak_dostepu":"Nie mo\u017Cna wyp\u0142aca\u0107 z danej lokaty","dataWykonania.empty":"Data wykonania nie mo\u017Ce by\u0107 pusta","dataWykonania.beforeToday":"Data wykonania nie mo\u017Ce by\u0107 przesz\u0142a","dataOstatecznejRealizacji.beforeDataWykonania":"Data realizacji nie mo\u017Ce by\u0107 wcze\u015Bniejsza ni\u017C data wykonania","dataOstatecznejRealizacji.maxValue":"Data realizacji zbyt odleg\u0142a","dataOstatecznejRealizacji.ownAccount":"Operacja nie mo\u017Cliwa, rachunek odbiorcy jest rachunkiem w\u0142asnym Banku","dataOstatecznejRealizacji.illegal":"Operacja nie dozwolona, brak uprawnienia do zmiany daty realizacji","tytul.empty":"Pole niewype\u0142nione","okresRok.empty":"Okres rozliczenia nie mo\u017Ce by\u0107 pusty","okresRok.notEmpty":"Okres rozliczenia dla podanego SFP powinien by\u0107 pusty","okresRok.invalid":"Okres rozliczenia jest nieprawid\u0142owy","okresNumer.empty":"Numer okresu nie mo\u017Ce by\u0107 pusty","okresNumer.notEmpty":"Okres rozliczenia dla podanego SFP powinien by\u0107 pusty","okresNumer.invalid":"Numer okresu jest nieprawid\u0142owy","okresMiesiac.invalid":"Miesi\u0105c jest nieprawid\u0142owy","okresMiesiac.empty":"Miesi\u0105c nie mo\u017Ce by\u0107 pusty","okresTyp.invalid":"Typ okresu jest nieprawid\u0142owy","okresTyp.notEmpty":"Okres rozliczenia dla podanego SFP powinien by\u0107 pusty","rachunekUs.inactive":"W wybranej dacie p\u0142atno\u015Bci podany rachunek urz\u0119du skarbowego/izby celnej nie jest aktywny","identyfikator.maxlength":"Identyfikator nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C {IDENTYFIKATOR_LENGTH} znak\xF3w","identyfikator.empty":"Identyfikator nie mo\u017Ce by\u0107 pusty","identyfikator.nip.invalid":"NIP jest nieprawid\u0142owy","i
7996dentyfikator.pesel.invalid":"Pesel jest nieprawid\u0142owy","identyfikator.regon.invalid":"Regon jest nieprawid\u0142owy","identyfikator.dowod_osobisty.invalid":"Numer dowodu osobistego jest nieprawid\u0142owy","identyfikator.paszport.illegal":"Numer paszportu zawiera nieprawid\u0142owe znaki: {0}","identyfikator.paszport.invalid":"Numer paszportu jest nieprawid\u0142owy","identyfikator.paszport.illegalChar":"Numer paszportu mo\u017Ce zawiera\u0107 tylko litery i cyfry","identyfikator.inny_dokument.invalid":"Numer dokumentu to\u017Csamo\u015Bci jest nieprawid\u0142owy","identyfikator.illegalChar":"Identyfikator nie mo\u017Ce zawiera\u0107 spacji","typIdentyfikatora.required":"Wymagany jest typ identyfikatora","typIdentyfikatora.empty":"Typ identyfikatora nie mo\u017Ce by\u0107 pusty","typIdentyfikatora.invalid":"Typ identyfikatora jest nieprawid\u0142owy","idZobowiazania.clo.illegal":"Identyfikator zobowi\u0105zania zawiera nieprawid\u0142owe znaki","idZobowiazania.clo.empty":"Identyfikator zobowi\u0105zania nie mo\u017Ce by\u0107 pusty","idZobowiazania.illegal":"Identyfikator zobowi\u0105zania zawiera nieprawid\u0142owe znaki","rachunek.notObciazalny":"Nie mo\u017Cna wykona\u0107 przelewu z wybranego rachunku","rachunekOdbiorcy.elixir_expired":"Bank odbiorcy nie mo\u017Ce przyjmowa\u0107 przelew\xF3w","tytul.illegal":"Tytu\u0142 przelewu zawiera nieprawid\u0142owe znaki","skrotNazwy.exists":" Istnieje ju\u017C kontrahent o podanej nazwie","przelew.kontrahent.title":"Nie ma takiego kontrahenta","przelew.kontrahent.confirm":"Podany rachunek nie nale\u017Cy do \u017Cadnego kontrahenta, czy chcesz go doda\u0107?","przelew.sorbnet.bps":"Przelewy na rachunki w banku odbiorcy s\u0105 realizowane w ramach rozlicze\u0144 grupy BPS i w zwi\u0105zku z tym nie s\u0105 obj\u0119te trybem SORBNET. Przelew dotrze na rachunek odbiorcy w ci\u0105gu ok. godziny (w dni robocze w godz. 7:00-15:00)","przelew.sorbnet.wlasny":"Przelewy na inne rachunki naszego banku s\u0105 dokonywane w ramach wewn\u0119trznego systemu
7996ksi\u0119gowego, opcja SORBNET jest niedost\u0119pna. Przelew dotrze na rachunek odbiorcy w ci\u0105gu kilku minut (w dni robocze w godz. 8:00-18:00)","sorbnet.dataWykonania.notWorkDay":"Odznacz opcj\u0119 sorbnet lub wybierz dat\u0119 przysz\u0142\u0105 w dniu pracuj\u0105cym!","sorbnet.dataWykonania.outsideHours":"Przelew SORBNET nie mo\u017Ce by\u0107 zrealizowany. Przelew SORBNET mo\u017Ce by\u0107 zlecany w godzinach od {TRANSFER_SORBNET_OPENING_HOUR} do {TRANSFER_SORBNET_DEADLINE} lub z dat\u0105 przysz\u0142\u0105 b\u0119d\u0105c\u0105 dniem roboczym. Odznacz opcj\u0119 SORBNET lub wybierz dat\u0119 przysz\u0142\u0105 b\u0119d\u0105c\u0105 dniem roboczym.","sorbnet.dataWykonania.outsideHours.required":"Przelew SORBNET nie mo\u017Ce by\u0107 zrealizowany. Przelew SORBNET mo\u017Ce by\u0107 zlecany w godzinach od {TRANSFER_SORBNET_OPENING_HOUR} do {TRANSFER_SORBNET_DEADLINE} lub z dat\u0105 przysz\u0142\u0105 b\u0119d\u0105c\u0105 dniem roboczym. Wybierz dat\u0119 przysz\u0142\u0105 b\u0119d\u0105c\u0105 dniem roboczym.","sorbnet.dataWykonania.empty":"Wykonanie przelewu SORBNET nie jest mo\u017Cliwe. Nie wybrano daty wykonania","przelew.sorbnet.required":"Przelew na kwot\u0119 wi\u0119ksz\u0105 lub r\xF3wn\u0105 {TRANSFER_SORBNET_REQUIRED_AMOUNT} z\u0142 powinien by\u0107 zrealizowany poprzez SORBNET. Prosz\u0119 zmieni\u0107 typ przelewu.","nazwaSkrot.exists":"Istnieje ju\u017C kontrahent o takiej samej nazwie skr\xF3conej","bic.invalid":"Nie znaleziono kodu BIC. Je\u017Celi wprowadzony BIC jest poprawny prosz\u0119 wype\u0142ni\u0107 formularz u\u017Cywaj\u0105c TYLKO nazwy i adresu banku","bic.illegal":"Kod BIC zawiera nieprawid\u0142owe znaki","bank1.illegal":"Pierwsza linia nazwy banku zawiera nieprawid\u0142owe znaki","bank1.empty":"Pierwsza linia nazwy banku nie mo\u017Ce by\u0107 pusta","bank2.illegal":"Druga linia nazwy banku zawiera nieprawid\u0142owe znaki","bank3.illegal":"Pierwsza linia adresu banku zawiera nieprawid\u0142owe znaki","bank4.illegal":"Druga linia adresu banku zawiera nieprawid\u0142owe znaki","bank1.invalid":"Pierwsza linia nazwy banku zawiera nieprawid\u0142owe dane. Zaktualizuj dane kontrahenta","bank2.invalid":"Druga linia nazwy banku zawiera nieprawid\u0142owe dane. Zaktualizuj dane kontrahenta","bank3.invalid":"Pierwsza linia adresu banku zawiera nieprawid\u0142owe dane. Zaktualizuj dane kontrahenta","bank4.invalid":"Druga linia adresu banku zawiera nieprawid\u0142owe dane. Zaktualizuj dane kontrahenta","bic.empty":"Bic nie mo\u017Ce by\u0107 pusty","bic.length":"Bic musi mie\u0107 d\u0142ugo\u015B\u0107 8 lub 11 znak\xF3w","rachunekProwizji.invalid":"Rachunek prowizji jest nieprawid\u0142owy","rach.invalid_iban":"Podany rachunek jest nieprawid\u0142owy","rach.invalid_iban2":"Podany rachunek(IBAN) jest nieprawid\u0142owy","rach.illegal":"Pole zawiera nieprawid\u0142owe znaki","rachunekObciazany.empty":"Rachunek obci\u0105\u017Cany nie mo\u017Ce by\u0107 pusty","regon.checkSumInvalid":"Podany nr REGON jest niepoprawny","nip.checkSumInvalid":"Podany nr NIP jest niepoprawny","pesel.invalidCheckSum":"Podany nr PESEL jest niepoprawny","operator.empty":"Nazwa operatora nie mo\u017Ce by\u0107 pusta","operator.unknown":"Nieznany operator","telefon.empty":"Numer telefonu nie mo\u017Ce by\u0107 pusty","telefon.format":"Telefon musi by\u0107 w formacie 48XXXXXXXXX","telefon.inactive":"Podany numer jest nieaktywny","telefon.unknown":" Podany numer jest nieznany u operatora","error.field.operator.not_found":"Nieznany operator","error.field.phone_number.wrong_format":"Z\u0142y format numeru telefonu","error.field.phone_number.inactive":"Podany numer telefonu jest nieaktywny","error.field.phone_number.unknown":"Podany numer telefonu jest nieznany u operatora","error.global.fast_payment.bank.not_supported":"Bank odbiorcy nie obs\u0142uguje szybkich przelew\xF3w","error.global.fast_payment.bank.not_available":"Bank odbiorcy jest niedost\u0119pny","error.global.fast_payment.limit.exceeded":"Limit jednorazowej transakcji zosta\u0142 przekroczony","error.global.bluemedia.not_available":"Us\u0142uga do\u0142adowa\u0144 niedost\u0119pna","iban.duplicate":"Istnieje k
7996ontrahent dla podanego nrb","authentication.login_or_password_incorrect":"Nieprawid\u0142owy login lub has\u0142o","authentication.logging_incorrect":"Nieprawid\u0142owe logowanie","authentication.password_from_history":"Uzyto hasla z historii! ","authentication.old_password_incorrect":"Podano nieprawid\u0142owe aktualne has\u0142o","text.invalidSubstrings":"Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w","vatNr.invalidSubstrings":"Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w","vatNr.maxlength":"Numer faktury nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C 35 znak\xF3w","text.maxlength":"Dodatkowa tre\u015B\u0107 nie mo\u017Ce by\u0107 d\u0142u\u017Csza ni\u017C 33 znaki","identyfikator.forbiddenChar":'Identyfikator nie mo\u017Ce zawiera\u0107 znak\xF3w: / " | , oraz spacji',"vatNr.forbiddenChar":"Numer faktury nie mo\u017Ce zawiera\u0107 znaku |","text.forbiddenChar":"Dodatkowa tre\u015B\u0107 nie mo\u017Ce zawiera\u0107 znaku |","chars.illegal":"Pole zawiera nieprawid\u0142owe znaki","error.global.exception.not_handled":"Nieobs\u0142ugiwany typ b\u0142\u0119du"};var S3=["sorbnet.dataWykonania.beforeOpeningHour","sorbnet.dataWykonania.afterDeadlineHour"],Soe="sorbnet.dataWykonania.outsideHours",Toe="sorbnet.dataWykonania.outsideHours.required",Ioe="{TRANSFER_SORBNET_DEADLINE}",Aoe="{TRANSFER_SORBNET_OPENING_HOUR}",CE="--:--",koe=/^\d{1,2}:\d{2}$/,DE=(()=>{class t{constructor(){this.parameterService=m(qr),this.deadlineHour=dm(this.parameterService.getParameterAsString(wt.TRANSFER_SORBNET_DEADLINE).pipe($(e=>this.parseHour(e))),{initialValue:CE}),this.openingHour=dm(this.parameterService.getParameterAsString(wt.TRANSFER_SORBNET_OPENING_HOUR).pipe($(e=>this.parseHour(e))),{initialValue:CE}),this.outsideHoursMessage=Ct(()=>this.interpolate(this.openingHour(),this.deadlineHour()))}buildOutsideHoursMessage(e){return this.interpolate(this.openingHour(),this.formatHour(e))}buildRequiredOutsideHoursMessage(e){return this.interpolate(this.openingHour(),this.formatHour(e),Toe)}formatHour(e){return!e||isNaN(e.getTime())?CE:`${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}`}interpolate(e,n,r=Soe){return ln[r].replace(Aoe,e).replace(Ioe,n)}parseHour(e){return e?koe.test(e)?e:this.formatHour(new Date(e)):CE}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _r=(function(t){return t.TRANSFER_COMMON="TRANSFER_COMMON",t.TRANSFER_US="TRANSFER_US",t.TRANSFER_ZUS="TRANSFER_ZUS",t.TRANSFER_INTERNATIONAL="TRANSFER_INTERNATIONAL",t.DEPOSIT_OPENING="DEPOSIT_OPENING",t.DEPOSIT_MODIFICATION="DEPOSIT_MODIFICATION",t.DEPOSIT_BREACH="DEPOSIT_BREACH",t.STANDING_ORDER_OPENING="STANDING_ORDER_OPENING",t.STANDING_ORDER_MODIFICATION="STANDING_ORDER_MODIFICATION",t.STANDING_ORDER_BREACH="STANDING_ORDER_BREACH",t.GSM_TOP_UP="GSM_TOP_UP",t.TRANSFER_INSTANT="TRANSFER_INSTANT",t.TRANSFER_DEALING_BPS="TRANSFER_DEALING_BPS",t.TRANSFER_VAT="TRANSFER_VAT",t.TRANSFER_VAT_TOP_UP="TRANSFER_VAT_TOP_UP",t})(_r||{}),xn=(function(t){return t.PRZELEW_ZWYKLY="PRZELEW_ZWYKLY",t.PRZELEW_US="PRZELEW_US",t.PRZELEW_ZUS="PRZELEW_ZUS",t.PRZELEW_ZAGRANICZNY="PRZELEW_ZAGRANICZNY",t.LOKATA_ZALOZENIE="LOKATA_ZALOZENIE",t.LOKATA_MODYFIKACJA="LOKATA_MODYFIKACJA",t.LOKATA_ZERWANIE="LOKATA_ZERWANIE",t.ZLECENIE_STALE_ZALOZENIE="ZLECENIE_STALE_ZALOZENIE",t.ZLECENIE_STALE_MODYFIKACJA="ZLECENIE_STALE_MODYFIKACJA",t.ZLECENIE_STALE_ZERWANIE="ZLECENIE_STALE_ZERWANIE",t.DOLADOWANIE_GSM="DOLADOWANIE_GSM",t.PRZELEW_EKSPRES="PRZELEW_EKSPRES",t.PRZELEW_DEALING_BPS="PRZELEW_DEALING_BPS",t.PRZELEW_VAT="PRZELEW_VAT",t.PRZELEW_VAT_ZASILENIE="PRZELEW_VAT_ZASILENIE",t})(xn||{});var cR="przelew.sorbnet.required",yh=(()=>{class t{constructor(){this.parameterService=m(qr),this.appStore=m(Fo)}isSorbnetRequired(e,n){let r=n==="COMMON"?wt.TRANSFER_SORBNET_REQUIRED_COMMON_ENABLED:wt.TRANSFER_SORBNET_REQUIRED_VAT_ENABLED;return nn([this.parameterService.getParameterAsBoolean(wt.TRANSFER_SORBNET_REQUIRED_ENABLED),this.parameterService.getParameterAsBoolean(r),this.parameterService.getParameterAsStringArray(wt.TRANSFER_SORBNET_REQUIRED_LOGINS),this.parameterService.getParameterAsString(wt.TRANSFER_SORBNET_REQUIRED_AMOUNT)]).pipe($(([o,a,s,d])=>{if(!o||!a||!this.isLoginCovered(s))return!1;let p=this.parseAmount(d);return p>0&&e>=p}))}canDowngradeToDomestic(e){return e.length?nn(e.map(n=>this.isSorbnetRequired(n.amount,this.toRequiredTransferType(n)))).pipe($(n=>n.every(r=>!r)),We(1)):B(!0)}getThreshold(){return this.parameterService.getParameterAsString(wt.TRANSFER_SORBNET_REQUIRED_AMOUNT).pipe($(e=>this.parseAmount(e)))}getRequiredMessage(){return this.getThreshold().pipe($(e=>ln[cR].replace("{TRANSFER_SORBNET_REQUIRED_AMOUNT}",bt.amountFormat(e))))}toRequiredTransferType(e){return e.type===xn.PRZELEW_VAT?"VAT":"COMMON"}isLoginCovered(e){let n=e??[];if(n.length===0)return!0;let r=this.appStore.user()?.username;return!!r&&n.includes(r)}parseAmount(e){if(!e)return 0;let n=String(e).replace(/\s/g,"").replace(",","."),r=Number(n);return isNaN(r)?0:r}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var EE=class{static removeAllErrors(i){i.setErrors(null);for(let e in i.controls)i.controls.hasOwnProperty(e)&&i.controls[e].setErrors(null)}};var I3=(()=>{class t{constructor(e,n,r){this.notificationService=e,this.sorbnetRequiredService=n,this.sorbnetDeadlineService=r,this.errorBuffer=[]}overwriteErrorsInControlsFromValidationError(e,n){this.component=n,EE.removeAllErrors(this.component.getFormGroup()),this.errorBuffer=[],this.setErrorsFromMessagesInfoList(e),this.printUnsetErrors()}setErrorsFromMessagesInfoList(e){e.forEach(this.setErrorFromMsgInfo())}setErrorFromMsgInfo(){return e=>{let n=e.messageKey;if(n===cR){this.showSorbnetRequiredGlobally();return}let r=e.property,o=this.component.getControlByProperty(r);if(o===null){this.cacheToBuffer(n,r);return}o.enabled?this.setToInput(n,o):this.cacheToBuffer(n,r)}}setToInput(e,n){let r={};r[e]=!0,setTimeout(()=>
7996n.setErrors(r)),n.setErrors(r),n.markAsDirty(),n.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}cacheToBuffer(e,n){if(S3.includes(e)){this.showSorbnetOutsideHoursGlobally(n);return}let r=ln[e];this.errorBuffer.push({inputName:n,errorMessage:r})}printUnsetErrors(){this.errorBuffer.length>0&&this.notificationService.formErrors(this.errorBuffer)}showSorbnetRequiredGlobally(){this.sorbnetRequiredService.getRequiredMessage().pipe(We(1)).subscribe(e=>this.notificationService.formErrors([{inputName:"kwota",errorMessage:e}]))}showSorbnetOutsideHoursGlobally(e){this.notificationService.formErrors([{inputName:e,errorMessage:this.sorbnetDeadlineService.outsideHoursMessage()}])}static{this.\u0275fac=function(n){return new(n||t)(F(Le),F(yh),F(DE))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Rt=(()=>{class t{constructor(e,n,r){this.notificationService=e,this.spinnerService=n,this.formErrorsService=r}processError(e,n=ke,r=!0){return Ge(o=>(this.spinnerService.hideSpinner(),this.printError(o,e,r),n))}processErrorWithLocalFormError(e){return n=>n.pipe(Ge(r=>
7996(this.spinnerService.hideSpinner(),Rr.isTypeOf(r)?(r.inputErrorTypes&&r.inputErrorTypes.length>0?this.formErrorsService.overwriteErrorsInControlsFromValidationError(r.inputErrorTypes,e):this.printError(r,ze.FORM_ERROR,!0),B(r)):gn(()=>r))),ae(r=>!Rr.isTypeOf(r)))}printError(e,n,r){if(!(Rr.isTypeOf(e)&&!!e.messageToShow)&&!r)return;let a=Rr.isTypeOf(e)&&e.messageToShow?e.messageToShow:n;this.notificationService.error(a)}static{this.\u0275fac=function(n){return new(n||t)(F(Le),F($r),F(I3))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var wd=(()=>{class t{constructor(e){this.notificationService=e}save(e,n){return r=>r.pipe(L(o=>this.onSave(o,e,n)),Ge(this.onError()))}open(e){return n=>n.pipe(L(r=>this.onOpen(r,e)),Ge(this.onError()))}onSave(e,n,r){let o=new Blob([e],{type:r}),a=URL.createObjectURL(o),s=document.createElement("a");s.href=a,s.download=n,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)}onOpen(e,n){let r=new Blob([e],{type:n}),o=window.URL.createObjectURL(r);window.open(o)}onError(){return e=>{let n=Rr.isTypeOf(e)&&e.messageToShow?e.messageToShow:ze.FETCHING_DATA_ERROR;return this.notificationService.error(n),ke}}static{this.\u0275fac=function(n){return new(n||t)(F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var br=(()=>{class t{constructor(e,n,r,o,a){this.http=e,this.notificationService=n,this.errorProviderService=r,this.fileService=o,this.injector=a,this.contractorsApi=m(sE)}getContractorsNumber(e){return this.http.get(Iz,{params:P({},e)})}getContractors(e,n=0){let r=Ae(P({},e),{pageIndex:String(n)});return this.http.get(hl,{params:r}).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,B([])))}checkIfContractorExistsByAccount(e){return this.getContractors({shortName:"null",group:"null",name:"null",iban:ue.removeWhitespaces(e)}).pipe($(n=>n.length>0))}checkIfContractorExistsByShortName(e){return this.http.get(Az,{params:{name:e}})}saveAuthOperation(e){return this.saveUpdateAuthOperation(this.contractorsApi.savePrepare(e))}updateAuthOperation(e){return this.saveUpdateAuthOperation(this.contractorsApi.updatePrepare(e))}saveUpdateAuthOperation(e){return{prepare:()=>e.pipe($(n=>n.authMethodInfo)),perform:n=>this.contractorsApi.saveUpdatePerform(n),cancel:()=>
7996this.contractorsApi.saveUpdateCancel()}}getAllContractorsGroups(){return this.http.get(kz).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,B([])))}removeContractors(e){let n=[];e.forEach(o=>{n.push(String(o.id))});let r=new it({fromObject:{contractorIdList:n}});return this.http.delete(hl,{params:r}).pipe(L(()=>{this.notificationService.success(ze.CONTRACTOR_REMOVE_SUCCESS)}),this.errorProviderService.processError(ze.DELETE_ERROR,B([])))}saveCSVFile(){this.http.get(Mz,{responseType:vo}).pipe(this.fileService.save(`kontrahenci-${wn.getTodayWithTime()}.CSV`,Ra.TXT)).subscribe()}saveXMLFile(){this.http.get(Nz,{responseType:vo}).pipe(this.fileService.save(`kontrahenci-${wn.getTodayWithTime()}.XML`,Ra.XML)).subscribe()}uploadFile(e,n){let r=new it().set("encoding",e);return this.http.post(Oz,n,{params:r})}importAuthOperation(e,n,r){return{prepare:()=>this.contractorsApi.importPrepare(e,n).pipe(L(o=>r(o.data.length)),$(o=>o.authMethodInfo)),perform:o=>this.contractorsApi.importPerform(o),cancel:()=>this.contractorsApi.importCancel()}}openTransferDialog(e){e.type&&this.injector.get(vh).openDialog(vE.parseFromContractorType(e.type),ar.getFromContractor(e),Me.NEW)}changeGroup(e){return this.http.post(Rz,e).pipe(L(()=>{this.notificationService.success(ze.SUCCESS)}),this.errorProviderService.processError(ze.CONTRACTOR_GROUP_CHANGE_ERROR,B([])))}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Le),F(Rt),F(wd),F(ie))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Noe="data-confirm-button";function wE(t){return(t.closest("mat-dialog-container")??t.ownerDocument).querySelector(`[${Noe}]`)}var um=(()=>{class t{constructor(e,n,r,o,a){this.elementRef=e,this.injector=n,this.autocompleteTrigger=r,this.datepickerInput=o,this.select=a,this.subscription=new _e}ngOnInit(){this.autocompleteTrigger&&this.subscription.add(this.autocompleteTrigger.optionSelections.subscribe(()=>this.focusConfirmButton())),this.datepickerInput&&this.subscription.add(this.datepickerInput.dateChange.subscribe(()=>this.focusConfirmButton())),this.select&&this.subscription.add(this.select.optionSelectionChanges.subscribe(()=>this.focusConfirmButton()))}ngOnDestroy(){this.subscription.unsubscribe()}focusConfirmButton(){Dt(()=>wE(this.elementRef.nativeElement)?.focus(),{injector:this.injector})}static{this.\u0275fac=function(n){return new(n||t)(E(Q),E(ie),E(hr,10),E(pi,10),E(si,10))}}static{this.\u0275dir=N({type:t,selectors:[["","appFocusConfirmOnSelect",""]],standalone:!1})}}return t})();var mR=(()=>{class t{constructor(e,n){this.elementRef=e,this.injector=n}onEnter(){Dt(()=>{let e=wE(this.elementRef.nativeElement);e&&!e.disabled&&e.click()},{injector:this.injector})}static{this.\u0275fac=function(n){return new(n||t)(E(Q),E(ie))}}static{this.\u0275dir=N({type:t,selectors:[["","appConfirmOnEnter",""]],hostBindings:function(n,r){n&1&&T("keydown.enter",function(){return r.onEnter()})},standalone:!1})}}return t})();var Mt=(()=>{class t{constructor(){this.class="dialog__container"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-container"],["","appDialogContainer",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Nt=(()=>{class t{constructor(e,n){this.class="dialog__header";let r=document.getElementsByClassName("cdk-overlay-pane"),o=r.item(r.length-1),a=n.createDrag(e);a.withHandles([e]),a.withRootElement(o)}static{this.\u0275fac=function(n){return new(n||t)(E(Q),E($A))}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-header"],["","appDialogHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Foe=(()=>{class t{constructor(){this.class="dialog__subheader"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-subheader"],["","appDialogSubHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Ot=(()=>{class t{constructor(){this.class="dialog__content"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-content"],["","appDialogContent",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),vr=(()=>{class t{constructor(){this.class="dialog__section"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-section"],["","appDialogSection",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Nr=(()=>{class t{constructor(){this.class="dialog__section-header"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-section-header"],["","appDialogSectionHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Poe=(()=>{class t{constructor(){this.class="dialog__details"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["mat-expansion-panel","appDialogDetails",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})();var pR=(()=>{class t{constructor(){this.class="dialog__btn__panel"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-btn-panel"],["","appDialogBtnPanel",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Loe=(()=>{class t{constructor(){this.class="simple__bottom__panel"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-dialog-bottom-panel"],["","appDialogBottomPanel",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})();var A3=(()=>
7996{class t{constructor(){this.subject=new O}emitClickAction(){this.subject.next()}getClickAction(){return this.subject.asObservable()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bt=(()=>{class t{constructor(){this.el=m(Q),this.renderer=m(ot),this.renderer.setAttribute(this.el.nativeElement,"autocomplete","off")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["input"],["textarea"]]})}}return t})();var Voe=1e3,hR=(()=>{class t{constructor(){this.lockedMultiClick=new V,this.throttleTime=Voe,this.lockedMultiClickSubject=new O}clickEvent(e){e.preventDefault(),e.stopPropagation(),this.lockedMultiClickSubject.next(e)}ngOnInit(){this.subscription=this.lockedMultiClickSubject.pipe(dx(this.throttleTime)).subscribe(e=>{this.lockedMultiClick.emit(e)})}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["","appLockedMultiClick",""]],hostBindings:function(n,r){n&1&&T("click",function(a){return r.clickEvent(a)})},outputs:{lockedMultiClick:"lockedMultiClick"},standalone:!1})}}return t})();var Hoe=["uploader"];function Uoe(t,i){if(t&1){let e=Se();u(0,"button",8),T("click",function(){te(e);let r=_();return ne(r.cancel())}),u(1,"mat-icon"),h(2,"close"),c(),h(3),c()}if(t&2){let e=_();g("disabled",e.cancelDisabled),l(3),se(" ",e.buttonLabelCancel," ")}}function zoe(t,i){if(t&1){let e=Se();u(0,"button",9),T("lockedMultiClick",function(){te(e);let r=_();return ne(r.confirmAddNext())}),u(1,"mat-icon"),h(2,"done"),c(),h(3),c()}if(t&2){let e=_();g("disabled",e.confirmAddNextDisabled)("loading",e.loading),l(3),se(" ",e.buttonLabelConfirmAddNext," ")}}function Goe(t,i){if(t&1){let e=Se();u(0,"button",8),T("click",function(){te(e);let r=_();return ne(r.reset())}),u(1,"mat-icon"),h(2,"clear"),c(),h(3),c()}if(t&2){let e=_();g("disabled",e.resetDisabled),l(3),se(" ",e.buttonLabelReset," ")}}function Woe(t,i){if(t&1){let e=Se();u(0,"input",10,0),T("change",function(r){te(e);let o=_();return ne(o.importFile(r))}),c()}if(t&2){let e=_();g("accept",e.acceptedFileExtensions?e.acceptedFileExtensions.join(","):null)}}var Tt=(()=>{class t{constructor(e){this.actionButtonsPanelService=e,this.loading=!1,this.withCancelButton=!0,this.withResetButton=!0,this.withImportAction=!1,this.withConfirmAddNextButton=!1,this.confirmDisabled=!1,this.confirmAddNextDisabled=!1,this.focusConfirmInitially=!1,this.cancelDisabled=!1,this.resetDisabled=!1,this.buttonLabelCancel=tt.CANCEL,this.buttonLabelReset=tt.CLEAR,this.buttonLabelConfirm=tt.CONFIRM,this.buttonLabelConfirmAddNext=tt.SAVE_ADD_NEXT,this.cancelAction=new V,this.resetAction=new V,this.confirmAction=new V,this.confirmAddNextAction=new V,this.importFileAction=new V}set uploaderContent(e){this.withImportAction&&(this.uploader=e)}ngOnInit(){this.withImportAction&&(this.subscription=this.actionButtonsPanelService.getClickAction().subscribe(()=>this.uploader?.nativeElement.click()))}cancel(){this.cancelAction.emit()}reset(){this.resetAction.emit()}confirm(){this.confirmAction.emit()}confirmAddNext(){this.confirmAddNextAction.emit()}importFile(e){this.importFileAction.emit(e),e.target.value=""}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(E(A3))}}static{this.\u0275cmp=k({type:t,selectors:[["app-action-buttons-panel"]],viewQuery:function(n,r){if(n&1&&ve(Hoe,5),n&2){let o;H(o=U())&&(r.uploaderContent=o.first)}},inputs:{loading:"loading",withCancelButton:"withCancelButton",withResetButton:"withResetButton",withImportAction:"withImportAction",acceptedFileExtensions:"acceptedFileExtensions",withConfirmAddNextButton:"withConfirmAddNextButton",confirmDisabled:"confirmDisabled",confirmAddNextDisabled:"confirmAddNextDisabled",focusConfirmInitially:"focusConfirmInitially",cancelDisabled:"cancelDisabled",resetDisabled:"resetDisabled",buttonLabelCancel:"buttonLabelCancel",buttonLabelReset:"buttonLabelReset",buttonLabelConfirm:"buttonLabelConfirm",buttonLabelConfirmAddNext:"buttonLabelConfirmAddNext"},outputs:{cancelAction:"cancelAction",resetAction:"resetAction",confirmAction:"confirmAction",confirmAddNextAction:"confirmAddNextAction",importFileAction:"importFileAction"},standalone:!1,decls:11,vars:8,consts:[["uploader",""],[1,"buttons-position","flex-row","justify-between"],[1,"flex-row","gap-10"],["mat-raised-button","",3,"disabled"],["appLockedMultiClick","","mat-raised-button","",3,"disabled","loading"],[1,"flex-row","justify-end","gap-10"],["autocomplete","off","hidden","","type","file",3,"accept"],["data-confirm-button","","mat-raised-button","","appLockedMultiClick","",3,"lockedMultiClick","disabled","loading"],["mat-raised-button","",3,"click","disabled"],["appLockedMultiClick","","mat-raised-button","",3,"lockedMultiClick","disabled","loading"],["autocomplete","off","hidden","","type","file",3,"change","accept"]],template:function(n,r){n&1&&(u(0,"div",1)(1,"div",2),v(2,Uoe,4,2,"button",3),v(3,zoe,4,3,"button",4),c(),u(4,"div",5),v(5,Goe,4,2,"button",3),v(6,Woe,2,1,"input",6),u(7,"button",7),T("lockedMultiClick",function(){return r.confirm()}),u(8,"mat-icon"),h(9,"done"),c(),h(10),c()()()),n&2&&(l(2),y(r.withCancelButton?2:-1),l(),y(r.withConfirmAddNextButton?3:-1),l(2),y(r.withResetButton?5:-1),l(),y(r.withImportAction?6:-1),l(),g("disabled",r.confirmDisabled)("loading",r.loading),oe("cdkFocusInitial",r.focu
7996sConfirmInitially?"":null),l(3),se(" ",r.buttonLabelConfirm," "))},dependencies:[Yn,Gn,Bt,ac,hR],styles:[".buttons-position[_ngcontent-%COMP%]{margin-top:10px}input[type=file][_ngcontent-%COMP%]{display:none}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-10[_ngcontent-%COMP%]{gap:10px}"]})}}return t})();var $oe=["trigger"];function qoe(t,i){if(t&1&&(u(0,"mat-option",7),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e," ")}}var xE=(()=>{class t{constructor(e,n,r,o){this.dialogRef=e,this.notificationService=n,this.contractorService=r,this.data=o,this.ButtonLabels=tt,this.listFlag=!1,this.data&&(this.contractorsForUpdateGroup=this.data.details[0]),this.chooseGroupFC=new z}ngOnInit(){this.chooseGroupFC.setValue(""),this.getContractorsGroups()}close(){this.dialogRef.close()}triggerDropDownList(e){e.stopPropagation(),this.listFlag?(this.autoComplete.closePanel(),this.listFlag=!1):(this.autoComplete.openPanel(),this.listFlag=!0)}closeDropDownList(){this.autoComplete.closePanel()}updateContractorGroup(){if(this.data){let e={contractors:this.data.details,group:this.chooseGroupFC.value};this.contractorService.changeGroup(e).pipe(L(()=>{let n=this.contractorsForUpdateGroup.length>1?"grupy":"grup\u0119";this.notificationService.success(`Dodano ${n}`),this.close()}),Ge(()=>(this.notificationService.error(ze.SAVING_ERROR),this.close(),B([])))).subscribe()}else this.dialogRef.close(this.chooseGroupFC.value)}getContractorsGroups(){this.contractorService.getAllContractorsGroups().pipe(L(e=>{e.length===0&&this.notificationService.default("Brak grup w bazie")}),Ge(()=>(this.notificationService.error(ze.FETCHING_DATA_ERROR),B([])))).subscribe(e=>this.groups=e)}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Le),E(br),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-assign-group-dialog"]],viewQuery:function(n,r){if(n&1&&ve($oe,5),n&2){let o;H(o=U())&&(r.autoComplete=o.first)}},standalone:!1,decls:17,vars:5,consts:[["trigger","matAutocompleteTrigger"],["auto","matAutocomplete"],["appearance","outline"],["autocomplete","off","appFocusConfirmOnSelect","","appConfirmOnEnter","","matInput","","placeholder","Wpisz/Wybierz grup\u0119",3,"input","formControl","matAutocomplete"],["mat-icon-button","","matSuffix",""],[3,"click"],["autoActiveFirstOption",""],[3,"value"],[3,"cancelAction","confirmAction","withResetButton","confirmDisabled","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Wyb\xF3r grupy przy imporcie"),c(),u(3,"app-dialog-content")(4,"mat-form-field",2)(5,"mat-label"),h(6,"Grupa"),c(),u(7,"input",3,0),T("input",function(){return r.closeDropDownList()}),c(),u(9,"button",4)(10,"mat-icon",5),T("click",function(a){return r.triggerDropDownList(a)}),h(11,"more_vert"),c()(),u(12,"mat-autocomplete",6,1),He(14,qoe,2,2,"mat-option",7,at),c()()(),u(16,"app-action-buttons-panel",8),T("cancelAction",function(){return r.close()})("confirmAction",function(){return r.updateContractorGroup()}),c()()),n&2){let o=ye(13);l(7),g("formControl",r.chooseGroupFC)("matAutocomplete",o),l(7),Ue(r.groups),l(2),g("withResetButton",!1)("confirmDisabled",(r.chooseGroupFC.value==null?null:r.chooseGroupFC.value.length)===0)("buttonLabelConfirm",r.ButtonLabels.OK)}},dependencies:[Je,Xe,um,mR,Ve,qe,Ln,Da,Qt,hr,fr,Gn,et,Mt,Nt,Ot,$e,Tt],styles:[".width[_ngcontent-%COMP%]{width:100%}.subtitle[_ngcontent-%COMP%]{color:#2196f3;font-size:15px;margin-bottom:3px}"]})}}return t})();var SE=(()=>{class t{constructor(e){this.control=e}onInputChange(e){let n=this.control.control;if(!n)return;let r=n.value,o=bt.getOnlyNumbers(r);n.setValue(o),r!==o&&e.stopPropagation()}static{this.\u0275fac=function(n){return new(n||t)(E(Li))}}static{this.\u0275dir=N({type:t,selectors:[["input","appOnlyNumbers",""]],hostBindings:function(n,r){n&1&&T("input",function(a){return r.onInputChange(a)})},standalone:!1})}}return t})();var Y_=(()=>{class t{constructor(){this.IBAN_MAX_LENGTH=35,this.fb=m(Er),this.form=this.fb.nonNullable.group({number:this.fb.nonNullable.control("",[G.required,G.maxLength(this.IBAN_MAX_LENGTH),G.pattern(ue.ibanPattern)]),name:this.fb.nonNullable.control(""),address:this.fb.nonNullable.control(""),city:this.fb.nonNullable.control("")})}reset(e={emitEvent:!0}){this.form.reset({number:"",name:"",address:"",city:""},e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var fl=(()=>{class t{constructor(e){this.http=e}getDomesticBanks(e,n){return this.http.get(uE,{params:Ae(P({},e),{pageIndex:String(n)})})}getDomesticBank(e){return this.http.get(`${uE}/${e}`)}getDomesticBanksCount(e){return this.http.get(Lz,{params:P({},e)})}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var gR=(()=>{class t{getBankByAccount(e){return ue.isEmpty(e)?ke:this.banksService.getDomesticBank(e)}constructor(){this.banksService=m(fl),this.bankInputFormService=m(Y_),this.bankInputForm=this.bankInputFormService.form,this.listen()}listen(){this.bankInputForm.controls.number.valueChanges.pipe(hn(),Re(this.bankInputForm.controls.number.value),It(),hi(500),W(this.getBankByAccount.bind(this)),L(e=>{this.bankInputForm.setValue({number:this.bankInputForm.controls.number.value,name:e.bankName,address:e.address,city:e.address2},{emitEvent:!1}),this.bankInputForm.updateValueAndValidity({emitEvent:!1})}
7996)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var K_=(()=>{class t{static{this.REPAYMENTS_DIALOG_TITLE="Najbli\u017Csze sp\u0142aty"}static{this.MASS_STATEMENTS_TITLE="Wybierz wyci\u0105g"}static{this.EXPORT_MT940_TITLE="Wybierz"}static{this.ACCEPT_TRANSFER_DELETE_TITLE="Potwierd\u017A usuni\u0119cie"}static{this.ACCEPT_TRANSFER_DELETE_MESSAGE="Czy na pewno chcesz usun\u0105\u0107 wybrane rekordy?"}static{this.ACCEPT_TRANSFER_TO_SIGN_TITLE="Potwierd\u017A przekazanie do podpisu"}static{this.ACCEPT_TRANSFER_TO_SIGN_MESSAGE="Czy na pewno chcesz przekaza\u0107 do podpisu ?"}static{this.DELETE_TOP_UP_TITLE="Potwierd\u017A usuni\u0119cie"}static{this.DELETE_TOP_UP_MESSAGE="Czy na pewno chcesz usun\u0105\u0107 wybrany rekord?"}static{this.FAST_EXECUTION_TOP_UP_TITLE="Potwierd\u017A szybk\u0105 realizacj\u0119"}static{this.TO_SIGN_TOP_UP_TITLE="Potwierd\u017A przekazanie"}static{this.FAST_EXECUTION_TOP_UP_MESSAGE="Czy na pewno chcesz wykona\u0107 szybk\u0105 realizacj\u0119 ?"}static{this.TO_SIGN_TOP_UP_MESSAGE="Czy na pewno chcesz przekaza\u0107 do podpisu ?"}static{this.EXECUTION_DETAILS="Stan realizacji przelew\xF3w"}static{this.DIALOG_CLOSE="Zamkni\u0119to"}static{this.DIALOG_SUCCESS="Potwierdzono"}static{this.DIALOG_ERROR="Wyst\u0105pi\u0142 b\u0142\u0105d"}static{this.CREATE_BUNDLE_TITLE="Nowa Paczka"}static{this.EDIT_BUNDLE_TITLE="Edycja Paczki"}static{this.ACCEPT_CONTRACTOR_DELETE_TITLE="Potwierd\u017A usuni\u0119cie"}static{this.ACCEPT_CONTRACTOR_DELETE_MESSAGE="Czy na pewno chcesz usun\u0105\u0107 kontrahenta z listy?"}static{this.ERROR_VALIDATION="Wyst\u0105pi\u0142 b\u0142\u0105d"}static{this.LOCKS_TITLE="Blokady"}static{this.FRIENDLY_NAMES_TITLE="Podaj przyjazn\u0105 nazw\u0119"}static{this.CONFIRM_OPERATION="Potwierd\u017A operacj\u0119"}static{this.NO_TURNOVER_ACCOUNTS="Brak rachunk\xF3w do zaznaczenia"}}return t})();var lc=(function(t){return t[t.BASIC_CONFIRM=0]="BASIC_CONFIRM",t[t.BASIC_YES_NO_CONFIRM=1]="BASIC_YES_NO_CONFIRM",t[t.SESSION_CONFIRM=2]="SESSION_CONFIRM",t})(lc||{});function Yoe(t,i){if(t&1&&(u(0,"p",0),h(1),c()),t&2){let e=_();l(),S(e.message)}}function Koe(t,i){if(t&1&&(u(0,"p",0)(1,"strong"),h(2),c()()),t&2){let e=_();l(2),S(e.hint)}}function Xoe(t,i){if(t&1&&(u(0,"p"),h(1),c()),t&2){let e=_();l(),se("Ilo\u015B\u0107 zaznaczonych operacji: ",e.data.details.length)}}function Zoe(t,i){if(t&1&&(u(0,"p"),h(1),c()),t&2){let e=_();l(),se("Do ko\u0144ca sesji pozosta\u0142o ",e.data.details.timeLeft,". Potwierd\u017A je\u015Bli chcesz przed\u0142u\u017Cy\u0107 sesj\u0119")}}var Sd=(()=>{class t{constructor(e,n,r,o,a){this.dialogRef=e,this.notificationService=n,this.spinnerService=r,this.errorProcessingService=o,this.data=a,this.okConfirmation=tt.CONFIRM,this.noConfirmation=tt.CANCEL,this.showCancelBtn=!0,this.CONFIRM_TYPES=lc,this.title=this.data.title,this.message=this.data.message??"",this.hint=this.data.hint??"",this.errorMessage=this.data.errorMessage??"",this.showCancelBtn=this.data.showCancelBtn??!0}ngOnInit(){this.data.type===lc.BASIC_YES_NO_CONFIRM&&(this.okConfirmation=tt.YES,this.noConfirmation=tt.NO),this.data.okLabel&&(this.okConfirmation=this.data.okLabel)}discard(){this.dialogRef.close({state:!1})}confirm(){let e=this.data.confirmation;if(e){let n=this.data.details?e?.confirm(this.data.details):e.confirm();this.spinnerService.showSpinner(),n.pipe(L(()=>{this.notificationService.success(K_.DIALOG_SUCCESS),this.spinnerService.hide
7996Spinner(),this.dialogRef.close({state:!0})}),this.errorProcessingService.processError(ze.ERROR_OCCURED)).subscribe()}else this.dialogRef.close({state:!0})}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Le),E($r),E(Rt),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-confirm-dialog"]],standalone:!1,decls:11,vars:11,consts:[[1,"preserve-whitespace"],[1,"error-message"],[3,"cancelAction","confirmAction","withCancelButton","focusConfirmInitially","buttonLabelCancel","buttonLabelConfirm","withResetButton"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content"),v(4,Yoe,2,1,"p",0),v(5,Koe,3,1,"p",0),v(6,Xoe,2,1,"p"),v(7,Zoe,2,1,"p"),u(8,"p",1),h(9),c()(),u(10,"app-action-buttons-panel",2),T("cancelAction",function(){return r.discard()})("confirmAction",function(){return r.confirm()}),c()()),n&2&&(l(2),S(r.title),l(2),y(r.message?4:-1),l(),y(r.hint?5:-1),l(),y(r.data.details&&r.data.type!==r.CONFIRM_TYPES.SESSION_CONFIRM?6:-1),l(),y(r.data.type===r.CONFIRM_TYPES.SESSION_CONFIRM?7:-1),l(2),S(r.errorMessage),l(),g("withCancelButton",r.showCancelBtn)("focusConfirmInitially",r.data.focusConfirmInitially??!0)("buttonLabelCancel",r.noConfirmation)("buttonLabelConfirm",r.okConfirmation)("withResetButton",!1))},dependencies:[Mt,Nt,Ot,Tt],styles:[".error-message[_ngcontent-%COMP%]{color:red}.preserve-whitespace[_ngcontent-%COMP%]{white-space:pre-wrap}"]})}}return t})();var R3=(()=>{class t{constructor(){this.ibanRegex=new RegExp("^(?:((?:IT|SM)\\d{2}[A-Z]{1}\\d{22})|(NL\\d{2}[A-Z]{4}\\d{10})|(LV\\d{2}[A-Z]{4}\\d{13})|((?:BG|GB|IE)\\d{2}[A-Z]{4}\\d{14})|(GI\\d{2}[A-Z]{4}\\d{15})|(RO\\d{2}[A-Z]{4}\\d{16})|(MT\\d{2}[A-Z]{4}\\d{23})|(NO\\d{13})|((?:DK|FI)\\d{16})|((?:SI)\\d{17})|((?:AT|EE|LU|LT)\\d{18})|((?:HR|LI|CH)\\d{19})|((?:DE|VA)\\d{20})|((?:AD|CZ|ES|MD|SK|SE)\\d{22})|(PT\\d{23})|((?:IS)\\d{24})|((?:BE)\\d{14})|((?:FR|MC|GR)\\d{25})|((?:PL|HU|CY)\\d{26}))$")}validate(e){return this.ibanRegex.test(e.replace(/\s/g,"").toUpperCase())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var M3=(()=>{class t{constructor(){this.accountNumberRegexp=new RegExp("^[0-9]{18,26}$")}validate(e){return this.accountNumberRegexp.test(e.replace(/\s/g,"").toUpperCase())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Sut=(()=>{class t{isImpossible(e){return Array.isArray(e.msgInfos)&&!!e.msgInfos.length&&this.isSorbnetError(e.msgInfos[0])}isSorbnetError(e){return e.messageKey==="sorbnet"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var TE=(()=>{class t{constructor(e,n,r,o,a){this.contractorService=e,this.dialog=n,this.ibanValidationService=r,this.accountNumberValidationService=o,this.notificationService=a}validate(e){return $n(()=>B(ct.FOREIGN_TRANSFER===e.type?this.ibanValidationService.validate(e.targetAccount):this.accountNumberValidationService.validate(e.targetAccount))).pipe(W(n=>n?B(!0):this.openConfirmationDialogForInvalidIbanOrNrb(e.type)),ae(Boolean),W(()=>this.checkShortNameUniqueness(e)),ae(Boolean),W(()=>this.contractorService.checkIfContractorExistsByAccount(e.targetAccount)),W(n=>n?this.openConfirmationDialogAndDoProperAction():B(!0)))}checkShortNameUniqueness(e){return e.id?B(!0):this.contractorService.checkIfContractorExistsByShortName(e.shortName).pipe(L(n=>{n&&this.notificationService.error(ln["nazwaSkrot.exists"])}),$(n=>!n))}openConfirmationDialogAndDoProperAction(){let e=new Jt;return e.data={title:"Potwierd\u017A numer rachunku",message:"Kontrahent o podanym numerze rachunku ju\u017C istnieje, czy chcesz dopisa\u0107 nowego?",type:lc.BASIC_YES_NO_CONFIRM},this.dialog.open(Sd,e).afterClosed().pipe($(n=>n.state))}openConfirmationDialogForInvalidIbanOrNrb(e){let n=new Jt,r=this.returnMessageForIbanOrNrbDialog(e);return n.data={title:"Potwierd\u017A numer rachunku",message:r,type:lc.BASIC_YES_NO_CONFIRM},this.dialog.open(Sd,n).afterClosed().pipe($(o=>o.state))}returnMessageForIbanOrNrbDialog(e){return ct.FOREIGN_TRANSFER===e?"Podany numer rachunku nie jest zgodny z formatem IBAN. Czy jeste\u015B pewien, \u017Ce podany numer jest poprawny?":"Podany numer rachunku nie jest zgodny z formatem NRB. Czy jeste\u015B pewien, \u017Ce podany numer jest poprawny?"}static{this.\u0275fac=function(n){return new(n||t)(F(br),F(mt),F(R3),F(M3),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Vut="transfer_list",jut="transfer_sort",Hut="transfer_sort_direction",Uut="execution_list",zut="execution_sort",Gut="execution_sort_direction",Wut="sign_list",$ut="sign_sort",qut="sign_sort_direction",Yut="deposit_list",Kut="deposit_sort",Xut="deposit_sort_direction",Zut="standing_order_list",Qut="standing_order_sort",Jut="standing_order_sort_direction",emt="gsm_boost_sort",tmt="gsm_boost_sort_direction",_R="contractors_list",bR="contractors_sort",vR="contractors_sort_direction",nmt="bank_list",imt="banks_sort",rmt="banks_sort_direction",yR="foreign_bank_list",CR="foreign_banks_sort",DR="foreign_banks_sort_direction",ER="tax_office_list",wR="tax_office_sort",xR="tax_office_sort_direction",omt="interest_rate_sort",amt="interest_rate_direction",smt="exchange_rate_sort",lmt="exchange_rate_direction",cmt="approvals_interface_preference",N3="selected_client_id",dmt="mobile_app_banner_dismissed";var Ma=class extends iD{constructor(){super(...arguments),this.comparator=new Intl.Collator("pl",{sensitivity:"base",numeric:!0}).compare,this.sortData=(i,e)=>{let n=e.active,r=e.direction;return this.sortDataCore(i,n,r)}}sortDataCore(i,e,n){return!e||n===""?i:i.sort((r,o)=>{let a=this.emptyIfUndefined(this.sortingDataAccessor(r,e)),s=this.emptyIfUndefined(this.sortingDataAccessor(
7996o,e));return this.comparator(a,s)*(n==="asc"?1:-1)})}emptyIfUndefined(i){return i===void 0?"":i}};var fmt="desc";var gmt=[10,20,50,100],_mt=10,bmt=0;var Ch=(()=>{class t{constructor(e,n){this.http=e,this.notificationService=n}getTaxOfficesFilterList(e,n=0){let r=new it().set("pageIndex",n.toString());return this.http.post(C3,e,{params:r}).pipe(Ge(()=>(this.notificationService.error(ze.FETCHING_DATA_ERROR),B([]))))}getTaxOfficeFromIBAN(e){let n={accountIban:e};return this.getTaxOfficesFilterList(n)}getSymbolOfPaymentTypes(e){let n=new it().set("sfpGrp",e.toString());return this.http.get(E3,{params:n})}getTaxOfficeCount(e){return this.http.post(D3,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var eae={authentication:"login_authentication_failed",password_expiration:"login_password_expiration_failed",session_data:"login_session_data_failed",terms:"login_terms_failed",messages:"login_messages_failed"},tae={CANCELLED:"login_cancelled_by_user",ABORTED:"login_second_stage_aborted",PREPARE_FAILED:"login_second_stage_prepare_failed",UNKNOWN:"login_second_stage_failed",[kr.AUTH_INCORRECT]:"login_second_stage_auth_incorrect",[kr.AUTH_EXPIRED]:"login_second_stage_auth_expired",[kr.AUTH_BLOCKED]:"login_second_stage_auth_blocked",[kr.GENERAL]:"login_second_stage_failed"},nae="login_failed",O3="login_terms_declined";function F3(t){return tae[t]}var mm=class extends Error{constructor(i,e){super(e instanceof Error?e.message:String(e)),this.stage=i,this.cause=e}};function Dh(t){return Ge(i=>gn(()=>i instanceof mm?i:new mm(t,i)))}function P3(t){let i=t instanceof mm?t.cause:t;return iae(i)?i.loginFailureReason:t instanceof mm?eae[t.stage]:nae}function L3(t){return t instanceof mm?t.cause:t}function iae(t){return typeof t?.loginFailureReason=="string"}var li=(()=>{class t{static{this.SMALL=["dialog","small"]}static{this.MEDIUM=["dialog","medium"]}static{this.LARGE=["dialog","large"]}}return t})();var cc=(function(t){return t[t.GENERAL_SECURITY_ERROR=100]="GENERAL_SECURITY_ERROR",t[t.PASSWORD_EXPIRED=101]="PASSWORD_EXPIRED",t[t.HOMENET_SECURITY_ERROR=102]="HOMENET_SECURITY_ERROR",t[t.MISSING_PERMISSION=103]="MISSING_PERMISSION",t[t.AUTHORIZATION_NEEDED=104]="AUTHORIZATION_NEEDED",t[t.SESSION_SECURITY_ERROR=105]="SESSION_SECURITY_ERROR",t[t.GENERAL_AUTHORIZATION_ERROR=200]="GENERAL_AUTHORIZATION_ERROR",t[t.INCORRECT_AUTHORIZATION=201]="INCORRECT_AUTHORIZATION",t[t.EXPIRED_AUTHORIZATION=202]="EXPIRED_AUTHORIZATION",t[t.NO_AUTHORIZATION_METHOD=203]="NO_AUTHORIZATION_METHOD",t[t.BLOCKED_AUTHORIZATION=204]="BLOCKED_AUTHORIZATION",t[t.LOGIN_BLOCKED=205]="LOGIN_BLOCKED",t[t.WRONG_USERNAME_OR_PASSWORD=206]="WRONG_USERNAME_OR_PASSWORD",t[t.NO_CONNECTION_TO_EJB=207]="NO_CONNECTION_TO_EJB",t[t.GENERAL_VALIDATION_ERROR=300]="GENERAL_VALIDATION_ERROR",t[t.INCORECT_BUNDLE=301]="INCORECT_BUNDLE",t[t.UNAVAILABLE_FUNCTION=302]="UNAVAILABLE_FUNCTION",t[t.BUNDLE_FLOW=303]="BUNDLE_FLOW",t[t.NO_FREE_FUNDS=304]="NO_FREE_FUNDS",t[t.WRONG_BUNDLE_DATA=305]="WRONG_BUNDLE_DATA",t[t.UNAVAILABLE_ACTION=306]="UNAVAILABLE_ACTION",t[t.BUNDLE_NOT_EDITABLE=307]="BUNDLE_NOT_EDITABLE",t[t.VALUE_NOT_EDITABLE=308]="VALUE_NOT_EDITABLE",t[t.DISABLED_ACTION=309]="DISABLED_ACTION",t[t.USER_IP_INVALID=310]="USER_IP_INVALID",t[t.AUTODEALIN_ID_INVALID=311]="AUTODEALIN_ID_INVALID",t[t.CARD_LIMITS_INVALID=312]="CARD_LIMITS_INVALID",t[t.WRONG_IBAN=313]="WRONG_IBAN",t[t.WRONG_CONTRACTOR_DATA=314]="WRONG_CONTRACTOR_DATA",t[t.INCORRECT_FILE=315]="INCORRECT_FILE",t[t.LARGE_FILE_SIZE=316]="LARGE_FILE_SIZE",t[t.EXIMEE_NO_REQUIRED_DATA=317]="EXIMEE_NO_REQUIRED_DATA",t[t.WRONG_CONDITION_IN_SIGNATURE_RULE=318]="WRONG_CONDITION_IN_SIGNATURE_RULE",t[t.WRONG_DATE_FROM_PAST=319]="WRONG_DATE_FROM_PAST",t[t.DISPOSITION_MODIFICATION_ERROR=320]="DISPOSITION_MODIFICATION_ERROR",t[t.EMPTY_BUNDLE=321]="EMPTY_BUNDLE",t[t.SORBNET_NOT_WORK_DAY=322]="SORBNET_NOT_WORK_DAY",t[t.SORBNET_AFTER_DEADLINE_HOUR=323]="SORBNET_AFTER_DEADLINE_HOUR",t[t.SORBNET_BEFORE_OPENING_HOUR=326]="SORBNET_BEFORE_OPENING_HOUR",t[t.PASSWORD_POLICY=327]="PASSWORD_POLICY",t[t.GENERAL_SERVER_ERROR=500]="GENERAL_SERVER_ERROR",t[t.TOO_MANY_REQUEST=501]="TOO_MANY_REQUEST",t[t.MAX_UPLOAD_SIZE=502]="MAX_UPLOAD_SIZE",t})(cc||{});var rae=[or.KIR_M_SZAFIR],B3=[{value:or.KIR_CARBON,label:"KIR Carbon"},{value:or.KIR_GRAPHITE,label:"KIR Graphite Szafir"},{value:or.CRYPTOCARD_GRAPHITE,label:"CryptoCard Graphite"},{value:or.KIR_M_SZAFIR,label:"KIR mSzafir (chmurowy)"},{value:or.SIGILLUM_BLUE,label:"Sigillum Blue"},{value:or.SIGILLUM_DARK,label:"Sigillum Dark"},{value:or.SIGILLUM_M_EDO_APP,label:"Sigillum eDO App (chmurowy)"},{value:or.ASSECO,label:"Certum (Opcja 1)"},{value:or.ASSECO_OLD,label:"Certum (Opcja 2)"},{value:or.ASSECO_M_SIMPLY_SIGN,label:"Asseco SimplySign (chmurowy)"},{value:or.CENCERT_OLD,label:"CenCert (ENCARD)"},{value:or.CENCERT,label:"CenCert (SafeNet)"},{value:or.CENCERT_M_RSIGN,label:"CenCert rSign (chmurowy)"},{value:or.EUROCERT,label:"EuroCert"}];function TR(t){return t!==null&&!rae.includes(t)}var oae="Aplikacja SignNetHost nie odpowiedzia\u0142a w wyznaczonym czasie. Sprawd\u017A, czy nadal dzia\u0142a, i spr\xF3buj ponownie.",aae="Rozszerzenie (wtycz
7996ka) SignNet nie mo\u017Ce po\u0142\u0105czy\u0107 si\u0119 z aplikacj\u0105 SignNetHost. Sprawd\u017A, czy jest zainstalowana i uruchomiona.",sae="Nie wykryto rozszerzenia (wtyczki) SignNet w przegl\u0105darce. Zainstaluj je, od\u015Bwie\u017C stron\u0119 i spr\xF3buj ponownie.",V3={PIN_INCORRECT:"B\u0142\u0119dny PIN",PIN_LOCKED:"Zablokowany PIN",PIN_INVALID_FORMAT:"PIN ma nieprawid\u0142owy format",PIN_INVALID_LENGTH:"PIN ma nieprawid\u0142ow\u0105 d\u0142ugo\u015B\u0107",PIN_EXPIRED:"PIN straci\u0142 wa\u017Cno\u015B\u0107",NO_CARD:"Karta jest pusta lub nie w\u0142o\u017Cono/pod\u0142\u0105czono karty",CERTIFICATE_NOT_MATCHING:"Certyfikat na karcie nie odpowiada temu zarejestrowanemu w banku. Sprawd\u017A, czy u\u017Cywasz w\u0142a\u015Bciwej karty.",CERTIFICATE_EXPIRED:"Certyfikat straci\u0142 wa\u017Cno\u015B\u0107",CERTIFICATE_TYPE_INVALID:"B\u0142\u0119dny typ certyfikatu",CERTIFICATE_NOT_FOUND:"Nie wykryto podpisu kwalifikowanego",DRIVER_NOT_FOUND:"Nie mo\u017Cna odnale\u017A\u0107 sterownik\xF3w podpisu kwalifikowanego",CARD_UNREADABLE:"Nie mo\u017Cna odczyta\u0107 zawarto\u015Bci karty",LOGIN_FAILED:"Nie uda\u0142o si\u0119 zalogowa\u0107 do karty. Sprawd\u017A PIN i pod\u0142\u0105czenie czytnika.",SIGNING_FAILED:"B\u0142\u0105d podczas podpisywania",CERTIFICATE_ERROR:"B\u0142\u0105d certyfikatu",INITIALIZATION_FAILED:"B\u0142\u0105d inicjalizacji karty",FAILED:"B\u0142\u0105d podczas autoryzacji podpisem kwalifikowanym"},lae=[[["ckr_pin_invalid","ckr_pin_incorrect","pkcs11badpinexception","bledny kod pin"],"PIN_INCORRECT"],[["ckr_pin_locked","pkcs11pinlockedexception","pin do certyfikatu jest zablokowany","ready state: pin_locked"],"PIN_LOCKED"],[["niepoprawny format"],"PIN_INVALID_FORMAT"],[["niepoprawna dlugosc"],"PIN_INVALID_LENGTH"],[["pin do certyfikatu jest niewazny"],"PIN_EXPIRED"],[["found 0 devices"],"NO_CARD"],[["nie znaleziono waznego certyfikatu"],"CERTIFICATE_NOT_MATCHING"],[["certyfikat stracil waznosc"],"CERTIFICATE_EXPIRED"],[["illegal_cert_type","unsupported_cert_type"],"CERTIFICATE_TYPE_INVALID"],[["slots_not_found","pkcs11nocertfoundexception","nie odnaleziono certyfikatu"],"CERTIFICATE_NOT_FOUND"],[["module_not_found","module not found","unable to load library"],"DRIVER_NOT_FOUND"],[["headlessexception"],"CARD_UNREADABLE"],[["pkcs11nocardfoundexception","device is not in ready state"],"NO_CARD"],[["blad podczas logowania","failed to login"],"LOGIN_FAILED"],[["pkcs11signexception","error signing message","signature verification failed"],"SIGNING_FAILED"],[["certificateexception"],"CERTIFICATE_ERROR"],[["pkcs11initializationexception","pkcs#11 initialization failed"],"INITIALIZATION_FAILED"]];function cae(t){return t.normalize("NFD").replace(new RegExp("\\p{M}","gu"),"").replace(/Å/g,"l").replace(/Å/g,"L").toLowerCase()}function j3(t,i){let e=cae([...t,i??""].join(" ")),n=lae.find(([r])=>r.some(o=>e.includes(o)));return n?n[1]:"FAILED"}function H3(t,i){return V3[j3(t,i)]}var dc=class t extends Error{constructor(i,e,n=[],r=null){super(i),this.kind=e,this.logs=n,this.detail=r,this.name="SignNetError",Object.setPrototypeOf(this,t.prototype)}static failed(i,e){let n=j3(i,e),r=e&&n==="FAILED"?e:null;return new t(V3[n],n,i,r)}static timeout(){return new t(oae,"TIMEOUT")}static noApplication(){return new t(aae,"NO_APPLICATION")}static noExtension(){return new t(sae,"NO_EXTENSION")}};var dae="send-message-event",U3="get-message-event",uae=12e4,mae=6e3,pae={type:"PING"},hae={state:"NO_APPLICATION"},z3={state:"NO_EXTENSION"},G3=(()=>{class t{sign(e){return this.exchange(e,n=>!fae(n)).pipe(Om({first:uae,with:()=>gn(()=>dc.timeout())}),$(n=>_ae(n)))}ping(){return this.exchange(pae,()=>!0).pipe($(e=>gae(e)),Om({first:mae,with:()=>B(z3)}),Ge(()=>B(z3)))}exchange(e,n){return new Ne(r=>{let o=a=>{let s=a.detail;r.next(s)};return document.addEventListener(U3,o),document.dispatchEvent(new CustomEvent(dae,{detail:{data:e},bubbles:!0,cancelable:!0})),()=>document.removeEventListener(U3,o)}).pipe(ae(n),We(1))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function fae(t){return!!t&&t.version!==void 0}function gae(t){return t?t.version?{state:"CURRENT",version:t.version}:{state:"OUTDATED"}:hae}function _ae(t){if(!t)throw dc.noApplication();let i=t.logs??[],e=bae(t.signedData);if(t.status!=="SUCCESS"||e.length===0)throw dc.failed(i,t.errorMsg);return{signedStrings:e,logs:i}}function bae(t){return t?(Array.isArray(t)?t:[t]).filter(e=>!!e):[]}var vae="2.0.0",yae={signNetState:null,signNetVersion:null,signing:!1,errorMessage:null,errorDetail:null},IR=(()=>{class t{constructor(){this.state=Z(yae),this.signNetState=Ct(()=>this.state().signNetState),this.probed=Ct(()=>this.state().signNetState!==null),this.signing=Ct(()=>this.state().signing),this.errorMessage=Ct(()=>this.state().errorMessage),this.errorDetail=Ct(()=>this.state().errorDetail),this.signNet=m(G3),this.signNetReports=m(cz),this.destroyRef=m(dn),this.signNetProbe=_e.EMPTY}probeSignNet(){this.signNetProbe=this.signNet.ping().pipe(hn(this.destroyRef)).subscribe(e=>this.rememberSignNet(e))}sign(e){return $n(()=>(this.signNetProbe.unsubscribe(),this.clearError(),this.patch({signing:!0}),this.confirmSomethingIsListening().pipe(W(()=>this.dispatchSignature(e)),Ge(n=>this.handleFailure(n)),Zr(()=>this.patch({signing:!1})))))}showError(e,n=null){this.patch({errorMessage:e,errorDetail:e?n:null})}clearError(){this.showError(null)}confirmSomethingIsListening(){return this.state().signNetState!=="NO_EXTENSION"?B(void 0):this.signNet.ping().pipe(L(e=>this.rememberSignNet(e)),W(e=>e.state==="NO_EXTENSION"?gn(()=>dc.noExtension()):B(void 0)))}dispatchSignature(e){return this.signNet.sign({toSign:e.toSign,publicKey:e.publicKey,certType:e.certType,param:uh.encode(e.pin)}).pipe(L(n=>this.reportAttempt("SUCCESS",n.logs)),$(n=>Cae(e.certType,n)))}rememberSignNet(e){this.patch({signNetState:e.state,signNetVersion:e.version??null})}handleFailure(e){let n=e instanceof dc?e:null;return this.reportAttempt("FAILURE",n?.logs??[],n?.kind),this.showError(n?.message??H3([]),n?.detail??null),ke}reportAttempt(e,n,r){let o=this.state();this.signNetReports.report({outcome:e,signNetVersion:o.signNetVersion??vae,failureKind:r,logs:n.length>0?[...n]:void 0}).pipe(Ge(()=>ke),hn(this.destroyRef)).subscribe()}patch(e){this.state.update(n=>P(P({},n),e))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();function Cae(t,i){return{authType:fs.CERTIFICATE,signedStrings:i.signedStrings,certType:t,status:"SUCCESS"}}var Dae=["certTypeSelect"],Eae=["pinInput"],wae=(t,i)=>i.value;function xae(t,i){t&1&&(u(0,"p",3),x(1,"mat-spinner",4),u(2,"span"),h(3,"Sprawdzanie aplikacji podpisuj\u0105cej\u2026"),c()())}function Sae(t,i){t&1&&(u(0,"p",5),h(1," Nie wykryto rozszerzenia (wtyczki) SignNet w przegl\u0105darce. Bez niego podpis si\u0119 nie powiedzie \u2014 zainstaluj rozszerzenie i od\u015Bwie\u017C stron\u0119. "),c())}
7996function Tae(t,i){t&1&&(u(0,"p",5),h(1," Rozszerzenie (wtyczka) SignNet nie mo\u017Ce po\u0142\u0105czy\u0107 si\u0119 z aplikacj\u0105 SignNet. Uruchom aplikacj\u0119 \u2014 pobierzesz j\u0105 ze strony logowania, przycisk pod formularzem logowania \u2014 i podpisz bez zamykania tego okna. "),c())}function Iae(t,i){t&1&&(u(0,"p",6),h(1," U\u017Cywasz starszej wersji aplikacji SignNet. Pobierz aktualn\u0105 ze strony logowania (przycisk pod formularzem logowania). "),c())}function Aae(t,i){if(t&1&&v(0,Sae,2,0,"p",5)(1,Tae,2,0,"p",5)(2,Iae,2,0,"p",6),t&2){let e,n=_();y((e=n.signNetState())==="NO_EXTENSION"?0:e==="NO_APPLICATION"?1:e==="OUTDATED"?2:-1)}}function kae(t,i){if(t&1&&(u(0,"mat-option",9),h(1),c()),t&2){let e=i.$implicit;g("value",e.value),l(),S(e.label)}}function Rae(t,i){if(t&1){let e=Se();u(0,"mat-form-field",7)(1,"mat-label"),h(2,"PIN do karty"),c(),u(3,"input",12,1),T("keydown.enter",function(){te(e);let r=_(2);return ne(r.submitRequested$.next())}),c(),u(5,"mat-error"),h(6,"Podaj PIN do karty"),c()()}if(t&2){let e=_(2);l(3),g("maxlength",e.PIN_MAX_LENGTH)("formControl",e.pinFC)}}function Mae(t,i){if(t&1&&(u(0,"p",10),x(1,"mat-spinner",4),u(2,"span"),h(3),c()()),t&2){let e=_(2);l(3),S(e.signingMessage())}}function Nae(t,i){if(t&1&&(u(0,"p",14),h(1),c()),t&2){let e=_(3);l(),se("Zg\u0142oszenie aplikacji podpisuj\u0105cej: ",e.errorDetail())}}function Oae(t,i){if(t&1&&(u(0,"div",11)(1,"p",13),h(2),c(),v(3,Nae,2,1,"p",14),c()),t&2){let e=_(2);l(2),S(e.errorMessage()),l(),y(e.errorDetail()?3:-1)}}function Fae(t,i){if(t&1&&(u(0,"mat-form-field",7)(1,"mat-label"),h(2,"Typ podpisu cyfrowego"),c(),u(3,"mat-select",8,0),He(5,kae,2,2,"mat-option",9,wae),c(),u(7,"mat-error"),h(8,"Wybierz typ podpisu cyfrowego"),c()(),v(9,Rae,7,2,"mat-form-field",7),v(10,Mae,4,1,"p",10),v(11,Oae,4,2,"div",11)),t&2){let e=_();l(3),g("formControl",e.certTypeFC),l(2),Ue(e.certTypeOptions),l(4),y(e.pinRequired()?9:-1),l(),y(e.signing()?10:-1),l(),y(e.errorMessage()?11:-1)}}var W3=32,$3=(()=>{class t{constructor(){this.prepareData=co.required(),this.submitRequested$=new O,this.certTypeOptions=B3,this.PIN_MAX_LENGTH=W3,this.certTypeFC=new uo(null,G.required),this.pinFC=new uo("",{nonNullable:!0}),this.signingService=m(IR),this.signNetState=this.signingService.signNetState,this.signing=this.signingService.signing,this.errorMessage=this.signingService.errorMessage,this.errorDetail=this.signingService.errorDetail,this.probing=Ct(()=>!this.signingService.probed()),this.formValid=Z(!1),this.ready=Ct(()=>this.signingService.probed()&&this.formValid()),this.selectedCertType=Z(null),this.pinRequired=Ct(()=>TR(this.selectedCertType())),this.signingMessage=Ct(()=>this.pinRequired()?"Trwa podpisywanie \u2014 nie od\u0142\u0105czaj karty ani czytnika.":"Trwa podpisywanie \u2014 potwierd\u017A operacj\u0119 w aplikacji dostawcy certyfikatu."),this.certTypeSelect=Bs("certTypeSelect"),this.pinInput=Bs("pinInput"),this.destroyRef=m(dn),this.focusPlaced=!1,this.pinFC.valueChanges.pipe(hn()).subscribe(()=>this.signingService.clearError()),ut(this.certTypeFC.statusChanges,this.pinFC.statusChanges).pipe(Re(null),hn()).subscribe(()=>this.formValid.set(this.certTypeFC.valid&&this.pinFC.valid)),io(()=>this.placeInitialFocus())}ngOnInit(){let e=this.prepareData().certType;e!==void 0&&e!==or.EMPTY&&this.certTypeFC.setValue(e),this.certTypeFC.valueChanges.pipe(Re(this.certTypeFC.value),hn(this.destroyRef)).subscribe(n=>this.applyCertType(n)),this.signingService.probeSignNet()}collect(){return $n(()=>{if(this.probing())return ke;let e=this.certTypeFC.value;if(e===null||this.certTypeFC.invalid||this.pinFC.invalid)return this.certTypeFC.markAsTouched(),this.pinFC.markAsTouched(),ke;let n=this.prepareData();return!n.toSign?.length||!n.publicKey?(this.signingService.showError("Brak danych do podpisu. Zamknij okno i spr\xF3buj ponownie."),ke):this.signingService.sign({certType:e,pin:this.pinFC.value,toSign:n.toSign,publicKey:n.publicKey})})}setError(e){this.signingService.showError(e)}ngOnDestroy(){this.submitRequested$.complete()}placeInitialFocus(){let e=this.pinInput(),n=this.certTypeSelect();this.focusPlaced||!e&&!n||(this.focusPlaced=!0,e?e.nativeElement.focus():n?.focus())}applyCertType(e){this.selectedCertType.set(e),this.signingService.clearError(),this.pinFC.setValidators(TR(e)?[G.required,G.maxLength(W3)]:[]),this.pinFC.setValue(""),this.pinFC.markAsUntouched(),this.pinFC.updateV
7996alueAndValidity()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-auth-certificate-form"]],viewQuery:function(n,r){n&1&&$c(r.certTypeSelect,Dae,5)(r.pinInput,Eae,5),n&2&&qc(2)},inputs:{prepareData:[1,"prepareData"]},features:[me([IR])],decls:5,vars:2,consts:[["certTypeSelect",""],["pinInput",""],[1,"auth-certificate-form__prompt"],["role","status",1,"auth-certificate-form__probing"],["diameter","18"],["role","alert",1,"auth-certificate-form__signnet-warning","auth-certificate-form__signnet-warning--severe"],["role","status",1,"auth-certificate-form__signnet-warning"],["appearance","outline",1,"auth-certificate-form__field"],[3,"formControl"],[3,"value"],["role","status",1,"auth-certificate-form__signing"],["role","alert",1,"auth-certificate-form__error"],["matInput","","type","password","autocomplete","off",3,"keydown.enter","maxlength","formControl"],[1,"auth-certificate-form__error-message"],[1,"auth-certificate-form__error-detail"]],template:function(n,r){n&1&&(u(0,"p",2),h(1,"Podpisz operacj\u0119 certyfikatem kwalifikowanym"),c(),v(2,xae,4,0,"p",3)(3,Aae,3,1),v(4,Fae,12,4)),n&2&&(l(2),y(r.probing()?2:3),l(2),y(r.probing()?-1:4))},dependencies:[ns,Je,Xe,Bi,$e,zr,Ve,qe,St,us,et,Qu,si,Qt,Ju,nh],styles:["[_nghost-%COMP%]{display:block}.auth-certificate-form__prompt[_ngcontent-%COMP%]{margin:0 0 var(--spacing-s);color:#000000de;font-weight:500}.auth-certificate-form__field[_ngcontent-%COMP%]{width:100%}.auth-certificate-form__probing[_ngcontent-%COMP%], .auth-certificate-form__signing[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-s);margin:0 0 var(--spacing-s);color:#000000de}.auth-certificate-form__error[_ngcontent-%COMP%]{margin:0 0 var(--spacing-s);color:var(--color-warn);font-size:.875rem}.auth-certificate-form__error-message[_ngcontent-%COMP%], .auth-certificate-form__error-detail[_ngcontent-%COMP%]{margin:0}.auth-certificate-form__error-detail[_ngcontent-%COMP%]{margin-top:var(--spacing-xxs);color:#0009;font-size:.75rem;overflow-wrap:anywhere}.auth-certificate-form__signnet-warning[_ngcontent-%COMP%]{margin:0 0 var(--spacing-md);padding:var(--spacing-s);border-left:3px solid var(--color-inform);background:color-mix(in srgb,var(--color-inform) 14%,transparent);color:#000000de;font-size:.8125rem}.auth-certificate-form__signnet-warning--severe[_ngcontent-%COMP%]{border-left-color:var(--color-warn);background:color-mix(in srgb,var(--color-warn) 8%,transparent);font-size:.875rem}"],changeDetection:0})}}return t})();var Pae=["codeInput"];function Lae(t,i){if(t&1&&(u(0,"p",4),h(1),c()),t&2){let e=_();l(),S(e.errorMessage())}}var q3=(()=>{class t{constructor(){this.prepareData=co.required(),this.submitRequested$=new O,this.codeFC=new z("",G.required),this.errorMessage=Z(null),this.codeValid=Z(!1),this.ready=this.codeValid.asReadonly(),this.prompt=Ct(()=>{let e=this.prepareData().messageValues??[],n=e[0],r=e[1];return n&&r?`Wprowad\u017A has\u0142o operacji nr ${n} z dnia ${r}`:"Wprowad\u017A has\u0142o SMS"}),this.codeFC.valueChanges.pipe(hn()).subscribe(()=>this.errorMessage.set(null)),this.codeFC.statusChanges.pipe(hn()).subscribe(()=>this.codeValid.set(this.codeFC.valid))}ngAfterViewInit(){this.codeInput?.nativeElement.focus()}collect(){return $n(()=>this.codeFC.invalid?(this.codeFC.markAsTouched(),ke):B({authType:fs.SMS,passwordDigest:this.codeFC.value}))}setError(e){this.errorMessage.set(e)}ngOnDestroy(){this.submitRequested$.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-auth-sms-form"]],viewQuery:function(n,r){if(n&1&&ve(Pae,5),n&2){let o;H(o=U())&&(r.codeInput=o.first)}},inputs:{prepareData:[1,"prepareData"]},decls:10,vars:3,consts:[["codeInput",""],[1,"auth-sms-form__prompt"],["appearance","outline",1,"auth-sms-form__field"],["matInput","","type","password","autocomplete","one-time-code","inputmode","numeric",3,"keydown.enter","formControl"],[1,"auth-sms-form__error"]],template:function(n,r){n&1&&(u(0,"p",1),h(1),c(),u(2,"mat-form-field",2)(3,"mat-label"),h(4,"Has\u0142o SMS"),c(),u(5,"input",3,0),T("keydown.enter",function(){return r.submitRequested$.next()}),c(),u(7,"mat-error"),h(8,"Podaj has\u0142o SMS"),c()(),v(9,Lae,2,1,"p",4)),n&2&&(l(),S(r.prompt()),l(4),g("formControl",r.codeFC),l(4),y(r.errorMessage()?9:-1))},dependencies:[ns,Je,Xe,$e,zr,Ve,qe,St,us,et],styles:["[_nghost-%COMP%]{display:block}.auth-sms-form__prompt[_ngcontent-%COMP%]{margin:0 0 var(--spacing-s);color:#000000de;font-weight:500}.auth-sms-form__field[_ngcontent-%COMP%]{width:100%}.auth-sms-form__error[_ngcontent-%COMP%]{margin:0;color:var(--color-warn);font-size:.875rem}"],changeDetection:0})}}return t})();var Y3=new Map([[fs.SMS,q3],[fs.CERTIFICATE,$3]]);var Bae=["summaryHost"],Vae=["methodHost"];function jae(t,i){if(t&1&&(u(0,"p",3),h(1),c()),t&2){let e=_();l(),S(e.summaryText)}}function Hae(t,i){}function Uae(t,i){t&1&&(u(0,"div",4),x(1,"mat-spinner",9),c())}function zae(t,i){}function Gae(t,i){t&1&&x(0,"mat-spinner",8)}function Wae(t,i){t&1&&h(0," Zatwierd\u017A ")}var K3=(()=>{class t{constructor(){this.data=m(rt),this.submit$=new O,this.loading=Z(!1),this.collecting=Z(!1),this.preparing=Z(!0),this.methodReady=Z(!0),this.busy=Ct(()=>this.collecting()||this.loading()),this.dialogRef=m(Ze),this.destroyRef=m(dn),this.injector=m(ie),this.summaryAcceptsItems=!1,this.dialogRef.disableClose=!0}get summaryText(){return typeof this.data.summary=="string"?this.data.summary:null}ngAfterViewInit(){this.createSummary(),this.createMethodForm()}setPrepareData(e){this.prepareData=e,this.showPreparedItems(e.items),this.createMethodForm()}setError(e){this.methodRef?.instance.setError(e)}setLoading(e){this.loading.set(e)}closeAsSuccess(){this.dialogRef.close("success")}closeAsCancel(){this.dialogRef.close("cancel")}ngOnDestroy(){this.submit$.complete()}onConfirm(){let e=this.methodRef?.instance;this.preparing()||this.busy()||!this.methodReady()||!e||(this.collecting.set(!0),e.collect().pipe(Zr(()=>this.collecting.set(!1)),hn(this.destroyRef)).subscribe(n=>this.submit$.next(n)))}onCancel(){this.loading()||this.closeAsCancel()}createSummary(){let e=this.data.summary;typeof e!="string"&&(this.summaryRef=this.summaryHost.createComponent(e.component),this.summaryAcceptsItems=P0(e.component)?.inputs.some(n=>
7996n.propName==="items")??!1,Object.entries(e.inputs??{}).forEach(([n,r])=>this.summaryRef?.setInput(n,r)),this.summaryRef.changeDetectorRef.detectChanges())}showPreparedItems(e){!e||!this.summaryRef||!this.summaryAcceptsItems||(this.summaryRef.setInput("items",e),this.summaryRef.changeDetectorRef.detectChanges())}createMethodForm(){if(this.methodRef||!this.prepareData||!this.methodHost)return;let e=Y3.get(this.prepareData.authType);if(!e)throw new Error(`No auth method form registered for authType=${this.prepareData.authType}`);this.methodRef=this.methodHost.createComponent(e),this.methodRef.setInput("prepareData",this.prepareData),this.methodRef.instance.submitRequested$.pipe(hn(this.destroyRef)).subscribe(()=>this.onConfirm()),this.trackMethodReadiness(this.methodRef.instance.ready),this.methodRef.changeDetectorRef.detectChanges(),this.preparing.set(!1)}trackMethodReadiness(e){this.methodReady.set(e()),io(()=>this.methodReady.set(e()),{injector:this.injector})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-auth-flow-dialog"]],viewQuery:function(n,r){if(n&1&&ve(Bae,7,Pt)(Vae,7,Pt),n&2){let o;H(o=U())&&(r.summaryHost=o.first),H(o=U())&&(r.methodHost=o.first)}},decls:15,vars:6,consts:[["summaryHost",""],["methodHost",""],["mat-dialog-title",""],[1,"auth-flow-dialog__summary"],[1,"auth-flow-dialog__preparing"],["align","end"],["mat-button","","type","button",3,"click","disabled"],["mat-flat-button","","color","warn","type","button",3,"click","disabled"],["diameter","18"],["diameter","28"]],template:function(n,r){n&1&&(u(0,"h2",2),h(1),c(),u(2,"mat-dialog-content"),v(3,jae,2,1,"p",3),fe(4,Hae,0,0,"ng-template",null,0,_a),v(6,Uae,2,0,"div",4),fe(7,zae,0,0,"ng-template",null,1,_a),c(),u(9,"mat-dialog-actions",5)(10,"button",6),T("click",function(){return r.onCancel()}),h(11,"Anuluj"),c(),u(12,"button",7),T("click",function(){return r.onConfirm()}),v(13,Gae,1,0,"mat-spinner",8)(14,Wae,1,0),c()()),n&2&&(l(),S(r.data.title),l(2),y(r.summaryText?3:-1),l(3),y(r.preparing()?6:-1),l(4),g("disabled",r.loading()),l(2),g("disabled",r.preparing()||r.busy()||!r.methodReady()),l(),y(r.busy()?13:14))},dependencies:[Xu,YC,eh,Jp,_o,Yn,Ju,nh],styles:["[_nghost-%COMP%]{--mat-dialog-supporting-text-color: rgba(0, 0, 0, .87)}.auth-flow-dialog__summary[_ngcontent-%COMP%]{margin:0 0 var(--spacing-md);font-weight:500}.auth-flow-dialog__preparing[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:var(--spacing-md) 0}"],changeDetection:0})}}return t})();var bs=class extends Error{constructor(i,e,n){super(e?.message??i),this.kind=i,this.response=e,this.cause=n}},gl=(()=>{class t{constructor(){this.dialog=m(mt),this.notifications=m(Le)}run(e,n,r){return this.runDialog(e,n,r)}failPrepare(e){let n=X3(e);return this.notifications.error(n?.message??"Nie uda\u0142o si\u0119 rozpocz\u0105\u0107 autoryzacji"),gn(()=>new bs("PREPARE_FAILED",n??void 0,e))}runDialog(e,n,r){let o=r.size==="large",a=this.dialog.open(K3,{data:{title:r.title,summary:r.summary},panelClass:o?li.LARGE:"dialog",width:o?void 0:"40rem",disableClose:!0}),s=a.componentInstance,d=!0,p=e.prepare(n).pipe(Qr({bufferSize:1,refCount:!1})),f=p.pipe(L(M=>s.setPrepareData(M)),Bm(),Ge(M=>(d=!1,a.close("cancel"),this.failPrepare(M))),Lm(_f)),b=s.submit$.pipe(xs(M=>this.attemptPerform(e,s,M)),L(()=>d=!1),Lm(_f)),w=a.afterClosed().pipe(ae(M=>M!=="success"),W(M=>(M!=="cancel"&&(d=!1),gn(()=>new bs(M==="cancel"?"CANCELLED":"ABORTED")))),Lm(_f)),A=this.cancelOncePrepared(e,p);return ox(f,b,w).pipe(We(1),Ge(M=>(a.close("cancel"),d?A.pipe(Lm(gn(()=>M))):gn(()=>M))),Zr(()=>{a.close("cancel"),d&&A.subscribe()}))}cancelOncePrepared(e,n){return n.pipe(We(1),W(()=>e.cancel()),Ge(()=>ke),Bm(),Qr({bufferSize:1,refCount:!1}))}attemptPerform(e,n,r){return n.setLoading(!0),n.setError(null),e.perform(r).pipe(L(()=>n.closeAsSuccess()),Ge(o=>this.failPerform(o,n)))}failPerform(e,n){let r=X3(e),o=r?.kind;if(o===kr.AUTH_INCORRECT)return n.setError(r?.message??"Nieprawid\u0142owe has\u0142o"),n.setLoa
7996ding(!1),ke;let a=r?.message??"Autoryzacja nie powiod\u0142a si\u0119";return o===kr.AUTH_EXPIRED?this.notifications.warning(a):this.notifications.error(a),gn(()=>new bs(o??"UNKNOWN",r??void 0,e))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),$ae={[cc.INCORRECT_AUTHORIZATION]:kr.AUTH_INCORRECT,[cc.EXPIRED_AUTHORIZATION]:kr.AUTH_EXPIRED,[cc.BLOCKED_AUTHORIZATION]:kr.AUTH_BLOCKED};function X3(t){return t instanceof Xc&&t.error&&typeof t.error=="object"&&"kind"in t.error?t.error:Rr.isTypeOf(t)?{kind:$ae[t.errorCode]??kr.GENERAL,message:t.messageToShow??void 0}:null}var X_=(function(t){return t[t.SYSTEM=0]="SYSTEM",t[t.TRANSACTION=1]="TRANSACTION",t})(X_||{});function Yae(t,i){t&1&&(ft(0,"p",0),h(1,"Aby przej\u015B\u0107 do systemu, nale\u017Cy zaakceptowa\u0107 regulamin."),_t())}function Kae(t,i){t&1&&(ft(0,"p",0),h(1,"Aby wykona\u0107 transakcj\u0119, nale\u017Cy zaakceptowa\u0107 regulamin."),_t())}function Xae(t,i){t&1&&(ft(0,"strong",2),h(1,"Pliki do pobrania:"),_t())}function Zae(t,i){if(t&1){let e=Se();ft(0,"div")(1,"button",3),Ls("click",function(){let r=te(e).$implicit,o=_(2);return ne(o.openFile(r.fileId))}),h(2),_t()()}if(t&2){let e=i.$implicit;l(2),S(e.linkName)}}function Qae(t,i){if(t&1&&(ft(0,"div",1)(1,"div"),h(2),_t(),v(3,Xae,2,0,"strong",2),He(4,Zae,3,1,"div",null,at),_t()),t&2){let e=i.$implicit;l(2),S(e.description),l(),y(e.files.length>0?3:-1),l(),Ue(e.files)}}var Z3=(()=>{class t{constructor(){this.terms=co.required(),this.termsDialogType=co.required(),this.TermsStateEnum=X_,this.termsApi=m(aE),this.fileService=m(wd)}openFile(e){this.termsApi.openFile(e.toString()).pipe(this.fileService.open(Ra.PDF)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-terms-list"]],inputs:{terms:[1,"terms"],termsDialogType:[1,"termsDialogType"]},decls:4,vars:1,consts:[[1,"terms-list__reason"],[1,"terms-list__term"],[1,"terms-list__files"],["type","button",1,"terms-list__link",3,"click"]],template:function(n,r){if(n&1&&(v(0,Yae,2,0,"p",0)(1,Kae,2,0,"p",0),He(2,Qae,6,2,"div",1,at)),n&2){let o;y((o=r.termsDialogType())===r.TermsStateEnum.SYSTEM?0:o===r.TermsStateEnum.TRANSACTION?1:-1),l(2),Ue(r.terms())}},styles:["[_nghost-%COMP%]{display:block}.terms-list__reason[_ngcontent-%COMP%]{margin:0}.terms-list__term[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px;padding:15px;border-bottom:solid 2px #2196f3;box-shadow:1px 1px 2px #000;-webkit-hyphens:auto;hyphens:auto}.terms-list__files[_ngcontent-%COMP%]{padding:10px 0}.terms-list__link[_ngcontent-%COMP%]{padding:0;border:0;background:none;color:#2196f3;font:inherit;cursor:pointer}.terms-list__link[_ngcontent-%COMP%]:hover{color:#05487a}"],changeDetection:0})}}return t})();function Jae(t,i){if(t&1&&(u(0,"p"),h(1),be(2,"date"),c()),t&2){let e=_();l(),se("Regulamin nale\u017Cy zaakceptowa\u0107 do dnia: ",Dr(2,1,e.termsToAccept.acceptanceDeadline,e.dateFormat))}}function ese(t,i){t&1&&(u(0,"p"),h(1,"Regulamin nie posiada terminu akceptacji"),c())}function tse(t,i){if(t&1){let e=Se();u(0,"mat-form-field",4)(1,"mat-label"),h(2,"Has\u0142o do systemu"),c(),u(3,"input",9),T("keydown.enter",function(){te(e);let r=_();return ne(r.save())}),c(),u(4,"mat-error"),h(5,"Podaj has\u0142o do systemu"),c()()}if(t&2){let e=_();l(3),g("formControl",e.passwordFC)}}function nse(t,i){t&1&&(u(0,"p",5),h(1,"Po zatwierdzeniu poprosimy o autoryzacj\u0119, tak jak przy podpisywaniu operacji."),c())}var Q3=(()=>{class t{constructor(){this.TermsAcceptModeEnum=rm,this.dateFormat=hs,this.data=m(rt),this.termsDialogType=this.data.termsStateEnum,this.termsToAccept=this.data.termsToAccept,this.acceptRequested$=new O,this.acceptFC=new z(!1,G.requiredTrue),this.passwordFC=new z(""),this.termsFG=new Qn({accept:this.acceptFC,password:this.passwordFC}),this.dialogRef=m(Ze),this.termsToAccept.acceptanceMode===rm.PASSWORD&&(this.passwordFC.setValidators(G.required),this.passwordFC.updateValueAndValidity())}save(){if(this.termsFG.invalid){this.termsFG.markAllAsTouched();return}this.acceptRequested$.next({password:this.passwordFC.value})}decline(){this.dialogRef.close(!1)}ngOnDestroy(){this.acceptRequested$.complete()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-terms-dialog"]],decls:16,vars:8,consts:[["mat-dialog-title",""],[3,"terms","termsDialogType"],[1,"terms-dialog__form",3,"formGroup"],["required","",1,"terms-dialog__accept",3,"formControl"],["appearance","outline",1,"terms-dialog__password"],[1,"terms-dialog__hint"],["align","end"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","warn","type","button",3,"click","disabled"],["matInput","","type","password","autocomplete","off",3,"keydown.enter","formControl"]],template:function(n,r){if(n&1&&(u(0,"h2",0),h(1,"Akceptacja Regulaminu"),c(),u(2,"mat-dialog-content"),x(3,"a
7996pp-terms-list",1),u(4,"form",2),v(5,Jae,3,4,"p"),v(6,ese,2,0,"p"),u(7,"mat-checkbox",3),h(8,"O\u015Bwiadczam, i\u017C akceptuj\u0119 w/w regulamin"),c(),v(9,tse,6,1,"mat-form-field",4)(10,nse,2,0,"p",5),c()(),u(11,"mat-dialog-actions",6)(12,"button",7),T("click",function(){return r.decline()}),h(13,"Anuluj"),c(),u(14,"button",8),T("click",function(){return r.save()}),h(15,"Akceptuj"),c()()),n&2){let o;l(3),g("terms",r.termsToAccept.terms)("termsDialogType",r.termsDialogType),l(),g("formGroup",r.termsFG),l(),y(r.termsToAccept.acceptanceDeadline?5:-1),l(),y(r.termsToAccept.acceptanceDeadline===null?6:-1),l(),g("formControl",r.acceptFC),l(2),y((o=r.termsToAccept.acceptanceMode)===r.TermsAcceptModeEnum.PASSWORD?9:o===r.TermsAcceptModeEnum.AUTHORIZATION?10:-1),l(5),g("disabled",r.termsFG.invalid)}},dependencies:[ns,Vr,Je,Xe,Ai,mn,$e,qn,Xu,YC,eh,Jp,_o,Yn,v_,ir,zr,Ve,qe,St,us,et,Z3,un],styles:["[_nghost-%COMP%]{--mat-dialog-supporting-text-color: rgba(0, 0, 0, .87)}.terms-dialog__form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-s);margin-top:var(--spacing-md)}.terms-dialog__form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.terms-dialog__password[_ngcontent-%COMP%]{width:25em}.terms-dialog__hint[_ngcontent-%COMP%]{color:#0009;font-size:.875rem}"],changeDetection:0})}}return t})();var AR=class extends Error{constructor(){super("Regulamin systemowy nie zosta\u0142 zaakceptowany"),this.loginFailureReason=O3}},J3=(()=>{class t{constructor(){this.termsApi=m(aE),this.authFlow=m(gl),this.errorProcessing=m(Rt),this.dialog=m(mt)}check(){return this.isAllTermsAccepted(V_.SYSTEM,X_.SYSTEM).pipe(W(e=>e?B(void 0):gn(()=>new AR)))}isAllTermsAccepted(e,n){return e===V_.NONE?B(!0):this.termsApi.getTermsToAccept(e).pipe(W(r=>r.terms.length===0?B(!0):this.askToAccept(r,e,n)))}askToAccept(e,n,r){let o=this.dialog.open(Q3,{data:{termsToAccept:e,termsTypeEnum:n,termsStateEnum:r},panelClass:li.MEDIUM});return this.acceptOnConfirmation(o,e,n),o.afterClosed().pipe(W(a=>!a&&n===V_.SYSTEM?B(!e.acceptanceDeadline||new Date(e.acceptanceDeadline)>new Date):B(!!a)))}acceptOnConfirmation(e,n,r){e.componentInstance.acceptRequested$.pipe(Zb(o=>this.accept(n,r,o).pipe(Ge(()=>ke))),xe(e.afterClosed())).subscribe(()=>e.close(!0))}accept(e,n,{password:r}){switch(e.acceptanceMode){case rm.PASSWORD:return this.termsApi.passwordAccept(r).pipe(this.errorProcessing.processError(ze.AUTHORIZATION_ERROR));case rm.AUTHORIZATION:return this.authFlow.run(this.termsApi.authOperation(n),[],{title:"Autoryzacja akceptacji regulaminu",summary:e.terms.map(o=>o.description).join(", ")});default:return this.termsApi.simpleAccept().pipe(this.errorProcessing.processError(ze.AUTHORIZATION_ERROR))}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ise,eG=(t,i,e)=>ise=t.pipe(Qr(e,i));function tG(t,i,e=1){return eG(t,i,e).pipe(za(null,$n(()=>eG(t,i,e))),ii(n=>Sl(n)?n:B(n)))}var IE=(()=>{class t{constructor(e,n,r){this.http=e,this.errorProviderService=n,this.notificationService=r}getMessages(){return this.http.get(z_).pipe(Ge(e=>(e.error.message==="fetch-message-list-failed"?this.notificationService.error("Nie uda\u0142o si\u0119 pobra\u0107 listy komunikat\xF3w"):this.notificationService.error("Wyst\u0105pi\u0142 b\u0142\u0105d podczas pobierania listy komunikat\xF3w"),B([]))))}getUnreadMessagesCount(){return this.http.get(Pz)}getBufferedUnreadMessageCount(){return this.bufferedCount$===void 0&&(this.bufferedCount$=tG(this.getUnreadMessagesCount(),3e3)),this.bufferedCount$}deleteMessages(e){let n=new it().append("messagesIds",e.toString());return this.http.delete(z_,{params:n}).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,B([])))}markAsSeen(e){this.http.put(Fz+`/${e}`,null).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,B([]))).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Rt),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var nG=(()=>{class t{constructor(){this.document=m(Ce),this.platformId=m(Pl),this.documentIsAccessible=$0(this.platformId)}static getCookieRegExp(e){let n=e.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+n+"|;\\s*"+n+")=(.*?)(?:;|$)")}static safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch(n){return e}}check(e){return this.documentIsAccessible?(e=encodeURIComponent(e),t.getCookieRegExp(e).test(this.document.cookie)):!1}get(e){if(this.check(e)){e=encodeURIComponent(e);let r=t.getCookieRegExp(e).exec(this.document.cookie);return r?.[1]?t.safeDecodeURIComponent(r[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let e={},n=this.document;return n.cookie&&n.cookie!==""&&n.cookie.split(";").forEach(r=>{let[o,a]=r.split("=");e[t.safeDecodeURIComponent(o.replace(/^ /,""))]=t.safeDecodeURIComponent(a)}),e}set(e,n,r,o,a,s,d,p){if(!this.documentIsAccessible)return;if(typeof r=="number"||r instanceof Date||o||a||s||d){let w={expires:r,path:o,domain:a,secure:s,sameSite:d||"Lax",partitioned:p};this.set(e,n,w);return}let f=encodeURIComponent(e)+"="+encodeURIComponent(n)+";",b=r||{};if(b.expires)if(typeof b.expires=="number"){let w=new Date(new Date().getTime()+b.expires*1e3*60*60*24);f+="Expires="+w.toUTCString()+";"}else f+="Expires="+b.expires.toUTCString()+";";b.path&&(f+="Path="+b.path+";"),b.domain&&(f+="Domain="+b.domain+";"),b.secure===!1&&b.sameSite==="None"&&(b.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),b.secure&&(f+="Secure;"),b.sameSite||(b.sameSite="Lax"),f+="SameSite="+b.sameSite+";",b.partitioned&&(f+="Partitioned;"),this.document.cookie=f}delete(e,n,r,o,a="Lax"){if(!this.documentIsAccessible)return;let s=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:s,path:n,domain:r,secure:o,sameSite:a})}deleteAll(e,n,r,o="Lax"){if(!this.documentIsAccessible)return;let a=this.getAll();for(let s in a)a.hasOwnProperty(s)&&this.delete(s,e,n,r,o)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();
7996var kR="Przerwano proces logowania",Z_=class extends Error{constructor(i){super(`Second stage of login ended without a verified code: ${i}`),this.kind=i,this.loginFailureReason=F3(i),this.messageToShow=i==="CANCELLED"?kR:null}},iG=(()=>{class t{constructor(){this.authApiService=m(oE),this.authFlow=m(gl),this.cookieService=m(nG),this.dialog=m(mt),this.notificationService=m(Le),this.token="",this.sessionEnded=!1}authenticate(e,n){return this.sessionEnded=!1,this.authApiService.authenticate(e,n).pipe(L(r=>this.saveTokenFromResponse(r)),W(()=>this.authApiService.isSecondStageRequired()),ii(r=>$n(()=>r?this.executeSecondStage(e):B(void 0))))}logout(e,n){return this.sessionEnded=!0,n&&this.notificationService.error(n),this.authApiService.logout(e).pipe(L(()=>{this.setToken(""),this.cookieService.deleteAll(),this.dialog.closeAll()}))}getToken(){return this.token}isSessionEnded(){return this.sessionEnded}setToken(e){this.token=e}executeSecondStage(e){return this.authFlow.run(this.secondStageAuthOperation(),[],{title:"Autoryzacja logowania",summary:`Potwierdzenie logowania do systemu dla loginu: ${e}`}).pipe(Ge(n=>gn(()=>n instanceof bs?new Z_(n.kind):n)))}secondStageAuthOperation(){return{prepare:()=>this.authApiService.secondStagePrepare(),perform:e=>this.authApiService.secondStagePerform(e).pipe(W(()=>e.authType===fs.CERTIFICATE?this.authApiService.updateDefaultCertType(e.certType):B(void 0))),cancel:()=>this.authApiService.secondStageCancel()}}saveTokenFromResponse(e){this.setToken(e.headers.get("Authorization")||"")}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var rG=(()=>{class t{constructor(){this.clientsFacadeService=m(AE),this.dialog=m(mt)}loadAll(){return this.clientsFacadeService.getAll().pipe(W(e=>e.length===1?this.clientsFacadeService.loadClient(e[0],!0):this.selectClient(e)))}selectClient(e){return this.clientsFacadeService.getDefault().pipe(W(n=>n!==null?this.clientsFacadeService.loadClient(n,!0):this.setClientInDialog(e)))}setClientInDialog(e){let n=new Jt;return n.data={redirect:!0,disableClose:!0,clients:e},n.hasBackdrop=!0,n.panelClass=li.MEDIUM,this.dialog.open(oG,n).afterClosed().pipe(W(()=>B(void 0)))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var rse=["CANCELLED","ABORTED",kr.AUTH_INCORRECT,kr.AUTH_BLOCKED,kr.AUTH_EXPIRED];function kE(){return Ge(t=>t instanceof bs?rse.includes(t.kind)?ke:gn(()=>Rr.isTypeOf(t.cause)?t.cause:t):gn(()=>t))}var RR=(function(t){return t.CHOOSE_CLIENT="Wybierz firm\u0119",t.CHANGE_PASSWORD="Zmiana has\u0142a",t.ACCOUNT_ORDER="Wybierz kolejno\u015B\u0107 rachunk\xF3w",t.LOGIN_OPTIONS="Opcje logowania",t.DEALING_BPS="Dealing BPS",t})(RR||{});var RE=(()=>{class t{constructor(){this.passwordApiService=m(az),this.dialog=m(mt),this.authenticationApiService=m(oE),this.authFlow=m(gl)}checkExpiration(){return this.passwordApiService.isPasswordExpired().pipe(W(e=>e?this.openPasswordDialog():B(void 0)))}change(e){return this.authenticationApiService.isSecondStageRequired().pipe(W(n=>n?this.saveNewPasswordWithAuthorize(e):this.saveNewPasswordNoAuthorize(e)))}openPasswordDialog(){let e=new Jt;return e.data={title:RR.CHANGE_PASSWORD,disableClose:!0},e.hasBackdrop=!0,e.panelClass=li.SMALL,this.dialog.open(aG,e).afterClosed().pipe(W(()=>B(void 0)))}saveNewPasswordNoAuthorize(e){return this.passwordApiService.change(e)}saveNewPasswordWithAuthorize(e){return this.authFlow.run(this.changeAuthOperation(e),[],{title:"Autoryzacja zmiany has\u0142a",summary:"Potwierdzenie zmiany has\u0142a"}).pipe(kE())}changeAuthOperation(e){return{prepare:()=>this.passwordApiService.prepare(e).pipe($(n=>n.authMethodInfo)),perform:n=>this.passwordApiService.perform(n),cancel:()=>this.passwordApiService.cancel()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ose=(()=>{class t{constructor(){this.appStore=m(Fo),this.userData$=Ed(this.appStore.user).pipe(ae(e=>e!==null),It()),this.clientInfo$=Ed(this.appStore.clientInfo).pipe(ae(e=>e!==null)),this.isLoggedIn$=Ed(this.appStore.loggedIn)}getUserData(){return this.userData$}hasAuthMethod(){return this.appStore.user()?.hasAuthorisationMethod??!1}getClientInfo$(){return this.clientInfo$}getUserAuthorities(){return this.appStore.authorities()}isLoggedIn(){return this.isLoggedIn$}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ME=ose;var NE=(()=>{class t{constructor(){this.userService=m(ME),this.notificationService=m(Le)}hasAuthorities(e,n,r){let o=this.isPermitted(e,n);return r&&!o&&this.notificationService.error(ze.NO_PERMISSION),o}isPermitted(e,n){let r=this.userService.getUserAuthorities();return!e||e.length===0?!0:n===rd.ANY?!!e.find(o=>r.includes(o)):e.every(o=>r.includes(o))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var wi=(()=>{class t{constructor(){this.userService=m(ME),this.authoritiesService=m(NE),this.passwordService=m(RE)}getUser(){return this.userService.getUserData()}getClientInfo(){return this.userService.getClientInfo$()}canActivate(e){return this.userService.isLoggedIn().pipe(W(n=>n?B(this.hasAuthorities(e)):B(!1)))}hasAuthorities(e){return this.authoritiesService.hasAuthorities(e,rd.ALL,!1)}hasAnyAuthorities(e,n=!1){return this.authoritiesService.hasAuthorities(e,rd.ANY,n)}hasAuthMethod(){return this.userService.hasAuthMethod()}changePassword(e){return this.passwordService.change(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _gt=(()=>{class t{constructor(){this.authenticationService=m(iG),this.userFacadeService=m(wi),this.appStore=m(Fo),this.passwordService=m(RE),this.clientsService=m(rG),this.router=m(wr),this.termsAcceptanceService=m(J3),this.messagesService=m(IE)}login(e,n){return this.authenticationService.authenticate(e,n).pipe(Dh("authentication"),W(()=>this.passwordService.checkExpiration().pipe(Dh("password_expiration"))),W(()=>this.loadSessionData().pipe(Dh("session_data"))),W(()=>this.termsAcceptanceService.check().pipe(Dh("terms"))),W(()=>this.messagesService.getBufferedUnreadMessageCount().pipe(Dh("messages"))),L(r=>this.redirectToFirstPage(r)),W(()=>B(void 0)),Ge(r=>this.logout(P3(r),this.getMessageFromError(r))))}loadSessionData(){return this.appStore.loadSessionContext().pipe(W(()=>this.clientsService.loadAll()))}logout(e,n){return this.authenticationService.logout(e,n).pipe(W(()=>(this.router.navigate([dV+"/"+uV]),B(void 0))))}getToken(){return this.authenticationService.getToken()}isSessionEnded(){return this.authenticationService.isSessionEnded()}getMessageFromError(e){let n=L3(e);if(n instanceof Z_)return n.messageToShow??void 0;let r=n?.messageToShow;return r||(n?.message??kR)}redirectToFirstPage(e){e>0||!this.userFacadeService.hasAuthorities([Ut.FUNC_ACCOUNT_VIEW])?this.router.navigate([Xy+"/"+Zy]):this.router.navigate([Ip+"/"+Ip])}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var AE=(()=>{class t{constructor(){this.clientApiService=m(sz),this.appStore=m(Fo),this.authoritiesService=m(NE),this.router=m(wr),this.messagesService=m(IE)}getAll(){return this.clientApiService.getAll()}getDefault(){return this.clientApiService.getDefault()}loadClient(e,n){return this.clientApiService.setClient({id:e.id,setDefault:n}).pipe(L(r=>this.appStore.setClientInfo(r)),L(()=>this.storeSelectedClientId(e.id)),W(()=>this.appStore.loadCustomerProfileContext()))}setClient(e,n){return this.loadClient(e,n).pipe(W(()=>this.messagesService.getBufferedUnreadMessageCount()),L(r=>this.redirectToFirstPage(r)),W(()=>B(void 0)))}storeSelectedClientId(e){localStorage.setItem(N3,e)}redirectToFirstPage(e){e>0||!this.authoritiesService.hasAuthorities([Ut.FUNC_ACCOUNT_VIEW],rd.ALL,!1)?this.router.navigate([Xy+"/"+Zy]):this.router.navigate([Ip+"/"+Ip])}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Td=class{static asNumber(){return i=>i.pipe($(e=>e))}static breakIfNoData(){return i=>i.pipe(ae(e=>{if(e||!e)return!0;throw new Rr(0,cc.HOMENET_SECURITY_ERROR,null,[],!1)}))}};var Id=class{static confirmEquals(i,e){return n=>{let r=n.controls[i],o=n.controls[e];o.errors&&!o.errors?.mustMatch||(r.value!==o.value?o.setErrors({mustMatch:!0}):o.setErrors(null))}}static confirmDifference(i,e){return n=>{let r=n.controls[i],o=n.controls[e];o.errors&&!o.errors?.mustBeDifferent||(r.value===o.value?o.setErrors({mustBeDifferent:!0}):o.setErrors(null))}}static minLowercaseCount(i){return e=>(e.value.match(/[a-z]/g)||[]).length<i?{passwordLowercaseCount:!0}:null}static minUppercaseCount(i){return e=>(e.value.match(/[A-Z]/g)||[]).length<i?{passwordUppercaseCount:!0}:null}static minDigitCount(i){return e=>(e.value.match(/[0-9]/g)||[]).length<i?{passwordDigitCount:!0}:null}};function ase(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}
7996function sse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["authentication.old_password_incorrect"]," ")}}function lse(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}function cse(t,i){t&1&&(u(0,"span"),h(1,"Nowe has\u0142o i stare has\u0142o musz\u0105 si\u0119 r\xF3\u017Cni\u0107"),c())}function dse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["authentication.password_from_history"]," ")}}function use(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.policyMessage()," ")}}function mse(t,i){t&1&&(u(0,"span"),h(1," Pole nie mo\u017Ce by\u0107 puste"),c())}function pse(t,i){t&1&&(u(0,"span"),h(1," Has\u0142a nie s\u0105 identyczne"),c())}var aG=(()=>{class t{static{this.POLICY_ERROR_KEYS=["minlength","maxlength","passwordDigitCount","passwordLowercaseCount","passwordUppercaseCount","specificMessage"]}constructor(e,n,r,o,a,s,d,p){this.parameterService=e,this.formBuilder=n,this.userFacadeService=r,this.errorProviderService=o,this.notificationService=a,this.spinnerService=s,this.dialogRef=d,this.data=p,this.disableClose=!1,this.ButtonLabels=tt,this.ERRORS=ln,this.policyParams=null,this.disableClose=this.data.disableClose??!1,d.disableClose=this.disableClose,this.passwordMinLength$=this.parameterService.getParameter(wt.PASSWORD_LENGTH_MIN),this.passwordMaxLength$=this.parameterService.getParameter(wt.PASSWORD_LENGTH_MAX),this.passwordDigitCount$=this.parameterService.getParameter(wt.PASSWORD_DIGIT_COUNT),this.passwordLowercaseCount$=this.parameterService.getParameter(wt.PASSWORD_LOWERCASE_COUNT),this.passwordUppercaseCount$=this.parameterService.getParameter(wt.PASSWORD_UPPERCASE_COUNT),this.oldPassword=new z("",[G.required]),this.confirmNewPassword=new z("",[G.required]),this.newPassword=new z(""),this.setNewPasswordValidators(),this.newPassword.updateValueAndValidity(),this.passwordFG=this.formBuilder.group({oldPassword:this.oldPassword,newPassword:this.newPassword,confirmNewPassword:this.confirmNewPassword},{validator:[Id.confirmEquals("newPassword","confirmNewPassword"),Id.confirmDifference("oldPassword","newPassword")]}),this.passwordFG.markAllAsTouched()}resetValues(){this.oldPassword.reset(""),this.newPassword.reset(""),this.confirmNewPassword.reset(""),this.passwordFG.markAllAsTouched()}saveNewPassword(){this.userFacadeService.changePassword(this.getDataForPasswordChange()).pipe(L(()=>{this.notificationService.success(ze.CHANGE_PASSWORD_SUCCESS),this.dialogRef.close(!0)}),Ge(e=>Rr.isTypeOf(e)&&e.errorCode===cc.PASSWORD_POLICY?(this.newPassword.setErrors(Ae(P({},this.newPassword.errors??{}),{specificMessage:!0}
7996)),this.spinnerService.hideSpinner(),ke):gn(()=>e)),this.errorProviderService.processError(ze.AUTHORIZATION_ERROR)).subscribe()}cancel(){this.disableClose||this.dialogRef.close(!1)}setNewPasswordValidators(){nn([this.passwordMinLength$.pipe(Td.asNumber()),this.passwordMaxLength$.pipe(Td.asNumber()),this.passwordDigitCount$.pipe(Td.asNumber()),this.passwordLowercaseCount$.pipe(Td.asNumber()),this.passwordUppercaseCount$.pipe(Td.asNumber())]).pipe(L(([e,n,r,o,a])=>{this.policyParams={minLength:e,maxLength:n,digitCount:r,lowercaseCount:o,uppercaseCount:a}}),$(this.getValidators())).subscribe(e=>this.newPassword.setValidators(e))}hasPolicyViolation(){return t.POLICY_ERROR_KEYS.some(e=>this.newPassword.hasError(e))}policyMessage(){let e="Has\u0142o nie spe\u0142nia za\u0142o\u017Ce\u0144 aktualnej polityki hase\u0142.",n=this.policyParams;if(!n)return e;let{minLength:r,maxLength:o,digitCount:a,lowercaseCount:s,uppercaseCount:d}=n,p=[];a>0&&p.push(`${a} ${this.plural(a,"cyfr\u0119","cyfry","cyfr")}`),s>0&&p.push(`${s} ${this.plural(s,"ma\u0142\u0105 liter\u0119","ma\u0142e litery","ma\u0142ych liter")}`),d>0&&p.push(`${d} ${this.plural(d,"du\u017C\u0105 liter\u0119","du\u017Ce litery","du\u017Cych liter")}`);let f=this.lengthRequirement(r,o),b=[];return p.length&&b.push(`co najmniej ${p.join(", ")}`),f&&b.push(f),b.length?`${e} Powinno zawiera\u0107 ${b.join(", oraz ")}`:e}lengthRequirement(e,n){let r=o=>this.plural(o,"znak","znaki","znak\xF3w");return e>0&&n>0?`od ${e} do ${n} ${r(n)}`:n>0?`maksymalnie ${n} ${r(n)}`:e>0?`co najmniej ${e} ${r(e)}`:null}plural(e,n,r,o){if(e===1)return n;let a=e%10,s=e%100;return a>=2&&a<=4&&!(s>=12&&s<=14)?r:o}getValidators(){return([e,n,r,o,a])=>[G.required,G.minLength(e),G.maxLength(n),Id.minDigitCount(r),Id.minLowercaseCount(o),Id.minUppercaseCount(a)]}getDataForPasswordChange(){return this.passwordFG.getRawValue()}static{this.\u0275fac=function(n){return new(n||t)(E(qr),E(Vi),E(wi),E(Rt),E(Le),E($r),E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-change-password-dialog"]],standalone:!1,decls:30,vars:17,consts:[[1,"password-form","flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","name","oldPassword","required","","type","password",3,"formControl"],["appearance","outline","subscriptSizing","dynamic"],["autocomplete","off","matInput","","name","newPassword","required","","type","password",3,"formControl"],["autocomplete","off","matInput","","name","confirmNewPassword","required","","type","password",3,"formControl"],[3,"cancelAction","confirmAction","confirmDisabled","withResetButton","withCancelButton","buttonLabelConfirm"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"form",0)(5,"mat-form-field",1)(6,"mat-label"),h(7,"Obecne has\u0142o"),c(),x(8,"input",2),u(9,"mat-error"),v(10,ase,2,0,"span"),c(),u(11,"mat-error"),v(12,sse,2,1,"span"),c()(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nowe has\u0142o"),c(),x(16,"input",4),u(17,"mat-error"),v(18,lse,2,0,"span"),v(19,cse,2,0,"span"),v(20,dse,2,1,"span"),v(21,use,2,1,"span"),c()(),u(22,"mat-form-field",1)(23,"mat-label"),h(24,"Powt\xF3rz has\u0142o"),c(),x(25,"input",5),u(26,"mat-error"),v(27,mse,2,0,"span"),v(28,pse,2,0,"span"),c()()()(),u(29,"app-action-buttons-panel",6),T("cancelAction",function(){return r.cancel()}
7996)("confirmAction",function(){return r.saveNewPassword()}),c()()),n&2&&(l(2),S(r.data.title),l(2),g("formGroup",r.passwordFG),l(4),g("formControl",r.oldPassword),l(2),y(r.oldPassword.hasError("required")?10:-1),l(2),y(r.oldPassword.hasError("authentication.old_password_incorrect")?12:-1),l(4),g("formControl",r.newPassword),l(2),y(r.newPassword.hasError("required")?18:-1),l(),y(r.newPassword.hasError("mustBeDifferent")?19:-1),l(),y(r.newPassword.hasError("authentication.password_from_history")?20:-1),l(),y(!r.newPassword.hasError("required")&&!r.newPassword.hasError("mustBeDifferent")&&!r.newPassword.hasError("authentication.password_from_history")&&r.hasPolicyViolation()?21:-1),l(4),g("formControl",r.confirmNewPassword),l(2),y(r.confirmNewPassword.hasError("required")?27:-1),l(),y(r.confirmNewPassword.hasError("mustMatch")?28:-1),l(),g("confirmDisabled",r.passwordFG.invalid)("withResetButton",!1)("withCancelButton",!r.disableClose)("buttonLabelConfirm",r.ButtonLabels.OK))},dependencies:[Vr,Je,Xe,Ai,mn,$e,qn,Mt,Nt,Ot,Ve,qe,St,et,Tt],styles:[".password-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin-top:.5rem}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]})}}return t})();function hse(t,i){if(t&1&&(u(0,"mat-option",5),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),so("",e.id,", ",e.name)}}var oG=(()=>{class t{constructor(e,n,r,o,a,s,d){this.dialogRef=e,this.formBuilder=n,this.notificationService=r,this.clientsFacadeService=o,this.errorProviderService=a,this.injector=s,this.data=d,this.clients=[],this.filteredClients=B([]),this.disableClose=!1,this.ButtonLabels=tt,this.isClientSelected=!1,this.justPickedFromList=!1,this.disableClose=this.data.disableClose??!1,e.disableClose=this.disableClose,this.chooseClientFC=new z(""),this.defaultValueFC=new z(!1),this.clientFG=this.formBuilder.group({chooseClientFC:this.chooseClientFC,defaultValueFC:this.defaultValueFC})}ngOnInit(){this.getClients(),this.setupFiltering(),this.initListeners()}setupFiltering(){this.filteredClients=this.chooseClientFC.valueChanges.pipe(Re(""),$(e=>this.filterClients(e)))}initListeners(){this.chooseClientFC.valueChanges.pipe(It()).subscribe(e=>{e&&typeof e=="object"&&this.defaultValueFC.setValue(this.defaultClient?.id===e.id)})}get isClientChosen(){let e=this.chooseClientFC.value;return!!e&&typeof e=="object"}onFocus(){if(this.isClientSelected){this.isClientSelected=!1;return}this.chooseClientFC.setValue("")}onOptionSelected(){this.isClientSelected=!0,this.justPickedFromList=!0}onEnterInField(){Dt(()=>{if(this.justPickedFromList){this.justPickedFromList=!1;return}this.isClientChosen&&this.setClient()},{injector:this.injector})}resetValues(){this.chooseClientFC.reset(),this.defaultValueFC.reset(!1)}getClients(){this.clientsFacadeService.getAll().pipe(L(e=>{this.clients=e}),L(()=>this.loadDefaultFromBackend())).subscribe()}loadDefaultFromBackend(){this.clientsFacadeService.getDefault().pipe(L(e=>{this.checkIfOneClient(e,this.clients)})).subscribe()}setClient(){let e=this.chooseClientFC.value;this.clientsFacadeService.setClient(e,this.defaultValueFC.value).pipe(L(()=>{this.defaultValueFC.value&&this.notificationService.success("Zapisano domy\u015Bln\u0105 firm\u0119")}),We(1),this.errorProviderService.processError(ze.SAVING_ERROR,B([]))).subscribe({next:()=>{this.dialogRef.close(!0)}})}dismiss(){this.notificationService.default("Odrzucono zmiany"),this.dialogRef.close(!1)}displayClient(e){return!e||typeof e!="object"?"":`${e.id}, ${e.name}`}checkIfOneClient(e,n){!e&&n.length===1?this.clientsFacadeService.setClient(n[0],!0).pipe(L(()=>this.showDefaultClientOnFront(n[0]))).subscribe():this.showDefaultClientOnFront(e)}showDefaultClientOnFront(e){let n;e&&(n=this.clients.find(r=>r.id===e.id)),n?this.clientFG.setValue({chooseClientFC:n,defaultValueFC:!0}):this.clientFG.setValue({chooseClientFC:"",defaultValueFC:!1}),this.defaultClient=n}filterClients(e){if(!e)return this.clients;if(typeof e!="string")return this.clients;let n=e.toLowerCase();return this.clients.filter(r=>r.name.toLowerCase().includes(n)||r.id.toLowerCase().includes(n))}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Vi),E(Le),E(AE),E(Rt),E(ie),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-choose-client-dialog"]],standalone:!1,decls:17,vars:10,consts:[["auto","matAutocomplete"],[1,"flex-col","gap-10",3,"formGroup"],["appearance","outline"],["autocomplete","off","type","text","matInput","","placeholder","Wyszukaj i wybierz firm\u0119","appFocusConfirmOnSelect","",1,"custom-select","round-borders",3,"focus","keydown.enter","formControl","matAutocomplete"],["autoActiveFirstOption","",3,"optionSelected","displayWith"],[3,"value"],[3,"formControl"],[3,"cancelAction","resetAction","confirmAction","confirmDisabled","withCancelButton","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Wyb\xF3r firmy"),c(),u(3,"app-dialog-content")(4,"form",1)(5,"mat-form-field",2)(6,"mat-label"),h(7,"Wybierz firm\u0119"),c(),u(8,"input",3),T("focus",function(){return r.onFocus()})("keydown.enter",function(){return r.onEnterInField()}),c(),u(9,"mat-autocomplete",4,0),T("optionSelected",function(){return r.onOptionSelected()}),He(11,hse,2,3,"mat-option",5,at),be(13,"async"),c()(),u(14,"mat-checkbox",6),h(15," Ustaw jako domy\u015Blne "),c()()(),u(16,"app-action-buttons-panel",7),T("cancelAction",function(){return r.dismiss()})("resetAction",function(){return r.resetValues()})("confirmAction",function(){return r.setClient()}),c()()),n&2){let o=ye(10);l(4),g("formGroup",r.clientFG),l(4),g("formControl",r.chooseClientFC)("matAutocomplete",o),l(),g("displayWith",r.dis
7996playClient),l(2),Ue(Fe(13,8,r.filteredClients)),l(3),g("formControl",r.defaultValueFC),l(2),g("confirmDisabled",!r.isClientChosen)("withCancelButton",!r.disableClose)("buttonLabelConfirm",r.ButtonLabels.CONFIRM)}},dependencies:[Vr,Je,Xe,Ai,$e,qn,Mt,Nt,Ot,um,Ve,qe,Da,Qt,hr,ir,et,Tt,Ji],styles:[".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".gap-10[_ngcontent-%COMP%]{gap:10px}"]})}}return t})();var Na=(()=>{class t{getItem(e){let n=sessionStorage.getItem(e);return n===null?Promise.resolve(null):Promise.resolve(JSON.parse(n))}setItem(e,n){let r=sessionStorage.setItem(e,JSON.stringify(n));return Promise.resolve(r)}clear(){sessionStorage.clear()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var fse=["filterExpansionPanel"],gse=["contextMenu"],_se=t=>({"dialog-table":t}),bse=t=>({"basic-table-row-highlight":t});function vse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Numer rachunku"),c())}function yse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),be(3,"ibanFormatPipe"),c()()),t&2){let e=i.$implicit;l(2),S(Fe(3,1,e.accountIban))}}function Cse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Typ rachunku"),c())}function Dse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.accountsTypeGroup)}}function Ese(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Adres"),c())}function wse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address)}}function xse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Nazwa urz\u0119du"),c())}function Sse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.name)}}function Tse(t,i){t&1&&x(0,"mat-header-row",28)}function Ise(t,i){if(t&1){let e=Se();u(0,"mat-row",29),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.rowClickHandler(r))})("dblclick",function(){let r=te(e).$implicit,o=_();return ne(o.rowDoubleClickHandler(r))})("contextmenu",function(r){let o=te(e).$implicit,a=_();return ne(a.onRightClick(r,o))}),So("ngModelChange",function(r){te(e);let o=_();return Xo(o.rowDetails,r)||(o.rowDetails=r),ne(r)}),c()}if(t&2){let e=i.$implicit,n=_();xo("ngModel",n.rowDetails),g("ngClass",lo(2,bse,n.selection.selected.includes(e)))}}function Ase(t,i){if(t&1){let e=Se();u(0,"app-action-buttons-panel",30),T("cancelAction",function(){te(e);let r=_();return ne(r.cancelChoice())})("confirmAction",function(){te(e);let r=_();return ne(r.confirmChoice())}),c()}if(t&2){let e=_();g("withResetButton",!1)("buttonLabelConfirm",e.ButtonLabels.CHOOSE)}}var OE=(()=>{class t{constructor(e,n,r,o,a,s,d){this.notificationService=e,this.taxOfficeService=n,this.dialog=r,this.injector=o,this.userFacadeService=a,this.spinnerService=s,this.storage=d,this.pageSize=100,this.resultsLength=0,this.selection=new mr(!0,[]),this.isDialog=!1,this.isAddButtonDisabled=!1,this.ButtonLabels=tt,this.destroy$=new O,this.dataSource=new Ma,this.displayedColumns=["accountIban","accountsTypeGroup","address","name"],this.matSortActive=this.displayedColumns[2],this.matSortDirection="asc",this.accountNumberFC=new z,this.taxOfficeNameFC=new z,this.taxOfficeAddressFC=new z,this.documentFC=new z,this.forDayDocumentFC=new z,this.forDayTaxOfficeFC=new z,this.taxOfficeSearchFG=new Qn({accountNumber:this.accountNumberFC,taxOfficeName:this.taxOfficeNameFC,taxOfficeAddress:this.taxOfficeAddressFC,document:this.documentFC,forDayDocument:this.forDayDocumentFC,forDayTaxOffice:this.forDayTaxOfficeFC}),this.isAddButtonDisabled=!this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT,Ut.FUNC_TRANSFER_EDIT]),this.taxOfficeRequest=this.getFilters(),Promise.all([this.storage.getItem(wR),this.storage.getItem(xR)]).then(([p,f])=>{p&&f&&(this.matSortActive=p,this.matSortDirection=f)})}ngOnInit(){this.initFilterAndData(),this.updateDetails()}ngAfterViewInit(){this.dataSource.sort=this.sort,this.onPaginatorChange()}showSortChange(e){this.matSortDirection=e.direction,this.matSortActive=e.active}resetValues(){this.taxOfficeSearchFG.reset()}search(){this.filterExpansionPanel.close(),this.storage.setItem(ER,this.taxOfficeSearchFG.value),this.taxOfficeRequest=this.getFilters(),this.paginator.pageIndex=0,nn([this.getTaxOffice(this.taxOfficeRequest),this.getTaxOfficeCount(this.taxOfficeRequest)]).subscribe()}openTransferDialog(){this.selection.selected.length===1&&this.injector.get(vh).openDialog(pn.US_CLO,ar.getFromTaxOffice(this.selection.selected[0]),Me.NEW)}confirmChoice(){}cancelChoice(){}rowClickHandler(e){this.selection.toggle(e),this.clearDetails(),this.selection.selected.length>1&&this.selection.selected.forEach(n=>
7996{n!==e&&this.selection.deselect(n)}),this.updateDetails(e)}rowDoubleClickHandler(e){this.rowClickHandler(e),this.confirmChoice()}onRightClick(e,n){return e?.type==="contextmenu"&&this.openContextMenu(e,n),!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}initFilterAndData(){ut(Il(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(wR,this.matSortActive),this.storage.setItem(xR,this.matSortDirection)}),this.storage.getItem(ER).then(e=>{e&&this.taxOfficeSearchFG.patchValue(e)}).finally(()=>this.search())}getTaxOffice(e){return this.spinnerService.showSpinner(),this.taxOfficeService.getTaxOfficesFilterList(e,this.paginator.pageIndex).pipe(L(n=>this.dataSource.data=n),L(()=>this.spinnerService.hideSpinner()))}getTaxOfficeCount(e){return this.taxOfficeService.getTaxOfficeCount(e).pipe(Ge(()=>B(0)),L(n=>this.resultsLength=n))}updateDetails(e){e&&this.selection.isSelected(e)?(this.rowDetails=this.selection.selected[0],this.updateFC()):this.selection.selected.length===1?(this.rowDetails=this.selection.selected[0],this.updateFC()):this.clearDetails()}clearDetails(){this.rowDetails&&(this.rowDetails=void 0)}updateFC(){if(typeof this.rowDetails>"u")throw new Aa("rowDetails");this.accountNumberFC.setValue(this.rowDetails.accountIban),this.taxOfficeNameFC.setValue(this.rowDetails.name1),this.taxOfficeAddressFC.setValue(this.rowDetails.address)}getFilters(){return{name:this.taxOfficeNameFC.value||"",address:this.taxOfficeAddressFC.value||"",accountIban:this.accountNumberFC.value||"",accountType:this.documentFC.value||"",documentDate:this.forDayDocumentFC.value||"",usDate:this.forDayTaxOfficeFC.value||""}}onPaginatorChange(){this.paginator.page.pipe(W(()=>this.getTaxOffice(this.taxOfficeRequest))).subscribe(e=>this.dataSource.data=e)}openContextMenu(e,n){this.taxOfficeContextMenuComponent.onContextMenu(e,n)}static{this.\u0275fac=function(n){return new(n||t)(E(Le),E(Ch),E(mt),E(ie),E(wi),E($r),E(Na))}}static{this.\u0275cmp=k({type:t,selectors:[["app-tax-office"]],viewQuery:function(n,r){if(n&1&&ve(fse,5)(bo,5)(Ir,5)(gse,5),n&2){let o;H(o=U())&&(r.filterExpansionPanel=o.first),H(o=U())&&(r.paginator=o.first),H(o=U())&&(r.sort=o.first),H(o=U())&&(r.taxOfficeContextMenuComponent=o.first)}},standalone:!1,decls:68,vars:27,consts:[["filterExpansionPanel",""],["picker",""],["picker2",""],["contextMenu",""],[3,"isDialog"],["appPageFilter",""],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","type","text",3,"formControl"],[1,"flex-row"],["appearance","outline",1,"flex-40"],["autocomplete","off","matInput","","readonly","",3,"formControl","matDatepicker"],["matSuffix","",3,"for"],[3,"clickAction"],[1,"gap-02rem"],[3,"clickAction","disabled"],[3,"length","pageSize","showFirstLastButtons"],["matSort","","matSortDisableClear","",3,"matSortChange","dataSource","matSortActive","matSortDirection","ngClass"],["matColumnDef","accountIban"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","accountsTypeGroup"],["matColumnDef","address"],["matColumnDef","name"],["class","sticky-header-filter default-sticky",4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngModel","ngClass","click","dblclick","contextmenu","ngModelChange",4,"matRowDef","matRowDefColumns"],[3,"withResetButton","buttonLabelConfirm"],["mat-sort-header",""],[1,"sticky-header-filter","default-sticky"],["ngDefaultControl","",3,"click","dblclick","contextmenu","ngModelChange","ngModel","ngClass"],[3,"cancelAction","confirmAction","withResetButton","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-page-container",4)(1,"app-page-header",4),h(2,"Urz\u0119dy skarbowe i izby celne"),c(),u(3,"app-page-content")(4,"mat-expansion-panel",5,0)(6,"mat-expansion-panel-header")(7,"mat-panel-title"),h(8," Filtry "),c()(),u(9,"form",6)(10,"mat-form-field",7)(11,"mat-label"),h(12,"Numer rachunku"),c(),x(13,"input",8),c(),u(14,"mat-form-field",7)(15,"mat-label"),h(16,"Nazwa urz\u0119du"),c(),x(17,"input",8),c(),u(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),x(21,"input",8),c(),u(22,"mat-form-field",7)(23,"mat-label"),h(24,"Dokument"),c(),x(25,"input",8),c(),u(26,"div",9)(27,"mat-form-field",10)(28,"mat-label"),h(29,"Na dzie\u0144 (dokument)"),c(),x(30,"input",11)(31,"mat-datepicker-toggle",12)(32,"mat-datepicker",null,1),c(),u(34,"mat-form-field",10)(35,"mat-label"),h(36,"Na dzie\u0144 (urz\u0105d)"),c(),x(37,"input",11)(38,"mat-datepicker-toggle",12)(39,"mat-datepicker",null,2),c()(),u(41,"mat-card-actions")(42,"app-button",13),T("clickAction",function(){return r.search()}
7996),h(43,"Szukaj"),c(),u(44,"app-button",13),T("clickAction",function(){return r.resetValues()}),h(45,"Wyczy\u015B\u0107"),c()()()(),u(46,"app-page-btn-panel",14)(47,"app-button",15),T("clickAction",function(){return r.openTransferDialog()}),h(48," Dodaj przelew US / C\u0141O "),c()(),x(49,"mat-paginator",16),u(50,"mat-table",17),T("matSortChange",function(a){return r.showSortChange(a)}),Cn(51,18),fe(52,vse,2,0,"mat-header-cell",19)(53,yse,4,3,"mat-cell",20),Dn(),Cn(54,21),fe(55,Cse,2,0,"mat-header-cell",19)(56,Dse,3,1,"mat-cell",20),Dn(),Cn(57,22),fe(58,Ese,2,0,"mat-header-cell",19)(59,wse,3,1,"mat-cell",20),Dn(),Cn(60,23),fe(61,xse,2,0,"mat-header-cell",19)(62,Sse,3,1,"mat-cell",20),Dn(),fe(63,Tse,1,0,"mat-header-row",24)(64,Ise,1,4,"mat-row",25),c()(),v(65,Ase,1,2,"app-action-buttons-panel",26),c(),x(66,"app-tax-office-context-menu",null,3)),n&2){let o=ye(33),a=ye(40);g("isDialog",r.isDialog),l(),g("isDialog",r.isDialog),l(8),g("formGroup",r.taxOfficeSearchFG),l(4),g("formControl",r.accountNumberFC),l(4),g("formControl",r.taxOfficeNameFC),l(4),g("formControl",r.taxOfficeAddressFC),l(4),g("formControl",r.documentFC),l(5),g("formControl",r.forDayDocumentFC)("matDatepicker",o),l(),g("for",o),l(6),g("formControl",r.forDayTaxOfficeFC)("matDatepicker",a),l(),g("for",a),l(9),g("disabled",r.selection.selected.length!==1||r.isAddButtonDisabled),l(2),g("length",r.resultsLength)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(),g("dataSource",r.dataSource)("matSortActive",r.matSortActive)("matSortDirection",r.matSortDirection)("ngClass",lo(25,_se,r.isDialog)),l(13),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?65:-1)}},styles:["[_nghost-%COMP%]{display:block;padding:1.5rem}.mat-column-accountIban[_ngcontent-%COMP%]{min-width:15rem}.mat-column-accountsTypeGroup[_ngcontent-%COMP%]{max-width:7rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gap-02rem[_ngcontent-%COMP%]{gap:.2rem}.flex-40[_ngcontent-%COMP%]{flex:1 1 40%;max-width:40%;box-sizing:border-box}"]})}}return t})();var kse=t=>({"dialog-table":t}),Rse=t=>({"basic-table-row-highlight":t});function Mse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Numer rachunku"),c())}function Nse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),be(3,"ibanFormatPipe"),c()()),t&2){let e=i.$implicit;l(2),S(Fe(3,1,e.accountIban))}}function Ose(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Typ rachunku"),c())}function Fse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.accountsTypeGroup)}}function Pse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Adres"),c())}function Lse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address)}}function Bse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Nazwa urz\u0119du"),c())}function Vse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.name)}}function jse(t,i){t&1&&x(0,"mat-header-row",28)}function Hse(t,i){if(t&1){let e=Se();u(0,"mat-row",29),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.rowClickHandler(r))})("dblclick",function(){let r=te(e).$implicit,o=_();return ne(o.rowDoubleClickHandler(r))})("contextmenu",function(r){let o=te(e).$implicit,a=_();return ne(a.onRightClick(r,o))}),So("ngModelChange",function(r){te(e);let o=_();return Xo(o.rowDetails,r)||(o.rowDetails=r),ne(r)}),c()}if(t&2){let e=i.$implicit,n=_();xo("ngModel",n.rowDetails),g("ngClass",lo(2,Rse,n.selection.selected.includes(e)))}}function Use(t,i){if(t&1){let e=Se();u(0,"app-action-buttons-panel",30),T("cancelAction",function(){te(e);let r=_();return ne(r.cancelChoice())})("confirmAction",function(){te(e);let r=_();return ne(r.confirmChoice())}),c()}if(t&2){let e=_();g("withResetButton",!1)("buttonLabelConfirm",e.ButtonLabels.CHOOSE)}}var Ad=(()=>{class t extends OE{constructor(e,n,r,o,a,s,d,p,f){super(e,n,o,a,s,d,p),this.notificationService=e,this.taxOfficeService=n,this.dialogRef=r,this.dialog=o,this.injector=a,this.userFacadeService=s,this.spinnerService=d,this.storage=p,this.dialogData=f,this.isDialog=f.isDialog}ngOnInit(){super.ngOnInit()}confirmChoice(){this.dialogRef.close(this.rowDetails)}cancelChoice(){this.dialogRef.close()}static{this.\u0275fac=function(n){return new(n||t)(E(Le),E(Ch),E(Ze),E(mt),E(ie),E(wi),E($r),E(Na),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-tax-office-dialog"]],standalone:!1,features:[he],decls:68,vars:27,consts:[["filterExpansionPanel",""],["picker",""],["picker2",""],["contextMenu",""],[3,"isDialog"],["appPageFilter",""],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","type","text",3,"formControl"],[1,"flex-row"],["appearance","outline",1,"flex-40"],["autocomplete","off","matInput","","readonly","",3,"formControl","matDatepicker"],["matSuffix","",3,"for"],[3,"clickAction"],[1,"gap-02rem"],[3,"clickAction","disabled"],[3,"length","pageSize","showFirstLastButtons"],["matSort","","matSortDisableClear","",3,"matSortChange","dataSource","matSortActive","matSortDirection","ngClass"],["matColumnDef","accountIban"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","accountsTypeGroup"],["matColumnDef","address"],["matColumnDef","name"],["class","sticky-header-filter default-sticky",4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngModel","ngClass","click","dblclick","contextmenu","ngModelChange",4,"matRowDef","matRowDefColumns"],[3,"withResetButton","buttonLabelConfirm"],["mat-sort-header",""],[1,"sticky-header-filter","default-sticky"],["ngDefaultControl","",3,"click","dblclick","contextmenu","ngModelChange","ngModel","ngClass"],[3,"cancelAction","confirmAction","withResetButton","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-page-container",4)(1,"app-page-header",4),h(2,"Urz\u0119dy skarbowe i izby celne"),c(),u(3,"app-page-content")(4,"mat-expansion-panel",5,0)(6,"mat-expansion-panel-header")(7,"mat-panel-title"),h(8," Filtry "),c()(),u(9,"form",6)(10,"mat-form-field",7)(11,"mat-label"),h(12,"Numer rachunku"),c(),x(13,"input",8),c(),u(14,"mat-form-field",7)(15,"mat-label"),h(16,"Nazwa urz\u0119du"),c(),x(17,"input",8),c(),u(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),x(21,"input",8),c(),u(22,"mat-form-field",7)(23,"mat-label"),h(24,"Dokument"),c(),x(25,"input",8),c(),u(26,"div",9)(27,"mat-form-field",10)(28,"mat-label"),h(29,"Na dzie\u0144 (dokument)"),c(),x(30,"input",11)(31,"mat-datepicker-toggle",12)(32,"mat-datepicker",null,1),c(),u(34,"mat-form-field",10)(35,"mat-label"),h(36,"Na dzie\u0144 (urz\u0105d)"),c(),x(37,"input",11)(38,"mat-datepicker-toggle",12)(39,"mat-datepicker",null,2),c()(),u(41,"mat-card-actions")(42,"app-button",13),T("clickAction",function(){return r.search()}
7996),h(43,"Szukaj"),c(),u(44,"app-button",13),T("clickAction",function(){return r.resetValues()}),h(45,"Wyczy\u015B\u0107"),c()()()(),u(46,"app-page-btn-panel",14)(47,"app-button",15),T("clickAction",function(){return r.openTransferDialog()}),h(48," Dodaj przelew US / C\u0141O "),c()(),x(49,"mat-paginator",16),u(50,"mat-table",17),T("matSortChange",function(a){return r.showSortChange(a)}),Cn(51,18),fe(52,Mse,2,0,"mat-header-cell",19)(53,Nse,4,3,"mat-cell",20),Dn(),Cn(54,21),fe(55,Ose,2,0,"mat-header-cell",19)(56,Fse,3,1,"mat-cell",20),Dn(),Cn(57,22),fe(58,Pse,2,0,"mat-header-cell",19)(59,Lse,3,1,"mat-cell",20),Dn(),Cn(60,23),fe(61,Bse,2,0,"mat-header-cell",19)(62,Vse,3,1,"mat-cell",20),Dn(),fe(63,jse,1,0,"mat-header-row",24)(64,Hse,1,4,"mat-row",25),c()(),v(65,Use,1,2,"app-action-buttons-panel",26),c(),x(66,"app-tax-office-context-menu",null,3)),n&2){let o=ye(33),a=ye(40);g("isDialog",r.isDialog),l(),g("isDialog",r.isDialog),l(8),g("formGroup",r.taxOfficeSearchFG),l(4),g("formControl",r.accountNumberFC),l(4),g("formControl",r.taxOfficeNameFC),l(4),g("formControl",r.taxOfficeAddressFC),l(4),g("formControl",r.documentFC),l(5),g("formControl",r.forDayDocumentFC)("matDatepicker",o),l(),g("for",o),l(6),g("formControl",r.forDayTaxOfficeFC)("matDatepicker",a),l(),g("for",a),l(9),g("disabled",r.selection.selected.length!==1||r.isAddButtonDisabled),l(2),g("length",r.resultsLength)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(),g("dataSource",r.dataSource)("matSortActive",r.matSortActive)("matSortDirection",r.matSortDirection)("ngClass",lo(25,kse,r.isDialog)),l(13),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?65:-1)}},styles:["[_nghost-%COMP%]{display:block;padding:1.5rem}.mat-column-accountIban[_ngcontent-%COMP%]{min-width:15rem}.mat-column-accountsTypeGroup[_ngcontent-%COMP%]{max-width:7rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gap-02rem[_ngcontent-%COMP%]{gap:.2rem}.flex-40[_ngcontent-%COMP%]{flex:1 1 40%;max-width:40%;box-sizing:border-box}"]})}}return t})();var FE=new Map([[ct.NORMAL_TRANSFER,"Przelew zwyk\u0142y"],[ct.FOREIGN_TRANSFER,"Przelew zagraniczny"],[ct.US_TRANSFER,"Przelew US / C\u0141O"],[ct.VAT_TRANSFER,"Faktura VAT"]]);var la=(function(t){return t[t.ALL=0]="ALL",t[t.DEBIT=1]="DEBIT",t[t.CREDITS=2]="CREDITS",t})(la||{}),L_t=[{value:la.ALL.toString(),viewValue:"Wszystkie"},{value:la.DEBIT.toString(),viewValue:"Obci\u0105\u017Cenia"},{value:la.CREDITS.toString(),viewValue:"Uznania"}];var Po="Pole jest wymagane",wh="Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w",j_t="
7996(\\d+([\\,\\.]\\d{0,2})?|\\.?\\d{1,2})",xh="Przekroczono maksymaln\u0105 liczb\u0119 znak\xF3w",Xt=class{static calculateWeightedSum(i,e){let n=0,r=i.length;for(let o=0;o<r;o++)n+=parseInt(e.substring(o,o+1),10)*i[o];return n}static isRequired(i){return i&&(i.touched||i.dirty)&&i.hasError("required")}static currencyValidator(){return i=>{let e=parseFloat(i.value);return e<=0?{errorNotEnoughAmount:!0}:Number.isNaN(e)&&i.value!==""?{errorIllegalChar:!0}:null}}static ibanSimplyValidator(){return i=>{let e=ue.removeWhitespaces(i.value);return e.length!==26&&e.length!==0?{incorrectIban:!0}:null}}};var zse="Nieprawid\u0142owy numer NIP",Lo=class t{static check(i){let e=i.value;return!e||e.length===0||t.isValid(t.getTextWithoutDashes(e))?null:{nip:{message:zse}}}static isValid(i){if(t.isPatternValid(i)){let e=[6,5,7,2,3,4,5,6,7];return Xt.calculateWeightedSum(e,i)%11===parseInt(i.substring(9,10),10)}else return!1}static getTextWithoutDashes(i){return i.toString().replace(/[ \-]/gi,"")}static isPatternValid(i){return new RegExp(/^[0-9]{10}$/).test(i)}};var Gse="Nieprawid\u0142owy numer PESEL",Oa=class t{static check(i){let e=i?.value;return!e||e.length===0||t.isValid(e)?null:{pesel:{message:Gse}}}static isValid(i){if(t.isPatternValid(i)){let e=[9,7,3,1,9,7,3,1,9,7];return Xt.calculateWeightedSum(e,i)%10===parseInt(i.substring(10,11),10)}return!1}static isPatternValid(i){return new RegExp(/^[0-9]{11}$/).test(i)}};var uc=class t{constructor(i,e){this.value=i,this.type=e}static from(...i){for(let e of i){let n=(e||"").replace(/[\s-]/g,"");if(Lo.isValid(n))return new t(n,vn.NIP);if(Oa.isValid(n))return new t(n,vn.PESEL)}}isNip(){return this.type===vn.NIP}isPesel(){return this.type===vn.PESEL}toContractorFields(){return this.isNip()?{nip:this.value}:{pesel:this.value}}};var Mi=class{static getContractorType(i){switch(i){case"INTERNATIONAL":case"FOREIGN_TRANSFER":return ct.FOREIGN_TRANSFER;case"US_CLO":case"US_TRANSFER":return ct.US_TRANSFER;case"VAT_INVOICE":case"VAT_TRANSFER":return ct.VAT_TRANSFER;case"COMMON":case"NORMAL_TRANSFER":return ct.NORMAL_TRANSFER;default:return ct.NORMAL_TRANSFER}}static getContractorTypeFromOper(i){switch(i){case"PRZELEW_VAT":case"53":return ct.VAT_TRANSFER;case"PRZELEW_US":case"71":case"74":return ct.US_TRANSFER;case"PRZELEW_ZAGRANICZNY":case"P0":case"P1":case"CS":case"ES":case"HS":return ct.FOREIGN_TRANSFER;default:return ct.NORMAL_TRANSFER}}static getContractorShortName(i){return i.shortName||""}static getContractorImportRequest(i,e,n,r,o){return{type:i,encoding:o,fileId:e,filePath:n,isForLogin:r}}static parseTransferToContractor(i,e){return P({name1:i.name1,name2:i.name2,address1:i.address1,address2:i.address2,targetAccount:i.targetAccount,bic:i.bank?.bic,title:i.title,bank1:i.bank?.bankName,bank2:i.bank?.address,bank3:i.bank?.city,bank4:i.bank?.country,amount:i.amount,currency:i.currency},this.isIncoming(e)?{}:uc.from(i.idNipPesel,i.whiteListDTO?.nip)?.toContractorFields())}static getIdentifierFromOperation(i){if(this.isIncoming(i))return{};let e=Cd.parse(i.title||"","").peselNip;return uc.from(e,i.whiteListDTO?.nip)?.toContractorFields()||{}}static getTypeName(i){return FE.get(i)||""}static isIncoming(i){return i?.side===la[la.CREDITS]}};var Wse="Nieprawid\u0142owy numer REGON",kd=class t{static check(i){return!i.value||t.isValid(i.value)||i.value.toString().length===1&&isNaN(Number(i.value))?null:{regon:{message:Wse}}}static isValid(i){if(t.isPatternValid(i)){if(i.length===9){let e=[8,9,2,3,4,5,6,7],n=Xt.calculateWeightedSum(e,i);return this.checkValid(n,i)}else if(i.length===14){let e=[2,4,8,5,0,9,7,3,6,1,2,4,8],n=Xt.calculateWeightedSum(e,i);return this.checkValid(n,i)}}else return!1}static checkValid(i,e){let n=i%11;return(n===10?0:n)===parseInt(e.substr(-1),10)}static isPatternValid(i){return new RegExp(/^[0-9]{9,14}$/).test(i)}};var Sh=(()=>{class t{constructor(){this.SHORT_NAME_MAX_LENGTH=20,this.INPUT_MAX_LENGTH=35,this.fb=m(Er),this.form=this.fb.nonNullable.group({type:this.fb.nonNullable.control({value:"",disabled:!0}),shortName:this.fb.nonNullable.control("",[G.required,G.pattern(ue.namePattern),G.maxLength(this.SHORT_NAME_MAX_LENGTH)]),namePart1:this.fb.nonNullable.control("",[G.required,G.maxLength(this.INPUT_MAX_LENGTH)]),namePart2:this.fb.nonNullable.control("",G.maxLength(this.INPUT_MAX_LENGTH)),addressPart1:this.fb.nonNullable.control("",G.maxLength(this.INPUT_MAX_LENGTH)),addressPart2:this.fb.nonNullable.control("",G.maxLength(this.INPUT_MAX_LENGTH))})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Th=(()=>{class t{constructor(){this.contractorService=m(br),this.authFlow=m(gl),this.notificationService=m(Le)}saveContractor(e){return this.authorize(this.contractorService.saveAuthOperation(e),e)}updateContractor(e){return this.authorize(this.contractorService.updateAuthOperation(e),e)}authorize(e,n){let r=`Potwierdzenie dodania lub zmiany danych kontrahenta: ${Mi.getContractorShortName(n)}`;return this.authFlow.run(e,[],{title:"Autoryzacja kontrahenta",summary:r}).pipe(L(()=>this.notificationService.success(ze.CONTRACTOR_CREATING_UPDATING_SUCCESS)),kE())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var MR=(()=>{class t{constructor(e){this.control=e}onInputChange(e){let n=this.control.control;if(!n)return;let r=n.value,o=bt.getOnlyNumbersWithOneDot(r);o=bt.trimDecimalsToTwoPlaces(o),n.setValue(o),r!==o&&e.stopPropagation()}
7996formatAmount(){let e=this.control.control;if(!e)return;let n=e.value,r=bt.formatAmount(n);n=+n==0?q_:bt.trimDecimalsToTwoPlaces(r),e.setValue(n)}static{this.\u0275fac=function(n){return new(n||t)(E(Li))}}static{this.\u0275dir=N({type:t,selectors:[["","appTwoDecimalPlacesNumber",""]],hostBindings:function(n,r){n&1&&T("input",function(a){return r.onInputChange(a)})("blur",function(){return r.formatAmount()})},standalone:!1})}}return t})();function Yse(t,i){t&1&&(u(0,"span"),h(1,"Kwota jest wymagana"),c())}function Kse(t,i){t&1&&(u(0,"span"),h(1,"Zbyt ma\u0142a kwota"),c())}function Xse(t,i){t&1&&(u(0,"span"),h(1,"Zbyt du\u017Ca kwota"),c())}function Zse(t,i){t&1&&(u(0,"span"),h(1,"Zbyt ma\u0142a kwota"),c())}function Qse(t,i){t&1&&(u(0,"span"),h(1,"Zbyt du\u017Ca kwota"),c())}function Jse(t,i){t&1&&(u(0,"span"),h(1,"Kwota musi by\u0107 wi\u0119ksza od 0"),c())}function ele(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera niedozwolone znaki"),c())}function tle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.empty"])}}function nle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.zero"])}}function ile(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.greaterThan001"])}}function rle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.max_range"])}}function ole(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.min_range"])}}function ale(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.greaterThanOne"])}}function sle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwotaVat.greaterThan0"])}}function lle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.wplata.greaterThanOne"])}}function cle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.wyplata.greaterThanOne"])}}function dle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.wyplata.za_duzo"])}}function ule(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["error.field.amount.not_allowed"])}}function mle(t,i){t&1&&(u(0,"span"),h(1,"Kwota VAT nie mo\u017Ce by\u0107 wi\u0119ksza od kwoty brutto"),c())}function ple(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["kwota.brakSrodkow"])}}function hle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["error.field.amount.wrong_format_with_penny"])}}function fle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["error.field.amount.wrong_format"])}}var NR=(()=>{class t{constructor(){this.ERRORS=ln}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-amount-error"]],inputs:{amountFC:"amountFC"},standalone:!1,decls:22,vars:22,template:function(n,r){n&1&&(v(0,Yse,2,0,"span"),v(1,Kse,2,0,"span"),v(2,Xse,2,0,"span"),v(3,Zse,2,0,"span"),v(4,Qse,2,0,"span"),v(5,Jse,2,0,"span"),v(6,ele,2,0,"span"),v(7,tle,2,1,"span"),v(8,nle,2,1,"span"),v(9,ile,2,1,"span"),v(10,rle,2,1,"span"),v(11,ole,2,1,"span"),v(12,ale,2,1,"span"),v(13,sle,2,1,"span"),v(14,lle,2,1,"span"),v(15,cle,2,1,"span"),v(16,dle,2,1,"span"),v(17,ule,2,1,"span"),v(18,mle,2,0,"span"),v(19,ple,2,1,"span"),v(20,hle,2,1,"span"),v(21,fle,2,1,"span")),n&2&&(y(r.amountFC.hasError("required")?0:-1),l(),y(r.amountFC.hasError("minlength")?1:-1),l(),y(r.amountFC.hasError("maxlength")?2:-1),l(),y(r.amountFC.hasError("min")?3:-1),l(),y(r.amountFC.hasError("max")?4:-1),l(),y(r.amountFC.hasError("errorNotEnoughAmount")?5:-1),l(),y(r.amountFC.hasError("errorIllegalChar")&&!r.amountFC.hasError("required")?6:-1),l(),y(r.amountFC.hasError("kwota.empty")?7:-1),l(),y(r.amountFC.hasError("kwota.zero")?8:-1),l(),y(r.amountFC.hasError("kwota.greaterThan001")?9:-1),l(),y(r.amountFC.hasError("kwota.max_range")?10:-1),l(),y(r.amountFC.hasError("kwota.min_range")?11:-1),l(),y(r.amountFC.hasError("kwota.greaterThanOne")?12:-1),l(),y(r.amountFC.hasError("kwotaVat.greaterThan0")?13:-1),l(),y(r.amountFC.hasError("kwota.wplata.greaterThanOne")?14:-1),l(),y(r.amountFC.hasError("kwota.wyplata.greaterThanOne")?15:-1),l(),y(r.amountFC.hasError("kwota.wyplata.za_duzo")?16:-1),l(),y(r.amountFC.hasError("error.field.amount.not_allowed")?17:-1),l(),y(r.amountFC.hasError("notBiggerThan")?18:-1),l(),y(r.amountFC.hasError("kwota.brakSrodkow")?19:-1),l(),y(r.amountFC.hasError("error.field.amount.wrong_format_with_penny")?20:-1),l(),y(r.amountFC.hasError("error.field.amount.wrong_format")?21:-1))},encapsulation:2})}}return t})();
7996function _le(t,i){t&1&&(u(0,"span",2),h(1,"PLN"),c())}var Yr=(()=>{class t{constructor(){this.isRequired=!0,this.fieldLabel="Kwota",this.maximumLength=20,this.showPLNSuffix=!1,this.handleFocusoutEvent=new V}set disabledInput(e){e?this.amountFC.disable():this.amountFC.enable()}handleFocusout(){this.handleFocusoutEvent.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-amount-input"]],inputs:{amountFC:"amountFC",isRequired:"isRequired",fieldLabel:"fieldLabel",maximumLength:"maximumLength",showPLNSuffix:[2,"showPLNSuffix","showPLNSuffix",q],disabledInput:"disabledInput"},outputs:{handleFocusoutEvent:"handleFocusoutEvent"},standalone:!1,decls:7,vars:6,consts:[["appearance","outline"],["matInput","","appTwoDecimalPlacesNumber","","placeholder","Kwota",3,"focusout","formControl","maxlength","required"],["matSuffix","",1,"currencySuffix"],[3,"amountFC"]],template:function(n,r){n&1&&(u(0,"mat-form-field",0)(1,"mat-label"),h(2),c(),u(3,"input",1),T("focusout",function(){return r.handleFocusout()}),c(),v(4,_le,2,0,"span",2),u(5,"mat-error"),x(6,"app-amount-error",3),c()()),n&2&&(l(2),S(r.fieldLabel),l(),g("formControl",r.amountFC)("maxlength",r.maximumLength)("required",r.isRequired),l(),y(r.showPLNSuffix?4:-1),l(2),g("amountFC",r.amountFC))},dependencies:[Ve,qe,St,Ln,et,Je,Xe,mn,Bi,$e,Bt,MR,NR],styles:["[_nghost-%COMP%]{display:block}mat-form-field[_ngcontent-%COMP%]{width:100%}input[_ngcontent-%COMP%]{text-align:right!important}.currencySuffix[_ngcontent-%COMP%]{padding-right:5px}"]})}}return t})();function vle(t,i){t&1&&(u(0,"mat-hint")(1,"span",5),h(2,`Cudzys\u0142\xF3w (") zostanie zamieniony na apostrof (') podczas zapisu przelewu.`),c()())}function yle(t,i){t&1&&(u(0,"mat-error"),h(1,"Nazwa jest wymagana"),c())}function Cle(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.namePart1FC.getError("pattern")))}}function Dle(t,i){t&1&&(u(0,"mat-hint")(1,"span",5),h(2,`Cudzys\u0142\xF3w (") zostanie zamieniony na apostrof (') podczas zapisu przelewu.`),c()())}function Ele(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.namePart2FC.getError("pattern")))}}function wle(t,i){t&1&&(u(0,"mat-error"),h(1,"Adres jest wymagany"),c())}function xle(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.addressPart1FC.getError("pattern")))}}function Sle(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.addressPart2FC.getError("pattern")))}}var Kr=(()=>{class t{constructor(){this.isInternational=co(!1),this.INPUT_MAX_LENGTH=35,this.getInvalidCharacters=ue.getInvalidCharacters}ngOnInit(){let e=this.isInternational()?ue.swiftPattern:ue.namePattern,n=this.isInternational()?ue.swiftPattern:ue.addressPattern;this.namePart1FC.setValidators([G.required,G.maxLength(this.INPUT_MAX_LENGTH),G.pattern(e)]),this.namePart2FC.setValidators([G.maxLength(this.INPUT_MAX_LENGTH),G.pattern(e)]),this.addressPart1FC.setValidators([G.required,G.maxLength(this.INPUT_MAX_LENGTH),G.pattern(n)]),this.addressPart2FC.setValidators([G.maxLength(this.INPUT_MAX_LENGTH),G.pattern(n)])}checkIfHasDoubleQuote(e){return e?.includes('"')}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-recipant-input"]],inputs:{addressPart1FC:"addressPart1FC",addressPart2FC:"addressPart2FC",namePart1FC:"namePart1FC",namePart2FC:"namePart2FC",isInternational:[1,"isInternational"]},standalone:!1,decls:26,vars:16,consts:[["appearance","outline"],["autocomplete","off","matInput","","name","namePart1FC","required","",3,"formControl","maxlength"],["autocomplete","off","matInput","","name","namePart2FC",3,"formControl","maxlength"],["autocomplete","off","matInput","","name","addressPart1FC",3,"formControl","maxlength"],["autocomplete","off","matInput","","name","addressPart2FC",3,"formControl","maxlength"],[1,"blue-hint"]],template:function(n,r){n&1&&(u(0,"div")(1,"mat-form-field",0)(2,"mat-label"),h(3,"Nazwa"),c(),x(4,"input",1),v(5,vle,3,0,"mat-hint"),v(6,yle,2,0,"mat-error"),v(7,Cle,4,1,"mat-error"),c(),u(8,"mat-form-field",0)(9,"mat-label"),h(10,"Nazwa cd."),c(),x(11,"input",2),v(12,Dle,3,0,"mat-hint"),v(13,Ele,4,1,"mat-error"),c()(),u(14,"div")(15,"mat-form-field",0)(16,"mat-label"),h(17,"Adres"),c(),x(18,"input",3),v(19,wle,2,0,"mat-error"),v(20,xle,4,1,"mat-error"),c(),u(21,"mat-form-field",0)(22,"mat-label"),h(23,"Adres cd."),c(),x(24,"input",4),v(25,Sle,4,1,"mat-error"),c()()),n&2&&(l(4),g("formControl",r.namePart1FC)("maxlength",r.INPUT_MAX_LENGTH),l(),y(r.checkIfHasDoubleQuote(r.namePart1FC.value)?5:-1),l(),y(r.namePart1FC.hasError("required")?6:-1),l(),y(r.namePart1FC.hasError("pattern")?7:-1),l(4),g("formControl",r.namePart2FC)("maxlength",r.INPUT_MAX_LENGTH),l(),y(r.checkIfHasDoubleQuote(r.namePart2FC.value)?12:-1),l(),y(r.namePart2FC.hasError("pattern")?13:-1),l(5),g("formControl",r.addressPart1FC)("maxlength",r.INPUT_MAX_LENGTH),l(),y(r.addressPart1FC.hasError("required")?19:-1),l(),y(r.addressPart1FC.hasError("pattern")?20:-1),l(4),g("formControl",r.addressPart2FC)("maxlength",r.INPUT_MAX_LENGTH),l(),y(r.addressPart2FC.hasError("pattern")?25:-1))},dependencies:[Ve,qe,oa,St,et,Je,Xe,mn,Bi,$e,Bt],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;gap:20px}[_nghost-%COMP%] > div[_ngcontent-%COMP%] > mat-form-field[_ngcontent-%COMP%]{flex:1}.blue-hint[_ngcontent-%COMP%]{color:#2196f3}"]})}}return t})();function Tle(t,i){t&1&&(u(0,"span"),h(1,"Niepoprawny numer rachunku"),c())}function Ile(t,i){t&1&&(u(0,"span"),h(1,"Brak kodu kraju. Dopisz kod kraju do numer rachunku lub wybierz kraj z listy"),c())}function Ale(t,i){t&1&&(u(0,"span"),h(1,"Nieprawid\u0142owa d\u0142ugo\u015B\u0107 IBANu dla wybranego kraju"),c())}var J_=(()=>{class t{constructor(){this.validatorUtils=Xt,this.isRequiredErrorText=Po,this.IBAN_MAX_LENGTH=35}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-iban-input"]],inputs:{bankAccountFC:"bankAccountFC"},standalone:!1,decls:8,vars:5,consts:[["appearance","outline"],["autocomplete","off","matInput","","required","",3,"formControl","maxlength"]],template:function(n,r){n&1&&(u(0,"mat-form-field",0)(1,"mat-label"),h(2,"Rachunek"),c(),x(3,"input",1),u(4,"mat-error"),v(5,Tle,2,0,"span"),v(6,Ile,2,0,"span"),v(7,Ale,2,0,"span"),c()()),n&2&&(l(3),g("formControl",r.bankAccountFC)("maxlength",r.IBAN_MAX_LENGTH),l(2),y(r.bankAccountFC.hasError("incorrectIban")?5:-1),l(),y(r.bankAccountFC.hasError("noCountrySpecified")?6:-1),l(),y(r.bankAccountFC.hasError("incorrectLength")?7:-1))},dependencies:[Ve,qe,St,et,Je,Xe,mn,Bi,$e,Bt],styles:["[_nghost-%COMP%]{display:block}","mat-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var kle=["trigger"];function Rle(t,i){t&1&&(u(0,"span"),h(1,"Edytuj kontrahenta"),c())}function Mle(t,i){t&1&&(u(0,"span"),h(1,"Dodaj kontrahenta"),c())}function Nle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Ole(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["nazwaSkrot.exists"])}}function Fle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.INCORRECT_SIGNS_TEXT)}}function Ple(t,i){if(t&1){let e=Se();u(0,"app-button",33),T("clickAction",function(){te(e);let r=_();
7996return ne(r.openDialog(r.ContractorTypeEnum.US_TRANSFER))}),h(1,"Wybierz "),c()}}function Lle(t,i){if(t&1){let e=Se();u(0,"div",11)(1,"mat-form-field",34)(2,"mat-label"),h(3,"Kod BIC banku"),c(),x(4,"input",35),c(),u(5,"app-button",36),T("clickAction",function(){te(e);let r=_();return ne(r.openDialog(r.ContractorTypeEnum.FOREIGN_TRANSFER))}),h(6," Wybierz "),c()()}if(t&2){let e=_();l(5),g("disabled",e.isBicBtnDisable)}}function Ble(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Vle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function jle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["nip.checkSumInvalid"])}}function Hle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["regon.checkSumInvalid"])}}function Ule(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["pesel.invalidCheckSum"])}}function zle(t,i){if(t&1&&(u(0,"mat-option",24),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Gle(t,i){if(t&1&&(u(0,"mat-option",29),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Wle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.INCORRECT_SIGNS_TEXT)}}var PE=(()=>{class t{constructor(e,n,r,o){this.dialog=e,this.dialogRef=n,this.contractorService=r,this.data=o,this.ERRORS=ln,this.INCORRECT_SIGNS_TEXT=wh,this.IBAN_MAX_LENGTH=35,this.SHORT_NAME_MAX_LENGTH=20,this.NIP_MAX_LENGTH=10,this.REGON_MAX_LENGTH=14,this.PESEL_MAX_LENGTH=11,this.IBAN_MIN_LENGTH=26,this.ButtonLabels=tt,this.ContractorTypeEnum=ct,this.ValidatorUtils=Xt,this.fb=m(Er),this.contractorSaveUpdateService=m(Th),this.errorProviderService=m(Rt),this.contractorValidationService=m(TE),this.bankInputFormService=m(Y_),this.bankInputForm=this.bankInputFormService.form,this.bankSearchService=m(gR),this.contractorInputFormService=m(Sh),this.contractorInputForm=this.contractorInputFormService.form,this.nipFC=this.fb.nonNullable.control("",Lo.check),this.regonFC=this.fb.nonNullable.control("",kd.check),this.peselFC=this.fb.nonNullable.control("",Oa.check),this.groupFC=new z,this.amountFC=this.fb.nonNullable.control(""),this.currencies=m(ml).getCurrencies(),this.currencyFC=this.fb.nonNullable.control("PLN"),this.titleFC=this.fb.nonNullable.control("",G.pattern(ue.titlePattern)),this.onlyForLoggedUserFC=this.fb.nonNullable.control(!1),this.isRequiredErrorText=Po,this.groups=[],this.isBicBtnDisable=!1,this.listFlag=!1,this.bankInputForm.controls.number.setValidators([G.required,G.maxLength(this.IBAN_MAX_LENGTH),G.pattern(ue.ibanPattern)]),this.contractorInputForm.markAllAsTouched(),this.bankInputForm.markAllAsTouched(),this.additionalInfoFG=this.fb.group({nipFC:this.nipFC,regonFC:this.regonFC,peselFC:this.peselFC,groupFC:this.groupFC,amountFC:this.amountFC,currencyFC:this.currencyFC,titleFC:this.titleFC,onlyForLogin:this.onlyForLoggedUserFC}),this.additionalInfoFG.markAllAsTouched(),this.allDataFG=this.fb.group({contractorDataFG:this.contractorInputForm,bankDataFG:this.bankInputForm,additionalInfoFG:this.additionalInfoFG}),this.dataDetails=Array.isArray(o.details)?this.data.details[0]:this.data.details}getFormGroup(){return this.allDataFG}ngOnInit(){this.contractorType=Mi.getContractorType(this.data.dialogVariant),this.setInitialFCValuesToChange(),this.getContractorsGroups()}close(e=!1){this.dialogRef.close(e)}reset(){this.allDataFG.reset(),this.data.isEdit&&this.setInitialFCValuesToChange()}saveContractor(){let e=this.createContractorForSave();this.contractorValidationService.validate(e).pipe(W(n=>n?this.contractorSaveUpdateService.saveContractor(e).pipe(L(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)):B(null))).subscribe()}updateContractor(){this.contractorSaveUpdateService.updateContractor(this.createContractorForUpdate()).pipe(L(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}openDialog(e){let n=new Jt;n.panelClass=li.MEDIUM,n.data={details:e,isDialog:!0},e===ct.US_TRANSFER&&this.openTaxOfficeDialogComponent(n)}triggerDropDownList(e){e.stopPropagation(),this.listFlag?(this.autoComplete.closePanel(),this.listFlag=!1):(this.autoComplete.openPanel
7996(),this.listFlag=!0)}closeDropDownList(){this.autoComplete.closePanel()}getControlByProperty(e){switch(e){case"nazwaSkrot":return this.contractorInputForm.controls.shortName;case"rach":return this.bankInputForm.controls.number;case"nip":return this.nipFC;case"regon":return this.regonFC;case"pesel":return this.peselFC;case"kwota":return this.amountFC;default:return null}}openTaxOfficeDialogComponent(e){this.dialog.open(Ad,e).afterClosed().pipe(L(n=>{n&&(this.contractorInputForm.controls.namePart1.setValue("Urz\u0105d Skarbowy"),this.bankInputForm.controls.number.setValue(n.accountIban),this.bankInputForm.controls.name.setValue(n.name),this.bankInputForm.controls.city.setValue(n.address))})).subscribe()}createContractorForSave(){return{shortName:this.contractorInputForm.controls.shortName.value,group:this.groupFC.value,name1:this.contractorInputForm.controls.namePart1.value,name2:this.contractorInputForm.controls.namePart2.value,address1:this.contractorInputForm.controls.addressPart1.value,address2:this.contractorInputForm.controls.addressPart2.value,targetAccount:this.formatTargetAccount(),bic:"",nip:this.nipFC.value.length===1?"":this.nipFC.value,regon:this.regonFC.value.length===1?"":this.regonFC.value,pesel:this.peselFC.value.length===1?"":this.peselFC.value,title:this.titleFC.value,bank1:this.bankInputForm.controls.name.value,bank2:this.bankInputForm.controls.address.value,bank3:this.bankInputForm.controls.city.value,bank4:"",amount:this.amountFC.value,currency:this.currencyFC.value,type:this.contractorType,onlyForLoggedUser:this.onlyForLoggedUserFC.value,checkIban:!1}}formatTargetAccount(){return ue.removeWhitespaces(this.bankInputForm.controls.number.value)}createContractorForUpdate(){let e=this.createContractorForSave();return e.id=this.data.details[0].id,e}setInitialFCValuesToChange(){this.dataDetails?(this.contractorInputForm.setValue({type:Mi.getTypeName(this.contractorType),shortName:this.dataDetails.shortName?this.dataDetails.shortName:"",namePart1:this.dataDetails.name1?this.dataDetails.name1:"",namePart2:this.dataDetails.name2?this.dataDetails.name2:"",addressPart1:this.dataDetails.address1?this.dataDetails.address1:"",addressPart2:this.dataDetails.address2?this.dataDetails.address2:""}),this.bankInputForm.setValue({number:this.dataDetails.targetAccount?this.dataDetails.targetAccount:"",name:this.dataDetails.bank1?this.dataDetails.bank1:"",address:this.dataDetails.bank2?this.dataDetails.bank2:"",city:this.dataDetails.bank3?this.dataDetails.bank3:""}),this.groupFC.setValue(this.dataDetails.group?this.dataDetails.group:""),this.nipFC.setValue(this.dataDetails.nip?this.dataDetails.nip:""),this.regonFC.setValue(this.dataDetails.regon?this.dataDetails.regon:""),this.peselFC.setValue(this.dataDetails.pesel?this.dataDetails.pesel:""),this.titleFC.setValue(this.dataDetails.title?this.dataDetails.title:""),this.amountFC.setValue(this.dataDetails.amount?bt.formatAmount(this.dataDetails.amount):""),this.currencyFC.setValue(this.dataDetails.currency||"PLN"),this.onlyForLoggedUserFC.setValue(!!this.dataDetails.onlyForLoggedUser)):this.contractorInputForm.controls.type.setValue(Mi.getTypeName(this.contractorType))}getContractorsGroups(){this.contractorService.getAllContractorsGroups().subscribe(e=>this.groups=e)}instanceOfDomesticBank(e){return"address2"in e}static{this.\u0275fac=function(n){return new(n||t)(E(mt),E(Ze),E(br),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-common-contractor-dialog"]],viewQuery:function(n,r){if(n&1&&ve(kle,5),n&2){let o;H(o=U())&&(r.autoComplete=o.first)}},standalone:!1,features:[me([Y_,Sh,gR,fl])],decls:95,vars:37,consts:[["trigger","matAutocompleteTrigger"],["auto","matAutocomplete"],[3,"formGroup"],[1,"flex-row","gap-20"],["appearance","outline",1,"flex-50"],["autocomplete","off","formControlName","type","matInput","","readonly",""],["autocomplete","off","formControlName","shortName","matInput","","required","",3,"maxlength"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","justify-between","gap-10"],[1,"flex-100",3,"bankAccountFC"],[1,"custom-button"],[1,"custom-row","flex-row","justify-start"],["autocomplete","off","formControlName","name","matInput","","name","name"],["autocomplete","off","disabled","","matInput","","name","country","value","POLAND"],["autocomplete","off","formControlName","address","matInput","","name","address"],["autocomplete","off","formControlName","city","matInput","","name","city"],[1,"flex-row","justify-between","items-center","gap-20"],["appearance","outline",1,"flex-1"],["autocomplete","off","matInput","","appOnlyNumbers","",3,"formControl","maxlength"],["appearance","outline",1,"width"],["autocomplete","off","matInput","","placeholder","Wpisz/Wybierz grup\u0119",3,"input","formControl","matAutocomplete"],["mat-icon-button","","matSuffix",""],[3,"click"],["autoActiveFirstOption",""],[3,"value"],[3,"amountFC","isRequired"],["appearance","outline",1,"min-width-of-5-rem"],["for","sourceAccount"],[3,"formControl"],[1,"custom-option",3,"value"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","",3,"formControl"],[3,"cancelAction","resetAction","confirmAction","buttonLabelConfirm","confirmDisabled"],[1,"custom-button",3,"clickAction"],["appearance","outline",1,"flex-100"],["autocomplete","off","formControlName","bic","matInput",""],[1,"custom-button",3,"clickAction","disabled"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),v(2,Rle,2,0,"span")(3,Mle,2,0,"span"),c(),u(4,"app-dialog-content")(5,"app-dialog-section",2)(6,"app-dialog-section-header"),h(7," Dane kontrahenta "),c(),u(8,"div",3)(9,"mat-form-field",4)(10,"mat-label"),h(11,"Typ kontrahenta"),c(),x(12,"input",5),c(),u(13,"mat-form-field",4)(14,"mat-label"),h(15,"Nazwa skr\xF3cona"),c(),x(16,"input",6),v(17,Nle,2,1,"mat-error"),v(18,Ole,2,1,"mat-error"),v(19,Fle,2,1,"mat-error"),c()(),x(20,"app-recipant-input",7),c(),u(21,"app-dialog-section",2)(22,"app-dialog-section-header"),h(23," Bank kontrahenta "),c(),u(24,"div",8),x(25,"app-iban-input",9),v(26,Ple,2,0,"app-button",10),c(),v(27,Lle,7,1,"div",11),u(28,"div",3)(29,"mat-form-field",4)(30,"mat-label"),h(31,"Nazwa banku"),c(),x(32,"input",12),v(33,Ble,2,1,"mat-error"),c(),u(34,"mat-form-field",4),x(35,"mat-label")(36,"input",13),c()(),u(37,"div",3)(38,"mat-form-field",4)(39,"mat-label"),h(40,"Miejscowo\u015B\u0107, kraj"),c(),x(41,"input",14),v(42,Vle,2,1,"mat-error"),c(),u(43,"mat-form-field",4),x(44,"mat-label")(45,"input",15),c()()(),u(46,"app-dialog-section")(47,"app-dialog-section-header"),h(48," Dane dodatkowe "),c(),u(49,"div",16)(50,"mat-form-field",17)(51,"mat-label"),h(52,"NIP"),c(),x(53,"input",18),v(54,jle,2,1,"mat-error"),c(),u(55,"mat-form-field",17)(56,"mat-label"),h(57,"REGON"),c(),x(58,"input",18),v(59,Hle,2,1,"mat-error"),c()(),u(60,"div",16)(61,"mat-form-field",17)(62,"mat-label"),h(63,"PESEL"),c(),x(64,"input",18),v(65,Ule,2,1,"mat-error"),c(),u(66,"mat-form-field",19)(67,"mat-label"),h(68,"Grupa"),c(),u(69,"input",20,0),T("input",function(){return r.closeDropDownList()}),c(),u(71,"button",21)(72,"mat-icon",22),T("click",function(a){return r.triggerDropDownList(a)}),h(73,"more_vert"),c()(),u(74,"mat-autocomplete",23,1),He(76,zle,2,2,"mat-option",24,at),c()()(),u(78,"div",3),x(79,"app-amount-input",25),u(80,"mat-form-field",26)(81,"mat-label",27),h(82,"Waluta"),c(),u(83,"mat-select",28),He(84,Gle,2,2,"mat-option",29,at),be(86,"async"),c()()(),u(87,"mat-form-field",30)(88,"mat-label"),h(89,"Tytu\u0142em"),c(),x(90,"textarea",31),v(91,Wle,2,1,"mat-error"),c(),u(92,"mat-checkbox",28),h(93,"Kontrahent dost\u0119pny tylko dla tego loginu"),c()()(),u(94,"app-action-buttons-panel",32),T("cancelAction",function(){return r.close()})("resetAction",function(){return r.reset()})("confirmAction",function(){return r.data.isEdit?r.updateContractor():r.saveContractor()}),c()()),n&2){let o=ye(75);l(2),y(r.data.isEdit?2:3),l(3),g("formGroup",r.contractorInputForm),l(11),g("maxlength",r.SHORT_NAME_MAX_LENGTH),l(),y(r.ValidatorUtils.isRequired(r.contractorInputForm.controls.shortName)?17:-1),l(),y(r.contractorInputForm.controls.shortName.hasError("nazwaSkrot.exists")?18:-1),l(),y(r.contractorInputForm.controls.shortName.hasError("pattern")?19:-1),l(),g("namePart1FC",r.contractorInputForm.controls.namePart1)("namePart2FC",r.contractorInputForm.controls.namePart2)("addressPart1FC",r.contractorInputForm.controls.addressPart1)("addressPart2FC",r.contractorInputForm.controls.addressPart2),l(),g("formGroup",r.bankInputForm),l(4),g("bankAccountFC",r.bankInputForm.controls.number),l(),y(r.contractorType===r.ContractorTypeEnum[r.ContractorTypeEnum.US_TRANSFER]?26:-1),l(),y(r.contractorType===r.ContractorTypeEnum[r.ContractorTypeEnum.FOREIGN_TRANSFER]?27:-1),l(6),y(r.ValidatorUtils.isRequired(r.bankInputForm.controls.name)?33:-1),l(9),y(r.ValidatorUtils.isRequired(r.bankInputForm.controls.address)?42:-1),l(11),g("formControl",r.nipFC)("maxlength",r.NIP_MAX_LENGTH),l(),y(r.nipFC.errors!=null&&r.nipFC.errors.nip||r.nipFC.hasError("nip.checkSumInvalid")?54:-1),l(4),g("formControl",r.regonFC)("maxlength",r.REGON_MAX_LENGTH),l(),y(r.regonFC.errors!=null&&r.regonFC.errors.regon||r.regonFC.hasError("regon.checkSumInvalid")?59:-1),l(5),g("formControl",r.peselFC)("maxlength",r.PESEL_MAX_LENGTH),l(),y(r.peselFC.errors!=null&&r.peselFC.errors.pesel||r.peselFC.hasError("pesel.invali
7996dCheckSum")?65:-1),l(4),g("formControl",r.groupFC)("matAutocomplete",o),l(7),Ue(r.groups),l(3),g("amountFC",r.amountFC)("isRequired",!1),l(4),g("formControl",r.currencyFC),l(),Ue(Fe(86,35,r.currencies)),l(6),g("formControl",r.titleFC),l(),y(r.titleFC.hasError("pattern")?91:-1),l(),g("formControl",r.onlyForLoggedUserFC),l(2),g("buttonLabelConfirm",r.ButtonLabels.SAVE)("confirmDisabled",r.allDataFG.invalid)}},dependencies:[Je,Xe,Ai,mn,Bi,Ve,qe,St,Ln,Da,Qt,hr,fr,ir,Gn,et,si,Mt,Nt,Ot,vr,Nr,$e,qn,Mu,Yr,Kr,J_,bi,Tt,SE,Ji],styles:[".clear-button[_ngcontent-%COMP%]{margin-right:20px;margin-left:auto}.spacer[_ngcontent-%COMP%]{margin-bottom:1rem}.subtitle[_ngcontent-%COMP%]{color:#2196f3;margin-bottom:3px}.custom-button[_ngcontent-%COMP%]{height:3rem;margin-top:.2rem;margin-left:1rem}.custom-row[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:not(:last-of-type) .custom-button[_ngcontent-%COMP%]{margin-left:1rem}.min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-start[_ngcontent-%COMP%]{justify-content:flex-start}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.items-center[_ngcontent-%COMP%]{align-items:center}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}.flex-100[_ngcontent-%COMP%]{flex:1 1 100%;max-width:100%;box-sizing:border-box}.flex-1[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}.flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var Rd=(()=>{class t{constructor(){this.class="page__container",this._isDialog=!1}get isDialog(){return this._isDialog}set isDialog(e){this._isDialog=e,this.class=e?"dialog__container":"page__container"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-container"],["","appPageContainer",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},inputs:{isDialog:"isDialog"},standalone:!1})}}return t})(),Md=(()=>{class t{constructor(){this.class="page__header",this._isDialog=!1}get isDialog(){return this._isDialog}set isDialog(e){this._isDialog=e,this.class=e?"dialog__header":"page__header"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-header"],["","appPageHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},inputs:{isDialog:"isDialog"},standalone:!1})}}return t})(),$le=(()=>{class t{constructor(){this.class="page__subheader"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-subheader"],["","appPageSubHeader",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Nd=(()=>{class t{constructor(){this.class="page__content"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-content"],["","appPageContent",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),qle=(()=>{class t{constructor(){this.class="page__details"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["mat-expansion-panel","appPageDetails",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Od=(()=>{class t{constructor(){this.class="filter"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["mat-expansion-panel","appPageFilter",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),Yle=(()=>{class t{constructor(){this.class="page__search"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-search"],["","appPageSearch",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},standalone:!1})}}return t})(),eb=(()=>{class t{constructor(){this.class="action-bar page__btn__panel",this._isDialog=!1}get isDialog(){return this._isDialog}set isDialog(e){this._isDialog=e,this.class=e?"dialog__btn__panel":"action-bar page__btn__panel"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=N({type:t,selectors:[["app-page-btn-panel"],["","appPageBtnPanel",""]],hostVars:2,hostBindings:function(n,r){n&2&&Be(r.class)},inputs:{isDialog:"isDialog"},standalone:!1})}}return t})();var Kle=t=>({"dialog-table":t}),Xle=t=>({"basic-table-row-highlight":t});function Zle(t,i){t&1&&(u(0,"mat-header-cell",22),h(1,"Numer BIC"),c())}function Qle(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.bic)}}function Jle(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Nazwa banku"),c())}function ece(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.bankName)}}function tce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Adres"),c())}function nce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),x(3,"br"),h(4),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address),l(2),so("",e.city," ",e.country)}}function ice(t,i){t&1&&x(0,"mat-header-row")}function rce(t,i){if(t&1){let e=Se();u(0,"mat-row",23),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.rowClickHandler(r))}),So("ngModelChange",function(r){te(e);let o=_();return Xo(o.rowDetails,r)||(o.rowDetails=r),ne(r)}),c()}if(t&2){let e=i.$implicit,n=_();g("ngClass",lo(2,Xle,n.selection.selected.includes(e))),xo("ngModel",n.rowDetails)}}function oce(t,i){if(t&1){let e=Se();u(0,"app-action-buttons-panel",24),T("cancelAction",function(){te(e);let r=_();return ne(r.cancelChoice())})("confirmAction",function(){te(e);let r=_();return ne(r.confirmChoice())}),c()}if(t&2){let e=_();g("withResetButton",!1)("buttonLabelConfirm",e.ButtonLabels.CHOOSE)}}var lG=(()=>{class t{constructor(e,n,r,o,a){this.foreignBanksService=e,this.notificationService=n,this.dialog=r,this.storage=o,this.errorProviderService=a,this.resultsLength=0,this.pageSize=100,this.selection=new mr(!0,[]),this.isDialog=!1,this.ButtonLabels=tt,this.destroy$=new O,this.dataSource=new Ma,this.displayedColumns=["bic","name","address"],this.matSortActive=this.displayedColumns[0],this.matSortDirection="asc",this.bicNumberFC=new z,this.bankNameFC=new z,this.bankAddressFC=new z,this.rowsFC=new z(100),this.foreignBanksSearchFG=new Qn({bicNumberFC:this.bicNumberFC,bankNameFC:this.bankNameFC,bankAddressFC:this.bankAddressFC,rowsFC:this.rowsFC}),this.bankRequestParam=this.getBankRequest(),Promise.all([this.storage.getItem(CR),this.storage.getItem(DR)]).then(([s,d])=>{s&&d&&(this.matSortActive=s,this.matSortDirection=d)})}ngOnInit(){this.initFilterAndData()}ngAfterViewInit(){this.dataSource.sort=this.sort,this.onPaginatorChange()}confirmChoice(){}cancelChoice(){}rowClickHandler(e){this.selection.toggle(e),this.clearDetails(e),this.selection.selected.length>1&&this.selection.selected.forEach(n=>
7996{n!==e&&this.selection.deselect(n)}),this.updateDetails(e)}updateDetails(e){this.selection.isSelected(e)?(this.rowDetails=e,this.updateFC()):this.selection.selected.length===1?(this.rowDetails=this.selection.selected[0],this.updateFC()):this.clearDetails(e)}clearDetails(e){this.rowDetails&&this.rowDetails===e&&(this.rowDetails=void 0)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}resetValues(){this.foreignBanksSearchFG.reset(),this.rowsFC.setValue(100)}showSortChange(e){this.matSortDirection=e.direction,this.matSortActive=e.active}search(){this.storage.setItem(yR,this.foreignBanksSearchFG.value),this.bankRequestParam=this.getBankRequest(),this.paginator.pageIndex=0,nn([this.getForeignBank(this.bankRequestParam),this.getForeignBanksCount(this.bankRequestParam)]).subscribe()}initFilterAndData(){ut(Il(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(CR,this.matSortActive),this.storage.setItem(DR,this.matSortDirection)}),this.storage.getItem(yR).then(e=>{e&&this.foreignBanksSearchFG.patchValue(e)}).finally(()=>this.search())}onPaginatorChange(){this.paginator.page.pipe(W(()=>this.getForeignBank(this.bankRequestParam))).subscribe(e=>this.dataSource.data=e)}getForeignBank(e){return this.foreignBanksService.getForeignBanks(e,this.paginator.pageIndex).pipe(this.errorProviderService.processError(ze.FETCHING_DATA_ERROR,B([])),L(n=>this.dataSource.data=n))}getBankRequest(){return{name:this.bankNameFC.value,address:this.bankAddressFC.value,bank:this.bicNumberFC.value}}updateFC(){if(typeof this.rowDetails>"u")throw new Aa("rowDetails");this.bicNumberFC=new z(this.rowDetails.bic),this.bankNameFC=new z(this.rowDetails.bankName),this.bankAddressFC=new z(this.rowDetails.address)}getForeignBanksCount(e){return this.foreignBanksService.getForeignBanksCount(e).pipe(Ge(()=>B(0)),L(n=>this.resultsLength=n))}static{this.\u0275fac=function(n){return new(n||t)(E(No),E(Le),E(mt),E(Na),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-foreign-banks"]],viewQuery:function(n,r){if(n&1&&ve(bo,5)(Ir,5),n&2){let o;H(o=U())&&(r.paginator=o.first),H(o=U())&&(r.sort=o.first)}},standalone:!1,decls:45,vars:20,consts:[[3,"isDialog"],["appPageFilter",""],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","name","shortNameFC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","name1FC","type","text",3,"formControl"],[1,"mat-row"],["appearance","outline",1,"flex-70"],["autocomplete","off","matInput","","name","groupFC","type","text",3,"formControl"],["appearance","outline",1,"flex-30"],["autocomplete","off","matInput","","name","groupFC","type","number",3,"formControl"],[3,"clickAction"],[3,"length","pageSize","showFirstLastButtons"],["matSort","","matSortDisableClear","true",3,"matSortChange","dataSource","matSortActive","matSortDirection","ngClass"],["matColumnDef","bic"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","address"],[4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngClass","ngModel","click","ngModelChange",4,"matRowDef","matRowDefColumns"],[1,"bottom-action-bar",3,"withResetButton","buttonLabelConfirm"],["mat-sort-header",""],["ngDefaultControl","",3,"click","ngModelChange","ngClass","ngModel"],[1,"bottom-action-bar",3,"cancelAction","confirmAction","withResetButton","buttonLabelConfirm"]],template:function(n,r){n&1&&(u(0,"app-page-container",0)(1,"app-page-header",0),h(2,"Banki zagraniczne "),c(),u(3,"app-page-content")(4,"mat-expansion-panel",1)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),h(7," Filtry "),c()(),u(8,"form",2)(9,"mat-form-field",3)(10,"mat-label"),h(11,"Numer BIC"),c(),x(12,"input",4),c(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nazwa banku"),c(),x(16,"input",5),c(),u(17,"div",6)(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),x(21,"input",8),c(),u(22,"mat-form-field",9)(23,"mat-label"),h(24,"Liczba rekord\xF3w"),c(),x(25,"input",10),c()(),u(26,"mat-card-actions")(27,"app-button",11),T("clickAction",function(){return r.search()}),h(28,"Szukaj"),c(),u(29,"app-button",11),T("clickAction",function(){return r.resetValues()}),h(30,"Wyczy\u015B\u0107"),c()()()(),x(31,"mat-paginator",12),u(32,"mat-table",13),T("matSortChange",function(a){return r.showSortChange(a)}),Cn(33,14),fe(34,Zle,2,0,"mat-header-cell",15)(35,Qle,3,1,"mat-cell",16),Dn(),Cn(36,17),fe(37,Jle,2,0,"mat-header-cell",15)(38,ece,3,1,"mat-cell",16),Dn(),Cn(39,18),fe(40,tce,2,0,"mat-header-cell",15)(41,nce,5,3,"mat-cell",16),Dn(),fe(42,ice,1,0,"mat-header-row",19)(43,rce,1,4,"mat-row",20),c()(),v(44,oce,1,2,"app-action-buttons-panel",21),c()),n&2&&(g("isDialog",r.isDialog),l(
7996),g("isDialog",r.isDialog),l(7),g("formGroup",r.foreignBanksSearchFG),l(4),g("formControl",r.bicNumberFC),l(4),g("formControl",r.bankNameFC),l(5),g("formControl",r.bankAddressFC),l(4),g("formControl",r.rowsFC),l(6),g("length",r.resultsLength)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(),g("dataSource",r.dataSource)("matSortActive",r.matSortActive)("matSortDirection",r.matSortDirection)("ngClass",lo(18,Kle,r.isDialog)),l(10),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?44:-1))},dependencies:[cr,Vr,Je,Ru,Xe,Ai,Jc,Ve,qe,Yu,tc,nc,hd,et,bo,Ir,Qs,Js,tl,ol,nl,el,al,il,rl,sl,ll,Rd,Md,Nd,Od,$e,qn,bi,Tt],styles:["[_nghost-%COMP%]{display:block;padding:1.5rem}",".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".flex-30[_ngcontent-%COMP%]{flex:1 1 30%;max-width:30%;box-sizing:border-box}",".flex-70[_ngcontent-%COMP%]{flex:1 1 70%;max-width:70%;box-sizing:border-box}"]})}}return t})();var ace=t=>({"dialog-table":t}),sce=t=>({"basic-table-row-highlight":t});function lce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1,"Numer BIC"),c())}function cce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.bic)}}function dce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Nazwa banku"),c())}function uce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.bankName)}}function mce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Adres"),c())}function pce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),x(3,"br"),h(4),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address),l(2),so("",e.city," ",e.country)}}function hce(t,i){t&1&&x(0,"mat-header-row")}function fce(t,i){if(t&1){let e=Se();u(0,"mat-row",23),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.rowClickHandler(r))}),So("ngModelChange",function(r){te(e);let o=_();return Xo(o.rowDetails,r)||(o.rowDetails=r),ne(r)}),c()}if(t&2){let e=i.$implicit,n=_();g("ngClass",lo(2,sce,n.selection.selected.includes(e))),xo("ngModel",n.rowDetails)}}function gce(t,i){if(t&1){let e=Se();u(0,"app-action-buttons-panel",24),T("cancelAction",function(){te(e);let r=_();return ne(r.cancelChoice())})("confirmAction",function(){te(e);let r=_();return ne(r.confirmChoice())}),c()}if(t&2){let e=_();g("withResetButton",!1)("buttonLabelConfirm",e.ButtonLabels.CHOOSE)}}var LE=(()=>{class t extends lG{constructor(e,n,r,o,a,s,d,p){super(e,n,a,s,d),this.foreignBanksService=e,this.notificationService=n,this.formBuilder=r,this.dialogRef=o,this.dialog=a,this.storage=s,this.errorProviderService=d,this.dialogData=p,this.isDialog=p.isDialog}ngOnInit(){super.ngOnInit()}confirmChoice(){this.dialogRef.close(this.rowDetails)}cancelChoice(){this.dialogRef.close()}static{this.\u0275fac=function(n){return new(n||t)(E(No),E(Le),E(Vi),E(Ze),E(mt),E(Na),E(Rt),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-foreign-banks-dialog"]],standalone:!1,features:[he],decls:45,vars:20,consts:[[3,"isDialog"],["appPageFilter",""],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","name","shortNameFC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","name1FC","type","text",3,"formControl"],[1,"mat-row"],["appearance","outline",1,"flex-70"],["autocomplete","off","matInput","","name","groupFC","type","text",3,"formControl"],["appearance","outline",1,"flex-30"],["autocomplete","off","matInput","","name","groupFC","type","number",3,"formControl"],[3,"clickAction"],[3,"length","pageSize","showFirstLastButtons"],["matSort","","matSortDisableClear","true",3,"matSortChange","dataSource","matSortActive","matSortDirection","ngClass"],["matColumnDef","bic"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],["matColumnDef","address"],[4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngClass","ngModel","click","ngModelChange",4,"matRowDef","matRowDefColumns"],[1,"bottom-action-bar",3,"withResetButton","buttonLabelConfirm"],["mat-sort-header",""],["ngDefaultControl","",3,"click","ngModelChange","ngClass","ngModel"],[1,"bottom-action-bar",3,"cancelAction","confirmAction","withResetButton","buttonLabelConfirm"]],template:function(n,r){n&1&&(u(0,"app-page-container",0)(1,"app-page-header",0),h(2,"Banki zagraniczne "),c(),u(3,"app-page-content")(4,"mat-expansion-panel",1)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),h(7," Filtry "),c()(),u(8,"form",2)(9,"mat-form-field",3)(10,"mat-label"),h(11,"Numer BIC"),c(),x(12,"input",4),c(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nazwa banku"),c(),x(16,"input",5),c(),u(17,"div",6)(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),x(21,"input",8),c(),u(22,"mat-form-field",9)(23,"mat-label"),h(24,"Liczba rekord\xF3w"),c(),x(25,"input",10),c()(),u(26,"mat-card-actions")(27,"app-button",11),T("clickAction",function(){return r.search()}),h(28,"Szukaj"),c(),u(29,"app-button",11),T("clickAction",function(){return r.resetValues()}),h(30,"Wyczy\u015B\u0107"),c()()()(),x(31,"mat-paginator",12),u(32,"mat-table",13),T("matSortChange",function(a){return r.showSortChange(a)}),Cn(33,14),fe(34,lce,2,0,"mat-header-cell",15)(35,cce,3,1,"mat-cell",16),Dn(),Cn(36,17),fe(37,dce,2,0,"mat-header-cell",15)(38,uce,3,1,"mat-cell",16),Dn(),Cn(39,18),fe(40,mce,2,0,"mat-header-cell",15)(41,pce,5,3,"mat-cell",16),Dn(),fe(42,hce,1,0,"mat-header-row",19)(43,fce,1,4,"mat-row",20),c()(),v(44,gce,1,2,"app-action-buttons-panel",21),c()),n&2&&(g("isDialog",r.isDialog),l(
7996),g("isDialog",r.isDialog),l(7),g("formGroup",r.foreignBanksSearchFG),l(4),g("formControl",r.bicNumberFC),l(4),g("formControl",r.bankNameFC),l(5),g("formControl",r.bankAddressFC),l(4),g("formControl",r.rowsFC),l(6),g("length",r.resultsLength)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(),g("dataSource",r.dataSource)("matSortActive",r.matSortActive)("matSortDirection",r.matSortDirection)("ngClass",lo(18,ace,r.isDialog)),l(10),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?44:-1))},dependencies:[cr,Vr,Je,Ru,Xe,Ai,Jc,Ve,qe,Yu,tc,nc,hd,et,bo,Ir,Qs,Js,tl,ol,nl,el,al,il,rl,sl,ll,Rd,Md,Nd,Od,$e,qn,bi,Tt],encapsulation:2})}}return t})();var ca=class{static checkTargetAccountIbanLength(i,e){return this.findLengthBasedOnCountryCode(i.substring(0,2),e)!==i.length?{incorrectLength:!0}:null}static checkSelectedCountryLength(i,e,n){let r=this.findLengthBasedOnCountry(e,n);return r&&r-2!==i.length?{incorrectLength:!0}:null}static isCountryCodeInForeignIbanInfos(i,e){return i.map(n=>n.code).includes(e)}static findCountryBasedOnCountryCode(i,e){return e.find(r=>r.code===i)?.name}static findCountryCodeBasedOnCountry(i,e){return e.find(r=>r.name===i)?.code}static findLengthBasedOnCountryCode(i,e){return e.find(r=>r.code===i)?.length}static findLengthBasedOnCountry(i,e){return e.find(r=>r.name===i)?.length}static setCountryCodeIfSelectedCountry(i,e,n){if(!this.isCountryCodeInForeignIbanInfos(n,e.substring(0,2))&&i){let r=this.findCountryCodeBasedOnCountry(i,n);if(r)return r.concat(e.toString())}return e}};var kh=class{static noCountrySpecified(i){return e=>{let n=e.get("number")?.value,r=e.get("country")?.value,o=e.get("bic")?.value;return i.length===0||ue.isEmpty(n)?null:ue.isEmpty(o)&&ue.isEmpty(r)&&!ca.isCountryCodeInForeignIbanInfos(i,n.substring(0,2))?{noCountrySpecified:!0}:null}}static incorrectLength(i){return e=>{let n=e.get("number")?.value?.replace(/\s/g,""),r=e.get("country")?.value;return ue.isEmpty(r)||ue.isEmpty(n)?null:ca.isCountryCodeInForeignIbanInfos(i,n.substring(0,2))?ca.checkTargetAccountIbanLength(n,i):ca.checkSelectedCountryLength(n,r,i)}}static ibanCountryCodeDoesNotMatchBic(){return i=>{let e=i.get("number")?.value?.replace(/\s/g,"").toUpperCase(),n=i.get("bic")?.value?.toUpperCase();return ue.isEmpty(e)||ue.isEmpty(n)||e.length<2||n.length<8||!e.match(/^[A-Z]{2}.+/)||e.substring(0,2)===n.substring(4,6)?null:{ibanCountryCodeDoesNotMatchBic:!0}}}};var BE=class{static bicLengthValidator(){return i=>i.value?i.value&&!(i.value.length===8||i.value.length===11)?{"bic.length":!0}:null:{"bic.empty":!0}}};var Fd=(()=>{class t{constructor(){this.fb=m(Er),this.ibanInfos=m(No).getForeignIbanInfos(),this.form=this.fb.nonNullable.group({number:this.fb.nonNullable.control("",G.required),bic:this.fb.nonNullable.control("",[G.required,BE.bicLengthValidator()]),country:this.fb.nonNullable.control(""),name:this.fb.nonNullable.control({value:"",disabled:!0}),address:this.fb.nonNullable.control({value:"",disabled:!0}),city:this.fb.nonNullable.control({value:"",disabled:!0}),eog:this.fb.nonNullable.control({value:!1,disabled:!0}),sepa:this.fb.nonNullable.control({value:!1,disabled:!0})}),this.ibanInfos.subscribe(e=>{e.length>0&&this.form.setValidators([kh.noCountrySpecified(e),kh.incorrectLength(e),kh.ibanCountryCodeDoesNotMatchBic()])})}reset(){this.form.reset({number:"",bic:"",name:"",address:"",city:"",country:"",eog:!1,sepa:!1},{emitEvent:!1})}updateValidity(){this.form.updateValueAndValidity({emitEvent:!1}),this.form.hasError("incorrectLength")&&this.form.controls.number.setErrors({incorrectLength:!0}),this.form.hasError("ibanCountryCodeDoesNotMatchBic")&&this.form.controls.number.setErrors({ibanCountryCodeDoesNotMatchBic:!0})}getBank(){return{id:null,name:this.form.controls.name.value,address:this.form.controls.address.value,city:this.form.controls.city.value,country:this.form.controls.country.value,bic:this.form.controls.bic.value,eog:this.form.controls.eog.value,sepa:this.form.controls.sepa.value}}setBank(e){this.form.controls.bic.setValue(e.bic,{emitEvent:!1}),this.setBankInfo(e)}setBankInfo(e){this.form.controls.name.setValue(e.name||"",{emitEvent:!1}),this.form.controls.address.setValue(e.address||"",{emitEvent:!1}),this.form.controls.city.setValue(e.city||"",{emitEvent:!1}),this.form.controls.country.setValue(e.country||"",{emitEvent:!1}),this.form.controls.eog.setValue(e?.eog||!1),this.form.controls.sepa.setValue(e?.sepa||!1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var Rh=(()=>{class t{constructor(){this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.bankInputFormService=m(Fd),this.bankInputForm=this.bankInputFormService.form,this.listenForFormChange()}getBankByIban(e){return e=e.replace(/\s/g,"").toUpperCase(),e.match(/^[A-Z]{2}.+/)?this.foreignBanksService.getBankByAccount(e).pipe(L(n=>{n.bankInfoStatus===gs.OK&&this.bankInputForm.controls.number.setValue(e,{emitEvent:!1})}
7996)):ke}getBankByBic(e){return this.foreignBanksService.getBankByBic(e.toUpperCase())}getBankByAccountAndCountry(e,n){return this.ibanInfos.pipe($(r=>ca.setCountryCodeIfSelectedCountry(n.toUpperCase(),e,r)),W(r=>this.getBankByIban(r)))}listenForFormChange(){nn([this.bankInputForm.controls.number.valueChanges.pipe(hn(),Re(this.bankInputForm.controls.number.value),It(),hi(500),$(e=>e?.replace(/\s/g,"")||""),L(e=>{this.bankInputForm.controls.number.setValue(e,{emitEvent:!1}),this.bankInputFormService.updateValidity()}),ae(()=>this.bankInputForm.controls.number.valid)),this.bankInputForm.controls.country.valueChanges.pipe(hn(),Re(this.bankInputForm.controls.country.value),It(),hi(500),L(e=>{this.bankInputForm.controls.country.setValue(e.toUpperCase(),{emitEvent:!1}),this.bankInputFormService.updateValidity()}),ae(()=>this.bankInputForm.controls.country.valid))]).pipe(W(([e,n])=>ue.isEmpty(e)?ke:/^[0-9\s]+$/i.test(e)?ue.isEmpty(n)?ke:this.getBankByAccountAndCountry(e,n).pipe(L(r=>{this.handleIbanSearchResult(r)}),Ge(()=>B())):this.getBankByIban(e).pipe(L(r=>{this.handleIbanSearchResult(r)}),Ge(()=>B())))).subscribe(),this.bankInputForm.controls.bic.valueChanges.pipe(hn(),Re(this.bankInputForm.controls.bic.value),It(),ae(()=>this.bankInputForm.controls.bic.valid),hi(500),W(e=>this.getBankByBic(e).pipe(L(n=>{this.handleBicSearchResult(n)}),Ge(()=>B())))).subscribe()}handleIbanSearchResult(e){if(e){switch(e.bankInfoStatus){case gs.OK:this.bankInputFormService.setBank(e.bankInfo);break;case gs.BIC_NOT_FOUND:this.bankInputFormService.setBank(e.bankInfo);break;case gs.INVALID_IBAN:this.bankInputFormService.setBank(e.bankInfo),this.bankInputForm.controls.number.setErrors({invalidIban:e.description});break}this.bankInputFormService.updateValidity()}}handleBicSearchResult(e){if(e){switch(e.bankInfoStatus){case gs.OK:this.bankInputFormService.setBank(e.bankInfo);break;case gs.BIC_NOT_FOUND:this.bankInputFormService.setBankInfo(e.bankInfo);break;case gs.INVALID_BIC:this.bankInputFormService.setBankInfo(e.bankInfo),this.bankInputForm.controls.bic.setErrors({invalidBic:e.description});break}this.bankInputFormService.updateValidity()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var _ce={AFGHANISTAN:"Afganistan",ALBANIA:"Albania",ALGERIA:"Algieria","AMERICAN SAMOA":"Samoa Ameryka\u0144skie",ANDORRA:"Andora",ANGOLA:"Angola",ANGUILLA:"Anguilla","ANTIGUA AND BARBUDA":"Antigua i Barbuda",ARGENTINA:"Argentyna",ARMENIA:"Armenia",ARUBA:"Aruba",AUSTRALIA:"Australia",AUSTRIA:"Austria",AZERBAIJAN:"Azerbejd\u017Can",BAHAMAS:"Bahamy",BAHRAIN:"Bahrajn",BANGLADESH:"Bangladesz",BARBADOS:"Barbados",BELARUS:"Bia\u0142oru\u015B",BELGIUM:"Belgia",BELIZE:"Belize",BENIN:"Benin",BERMUDA:"Bermudy",BHUTAN:"Bhutan","BOLIVIA, PLURINATIONAL STATE OF":"Boliwia","BONAIRE, SINT EUSTATIUS AND SABA":"Bonaire, Sint Eustatius i Saba","BOSNIA AN
7996D HERZEGOVINA":"Bo\u015Bnia i Hercegowina",BOTSWANA:"Botswana",BRAZIL:"Brazylia","BRUNEI DARUSSALAM":"Brunei Darussalam",BULGARIA:"Bu\u0142garia","BURKINA FASO":"Burkina Faso",BURUNDI:"Burundi","CABO VERDE":"Wyspy Zielonego Przyl\u0105dka",CAMBODIA:"Kambod\u017Ca",CAMEROON:"Kamerun",CANADA:"Kanada","CAYMAN ISLANDS":"Kajmany","CENTRAL AFRICAN REPUBLIC":"Republika \u015Arodkowoafryka\u0144ska",CHAD:"Czad",CHILE:"Chile",CHINA:"Chiny",COLOMBIA:"Kolumbia",COMOROS:"Komory",CONGO:"Kongo","CONGO, THE DEMOCRATIC REPUBLIC OF T":"Kongo","COOK ISLANDS":"Wyspy Cooka","COSTA RICA":"Kostaryka","COTE D'IVOIRE":"Wybrze\u017Ce Ko\u015Bci S\u0142oniowej",CROATIA:"Chorwacja",CUBA:"Kuba",CURACAO:"Cura\xE7ao",CYPRUS:"Cypr",CZECHIA:"Czechy",DENMARK:"Dania",DJIBOUTI:"D\u017Cibuti",DOMINICA:"Dominika","DOMINICAN REPUBLIC":"Dominikana",ECUADOR:"Ekwador",EGYPT:"Egipt","EL SALVADOR":"Salwador","EQUATORIAL GUINEA":"Gwinea R\xF3wnikowa",ERITREA:"Erytrea",ESTONIA:"Estonia",ESWATINI:"Eswatini",ETHIOPIA:"Etiopia","FALKLAND ISLANDS (MALVINAS)":"Falklandy","FAROE ISLANDS":"Wyspy Owcze",FIJI:"Fid\u017Ci",FINLAND:"Finlandia",FRANCE:"Francja","FRENCH GUIANA":"Gujana Francuska","FRENCH POLYNESIA":"Polinezja Francuska",GABON:"Gabon",GAMBIA:"Gambia",GEORGIA:"Gruzja",GERMANY:"Niemcy",GHANA:"Ghana",GIBRALTAR:"Gibraltar",GREECE:"Grecja",GREENLAND:"Grenlandia",GRENADA:"Grenada",GUADELOUPE:"Gwadelupa",GUAM:"Guam",GUATEMALA:"Gwatemala",GUERNSEY:"Guernsey",GUINEA:"Gwinea","GUINEA-BISSAU":"Gwinea-Bissau",GUYANA:"Gujana",HAITI:"Haiti","HOLY SEE":"Stolica Apostolska",HONDURAS:"Honduras","HONG KONG":"Hongkong",HUNGARY:"W\u0119gry",ICELAND:"Islandia",INDIA:"Indie",INDONESIA:"Indonezja","IRAN (ISLAMIC REPUBLIC OF)":"Iran",IRAQ:"Irak",IRELAND:"Irlandia","ISLE OF MAN":"Wyspa Man",ISRAEL:"Izrael",ITALY:"W\u0142ochy",JAMAICA:"Jamajka",JAPAN:"Japonia",JERSEY:"Jersey",JORDAN:"Jordania",KAZAKHSTAN:"Kazachstan",KENYA:"Kenia",KIRIBATI:"Kiribati","KOREA (DEMOCRATIC PEOPLE'S REPUBLIC":"Korea P\xF3\u0142nocna","KOREA, REPUBLIC OF":"Korea Po\u0142udniowa","KOSOVO, REPUBLIC OF":"Kosowo",KUWAIT:"Kuwejt",KYRGYZSTAN:"Kirgistan","LAO PEOPLE'S DEMOCRATIC REPUBLIC":"Laos",LATVIA:"\u0141otwa",LEBANON:"Liban",LESOTHO:"Lesotho",LIBERIA:"Liberia",LIBYA:"Libia",LIECHTENSTEIN:"Liechtenstein",LITHUANIA:"Litwa",LUXEMBOURG:"Luksemburg",MACAO:"Makau",MADAGASCAR:"Madagaskar",MALAWI:"Malawi",MALAYSIA:"Malezja",MALDIVES:"Malediwy",MALI:"Mali",MALTA:"Malta","MARSHALL ISLANDS":"Wyspy Marshalla",MARTINIQUE:"Martynika",MAURITANIA:"Mauretania",MAURITIUS:"Mauritius",MAYOTTE:"Majotta",MEXICO:"Meksyk","MICRONESIA (FEDERATED STATES OF)":"Mikronezja","MOLDOVA, REPUBLIC OF":"Mo\u0142dawia",MONACO:"Monako",MONGOLIA:"Mongolia",MONTENEGRO:"Czarnog\xF3ra",MONTSERRAT:"Montserrat",MOROCCO:"Maroko",MOZAMBIQUE:"Mozambik",MYANMAR:"Mjanma",NAMIBIA:"Namibia",NEPAL:"Nepal",NETHERLANDS:"Holandia","NEW CALEDONIA":"Nowa Kaledonia","NEW ZEALAND":"Nowa Zelandia",NICARAGUA:"Nikaragua",NIGER:"Niger",NIGERIA:"Nigeria","NORTH MACEDONIA":"Macedonia P\xF3\u0142nocna","NORTHERN MARIANA ISLANDS":"Mariany P\xF3\u0142nocne",NORWAY:"Norwegia",OMAN:"Oman",PAKISTAN:"Pakistan",PALAU:"Palau","PALESTINE, STATE OF":"Palestyna",PANAMA:"Panama","PAPUA NEW GUINEA":"Papua-Nowa Gwinea",PARAGUAY:"Paragwaj",PERU:"Peru",PHILIPPINES:"Filipiny",POLAND:"Polska",PORTUGAL:"Portugalia","PUERTO RICO":"Portoryko",QATAR:"Katar",REUNION:"Reunion",ROMANIA:"Rumunia","RUSSIAN FEDERATION":"Rosja",RWANDA:"Rwanda","SAINT KITTS AND NEVIS":"Saint Kitts i Nevis","SAINT LUCIA":"Saint Lucia","SAINT PIERRE AND MIQUELON":"Saint-Pierre i Miquelon","SAINT VINCENT AND THE GRENADINES":"Saint Vincent i Grenadyny",SAMOA:"Samoa","SAN MARINO":"San Marino","SAO TOME AND PRINCIPE":"Wyspy \u015Awi\u0119tego Tomasza i Ksi\u0105\u017C\u0119ca","SAUDI ARABIA":"Arabia Saudyjska",SENEGAL:"Senegal",SERBIA:"Serbia",SEYCHELLES:"Seszele","SIERRA LEONE":"Sierra Leone",SINGAPORE:"Singapur","SINT MAARTEN (DUTCH PART)":"Sint Maarten (cz\u0119\u015B\u0107 holenderska)",SLOVAKIA:"S\u0142owacja",SLOVENIA:"S\u0142owenia","SOLOMON ISLANDS":"Wyspy Salomona",SOMALIA:"Somalia","SOUTH AFRICA":"Republika Po\u0142udniowej Afr
7996yki","SOUTH SUDAN":"Sudan Po\u0142udniowy",SPAIN:"Hiszpania","SRI LANKA":"Sri Lanka","ST HELENA,ASCENSION AND TRISTAN DA":"Wyspa \u015Awi\u0119tej Heleny, Wyspa Wniebowst\u0105pienia i Tristan da Cunha",SUDAN:"Sudan",SURINAME:"Surinam",SWEDEN:"Szwecja",SWITZERLAND:"Szwajcaria","SYRIAN ARAB REPUBLIC":"Syryjska Republika Arabska",TAIWAN:"Tajwan",TAJIKISTAN:"Tad\u017Cykistan","TANZANIA, UNITED REPUBLIC OF":"Tanzania",THAILAND:"Tajlandia","TIMOR-LESTE":"Timor Wschodni",TOGO:"Togo",TONGA:"Tonga","TRINIDAD AND TOBAGO":"Trynidad i Tobago",TUNISIA:"Tunezja",TURKIYE:"Turcja",TURKMENISTAN:"Turkmenistan","TURKS AND CAICOS ISLANDS":"Turks i Caicos",TUVALU:"Tuvalu",UGANDA:"Uganda",UKRAINE:"Ukraina","UNITED ARAB EMIRATES":"Zjednoczone Emiraty Arabskie","UNITED KINGDOM":"Wielka Brytania","UNITED STATES OF AMERICA":"Stany Zjednoczone Ameryki",URUGUAY:"Urugwaj",UZBEKISTAN:"Uzbekistan",VANUATU:"Vanuatu","VENEZUELA (BOLIVARIAN REPUBLIC OF)":"Wenezuela","VIET NAM":"Wietnam","VIRGIN ISLANDS, BRITISH":"Brytyjskie Wyspy Dziewicze","VIRGIN ISLANDS (U.S.)":"Wyspy Dziewicze Stan\xF3w Zjednoczonych","WALLIS AND FUTUNA":"Wallis i Futuna",YEMEN:"Jemen",ZAMBIA:"Zambia",ZIMBABWE:"Zimbabwe"};function tb(t){return _ce[t.trim()]||t}function VE(t){return[...t].sort((i,e)=>tb(i).localeCompare(tb(e),"pl"))}function bce(t,i){if(t&1&&(u(0,"mat-option",4),h(1),c()),t&2){let e=i.$implicit,n=_();g("value",e),l(),S(n.displayWith(e))}}function vce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.error())}}var FR=t=>t.toLowerCase().replace(/Å/g,"l").normalize("NFD").replace(new RegExp("\\p{M}","gu"),"");function yce(t,i){let e=FR(i.trim());return e?t.filter(n=>FR(tb(n)).includes(e)||FR(n).includes(e)):t}var Mh=(()=>{class t{constructor(){this.countries=co([]),this.placeholder=co("Wybierz kraj"),this.error=co(null),this.searchFC=new uo("",{nonNullable:!0}),this.errorStateMatcher={isErrorState:()=>!!this.error()},this.displayWith=e=>e?tb(e):"",this.trigger=Bs.required(hr),this.selected=Z(""),this.searchTerm=dm(this.searchFC.valueChanges,{initialValue:""}),this.filteredCountries=Ct(()=>{let e=this.searchTerm();return e===this.selected()?this.countries()??[]:yce(this.countries()??[],e)}),this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){this.selected.set(e??""),this.searchFC.setValue(e??"")}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){e?this.searchFC.disable():this.searchFC.enable()}onOptionSelected(e){this.select(e.option.value)}onBlur(){this.onTouched(),this.trigger().panelOpen||this.reconcile()}reconcile(){let e=this.searchFC.value;e!==this.selected()&&(e.trim()===""?this.select(""):this.searchFC.setValue(this.selected()))}select(e){this.selected.set(e),this.searchFC.setValue(e),this.onChange(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-country-select"]],viewQuery:function(n,r){n&1&&$c(r.trigger,hr,5),n&2&&qc()},inputs:{countries:[1,"countries"],placeholder:[1,"placeholder"],error:[1,"error"]},features:[me([{provide:er,useExisting:bn(()=>t),multi:!0}])],decls:7,vars:6,consts:[["countryAuto","matAutocomplete"],["appearance","outline",1,"country-field"],["matInput","","type","text","autocomplete","off",3,"blur","formControl","matAutocomplete","placeholder","errorStateMatcher"],["autoActiveFirstOption","",3,"optionSelected","closed","displayWith"],[3,"value"]],template:function(n,r){if(n&1&&(u(0,"mat-form-field",1)(1,"input",2),T("blur",function(){return r.onBlur()}),c(),u(2,"mat-autocomplete",3,0),T("optionSelected",function(a){return r.onOptionSelected(a)})("closed",function(){return r.reconcile()}),He(4,bce,2,2,"mat-option",4,at),c(),v(6,vce,2,1,"mat-error"),c()),n&2){let o=ye(3);l(),g("formControl",r.searchFC)("matAutocomplete",o)("placeholder",r.placeholder())("errorStateMatcher",r.errorStateMatcher),l(),g("displayWith",r.displayWith),l(2),Ue(r.filteredCountries()),l(2),y(r.error()?6:-1)}},dependencies:[ns,Je,Xe,$e,zr,Ve,St,us,et,f_,Da,Qt,hr],styles:["[_nghost-%COMP%]{display:block}.country-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return t})();
7996var Cce=["trigger"];function Dce(t,i){t&1&&(u(0,"span"),h(1,"Edytuj kontrahenta"),c())}function Ece(t,i){t&1&&(u(0,"span"),h(1,"Dodaj kontrahenta"),c())}function wce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function xce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["nazwaSkrot.exists"])}}function Sce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.INCORRECT_SIGNS_TEXT)}}function Tce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.foreignBankInputForm.controls.bic.getError("invalidBic"))}}function Ice(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.invalid"])}}function Ace(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.illegal"])}}function kce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.length"])}}function Rce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Mce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function Nce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["nip.checkSumInvalid"])}}function Oce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["regon.checkSumInvalid"])}}function Fce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["pesel.invalidCheckSum"])}}function Pce(t,i){if(t&1&&(u(0,"mat-option",27),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Lce(t,i){if(t&1&&(u(0,"mat-option",32),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Bce(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function Vce(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.titleFC.getError("pattern")))}}var jE=(()=>{class t{constructor(e,n,r,o){this.dialog=e,this.dialogRef=n,this.contractorService=r,this.data=o,this.ERRORS=ln,this.INCORRECT_SIGNS_TEXT=wh,this.getInvalidCharacters=ue.getInvalidCharacters,this.IBAN_MAX_LENGTH=35,this.SHORT_NAME_MAX_LENGTH=20,this.NIP_MAX_LENGTH=10,this.REGON_MAX_LENGTH=14,this.PESEL_MAX_LENGTH=11,this.IBAN_MIN_LENGTH=26,this.ButtonLabels=tt,this.ContractorTypeEnum=ct,this.ValidatorUtils=Xt,this.fb=m(Er),this.contractorSaveUpdateService=m(Th),this.errorProviderService=m(Rt),this.contractorValidationService=m(TE),this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.countries=this.foreignBanksService.getCountries().pipe($(VE)),this.foreignBankInputFormService=m(Fd),this.foreignBankInputForm=this.foreignBankInputFormService.form,this.foreignBankSearchService=m(Rh),this.contractorInputFormService=m(Sh),this.contractorInputForm=this.contractorInputFormService.form,this.nipFC=this.fb.nonNullable.control("",Lo.check),this.regonFC=this.fb.nonNullable.control("",kd.check),this.peselFC=this.fb.nonNullable.control("",Oa.check),this.groupFC=new z,this.amountFC=this.fb.nonNullable.control(""),this.currencies=m(ml).getCurrencies(),this.currencyFC=this.fb.nonNullable.control("",G.required),this.titleFC=this.fb.nonNullable.control("",G.pattern(ue.swiftPattern)),this.onlyForLoggedUserFC=this.fb.nonNullable.control(!1),this.isRequiredErrorText=Po,this.groups=[],this.isBicBtnDisable=!1,this.listFlag=!1,this.contractorInputForm.markAllAsTouched(),this.foreignBankInputForm.markAllAsTouched(),this.additionalInfoFG=this.fb.group({nipFC:this.nipFC,regonFC:this.regonFC,peselFC:this.peselFC,groupFC:this.groupFC,amountFC:this.amountFC,currencyFC:this.currencyFC,titleFC:this.titleFC,onlyForLogin:this.onlyForLoggedUserFC}),this.additionalInfoFG.markAllAsTouched(),this.allDataFG=this.fb.group({contractorDataFG:this.contractorInputForm,bankDataFG:this.foreignBankInputForm,additionalInfoFG:this.additionalInfoFG}),this.dataDetails=Array.isArray(o.details)?this.data.details[0]:this.data.details}getFormGroup(){return this.allDataFG}ngOnInit(){this.setInitialFCValuesToChange(),this.getContractorsGroups(),this.setControlsValues()}close(e=!1){this.dialogRef.close(e)}reset(){this.allDataFG.reset(),this.data.isEdit&&this.setInitialFCValuesToChange(),this.setControlsValues()}saveContractor(){this.ibanInfos.pipe($(e=>this.createContractorForSave(e)),W(e=>
7996this.contractorValidationService.validate(e).pipe($(()=>e))),W(e=>this.contractorSaveUpdateService.saveContractor(e)),L(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}updateContractor(){this.ibanInfos.pipe($(e=>this.createContractorForUpdate(e)),W(e=>this.contractorSaveUpdateService.updateContractor(e)),L(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}openDialog(e){let n=new Jt;switch(n.panelClass=li.MEDIUM,n.data={details:e,isDialog:!0},e){case ct.US_TRANSFER:this.openTaxOfficeDialogComponent(n);break;case ct.FOREIGN_TRANSFER:this.openForeignBanksDialogComponent(n);break}}triggerDropDownList(e){e.stopPropagation(),this.listFlag?(this.autoComplete.closePanel(),this.listFlag=!1):(this.autoComplete.openPanel(),this.listFlag=!0)}closeDropDownList(){this.autoComplete.closePanel()}getControlByProperty(e){switch(e){case"nazwaSkrot":return this.contractorInputForm.controls.shortName;case"rach":return this.foreignBankInputForm.controls.number;case"nip":return this.nipFC;case"regon":return this.regonFC;case"pesel":return this.peselFC;case"kwota":return this.amountFC;default:return null}}openForeignBanksDialogComponent(e){this.dialog.open(LE,e).afterClosed().subscribe(n=>{n&&(this.foreignBankInputForm.controls.bic.setValue(n.bic),this.foreignBankInputForm.controls.name.setValue(n.bankName),this.foreignBankInputForm.controls.city.setValue(n.address))})}openTaxOfficeDialogComponent(e){this.dialog.open(Ad,e).afterClosed().pipe(L(n=>{n&&(this.contractorInputForm.controls.namePart1.setValue("Urz\u0105d Skarbowy"),this.foreignBankInputForm.controls.number.setValue(n.accountIban),this.foreignBankInputForm.controls.name.setValue(n.name),this.foreignBankInputForm.controls.city.setValue(n.address))})).subscribe()}setControlsValues(){this.foreignBankInputForm.controls.name.setValidators(G.required),this.foreignBankInputForm.controls.city.setValidators(G.required),this.dataDetails?.currency&&this.currencyFC.setValue(this.dataDetails?.currency)}createContractorForSave(e){return{shortName:this.contractorInputForm.controls.shortName.value,group:this.groupFC.value,name1:this.contractorInputForm.controls.namePart1.value,name2:this.contractorInputForm.controls.namePart2.value,address1:this.contractorInputForm.controls.addressPart1.value,address2:this.contractorInputForm.controls.addressPart2.value,targetAccount:this.formatTargetAccount(e),bic:this.foreignBankInputForm.controls.bic.value,nip:this.nipFC.value.length===1?"":this.nipFC.value,regon:this.regonFC.value.length===1?"":this.regonFC.value,pesel:this.peselFC.value.length===1?"":this.peselFC.value,title:this.titleFC.value,bank1:this.foreignBankInputForm.controls.name.value,bank2:this.foreignBankInputForm.controls.address.value,bank3:this.foreignBankInputForm.controls.city.value,bank4:this.foreignBankInputForm.controls.country.value,amount:this.amountFC.value,currency:this.currencyFC.value,type:ct.FOREIGN_TRANSFER,onlyForLoggedUser:this.onlyForLoggedUserFC.value,checkIban:!1}}formatTargetAccount(e){return ue.removeWhitespaces(ca.setCountryCodeIfSelectedCountry(this.foreignBankInputForm.controls.country.value,this.foreignBankInputForm.controls.number.value,e))}createContractorForUpdate(e){let n=this.createContractorForSave(e);return n.id=this.data.details[0].id,n}setInitialFCValuesToChange(){this.dataDetails?(this.contractorInputForm.setValue({type:Mi.getTypeName(ct.FOREIGN_TRANSFER),shortName:this.dataDetails.shortName?this.dataDetails.shortName:"",namePart1:this.dataDetails.name1?this.dataDetails.name1:"",namePart2:this.dataDetails.name2?this.dataDetails.name2:"",addressPart1:this.dataDetails.address1?this.dataDetails.address1:"",addressPart2:this.dataDetails.address2?this.dataDetails.address2:""}),this.foreignBankInputForm.setValue({number:this.dataDetails.targetAccount?this.dataDetails.targetAccount:"",bic:this.dataDetails.bic?this.dataDetails.bic:"",name:this.dataDetails.bank1?this.dataDetails.bank1:"",address:this.dataDetails.bank2?this.dataDetails.bank2:"",city:this.dataDetails.bank3?this.dataDetail
7996s.bank3:"",country:this.dataDetails.bank4?this.dataDetails.bank4:"",eog:!1,sepa:!1}),this.groupFC.setValue(this.dataDetails.group?this.dataDetails.group:""),this.nipFC.setValue(this.dataDetails.nip?this.dataDetails.nip:""),this.regonFC.setValue(this.dataDetails.regon?this.dataDetails.regon:""),this.peselFC.setValue(this.dataDetails.pesel?this.dataDetails.pesel:""),this.titleFC.setValue(this.dataDetails.title?this.dataDetails.title:""),this.amountFC.setValue(this.dataDetails.amount?bt.formatAmount(this.dataDetails.amount):""),this.dataDetails?.currency&&this.currencyFC.setValue(this.dataDetails?.currency),this.onlyForLoggedUserFC.setValue(!!this.dataDetails.onlyForLoggedUser)):this.contractorInputForm.controls.type.setValue(Mi.getTypeName(ct.FOREIGN_TRANSFER))}getContractorsGroups(){this.contractorService.getAllContractorsGroups().subscribe(e=>this.groups=e)}instanceOfDomesticBank(e){return"address2"in e}static{this.\u0275fac=function(n){return new(n||t)(E(mt),E(Ze),E(br),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-foreign-contractor-dialog"]],viewQuery:function(n,r){if(n&1&&ve(Cce,5),n&2){let o;H(o=U())&&(r.autoComplete=o.first)}},standalone:!1,features:[me([Fd,Rh,Sh])],decls:107,vars:44,consts:[["trigger","matAutocompleteTrigger"],["auto","matAutocomplete"],[3,"formGroup"],[1,"flex-row","gap-20"],["appearance","outline",1,"flex-50"],["autocomplete","off","formControlName","type","matInput","","readonly",""],["autocomplete","off","formControlName","shortName","matInput","","required","",3,"maxlength"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","justify-between","gap-10"],["formControlName","country","matTooltip","Je\u015Bli numer rachunku b\u0119dzie zawiera\u0142 kod kraju, zostanie on u\u017Cyty niezale\u017Cnie od kraju wybranego z listy","matTooltipPosition","right",1,"flex-20",3,"countries"],[1,"flex-100",3,"bankAccountFC"],[1,"custom-row","flex-row","justify-start"],["appearance","outline",1,"flex-100"],["autocomplete","off","formControlName","bic","matInput",""],[1,"custom-button",3,"clickAction","disabled"],["autocomplete","off","formControlName","name","matInput","","name","name"],["autocomplete","off","formControlName","address","matInput","","name","address"],["autocomplete","off","formControlName","city","matInput","","name","city"],["autocomplete","off","formControlName","country","matInput","","name","country"],[1,"flex-row","justify-between","items-center","gap-20"],["appearance","outline",1,"flex-1"],["autocomplete","off","matInput","","appOnlyNumbers","",3,"formControl","maxlength"],["appearance","outline",1,"width"],["autocomplete","off","matInput","","placeholder","Wpisz/Wybierz grup\u0119",3,"input","formControl","matAutocomplete"],["mat-icon-button","","matSuffix",""],[3,"click"],["autoActiveFirstOption",""],[3,"value"],[3,"amountFC","isRequired"],["appearance","outline",1,"min-width-of-5-rem"],["for","sourceAccount"],[3,"formControl"],[1,"custom-option",3,"value"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","",3,"formControl"],[3,"cancelAction","resetAction","confirmAction","buttonLabelConfirm","confirmDisabled"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),v(2,Dce,2,0,"span")(3,Ece,2,0,"span"),c(),u(4,"app-dialog-content")(5,"app-dialog-section",2)(6,"app-dialog-section-header"),h(7," Dane kontrahenta "),c(),u(8,"div",3)(9,"mat-form-field",4)(10,"mat-label"),h(11,"Typ kontrahenta"),c(),x(12,"input",5),c(),u(13,"mat-form-field",4)(14,"mat-label"),h(15,"Nazwa skr\xF3cona"),c(),x(16,"input",6),v(17,wce,2,1,"mat-error"),v(18,xce,2,1,"mat-error"),v(19,Sce,2,1,"mat-error"),c()(),x(20,"app-recipant-input",7),c(),u(21,"app-dialog-section",2)(22,"app-dialog-section-header"),h(23," Bank kontrahenta "),c(),u(24,"div",8),x(25,"app-country-select",9),be(26,"async"),x(27,"app-iban-input",10),c(),u(28,"div",11)(29,"mat-form-field",12)(30,"mat-label"),h(31,"Kod BIC banku"),c(),x(32,"input",13),v(33,Tce,2,1,"mat-error"),v(34,Ice,2,1,"mat-error"),v(35,Ace,2,1,"mat-error"),v(36,kce,2,1,"mat-error"),c(),u(37,"app-button",14),T("clickAction",function(){return r.openDialog(r.ContractorTypeEnum.FOREIGN_TRANSFER)}),h(38," Wybierz "),c()(),u(39,"div",3)(40,"mat-form-field",4)(41,"mat-label"),h(42,"Nazwa banku"),c(),x(43,"input",15),v(44,Rce,2,1,"mat-error"),c(),u(45,"mat-form-field",4),x(46,"mat-label")(47,"input",16),c()(),u(48,"div",3)(49,"mat-form-field",4)(50,"mat-label"),h(51,"Miejscowo\u015B\u0107, kraj"),c(),x(52,"input",17),v(53,Mce,2,1,"mat-error"),c(),u(54,"mat-form-field",4),x(55,"mat-label")(56,"input",18),c()()(),u(57,"app-dialog-section")(58,"app-dialog-section-header"),h(59," Dane dodatkowe "),c(),u(60,"div",19)(61,"mat-form-field",20)(62,"mat-label"),h(63,"NIP"),c(),x(64,"input",21),v(65,Nce,2,1,"mat-error"),c(),u(66,"mat-form-field",20)(67,"mat-label"),h(68,"REGON"),c(),x(69,"input",21),v(70,Oce,2,1,"mat-error"),c()(),u(71,"div",19)(72,"mat-form-field",20)(73,"mat-label"),h(74,"PESEL"),c(),x(75,"input",21),v(76,Fce,2,1,"mat-error"),c(),u(77,"mat-form-field",22)(78,"mat-label"),h(79,"Grupa"),c(),u(80,"input",23,0),T("input",function(){return r.closeDropDownList()}),c(),u(82,"button",24)(83,"mat-icon",25),T("click",function(a){return r.triggerDropDownList(a)}),h(84,"more_vert"),c()(),u(85,"mat-autocomplete",26,1),He(87,Pce,2,2,"mat-option",27,at),c()()(),u(89,"div",3),x(90,"app-amount-input",28),u(91,"mat-form-field",29)(92,"mat-label",30),h(93,"Waluta"),c(),u(94,"mat-select",31),He(95,Lce,2,2,"mat-option",32,at),be(97,"async"),c(),v(98,Bce,2,0,"mat-error"),c()(),u(99,"mat-form-field",33)(100,"mat-label"),h(101,"Tytu\u0142em"),c(),x(102,"textarea",34),v(103,Vce,4,1,"mat-error"),c(),u(104,"mat-checkbox",31),h(105,"Kontrahent dost\u0119pny tylko dla tego loginu"),c()()(),u(106,"app-action-buttons-panel",35),T("cancelAction",function(){return r.close()})("resetAction",function(){return r.reset()})("confirmAction",function(){return r.data.isEdit?r.updateContractor():r.saveContractor()}),c()()),n&2){let o=ye(86);l(2),y(r.data.isEdit?2:3),l(3),g("formGroup",r.contractorInputForm),l(11),g("maxlength",r.SHORT_NAME_MAX_LENGTH),l(),y(r.ValidatorUtils.isRequired(r.contractorInputForm.controls.shortName)?17:-1),l(),y(r.contractorInputForm.controls.shortName.hasError("nazwaSkrot.exists")?18:-1),l(),y(r.contractorInputForm.controls.shortName.hasError("pattern")?19:-1),l(),g("namePart1FC",r.contractorInputForm.controls.namePart1)("namePart2FC",r.contractorInputForm.controls.namePart2)("addressPart1FC",r.contractorInputForm.controls.addressPart1)("addressPart2FC",r.contractorInputForm.controls.addressPart2),l(),g("formGroup",r.foreignBankInputForm),l(4),g("countries",Fe(26,40,r.countries)),l(2),g("bankAccountFC",r.foreignBankInputForm.controls.number),l(6),y(r.foreignBankInputForm.controls.bic.hasError("invalidBic")?33:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.invalid")?34:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.illegal")?35:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.length")?36:-1),l(),g("disabled",r.isBicBtnDisable),l(7),y(r.ValidatorUtils.isRequired(r.foreignBankInputForm.controls.name)?44:-1),l(9),y(r.ValidatorUtils.isRequired(r.foreignBankInputForm.controls.city)?53:-1),l(11),g("formControl",r.nipFC)("maxlength",r.NIP_MAX_LENGTH),l(),y(r.nipFC.errors!=null&&r.nipFC.errors.nip||r.nipFC.hasError("nip.checkSumInvalid")?65:-1),l(4),g("formControl",r.regonFC)("maxlength",r.REGON_MAX_LENGTH),l(),y(r.regonFC.errors!=null&&r.regonFC.errors.regon||r.regonFC.hasError("regon.checkSumInvalid")?70:-1),l(5),g("formControl",r.peselFC)("maxlength",r.PESEL_MAX_LENGTH),l(),y(r.peselFC.errors!=null&&r.peselFC.errors.pesel||r.peselFC.hasError("pesel.invali
7996dCheckSum")?76:-1),l(4),g("formControl",r.groupFC)("matAutocomplete",o),l(7),Ue(r.groups),l(3),g("amountFC",r.amountFC)("isRequired",!1),l(4),g("formControl",r.currencyFC),l(),Ue(Fe(97,42,r.currencies)),l(3),y(r.ValidatorUtils.isRequired(r.currencyFC)?98:-1),l(4),g("formControl",r.titleFC),l(),y(r.titleFC.hasError("pattern")?103:-1),l(),g("formControl",r.onlyForLoggedUserFC),l(2),g("buttonLabelConfirm",r.ButtonLabels.SAVE)("confirmDisabled",r.allDataFG.invalid)}},dependencies:[Je,Xe,Ai,mn,Bi,Ve,qe,St,Ln,Da,Qt,hr,fr,ir,Gn,et,si,Xs,Mt,Nt,Ot,vr,Nr,$e,qn,Mu,Yr,Kr,J_,bi,Tt,Mh,SE,Ji],styles:[".clear-button[_ngcontent-%COMP%]{margin-right:20px;margin-left:auto}.spacer[_ngcontent-%COMP%]{margin-bottom:1rem}.subtitle[_ngcontent-%COMP%]{color:#2196f3;margin-bottom:3px}.custom-button[_ngcontent-%COMP%]{height:3rem;margin-top:.2rem;margin-left:1rem}.custom-row[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:not(:last-of-type) .custom-button[_ngcontent-%COMP%]{margin-left:1rem}.min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-start[_ngcontent-%COMP%]{justify-content:flex-start}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.items-center[_ngcontent-%COMP%]{align-items:center}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-20[_ngcontent-%COMP%]{flex:1 1 20%;max-width:20%;box-sizing:border-box}.flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}.flex-100[_ngcontent-%COMP%]{flex:1 1 100%;max-width:100%;box-sizing:border-box}.flex-1[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}.flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var dG=(function(t){return t.ELIXIR="ELIXIR",t.VIDEO_TEL="VIDEO_TEL",t.INTERNATIONAL="INTERNATIONAL",t.DBF="DBF",t})(dG||{}),O0t=t=>t===dG.DBF?[".dbf"]:[".csv",".txt",".xml",".pli"],pm=(function(t){return t.WINDOWS_1250="WINDOWS-1250",t.UTF_8="UTF-8",t})(pm||{}),jce=(function(t){return t.NEW_BUNDLE="do nowej paczki",t.EXISTING_BUNDLE="do istniej\u0105cej paczki z listy",t.WITHOUT_BUNDLE="bez paczki",t})(jce||{}),Hce=(function(t){return t.UNCHECKED="UNCHECKED",t.VALID="VALID",t.INVALID="INVALID",t.FAILED="FAILED",t})(Hce||{});var Uce=["*"];function zce(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),S(e.icon)}}function Gce(t,i){if(t&1&&(u(0,"span",2),h(1),c()),t&2){let e=_();l(),S(e.hint)}}var Nh=(()=>{class t{constructor(){this.disabled=!1,this.clickAction=new V}click(){this.clickAction.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-menu-item-button"]],inputs:{disabled:"disabled",icon:"icon",hint:"hint"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:Uce,decls:4,vars:3,consts:[["mat-menu-item","",3,"click","disabled"],[1,"icon-margin-right"],[1,"menu-item-hint"]],template:function(n,r){n&1&&(Ie(),u(0,"button",0),T("click",function(){return r.click()}),v(1,zce,2,1,"mat-icon",1),re(2),v(3,Gce,2,1,"span",2),c()),n&2&&(g("disabled",r.disabled),l(),y(r.icon?1:-1),l(2),y(r.hint?3:-1))},dependencies:[Gn,Zu],styles:[".icon-margin-right[_ngcontent-%COMP%]{margin-right:.2rem}",".menu-item-hint[_ngcontent-%COMP%]{margin-left:.35rem;font-size:.75rem;opacity:.7}"]})}}return t})();var Wce=["uploaderCSV"],$ce=["uploaderTXT_DEF"],qce=["uploaderTXT_NOV"],Yce=["uploaderTXT_SABA"],Kce=["uploaderXML"];function Xce(t,i){if(t&1){let e=Se();u(0,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.CSV))}),h(1,"Z pliku CSV"),c(),u(2,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.TXT_DEF))}),h(3,"Z pliku TXT(DEF)"),c(),u(4,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.TXT_NOV))}),h(5,"Z pliku TXT(Novum)"),c(),u(6,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.TXT_SABA))}),h(7,"Z pliku TXT(Saba)"),c(),u(8,"app-menu-item-button",13),T("clickAction",function(){te(e);let r=_();return ne(r.importContractors(r.ContractorImportType.XML))}),h(9,"Z pliku XML"),c()}if(t&2){let e=_();g("disabled",e.isImportButtonsDisabled),l(2),g("disabled",e.isImportButtonsDisabled),l(2),g("disabled",e.isImportButtonsDisabled),l(2),g("disabled",e.isImportButtonsDisabled),l(2),g("disabled",e.isImportButtonsDisabled)}}var mG=(()=>{class t{constructor(e,n,r,o,a,s){this.contractorService=e,this.notificationService=n,this.dialog=r,this.authFlow=o,this.userFacadeService=a,this.errorProviderService=s,this.importCompleted=new V,this.ContractorImportType=bd,this.encoding="",this.isImportButtonsDisabled=!1,this.choosenGroupForImport="",this.importedContarctorsTotalCount=0,this.MAX_FILE_SIZE_IN_MB=5}ngOnInit(){this.isImportButtonsDisabled=!this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT])}importContractors(e){this.contractorImportType=e,this.dialog.open(xE).afterClosed().pipe(L(n=>{n===void 0?this.choosenGroupForImport="":this.choosenGroupForImport=n}),W(()=>this.ifForLogin().afterClosed().pipe(L(n=>{this.forLoginDecision=!!n.state}),W(()=>this.getFileFromBrowser(e))))).subscribe()}loadFile(e){let n=e.target.files.item(0),r=e.target.files.item(0).filePath;if(n)if(this.isProperFileSize(n)){let o=new FormData;o.append("file",n),this.contractorService.uploadFile(this.encoding,o).pipe(W(a=>this.importContractorsWithAuthorize(a,r,n.name)),this.errorProviderService.processError(ze.FETCHING_DATA_ERROR)).subscribe()}else this.notificationService.error(ze.UPLOADED_FILE_TOO_LARGE);this.uploaderCSV.nativeElement.value="",this.uploaderTXT_DEF.nativeElement.value="",this.uploaderTXT_NOV.nativeElement.value="",this.uploaderTXT_SABA.nativeElement.value="",this.uploaderXML.nativeElement.value=""}ifForLogin(){let e=new Jt;return e.data={title:"Import",message:`Czy kontrahenci maj\u0105 by\u0107 dost\u0119pni tylko dla jednego loginu czy dla wszystkich login\xF3w tego klienta? 7997 7998Wybierz Tak, je\u015Bli kontrahenci maj\u0105 by\u0107 dost\u0119pni tylko dla Twojego loginu. 7999Wybierz Nie, je\u015Bli kontrahenci maj\u0105 by\u0107 dost\u0119pni dla wszystkich login\xF3w tego klienta.`,type:lc.BASIC_YES_NO_CONFIRM},this.dialog.open(Sd,e)}getFileFromBrowser(e){return e===bd.CSV?(this.uploaderCSV?.nativeElement.click(),this.encoding=pm.WINDOWS_1250):e===bd.TXT_SABA?(this.uploaderTXT_SABA?.nativeElement.click(),this.encoding=pm.WINDOWS_1250):e===bd.TXT_DEF?(this.uploaderTXT_DEF?.nativeElement.click(),this.encoding=pm.WINDOWS_1250):e===bd.TXT_NOV?(this.uploaderTXT_NOV?.nativeElement.click(),this.encoding=pm.WINDOWS_1250):e===bd.XML&&(this.uploaderXML?.nativeElement.click(),this.encoding=pm.UTF_8),B([])}importContractorsWithAuthorize(e,n,r){let o=Mi.getContractorImportRequest
7999(this.contractorImportType,e.fileId,n,this.forLoginDecision,this.encoding),a=this.contractorService.importAuthOperation(o,this.choosenGroupForImport,s=>this.importedContarctorsTotalCount=s);return this.authFlow.run(a,[],{title:"Autoryzacja importu kontrahent\xF3w",summary:`Import kontrahent\xF3w z pliku ${r}`}).pipe(L(()=>{this.showMessage(),this.importCompleted.emit(!0)}),Ge(s=>s instanceof bs?ke:gn(()=>s)))}showMessage(){this.notificationService.success("Import wykonany pomy\u015Blnie. Ilo\u015B\u0107 wczytanych dyspozycji : "+this.importedContarctorsTotalCount)}isProperFileSize(e){return e.size<=this.MAX_FILE_SIZE_IN_MB*1024*1024}static{this.\u0275fac=function(n){return new(n||t)(E(br),E(Le),E(mt),E(gl),E(wi),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-contractors-import"]],viewQuery:function(n,r){if(n&1&&ve(Wce,5)($ce,5)(qce,5)(Yce,5)(Kce,5),n&2){let o;H(o=U())&&(r.uploaderCSV=o.first),H(o=U())&&(r.uploaderTXT_DEF=o.first),H(o=U())&&(r.uploaderTXT_NOV=o.first),H(o=U())&&(r.uploaderTXT_SABA=o.first),H(o=U())&&(r.uploaderXML=o.first)}},outputs:{importCompleted:"importCompleted"},standalone:!1,decls:15,vars:1,consts:[["contractorImportMenu",""],["uploaderCSV",""],["uploaderTXT_SABA",""],["uploaderTXT_DEF",""],["uploaderTXT_NOV",""],["uploaderXML",""],[3,"matMenuTriggerFor"],["yPosition","below"],["matMenuContent",""],["autocomplete","off","accept",".csv","hidden","","type","file",3,"change"],["autocomplete","off","accept",".txt, .csv","hidden","","type","file",3,"change"],["autocomplete","off","accept",".txt","hidden","","type","file",3,"change"],["autocomplete","off","accept","text/xml","hidden","","type","file",3,"change"],[3,"clickAction","disabled"]],template:function(n,r){if(n&1&&(u(0,"app-button",6),h(1,"Import"),c(),u(2,"mat-menu",7,0),fe(4,Xce,10,5,"ng-template",8),u(5,"input",9,1),T("change",function(a){return r.loadFile(a)}),c(),u(7,"input",10,2),T("change",function(a){return r.loadFile(a)}),c(),u(9,"input",11,3),T("change",function(a){return r.loadFile(a)}),c(),u(11,"input",11,4),T("change",function(a){return r.loadFile(a)}),c(),u(13,"input",12,5),T("change",function(a){return r.loadFile(a)}),c()()),n&2){let o=ye(3);g("matMenuTriggerFor",o)}},dependencies:[Zs,ZC,fd,Bt,bi,Nh],encapsulation:2})}}return t})();var pG=Si(Xr());var mc=(function(t){return t.CURRENT="BIEZACY",t.CREDIT="KREDYTOWY",t.FORWARD="TERMINOWY",t.VAT="VAT",t.FIDUCIARY="POWIERNICZY",t.TECHNICAL="TECHNICZNY",t.TRUSTEE="POWIERNIKA",t.ENTRUSTING="POWIERZAJACEGO",t})(mc||{});var hm=(function(t){return t.CURRENT="Rachunki bie\u017C\u0105ce",t.CREDIT="Rachunki kredytowe",t.FORWARD="Rachunki terminowe",t.VAT="Rachunki VAT",t.FIDUCIARY="Rachunki powiernicze",t})(hm||{});var nb=class{static toLabel(i){switch(i){case mc.CURRENT:return hm.CURRENT;case mc.CREDIT:return hm.CREDIT;case mc.FORWARD:return hm.FORWARD;case mc.VAT:return hm.VAT;case mc.FIDUCIARY:return hm.FIDUCIARY;default:return""}}};Sn([(0,pG.default)()],nb,"toLabel",null);var vi=(()=>{class t{static{this.PL_PREFIX=/^PL/i}static{this.BANK_CODE_LENGTH_8=8}static{this.BANK_CODE_LENGTH_4=4}static{this.CHECK_DIGITS_LENGTH=2}static ibanFormat(e,n=!1,r=""){return e?this.modifyIban(e,n):r}static stripToNrb(e){return e?e.replace(/\s+/g,"").replace(this.PL_PREFIX,""):""}static isOwnBankAccount(e,n){if(!n||n.length===0)return!1;let r=this.stripToNrb(e);if(r.length<this.CHECK_DIGITS_LENGTH+this.BANK_CODE_LENGTH_4)return!1;let o=this.CHECK_DIGITS_LENGTH,a=r.substring(o,o+this.BANK_CODE_LENGTH_8);if(a.length===this.BANK_CODE_LENGTH_8&&n.includes(a))return!0;let s=r.substring(o,o+this.BANK_CODE_LENGTH_4);return n.includes(s)}static findAccountById(e,n){return n.find(r=>String(r.accountId)===e)?.accountId||""}static findAccountByIban(e,n){return n.find(r=>String(r.accountNumber)===e)?.accountId||""}static modifyIban(e,n=!1){if(new RegExp(/[0-9\s\-.]+/g).test(e)){e=e.replace(/[\s\-.]+/g,"");let r=2,o=[];for(let a=0;a<e.length;a+=r)r=a>=2?4:2,new RegExp(/([A-Z]{2})[0-9\s\-.]+/g).test(e)&&(r=4),o.push(e.substr(a,r));return o.join(" ")}else return n&&(e=nb.toLabel(e)),e}}return t})();var qt=(()=>{class t{transform(e,n="",r=!1){return e?vi.ibanFormat(e,r,n):n}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"ibanFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var LR=Si(cm());var Kt=(()=>{class t{transform(e,n=""){if(e===x3)return"";{let r=e?(0,LR.default)(e,{precision:2}).format():q_;return(0,LR.default)(r,{symbol:n,separator:" ",pattern:"# !",negativePattern:"- # !"}).format().trim()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"currencyFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var Ld=(()=>{class t{transform(e,n){return e=e||"",n=n||"",`${e} ${n}`.trim()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"accountFriendlyName",type:t,pure:!0,standalone:!1})}}return t})();
7999function ede(t,i){if(t&1&&(u(0,"strong",2),h(1),u(2,"span",8),h(3,", "),c()()),t&2){let e=_();l(),S(e.account.accountShortName)}}function tde(t,i){if(t&1&&(u(0,"span",3),h(1),be(2,"accountFriendlyName"),u(3,"span",8),h(4,", "),c()()),t&2){let e=_();l(),S(Dr(2,1,e.account.friendlyName1,e.account.friendlyName2))}}function nde(t,i){if(t&1&&(u(0,"span",2),h(1),be(2,"ibanFormatPipe"),u(3,"span",8),h(4,", "),c()()),t&2){let e=_();l(),S(Fe(2,1,e.account.accountNumber))}}function ide(t,i){if(t&1&&(u(0,"span",5),h(1),u(2,"span",8),h(3,", "),c()()),t&2){let e=_();l(),S(e.account.ownerShortName)}}function rde(t,i){if(t&1&&(h(0),be(1,"currencyFormatPipe")),t&2){let e=_();se(" ",Fe(1,1,e.account.availableFunds)," ")}}function ode(t,i){if(t&1&&h(0),t&2){let e=_();se(" ",e.account.currency," ")}}var BR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-source-account-option-item"]],inputs:{account:"account"},standalone:!1,decls:12,vars:6,consts:[[1,"source-account-input-details"],[1,"source-account-input-details-start"],[1,"avoidwrap"],[1,"source-account-input-details-friendly-name","avoidwrap"],[1,"source-account-input-details-center"],[1,"source-account-input-details-account-owner-short-name","avoidwrap"],[1,"source-account-input-details-end"],[1,"source-account-input-details-available-founds"],[1,"separator"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"div",1),v(2,ede,4,1,"strong",2),x(3,"br"),v(4,tde,5,4,"span",3),c(),u(5,"div",4),v(6,nde,5,3,"span",2),v(7,ide,4,1,"span",5),c(),u(8,"div",6)(9,"strong",7),v(10,rde,2,3),v(11,ode,1,1),c()()()),n&2&&(l(2),y(r.account.accountShortName?2:-1),l(2),y(r.account.friendlyName1||r.account.friendlyName2?4:-1),l(2),y(r.account.accountNumber?6:-1),l(),y(r.account.ownerShortName?7:-1),l(3),y(r.account.availableFunds!==null&&r.account.availableFunds!==void 0&&r.account.availableFunds>=0?10:-1),l(),y(r.account.currency?11:-1))},dependencies:[qt,Kt,Ld],styles:[".source-account-input-details[_ngcontent-%COMP%]{display:flex;gap:1em;line-height:1.5em}span.avoidwrap[_ngcontent-%COMP%], strong.avoidwrap[_ngcontent-%COMP%]{display:inline-block}.source-account-input-details-start[_ngcontent-%COMP%]{flex:3}.source-account-input-details-friendly-name[_ngcontent-%COMP%], .source-account-input-details-account-owner-short-name[_ngcontent-%COMP%]{font-size:.9em}.source-account-input-details-center[_ngcontent-%COMP%]{flex:5;display:flex;gap:1em}.source-account-input-details-end[_ngcontent-%COMP%]{flex:1;display:grid;justify-content:flex-end;text-align:right}.source-account-input-details-available-founds[_ngcontent-%COMP%]{align-self:center}
7999.separator[_ngcontent-%COMP%]{display:none}"]})}}return t})();var VR=(function(t){return t.PRIMARY="primary",t.WARN="warn",t.ACCENT="accent",t})(VR||{});var fm=class{},de=class{leftCell(i,e,n){return this._leftCell={cellContent:i,pipeToken:e,pipeArgs:n},this}rightCell(i,e,n){return this._rightCell={cellContent:i,pipeToken:e,pipeArgs:n},this}};var hG=Si(Xr());var gm=class t{transform(i){return i?"Tak":"Nie"}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"booleanToText",type:t,pure:!0,standalone:!1})}};Sn([(0,hG.default)()],gm.prototype,"transform",null);var _l=(function(t){return t.D="D",t.M="M",t.R="R",t})(_l||{}),bl=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(bl||{}),jR=(()=>{class t{transform(e){if(e){let n=e.split(" ");return this.matchRegex(n[0],n[1])}return""}matchRegex(e,n){let r=/\b([2-4])/g,o=/\b([5-9])|\b([1-9][0-9]+)/g;if(e==="1")switch(n){case _l.D:case bl.DAY:e+=" dzie\u0144";break;case _l.M:case bl.MONTH:e+=" miesi\u0105c";break;case _l.R:case bl.YEAR:e+=" rok";break;default:break}else if(r.test(e))switch(n){case _l.D:case bl.DAY:e+=" dni";break;case _l.M:case bl.MONTH:e+=" miesi\u0105ce";break;case _l.R:case bl.YEAR:e+=" lata";break;default:break}else if(o.test(e))switch(n){case _l.D:case bl.DAY:e+=" dni";break;case _l.M:case bl.MONTH:e+=" miesi\u0119cy";break;case _l.R:case bl.YEAR:e+=" lat";break;default:break}return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"depositCycle",type:t,pure:!0,standalone:!1})}}return t})();var fG=Si(Xr());var ib=(function(t){return t.NULL="NULL",t.CZESCIOWA_WPLATA="CZESCIOWA_WPLATA",t.CZESCIOWA_WYPLATA="CZESCIOWA_WYPLATA",t})(ib||{});var rb=(function(t){return t.NULL="Brak",t.PARTIAL_DEPOSIT="Cz\u0119sciowa wp\u0142ata",t.PARTIAL_PAYOUT="Cz\u0119sciowa wyp\u0142ata",t})(rb||{});var Fh=class t{transform(i){switch(i){case ib.NULL:return rb.NULL;case ib.CZESCIOWA_WPLATA:return rb.PARTIAL_DEPOSIT;case ib.CZESCIOWA_WYPLATA:return rb.PARTIAL_PAYOUT;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"paymentTypeView",type:t,pure:!0,standalone:!1})}};Sn([(0,fG.default)()],Fh.prototype,"transform",null);var gG=(()=>{class t{static{this.ACCOUNT_ASSIGNED_VALUE="TAK"}toWhiteListData(e,n,r){let o=e.accountAssigned===t.ACCOUNT_ASSIGNED_VALUE;return{requestId:e.requestId,state:o?ul.REGISTERED:ul.NOT_REGISTERED,checkDate:this.formatDate(e.requestDateTime),verificationResult:!0,nrb:n,nip:r,errorMessage:void 0}}toErrorMessage(e,n,r){return{nrb:e,nip:n,verificationResult:!1,state:ul.CHECK_UNSUCCESSFUL,checkDate:new Date().toISOString(),errorMessage:r}}formatDate(e){let n=e.split(" ");return n[0]=n[0].split("-").reverse().join("-"),new Date(n.join("T")).toISOString()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ph=(()=>{class t{constructor(e,n){this.wlRegistryApiService=e,this.converter=n,this.appStore=m(Fo)}check(e,n){return this.wlRegistryApiService.checkAccount(e,n).pipe($(r=>this.converter.toWhiteListData(r.result,e,n)),Ge(r=>{let o=r.error;return B(this.converter.toErrorMessage(e,n,o.message))}))}isWhiteListEnabled(){return B(this.appStore.whiteListEnabled())}static{this.\u0275fac=function(n){return new(n||t)(F(oz),F(gG))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ys=(function(t){return t.REGISTERED="REGISTERED",t.NOT_REGISTERED="NOT_REGISTERED",t.CHECK_UNSUCCESSFUL="CHECK_UNSUCCESSFUL",t.ERROR="ERROR",t.INVALID_NIP="INVALID_NIP",t.NO_CHECK="NO_CHECK",t})(ys||{}),Bd=(function(t){return t.POSITIVE="POSITIVE",t.NEGATIVE="NEGATIVE",t.NO_CHECK="NO_CHECK",t})(Bd||{});var UR=(()=>{class t{transform(e){switch(e){case Bd.POSITIVE:return"Pozytywny";case Bd.NEGATIVE:return"Negatywny";case Bd.NO_CHECK:return"-";case ys.REGISTERED:return"Zarejestrowany";case ys.NOT_REGISTERED:return"Niezarejestrowany";case ys.CHECK_UNSUCCESSFUL:return"Weryfikacja nie powiod\u0142a si\u0119";case ys.INVALID_NIP:return"Nieprawid\u0142owy NIP";case ys.ERROR:return"B\u0142\u0105d weryfikacji";case ys.NO_CHECK:return"-";default:return""}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"whiteListState",type:t,pure:!0,standalone:!1})}}return t})();var da=(function(t){return t.NEW="NEW",t.COMPLETED="COMPLETED",t.REJECTED="REJECTED",t})(da||{});var vl=class{static mapVirtualBundles(i,e){return i?i.map(n=>
7999this.isVirtualBundle(n)?this.getVirtualDisposition(n,e):n.dispositions!==null?this.getBundleWithAdditionalProps(n,e):n):[]}static extractDispositionsFromStandingOrderBundles(i){return i?i.map(e=>e.virtual&&e.dispositions!==void 0?e.dispositions[0]:e):[]}static mapBundlesToIdList(i){return i.map(e=>this.isVirtualDisposition(e)?e.bundleId:e.id)}static isBundle(i){return!!i&&"dispositions"in i}static isVirtual(i){return!!i&&"virtual"in i&&i.virtual}static isVirtualDisposition(i){return this.isVirtual(i)&&"bundleId"in i}static isVirtualBundle(i){return this.isBundle(i)&&this.isVirtual(i)}static isDispositionFromStandingOrder(i){return!!i._tableChild}static everyAreBundlesOrVirtualDispositions(i){return i.every(e=>this.isBundle(e)||this.isVirtualDisposition(e))}static everyHasSourceAccount(i){return i.every(e=>e.sourceAccount)}static getAllDispositions(i){return i.map(e=>this.getDispositions(e)).reduce((e,n)=>e.concat(n),[])}static getVirtualDisposition(i,e=!1){let n=i.dispositions[0];if(!n)throw new Aa("disposition");return n.bundleId=i.id,n.virtual=!0,n.name=(n.name1+" "+n.name2).trim(),n.title=n.title.trim(),n.friendlyNameSourceAccount=i.friendlyNameSourceAccount,e?(n.sourceAccount=i.sourceAccount,n.state=i.state,n.bundleState=i.state,i.signState!==void 0&&(n.signState=i.signState)):n.state=n.state?n.state:da.NEW,n.salary=i.salary,n}static getBundleWithAdditionalProps(i,e){return e&&i.dispositions.forEach(n=>{n.bundleId=i.id,n.friendlyNameSourceAccount=i.friendlyNameSourceAccount,n.name=(n.name1+" "+n.name2).trim(),n.title=n.title.trim(),n.sourceAccount=i.sourceAccount,n.virtual=!1,n.salary=i.salary}),i}static getDispositions(i){return"dispositions"in i?i.dispositions:[i]}};var ob=class t{static prepareCurrentAccountsDetails(i,e){let n;n=new de().leftCell({name:"Nazwa rachunku",value:i?.accountName}).rightCell({name:"Przyjazna nazwa",value:i?.friendlyName1},Ld,[i?.friendlyName2]),e.push(n),n=new de().leftCell({name:"IBAN",value:i?.accountNumber},qt).rightCell({name:"Waluta",value:i?.currency}),e.push(n),n=new de().leftCell({name:"Data otwarcia",value:i?.openingDate},un,[je]),e.push(n),n=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i?.owner}),e.push(n),n=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i?.ownerAddress}),e.push(n),n=new de().leftCell({name:"Oproc. kredytu",value:i?.loanRate},Kt).rightCell({name:"Oproc. rachunku",value:i?.accountRate},Kt),e.push(n),n=new de().leftCell({name:"Rachunek podstawowy",value:i?.primaryAccountNumber},qt),e.push(n)}static prepareEntrustingAccountsDetails(i,e){let n;n=new de().leftCell({name:"Nazwa rachunku",value:i?.accountName}).rightCell({name:"Przyjazna nazwa",value:i?.friendlyName1},Ld,[i?.friendlyName2]),e.push(n),n=new de().leftCell({name:"IBAN",value:i?.accountNumber},qt).rightCell({name:"Waluta",value:i?.currency}),e.push(n),n=new de().leftCell({name:"Data otwarcia",value:i?.openingDate},un,[je]),e.push(n),n=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i?.owner}),e.push(n),n=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i?.ownerAddress}),e.push(n),n=new de().leftCell({name:"Oproc. kredytu",value:i?.loanRate},Kt).rightCell({name:"Oproc. rachunku",value:i?.accountRate},Kt),e.push(n)}static prepareForwardAccountsDetails(i,e){let n;n=new de().leftCell({name:"IBAN",value:i.accountNumber},qt).rightCell({name:"Data zapadalno\u015Bci",value:i.endDate},un,[je]),e.push(n),n=new de().leftCell({name:"Data otwarcia",value:i.openingDate},un,[je]).rightCell({name:"Oprocentowanie",value:i.accountRate},Kt),e.push(n),n=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i.owner}),e.push(n),n=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i.ownerAddress}),e.push(n),n=new de().leftCell({name:"Waluta",value:i.currency}),e.push(n),n=new de().leftCell({name:"Rachunek podstawowy",value:i.primaryAccountNumber},qt),e.push(n)}static prepareCreditAccountsDetails(i,e){let n;n=new de().leftCell({name:"IBAN",value:i.accountNumber},qt),i.contractNumber&&n.rightCell({name:"Numer umowy",value:i.contractNumber}),e.push(n),n=new de().leftCell({name:"Data zako\u0144czenia",value:i.endDate},un,[je]).rightCell({name:"Saldo",value:i.currentBalance},Kt),e.push(n),n=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i.owner}),i.balanceAfterDeadline>0?n.rightCell({name:"W tym po terminie",value:i.balanceAfterDeadline},Kt):i.balanceOverpayment!==null&&n.rightCell({name:"Nadp\u0142ata/niewykorzystany limit",value:i.balanceOverpayment},Kt),e.push(n),n=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i.ownerAddress}),i.lastAmount!==null&&n.rightCell({name:"Ostatnia sp\u0142ata",value:i.lastAmount},Kt),e.push(n),n=new de,i.amountAfterDeadline!==null&&n.leftCell({name:"Odsetki po terminie",value:i.amountAfterDeadline},Kt),i.lastPaymentDate&&n.rightCell({name:"W dniu",value:i.lastPaymentDate},un,[je]),e.push(n),n=new de().leftCell({name:"Oproc. kredytu",value:i.loanRate}
7999,Kt).rightCell({name:"Waluta",value:i.currency}),e.push(n),i.vatAccountNumber&&(n=new de().leftCell({name:"Rachunek VAT",value:i.vatAccountNumber},qt),e.push(n)),n=new de().leftCell({name:"Rachunek podstawowy",value:i.primaryAccountNumber},qt),e.push(n)}static prepareVatAccountsDetails(i,e){let n=this.getEndDate(i.endDate),r;r=new de().leftCell({name:"IBAN",value:i.accountNumber},qt).rightCell({name:"Waluta",value:i.currency}),e.push(r),r=new de().leftCell({name:"Data zako\u0144czenia",value:n}),e.push(r),r=new de().leftCell({name:"W\u0142a\u015Bciciel rachunku",value:i.owner}),e.push(r),r=new de().leftCell({name:"Adres w\u0142a\u015Bciciela",value:i.ownerAddress}),e.push(r),r=new de().leftCell({name:"Oprocentowanie",value:i.loanRate},Kt),e.push(r),r=new de().leftCell({name:"Rachunek podstawowy",value:i.primaryAccountNumber},qt),e.push(r),n.length>1&&(r=new de,r.leftCell({name:"Numer umowy",value:i.contractNumber}),e.push(r)),r=new de().leftCell({name:"Saldo",value:i.currentBalance},Kt),e.push(r),n.length>1&&i.amountAfterDeadline>0&&(r=new de().leftCell({name:"W tym po terminie",value:i.amountAfterDeadline},Kt),e.push(r)),n.length>1&&(r=new de,i.amountAfterDeadline<=0&&r.leftCell({name:"Nadp\u0142ata/niewykorzystany limit",value:i.balanceOverpayment},Kt),r.rightCell({name:"W dniu",value:i.openingDate},un,[je]),e.push(r)),r=new de().leftCell({name:"Ostatnia sp\u0142ata",value:i.lastAmount},Kt),n.length>1&&r.rightCell({name:"Odsetki po terminie",value:i.amountAfterDeadline},Kt),e.push(r)}static prepareCardDetails(i){let e=[],n;return n=new de().leftCell({name:"Nazwa produktu",value:i?.productName}),e.push(n),n=new de().leftCell({name:"Nazwa na karcie",value:i.cardName}),e.push(n),e}static prepareLocksDetails(i,e){return[new de().leftCell({name:"Suma blokad",value:i},Kt,[e])]}static prepareDeposits(i,e){let n=[];return i.depositType||n.push(new de().leftCell({name:"Data utworzenia",value:e?.createdAt},un,[hs]).rightCell({name:"Utworzono przez",value:e?.createdBy})),!i.depositType&&i.type!==xn.LOKATA_ZERWANIE&&n.push(new de().leftCell({name:"Data modyfikacji",value:e?.modifiedAt},un,[hs]).rightCell({name:"Zmodyfikowany przez",value:e?.modifiedBy})),!i.depositType&&i.type===xn.LOKATA_MODYFIKACJA&&(n.push(new de().leftCell({name:"Operacje na \u015Brodkach",value:e?.paymentType},Fh)),n.push(new de().leftCell({name:"Rachunek obci\u0105\u017Cany",value:e?.targetAccount},qt))),i.depositType&&(n.push(new de().leftCell({name:"Data rozpocz\u0119cia",value:i.creationDate},un,[je]).rightCell({name:"Data zako\u0144czenia",value:i.endDate},un,[je])),n.push(new de().leftCell({name:"Oprocentowanie",value:i.interestRate},Kt))),i.type!==xn.LOKATA_ZERWANIE&&n.push(new de().leftCell({name:"Automatyczne odnawianie",value:i.automaticRenewal},gm).rightCell({name:"Kapitalizacja odsetek",value:i.capitalizationOfInterest},gm)),n}static prepareTransferDetails(i,e,n){let r=[],o;return o=new de().leftCell({name:"Rachunek \u017Ar\xF3d\u0142owy",value:i.sourceAccount},qt,[V1]),r.push(o),o=new de().leftCell({name:"Rachunek beneficjenta",value:i.targetAccount},qt,[V1]),r.push(o),e&&i?.dispositions&&(o=new de().leftCell({name:"Data wykonania",value:i?.dateOfExecution},un,[je]),r.push(o)),o=new de().leftCell({name:"Utworzony przez",value:e?.createdBy}),r.push(o),o=new de().leftCell({name:"Zmodyfikowany przez",value:e?.modifiedBy}),r.push(o),o=new de().leftCell({name:"Data modyfikacji",value:e?.modifiedAt},un,[hs]),r.push(o),vl.isVirtualDisposition(i)&&(o=new de().leftCell({name:"Tre\u015B\u0107",value:i?.title}),r.push(o)),r.push(this.getWhiteListState(i)),t.addEditableInfo(n,i,r),r}static prepareStandingOrderDetails(i){let e=[],n;if(n=new de().leftCell({name:"Utworzony przez ",value:i?.createdBy}).rightCell({name:"Data utworzenia ",value:i?.createdAt},un,[hs]),e.push(n),n=new de().leftCell({name:"Zmodyfikowany przez ",value:i?.modifiedBy}).rightCell({name:"Data modyfikacji ",value:i?.modifiedAt},un,[hs]),e.push(n),n=new de().leftCell({name:"Data rozpocz\u0119cia ",value:i?.startDate},un,[je]).rightCell({name:"Data zako\u0144czenia ",value:i?.endDate},un,[je]),e.push(n),i._tableChild){let{dispositions:r,interval:o,intervalUnit:a,cycleValue:s,
7999cycleKind:d}=i;n=new de().leftCell({name:"Wykonuj co ",value:r===void 0?`${o} ${a}`:`${s} ${d}`},jR),e.push(n)}return i?.isActive&&i?.dispositions&&(n=new de().leftCell({name:"Data nast\u0119pnego wykonania ",value:i?.executionDate},un,[je]),e.push(n)),n=new de().leftCell({name:"Tre\u015B\u0107 ",value:i.title}),e.push(n),e}static prepareBundleSignDetails(i,e){let n=[],r;r=new de().leftCell({name:"Rachunek \u017Ar\xF3d\u0142owy",value:e},qt),vl.isBundle(i)&&r.rightCell({name:"Data wykonania",value:i.dateOfExecution},un,[je]),n.push(r),r=new de().leftCell({name:"Utworzony przez",value:i.createdBy}).rightCell({name:"Data utworzenia",value:i.createdAt},un,[hs]),n.push(r),r=new de().leftCell({name:"Zmodyfikowany przez",value:i.modifiedBy}).rightCell({name:"Data modyfikacji",value:i.modifiedAt},un,[hs]),n.push(r);let o=vl.isBundle(i)?i.dispositions[0].title:i?.title;return r=new de().leftCell({name:"Tre\u015B\u0107",value:o}),n.push(r),n.push(this.getWhiteListState(i)),n}static prepareBundleSummary(i,e){let n=[];return n.push(new de().leftCell({name:"Liczba zaznaczonych pozycji",value:e}).rightCell({name:"",value:""}
7999)),i.forEach(r=>{n.push(new de().leftCell({name:"Kwota",value:r.amount}).rightCell({name:"Waluta",value:r.currency}))}),n}static prepareContractorDetails(i){let e=[];this.prepareCommonContractorDetails(i,e);let n;return n=new de().leftCell({name:"NIP ",value:i.nip}),e.push(n),n=new de().leftCell({name:"Pesel ",value:i.pesel}),e.push(n),n=new de().leftCell({name:"Regon ",value:i.regon}),e.push(n),n=new de().leftCell({name:"Tytu\u0142 ",value:i.title}),e.push(n),i.onlyForLoggedUser?(n=new de().leftCell({name:"Uwaga ",value:"Wybrany kontrahent jest dost\u0119pny tylko dla tego loginu!"}),e.push(n)):(n=new de().leftCell({name:"Uwaga ",value:"Wybrany kontrahent jest dost\u0119pny dla wszystkich login\xF3w tego klienta (firmy)!"}),e.push(n)),e}static prepareContractorDetailsForDialog(i){let e=[];return this.prepareCommonContractorDetails(i,e),e}static prepareBankStatementsSimplifiedDetails(i){let e=[],n;return n=new de().leftCell({name:"Saldo otwarcia ",value:i.openingBalance},Kt,["PLN"]),e.push(n),n=new de().leftCell({name:"Saldo zamkni\u0119cia ",value:i.closingBalance},Kt,["PLN"]),e.push(n),e}static prepareBankStatementsDetails(i){let e=[],n;return n=new de().leftCell({name:"Data operacji",value:i.operationDate},un,[je]),e.push(n),n=new de().leftCell({name:"Data ksi\u0119gowania",value:i.accountingDate},un,[je]),e.push(n),n=new de().leftCell({name:"Typ operacji",value:i.transferType}),e.push(n),n=new de().leftCell({name:"Nr referencyjny",value:i.refNumber}),e.push(n),n=new de().leftCell({name:"Kwota operacji",value:this.getFormattedAmount(i),class:this.getAmountClass(i.side)}),e.push(n),n=new de().leftCell({name:"Saldo po operacji",value:i.saldo},Kt,["PLN"]),e.push(n),n=new de().leftCell({name:"Rachunek nadawcy",value:[i.sourceAccount,i.sourceBankAddress1,i.sourceBankAddress2,i.sourceBankAddress3]},qt),e.push(n),n=new de().leftCell({name:"Nazwa nadawcy",value:`${i.sourceName1} ${i.sourceName2} ${i.sourceAddress1} ${i.sourceAddress2}`}),e.push(n),n=new de().leftCell({name:"Rachunek odbiorcy",value:[i.targetIban,i.targetBankAddress1,i.targetBankAddress2,i.targetBankAddress3]},qt),e.push(n),n=new de().leftCell({name:"Nazwa odbiorcy",value:`${i.targetName1} ${i.targetName2} ${i.targetAddress1} ${i.targetAddress2}`}),e.push(n),n=new de().leftCell({name:"Tytu\u0142",value:i.title}),e.push(n),n=new de().leftCell({name:"Dodatkowa tre\u015B\u0107",value:i.additionalDescription}),e.push(n),e}static prepareCommonContractorDetails(i,e){let n;n=new de().leftCell({name:"Skr\xF3t nazwy ",value:i.shortName}),e.push(n),n=new de().leftCell({name:"Nazwa ",value:i.name1}),e.push(n),n=new de().leftCell({name:"BIC ",value:i.bic}),e.push(n),n=new de().leftCell({name:"Bank ",value:i.bank1}),e.push(n),n=new de().leftCell({name:"Rachunek ",value:i.targetAccount},qt),e.push(n)}static getFormattedAmount(i){return new Kt().transform(i.amount,"PLN")}static getAmountClass(i){return i===la[la.DEBIT]?"amount-debit":""}static getEndDate(i){return wn.isDate(i)?wn.formatDateNoError(i):""}static getWhiteListState(i){let e=vl.isVirtualBundle(i)?i?.dispositions[0].whiteListVerificationState:i?.whiteListVerificationState;return new de().leftCell({name:"Status weryfikacji VAT",value:e},UR)}static addEditableInfo(i,e,n){let a;i?e.virtual?a=e.salary?"Nie":"Tak":e.dispositions?a="Tak":a=e.salary?"Nie":"Tak":a="Nie";let s=new de().leftCell({name:"Mo\u017Cliwa edycja",value:a});n.push(s)}};var lde=["uploaderCSV"],cde=["uploaderXML"],dde=["filterExpansionPanel"],ude="mat-dialog-container, .mat-mdc-dialog-container",zR=(()=>{class t{constructor(e,n,r,o,a,s,d){this.contractorService=e,this.userFacadeService=n,this.formBuilder=r,this.notificationService=o,this.storage=a,this.dialog=s,this.spinnerService=d,this.isSaveBtnDisabled=!0,this.areDetailsVisible=!1,this.ContractorTypeEnum=ct,this.isEditButtonDisabled=!0,this.isDeleteButtonDisabled=!0,this.isCreateTransferButtonDisabled=!0,this.isCreateButtonDisabled=!1,this.isAssignGroupButtonDisabled=!0,this.selection=new mr(!0,[]),this.pageSize=100,this.contractorTypeNameMap=FE,this.ButtonLabels=tt,this.ButtonThemeType=VR,this.allContractorsCount=0,this.title="Wybierz kontrahenta",this.filterHeader="Filtry",this.detailsHeader="Szczeg\xF3\u0142y",this.dialogTitle=K_.ACCEPT_CONTRACTOR_DELETE_TITLE,this.dialogMessage=K_.ACCEPT_CONTRACTOR_DELETE_MESSAGE,this.destroy$=new O,this.hostElement=m(Q),this.shortNameFC=new z,this.name1FC=new z,this.groupFC=new z,this.accountFC=new z,this.contractorSearchFG=this.formBuilder.group({shortNameFC:this.shortNameFC,name1FC:this.name1FC,groupFC:this.groupFC,accountFC:this.accountFC}),this.hasEditContractorPermission=this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT]),this.hasDomesticTransferPermission=this.userFacadeService.hasAuthorities([Ut.FUNC_TRANSFER_EDIT]),this.hasForeignTransferPermission=this.userFacadeService.hasAuthorities([Ut.FUNC_TRANSFER_FOREIGN_EDIT]),this.hasPermissionToViewTransfer=this.userFacadeService.hasAuthorities([Ut.FUNC_TRANSFER_VIEW]),this.details=new fm,this.detailsForDialog=new fm,this.matSortDirection="asc",this.matSortActive="shortName",this.dataSource=new Ma([]),this.displayedColumns=["shortName","name1","targetAccount","type","group"],Promise.all([this.storage.getItem(bR),this.storage.getItem(vR)]).then(([p,f])=>{p&&f&&(this.matSortActive=p,this.matSortDirection=f)})}ngOnInit(){this.updateDetails(),this.initFilterAndData()}ngAfterViewInit(){this.bindSort(),this.refreshData().subscribe(),this.onPaginatorChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}selectAllShortcutHandler(e){if(!this.isSelectAllShortcut(e)||!this.canSelectAll(e.target))return;e.preventDefault();let n=this.getRenderedRows();n.length!==0&&(this.selection.select(...n),this.selectionAnchor=n[0],this.refreshActionButtons(),this.updateDetails())}afterImportRefreshTable(e){e&&this.refreshData().subscribe()}rowClickHandler(e,n){n?.shiftKey&&this.selectionAnchor?this.selectRange(this.selectionAnchor,e):n?.ctrlKey||n?.metaKey?(this.selection.toggle(e),this.selectionAnchor=this.selection.isSelected(e)?e:void 0):this.selectSingle(e),this.refreshActionButtons(),this.updateDetails()}openDialog(e,n){let r=new Jt;r.panelClass=li.MEDIUM,r.data={dialogVariant:Mi.getContractorType(n||this.selection.selected[0].type),isEdit:e},e&&(r.data.details=this.selection.selected);let o=r.data.dialogVariant===ct.FOREIGN_TRANSFER?jE:PE;this.dialog.open(o,r).afterClosed().pipe(ae(a=>a===!0),W(()=>this.refreshData())).subscribe()}resetValues(){this.shortNameFC.setValue(null),this.name1FC.setValue(null),this.groupFC.setValue(null),this.accountFC.setValue(null),this.search()}showSortChange(e){this.matSortDirection=e.direction,this.matSortActive=e.active,this.selectionAnchor=void 0}search(){this.storage.setItem(_R,this.contractorSearchFG.value),this.contractorsParameters=this.getContractorsSearchParams(this.contractorsParameters.type),this.refreshData().subscribe(),this.filterExpansionPanel.close()}formatAccount(){let e=vi.ibanFormat(this.accountFC.value);this.accountFC.setValue(e)}openConfirmationDialog(){let e=new Jt;e.panelClass=li.MEDIUM,e.data={title:this.dialogTitle,message:this.dialogMessage,details:this.selection.selected},this.dialog.open(Sd,e).afterClosed().pipe(ae(n=>n.state),W(()=>this.getRemoveContractors()),W(()=>this.refreshData()),Ge(n=>gn(n))).subscribe()}openCreationTransferDialog(){let e=this.selection.selected[0];this.contractorService.openTransferDialog(e)}openAssignGroupDialog(){let e=new Jt;e.data={details:this.selection.selected},this.dialog.open(xE,e).afterClosed().pipe(W(()=>this.refreshData())).subscribe()}saveCSV(){this.contractorService.saveCSVFile()}saveXML(){this.contractorService.saveXMLFile()}getContractorsSearchParams(e=""){return{iban:this.replaceEmptySpace(),group:this.groupFC.value,
7999name:this.name1FC.value,shortName:this.shortNameFC.value,type:e}}updateDetails(){let e=this.selection.selected.length===1?this.selection.selected[0]:void 0;this.areDetailsVisible=!!e,this.isSaveBtnDisabled=!e,e&&(this.details.rows=ob.prepareContractorDetails(e),this.detailsForDialog.rows=ob.prepareContractorDetailsForDialog(e))}initFilterAndData(){ut(Il(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(bR,this.matSortActive),this.storage.setItem(vR,this.matSortDirection)}),fn(this.storage.getItem(_R).then(e=>{e&&this.contractorSearchFG.patchValue(e)})).pipe(W(()=>this.refreshData()))}refreshData(){return this.contractorsParameters=this.contractorsParameters?this.contractorsParameters:this.getContractorsSearchParams(),this.paginator.pageIndex=0,this.spinnerService.showSpinner(),this.getContractors(this.contractorsParameters).pipe(Ge(()=>(this.spinnerService.hideSpinner(),B([]))),L(e=>{this.spinnerService.hideSpinner(),this.dataSource.data=e}),W(()=>this.contractorService.getContractorsNumber(this.contractorsParameters).pipe(L(e=>this.allContractorsCount=e),Ge(()=>B(0)))))}getContractors(e,n=0){return this.contractorService.getContractors(e,n).pipe(L(()=>{this.selection.clear(),this.selectionAnchor=void 0,this.setDisablanceOfAllActionButtonsTo(!0)}),Ge(()=>B([])))}setDisablanceOfAllActionButtonsTo(e){this.isEditButtonDisabled=!this.hasEditContractorPermission||e,this.isDeleteButtonDisabled=!this.hasEditContractorPermission||e,this.isCreateTransferButtonDisabled=!this.hasPermissionToViewTransfer||e,this.isAssignGroupButtonDisabled=e,this.isCreateButtonDisabled=!this.hasEditContractorPermission}replaceEmptySpace(){return this.accountFC.value?this.accountFC.value.toString().replace(/ /g,""):this.accountFC.value}setDisablanceOfCertainActionButtonsTo(e){this.isEditButtonDisabled=e.isEditButtonDisabled??this.isEditButtonDisabled,this.isDeleteButtonDisabled=e.isDeleteButtonDisabled??this.isDeleteButtonDisabled,this.isCreateTransferButtonDisabled=e.isCreateTransferButtonDisabled??this.isCreateTransferButtonDisabled,this.isAssignGroupButtonDisabled=e.isAssignGroupButtonDisabled??this.isAssignGroupButtonDisabled,this.isCreateButtonDisabled=e.isCreateButtonDisabled??this.isCreateButtonDisabled}onPaginatorChange(){this.paginator.page.pipe(W(()=>this.getContractors(this.contractorsParameters,this.paginator.pageIndex))).subscribe(e=>this.dataSource.data=e)}selectSingle(e){this.selection.clear(),this.selection.select(e),this.selectionAnchor=e}selectRange(e,n){let r=this.getRenderedRows(),o=r.indexOf(e),a=r.indexOf(n);if(o<0||a<0){this.selectSingle(n);return}this.selection.clear(),this.selection.select(...r.slice(Math.min(o,a),Math.max(o,a)+1))}getRenderedRows(){let e=this.dataSource.filteredData;return this.sort?this.dataSource.sortData(e.slice(),this.sort):e}refreshActionButtons(){let e=this.selection.selected;if(e.length===0){this.setDisablanceOfAllActionButtonsTo(!0);return}let n=e.length===1;this.setDisablanceOfCertainActionButtonsTo({isEditButtonDisabled:!n||!this.hasEditContractorPermission,isDeleteButtonDisabled:!this.hasEditContractorPermission,isCreateTransferButtonDisabled:!n||!this.hasTransferPermissions(e[0].type),isAssignGroupButtonDisabled:!1,isCreateButtonDisabled:!this.hasEditContractorPermission})}isSelectAllShortcut(e){return(e.ctrlKey||e.metaKey)&&!e.altKey&&e.key?.toLowerCase()==="a"}canSelectAll(e){let n=e instanceof HTMLElement?e:null;if(n?.isContentEditable||["INPUT","TEXTAREA","SELECT"].includes(n?.tagName??""))return!1;let r=document.querySelectorAll(ude),o=r.item(r.length-1);return!o||o.contains(this.hostElement.nativeElement)}getRemoveContractors(){return this.contractorService.removeContractors(this.selection.selected)}bindSort(){this.dataSource.sort=this.sort}isForeign(e){return e===ct.FOREIGN_TRANSFER}hasTransferPermissions(e){return this.hasPermissionToViewTransfer&&(this.isForeign(e)?this.hasForeignTransferPermission:this.hasDomesticTransferPermission)}static{this.\u0275fac=function(n){return new(n||t)(E(br),E(wi),E(Vi),E(Le),E(Na),E(mt),E($r))}}static{this.\u0275cmp=k({type:t,selectors:[["app-contractor-core"]],viewQuery:function(n,r){if(n&1&&ve(lde,5)(cde,5)(dde,5)(bo,5)(Ir,5),n&2){let o;H(o=U())&&(r.uploaderCSV=o.first),H(o=U())&&(r.uploaderXML=o.first),H(o=U())&&(r.filterExpansionPanel=o.first),H(o=U())&&(r.paginator=o.first),H(o=U())&&(r.sort=o.first)}},hostBindings:function(n,r){n&1&&T("keydown",function(a){return r.selectAllShortcutHandler(a)},qo)},standalone:!1,decls:0,vars:0,template:function(n,r){},encapsulation:2})}}return t})();function mde(t,i){if(t&1&&(u(0,"div",1),x(1,"div",2),c()),t&2){let e=_();l(),g("innerHTML",e.body,Du)}}var pde=(()=>{class t{constructor(e){this.dialogRef=e,this.body=""}static{this.\u0275fac=function(n){return new(n||t)(E(Ze))}}static{this.\u0275cmp=k({type:t,selectors:[["app-default-dialog"]],standalone:!1,decls:2,vars:1,consts:[[1,"default-dialog"],[1,"dialog-content"],[3,"innerHTML"]],template:function(n,r){n&1&&(u(0,"div",0),v(1,mde,2,1,"div",1),c()),n&2&&(l(),y(r.body?1:-1))},encapsulation:2})}}return t})();var hde=(()=>{class t{constructor(e,n){this.sanitizer=e,this.data=n,this.ButtonLabels=tt;let r=n.message.replaceAll(` 8000`,"<br>");this.message=this.sanitizer.bypassSecurityTrustHtml(r)}static{this.\u0275fac=function(n){return new(n||t)(E(Au),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-message-dialog"]],standalone:!1,decls:8,vars:3,consts:[["mat-dialog-content","",1,"message-box",3,"innerHTML"],[1,"justify-center","items-center"],["mat-raised-button","","mat-dialog-close",""]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content"),x(4,"div",0),c(),u(5,"app-dialog-btn-panel",1)(6,"button",2),h(7),c()()()),n&2&&(l(2),S(r.data.title),l(2),g("innerHTML",r.message,Du),l(3),S(r.ButtonLabels.OK))},dependencies:[Yn,qC,Jp,Mt,Nt,Ot,pR],styles:[".message-box[_ngcontent-%COMP%]{min-height:1rem;margin-bottom:1rem}.justify-center[_ngcontent-%COMP%]{justify-content:center}.items-center[_ngcontent-%COMP%]{align-items:center}"]})}}return t})();var fde="Niepoprawny format numeru telefonu",gde="Wprowadzony numer telefonu jest za d\u0142ugi",_de="Wprowadzony numer telefonu jest za kr\xF3tki",HE=class t{static isPhoneValid(i){let e=i.value,
8000n=!1,r={phoneFormat:{message:fde}};return e&&t.phonePatternValid(e)&&(n=t.isCorrectLength(e),r=n?null:t.prepareErrorMessage(e)),r}static phonePatternValid(i){return new RegExp(/^[0-9]*$/).test(i)}static isCorrectLength(i){return i.length===9}static prepareErrorMessage(i){if(i.length<9)return{phoneFormat:{message:_de}};if(i.length>=9)return{phoneFormat:{message:gde}};throw new im("phone",i)}};var bde="Nieprawid\u0142owy NIP lub PESEL",UE="Pole ma z\u0142\u0105 warto\u015B\u0107",vde="Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza",_G="Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w: ",yde="Pole zawiera niedozwolone znaki: ",xi=(()=>{class t{static isBeforeToday(e){return!e||!e.value||wn.isSameOrAfter(e.value,$t(new Date,je))?null:{isBeforeToday:{message:vde}}}static phoneValidator(e){return HE.isPhoneValid(e)}static nipPeselValidator(e){return!e||!e.value||Oa.check(e)&&Lo.check(e)?{nipAndPeselFormat:{message:bde}}:null}static controlsMaxValidator(e,n){let r=Number(e.value.replace(" ","").trim()),o=Number(n.value.replace(" ","").trim());return r>o?{maxAmount:{message:""}}:null}
8000static basicMaxValidator(e,n){return bt.getTrimmedValue(e.value)>n?{basicMax:{message:""}}:null}static{this.notBigger=(e,n)=>()=>{let r=bt.getTrimmedValue(e.value),o=bt.getTrimmedValue(n.value);return r>o?(e.setErrors({notBiggerThan:{message:UE}}),{notBiggerThan:{message:UE}}):(e.setErrors(G.required(e)),null)}}static{this.vatAmount=(e,n)=>()=>{let r=bt.getTrimmedValue(e.value),o=bt.getTrimmedValue(n.value);return r>o?(e.setErrors({notBiggerThan:{message:UE}}),{notBiggerThan:{message:UE}}):e.value!==""&&r<=0?(e.setErrors({"kwotaVat.greaterThan0":!0}),{"kwotaVat.greaterThan0":!0}):(e.setErrors(G.required(e)),null)}}static{this.isSameOrAfter=(e,n)=>()=>!e?.value||!e?.value||wn.isSameOrAfter(e.value,n.value)?null:{isSameOrAfter:!0}}static{this.min=(e,n)=>()=>{let r=bt.getTrimmedValue(e.value);return bt.getTrimmedValue(n)>r?{min:{message:""}}:null}}static{this.max=(e,n)=>()=>{let r=bt.getTrimmedValue(e.value);return bt.getTrimmedValue(n)<r?{max:{message:""}}:null}}static invoiceNumber(e){let n=/(\/TXT|\/INV|\/IDC|TXT\/|INV\/|IDC\/)/gi,r=e.value;if(r&&n.test(r)){let o=t.getForbiddenWords(n,r);return{pattern:{message:_G+o}}}else return null}static invoiceAdditionalInfo(e){let n=/(\/TXT|\/INV|\/IDC|TXT\/|INV\/|IDC\/)/gi,r=e.value;if(r&&n.test(r)){let o=t.getForbiddenWords(n,r);return{pattern:{message:_G+o}}}else return null}static vatTitleChars(e){let n=e.value;if(!n||ue.vatTitleAcceptableCharsPattern.test(n))return null;let r=t.getDisallowedChars(n);return{pattern:{message:yde+r}}}static getForbiddenWords(e,n){return n.match(e)?.join(", ")}static getDisallowedChars(e){let n=new RegExp(ue.vatTitleAllowedChar.source,"g"),r=new Set(e.replace(n,"").split(""));return Array.from(r).join(" ")}}return t})();var GR=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.ButtonLabels=tt}chooseOption(e){this.dialogRef.close(e)}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-basic-confirm-dialog"]],standalone:!1,decls:7,vars:6,consts:[[3,"cancelAction","confirmAction","withResetButton","focusConfirmInitially","buttonLabelConfirm","buttonLabelCancel"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"p"),h(5),c()(),u(6,"app-action-buttons-panel",0),T("cancelAction",function(){return r.chooseOption(!1)})("confirmAction",function(){return r.chooseOption(!0)}),c()()),n&2&&(l(2),S(r.data.title),l(3),S(r.data.message),l(),g("withResetButton",!1)("focusConfirmInitially",r.data.focusConfirmInitially??!0)("buttonLabelConfirm",r.data.actionButtons.confirm||r.ButtonLabels.YES)("buttonLabelCancel",r.data.actionButtons.cancel||r.ButtonLabels.NO))},dependencies:[Mt,Nt,Ot,Tt],encapsulation:2})}}return t})();var yl=class{static parse(i){switch(i){case"PRZELEW_VAT":case"53":return pn.VAT_INVOICE;case"PRZELEW_US":case"71":case"74":return pn.US_CLO;case"PRZELEW_ZAGRANICZNY":case"P0":case"P1":case"CS":case"ES":case"HS":return pn.INTERNATIONAL;case"PRZELEW_VAT_ZASILENIE":return pn.VAT_TRANSFERENCE;default:return pn.COMMON}}static mapCurrency(i){return i.amount=bt.formatAmount(i.amount.toString()),i.vatAmount=bt.formatAmount(i.vatAmount.toString()),i.netAmount=bt.formatAmount(i.netAmount.toString()),i}};var Bo=(()=>{class t{constructor(e,n,r,o,a){this.http=e,this.notificationService=n,this.fileService=r,this.dialog=o,this.userFacadeService=a,this.refreshEvent=new O,this.refreshEventObservable=this.refreshEvent.asObservable()}getTransfers(e){return this.http.post(ei+"/filters",e)}getDispositionForBundle(e){return this.http.get(`${ei}/${e}/dispositions`)}getChargeableAccounts(){return this.http.get(U_)}getClientInfo(){return this.userFacadeService.getClientInfo()}pasteTransferToBundle(e){return this.http.post(ei,e)}refreshTable(){this.refreshEvent.next()}toSign(e){return this.http.post(Uz,e)}save(e,n){return this.saveRequest(e,n).pipe($(r=>(this.notificationService.success("Zapisano"),{message:"ok",successful:!0,savedTransferId:r})))}saveList(e){return this.http.put(w3,e)}getTransferData(e){let n=new it().set("id",e);return this.http.get(l3,{params:n}).pipe($(r=>yl.mapCurrency(r)))}getTransfersData(e){return this.http.post(c3,e)}printAction(e){let n=e.virtual?eR:J1,r=e.virtual?e.dispositions[0].id:e.id;this.http.get(n+`/${r}/file`,{responseType:vo}).pipe(this.fileService.open(Ra.PDF)).subscribe()}savePdfAction(e){let n=e.virtual?eR:J1,r=e.virtual?e.dispositions[0].id:e.id,o=`${r}.pdf`;this.http.get(n+`/${r}/file`,{responseType:vo}).pipe(this.fileService.save(o,Ra.PDF)).subscribe()}
8000getBundleDetails(e){return this.http.get(jz+"/"+e)}getDispositionDetails(e){return this.http.get(Hz+"/"+e)}openDialogPromptAboutAddingNewContractor(){let e={data:{title:ze.NO_SUCH_CONTRACTOR_TITLE,message:ze.NO_SUCH_CONTRACTOR_MESSAGE,actionButtons:{confirm:tt.YES,cancel:tt.NO}},panelClass:"background-question-mark",disableClose:!0};return this.dialog.open(GR,e).afterClosed()}checkVatPermission(){return this.http.get(o3)}checkVatTransmissionPermission(){return this.http.get(a3)}saveRequest(e,n){return this.http.post(n,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Le),F(wd),F(mt),F(wi))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Vo=(()=>{class t{constructor(e){this.http=e}getAccounts(){return this.http.get(Oo)}getChargeableAccounts(){return this.http.get(U_)}getOwnAccount(){return this.http.get(Z1)}getOwnVatAccount(){return this.http.get(xz)}getChargeableVatAccounts(){return this.http.get(Sz)}changeSimpleName(e,n,r){return this.http.post(Dz,{accountId:e,friendlyName1:n,friendlyName2:r})}getTurnoverAccount(){return this.http.get(Ez)}getLoanSchedule(e){let n=new it().set("accountId",e.toString());return this.http.get(K1,{params:n})}getExistingBundles(){return this.http.get(s3)}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Vd=(()=>{class t{constructor(e){this.http=e}getVatFromSelectedAccount(e){if(!e)return B({});let n=new it().set("sourceId",e.toString());return this.http.get(wz,{params:n})}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _m=(()=>{class t{constructor(e,n,r){this.viewContainer=e,this.templateRef=n,this.userFacadeService=r,this.isHidden=!0}set appShowIfHasAuthority(e){this.authority=e,this.updateView(e)}ngOnInit(){this.authority&&this.updateView(this.authority)}updateView(e){this.checkPermission([e])?this.isHidden&&(this.viewContainer.createEmbeddedView(this.templateRef),this.isHidden=!1):(this.isHidden=!0,this.viewContainer.clear())}checkPermission(e){return this.userFacadeService.hasAuthorities(e)}static{this.\u0275fac=function(n){return new(n||t)(E(Pt),E(Zt),E(wi))}}static{this.\u0275dir=N({type:t,selectors:[["","appShowIfHasAuthority",""]],inputs:{appShowIfHasAuthority:"appShowIfHasAuthority"},standalone:!1})}}return t})();var WR=(()=>{class t{constructor(){this.ibanFormatPipe=new qt,this.currencyFormatPipe=new Kt,this.friendlyNamePipe=new Ld}transform(e){return this.getParts(e).join(", ")}transformNoSpaces(e){return this.getParts(e).join("").replace(/\s/g,"")}getParts(e){return e?[this.ibanFormatPipe.transform(e.accountNumber),e.ownerShortName,e.accountShortName,this.friendlyNamePipe.transform(e.friendlyName1,e.friendlyName2),e.availableFunds!==null&&e.availableFunds!==void 0&&e.availableFunds>=0?this.currencyFormatPipe.transform(e.availableFunds)+" "+e.currency:e.currency].filter(Boolean):[]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"accountItemPipe",type:t,pure:!0,standalone:!1})}}return t})();function Cde(t,i){t&1&&(u(0,"mat-option"),h(1,"--"),c())}function Dde(t,i){if(t&1&&(u(0,"mat-option",6),x(1,"app-source-account-option-item",7),c()),t&2){let e=i.$implicit;g("value",e.accountId),l(),g("account",e)}}function Ede(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.DEFAULT_IS_REQUIRED_TEXT)}}function wde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunek.notObciazalny"])}}function xde(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"ibanFormatPipe"),be(3,"currencyFormatPipe"),c()),t&2){let e=_(3);l(),wo("Rachunek VAT : ",Fe(2,3,e.vatAccountInfo.accountNumber),", ",Fe(3,5,e.vatAccountInfo.availableFunds)," ",e.vatAccountInfo.currency," ")}}function Sde(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"ibanFormatPipe"),c()),t&2){let e=_(3);l(),se("Rachunek VAT : ",Fe(2,1,e.vatAccountInfo.accountNumber)," ")}}function Tde(t,i){if(t&1&&v(0,xde,4,7,"span")(1,Sde,3,3,"span"),t&2){let e=_(2);y(e.hasVatBalance(e.vatAccountInfo)?0:1)}}function Ide(t,i){if(t&1&&(u(0,"mat-hint"),v(1,Tde,2,1),c()),t&2){let e=_();l(),y(e.shouldDisplayVatAccount(e.vatAccountInfo)?1:-1)}}var Fa=(()=>{class t{constructor(){this.vatAccountInfo=null,this.fieldLabel="Rachunek obci\u0105\u017Cany",this.hasNullOption=!0,this.shouldShowVatAccount=!1,this.searchFC=new uo(""),this.DEFAULT_IS_REQUIRED_TEXT=Po,this.ERRORS=ln,this.filteredAccounts=B([]),this.accountsAsSearchString=[],this.chargeableAccounts=[],this.accountItemPipe=new WR}set disabledInput(e){e?this.sourceAccountFC.disable():this.sourceAccountFC.enable()}set accountList(e){this.chargeableAccounts=e||[],this.trySetDefaultAccount(),this.accountsAsSearchString=this.chargeableAccounts.map(n=>this.accountItemPipe.transformNoSpaces(n).toLowerCase()),this.filteredAccounts=this.searchFC.valueChanges.pipe($(n=>this._filter(n)),Re(this.chargeableAccounts),It())}shouldDisplayVatAccount(e){return e.type===mc.VAT&&this.shouldShowVatAccount}hasVatBalance(e){return e.availableFunds!==null&&e.availableFunds!==void 0}preventUnwantedSelectActions(e){e.code==="Space"&&e.stopPropagation()}_filter(e){if(!e)return this.chargeableAccounts;let n=e.replace(/\s/g,"").toLowerCase();return this.accountsAsSearchString.reduce((r,o,a)=>(o.includes(n)&&r.push(this.chargeableAccounts[a]),r),[])}trySetDefaultAccount(){this.chargeableAccounts?.length===1&&this.chargeableAccounts[0].accountId&&this.sourceAccountFC.setValue(this.chargeableAccounts[0].accountId)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-source-account-input"]],inputs:{vatAccountInfo:"vatAccountInfo",fieldLabel:"fieldLabel",hasNullOption:"hasNullOption",shouldShowVatAccount:"shouldShowVatAccount",sourceAccountFC:"sourceAccountFC",disabledInput
8000:"disabledInput",accountList:"accountList"},standalone:!1,decls:16,vars:9,consts:[["appearance","outline"],["for","sourceAccount"],[3,"formControl"],["appearance","outline",1,"search-field"],["autocomplete","off","matInput","","placeholder","Wyszukaj rachunek",3,"keydown","formControl"],["matPrefix",""],[3,"value"],[3,"account"]],template:function(n,r){n&1&&(u(0,"mat-form-field",0)(1,"mat-label",1),h(2),c(),u(3,"mat-select",2)(4,"mat-form-field",3)(5,"input",4),T("keydown",function(a){return r.preventUnwantedSelectActions(a)}),c(),u(6,"mat-icon",5),h(7,"search"),c()(),v(8,Cde,2,0,"mat-option"),He(9,Dde,2,2,"mat-option",6,at),be(11,"async"),c(),u(12,"mat-error"),v(13,Ede,2,1,"span"),v(14,wde,2,1,"span"),c(),v(15,Ide,2,1,"mat-hint"),c()),n&2&&(l(2),S(r.fieldLabel),l(),g("formControl",r.sourceAccountFC),l(2),g("formControl",r.searchFC),l(3),y(r.hasNullOption?8:-1),l(),Ue(Fe(11,7,r.filteredAccounts)),l(4),y(r.sourceAccountFC.hasError("required")?13:-1),l(),y(r.sourceAccountFC.hasError("rachunek.notObciazalny")?14:-1),l(),y(r.vatAccountInfo?15:-1))},dependencies:[Ve,qe,oa,St,Ck,Qt,Gn,et,si,Je,Xe,$e,Bt,BR,Ji,qt,Kt],styles:[`:host{display:block}mat-form-field{width:100%}.mat-mdc-option{min-height:3em;height:auto!important;white-space:normal!important}.mat-mdc-option>span.mdc-list-item__primary-text{width:calc(100% - 36px)}.search-field{width:100%;padding:0 8px}label:not(.mdc-floating-label--float-above)>mat-label[for=sourceAccount]{padding-left:12px}mat-select{padding-left:12px} 8001`],encapsulation:2,changeDetection:0})}}return t})();function Ade(t,i){t&1&&(u(0,"span"),h(1,"Rachunek jest wymagany"),c())}function kde(t,i){t&1&&(u(0,"span"),h(1,"Niepoprawny numer rachunku"),c())}function Rde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekUs.inactive"])}}function Mde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.empty"])}}function Nde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.maxlength"])}}function Ode(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.illegal"])}}function Fde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.us_illegal"])}}function Pde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.zus_old"])}}function Lde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.same_rach"])}}function Bde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.notUznawalny"])}}function Vde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.is_clo_so_use_us"])}}function jde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.is_us_so_use_us"])}}function Hde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.invalid_iban"])}}function Ude(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.invalid_iban2"])}}function zde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.notObciazalny"])}}function Gde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.elixir_expired"])}}function Wde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.noVat"])}}function $de(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.wewnetrzny"])}}function qde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.krajowy"])}}function Yde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.same_vat_rach"])}}function Kde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekOdbiorcy.invalid"])}}function Xde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["przelew.sorbnet.bps"])}}function Zde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["przelew.sorbnet.wlasny"])}}function Qde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sorbnet.dataWykonania.notWorkDay"])}}function Jde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.sorbnetOutsideHoursMessage())}}function eue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sorbnet.dataWykonania.empty"])}}function tue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rachunekProwizji.invalid"])}}function nue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rach.invalid_iban"])}}function iue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rach.invalid_iban2"])}}function rue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["rach.illegal"])}}function oue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["iban.duplicate"])}}var pc=(()=>{class t{constructor(){this.ERRORS=ln,this.sorbnetDeadlineService=m(DE),this.sorbnetOutsideHoursMessage=this.sorbnetDeadlineService.outsideHoursMessage}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-target-account-error"]],inputs:{targetAccount:"targetAccount"},standalone:!1,decls:31,vars:31,template:function(n,r){n&1&&(v(0,Ade,2,0,"span"),v(1,kde,2,0,"span"),v(2,Rde,2,1,"span"),v(3,Mde,2,1,"span"),v(4,Nde,2,1,"span"),v(5,Ode,2,1,"span"),v(6,Fde,2,1,"span"),v(7,Pde,2,1,"span"),v(8,Lde,2,1,"span"),v(9,Bde,2,1,"span"),v(10,V
8001de,2,1,"span"),v(11,jde,2,1,"span"),v(12,Hde,2,1,"span"),v(13,Ude,2,1,"span"),v(14,zde,2,1,"span"),v(15,Gde,2,1,"span"),v(16,Wde,2,1,"span"),v(17,$de,2,1,"span"),v(18,qde,2,1,"span"),v(19,Yde,2,1,"span"),v(20,Kde,2,1,"span"),v(21,Xde,2,1,"span"),v(22,Zde,2,1,"span"),v(23,Qde,2,1,"span"),v(24,Jde,2,1,"span"),v(25,eue,2,1,"span"),v(26,tue,2,1,"span"),v(27,nue,2,1,"span"),v(28,iue,2,1,"span"),v(29,rue,2,1,"span"),v(30,oue,2,1,"span")),n&2&&(y(r.targetAccount.hasError("required")?0:-1),l(),y(r.targetAccount.hasError("incorectIban")?1:-1),l(),y(r.targetAccount.hasError("rachunekUs.inactive")?2:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.empty")?3:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.maxlength")?4:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.illegal")||r.targetAccount.hasError("pattern")?5:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.us_illegal")?6:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.zus_old")?7:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.same_rach")?8:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.notUznawalny")?9:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.is_clo_so_use_us")?10:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.is_us_so_use_us")?11:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.invalid_iban")?12:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.invalid_iban2")?13:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.notObciazalny")?14:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.elixir_expired")?15:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.noVat")?16:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.wewnetrzny")?17:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.krajowy")?18:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.same_vat_rach")?19:-1),l(),y(r.targetAccount.hasError("rachunekOdbiorcy.invalid")?20:-1),l(),y(r.targetAccount.hasError("przelew.sorbnet.bps")?21:-1),l(),y(r.targetAccount.hasError("przelew.sorbnet.wlasny")?22:-1),l(),y(r.targetAccount.hasError("sorbnet.dataWykonania.notWorkDay")?23:-1),l(),y(r.targetAccount.hasError("sorbnet.dataWykonania.afterDeadlineHour")||r.targetAccount.hasError("sorbnet.dataWykonania.beforeOpeningHour")?24:-1),l(),y(r.targetAccount.hasError("sorbnet.dataWykonania.empty")?25:-1),l(),y(r.targetAccount.hasError("rachunekProwizji.invalid")?26:-1),l(),y(r.targetAccount.hasError("rach.invalid_iban")?27:-1),l(),y(r.targetAccount.hasError("rach.invalid_iban2")?28:-1),l(),y(r.targetAccount.hasError("rach.illegal")?29:-1),l(),y(r.targetAccount.hasError("iban.duplicate")?30:-1))},encapsulation:2})}}return t})();function aue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["dataOstatecznejRealizacji.beforeDataWykonania"])}}function sue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["dataOstatecznejRealizacji.maxValue"])}}function lue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["dataOstatecznejRealizacji.ownAccount"])}}function cue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["dataOstatecznejRealizacji.illegal"])}}var bm=(()=>{class t{constructor(){this.ERRORS=ln}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-last-execution-data-error"]],inputs:{lastExecutionDateFC:"lastExecutionDateFC"},standalone:!1,decls:4,vars:4,template:function(n,r){n&1&&(v(0,aue,2,1,"span"),v(1,sue,2,1,"span"),v(2,lue,2,1,"span"),v(3,cue,2,1,"span")),n&2&&(y(r.lastExecutionDateFC.hasError("dataOstatecznejRealizacji.beforeDataWykonania")?0:-1),l(),y(r.lastExecutionDateFC.hasError("dataOstatecznejRealizacji.maxValue")?1:-1),l(),y(r.lastExecutionDateFC.hasError("dataOstatecznejRealizacji.ownAccount")?2:-1),l(),y(r.lastExecutionDateFC.hasError("dataOstatecznejRealizacji.illegal")?3:-1))},encapsulation:2})}}return t})();function due(t,i){if(t&1&&(u(0,"mat-option",4),h(1),be(2,"ibanFormatPipe"),c()),t&2){let e=i.$implicit;g("value",e),l(),S(Fe(2,2,e.accountNumber))}}function uue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.isRequiredErrorText)}}function mue(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function pue(t,i){if(t&1){let e=Se();u(0,"mat-form-field",13)(1,"mat-label"),h(2,"Data ost. realizacji"),c(),u(3,"input",17),T("focusout",function(){te(e);let r=_(2);
8001return ne(r.dateUtils.keepMinDate(r.lastExecutionDateFC,r.minDate))}),c(),x(4,"mat-datepicker-toggle",15)(5,"mat-datepicker",null,1),u(7,"mat-error"),x(8,"app-last-execution-data-error",18),v(9,mue,2,0,"span"),c()()}if(t&2){let e=ye(6),n=_(2);l(3),g("formControl",n.lastExecutionDateFC)("matDatepicker",e)("min",n.minDate),l(),g("for",e),l(4),g("lastExecutionDateFC",n.lastExecutionDateFC),l(),y(n.dateOfExecutionFC.hasError("invalidDate")?9:-1)}}function hue(t,i){if(t&1){let e=Se();u(0,"mat-form-field",13)(1,"mat-label"),h(2,"Data wykonania"),c(),u(3,"input",14),T("focusout",function(){te(e);let r=_();return ne(r.dateUtils.keepMinDate(r.dateOfExecutionFC,r.minDate))}),c(),x(4,"mat-datepicker-toggle",15)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,uue,2,1,"span"),c()(),fe(9,pue,10,6,"mat-form-field",16)}if(t&2){let e=ye(6),n=_();l(3),g("formControl",n.dateOfExecutionFC)("matDatepicker",e)("min",n.minDate),l(),g("for",e),l(4),y(n.validatorUtils.isRequired(n.dateOfExecutionFC)?8:-1),l(),g("appShowIfHasAuthority",n.FunctionalAuthority.FUNC_MLYNEK)}}function fue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function gue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function _ue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.isRequiredErrorText)}}function bue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function vue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.invoiceNumberFC.getRawValue().length,"/",e.INVOICE_NUMBER_MAX_LENGTH)}}function yue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function Cue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["text.invalidSubstrings"])}}function Due(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.additionalMessageFC.getRawValue().length,"/",e.ADDITIONAL_MESSAGE_MAX_LENGTH)}}var qR=(()=>{class t{constructor(e,n,r,o,a,s,d,p){this.formBuilder=e,this.orderDialogRef=n,this.acceptTransferService=r,this.notificationService=o,this.accountService=a,this.vatService=s,this.data=d,this.errorProviderService=p,this.isRequiredErrorText=Po,this.MAX_LENGTH_ERROR_MESSAGE=xh,this.INVOICE_NUMBER_MAX_LENGTH=35,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.ERRORS=ln,this.FunctionalAuthority=Ut,this.minDate=$t(new Date,je),this.personalVatAccounts=[],this.personalVatChargeableAccounts=[],this.validatorUtils=Xt,this.dateUtils=wn,this.ButtonLabels=tt,this.isPacked=!1,this.withConfirmAddNextButton=!0,this.PERSONAL_TRANSFERENCE="Przekazanie w\u0142asne",this.dispositionId="",this.TITLE="Przelew F-ra VAT",this.subscription=new _e,this.hasSavedChanges=!1,this.targetVatAccount="",this.recipientAccountFC=new z("",G.required),this.recipientName1FC=new z({EMPTY_STRING:"",disabled:!0}),this.recipientName2FC=new z({EMPTY_STRING:"",disabled:!0}),this.recipientAddress1FC=new z({EMPTY_STRING:"",disabled:!0}),this.recipientAddress2FC=new z({EMPTY_STRING:"",disabled:!0}),this.amountFC=new z("",[G.required,Xt.currencyValidator]),this.dateOfExecutionFC=new z("",G.required),this.lastExecutionDateFC=new z(""),this.idNipPeselFC=new z("",[G.required,xi.nipPeselValidator]),this.invoiceNumberFC=new z({value:this.PERSONAL_TRANSFERENCE,disabled:!0},[G.required,G.maxLength(this.INVOICE_NUMBER_MAX_LENGTH),xi.vatTitleChars,xi.invoiceNumber]),this.additionalMessageFC=new z("",[G.maxLength(this.ADDITIONAL_MESSAGE_MAX_LENGTH),xi.vatTitleChars,xi.invoiceAdditionalInfo]),this.sourceAccountFC=new z,this.dialogMode=this.data.transferDialogMode,this.withConfirmAddNextButton=this.dialogMode!==Me.EDIT,this.transfer=this.data.transferData,this.isPacked=this.transfer.packaged,this.recipientFG=this.formBuilder.group({recipientAccountFC:this.recipientAccountFC,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC}),this.recipientName1FC.disable(),this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable(),this.contentFG=this.formBuilder.group({amountFC:this.amountFC,executionDateFC:this.dateOfExecutionFC,idNipPeselFC:this.idNipPeselFC,invoiceNumberFC:this.invoiceNumberFC,additionalMe
8001ssageFC:this.additionalMessageFC}),this.chargeFG=this.formBuilder.group({chargedAccountFC:this.sourceAccountFC}),this.transferenceVatFG=this.formBuilder.group({recipientFG:this.recipientFG,contentFG:this.contentFG,chargeFG:this.chargeFG}),this.recipientAccountFC.valueChanges.pipe(L(f=>this.targetVatAccount=this.findVatAccountForAccountId(f?.accountId))).subscribe(),this.vatAccountInfo$=this.sourceAccountFC.valueChanges.pipe(It((f,b)=>f?.accountId!==b?.accountId),W(f=>this.vatService.getVatFromSelectedAccount(f))),this.backdropSubscription=this.orderDialogRef.backdropClick().subscribe(()=>{this.closeDialog()})}onEscapeKey(){this.closeDialog()}ngOnInit(){this.getVatAccounts(),this.getVatChargeableAccounts(),this.checkAndLoadTransfer(),this.getDefaultUserData()}getDefaultUserData(){this.subscription=this.acceptTransferService.getClientInfo().pipe(L(e=>{this.defaultUserData=e,this.setInitialValues()})).subscribe()}closeDialog(){this.orderDialogRef.close(this.hasSavedChanges)}resetData(){this.recipientFG.reset(),this.contentFG.reset(),this.chargeFG.reset(),this.checkAndLoadTransfer(),this.setInitialValues(),this.recipientFG.updateValueAndValidity(),this.contentFG.updateValueAndValidity(),this.chargeFG.updateValueAndValidity()}pressSaveBtn(e){switch(this.dialogMode){case Me.NEW:case Me.REPEAT:this.save(e,fE);break;case Me.EDIT:this.save(e,gE);break;case Me.IMPORT:break}}save(e,n){this.transferenceVatFG.valid?this.acceptTransferService.save(this.getTransferData(),n).pipe(this.errorProviderService.processErrorWithLocalFormError(this),L(()=>{this.hasSavedChanges=!0,e?this.resetData():this.closeDialog()})).subscribe():this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo")}getFormGroup(){return this.transferenceVatFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.recipientAccountFC;case"rachunek":return this.sourceAccountFC;case"dataOstatecznejRealizacji":return this.lastExecutionDateFC;case"kwota":case"kwotaVat":return this.amountFC;default:return null}}findVatAccountForAccountId(e){let n=this.personalVatAccounts.find(r=>r.accountId===e);return n?n.vatAccountNumber:""}ngOnDestroy(){this.backdropSubscription.unsubscribe(),this.subscription.unsubscribe()}setInitialValues(){this.recipientName1FC.setValue(this.defaultUserData?.companyName1),this.recipientName2FC.setValue(this.defaultUserData?.companyName1),this.recipientAddress1FC.setValue(this.defaultUserData?.address1),this.recipientAddress2FC.setValue(this.defaultUserData?.address2),this.dateOfExecutionFC.setValue(this.minDate),this.markAllAsTouched()}getTransferData(){return{message:this.additionalMessageFC.value,address1:this.replaceDisallowedChars(this.recipientAddress1FC.value),address2:this.replaceDisallowedChars(this.recipientAddress2FC.value),netAmount:"0",vatAmount:this.amountFC.value,amount:this.amountFC.value,currency:"PLN",dateOfExecution:this.dateOfExecutionFC.value,idNipPesel:this.idNipPeselFC.value,vatNumber:this.invoiceNumberFC.value,lastExecutionDate:this.lastExecutionDateFC.value,name1:this.replaceDisallowedChars(this.recipientName1FC.value),name2:this.replaceDisallowedChars(this.recipientName2FC.value),sourceAccountId:this.sourceAccountFC.value,targetAccount:this.recipientAccountFC.value?.accountNumber,title:this.TITLE,bundleId:this.data.transferData.bundleId,dispositionId:parseInt(this.dispositionId,10),sorbnet:!1}}getVatAccounts(){this.accountService.getOwnVatAccount().pipe(L(e=>this.personalVatAccounts=e)).subscribe()}getVatChargeableAccounts(){this.accountService.getChargeableVatAccounts().pipe(this.errorProviderService.processError("Nie uda\u0142o si\u0119 pobra\u0107 listy rachunk\xF3w obci\u0105\u017Calnych")).subscribe(e=>this.personalVatChargeableAccounts=e)}checkAndLoadTransfer(){this.setFormControlValues(this.transfer),this.isPacked&&(this.sourceAccountFC.disable(),this.dateOfExecutionFC.disable())}setFormControlValues(e){if(e){this.recipientAccountFC.setValue(e.targetAccount),this.recipientName1FC.setValue(e.name1),this.recipientName2FC.setValue(e.name2),this.recipientAddress1FC.setValue(e.address1),this.recipientAddress2FC.setValue(e.address2),ue.isEmpty(this.amountFC.value)&&this.amountFC.setValue(e.amount),this.dateOfExecutionFC.setValue(e.dateOfExecution),this.lastExecutionDateFC.setValue(e.lastExecutionDate),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:e.sourceAccountId),this.dispositionId=e.dispositionId?.toString()||"";let n=Cd.parse(e.title,e.idNipPesel);
8001this.idNipPeselFC.setValue(n.peselNip),this.additionalMessageFC.setValue(n.message)}}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.chargeFG.markAllAsTouched()}replaceDisallowedChars(e){return e.replace(/\\/g,"").replace(/"/g,"'")}static{this.\u0275fac=function(n){return new(n||t)(E(Vi),E(Ze),E(Bo),E(Le),E(Vo),E(Vd),E(rt),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-transference-vat-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},qo)},standalone:!1,decls:55,vars:33,consts:[["executionDatePicker",""],["lastExecutionDatePicker",""],["appearance","outline",1,"flex-fill"],["required","",3,"formControl"],[3,"value"],[3,"targetAccount"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","gap-20"],["showPLNSuffix","true",3,"amountFC"],["autocomplete","off","matInput","","required","","type","text",3,"formControl"],["autocomplete","off","matInput","","type","text",3,"formControl"],[3,"accountList","sourceAccountFC","vatAccountInfo","disabledInput","shouldShowVatAccount"],[3,"cancelAction","confirmAddNextAction","resetAction","confirmAction","withConfirmAddNextButton","confirmAddNextDisabled","confirmDisabled","buttonLabelConfirm"],["appearance","outline"],["autocomplete","off","matInput","","required","",3,"focusout","formControl","matDatepicker","min"],["matSuffix","",3,"for"],["appearance","outline",4,"appShowIfHasAuthority"],["autocomplete","off","matInput","",3,"focusout","formControl","matDatepicker","min"],[3,"lastExecutionDateFC"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Przekazanie VAT"),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section-header"),h(6,"Beneficjent"),c(),u(7,"mat-form-field",2)(8,"mat-label"),h(9,"Rachunek"),c(),u(10,"mat-select",3),He(11,due,3,4,"mat-option",4,at),c(),u(13,"mat-error"),x(14,"app-target-account-error",5),c(),u(15,"mat-hint")(16,"span"),h(17),be(18,"ibanFormatPipe"),c()()(),x(19,"app-recipant-input",6),c(),u(20,"app-dialog-section")(21,"app-dialog-section-header"),h(22,"Tre\u015B\u0107"),c(),u(23,"div",7),x(24,"app-amount-input",8),v(25,hue,10,6),c(),u(26,"mat-form-field",2)(27,"mat-label"),h(28,"Identyfikator ( NIP / PESEL )"),c(),x(29,"input",9),u(30,"mat-error"),v(31,fue,2,1,"span"),v(32,gue,2,1,"span"),c()(),u(33,"mat-form-field",2)(34,"mat-label"),h(35,"Numer faktury"),c(),x(36,"input",9),u(37,"mat-error"),v(38,_ue,2,1,"span"),v(39,bue,2,1,"span"),v(40,vue,2,3,"span"),c()(),u(41,"mat-form-field",2)(42,"mat-label"),h(43,"Dodatkowa tre\u015B\u0107"),c(),x(44,"input",10),u(45,"mat-error"),v(46,yue,2,1,"span"),v(47,Cue,2,1,"span"),v(48,Due,2,3,"span"),c()()(),u(49,"app-dialog-section")(50,"app-dialog-section-header"),h(51,"Obci\u0105\u017Cenie"),c(),x(52,"app-source-account-input",11),be(53,"async"),c()(),u(54,"app-action-buttons-panel",12),T("cancelAction",function(){return r.closeDialog()})("confirmAddNextAction",function(){return r.pressSaveBtn(!0)})("resetAction",function(){return r.resetData()})("confirmAction",function(){return r.pressSaveBtn(!1)}),c()()),n&2&&(l(10),g("formControl",r.recipientAccountFC),l(),Ue(r.personalVatAccounts),l(3),g("targetAccount",r.recipientAccountFC),l(3),se("Rachunek VAT : ",Fe(18,29,r.targetVatAccount)," "),l(2),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(5),g("amountFC",r.amountFC),l(),y(r.isPacked?-1:25),l(4),g("formControl",r.idNipPeselFC),l(2),y(r.validatorUtils.isRequired(r.idNipPeselFC)?31:-1),l(),y(!r.idNipPeselFC.hasError("required")&&r.idNipPeselFC.hasError("nipAndPeselFormat")?32:-1),l(4),g("formControl",r.invoiceNumberFC),l(2),y(r.validatorUtils.isRequired(r.invoiceNumberFC)?38:-1),l(),y(r.invoiceNumberFC.hasError("pattern")?39:-1),l(),y(r.invoiceNumberFC.hasError("maxlength")?40:-1),l(4),g("formControl",r.additionalMessageFC),l(2),y(r.additionalMessageFC.hasError("pattern")?46:-1),l(),y(r.additionalMessageFC.hasError("text.invalidSubstrings")?47:-1),l(),y(r.additionalMe
8001ssageFC.hasError("maxlength")?48:-1),l(4),g("accountList",r.personalVatChargeableAccounts)("sourceAccountFC",r.sourceAccountFC)("vatAccountInfo",Fe(53,31,r.vatAccountInfo$))("disabledInput",r.isPacked)("shouldShowVatAccount",!0),l(2),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmAddNextDisabled",r.transferenceVatFG.invalid)("confirmDisabled",r.transferenceVatFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE))},dependencies:[Ve,qe,oa,St,Ln,Qt,zi,pi,Ri,et,si,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,$e,Bt,_m,Fa,Yr,Kr,Tt,pc,bm,Ji,qt],styles:[".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".gap-20[_ngcontent-%COMP%]{gap:20px}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var yG=Si(Xr());var Vn=(function(t){return t.COMPLETED="COMPLETED",t.REJECTED="REJECTED",t.PARTLY_COMPLETED="PARTLY_COMPLETED",t.ACCOUNTING="ACCOUNTING",t.IN_PROGRESS="IN_PROGRESS",t.SUSPENDED="SUSPENDED",t.AWAITS="AWAITS",t.NEW="NEW",t.ACCEPTED="ACCEPTED",t.IN_SIGNING="IN_SIGNING",t.SIGNED="SIGNED",t})(Vn||{});var Ni=(function(t){return t.COMPLETED="Zrealizowana",t.REJECTED="Odrzucona",t.PARTLY_COMPLETED="Cz\u0119\u015Bciowo zrealizowana",t.ACCOUNTING="Ksi\u0119gowana",t.IN_PROGRESS="W trakcie realizacji",t.SUSPENDED="Zawieszona w realizacji",t.AWAITS="Oczekuj\u0105ca (m\u0142ynek)",t.NEW="Nowa",t.ACCEPTED="Zaakceptowana",t.IN_SIGNING="W trakcie podpisywania",t.SIGNED="Podpisana",t})(Ni||{});var Bh=class t{transform(i,e=!1){if(this.checkIfStandingOrderBundle(i))return i?"Aktywne":"Nieaktywne";if(e)switch(i){case Vn.COMPLETED:return Ni.COMPLETED;case Vn.REJECTED:return Ni.REJECTED;case Vn.PARTLY_COMPLETED:return Ni.PARTLY_COMPLETED;case Vn.ACCOUNTING:return Ni.ACCOUNTING;case Vn.IN_PROGRESS:case Vn.SUSPENDED:return Ni.IN_PROGRESS;case Vn.AWAITS:return Ni.AWAITS;case Vn.NEW:return Ni.NEW;case Vn.ACCEPTED:case Vn.IN_SIGNING:case Vn.SIGNED:return Ni.IN_SIGNING;default:return""}else switch(i){case Vn.COMPLETED:return Ni.COMPLETED;case Vn.REJECTED:return Ni.REJECTED;case Vn.PARTLY_COMPLETED:return Ni.PARTLY_COMPLETED;case Vn.ACCOUNTING:return Ni.ACCOUNTING;case Vn.IN_PROGRESS:return Ni.IN_PROGRESS;case Vn.SUSPENDED:return Ni.SUSPENDED;case Vn.AWAITS:return Ni.AWAITS;case Vn.NEW:return Ni.NEW;case Vn.ACCEPTED:return Ni.ACCEPTED;case Vn.IN_SIGNING:return Ni.IN_SIGNING;case Vn.SIGNED:return Ni.SIGNED;default:return""}}checkIfStandingOrderBundle(i){return typeof i=="boolean"}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"bundleStateView",type:t,pure:!0,standalone:!1})}};Sn([(0,yG.default)({resolver:(t,i)=>({state:t,useSimplifiedLabels:i})})],Bh.prototype,"transform",null);var hc=(function(t){return t.SHA="SHA",t.OUR="OUR",t.BEN="BEN",t})(hc||{});var CG=(()=>{class t{transform(e){switch(e){case hc.OUR:return"OUR - Zleceniodawca";case hc.BEN:return"BEN - Beneficjent";case hc.SHA:default:return"SHA - Obie strony"}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"commissionCoverer",type:t,pure:!0})}}return t})();var DG=Si(Xr());var sb=(function(t){return t[t.MIXED=0]="MIXED",t[t.RENEWABLE=1]="RENEWABLE",t[t.NON_RENEWABLE=2]="NON_RENEWABLE",t})(sb||{});var $E=class t{transform(i){switch(i){case sb.MIXED:return"Mieszana";case sb.NON_RENEWABLE:return"Nieodnawialna";case sb.RENEWABLE:return"Odnawialna";default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"depositType",type:t,pure:!0,standalone:!1})}};Sn([(0,DG.default)()],$E.prototype,"transform",null);var lb=(()=>{class t{constructor(e){this.el=e}set whiteList(e){this.el.nativeElement.classList=e?.verificationResult?["green-text-bold"]:["red-text-bold"]}static{this.\u0275fac=function(n){return new(n||t)(E(Q))}}static{this.\u0275dir=N({type:t,selectors:[["app-white-list"],["","appWhiteList",""]],inputs:{whiteList:"whiteList"},standalone:!1})}}return t})();var YR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({})}}return t})();var KR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({})}}return t})();var wG={done:0,all:0,active:!1,message:""};var xG=(()=>
8001{class t{constructor(){this.progress=wG,this.subject=new zt(this.progress)}showFullDataProgressBar(e){this.progress=e,this.subject.next(this.progress)}showProgressBar(e){this.progress.message=e,this.progress.active=!0,this.subject.next(this.progress)}setAllValue(e){this.progress.all=e,this.subject.next(this.progress)}hideProgressBar(){this.progress.active=!1,this.subject.next(this.progress)}getProgressData(){return this.subject.asObservable()}increment(){this.progress.done+=1,this.subject.next(this.progress)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function xue(t,i){t&1&&x(0,"div",0)}function Sue(t,i){if(t&1&&(u(0,"div",1)(1,"h2"),h(2),c(),x(3,"mat-progress-bar",2),c()),t&2){let e=_();l(2),S(e.progress.message),l(),g("mode",e.progress.all===0?"indeterminate":"determinate")("value",e.progress.done/e.progress.all*100)}}var Tue=(()=>{class t{constructor(e,n){this.progressBarService=e,this.cdRef=n}ngOnInit(){this.subscription=this.progressBarService.getProgressData().pipe(L(e=>{this.progress=e,this.cdRef.detectChanges()})).subscribe()}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(E(xG),E(Ee))}}static{this.\u0275cmp=k({type:t,selectors:[["app-progress-bar"]],standalone:!1,decls:2,vars:2,consts:[[1,"progress-loading"],[1,"progress-bar"],["color","accent",3,"mode","value"]],template:function(n,r){n&1&&(v(0,xue,1,0,"div",0),v(1,Sue,4,3,"div",1)),n&2&&(y(r.progress.active?0:-1),l(),y(r.progress.active?1:-1))},dependencies:[qH],styles:[".progress-loading[_ngcontent-%COMP%]{position:fixed;z-index:9998;width:100%;opacity:.4;background:#d3d3d3;height:100%;display:block}.progress-bar[_ngcontent-%COMP%]{background-color:#f5f5f5;border-radius:20px;box-shadow:1px 1px 5px #000;position:fixed;z-index:9999;top:50vh;left:50vw;width:350px;height:100px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);padding:10px}.progress-bar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}.progress-bar[_ngcontent-%COMP%] mat-progress-bar[_ngcontent-%COMP%]{height:10px}"]})}}return t})();var vm=(()=>{class t{constructor(e){this.injector=e}transform(e,n,r){let a=ie.create({name:"DynamicPipe",parent:this.injector,providers:[{provide:n,useClass:n}]}).get(n);return r?a.transform(e,...r):a.transform(e)}static{this.\u0275fac=function(n){return new(n||t)(E(ie,16))}}static{this.\u0275pipe=pe({name:"dynamicPipe",type:t,pure:!0,standalone:!1})}}return t})();var XR=(()=>{class t{transform(e){return e===1?e+" pozycja":e>=2&&e<=4?e+" pozycje":e+" pozycji"}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"numberOfProps",type:t,pure:!0,standalone:!1})}}return t})();function kue(t,i){if(t&1&&(u(0,"span",2),h(1),be(2,"numberOfProps"),c()),t&2){let e=_();l(),se(" (",Fe(2,1,e.propsCount),") ")}}var ZR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sn-cell-item"]],inputs:{itemClass:"itemClass",propsCount:"propsCount",showNumberOfProps:"showNumberOfProps",cellData:"cellData"},standalone:!1,decls:3,vars:3,consts:[[3,"ngClass"],[3,"innerHtml"],[1,"number-of-props"]],template:function(n,r){n&1&&(u(0,"span",0),x(1,"span",1),v(2,kue,3,3,"span",2),c()),n&2&&(g("ngClass",r.itemClass),l(),g("innerHtml",r.cellData,Du),l(),y(r.showNumberOfProps?2:-1))},dependencies:[cr,XR],encapsulation:2})}}return t})();function Mue(t,i){if(t&1&&(u(0,"button",0)(1,"mat-icon"),h(2),c()()),t&2){let e=_();g("ngClass",e.COLLAPSED_ICON_BUTTON_CLASS),l(2),se(" ",e.collapsed?"keyboard_arrow_down":"keyboard_arrow_right"," ")}}var QR="collapsed-icon-button",JR=(()=>{class t{constructor(){this.COLLAPSED_ICON_BUTTON_CLASS=QR}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sn-mat-tree-arrow-button"]],inputs:{showIconButton:"showIconButton",collapsed:"collapsed"},standalone:!1,decls:1,vars:1,consts:[["mat-icon-button","",3,"ngClass"]],template:function(n,r){n&1&&v(0,Mue,3,2,"button",0),n&2&&y(r.showIconButton?0:-1)},dependencies:[cr,Gn,fr],encapsulation:2})}}return t})();function REt(t){return t.map(i=>Oue(i))}function Oue(t){if(Fue(t.accounts)){let e=t.accounts.map(n=>eM(n));return{accountNumber:t.accountNumber,currentBalance:t.currentBalance,availableFunds:t.currentBalance,children:e}}else{let i=t.accounts,e={accountNumber:t.accountNumber,currentBalance:t.currentBalance,availableFunds:t.currentBalance,children:[]};return Pue(i,e)}}function Fue(t){return t[0]===void 0?!1:"accountId"in t[0]&&t[0].accountId!==void 0}function MEt(t){return"type"in t&&t.type!==void 0}
8001function Pue(t,i){return t.forEach(e=>{let n=Lue(e),r=Bue(e),o=eM(n,r);i.children?.push(o)}),i}function Lue(t){return t.accounts.find(i=>i.accountNumber===t.accountNumber)}function Bue(t){return t.accounts.filter(i=>i.accountNumber!==t.accountNumber).map(i=>eM(i))}function eM(t,i){return{accountId:t.accountId,accountName:t.accountName,friendlyName1:t.friendlyName1,friendlyName2:t.friendlyName2,accountShortName:t.accountShortName,accountNumber:t.accountNumber,openingDate:t.openingDate,currency:t.currency,owner:t.owner,ownerAddress:t.ownerAddress,ownerShortName:t.ownerShortName,loanRate:t.loanRate,accountRate:t.accountRate,vatAccountNumber:t.vatAccountNumber,primaryAccountNumber:t.primaryAccountNumber,currentBalance:t.currentBalance,availableFunds:t.availableFunds,type:t.type,endDate:t.endDate,lastPaymentDate:t.lastPaymentDate,contractNumber:t.contractNumber,balanceOverpayment:t.balanceOverpayment,balanceAfterDeadline:t.balanceAfterDeadline,lastAmount:t.lastAmount,amountAfterDeadline:t.amountAfterDeadline,children:i}}var Vue=typeof global=="object"&&global&&global.Object===Object&&global,qE=Vue;var jue=typeof self=="object"&&self&&self.Object===Object&&self,Hue=qE||jue||Function("return this")(),Wi=Hue;var Uue=Wi.Symbol,Pa=Uue;var SG=Object.prototype,zue=SG.hasOwnProperty,Gue=SG.toString,cb=Pa?Pa.toStringTag:void 0;function Wue(t){var i=zue.call(t,cb),e=t[cb];try{t[cb]=void 0;var n=!0}catch(o){}var r=Gue.call(t);return n&&(i?t[cb]=e:delete t[cb]),r}var TG=Wue;var $ue=Object.prototype,que=$ue.toString;function Yue(t){return que.call(t)}var IG=Yue;var Kue="[object Null]",Xue="[object Undefined]",AG=Pa?Pa.toStringTag:void 0;function Zue(t){return t==null?t===void 0?Xue:Kue:AG&&AG in Object(t)?TG(t):IG(t)}var fc=Zue;function Que(t){return t!=null&&typeof t=="object"}var ua=Que;var Jue=Array.isArray,gc=Jue;function eme(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}var Cl=eme;var tme="[object AsyncFunction]",nme="[object Function]",ime="[object GeneratorFunction]",rme="[object Proxy]";function ome(t){if(!Cl(t))return!1;var i=fc(t);return i==nme||i==ime||i==tme||i==rme}var YE=ome;var ame=Wi["__core-js_shared__"],KE=ame;var kG=(function(){var t=/[^.]+$/.exec(KE&&KE.keys&&KE.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function sme(t){return!!kG&&kG in t}var RG=sme;var lme=Function.prototype,cme=lme.toString;function dme(t){if(t!=null){try{return cme.call(t)}catch(i){}try{return t+""}catch(i){}}return""}var _c=dme;var ume=/[\\^$.*+?()[\]{}|]/g,mme=/^\[object .+?Constructor\]$/,pme=Function.prototype,hme=Object.prototype,fme=pme.toString,gme=hme.hasOwnProperty,_me=RegExp("^"+fme.call(gme).replace(ume,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bme(t){if(!Cl(t)||RG(t))return!1;var i=YE(t)?_me:mme;return i.test(_c(t))}var MG=bme;function vme(t,i){return t?.[i]}var NG=vme;function yme(t,i){var e=NG(t,i);return MG(e)?e:void 0}var jo=yme;var Cme=jo(Wi,"WeakMap"),XE=Cme;var OG=Object.create,Dme=(function(){function t(){}return function(i){if(!Cl(i))return{};if(OG)return OG(i);t.prototype=i;var e=new t;return t.prototype=void 0,e}})(),FG=Dme;function Eme(t,i){var e=-1,n=t.length;for(i||(i=Array(n));++e<n;)i[e]=t[e];return i}var PG=Eme;var wme=(function(){try{var t=jo(Object,"defineProperty");return t({},"",{}),t}catch(i){}})(),tM=wme;function xme(t,i){for(var e=-1,n=t==null?0:t.length;++e<n&&i(t[e],e,t)!==!1;);return t}var LG=xme;var Sme=9007199254740991,Tme=/^(?:0|[1-9]\d*)$/;function Ime(t,i){var e=typeof t;return i=i??Sme,!!i&&(e=="number"||e!="symbol"&&Tme.test(t))&&t>-1&&t%1==0&&t<i}var BG=Ime;function Ame(t,i,e){i=="__proto__"&&tM?tM(t,i,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[i]=e}var ZE=Ame;function kme(t,i){return t===i||t!==t&&i!==i}var Vh=kme;var Rme=Object.prototype,Mme=Rme.hasOwnProperty;function Nme(t,i,e){var n=t[i];(!(Mme.call(t,i)&&Vh(n,e))||e===void 0&&!(i in t))&&ZE(t,i,e)}var QE=Nme;function Ome(t,i,e,n){var r=!e;e||(e={});for(var o=-1,a=i.length;++o<a;){var s=i[o],d=n?n(e[s],t[s],s,e,t):void 0;d===void 0&&(d=t[s]),r?ZE(e,s,d):QE(e,s,d)}return e}var jd=Ome;var Fme=9007199254740991;function Pme(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Fme}var JE=Pme;function Lme(t){return t!=null&&JE(t.length)&&!YE(t)}var ew=Lme;var Bme=Object.prototype;function Vme(t){var i=t&&t.constructor,e=typeof i=="function"&&i.prototype||Bme;return t===e}var jh=Vme;function jme(t,i){for(var e=-1,n=Array(t);++e<t;)n[e]=i(e);return n}var VG=jme;var Hme="[object Arguments]";function Ume(t){return ua(t)&&fc(t)==Hme}var nM=Ume;var jG=Object.prototype,zme=jG.hasOwnProperty,Gme=jG.propertyIsEnumerable,Wme=nM((function(){return arguments})())?nM:function(t){return ua(t)&&zme.call(t,"callee")&&!Gme.call(t,"callee")},HG=Wme;function $me(){return!1}var UG=$me;var WG=typeof exports=="object"&&exports&&!exports.nodeType&&exports,zG=WG&&typeof module=="object"&&module&&!module.nodeType&&module,qme=zG&&zG.exports===WG,GG=qme?Wi.Buffer:void 0,Yme=GG?GG.isBuffer:void 0,Kme=Yme||UG,ym=Kme;var Xme="[object Arguments]",Zme="[object Array]",Qme="[object Boolean]",Jme="[object Date]",epe="[object Error]",tpe="[object Function]",npe="[object Map]",ipe="[object Number]",rpe="[object Object]",ope="[object RegExp]",ape="[object Set]",spe="[object String]",lpe="[object WeakMap]",cpe="[object ArrayBuffer]",dpe="[object DataView]",upe="[object Float32Array]",mpe="[object Float64Array
8001]",ppe="[object Int8Array]",hpe="[object Int16Array]",fpe="[object Int32Array]",gpe="[object Uint8Array]",_pe="[object Uint8ClampedArray]",bpe="[object Uint16Array]",vpe="[object Uint32Array]",ci={};ci[upe]=ci[mpe]=ci[ppe]=ci[hpe]=ci[fpe]=ci[gpe]=ci[_pe]=ci[bpe]=ci[vpe]=!0;ci[Xme]=ci[Zme]=ci[cpe]=ci[Qme]=ci[dpe]=ci[Jme]=ci[epe]=ci[tpe]=ci[npe]=ci[ipe]=ci[rpe]=ci[ope]=ci[ape]=ci[spe]=ci[lpe]=!1;function ype(t){return ua(t)&&JE(t.length)&&!!ci[fc(t)]}var $G=ype;function Cpe(t){return function(i){return t(i)}}var Hh=Cpe;var qG=typeof exports=="object"&&exports&&!exports.nodeType&&exports,db=qG&&typeof module=="object"&&module&&!module.nodeType&&module,Dpe=db&&db.exports===qG,iM=Dpe&&qE.process,Epe=(function(){try{var t=db&&db.require&&db.require("util").types;return t||iM&&iM.binding&&iM.binding("util")}catch(i){}})(),bc=Epe;var YG=bc&&bc.isTypedArray,wpe=YG?Hh(YG):$G,tw=wpe;var xpe=Object.prototype,Spe=xpe.hasOwnProperty;function Tpe(t,i){var e=gc(t),n=!e&&HG(t),r=!e&&!n&&ym(t),o=!e&&!n&&!r&&tw(t),a=e||n||r||o,s=a?VG(t.length,String):[],d=s.length;for(var p in t)(i||Spe.call(t,p))&&!(a&&(p=="length"||r&&(p=="offset"||p=="parent")||o&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||BG(p,d)))&&s.push(p);return s}var nw=Tpe;function Ipe(t,i){return function(e){return t(i(e))}}var iw=Ipe;var Ape=iw(Object.keys,Object),KG=Ape;var kpe=Object.prototype,Rpe=kpe.hasOwnProperty;function Mpe(t){if(!jh(t))return KG(t);var i=[];for(var e in Object(t))Rpe.call(t,e)&&e!="constructor"&&i.push(e);return i}var XG=Mpe;function Npe(t){return ew(t)?nw(t):XG(t)}var Uh=Npe;function Ope(t){var i=[];if(t!=null)for(var e in Object(t))i.push(e);return i}var ZG=Ope;var Fpe=Object.prototype,Ppe=Fpe.hasOwnProperty;function Lpe(t){if(!Cl(t))return ZG(t);var i=jh(t),e=[];for(var n in t)n=="constructor"&&(i||!Ppe.call(t,n))||e.push(n);return e}var QG=Lpe;function Bpe(t){return ew(t)?nw(t,!0):QG(t)}var zh=Bpe;var Vpe=jo(Object,"create"),vc=Vpe;function jpe(){this.__data__=vc?vc(null):{},this.size=0}var JG=jpe;function Hpe(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}var e4=Hpe;var Upe="__lodash_hash_undefined__",zpe=Object.prototype,Gpe=zpe.hasOwnProperty;function Wpe(t){var i=this.__data__;if(vc){var e=i[t];return e===Upe?void 0:e}return Gpe.call(i,t)?i[t]:void 0}var t4=Wpe;var $pe=Object.prototype,qpe=$pe.hasOwnProperty;function Ype(t){var i=this.__data__;return vc?i[t]!==void 0:qpe.call(i,t)}var n4=Ype;var Kpe="__lodash_hash_undefined__";function Xpe(t,i){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=vc&&i===void 0?Kpe:i,this}var i4=Xpe;function Gh(t){var i=-1,e=t==null?0:t.length;for(this.clear();++i<e;){var n=t[i];this.set(n[0],n[1])}}Gh.prototype.clear=JG;Gh.prototype.delete=e4;Gh.prototype.get=t4;Gh.prototype.has=n4;Gh.prototype.set=i4;var rM=Gh;function Zpe(){this.__data__=[],this.size=0}var r4=Zpe;function Qpe(t,i){for(var e=t.length;e--;)if(Vh(t[e][0],i))return e;return-1}var Hd=Qpe;var Jpe=Array.prototype,ehe=Jpe.splice;function the(t){var i=this.__data__,e=Hd(i,t);if(e<0)return!1;var n=i.length-1;return e==n?i.pop():ehe.call(i,e,1),--this.size,!0}var o4=the;function nhe(t){var i=this.__data__,e=Hd(i,t);return e<0?void 0:i[e][1]}var a4=nhe;function ihe(t){return Hd(this.__data__,t)>-1}var s4=ihe;function rhe(t,i){var e=this.__data__,n=Hd(e,t);return n<0?(++this.size,e.push([t,i])):e[n][1]=i,this}var l4=rhe;function Wh(t){var i=-1,e=t==null?0:t.length;for(this.clear();++i<e;){var n=t[i];this.set(n[0],n[1])}}Wh.prototype.clear=r4;Wh.prototype.delete=o4;Wh.prototype.get=a4;Wh.prototype.has=s4;Wh.prototype.set=l4;var Ud=Wh;var ohe=jo(Wi,"Map"),zd=ohe;function ahe(){this.size=0,this.__data__={hash:new rM,map:new(zd||Ud),string:new rM}}var c4=ahe;function she(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}var d4=she;function lhe(t,i){var e=t.__data__;return d4(i)?e[typeof i=="string"?"string":"hash"]:e.map}var Gd=lhe;function che(t){var i=Gd(this,t).delete(t);return this.size-=i?1:0,i}var u4=che;function dhe(t){return Gd(this,t).get(t)}var m4=dhe;function uhe(t){return Gd(this,t).has(t)}var p4=uhe;function mhe(t,i){var e=Gd(this,t),n=e.size;return e.set(t,i),this.size+=e.size==n?0:1,this}var h4=mhe;function $h(t){var i=-1,e=t==null?0:t.length;for(this.clear();++i<e;){var n=t[i];this.set(n[0],n[1])}}$h.prototype.clear=c4;$h.prototype.delete=u4;$h.prototype.get=m4;$h.prototype.has=p4;$h.prototype.set=h4;var rw=$h;function phe(t,i){for(var e=-1,n=i.length,r=t.length;++e<n;)t[r+e]=i[e];return t}var ow=phe;var hhe=iw(Object.getPrototypeOf,Object),aw=hhe;function fhe(){this.__data__=new Ud,this.size=0}var f4=fhe;function ghe(t){var i=this.__data__,e=i.delete(t);return this.size=i.size,e}var g4=ghe;function _he(t){return this.__data__.get(t)}var _4=_he;function bhe(t){return this.__data__.has(t)}var b4=bhe;var vhe=200;function yhe(t,i){var e=this.__data__;if(e instanceof Ud){var n=e.__data__;if(!zd||n.length<vhe-1)return n.push([t,i]),this.size=++e.size,this;e=this.__data__=new rw(n)}return e.set(t,i),this.size=e.size,this}var v4=yhe;function qh(t){var i=this.__data__=new Ud(t);this.size=i.size}qh.prototype.clear=f4;qh.prototype.delete=g4;qh.prototype.get=_4;qh.prototype.has=b4;qh.prototype.set=v4;var Yh=qh;function Che(t,i){return t&&jd(i,Uh(i),t)}var y4=Che;function Dhe(t,i){return t&&jd(i,zh(i),t)}var C4=Dhe;var x4=typeof exports=="object"&&exports&&!exports.nodeType&&exports,D4=x4&&typeof module=="object"&&module&&!module.nodeType&&module,Ehe=D4&&D4.exports===x4,E4=Ehe?Wi.Buffer:void 0,w4=E4?E4.allocUnsafe:void 0;function whe(t,i){if(i)return t.slice();var e=t.length,n=w4?w4(e):new t.constructor(e);return t.copy(n),n}var S4=whe;function xhe(t,i){for(var e=-1,n=t==null?0:t.length,r=0,o=[];++e<n;){var a=t[e];i(a,e,t)&&(o[r++]=a)}return o}var T4=xhe;function She(){return[]}var sw=She;var The=Object.prototype,Ihe=The.propertyIsEnumerable,I4=Object.getOwnPropertySymbols,Ahe=I4?function(t){return t==null?[]:(t=Object(t),T4(I4(t),function(i){return Ihe.call(t,i)}))}:sw,Kh=Ahe;function khe(t,i){return jd(t,Kh(t),i)}var A4=khe;var Rhe=Object.getOwnPropertySymbols,Mhe=Rhe?function(t){for(var i=[];t;)ow(i,Kh(t)),t=aw(t);return i}:sw,lw=Mhe;function Nhe(t,i){return jd(t,lw(t),i)}var k4=Nhe;function Ohe(t,i,e){var n=i(t);return gc(t)?n:ow(n,e(t))}var cw=Ohe;function Fhe(t){return cw(t,Uh,Kh)}var ub=Fhe;function Phe(t){return cw(t,zh,lw)}var R4=Phe;var Lhe=jo(Wi,"DataView"),dw=Lhe;var Bhe=jo(Wi,"Promise"),uw=Bhe;var Vhe=jo(Wi,"Set"),mw=Vhe;var M4="[object Map]",jhe="[object Object]",N4="[object Promise]",O4="[object Set]",F4="[object WeakMap]",P4="[object DataView]",Hhe=_c(dw),Uhe=_c(zd),zhe=_c(uw),Ghe=_c(mw),Whe=_c(XE),Cm=fc;(dw&&Cm(new dw(new ArrayBuffer(1)))!=P4||zd&&Cm(new zd)!=M4||uw&&Cm(uw.resolve())!=N4||mw&&Cm(new mw)!=O4||XE&&Cm(new XE)!=F4)&&(Cm=function(t){var i=fc(t),e=i==jhe?t.constructor:void 0,n=e?_c(e):"";if(n)switch(n){case Hhe:return P4;case Uhe:return M4;case zhe:return N4;case Ghe:return O4;
vendor: 6,746 bytes, line 8001
8001case Whe:return F4}return i});var yc=Cm;var $he=Object.prototype,qhe=$he.hasOwnProperty;function Yhe(t){var i=t.length,e=new t.constructor(i);return i&&typeof t[0]=="string"&&qhe.call(t,"index")&&(e.index=t.index,e.input=t.input),e}var L4=Yhe;var Khe=Wi.Uint8Array,Xh=Khe;function Xhe(t){var i=new t.constructor(t.byteLength);return new Xh(i).set(new Xh(t)),i}var Zh=Xhe;function Zhe(t,i){var e=i?Zh(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}var B4=Zhe;var Qhe=/\w*$/;function Jhe(t){var i=new t.constructor(t.source,Qhe.exec(t));return i.lastIndex=t.lastIndex,i}var V4=Jhe;var j4=Pa?Pa.prototype:void 0,H4=j4?j4.valueOf:void 0;function efe(t){return H4?Object(H4.call(t)):{}}var U4=efe;function tfe(t,i){var e=i?Zh(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}var z4=tfe;var nfe="[object Boolean]",ife="[object Date]",rfe="[object Map]",ofe="[object Number]",afe="[object RegExp]",sfe="[object Set]",lfe="[object String]",cfe="[object Symbol]",dfe="[object ArrayBuffer]",ufe="[object DataView]",mfe="[object Float32Array]",pfe="[object Float64Array]",hfe="[object Int8Array]",ffe="[object Int16Array]",gfe="[object Int32Array]",_fe="[object Uint8Array]",bfe="[object Uint8ClampedArray]",vfe="[object Uint16Array]",yfe="[object Uint32Array]";function Cfe(t,i,e){var n=t.constructor;switch(i){case dfe:return Zh(t);case nfe:case ife:return new n(+t);case ufe:return B4(t,e);case mfe:case pfe:case hfe:case ffe:case gfe:case _fe:case bfe:case vfe:case yfe:return z4(t,e);case rfe:return new n;case ofe:case lfe:return new n(t);case afe:return V4(t);case sfe:return new n;case cfe:return U4(t)}}var G4=Cfe;function Dfe(t){return typeof t.constructor=="function"&&!jh(t)?FG(aw(t)):{}}var W4=Dfe;var Efe="[object Map]";function wfe(t){return ua(t)&&yc(t)==Efe}var $4=wfe;var q4=bc&&bc.isMap,xfe=q4?Hh(q4):$4,Y4=xfe;var Sfe="[object Set]";function Tfe(t){return ua(t)&&yc(t)==Sfe}var K4=Tfe;var X4=bc&&bc.isSet,Ife=X4?Hh(X4):K4,Z4=Ife;var Afe=1,kfe=2,Rfe=4,Q4="[object Arguments]",Mfe="[object Array]",Nfe="[object Boolean]",Ofe="[object Date]",Ffe="[object Error]",J4="[object Function]",Pfe="[object GeneratorFunction]",Lfe="[object Map]",Bfe="[object Number]",e5="[object Object]",Vfe="[object RegExp]",jfe="[object Set]",Hfe="[object String]",Ufe="[object Symbol]",zfe="[object WeakMap]",Gfe="[object ArrayBuffer]",Wfe="[object DataView]",$fe="[object Float32Array]",qfe="[object Float64Array]",Yfe="[object Int8Array]",Kfe="[object Int16Array]",Xfe="[object Int32Array]",Zfe="[object Uint8Array]",Qfe="[object Uint8ClampedArray]",Jfe="[object Uint16Array]",ege="[object Uint32Array]",ti={};ti[Q4]=ti[Mfe]=ti[Gfe]=ti[Wfe]=ti[Nfe]=ti[Ofe]=ti[$fe]=ti[qfe]=ti[Yfe]=ti[Kfe]=ti[Xfe]=ti[Lfe]=ti[Bfe]=ti[e5]=ti[Vfe]=ti[jfe]=ti[Hfe]=ti[Ufe]=ti[Zfe]=ti[Qfe]=ti[Jfe]=ti[ege]=!0;ti[Ffe]=ti[J4]=ti[zfe]=!1;function pw(t,i,e,n,r,o){var a,s=i&Afe,d=i&kfe,p=i&Rfe;if(e&&(a=r?e(t,n,r,o):e(t)),a!==void 0)return a;if(!Cl(t))return t;var f=gc(t);if(f){if(a=L4(t),!s)return PG(t,a)}else{var b=yc(t),w=b==J4||b==Pfe;if(ym(t))return S4(t,s);if(b==e5||b==Q4||w&&!r){if(a=d||w?{}:W4(t),!s)return d?k4(t,C4(a,t)):A4(t,y4(a,t))}else{if(!ti[b])return r?t:{};a=G4(t,b,s)}}o||(o=new Yh);var A=o.get(t);if(A)return A;o.set(t,a),Z4(t)?t.forEach(function(j){a.add(pw(j,i,e,j,t,o))}):Y4(t)&&t.forEach(function(j,K){a.set(K,pw(j,i,e,K,t,o))});var M=p?d?R4:ub:d?zh:Uh,J=f?void 0:M(t);return LG(J||t,function(j,K){J&&(K=j,j=t[K]),QE(a,K,pw(j,i,e,K,t,o))}),a}var t5=pw;var tge=1,nge=4;function ige(t){return t5(t,tge|nge)}var rge=ige;var oge="__lodash_hash_undefined__";function age(t){return this.__data__.set(t,oge),this}var n5=age;function sge(t){return this.__data__.has(t)}var i5=sge;function hw(t){var i=-1,e=t==null?0:t.length;for(this.__data__=new rw;++i<e;)this.add(t[i])}hw.prototype.add=hw.prototype.push=n5;hw.prototype.has=i5;var r5=hw;function lge(t,i){for(var e=-1,n=t==null?0:t.length;++e<n;)if(i(t[e],e,t))return!0;return!1}var o5=lge;function cge(t,i){return t.has(i)}var a5=cge;var dge=1,uge=2;function mge(t,i,e,n,r,o){var a=e&dge,s=t.length,d=i.length;if(s!=d&&!(a&&d>s))return!1;var p=o.get(t),f=o.get(i);if(p&&f)return p==i&&f==t;var b=-1,w=!0,A=e&uge?new r5:void 0;for(o.set(t,i),o.set(i,t);++b<s;){var M=t[b],J=i[b];if(n)var j=a?n(J,M,b,i,t,o):n(M,J,b,t,i,o);if(j!==void 0){if(j)continue;w=!1;break}if(A){if(!o5(i,function(K,Te){if(!a5(A,Te)&&(M===K||r(M,K,e,n,o)))return A.push(Te)})){w=!1;break}}else if(!(M===J||r(M,J,e,n,o))){w=!1;break}}return o.delete(t),o.delete(i),w}var fw=mge;function pge(t){var i=-1,e=Array(t.size);return t.forEach(function(n,r){e[++i]=[r,n]}),e}var s5=pge;function hge(t){var i=-1,e=Array(t.size);return t.forEach(function(n){e[++i]=n}),e}var l5=hge;var fge=1,gge=2,_ge="[object Boolean]",bge="[object Date]",vge="[object Error]",yge="[object Map]",Cge="[object Number]",Dge="[object RegExp]",Ege="[object Set]",wge="[object String]",xge="[object Symbol]",Sge="[object ArrayBuffer]",Tge="[object DataView]",c5=Pa?Pa.prototype:void 0,oM=c5?c5.valueOf:void 0;function Ige(t,i,e,n,r,o,a){switch(e){case Tge:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Sge:return!(t.byteLength!=i.byteLength||!o(new Xh(t),new Xh(i)));case _ge:case bge:case Cge:return Vh(+t,+i);case vge:return t.name==i.name&&t.message==i.message;case Dge:case wge:return t==i+"";case yge:var s=s5;case Ege:var d=n&fge;if(s||(s=l5),t.size!=i.size&&!d)return!1;var p=a.get(t);if(p)return p==i;n|=gge,a.set(t,i);var f=fw(s(t),s(i),n,r,o,a);return a.delete(t),f;case xge:if(oM)return oM.call(t)==oM.call(i)}return!1}var d5=Ige;var Age=1,kge=Object.prototype,Rge=kge.hasOwnProperty;function Mge(t,i,e,n,r,o){var a=e&Age,s=ub(t),d=s.length,p=ub(i),f=p.length;if(d!=f&&!a)return!1;for(var b=d;b--;){var w=s[b];if(!(a?w in i:Rge.call(i,w)))return!1}var A=o.get(t),M=o.get(i);if(A&&M)return A==i&&M==t;var J=!0;o.set(t,i),o.set(i,t);for(var j=a;++b<d;){w=s[b];var K=t[w],Te=i[w];if(n)var tn=a?n(Te,K,w,i,t,o):n(K,Te,w,t,i,o);if(!(tn===void 0?K===Te||r(K,Te,e,n,o):tn)){J=!1;break}j||(j=w=="constructor")}if(J&&!j){var jt=t.constructor,Oi=i.constructor;jt!=Oi&&"constructor"in t&&"constructor"in i&&!(typeof jt=="function"&&jt instanceof jt&&typeof Oi=="function"&&Oi instanceof Oi)&&(J=!1)}return o.delete(t),o.delete(i),J}var u5=Mge;var Nge=1,m5="[object Arguments]",p5="[object Array]",gw="[object Object]",Oge=Object.prototype,h5=Oge.hasOwnProperty;function Fge(t,i,e,n,r,o){var a=gc(t),s=gc(i),d=a?p5:yc(t),p=s?p5:yc(i);d=d==m5?gw:d,p=p==m5?gw:p;var f=d==gw,b=p==gw,w=d==p;if(w&&ym(t)){if(!ym(i))return!1;a=!0,f=!1}if(w&&!f)return o||(o=new Yh),a||tw(t)?fw(t,i,e,n,r,o):d5(t,i,d,e,n,r,o);if(!(e&Nge)){var A=f&&h5.call(t,"__wrapped__"),M=b&&h5.call(i,"__wrapped__");
8001if(A||M){var J=A?t.value():t,j=M?i.value():i;return o||(o=new Yh),r(J,j,e,n,o)}}return w?(o||(o=new Yh),u5(t,i,e,n,r,o)):!1}var f5=Fge;function g5(t,i,e,n,r){return t===i?!0:t==null||i==null||!ua(t)&&!ua(i)?t!==t&&i!==i:f5(t,i,e,n,g5,r)}var _5=g5;function Pge(t,i){return _5(t,i)}var mb=Pge;var _w=(()=>{class t{constructor(){this.activeParentTracker=[]}rowClickHandler(e,n,r,o){this.selectionToggler(e,r,n,o)}toggleRowCollapse(e,n,r,o,a){typeof e[r]>"u"||(!e.childrenUpdated&&a?a(e).pipe(L(d=>{e[r]=d,e.childrenUpdated=!0,this.collapse(e,r,o,n)})).subscribe():this.collapse(e,r,o,n))}sort(e,n,r,o,a,s){return e=this.collapseRows(e,n),e=this.sortData(e,n,o,a,s),e=this.expandCollapsedRows(e,n,r),e.data}collapseRows(e,n){let r=[];return e.data.forEach(o=>{o[n]&&o[n].forEach(a=>{e.data.some(s=>mb(s,a))&&r.push(e.data.findIndex(s=>mb(s,a)))})}),e.data=this.removeFrom(e.data,r),e}expandCollapsedRows(e,n,r){return this.activeParentTracker.forEach(o=>{let a=e.data.findIndex(d=>!!d[n]&&d[r]===o),s=e.data.find(d=>d[n]&&d[r]===o);e.data=this.insertInto(e.data,a,s[n])}),e}selectAll(e,n){n.forEach(r=>e.select(r))}collapse(e,n,r,o){this.updateParentTracker(e,n,r),n!==""&&this.toggleChild(e,o,n)}toggleChild(e,n,r){if(e[r]&&e[r].length>0){let o=typeof e=="object"&&e!==null?n.data.findIndex(s=>mb(s,e)):n.data.indexOf(e),a=[];n.data.forEach(s=>{e[r].forEach(d=>{s===d&&a.push(n.data.indexOf(s))})}),a.length===0?n.data=this.insertInto(n.data,o,e[r]):n.data=this.removeFrom(n.data,a)}}insertInto(e,n,r){return r.forEach(o=>o._tableChild=!0),[...e.slice(0,n+1),...r,...e.slice(n+1)]}removeFrom(e,n){let r=0;return n.forEach(o=>{e.splice(o-r,1),r++}),e}selectionToggler(e,n,r,o){if(o?.shiftKey){if(n.toggle(e),n.selected.length===1)return;let a=n.selected[0],s=!1;r.data.forEach(d=>{d===e||d===a?s=!s:s&&n.toggle(d)})}else o?.ctrlKey||n.clear(),n.toggle(e)}updateParentTracker(e,n,r){if(e[n])if(this.activeParentTracker.includes(e[r])){let o=this.activeParentTracker.indexOf(e[r]);this.activeParentTracker.splice(o,1)}else this.activeParentTracker.push(e[r])}sortData(e,n,r,o=!0,a=!0){return a&&e.data.map(s=>{s[n]&&(s[n]=e.sortDataCore(s[n],r.active,r.direction))}),o&&(e.data=e.sortDataCore(e.data,r.active,r.direction)),e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Bge(t,i){if(t&1&&(u(0,"mat-icon"),h(1),c()),t&2){let e=_();Be(jl("",e.hasProp?"colored-bundle-mat-icon":"colored-mat-icon"," material-icons-outlined")),l(),se(" ",e.hasProp?"folder_outline":"insert_drive_file_outline"," ")}}var aM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sn-mat-tree-table-row-icon"]],inputs:{showIcon:"showIcon",hasProp:"hasProp"},standalone:!1,decls:1,vars:1,consts:[[3,"class"]],template:function(n,r){n&1&&v(0,Bge,2,4,"mat-icon",0),n&2&&y(r.showIcon?0:-1)},dependencies:[Gn],encapsulation:2})}}return t})();var b5=Si(Xr());var Qh=class t{transform(i,e){return this.resolveClasses(i[e.styleProp||""],e.stylePipeToken,e.stylePipeArgs,e.styleClass)}resolveClasses(i,e,n,r){return i&&e&&n&&r&&new vm().transform(i,e,[n])?r:""}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"resolveClass",type:t,pure:!0,standalone:!1})}};Sn([(0,b5.default)()],Qh.prototype,"transform",null);var sM=(()=>{class t{transform(e,n){return e?e?.map(r=>{if(typeof r!="boolean"&&r.startsWith("row.")){let o=r.replace("row.","");return n[o]}return r}):[]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"mapArgsToColumn",type:t,pure:!0,standalone:!1})}}return t})();var lM=(()=>{class t{transform(e,n){let{alternativeDataSource:r}=n;return r&&r.whenShouldUseAlternativeValue(e)?r.getAlternativeValue(e):this.getValueFromStandardSource(e,n)}getValueFromStandardSource(e,{column:n,pipeToken:r,pipeArgs:o}){let a=e[n];if(r){let s=new sM().transform(o,e);return new vm().transform(a,r,s)}return a}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"getProperValue",type:t,pure:!0,standalone:!1})}}return t})();var cM=(()=>{class t{transform(e,n,r,o){let a=r.arrayHoldingPropCount||"",s=r.arrayHoldingProp||"",d=e[a]||e[s]?.length||0,p=n.column===o&&e[s]!==void 0,f=r.bundleArrowIndicator!==void 0||n.column===o&&d===0;
8001return{"parent-highlight":p,"fill-arrow-space":f}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"matCellNgClass",type:t,pure:!0,standalone:!1})}}return t})();var dM=(()=>{class t{transform(e,n,r){let o=n.map(w=>w.id).includes(e.id),a=o&&(!!e._tableChild||!!e.virtual),s=a?!1:o&&!e._tableChild,d=!!e._tableChild,p=!!e[r||"bundleId"],f=e?.dateOfExecution||e?.executionDate||e?.date,b=!!f&&lD(new Date(f),new Date);return{highlighted:a,"bundle-highlighted":s,"children-highlight":d,"disposition-highlight":p,bold:b}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"matRowNgClass",type:t,pure:!0,standalone:!1})}}return t})();var v5=Si(Xr());var Jh=class t{transform(i){return i?.map(e=>`${e.attribute}: ${e.value};`).join(" ")||""}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"styleProperties",type:t,pure:!0,standalone:!1})}};Sn([(0,v5.default)()],Jh.prototype,"transform",null);var Wge=["emptyItemForDragAndDrop"],$ge=["matHeaderRow"];function qge(t,i){if(t&1&&(u(0,"mat-header-cell",8),be(1,"styleProperties"),h(2),c()),t&2){let e=_().$implicit;T0(Fe(1,6,e.styleProperties)),Be(e.headerClass||"x-center"),g("disabled",!!e.disableSortHeader),l(2),se("",e.caption," ")}}function Yge(t,i){if(t&1&&(u(0,"mat-cell",9),be(1,"styleProperties"),be(2,"matCellNgClass"),x(3,"app-sn-mat-tree-arrow-button",10)(4,"app-sn-mat-tree-table-row-icon",11)(5,"app-sn-cell-item",12),be(6,"getProperValue"),be(7,"resolveClass"),c()),t&2){let e=i.$implicit,n=_().$implicit,r=_();T0(Fe(1,13,n.styleProperties)),Be(n.cellClass||"x-center"),g("ngClass",nI(2,15,e,n,r.tableProperties,r.firstColumn)),l(3),g("collapsed",r.treeTableService.activeParentTracker.includes(e[r.tableProperties.collapseBy===void 0?"":r.tableProperties.collapseBy]))("showIconButton",n.column===r.firstColumn&&(e[r.arrayHoldingPropCount]>0||(e[r.arrayHoldingProp]==null?null:e[r.arrayHoldingProp].length)>0)&&(r.tableProperties.bundleArrowIndicator??!0)),l(),g("hasProp",!!e[r.arrayHoldingProp]||e[r.arrayHoldingPropCount])("showIcon",n.column===r.firstColumn),l(),g("cellData",Dr(6,20,e,n))("itemClass",Dr(7,23,e,n))("propsCount",e[r.arrayHoldingPropCount]||(e[r.arrayHoldingProp]==null?null:e[r.arrayHoldingProp].length))("showNumberOfProps",n.column===r.firstColumn&&(e[r.arrayHoldingProp]!==void 0||e[r.arrayHoldingPropCount]!==void 0)&&e[r.arrayHoldingProp]!==null&&r.tableProperties.showNumberOfProps!==!1&&(e[r.arrayHoldingPropCount]>0||(e[r.arrayHoldingProp]==null?null:e[r.arrayHoldingProp].length)>0))}}function Kge(t,i){if(t&1&&(Cn(0,3),fe(1,qge,3,8,"mat-header-cell",6)(2,Yge,8,26,"mat-cell",7),Dn()),t&2){let e=i.$implicit;g("matColumnDef",ri(e.column))}}function Xge(t,i){if(t&1&&x(0,"mat-header-row"),t&2){let e=_();Be(jl("",e.tableProperties.headerRowClass||"default-sticky"," sticky-header"))}}function Zge(t,i){if(t&1){let e=Se();u(0,"mat-row",13),be(1,"matRowNgClass"),T("click",function(r){let o=te(e).$implicit,a=_();return ne(a.rowClickHandler(o,r))})("dblclick",function(r){let o=te(e).$implicit,a=_();return ne(a.collapseRow(o,r))})("contextmenu",function(r){let o=te(e).$implicit,a=_();return ne(a.contextMenuHandler(o,r))})("dragend",function(r){let o=te(e).$implicit,a=_();return ne(a.handleDragEnd(r,o))})("dragover",function(r){let o=te(e).$implicit,a=_();return ne(a.handleDragOver(r,o))})("dragstart",function(r){let o=te(e).$implicit,a=_();return ne(a.handleDragStart(r,o))})("drop",function(r){let o=te(e).$implicit,a=_();return ne(a.handleDrop(r,o))}),c()}if(t&2){let e=i.$implicit,n=_();ee("read-only",!n.isSelectable()),g("ngClass",sp(1,4,e,n.selection.selected,n.tableProperties.bundleItemHighlight))("draggable",!!(n.tableProperties.draggable!=null&&n.tableProperties.draggable.enable)&&(n.excludeRowsBy?!!e[n.excludeRowsBy]:!0))}}var Qge=(()=>{class t{constructor(e,n){this.treeTableService=e,this.changeDetector=n,this.rowClickEventIndicator=new V,this.handleDragEndEvent=new V,this.handleDragOverEvent=new V,this.handleDragStartEvent=new V,this.handleDropEvent=new V,this.dataSource=new Ma,this.displayedColumns=[],this.firstColumn="",this.resultsLength=0,this.arrayHoldingProp="",this.arrayHoldingPropCount="",this.excludeRowsBy="",this.matSortDirection="",this.selection=new mr(!0,[]),this.matSortActive="",this.isTableActive=!0}get tableProperties(){return this._tableProperties}set tableProperties(e){e&&(this._tableProperties=this.processData(e),this.matSortDirection=e.matSortDirection||"",this.matSortActive=e.matSortActive||"",this.excludeRowsBy=e.draggable?.excludeRowsBy?e.draggable?.excludeRowsBy:"")}handleKeyboardEvent(e){this.isTableActive&&this.isSelectable()&&e.ctrlKey&&e.key==="a"&&!this.isSameDataSelected()&&(this.treeTableService.selectAll(this.selection,this.dataSource.data),this.rowClickEventIndicator.emit(),e.preventDefault())}ngOnDestroy(){this.selection.clear(),this.treeTableService.activeParentTracker=[]}
8001ngOnInit(){this.dataSource.filterPredicate=(e,n)=>{let r=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"",o=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"";return e[o].includes(n)||!!e[r]}}rowClickHandler(e,n){if(!this.isSelectable()){this.handleRowClickEvent(e,n);return}let r=n.shiftKey,o=n.ctrlKey||n.metaKey,a=this.dataSource.data.indexOf(e);r&&this.lastSelectedIndex!==void 0?this.handleShiftSelection(a):o?this.handleCtrlSelection(e,a):this.handleSingleSelection(e,a),this.handleRowClickEvent(e,n)}collapseRow(e,n){"expandable"in this.tableProperties&&this.tableProperties.expandable===!1||(this.treeTableService.toggleRowCollapse(e,this.dataSource,this.arrayHoldingProp,this.tableProperties.collapseBy,this.tableProperties.updateChildFn),this.rowClickEventIndicator.emit(n))}showSortChange(e){this.matSortDirection=e.direction,this.matSortActive=e.active,this.dataSource.data=this.treeTableService.sort(this.dataSource,this.tableProperties.arrayHoldingProp,this.tableProperties.sortParentId,e,this.tableProperties.sortParents,this.tableProperties.sortChildren)}setDataSourceData(e,n=!1){this.clearSelection(),n||(this.treeTableService.activeParentTracker=[]),this.dataSource.data=e,n&&this.recollapseRows()}setResultsLength(e){this.tableProperties.isPaginationEnabled!==void 0&&this.tableProperties.isPaginationEnabled&&(this.resultsLength=e)}clearSelection(){this.selection.clear()}recollapseRows(){setTimeout(()=>{let e=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"",n=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"";this.dataSource=this.treeTableService.collapseRows(this.dataSource,e),this.dataSource=this.treeTableService.expandCollapsedRows(this.dataSource,e,n)})}collapseRows(){let e=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"";this.treeTableService.activeParentTracker=[],this.dataSource=this.treeTableService.collapseRows(this.dataSource,e)}expandRows(){if(this.tableProperties.sortParentId){let e=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"",n=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"",r=this.dataSource.data.filter(o=>o[e]);this.treeTableService.activeParentTracker=r.map(o=>o[n]),this.dataSource=this.treeTableService.expandCollapsedRows(this.dataSource,e,this.tableProperties.sortParentId)}}find(e){let n=this.tableProperties.arrayHoldingProp?this.tableProperties.arrayHoldingProp:"",r=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"",o=this.dataSource.data.filter(a=>a[n]);this.treeTableService.activeParentTracker=o.map(a=>a[r]),this.recollapseRows(),this.dataSource.filter=e,setTimeout(()=>this.collapseRowsWithEmptySearchRecords(o),50)}contextMenuHandler(e,n){return this.rowClickHandler(e,n),!1}handleDragStart(e,n){e.dataTransfer?.setData("foo","bar"),e.dataTransfer?.setDragImage(this.emptyItemForDragAndDrop?.nativeElement,0,0),this.handleDragStartEvent.emit(n)}handleDragOver(e,n){e.preventDefault(),this.handleDragOverEvent.emit({event:e,row:n})}handleDrop(e,n){e.preventDefault(),this.handleDropEvent.emit(n)}handleDragEnd(e,n){this.handleDragEndEvent.emit(n)}setTableInactive(){this.isTableActive=!1}setTableActive(){this.isTableActive=!0}isSelectable(){return this.tableProperties.selectable!==!1}isSameDataSelected(){return this.dataSource.data.filter(n=>!this.selection.selected.some(r=>n.id===r.id)).length<=0}handleShiftSelection(e){let n=Math.min(this.lastSelectedIndex,e),r=Math.max(this.lastSelectedIndex,e);this.selection.clear();for(let o=n;o<=r;o++)this.selection.select(this.dataSource.data[o])}handleCtrlSelection(e,n){this.selection.isSelected(e)?this.selection.deselect(e):this.selection.select(e),this.lastSelectedIndex=n}handleSingleSelection(e,n){this.selection.clear(),this.selection.select(e),this.lastSelectedIndex=n}handleRowClickEvent(e,n){n&&this.isCollapsedButtonClicked(n)?this.collapseRow(e,n):this.rowClickEventIndicator.emit(n)}isCollapsedButtonClicked(e){return e?.target?.parentElement?.classList.contains(QR)}collapseRowsWithEmptySearchRecords(e){let n=this.tableProperties.collapseBy?this.tableProperties.collapseBy:"",r=this.dataSource.filteredData,o;r.forEach((a,s)=>{e.includes(a)&&(e.includes(o)&&this.treeTableService.activeParentTracker.splice(this.treeTableService.activeParentTracker.indexOf(o[n]),1),s+1===r.length&&this.treeTableService.activeParentTracker.splice(this.treeTableService.activeParentTracker.indexOf(a[n]),1)),o=a}),this.changeDetector.markForCheck()}processData(e){if(e.columnSettings!==void 0){this.displayedColumns=[],e.columnSettings.forEac
8001h(r=>{this.displayedColumns.push(r.column)}),this.firstColumn=this.displayedColumns[0];let n=this.dataSource.data;this.dataSource.data=[],this.setDataSourceData(n)}return e.arrayHoldingProp!==void 0&&(this.arrayHoldingProp=e.arrayHoldingProp),e.arrayHoldingPropCount!==void 0&&(this.arrayHoldingPropCount=e.arrayHoldingPropCount),e.matSortDirection&&(e.matSortDirection=e.matSortDirection),e}static{this.\u0275fac=function(n){return new(n||t)(E(_w),E(Ee))}}static{this.\u0275cmp=k({type:t,selectors:[["app-sn-mat-tree-table"],["sn-mat-tree-table"]],viewQuery:function(n,r){if(n&1&&ve(Wge,5)($ge,5),n&2){let o;H(o=U())&&(r.emptyItemForDragAndDrop=o.first),H(o=U())&&(r.matHeaderRow=o.first)}},hostBindings:function(n,r){n&1&&T("keydown",function(a){return r.handleKeyboardEvent(a)},qo)},inputs:{tableProperties:"tableProperties"},outputs:{rowClickEventIndicator:"rowClickEventIndicator",handleDragEndEvent:"handleDragEndEvent",handleDragOverEvent:"handleDragOverEvent",handleDragStartEvent:"handleDragStartEvent",handleDropEvent:"handleDropEvent"},standalone:!1,decls:8,vars:10,consts:[["emptyItemForDragAndDrop",""],["onselectstart","return false","onselect","return false;",1,"sn-mat-tree-table"],["matSort","",3,"matSortChange","dataSource","matSortDirection","matSortActive","matSortDisableClear"],[3,"matColumnDef"],[3,"class",4,"matHeaderRowDef"],[3,"ngClass","read-only","draggable","click","dblclick","contextmenu","dragend","dragover","dragstart","drop",4,"matRowDef","matRowDefColumns"],["mat-sort-header","",3,"disabled","class","style",4,"matHeaderCellDef"],[3,"ngClass","class","style",4,"matCellDef"],["mat-sort-header","",3,"disabled"],[3,"ngClass"],[3,"collapsed","showIconButton"],[3,"hasProp","showIcon"],[3,"cellData","itemClass","propsCount","showNumberOfProps"],[3,"click","dblclick","contextmenu","dragend","dragover","dragstart","drop","ngClass","draggable"]],template:function(n,r){n&1&&(u(0,"div",1)(1,"mat-table",2),T("matSortChange",function(a){return r.showSortChange(a)}),He(2,Kge,3,2,"ng-container",3,at),fe(4,Xge,1,3,"mat-header-row",4)(5,Zge,2,8,"mat-row",5),c()(),x(6,"span",null,0)),n&2&&(l(),Be(r.tableProperties.tableClasses||"mat-elevation-z8"),g("matSortActive",ri(r.matSortActive))("matSortDisableClear",ri(r.tableProperties.matSortDisableClear?r.tableProperties.matSortDisableClear:!1))("dataSource",r.dataSource)("matSortDirection",r.matSortDirection),l(),Ue(r.tableProperties.columnSettings),l(2),g("matHeaderRowDef",r.displayedColumns),l(),g("matRowDefColumns",r.displayedColumns))},dependencies:[cr,Js,tl,ol,nl,el,al,il,rl,sl,ll,Ir,Qs,ZR,aM,JR,Qh,lM,cM,dM,Jh],styles:[`.sn-mat-tree-table{width:100%;overflow-x:auto}.sn-mat-tree-table .above{background:#deb887;border:1px solid burlywood}.sn-mat-tree-table .below{background:#8a2be2;border:1px solid blueviolet}.sn-mat-tree-table .center{background:#f0f;border:1px solid fuchsia}.sn-mat-tree-table mat-table{width:fit-content;min-width:100%;max-width:1350px}.sn-mat-tree-table mat-table mat-header-cell:first-of-type.fill-arrow-space{padding:0 4px 0 38px}.sn-mat-tree-table mat-table mat-row{transition:all .1s ease-out;min-height:35px}.sn-mat-tree-table mat-table mat-row.shine{background-color:#ff0}.sn-mat-tree-table mat-table mat-row.bundle-highlight{background-color:#daa94d2a}.sn-mat-tree-table mat-table mat-row.disposition-highlight mat-cell:first-of-type{padding-left:38px}.sn-mat-tree-table mat-table mat-row.children-highlight{margin-left:20px}.sn-mat-tree-table mat-table mat-row.children-highlight mat-cell:first-of-type{padding-left:33px!important}.sn-mat-tree-table mat-table mat-row.children-highlight:not(:has(+.children-highlight)){box-shadow:0 4px 6px -4px #0000001a;margin-bottom:20px}.sn-mat-tree-table mat-table mat-row.children-highlight:not(:has(+.children-highlight))+*{border-top:1px solid #e0e0e0}.sn-mat-tree-table mat-table mat-row:hover{cursor:pointer;background-color:#0000000d}.sn-mat-tree-table mat-table mat-row.read-only:hover{cursor:default;background-color:transparent}.sn-mat-tree-table mat-table mat-row.highlighted{border:1px solid #0099ff;background-color:#0099ff0d}.sn-mat-tree-table mat-table mat-row.bundle-highlighted{border:.5px solid #e7a236;background-color:#e7a2360d}.sn-mat-tree-table mat-table mat-row .colored-mat-icon{color:#09f}.sn-mat-tree-table mat-table mat-row .colored-bundle-mat-icon{color:#e7a236}.sn-mat-tree-table mat-table mat-row .parent-highlight{padding-right:42px}.sn-mat-tree-table mat-table mat-row mat-cell:first-of-type.fill-arrow-space{padding:0 4px 0 48px}.sn-mat-tree-table mat-cell span{overflow:hidden;width:auto;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;justify-content:center;align-content:space-around}.sn-mat-tree-table mat-cell span:hover{text-overflow:clip;white-space:normal;word-break:break-all}.sn-mat-tree-table mat-cell span .number-of-props{font-style:italic;font-size:8pt;color:gray}.sn-mat-tree-table mat-header-cell,.sn-mat-tree-table mat-cell{min-width:100px}.sn-mat-tree-table mat-header-cell:not(:first-of-type):not(:last-of-type),.sn-mat-tree-table mat-cell:not(:first-of-type):not(:last-of-type){padding:0 .25rem}.sn-mat-tree-table mat-header-cell:first-of-type,.sn-mat-tree-table mat-cell:first-of-type{padding-right:.25rem}.sn-mat-tree-table mat-header-cell:last-of-type,.sn-mat-tree-table mat-cell:last-of-type{padding-left:.25rem}.sn-mat-tree-table mat-cell:first-of-type{padding-left:0}.sn-mat-tree-table .bold{font-weight:700}.sn-mat-tree-table .red{color:red}.sn-mat-tree-table .italic{font-style:italic}.sn-mat-tree-table .x-start .mat-sort-header-button{text-align:left}.sn-mat-tree-table .x-start{justify-content:flex-start;text-align:left}.sn-mat-tree-table .x-center .mat-sort-header-button{text-align:center}.sn-mat-tree-table .x-center{justify-content:center;text-align:center}.sn-mat-tree-table .x-end .mat-sort-header-button{text-align:right}.sn-mat-tree-table .x-end{justify-content:flex-end;text-align:right}.sn-mat-tree-table .y-start .mat-sort-header-button{text-align:left}.sn-mat-tree-table .y-start{align-items:flex-start;text-align:left}.sn-mat-tree-table .y-center .mat-sort-header-button{text-align:center}.sn-mat-tree-table .y-center{align-items:center;text-align:center}.sn-mat-tree-table .y-end .mat-sort-header-button{text-align:right}.sn-mat-tree-table .y-end{align-items:flex-end;text-align:right}.sn-mat-tree-table .at-span-margin-left span{margin-left:17px}.sn-mat-tree-table .remain-text-ellipsis mat-cell span:hover{text-overflow:ellipsis!important;white-space:nowrap!important} 8002`],encapsulation:2,changeDetection:0})}}return t})();var Jge=[Kc,k_,w_,A_,_o],e_e=[_w],uM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({providers:[e_e],imports:[Jge]})}}return t})();var t_e=["*"];function n_e(t,i){if(t&1&&(u(0,"mat-icon"),h(1),c()),t&2){let e=_();l(),S(e.icon)}}var y5=(()=>{class t{constructor(){this.mainButtonName="",this.loading=!1,this.disabled=!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-button-menu"]],inputs:{themeType:"themeType",mainButtonName:"mainButtonName",loading:"loading",icon:"icon",disabled:"disabled"},standalone:!1,ngContentSelectors:t_e,decls:6,vars:6,consts:[["menu","matMenu"],["mat-raised-button","",3,"color","matMenuTriggerFor","disabled","loading"]],template:function(n,r){if(n&1&&(Ie(),u(0,"button",1),v(1,n_e,2,1,"mat-icon"),h(2),c(),u(3,"mat-menu",null,0),re(5),c()),n&2){let o=ye(4);g("color",r.themeType)("matMenuTriggerFor",o)("disabled",r.disabled)("loading",r.loading),l(
8002),y(r.icon?1:-1),l(),se(" ",r.mainButtonName,` 8003`)}},dependencies:[Yn,Gn,Zs,fd,ac],encapsulation:2})}}return t})();var mM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-close-icon-button"]],standalone:!1,decls:3,vars:1,consts:[["mat-icon-button","",1,"close-button",3,"mat-dialog-close"],[1,"close-icon"]],template:function(n,r){n&1&&(u(0,"button",0)(1,"mat-icon",1),h(2,"close"),c()()),n&2&&g("mat-dialog-close",!0)},dependencies:[fr,qC,Gn],styles:[".close-button[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}"]})}}return t})();var r_e=["*"],o_e=(t,i,e,n)=>({classic:t,"classic-font-colored":i,"colored-background":e,"colored-background-thick":n});function a_e(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),S(e.icon)}}var s_e=(()=>{class t{constructor(){this.disabled=!1,this.loading=!1,this.thick=!1,this.clickAction=new V}click(){this.clickAction.emit()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-select-button"]],inputs:{themeType:"themeType",disabled:"disabled",loading:"loading",thick:"thick",icon:"icon"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:r_e,decls:3,vars:10,consts:[["mat-raised-button","",3,"click","disabled","loading","color","ngClass"],[1,"icon-margin-right"]],template:function(n,r){n&1&&(Ie(),u(0,"button",0),T("click",function(){return r.click()}),v(1,a_e,2,1,"mat-icon",1),re(2),c()),n&2&&(g("disabled",r.disabled)("loading",r.loading)("color",r.themeType)("ngClass",tI(5,o_e,r.themeType==="primary",r.themeType==="accent",r.themeType==="warn",r.themeType==="warn"&&r.thick)),l(),y(r.icon?1:-1))},dependencies:[Yn,Gn,cr,ac],styles:["button[_ngcontent-%COMP%]{width:110px;border-radius:50px;opacity:1;letter-spacing:0}.classic[_ngcontent-%COMP%]{border:1px solid #E6E6E6;box-shadow:none;color:#000}.classic-font-colored[_ngcontent-%COMP%]{height:30px;border:1px solid #E6E6E6;box-shadow:none;color:#c81b1e}.colored-background[_ngcontent-%COMP%]{height:30px;color:#fff}.colored-background-thick[_ngcontent-%COMP%]{height:60px;color:#fff}"]})}}return t})();function l_e(t,i){if(t&1&&(u(0,"mat-label",1),h(1),c()),t&2){let e=_();l(),se("",e.labelName,":")}}function c_e(t,i){if(t&1&&(u(0,"mat-checkbox",2),h(1),c()),t&2){let e=i.$implicit;g("formControl",e.control),l(),se(" ",e.name," ")}}var d_e=(()=>{class t{constructor(){this.checkboxes=[]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-filtering-checkboxes"]],inputs:{labelName:"labelName",checkboxes:"checkboxes"},standalone:!1,decls:4,vars:1,consts:[[1,"filtering-checkboxes"],[1,"label"],["color","warn",1,"checkbox",3,"formControl"]],template:function(n,r){n&1&&(u(0,"div",0),v(1,l_e,2,1,"mat-label",1),He(2,c_e,2,2,"mat-checkbox",2,at),c()),n&2&&(l(),y(r.labelName?1:-1),l(),Ue(r.checkboxes))},dependencies:[qe,ir,Xe,$e],styles:[".filtering-checkboxes[_ngcontent-%COMP%]{display:flex;flex-direction:row;place-content:center flex-start;align-items:center;padding-bottom:1.5rem}.filtering-checkboxes[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-right:1rem}.filtering-checkboxes[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]:not(:last-of-type){margin-right:1rem}"]})}}return t})();var Cc=(function(t){return t.CREATE_CHECKBOX="createContractorFC",t.SHORT_NAME="contractorShortNameFC",t.FOR_CURRENT_LOGIN_ONLY_CHECKBOX="contractorOnlyForLoginFC",t})(Cc||{});var Wd=(()=>{class t{constructor(e,n,r,o){this.contractorService=e,this.parameterService=n,this.transferService=r,this.contractorSaveUpdateService=o,this.SHORT_NAME=Cc.SHORT_NAME,this.ONLY_FOR_LOGIN=Cc.FOR_CURRENT_LOGIN_ONLY_CHECKBOX,this.CREATE=Cc.CREATE_CHECKBOX,this.getParameters()}validateContractorExistence(e,n){return this.checkIfContractorExists(e,n).pipe(W(r=>r?B(!1):this.transferService.openDialogPromptAboutAddingNewContractor()),L(r=>{r&&this.enableContractorInput(n)}))}saveContractor(e,n,r){if(!this.getContractorFC(r,this.CREATE)?.value)return B(!1);let o=this.prepareContractor(e,n,r);return this.contractorSaveUpdateService.saveContractor(o)}enableContractorInput(e){this.getContractorFC(e,this.CREATE)?.patchValue(!0),this.getContractorFC(e,this.SHORT_NAME)?.enable(),this.getContractorFC(e,this.ONLY_FOR_LOGIN)?.enable(),e.updateValueAndValidity(),this.getContractorFC(e,this.SHORT_NAME)?.markAsTouched()}toggleContractorOption(e){this.getContractorFC(e,this.CREATE)?.value?this.enableContractorInput(e):this.disableContractorInput(e)}getContractorFC(e,n){return e.get(n)}getParameters(){this.parameterService.getParameter(wt.TRANSFER_CHECK_RECIPIENT).subscribe(e=>{this.isCheckRecipientEnabledFromConfiguration=e})}
8003checkIfContractorExists(e,n){return this.isCheckRecipientEnabledFromConfiguration&&this.getContractorFC(n,this.SHORT_NAME)?.disabled?this.contractorService.checkIfContractorExistsByAccount(e):B(!0)}disableContractorInput(e){this.getContractorFC(e,this.SHORT_NAME)?.disable(),this.getContractorFC(e,this.ONLY_FOR_LOGIN)?.disable(),e.updateValueAndValidity(),e.reset()}setForeignTransferData(e,n){e.bic=n.bank.bic,e.bank1=n.bank.bankName,e.bank2=n.bank.address,e.bank3=n.bank.city,e.bank4=n.bank.country}prepareContractor(e,n,r){let o=P({targetAccount:e.targetAccount,name1:e.name1,name2:e.name2,address1:e.address1,address2:e.address2,shortName:this.getContractorFC(r,this.SHORT_NAME)?.value,onlyForLoggedUser:this.getContractorFC(r,this.ONLY_FOR_LOGIN)?.value||!1,type:n,checkIban:!1},uc.from(e.idNipPesel)?.toContractorFields());return n===ct.FOREIGN_TRANSFER&&this.setForeignTransferData(o,e),o}static{this.\u0275fac=function(n){return new(n||t)(F(br),F(qr),F(Bo),F(Th))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function u_e(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.contractorShortNameErrorMessage())}}var bw=(()=>{class t{constructor(e,n){this.userFacadeService=e,this.contractorTransferSaveService=n,this.contractorsApiService=m(sE),this.contractorShortNameErrorMessage=Z(""),this.destroyRef=m(dn),this.toggleContractor=new V,this.CONTRACTOR_MAX_LENGTH=20,this.isCreateContractorCheckBoxDisabled=!1,this.createContractorFC=new z(!1),this.contractorShortNameFC=new z("",[G.required,G.maxLength(this.CONTRACTOR_MAX_LENGTH),G.pattern(ue.namePattern)]),this.contractorOnlyForLoginFC=new z(!1),ut(this.contractorShortNameFC.statusChanges,this.contractorShortNameFC.valueChanges).pipe(hn()).subscribe(()=>this.updateContractorShortNameErrorMessage())}updateContractorShortNameErrorMessage(){this.contractorShortNameFC.hasError("required")?this.contractorShortNameErrorMessage.set("Skr\xF3t nazwy kontrahenta jest wymagany"):this.contractorShortNameFC.hasError("email")?this.contractorShortNameErrorMessage.set(wh):this.contractorShortNameFC.hasError("exists")?this.contractorShortNameErrorMessage.set("Podany kontrahent ju\u017C istnieje"):this.contractorShortNameErrorMessage.set("")}toggleContractorOption(){this.contractorTransferSaveService.toggleContractorOption(this.contractorFG),this.toggleContractor.emit()}ngOnInit(){this.initForm(),this.contractorShortNameFC.valueChanges.pipe(hn(this.destroyRef),Al(1),hi(500),It(),W(e=>this.contractorsApiService.existsBy(e)),ae(e=>e),L(()=>{this.contractorShortNameFC.setErrors({exists:!0})})).subscribe()}initForm(){this.contractorShortNameFC.disable(),this.contractorOnlyForLoginFC.disable(),this.contractorFG.setControl(Cc.CREATE_CHECKBOX,this.createContractorFC),this.contractorFG.setControl(Cc.SHORT_NAME,this.contractorShortNameFC),this.contractorFG.setControl(Cc.FOR_CURRENT_LOGIN_ONLY_CHECKBOX,this.contractorOnlyForLoginFC),this.isCreateContractorCheckBoxDisabled=!this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT])}static{this.\u0275fac=function(n){return new(n||t)(E(wi),E(Wd))}}static{this.\u0275cmp=k({type:t,selectors:[["app-create-contractor-input"]],inputs:{contractorFG:"contractorFG"},outputs:{toggleContractor:"toggleContractor"},standalone:!1,decls:10,vars:6,consts:[[1,"flex-col"],[3,"change","formControl","disabled"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","type","text","required","",3,"formControl","maxlength"],[3,"formControl"]],template:function(n,r){n&1&&(u(0,"mat-card-content",0)(1,"mat-checkbox",1),T("change",function(){return r.toggleContractorOption()}),h(2," Automatycznie stw\xF3rz kontrahenta "),c(),u(3,"mat-form-field",2)(4,"mat-label"),h(5,"Skr\xF3t nazwy kontrahenta"),c(),x(6,"input",3),v(7,u_e,2,1,"mat-error"),c(),u(8,"mat-checkbox",4),h(9,"Kontrahent dost\u0119pny tylko dla tego loginu "),c()()),n&2&&(l(),g("formControl",r.createContractorFC)("disabled",r.isCreateContractorCheckBoxDisabled),l(5),g("formControl",r.contractorShortNameFC)("maxlength",r.CONTRACTOR_MAX_LENGTH),l(),y(r.contractorShortNameFC.invalid?7:-1),l(),g("formControl",r.contractorOnlyForLoginFC))},dependencies:[Ve,qe,St,HC,ir,et,Je,Xe,mn,Bi,$e,Bt],styles:["[_nghost-%COMP%]{display:block}",".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();function m_e(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.targetAccountFC.getError("invalidIban"))}}function p_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Niepoprawny numer rachunku"),c())}function h_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Brak kodu kraju. Dopisz kod kraju do numer rachunku lub wybierz kraj z listy"),c())}function f_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Nieprawid\u0142owa d\u0142ugo\u015B\u0107 IBANu dla wybranego kraju"),c())}
8003function g_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Kraj IBANu nie odpowiada kodowi BIC"),c())}function __e(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),se(" ",e.TARGET_ACCOUNT_PASTED)}}var ef=(()=>{class t{constructor(){this.bankName="",this.buttonClickAction=new V,this.TARGET_ACCOUNT_PASTED=nE,this.IBAN_MAX_LENGTH=35,this.targetAccountPasted=!1,this.contractorBtnDisable=!1}openContractorsDialog(){this.targetAccountPasted=!1,this.buttonClickAction.emit()}pressKey(){this.targetAccountPasted=!1}ngOnInit(){this.contractorBtnDisable=this.dialogMode===Me.IMPORT||this.dialogMode===Me.EDIT}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-target-account-input"]],inputs:{targetAccountFC:"targetAccountFC",allLayoutFG:"allLayoutFG",bankName:"bankName",dialogMode:"dialogMode"},outputs:{buttonClickAction:"buttonClickAction"},standalone:!1,decls:19,vars:11,consts:[[1,"flex-row","justify-between","items-center","gap-20"],["appearance","outline",1,"flex-85"],["autocomplete","off","matInput","","required","","type","text",3,"paste","keydown","formControl","maxlength"],[3,"targetAccount"],[1,"red-hint"],[1,"blue-hint"],[1,"view-button"],["mat-raised-button","",3,"click","disabled"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),h(3,"Rachunek"),c(),u(4,"input",2),T("paste",function(){return r.targetAccountPasted=!0})("keydown",function(){return r.pressKey()}),c(),v(5,m_e,2,1,"mat-error"),v(6,p_e,2,0,"mat-error"),v(7,h_e,2,0,"mat-error"),v(8,f_e,2,0,"mat-error"),v(9,g_e,2,0,"mat-error"),u(10,"mat-error"),x(11,"app-target-account-error",3),c(),u(12,"mat-hint"),v(13,__e,2,1,"span",4),u(14,"span",5),h(15),c()()(),u(16,"div",6)(17,"button",7),T("click",function(){return r.openContractorsDialog()}),h(18,"Przegl\u0105daj"),c()()()),n&2&&(l(4),g("formControl",r.targetAccountFC)("maxlength",r.IBAN_MAX_LENGTH),l(),y(r.targetAccountFC.hasError("invalidIban")?5:-1),l(),y(r.targetAccountFC.hasError("incorrectIban")?6:-1),l(),y(r.targetAccountFC.hasError("noCountrySpecified")?7:-1),l(),y(r.targetAccountFC.hasError("incorrectLength")?8:-1),l(),y(r.targetAccountFC.hasError("ibanCountryCodeDoesNotMatchBic")?9:-1),l(2),g("targetAccount",r.targetAccountFC),l(2),y(r.targetAccountPasted?13:-1),l(2),se(" ",r.bankName),l(2),g("disabled",r.contractorBtnDisable))},dependencies:[Ve,qe,oa,St,Yn,et,Je,Xe,mn,Bi,$e,Bt,pc],styles:["[_nghost-%COMP%]{display:block}.view-button[_ngcontent-%COMP%]{height:60px;margin-top:5px}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.items-center[_ngcontent-%COMP%]{align-items:center}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-85[_ngcontent-%COMP%]{flex:1 1 85%;max-width:85%;box-sizing:border-box}"]})}}return t})();function v_e(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}var y_e=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.minDate=new Date,this.dateFormat=je,this.details=[],this.ButtonLabels=tt,this.newExecutionDateFC=new z}ngOnInit(){this.newExecutionDateFC.setValue($t(new Date,je)),this.newExecutionDateFC.setValidators(G.required),this.minDate=kn(new Date),this.details=this.data.details}cancelAction(){this.dialogRef.close("")}resetAction(){this.newExecutionDateFC.setValue(null)}confirmAction(){this.dialogRef.close(wn.formatDate(this.newExecutionDateFC.value))}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-check-date-dialog"]],standalone:!1,decls:16,vars:9,consts:[["resultPicker",""],[1,"flex-col","gap-05rem"],[1,"message-wrapper"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","placeholder","Podaj date","required","","readonly","",3,"formControl","matDatepicker","min"],["matSuffix","",3,"for"],["disabled","false"],[3,"cancelAction","resetAction","confirmAction","confirmDisabled","buttonLabelConfirm"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content",1)(4,"h4",2),h(5),c(),u(6,"mat-form-field",3)(7,"mat-label"),h(8,"Data wykonania"),c(),x(9,"input",4)(10,"mat-datepicker-toggle",5)(11,"mat-datepicker",6,0),u(13,"mat-error"),v(14,v_e,2,0,"span"),c()()(),u(15,"app-action-buttons-panel",7),T("cancelAction",function(){return r.cancelAction()})("resetAction",function(){return r.resetAction()})("confirmAction",function(){return r.confirmAction()}),c()()),n&2){let o=ye(12);l(2),S(r.data.title),l(3),S(r.data.message),l(4),g("formControl",r.newExecutionDateFC)("matDatepicker",o)("min",r.minDate),l(),g("for",o),l(4),y(r.
8003newExecutionDateFC.hasError("required")?14:-1),l(),g("confirmDisabled",r.newExecutionDateFC.invalid)("buttonLabelConfirm",r.ButtonLabels.OK)}},dependencies:[Ve,qe,St,Ln,zi,pi,Ri,et,Mt,Nt,Ot,Je,Xe,mn,$e,Bt,Tt],styles:[".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".gap-05rem[_ngcontent-%COMP%]{gap:.5rem}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var C_e=t=>({"basic-table-row-highlight":t});function D_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Skr\xF3t nazwy"),c())}function E_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.shortName)}}function w_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Nazwa"),c())}function x_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.name1)}}function S_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Rachunek"),c())}function T_e(t,i){if(t&1&&(u(0,"mat-cell",37),be(1,"ibanFormatPipe"),u(2,"span"),h(3),be(4,"ibanFormatPipe"),c()()),t&2){let e=i.$implicit;g("matTooltip",ri(Fe(1,3,e.targetAccount))),l(3),S(Fe(4,5,e.targetAccount))}}function I_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Typ kontrahenta"),c())}function A_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),be(3,"contractorTypePipe"),c()()),t&2){let e=i.$implicit;l(2),S(Fe(3,1,e.type))}}function k_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Grupa"),c())}function R_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),S(e.group)}}function M_e(t,i){t&1&&x(0,"mat-header-row",38)}function N_e(t,i){if(t&1){let e=Se();u(0,"mat-row",39),T("click",function(r){let o=te(e).$implicit,a=_();return ne(a.rowClickHandler(o,r))}),c()}if(t&2){let e=i.$implicit,n=_();g("ngClass",lo(1,C_e,n.selection.selected.includes(e)))}}var La=(()=>{class t extends zR{constructor(e,n,r,o,a,s,d,p,f){super(e,n,r,o,d,a,p),this.contractorService=e,this.userFacadeService=n,this.formBuilder=r,this.notificationService=o,this.dialog=a,this.dialogRef=s,this.storage=d,this.spinnerService=p,this.dialogData=f}ngOnInit(){super.ngOnInit(),this.contractorsParameters=this.getContractorsSearchParams(this.dialogData.message),this.refreshData().subscribe(),this.filterExpansionPanel.close()}confirmChoice(){this.dialogRef.close(this.selection.selected[0])}cancelChoice(){this.dialogRef.close()}static{this.\u0275fac=function(n){return new(n||t)(E(br),E(wi),E(Vi),E(Le),E(mt),E(Ze),E(Na),E($r),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-contractor-dialog"]],standalone:!1,features:[he],decls:90,vars:31,consts:[["filterExpansionPanel",""],[2,"margin-bottom","10px"],[1,"flex-col",3,"formGroup"],["appearance","outline"],["autocomplete","off","matInput","","name","shortNameFC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","name1FC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","groupFC","type","text",3,"formControl"],["autocomplete","off","matInput","","name","accountFC","type","text",3,"keyup","formControl"],[1,"gap-02rem"],[3,"clickAction"],[1,"gap-02rem",3,"isDialog"],["mainButtonName","Dodaj",3,"disabled"],["hint","w tym ZUS",3,"clickAction"],[3,"clickAction","disabled"],["mainButtonName","Eksport"],["disabled","","mat-menu-item",""],["icon","open_in_browser",3,"clickAction"],[3,"importCompleted"],[3,"length","pageSize","showFirstLastButtons"],[1,"table-wrapper","flex-col"],[1,"table"],["aria-label","Brak kontrahent\xF3w","matSort","","matSortDisableClear","true",1,"flex-1",3,"dataSource"],["matColumnDef","shortName"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name1"],["matColumnDef","targetAccount"],["matTooltipShowDelay","1000",3,"matTooltip",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","group"],["class","sticky-header-filter default-sticky",4,"matHeaderRowDef","matHeaderRowDefSticky"],["ngDefaultControl","",3,"ngClass","click",4,"matRowDef","matRowDefColumns"],[1,"details-wrapper"],[1,"details-panel",3,"expanded"],[1,"details-body",3,"details","areDetailsVisible"],[3,"cancelAction","confirmAction","withResetButton","confirmDisabled","buttonLabelConfirm"],["mat-sort-header",""],["matTooltipShowDelay","1000",3,"matTooltip"],[1,"sticky-header-filter","default-sticky"],["ngDefaultControl","",3,"click","ngClass"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"mat-expansion-panel",1,0)(7,"mat-expansion-panel-header")(8,"mat-panel-title"),h(9),c()(),u(10,"form",2)(11,"mat-form-field",3)(12,"mat-label"),h(13,"Skr\xF3t nazwy"),c(),x(14,"input",4),c(),u(15,"mat-form-field",3)(16,"mat-label"),h(17,"Pe\u0142na nazwa"),c(),x(18,"input",5),c(),u(19,"mat-form-field",3)(20,"mat-label"),h(21,"Grupa"),c(),x(22,"input",6),c(),u(23,"mat-form-field",3)(24,"mat-label"),h(25,"Rachunek"),c(),u(26,"input",7),T("keyup",function(){return r.formatAccount()}),c()(),u(27,"div",8)(28,"app-button",9),T("clickAction",function(){return r.search()}),h(29,"Szukaj kontrahent\xF3w"),c(),u(30,"app-button",9),T("clickAction",function(){return r.resetValues()}),h(31,"Wyczy\u015B\u0107"),c()()()()(),u(32,"app-dialog-section")(33,"app-page-btn-panel",10)(34,"app-button-menu",11)(35,"app-menu-item-button",12),T("clickAction",function(){return r.openDialog(!1,r.ContractorTypeEnum[r.ContractorTypeEnum.NORMAL_TRANSFER])}),h(36),c(),u(37,"app-menu-item-button",9),T("clickAction",function(){return r.openDialog(!1,r.ContractorTypeEnum[r.ContractorTypeEnum.US_TRANSFER])}),h(38),c(),u(39,"app-menu-item-button",9),T("clickAction",function(){return r.openDialog(!1,r.ContractorTypeEnum[r.ContractorTypeEnum.FOREIGN_TRANSFER])}),h(40),c(),u(41,"app-menu-item-button",9),T("clickAction",function(){return r.openDialog(!1,r.ContractorTypeEnum[r.ContractorTypeEnum.VAT_TRANSFER])}),h(42),c()(),u(43,"app-button",13),T("clickAction",function(){return r.openDialog(!0)}),h(44,"Edytuj "),c(),u(45,"app-button",13),T("clickAction",function(){return r.openConfirmationDialog()}),h(46," Usu\u0144 "),c(),u(47,"app-button",13),T("clickAction",function(){return r.openCreationTransferDialog()}),h(48," Stw\xF3rz przelew "),c(),u(49,"app-button",13),T("clickAction",function(){return r.openAssignGroupDialog()}),h(50," Przypisz grup\u0119 "),c(),u(51,"app-button-menu",14)(52,"span",15),h(53,"CSV"),c(),u(54,"app-menu-item-button",16),T("clickAction",function(){return r.s
8003aveCSV()}),u(55,"span"),h(56,"Otw\xF3rz"),c()(),u(57,"span",15),h(58,"XML"),c(),u(59,"app-menu-item-button",16),T("clickAction",function(){return r.saveXML()}),u(60,"span"),h(61,"Otw\xF3rz"),c()()(),u(62,"app-contractors-import",17),T("importCompleted",function(a){return r.afterImportRefreshTable(a)}),c()(),x(63,"mat-paginator",18),u(64,"div",19)(65,"div",20)(66,"mat-table",21),Cn(67,22),fe(68,D_e,2,0,"mat-header-cell",23)(69,E_e,3,1,"mat-cell",24),Dn(),Cn(70,25),fe(71,w_e,2,0,"mat-header-cell",23)(72,x_e,3,1,"mat-cell",24),Dn(),Cn(73,26),fe(74,S_e,2,0,"mat-header-cell",23)(75,T_e,5,7,"mat-cell",27),Dn(),Cn(76,28),fe(77,I_e,2,0,"mat-header-cell",23)(78,A_e,4,3,"mat-cell",24),Dn(),Cn(79,29),fe(80,k_e,2,0,"mat-header-cell",23)(81,R_e,3,1,"mat-cell",24),Dn(),fe(82,M_e,1,0,"mat-header-row",30)(83,N_e,1,3,"mat-row",31),c()(),u(84,"div",32)(85,"mat-expansion-panel",33)(86,"mat-expansion-panel-header"),h(87),c(),x(88,"app-details",34),c()()()()(),u(89,"app-action-buttons-panel",35),T("cancelAction",function(){return r.cancelChoice()})("confirmAction",function(){return r.confirmChoice()}),c()()),n&2&&(l(2),S(r.title),l(7),se(" ",r.filterHeader," "),l(),g("formGroup",r.contractorSearchFG),l(4),g("formControl",r.shortNameFC),l(4),g("formControl",r.name1FC),l(4),g("formControl",r.groupFC),l(4),g("formControl",r.accountFC),l(7),g("isDialog",!0),l(),g("disabled",r.isCreateButtonDisabled),l(2),se(" ",r.contractorTypeNameMap.get(r.ContractorTypeEnum.NORMAL_TRANSFER)," "),l(2),se(" ",r.contractorTypeNameMap.get(r.ContractorTypeEnum.US_TRANSFER)," "),l(2),se(" ",r.contractorTypeNameMap.get(r.ContractorTypeEnum.FOREIGN_TRANSFER)," "),l(2),se(" ",r.contractorTypeNameMap.get(r.ContractorTypeEnum.VAT_TRANSFER)),l(),g("disabled",r.isEditButtonDisabled),l(2),g("disabled",r.isDeleteButtonDisabled),l(2),g("disabled",r.isCreateTransferButtonDisabled),l(2),g("disabled",r.isAssignGroupButtonDisabled),l(14),g("length",r.allContractorsCount)("pageSize",r.pageSize)("showFirstLastButtons",!0),l(3),g("dataSource",r.dataSource),l(16),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(2),g("expanded",!0),l(2),se(" ",r.detailsHeader," "),l(),g("details",r.detailsForDialog)("areDetailsVisible",r.areDetailsVisible),l(),g("withResetButton",!1)("confirmDisabled",r.isSaveBtnDisabled)("buttonLabelConfirm",r.ButtonLabels.CHOOSE))},styles:[".table-wrapper[_ngcontent-%COMP%]{max-height:50vh}.table-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto}.table-wrapper[_ngcontent-%COMP%] mat-cell[_ngcontent-%COMP%], .table-wrapper[_ngcontent-%COMP%] .mat-mdc-cell[_ngcontent-%COMP%]{display:flex;min-height:auto;padding:2px}.table-wrapper[_ngcontent-%COMP%] mat-row[_ngcontent-%COMP%], .table-wrapper[_ngcontent-%COMP%] .mat-mdc-row[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.table-wrapper[_ngcontent-%COMP%] .details-wrapper[_ngcontent-%COMP%]{padding:.1rem 0}.table-wrapper[_ngcontent-%COMP%] .details-wrapper[_ngcontent-%COMP%] .details-panel[_ngcontent-%COMP%]{background-color:#ffffffe6;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gap-02rem[_ngcontent-%COMP%]{gap:.2rem}.flex-1[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}"]})}}return t})();var O_e=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.chosenDateFC=new uo(new Date,{nonNullable:!0,validators:[G.required]}),this.minDate=new Date(new Date().setFullYear(new Date().getFullYear()-1)),this.maxDate=new Date,this.weekendFilter=r=>{let o=new Date(r).getDay();return o!==0&&o!==6}}discard(){this.dialogRef.close({state:!1})}confirm(){this.dialogRef.close({state:!0,date:this.chosenDateFC.getRawValue()})}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-date-picker"]],standalone:!1,decls:12,vars:9,consts:[["picker",""],["appearance","outline"],["autocomplete","off","matInput","",3,"formControl","matDatepicker","max","min","matDatepickerFilter"],["matSuffix","",3,"for"],[3,"cancelAction","confirmAction","withResetButton","confirmDisabled"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"mat-form-field",1)(5,"mat-label"),h(6,"Wybierz dat\u0119"),c(),x(7,"input",2)(8,"mat-datepicker-toggle",3)(9,"mat-datepicker",null,0),c()(),u(11,"app-action-buttons-panel",4),T("cancelAction",function(){return r.discard()})("confirmAction",function(){return r.confirm()}),c()()),n&2){let o=ye(10);l(2),S(r.data.title),l(5),g("formControl",r.chosenDateFC)("matDatepicker",o)("max",r.maxDate)("min",r.minDate)("matDatepickerFilter",r.weekendFilter),l(),g("for",o),l(3),g("withResetButton",!1)("confirmDisabled",r.chosenDateFC.invalid)}},dependencies:[Ve,qe,Ln,zi,pi,Ri,et,Mt,Nt,Ot,Je,Xe,$e,Bt,Tt],encapsulation:2})}}return t})();function F_e(t,i){if(t&1&&(u(0,"mat-option",2),h(1),be(2,"date"),c()),t&2){let e=i.$implicit,n=_();g("value",e),l(),se(" ",Dr(2,2,e,n.dateFormat)," ")}}function P_e(t,i){t&1&&(u(0,"span"),h(1,"Wybierz dat\u0119"),c())}var L_e=(()=>{class t{constructor(e,n,r){this.dialogRef=e,this.notificationService=n,this.data=r,this.availableDates=[],this.dateFormat=je,this.ButtonLabels=tt,this.availableDates=this.data.details,this.selectedDateFC=new z(this.availableDates[0])}confirm(){this.selectedDateFC.valid?this.dialogRef.close(this.selectedDateFC.value):this.notificationService.error("Wybierz dat\u0119 zestawienia, kt\xF3re chcesz pobra\u0107")}close(){this.dialogRef.close()}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Le),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-date-select-dialog"]],standalone:!1,decls:11,vars:4,consts:[["appearance","outline",1,"available-date-field"],["appFocusConfirmOnSelect","",3,"formControl"],[3,"value"],[3,"cancelAction","confirmAction","buttonLabelConfirm","withResetButton"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Wybierz dat\u0119 zestawienia:"),c(),u(3,"app-dialog-content")(4,"mat-form-field",0)(5,"mat-select",1),He(6,F_e,3,5,"mat-option",2,at),u(8,"mat-error"),v(9,P_e,2,0,"span"),c()()()(),u(10,"app-action-buttons-panel",3),T("cancelAction",function(){return r.close()})("confirmAction",function(){return r.confirm()}),c()()),n&2&&(l(5),g("formControl",r.selectedDateFC),l(),Ue(r.availableDates),l(3),y(r.selectedDateFC.hasError("required")?9:-1),l(),g("buttonLabelConfirm",r.ButtonLabels.CHOOSE)("withResetButton",!1))},dependencies:[Ve,St,Qt,si,Mt,Nt,Ot,Xe,$e,um,Tt,un],styles:[".available-date-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function B_e(t,i){t&1&&(u(0,"span"),h(1,":"),c())}function V_e(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"dynamicPipe"),c()),t&2){let e=_();Be(jl("value ",e.cell.cellContent.class)),l(),se(" ",e.cell.pipeToken?sp(2,4,e.cell.cellContent.value,e.cell.pipeToken,e.cell.pipeArgs):e.cell.cellContent.value," ")}}function j_e(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"dynamicPipe"),c()),t&2){let e=_().$implicit,n=_(2);Be(jl("value ",n.cell.cellContent.class)),l(),se(" ",n.cell.pipeToken?sp(2,4,e,n.cell.pipeToken,n.cell.pipeArgs):e," ")}}function H_e(t,i){if(t&1&&(u(0,"div"),h(1),c()),t&2){let e=_().$implicit,n=_(2);
8003Be(jl("value-additions ",n.cell.cellContent.class)),l(),se(" ",e," ")}}function U_e(t,i){if(t&1&&(v(0,j_e,3,8,"span",1),v(1,H_e,2,4,"div",1)),t&2){let e=i.$index;y(e===0?0:-1),l(),y(e!==0?1:-1)}}function z_e(t,i){if(t&1&&(u(0,"div",2),He(1,U_e,2,2,null,null,at),c()),t&2){let e=_();l(),Ue(e.cell.cellContent.value)}}var hM=(()=>{class t{constructor(){this.isCellAnArray=!1}ngOnInit(){this.isCellAnArray=Array.isArray(this.cell.cellContent.value)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-details-row-cell"]],inputs:{cell:"cell"},standalone:!1,decls:5,vars:4,consts:[[1,"key"],[3,"class"],[1,"flex-col"]],template:function(n,r){n&1&&(u(0,"span",0),h(1),v(2,B_e,2,0,"span"),c(),v(3,V_e,3,8,"span",1),v(4,z_e,3,0,"div",2)),n&2&&(l(),se("",r.cell.cellContent.name," "),l(),y(r.cell.cellContent.name!==""?2:-1),l(),y(r.isCellAnArray?-1:3),l(),y(r.isCellAnArray?4:-1))},dependencies:[vm],styles:[".key[_ngcontent-%COMP%]{color:gray;display:inline-block;width:30%;min-width:30%}.value[_ngcontent-%COMP%]{font-weight:700}.value-additions[_ngcontent-%COMP%]{font-size:10px;line-height:11px}
8003.amount-debit[_ngcontent-%COMP%]{color:#b71619}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]})}}return t})();function W_e(t,i){if(t&1&&x(0,"app-details-row-cell",1),t&2){let e=_();g("cell",e.leftCell)}}function $_e(t,i){if(t&1&&x(0,"app-details-row-cell",1),t&2){let e=_();g("cell",e.rightCell)}}var fM=(()=>{class t{set rowDetails(e){this.leftCell=e?._leftCell,this.rightCell=e?._rightCell}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-details-row"]],inputs:{rowDetails:"rowDetails"},standalone:!1,decls:3,vars:2,consts:[[1,"row"],[1,"cell",3,"cell"]],template:function(n,r){n&1&&(u(0,"div",0),v(1,W_e,1,1,"app-details-row-cell",1),v(2,$_e,1,1,"app-details-row-cell",1),c()),n&2&&(l(),y(r.leftCell?1:-1),l(),y(r.rightCell?2:-1))},dependencies:[hM],styles:[".row[_ngcontent-%COMP%]{display:flex;margin-bottom:.4rem}.row[_ngcontent-%COMP%] .cell[_ngcontent-%COMP%]{display:flex;flex:1;overflow-wrap:anywhere}"]})}}return t})();function Y_e(t,i){if(t&1&&x(0,"app-details-row",3),t&2){let e=i.$implicit,n=_(2);Be(n.details.rowClass?n.details.rowClass:n.EMPTY_STRING),g("rowDetails",e)}}function K_e(t,i){if(t&1&&(u(0,"div",0),He(1,Y_e,1,3,"app-details-row",2,at),c()),t&2){let e=_();l(),Ue(e.details.rows)}}function X_e(t,i){if(t&1&&(u(0,"div",8)(1,"span"),h(2),c(),u(3,"span"),h(4),be(5,"currencyFormatPipe"),c(),u(6,"span"),h(7),be(8,"currencyFormatPipe"),c()()),t&2){let e=i.$implicit;l(2),S(e.currency),l(2),S(Fe(5,3,e.currentBalance)),l(3),S(Fe(8,5,e.availableFunds))}}function Z_e(t,i){if(t&1&&(u(0,"div",1)(1,"div",4)(2,"span",5),h(3,"Podsumowanie rachunk\xF3w"),c()(),u(4,"div",6)(5,"div",7)(6,"span"),h(7,"Waluta"),c(),u(8,"span"),h(9,"Saldo"),c(),u(10,"span"),h(11,"Wolne \u015Brodki"),c()(),He(12,X_e,9,7,"div",8,at),c()()),t&2){let e=_();l(12),Ue(e.dataSourceSummary)}}var vw=(()=>{class t{constructor(){this.isSummaryVisible=!1,this.areDetailsVisible=!1,this.EMPTY_STRING=""}get details(){return this._details}set details(e){e?this._details=e:this.isSummaryVisible=!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-details"]],inputs:{isSummaryVisible:"isSummaryVisible",areDetailsVisible:"areDetailsVisible",dataSourceSummary:"dataSourceSummary",details:"details"},standalone:!1,decls:2,vars:2,consts:[[1,"details"],[1,"summary"],[3,"rowDetails","class"],[3,"rowDetails"],[1,"header"],[1,"text-bold"],[1,"content"],[1,"sub-header"],[1,"sub-content"]],template:function(n,r){n&1&&(v(0,K_e,3,0,"div",0),v(1,Z_e,14,0,"div",1)),n&2&&(y(r.areDetailsVisible?0:-1),l(),y(r.isSummaryVisible?1:-1))},dependencies:[fM,Kt],styles:[".details[_ngcontent-%COMP%]{padding:0 .8rem;display:flex;flex-direction:column}.summary[_ngcontent-%COMP%]{padding:0 .8rem;display:flex;flex-direction:column;justify-content:center;color:gray}.summary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-bottom:1rem}.summary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.summary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;justify-content:space-around}.summary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:17rem;text-align:right}.summary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .sub-content[_ngcontent-%COMP%]{margin-bottom:.3rem;display:flex;justify-content:space-around}.summary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .sub-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:17rem;text-align:right}.summary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .sub-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-of-type){font-weight:700;color:#000}.line-divider[_ngcontent-%COMP%]{border-bottom:1px solid lightgrey;padding-top:.2rem}"]})}}return t})();var J_e=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.details=new fm,this.okConfirmation=tt.CONFIRM,this.noConfirmation=tt.CANCEL,this.showCancelBtn=!0,this.details.rows=this.data.details}discard(){this.dialogRef.close({state:!1})}confirm(){this.dialogRef.close({state:!0})}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-exchange-rate-dialog"]],standalone:!1,decls:6,vars:7,consts:[[3,"details","areDetailsVisible"],[3,"cancelAction","confirmAction","withCancelButton","buttonLabelCancel","buttonLabelConfirm","focusConfirmInitially","withResetButton"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Potwierdzenie realizacji"),c(),u(3,"app-dialog-content"),x(4,"app-details",0),c(),u(5,"app-action-buttons-panel",1),T("cancelAction",function(){return r.discard()})("confirmAction",function(){return r.confirm()}),c()()),n&2&&(l(4),g("details",r.details)("areDetailsVisible",!0),l(),g("withCancelButton",r.showCancelBtn)("buttonLabelCancel",r.noConfirmation)("buttonLabelConfirm",r.okConfirmation)("focusConfirmInitially",!0)("withResetButton",!1))},dependencies:[Mt,Nt,Ot,Tt,vw],encapsulation:2})}}return t})();
8003var gM=(function(t){return t.STATEMENTS="STATEMENTS",t.STATEMENTS_PLUS="STATEMENTS_PLUS",t.MASS_STATEMENTS="MASS_STATEMENTS",t.CURRENT="CURRENT",t.HISTORY="HISTORY",t.EDIT_DEPOSIT="EDIT_DEPOSIT",t.REPAYMENTS="REPAYMENTS",t.LOCKS="LOCKS",t.CLOSE_DEPOSIT="CLOSE_DEPOSIT",t.EDIT_FRIENDLY_NAME="EDIT_FRIENDLY_NAME",t.SEARCH="SEARCH",t.MARK_TURNOVER="MARK_TURNOVER",t.NEXT_PAYMENTS="NEXT_PAYMENTS",t.PFR="PRF",t})(gM||{});var C5=["P0","P1","CS","ES","HS"],ebe=["53","51","71","74"],Dm=class{static isCorrectType(i,e){return ebe.includes(i)||C5.includes(e)}static getTransferType(i){return C5.includes(i.to1)?i.to1:i.td}};var ni=(function(t){return t.DECADE="D - dekada",t.YEAR="R - rok",t.HALF_YEAR="P - p\xF3\u0142rocze",t.QUARTER_YEAR="K - kwarta\u0142",t.MONTH="M - miesi\u0105c",t.DAY="D - dzie\u0144",t.EMPTY="",t})(ni||{});var tf=(function(t){return t.TI="TI",t.OKR="OKR",t.SFP="SFP",t.TXT="TXT",t})(tf||{});var nf=class{static parse(i){let e={identifier:{type:vn.EMPTY,value:""},period:{type:ni.EMPTY,year:"",number:""},sfp:"",commitmentIdentification:""};i=i.trim(),i=i.replace(/\/\//g,"");let n=i.split("/");return n.forEach(this.updateDataFromParsedTitle(e,n)),e}static updateDataFromParsedTitle(i,e){return(n,r)=>{switch(n){case tf.TI:i.identifier=this.getIdentifier(e[r+1]);break;case tf.OKR:i.period=this.getPeriod(e[r+1]);break;case tf.SFP:i.sfp=e[r+1];break;case tf.TXT:i.commitmentIdentification=e[r+1];break;default:break}}}static getIdType(i){switch(i.charAt(0)){case"P":return vn.PESEL;case"R":return vn.REGON;case"N":return vn.NIP;case"1":return vn.DOWOD_OSOBISTY;case"2":return vn.PASZPORT;default:return vn.INNY}}static getPeriodType(i){switch(i){case"J":return ni.DAY;case"M":return ni.MONTH;case"D":return ni.DECADE;case"R":return ni.YEAR;case"K":return ni.QUARTER_YEAR;default:return ni.HALF_YEAR}}static getIdentifier(i){return{type:this.getIdType(i.charAt(0)),value:i.slice(1)}}static getPeriod(i){return{year:i.slice(0,2),type:this.getPeriodType(i.charAt(2)),number:i.slice(3)}}};var D5=(()=>{class t{constructor(e,n,r){this.http=e,this.fileService=n,this.notificationService=r}openDuplicatesFile(e,n,r){this.notificationService.default(ze.DATA_DOWNLOADING);let o=this.getParams(n,r);this.http.get(e,{params:o,responseType:vo}).pipe(this.fileService.open(Ra.PDF)).subscribe()}saveDuplicatesFile(e,n,r){this.notificationService.default(ze.DATA_DOWNLOADING);let o=this.getParams(n,r);this.http.get(e,{params:o,responseType:vo}).pipe(this.fileService.save(`wtorniki-hist-${wn.getTodayWithTime()}`,Ra.PDF)).subscribe()}getParams(e,n){return new it().set("accountId",e).set("operationList",n.toString())}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(wd),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var E5=(()=>{class t{sendData(e){this.dataToShare=e}getData(){return this.dataToShare}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var w5=(()=>{class t{constructor(e){this.http=e,this.ibanToShare=new zt(""),this.ibanToShare$=this.ibanToShare.asObservable()}getTransfersForAccount(e,n,r=0){return n.page=r,this.http.post(e,n)}getCountTransferForAccount(e,n){return this.http.post(e+Y1,n)}sendIban(e){this.ibanToShare.next(e)}getIban(){return this.ibanToShare$}getSingleTransfer(e,n,r){let o=new it().set("accountId",r).set("operationId",n);return this.http.get(e,{params:o}).pipe($(a=>yl.mapCurrency(a)))}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ba=class extends Jt{constructor(i=""){super(),this.data={appearance:"dialog",isDialog:!0,message:i},this.panelClass=li.MEDIUM}};var pb=(()=>{class t{transform(e){switch(e){case ul.REGISTERED:return"Zarejestrowany";case ul.NOT_REGISTERED:return"Niezarejestrowany";case ul.CHECK_UNSUCCESSFUL:return"Sprawdzenie rachunku odbiorcy w wykazie podatnik\xF3w VAT nie powiod\u0142o si\u0119";case ul.ERROR:return"ERROR";default:return""}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"whiteListMessage",type:t,pure:!0,standalone:!1})}}return t})();function rbe(t,i){if(t&1&&(u(0,"p",4),h(1),c()),t&2){let e=_();l(),S(e.errorMessage())}}var hb=(()=>{class t{constructor(e,n,r,o,a){this.spinnerService=e,this.whiteListFacadeService=n,this.dialogRef=r,this.data=o,this.errorProviderService=a,this.title="Status weryfikacji VAT",this.message="* Potwierdzenie wraz ze statusem weryfikacji zostanie wygenerowane po przekazaniu do realizacji",this.buttonLabels=tt,this.verificationResult="",this.verificationId="",this.verificationDate="",this.whiteListDTO={},this.errorMessage=Z(void 0)}ngOnInit(){this.getWhiteListInformation()}discard(){this.dialogRef.close({state:!1})}confirm(){this.dialogRef.close({state:!0,whiteListDTO:this.whiteListDTO})}getWhiteListInformation(){this.spinnerService.showSpinner(),this.whiteListFacadeService.check(this.getTargetAccount(),this.getNip()).pipe(this.setInformationOnFrontAndSetWhiteListData(),this.errorProviderService.processError(ze.FETCHING_DATA_ERROR)).subscribe()}
8003getTargetAccount(){return ue.removeWhitespaces(this.data.details.account)}getNip(){return this.data.details.nip}setInformationOnFrontAndSetWhiteListData(){return L(e=>{this.spinnerService.hideSpinner(),this.setInformationOnFront(e),this.setWhiteListDto(e)})}setWhiteListDto(e){this.whiteListDTO=e}setInformationOnFront(e){this.verificationResult=e.verificationResult?"Weryfikacja powiod\u0142a si\u0119":"Weryfikacja nie powiod\u0142a si\u0119",this.verificationState=e.state,this.verificationId=e.requestId,this.verificationDate=e.checkDate.toString(),this.errorMessage.set(e.errorMessage)}static{this.\u0275fac=function(n){return new(n||t)(E($r),E(Ph),E(Ze),E(rt),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-white-list-dialog"]],standalone:!1,decls:29,vars:17,consts:[[1,"flex-row","gap-20"],[1,"flex-col","gap-20"],[1,"text-bold"],["appWhiteList","",3,"whiteList"],[1,"red-text-bold",2,"text-align","center"],[1,"smallGrayText"],[3,"cancelAction","confirmAction","buttonLabelCancel","buttonLabelConfirm","focusConfirmInitially","withResetButton"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"div",0)(5,"div",1)(6,"p",2),h(7,"Bia\u0142a lista:"),c(),u(8,"p",2),h(9,"Wynik weryfikacji:"),c(),u(10,"p",2),h(11,"Identyfikator weryfikacji:"),c(),u(12,"p",2),h(13,"Data weryfikacji:"),c()(),u(14,"div",1)(15,"p"),h(16),c(),u(17,"p",3),h(18),be(19,"whiteListMessage"),c(),u(20,"p"),h(21),c(),u(22,"p"),h(23),be(24,"date"),c()()(),v(25,rbe,2,1,"p",4),u(26,"p",5),h(27),c()(),u(28,"app-action-buttons-panel",6),T("cancelAction",function(){return r.discard()})("confirmAction",function(){return r.confirm()}),c()()),n&2&&(l(2),S(r.title),l(14),S(r.verificationResult),l(),g("whiteList",r.whiteListDTO),l(),S(Fe(19,12,r.verificationState)),l(3),S(r.verificationId),l(2),S(Dr(24,14,r.verificationDate,"yyyy-MM-dd HH:mm:ss")),l(2),y(r.errorMessage()?25:-1),l(2),S(r.message),l(),g("buttonLabelCancel",r.buttonLabels.CANCEL)("buttonLabelConfirm",r.buttonLabels.CONFIRM)("focusConfirmInitially",!0)("withResetButton",!1))},dependencies:[Mt,Nt,Ot,lb,Tt,un,pb],styles:[".smallGrayText[_ngcontent-%COMP%]{font-size:11px;color:gray}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gap-20[_ngcontent-%COMP%]{gap:20px}"]})}}return t})();var _M=(()=>{class t{constructor(){this.parameterService=m(qr),this.accountValue=Z(""),this.accountControlValid=Z(!1),this.currencyValue=Z(""),this.isSorbnetForced=Z(!1),this.allCurrencies=Z([]),this.sourceAccountId=Z(null),this.chargedAccounts=Z([]),this.bankIds=dm(this.parameterService.getParameterAsStringArray(wt.BANK_IDS),{initialValue:[]}),this.isTargetAccountExternal=Ct(()=>{if(!this.accountControlValid())return!1;let e=this.accountValue(),n=vi.stripToNrb(e),r=this.bankIds();return!n||n.length<6||r.length===0?!1:!vi.isOwnBankAccount(e,r)}),this.isWarningVisible=Ct(()=>{if(!this.isTargetAccountExternal()||this.isSorbnetForced())return!1;let e=this.currencyValue();return!!e&&e!=="PLN"}),this.availableCurrencies=Ct(()=>this.isTargetAccountExternal()?["PLN"]:this.allCurrencies()),this.sourceAccountCurrency=Ct(()=>{let e=this.sourceAccountId();return e===null?"":this.chargedAccounts().find(n=>n.accountId===e)?.currency??""}),this.isSourceAccountWarningVisible=Ct(()=>{if(!this.isTargetAccountExternal()||this.isSorbnetForced())return!1;let e=this.sourceAccountCurrency();return!!e&&e!=="PLN"}),this.isTransferBlocked=Ct(()=>this.isWarningVisible()||this.isSourceAccountWarningVisible())}connect(e){let{targetAccountFC:n,currencyFC:r,sourceAccountFC:o,allCurrencies$:a,chargedAccounts$:s}=e;n.valueChanges.pipe(hn(),Re(n.value),L(()=>this.syncAccount(n))).subscribe(),n.statusChanges.pipe(hn(),It(),L(()=>this.syncAccount(n))).subscribe(),r.valueChanges.pipe(hn(),Re(r.value),It(),L(d=>this.currencyValue.set(d||""))).subscribe(),a.pipe(hn(),L(d=>this.allCurrencies.set(d))).subscribe(),o.valueChanges.pipe(hn(),Re(o.value),It(),L(()=>this.syncSourceAccount(o))).subscribe(),o.statusChanges.pipe(hn(),It(),L(()=>this.syncSourceAccount(o))).subscribe(),s.pipe(hn(),L(d=>this.chargedAccounts.set(d??[]))).subscribe()}setSorbnetForced(e){this.isSorbnetForced.set(e)}syncAccount(e){this.accountValue.set(e.value||""),this.accountControlValid.set(e.valid||e.status==="DISABLED")}syncSourceAccount(e){this.sourceAccountId.set(e.value??null)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var $d=(()=>{class t{constructor(e){this.http=e}uploadFile(e,n,r,o){let a=new FormData;a.append("file",e);let s=new it().set("encoding",n).set("handleInvalidChars",String(r));return o&&(s=s.set("transferFileType",o)),this.http.post(Kz,a,{params:s})}importNoBundle(e){return this.http.post(Xz+bh,e)}importToBundle(e,n){return this.http.post(pE+`/${e}`+bh,n)}importNewBundle(e){return this.http.post(pE+bh,e)}saveImportTransfers(e,n){let r=new it().set("validOnly",String(e)).set("checkWhiteList",String(n));return this.http.post(lm,null,{params:r})}getInvalidDispositions(){return this.http.get(lm+bh)}update(e,n,r){return this.http.put(`${r}/${n}`,e)}
8003prepareTransferImportRequest(e,n,r){return{type:e,encoding:n,filePath:r}}prepareBundleCreateRequest(e,n,r,o,a){let s={salary:e,executionDate:n,chargedAccountId:o,name:a};return r?.trim()&&(s.finalExecutionDate=r),s}importSalaryBundle(e){return this.http.post(pE+tR,e)}salaryImportEnable(){return this.http.get(Gz)}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();function obe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),S((e=n.idNipFC.getError("nip"))==null?null:e.message)}}function abe(t,i){if(t&1){let e=Se();u(0,"div",4)(1,"mat-form-field",16)(2,"mat-label"),h(3,"Identyfikator ( NIP )"),c(),u(4,"input",17),T("ngModelChange",function(){te(e);let r=_();return ne(r.uncheckedWhiteListCheckBox())}),c(),u(5,"mat-error"),v(6,obe,2,1,"span"),c()(),u(7,"mat-checkbox",18),T("change",function(){te(e);let r=_();return ne(r.openWhiteListDialog())}),h(8," Sprawd\u017C rachunek w wykazie podatnik\xF3w VAT "),c()()}if(t&2){let e=_();l(4),g("formControl",e.idNipFC)("disabled",!e.isWhiteListEnabled),l(2),y(e.idNipFC.hasError("nip")?6:-1),l(),g("formControl",e.whiteListCheckBoxCheckedFC)("disabled",!e.isWhiteListEnabled||e.targetAccountFC.invalid||e.idNipFC.invalid||e.idNipFC.value.length===0)}}function sbe(t,i){if(t&1&&(u(0,"mat-option",20),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function lbe(t,i){if(t&1&&(u(0,"mat-form-field",6)(1,"mat-label",19),h(2,"Waluta"),c(),u(3,"mat-select",9),He(4,sbe,2,2,"mat-option",20,at),c()()),t&2){let e=_();l(3),g("formControl",e.currencyFC),l(),Ue(e.externalAccountCurrencyService.availableCurrencies())}}function cbe(t,i){if(t&1){let e=Se();u(0,"mat-form-field",7)(1,"mat-label"),h(2,"Data wykonania"),c(),u(3,"input",21),T("focusout",function(){te(e);let r=_();return ne(r.checkExecuteDateFC())}),c(),x(4,"mat-datepicker-toggle",22)(5,"mat-datepicker",null,0),c()}if(t&2){let e=ye(6),n=_();l(3),g("formControl",n.dateOfExecutionFC)("matDatepicker",e)("min",n.minExectionDate),l(),g("for",e)}}function dbe(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function ube(t,i){if(t&1&&(u(0,"mat-form-field",7)(1,"mat-label"),h(2,"Data ost. realizacji"),c(),x(3,"input",24)(4,"mat-datepicker-toggle",22)(5,"mat-datepicker",null,1),u(7,"mat-error"),x(8,"app-last-execution-data-error",25),v(9,dbe,2,0,"span"),c()()),t&2){let e=ye(6),n=_(2);l(3),g("formControl",n.lastExecutionDateFC)("matDatepicker",e)("min",n.minExectionDate),l(),g("for",e),l(4),g("lastExecutionDateFC",n.lastExecutionDateFC),l(),y(n.dateOfExecutionFC.hasError("invalidDate")?9:-1)}}function mbe(t,i){if(t&1&&fe(0,ube,10,6,"mat-form-field",23),t&2){let e=_();g("appShowIfHasAuthority",e.FunctionalAuthority.FUNC_MLYNEK)}}function pbe(t,i){if(t&1){let e=Se();u(0,"mat-checkbox",26),T("change",function(){te(e);let r=_();return ne(r.toggleSorbnetForm())}),h(1," Sorbnet "),c()}if(t&2){let e=_();g("formControl",e.sorbnetFC)}}function hbe(t,i){t&1&&(u(0,"span"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function fbe(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera nieprawid\u0142owe znaki"),c())}function gbe(t,i){t&1&&(u(0,"div",14),h(1,"Przelew na rachunek zewn\u0119trzny mo\u017Ce by\u0107 tylko w walucie PLN, zmie\u0144 walut\u0119!"),c())}function _be(t,i){t&1&&(u(0,"div",14),h(1,"Przelew na rachunek zewn\u0119trzny mo\u017Ce by\u0107 wykonany tylko z rachunku w walucie PLN, zmie\u0144 rachunek obci\u0105\u017Cany!"),c())}var rf=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b,w,A,M){this.dialog=e,this.notificationService=n,this.formBuilder=r,this.dialogRef=o,this.transferImportService=a,this.data=s,this.bankService=d,this.transferService=p,this.contractorTransferService=f,this.errorProviderService=b,this.whiteListFacadeService=w,this.parameterService=A,this.vatService=M,this.fb=m(Er),this.FunctionalAuthority=Ut,this.allCurrencies$=m(ml).getCurrencies(),this.accountService=m(Vo),this.chargedAccounts$=this.accountService.getChargeableAccounts().pipe(Qr(1)),this.sorbnetRequiredService=m(yh),this.isSorbnetTransferRequired=!1,this.externalAccountCurrencyService=m(_M),this.currencyFC=this.fb.nonNullable.control(""),this.minExectionDate=$t(new Date,je),this.bankName="",this.TITLE_MAX_LENGTH=140,this.AMOUNT_MAX_LENGTH=15,this.withConfirmAddNextButton=!0,this.isSaveAndAddButtonDisabled=!1,this.ButtonLabels=tt,this.isPacked=!1,this.isTargetAccountZus=!1,this.isWhiteListEnabled=!1,this.isTransferSorbnetEnabled=!1,this.destroyed$=new O,this.hasSavedChanges=!1,this.allTransfer=s.transferData,this.isPacked=this.allTransfer.packaged,this.dialogMode=s.transferDialogMode,this.withConfirmAddNextButton=this.dialogMode!==Me.EDIT,this.targetAccountFC=new z("",[G.required,Xt.ibanSimplyValidator,G.pattern(ue.ibanPattern)]),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z("",[Xt.currencyValidator,G.required,G.maxLength(this.AMOUNT_MAX_LENGTH)]),this.dateOfExecutionFC=new z(kn(new Date),G.required),this.lastExecutionDateFC=new z(""),this.sorbnetFC=new z,this.idNipFC=new z("",[Lo.check]),this.titleFC=new z("",[G.required,G.maxLength(this.TITLE_MAX_LENGTH),G.pattern(ue.titlePattern)]),this.sourceAccountFC=new z,this.vatAccountInfo$=this.sourceAccountFC.valueChanges.pipe(It((J,j)=>J?.accountId!==j?.accountId),W(J=>this.vatService.getVatFromSelectedAccount(J))),this.recipientFG=new Qn({}),this.contentFG=new Qn({}),this.contractorFG=new Qn({}),this.allLayoutFG=new Qn({}),this.whiteListCheckBoxCheckedFC=new z(!1),this.whiteListFacadeService.isWhiteListEnabled().pipe(L(J=>{this.isWhiteListEnabled=J&&[Me.NEW,Me.REPEAT,Me.EDIT].includes(this.dialogMode)})).subscribe(),this.backdropSubscription=this.dialogRef.backdropClick().subscribe(()=>{this.closeDialog()}),this.externalAccountCurrencyService.connect({targetAccountFC:this.targetAccountFC,currencyFC:this.currencyFC,sourceAccountFC:this.sourceAccountFC,allCurrencies$:this.allCurrencies$,chargedAccounts$:this.chargedAccounts$})}onEscapeKey(){this.closeDialog()}ngOnInit(){this.initItems(),this.getChargeableAccounts().pipe(L(()=>{this.initValues()})).subscribe(),this.observeValues(),this.checkIfSorbnet(),this.observeSorbnetRequirement
8003()}openWhiteListDialog(){let e=new Jt;e.data={details:{account:this.targetAccountFC.value,nip:this.idNipFC.value}},this.whiteListCheckBoxCheckedFC.value===!0&&this.dialog.open(hb,e).afterClosed().pipe(L(n=>{n.state?this.setFieldsWhenStateIsTrue(n):this.setFieldsWhenStateIsFalse()})).subscribe()}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}checkExecuteDateFC(){_d(new Date(this.dateOfExecutionFC.value),new Date(this.minExectionDate))&&this.dateOfExecutionFC.setValue(this.minExectionDate,{emitEvent:!1})}toggleSorbnetForm(){this.sorbnetFC.value?(this.lastExecutionDateFC.disable(),this.lastExecutionDateFC.setValue(""),this.dialogTitle="Przelew zwyk\u0142y - z opcj\u0105 sorbnet"):(this.lastExecutionDateFC.enable(),this.dialogTitle="Przelew zwyk\u0142y"),this.externalAccountCurrencyService.setSorbnetForced(this.isTransferSorbnetEnabled&&this.sorbnetFC.value)}openContractorsDialog(){let e=new Ba(xn.PRZELEW_ZWYKLY);this.dialog.open(La,e).afterClosed().subscribe(n=>{n&&(this.allTransfer=ar.getFromContractor(n),this.setFormControlValues(),this.disableContractorsInput(),this.syncAccountSignals())})}closeDialog(){this.dialogRef.close(this.hasSavedChanges)}reset(){this.recipientFG.reset(),this.contentFG.reset(),this.contractorFG.reset(),this.contractorId=void 0,this.allTransfer=ar.newWithBundleId(this.allTransfer.bundleId,this.allTransfer.sourceAccountId),this.whiteListDTO=null,this.recipientFG.enable(),this.initValues()}pressSaveBtn(e){this.contractorTransferService.validateContractorExistence(this.targetAccountFC.value,this.contractorFG).pipe(ae(n=>!n),W(()=>this.doSaveAction(e))).subscribe()}ngOnDestroy(){this.backdropSubscription.unsubscribe(),this.destroyed$.next(),this.destroyed$.complete()}getFormGroup(){return this.allLayoutFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":case"sorbnet":return this.targetAccountFC;case"rachunek":case"rachunekObciazany":return this.sourceAccountFC;case"dataOstatecznejRealizacji":return this.lastExecutionDateFC;case"kwota":return this.amountFC;case"nazwaSkrot":return this.contractorFG.get(["shortNameFC"]);default:return null}}uncheckedWhiteListCheckBox(){this.whiteListCheckBoxCheckedFC.value&&(this.whiteListCheckBoxCheckedFC.setValue(!1),this.whiteListDTO=null)}getChargeableAccounts(){return this.chargedAccounts$.pipe(L(e=>{this.chargedAccounts=e,this.allLayoutFG.clearValidators()}))}checkIfSorbnet(){this.setSorbnetEnabledParameter(),(this.allTransfer.sorbnet||this.data.transferData.sorbnet)&&this.isTransferSorbnetEnabled?this.sorbnetFC.setValue(!0):this.sorbnetFC.setValue(!1),this.toggleSorbnetForm()}observeSorbnetRequirement(){nn([this.amountFC.valueChanges.pipe(Re(this.amountFC.value)),this.sorbnetFC.valueChanges.pipe(Re(this.sorbnetFC.value))]).pipe(xe(this.destroyed$),W(([e,n])=>this.sorbnetRequiredService.isSorbnetRequired(bt.getTrimmedValue(e),"COMMON").pipe($(r=>r&&!n)))).subscribe(e=>{this.isSorbnetTransferRequired=e})}disableContractorsInput(){this.targetAccountFC.disable(),this.recipientName1FC.hasError("pattern")?this.recipientName1FC.enable():this.recipientName1FC.disable(),this.recipientName2FC.hasError("pattern")?this.recipientName2FC.enable():this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}initValues(){this.setFormControlValues(),this.dialogMode===Me.IMPORT&&(this.applyBundleMode(),this.targetAccountFC.disable()),this.dialogMode===Me.EDIT&&this.applyEditMode(),this.allTransfer.contractorId&&this.disableContractorsInput(),this.isPacked&&this.applyBundleMode(),this.markAllAsTouched()}applyBundleMode(){this.sourceAccountFC.disable(),this.dateOfExecutionFC.disable()}applyEditMode(){this.targetAccountFC.disable(),this.allTransfer.contractorId&&this.disableContractorsInput()}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.contractorFG.markAllAsTouched()}observeValues(){this.targetAccountFC.valueChanges.pipe(xe(this.destroyed$),It(),L(()=>{this.applyIbanFormatInAccount(this.targetAccountFC),this.bankName="",this.syncAccountSignals()}),ae(()=>this.targetAccountFC.valid),W(()=>
8003this.bankService.getDomesticBank(ue.removeWhitespaces(this.targetAccountFC.value))),L(e=>{this.bankName=e?.bankName||"",this.isTargetAccountZus=rz.includes(this.targetAccountFC.value.substr(2,14).replace(/ /g,""))})).subscribe()}syncAccountSignals(){this.externalAccountCurrencyService.syncAccount(this.targetAccountFC)}doSaveAction(e){switch(this.dialogMode){case Me.NEW:case Me.REPEAT:return this.save(e,Zz);case Me.EDIT:return this.save(e,t3);case Me.IMPORT:return this.actionForImportMode(Wz)}}actionForImportMode(e){return this.updateAction(e).pipe(L(n=>this.dialogRef.close(n)),this.errorProviderService.processError(ze.EDITING_ERROR))}save(e,n){if(ue.replaceDoubleQuotesInName([this.recipientName1FC,this.recipientName2FC]),this.isSorbnetTransferRequired)return this.sorbnetRequiredService.getRequiredMessage().pipe(We(1)).subscribe(o=>this.notificationService.formErrors([{inputName:"kwota",errorMessage:o}])),ke;let r=this.getTransferData();return this.allLayoutFG.valid?this.contractorTransferService.saveContractor(r,ct.NORMAL_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(r,n)),this.errorProviderService.processErrorWithLocalFormError(this),L(()=>{this.hasSavedChanges=!0,e?this.reset():this.closeDialog()})):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),ke)}updateAction(e){let n=this.getTransferData();return this.contractorTransferService.saveContractor(n,ct.NORMAL_TRANSFER,this.contractorFG).pipe(W(()=>this.transferImportService.update(n,this.data.transferData.dispositionId,e)))}initItems(){this.recipientFG=this.formBuilder.group({recipientAccountFC:this.targetAccountFC,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC,idNipFC:this.idNipFC}),this.contentFG=this.formBuilder.group({amountFC:this.amountFC,currencyFC:this.currencyFC,executionDateFC:this.dateOfExecutionFC,lastExecutionDateFC:this.lastExecutionDateFC,sorbnetFC:this.sorbnetFC,titleFC:this.titleFC}),this.allLayoutFG=this.formBuilder.group({recipientFG:this.recipientFG,contentFG:this.contentFG,contractorFG:this.contractorFG,sourceFC:this.sourceAccountFC})}getTransferData(){return{address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,amount:this.amountFC.value,currency:this.isTransferSorbnetEnabled&&this.sorbnetFC.value?"PLN":this.currencyFC.value,dateOfExecution:this.dateOfExecutionFC.value,sorbnet:this.isTransferSorbnetEnabled&&!!this.sorbnetFC?.value,lastExecutionDate:this.lastExecutionDateFC.value,name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,sourceAccountId:this.sourceAccountFC.value,targetAccount:ue.removeWhitespaces(this.targetAccountFC.value),title:this.titleFC.value,bundleId:this.data.transferData.bundleId,dispositionId:this.allTransfer.dispositionId,contractorId:this.contractorId,whiteListDTO:this.whiteListDTO,idNipPesel:this.idNipFC.value,salary:this.data.transferData.salary}}applyIbanFormatInAccount(e){e.setValue(vi.ibanFormat(e.value))}
8003setFormControlValues(){this.targetAccountFC.setValue(this.allTransfer.targetAccount),this.recipientName1FC.setValue(this.allTransfer.name1),this.recipientName2FC.setValue(this.allTransfer.name2),this.recipientAddress1FC.setValue(this.allTransfer.address1),this.recipientAddress2FC.setValue(this.allTransfer.address2),ue.isEmpty(this.amountFC.value)&&(this.amountFC.setValue(this.allTransfer.amount),this.currencyFC.setValue(this.allTransfer?.currency||"PLN")),this.titleFC.setValue(this.titleFC.value||this.allTransfer.title),this.dateOfExecutionFC.setValue(this.allTransfer.dateOfExecution),this.lastExecutionDateFC.setValue(this.allTransfer.lastExecutionDate),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:this.allTransfer.sourceAccountId),this.contractorId=this.allTransfer.contractorId,this.whiteListDTO=this.allTransfer.whiteListDTO;let e=uc.from(this.allTransfer.idNipPesel);this.idNipFC.setValue((e?.isNip()?e.value:this.whiteListDTO?.nip)||""),this.markAllAsTouched(),this.whiteListCheckBoxCheckedFC.setValue(!!this.allTransfer.whiteListDTO)}setFieldsWhenStateIsFalse(){this.whiteListCheckBoxCheckedFC.setValue(!1),this.whiteListDTO=null}setFieldsWhenStateIsTrue(e){this.whiteListCheckBoxCheckedFC.setValue(!0),this.whiteListDTO=e.whiteListDTO}setSorbnetEnabledParameter(){this.parameterService.getParameterAsBoolean(wt.TRANSFER_SORBNET_ENABLED).pipe(L(e=>this.isTransferSorbnetEnabled=e)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(E(mt),E(Le),E(Vi),E(Ze),E($d),E(rt),E(fl),E(Bo),E(Wd),E(Rt),E(Ph),E(qr),E(Vd))}}static{this.\u0275cmp=k({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},qo)},standalone:!1,features:[me([_M])],decls:36,vars:35,consts:[["executionDatePicker",""],["lastExecutionDatePicker",""],[3,"buttonClickAction","allLayoutFG","bankName","dialogMode","targetAccountFC"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","gap-20"],[3,"amountFC","showPLNSuffix","maximumLength"],["appearance","outline",1,"min-width-of-5-rem"],["appearance","outline"],[1,"view-check-box"],[3,"formControl"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","required","","type","text",3,"formControl","maxlength"],[3,"accountList","sourceAccountFC","vatAccountInfo","disabledInput","shouldShowVatAccount"],[3,"toggleContractor","contractorFG"],[1,"red-hint"],[3,"cancelAction","confirmAddNextAction","resetAction","confirmAction","withConfirmAddNextButton","confirmAddNextDisabled","confirmDisabled","buttonLabelConfirm"],["appearance","outline",1,"flex-50"],["autocomplete","off","matInput","","appOnlyNumbers","",3,"ngModelChange","formControl","disabled"],["appearance","outline",1,"flex-50",3,"change","formControl","disabled"],["for","sourceAccount"],[1,"custom-option",3,"value"],["autocomplete","off","matInput","","required","",3,"focusout","formControl","matDatepicker","min"],["matSuffix","",3,"for"],["appearance","outline",4,"appShowIfHasAuthority"],["autocomplete","off","matInput","",3,"formControl","matDatepicker","min"],[3,"lastExecutionDateFC"],[3,"change","formControl"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section-header"),h(6,"Beneficjent"),c(),u(7,"app-target-account-input",2),T("buttonClickAction",function(){return r.openContractorsDialog()}),c(),x(8,"app-recipant-input",3),v(9,abe,9,5,"div",4),c(),u(10,"app-dialog-section")(11,"app-dialog-section-header"),h(12,"Tre\u015B\u0107"),c(),u(13,"div",4),x(14,"app-amount-input",5),v(15,lbe,6,1,"mat-form-field",6),v(16,cbe,7,4,"mat-form-field",7),v(17,mbe,1,1,"mat-form-field",7),u(18,"div",8),v(19,pbe,2,1,"mat-checkbox",9),c()(),u(20,"mat-form-field",10)(21,"mat-label"),h(22,"Tytu\u0142em"),c(),x(23,"textarea",11),u(24,"mat-error"),v(25,hbe,2,0,"span"),v(26,fbe,2,0,"span"),c()()(),u(27,"app-dialog-section")(28,"app-dialog-section-header"),h(29,"Obci\u0105\u017Cenie"),c(),x(30,"app-source-account-input",12),be(31,"async"),u(32,"app-create-contractor-input",13),T("toggleContractor",function(){return r.isSaveAndAddButtonDisabled=!r.isSaveAndAddButtonDisabled}),c()(),v(33,gbe,2,0,"div",14),v(34,_be,2,0,"div",14),c(),u(35,"app-action-buttons-panel",15),T("cancelAction",function(){return r.closeDialog()})("confirmAddNextAction",function(){return r.pressSaveBtn(!0)})("resetAction",function(){return r.reset()})("confirmAction",function(){return r.pressSaveBtn(!1)}),c()()),n&2&&(l(2),S(r.dialogTitle),l(5),g("allLayoutFG",r.allLayoutFG)("bankName",r.bankName)("dialogMode",r.dialogMode)("targetAccountFC",r.targetAccountFC),l(),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(),y(r.isWhiteListEnabled?9:-1),l(5),g("amountFC",r.amountFC)("showPLNSuffix",r.isTransferSorbnetEnabled&&r.sorbnetFC.value)("maximumLength",r.AMOUNT_MAX_LENGTH),l(),y(!r.isTransferSorbnetEnabled||!r.sorbnetFC.value?15:-1),l(),y(!r.isDialogInImportMode()&&!r.isPacked?16:-1),l(),y(!r.isDialogInImportMode()&&!r.isPacked?17:-1),l(2),y(r.isTransferSorbnetEnabled?19:-1),l(4),g("formControl",r.titleFC)("maxlength",r.TITLE_MAX_LENGTH),l(2),y(r.titleFC.hasError("required")?25:-1),l(),y(r.titleFC.hasError("pattern")?26:-1),l(4),g("accountList",r.chargedAccounts)("sourceAccountFC",r.sourceAccountFC)("vatAccountInfo",Fe(31,33,r.vatAccountInfo$))("disabledInput",r.isPacked)("shouldShowVatAccount",r.isTargetAccountZus),l(2),g("contractorFG",r.contractorFG),l(),y(r.externalAccountCurrencyService.isWarningVisible()?33:-1),l(),y(r.externalAccountCurrencyService.isSourceAccountWarningVisible()?34:-1),l(),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmAddNextDisabled",r.allLayoutFG.invali
8003d||r.isSaveAndAddButtonDisabled||r.externalAccountCurrencyService.isTransferBlocked())("confirmDisabled",r.allLayoutFG.invalid||r.externalAccountCurrencyService.isTransferBlocked())("buttonLabelConfirm",r.ButtonLabels.SAVE))},styles:[".min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}",".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".gap-20[_ngcontent-%COMP%]{gap:20px}",".flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var vM=(function(t){return t.SPOT="Spot",t.TODAY="Dzi\u015B",t.TOMORROW="Jutro",t})(vM||{});var S5=(()=>{class t{constructor(){this.appStore=m(Fo),this.parameters$=Ed(this.appStore.perLoginParameters).pipe(ae(e=>e.length>0))}getParameter(e){return this.parameters$.pipe($(n=>this.findParameter(n,e)?.value))}get(e){return this.getParameter(e).pipe($(n=>n))}findParameter(e,n){return e.find(r=>r.name===wt[n].toString())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function bbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.foreignBankInputForm.controls.bic.getError("invalidBic"))}}function vbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.invalid"])}}function ybe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.illegal"])}}function Cbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["bic.length"])}}function Dbe(t,i){t&1&&(u(0,"mat-form-field",10)(1,"mat-label"),h(2,"Numer banku (SortCode, BLZ)"),c(),x(3,"input",34),c())}function Ebe(t,i){if(t&1&&(u(0,"mat-option",22),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function wbe(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function xbe(t,i){if(t&1&&(u(0,"mat-form-field",23)(1,"mat-label"),h(2,"Data wykonania"),c(),x(3,"input",35)(4,"mat-datepicker-toggle",36)(5,"mat-datepicker",null,0),c()),t&2){let e=ye(6),n=_();l(3),g("formControl",n.dateOfExecution)("matDatepicker",e)("min",n.minPaymentDate),l(),g("for",e)}}function Sbe(t,i){t&1&&(u(0,"mat-error"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function Tbe(t,i){if(t&1&&(u(0,"mat-error"),h(1,"Pole zawiera nieprawid\u0142owe znaki: "),u(2,"b"),h(3),c()()),t&2){let e=_();l(3),S(e.getInvalidCharacters(e.titleFC.getError("pattern")))}}function Ibe(t,i){if(t&1&&(u(0,"mat-option",29),h(1),be(2,"commissionCoverer"),c()),t&2){let e=i.$implicit;g("value",e),l(),S(Fe(2,2,e))}}function Abe(t,i){if(t&1&&(u(0,"mat-option",29),h(1),c()),t&2){let e=i.$implicit;g("value",e.value),l(),S(e.viewValue)}}function kbe(t,i){if(t&1&&(u(0,"mat-form-field",27)(1,"mat-label"),h(2,"Data waluty"),c(),u(3,"mat-select",21),He(4,Abe,2,2,"mat-option",29,at),be(6,"enumToArray"),c()()),t&2){let e=_();l(3),g("formControl",e.currencyDateFC),l(),Ue(Fe(6,1,e.currencyDataEnum))}}function Rbe(t,i){if(t&1&&(u(0,"div",30)(1,"mat-checkbox",21),h(2," Kurs preferencyjny "),c()()),t&2){let e=_();l(),g("formControl",e.preferRateFC)}}var yw=(()=>{class t{constructor(e,n,r){this.intDialogRef=e,this.data=n,this.dialog=r,this.perLoginParameterService=m(S5),this.fb=m(Er),this.getInvalidCharacters=ue.getInvalidCharacters,this.transferImportService=m($d),this.parameters=m(qr),this.contractorTransferService=m(Wd),this.errorProviderService=m(Rt),this.accountService=m(Vo),this.transferService=m(Bo),this.notificationService=m(Le),this.foreignBankInputFormService=m(Fd),this.foreignBankInputForm=this.foreignBankInputFormService.form,this.foreignBankSearchService=m(Rh),this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.countries=this.foreignBanksService.getCountries().pipe($(VE)),this.allowPlIbanTransferInPln=this.perLoginParameterService.get(wt.TRANSFER_FOREIGN_CURRENCY_TRANSFER_ENABLED).pipe($(Boolean)),this.dialogHeader=this.allowPlIbanTransferInPln.pipe($(o=>o?"Przelew walutowy":"Przelew zagraniczny")),this.destroyRef=m(dn),this.commissionCovererOptions=Z([]),this.currencyDataEnum=vM,this.chargedAccounts=[],this.currencyFC=this.fb.nonNullable.control("",G.required),this.currencies=m(ml).getCurrencies(),this.allowedCurrencies=nn([this.currencies,this.allowPlIbanTransferInPln]).pipe(We(1),W(([o,a])=>this.foreignBankInputForm.valueChanges.pipe($(s=>s.country==="POLAND"||s.number?.startsWith("PL")),$(s=>s&&!a?o.filter(d=>
8003d!=="PLN"):o),Re(o)))),this.minPaymentDate=$t(new Date,je),this.isBicBtnDisable=!1,this.withConfirmAddNextButton=!1,this.COMMISSION_ACCOUNT="Rachunek Prowizji",this.TITLE_MAX_LENGTH=140,this.NAME_MAX_LENGTH=70,this.AMOUNT_MAX_LENGTH=15,this.ButtonLabels=tt,this.ERRORS=ln,this.isPacked=!1,this.COMMISSION_VAL="SHA",this.commissionFlagsPending=!1,this.dispositionId="",this.ValidatorUtils=Xt,this.allTransfer=this.data.transferData,this.isPacked=this.allTransfer.packaged,this.dialogMode=n.transferDialogMode,this.isCurrencyDateInput$=this.parameters.getParameter(wt.CURRENCY_DATE_ENABLED),this.isPreferRateInput$=this.parameters.getParameter(wt.EXCHANGE_PREFER_ENABLED),this.isBankNumberInput$=this.parameters.getParameter(wt.BANK_NUMBER_ENABLED),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z("",[G.required,Xt.currencyValidator]),this.dateOfExecution=new z(kn(new Date),G.required),this.titleFC=new z("",[G.required,G.pattern(ue.swiftPattern)]),this.commissionAccountFC=new z,this.commissionCovererFC=new z(this.COMMISSION_VAL,G.required),this.currencyDateFC=new z(""),this.sourceAccountFC=new z(""),this.preferRateFC=new z(!1),this.accountNumberFC=new z,this.recipientFG=new Qn({}),this.contentFG=new Qn({}),this.chargeFG=new Qn({}),this.contractorFG=new Qn({}),this.layoutFG=new Qn({})}ngOnInit(){this.initFCItems(),this.getChargeableAccount(),this.checkAndLoadTransfer(),this.checkCommisionCoverer()}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}resetValues(){this.recipientFG.reset(),this.recipientFG.enable(),this.contentFG.reset(),this.chargeFG.reset(),this.contractorId=void 0,this.checkAndLoadTransfer()}pressSaveBtn(){this.contractorTransferService.validateContractorExistence(this.foreignBankInputForm.controls.number.value,this.contractorFG).pipe(ae(e=>!e),W(()=>this.doSaveAction()),this.errorProviderService.processError(ze.SAVING_ERROR)).subscribe()}openForeignBanksDialogComponent(){let e=new Jt;e.panelClass=li.MEDIUM,e.data={isDialog:!0},this.dialog.open(LE,e).afterClosed().pipe(ae(n=>n),$(t.toBankInfo),L(n=>{this.foreignBankInputFormService.setBank(n),this.isBicBtnDisable=!1})).subscribe()}openContractorsDialog(){let e=new Ba(xn.PRZELEW_ZAGRANICZNY);this.dialog.open(La,e).afterClosed().pipe(ae(n=>n),L(n=>{let r=ar.getFromContractor(n);this.setFormControlValues(r),this.disableRecipientInput(),this.foreignBankInputForm.disable({emitEvent:!1})})).subscribe()}closeDialog(e=!1){this.intDialogRef.close(e)}getFormGroup(){return this.layoutFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.foreignBankInputForm.controls.number;case"nazwaOdbiorcy1":return this.recipientName1FC;case"nazwaOdbiorcy3":return this.recipientAddress1FC;case"rachunek":return this.sourceAccountFC;case"rachunekProwizji":return this.commissionAccountFC;case"bic":case"bankData":return this.foreignBankInputForm.controls.bic;case"bank1":return this.foreignBankInputForm.controls.name;case"bank2":return this.foreignBankInputForm.controls.address;case"bank3":return this.foreignBankInputForm.controls.city;case"bank4":return this.foreignBankInputForm.controls.country;case"kwota":return this.amountFC;default:return null}}isDialogInEditMode(){return this.dialogMode===Me.EDIT}isDialogRepeatMode(){return this.dialogMode===Me.REPEAT}doSaveAction(){return this.ibanInfos.pipe($(e=>this.getTransferData(e)),W(e=>{switch(this.dialogMode){case Me.NEW:case Me.REPEAT:return this.save(e);case Me.EDIT:return this.update(e);case Me.IMPORT:return this.actionForImportMode(e)}}))}save(e){return this.processTransfer(e3,e)}update(e){return this.processTransfer(r3,e)}processTransfer(e,n){return this.layoutFG.valid?this.contractorTransferService.saveContractor(n,ct.FOREIGN_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(n,e)),this.errorProviderService.processErrorWithLocalFormError(this),L(()=>this.closeDialog(!0))):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),ke)}getTransferData(e){return{targetAccount:this.formatTargetAccount(e),bundleId:this.data.transferData.bundleId,name1:this.recipientName1FC.value,
8003name2:this.recipientName2FC.value,address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,bank:this.getForeignBank(),amount:this.amountFC.value,currency:this.currencyFC.value,preferRate:this.preferRateFC.value,dateOfExecution:this.dateOfExecution.value,title:this.titleFC.value,commissionAccountId:this.commissionAccountFC.value,commissionCoveredBy:this.commissionCovererFC.value,currencyDateType:this.currencyDateFC.value!==""?this.currencyDateFC.value:"NULL",sourceAccountId:this.sourceAccountFC.value,dispositionId:parseInt(this.dispositionId,10),contractorId:this.contractorId,checkIban:!1}}formatTargetAccount(e){return ue.removeWhitespaces(ca.setCountryCodeIfSelectedCountry(this.foreignBankInputForm.controls.country.value,this.foreignBankInputForm.controls.number.value,e))}initFCItems(){this.recipientFG=this.fb.group({accountFC:this.foreignBankInputForm.controls.number,bank:this.foreignBankInputForm,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC}),this.contentFG=this.fb.group({amountFC:this.amountFC,currencyFC:this.currencyFC,paymentDateFC:this.dateOfExecution,titleFC:this.titleFC,commissionAccountFC:this.commissionAccountFC,commissionCovererFC:this.commissionCovererFC,currencyDateFC:this.currencyDateFC}),this.chargeFG=this.fb.group({targetAccountFC:this.sourceAccountFC,preferRateFC:this.preferRateFC}),this.layoutFG=this.fb.group({recipientFG:this.recipientFG,contentFG:this.contentFG,contractorFG:this.contractorFG,chargeFG:this.chargeFG}),this.markAllAsTouched()}actionForImportMode(e){return this.updateAction(e).pipe(L(n=>this.intDialogRef.close(n)),this.errorProviderService.processError(ze.EDITING_ERROR))}updateAction(e){return this.contractorTransferService.saveContractor(e,ct.FOREIGN_TRANSFER,this.contractorFG).pipe(W(()=>this.transferImportService.update(e,this.data.transferData.dispositionId,$z)))}checkAndLoadTransfer(){this.dialogMode===Me.NEW&&!this.allTransfer.contractorId&&(this.allTransfer.currency=""),this.setFormControlValues(this.allTransfer),this.isDialogInImportMode()&&this.sourceAccountFC.disable(),this.allTransfer.contractorId&&this.disableRecipientInput(),(this.isDialogInEditMode()||this.isDialogRepeatMode())&&this.applyEditMode()}applyEditMode(){this.recipientFG.setValidators(null),this.foreignBankInputForm.controls.country.disable(),this.foreignBankInputForm.controls.number.disable({emitEvent:!1}),this.commissionCovererFC.disable(),this.contractorId&&this.disableRecipientInput(),this.foreignBankInputForm.disable({emitEvent:!1})}disableRecipientInput(){this.foreignBankInputForm.controls.country.disable(),this.foreignBankInputForm.controls.number.disable({emitEvent:!1}),this.recipientName1FC.disable(),this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}setFormControlValues(e){e&&(this.foreignBankInputForm.controls.number.setValue(e.targetAccount),this.recipientName1FC.setValue(e.name1),this.recipientName2FC.setValue(e.name2),this.recipientAddress1FC.setValue(e.address1),this.recipientAddress2FC.setValue(e.address2),this.commissionAccountFC.setValue(e.commissionAccountId),ue.isEmpty(this.amountFC.value)&&(this.amountFC.setValue(e.amount),this.currencyFC.setValue(e.currency||"")),this.dateOfExecution.setValue(e.dateOfExecution),this.commissionCovererFC.setValue(e?.commissionCoveredBy||this.COMMISSION_VAL),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:e.sourceAccountId),this.dispositionId=e.dispositionId?.toString()||"",e.bank&&(this.foreignBankInputFormService.setBank(t.toBankInfo(e.bank)),this.resolveCommissionFlags(e.bank.bic)),this.titleFC.setValue(this.titleFC.value||e.title),this.contractorId=e.contractorId,this.preferRateFC.setValue(e?.preferRate||!1))}getChargeableAccount(){this.accountService.getChargeableAccounts().pipe(L(e=>{this.chargedAccounts=e})).subscribe()}checkCommisionCoverer(){nn([this.foreignBankInputForm.controls.eog.valueChanges.pipe(Re(this.foreignBankInputForm.controls.eog.value),It()),this.foreignBankInputForm.controls.sepa.valueChanges.pipe(Re(this.foreignBankInputForm.controls.sepa.value),It()),this.currencyFC.valueChanges.pipe(Re(this.currencyFC.value),It())]).pipe(hn(this.destroyRef),$(([e,n,r])=>this.getCommissionCovererOptions(e||!1,n||!1,r)),L(e=>this.commissionCovererOptions.set(e)),L(e=>this.setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(e))).subscribe()}getCommissionCovererOptions(e,n,r){let o=[hc.SHA];return n&&r==="EUR"||(e||o.push(hc.OUR),e||o.push(hc.BEN)),o}setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(e){e.length==1?(this.commissionCovererFC.setValue(e[0]),this.commissionCovererFC.disable()):this.commissionFlagsPending||this.commissionCovererFC.enable()}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.chargeFG.markAllAsTouched()}getForeignBank(){let e=this.foreignBankInputFormService.getBank();
8003return{id:e.id||"",bankName:e.name||"",address:e.address||"",city:e.city||"",country:e.country||"",bic:e.bic,eog:e.eog||!1}}resolveCommissionFlags(e){e&&(this.commissionFlagsPending=!0,this.commissionCovererFC.disable(),this.foreignBanksService.getBankByBic(e.toUpperCase()).pipe(hn(this.destroyRef)).subscribe({next:n=>{this.commissionFlagsPending=!1,n?.bankInfoStatus===gs.OK&&n.bankInfo&&(this.foreignBankInputForm.controls.eog.setValue(n.bankInfo.eog||!1),this.foreignBankInputForm.controls.sepa.setValue(n.bankInfo.sepa||!1)),this.setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(this.commissionCovererOptions())},error:()=>{this.commissionFlagsPending=!1,this.setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(this.commissionCovererOptions())}}))}static toBankInfo(e){return{id:e.id,name:e.bankName,address:e.address,city:e.city,country:e.country,bic:e.bic,eog:e.eog,sepa:null}}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt),E(mt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-international-transfer-dialog"]],standalone:!1,features:[me([Fd,Rh])],decls:85,vars:59,consts:[["executionDatePicker",""],[1,"flex-row","justify-between","gap-10"],["formControlName","country","matTooltip","Je\u015Bli numer rachunku b\u0119dzie zawiera\u0142 kod kraju, zostanie on u\u017Cyty niezale\u017Cnie od kraju wybranego z listy","matTooltipPosition","right",1,"flex-20",3,"countries","error"],[1,"flex-1",3,"buttonClickAction","targetAccountFC","dialogMode","allLayoutFG"],[3,"formGroup"],[1,"flex-row","justify-between","gap-20"],["appearance","outline",3,"ngClass"],["autocomplete","off","formControlName","bic","matInput","","type","text"],[1,"view-button"],[3,"clickAction","disabled"],["appearance","outline",1,"flex-40"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC","isInternational"],[1,"flex-row","gap-20"],["appearance","outline",1,"flex-50"],["autocomplete","off","formControlName","name","matInput","","type","text",3,"maxlength"],["autocomplete","off","formControlName","address","matInput","","type","text",3,"maxlength"],["autocomplete","off","formControlName","city","matInput","","type","text",3,"maxlength"],["autocomplete","off","formControlName","country","matInput","","type","text",3,"maxlength"],[3,"amountFC","maximumLength"],["appearance","outline",1,"min-width-of-5-rem"],["for","sourceAccount"],[3,"formControl"],[1,"custom-option",3,"value"],["appearance","outline"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","required","","type","text",3,"formControl","maxlength"],[3,"accountList","sourceAccountFC","fieldLabel"],["appearance","outline",1,"flex-30"],["required","",3,"formControl"],[3,"value"],[1,"view-check-box"],[3,"accountList","sourceAccountFC","disabledInput"],[3,"contractorFG"],[3,"cancelAction","resetAction","confirmAction","withConfirmAddNextButton","confirmDisabled","buttonLabelConfirm"],["autocomplete","off","formControlName","number","matInput","","type","text"],["autocomplete","off","matInput","","required","",3,"formControl","matDatepicker","min"],["matSuffix","",3,"for"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2),be(3,"async"),c(),u(4,"app-dialog-content")(5,"app-dialog-section")(6,"app-dialog-section-header"),h(7,"Beneficjent"),c(),u(8,"div",1),x(9,"app-country-select",2),be(10,"async"),u(11,"app-target-account-input",3),T("buttonClickAction",function(){return r.openContractorsDialog()}),c()(),u(12,"div",4)(13,"div",5)(14,"mat-form-field",6),be(15,"async"),u(16,"mat-label"),h(17,"Kod BIC"),c(),x(18,"input",7),v(19,bbe,2,1,"mat-error"),v(20,vbe,2,1,"mat-error"),v(21,ybe,2,1,"mat-error"),v(22,Cbe,2,1,"mat-error"),c(),u(23,"div",8)(24,"app-button",9),T("clickAction",function(){return r.openForeignBanksDialogComponent()}),h(25," Przegl\u0105daj "),c()(),v(26,Dbe,4,0,"mat-form-field",10),be(27,"async"),c(),x(28,"app-recipant-input",11),u(29,"div",12)(30,"mat-form-field",13)(31,"mat-label"),h(32,"Nazwa Banku"),c(),x(33,"input",14),c(),u(34,"mat-form-field",13)(35,"mat-label"),h(36,"Nazwa Banku cd."),c(),x(37,"input",15),c()(),u(38,"div",12)(39,"mat-form-field",13)(40,"mat-label"),h(41,"Adres Banku"),c(),x(42,"input",16),c(),u(43,"mat-form-field",13)(44,"mat-label"),h(45,"Adres Banku cd."),c(),x(46,"input",17),c()()()(),u(47,"app-dialog-section")(48,"app-dialog-section-header"),h(49,"Tre\u015B\u0107"),c(),u(50,"div",12),x(51,"app-amount-input",18),u(52,"mat-form-field",19)(53,"mat-label",20),h(54,"Waluta"),c(),u(55,"mat-select",21),He(56,Ebe,2,2,"mat-option",22,at),be(58,"async"),c(),v(59,wbe,2,0,"mat-error"),c(),v(60,xbe,7,4,"mat-form-field",23),c(),u(61,"mat-form-field",24)(62,"mat-label"),h(63,"Tytu\u0142em"),c(),x(64,"textarea",25),v(65,Sbe,2,0,"mat-error"),v(66,Tbe,4,1,"mat-error"),c(),x(67,"app-source-account-input",26),u(68,"div",12)(69,"mat-form-field",27)(70,"mat-label"),h(71,"Prowizj\u0119 pokrywa"),c(),u(72,"mat-select",28),He(73,Ibe,3,4,"mat-option",29,at),c()(),v(75,kbe,7,3,"mat-form-field",27),be(76,"async"),v(77,Rbe,3,1,"div",30),be(78,"async"),c()(),u(79,"app-dialog-section")(80,"app-dialog-section-header"),h(81,"Obci\u0105\u017Cenie"),c(),x(82,"app-source-account-input",31)(83,"app-create-contractor-input",32),c()(),u(84,"app-action-buttons-panel",33),T("cancelAction",function(){return r.closeDialog()})("resetAction",function(){return r.resetValues()})("confirmAction",function(){return r.pressSaveBtn()}),c()()),n&2&&(l(2),S(Fe(3,45,r.dialogHeader)),l(7),g("countries",Fe(10,47,r.countries))("error",r.foreignBankInputForm.hasError("noCountrySpecified")?"Wybierz kraj":null),l(2),g("targetAccountFC",r.foreignBankInputForm.controls.number)("dialogMode",r.dialogMode)("allLayoutFG",r.layoutFG),l(),g("formGroup",r.foreignBankInputForm),l(2),g("ngClass",Fe(15,49,r.isBankNumberInput$)?"flex-40":"flex-85"),l(5),y(r.foreignBankInputForm.controls.bic.hasError("invalidBic")?19:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.invalid")?20:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.illegal")?21:-1),l(),y(r.foreignBankInputForm.controls.bic.hasError("bic.length")?22:-1),l(2),g("disabled",r.isBicBtnDisable),l(2),y(Fe(27,51,r.isBankNumberInput$)?26:-1),l(2),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC)("isInternational",!0),l(5),g("maxlength",r.NAME_MAX_LENGTH),l(4),g("maxlength",r.NAME_MAX_LENGTH),l(5),g("maxlength",r.NAME_MAX_LENGTH),l(4),g("maxlength",r.NAME_MAX_LENGTH),l(5),g("amountFC",r.amountFC)("maximumLength",r.AMOUNT_MAX_LENGTH),l(4),g("formControl",r.currencyFC),l(),Ue(Fe(58,53,r.allowedCurrencies)),l(3),y(r.ValidatorUtils.isRequired(r.currencyFC)?59:-1),l(),y(!r.isDialogInImportMode()&&!r.isPacked?60:-1),l(4),g("formControl",r.titleFC)("maxlength",r.TITLE_MAX_LENGTH),l(),y(r.titleFC.hasError("required")?65:-1),l(),y(r.titleFC.hasError("pattern")?66:-1),l(),g("accountList",r.chargedAccounts)("sourceAccountFC",r.commissionAccountFC)("fieldLabel",r.COMMISSION_ACCOUNT),l(5),g("formControl",r.commissionCovererFC),l(),Ue(r.commissionCovererOptions()),l(2),y(Fe(76,55,r.isCurrencyDateInput$)?75:-1),l(2),y(Fe(78,57,r.isPreferRateInput$)?77:-1),l(5),g("accountList",r.chargedAccounts)("sourceAccountFC",r.sourceAccountFC)("disabledInput",r.isPacked),l(),g("contractorFG",r.contractorFG),l(),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmDisabled",r.layoutFG.invali
8003d)("buttonLabelConfirm",r.ButtonLabels.SAVE))},styles:[".min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}",".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".justify-between[_ngcontent-%COMP%]{justify-content:space-between}",".gap-10[_ngcontent-%COMP%]{gap:10px}",".gap-20[_ngcontent-%COMP%]{gap:20px}",".flex-20[_ngcontent-%COMP%]{flex:1 1 20%;max-width:20%;box-sizing:border-box}",".flex-30[_ngcontent-%COMP%]{flex:1 1 30%;max-width:30%;box-sizing:border-box}",".flex-40[_ngcontent-%COMP%]{flex:1 1 40%;max-width:40%;box-sizing:border-box}",".flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}",".flex-85[_ngcontent-%COMP%]{flex:1 1 85%;max-width:85%;box-sizing:border-box}",".flex-1[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();function Mbe(t,i){if(t&1){let e=Se();u(0,"mat-checkbox",18),T("change",function(){te(e);let r=_();return ne(r.openWhiteListDialog(r.targetAccountFC.value,r.idNipPeselFC.value))}),h(1," Sprawd\u017C rachunek w wykazie podatnik\xF3w VAT "),c()}if(t&2){let e=_();g("formControl",e.whiteListCheckBoxCheckedFC)("disabled",!e.isWhiteListEnabled||e.targetAccountFC.invalid||e.idNipPeselFC.invalid)}}function Nbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.REQUIRED_ERROR_MESSAGE)}}function Obe(t,i){if(t&1){let e=Se();u(0,"mat-form-field",19)(1,"mat-label"),h(2,"Data ostat.realizacji"),c(),u(3,"input",23),T("focusout",function(){te(e);let r=_(2);return ne(r.dateUtils.keepMinDate(r.lastExecutionDateFC,r.minDate))}),c(),x(4,"mat-datepicker-toggle",21)(5,"mat-datepicker",null,1),u(7,"mat-error"),x(8,"app-last-execution-data-error",24),c()()}if(t&2){let e=ye(6),n=_(2);l(3),g("formControl",n.lastExecutionDateFC)("min",n.minDate)("matDatepicker",e),l(),g("for",e),l(4),g("lastExecutionDateFC",n.lastExecutionDateFC)}}function Fbe(t,i){if(t&1){let e=Se();u(0,"mat-form-field",19)(1,"mat-label"),h(2,"Data wykonania"),c(),u(3,"input",20),T("focusout",function(){te(e);let r=_();return ne(r.dateUtils.keepMinDate(r.executionDateFC,r.minDate))}),c(),x(4,"mat-datepicker-toggle",21)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,Nbe,2,1,"span"),c()(),fe(9,Obe,9,5,"mat-form-field",22)}if(t&2){let e=ye(6),n=_();l(3),g("formControl",n.executionDateFC)("min",n.minDate)("matDatepicker",e),l(),g("for",e),l(4),y(n.validatorUtils.isRequired(n.executionDateFC)?8:-1),l(),g("appShowIfHasAuthority",n.FunctionalAuthority.FUNC_MLYNEK)}}function Pbe(t,i){if(t&1){let e=Se();u(0,"mat-checkbox",25),T("change",function(){te(e);let r=_();return ne(r.toggleLastExecutionDateFC())}),h(1,"Sorbnet "),c()}if(t&2){let e=_();g("formControl",e.sorbnetFC)}}function Lbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.REQUIRED_ERROR_MESSAGE)}}function Bbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function Vbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.REQUIRED_ERROR_MESSAGE)}}function jbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function Hbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["vatNr.invalidSubstrings"])}}function Ube(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.invoiceNumberFC.getRawValue().length,"/",e.INVOICE_NUMBER_MAX_LENGTH)}}function zbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),S((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function Gbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["text.invalidSubstrings"])}}function Wbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.additionalMessageFC.getRawValue().length,"/",e.ADDITIONAL_MESSAGE_MAX_LENGTH)}}var Cw=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b,w,A,M,J,j){this.formBuilder=e,this.orderDialogRef=n,this.dialog=r,this.data=o,this.contractorTransferService=a,this.notificationService=s,this.transferImportService=d,this.accountService=p,this.bankService=f,this.vatService=b,this.transferService=w,this.parameterService=A,this.whiteListFacadeService=M,this.errorProviderService=J,this.sorbnetRequiredService=j,this.bankName="",this.REQUIRED_ERROR_MESSAGE=Po,this.MAX_LENGTH_ERROR_MESSAGE=xh,this.ERRORS=ln,this.minDate=$t(new Date,je),this.INVOICE_NUMBER_MAX_LENGTH=35,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.chargedAccounts=[],this.validatorUtils=Xt,this.dateUtils=wn,this.ButtonLabels=tt,this.FunctionalAuthority=Ut,this.withConfirmAddNextButton=!0,this.isSaveAndAddButtonDisabled=!1,this.isPacked=!1,this.isSorbnetTransferRequired=!1,this.isWhiteListEnabled=!1,this.isTransferSorbnetEnabled=!1,this.dispositionId="",this.TITLE="Przelew F-ra VAT",this.destroyed$=new O,this.hasSavedChanges=!1,this.allTransfer=o.transferData,this.isPacked=this.allTransfer.packaged,this.dialogMode=o.transferDialogMode,this.withConfirmAddNextButton=this.dialogMode!==Me.EDIT,this.targetAccountFC=new z("",[G.required,Xt.ibanSimplyValidator,G.pattern(ue.ibanPattern)]),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z({value:"",disabled:!0}),this.amountGrossFC=new z("",[G.required,G.min(0)]),this.amountVATFC=new z("",[G.required]),this.executionDateFC=new z("",G.required),this.lastExecutionDateFC=new z(""),this.sorbnetFC=new z(!1),this.idNipPeselFC=new z("",[G.required,xi.nipPeselValidator]),this.invoiceNumberFC=new z("",[G.required,G.maxLength(this.INVOICE_NUMBER_MAX_LENGTH),xi.vatTitleChars,xi.invoiceNumber]),this.additionalMe
8003ssageFC=new z("",[G.maxLength(this.ADDITIONAL_MESSAGE_MAX_LENGTH),xi.vatTitleChars,xi.invoiceAdditionalInfo]),this.sourceAccountFC=new z(""),this.recipientFG=new Qn({}),this.contentFG=new Qn({}),this.chargeFG=new Qn({}),this.contractorFG=new Qn({}),this.invoiceFG=new Qn({}),this.vatAccountInfo$=this.sourceAccountFC.valueChanges.pipe($(K=>K||null),It((K,Te)=>K?.accountId!==Te?.accountId),W(K=>this.vatService.getVatFromSelectedAccount(K))),this.whiteListCheckBoxCheckedFC=new z(!1),this.whiteListFacadeService.isWhiteListEnabled().pipe(L(K=>{this.isWhiteListEnabled=K&&[Me.NEW,Me.REPEAT,Me.EDIT].includes(this.dialogMode)})).subscribe(),this.backdropSubscription=this.orderDialogRef.backdropClick().subscribe(()=>{this.closeDialog()})}onEscapeKey(){this.closeDialog()}ngOnInit(){this.initForm(),this.setSorbnetEnabledParameter(),this.loadChargeableVatAccounts(),this.checkAndLoadTransfer(),this.observeSorbnetRequirement()}openWhiteListDialog(e,n){let r=new Jt;r.data={details:{account:e,nip:n,transferType:pn.VAT_TRANSFERENCE}},this.whiteListCheckBoxCheckedFC.value===!0&&this.dialog.open(hb,r).afterClosed().pipe(L(o=>{o.state?this.setFieldsWhenStateIsTrue(o):this.setFieldsWhenStateIsFalse()})).subscribe()}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}applyIbanFormatInAccount(){let e=vi.ibanFormat(this.targetAccountFC.value);this.targetAccountFC.setValue(e)}openContractorsDialog(){let e=new Ba(xn.PRZELEW_VAT);this.dialog.open(La,e).afterClosed().subscribe(n=>{n&&(this.allTransfer=ar.getFromContractor(n),this.setFormControlValues(),this.disableContractorsInput())})}toggleLastExecutionDateFC(){this.sorbnetFC.value?(this.lastExecutionDateFC.disable(),this.lastExecutionDateFC.setValue("")):this.lastExecutionDateFC.enable()}calculateAmountFCValue(){let e=bt.getTrimmedValue(this.amountGrossFC.value)-bt.getTrimmedValue(this.amountVATFC.value);this.amountFC.setValue(bt.formatAmount(e>0?e.toString():"0.00"))}closeDialog(){this.orderDialogRef.close(this.hasSavedChanges)}resetData(){this.recipientFG.reset(),this.recipientFG.enable(),this.contentFG.reset(),this.chargeFG.reset(),this.contractorId=void 0,this.whiteListDTO=null,this.allTransfer=ar.newWithBundleId(this.allTransfer.bundleId,this.allTransfer.sourceAccountId),this.checkAndLoadTransfer()}pressSaveBtn(e){this.contractorTransferService.validateContractorExistence(this.targetAccountFC.value,this.contractorFG).pipe(ae(n=>!n),W(()=>this.doSaveAction(e))).subscribe()}doSaveAction(e){switch(this.dialogMode){case Me.NEW:case Me.REPEAT:return this.save(e,fE);case Me.EDIT:return this.save(e,gE);case Me.IMPORT:return this.actionForImportMode(Yz)}}getFormGroup(){return this.invoiceFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.targetAccountFC;case"rachunek":return this.sourceAccountFC;case"dataOstatecznejRealizacji":return this.lastExecutionDateFC;case"kwota":return this.amountFC;case"kwotaVat":return this.amountVATFC;case"vatNr":return this.invoiceNumberFC;case"text":return this.additionalMessageFC;default:return null}}ngOnDestroy(){this.backdropSubscription.unsubscribe(),this.destroyed$.next(),this.destroyed$.complete()}save(e,n){if(this.isSorbnetTransferRequired)return this.sorbnetRequiredService.getRequiredMessage().pipe(We(1)).subscribe(o=>this.notificationService.formErrors([{inputName:"kwota",errorMessage:o}])),ke;let r=this.getTransferData();return this.invoiceFG.valid?this.contractorTransferService.saveContractor(r,ct.VAT_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(r,n)),this.errorProviderService.processErrorWithLocalFormError(this),L(()=>{this.hasSavedChanges=!0,e?this.resetData():this.closeDialog()})):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),ke)}observeSorbnetRequirement(){nn([this.amountGrossFC.valueChanges.pipe(Re(this.amountGrossFC.value)),this.sorbnetFC.valueChanges.pipe(Re(this.sorbnetFC.value))]).pipe(xe(this.destroyed$),W(([e,n])=>this.sorbnetRequiredService.isSorbnetRequired(bt.getTrimmedValue(e),"VAT").pipe($(r=>r&&!n)))).subscribe(e=>{this.isSorbnetTransferRequired=e})}disableContractorsInput(){this.targetAccountFC.disable(),this.recipientName1FC.disable(),this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.chargeFG.markAllAsTouched()}
8003getTransferData(){return{message:this.additionalMessageFC.value,address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,netAmount:this.amountFC.value,vatAmount:this.amountVATFC.value,amount:this.amountGrossFC.value,currency:"PLN",dateOfExecution:this.executionDateFC.value,idNipPesel:this.idNipPeselFC.value,vatNumber:this.invoiceNumberFC.value,sorbnet:this.isTransferSorbnetEnabled&&!!this.sorbnetFC?.value,lastExecutionDate:this.lastExecutionDateFC.value,name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,sourceAccountId:this.sourceAccountFC.value,targetAccount:ue.removeWhitespaces(this.targetAccountFC.value),title:this.TITLE,bundleId:this.data.transferData.bundleId,dispositionId:parseInt(this.dispositionId,10),contractorId:this.contractorId,whiteListDTO:this.whiteListDTO}}actionForImportMode(e){return this.invoiceFG.valid?this.updateAction(e).pipe(L(n=>this.orderDialogRef.close(n)),this.errorProviderService.processErrorWithLocalFormError(this)):(this.markAllAsTouched(),this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),ke)}updateAction(e){let n=this.getTransferData();return this.contractorTransferService.saveContractor(n,ct.VAT_TRANSFER,this.contractorFG).pipe(W(()=>this.transferImportService.update(n,this.data.transferData.dispositionId,e)))}observeValues(){this.targetAccountFC.valueChanges.pipe(xe(this.destroyed$),It(),L(()=>{this.applyIbanFormatInAccount(),this.bankName=""}),ae(()=>this.targetAccountFC.valid),W(()=>this.bankService.getDomesticBank(ue.removeWhitespaces(this.targetAccountFC.value))),L(e=>this.bankName=e?.bankName||"")).subscribe()}loadChargeableVatAccounts(){this.accountService.getChargeableVatAccounts().pipe(this.errorProviderService.processError("Nie uda\u0142o si\u0119 pobra\u0107 listy rachunk\xF3w obci\u0105\u017Calnych")).subscribe(e=>{this.chargedAccounts=e,this.invoiceFG.clearValidators()})}checkAndLoadTransfer(){this.setFormControlValues(),this.isDialogInImportMode()&&(this.applyBundleMode(),this.targetAccountFC.disable()),this.dialogMode===Me.EDIT&&this.applyEditMode(),this.allTransfer.contractorId&&this.disableContractorsInput(),this.isPacked&&this.applyBundleMode()}applyBundleMode(){this.sourceAccountFC.disable(),this.executionDateFC.disable()}applyEditMode(){this.targetAccountFC.disable(),this.contractorId&&this.disableContractorsInput()}setFormControlValues(){this.allTransfer&&(this.targetAccountFC.setValue(vi.ibanFormat(this.allTransfer.targetAccount)),this.recipientName1FC.setValue(this.allTransfer.name1),this.recipientName2FC.setValue(this.allTransfer.name2),this.recipientAddress1FC.setValue(this.allTransfer.address1),this.recipientAddress2FC.setValue(this.allTransfer.address2),ue.isEmpty(this.amountFC.value)&&(this.amountFC.setValue(this.allTransfer.netAmount),this.amountGrossFC.setValue(this.allTransfer.amount),this.amountVATFC.setValue(this.allTransfer.vatAmount)),this.executionDateFC.setValue(this.allTransfer.dateOfExecution),this.lastExecutionDateFC.setValue(this.allTransfer.lastExecutionDate),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:this.allTransfer.sourceAccountId),this.sorbnetFC.setValue(this.isTransferSorbnetEnabled&&this.allTransfer.sorbnet),this.dispositionId=this.allTransfer.dispositionId?.toString()||"",this.contractorId=this.allTransfer.contractorId,this.idNipPeselFC.setValue(this.allTransfer.idNipPesel),this.invoiceNumberFC.setValue(this.allTransfer.vatNumber),this.additionalMessageFC.setValue(this.allTransfer.message),this.whiteListDTO=this.allTransfer.whiteListDTO,this.whiteListCheckBoxCheckedFC.setValue(!!this.whiteListDTO),this.applyIbanFormatInAccount(),this.markAllAsTouched(),this.toggleLastExecutionDateFC())}initForm(){this.recipientFG=this.formBuilder.group({recipientAccountFC:this.targetAccountFC,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC}),this.contentFG=this.formBuilder.group({amountFC:this.amountFC,amountGrossFC:this.amountGrossFC,amountVATFC:this.amountVATFC,executionDateFC:this.executionDateFC,lastExecutionDateFC:this.lastExecutionDateFC,sorbnetFC:this.sorbnetFC,idNipPeselFC:this.idNipPeselFC,invoiceNumberFC:this.invoiceNumberFC,additionalMe
8003ssageFC:this.additionalMessageFC},{validators:xi.vatAmount(this.amountVATFC,this.amountGrossFC)}),this.chargeFG=this.formBuilder.group({chargedAccountFC:this.sourceAccountFC}),this.invoiceFG=this.formBuilder.group({recipientFG:this.recipientFG,contentFG:this.contentFG,contractorFG:this.contractorFG,chargeFG:this.chargeFG}),this.observeValues()}setFieldsWhenStateIsFalse(){this.whiteListCheckBoxCheckedFC.setValue(!1),this.whiteListDTO=null}setFieldsWhenStateIsTrue(e){this.whiteListCheckBoxCheckedFC.setValue(!0),this.whiteListDTO=e.whiteListDTO}setSorbnetEnabledParameter(){this.parameterService.getParameterAsBoolean(wt.TRANSFER_SORBNET_ENABLED).subscribe(e=>this.isTransferSorbnetEnabled=e)}static{this.\u0275fac=function(n){return new(n||t)(E(Vi),E(Ze),E(mt),E(rt),E(Wd),E(Le),E($d),E(Vo),E(fl),E(Vd),E(Bo),E(qr),E(Ph),E(Rt),E(yh))}}static{this.\u0275cmp=k({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},qo)},standalone:!1,decls:51,vars:41,consts:[["executionDatePicker",""],["lastExecutionDatePicker",""],[3,"buttonClickAction","targetAccountFC","allLayoutFG","dialogMode","bankName"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[3,"formControl","disabled"],[1,"flex-row","gap-10"],[3,"amountFC","fieldLabel"],[3,"handleFocusoutEvent","amountFC","fieldLabel"],[1,"flex-row","gap-20"],["showPLNSuffix","true",3,"handleFocusoutEvent","amountFC","fieldLabel"],[3,"formControl"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","appOnlyNumbers","","required","",3,"formControl"],["autocomplete","off","matInput","","type","text","required","",3,"formControl"],["autocomplete","off","matInput","","type","text",3,"formControl"],[3,"accountList","sourceAccountFC","vatAccountInfo","disabledInput","shouldShowVatAccount"],[3,"toggleContractor","contractorFG"],[3,"cancelAction","confirmAddNextAction","resetAction","confirmAction","withConfirmAddNextButton","confirmAddNextDisabled","confirmDisabled","buttonLabelConfirm"],[3,"change","formControl","disabled"],["appearance","outline"],["autocomplete","off","matInput","","required","",3,"focusout","formControl","min","matDatepicker"],["matSuffix","",3,"for"],["appearance","outline",4,"appShowIfHasAuthority"],["autocomplete","off","matInput","",3,"focusout","formControl","min","matDatepicker"],[3,"lastExecutionDateFC"],[3,"change","formControl"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Przelew faktura VAT"),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section-header"),h(6,"Beneficjent"),c(),u(7,"app-target-account-input",2),T("buttonClickAction",function(){return r.openContractorsDialog()}),c(),x(8,"app-recipant-input",3),v(9,Mbe,2,2,"mat-checkbox",4),c(),u(10,"app-dialog-section")(11,"app-dialog-section-header"),h(12,"Tre\u015B\u0107"),c(),u(13,"div",5),x(14,"app-amount-input",6),u(15,"app-amount-input",7),T("handleFocusoutEvent",function(){return r.calculateAmountFCValue()}),c()(),u(16,"div",8)(17,"app-amount-input",9),T("handleFocusoutEvent",function(){return r.calculateAmountFCValue()}),c(),v(18,Fbe,10,6),v(19,Pbe,2,1,"mat-checkbox",10),c(),u(20,"mat-form-field",11)(21,"mat-label"),h(22,"Identyfikator ( NIP / PESEL )"),c(),x(23,"input",12),u(24,"mat-error"),v(25,Lbe,2,1,"span"),v(26,Bbe,2,1,"span"),c()(),u(27,"mat-form-field",11)(28,"mat-label"),h(29,"Numer faktury"),c(),x(30,"input",13),u(31,"mat-error"),v(32,Vbe,2,1,"span"),v(33,jbe,2,1,"span"),v(34,Hbe,2,1,"span"),v(35,Ube,2,3,"span"),c()(),u(36,"mat-form-field",11)(37,"mat-label"),h(38,"Dodatkowa tre\u015B\u0107"),c(),x(39,"input",14),u(40,"mat-error"),v(41,zbe,2,1,"span"),v(42,Gbe,2,1,"span"),v(43,Wbe,2,3,"span"),c()()(),u(44,"app-dialog-section")(45,"app-dialog-section-header"),h(46,"Obci\u0105\u017Cenie"),c(),x(47,"app-source-account-input",15),be(48,"async"),u(49,"app-create-contractor-input",16),T("toggleContractor",function(){return r.isSaveAndAddButtonDisabled=!r.isSaveAndAddButtonDisabled}),c()()(),u(50,"app-action-buttons-panel",17),T("cancelAction",function(){return r.closeDialog()})("confirmAddNextAction",function(){return r.pressSaveBtn(!0)})("resetAction",function(){return r.resetData()})("confirmAction",function(){return r.pressSaveBtn(!1)}),c()()),n&2&&(l(7),g("targetAccountFC",r.targetAccountFC)("allLayoutFG",r.invoiceFG)("dialogMode",r.dialogMode)("bankName",r.bankName),l(),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(),y(r.isWhiteListEnabled?9:-1),l(5),g("amountFC",r.amountFC)("fieldLabel","Kwota netto"),l(),g("amountFC",r.amountVATFC)("fieldLabel","Kwota VAT"),l(2),g("amountFC",r.amountGrossFC)("fieldLabel","Kwota brutto"),l(),y(r.isPacked?-1:18),l(),y(r.isTransferSorbnetEnabled?19:-1),l(4),g("formControl",r.idNipPeselFC),l(2),y(r.validatorUtils.isRequired(r.idNipPeselFC)?25:-1),l(),y(!r.idNipPeselFC.hasError("required")&&r.idNipPeselFC.hasError("nipAndPeselFormat")?26:-1),l(4),g("formControl",r.invoiceNumberFC),l(2),y(r.validatorUtils.isRequired(r.invoiceNumberFC)?32:-1),l(),y(r.invoiceNumberFC.hasError("pattern")?33:-1),l(),y(r.invoiceNumberFC.hasError("vatNr.invali
8003dSubstrings")?34:-1),l(),y(r.invoiceNumberFC.hasError("maxlength")?35:-1),l(4),g("formControl",r.additionalMessageFC),l(2),y(r.additionalMessageFC.hasError("pattern")?41:-1),l(),y(r.additionalMessageFC.hasError("text.invalidSubstrings")?42:-1),l(),y(r.additionalMessageFC.hasError("maxlength")?43:-1),l(4),g("accountList",r.chargedAccounts)("sourceAccountFC",r.sourceAccountFC)("vatAccountInfo",Fe(48,39,r.vatAccountInfo$))("disabledInput",r.isPacked)("shouldShowVatAccount",!0),l(2),g("contractorFG",r.contractorFG),l(),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmAddNextDisabled",r.invoiceFG.invalid||r.isSaveAndAddButtonDisabled)("confirmDisabled",r.invoiceFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE))},styles:[".spacer[_ngcontent-%COMP%]{margin-bottom:1rem}.vatAccount[_ngcontent-%COMP%]{margin-bottom:8px}.vatAccountHint[_ngcontent-%COMP%]{margin-top:-8px}.dialog-header[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.subtitle[_ngcontent-%COMP%]{color:#2196f3;font-size:15px;margin-bottom:3px}.mat-mdc-input-element[_ngcontent-%COMP%]:disabled{color:#000}input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();function $be(t,i){if(t&1&&(u(0,"mat-option",3),h(1),be(2,"ibanFormatPipe"),c()),t&2){let e=i.$implicit;g("value",e.accountNumber),l(),so("",Fe(2,3,e.accountNumber),", ",e.friendlyName1," ")}}function qbe(t,i){if(t&1&&(u(0,"mat-option",11),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),S(e)}}function Ybe(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function Kbe(t,i){t&1&&(u(0,"span"),h(1,"Pole wymagane"),c())}function Xbe(t,i){t&1&&(u(0,"span"),h(1,"Data jest niew\u0142a\u015Bciwa"),c())}function Zbe(t,i){if(t&1){let e=Se();u(0,"mat-form-field",12)(1,"mat-label"),h(2,"Data p\u0142atno\u015Bci"),c(),u(3,"input",16),T("focusout",function(){te(e);let r=_();return ne(r.checkExecuteDateFC())}),c(),x(4,"mat-datepicker-toggle",17)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,Kbe,2,0,"span"),v(9,Xbe,2,0,"span"),c()()}if(t&2){let e=ye(6),n=_();l(3),g("min",n.minExectionDate)("matDatepicker",e)("formControl",n.executeDateFC),l(),g("for",e),l(4),y(n.executeDateFC.hasError("required")?8:-1),l(),y(n.isInvalid(n.executeDateFC)?9:-1)}}function Qbe(t,i){t&1&&(u(0,"span"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function Jbe(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera nieprawid\u0142owe znaki"),c())}var yM=(()=>{class t{constructor(e,n,r,o,a,s){this.orderDialogRef=e,this.transferService=n,this.notificationService=r,this.accountService=o,this.errorProviderService=a,this.data=s,this.fb=m(Er),this.minExectionDate=$t(new Date,je),this.ButtonLabels=tt,this.ValidatorUtils=Xt,this.currencies=m(ml).getCurrencies(),this.currencyFC=this.fb.nonNullable.control("PLN",G.required),this.withConfirmAddNextButton=!0,this.isPacked=!1,this.ERRORS=ln,this.TITLE_MAX_LENGTH=140,this.subscription=new _e,this.hasSavedChanges=!1,this.transfer=s.transferData,this.isPacked=this.transfer.packaged,this.dialogMode=s.transferDialogMode,this.withConfirmAddNextButton=this.dialogMode!==Me.EDIT,this.targetAccountFC=this.createFormControl("",[G.required]),this.recipientName1FC=this.createFormControl(""),this.recipientName2FC=this.createFormControl(""),this.recipientAddress1FC=this.createFormControl(""),this.recipientAddress2FC=this.createFormControl(""),this.amountFC=this.createFormControl("",[G.required,Xt.currencyValidator]),this.executeDateFC=this.createFormControl("",[G.required]),this.titleFC=this.createFormControl("",[G.required,G.pattern(ue.titlePattern)]),this.sourceAccountFC=this.createFormControl(""),this.recipientFG=this.fb.group({}),this.contentFG=this.fb.group({}),this.chargeFG=this.fb.group({}),this.personalTransferFG=this.fb.group({}),this.backdropSubscription=this.orderDialogRef.backdropClick().subscribe(()=>this.closeDialog())}onEscapeKey(){this.closeDialog()}ngOnInit(){this.getChargeAccount(),this.getTargetAccount(),this.getDefaultUserData(),this.initForm(),this.loadTransfer()}getDefaultUserData(){this.subscription.add(this.transferService.getClientInfo().pipe(L(e=>{this.defaultUserData=e,this.setInitialValues()})).subscribe())}checkExecuteDateFC(){_d(new Date(this.executeDateFC.value),new Date(this.minExectionDate))&&this.executeDateFC.setValue(this.minExectionDate,{emitEvent:!1})}closeDialog(){this.orderDialogRef.close(this.hasSavedChanges)}resetData(){this.recipientFG.reset(),this.contentFG.reset(),this.chargeFG.reset(),this.setInitialValues(),this.recipientFG.updateValueAndValidity(),this.contentFG.updateValueAndValidity(),this.chargeFG.updateValueAndValidity()}pressSaveBtn(e){switch(this.dialogMode){case Me.NEW:this.save(e,Qz);break;case Me.EDIT:this.save(e,n3);break;case Me.IMPORT:break}}save(e,n){this.personalTransferFG.valid?(ue.replaceDoubleQuotesInName([this.recipientName1FC,this.recipientName2FC]),this.transferService.save(this.createOwnTransferData(),n).pipe(L(()=>{this.hasSavedChanges=!0,e?this.resetData():this.closeDialog()}),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()):this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo")}ngOnDestroy(){this.backdropSubscription.unsubscribe(),this.subscription.unsubscribe()}
8003isInvalid(e){return(e.touched||e.dirty)&&e.invalid}getFormGroup(){return this.personalTransferFG}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.targetAccountFC;case"rachunek":case"rachunekObciazany":return this.sourceAccountFC;case"kwota":case"kwotaVat":return this.amountFC;default:return null}}initForm(){this.recipientFG=this.fb.group({targetAccountFC:this.targetAccountFC,name1FC:this.recipientName1FC,name2FC:this.recipientName2FC,address1FC:this.recipientAddress1FC,address2FC:this.recipientAddress2FC}),this.contentFG=this.fb.group({amountFC:this.amountFC,currencyFC:this.currencyFC,executeDateFC:this.executeDateFC,titleFC:this.titleFC}),this.chargeFG=this.fb.group({sourceAccount:this.sourceAccountFC}),this.personalTransferFG=this.fb.group({recipientFG:this.recipientFG,contentFG:this.contentFG,chargeFG:this.chargeFG}),this.markAllAsTouched()}getChargeAccount(){this.subscription.add(this.accountService.getChargeableAccounts().pipe(L(e=>{this.chargeAccounts=e,this.personalTransferFG.clearValidators()})).subscribe())}getTargetAccount(){this.subscription.add(this.accountService.getOwnAccount().subscribe(e=>this.targetAccounts=e))}setInitialValues(){if(!this.defaultUserData)throw new Aa("defaultUserData");let e=this.defaultUserData;this.recipientName1FC.setValue(e.companyName1),this.recipientName2FC.setValue(e.companyName2),this.recipientAddress1FC.setValue(e.address1),this.recipientAddress2FC.setValue(e.address2),this.executeDateFC.setValue(this.minExectionDate)}createOwnTransferData(){return{address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,amount:this.amountFC.value,currency:this.currencyFC.value,dateOfExecution:this.executeDateFC.value,sorbnet:!1,name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,sourceAccountId:this.sourceAccountFC.value,targetAccount:ue.removeWhitespaces(this.targetAccountFC.value),title:this.titleFC.value,bundleId:this.data.transferData.bundleId}}markAllAsTouched(){this.recipientFG.markAllAsTouched(),this.contentFG.markAllAsTouched(),this.chargeFG.markAllAsTouched()}loadTransfer(){this.isPacked?(this.sourceAccountFC.disable(),this.sourceAccountFC.patchValue(this.transfer.sourceAccountId),this.executeDateFC.disable()):this.executeDateFC.setValue(this.transfer.dateOfExecution)}createFormControl(e,n=[]){return new z(e,n)}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Bo),E(Le),E(Vo),E(Rt),E(rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},qo)},standalone:!1,decls:43,vars:23,consts:[["picker",""],["appearance","outline",1,"flex-fill"],["required","",3,"formControl"],[3,"value"],[3,"targetAccount"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","gap-10"],[3,"amountFC"],["appearance","outline",1,"min-width-of-5-rem"],["for","sourceAccount"],[3,"formControl"],[1,"custom-option",3,"value"],["appearance","outline"],["autocomplete","off","matInput","","type","text",3,"formControl","maxLength"],[3,"accountList","sourceAccountFC","disabledInput"],[3,"cancelAction","resetAction","confirmAddNextAction","confirmAction","withConfirmAddNextButton","confirmAddNextDisabled","confirmDisabled","buttonLabelConfirm"],["autocomplete","off","matInput","","name","paymentDateFC","required","",3,"focusout","min","matDatepicker","formControl"],["matSuffix","",3,"for"]],template:function(n,r){n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Przelew W\u0142asny"),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section")(6,"app-dialog-section-header"),h(7,"Beneficjent"),c(),u(8,"mat-form-field",1)(9,"mat-label"),h(10,"Rachunek"),c(),u(11,"mat-select",2),He(12,$be,3,5,"mat-option",3,at),c(),u(14,"mat-error"),x(15,"app-target-account-error",4),c()(),x(16,"app-recipant-input",5),c()(),u(17,"app-dialog-section")(18,"app-dialog-section-header"),h(19,"Tre\u015B\u0107"),c(),u(20,"div",6),x(21,"app-amount-input",7),u(22,"mat-form-field",8)(23,"mat-label",9),h(24,"Waluta"),c(),u(25,"mat-select",10),He(26,qbe,2,2,"mat-option",11,at),be(28,"async"),c(),v(29,Ybe,2,0,"mat-error"),c(),v(30,Zbe,10,6,"mat-form-field",12),c(),u(31,"mat-form-field",1)(32,"mat-label"),h(33,"Tytu\u0142em"),c(),x(34,"textarea",13),u(35,"mat-error"),v(36,Qbe,2,0,"span"),v(37,Jbe,2,0,"span"),c()()(),u(38,"app-dialog-section")(39,"app-dialog-section-header"),h(40,"Obci\u0105\u017Cenie"),c(),x(41,"app-source-account-input",14),c()(),u(42,"app-action-buttons-panel",15),T("cancelAction",function(){return r.closeDialog()})("resetAction",function(){return r.resetData()})("confirmAddNextAction",function(){return r.pressSaveBtn(!0)})("confirmAction",function(){return r.pressSaveBtn(!1)}),c()()),n&2&&(l(11),g("formControl",r.targetAccountFC),l(),Ue(r.targetAccounts),l(3),g("targetAccount",r.targetAccountFC),l(),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(5),g("amountFC",r.amountFC),l(4),g("formControl",r.currencyFC),l(),Ue(Fe(28,21,r.currencies)),l(3),y(r.ValidatorUtils.isRequired(r.currencyFC)?29:-1),l(),y(r.isPacked?-1:30),l(4),g("formControl",r.titleFC)("maxLength",r.TITLE_MAX_LENGTH),l(2),y(r.titleFC.hasError("required")?36:-1),l(),y(r.titleFC.hasError("pattern")?37:-1),l(4),g("accountList",r.chargeAccounts)("sourceAccountFC",r.sourceAccountFC)("disabledInput",r.isPacked),l(),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmAddNextDisabled",r.personalTransferFG.invali
8003d)("confirmDisabled",r.personalTransferFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE))},dependencies:[Ve,qe,St,Ln,Qt,zi,pi,Ri,et,si,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,$e,Bt,Fa,Yr,Kr,Tt,pc,Ji,qt],styles:[".min-width-of-5-rem[_ngcontent-%COMP%]{min-width:5rem}",".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".gap-10[_ngcontent-%COMP%]{gap:10px}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var fb=(function(t){return t[t.NOT_FOUND=-1]="NOT_FOUND",t[t.IRP_ACCOUNT=13]="IRP_ACCOUNT",t})(fb||{});var Dw=class t{static{this.NEW_FORMAT=/^[A-Z]{3}[0-9]{6}$/}static{this.OLD_FORMAT=/^[A-Z]{2}[0-9]+$/}static{this.NEW_FORMAT_WEIGHTS=[7,3,1,7,3,1,7,3]}static{this.LETTER_OFFSET=55}static{this.OLD_SERIES=new Set("AB7 AP7 BA6 BR7 CA6 CC6 CD6 CE6 CF6 CG6 CH6 CI6 CJ6 CK6 CL6 CS7 DA6 DB7 DD7 DE7 DF7 DG7 DH7 DI7 DJ7 DK7 DL7 DM7 DN7 DO7 DP7 DR7 DS7 DT7 DX7 EA6 EU7 FA6 FW7 GA6 GZ7 HA6 JB7 KA6 KP7 LA6 LD7 MA6 ME7 NA6 NF7 OA6 PA6 PG7 RA6 RH7 SA6 SJ7 TA6 TD7 TK7 UL7 WA6 WK7 WL7 XC7 XS7 ZA6 ZL7 ZN7 ZZ7".split(" "))}static isValid(i){let e=i.trim().toUpperCase();return t.NEW_FORMAT.test(e)?t.hasValidCheckDigit(e):t.OLD_FORMAT.test(e)?t.OLD_SERIES.has(e.substring(0,2)+(e.length-2)):!1}static hasValidCheckDigit(i){let e=0;for(let n=0;n<3;n++)e+=(i.charCodeAt(n)-t.LETTER_OFFSET)*t.NEW_FORMAT_WEIGHTS[n];for(let n=4;n<9;n++)e+=Number(i.charAt(n))*t.NEW_FORMAT_WEIGHTS[n-1];return e%10===Number(i.charAt(3))}};var eve=/^[a-zA-Z0-9]*$/,tve=/^.{3,14}$/,nve=/^[^\s]{1,14}$/,Ew=class t{static forType(i){return e=>{let n=e.value;return n?t.validate(String(n),i.value):null}}static validate(i,e){switch(e){case vn.NIP:return Lo.isValid(i)?null:{"identyfikator.nip.invalid":!0};case vn.PESEL:return Oa.isValid(i)?null:{"identyfikator.pesel.invalid":!0};case vn.REGON:return kd.isValid(i)?null:{"identyfikator.regon.invalid":!0};case vn.DOWOD_OSOBISTY:return Dw.isValid(i)?null:{"identyfikator.dowod_osobisty.invalid":!0};case vn.PASZPORT:return t.validatePassport(i);case vn.INNY:return nve.test(i)?null:{"identyfikator.illegalChar":!0};default:return null}}static validatePassport(i){let e={};return eve.test(i)||(e["identyfikator.paszport.illegalChar"]=!0),tve.test(i)||(e["identyfikator.paszport.invalid"]=!0),Object.keys(e).length?e:null}};function ive(t,i){if(t&1&&(u(0,"mat-hint",7),h(1),c()),t&2){let e=_();l(),S(e.TARGET_ACCOUNT_PASTED)}}function rve(t,i){if(t&1){let e=Se();u(0,"mat-option",30),T("click",function(){let r=te(e).$implicit,o=_();return ne(o.setTaxOffice(r))}),h(1),be(2,"ibanFormatPipe"),c()}if(t&2){let e=i.$implicit;g("value",e.accountIban),l(),se(" ",Fe(2,2,e.accountIban)," ")}}function ove(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["dataWykonania.empty"])}}function ave(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["dataWykonania.beforeToday"])}}function sve(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function lve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Data ost. realizacji"),c(),x(3,"input",34)(4,"mat-datepicker-toggle",32)(5,"mat-datepicker",null,2),u(7,"mat-error"),x(8,"app-last-execution-data-error",35),v(9,sve,2,0,"span"),c()()),t&2){let e=ye(6),n=_(2);l(3),g("formControl",n.lastExecutionDateFC)("matDatepicker",e)("min",n.minDate),l(),g("for",e),l(4),g("lastExecutionDateFC",n.lastExecutionDateFC),l(),y(n.dateOfExecutionFC.hasError("invalidDate")?9:-1)}}function cve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Data wykonania"),c(),x(3,"input",31)(4,"mat-datepicker-toggle",32)(5,"mat-datepicker",null,1),u(7,"mat-error"),v(8,ove,2,1,"span"),v(9,ave,2,1,"span"),c()(),fe(10,lve,10,6,"mat-form-field",33)),t&2){let e=ye(6),n=_();l(3),g("formControl",n.dateOfExecutionFC)("matDatepicker",e)("min",n.minDate),l(),g("for",e),l(4),y(n.dateOfExecutionFC.hasError("dataWykonania.empty")?8:-1),l(),y(n.dateOfExecutionFC.hasError("dataWykonania.beforeToday")?9:-1),l(),g("appShowIfHasAuthority",n.FunctionalAuthority.FUNC_MLYNEK)}}function dve(t,i){if(t&1&&(u(0,"mat-option",8),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e.sfp," ")}}function uve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.maxlength"])}}function mve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.inactive"])}}function pve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.illegal"])}}function hve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.empty"])}}function fve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["sfp.notINNE"])}}function gve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresRok.empty"])}}function _ve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresRok.notEmpty"])}}function bve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresRok.invalid"])}}function vve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["okresRok.invalid"]," ")}}function yve(t,i){if(t&1&&(u(0,"mat-option",8),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e," ")}}function Cve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresTyp.invalid"])}}function Dve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["okresTyp.notEmpty"])}}function Eve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresMiesiac.empty"])}}function wve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresMiesiac.invalid"])}}function xve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Miesi\u0105c"),c(),x(3,"input",17),u(4,"mat-error"),v(5,Eve,2,1,"span"),v(6,wve,2,1,"span"),c()()),t&2){let e=_();l(3),g("formControl",e.settlementPeriodMonthFC)("maxLength",e.PERIOD_MONTH_LENGTH),l(2),y(e.settlementPeriodMonthFC.hasError("required")?5:-1),l(),y(e.settlementPeriodMonthFC.hasError("pattern")?6:-1)}}function Sve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresNumer.empty"])}}function Tve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresNumer.notEmpty"])}}function Ive(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresNumer.invalid"])}}function Ave(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["okresNumer.invalid"])}}function kve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2),c(),x(3,"input",17),u(4,"mat-error"),v(5,Sve,2,1,"span"),v(6,Tve,2,1,"span"),v(7,Ive,2,1,"span"),v(8,Ave,2,1,"span"),c()()),t&2){let e=_();l(2),S(e.setPeriodNumberLabel()),l(),g("formControl",e.settlementPeriodNumberFC)("maxLength",e.PERIOD_NUMBER_LENGTH),l(2),y(e.settlementPeriodNumberFC.hasError("okresNumer.empty")||e.settlementPeriodNumberFC.hasError("required")?5:-1),l(),y(e.settlementPeriodNumberFC.hasError("okresNumer.notEmpty")?6:-1),l(),y(e.settlementPeriodNumberFC.hasError("okresNumer.invalid")?7:-1),l(),y(e.settlementPeriodNumberFC.hasError("pattern")?8:-1)}}function Rve(t,i){if(t&1&&(u(0,"mat-option",23),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),se(" ",e," ")}}function Mve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["typIdentyfikatora.required"])}}function Nve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["typIdentyfikatora.empty"])}}function Ove(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["typIdentyfikatora.invalid"])}}function Fve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.maxlength"])}}function Pve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.empty"])}}function Lve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.nip.invalid"])}}function Bve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();
8003l(),S(e.ERRORS["identyfikator.pesel.invalid"])}}function Vve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.regon.invalid"])}}function jve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.dowod_osobisty.invalid"])}}function Hve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.paszport.illegal"])}}function Uve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.paszport.illegalChar"])}}function zve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.paszport.invalid"])}}function Gve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.inny_dokument.invalid"])}}function Wve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["identyfikator.illegalChar"])}}function $ve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["idZobowiazania.clo.illegal"])}}function qve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["idZobowiazania.clo.empty"])}}function Yve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.ERRORS["idZobowiazania.illegal"])}}var CM=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b){this.acceptTransferService=e,this.accountService=n,this.notificationService=r,this.taxOfficeService=o,this.dialogRef=a,this.data=s,this.dialog=d,this.transferImportService=p,this.errorProviderService=f,this.vatService=b,this.minDate=$t(new Date,je),this.ERRORS=ln,this.FunctionalAuthority=Ut,this.periodTypes=Object.values(ni),this.symbolOrPaymentTypes=[],this.complementaryIdTypes=Object.values(vn),this.disableIdentifierBtn=!1,this.isRecipientAccountPasted=!1,this.TARGET_ACCOUNT_PASTED=nE,this.IDENTIFIER_LENGTH=14,this.IDENTIFICATION_LENGTH=40,this.PERIOD_MONTH_LENGTH=2,this.PERIOD_NUMBER_LENGTH=2,this.PERIOD_YEAR_LENGTH=2,this.AMOUNT_LENGTH=15,this.recipientAutoCompleteList=[],this.chargeableAccounts=[],this.ButtonLabels=tt,this.withConfirmAddNextButton=!1,this.contractorBtnDisabled=!1,this.usBtnDisabled=!1,this.isPacked=!1,this.cycleRequired=!1,this.importedSFP="",this.sfpGroupId=fb.NOT_FOUND,this.subscription=new _e,this.transfer=s.transferData,this.isPacked=this.transfer.packaged,this.dialogMode=this.data.transferDialogMode,this.selectedTransferFC=new z({rachunek:"",nazwa:"",adres:""}),this.recipientAccountFC=new z("",[G.required,Xt.ibanSimplyValidator,G.pattern(ue.ibanPattern)]),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z("",[G.required,G.pattern(ue.onlyNumbersPattern),Xt.currencyValidator]),this.dateOfExecutionFC=new z(kn(new Date)),this.lastExecutionDateFC=new z(""),this.formSymbolOrPaymentFC=new z(""),this.settlementPeriodYearFC=new z("",[G.required,G.pattern(ue.onlyNumbersPattern)]),this.settlementPeriodTypeFC=new z(""),this.settlementPeriodMonthFC=new z(""),this.settlementPeriodNumberFC=new z(""),this.complementaryIdentifierTypeFC=new z("",[G.required]),this.complementaryIdentifierFC=new z("",[G.required,Ew.forType(this.complementaryIdentifierTypeFC)]),this.commitmentIdentificationFC=new z(""),this.sourceAccountFC=new z,this.setSettlementPeriodDisable(),this.transferUsCloFG=new Qn({}),this.vatAccountInfo$=this.sourceAccountFC.valueChanges.pipe(It((w,A)=>w?.accountId!==A?.accountId),W(w=>this.vatService.getVatFromSelectedAccount(w)))}ngOnInit(){this.initItems(),this.getChargeableAccounts(),this.fillData(),this.initAccountInputListener(),this.initPeriodTypeListener(),this.initIdentifierTypeListener(),this.initSelectedTransferChangeListener()}initAccountInputListener(){this.subscription.add(this.recipientAccountFC.valueChanges.pipe(It(),hi(200),L(e=>this.ibanChange(e))).subscribe())}initSelectedTransferChangeListener(){this.subscription.add(this.selectedTransferFC.valueChanges.subscribe(e=>{this.recipientAccountFC.setValue(vi.ibanFormat(e?.rachunek)),this.recipientName1FC.setValue(e?.nazwa1),this.recipientName2FC.setValue(e?.nazwa2),this.recipientAddress1FC.setValue(e?.adres1),this.recipientAddress2FC.setValue(e?.adres2)}))}openTaxOfficeDialogComponent(){let e=new Jt;e.data={isDialog:!0},e.panelClass=li.MEDIUM,this.dialog.open(Ad,e).afterClosed().pipe(ae(n=>n),W(n=>this.setTaxOffice(n))).subscribe()}clear(){this.transferUsCloFG.reset(),this.cycleRequired=!1,this.transfer=ar.newWithBundleId(this.transfer.bundleId,this.transfer.sourceAccountId),this.setSettlementPeriodDisable(),this.fillData(),this.transferUsCloFG.markAllAsTouched()}ngOnDestroy(){this.subscription.unsubscribe()}close(e=!1){this.dialogRef.close(e)}pressSaveBtn(){switch(this.dialogMode){case Me.NEW:case Me.REPEAT:this.save(Jz);break;case Me.EDIT:this.save(i3);break;case Me.IMPORT:this.actionForImportMode(qz);break}}save(e){this.transferUsCloFG.valid?this.acceptTransferService.save(this.createTaxOfficeTransfer(),e).pipe(L(()=>{this.close(!0)}),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe():this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo")}applyIbanFormatInAccount(e=this.recipientAccountFC.value){let n=vi.ibanFormat(e);this.recipientAccountFC.setValue(n,{emitEvent:!1})}onRecipientAccountPaste(){this.isRecipientAccountPasted=!0}openIdentificatorDialog(){this.getContractorsDialog().pipe(L(e=>this.setIdentifier(e))).subscribe()}openContractorsDialog(){this.getContractorsDialog(xn.PRZELEW_US).pipe(L(e=>{e&&this.setContractorIntoForm(e)})).subscribe()}setTaxOffice(e){return this.recipientAccountFC.setValue(e.accountIban),this.recipientName1FC.setValue(e.name1),this.recipientName2FC.setValue(e.name2),this.recipientAddress1FC.setValue(e.address),this.recipientAddress2FC.setValue(""),this.sfpGroupId=e.accountsTypeGroup,this.applyIbanFormatInAccount(),this.saveInsertTaxOffice(e),this.get
8003SymbolOfPaymentTypes()}onSymbolOrPaymentTypesChange(){this.cycleRequired=this.formSymbolOrPaymentFC?.value?.cycle===1||!1,this.cycleRequired?this.setSettlementPeriodEnable():this.setSettlementPeriodDisable()}onSettlementPeriodTypeChange(){this.settlementPeriodMonthFC.reset(),this.settlementPeriodMonthFC.markAsTouched(),this.settlementPeriodNumberFC.reset(),this.settlementPeriodNumberFC.markAsTouched(),this.settlementPeriodNumberFC.clearValidators(),this.setPeriodNumberIfNeeded()&&this.settlementPeriodNumberFC.addValidators([G.required,G.pattern(this.choosePattern(this.settlementPeriodTypeFC.value))]),this.settlementPeriodNumberFC&&this.settlementPeriodNumberFC.updateValueAndValidity()}setPeriodNumberLabel(){switch(this.settlementPeriodTypeFC.value){case ni.DAY:return"Dzie\u0144";case ni.DECADE:return"Dekada miesi\u0105ca";case ni.QUARTER_YEAR:return"Kwarta\u0142";case ni.HALF_YEAR:return"P\xF3\u0142rocze"}return"Numer"}setMonthIfNeeded(){return this.periodIdHasMonth()?(this.settlementPeriodMonthFC.setValidators([G.required,G.pattern(ue.monthPattern)]),this.settlementPeriodMonthFC.updateValueAndValidity(),!0):(this.settlementPeriodMonthFC.setValidators(null),this.settlementPeriodMonthFC.updateValueAndValidity(),!1)}setPeriodNumberIfNeeded(){return this.settlementPeriodTypeFC.value&&!(this.settlementPeriodTypeFC.value===ni.YEAR||this.settlementPeriodTypeFC.value===ni.MONTH)}compareSelectOptions(e,n){return e&&n?e.sfp===n.sfp:e===n}setSettlementPeriodDisable(){this.settlementPeriodNumberFC.disable({emitEvent:!1}),this.settlementPeriodYearFC.disable({emitEvent:!1}),this.settlementPeriodMonthFC.disable({emitEvent:!1}),this.settlementPeriodTypeFC.disable({emitEvent:!1}),this.settlementPeriodNumberFC.setValue(""),this.settlementPeriodMonthFC.setValue(""),this.settlementPeriodYearFC.setValue("")}setSettlementPeriodEnable(){this.settlementPeriodNumberFC.enable({emitEvent:!1}),this.settlementPeriodMonthFC.enable({emitEvent:!1}),this.settlementPeriodYearFC.enable({emitEvent:!1}),this.settlementPeriodTypeFC.enable({emitEvent:!1})}ibanChange(e){this.applyIbanFormatInAccount(),this.fetchTaxOfficesFromIban(e)}getControlByProperty(e){switch(e){case"sfp":return this.formSymbolOrPaymentFC;case"okresTyp":return this.settlementPeriodTypeFC;case"okresRok":return this.settlementPeriodYearFC;case"okresMiesiac":return this.settlementPeriodMonthFC;case"okresNumer":return this.settlementPeriodNumberFC;case"rachunekOdbiorcy":case"rachunekUs":return this.recipientAccountFC;case"rachunek":return this.sourceAccountFC;case"idZobowiazania":return this.commitmentIdentificationFC;case"identyfikator":return this.complementaryIdentifierFC;case"typIdentyfikatora":return this.complementaryIdentifierTypeFC;case"dataOstatecznejRealizacji":return this.lastExecutionDateFC;case"dataWykonania":return this.dateOfExecutionFC;case"kwota":return this.amountFC;default:return null}}getFormGroup(){return this.transferUsCloFG}choosePattern(e){switch(e){case ni.DECADE:return ue.decadePattern;case ni.QUARTER_YEAR:return ue.quarterPattern;case ni.HALF_YEAR:return ue.halfYearPattern;case ni.DAY:default:return ue.dayPattern}}periodIdHasMonth(){return this.settlementPeriodTypeFC.value===ni.DAY||this.settlementPeriodTypeFC.value===ni.DECADE||this.settlementPeriodTypeFC.value===ni.MONTH}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}isDialogInEditMode(){return this.dialogMode===Me.EDIT}fillData(){this.loadByReference(),this.isDialogInImportMode()&&(this.sourceAccountFC.disable(),this.contractorBtnDisabled=!0,this.applyBundleMode()),this.isDialogInEditMode()&&(this.recipientAccountFC.disable(),this.usBtnDisabled=!0,this.disableRecipientInput()),this.transfer.contractorId&&this.disableRecipientInput(),this.isPacked&&this.applyBundleMode()}applyBundleMode(){this.sourceAccountFC.disable(),this.dateOfExecutionFC.disable()}actionForImportMode(e){this.updateAction(e).pipe(this.errorProviderService.processErrorWithLocalFormError(this)).subscribe(n=>this.dialogRef.close(n))}updateAction(e){return this.transferImportService.update(this.createTaxOfficeTransfer(),this.data.transferData.dispositionId,e)}loadByReference(){this.setFormControlValues(),this.transfer.targetAccount&&this.taxOfficeService.getTaxOfficeFromIBAN(this.transfer.targetAccount).pipe(L(e=>{e[0]?.accountsTypeGroup?this.sfpGroupId=e[0]?.accountsTypeGroup:sc.isIRPAccount(this.transfer.targetAccount)&&this.setIRP(this.transfer.targetAccount)}),W(()=>this.getSymbolOfPaymentTypes()),L(()=>this.formSymbolOrPaymentFC.patchValue(this.symbolOrPaymentTypes.find(e=>e.sfp===this.importedSFP)))).subscribe()}disableRecipientInput(){this.recipientAccountFC.disable(),this.recipientName1FC.disable(),this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}setIdentifier(e){let n=sc.getSpecificIdentifier(e,this.complementaryIdentifierTypeFC.value);n?this.complementaryIdentifierFC.setValue(n):this.setDefaultIdentifier(e)}setDefaultIdentifier(e){let n=sc.getDefaultIdentifier(e);this.complementaryIdentifierTypeFC.setValue(n.type),this.complementaryIdentifierFC.setValue(n.value)}getContractorsDialog(e){let n=new Ba(e||"");return this.dialog.open(La,n).afterClosed()}saveInsertTaxOffice(e){this.transfer.targetAccount=e.accountIban,this.transfer.name1=e.name1,this.transfer.name2=e.name2,this.transfer.address1=e.address}resetTaxOffice(){this.sfpGroupId=fb.NOT_FOUND,this.symbolOrPaymentTypes=[]}
8003setFormControlValues(){if(this.transfer){this.recipientAccountFC.setValue(vi.ibanFormat(this.transfer.targetAccount)),this.recipientName1FC.setValue(this.transfer.name1),this.recipientName2FC.setValue(this.transfer.name2),this.recipientAddress1FC.setValue(this.transfer.address1),this.recipientAddress2FC.setValue(this.transfer.address2),ue.isEmpty(this.amountFC.value)&&this.amountFC.setValue(this.transfer.amount),this.dateOfExecutionFC.setValue(this.transfer.dateOfExecution??kn(new Date)),this.lastExecutionDateFC.setValue(this.transfer.lastExecutionDate),this.sourceAccountFC.setValue(this.sourceAccountFC.value?this.sourceAccountFC.value:this.transfer.sourceAccountId),this.dispositionId=this.transfer.dispositionId?.toString();let e=this.transfer.tax;if(e.idType)this.complementaryIdentifierTypeFC.setValue(e.idType),this.complementaryIdentifierFC.setValue(e.idValue),this.formSymbolOrPaymentFC.patchValue(e.sfp),this.importedSFP=e.sfp,this.settlementPeriodYearFC.setValue(e.periodYear),this.settlementPeriodTypeFC.setValue(e.periodType,{emitEvent:!1}),this.setPeriodIdOrMonth(e.periodType,e.periodId),this.commitmentIdentificationFC.setValue(e.obligationsId);else if(this.transfer.title){let n=nf.parse(this.transfer.title);this.complementaryIdentifierTypeFC.setValue(n.identifier.type),this.complementaryIdentifierFC.setValue(n.identifier.value),this.formSymbolOrPaymentFC.patchValue(n.sfp),this.importedSFP=n.sfp,this.settlementPeriodYearFC.setValue(n.period.year),this.settlementPeriodTypeFC.setValue(n.period.type,{emitEvent:!1}),this.setPeriodIdOrMonth(n.period.type,n.period.number),this.commitmentIdentificationFC.setValue(n.commitmentIdentification)}this.applyIbanFormatInAccount()}}fetchTaxOfficesFromIban(e){let n=ue.removeWhitespaces(e);this.resetTaxOffice(),sc.isIRPAccount(n)?this.setIRP(n):this.setTaxOfficeFromIban(n)}setTaxOfficeFromIban(e){this.taxOfficeService.getTaxOfficeFromIBAN(e).pipe(W(n=>(this.recipientAutoCompleteList=n,n.length===1&&n[0].accountIban===e?this.setTaxOffice(n[0]):ke))).subscribe()}initItems(){this.transferUsCloFG=new Qn({recipientAccountFC:this.recipientAccountFC,recipientName1FC:this.recipientName1FC,recipientName2FC:this.recipientName2FC,recipientAddress1FC:this.recipientAddress1FC,recipientAddress2FC:this.recipientAddress2FC,amountFC:this.amountFC,executionDateFC:this.dateOfExecutionFC,lastExecutionDateFC:this.lastExecutionDateFC,settlementPeriodYearFC:this.settlementPeriodYearFC,settlementPeriodTypeFC:this.settlementPeriodTypeFC,settlementPeriodMonthFC:this.settlementPeriodMonthFC,settlementPeriodNumberFC:this.settlementPeriodNumberFC,complementaryIdentifierTypeFC:this.complementaryIdentifierTypeFC,complementaryIdentifierFC:this.complementaryIdentifierFC,commitmentIdentificationFC:this.commitmentIdentificationFC,chargeFC:this.sourceAccountFC,formSymbolOrPaymentFC:this.formSymbolOrPaymentFC}),this.transferUsCloFG.markAllAsTouched()}createTaxOfficeTransfer(){return{amount:this.amountFC.value,targetAccount:ue.removeWhitespaces(this.recipientAccountFC.value),sourceAccountId:this.sourceAccountFC.value,name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,dateOfExecution:this.dateOfExecutionFC.value?.toDate?.()??this.dateOfExecutionFC.value,lastExecutionDate:this.lastExecutionDateFC.value,bundleId:this.data.transferData.bundleId,tax:{idType:this.complementaryIdentifierTypeFC.value,idValue:this.complementaryIdentifierFC.value,periodId:this.cycleRequired?this.setPeriodId(this.settlementPeriodNumberFC.value,this.settlementPeriodMonthFC.value):"",periodType:this.cycleRequired?this.settlementPeriodTypeFC.value:"",periodYear:this.cycleRequired?this.settlementPeriodYearFC.value:"",sfp:this.formSymbolOrPaymentFC.value?.sfp||"",obligationsId:this.commitmentIdentificationFC.value},dispositionId:parseInt(this.dispositionId,10)}}setPeriodIdOrMonth(e,n){e===ni.MONTH?(this.settlementPeriodMonthFC.setValue(n),this.settlementPeriodNumberFC.setValue("")):(this.settlementPeriodNumberFC.setValue(n),this.settlementPeriodMonthFC.setValue(""))}setPeriodId(e,n){let r=o=>ue.isEmpty(o)?"":o.padStart(2,"0");return r(e)+r(n)}getChargeableAccounts(){this.accountService.getChargeableAccounts().pipe(L(e=>this.chargeableAccounts=e)).subscribe()}getSymbolOfPaymentTypes(){return this.taxOfficeService.getSymbolOfPaymentTypes(this.sfpGroupId).pipe(L(e=>this.symbolOrPaymentTypes=e),ae(e=>e.length>0))}disableIdentifierInput(){this.complementaryIdentifierTypeFC.disable(),this.complementaryIdentifierFC.disable(),this.disableIdentifierBtn=!0}setIRP(e){let n=sc.getIrpIdentifier(e);this.complementaryIdentifierTypeFC.patchValue(n.type),this.complementaryIdentifierFC.setValue(n.value),this.transfer.tax.idType=n.type,this.transfer.tax.idValue=n.value,this.disableIdentifierInput(),this.setTaxOffice({accountIban:e,accountsTypeGroup:fb.IRP_ACCOUNT,name1:this.transfer.name1,name2:this.transfer.name2,address:this.recipientAddress1FC.value}).subscribe()}setContractorIntoForm(e){this.transfer=ar.getFromContractor(e),sc.isIRPAccount(this.transfer.targetAccount)&&this.setIRP(this.transfer.targetAccount),this.setFormControlValues(),this.disableRecipientInput()}initIdentifierTypeListener(){this.subscription.add(this.complementaryIdentifierTypeFC.valueChanges.subscribe(()=>
8003this.complementaryIdentifierFC.updateValueAndValidity()))}initPeriodTypeListener(){this.subscription.add(this.settlementPeriodTypeFC.valueChanges.pipe(It(),hi(200),L(e=>{e===ni.YEAR?(this.settlementPeriodMonthFC.reset(),this.settlementPeriodNumberFC.reset(),this.settlementPeriodNumberFC.disable()):(this.settlementPeriodNumberFC.enable(),this.onSettlementPeriodTypeChange())})).subscribe())}static{this.\u0275fac=function(n){return new(n||t)(E(Bo),E(Vo),E(Le),E(Ch),E(Ze),E(rt),E(mt),E($d),E(Rt),E(Vd))}}static{this.\u0275cmp=k({type:t,selectors:[["app-transfer-us-clo"]],standalone:!1,decls:115,vars:64,consts:[["recipientAutoComplete","matAutocomplete"],["executionDatePicker",""],["lastExecutionDatePicker",""],[1,"flex-row","justify-around","items-center","gap-20"],["appearance","outline",1,"flex-85"],["autocomplete","off","matInput","","required","","type","text",3,"paste","formControl","matAutocomplete"],[3,"targetAccount"],[1,"red-hint"],[3,"value"],[3,"clickAction","disabled"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[1,"flex-row","gap-20"],[3,"amountFC","maximumLength"],["appearance","outline",1,"flex-fill"],[3,"ngModelChange","compareWith","formControl"],[1,"paragraph"],["appearance","outline"],["autocomplete","off","matInput","","type","text",3,"formControl","maxLength"],["appearance","outline",1,"min-width-of-5-rem"],[3,"formControl"],[1,"flex-row","justify-between","gap-20"],["appearance","outline",1,"flex-50"],["placeholder","Wybierz rachunek","required","",3,"formControl"],[1,"custom-option",3,"value"],[1,"flex-50"],["appearance","outline",1,"flex-80"],["autocomplete","off","matInput","","required","","type","text",3,"formControl","maxLength"],["mat-raised-button","","type","button",2,"margin-left","15px","height","50px",3,"click","disabled"],[3,"accountList","sourceAccountFC","disabledInput","shouldShowVatAccount","vatAccountInfo"],[3,"cancelAction","resetAction","confirmAction","withConfirmAddNextButton","confirmDisabled","buttonLabelConfirm"],[3,"click","value"],["autocomplete","off","matInput","","required","",3,"formControl","matDatepicker","min"],["matSuffix","",3,"for"],["appearance","outline",4,"appShowIfHasAuthority"],["autocomplete","off","matInput","",3,"formControl","matDatepicker","min"],[3,"lastExecutionDateFC"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header"),h(2,"Przelew US/C\u0141O"),c(),u(3,"app-dialog-content")(4,"app-dialog-section")(5,"app-dialog-section-header"),h(6,"Urz\u0105d"),c(),u(7,"div",3)(8,"mat-form-field",4)(9,"mat-label"),h(10,"Rachunek"),c(),u(11,"input",5),T("paste",function(){return r.onRecipientAccountPaste()}),c(),u(12,"mat-error"),x(13,"app-target-account-error",6),c(),v(14,ive,2,1,"mat-hint",7),c(),u(15,"mat-autocomplete",null,0),He(17,rve,3,4,"mat-option",8,at),c(),u(19,"app-button",9),T("clickAction",function(){return r.openContractorsDialog()}),h(20," ... "),c(),u(21,"app-button",9),T("clickAction",function(){return r.openTaxOfficeDialogComponent()}),h(22," US "),c()(),x(23,"app-recipant-input",10),c(),u(24,"app-dialog-section")(25,"app-dialog-section-header"),h(26,"Tre\u015B\u0107"),c(),u(27,"div",11),x(28,"app-amount-input",12),v(29,cve,11,7),c(),u(30,"mat-form-field",13)(31,"mat-label"),h(32,"Symbol formularza lub p\u0142atno\u015Bci"),c(),u(33,"mat-select",14),T("ngModelChange",function(){return r.onSymbolOrPaymentTypesChange()}),u(34,"mat-option"),h(35,"--"),c(),He(36,dve,2,2,"mat-option",8,at),c(),u(38,"mat-error"),v(39,uve,2,1,"span"),v(40,mve,2,1,"span"),v(41,pve,2,1,"span"),v(42,hve,2,1,"span"),v(43,fve,2,1,"span"),c()(),u(44,"mat-card-header")(45,"mat-card-subtitle",15),h(46,"Okres rozliczenia"),c()(),u(47,"div",11)(48,"mat-form-field",16)(49,"mat-label"),h(50,"Rok"),c(),x(51,"input",17),u(52,"mat-error"),v(53,gve,2,1,"span"),v(54,_ve,2,1,"span"),v(55,bve,2,1,"span"),v(56,vve,2,1,"span"),c()(),u(57,"mat-form-field",18)(58,"mat-label"),h(59,"Typ"),c(),u(60,"mat-select",19)(61,"mat-option"),h(62,"--"),c(),He(63,yve,2,2,"mat-option",8,at),c(),u(65,"mat-error"),v(66,Cve,2,1,"span"),v(67,Dve,2,1,"span"),c()(),v(68,xve,7,4,"mat-form-field",16),v(69,kve,9,7,"mat-form-field",16),c(),u(70,"div",20)(71,"mat-form-field",21)(72,"mat-label"),h(73,"Typ identyfikatora uzupe\u0142niaj\u0105cego"),c(),u(74,"mat-select",22),He(75,Rve,2,2,"mat-option",23,at),c(),u(77,"mat-error"),v(78,Mve,2,1,"span"),v(79,Nve,2,1,"span"),v(80,Ove,2,1,"span"),c()(),u(81,"div",24)(82,"mat-form-field",25)(83,"mat-label"),h(84,"Identyfikator uzupe\u0142niaj\u0105cy"),c(),x(85,"input",26),u(86,"mat-error"),v(87,Fve,2,1,"span"),v(88,Pve,2,1,"span"),v(89,Lve,2,1,"span"),v(90,Bve,2,1,"span"),v(91,Vve,2,1,"span"),v(92,jve,2,1,"span"),v(93,Hve,2,1,"span"),v(94,Uve,2,1,"span"),v(95,zve,2,1,"span"),v(96,Gve,2,1,"span"),v(97,Wve,2,1,"span"),c()(),u(98,"button",27),T("click",function(){return r.openIdentificatorDialog()}),u(99,"mat-icon"),h(100,"list"),c()()()(),u(101,"mat-form-field",13)(102,"mat-label"),h(103,"Identyfikacja zobowi\u0105zania"),c(),x(104,"input",17),u(105,"mat-error"),v(106,$ve,2,1,"span"),v(107,qve,2,1,"span"),v(108,Yve,2,1,"span"),c()()(),u(109,"app-dialog-section")(110,"app-dialog-section-header"),h(111,"Obci\u0105\u017Cenie"),c(),x(112,"app-source-account-input",28),be(113,"async"),c()(),u(114,"app-action-buttons-panel",29),T("cancelAction",function(){return r.close()})("resetAction",function(){return r.clear()})("confirmAction",function(){return r.pressSaveBtn()}),c()()),n&2){let o=ye(16);l(11),g("formControl",r.recipientAccountFC)("matAutocomplete",o),l(2),g("targetAccount",r.recipientAccountFC),l(),y(r.isRecipientAccountPasted?14:-1),l(3),Ue(r.recipientAutoCompleteList),l(2),g("disabled",r.contractorBtnDisabled),l(2),g("disabled",r.usBtnDisabled),l(2),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(5),g("amountFC",r.amountFC)("maximumLength",r.AMOUNT_LENGTH),l(),y(r.isPacked?-1:29),l(4),g("compareWith",r.compareSelectOptions)("formControl",r.formSymbolOrPaymentFC),l(3),Ue(r.symbolOrPaymentTypes),l(3),y(r.formSymbolOrPaymentFC.hasError("sfp.maxlength")?39:-1),l(),y(r.formSymbolOrPaymentFC.hasError("sfp.inactive")?40:-1),l(),y(r.formSymbolOrPaymentFC.hasError("sfp.illegal")?41:-1),l(),y(r.formSymbolOrPaymentFC.hasError("sfp.empty")?42:-1),l(),y(r.formSymbolOrPaymentFC.hasError("sfp.notINNE")?43:-1),l(8),g("formControl",r.settlementPeriodYearFC)("maxLength",r.PERIOD_YEAR_LENGTH),l(2),y(r.settlementPeriodYearFC.hasError("okresRok.empty")||r.settlementPeriodYearFC.hasError("required")?53:-1),l(),y(r.settlementPeriodYearFC.hasError("okresRok.notEmpty")?54:-1),l(),y(r.settlementPeriodYearFC.hasError("okresRok.invalid")?55:-1),l(),y(r.settlementPeriodYearFC.hasError("pattern")?56:-1),l(4),g("formControl",r.settlementPeriodTypeFC),l(3),Ue(r.periodTypes),l(3),y(r.settlementPeriodTypeFC.hasError("okresTyp.invalid")?66:-1),l(),y(r.settlementPeriodTypeFC.hasError("okresTyp.notEmpty")?67:-1),l(),y(r.setMonthIfNeeded()?68:-1),l(),y(r.setPeriodNumberIfNeeded()?69:-1),l(5),g("formControl",r.complementaryIdentifierTypeFC),l(),Ue(r.complementaryIdTypes),l(3),y(r.complementaryIdentifierTypeFC.hasError("required")?78:-1),l(),y(r.complementaryIdentifierTypeFC.hasError("typIdentyfikatora.empty")?79:-1),l(),y(r.complementaryIdentifierTypeFC.hasError("typIdentyfikatora.invalid")?80:-1),l(5),g("formControl",r.complementaryIdentifierFC)("maxLength",r.IDENTIFIER_LENGTH),l(2),y(r.complementaryIdentifierFC.hasError("identyfikator.maxlength")?87:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.empty")?88:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.nip.invalid")?89:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.pesel.invali
8003d")?90:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.regon.invalid")?91:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.dowod_osobisty.invalid")?92:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.paszport.illegal")?93:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.paszport.illegalChar")?94:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.paszport.invalid")?95:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.inny_dokument.invalid")?96:-1),l(),y(r.complementaryIdentifierFC.hasError("identyfikator.illegalChar")?97:-1),l(),g("disabled",r.disableIdentifierBtn),l(6),g("formControl",r.commitmentIdentificationFC)("maxLength",r.IDENTIFICATION_LENGTH),l(2),y(r.commitmentIdentificationFC.hasError("idZobowiazania.clo.illegal")?106:-1),l(),y(r.commitmentIdentificationFC.hasError("idZobowiazania.clo.empty")?107:-1),l(),y(r.commitmentIdentificationFC.hasError("idZobowiazania.illegal")?108:-1),l(4),g("accountList",r.chargeableAccounts)("sourceAccountFC",r.sourceAccountFC)("disabledInput",r.isPacked)("shouldShowVatAccount",!0)("vatAccountInfo",Fe(113,62,r.vatAccountInfo$)),l(2),g("withConfirmAddNextButton",r.withConfirmAddNextButton)("confirmDisabled",r.transferUsCloFG.invalid)("buttonLabelConfirm",r.ButtonLabels.SAVE)}},dependencies:[Ve,qe,oa,St,Ln,Da,Qt,hr,Yn,zC,UC,zi,pi,Ri,Gn,et,si,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,$e,Bt,_m,Fa,Yr,Kr,bi,Tt,pc,bm,Ji,qt],styles:[".flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}",".justify-between[_ngcontent-%COMP%]{justify-content:space-between}",".justify-around[_ngcontent-%COMP%]{justify-content:space-around}",".items-center[_ngcontent-%COMP%]{align-items:center}",".gap-20[_ngcontent-%COMP%]{gap:20px}",".flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}",".flex-80[_ngcontent-%COMP%]{flex:1 1 80%;max-width:80%;box-sizing:border-box}",".flex-85[_ngcontent-%COMP%]{flex:1 1 85%;max-width:85%;box-sizing:border-box}",".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();var T5=(()=>{class t{constructor(e){this.dialog=e}openDialog(e,n,r){switch(e){case pn.COMMON:return this.dialog.open(rf,this.addCommonConfig(n,r));case pn.SORBNET:return this.dialog.open(rf,this.addCommonConfig(n,r,!0));case pn.INTERNATIONAL:return this.dialog.open(yw,this.addCommonConfig(n,r));case pn.PERSONAL:return this.dialog.open(yM,this.addCommonConfig(n,r));case pn.VAT_INVOICE:return this.dialog.open(Cw,this.addCommonConfig(n,r));case pn.US_CLO:return this.dialog.open(CM,this.addCommonConfig(n,r));case pn.VAT_TRANSFERENCE:return this.dialog.open(qR,this.addCommonConfig(n,r));default:return this.dialog.open(rf,this.addCommonConfig(n,r))}}addCommonConfig(e,n,r=!1){e.sorbnet=e.sorbnet||r;let o=new Jt;return o.data={transferDialogMode:n,transferData:e},o.panelClass=li.LARGE,o}static{this.\u0275fac=function(n){return new(n||t)(F(mt))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var I5=(()=>{class t{constructor(e){this.dialog=e}openDialog(e,n){let r=new Jt;return r.data={details:n,dialogVariant:Mi.getContractorType(e)},r.panelClass=li.MEDIUM,r.data.dialogVariant===ct.FOREIGN_TRANSFER?this.dialog.open(jE,r):this.dialog.open(PE,r)}static{this.\u0275fac=function(n){return new(n||t)(F(mt))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Zve(t,i){if(t&1&&(u(0,"div",4)(1,"span"),h(2),c(),u(3,"span"),h(4),c(),u(5,"span"),h(6),c(),u(7,"span"),h(8),c(),u(9,"span"),h(10),c()()),t&2){let e=_(2);l(2),S(e.targetBank==null?null:e.targetBank.bankName),l(2),S(e.targetBank==null?null:e.targetBank.address),l(2),S(e.targetBank==null?null:e.targetBank.address2),l(2),so("",e.targetBank==null?null:e.targetBank.city," ",e.targetBank==null?null:e.targetBank.country),l(2),S(e.targetBank==null?null:e.targetBank.bic)}}function Qve(t,i){if(t&1&&(u(0,"div",4)(1,"span"),h(2),c(),u(3,"span"),h(4),c(),u(5,"span"),h(6),c()()),t&2){let e=_(2);l(2),S(e.targetBank==null?null:e.targetBank.bankName),l(2),S(e.targetBank==null?null:e.targetBank.address),l(2),S(e.targetBank==null?null:e.targetBank.address2)}}function Jve(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Rachunek odbiorcy"),c(),x(3,"input",3),be(4,"ibanFormatPipe"),v(5,Zve,11,6,"div",4),v(6,Qve,7,3,"div",4),c()),t&2){let e=_();l(3),g("value",ri(Fe(4,4,e.rowDetails.targetIban))),l(2),y(e.targetBank.bic?5:-1),l(),y(e.targetBank.bic?-1:6)}}function e0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Nazwa odbiorcy"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.rowDetails.targetName1.trim()+e.space+e.rowDetails.targetName2.trim()))}}function t0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Tytu\u0142"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.rowDetails.title))}}function n0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Typ identyfikatora"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.identifier.type))}}function i0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"NIP lub identyfikator uzupe\u0142niaj\u0105cy"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.identifier.value))}}function r0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Okres rozliczenia"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",eI("",e.usTitleData.period.number,"",e.usTitleData.period.type.slice(0,1),"",e.usTitleData.period.year))}}function o0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Symbol formularza lub p\u0142atno\u015Bci"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.sfp))}}function a0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Identyfikator zobowi\u0105zania"),c(),x(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.commitmentIdentification))}}function s0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Status weryfikacji VAT"),c(),x(3,"input",9),be(4,"whiteListMessage"),u(5,"div",4)(6,"span"),h(7),c(),u(8,"span"),h(9),c()()()),t&2){let e=_();l(3),g("value",ri(Fe(4,5,e.rowDetails.whiteListDTO.state)))("whiteList",e.rowDetails.whiteListDTO),l(4),se("Identyfikator weryfikacji: ",e.rowDetails.whiteListDTO.requestId),l(2),se("Data weryfikacji: ",e.rowDetails.whiteListDTO.checkDate)}}var l0e=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b,w){this.dialogRef=e,this.data=n,this.duplicatesFileService=r,this.sharedDataService=o,this.transferService=a,this.transferDialogService=s,this.bankService=d,this.foreignBankService=p,this.contractorDialogService=f,this.errorProviderService=b,this.userFacadeService=w,this.dateFormat=je,this.isOperationTransfer=!1,this.isCreateTransferButtonEnabled=!1,this.isCreateContractorButtonEnabled=!0,this.space=" ",n.details[0].side===la[la.DEBIT]?this.amount=0-n.details[0].amount:this.amount=n.details[0].amount,this.isCurrentLayout=n.dialogVariant===gM.CURRENT,this.isUSTransfer=yl.parse(Dm.getTransferType(this.data.details[0]))===pn.US_CLO,this.isUSTransfer&&(this.usTitleData=nf.parse(n.details[0].title)),this.rowDetails=n.details[0]}ngOnInit(){this.checkIfOperationIsTransfer(),this.accountId=this.sharedDataService.getData(),this.importBankDetail
8003s(this.data.details[0].sourceAccount).subscribe(e=>this.sourceBank=e),this.importBankDetails(this.data.details[0].targetIban).subscribe(e=>this.targetBank=e),this.isCreateContractorButtonEnabled=this.userFacadeService.hasAuthorities([Ut.FUNC_CONTRACTORS_EDIT]),this.isCreateTransferButtonEnabled=this.userFacadeService.hasAuthorities([Ut.FUNC_TRANSFER_EDIT])}openDuplicatesFile(){let e=this.isCurrentLayout?Bz:Vz;this.duplicatesFileService.openDuplicatesFile(e,this.accountId,[this.data.details[0].operationId])}close(){this.dialogRef.close()}createTransfer(){this.getDataOfSingleTransfer().pipe(W(e=>this.transferDialogService.openDialog(yl.parse(Dm.getTransferType(this.data.details[0])),e,Me.NEW).afterClosed())).subscribe()}createContractorFromTransfer(){this.getDataOfSingleTransfer().pipe(W(e=>this.contractorDialogService.openDialog(yl.parse(Dm.getTransferType(this.data.details[0])),Mi.parseTransferToContractor(e,this.data.details[0])).afterClosed())).subscribe()}checkIfOperationIsTransfer(){this.isOperationTransfer=Dm.isCorrectType(this.data.details[0].td,this.data.details[0].to1)}getDataOfSingleTransfer(){let e=this.isCurrentLayout?gh:_h;return this.transferService.getSingleTransfer(e,this.data.details[0].operationId,this.accountId)}importBankDetails(e){return this.bankService.getDomesticBank(e).pipe(W(n=>n.result?B(n):this.foreignBankService.getBankByAccount(e)),this.errorProviderService.processError(ze.FETCHING_DATA_ERROR))}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(rt),E(D5),E(E5),E(w5),E(T5),E(fl),E(No),E(I5),E(Rt),E(wi))}}static{this.\u0275cmp=k({type:t,selectors:[["app-operation-details-dialog"]],standalone:!1,decls:73,vars:48,consts:[[1,"operation-details-dialog-content"],["appearance","outline"],["autocomplete","off","matInput","","type","text","disabled","",3,"value"],["autocomplete","off","matInput","","type","text","disabled","",1,"text-bold",3,"value"],[1,"group","flex-col"],["mat-dialog-actions","",1,"justify-between"],[1,"gap-5"],[3,"clickAction"],[3,"clickAction","disabled"],["autocomplete","off","matInput","","type","text","disabled","","appWhiteList","",3,"whiteList","value"]],template:function(n,r){n&1&&(u(0,"app-dialog-container"),x(1,"app-close-icon-button"),u(2,"app-dialog-header"),h(3,"Szczeg\xF3\u0142y operacji"),c(),u(4,"app-dialog-content",0)(5,"mat-form-field",1)(6,"mat-label"),h(7,"Data operacji"),c(),x(8,"input",2),be(9,"date"),c(),u(10,"mat-form-field",1)(11,"mat-label"),h(12,"Data ksi\u0119gowania"),c(),x(13,"input",2),be(14,"date"),c(),u(15,"mat-form-field",1)(16,"mat-label"),h(17,"Typ operacji"),c(),x(18,"input",2),c(),u(19,"mat-form-field",1)(20,"mat-label"),h(21,"Nr referencyjny"),c(),x(22,"input",2),c(),u(23,"mat-form-field",1)(24,"mat-label"),h(25,"Kwota operacji"),c(),x(26,"input",2),be(27,"currencyFormatPipe"),c(),u(28,"mat-form-field",1)(29,"mat-label"),h(30,"Saldo po operacji"),c(),x(31,"input",3),be(32,"currencyFormatPipe"),c(),u(33,"mat-form-field",1)(34,"mat-label"),h(35,"Rachunek nadawcy"),c(),x(36,"input",3),be(37,"ibanFormatPipe"),u(38,"div",4)(39,"span"),h(40),c(),u(41,"span"),h(42),c(),u(43,"span"),h(44),c()()(),u(45,"mat-form-field",1)(46,"mat-label"),h(47,"Nazwa nadawcy"),c(),x(48,"input",2),c(),v(49,Jve,7,6,"mat-form-field",1),v(50,e0e,4,2,"mat-form-field",1),v(51,t0e,4,2,"mat-form-field",1),v(52,n0e,4,2,"mat-form-field",1),v(53,i0e,4,2,"mat-form-field",1),v(54,r0e,4,4,"mat-form-field",1),v(55,o0e,4,2,"mat-form-field",1),v(56,a0e,4,2,"mat-form-field",1),u(57,"mat-form-field",1)(58,"mat-label"),h(59,"Dodatkowa tre\u015B\u0107"),c(),x(60,"input",2),c(),v(61,s0e,10,7,"mat-form-field",1),c(),u(62,"div",5)(63,"div",6)(64,"app-button",7),T("clickAction",function(){return r.openDuplicatesFile()}),h(65,"Drukuj wt\xF3rnik"),c(),u(66,"app-button",8),T("clickAction",function(){return r.createContractorFromTransfer()}),h(67,"Stw\xF3rz kontrahenta "),c(),u(68,"app-button",8),T("clickAction",function(){return r.createTransfer()}),h(69," Stw\xF3rz przelew "),c()(),u(70,"div")(71,"app-button",7),T("clickAction",function(){return r.close()}),h(72,"Zamknij"),c()()()()),n&2&&(l(8),g("value",ri(Dr(9,34,r.rowDetails.operationDate,r.dateFormat))),l(5),g("value",ri(Dr(14,37,r.rowDetails.accountingDate,r.dateFormat))),l(5),g("value",ri(r.rowDetails.transferType)),l(4),g("value",ri(r.rowDetails.refNumber)),l(4),Be(r.amount<=0?"red-text-bold":"text-bold"),g("value",ri(Dr(27,40,r.amount,r.rowDetails.currency))),l(5),g("value",ri(Dr(32,43,r.rowDetails.saldo,r.rowDetails.currency))),l(5),g("value",ri(Fe(37,46,r.rowDetails.sourceAccount))),l(4),S(r.sourceBank==null?null:r.sourceBank.bankName),l(2),S(r.sourceBank==null?null:r.sourceBank.address),l(2),S(r.sourceBank==null?null:r.sourceBank.address2),l(4),g("value",ri(r.rowDetails.sourceName1.trim()+r.space+r.rowDetails.sourceName2.trim())),l(),y(r.isUSTransfer?-1:49),l(),y(r.isUSTransfer?-1:50),l(),y(r.isUSTransfer?-1:51),l(),y(r.isUSTransfer?52:-1),l(),y(r.isUSTransfer?53:-1),l(),y(r.isUSTransfer?54:-1),l(),y(r.isUSTransfer?55:-1),l(),y(r.isUSTransfer?56:-1),l(4),g("value",ri(r.rowDetails.additionalDescription)),l(),y(r.rowDetails.whiteListDTO?61:-1),l(5),g("disabled",!r.isCreateContractorButtonEnabled),l(2),g("disabled",!r.isCreateTransferButtonEnabled||!r.isOperationTransfer))},dependencies:[Ve,qe,eh,et,Mt,Nt,Ot,lb,Bt,bi,mM,un,qt,Kt,pb],styles:["mat-form-field[_ngcontent-%COMP%] mat-label[_ngcontent-%COMP%]{font-weight:700;color:#000c}.mat-mdc-input-element[_ngcontent-%COMP%]:disabled{color:#000}.group[_ngcontent-%COMP%]{padding:.2rem .3rem;margin-top:.2rem;font-size:12px;color:#a8a8a8}.flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}
8003.gap-5[_ngcontent-%COMP%]{gap:5px}"]})}}return t})();var ww=(function(t){return t.DAY="Dzie\u0144",t.MONTH="Miesi\u0105c",t.YEAR="Rok",t})(ww||{}),xw=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(xw||{}),A5=[{value:xw.DAY,viewValue:ww.DAY},{value:xw.MONTH,viewValue:ww.MONTH},{value:xw.YEAR,viewValue:ww.YEAR}];var Dl=(function(t){return t.STANDARD="PRZELEW_ZWYK\u0141Y",t.VAT="PRZELEW_VAT",t.TO_SIGN="TO_SIGN",t.QUICK_EXECUTION="QUICK_EXECUTION",t.EDIT="EDIT",t})(Dl||{});var c0e=(function(t){return t.NULL="NULL",t.TRANSFER="PRZELEW",t.DEPOSIT="LOKATA",t.STANDING_ORDER="ZLECENIE_STALE",t.TOPUP="DOLADOWANIE_GSM",t})(c0e||{}),Dc=(function(t){return t.NULL="NULL",t.TRANSFER="TRANSFER",t.DEPOSIT="DEPOSIT",t.STANDING_ORDER="STANDING_ORDER",t.TOPUP="TOPUP",t})(Dc||{}),of=(function(t){return t.NULL="NULL",t.TRANSFER="Przelew",t.DEPOSIT="Lokata",t.STANDING_ORDER="Zlecenie sta\u0142e",t.TOPUP="Do\u0142adowanie",t})(of||{});var k5=(()=>{class t{constructor(e,n){this.http=e,this.errorProviderService=n}getStandingOrders(e){return this.http.post(Gr,e)}getStandingOrderBundles(e="",n){let r=new it().set("accountId",e.toString()).set("dispTypes",n.toString());return this.http.get(g3,{params:r})}toSigning(e){return this.http.post(b3,e).pipe(this.errorProviderService.processError(ze.SIGNING_ERROR))}updateCreateDisposition(e){return this.http.put(p3,e).pipe(this.errorProviderService.processError(ze.EDITING_ERROR))}updateModifyDisposition(e){return this.http.put(h3,e)}updateDeleteDisposition(e){return this.http.put(f3,e)}addModifyDisposition(e){return this.http.post(u3,e)}addNewStandardStandingOrder(e){return this.http.post(d3,e)}addDeleteDisposition(e){return this.http.post(m3,e)}deleteDisposition(e){let n=e.id;return this.http.delete(Gr+`/${n}`)}getForEditById(e,n){let r=new it;return e&&(r=r.set("dispositionId",e?.toString())),n&&(r=r.set("standingOrderId",n?.toString())),this.http.get(Gr,{params:r})}getDispositionAudit(e){return this.http.get(v3+`/${e}`)}getStandingOrderAudit(e){return this.http.get(_3+`/${e}`)}checkAllEnablers(e=null,n=null){let r=new it;return e&&e.length>0&&(r=r.set("dispositionId",e?.toString())),n&&n.length>0&&(r=r.set("standingOrderId",n?.toString())),this.http.get(y3,{params:r})}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Rt))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function u0e(t,i){t&1&&(u(0,"span"),h(1," - przelew zwyk\u0142y"),c())}function m0e(t,i){t&1&&(u(0,"span"),h(1," - faktura VAT"),c())}function p0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.REQUIRED_ERROR_MESSAGE)}}function h0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.titleFC.getRawValue().length,"/",e.TITTLE_MESSAGE_MAX_LENGTH)}}function f0e(t,i){if(t&1&&(u(0,"app-dialog-section")(1,"app-dialog-section-header"),h(2,"Tre\u015B\u0107"),c(),u(3,"div",7),x(4,"app-amount-input",17),u(5,"mat-form-field",18)(6,"mat-label"),h(7,"Data wykonania dyspozycji"),c(),x(8,"input",19)(9,"mat-datepicker-toggle",10)(10,"mat-datepicker",null,2),c()(),u(12,"mat-form-field",20)(13,"mat-label"),h(14,"Tytu\u0142em"),c(),x(15,"textarea",21),u(16,"mat-error"),v(17,p0e,2,1,"span"),v(18,h0e,2,3,"span"),c()()()),t&2){let e=ye(11),n=_();l(4),g("amountFC",n.amountFC),l(4),g("matDatepicker",e)("formControl",n.executionDateFC),l(),g("for",e),l(6),g("formControl",n.titleFC),l(2),y(n.titleFC.hasError("required")?17:-1),l(),y(n.titleFC.hasError("maxlength")?18:-1)}}function g0e(t,i){if(t&1&&(u(0,"mat-form-field",18)(1,"mat-label"),h(2,"Data ost. realizacij"),c(),x(3,"input",28)(4,"mat-datepicker-toggle",10)(5,"mat-datepicker",null,3),c()),t&2){let e=ye(6),n=_(2);l(3),g("matDatepicker",e)("formControl",n.finalExecutionDateFC),l(),g("for",e)}}function _0e(t,i){if(t&1&&(u(0,"mat-checkbox",15),h(1,"Sorbnet"),c()),t&2){let e=_(2);g("formControl",e.sorbnetFC)}}function b0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.REQUIRED_ERROR_MESSAGE)}}function v0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),S((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function y0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.REQUIRED_ERROR_MESSAGE)}}function C0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),S((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function D0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);
8003l(),S(e.ERRORS["vatNr.invalidSubstrings"])}}function E0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.invoiceNumberFC.getRawValue().length,"/",e.INVOICE_NUMBER_MAX_LENGTH)}}function w0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),S((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function x0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),S(e.ERRORS["text.invalidSubstrings"])}}function S0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),wo("",e.MAX_LENGTH_ERROR_MESSAGE," - ",e.additionalMessageFC.getRawValue().length,"/",e.ADDITIONAL_MESSAGE_MAX_LENGTH)}}function T0e(t,i){if(t&1){let e=Se();u(0,"app-dialog-section")(1,"app-dialog-section-header"),h(2,"Tre\u015B\u0107"),c(),u(3,"div",7),x(4,"app-amount-input",22),u(5,"app-amount-input",23),T("handleFocusoutEvent",function(){te(e);let r=_();return ne(r.calculateAndActualiseAmountFCValue())}),c(),u(6,"div",24)(7,"app-amount-input",23),T("handleFocusoutEvent",function(){te(e);let r=_();return ne(r.calculateAndActualiseAmountFCValue())}),c()(),u(8,"mat-form-field",18)(9,"mat-label"),h(10,"Data wykonania dyspozycji"),c(),x(11,"input",25)(12,"mat-datepicker-toggle",10)(13,"mat-datepicker",null,2),c(),v(15,g0e,7,3,"mat-form-field",18),v(16,_0e,2,1,"mat-checkbox",15),c(),u(17,"mat-form-field",20)(18,"mat-label"),h(19,"Identyfikator ( NIP / PESEL )"),c(),x(20,"input",26),u(21,"mat-error"),v(22,b0e,2,1,"span"),v(23,v0e,2,1,"span"),c()(),u(24,"mat-form-field",20)(25,"mat-label"),h(26,"Numer faktury"),c(),x(27,"input",21),u(28,"mat-error"),v(29,y0e,2,1,"span"),v(30,C0e,2,1,"span"),v(31,D0e,2,1,"span"),v(32,E0e,2,3,"span"),c()(),u(33,"mat-form-field",20)(34,"mat-label"),h(35,"Dodatkowa tre\u015B\u0107"),c(),x(36,"input",27),u(37,"mat-error"),v(38,w0e,2,1,"span"),v(39,x0e,2,1,"span"),v(40,S0e,2,3,"span"),c()()()}if(t&2){let e=ye(14),n=_();l(4),g("amountFC",n.amountNetFC)("fieldLabel","Kwota netto"),l(),g("amountFC",n.amountVatFC)("fieldLabel","Kwota VAT"),l(2),g("amountFC",n.amountFC)("fieldLabel","Kwota brutto"),l(4),g("min",n.minExecutionDate)("matDatepicker",e)("formControl",n.executionDateFC),l(),g("for",e),l(3),y(n.data.isDelete?15:-1),l(),y(n.data.isDelete?16:-1),l(4),g("formControl",n.idNipPeselFC),l(2),y(n.idNipPeselFC.hasError("required")?22:-1),l(),y(!n.idNipPeselFC.hasError("required")&&n.idNipPeselFC.hasError("nipAndPeselFormat")?23:-1),l(4),g("formControl",n.invoiceNumberFC),l(2),y(n.invoiceNumberFC.hasError("required")?29:-1),l(),y(n.invoiceNumberFC.hasError("pattern")?30:-1),l(),y(n.invoiceNumberFC.hasError("vatNr.invalidSubstrings")?31:-1),l(),y(n.invoiceNumberFC.hasError("maxlength")?32:-1),l(4),g("formControl",n.additionalMessageFC),l(2),y(n.additionalMessageFC.hasError("pattern")?38:-1),l(),y(n.additionalMessageFC.hasError("text.invalidSubstrings")?39:-1),l(),y(n.additionalMessageFC.hasError("maxlength")?40:-1)}}function I0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.REQUIRED_ERROR_MESSAGE)}}function A0e(t,i){t&1&&(u(0,"span"),h(1,"Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza"),c())}function k0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),S(e.REQUIRED_ERROR_MESSAGE)}}function R0e(t,i){t&1&&(u(0,"span"),h(1,"Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza"),c())}function M0e(t,i){if(t&1&&(u(0,"mat-option",14),h(1),c()),t&2){let e=i.$implicit;g("value",e.value),l(),se(" ",e.viewValue," ")}}var N0e=(()=>{class t{constructor(e,n,r,o,a,s,d){this.formBuilder=e,this.orderDialogRef=n,this.dialog=r,this.data=o,this.accountService=a,this.apiService=s,this.errorProviderService=d,this.bankName="",this.REQUIRED_ERROR_MESSAGE=Po,this.MAX_LENGTH_ERROR_MESSAGE=xh,this.ERRORS=ln,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.INVOICE_NUMBER_MAX_LENGTH=35,this.TITTLE_MESSAGE_MAX_LENGTH=140,this.chargeableAccounts=[],this.intervalUnits=A5,this.StandingOrderDialogTypeEnum=Dl,this.minStartDate=$t(sa(new Date,1),je),this.minEndDate=$t(sa(new Date,1),je),this.minExecutionDate=$t(new Date,je),this.ButtonLabels=tt,this.isStandingOrderEdit=!1,this.destroyed$=new O,this.recipientAccount=new z("",[G.required,Xt.ibanSimplyValidator,G.pattern(ue.ibanPattern)]),this.recipientName1FC=new z(""),this.recipientName2FC=new z(""),this.recipientAddress1FC=new z(""),this.recipientAddress2FC=new z(""),this.amountFC=new z("",[G.required,G.min(0),Xt.currencyValidator]),this.executionDateFC=new z({value:$t(new Date,je),disabled:!0},[G.required,xi.isBeforeToday]),this.finalExecutionDateFC=new z("",[xi.isBeforeToday]),this.sorbnetFC=new z(!1),this.titleFC=new z("",[G.required,G.maxLength(this.TITTLE_MESSAGE_MAX_LENGTH)]),this.chargeableAccountFC=new z(""),this.startDateFC=new z($t(sa(new Date,1),je),[G.required,xi.isBeforeToday]),this.endDateFC=new z($t(sD(sa(new Date,1),1),je),[G.required,xi.isBeforeToday]),this.intervalFC=new z(1),this.intervalUnitFC=new z(this.intervalUnits[1].value),this.isActiveFC=new z(!0),this.amountNetFC=new z("",[G.required,G.min(0)]),this.amountVatFC=new z("",[G.required,G.min(0)]),this.amountNetFC.disable(),this.idNipPeselFC=new z("",[G.required,xi.nipPeselValidator]),this.invoiceNumberFC=new z("",[G.required,G.maxLength(this.INVOICE_NUMBER_MAX_LENGTH),G.pattern(ue.polishAcceptableLettersAndCharsPattern),xi.invoiceNumber]),this.additionalMe
8003ssageFC=new z("",[G.maxLength(this.ADDITIONAL_MESSAGE_MAX_LENGTH),G.pattern(ue.polishAcceptableLettersAndCharsPattern),xi.invoiceAdditionalInfo]),this.recipientFG=this.formBuilder.group({accountFC:this.recipientAccount,name1FC:this.recipientName1FC,name2FC:this.recipientName2FC,address1FC:this.recipientAddress1FC,address2FC:this.recipientAddress2FC}),this.contentStandardFG=this.formBuilder.group({amountFC:this.amountFC,executionDateFC:this.executionDateFC,titleFC:this.titleFC}),this.chargeFG=this.formBuilder.group({chargeableAccountFC:this.chargeableAccountFC,startDateFC:this.startDateFC,endDateFC:this.endDateFC,intervalFC:this.intervalFC,intervalUnitFC:this.intervalUnitFC,isActiveFC:this.isActiveFC}),this.contentVatFG=this.formBuilder.group({amountNetFC:this.amountNetFC,amountVatFC:this.amountVatFC,amountFC:this.amountFC,executionDateFC:this.executionDateFC,sorbnetFC:this.sorbnetFC,idNipPeselFC:this.idNipPeselFC,invoiceNumberFC:this.invoiceNumberFC,additionalMessageFC:this.additionalMessageFC},{validators:xi.notBigger(this.amountVatFC,this.amountFC)}),this.allDataFG=this.formBuilder.group({recipientFG:this.recipientFG,chargeFG:this.chargeFG}),this.toggleElements(),this.dialogTitle=o.isEdit?o.isDelete?"Usuni\u0119cie":"Edycja":"Utworzenie",this.dialogMode=o.isEdit?Me.EDIT:Me.NEW}ngOnInit(){this.getChargeableAccounts(),this.data.isEdit&&(this.dataDetails=this.data.details[0]),this.markAllAsTouched(),this.observeValues()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}closeDialog(){this.orderDialogRef.close(!1)}updateMinEndDate(e){e?.value&&this.updateDates(wn.formatDate(e.value))}saveOrUpdate(){this.data.isEdit?this.updateStandingOrder(this.dispositionType):this.saveNewStandingOrder(this.dispositionType)}openContractorsDialog(){let e=new Ba;this.dialog.open(La,e).afterClosed().subscribe(n=>{this.updateFormControlsWithContractorData(n)})}getControlByProperty(e){switch(e){case"rachunekOdbiorcy":case"przelew":return this.recipientAccount;case"rachunek":return this.chargeableAccountFC;case"nazwaOdbiorcy1":return this.recipientName1FC;case"nazwaOdbiorcy3":return this.recipientAddress1FC;case"kwota":return this.amountFC;default:return null}}getFormGroup(){return this.allDataFG}calculateAndActualiseAmountFCValue(){let e=bt.getTrimmedValue(this.amountFC.value)-bt.getTrimmedValue(this.amountVatFC.value);this.amountNetFC.setValue(bt.formatAmount(e>0?e.toString():"0.00"))}isFormValid(){return this.contentStandardFG.updateValueAndValidity(),this.allDataFG.invalid}applyIbanFormatInAccount(){let e=vi.ibanFormat(this.recipientAccount.value);this.recipientAccount.setValue(e)}markAllAsTouched(){this.contentStandardFG.markAllAsTouched(),this.recipientFG.markAllAsTouched(),this.chargeFG.markAllAsTouched(),this.contentVatFG.markAllAsTouched()}updateDates(e){this.minEndDate=e,this.executionDateFC.patchValue(e),wn.isAfter(e,this.endDateFC.value)&&this.endDateFC.setValue(e)}saveNewStandingOrder(e){let n=e===Dl.STANDARD?this.createStandingOrderStandard():this.createVatStandingOrder();this.apiService.addNewStandardStandingOrder(n).pipe(L(()=>this.orderDialogRef.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}disableFormFields(e,n){switch(e.type){case _r.STANDING_ORDER_OPENING:this.executionDateFC.disable();break;case _r.STANDING_ORDER_MODIFICATION:this.recipientFG.disable(),this.executionDateFC.enable(),this.startDateFC.disable();break;case _r.STANDING_ORDER_BREACH:this.recipientFG.disable(),this.amountFC.disable(),this.executionDateFC.enable(),this.chargeFG.disable(),this.chargeableAccountFC.enable();break;case Dc.STANDING_ORDER:this.recipientFG.disable(),this.data.isDelete?(this.amountFC.disable(),this.executionDateFC.enable(),this.chargeFG.disable(),this.chargeableAccountFC.enable()):(this.startDateFC.disable(),this.executionDateFC.enable());break}n.contractorId&&this.disableContractorsInput()}updateStandingOrder(e){let n,r=!0;switch(this.data.details[0].type){case _r.STANDING_ORDER_OPENING:let o=this.createStandingOrderByType(e);n=this.apiService.updateCreateDisposition(o);break;case _r.STANDING_ORDER_MODIFICATION:let a=this.createStandingOrderByType(e);
8003n=this.apiService.updateModifyDisposition(a);break;case _r.STANDING_ORDER_BREACH:let s=this.createStandingOrderByType(e);n=this.apiService.updateDeleteDisposition(s);break;case Dc.STANDING_ORDER:let d=e===Dl.STANDARD?this.createStandingOrderStandard():this.createVatStandingOrder();d.standingOrderId=this.data.details[0].id,n=this.data.isDelete?this.apiService.addDeleteDisposition(d):this.apiService.addModifyDisposition(d);break;default:r=!1;break}r&&n.pipe(L(()=>this.orderDialogRef.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}createStandingOrderByType(e){return e===Dl.STANDARD?this.createStandingOrderStandard(this.data.details[0]):this.createVatStandingOrder(this.data.details[0])}toggleElements(){this.toggleVisibilityOfHtmlElements(),this.isStandingOrderEdit=!!(this.data.isEdit&&this.data.details),this.dispositionType===Dl.VAT&&this.allDataFG.setControl("contentVatFG",this.contentVatFG),this.dispositionType===Dl.STANDARD&&this.allDataFG.setControl("contentStandardFG",this.contentStandardFG),this.isStandingOrderEdit&&(this.recipientFG.clearValidators(),this.startDateFC.clearValidators())}toggleVisibilityOfHtmlElements(){switch(this.data.isEdit?this.data.details[0].standingOrderType:this.data.dialogVariant){case _r.TRANSFER_COMMON:this.dispositionType=Dl.STANDARD;break;case _r.TRANSFER_VAT:this.dispositionType=Dl.VAT;break;default:break}}updateFormControlsWithContractorData(e){this.recipientAccount.patchValue(e.targetAccount),this.recipientName1FC.patchValue(e.name1),this.recipientName2FC.patchValue(e.name2),this.recipientAddress1FC.patchValue(e.address1),this.recipientAddress2FC.patchValue(e.address2),this.amountFC.patchValue(bt.formatAmount(e?.amount?.toString()||"")),this.titleFC.patchValue(e.title),this.contractorId=e.id,this.recipientFG.updateValueAndValidity(),this.contentStandardFG.updateValueAndValidity(),this.contentVatFG.updateValueAndValidity(),this.chargeFG.updateValueAndValidity(),this.markAllAsTouched(),this.applyIbanFormatInAccount(),this.disableContractorsInput()}createBasicStandingOrder(e){return e?(e.targetAccount=ue.removeWhitespaces(this.recipientAccount.value),e.name1=this.recipientName1FC.value,e.name2=this.recipientName2FC.value,e.address1=this.recipientAddress1FC.value,e.address2=this.recipientAddress2FC.value,e.amount=this.amountFC.value,e.executionDate=new Date(this.executionDateFC.value),e.sourceAccountId=this.chargeableAccountFC.value,e.startDate=new Date(this.startDateFC.value),e.endDate=new Date(this.endDateFC.value),e.interval=this.intervalFC.value,e.intervalUnit=this.intervalUnitFC.value,e.isActive=this.isActiveFC.value,e.contractorId=this.contractorId,e):{targetAccount:ue.removeWhitespaces(this.recipientAccount.value),name1:this.recipientName1FC.value,name2:this.recipientName2FC.value,address1:this.recipientAddress1FC.value,address2:this.recipientAddress2FC.value,amount:this.amountFC.value,executionDate:new Date(this.executionDateFC.value),sourceAccountId:this.chargeableAccountFC.value,startDate:new Date(this.startDateFC.value),endDate:new Date(this.endDateFC.value),interval:this.intervalFC.value,intervalUnit:this.intervalUnitFC.value,isActive:this.isActiveFC.value,contractorId:this.contractorId}}createStandingOrderStandard(e){let n=this.createBasicStandingOrder(e);return n.title=this.titleFC.value,e||(n.standingOrderType=_r.TRANSFER_COMMON),n}createVatStandingOrder(e){let n=this.createBasicStandingOrder(e);return e||(n.standingOrderType=_r.TRANSFER_VAT),this.data.isDelete&&(n.sorbnet=this.sorbnetFC.value,n.finalExecutionDate=this.finalExecutionDateFC.value),n.amountNet=this.amountNetFC.value,n.amountVat=this.amountVatFC.value,n.idNipPesel=this.idNipPeselFC.value,n.invoiceNumber=this.invoiceNumberFC.value,n.text=this.additionalMessageFC.value,n}getChargeableAccounts(){this.fetchAppropriateAccounts().pipe(this.errorProviderService.processError("Nie uda\u0142o si\u0119 pobra\u0107 listy rachunk\xF3w obci\u0105\u017Calnych")).subscribe(e=>{this.chargeableAccounts=e?[...this.chargeableAccounts,...e]:[],this.data.isEdit&&this.setInitialFCValuesToChange(this.data.details[0])})}fetchAppropriateAccounts(){return(this.data.isEdit?this.data.details[0].standingOrderType:this.data.dialogVariant)===_r.TRANSFER_COMMON?this.accountService.getChargeableAccounts():this.accountService.getChargeableVatAccounts()}setInitialFCValuesToChange(e){let n=null,r=null;vl.isBundle(e)?r=e.id:vl.isDispositionFromStandingOrder(e)?r=e.standingOrderId:n=e.id,this.apiService.getForEditById(n,r).pipe(L(o=>{this.recipientAccount.setValue(o.targetAccount||this.dataDetail
8003s?.targetAccount),this.recipientName1FC.setValue(o.name1),this.recipientName2FC.setValue(o.name2),this.recipientAddress1FC.setValue(o.address1),this.recipientAddress2FC.setValue(o.address2),this.amountFC.setValue(bt.formatAmount(o.amount.toString()||this.data.details[0].amount.toString())),this.executionDateFC.setValue($t(new Date,je)),this.chargeableAccountFC.setValue(this.getChargedAccounts(o)),this.startDateFC.setValue(o.isActive?o.startDate:null),this.endDateFC.setValue(o.isActive?o.endDate:null),this.intervalFC.setValue(o.interval),this.intervalUnitFC.setValue(o.intervalUnit),this.isActiveFC.setValue(o.isActive),this.contractorId=o.contractorId,o.standingOrderType===_r.TRANSFER_COMMON?this.titleFC.setValue(o.title):(this.amountVatFC.setValue(bt.formatAmount(o?.amountVat.toString())),this.idNipPeselFC.setValue(o.idNipPesel),this.invoiceNumberFC.setValue(o.invoiceNumber),this.additionalMessageFC.setValue(o.text),this.calculateAndActualiseAmountFCValue()),this.applyIbanFormatInAccount(),this.disableFormFields(this.data.details[0],o),this.allDataFG.markAllAsTouched()}),this.errorProviderService.processError(ze.EDITING_ERROR)).subscribe()}getChargedAccounts(e){return vi.findAccountById(String(e.sourceAccountId),this.chargeableAccounts)||vi.findAccountByIban(String(this.dataDetails?.sourceAccount),this.chargeableAccounts)}observeValues(){this.recipientAccount.valueChanges.pipe(xe(this.destroyed$),It(),L(()=>{this.applyIbanFormatInAccount()}),ae(()=>this.recipientAccount.valid)).subscribe()}disableContractorsInput(){this.recipientAccount.disable(),this.recipientName1FC.hasError("pattern")?this.recipientName1FC.enable():this.recipientName1FC.disable(),this.recipientName2FC.hasError("pattern")?this.recipientName2FC.enable():this.recipientName2FC.disable(),this.recipientAddress1FC.disable(),this.recipientAddress2FC.disable()}static{this.\u0275fac=function(n){return new(n||t)(E(Vi),E(Ze),E(mt),E(rt),E(Vo),E(k5),E(Rt))}}static{this.\u0275cmp=k({type:t,selectors:[["app-standing-order-dialog"]],standalone:!1,decls:53,vars:33,consts:[["startDatePicker",""],["endDatePicker",""],["picker",""],["finalPicker",""],[3,"buttonClickAction","allLayoutFG","bankName","dialogMode","targetAccountFC"],[3,"namePart1FC","namePart2FC","addressPart1FC","addressPart2FC"],[3,"accountList","sourceAccountFC"],[1,"flex-row","gap-10"],["appearance","outline",1,"flex-50"],["autocomplete","off","matInput","","name","startDateFC",3,"dateInput","min","matDatepicker","formControl"],["matSuffix","",3,"for"],["autocomplete","off","matInput","","name","endDateFC",3,"min","matDatepicker","formControl"],["autocomplete","off","matInput","","type","number","name","intervalFC",3,"formControl"],["name","intervalUnitFC",1,"custom-select","round-borders",3,"formControl"],[1,"custom-option",3,"value"],[3,"formControl"],[3,"cancelAction","confirmAction","withResetButton","confirmDisabled","buttonLabelConfirm"],["showPLNSuffix","true",1,"flex-40",3,"amountFC"],["appearance","outline",1,"flex-40"],["autocomplete","off","matInput","","name","executionDateFC",3,"matDatepicker","formControl"],["appearance","outline",1,"flex-fill"],["autocomplete","off","matInput","","type","text","required","",3,"formControl"],[3,"amountFC","fieldLabel"],[3,"handleFocusoutEvent","amountFC","fieldLabel"],[1,"flex-row","gap-20"],["autocomplete","off","matInput","","name","executionDateFC",3,"min","matDatepicker","formControl"],["autocomplete","off","matInput","","appOnlyNumbers","","required","",3,"formControl"],["autocomplete","off","matInput","","type","text",3,"formControl"],["autocomplete","off","matInput","","name","finalExecutionDateFC",3,"matDatepicker","formControl"]],template:function(n,r){if(n&1&&(u(0,"app-dialog-container")(1,"app-dialog-header")(2,"span"),h(3),c(),v(4,u0e,2,0,"span"),v(5,m0e,2,0,"span"),c(),u(6,"app-dialog-content")(7,"app-dialog-section")(8,"app-dialog-section-header"),h(9,"Beneficjent"),c(),u(10,"app-target-account-input",4),T("buttonClickAction",function(){return r.openContractorsDialog()}),c(),x(11,"app-recipant-input",5),c(),v(12,f0e,19,7,"app-dialog-section"),v(13,T0e,41,24,"app-dialog-section"),u(14,"app-dialog-section")(15,"app-dialog-section-header"),h(16,"Obci\u0105\u017Cenie"),c(),x(17,"app-source-account-input",6),u(18,"div",7)(19,"mat-form-field",8)(20,"mat-label"),h(21,"Data rozpocz\u0119cia"),c(),u(22,"input",9),T("dateInput",function(a){return r.updateMinEndDate(
8003a)}),c(),x(23,"mat-datepicker-toggle",10)(24,"mat-datepicker",null,0),u(26,"mat-error"),v(27,I0e,2,1,"span"),v(28,A0e,2,0,"span"),c()(),u(29,"mat-form-field",8)(30,"mat-label"),h(31,"Data zako\u0144czenia"),c(),x(32,"input",11)(33,"mat-datepicker-toggle",10)(34,"mat-datepicker",null,1),u(36,"mat-error"),v(37,k0e,2,1,"span"),v(38,R0e,2,0,"span"),c()()(),u(39,"div",7)(40,"mat-form-field",8)(41,"mat-label"),h(42,"Wykonuj co:"),c(),x(43,"input",12),c(),u(44,"mat-form-field",8)(45,"mat-label"),h(46,"Okres:"),c(),u(47,"mat-select",13),He(48,M0e,2,2,"mat-option",14,at),c()()(),u(50,"mat-checkbox",15),h(51,"Aktywne"),c()()(),u(52,"app-action-buttons-panel",16),T("cancelAction",function(){return r.closeDialog()})("confirmAction",function(){return r.saveOrUpdate()}),c()()),n&2){let o=ye(25),a=ye(35);l(3),se("",r.dialogTitle," zlecenia"),l(),y(r.dispositionType===r.StandingOrderDialogTypeEnum.STANDARD?4:-1),l(),y(r.dispositionType===r.StandingOrderDialogTypeEnum.VAT?5:-1),l(5),g("allLayoutFG",r.allDataFG)("bankName",r.bankName)("dialogMode",r.dialogMode)("targetAccountFC",r.recipientAccount),l(),g("namePart1FC",r.recipientName1FC)("namePart2FC",r.recipientName2FC)("addressPart1FC",r.recipientAddress1FC)("addressPart2FC",r.recipientAddress2FC),l(),y(r.dispositionType===r.StandingOrderDialogTypeEnum.STANDARD?12:-1),l(),y(r.dispositionType===r.StandingOrderDialogTypeEnum.VAT?13:-1),l(4),g("accountList",r.chargeableAccounts)("sourceAccountFC",r.chargeableAccountFC),l(5),g("min",r.minStartDate)("matDatepicker",o)("formControl",r.startDateFC),l(),g("for",o),l(4),y(r.startDateFC.hasError("required")?27:-1),l(),y(r.startDateFC.hasError("isBeforeToday")?28:-1),l(4),g("min",r.minEndDate)("matDatepicker",a)("formControl",r.endDateFC),l(),g("for",a),l(4),y(r.startDateFC.hasError("required")?37:-1),l(),y(r.startDateFC.hasError("isBeforeToday")?38:-1),l(5),g("formControl",r.intervalFC),l(4),g("formControl",r.intervalUnitFC),l(),Ue(r.intervalUnits),l(2),g("formControl",r.isActiveFC),l(2),g("withResetButton",!1)("confirmDisabled",r.isFormValid())("buttonLabelConfirm",r.ButtonLabels.SAVE)}},dependencies:[Ve,qe,St,Ln,Qt,ir,zi,pi,Ri,et,si,Mt,Nt,Ot,vr,Nr,Je,Ru,Xe,mn,$e,Bt,Fa,Yr,Kr,Tt,ef],styles:[".dialog-section[_ngcontent-%COMP%]:not(:last-of-type){border-bottom:1px solid grey}.custom-mat-form-field[_ngcontent-%COMP%]{flex-grow:2}input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.view-button[_ngcontent-%COMP%]{height:50px;margin-top:3.5px}.spacer[_ngcontent-%COMP%]{margin-bottom:1rem}.dialog-header[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.subtitle[_ngcontent-%COMP%]{color:#2196f3;font-size:15px;margin-bottom:3px}.view-check-box[_ngcontent-%COMP%]{height:50px;margin-top:10px}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-20[_ngcontent-%COMP%]{gap:20px}.flex-40[_ngcontent-%COMP%]{flex:1 1 40%;max-width:40%;box-sizing:border-box}.flex-50[_ngcontent-%COMP%]{flex:1 1 50%;max-width:50%;box-sizing:border-box}.flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"]})}}return t})();function O0e(t,i){if(t&1){let e=Se();u(0,"app-menu-item-button",4),T("clickAction",function(){te(e);let r=_();return ne(r.createUSTransfer())}),h(1,"Dodaj przelew US / C\u0141O"),c()}}var DM=(()=>{class t{constructor(e,n){this.dialog=e,this.injector=n,this.contextMenuPosition={x:"0px",y:"0px"}}onContextMenu(e,n){this.taxOffice=n,e.preventDefault(),this.contextMenuPosition.x=e.clientX+"px",this.contextMenuPosition.y=e.clientY+"px",this.contextMenu.menu?.focusFirstItem("mouse"),this.contextMenu.openMenu()}createUSTransfer(){this.taxOffice&&this.injector.get(vh).openDialog(pn.US_CLO,ar.getFromTaxOffice(this.taxOffice),Me.NEW)}static{this.\u0275fac=function(n){return new(n||t)(E(mt),E(ie))}}static{this.\u0275cmp=k({type:t,selectors:[["app-tax-office-context-menu"]],viewQuery:function(n,r){if(n&1&&ve(fd,5),n&2){let o;H(o=U())&&(r.contextMenu=o.first)}},standalone:!1,decls:4,vars:5,consts:[["contextMenu","matMenu"],[2,"visibility","hidden","position","fixed",3,"matMenuTriggerFor"],[1,"context-account-menu"],["matMenuContent",""],[3,"clickAction"]],template:function(n,r){if(n&1&&(x(0,"div",1),u(1,"mat-menu",2,0),fe(3,O0e,2,0,"ng-template",3),c()),n&2){let o=ye(2);Fn("left",r.contextMenuPosition.x)("top",r.contextMenuPosition.y),g("matMenuTriggerFor",o)}},dependencies:[Zs,ZC,fd,Nh],styles:[`.context-account-menu .mat-mdc-menu-item{height:30px;line-height:30px;
8003width:200px}.context-account-menu hr{border-top:1px solid #9d9d9d;background:#fff0} 8004`],encapsulation:2})}}return t})();var Em=(function(t){return t.DATE_RANGE="DATE_RANGE",t.DAY="DAY",t.MONTH="MONTH",t})(Em||{});var F0e=10,P0e=3,L0e=(()=>{class t{constructor(e){this.formBuilder=e,this.fromDatePattern=I1(R1(new Date,1)),this.SearchTypeEnum=Em,this.searchTypeFC=new z,this.fromDateFC=new z,this.toDateFC=new z,this.lastDaysFC=new z,this.lastMonthsFC=new z,this.timeRangeFG=this.formBuilder.group({searchTypeFC:this.searchTypeFC,fromDateFC:this.fromDateFC,toDateFC:this.toDateFC,daysFC:this.lastDaysFC,monthsFC:this.lastMonthsFC})}ngOnInit(){this.initDefaultValues()}reset(){this.timeRangeFG.reset(),this.initDefaultValues()}getDate(){switch(this.searchTypeFC.value){case Em.DATE_RANGE:default:return{from:wn.formatDate(this.fromDateFC.value),to:wn.formatDate(this.toDateFC.value)};case Em.DAY:return{from:$t(HU(new Date,this.lastDaysFC.value),je),to:$t(new Date,je)};case Em.MONTH:return{from:$t(I1(R1(new Date,this.lastMonthsFC.value)),je),to:$t(new Date,je)}}}initDefaultValues(){this.searchTypeFC.patchValue(Em.DATE_RANGE),this.fromDateFC.patchValue(wn.formatDate(this.fromDatePattern)),this.toDateFC.patchValue($t(new Date,je)),this.lastDaysFC.patchValue(F0e),this.lastMonthsFC.patchValue(P0e)}static{this.\u0275fac=function(n){return new(n||t)(E(Vi))}}static{this.\u0275cmp=k({type:t,selectors:[["app-time-range-selectors"]],inputs:{fromDatePattern:"fromDatePattern"},standalone:!1,decls:33,vars:13,consts:[["picker1",""],["picker2",""],[1,"criteria-container"],[3,"formGroup"],[1,"flex-row","gap-20",3,"formControl"],[3,"value"],[1,"flex-row","justify-between","items-center",3,"click"],["appearance","outline","subscriptSizing","dynamic"],["autocomplete","off","matInput","",3,"formControl","matDatepicker"],["matSuffix","",3,"for"],["appearance","outline","subscriptSizing","dynamic",3,"click"],["autocomplete","off","matInput","",3,"formControl"]],template:function(n,r){if(n&1&&(u(0,"div",2)(1,"mat-card-header")(2,"mat-card-subtitle"),h(3,"Zakres operacji"),c()(),u(4,"mat-card-content")(5,"form",3)(6,"mat-radio-group",4)(7,"mat-radio-button",5)(8,"div",6),T("click",function(){return r.searchTypeFC.patchValue(r.SearchTypeEnum.DATE_RANGE)}),u(9,"mat-form-field",7)(10,"mat-label"),h(11,"Data od"),c(),x(12,"input",8)(13,"mat-datepicker-toggle",9)(14,"mat-datepicker",null,0),c(),u(16,"mat-form-field",7)(17,"mat-label"),h(18,"Data do"),c(),x(19,"input",8)(20,"mat-datepicker-toggle",9)(21,"mat-datepicker",null,1),c()()(),u(23,"mat-radio-button",5)(24,"mat-form-field",10),T("click",function(){return r.searchTypeFC.patchValue(r.SearchTypeEnum.DAY)}),x(25,"input",11),u(26,"mat-label"),h(27,"Ostatnich dni"),c()()(),u(28,"mat-radio-button",5)(29,"mat-form-field",10),T("click",function(){return r.searchTypeFC.patchValue(r.SearchTypeEnum.MONTH)}),x(30,"input",11),u(31,"mat-label"),h(32,"Ostatnich miesi\u0119cy"),c()()()()()()()),n&2){let o=ye(15),a=ye(22);l(5),g("formGroup",r.timeRangeFG),l(),g("formControl",r.searchTypeFC),l(),g("value",r.SearchTypeEnum.DATE_RANGE),l(5),g("formControl",r.fromDateFC)("matDatepicker",o),l(),g("for",o),l(6),g("formControl",r.toDateFC)("matDatepicker",a),l(),g("for",a),l(3),g("value",r.SearchTypeEnum.DAY),l(2),g("formControl",r.lastDaysFC),l(3),g("value",r.SearchTypeEnum.MONTH),l(2),g("formControl",r.lastMonthsFC)}},dependencies:[Ve,qe,Ln,HC,zC,UC,zi,pi,Ri,et,nk,vC,Vr,Je,Xe,Ai,$e,qn,Bt],styles:[".criteria-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.items-center[_ngcontent-%COMP%]{align-items:center}.gap-20[_ngcontent-%COMP%]{gap:20px}"]})}}return t})();var EM=(function(t){return t.PDF_FORMAT="application/pdf",t.JPEG_FORMAT="image/jpeg",t.PNG_FORMAT="image/png",t})(EM||{});var Sw=class{constructor(i,e){this.format=i,this.acceptedFilesFormats=e}validate(){if(!this.acceptedFilesFormats)throw new im("acceptedFilesFormats",this.acceptedFilesFormats);if(!this.acceptedFilesFormats.includes(this.translateFormatFile(this.format)))throw new im("file format",this.format)}translateFormatFile(i){if(i==="application/pdf")return EM.PDF_FORMAT;throw new eE(i)}};var B0e=(()=>{class t{constructor(e){this.notificationService=e,this.loadedData=new V,this.MAX_FILE_SIZE_IN_MB=5,this.textOnButton=B1}ngOnChanges(){this.isFileUploaded?this.textOnButton=L1:this.textOnButton=B1}chooseFileFromGUI(e){let n=e.target;if(this.fileToUpload=n.files[0],this.fileToUpload)if(this.isProperFileSize(this.fileToUpload))try{new Sw(this.fileToUpload.type,this.acceptedFilesFormats).validate();let r=new FileReader;r.onload=this.handleFile.bind(this),r.readAsArrayBuffer(this.fileToUpload),this.textOnButton="Za\u0142adowano : "+this.fileToUpload.name}catch(r){this.notificationService.error("Za\u0142adowano niepoprawny format pliku"),this.textOnButton=L1}else this.notificationService.error(ze.UPLOADED_FILE_TOO_LARGE)}handleFile(e){let n=e?.target?.result;n?.constructor===ArrayBuffer&&this.loadedData.emit(this.createOutputData(n))}createOutputData(e){if(typeof this.fileToUpload>"u")throw new Aa("fileToUpload");return{format:this.fileToUpload.type,content:e,readyForSave:!0,originalName:this.fileToUpload.name}}isProperFileSize(e){return e.size<=this.MAX_FILE_SIZE_IN_MB*1024*1024}static{this.\u0275fac=function(n){return new(n||t)(E(Le))}}static{this.\u0275cmp=k({type:t,selectors:[["app-uploader-core"]],inputs:{acceptedFilesFormats:"acceptedFilesFormats",isFileUploaded:"isFileUploaded"},outputs:{loadedData:"loadedData"},standalone:!1,features:[Ke],decls:4,vars:1,consts:[["uploader",""],["mat-stroked-button","",1,"flex-fill",3,"click"],["autocomplete","off","hidden","","type","file",3,"change"]],template:function(n,r){if(n&1){let o=Se();u(0,"button",1),T("click",function(){te(o);let s=ye(3);return ne(s.click())}),h(1),u(2,"input",2,0),T("change",function(s){return r.chooseFileFromGUI(s)}),c()()}n&2&&(l(),se(" ",r.textOnButton," "))},dependencies:[Yn,Bt],styles:[".flex-fill[_ngcontent-%COMP%]{flex:1 1 100%;box-sizing:border-box;width:100%;min-width:0;min-height:0}"],changeDetection:0})}}return t})();var R5=Si(cm());var V0e=(()=>{class t{constructor(e){this.control=e}onInputChange(e){let n=this.control.control;if(!n)return;let r=n.value,o=(0,R5.default)(r,{separator:" ",precision:0,pattern:"#",negativePattern:"-#"}).format();n.setValue(o),r!==o&&e.stopPropagation()}static{this.\u0275fac=function(n){return new(n||t)(E(Li))}}static{this.\u0275dir=N({type:t,selectors:[["","appNumberWithSeparator",""]],hostBindings:function(n,r){n&1&&T("input",function(a){return r.onInputChange(a)})},standalone:!1})}}return t})();var M5=Si(Xr());var Ec=(function(t){return t.TO_SIGN="Do podpisu",t.READY_TO_EXECUTION="Gotowa do realizacji",t.DURING_SIGNING="W trakcie podpisywania",t.SIGNED_READY_TO_EXECUTION="Podpisana, gotowa do realizacji",t.SIGNED="Podpisana",t.HALF_SIGNED="Do podpisu, cz\u0119\u015Bciowo podpisana",t.SIGNED_BY_ME="Podpisana, wymaga wi\u0119cej podpis\xF3w",t})(Ec||{});var gb=(function(t){return t.CAN_SIGN="CAN_SIGN",t.CAN_NOT_SIGN="CAN_NOT_SIGN",t.I_SIGNED="I_SIGNED",t})(gb||{});var Tw=class t{transform(i,e,n){let r=n??i;if(e===gb.CAN_NOT_SIGN)return r===Vn.SIGNED?Ec.READY_TO_EXECUTION:Ec.DURING_SIGNING;switch(r){case Vn.ACCEPTED:return e===gb.I_SIGNED?Ec.SIGNED_BY_ME:Ec.TO_SIGN;case Vn.IN_SIGNING:return e===gb.CAN_SIGN?Ec.HALF_SIGNED:Ec.SIGNED_BY_ME;case Vn.SIGNED:return Ec.SIGNED_READY_TO_EXECUTION;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"bundleTableSignViewState",type:t,pure:!0,standalone:!1})}};Sn([(0,M5.default)({resolver:(t,i,e)=>({state:t,signState:i,bundleState:e})})],Tw.prototype,"transform",null);var N5=Si(Xr());var Va=(function(t){return t.ALL="",t.CREDIT="CREDIT",t.DEBIT="DEBIT",t})(Va||{}),wPt=[{value:Va.ALL.toString(),viewValue:"Wszystkie"},{value:Va.DEBIT.toString(),viewValue:"Debetowe"},{value:Va.CREDIT.toString(),viewValue:"Kredytowe"}],wM=[{value:Va.DEBIT.toString(),viewValue:"Debetowa"},{value:Va.CREDIT.toString(),viewValue:"Kredytowa"}];var af=class t{transform(i){switch(i){case Va.DEBIT:return wM[0].viewValue;case Va.CREDIT:return wM[1].viewValue;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"cardTypePipe",type:t,pure:!0,standalone:!1})}};Sn([(0,N5.default)()],af.prototype,"transform",null);var j0e=(()=>{class t{transform(e){return e===Va.DEBIT||e===Va.CREDIT?new af().transform(e):e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"cardTypeNumberColumn",type:t,pure:!0,standalone:!1})}}return t})();var H0e=(()=>{class t{transform(e,...n){return e?(e=e.trim(),n.length===0?e:e+" "+n.map(r=>r.trim()).join(" ")):""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"concatStringPipe",type:t,pure:!0,standalone:!1})}}return t})();var O5=Si(Xr());var _b=class t{transform(i){return Mi.getTypeName(i)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"contractorTypePipe",type:t,pure:!0,standalone:!1})}};Sn([(0,O5.default)()],_b.prototype,"transform",null);
8004var Iw=class{static calculateAmountOfDays(i,e){let n=e.substring(0,1);return n==="R"?i=i*365:n==="M"&&(i=i*30),i}static getPeriodDescription(i){return typeof i=="string"&&Date.parse(i)?i:typeof i!="string"&&i?this.getDescriptionByAmountOfDays(i):""}static getDescriptionByAmountOfDays(i){let e;return i===1?e=i+" dzie\u0144":i>1&&i<30?e=i+" dni":i===30?e=Math.round(i/30)+" miesi\u0105c":i>=60&&i<=120?e=Math.round(i/30)+" miesi\u0105ce":i>120&&i<365?e=Math.round(i/30)+" miesi\u0119cy":i>=365&&i<730?e=Math.round(i/30/12)+" rok":i>=730&&i<=1460?e=Math.round(i/30/12)+" lata":e=Math.round(i/30/12)+" lat",e}};var U0e=(()=>{class t{transform(e){return Iw.getPeriodDescription(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"daysFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var F5=Si(Xr());var bb=(function(t){return t.NEW="W trakcie realizacji",t.COMPLETED="Zrealizowana",t.REJECTED="Odrzucona",t})(bb||{});var sf=class t{transform(i,e=!0){if(e)switch(i){case da.NEW:return bb.NEW;case da.COMPLETED:return bb.COMPLETED;case da.REJECTED:return bb.REJECTED;default:return""}else switch(i){case da.NEW:return da.NEW;case da.COMPLETED:return da.COMPLETED;case da.REJECTED:return da.REJECTED;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"dispositionState",type:t,pure:!0,standalone:!1})}};Sn([(0,F5.default)({resolver:(t,i)=>({state:t,useSimplifiedLabels:i})})],sf.prototype,"transform",null);var P5=Si(Xr());var lr=(function(t){return t.TRANSFER_COMMON="Przelew zwyk\u0142y",t.TRANSFER_US="Przelew US/C\u0141O",t.TRANSFER_ZUS="Przelew ZUS",t.TRANSFER_INTERNATIONAL="Przelew zagraniczny",t.DEPOSIT_OPENING="Lokata - za\u0142o\u017Cenie",t.DEPOSIT_MODIFICATION="Lokata - modyfikacja",t.DEPOSIT_BREACH="Lokata - zerwanie",t.STANDING_ORDER_OPENING="Zlecenie sta\u0142e - za\u0142o\u017Cenie",t.STANDING_ORDER_MODIFICATION="Zlecenie sta\u0142e - modyfikacja",t.STANDING_ORDER_BREACH="Zlecenie sta\u0142e - zerwanie",t.GSM_TOP_UP="Do\u0142adowanie GSM",t.TRANSFER_INSTANT="Przelew ekspresowy",t.TRANSFER_DEALING_BPS="Przelew dealing BPS",t.TRANSFER_VAT="Faktura VAT",t.TRANSFER_VAT_TOP_UP="Przelew VAT - zasilenie",t})(lr||{});var Aw=class t{transform(i,e=!1){switch(i){case xn.PRZELEW_ZWYKLY:return e?lr.TRANSFER_COMMON+" sorbnet":lr.TRANSFER_COMMON;case xn.PRZELEW_US:return lr.TRANSFER_US;case xn.PRZELEW_ZUS:return lr.TRANSFER_ZUS;case xn.PRZELEW_ZAGRANICZNY:return lr.TRANSFER_INTERNATIONAL;case xn.LOKATA_ZALOZENIE:return lr.DEPOSIT_OPENING;case xn.LOKATA_MODYFIKACJA:return lr.DEPOSIT_MODIFICATION;case xn.LOKATA_ZERWANIE:return lr.DEPOSIT_BREACH;case xn.ZLECENIE_STALE_ZALOZENIE:case _r.STANDING_ORDER_OPENING:return lr.STANDING_ORDER_OPENING;case xn.ZLECENIE_STALE_MODYFIKACJA:case _r.STANDING_ORDER_MODIFICATION:return lr.STANDING_ORDER_MODIFICATION;case xn.ZLECENIE_STALE_ZERWANIE:case _r.STANDING_ORDER_BREACH:return lr.STANDING_ORDER_BREACH;case xn.DOLADOWANIE_GSM:return lr.GSM_TOP_UP;case xn.PRZELEW_EKSPRES:return lr.TRANSFER_INSTANT;case xn.PRZELEW_DEALING_BPS:return lr.TRANSFER_DEALING_BPS;case xn.PRZELEW_VAT:return e?lr.TRANSFER_VAT+" sorbnet":lr.TRANSFER_VAT;case xn.PRZELEW_VAT_ZASILENIE:return lr.TRANSFER_VAT_TOP_UP;case Dc.STANDING_ORDER:return of.STANDING_ORDER;case Dc.TRANSFER:return of.TRANSFER;case Dc.DEPOSIT:return of.DEPOSIT;case Dc.TOPUP:return of.TOPUP;default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"dispositionTypeView",type:t,pure:!0,standalone:!1})}};Sn([(0,P5.default)({resolver:(t,i)=>({type:t,sorbnet:i})})],Aw.prototype,"transform",null);var L5=(()=>{class t{transform(e){return Object.keys(e).map(n=>({value:n,viewValue:e[n]}))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"enumToArray",type:t,pure:!0,standalone:!1})}}return t})();var B5=Si(cm());var z0e=(()=>{class t{transform(e){return e?(0,B5.default)(e,{decimal:",",precision:4,separator:" ",pattern:"#",negativePattern:"-#"}).format():""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"exchangeRate",type:t,pure:!0,standalone:!1})}}return t})();var V5=Si(Xr());var kw=class t{transform(i,e=!0,n=!1,r){return r||n?new Bh().transform(i,e):new sf().transform(i,e)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"executionStateView",type:t,pure:!0,standalone:!1})}};Sn([(0,V5.default)({resolver:(t,i,e,n)=>({state:t,useSimplifiedLabels:i,virtual:e,dispositions:n})})],kw.prototype,"transform",null);var G0e=(()=>{class t{transform(e,n){return n?n.includes(e):!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"isTurnOver",type:t,pure:!0,standalone:!1})}}return t})();var j5=Si(Xr());var Rw=class t{constructor(){this.UNKNOWN="Nieznany"}transform(i){return i?this.convertLimitName(i):""}convertLimitName(i){let e=i.split(" "),n=e[0],r=e[1];return this.getLimitKindName(n)+" "+this.getLimitPeriodName(r)}getLimitKindName(i){switch(i){case mh.CASH:return"Got\xF3wkowy";case mh.WITHOUT_CASH:return"Bezgot\xF3wkowy";case mh.TOGETHER:return"Pe\u0142ny";case mh.INTERNET:return"Internetowy";default:return this.UNKNOWN}}getLimitPeriodName(i){switch(i){case j_.DAILY:return"Dzienny";case j_.MONTHLY:return"Miesi\u0119czny";case j_.TRANSACTION:return"Transakcyjny";default:return this.UNKNOWN}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"limitTypePipe",type:t,pure:!0,standalone:!1})}};Sn([(0,j5.default)()],Rw.prototype,"transform",null);var H5=Si(Xr());var Cs=(function(t){return t.HIGH="HIGH",t.NORMAL="NORMAL",t.LOW="LOW",t})(Cs||{}),Mw=new Map([[Cs.HIGH,"Wysoki"],[Cs.NORMAL,"Normalny"],[Cs.LOW,"Niski"]]);var Nw=class t{transform(i){switch(i){case Cs.HIGH:return Mw.get(Cs.HIGH);case Cs.NORMAL:return Mw.get(Cs.NORMAL);case Cs.LOW:return Mw.get(Cs.LOW);default:return""}}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=pe({name:"messageTypePipe",type:t,pure:!0,standalone:!1})}};Sn([(0,H5.default)()],Nw.prototype,"transform",null);var U5=Si(cm());var W0e=(()=>{class t{transform(e){return e?(0,U5.default)(e,{symbol:"%",decimal:".",pattern:"#!",negativePattern:"-#!"}).format():""}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"percentFormat",type:t,pure:!0,standalone:!1})}}return t})();var z5=Si(cm());var $0e=(()=>{class t{transform(e){return new RegExp(/^\d+$/).test(e)?this.transformPhone(e):""}transformPhone(e){return"+48 "+(0,z5.default)(e,{precision:0,separator:" ",pattern:"#"}).format()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"phoneFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var q0e=(()=>{class t{constructor(){this.NEW_LINE=` 8005`}transform(e){return e?this.format(e):""}format(e){return this.isMultiline(e)?this.formatMultiline(e):vi.ibanFormat(e)}isMultiline(e){return e.includes(this.NEW_LINE)}formatMultiline(e){let n=e.indexOf(this.NEW_LINE),r=e.substring(0,n),o=e.substring(n+1);return`${r}<br>${vi.ibanFormat(o)}`}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"sourceAccountFormatPipe",type:t,pure:!0,standalone:!1})}}return t})();var Y0e=(()=>{class t{transform(e,n=je){if(!e)return"";let r=lD(new Date(e),new Date),o=wn.formatDateNoError(e,n);return r?`${o} (dzisiaj)`:o}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"dateTodayLabelPipe",type:t,pure:!0})}}return t})();var K0e=(()=>{class t{transform(e){return e!==Bd.POSITIVE&&e!==Bd.NO_CHECK&&e!==ys.REGISTERED&&e!==ys.NO_CHECK}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=pe({name:"whiteListRowColor",type:t,pure:!0,standalone:!1})}}return t})();var X0e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-bundle-salary-import"]],inputs:{data:"data"},standalone:!1,decls:14,vars:2,consts:[[1,"header"],[1,"content"]],template:function(n,r){n&1&&(u(0,"div",0)(1,"span"),h(2,"Plik importu zawiera\u0142 b\u0142\u0119dy"),c(),u(3,"span"),h(4,"Nie wszystkie dyspozycje zosta\u0142y zaimportowane"),c()(),u(5,"div",1)(6,"span"),h(7,"Ilo\u015B\u0107 poprawnych dyspozycji: "),u(8,"strong"),h(9),c()(),u(10,"span"),h(11,"Ilo\u015B\u0107 b\u0142\u0119dnych dyspozycji: "),u(12,"strong"),h(13),c()()()),n&2&&(l(9),S(r.data.successCount),l(4),S(r.data.invalidCount))},styles:[".header[_ngcontent-%COMP%]{display:flex;flex-direction:column;line-height:1.4rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:1rem;line-height:1.4rem}"]})}}return t})();function Z0e(t,i){if(t&1&&(u(0,"p",0),h(1),c()),t&2){let e=i.$implicit;l(),S(e)}}var Q0e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sign"]],inputs:{data:"data"},standalone:!1,decls:14,vars:2,consts:[[2,"margin-left","1rem"]],template:function(n,r){n&1&&(u(0,"div")(1,"p"),h(2," Liczba element\xF3w przekazana do podpisu: "),u(3,"strong"),h(4),c()(),u(5,"p"),h(6," Liczba element\xF3w nie przeniesionych: "),u(7,"strong"),h(8),c()(),u(9,"div")(10,"p"),h(11,"B\u0142\u0119dy:"),c(),He(12,Z0e,2,1,"p",0,at),c()()),n&2&&(l(4),S(r.data.successCount),l(4),S(r.data.invalidCount),l(4),Ue(r.data.errorMessages))},encapsulation:2})}}return t})();var J0e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-sign-and-execute"]],inputs:{data:"data"},standalone:!1,decls:12,vars:2,template:function(n,r){n&1&&(u(0,"div")(1,"p"),h(2," Liczba element\xF3w przeniesionych do realizacji: "),u(3,"strong"),h(4),c()(),u(5,"p"),h(6," Liczba element\xF3w nie przeniesionych: "),u(7,"strong"),h(8),c()(),u(9,"div")(10,"p"),h(11,"Sprawd\u017A, czy podpisy nieprzeniesionych element\xF3w s\u0105 kompletne, a daty wykonania aktualne."),c()()()),n&2&&(l(4),S(r.data.successCount),l(4),S(r.data.invalidCount))},encapsulation:2})}}return t})();var HBt=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=Y({providers:[{provide:Ze,useValue:{}},{provide:rt,useValue:{}}],imports:[P1,KR,YR,Kc,QI,ns,uM,Mh,P1,KR,YR,Kc,QI,ns,uM]})}}return t})();Yc(La,[Ve,qe,tc,nc,hd,et,Zu,bo,Ir,Qs,Js,tl,ol,nl,el,al,il,rl,sl,ll,Xs,eb,Mt,Nt,Ot,vr,cr,Vr,Je,Xe,Ai,$e,qn,Bt,bi,y5,Tt,mG,Nh,vw],[qt,_b]);Yc(OE,[Ve,qe,Ln,Yu,zi,pi,Ri,tc,nc,hd,et,bo,Ir,Qs,Js,tl,ol,nl,el,al,il,rl,sl,ll,Rd,Md,Nd,eb,Od,cr,Vr,Je,Xe,Ai,Jc,$e,qn,Bt,bi,Tt,DM],[qt]);Yc(Ad,[Ve,qe,Ln,Yu,zi,pi,Ri,tc,nc,hd,et,bo,Ir,Qs,Js,tl,ol,nl,el,al,il,rl,sl,ll,Rd,Md,Nd,eb,Od,cr,Vr,Je,Xe,Ai,Jc,$e,qn,Bt,bi,Tt,DM],[qt]);Yc(rf,[Ve,qe,St,Ln,Qt,ir,zi,pi,Ri,et,si,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,Bi,$e,Bt,_m,Fa,Yr,Kr,Tt,ef,bw,bm],[Ji]);Yc(yw,[Ve,qe,St,Ln,Qt,ir,zi,pi,Ri,et,si,Xs,Mt,Nt,Ot,vr,Nr,cr,Je,Xe,Ai,mn,Bi,$e,qn,Mu,Bt,Mh,Fa,Yr,Kr,bi,Tt,ef,bw],[Ji,CG,L5]);Yc(Cw,[Ve,qe,St,Ln,ir,zi,pi,Ri,et,Mt,Nt,Ot,vr,Nr,Je,Xe,mn,$e,Bt,_m,Fa,Yr,Kr,Tt,ef,bw,bm],[Ji]);var Ow=class{constructor(i,e){this.name=i,this.bytes=e}fromFile(i){this.name=i.name,this.bytes=i}};var Fw=class extends Ow{constructor(i,e){super(" ",i),this.variant=e}},eye=(function(t){return t[t.FULLY_WIDE=0]="FULLY_WIDE",t[t.HALF_PAGE=1]="HALF_PAGE",t})(eye||{});var XBt=(()=>{class t{constructor(e){this.http=e}getLogoData(){let e=this.getLogoMetadata(),n=this.getLogoImage();return nn([e,n]).pipe($(([r,o])=>new Fw(o,r.variant)))}getLogoMetadata(){return this.http.get(Q1)}getLogoImage(){return this.http.get(Tz,{responseType:"blob"})}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{P as a,Ae as b,X5 as c,TM as d,Si as e,Rn as f,_e as g,O as h,zt as i,ke as j,Sn as k,fn as l,B as m,gn as n,yW as o,$ as p,nn as q,ii as r,gf as s,Il as t,LW as u,ut as v,ae as w,Ge as x,HW as y,xs as z,hi as A,We as B,It as C,Zb as D,Zr as E,Qr as F,W as G,xe as H,L as I,ce as J,D as K,Y as L,F as M,m as N,te as O,ne as P,ie as Q,Ce as R,dn as S,V as T,le as U,Z as V,io as W,Ke as X,Q as Y,Jf as Z,Du as _,NF as $,V$ as aa,qo as ba,l as ca,Dt as da,Zt as ea,fi as fa,ot as ga,E as ha,k as ia,X as ja,N as ka,pe as la,he as ma,fe as na,w0 as oa,ag as pa,oe as qa,v as ra,y as sa,$P as ta,at as ua,He as va,Ue as wa,g as xa,u as ya,c as za,x as Aa,ft as Ba,_t as Ca,gi as Da,Cn as Ea,Dn as Fa,Di as Ga,Se as Ha,T as Ia,Ls as Ja,_ as Ka,Ie as La,re as Ma,ve as Na,H as Oa,U as Pa,S0 as Qa,$c as Ra,qc as Sa,ye as Ta,Fn as Ua,ee as Va,Be as Wa,h as Xa,S as Ya,se as Za,so as _a,cL as $a,uL as ab,P9 as bb,L9 as cb,ri as db,jl as eb,me as fb,lo as gb,H9 as hb,be as ib,Fe as jb,Dr as kb,sp as lb,_a as mb,Wt as nb,Ct as ob,QOe as pb,co as qb,Bs as rb,NL as sb,JOe as tb,eFe as ub,tFe as vb,Ee as wb,q as xb,es as yb,DI as zb,cr as Ab,
8005Su as Bb,Ji as Cb,Gq as Db,un as Eb,Kc as Fb,SPe as Gb,NI as Hb,yY as Ib,EY as Jb,Zc as Kb,it as Lb,yg as Mb,Xc as Nb,I2 as Ob,R2 as Pb,ge as Qb,HY as Rb,UY as Sb,zY as Tb,Au as Ub,ht as Vb,Je as Wb,G as Xb,Xe as Yb,Ai as Zb,ku as _b,Qn as $b,hp as ac,uo as bc,z as cc,Vr as dc,gy as ec,n2e as fc,$e as gc,Mu as hc,qn as ic,mn as jc,Bi as kc,Vi as lc,QI as mc,ns as nc,ql as oc,EA as pc,wr as qc,Ky as rc,ZX as sc,nZ as tc,ul as uc,noe as vc,Ut as wc,V_ as xc,uit as yc,hit as zc,_it as Ac,yit as Bc,vo as Cc,zit as Dc,Xit as Ec,ct as Fc,mh as Gc,prt as Hc,vrt as Ic,xrt as Jc,krt as Kc,No as Lc,Prt as Mc,gr as Nc,Brt as Oc,Vrt as Pc,jrt as Qc,Hrt as Rc,Urt as Sc,ioe as Tc,roe as Uc,ooe as Vc,aoe as Wc,soe as Xc,loe as Yc,coe as Zc,wt as _c,Zrt as $c,rot as ad,uot as bd,bot as cd,wot as dd,doe as ed,uoe as fd,Oot as gd,Wn as hd,Fo as id,Jt as jd,Ze as kd,rt as ld,mt as md,YC as nd,Jp as od,eh as pd,Xu as qd,ze as rd,rh as sd,kn as td,$t as ud,_d as vd,HU as wd,L_ as xd,R1 as yd,Rr as zd,iE as Ad,Hr as Bd,fr as Cd,Hi as Dd,Yn as Ed,_o as Fd,MH as Gd,Gn as Hd,w_ as Id,nh as Jd,Ju as Kd,bi as Ld,Le as Md,$r as Nd,hn as Od,Ed as Pd,dm as Qd,qr as Rd,ln as Sd,DE as Td,_r as Ud,xn as Vd,cm as Wd,V1 as Xd,Ont as Yd,ue as Zd,x3 as _d,q_ as $d,W_ as ae,Vlt as be,bt as ce,cR as de,yh as ee,Rt as fe,li as ge,qe as he,St as ie,Ck as je,Ln as ke,Ve as le,zr as me,et as ne,us as oe,mr as pe,Qt as qe,si as re,Qu as se,bs as te,gl as ue,ir as ve,v_ as we,JU as xe,ez as ye,tz as ze,Aa as Ae,nz as Be,iz as Ce,je as De,Btt as Ee,hs as Fe,wn as Ge,Ra as He,wd as Ie,X_ as Je,J3 as Ke,Ip as Le,eBe as Me,tBe as Ne,nBe as Oe,iBe as Pe,rBe as Qe,oBe as Re,aBe as Se,sBe as Te,lBe as Ue,cBe as Ve,dBe as We,uBe as Xe,mBe as Ye,pBe as Ze,hBe as _e,fBe as $e,gBe as af,_Be as bf,bBe as cf,vBe as df,yBe as ef,CBe as ff,DBe as gf,Xy as hf,Zy as if,dV as jf,uV as kf,EBe as lf,wBe as mf,xBe as nf,Oat as of,yd as pf,Fat as qf,Pat as rf,Lat as sf,Bat as tf,Vat as uf,jat as vf,Hat as wf,fh as xf,Uat as yf,zat as zf,Gat as Af,Wat as Bf,$at as Cf,qat as Df,U_ as Ef,Yat as Ff,Kat as Gf,Xat as Hf,boe as If,Zat as Jf,X1 as Kf,Qat as Lf,Jat as Mf,est as Nf,tst as Of,nst as Pf,ist as Qf,rst as Rf,ost as Sf,ast as Tf,sst as Uf,lst as Vf,cst as Wf,dst as Xf,gh as Yf,_h as Zf,ust as _f,mst as $f,Bz as ag,Vz as bg,pst as cg,hst as dg,fst as eg,J1 as fg,gst as gg,_st as hg,bst as ig,vst as jg,G_ as kg,yst as lg,Cst as mg,Dst as ng,Est as og,wst as pg,xst as qg,Sst as rg,Tst as sg,Ist as tg,Ast as ug,kst as vg,_E as wg,Rst as xg,Doe as yg,Mst as zg,Nst as Ag,Ost as Bg,bE as Cg,Fst as Dg,Pst as Eg,Lst as Fg,Bst as Gg,yo as Hg,Vst as Ig,jst as Jg,Hst as Kg,Ust as Lg,zst as Mg,Gst as Ng,Wst as Og,$st as Pg,qst as Qg,Yst as Rg,Kst as Sg,Xst as Tg,Zst as Ug,Qst as Vg,Jst as Wg,elt as Xg,tlt as Yg,ka as Zg,nlt as _g,ilt as $g,rlt as ah,olt as bh,alt as ch,slt as dh,llt as eh,clt as fh,dlt as gh,ult as hh,mlt as ih,plt as jh,hlt as kh,flt as lh,glt as mh,_lt as nh,blt as oh,vlt as ph,ylt as qh,Clt as rh,Dlt as sh,IE as th,nG as uh,iG as vh,kE as wh,RR as xh,rd as yh,wi as zh,_gt as Ah,Vut as Bh,jut as Ch,Hut as Dh,Uut as Eh,zut as Fh,Gut as Gh,Wut as Hh,$ut as Ih,qut as Jh,Yut as Kh,Kut as Lh,Xut as Mh,Zut as Nh,Qut as Oh,Jut as Ph,emt as Qh,tmt as Rh,nmt as Sh,imt as Th,rmt as Uh,omt as Vh,amt as Wh,smt as Xh,lmt as Yh,cmt as Zh,N3 as _h,dmt as $h,tt as ai,qA as bi,Mt as ci,Nt as di,Foe as ei,Ot as fi,vr as gi,Nr as hi,Poe as ii,pR as ji,Loe as ki,A3 as li,hR as mi,Tt as ni,aG as oi,Xs as pi,zi as qi,pi as ri,Ri as si,Yk as ti,oG as ui,YR as vi,Nj as wi,P4e as xi,HC as yi,UC as zi,Yu as Ai,Mk as Bi,ZWe as Ci,E_ as Di,tc as Ei,nc as Fi,hd as Gi,k8e as Hi,s6e as Ii,pte as Ji,l6e as Ki,fte as Li,Zu as Mi,ZC as Ni,Zs as Oi,fd as Pi,a1 as Qi,T_ as Ri,bo as Si,nk as Ti,vC as Ui,ik as Vi,XH as Wi,cne as Xi,g9e as Yi,Ir as Zi,Qs as _i,A_ as $i,Js as aj,el as bj,tl as cj,nl as dj,il as ej,rl as fj,ol as gj,al as hj,sl as ij,ll as jj,k_ as kj,Yne as lj,Kne as mj,cYe as nj,w1 as oj,nU as pj,iU as qj,P1 as rj,dG as sj,O0t as tj,pm as uj,jce as vj,Hce as wj,K_ as xj,lc as yj,Sd as zj,la as Aj,L_t as Bj,Po as Cj,j_t as Dj,Xt as Ej,Mi as Fj,Me as Gj,vh as Hj,pn as Ij,ar as Jj,br as Kj,mR as Lj,Nh as Mj,mG as Nj,Xr as Oj,mc as Pj,vi as Qj,qt as Rj,Kt as Sj,fl as Tj,Sut as Uj,TE as Vj,Ma as Wj,fmt as Xj,gmt as Yj,_mt as Zj,bmt as _j,Ch as $j,Na as ak,OE as bk,NR as ck,Yr as dk,SE as ek,PE as fk,Rd as gk,Md as hk,$le as ik,Nd as jk,qle as kk,Od as lk,Yle as mk,eb as nk,lG as ok,jE as pk,VR as qk,fm as rk,de as sk,gm as tk,_l as uk,jR as vk,ib as wk,Fh as xk,Ph as yk,ys as zk,Bd as Ak,UR as Bk,da as Ck,vl as Dk,ob as Ek,zR as Fk,pde as Gk,hde as Hk,xi as Ik,yl as Jk,Bo as Kk,
8005Vo as Lk,Vd as Mk,_m as Nk,Fa as Ok,Vn as Pk,Bh as Qk,sb as Rk,$E as Sk,xG as Tk,Tue as Uk,REt as Vk,Fue as Wk,MEt as Xk,rge as Yk,_w as Zk,Qge as _k,y5 as $k,mM as al,s_e as bl,d_e as cl,y_e as dl,La as el,O_e as fl,L_e as gl,vw as hl,J_e as il,gM as jl,C5 as kl,Dm as ll,D5 as ml,E5 as nl,w5 as ol,Ba as pl,$d as ql,rf as rl,S5 as sl,T5 as tl,I5 as ul,l0e as vl,c0e as wl,Dc as xl,k5 as yl,N0e as zl,L0e as Al,EM as Bl,B0e as Cl,V0e as Dl,gb as El,Tw as Fl,Va as Gl,j0e as Hl,H0e as Il,_b as Jl,Iw as Kl,U0e as Ll,Aw as Ml,L5 as Nl,z0e as Ol,kw as Pl,G0e as Ql,Rw as Rl,Cs as Sl,Nw as Tl,W0e as Ul,$0e as Vl,q0e as Wl,Y0e as Xl,K0e as Yl,X0e as Zl,Q0e as _l,J0e as $l,HBt as am,eye as bm,XBt as cm};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.