1var $5=Object.create;var Lw=Object.defineProperty,Y5=Object.defineProperties,q5=Object.getOwnPropertyDescriptor,K5=Object.getOwnPropertyDescriptors,X5=Object.getOwnPropertyNames,Db=Object.getOwnPropertySymbols,Z5=Object.getPrototypeOf,Bw=Object.prototype.hasOwnProperty,TM=Object.prototype.propertyIsEnumerable;var SM=(t,i,e)=>i in t?Lw(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,P=(t,i)=>{for(var e in i||={})Bw.call(i,e)&&SM(t,e,i[e]);if(Db)for(var e of Db(i))TM.call(i,e)&&SM(t,e,i[e]);return t},ke=(t,i)=>Y5(t,K5(i));var Q5=(t,i)=>{var e={};for(var n in t)Bw.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&Db)for(var n of Db(t))i.indexOf(n)<0&&TM.call(t,n)&&(e[n]=t[n]);return e};var IM=(t,i)=>()=>{try{return i||t((i={exports:{}}).exports,i),i.exports}catch(e){throw i=0,e}};var J5=(t,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let r of X5(i))!Bw.call(t,r)&&r!==e&&Lw(t,r,{get:()=>i[r],enumerable:!(n=q5(i,r))||n.enumerable});return t};var Si=(t,i,e)=>(e=t!=null?$5(Z5(t)):{},J5(i||!t||!t.__esModule?Lw(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 mm=IM((lR,cR)=>{"use strict";(function(t,i){typeof lR=="object"&&typeof cR<"u"?cR.exports=i():typeof define=="function"&&define.amd?define(i):(t=t||self,t.currency=i())})(lR,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("."),k=w[0];return w=w[1],(0<=o.value?s:d).replace("!",p).replace("#",k.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 Kr=IM(dR=>{"use strict";Object.defineProperty(dR,"__esModule",{value:!0});function Loe(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 Boe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return t[0]};dR.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:Boe,s=(o=t.cache)!==null&&o!==void 0?o:new Map;return n.value=Loe(n.value,a,s),n}}});var Fr=null,Eb=!1,Vw=1,eW=null,yi=Symbol("SIGNAL");function it(t){let i=Fr;return Fr=t,i}function wb(){return Fr}var Sc={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 wl(t){if(Eb)throw new Error("");
vendor: 4,395 bytes, lines 1-3
1if(Fr===null)return;Fr.consumerOnSignalRead(t);let i=Fr.producersTail;if(i!==void 0&&i.producer===t)return;let e,n=Fr.recomputing;if(n&&(e=i!==void 0?i.nextProducer:Fr.producers,e!==void 0&&e.producer===t)){Fr.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Fr&&(!n||nW(r,Fr)))return;let o=Am(Fr),a={producer:t,consumer:Fr,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Fr.producersTail=a,i!==void 0?i.nextProducer=a:Fr.producers=a,o&&MM(t,a)}function AM(){Vw++}function eu(t){if(!(Am(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Vw)){if(!t.producerMustRecompute(t)&&!Im(t)){Tm(t);return}t.producerRecomputeValue(t),Tm(t)}}function jw(t){if(t.consumers===void 0)return;let i=Eb;Eb=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let n=e.consumer;n.dirty||tW(n)}}finally{Eb=i}}function Hw(){return Fr?.consumerAllowSignalWrites!==!1}function tW(t){t.dirty=!0,jw(t),t.consumerMarkedDirty?.(t)}function Tm(t){t.dirty=!1,t.lastCleanEpoch=Vw}function xl(t){return t&&kM(t),it(t)}function kM(t){t.producersTail=void 0,t.recomputing=!0}function Tc(t,i){it(i),t&&RM(t)}function RM(t){t.recomputing=!1;let i=t.producersTail,e=i!==void 0?i.nextProducer:t.producers;if(e!==void 0){if(Am(t))do e=Uw(e);while(e!==void 0);i!==void 0?i.nextProducer=void 0:t.producers=void 0}}function Im(t){for(let i=t.producers;i!==void 0;i=i.nextProducer){let e=i.producer,n=i.lastReadVersion;if(n!==e.version||(eu(e),n!==e.version))return!0}return!1}function Ic(t){if(Am(t)){let i=t.producers;for(;i!==void 0;)i=Uw(i)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function MM(t,i){let e=t.consumersTail,n=Am(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)MM(r.producer,r)}function Uw(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,!Am(i)){let o=i.producers;for(;o!==void 0;)o=Uw(o)}return e}function Am(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function uf(t){eW?.(t)}function nW(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 mf(t,i){return Object.is(t,i)}function pf(t,i){let e=Object.create(iW);e.computation=t,i!==void 0&&(e.equal=i);let n=()=>{if(eu(e),wl(e),e.value===Es)throw e.error;return e.value};return n[yi]=e,uf(e),n}var Qd=Symbol("UNSET"),Jd=Symbol("COMPUTING"),Es=Symbol("ERRORED"),iW=ke(P({},Sc),{value:Qd,dirty:!0,error:null,equal:mf,kind:"computed",producerMustRecompute(t){return t.value===Qd||t.value===Jd},producerRecomputeValue(t){if(t.value===Jd)throw new Error("");let i=t.value;t.value=Jd;let e=xl(t),n,r=!1;try{n=t.computation(),it(null),r=i!==Qd&&i!==Es&&n!==Es&&t.equal(i,n)}catch(o){n=Es,t.error=o}finally{Tc(t,e)}if(r){t.value=i;return}t.value=n,t.version++}});function rW(){throw new Error}var NM=rW;function OM(t){NM(t)}function zw(t){NM=t}var oW=null;function Gw(t,i){let e=Object.create(hf);e.value=t,i!==void 0&&(e.equal=i);let n=()=>FM(e);return n[yi]=e,uf(e),[n,a=>Ac(e,a),a=>xb(e,a)]}function FM(t){return wl(t),t.value}function Ac(t,i){Hw()||OM(t),t.equal(t.value,i)||(t.value=i,aW(t))}function xb(t,i){Hw()||OM(t),Ac(t,i(t.value))}var hf=ke(P({},Sc),{equal:mf,value:void 0,kind:"signal"});function aW(t){t.version++,AM(),jw(t),oW?.(t)}var Ww=ke(P({},Sc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function $w(t){if(t.dirty=!1,t.version>0&&!Im(t))return;t.version++;let i=xl(t);try{t.cleanup(),t.fn()}finally{Tc(t,i)}}function ut(t){return typeof t=="function"}function kc(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 Sb=kc(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 tu(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(ut(n))try{n()}catch(o){i=o instanceof Sb?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{PM(o)}catch(a){i=i??[],a instanceof Sb?i=[...i,...a.errors]:i.push(a)}}if(i)throw new Sb(i)}}add(i){var e;if(i&&i!==this)if(this.closed)PM(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)&&tu(e,i)}remove(i){let{_finalizers:e}=this;e&&tu(e,i),i instanceof t&&i._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();var Yw=_e.EMPTY;function Tb(t){return t instanceof _e||t&&"closed"in t&&ut(t.remove)&&ut(t.add)&&ut(t.unsubscribe)}function PM(t){ut(t)?t():t.unsubscribe()}var Ha={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var km={setTimeout(t,i,...e){let{delegate:n}=km;return n?.setTimeout?n.setTimeout(t,i,...e):setTimeout(t,i,...e)},clearTimeout(t){let{delegate:i}=km;return(i?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ib(t){km.setTimeout(()=>{let{onUnhandledError:i}=Ha;if(i)i(t);else throw t})}function Sl(){}var LM=qw("C",void 0,void 0);function BM(t){return qw("E",void 0,t)}function VM(t){return qw("N",t,void 0)}function qw(t,i,e){return{kind:t,value:i,error:e}}var nu=null;function Rm(t){if(Ha.useDeprecatedSynchronousErrorHandling){let i=!nu;if(i&&(nu={errorThrown:!1,error:null}),t(),i){let{errorThrown:e,error:n}=nu;if(nu=null,e)throw n}}else t()}function jM(t){Ha.useDeprecatedSynchronousErrorHandling&&nu&&(nu.errorThrown=!0,nu.error=t)}var iu=class extends _e{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,Tb(i)&&i.add(this)):this.destination=cW}static create(i,e,n){return new Ua(i,e,n)}next(i){this.isStopped?Xw(VM(i),this):this._next(i)}error(i){this.isStopped?Xw(BM(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?Xw(LM,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()}}},sW=Function.prototype.bind;function Kw(t,i){return sW.call(t,i)}var Zw=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(n){Ab(n)}}error(i){let{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(n){Ab(n)}else Ab(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){Ab(e)}}},Ua=class extends iu{constructor(i,e,n){super();let r;if(ut(i)||!i)r={next:i??void 0,error:e??void 0,complete:n??void 0};else{let o;this&&Ha.useDeprecatedNextContext?(o=Object.create(i),o.unsubscribe=()=>this.unsubscribe(),r={next:i.next&&Kw(i.next,o),error:i.error&&Kw(i.error,o),complete:i.complete&&Kw(i.complete,o)}):r=i}this.destination=new Zw(r)}};function Ab(t){Ha.useDeprecatedSynchronousErrorHandling?jM(t):Ib(t)}function lW(t){throw t}function Xw(t,i){let{onStoppedNotification:e}=Ha;e&&km.setTimeout(()=>e(t,i))}var cW={closed:!0,next:Sl,error:lW,complete:Sl};var Mm=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ho(t){return t}function Qw(...t){return Jw(t)}function Jw(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=uW(e)?e:new Ua(e,n,r);return Rm(()=>{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=HM(n),new n((r,o)=>{let a=new Ua({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)}[Mm](){return this}pipe(...e){return Jw(e)(this)}toPromise(e){return e=HM(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 HM(t){var i;return(i=t??Ha.Promise)!==null&&i!==void 0?i:Promise}function dW(t){return t&&ut(t.next)&&ut(t.error)&&ut(t.complete)}function uW(t){return t&&t instanceof iu||dW(t)&&Tb(t)}function ex(t){return ut(t?.lift)}function Qe(t){return i=>{if(ex(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 qe(t,i,e,n,r){return new tx(t,i,e,n,r)}var tx=class extends iu{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 UM(){return Qe((t,i)=>{let e=null;t._refCount++;let n=qe(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 ff=class extends Ne{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,ex(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(qe(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 UM()(this)}};var Nm={schedule(t){let i=requestAnimationFrame,e=cancelAnimationFrame,{delegate:n}=Nm;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}=Nm;return(i?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:i}=Nm;return(i?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var zM=kc(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 kb(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new zM}next(e){Rm(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(e)}})}error(e){Rm(()=>{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(){Rm(()=>{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?Yw:(this.currentObservers=null,o.push(e),new _e(()=>{this.currentObservers=null,tu(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 kb(i,e),t})(),kb=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:Yw}};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 gf={now(){return(gf.delegate||Date).now()},delegate:void 0};var Co=class extends O{constructor(i=1/0,e=1/0,n=gf){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: 8,190 bytes, line 3
3var Rb=class extends _e{constructor(i,e){super()}schedule(i,e=0){return this}};var _f={setInterval(t,i,...e){let{delegate:n}=_f;return n?.setInterval?n.setInterval(t,i,...e):setInterval(t,i,...e)},clearInterval(t){let{delegate:i}=_f;return(i?.clearInterval||clearInterval)(t)},delegate:void 0};var Rc=class extends Rb{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 _f.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&&_f.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,tu(n,this),i!=null&&(this.id=this.recycleAsyncId(e,i,null)),this.delay=null,super.unsubscribe()}}};var mW=1,nx,ix={};function GM(t){return t in ix?(delete ix[t],!0):!1}var WM={setImmediate(t){let i=mW++;return ix[i]=!0,nx||(nx=Promise.resolve()),nx.then(()=>GM(i)&&t()),i},clearImmediate(t){GM(t)}};var{setImmediate:pW,clearImmediate:hW}=WM,bf={setImmediate(...t){let{delegate:i}=bf;return(i?.setImmediate||pW)(...t)},clearImmediate(t){let{delegate:i}=bf;return(i?.clearImmediate||hW)(t)},delegate:void 0};var Mb=class extends Rc{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=bf.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&&(bf.clearImmediate(e),i._scheduled===e&&(i._scheduled=void 0))}};var Om=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)}};Om.now=gf.now;var Mc=class extends Om{constructor(i,e=Om.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 Nb=class extends Mc{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 Ob=new Nb(Mb);var Uo=new Mc(Rc),$M=Uo;var Fb=class extends Rc{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=Nm.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&&(Nm.cancelAnimationFrame(e),i._scheduled=void 0)}};var Pb=class extends Mc{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 Fm=new Pb(Fb);var Ae=new Ne(t=>t.complete());function Lb(t){return t&&ut(t.schedule)}function rx(t){return t[t.length-1]}function Bb(t){return ut(rx(t))?t.pop():void 0}function pa(t){return Lb(rx(t))?t.pop():void 0}function YM(t,i){return typeof rx(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 KM(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 ru(t){return this instanceof ru?(this.v=t,this):new ru(t)}function XM(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(k){return function(M){return Promise.resolve(M).then(k,b)}}function s(k,M){n[k]&&(r[k]=function(J){return new Promise(function(j,K){o.push([k,J,j,K])>1||d(k,J)})},M&&(r[k]=M(r[k])))}function d(k,M){try{p(n[k](M))}catch(J){w(o[0][3],J)}}function p(k){k.value instanceof ru?Promise.resolve(k.value.v).then(f,b):w(o[0][2],k)}function f(k){d("next",k)}function b(k){d("throw",k)}function w(k,M){k(M),o.shift(),o.length&&d(o[0][0],o[0][1])}}function ZM(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 Pm=t=>t&&typeof t.length=="number"&&typeof t!="function";function Vb(t){return ut(t?.then)}function jb(t){return ut(t[Mm])}function Hb(t){return Symbol.asyncIterator&&ut(t?.[Symbol.asyncIterator])}function Ub(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 fW(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zb=fW();function Gb(t){return ut(t?.[zb])}function Wb(t){return XM(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:n,done:r}=yield ru(e.read());if(r)return yield ru(void 0);yield yield ru(n)}}finally{e.releaseLock()}})}function $b(t){return ut(t?.getReader)}function Ft(t){if(t instanceof Ne)return t;if(t!=null){if(jb(t))return gW(t);if(Pm(t))return _W(t);if(Vb(t))return bW(t);if(Hb(t))return QM(t);if(Gb(t))return vW(t);if($b(t))return yW(t)}throw Ub(t)}function gW(t){return new Ne(i=>{let e=t[Mm]();if(ut(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function _W(t){return new Ne(i=>{for(let e=0;e<t.length&&!i.closed;e++)i.next(t[e]);i.complete()})}function bW(t){return new Ne(i=>{t.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,Ib)})}function vW(t){return new Ne(i=>{for(let e of t)if(i.next(e),i.closed)return;i.complete()})}function QM(t){return new Ne(i=>{CW(t,i).catch(e=>i.error(e))})}function yW(t){return QM(Wb(t))}function CW(t,i){var e,n,r,o;return KM(this,void 0,void 0,function*(){try{for(e=ZM(t);n=yield e.next(),!n.done;){let a=n.value;if(i.next(a),i.closed)return}}catch(a){r={error:a}}
vendor: 8,429 bytes, line 3
3finally{try{n&&!n.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}i.complete()})}function Pr(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 Yb(t,i=0){return Qe((e,n)=>{e.subscribe(qe(n,r=>Pr(n,t,()=>n.next(r),i),()=>Pr(n,t,()=>n.complete(),i),r=>Pr(n,t,()=>n.error(r),i)))})}function qb(t,i=0){return Qe((e,n)=>{n.add(t.schedule(()=>e.subscribe(n),i))})}function JM(t,i){return Ft(t).pipe(qb(i),Yb(i))}function eN(t,i){return Ft(t).pipe(qb(i),Yb(i))}function tN(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 nN(t,i){return new Ne(e=>{let n;return Pr(e,i,()=>{n=t[zb](),Pr(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)}),()=>ut(n?.return)&&n.return()})}function Kb(t,i){if(!t)throw new Error("Iterable cannot be null");return new Ne(e=>{Pr(e,i,()=>{let n=t[Symbol.asyncIterator]();Pr(e,i,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function iN(t,i){return Kb(Wb(t),i)}function rN(t,i){if(t!=null){if(jb(t))return JM(t,i);if(Pm(t))return tN(t,i);if(Vb(t))return eN(t,i);if(Hb(t))return Kb(t,i);if(Gb(t))return nN(t,i);if($b(t))return iN(t,i)}throw Ub(t)}function gn(t,i){return i?rN(t,i):Ft(t)}function L(...t){let i=pa(t);return gn(t,i)}function rn(t,i){let e=ut(t)?t:()=>t,n=r=>r.error(e());return new Ne(i?r=>i.schedule(n,0,r):n)}function Tl(t){return!!t&&(t instanceof Ne||ut(t.lift)&&ut(t.subscribe))}var Il=kc(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function DW(t,i){let e=typeof i=="object";return new Promise((n,r)=>{let o=new Ua({next:a=>{n(a),o.unsubscribe()},error:r,complete:()=>{e?n(i.defaultValue):r(new Il)}});t.subscribe(o)})}function Xb(t){return t instanceof Date&&!isNaN(t)}var EW=kc(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function Lm(t,i){let{first:e,each:n,with:r=wW,scheduler:o=i??Uo,meta:a=null}=Xb(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,k=M=>{f=Pr(d,o,()=>{try{p.unsubscribe(),Ft(r({meta:a,lastValue:b,seen:w})).subscribe(d)}catch(J){d.error(J)}},M)};p=s.subscribe(qe(d,M=>{f?.unsubscribe(),w++,d.next(b=M),n>0&&k(n)},void 0,void 0,()=>{f?.closed||f?.unsubscribe(),b=null})),!w&&k(e!=null?typeof e=="number"?e:+e-o.now():n)})}function wW(t){throw new EW(t)}function $(t,i){return Qe((e,n)=>{let r=0;e.subscribe(qe(n,o=>{n.next(t.call(i,o,r++))}))})}var{isArray:xW}=Array;function SW(t,i){return xW(i)?t(...i):t(i)}function Bm(t){return $(i=>SW(t,i))}var{isArray:TW}=Array,{getPrototypeOf:IW,prototype:AW,keys:kW}=Object;function Zb(t){if(t.length===1){let i=t[0];if(TW(i))return{args:i,keys:null};if(RW(i)){let e=kW(i);return{args:e.map(n=>i[n]),keys:e}}}return{args:t,keys:null}}function RW(t){return t&&typeof t=="object"&&IW(t)===AW}function Qb(t,i){return t.reduce((e,n,r)=>(e[n]=i[r],e),{})}function on(...t){let i=pa(t),e=Bb(t),{args:n,keys:r}=Zb(t);if(n.length===0)return gn([],i);let o=new Ne(MW(n,i,r?a=>Qb(r,a):Ho));return e?o.pipe(Bm(e)):o}function MW(t,i,e=Ho){return n=>{oN(i,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let d=0;d<r;d++)oN(i,()=>{let p=gn(t[d],i),f=!1;p.subscribe(qe(n,b=>{o[d]=b,f||(f=!0,s--),s||n.next(e(o.slice()))},()=>{--a||n.complete()}))},n)},n)}}function oN(t,i,e){t?Pr(e,t,i):i()}function aN(t,i,e,n,r,o,a,s){let d=[],p=0,f=0,b=!1,w=()=>{b&&!d.length&&!p&&i.complete()},k=J=>p<n?M(J):d.push(J),M=J=>{o&&i.next(J),p++;let j=!1;Ft(e(J,f++)).subscribe(qe(i,K=>{r?.(K),o?k(K):i.next(K)},()=>{j=!0},void 0,()=>{if(j)try{for(p--;d.length&&p<n;){let K=d.shift();a?Pr(i,a,()=>M(K)):M(K)}w()}catch(K){i.error(K)}}))};return t.subscribe(qe(i,k,()=>{b=!0,w()})),()=>{s?.()}}function ii(t,i,e=1/0){return ut(i)?ii((n,r)=>$((o,a)=>i(n,o,r,a))(Ft(t(n,r))),e):(typeof i=="number"&&(e=i),Qe((n,r)=>aN(n,r,t,e)))}function ws(t=1/0){return ii(Ho,t)}function Jb(){return ws(1)}function xs(...t){return Jb()(gn(t,pa(t)))}function Yn(t){return new Ne(i=>{Ft(t()).subscribe(i)})}function vf(...t){let i=Bb(t),{args:e,keys:n}=Zb(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(qe(o,w=>{b||(b=!0,p--),s[f]=w},()=>d--,void 0,()=>{(!d||!b)&&(p||o.next(n?Qb(n,s):s),o.complete())}))}});return i?r.pipe(Bm(i)):r}var NW=["addListener","removeListener"],OW=["addEventListener","removeEventListener"],FW=["on","off"];function Al(t,i,e,n){if(ut(e)&&(n=e,e=void 0),n)return Al(t,i,e).pipe(Bm(n));let[r,o]=BW(t)?OW.map(a=>s=>t[a](i,s,e)):PW(t)?NW.map(sN(t,i)):LW(t)?FW.map(sN(t,i)):[];if(!r&&Pm(t))return ii(a=>Al(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 sN(t,i){return e=>n=>t[e](i,n)}function PW(t){return ut(t.addListener)&&ut(t.removeListener)}function LW(t){return ut(t.on)&&ut(t.off)}function BW(t){return ut(t.addEventListener)&&ut(t.removeEventListener)}function VW(t,i,e){return Yn(()=>t()?i:e)}function za(t=0,i,e=$M){let n=-1;return i!=null&&(Lb(i)?e=i:n=i),new Ne(r=>{let o=Xb(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 ox(t=0,i=Uo){return t<0&&(t=0),za(t,t,i)}function mt(...t){let i=pa(t),e=YM(t,1/0),n=t;return n.length?n.length===1?Ft(n[0]):ws(e)(gn(n,i)):Ae}var yf=new Ne(Sl);var{isArray:jW}=Array;function lN(t){return t.length===1&&jW(t[0])?t[0]:t}function ae(t,i){return Qe((e,n)=>{let r=0;e.subscribe(qe(n,o=>t.call(i,o,r++)&&n.next(o)))})}function ax(...t){return t=lN(t),t.length===1?Ft(t[0]):new Ne(HW(t))}function HW(t){return i=>{let e=[];for(let n=0;e&&!i.closed&&n<t.length;n++)e.push(Ft(t[n]).subscribe(qe(i,r=>{if(e){for(let o=0;o<e.length;o++)o!==n&&e[o].unsubscribe();e=null}i.next(r)})))}}function cN(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(qe(e,p=>{n=!0,r=p,o||Ft(t(p)).subscribe(o=qe(e,s,d))},()=>{a=!0,(!n||!o||o.closed)&&e.complete()}))})}function Vm(t,i=Uo){return cN(()=>za(t,i))}function je(t){return Qe((i,e)=>{let n=null,r=!1,o;n=i.subscribe(qe(e,void 0,void 0,a=>{o=Ft(t(a,je(t)(i))),n?(n.unsubscribe(),n=null,o.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(e))})}function dN(t,i,e,n,r){return(o,a)=>{let s=e,d=i,p=0;o.subscribe(qe(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 uN(t,i){return Qe(dN(t,i,arguments.length>=2,!1,!0))}var UW=(t,i)=>(t.push(i),t);function zW(){return Qe((t,i)=>{uN(UW,[])(t).subscribe(i)})}function Ss(t,i){return ut(i)?ii(t,i,1):ii(t,1)}function mN(...t){let i=pa(t);return Qe((e,n)=>{Jb()(gn([e,...t],i)).subscribe(n)})}function jm(...t){return mN(...t)}function fi(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(qe(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 pN(t){return Qe((i,e)=>{let n=!1;i.subscribe(qe(e,r=>{n=!0,e.next(r)},()=>{n||e.next(t),e.complete()}))})}function We(t){return t<=0?()=>Ae:Qe((i,e)=>{let n=0;i.subscribe(qe(e,r=>{++n<=t&&(e.next(r),t<=n&&e.complete())}))})}function Hm(){return Qe((t,i)=>{t.subscribe(qe(i,Sl))})}function Um(t){return $(()=>t)}function sx(t,i){return i?e=>xs(i.pipe(We(1),Hm()),e.pipe(sx(t))):ii((e,n)=>Ft(t(e,n)).pipe(We(1),Um(e)))}function lx(t,i=Uo){let e=za(t,i);return sx(()=>e)}function It(t,i=Ho){return t=t??GW,Qe((e,n)=>{let r,o=!0;e.subscribe(qe(n,a=>{let s=i(a);(o||!t(r,s))&&(o=!1,r=s,n.next(a))}))})}function GW(t,i){return t===i}function hN(t=WW){return Qe((i,e)=>{let n=!1;i.subscribe(qe(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(t())))})}function WW(){return new Il}function ev(t,i){return i?e=>e.pipe(ev((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(qe(n,s=>{o||(o=qe(n,void 0,()=>{o=null,a&&n.complete()}),Ft(t(s,r++)).subscribe(o))},()=>{a=!0,!o&&n.complete()}
3))})}function Qr(t){return Qe((i,e)=>{try{i.subscribe(e)}finally{e.add(t)}})}function Ga(t,i){let e=arguments.length>=2;return n=>n.pipe(t?ae((r,o)=>t(r,o,n)):Ho,We(1),e?pN(i):hN(()=>new Il))}function tv(t){return t<=0?()=>Ae:Qe((i,e)=>{let n=[];i.subscribe(qe(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 nv(){return Qe((t,i)=>{let e,n=!1;t.subscribe(qe(i,r=>{let o=e;e=r,n&&i.next([o,r]),n=!0}))})}function Cf(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},k=()=>{w(),a=d=void 0,f=b=!1},M=()=>{let J=a;k(),J?.unsubscribe()};return Qe((J,j)=>{p++,!b&&!f&&w();let K=d=d??i();j.add(()=>{p--,p===0&&!b&&!f&&(s=cx(M,r))}),K.subscribe(j),!a&&p>0&&(a=new Ua({next:Te=>K.next(Te),error:Te=>{b=!0,w(),s=cx(k,e,Te),K.error(Te)},complete:()=>{f=!0,w(),s=cx(k,n),K.complete()}}),Ft(J).subscribe(a))})(o)}}function cx(t,i,...e){if(i===!0){t();return}if(i===!1)return;let n=new Ua({next:()=>{n.unsubscribe(),t()}});return Ft(i(...e)).subscribe(n)}function Jr(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,Cf({connector:()=>new Co(n,i,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function kl(t){return ae((i,e)=>t<=e)}function Re(...t){let i=pa(t);return Qe((e,n)=>{(i?xs(t,e,i):xs(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(qe(n,d=>{r?.unsubscribe();let p=0,f=o++;Ft(t(d,f)).subscribe(r=qe(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(qe(e,()=>e.complete(),Sl)),!e.closed&&i.subscribe(e)})}function dx(t,i=!1){return Qe((e,n)=>{let r=0;e.subscribe(qe(n,o=>{let a=t(o,r++);(a||i)&&n.next(o),!a&&n.complete()}))})}function B(t,i,e){let n=ut(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(qe(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 fN(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&&(k(),p&&n.complete())},b=()=>{d=null,p&&n.complete()},w=M=>d=Ft(t(M)).subscribe(qe(n,f,b)),k=()=>{if(a){a=!1;let M=s;s=null,n.next(M),!p&&w(M)}};e.subscribe(qe(n,M=>{a=!0,s=M,!(d&&!d.closed)&&(r?k():w(M))},()=>{p=!0,!(o&&a&&d&&!d.closed)&&n.complete()}))})}function ux(t,i=Uo,e){let n=za(t,i);return fN(()=>n,e)}var mx;function iv(){return mx}function Ts(t){let i=mx;return mx=t,i}var gN=Symbol("NotFound");function zm(t){return t===gN||t?.name==="\u0275NotFound"}function px(t,i,e){let n=Object.create($W);n.source=t,n.computation=i,e!=null&&(n.equal=e);let o=()=>{if(eu(n),wl(n),n.value===Es)throw n.error;return n.value};return o[yi]=n,uf(n),o}function _N(t,i){eu(t),Ac(t,i),Tm(t)}function bN(t,i){if(eu(t),t.value===Es)throw t.error;xb(t,i),Tm(t)}var $W=ke(P({},Sc),{value:Qd,dirty:!0,error:null,equal:mf,kind:"linkedSignal",producerMustRecompute(t){return t.value===Qd||t.value===Jd},producerRecomputeValue(t){if(t.value===Jd)throw new Error("");let i=t.value;t.value=Jd;let e=xl(t),n,r=!1;try{let o=t.source(),a=i!==Qd&&i!==Es,s=a?{source:t.sourceValue,value:i}:void 0;n=t.computation(o,s),t.sourceValue=o,it(null),r=a&&n!==Es&&t.equal(i,n)}catch(o){n=Es,t.error=o}finally{Tc(t,e)}if(r){t.value=i;return}t.value=n,t.version++}});function vN(t){let i=it(null);try{return t()}finally{it(i)}}var uv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",ce=class extends Error{code;constructor(i,e){super(ha(i,e)),this.code=i}};function YW(t){return`NG0${Math.abs(t)}`}function ha(t,i){return`${YW(t)}${i?": "+i:""}`}var Fi=globalThis;function Tn(t){for(let i in t)if(t[i]===Tn)return i;throw Error("")}function wN(t,i){for(let e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function Af(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Af).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 mv(t,i){return t?i?`${t} ${i}`:t:i||""}var qW=Tn({__forward_ref__:Tn});function bn(t){return t.__forward_ref__=bn,t}function Yi(t){return Sx(t)?t():t}function Sx(t){return typeof t=="function"&&t.hasOwnProperty(qW)&&t.__forward_ref__===bn}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function q(t){return{providers:t.providers||[],imports:t.imports||[]}}function kf(t){return KW(t,pv)}function Tx(t){return kf(t)!==null}function KW(t,i){return t.hasOwnProperty(i)&&t[i]||null}function XW(t){let i=t?.[pv]??null;return i||null}function fx(t){return t&&t.hasOwnProperty(av)?t[av]:null}var pv=Tn({\u0275prov:Tn}),av=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 Ix(t){return t&&!!t.\u0275providers}var Rf=Tn({\u0275cmp:Tn}),Mf=Tn({\u0275dir:Tn}),Ax=Tn({\u0275pipe:Tn}),kx=Tn({\u0275mod:Tn}),Ef=Tn({\u0275fac:Tn}),cu=Tn({__NG_ELEMENT_ID__:Tn}),yN=Tn({__NG_ENV_ID__:Tn});function Rx(t){return fv(t,"@NgModule"),t[kx]||null}function Is(t){return fv(t,"@Component"),t[Rf]||null}function hv(t){return fv(t,"@Directive"),t[Mf]||null}function Mx(t){return fv(t,"@Pipe"),t[Ax]||null}function fv(t,i){if(t==null)throw new ce(-919,!1)}function to(t){return typeof t=="string"?t:t==null?"":String(t)}var xN=Tn({ngErrorCode:Tn}),ZW=Tn({ngErrorMessage:Tn}),QW=Tn({ngTokenPath:Tn});function Nx(t,i){return SN("",-200,i)}
vendor: 4,139 bytes, line 4
4function gv(t,i){throw new ce(-201,!1)}function SN(t,i,e){let n=new ce(i,t);return n[xN]=i,n[ZW]=t,e&&(n[QW]=e),n}function JW(t){return t[xN]}var gx;function TN(){return gx}function eo(t){let i=gx;return gx=t,i}function Ox(t,i,e){let n=kf(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;gv(t,"")}var e8={},ou=e8,t8="__NG_DI_FLAG__",_x=class{injector;constructor(i){this.injector=i}retrieve(i,e){let n=au(e)||0;try{return this.injector.get(i,n&8?null:ou,n)}catch(r){if(zm(r))return r;throw r}}};function n8(t,i=0){let e=iv();if(e===void 0)throw new ce(-203,!1);if(e===null)return Ox(t,void 0,i);{let n=i8(i),r=e.retrieve(t,n);if(zm(r)){if(n.optional)return null;throw r}return r}}function F(t,i=0){return(TN()||n8)(Yi(t),i)}function m(t,i){return F(t,au(i))}function au(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function i8(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function bx(t){let i=[];for(let e=0;e<t.length;e++){let n=Yi(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=r8(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 r8(t){return t[t8]}function Oc(t,i){let e=t.hasOwnProperty(Ef);return e?t[Ef]:null}function IN(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 AN(t){return t.flat(Number.POSITIVE_INFINITY)}function _v(t,i){t.forEach(e=>Array.isArray(e)?_v(e,i):i(e))}function Fx(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function Nf(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function kN(t,i){let e=[];for(let n=0;n<t;n++)e.push(i);return e}function RN(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 Of(t,i,e){let n=Wm(t,i);return n>=0?t[n|1]=e:(n=~n,RN(t,n,i,e)),n}function bv(t,i){let e=Wm(t,i);if(e>=0)return t[e|1]}function Wm(t,i){return o8(t,i,1)}function o8(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 $a={},Lr=[],Ml=new R(""),Px=new R("",-1),Lx=new R(""),wf=class{get(i,e=ou){if(e===ou){let r=SN("",-201);throw r.name="\u0275NotFound",r}return e}};function Lc(t){return{\u0275providers:t}}function MN(...t){return{\u0275providers:Bx(!0,t),\u0275fromNgModule:!0}}function Bx(t,...i){let e=[],n=new Set,r,o=a=>{e.push(a)};return _v(i,a=>{let s=a;sv(s,o,[],n)&&(r||=[],r.push(s))}),r!==void 0&&NN(r,o),e}function NN(t,i){for(let e=0;e<t.length;e++){let{ngModule:n,providers:r}=t[e];Vx(r,o=>{i(o,n)})}}function sv(t,i,e,n){if(t=Yi(t),!t)return!1;let r=null,o=fx(t),a=!o&&Is(t);if(!o&&!a){let d=t.ngModule;if(o=fx(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)sv(p,i,e,n)}}else if(o){if(o.imports!=null&&!s){n.add(r);let p;_v(o.imports,f=>{sv(f,i,e,n)&&(p||=[],p.push(f))}),p!==void 0&&NN(p,i)}if(!s){let p=Oc(r)||(()=>new r);i({provide:r,useFactory:p,deps:Lr},r),i({provide:Lx,useValue:r,multi:!0},r),i({provide:Ml,useValue:()=>F(r),multi:!0},r)}let d=o.providers;if(d!=null&&!s){let p=t;Vx(d,f=>{i(f,p)})}}else return!1;return r!==t&&t.providers!==void 0}function Vx(t,i){for(let e of t)Ix(e)&&(e=e.\u0275providers),Array.isArray(e)?Vx(e,i):i(e)}var a8=Tn({provide:String,useValue:Tn});function ON(t){return t!==null&&typeof t=="object"&&a8 in t}function s8(t){return!!(t&&t.useExisting)}function l8(t){return!!(t&&t.useFactory)}function su(t){return typeof t=="function"}function FN(t){return!!t.useClass}var Ff=new R(""),rv={},CN={},hx;function $m(){return hx===void 0&&(hx=new wf),hx}var _n=class{},lu=class extends _n{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;
vendor: 10,326 bytes, line 4
4constructor(i,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,yx(i,a=>this.processProvider(a)),this.records.set(Px,Gm(void 0,this)),r.has("environment")&&this.records.set(_n,Gm(void 0,this));let o=this.records.get(Ff);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Lx,Lr,{self:!0}))}retrieve(i,e){let n=au(e)||0;try{return this.get(i,ou,n)}catch(r){if(zm(r))return r;throw r}}destroy(){Df(this),this._destroyed=!0;let i=it(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(),it(i)}}onDestroy(i){return Df(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){Df(this);let e=Ts(this),n=eo(void 0),r;try{return i()}finally{Ts(e),eo(n)}}get(i,e=ou,n){if(Df(this),i.hasOwnProperty(yN))return i[yN](this);let r=au(n),o,a=Ts(this),s=eo(void 0);try{if(!(r&4)){let p=this.records.get(i);if(p===void 0){let f=p8(i)&&kf(i);f&&this.injectableDefInScope(f)?p=Gm(vx(i),rv):p=null,this.records.set(i,p)}if(p!=null)return this.hydrate(i,p,r)}let d=r&2?$m():this.parent;return e=r&8&&e===ou?null:e,d.get(i,e)}catch(d){let p=JW(d);throw p===-200||p===-201?new ce(p,null):d}finally{eo(s),Ts(a)}}resolveInjectorInitializers(){let i=it(null),e=Ts(this),n=eo(void 0),r;try{let o=this.get(Ml,Lr,{self:!0});for(let a of o)a()}finally{Ts(e),eo(n),it(i)}}toString(){return"R3Injector[...]"}processProvider(i){i=Yi(i);let e=su(i)?i:Yi(i&&i.provide),n=d8(i);if(!su(i)&&i.multi===!0){let r=this.records.get(e);r||(r=Gm(void 0,rv,!0),r.factory=()=>bx(r.multi),this.records.set(e,r)),e=i,r.multi.push(i)}this.records.set(e,n)}hydrate(i,e,n){let r=it(null);try{if(e.value===CN)throw Nx("");return e.value===rv&&(e.value=CN,e.value=e.factory(void 0,n)),typeof e.value=="object"&&e.value&&m8(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{it(r)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=Yi(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 vx(t){let i=kf(t),e=i!==null?i.factory:Oc(t);if(e!==null)return e;if(t instanceof R)throw new ce(-204,!1);if(t instanceof Function)return c8(t);throw new ce(-204,!1)}function c8(t){if(t.length>0)throw new ce(-204,!1);let e=XW(t);return e!==null?()=>e.factory(t):()=>new t}function d8(t){if(ON(t))return Gm(void 0,t.useValue);{let i=jx(t);return Gm(i,rv)}}function jx(t,i,e){let n;if(su(t)){let r=Yi(t);return Oc(r)||vx(r)}else if(ON(t))n=()=>Yi(t.useValue);else if(l8(t))n=()=>t.useFactory(...bx(t.deps||[]));else if(s8(t))n=(r,o)=>F(Yi(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=Yi(t&&(t.useClass||t.provide));if(u8(t))n=()=>new r(...bx(t.deps));else return Oc(r)||vx(r)}return n}function Df(t){if(t.destroyed)throw new ce(-205,!1)}function Gm(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function u8(t){return!!t.deps}function m8(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function p8(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function yx(t,i){for(let e of t)Array.isArray(e)?yx(e,i):e&&Ix(e)?yx(e.\u0275providers,i):i(e)}function Ki(t,i){let e;t instanceof lu?(Df(t),e=t):e=new _x(t);let n,r=Ts(e),o=eo(void 0);try{return i()}finally{Ts(r),eo(o)}}function Hx(){return TN()!==void 0||iv()!=null}var Ya=0,st=1,vt=2,qi=3,fa=4,no=5,du=6,Ym=7,Ti=8,Nl=9,qa=10,Mn=11,qm=12,Ux=13,uu=14,io=15,Bc=16,mu=17,As=18,Ol=19,zx=20,Rl=21,vv=22,Fc=23,zo=24,pu=25,Vc=26,Nn=27,PN=1,Gx=6,jc=7,Pf=8,hu=9,Ci=10;function Fl(t){return Array.isArray(t)&&typeof t[PN]=="object"}function Ka(t){return Array.isArray(t)&&t[PN]===!0}function Wx(t){return(t.flags&4)!==0}function ks(t){return t.componentOffset>-1}function Km(t){return(t.flags&1)===1}function Xa(t){return!!t.template}function Xm(t){return(t[vt]&512)!==0}function fu(t){return(t[vt]&256)===256}var dn=(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})(dn||{}),ov,xf="svg",$x="math";function LN(){return ov||(ov={},Nc(dn.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Nc(dn.STYLE,void 0,[["*",["style"]]]),Nc(dn.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Nc(dn.URL,$x,[["*",["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"]]]),Nc(dn.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Nc(dn.URL,xf,[["a",["href","xlink:href"]]]),Nc(dn.ATTRIBUTE_NO_BINDING,xf,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Nc(dn.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),ov}function Nc(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)ov[`${o}|${a.toLowerCase()}`]=t}}function BN(t,i,e){let n=LN(),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}`]??dn.NONE}function ga(t){for(;Array.isArray(t);)t=t[Ya];return t}function Yx(t,i){return ga(i[t])}function Go(t,i){return ga(i[t.index])}function yv(t,i){return t.data[i]}function gu(t,i){return t[i]}function Lf(t,i,e,n){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function _a(t,i){let e=i[t];return Fl(e)?e:e[Ya]}function VN(t){return(t[vt]&4)===4}function Cv(t){return(t[vt]&128)===128}function jN(t){return Ka(t[qi])}function Wo(t,i){return i==null?null:t[i]}function qx(t){t[mu]=0}function Kx(t){t[vt]&1024||(t[vt]|=1024,Cv(t)&&_u(t))}function HN(t,i){for(;t>0;)i=i[uu],t--;return i}function Bf(t){return!!(t[vt]&9216||t[zo]?.dirty)}function Dv(t){t[qa].changeDetectionScheduler?.notify(8),t[vt]&64&&(t[vt]|=1024),Bf(t)&&_u(t)}function _u(t){t[qa].changeDetectionScheduler?.notify(0);let i=Pc(t);for(;i!==null&&!(i[vt]&8192||(i[vt]|=8192,!Cv(i)));)i=Pc(i)}function Xx(t,i){if(fu(t))throw new ce(911,!1);t[Rl]===null&&(t[Rl]=[]),t[Rl].push(i)}function UN(t,i){if(t[Rl]===null)return;let e=t[Rl].indexOf(i);e!==-1&&t[Rl].splice(e,1)}function Pc(t){let i=t[qi];return Ka(i)?i[qi]:i}function Zx(t){return t[Ym]??=[]}function Qx(t){return t.cleanup??=[]}function zN(t,i,e,n){let r=Zx(i);r.push(e),t.firstCreatePass&&Qx(t).push(n,r.length-1)}var At={lFrame:JN(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Cx=!1;function GN(){return At.lFrame.elementDepthCount}function WN(){At.lFrame.elementDepthCount++}function Jx(){At.lFrame.elementDepthCount--}function Ev(){return At.bindingsEnabled}function eS(){return At.skipHydrationRootTNode!==null}function tS(t){return At.skipHydrationRootTNode===t}function nS(){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 Xi(){let t=iS();for(;t!==null&&t.type===64;)t=t.parent;return t}function iS(){return At.lFrame.currentTNode}function $N(){let t=At.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function bu(t,i){let e=At.lFrame;e.currentTNode=t,e.isParent=i}function rS(){return At.lFrame.isParent}function oS(){At.lFrame.isParent=!1}function aS(){return At.lFrame.contextLView}function sS(){return Cx}function Sf(t){let i=Cx;return Cx=t,i}function Hc(){let t=At.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function wv(){return At.lFrame.bindingIndex}function YN(t){return At.lFrame.bindingIndex=t}function Rs(){return At.lFrame.bindingIndex++}function Zm(t){let i=At.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function qN(){return At.lFrame.inI18n}function KN(t,i){let e=At.lFrame;e.bindingIndex=e.bindingRootIndex=t,xv(i)}function XN(){return At.lFrame.currentDirectiveIndex}function xv(t){At.lFrame.currentDirectiveIndex=t}function ZN(t){let i=At.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function Sv(){return At.lFrame.currentQueryIndex}function Vf(t){At.lFrame.currentQueryIndex=t}function h8(t){let i=t[st];return i.type===2?i.declTNode:i.type===1?t[no]:null}function lS(t,i,e){if(e&4){let r=i,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=h8(o),r===null||(o=o[uu],r.type&10))break;if(r===null)return!1;i=r,t=o}let n=At.lFrame=QN();return n.currentTNode=i,n.lView=t,!0}function Tv(t){let i=QN(),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 QN(){let t=At.lFrame,i=t===null?null:t.child;return i===null?JN(t):i}function JN(t){let i={currentTNode:null,isParent:!0,lView:null,tView:null,
vendor: 28,387 bytes, line 4
4selectedIndex:-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 eO(){let t=At.lFrame;return At.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var cS=eO;function Iv(){let t=eO();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 tO(t){return(At.lFrame.contextLView=HN(t,At.lFrame.contextLView))[Ti]}function Do(){return At.lFrame.selectedIndex}function Uc(t){At.lFrame.selectedIndex=t}function vu(){let t=At.lFrame;return yv(t.tView,t.selectedIndex)}function In(){At.lFrame.currentNamespace=xf}function $o(){f8()}function f8(){At.lFrame.currentNamespace=null}function dS(){return At.lFrame.currentNamespace}var nO=!0;function Av(){return nO}function jf(t){nO=t}function Dx(t,i=null,e=null,n){let r=uS(t,i,e,n);return r.resolveInjectorInitializers(),r}function uS(t,i=null,e=null,n,r=new Set){let o=[e||Lr,MN(t)],a;return new lu(o,i||$m(),a||null,r)}var ie=class t{static THROW_IF_NOT_FOUND=ou;static NULL=new wf;static create(i,e){if(Array.isArray(i))return Dx({name:""},e,i,"");{let n=i.name??"";return Dx({name:n},i.parent,i.providers,n)}}static \u0275prov=D({token:t,providedIn:"any",factory:()=>F(Px)});static __NG_ELEMENT_ID__=-1},Ce=new R(""),un=(()=>{class t{static __NG_ELEMENT_ID__=g8;static __NG_ENV_ID__=e=>e}return t})(),lv=class extends un{_lView;constructor(i){super(),this._lView=i}get destroyed(){return fu(this._lView)}onDestroy(i){let e=this._lView;return Xx(e,i),()=>UN(e,i)}};function g8(){return new lv(Oe())}var mS=!1,iO=new R(""),Ms=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new zt(!1);debugTaskTracker=m(iO,{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})(),Ex=class extends O{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,Hx()&&(this.destroyRef=m(un,{optional:!0})??void 0,this.pendingTasks=m(Ms,{optional:!0})??void 0)}emit(i){let e=it(null);try{super.next(i)}finally{it(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=Ex;function cv(...t){}function pS(t){let i,e;function n(){t=cv;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 rO(t){return queueMicrotask(()=>t()),()=>{t=cv}}var hS="isAngularZone",Tf=hS+"_ID",_8=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=mS}=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,y8(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(hS)===!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,b8,cv,cv);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)}},b8={};function fS(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 v8(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){pS(()=>{t.callbackScheduled=!1,wx(t),t.isCheckStableRunning=!0,fS(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),wx(t)}function y8(t){let i=()=>{v8(t)},e=_8++;t._inner=t._inner.fork({name:"angular",properties:{[hS]:!0,[Tf]:e,[Tf+e]:!0},onInvokeTask:(n,r,o,a,s,d)=>{if(C8(d))return n.invokeTask(o,a,s,d);try{return DN(t),n.invokeTask(o,a,s,d)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),EN(t)}},onInvoke:(n,r,o,a,s,d,p)=>{try{return DN(t),n.invoke(o,a,s,d,p)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!D8(d)&&i(),EN(t)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,wx(t),fS(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 wx(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function DN(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function EN(t){t._nesting--,fS(t)}var If=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 C8(t){return oO(t,"__ignore_ng_zone__")}function D8(t){return oO(t,"__scheduler_tick__")}function oO(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}var Br=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(Br),e.handleError(n))})}}}),aO={provide:Ml,useValue:()=>{let t=m(Br,{optional:!0})},multi:!0};function Z(t,i){let[e,n,r]=Gw(t,i?.equal),o=e,a=o[yi];return o.set=n,o.update=r,o.asReadonly=Hf.bind(o),o}function Hf(){let t=this[yi];if(t.readonlyFn===void 0){let i=()=>this();i[yi]=t,t.readonlyFn=i}return t.readonlyFn}var Qm=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=E8}return t})();function E8(){return new Qm(Oe(),Xi())}var Wa=class{},Jm=new R("",{factory:()=>!0});var kv=new R(""),yu=(()=>{class t{internalPendingTasks=m(Ms);scheduler=m(Wa);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})(),Rv=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new xx})}return t})(),xx=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}},dv=class{[yi];constructor(i){this[yi]=i}destroy(){this[yi].destroy()}};function ro(t,i){let e=i?.injector??m(ie),n=i?.manualCleanup!==!0?e.get(un):null,r,o=e.get(Qm,null,{optional:!0}),a=e.get(Wa);return o!==null?(r=S8(o.view,a,t),n instanceof lv&&n._lView===o.view&&(n=null)):r=T8(t,e.get(Rv),a),r.injector=e,n!==null&&(r.onDestroyFns=[n.onDestroy(()=>r.destroy())]),new dv(r)}var sO=ke(P({},Ww),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=Sf(!1);try{$w(this)}finally{Sf(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=it(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],it(t)}}}),w8=ke(P({},sO),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Ic(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),x8=ke(P({},sO),{consumerMarkedDirty(){this.view[vt]|=8192,_u(this.view),this.notifier.notify(13)},destroy(){if(Ic(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[Fc]?.delete(this)}});function S8(t,i,e){let n=Object.create(x8);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=lO(n,e),t[Fc]??=new Set,t[Fc].add(n),n.consumerMarkedDirty(n),n}function T8(t,i,e){let n=Object.create(w8);return n.fn=lO(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 lO(t,i){return()=>{i(e=>(t.cleanupFns??=[]).push(e))}}function eg(t){return{toString:t}.toString()}function YO(t){let i=Fi.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function O8(t){return typeof t=="function"}function qO(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Uv=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}},Ke=(()=>{let t=()=>KO;return t.ngInherit=!0,t})();function KO(t){return t.type.prototype.ngOnChanges&&(t.setInput=P8),F8}function F8(){let t=ZO(this),i=t?.current;if(i){let e=t.previous;if(e===$a)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function P8(t,i,e,n,r){let o=this.declaredInputs[n],a=ZO(t)||L8(t,{previous:$a,current:null}),s=a.current||(a.current={}),d=a.previous,p=d[o];s[o]=new Uv(p&&p.currentValue,e,d===$a),qO(t,i,r,e)}var XO="__ngSimpleChanges__";function ZO(t){return t[XO]||null}function L8(t,i){return t[XO]=i}var cO=[];var Un=function(t,i=null,e){for(let n=0;n<cO.length;n++){let r=cO[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 B8(t,i,e){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=i.type.prototype;if(n){let a=KO(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 QO(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 Lv(t,i,e){JO(t,i,3,e)}function Bv(t,i,e,n){(t[vt]&3)===e&&JO(t,i,e,n)}function gS(t,i){let e=t[vt];(e&3)===i&&(e&=16383,e+=1,t[vt]=e)}function JO(t,i,e,n){let r=n!==void 0?t[mu]&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[mu]+=65536),(s<o||o==-1)&&(V8(t,e,i,d),t[mu]=(t[mu]&4294901760)+d+2),d++}function dO(t,i){Un(yn.LifecycleHookStart,t,i);let e=it(null);try{i.call(t)}finally{it(e),Un(yn.LifecycleHookEnd,t,i)}}function V8(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[mu]>>16&&(t[vt]&3)===i&&(t[vt]+=16384,dO(s,o)):dO(s,o)}var tp=-1,Du=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 j8(t){return(t.flags&8)!==0}function H8(t){return(t.flags&16)!==0}function U8(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];z8(o)?t.setProperty(i,o,a):t.setAttribute(i,o,a),n++}}return n}function eF(t){return t===3||t===4||t===6}function z8(t){return t.charCodeAt(0)===64}function np(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?uO(t,e,r,null,i[++n]):uO(t,e,r,null,null))}}return t}function uO(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 tF(t){return t!==tp}function zv(t){return t&32767}function G8(t){return t>>16}function Gv(t,i){let e=G8(t),n=i;for(;e>0;)n=n[uu],e--;return n}var TS=!0;function Wv(t){let i=TS;return TS=t,i}var W8=256,nF=W8-1,iF=5,$8=0,Ns={};function Y8(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(cu)&&(n=e[cu]),n==null&&(n=e[cu]=$8++);let r=n&nF,o=1<<r;i.data[t+(r>>iF)]|=o}function $v(t,i){let e=rF(t,i);if(e!==-1)return e;let n=i[st];n.firstCreatePass&&(t.injectorIndex=i.length,_S(n.data,t),_S(i,null),_S(n.blueprint,null));let r=mT(t,i),o=t.injectorIndex;if(tF(r)){let a=zv(r),s=Gv(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 _S(t,i){t.push(0,0,0,0,0,0,0,0,i)}function rF(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function mT(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=cF(r),n===null)return tp;if(e++,r=r[uu],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return tp}function IS(t,i,e){Y8(t,i,e)}function q8(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(eF(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 oF(t,i,e){if(e&8||t!==void 0)return t;gv(i,"NodeInjector")}function aF(t,i,e,n){if(e&8&&n===void 0&&(n=null),(e&3)===0){let r=t[Nl],o=eo(void 0);try{return r?r.get(i,n,e&8):Ox(i,n,e&8)}finally{eo(o)}}return oF(n,i,e)}function sF(t,i,e,n=0,r){if(t!==null){if(i[vt]&2048&&!(n&2)){let a=Q8(t,i,e,n,Ns);if(a!==Ns)return a}let o=lF(t,i,e,n,Ns);if(o!==Ns)return o}return aF(i,e,n,r)}function lF(t,i,e,n,r){let o=X8(e);if(typeof o=="function"){if(!lS(i,t,n))return n&1?oF(r,e,n):aF(i,e,n,r);try{let a;if(a=o(n),a==null&&!(n&8))gv(e);else return a}finally{cS()}}else if(typeof o=="number"){let a=null,s=rF(t,i),d=tp,p=n&1?i[io][no]:null;for((s===-1||n&4)&&(d=s===-1?mT(t,i):i[s+8],d===tp||!pO(n,!1)?s=-1:(a=i[st],s=zv(d),i=Gv(d,i)));s!==-1;){let f=i[st];if(mO(o,s,f.data)){let b=K8(s,i,e,a,n,p);if(b!==Ns)return b}d=i[s+8],d!==tp&&pO(n,i[st].data[s+8]===p)&&mO(o,s,i)?(a=f,s=zv(d),i=Gv(d,i)):s=-1}}return r}function K8(t,i,e,n,r,o){let a=i[st],s=a.data[t+8],d=n==null?ks(s)&&TS:n!=a&&(s.type&3)!==0,p=r&1&&o===s,f=Vv(s,a,e,d,p);return f!==null?$f(i,a,f,s,r):Ns}function Vv(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 k=b;k<w;k++){let M=a[k];if(k<d&&e===M||k>=d&&M.type===e)return k}if(r){let k=a[d];if(k&&Xa(k)&&k.type===e)return d}return null}function $f(t,i,e,n,r){let o=t[e],a=i.data;if(o instanceof Du){let s=o;if(s.resolving)throw Nx("");let d=Wv(s.canSeeViewProviders);s.resolving=!0;let p=a[e].type||a[e],f,b=s.injectImpl?eo(s.injectImpl):null,w=lS(t,n,0);try{o=t[e]=s.factory(void 0,r,a,t,n),i.firstCreatePass&&e>=n.directiveStart&&B8(e,a[e],i)}finally{b!==null&&eo(b),Wv(d),s.resolving=!1,cS()}}return o}function X8(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(cu)?t[cu]:void 0;return typeof i=="number"?i>=0?i&nF:Z8:i}function mO(t,i,e){let n=1<<t;return!!(e[i+(t>>iF)]&n)}function pO(t,i){return!(t&2)&&!(t&1&&i)}var Cu=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return sF(this._tNode,this._lView,i,au(n),e)}};function Z8(){return new Cu(Xi(),Oe())}function yt(t){return eg(()=>{let i=t.prototype.constructor,e=i[Ef]||AS(i),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[Ef]||AS(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function AS(t){return Sx(t)?()=>{let i=AS(Yi(t));return i&&i()}:Oc(t)}function Q8(t,i,e,n,r){let o=t,a=i;for(;o!==null&&a!==null&&a[vt]&2048&&!Xm(a);){let s=lF(o,a,e,n|2,Ns);if(s!==Ns)return s;let d=o.parent;if(!d){let p=a[zx];if(p){let f=p.get(e,Ns,n&-5);if(f!==Ns)return f}d=cF(a),a=a[uu]}o=d}return r}function cF(t){let i=t[st],e=i.type;return e===2?i.declTNode:e===1?t[no]:null}function tg(t){return q8(Xi(),t)}function J8(){return lp(Xi(),Oe())}function lp(t,i){return new Q(Go(t,i))}var Q=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=J8}return t})();function dF(t){return t instanceof Q?t.nativeElement:t}function e$(){return this._results[Symbol.iterator]()}var oo=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=AN(i);(this._changesDetected=!IN(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]=e$};function uF(t){return(t.flags&128)===128}var pT=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(pT||{}),mF=new Map,t$=0;function n$(){return t$++}function i$(t){mF.set(t[Ol],t)}function kS(t){mF.delete(t[Ol])}var hO="__ngContext__";function ip(t,i){Fl(i)?(t[hO]=i[Ol],i$(i)):t[hO]=i}function pF(t){return fF(t[qm])}function hF(t){return fF(t[fa])}function fF(t){for(;t!==null&&!Ka(t);)t=t[fa];return t}var RS;function hT(t){RS=t}function gF(){if(RS!==void 0)return RS;if(typeof document<"u")return document;throw new ce(210,!1)}var Wc=new R("",{factory:()=>r$}),r$="ng";var o0=new R(""),Ll=new R("",{providedIn:"platform",factory:()=>"unknown"}),ng=new R(""),xu=new R("",{factory:()=>m(Ce).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),a0={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},s0=new R("",{factory:()=>a0});var _F="r";var bF="di";var fT=new R(""),vF=!1,yF=new R("",{factory:()=>vF});var l0=new R("");var fO=new WeakMap;function o$(t,i){if(t==null||typeof t!="object")return;let e=fO.get(t);e||(e=new WeakSet,fO.set(t,e)),e.add(i)}var a$=(t,i,e,n)=>{};function s$(t,i,e,n){a$(t,i,e,n)}function c0(t){return(t.flags&32)===32}var l$=()=>null;function CF(t,i,e=!1){return l$(t,i,e)}function DF(t,i){let e=t.contentQueries;if(e!==null){let n=it(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];Vf(o),s.contentQueries(2,i[a],a)}}}finally{it(n)}}}function MS(t,i,e){Vf(0);let n=it(null);try{i(t,e)}finally{it(n)}}function gT(t,i,e){if(Wx(i)){let n=it(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{it(n)}}}var Qa=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(Qa||{});var c$="svg",d$="math",u$={"http://www.w3.org/2000/svg":c$,"http://www.w3.org/1998/Math/MathML":d$},Mv;function m$(){if(Mv===void 0&&(Mv=null,Fi.trustedTypes))try{Mv=Fi.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Mv}function d0(t){return m$()?.createHTML(t)||t}var Nv;function EF(){if(Nv===void 0&&(Nv=null,Fi.trustedTypes))try{Nv=Fi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Nv}function gO(t){return EF()?.createHTML(t)||t}function _O(t){return EF()?.createScriptURL(t)||t}var Pl=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${uv})`}},NS=class extends Pl{getTypeName(){return"HTML"}},OS=class extends Pl{getTypeName(){return"Style"}},FS=class extends Pl{getTypeName(){return"Script"}},PS=class extends Pl{getTypeName(){return"URL"}},LS=class extends Pl{getTypeName(){return"ResourceURL"}};function so(t){return t instanceof Pl?t.changingThisBreaksApplicationSecurity:t}function Ps(t,i){let e=wF(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${uv})`)}return e===i}function wF(t){return t instanceof Pl&&t.getTypeName()||null}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 CT(t){return new LS(t)}function p$(t){let i=new VS(t);return h$()?new BS(i):i}var BS=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i="<body><remove></remove>"+i;try{let e=new window.DOMParser().parseFromString(d0(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch(e){return null}}},VS=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=d0(i),e}};function h$(){try{return!!new window.DOMParser().parseFromString(d0(""),"text/html")}catch(t){return!1}}var f$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ig(t){return t=String(t),t.match(f$)?t:"unsafe:"+t}function Bl(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function rg(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var xF=Bl("area,br,col,hr,img,wbr"),SF=Bl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),TF=Bl("rp,rt"),g$=rg(TF,SF),_$=rg(SF,Bl("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")),b$=rg(TF,Bl("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")),bO=rg(xF,_$,b$,g$),IF=Bl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),v$=Bl("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"),y$=Bl("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"),C$=rg(IF,v$,y$),D$=Bl("script,style,template"),jS=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=x$(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=w$(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(i){let e=vO(i).toLowerCase();if(!bO.hasOwnProperty(e))return this.sanitizedSomething=!0,!D$.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(!C$.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let d=o.value;IF[s]&&(d=ig(d)),this.buf.push(" ",a,'="',yO(d),'"')}return this.buf.push(">"),!0}endElement(i){let e=vO(i).toLowerCase();bO.hasOwnProperty(e)&&!xF.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(i){this.buf.push(yO(i))}};
vendor: 4,653 bytes, line 4
4function E$(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function w$(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw AF(i);return i}function x$(t){let i=t.firstChild;if(i&&E$(t,i))throw AF(i);return i}function vO(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function AF(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var S$=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,T$=/([^\#-~ |!])/g;function yO(t){return t.replace(/&/g,"&").replace(S$,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(T$,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ov;function u0(t,i){let e=null;try{Ov=Ov||p$(t);let n=i?String(i):"";e=Ov.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=Ov.getInertBodyElement(n)}while(n!==o);let s=new jS().sanitizeChildren(CO(e)||e);return d0(s)}finally{if(e){let n=CO(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function CO(t){return"content"in t&&I$(t)?t.content:null}function I$(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var A$=/^>|^->|<!--|-->|--!>|<!-$/g,k$=/(<|>)/g,R$="\u200B$1\u200B";function M$(t){return t.replace(A$,i=>i.replace(k$,R$))}function N$(t,i){return t.createText(i)}function O$(t,i,e){t.setValue(i,e)}function F$(t,i){return t.createComment(M$(i))}function kF(t,i,e){return t.createElement(i,e)}function Yv(t,i,e,n,r){t.insertBefore(i,e,n,r)}function RF(t,i,e){t.appendChild(i,e)}function DO(t,i,e,n,r){n!==null?Yv(t,i,e,n,r):RF(t,i,e)}function MF(t,i,e,n){t.removeChild(null,i,e,n)}function P$(t,i,e){t.setAttribute(i,"style",e)}function L$(t,i,e){e===""?t.removeAttribute(i,"class"):t.setAttribute(i,"class",e)}function NF(t,i,e){let{mergedAttrs:n,classes:r,styles:o}=e;n!==null&&U8(t,i,n),r!==null&&L$(t,i,r),o!==null&&P$(t,i,o)}function B$(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 Su(t,i,e){if(i!==void 0&&e!==void 0&&PF(i,e)!==dn.HTML)return t;let n=ET();return n?gO(n.sanitize(dn.HTML,t)||""):Ps(t,"HTML")?gO(so(t)):u0(gF(),to(t))}function OF(t){let i=ET();return i?i.sanitize(dn.URL,t)||"":Ps(t,"URL")?so(t):ig(to(t))}function FF(t){let i=ET();if(i)return _O(i.sanitize(dn.RESOURCE_URL,t)||"");if(Ps(t,"ResourceURL"))return _O(so(t));throw new ce(904,!1)}function V$(t,i){switch(PF(t,i)){case dn.RESOURCE_URL:return FF;case dn.URL:return OF;default:return null}}function DT(t,i,e){return V$(i,e)?.(t)??t}function ET(){let t=Oe();return t&&t[qa].sanitizer}function PF(t,i){let[e,n]=j$(t);return BN(n,i,e)}function j$(t){t=t.toLowerCase();let i=B$(t,!1);if(i[0])return i;let n=Do()===-1?null:vu(),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&&u$[a]}}return[r,t]}function H$(t){return t.ownerDocument.defaultView}function Yo(t){return t.ownerDocument}function LF(t){return t instanceof Function?t():t}function U$(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 BF="ng-template";function z$(t,i,e,n){let r=0;if(n){for(;r<i.length&&typeof i[r]=="string";r+=2)if(i[r]==="class"&&U$(i[r+1].toLowerCase(),e,0)!==-1)return!0}else if(wT(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 wT(t){return t.type===4&&t.value!==BF}function G$(t,i,e){let n=t.type===4&&!e?BF:t.value;return i===n}function W$(t,i,e){let n=4,r=t.attrs,o=r!==null?q$(r):0,a=!1;for(let s=0;s<i.length;s++){let d=i[s];if(typeof d=="number"){if(!a&&!Za(n)&&!Za(d))return!1;if(a&&Za(d))continue;a=!1,n=d|n&1;continue}if(!a)if(n&4){if(n=2|n&1,d!==""&&!G$(t,d,e)||d===""&&i.length===1){if(Za(n))return!1;a=!0}}else if(n&8){if(r===null||!z$(t,r,d,e)){if(Za(n))return!1;a=!0}}else{let p=i[++s],f=$$(d,r,wT(t),e);if(f===-1){if(Za(n))return!1;a=!0;continue}if(p!==""){let b;if(f>o?b="":b=r[f+1].toLowerCase(),n&2&&p!==b){if(Za(n))return!1;a=!0}}}}return Za(n)||a}function Za(t){return(t&1)===0}function $$(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;
vendor: 30,427 bytes, line 4
4if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return K$(i,t)}function VF(t,i,e=!1){for(let n=0;n<i.length;n++)if(W$(t,i[n],e))return!0;return!1}function Y$(t){let i=t.attrs;if(i!=null){let e=i.indexOf(5);if((e&1)===0)return i[e+1]}return null}function q$(t){for(let i=0;i<t.length;i++){let e=t[i];if(eF(e))return i}return t.length}function K$(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 X$(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 EO(t,i){return t?":not("+i.trim()+")":i}function Z$(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!==""&&!Za(a)&&(i+=EO(o,r),r=""),n=a,o=o||!Za(n);e++}return r!==""&&(i+=EO(o,r)),i}function Q$(t){return t.map(Z$).join(",")}function J$(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(!Za(r))break;r=o}n++}return e.length&&i.push(1,...e),i}var Qi={};function xT(t,i,e,n,r,o,a,s,d,p,f){let b=Nn+n,w=b+r,k=e6(b,w),M=typeof p=="function"?p():p;return k[st]={type:t,blueprint:k,template:e,queries:null,viewQuery:s,declTNode:i,data:k.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 e6(t,i){let e=[];for(let n=0;n<i;n++)e.push(n<t?null:Qi);return e}function t6(t){let i=t.tView;return i===null||i.incompleteFirstPass?t.tView=xT(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):i}function ST(t,i,e,n,r,o,a,s,d,p,f){let b=i.blueprint.slice();return b[Ya]=r,b[vt]=n|4|128|8|64|1024,(p!==null||t&&t[vt]&2048)&&(b[vt]|=2048),qx(b),b[qi]=b[uu]=t,b[Ti]=e,b[qa]=a||t&&t[qa],b[Mn]=s||t&&t[Mn],b[Nl]=d||t&&t[Nl]||null,b[no]=o,b[Ol]=n$(),b[du]=f,b[zx]=p,b[io]=i.type==2?t[io]:b,b}function n6(t,i,e){let n=Go(i,t),r=t6(e),o=t[qa].rendererFactory,a=TT(t,ST(t,r,null,jF(e),n,i,null,o.createRenderer(n,e),null,null,null));return t[i.index]=a}function jF(t){let i=16;return t.signals?i=4096:t.onPush&&(i=64),i}function HF(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 TT(t,i){return t[qm]?t[Ux][fa]=i:t[qm]=i,t[Ux]=i,i}function l(t=1){UF(On(),Oe(),Do()+t,!1)}function UF(t,i,e,n){if(!n)if((i[vt]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Lv(i,o,e)}else{let o=t.preOrderHooks;o!==null&&Bv(i,o,0,e)}Uc(e)}var m0=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(m0||{});function HS(t,i,e,n){let r=it(null);try{let[o,a,s]=t.inputs[e],d=null;(a&m0.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{it(r)}}var Os=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Os||{}),i6;function IT(t,i){return i6(t,i)}var zke=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var US=new WeakMap,zf=new WeakSet;function r6(t,i){let e=US.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),zf.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 o6(t,i){let e=US.get(t);e?e.includes(i)||e.push(i):US.set(t,[i])}var Eu=new Set,p0=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(p0||{}),Ja=new R(""),wO=new Set;function qo(t){wO.has(t)||(wO.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var h0=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),AT=[0,1,2,3],kT=(()=>{class t{ngZone=m(le);scheduler=m(Wa);errorHandler=m(Br,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(Ja,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Un(yn.AfterRenderHooksStart),this.executing=!0;for(let n of AT)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&&Un(yn.AfterRenderHooksEnd)}register(e){let{view:n}=e;n!==void 0?((n[pu]??=[]).push(e),_u(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(p0.AFTER_NEXT_RENDER,e):e()}static \u0275prov=D({token:t,providedIn:"root",factory:()=>new t})}return t})(),Yf=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?.[pu];i&&(this.view[pu]=i.filter(e=>e!==this))}};function Et(t,i){let e=i?.injector??m(ie);return qo("NgAfterNextRender"),s6(t,e,i,!0)}function a6(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function s6(t,i,e,n){let r=i.get(h0);r.impl??=i.get(kT);let o=i.get(Ja,null,{optional:!0}),a=e?.manualCleanup!==!0?i.get(un):null,s=i.get(Qm,null,{optional:!0}),d=new Yf(r.impl,a6(t),s?.view,n,a,o?.snapshot(null));return r.impl.register(d),d}var zF=new R("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:m(_n)})});function GF(t,i,e){let n=t.get(zF);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 l6(t,i){let e=t.get(zF);if(i.detachedLeaveAnimationFns){for(let n of i.detachedLeaveAnimationFns)e.queue.delete(n);i.detachedLeaveAnimationFns=void 0}}function c6(t,i){for(let[e,n]of i)GF(t,n.animateFns)}function xO(t,i,e,n){let r=t?.[Vc]?.enter;i!==null&&r&&r.has(e.index)&&c6(n,r)}function ep(t,i,e,n,r,o,a,s){if(r!=null){let d,p=!1;Ka(r)?d=r:Fl(r)&&(p=!0,r=r[Ya]);let f=ga(r);t===0&&n!==null?(xO(s,n,o,e),a==null?RF(i,n,f):Yv(i,n,f,a||null,!0)):t===1&&n!==null?(xO(s,n,o,e),Yv(i,n,f,a||null,!0),r6(o,f)):t===2?(s?.[Vc]?.leave?.has(o.index)&&o6(o,f),zf.delete(f),SO(s,o,e,b=>{if(zf.has(f)){zf.delete(f);return}MF(i,f,p,b)})):t===3&&(zf.delete(f),SO(s,o,e,()=>{i.destroyNode(f)})),d!=null&&y6(i,t,e,d,o,n,a)}}function d6(t,i){WF(t,i),i[Ya]=null,i[no]=null}function u6(t,i,e,n,r,o){n[Ya]=r,n[no]=i,g0(t,n,e,1,r,o)}function WF(t,i){i[qa].changeDetectionScheduler?.notify(9),g0(t,i,i[Mn],2,null,null)}function m6(t){let i=t[qm];if(!i)return bS(t[st],t);for(;i;){let e=null;if(Fl(i))e=i[qm];else{let n=i[Ci];n&&(e=n)}if(!e){for(;i&&!i[fa]&&i!==t;)Fl(i)&&bS(i[st],i),i=i[qi];i===null&&(i=t),Fl(i)&&bS(i[st],i),e=i&&i[fa]}i=e}}function RT(t,i){let e=t[hu],n=e.indexOf(i);e.splice(n,1)}function f0(t,i){if(fu(i))return;let e=i[Mn];e.destroyNode&&g0(t,i,e,3,null,null),m6(i)}function bS(t,i){if(fu(i))return;let e=it(null);try{i[vt]&=-129,i[vt]|=256,i[zo]&&Ic(i[zo]),f6(t,i),h6(t,i),i[st].type===1&&i[Mn].destroy();let n=i[Bc];if(n!==null&&Ka(i[qi])){n!==i[qi]&&RT(n,i);let r=i[As];r!==null&&r.detachView(t)}kS(i)}finally{it(e)}}function SO(t,i,e,n){let r=t?.[Vc];if(r==null||r.leave==null||!r.leave.has(i.index))return n(!1);t&&Eu.add(t[Ol]),GF(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),p6(t,n)}else t&&Eu.delete(t[Ol]),n(!1)},r)}function p6(t,i){let e=t[Vc]?.running;if(e){e.then(()=>{t[Vc].running=void 0,Eu.delete(t[Ol]),i(!0)});return}i(!1)}function h6(t,i){let e=t.cleanup,n=i[Ym];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[Ym]=null);let r=i[Rl];if(r!==null){i[Rl]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=i[Fc];if(o!==null){i[Fc]=null;for(let a of o)a.destroy()}}function f6(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 Du)){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];Un(yn.LifecycleHookStart,s,d);try{d.call(s)}finally{Un(yn.LifecycleHookEnd,s,d)}}else{Un(yn.LifecycleHookStart,r,o);try{o.call(r)}finally{Un(yn.LifecycleHookEnd,r,o)}}}}}function $F(t,i,e){return g6(t,i.parent,e)}function g6(t,i,e){let n=i;for(;n!==null&&n.type&168;)i=n,n=i.parent;if(n===null)return e[Ya];if(ks(n)){let{encapsulation:r}=t.data[n.directiveStart+n.componentOffset];if(r===Qa.None||r===Qa.Emulated)return null}return Go(n,e)}function YF(t,i,e){return b6(t,i,e)}function _6(t,i,e){return t.type&40?Go(t,e):null}var b6=_6,TO;function MT(t,i,e,n){let r=$F(t,n,i),o=i[Mn],a=n.parent||i[no],s=YF(a,n,i);if(r!=null)if(Array.isArray(e))for(let d=0;d<e.length;d++)DO(o,r,e[d],s,!1);else DO(o,r,e,s,!1);TO!==void 0&&TO(o,n,i,e,r)}function Gf(t,i){if(i!==null){let e=i.type;if(e&3)return Go(i,t);if(e&4)return zS(-1,t[i.index]);if(e&8){let n=i.child;if(n!==null)return Gf(t,n);{let r=t[i.index];return Ka(r)?zS(-1,r):ga(r)}}else{if(e&128)return Gf(t,i.next);if(e&32)return IT(i,t)()||ga(t[i.index]);{let n=qF(t,i);if(n!==null){if(Array.isArray(n))return n[0];let r=Pc(t[io]);return Gf(r,n)}else return Gf(t,i.next)}}}return null}function qF(t,i){if(i!==null){let n=t[io][no],r=i.projection;return n.projection[r]}return null}function zS(t,i){let e=Ci+t+1;if(e<i.length){let n=i[e],r=n[st].firstChild;if(r!==null)return Gf(n,r)}return i[jc]}function NT(t,i,e,n,r,o,a){for(;e!=null;){let s=n[Nl];if(e.type===128){e=e.next;continue}let d=n[e.index],p=e.type;if(a&&i===0&&(d&&ip(ga(d),n),e.flags|=2),!c0(e))if(p&8)NT(t,i,e.child,n,r,o,!1),ep(i,t,s,r,d,e,o,n);else if(p&32){let f=IT(e,n),b;for(;b=f();)ep(i,t,s,r,b,e,o,n);ep(i,t,s,r,d,e,o,n)}else p&16?KF(t,i,n,e,r,o):ep(i,t,s,r,d,e,o,n);e=a?e.projectionNext:e.next}}function g0(t,i,e,n,r,o){NT(e,n,t.firstChild,i,r,o,!1)}function v6(t,i,e){let n=i[Mn],r=$F(t,e,i),o=e.parent||i[no],a=YF(o,e,i);KF(n,0,i,e,r,a)}function KF(t,i,e,n,r,o){let a=e[io],d=a[no].projection[n.projection];if(Array.isArray(d))for(let p=0;p<d.length;p++){let f=d[p];ep(i,t,e[Nl],r,f,n,o,e)}else{let p=d,f=a[qi];uF(n)&&(p.flags|=128),NT(t,i,p,f,r,o,!0)}}function y6(t,i,e,n,r,o,a){let s=n[jc],d=ga(n);s!==d&&ep(i,t,e,o,s,r,a);for(let p=Ci;p<n.length;p++){let f=n[p];g0(f[st],f,t,i,o,s)}}function C6(t,i,e,n,r){if(i)r?t.addClass(e,n):t.removeClass(e,n);else{let o=n.indexOf("-")===-1?void 0:Os.DashCase;r==null?t.removeStyle(e,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Os.Important),t.setStyle(e,n,r,o))}}function XF(t,i,e,n,r){let o=Do(),a=n&2;try{Uc(-1),a&&i.length>Nn&&UF(t,i,Nn,!1);let s=a?yn.TemplateUpdateStart:yn.TemplateCreateStart;Un(s,r,e),e(n,r)}finally{Uc(o);let s=a?yn.TemplateUpdateEnd:yn.TemplateCreateEnd;Un(s,r,e)}}function _0(t,i,e){S6(t,i,e),(e.flags&64)===64&&T6(t,i,e)}function og(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 D6(t,i,e,n){let o=n.get(yF,vF)||e===Qa.ShadowDom||e===Qa.ExperimentalIsolatedShadowDom,a=t.selectRootElement(i,o);return E6(a),a}function E6(t){w6(t)}var w6=()=>null;function x6(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function ZF(t,i,e,n,r,o){let a=i[st];if(b0(t,a,i,e,n)){ks(t)&&JF(i,t.index);return}t.type&3&&(e=x6(e)),QF(t,i,e,n,r,o)}function QF(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 JF(t,i){let e=_a(i,t);e[vt]&16||(e[vt]|=64)}function S6(t,i,e){let n=e.directiveStart,r=e.directiveEnd;ks(e)&&n6(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||$v(e,i);let o=e.initialInputs;for(let a=n;a<r;a++){let s=t.data[a],d=$f(i,t,a,e);if(ip(d,i),o!==null&&k6(i,a-n,d,s,e,o),Xa(s)){let p=_a(e.index,i);p[Ti]=$f(i,t,a,e)}}}function T6(t,i,e){let n=e.directiveStart,r=e.directiveEnd,o=e.index,a=XN();try{Uc(o);for(let s=n;s<r;s++){let d=t.data[s],p=i[s];xv(s),(d.hostBindings!==null||d.hostVars!==0||d.hostAttrs!==null)&&I6(d,p)}}finally{Uc(-1),xv(a)}}function I6(t,i){t.hostBindings!==null&&t.hostBindings(1,i)}function OT(t,i){let e=t.directiveRegistry,n=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];VF(i,o.selectors,!1)&&(n??=[],Xa(o)?n.unshift(o):n.push(o))}return n}function A6(t,i,e,n,r,o){let a=Go(t,i);eP(i[Mn],a,o,t.value,e,n,r)}function eP(t,i,e,n,r,o,a){if(o==null)t.removeAttribute(i,r,e);else{let s=a==null?to(o):a(o,n||"",r);t.setAttribute(i,r,s,e)}}function k6(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];HS(n,e,d,p)}}function FT(t,i,e,n,r){let o=Nn+e,a=i[st],s=r(a,i,t,n,e);i[o]=s,bu(t,!0);let d=t.type===2;return d?(NF(i[Mn],s,t),(GN()===0||Km(t))&&ip(s,i),WN()):ip(s,i),Av()&&(!d||!c0(t))&&MT(a,i,s,t),t}function PT(t){let i=t;return rS()?oS():(i=i.parent,bu(i,!1)),i}function R6(t,i){let e=t[Nl];if(!e)return;let n;try{n=e.get(Eo,null)}catch(r){n=null}n?.(i)}function b0(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];HS(b,e[p],f,r),s=!0}if(o)for(let d of o){let p=e[d],f=i.data[d];HS(f,p,n,r),s=!0}return s}function M6(t,i){let e=_a(i,t),n=e[st];N6(n,e);let r=e[Ya];r!==null&&e[du]===null&&(e[du]=CF(r,e[Nl])),Un(yn.ComponentStart);try{LT(n,e,e[Ti])}finally{Un(yn.ComponentEnd,e[Ti])}}function N6(t,i){for(let e=i.length;e<t.blueprint.length;e++)i.push(t.blueprint[e])}function LT(t,i,e){Tv(i);try{let n=t.viewQuery;n!==null&&MS(1,n,e);let r=t.template;r!==null&&XF(t,i,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),i[As]?.finishViewCreation(t),t.staticContentQueries&&DF(t,i),t.staticViewQueries&&MS(2,t.viewQuery,e);let o=t.components;o!==null&&O6(i,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{i[vt]&=-5,Iv()}}function O6(t,i){for(let e=0;e<i.length;e++)M6(t,i[e])}function ag(t,i,e,n){let r=it(null);try{let o=i.tView,s=t[vt]&4096?4096:16,d=ST(t,o,e,s,null,i,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),p=t[i.index];d[Bc]=p;let f=t[As];return f!==null&&(d[As]=f.createEmbeddedView(o)),LT(o,d,e),d}finally{it(r)}}function rp(t,i){return!i||i.firstChild===null||uF(t)}function qf(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(ga(o)),Ka(o)&&tP(o,n);let a=e.type;if(a&8)qf(t,i,e.child,n);else if(a&32){let s=IT(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=Pc(i[io]);qf(d[st],d,s,n,!0)}}e=r?e.projectionNext:e.next}return n}function tP(t,i){for(let e=Ci;e<t.length;e++){let n=t[e],r=n[st].firstChild;r!==null&&qf(n[st],n,r,i)}t[jc]!==t[Ya]&&i.push(t[jc])}function nP(t){if(t[pu]!==null){for(let i of t[pu])i.impl.addSequence(i);t[pu].length=0}}var iP=[];function F6(t){return t[zo]??P6(t)}function P6(t){let i=iP.pop()??Object.create(B6);return i.lView=t,i}function L6(t){t.lView[zo]!==t&&(t.lView=null,iP.push(t))}var B6=ke(P({},Sc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{_u(t.lView)},consumerOnSignalRead(){this.lView[zo]=this}});function V6(t){let i=t[zo]??Object.create(j6);return i.lView=t,i}var j6=ke(P({},Sc),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=Pc(t.lView);for(;i&&!rP(i[st]);)i=Pc(i);i&&Kx(i)},consumerOnSignalRead(){this.lView[zo]=this}});function rP(t){return t.type!==2}function oP(t){if(t[Fc]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[Fc])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[vt]&8192)}}var H6=100;function aP(t,i=0){let n=t[qa].rendererFactory,r=!1;r||n.begin?.();try{U6(t,i)}finally{r||n.end?.()}}function U6(t,i){let e=sS();try{Sf(!0),GS(t,i);let n=0;for(;Bf(t);){if(n===H6)throw new ce(103,!1);n++,GS(t,1)}}finally{Sf(e)}}function z6(t,i,e,n){if(fu(i))return;let r=i[vt],o=!1,a=!1;Tv(i);let s=!0,d=null,p=null;o||(rP(t)?(p=F6(i),d=xl(p)):wb()===null?(s=!1,p=V6(i),d=xl(p)):i[zo]&&(Ic(i[zo]),i[zo]=null));try{qx(i),YN(t.bindingStartIndex),e!==null&&XF(t,i,e,2,n);let f=(r&3)===3;if(!o)if(f){let k=t.preOrderCheckHooks;k!==null&&Lv(i,k,null)}else{let k=t.preOrderHooks;k!==null&&Bv(i,k,0,null),gS(i,0)}if(a||G6(i),oP(i),sP(i,0),t.contentQueries!==null&&DF(t,i),!o)if(f){let k=t.contentCheckHooks;k!==null&&Lv(i,k)}else{let k=t.contentHooks;k!==null&&Bv(i,k,1),gS(i,1)}$6(t,i);let b=t.components;b!==null&&cP(i,b,0);let w=t.viewQuery;if(w!==null&&MS(2,w,n),!o)if(f){let k=t.viewCheckHooks;k!==null&&Lv(i,k)}else{let k=t.viewHooks;k!==null&&Bv(i,k,2),gS(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[vv]){for(let k of i[vv])k();i[vv]=null}o||(nP(i),i[vt]&=-73)}catch(f){throw o||_u(i),f}finally{p!==null&&(Tc(p,d),s&&L6(p)),Iv()}}function sP(t,i){for(let e=pF(t);e!==null;e=hF(e))for(let n=Ci;n<e.length;n++){let r=e[n];lP(r,i)}}function G6(t){for(let i=pF(t);i!==null;i=hF(i)){if(!(i[vt]&2))continue;let e=i[hu];for(let n=0;n<e.length;n++){let r=e[n];Kx(r)}}}function W6(t,i,e){Un(yn.ComponentStart);let n=_a(i,t);try{lP(n,e)}finally{Un(yn.ComponentEnd,n[Ti])}}function lP(t,i){Cv(t)&&GS(t,i)}function GS(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&&Im(o)),a||=!1,o&&(o.dirty=!1),t[vt]&=-9217,a)z6(n,t,n.template,t[Ti]);else if(r&8192){let s=it(null);try{oP(t),sP(t,1);let d=n.components;d!==null&&cP(t,d,1),nP(t)}finally{it(s)}}}function cP(t,i,e){for(let n=0;n<i.length;n++)W6(t,i[n],e)}function $6(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)Uc(~r);else{let o=r,a=e[++n],s=e[++n];KN(a,o);let d=i[o];Un(yn.HostBindingsUpdateStart,d);try{s(2,d)}finally{Un(yn.HostBindingsUpdateEnd,d)}}}}finally{Uc(-1)}}function BT(t,i){let e=sS()?64:1088;for(t[qa].changeDetectionScheduler?.notify(i);t;){t[vt]|=e;let n=Pc(t);if(Xm(t)&&!n)return t;t=n}return null}function dP(t,i,e,n){return[t,!0,0,i,null,n,null,e,null,null]}function uP(t,i){let e=Ci+i;if(e<t.length)return t[e]}function sg(t,i,e,n=!0){let r=i[st];if(Y6(r,i,t,e),n){let a=zS(e,t),s=i[Mn],d=s.parentNode(t[jc]);d!==null&&u6(r,t[no],s,i,d,a)}let o=i[du];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function mP(t,i){let e=Kf(t,i);return e!==void 0&&f0(e[st],e),e}function Kf(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e];if(n){let r=n[Bc];r!==null&&r!==t&&RT(r,n),i>0&&(t[e-1][fa]=n[fa]);let o=Nf(t,Ci+i);d6(n[st],n);let a=o[As];a!==null&&a.detachView(o[st]),n[qi]=null,n[fa]=null,n[vt]&=-129}return n}function Y6(t,i,e,n){let r=Ci+n,o=e.length;n>0&&(e[r-1][fa]=i),n<o-Ci?(i[fa]=e[r],Fx(e,Ci+n,i)):(e.push(i),i[fa]=null),i[qi]=e;let a=i[Bc];a!==null&&e!==a&&pP(a,i);let s=i[As];s!==null&&s.insertView(t),Dv(i),i[vt]|=128}function pP(t,i){let e=t[hu],n=i[qi];if(Fl(n))t[vt]|=2;else{let r=n[qi][io];i[io]!==r&&(t[vt]|=2)}e===null?t[hu]=[i]:e.push(i)}var zc=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let i=this._lView,e=i[st];return qf(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 fu(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let i=this._lView[qi];if(Ka(i)){let e=i[Pf],n=e?e.indexOf(this):-1;n>-1&&(Kf(i,n),Nf(e,n))}this._attachedToViewContainer=!1}f0(this._lView[st],this._lView)}onDestroy(i){Xx(this._lView,i)}markForCheck(){BT(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[vt]&=-129}reattach(){Dv(this._lView),this._lView[vt]|=128}detectChanges(){this._lView[vt]|=1024,aP(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=Xm(this._lView),e=this._lView[Bc];e!==null&&!i&&RT(e,this._lView),WF(this._lView[st],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new ce(902,!1);this._appRef=i;let e=Xm(this._lView),n=this._lView[Bc];n!==null&&!e&&pP(n,this._lView),Dv(this._lView)}};var Zt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=q6;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=ag(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new zc(o)}}return t})();function q6(){return v0(Xi(),Oe())}function v0(t,i){return t.type&4?new Zt(i,t,lp(t,i)):null}function Tu(t,i,e,n,r){let o=t.data[i];if(o===null)o=K6(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=$N();o.injectorIndex=a===null?-1:a.injectorIndex}return bu(o,!0),o}function K6(t,i,e,n,r){let o=iS(),a=rS(),s=a?o:o&&o.parent,d=t.data[i]=Z6(t,s,e,i,n,r);return X6(t,d,o,a),d}function X6(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 Z6(t,i,e,n,r,o){let a=i?i.injectorIndex:-1,s=0;return eS()&&(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:dS(),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 Q6(t){let i=t[Gx]??[],n=t[qi][Mn],r=[];for(let o of i)o.data[bF]!==void 0?r.push(o):J6(o,n);t[Gx]=r}function J6(t,i){let e=0,n=t.firstChild;if(n){let r=t.data[_F];for(;e<r;){let o=n.nextSibling;MF(i,n,!1),n=o,e++}}}var e7=()=>null,t7=()=>null;function qv(t,i){return e7(t,i)}function hP(t,i,e){return t7(t,i,e)}var fP=class{},y0=class{},WS=class{resolveComponentFactory(i){throw new ce(917,!1)}},Vl=class{static NULL=new WS},gi=class{},ot=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>n7()}return t})();function n7(){let t=Oe(),i=Xi(),e=_a(i.index,t);return(Fl(e)?e:t)[Mn]}var gP=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>null})}return t})();var jv={},$S=class{injector;parentInjector;constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){let r=this.injector.get(i,jv,n);return r!==jv||e===jv?r:this.parentInjector.get(i,e,n)}};function Kv(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=mv(r,s);else if(o==2){let d=s,p=i[++a];n=mv(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=Xi();return sF(n,e,Yi(t),i)}function Iu(){let t="invalid";throw new Error(t)}function _P(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}o7(t,i,e,s,o,d,p)}o!==null&&n!==null&&i7(e,n,o)}function i7(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 r7(t,i,e){i.componentOffset=e,(t.components??=[]).push(i.index)}function o7(t,i,e,n,r,o,a){let s=n.length,d=null;for(let w=0;w<s;w++){let k=n[w];d===null&&Xa(k)&&(d=k,r7(t,e,w)),IS($v(e,i),t,k.type)}u7(e,t.data.length,s),d?.viewProvidersResolver&&d.viewProvidersResolver(d);for(let w=0;w<s;w++){let k=n[w];k.providersResolver&&k.providersResolver(k)}let p=!1,f=!1,b=HF(t,i,s,null);s>0&&(e.directiveToIndex=new Map);for(let w=0;w<s;w++){let k=n[w];if(e.mergedAttrs=np(e.mergedAttrs,k.hostAttrs),s7(t,e,i,b,k),d7(b,k,r),a!==null&&a.has(k)){let[J,j]=a.get(k);e.directiveToIndex.set(k.type,[b,J+e.directiveStart,j+e.directiveStart])}else(o===null||!o.has(k))&&e.directiveToIndex.set(k.type,b);k.contentQueries!==null&&(e.flags|=4),(k.hostBindings!==null||k.hostAttrs!==null||k.hostVars!==0)&&(e.flags|=64);let M=k.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++}a7(t,e,o)}function a7(t,i,e){for(let n=i.directiveStart;n<i.directiveEnd;n++){let r=t.data[n];if(e===null||!e.has(r))IO(0,i,r,n),IO(1,i,r,n),kO(i,n,!1);else{let o=e.get(r);AO(0,i,o,n),AO(1,i,o,n),kO(i,n,!0)}}}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;t===0?a=i.inputs??={}:a=i.outputs??={},a[o]??=[],a[o].push(n),bP(i,o)}}function AO(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),bP(i,a)}}function bP(t,i){i==="class"?t.flags|=8:i==="style"&&(t.flags|=16)}function kO(t,i,e){let{attrs:n,inputs:r,hostDirectiveInputs:o}=t;if(n===null||!e&&r===null||e&&o===null||wT(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 s7(t,i,e,n,r){t.data[n]=r;let o=r.factory||(r.factory=Oc(r.type,!0)),a=new Du(o,Xa(r),E,null);t.blueprint[n]=a,e[n]=a,l7(t,i,n,HF(t,e,r.hostVars,Qi),r)}function l7(t,i,e,n,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~i.index;c7(a)!=s&&a.push(s),a.push(e,n,o)}}function c7(t){let i=t.length;for(;i>0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function d7(t,i,e){if(e){if(i.exportAs)for(let n=0;n<i.exportAs.length;n++)e[i.exportAs[n]]=t;Xa(i)&&(e[""]=t)}}function u7(t,i,e){t.flags|=1,t.directiveStart=i,t.directiveEnd=i+e,t.providerIndexes=i}function VT(t,i,e,n,r,o,a,s){let d=i[st],p=d.consts,f=Wo(p,a),b=Tu(d,t,e,n,f);return o&&_P(d,i,b,Wo(p,s),r),b.mergedAttrs=np(b.mergedAttrs,b.attrs),b.attrs!==null&&Kv(b,b.attrs,!1),b.mergedAttrs!==null&&Kv(b,b.mergedAttrs,!0),d.queries!==null&&d.queries.elementStart(d,b),b}function jT(t,i){QO(t,i),Wx(i)&&t.queries.elementEnd(i)}function m7(t,i,e,n,r,o){let a=i.consts,s=Wo(a,r),d=Tu(i,t,e,n,s);if(d.mergedAttrs=np(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&&Kv(d,d.attrs,!1),d.mergedAttrs!==null&&Kv(d,d.mergedAttrs,!0),i.queries!==null&&i.queries.elementStart(i,d),d}function HT(t){return yP(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function vP(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 yP(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function C0(t,i,e){return t[i]=e}function ao(t,i,e){if(e===Qi)return!1;let n=t[i];return Object.is(n,e)?!1:(t[i]=e,!0)}function Xf(t,i,e,n){let r=ao(t,i,e);return ao(t,i+1,n)||r}function CP(t,i,e,n,r){let o=Xf(t,i,e,n);return ao(t,i+2,r)||o}function DP(t,i,e,n,r,o){let a=Xf(t,i,e,n);return Xf(t,i+2,r,o)||a}function Hv(t,i,e){return function n(r){let o=n.__ngNativeEl__;o!==void 0&&o$(r,o);let a=ks(t)?_a(t.index,i):i;BT(a,5);let s=i[Ti],d=RO(i,s,e,r),p=n.__ngNextListenerFn__;for(;p;)d=RO(i,s,p,r)&&d,p=p.__ngNextListenerFn__;return d}}function RO(t,i,e,n){let r=it(null);try{return Un(yn.OutputStart,i,e),e(n)!==!1}catch(o){return R6(t,o),!1}finally{Un(yn.OutputEnd,i,e),it(r)}}function EP(t,i,e,n,r,o,a,s){let d=Km(t),p=!1,f=null;if(!n&&d&&(f=h7(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;s$(e,w,o,s),n||(s.__ngNativeEl__=b);let k=r.listen(w,o,s);if(!p7(o)){let M=n?J=>n(ga(J[t.index])):t.index;wP(M,i,e,o,s,k,!1)}}return p}function p7(t){return t.startsWith("animation")||t.startsWith("transition")}function h7(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[Ym],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 wP(t,i,e,n,r,o,a){let s=i.firstCreatePass?Qx(i):null,d=Zx(e),p=d.length;d.push(r,o),s&&s.push(n,t,p,(p+1)*(a?-1:1))}function MO(t,i,e,n,r,o){let a=i[e],s=i[st],p=s.data[e].outputs[n],b=a[p].subscribe(o);wP(t.index,s,i,r,o,b,!0)}var YS=Symbol("BINDING");function xP(t){return t.debugInfo?.className||t.type.name||null}var Xv=class extends Vl{ngModule;constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){let e=Is(i);return new Gc(e,this.ngModule)}};function f7(t){return Object.keys(t).map(i=>{let[e,n,r]=t[i],o={propName:e,templateName:i,isSignal:(n&m0.SignalBased)!==0};return r&&(o.transform=r),o})}function g7(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function _7(t,i,e){let n=i instanceof _n?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new $S(e,n):e}function b7(t){let i=t.get(gi,null);if(i===null)throw new ce(407,!1);let e=t.get(gP,null),n=t.get(Wa,null),r=t.get(Ja,null,{optional:!0});return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n,ngReflect:!1,tracingService:r}}function v7(t,i){let e=SP(t);return kF(i,e,e==="svg"?xf:e==="math"?$x:null)}function y7(t){if(t?.toLowerCase()==="script")throw new ce(905,!1)}function SP(t){return(t.selectors[0][0]||"div").toLowerCase()}var Gc=class extends y0{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=f7(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=g7(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=Q$(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,r,o,a){Un(yn.DynamicComponentStart);let s=it(null);try{let d=this.componentDef,p=_7(d,r||this.ngModule,i),f=b7(p),b=f.tracingService;return b&&b.componentCreate?b.componentCreate(xP(d),()=>this.createComponentRef(f,p,e,n,o,a)):this.createComponentRef(f,p,e,n,o,a)}finally{it(s)}}createComponentRef(i,e,n,r,o,a){let s=this.componentDef,d=C7(r,s,a,o),p=i.rendererFactory.createRenderer(null,s),f=r?D6(p,r,s.encapsulation,e):v7(s,p);y7(f?.tagName);let b=a?.some(NO)||o?.some(M=>typeof M!="function"&&M.bindings.some(NO)),w=ST(null,d,null,512|jF(s),null,null,i,p,e,null,CF(f,e,!0));w[Nn]=f,Tv(w);let k=null;try{let M=VT(Nn,w,2,"#host",()=>d.directiveRegistry,!0,0);NF(p,f,M),ip(f,w),_0(d,w,M),gT(d,M,w),jT(d,M),n!==void 0&&E7(M,this.ngContentSelectors,n),k=_a(M.index,w),w[Ti]=k[Ti],LT(d,w,null)}catch(M){throw k!==null&&kS(k),kS(w),M}finally{Un(yn.DynamicComponentEnd),Iv()}return new Zv(this.componentType,w,!!b)}};function C7(t,i,e,n){let r=t?["ng-version","21.2.24"]:J$(i.selectors[0]),o=null,a=null,s=0;if(e)for(let f of e)s+=f[YS].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[YS].requiredVars;let k=f+1;w.create&&(w.targetIdx=k,(o??=[]).push(w)),w.update&&(w.targetIdx=k,(a??=[]).push(w))}}let d=[i];if(n)for(let f of n){let b=typeof f=="function"?f:f.type,w=hv(b);d.push(w)}return xT(0,null,D7(o,a),1,s,d,null,null,null,[r],null)}function D7(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 NO(t){let i=t[YS].kind;return i==="input"||i==="twoWay"}var Zv=class extends fP{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=yv(e[st],Nn),this.location=lp(this._tNode,e),this.instance=_a(this._tNode.index,e)[Ti],this.hostView=this.changeDetectorRef=new zc(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=b0(n,r[st],r,i,e);this.previousInputValues.set(i,e);let a=_a(n.index,r);BT(a,1)}get injector(){return new Cu(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function E7(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__=w7}return t})();function w7(){let t=Xi();return TP(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 lp(this._hostTNode,this._hostLView)}get injector(){return new Cu(this._hostTNode,this._hostLView)}get parentInjector(){let i=mT(this._hostTNode,this._hostLView);if(tF(i)){let e=Gv(i,this._hostLView),n=zv(i),r=e[st].data[n+8];return new Cu(r,e)}else return new Cu(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=OO(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=qv(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,rp(this._hostTNode,a)),s}createComponent(i,e,n,r,o,a,s){let d=i&&!O8(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 Gc(Is(i)),b=n||this.parentInjector;if(!o&&f.ngModule==null){let K=(d?b:this.parentInjector).get(_n,null);K&&(o=K)}let w=Is(f.componentType??{}),k=qv(this._lContainer,w?.id??null),M=k?.firstChild??null,J=f.create(b,r,M,o,a,s);return this.insertImpl(J.hostView,p,rp(this._hostTNode,k)),J}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let r=i._lView;if(jN(r)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let d=r[qi],p=new t(d,d[no],d[qi]);p.detach(p.indexOf(i))}}let o=this._adjustIndex(e),a=this._lContainer;return sg(a,r,o,n),i.attachToViewContainerRef(),Fx(vS(a),o,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=OO(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=Kf(this._lContainer,e);n&&(Nf(vS(this._lContainer),e),f0(n[st],n))}detach(i){let e=this._adjustIndex(i,-1),n=Kf(this._lContainer,e);return n&&Nf(vS(this._lContainer),e)!=null?new zc(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function OO(t){return t[Pf]}function vS(t){return t[Pf]||(t[Pf]=[])}function TP(t,i){let e,n=i[t.index];return Ka(n)?e=n:(e=dP(n,i,null,t),i[t.index]=e,TT(i,e)),S7(e,i,t,n),new qS(e,t,i)}function x7(t,i){let e=t[Mn],n=e.createComment(""),r=Go(i,t),o=e.parentNode(r);return Yv(e,o,n,e.nextSibling(r),!1),n}var S7=A7,T7=()=>!1;function I7(t,i,e){return T7(t,i,e)}function A7(t,i,e,n){if(t[jc])return;let r;e.type&8?r=ga(n):r=x7(i,e),t[jc]=r}var KS=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},XS=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++)zT(i,e).matches!==null&&this.queries[e].setDirty()}},Qv=class{flags;read;predicate;constructor(i,e,n=null){this.flags=e,this.read=n,typeof i=="string"?this.predicate=O7(i):this.predicate=i}},ZS=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)}},QS=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,k7(e,o)),this.matchTNodeWithReadOption(i,e,Vv(e,i,o,!1,!1))}else n===Zt?e.type&4&&this.matchTNodeWithReadOption(i,e,-1):this.matchTNodeWithReadOption(i,e,Vv(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=Vv(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 k7(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 R7(t,i){return t.type&11?lp(t,i):t.type&4?v0(t,i):null}function M7(t,i,e,n){return e===-1?R7(i,t):e===-2?N7(t,i,n):$f(t,t[st],e,i)}function N7(t,i,e){if(e===Q)return lp(i,t);if(e===Zt)return v0(i,t);if(e===Pt)return TP(i,t)}function IP(t,i,e,n){let r=i[As].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(M7(i,f,a[d+1],e.metadata.read))}}r.matches=s}return r.matches}function JS(t,i,e,n){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=IP(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[Bc]===w[qi]&&JS(w[st],w,p,n)}if(f[hu]!==null){let b=f[hu];for(let w=0;w<b.length;w++){let k=b[w];JS(k[st],k,p,n)}}}}}return n}function UT(t,i){return t[As].queries[i].queryList}function AP(t,i,e){let n=new oo((e&4)===4);return zN(t,i,n,n.destroy),(i[As]??=new XS).queries.push(new KS(n))-1}function kP(t,i,e){let n=On();return n.firstCreatePass&&(MP(n,new Qv(t,i,e),-1),(i&2)===2&&(n.staticViewQueries=!0)),AP(n,Oe(),i)}function RP(t,i,e,n){let r=On();if(r.firstCreatePass){let o=Xi();MP(r,new Qv(i,e,n),o.index),F7(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return AP(r,Oe(),e)}function O7(t){return t.split(",").map(i=>i.trim())}function MP(t,i,e){t.queries===null&&(t.queries=new ZS),t.queries.track(new QS(i,e))}function F7(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 zT(t,i){return t.queries.getByIndex(i)}function NP(t,i){let e=t[st],n=zT(e,i);return n.crossesNgTemplate?JS(e,t,i,[]):IP(e,t,n,i)}function GT(t,i,e){let n,r=pf(()=>{n._dirtyCounter();let o=P7(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 WT(t){return GT(!0,!1,t)}function $T(t){return GT(!0,!0,t)}function OP(t){return GT(!1,!1,t)}function FP(t,i){let e=t[yi];e._lView=Oe(),e._queryIndex=i,e._queryList=UT(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function P7(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[vt]&4)return i?void 0:Lr;let r=UT(e,n),o=NP(e,n);return r.reset(o,dF),i?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var eT=new Map,L7=new Set;function YT(t){return Rn(this,null,function*(){let i=eT;eT=new Map;let e=new Map;function n(o){let a=e.get(o);if(a)return a;let s=t(o).then(d=>B7(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(k=>n(k))).then(k=>{p.push(...k),a.styleUrls=void 0});d.push(w)}yield Promise.all(d),L7.delete(o)}));yield Promise.all(r)})}function PP(){return eT.size===0}function B7(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 Fs=class{},D0=class{};var Zf=class extends Fs{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Xv(this);constructor(i,e,n,r=!0){super(),this.ngModuleType=i,this._parent=e;let o=Rx(i);this._bootstrapComponents=LF(o.bootstrap),this._r3Injector=uS(i,e,[{provide:Fs,useValue:this},{provide:Vl,useValue:this.componentFactoryResolver},...n],Af(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)}},Qf=class extends D0{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new Zf(this.moduleType,i,[])}};function LP(t,i,e){return new Zf(t,i,e,!1)}var Jv=class extends Fs{injector;componentFactoryResolver=new Xv(this);instance=null;constructor(i){super();let e=new lu([...i.providers,{provide:Fs,useValue:this},{provide:Vl,useValue:this.componentFactoryResolver}],i.parent||$m(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function cp(t,i,e=null){return new Jv({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var V7=(()=>{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=Bx(!1,e.type),r=n.length>0?cp([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 A(t){return eg(()=>{let i=VP(t),e=ke(P({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===pT.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?r=>r.get(V7).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Qa.Emulated,styles:t.styles||Lr,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&qo("NgStandalone"),jP(e);let n=t.dependencies;
vendor: 4,530 bytes, line 4
4return e.directiveDefs=e0(n,BP),e.pipeDefs=e0(n,Mx),e.id=U7(e),e})}function BP(t){return Is(t)||hv(t)}function X(t){return eg(()=>({type:t.type,bootstrap:t.bootstrap||Lr,declarations:t.declarations||Lr,imports:t.imports||Lr,exports:t.exports||Lr,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function j7(t,i){if(t==null)return $a;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=m0.None,d=null),e[o]=[n,s,d],i[o]=a}return e}function H7(t){if(t==null)return $a;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function N(t){return eg(()=>{let i=VP(t);return jP(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 VP(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||$a,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Lr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:j7(t.inputs,i),outputs:H7(t.outputs),debugInfo:null}}function jP(t){t.features?.forEach(i=>i(t))}function e0(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 U7(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=z7,e.hostDirectives=n?t.map(tT):[t]):n?e.hostDirectives.unshift(...t.map(tT)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function z7(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,HP(a,i,n),r.set(a,[s,i.length-1])}o===0&&Xa(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 HP(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)FO(tT(o),i,e)}else FO(n,i,e)}function FO(t,i,e){let n=hv(t.directive);G7(n.declaredInputs,t.inputs),HP(n,i,e),e.set(n,t),i.push(n)}function tT(t){return typeof t=="function"?{directive:Yi(t),inputs:$a,outputs:$a}:{directive:Yi(t.directive),inputs:PO(t.inputs),outputs:PO(t.outputs)}}function PO(t){if(t===void 0||t.length===0)return $a;let i={};for(let e=0;e<t.length;e+=2)i[t[e]]=t[e+1];return i}function G7(t,i){for(let e in i)if(i.hasOwnProperty(e)){let n=i[e],r=t[e];t[n]=r}}function W7(t){return Object.getPrototypeOf(t.prototype).constructor}function he(t){let i=W7(t.type),e=!0,n=[t];for(;i&&i!==Function.prototype&&i!==Object.prototype;){let r,o=Object.hasOwn(i,Rf)?i[Rf]:void 0,a=Object.hasOwn(i,Mf)?i[Mf]:void 0;if(Xa(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=yS(t.inputs),d.declaredInputs=yS(t.declaredInputs),d.outputs=yS(t.outputs);let p=r.hostBindings;p&&X7(t,p);let f=r.viewQuery,b=r.contentQueries;if(f&&q7(t,f),b&&K7(t,b),$7(t,r),wN(t.outputs,r.outputs),Xa(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)}Y7(n)}function $7(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 Y7(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=np(r.hostAttrs,e=np(e,r.hostAttrs))}}function yS(t){return t===$a?{}:t===Lr?[]:t}function q7(t,i){let e=t.viewQuery;e?t.viewQuery=(n,r)=>{i(n,r),e(n,r)}:t.viewQuery=i}function K7(t,i){let e=t.contentQueries;e?t.contentQueries=(n,r,o)=>{i(n,r,o),e(n,r,o)}:t.contentQueries=i}function X7(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 UP(t,i,e,n,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=np(t.mergedAttrs,t.attrs);let f=t.tView=xT(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),bu(t,!1);let d=Q7(e,i,t,n);Av()&&MT(e,i,d,t),ip(d,i);let p=dP(d,i,d,t);i[n+Nn]=p,TT(i,p),I7(p,t,i)}function Z7(t,i,e,n,r,o,a,s,d,p,f){let b=e+Nn,w;return i.firstCreatePass?(w=Tu(i,b,4,a||null,s||null),Ev()&&_P(i,t,w,Wo(i.consts,p),OT),QO(i,w)):w=i.data[b],UP(w,t,i,e,n,r,o,d),Km(w)&&_0(i,t,w),p!=null&&og(t,w,f),w}function op(t,i,e,n,r,o,a,s,d,p,f){let b=e+Nn,w;if(i.firstCreatePass){if(w=Tu(i,b,4,a||null,s||null),p!=null){let k=Wo(i.consts,p);w.localNames=[];for(let M=0;M<k.length;M+=2)w.localNames.push(k[M],-1)}}else w=i.data[b];return UP(w,t,i,e,n,r,o,d),p!=null&&og(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 Z7(d,p,t,i,e,n,r,f,void 0,a,s),fe}function $c(t,i,e,n,r,o,a,s){let d=Oe(),p=On(),f=Wo(p.consts,o);return op(d,p,t,i,e,n,r,f,void 0,a,s),$c}var Q7=J7;function J7(t,i,e,n){return jf(!0),i[Mn].createComment("")}var E0=(()=>{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 Ls(t){return typeof t=="function"&&t[yi]!==void 0}function KT(t){return Ls(t)&&typeof t.set=="function"}var w0=new R(""),x0=new R(""),lg=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,n,r){this._ngZone=e,this.registry=n,Hx()&&(this._destroyRef=m(un,{optional:!0})??void 0),XT||(GP(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(zP),F(x0))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),zP=(()=>{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 XT?.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 GP(t){XT=t}var XT;function jl(t){return!!t&&typeof t.then=="function"}function S0(t){return!!t&&typeof t.subscribe=="function"}var ZT=new R("");function T0(t){return Lc([{provide:ZT,multi:!0,useValue:t}])}var QT=(()=>{class t{resolve;reject;initialized=!1;done=!1;
vendor: 10,045 bytes, line 4
4donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=m(ZT,{optional:!0})??[];injector=m(ie);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Ki(this.injector,r);if(jl(o))e.push(o);else if(S0(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})(),I0=new R("");function WP(){zw(()=>{let t="";throw new ce(600,t)})}function $P(t){return t.isBoundToModule}var e9=10;function JT(t,i){return Array.isArray(i)?i.reduce(JT,t):P(P({},t),i)}var Ji=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(Eo);afterRenderManager=m(h0);zonelessEnabled=m(Jm);rootEffectScheduler=m(Rv);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(Ms);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe($(e=>!e))}constructor(){m(Ja,{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(()=>{Un(yn.BootstrapComponentStart);let a=e instanceof y0;if(!this._injector.get(QT).done){let M="";throw new ce(405,M)}let d;a?d=e:d=this._injector.get(Vl).resolveComponentFactory(e),this.componentTypes.push(d.componentType);let p=$P(d)?void 0:this._injector.get(Fs),f=n||d.selector,b=d.create(r,[],f,p),w=b.location.nativeElement,k=b.injector.get(w0,null);return k?.registerApplication(w),b.onDestroy(()=>{this.detachView(b.hostView),Wf(this.components,b),k?.unregisterApplication(w)}),this._loadComponent(b),Un(yn.BootstrapComponentEnd,b),b})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Un(yn.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(p0.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Un(yn.ChangeDetectionEnd),new ce(101,!1);let e=it(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,it(e),this.afterTick.next(),Un(yn.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(gi,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<e9;){Un(yn.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Un(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&&!Bf(r))continue;let o=n&&!this.zonelessEnabled?0:1;aP(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})=>Bf(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;Wf(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(I0,[]).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),()=>Wf(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 Wf(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function cg(t,i){let e=Oe(),n=Rs();if(ao(e,n,i)){let r=On(),o=vu();if(b0(o,r,e,t,i))ks(o)&&JF(e,o.index);else{let s=Go(o,e);eP(e[Mn],s,null,o.value,t,i,null)}}return cg}function oe(t,i,e,n){let r=Oe(),o=Rs();if(ao(r,o,i)){let a=On(),s=vu();A6(s,r,t,i,e,n)}return oe}var nT=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 CS(t,i,e,n,r){return t===e&&Object.is(i,n)?1:Object.is(r(t,i),r(e,n))?-1:0}function t9(t,i,e,n){let r,o,a=0,s=t.length-1,d=void 0;if(Array.isArray(i)){it(n);let p=i.length-1;for(it(null);a<=s&&a<=p;){let f=t.at(a),b=i[a],w=CS(a,f,a,b,e);if(w!==0){w<0&&t.updateValue(a,b),a++;continue}let k=t.at(s),M=i[p],J=CS(s,k,p,M,e);if(J!==0){J<0&&t.updateValue(s,M),s--,p--;continue}let j=e(a,f),K=e(s,k),Te=e(a,b);if(Object.is(Te,K)){let nn=e(p,M);Object.is(nn,j)?(t.swap(a,s),t.updateValue(s,M),p--,s--):t.move(s,a),t.updateValue(a,b),a++;continue}if(r??=new t0,o??=BO(t,a,s,e),iT(t,r,a,Te))t.updateValue(a,b),a++,s++;else if(o.has(Te))r.set(j,t.detach(a)),s--;else{let nn=t.create(a,i[a]);t.attach(a,nn),a++,s++}}for(;a<=p;)LO(t,r,e,a,i[a]),a++}else if(i!=null){it(n);let p=i[Symbol.iterator]();it(null);let f=p.next();for(;!f.done&&a<=s;){let b=t.at(a),w=f.value,k=CS(a,b,a,w,e);if(k!==0)k<0&&t.updateValue(a,w),a++,f=p.next();else{r??=new t0,o??=BO(t,a,s,e);let M=e(a,w);if(iT(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;)LO(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 iT(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function LO(t,i,e,n,r){if(iT(t,i,n,e(n,r)))t.updateValue(n,r);else{let o=t.create(n,r);t.attach(n,o)}}function BO(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 t0=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){qo("NgControlFlow");let d=Oe(),p=On(),f=Wo(p.consts,o);return op(d,p,t,i,e,n,r,f,256,a,s),eI}function eI(t,i,e,n,r,o,a,s){qo("NgControlFlow");let d=Oe(),p=On(),f=Wo(p.consts,o);return op(d,p,t,i,e,n,r,f,512,a,s),eI}function y(t,i){qo("NgControlFlow");let e=Oe(),n=Rs(),r=e[n]!==Qi?e[n]:-1,o=r!==-1?n0(e,Nn+r):void 0,a=0;if(ao(e,n,t)){let s=it(null);try{if(o!==void 0&&mP(o,a),t!==-1){let d=Nn+t,p=n0(e,d),f=sT(e[st],d),b=hP(p,f,e),w=ag(e,f,i,{dehydratedView:b});sg(p,w,a,rp(f,b))}}finally{it(s)}}else if(o!==void 0){let s=uP(o,a);s!==void 0&&(s[Ti]=i)}}var rT=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 YP(t){return t}function at(t,i){return i}var oT=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function Ue(t,i,e,n,r,o,a,s,d,p,f,b,w){qo("NgControlFlow");let k=Oe(),M=On(),J=d!==void 0,j=Oe(),K=s?a.bind(j[io][Ti]):a,Te=new oT(J,K);j[Nn+t]=Te,op(k,M,t+1,i,e,n,r,Wo(M.consts,o),256),J&&op(k,M,t+2,d,p,f,b,Wo(M.consts,w),512)}var aT=class extends nT{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[du];this.needsIndexUpdate||=i!==this.length,sg(this.lContainer,e,i,rp(this.templateTNode,n)),n9(this.lContainer,i)}detach(i){return this.needsIndexUpdate||=i!==this.length-1,i9(this.lContainer,i),r9(this.lContainer,i)}create(i,e){let n=qv(this.lContainer,this.templateTNode.tView.ssrId);return ag(this.hostLView,this.templateTNode,new rT(this.lContainer,e,i),{dehydratedView:n})}destroy(i){f0(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 o9(this.lContainer,i)}};function ze(t){let i=it(null),e=Do();try{let n=Oe(),r=n[st],o=n[e],a=e+1,s=n0(n,a);if(o.liveCollection===void 0){let p=sT(r,a);o.liveCollection=new aT(s,n,p)}else o.liveCollection.reset();let d=o.liveCollection;if(t9(d,t,o.trackByFn,i),d.updateIndexes(),o.hasEmptyBlock){let p=Rs(),f=d.length===0;if(ao(n,p,f)){let b=e+2,w=n0(n,b);if(f){let k=sT(r,b),M=hP(w,k,n),J=ag(n,k,void 0,{dehydratedView:M});sg(w,J,0,rp(k,M))}else r.firstUpdatePass&&Q6(w),mP(w,0)}}}finally{it(i)}}function n0(t,i){return t[i]}function n9(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e],r=n?n[Vc]:void 0;if(n&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let o=n[Nl];l6(o,r),Eu.delete(n[Ol]),r.detachedLeaveAnimationFns=void 0}}
4function i9(t,i){if(t.length<=Ci)return;let e=Ci+i,n=t[e],r=n?n[Vc]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function r9(t,i){return Kf(t,i)}function o9(t,i){return uP(t,i)}function sT(t,i){return yv(t,i)}function g(t,i,e){let n=Oe(),r=Rs();if(ao(n,r,i)){let o=On(),a=vu();ZF(a,n,t,i,n[Mn],e)}return g}function lT(t,i,e,n,r){b0(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?VT(a,r,2,i,OT,Ev(),e,n):o.data[a];if(ks(s)){let d=r[qa].tracingService;if(d&&d.componentCreate){let p=o.data[s.directiveStart+s.componentOffset];return d.componentCreate(xP(p),()=>(VO(t,i,r,s,n),u))}}return VO(t,i,r,s,n),u}function VO(t,i,e,n,r){if(FT(n,e,t,i,qP),Km(n)){let o=e[st];_0(o,e,n),gT(o,n,e)}r!=null&&og(e,n)}function c(){let t=On(),i=Xi(),e=PT(i);return t.firstCreatePass&&jT(t,e),tS(e)&&nS(),Jx(),e.classesWithoutHost!=null&&j8(e)&&lT(t,e,Oe(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&H8(e)&&lT(t,e,Oe(),e.stylesWithoutHost,!1),c}function S(t,i,e,n){return u(t,i,e,n),c(),S}function ft(t,i,e,n){let r=Oe(),o=r[st],a=t+Nn,s=o.firstCreatePass?m7(a,o,2,i,e,n):o.data[a];return FT(s,r,t,i,qP),n!=null&&og(r,s),ft}function _t(){let t=Xi(),i=PT(t);return tS(i)&&nS(),Jx(),_t}function _i(t,i,e,n){return ft(t,i,e,n),_t(),_i}var qP=(t,i,e,n,r)=>(jf(!0),kF(i[Mn],n,dS()));function Cn(t,i,e){let n=Oe(),r=n[st],o=t+Nn,a=r.firstCreatePass?VT(o,n,8,"ng-container",OT,Ev(),i,e):r.data[o];if(FT(a,n,t,"ng-container",a9),Km(a)){let s=n[st];_0(s,n,a),gT(s,a,n)}return e!=null&&og(n,a),Cn}function Dn(){let t=On(),i=Xi(),e=PT(i);return t.firstCreatePass&&jT(t,e),Dn}function Di(t,i,e){return Cn(t,i,e),Dn(),Di}var a9=(t,i,e,n,r)=>(jf(!0),F$(i[Mn],""));function Se(){return Oe()}function An(t,i,e){let n=Oe(),r=Rs();if(ao(n,r,i)){let o=On(),a=vu();QF(a,n,t,i,n[Mn],e)}return An}var Uf=void 0;function s9(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var l9=["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"]],Uf,[["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"]],Uf,[["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}",Uf,Uf,Uf],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",s9],DS=Object.create(null);function Ko(t){let i=c9(t),e=jO(i);if(e)return e;let n=i.split("-")[0];if(e=jO(n),e)return e;if(n==="en")return l9;throw new ce(701,!1)}function jO(t){if(!(t in DS)){let i=Fi.ng&&Fi.ng.common&&Fi.ng.common.locales&&Fi.ng.common.locales[t];return i!==void 0&&(DS[t]=i),i}return DS[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 c9(t){return t.toLowerCase().replace(/_/g,"-")}var dg="en-US";var d9=dg;function KP(t){typeof t=="string"&&(d9=t.toLowerCase().replace(/_/g,"-"))}
vendor: 9,032 bytes, line 4
4function T(t,i,e){let n=Oe(),r=On(),o=Xi();return XP(r,n,n[Mn],o,t,i,e),T}function Bs(t,i,e){let n=Oe(),r=On(),o=Xi();return(o.type&3||e)&&EP(o,r,n,e,n[Mn],t,i,Hv(o,n,i)),Bs}function XP(t,i,e,n,r,o,a){let s=!0,d=null;if((n.type&3||a)&&(d??=Hv(n,i,o),EP(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],k=f[b+1];d??=Hv(n,i,o),MO(n,i,w,k,r,d)}if(p&&p.length)for(let b of p)d??=Hv(n,i,o),MO(n,i,b,r,r,d)}}function _(t=1){return tO(t)}function u9(t,i){let e=null,n=Y$(t);for(let r=0;r<i.length;r++){let o=i[r];if(o==="*"){e=r;continue}if(n===null?VF(t,o,!0):X$(n,o))return r}return e}function Ie(t){let i=Oe()[io][no];if(!i.projection){let e=t?t.length:1,n=i.projection=kN(e,null),r=n.slice(),o=i.child;for(;o!==null;){if(o.type!==128){let a=t?u9(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&&op(a,s,d,n,r,o,null,e);let p=Tu(s,Nn+t,16,null,e||null);p.projection===null&&(p.projection=i),oS();let b=!a[du]||eS();a[io][no].projection[p.projection]===null&&d!==null?m9(a,s,d):b&&!c0(p)&&v6(s,a,p)}function m9(t,i,e){let n=Nn+e,r=i.data[n],o=t[n],a=qv(o,r.tView.ssrId),s=ag(t,r,void 0,{dehydratedView:a});sg(o,s,0,rp(r,a))}function Gt(t,i,e,n){return RP(t,i,e,n),Gt}function ve(t,i,e){return kP(t,i,e),ve}function H(t){let i=Oe(),e=On(),n=Sv();Vf(n+1);let r=zT(e,n);if(t.dirty&&VN(i)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=NP(i,n);t.reset(o,dF),t.notifyOnChanges()}return!0}return!1}function U(){return UT(Oe(),Sv())}function A0(t,i,e,n,r){return FP(i,RP(t,e,n,r)),A0}function Yc(t,i,e,n){return FP(t,kP(i,e,n)),Yc}function qc(t=1){Vf(Sv()+t)}function ye(t){let i=aS();return gu(i,Nn+t)}function Fv(t,i){return t<<17|i<<2}function wu(t){return t>>17&32767}function p9(t){return(t&2)==2}function h9(t,i){return t&131071|i<<17}function cT(t){return t|2}function ap(t){return(t&131068)>>2}function ES(t,i){return t&-131069|i<<2}function f9(t){return(t&1)===1}function dT(t){return t|1}function g9(t,i,e,n,r,o){let a=o?i.classBindings:i.styleBindings,s=wu(a),d=ap(a);t[n]=e;let p=!1,f;if(Array.isArray(e)){let b=e;f=b[1],(f===null||Wm(b,f)>0)&&(p=!0)}else f=e;if(r)if(d!==0){let w=wu(t[s+1]);t[n+1]=Fv(w,s),w!==0&&(t[w+1]=ES(t[w+1],n)),t[s+1]=h9(t[s+1],n)}else t[n+1]=Fv(s,0),s!==0&&(t[s+1]=ES(t[s+1],n)),s=n;else t[n+1]=Fv(d,0),s===0?s=n:t[d+1]=ES(t[d+1],n),d=n;p&&(t[n+1]=cT(t[n+1])),HO(t,f,n,!0),HO(t,f,n,!1),_9(i,f,t,n,o),a=Fv(s,d),o?i.classBindings=a:i.styleBindings=a}function _9(t,i,e,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof i=="string"&&Wm(o,i)>=0&&(e[n+1]=dT(e[n+1]))}function HO(t,i,e,n){let r=t[e+1],o=i===null,a=n?wu(r):ap(r),s=!1;for(;a!==0&&(s===!1||o);){let d=t[a],p=t[a+1];b9(d,i)&&(s=!0,t[a+1]=n?dT(p):cT(p)),a=n?wu(p):ap(p)}s&&(t[e+1]=n?cT(r):dT(r))}function b9(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?Wm(t,i)>=0:!1}var Zi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ZP(t){return t.substring(Zi.key,Zi.keyEnd)}function v9(t){return t.substring(Zi.value,Zi.valueEnd)}function y9(t){return eL(t),QP(t,sp(t,0,Zi.textEnd))}function QP(t,i){let e=Zi.textEnd;return e===i?-1:(i=Zi.keyEnd=D9(t,Zi.key=i,e),sp(t,i,e))}function C9(t){return eL(t),JP(t,sp(t,0,Zi.textEnd))}function JP(t,i){let e=Zi.textEnd,n=Zi.key=sp(t,i,e);return e===n?-1:(n=Zi.keyEnd=E9(t,n,e),n=UO(t,n,e,58),n=Zi.value=sp(t,n,e),n=Zi.valueEnd=w9(t,n,e),UO(t,n,e,59))}function eL(t){Zi.key=0,Zi.keyEnd=0,Zi.value=0,Zi.valueEnd=0,Zi.textEnd=t.length}function sp(t,i,e){for(;i<e&&t.charCodeAt(i)<=32;)i++;return i}function D9(t,i,e){for(;i<e&&t.charCodeAt(i)>32;)i++;return i}function E9(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 UO(t,i,e,n){return i=sp(t,i,e),i<e&&i++,i}function w9(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=zO(t,d,a,e):i===a-4&&o===85&&r===82&&n===76&&d===40?s=a=zO(t,41,a,e):d>32&&(s=a),o=r,r=n,n=d&-33}return s}function zO(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 tL(t,i,e,!1),Fn}function ee(t,i){return tL(t,i,null,!0),ee}function k0(t){nL(oL,x9,t,!1)}function x9(t,i){for(let e=C9(i);e>=0;e=JP(i,e))oL(t,ZP(i),v9(i))}function Be(t){nL(M9,S9,t,!0)}function S9(t,i){for(let e=y9(i);e>=0;e=QP(i,e))Of(t,ZP(i),!0)}function tL(t,i,e,n){let r=Oe(),o=On(),a=Zm(2);if(o.firstUpdatePass&&rL(o,t,a,n),i!==Qi&&ao(r,a,i)){let s=o.data[Do()];aL(o,s,r,r[Mn],t,r[a+1]=O9(i,e),n,a)}}function nL(t,i,e,n){let r=On(),o=Zm(2);r.firstUpdatePass&&rL(r,null,o,n);let a=Oe();if(e!==Qi&&ao(a,o,e)){let s=r.data[Do()];if(sL(s,n)&&!iL(r,o)){let d=n?s.classesWithoutHost:s.stylesWithoutHost;d!==null&&(e=mv(d,e||"")),lT(r,s,a,e,n)}else N9(r,s,a,a[Mn],a[o+1],a[o+1]=R9(t,i,e),n,o)}}function iL(t,i){return i>=t.expandoStartIndex}function rL(t,i,e,n){let r=t.data;if(r[e+1]===null){let o=r[Do()],a=iL(t,e);sL(o,n)&&i===null&&!a&&(i=!1),i=T9(r,o,i,n),g9(r,o,i,e,a,n)}}function T9(t,i,e,n){let r=ZN(t),o=n?i.residualClasses:i.residualStyles;if(r===null)(n?i.classBindings:i.styleBindings)===0&&(e=wS(null,t,i,e,n),e=Jf(e,i.attrs,n),o=null);else{let a=i.directiveStylingLast;if(a===-1||t[a]!==r)if(e=wS(r,t,i,e,n),o===null){let d=I9(t,i,n);d!==void 0&&Array.isArray(d)&&(d=wS(null,t,i,d[1],n),d=Jf(d,i.attrs,n),A9(t,i,n,d))}else o=k9(t,i,n)}return o!==void 0&&(n?i.residualClasses=o:i.residualStyles=o),e}function I9(t,i,e){let n=e?i.classBindings:i.styleBindings;if(ap(n)!==0)return t[wu(n)]}function A9(t,i,e,n){let r=e?i.classBindings:i.styleBindings;t[wu(r)]=n}function k9(t,i,e){let n,r=i.directiveEnd;for(let o=1+i.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;n=Jf(n,a,e)}return Jf(n,i.attrs,e)}function wS(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=Jf(n,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),n}function Jf(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]),Of(t,a,e?!0:i[++o]))}return t===void 0?null:t}function R9(t,i,e){if(e==null||e==="")return Lr;let n=[],r=so(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 oL(t,i,e){Of(t,i,so(e))}function M9(t,i,e){let n=String(i);n!==""&&!n.includes(" ")&&Of(t,n,e)}function N9(t,i,e,n,r,o,a,s){r===Qi&&(r=Lr);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,k=p<o.length?o[p+1]:void 0,M=null,J;f===b?(d+=2,p+=2,w!==k&&(M=b,J=k)):b===null||f!==null&&f<b?(d+=2,M=f):(p+=2,M=b,J=k),M!==null&&aL(t,i,e,n,M,J,a,s),f=d<r.length?r[d]:null,b=p<o.length?o[p]:null}}function aL(t,i,e,n,r,o,a,s){if(!(i.type&3))return;let d=t.data,p=d[s+1],f=f9(p)?GO(d,i,e,r,ap(p),a):void 0;if(!i0(f)){i0(o)||p9(p)&&(o=GO(d,null,e,r,s,a));let b=Yx(Do(),e);C6(n,a,b,r,o)}}function GO(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===Qi&&(w=b?Lr:void 0);let k=b?bv(w,n):f===n?w:void 0;if(p&&!i0(k)&&(k=bv(d,n)),i0(k)&&(s=k,a))return s;let M=t[r+1];r=a?wu(M):ap(M)}if(i!==null){let d=o?i.residualClasses:i.residualStyles;d!=null&&(s=bv(d,n))}return s}function i0(t){return t!==void 0}function O9(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=Af(so(t)))),t}function sL(t,i){return(t.flags&(i?8:16))!==0}function h(t,i=""){let e=Oe(),n=On(),r=t+Nn,o=n.firstCreatePass?Tu(n,r,1,i,null):n.data[r],a=F9(n,e,o,i);e[r]=a,Av()&&MT(n,e,a,o),bu(o,!1)}var F9=(t,i,e,n)=>(jf(!0),N$(i[Mn],n));function lL(t,i,e,n=""){return ao(t,Rs(),e)?i+to(e)+n:Qi}function P9(t,i,e,n,r,o=""){let a=wv(),s=Xf(t,a,e,r);return Zm(2),s?i+to(e)+n+to(r)+o:Qi}function cL(t,i,e,n,r,o,a,s=""){let d=wv(),p=CP(t,d,e,r,a);return Zm(3),p?i+to(e)+n+to(r)+o+to(a)+s:Qi}function L9(t,i,e,n,r,o,a,s,d,p=""){let f=wv(),b=DP(t,f,e,r,a,d);return Zm(4),b?i+to(e)+n+to(r)+o+to(a)+s+to(d)+p:Qi}function x(t){return se("",t),x}function se(t,i,e){let n=Oe(),r=lL(n,t,i,e);return r!==Qi&&R0(n,Do(),r),se}function lo(t,i,e,n,r){let o=Oe(),a=P9(o,t,i,e,n,r);return a!==Qi&&R0(o,Do(),a),lo}function wo(t,i,e,n,r,o,a){let s=Oe(),d=cL(s,t,i,e,n,r,o,a);return d!==Qi&&R0(s,Do(),d),wo}function dL(t,i,e,n,r,o,a,s,d){let p=Oe(),f=L9(p,t,i,e,n,r,o,a,s,d);return f!==Qi&&R0(p,Do(),f),dL}function R0(t,i,e){let n=Yx(i,t);O$(t[Mn],n,e)}function xo(t,i,e){KT(i)&&(i=i());let n=Oe(),r=Rs();if(ao(n,r,i)){let o=On(),a=vu();ZF(a,n,t,i,n[Mn],e)}return xo}function Xo(t,i){let e=KT(t);return e&&t.set(i),e}function So(t,i){let e=Oe(),n=On(),r=Xi();return XP(n,e,e[Mn],r,t,i),So}var uL={};function mL(t){qo("NgLet");
vendor: 4,885 bytes, line 4
4let i=On(),e=Oe(),n=t+Nn,r=Tu(i,n,128,null,null);return bu(r,!1),Lf(i,e,n,uL),mL}function B9(t){let i=On(),e=Oe(),n=Do();return Lf(i,e,n,t),t}function V9(t){let i=aS(),e=gu(i,Nn+t);if(e===uL)throw new ce(314,!1);return e}function ri(t){return ao(Oe(),Rs(),t)?to(t):Qi}function Hl(t,i,e=""){return lL(Oe(),t,i,e)}function tI(t,i,e,n,r,o,a=""){return cL(Oe(),t,i,e,n,r,o,a)}function WO(t,i,e){let n=On();n.firstCreatePass&&pL(i,n.data,n.blueprint,Xa(t),e)}function pL(t,i,e,n,r){if(t=Yi(t),Array.isArray(t))for(let o=0;o<t.length;o++)pL(t[o],i,e,n,r);else{let o=On(),a=Oe(),s=Xi(),d=su(t)?t:Yi(t.provide),p=jx(t),f=s.providerIndexes&1048575,b=s.directiveStart,w=s.providerIndexes>>20;if(su(t)||!t.multi){let k=new Du(p,r,E,null),M=SS(d,i,r?f:f+w,b);M===-1?(IS($v(s,a),o,d),xS(o,t,i.length),i.push(d),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(k),a.push(k)):(e[M]=k,a[M]=k)}else{let k=SS(d,i,f+w,b),M=SS(d,i,f,f+w),J=k>=0&&e[k],j=M>=0&&e[M];if(r&&!j||!r&&!J){IS($v(s,a),o,d);let K=U9(r?H9:j9,e.length,r,n,p,t);!r&&j&&(e[M].providerFactory=K),xS(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=hL(e[r?M:k],p,!r&&n);xS(o,t,k>-1?k:M,K)}!r&&n&&j&&e[M].componentProviders++}}}function xS(t,i,e,n){let r=su(i),o=FN(i);if(r||o){let d=(o?Yi(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 hL(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function SS(t,i,e,n){for(let r=e;r<n;r++)if(i[r]===t)return r;return-1}function j9(t,i,e,n,r){return uT(this.multi,[])}function H9(t,i,e,n,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,d=$f(n,n[st],this.providerFactory.index,r);a=d.slice(0,s),uT(o,a);for(let p=s;p<d.length;p++)a.push(d[p])}else a=[],uT(o,a);return a}function uT(t,i){for(let e=0;e<t.length;e++){let n=t[e];i.push(n())}return i}function U9(t,i,e,n,r,o){let a=new Du(t,e,E,null);return a.multi=[],a.index=i,a.componentProviders=0,hL(a,r,n&&!e),a}function me(t,i){return e=>{e.providersResolver=(n,r)=>WO(n,r?r(t):t,!1),i&&(e.viewProvidersResolver=(n,r)=>WO(n,r?r(i):i,!0))}}function Kc(t,i,e){let n=t.\u0275cmp;n.directiveDefs=e0(i,BP),n.pipeDefs=e0(e,Mx)}function co(t,i,e){return fL(Oe(),Hc(),t,i,e)}function z9(t,i,e,n){return gL(Oe(),Hc(),t,i,e,n)}function nI(t,i,e,n,r,o,a){return _L(Oe(),Hc(),t,i,e,n,r,o)}function M0(t,i){let e=t[i];return e===Qi?void 0:e}function fL(t,i,e,n,r,o){let a=i+e;return ao(t,a,r)?C0(t,a+1,o?n.call(o,r):n(r)):M0(t,a+1)}function gL(t,i,e,n,r,o,a){let s=i+e;return Xf(t,s,r,o)?C0(t,s+2,a?n.call(a,r,o):n(r,o)):M0(t,s+2)}function G9(t,i,e,n,r,o,a,s){let d=i+e;return CP(t,d,r,o,a)?C0(t,d+3,s?n.call(s,r,o,a):n(r,o,a)):M0(t,d+3)}function _L(t,i,e,n,r,o,a,s,d){let p=i+e;return DP(t,p,r,o,a,s)?C0(t,p+4,d?n.call(d,r,o,a,s):n(r,o,a,s)):M0(t,p+4)}function be(t,i){let e=On(),n,r=t+Nn;e.firstCreatePass?(n=W9(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=Oc(n.type,!0)),a,s=eo(E);try{let d=Wv(!1),p=o();return Wv(d),Lf(e,Oe(),r,p),p}finally{eo(s)}}function W9(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=gu(r,n);return N0(r,n)?fL(r,Hc(),i,o.transform,e,o):o.transform(e)}function wr(t,i,e,n){let r=t+Nn,o=Oe(),a=gu(o,r);return N0(o,r)?gL(o,Hc(),i,a.transform,e,n,a):a.transform(e,n)}function dp(t,i,e,n,r){let o=t+Nn,a=Oe(),s=gu(a,o);return N0(a,o)?G9(a,Hc(),i,s.transform,e,n,r,s):s.transform(e,n,r)}function iI(t,i,e,n,r,o){let a=t+Nn,s=Oe(),d=gu(s,a);return N0(s,a)?_L(s,Hc(),i,d.transform,e,n,r,o,d):d.transform(e,n,r,o)}function N0(t,i){return t[st].data[i].pure}function ba(t,i){return v0(t,i)}var Pv=null;function bL(t){Pv!==null&&(t.defaultEncapsulation!==Pv.defaultEncapsulation||t.preserveWhitespaces!==Pv.preserveWhitespaces)||(Pv=t)}var r0=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},rI=(()=>{class t{compileModuleSync(e){return new Qf(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),r=Rx(e),o=LF(r.declarations).reduce((a,s)=>{let d=Is(s);return d&&a.push(new Gc(d)),a},[]);return new r0(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})(),vL=new R("");var yL=(()=>{class t{applicationErrorHandler=m(Eo);appRef=m(Ji);taskService=m(Ms);ngZone=m(le);zonelessEnabled=m(Jm);tracing=m(Ja,{optional:!0});
4zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _e;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Tf):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(kv,{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?rO:pS;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(Tf+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 CL(){return[{provide:Wa,useExisting:yL},{provide:le,useClass:If},{provide:Jm,useValue:!0}]}function $9(){return typeof $localize<"u"&&$localize.locale||dg}var Au=new R("",{factory:()=>m(Au,{optional:!0,skipSelf:!0})||$9()});var ug=class{destroyed=!1;listeners=null;errorHandler=m(Br,{optional:!0});destroyRef=m(un);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(ha(953,!1));return}if(this.listeners===null)return;let e=it(null);try{for(let n of this.listeners)try{n(i)}catch(r){this.errorHandler?.handleError(r)}}finally{it(e)}}};function Wt(t){return vN(t)}function Ct(t,i){return pf(t,i?.equal)}var Y9=t=>t;function oI(t,i){if(typeof t=="function"){let e=px(t,Y9,i?.equal);return DL(e,i?.debugName)}else{let e=px(t.source,t.computation,t.equal);return DL(e,t.debugName)}}function DL(t,i){let e=t[yi],n=t;return n.set=r=>_N(e,r),n.update=r=>bN(e,r),n.asReadonly=Hf.bind(t),n}var L0=Symbol("InputSignalNode#UNSET"),ML=ke(P({},hf),{transformFn:void 0,applyValueToInputSignal(t,i){Ac(t,i)}});function NL(t,i){let e=Object.create(ML);e.value=t,e.transformFn=i?.transform;function n(){if(wl(e),e.value===L0){let r=null;throw new ce(-950,r)}return e.value}return n[yi]=e,n}var ui=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>tg(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function rFe(t){return new ug}function EL(t,i){return NL(t,i)}function oY(t){return NL(L0,t)}var uo=(EL.required=oY,EL);function wL(t,i){return WT(i)}function aY(t,i){return $T(i)}var Vs=(wL.required=aY,wL);function xL(t,i){return WT(i)}function sY(t,i){return $T(i)}var OL=(xL.required=sY,xL);function oFe(t,i){return OP(i)}function FL(t,i){let e=Object.create(ML),n=new ug;e.value=t;function r(){return wl(e),SL(e.value),e.value}return r[yi]=e,r.asReadonly=Hf.bind(r),r.set=o=>{e.equal(e.value,o)||(Ac(e,o),n.emit(o))},r.update=o=>{SL(e.value),r.set(o(e.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function SL(t){if(t===L0)throw new ce(952,!1)}function TL(t,i){return FL(t,i)}function lY(t){return FL(L0,t)}var aFe=(TL.required=lY,TL);function cY(t,i,e){let n=new Qf(e);return Promise.resolve(n)}function IL(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var dY=(()=>{class t{zone=m(le);
4changeDetectionScheduler=m(Wa);applicationRef=m(Ji);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})(),uY=new R("",{factory:()=>!1});function mY({ngZoneFactory:t,scheduleInRootZone:i}){return t??=()=>new le(ke(P({},PL()),{scheduleInRootZone:i})),[{provide:Jm,useValue:!1},{provide:le,useFactory:t},{provide:Ml,multi:!0,useFactory:()=>{let e=m(dY,{optional:!0});return()=>e.initialize()}},{provide:Ml,multi:!0,useFactory:()=>{let e=m(pY);return()=>{e.initialize()}}},{provide:kv,useValue:i??mS}]}function sFe(t){let i=t?.scheduleInRootZone,e=mY({ngZoneFactory:()=>{let n=PL(t);return n.scheduleInRootZone=i,n.shouldCoalesceEventChangeDetection&&qo("NgZone_CoalesceEvent"),new le(n)},scheduleInRootZone:i});return Lc([{provide:uY,useValue:!0},e])}function PL(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var pY=(()=>{class t{subscription=new _e;initialized=!1;zone=m(le);pendingTasks=m(Ms);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 O0=new R(""),hY=new R("");function mg(t){return!t.moduleRef}function fY(t){let i=mg(t)?t.r3Injector:t.moduleRef.injector,e=i.get(le);return e.run(()=>{mg(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(Eo),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:n})}),mg(t)){let o=()=>i.destroy(),a=t.platformInjector.get(O0);a.add(o),i.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(O0);a.add(o),t.moduleRef.onDestroy(()=>{Wf(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return _Y(n,e,()=>{let o=i.get(Ms),a=o.add(),s=i.get(QT);return s.runInitializers(),s.donePromise.then(()=>{let d=i.get(Au,dg);if(KP(d||dg),!i.get(hY,!0))return mg(t)?i.get(Ji):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(mg(t)){let f=i.get(Ji);return t.rootComponent!==void 0&&f.bootstrap(t.rootComponent),f}else return LL?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{o.remove(a)})})})}var LL;function AL(){LL=gY}function gY(t,i){let e=t.injector.get(Ji);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 _Y(t,i,e){try{let n=e();return jl(n)?n.catch(r=>{throw i.runOutsideAngular(()=>t(r)),r}):n}catch(n){throw i.runOutsideAngular(()=>t(n)),n}}var BL=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let r=[CL(),...n?.applicationProviders??[],aO],o=LP(e.moduleType,this.injector,r);return AL(),fY({moduleRef:o,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let r=JT({},n);return AL(),cY(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);
vendor: 8,729 bytes, line 4
4this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(O0,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})(),mI=null;function bY(t){if(hI())throw new ce(400,!1);WP(),mI=t;let i=t.get(BL);return CY(t),i}function pI(t,i,e=[]){let n=`Platform: ${i}`,r=new R(n);return(o=[])=>{let a=hI();if(!a){let s=[...e,...o,{provide:r,useValue:!0}];a=t?.(s)??bY(vY(s,n))}return yY(r)}}function vY(t=[],i){return ie.create({name:i,providers:[{provide:Ff,useValue:"platform"},{provide:O0,useValue:new Set([()=>mI=null])},...t]})}function yY(t){let i=hI();if(!i)throw new ce(-401,!1);return i}function hI(){return mI?.get(BL)??null}function CY(t){let i=t.get(o0,null);Ki(t,()=>{i?.forEach(e=>e())})}var DY=1e4;var lFe=DY-1e3;var Ee=(()=>{class t{static __NG_ELEMENT_ID__=EY}return t})();function EY(t){return wY(Xi(),Oe(),(t&16)===16)}function wY(t,i,e){if(ks(t)&&!e){let n=_a(t.index,i);return new zc(n,n)}else if(t.type&175){let n=i[io];return new zc(n,i)}return null}var sI=class{supports(i){return HT(i)}create(i){return new lI(i)}},xY=(t,i)=>i,lI=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||xY}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<kL(n,r,o)?e:n,s=kL(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 k=w<o.length?o[w]:o[w]=0,M=k+w;f<=M&&M<p&&(o[w]=k+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=[]),!HT(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,vP(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 cI(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 F0),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 F0),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}},cI=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}},dI=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}},F0=class{map=new Map;put(i){let e=i.trackById,n=this.map.get(e);n||(n=new dI,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 kL(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 RL(){return new Ul([new sI])}var Ul=(()=>{class t{factories;static \u0275prov=D({token:t,providedIn:"root",factory:RL});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||RL())}}}find(e){let n=this.factories.find(r=>r.supports(e));if(n!=null)return n;throw new ce(901,!1)}}return t})();var VL=pI(null,"core",[]),jL=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(F(Ji))};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();function Y(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function an(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}var aI=Symbol("NOT_SET"),HL=new Set,SY=ke(P({},hf),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:aI,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!==aI&&!Im(this))return this.signal;try{for(let r of this.cleanup??HL)r()}finally{this.cleanup?.clear()}let i=[];t!==void 0&&i.push(t),i.push(this.registerCleanupFn);let e=xl(this),n;try{n=this.userFn.apply(null,i)}finally{Tc(this,e)}return(this.value===aI||!this.equal(this.value,n))&&(this.value=n,this.version++),this.signal}}),uI=class extends Yf{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(un),a),this.scheduler=r;for(let s of AT){let d=e[s];if(d===void 0)continue;let p=Object.create(SY);p.sequence=this,p.phase=s,p.userFn=d,p.dirty=!0,p.signal=()=>(wl(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??HL)e()}finally{Ic(i)}}};function UL(t,i){let e=i?.injector??m(ie),n=e.get(Wa),r=e.get(h0),o=e.get(Ja,null,{optional:!0});r.impl??=e.get(kT);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(Qm,null,{optional:!0}),d=new uI(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,n,e,o?.snapshot(null));return r.impl.register(d),d}function B0(t,i){let e=Is(t),n=i.elementInjector||$m();return new Gc(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector,i.directives,i.bindings)}function V0(t){let i=Is(t);if(!i)return null;let e=new Gc(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 zL=null;function Zo(){return zL}function fI(t){zL??=t}var pg=class{},zl=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(GL),providedIn:"platform"})}return t})(),gI=new R(""),GL=(()=>{class t extends zl{_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 j0(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function WL(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function es(t){return t&&t[0]!=="?"?`?${t}`:t}var ts=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(U0),providedIn:"root"})}return t})(),H0=new R(""),U0=(()=>{class t extends ts{_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: 6,400 bytes, line 4
4HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return j0(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+es(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+es(o));this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+es(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(zl),F(H0,8))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var js=(()=>{class t{_subject=new O;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=AY(WL($L(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+es(n))}normalize(e){return t.stripTrailingSlash(IY(this._basePath,$L(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+es(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+es(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=es;static joinWithSlash=j0;static stripTrailingSlash=WL;static \u0275fac=function(n){return new(n||t)(F(ts))};static \u0275prov=D({token:t,factory:()=>TY(),providedIn:"root"})}return t})();function TY(){return new js(F(ts))}function IY(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function $L(t){return t.replace(/\/index\.html$/,"")}function AY(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var EI=(()=>{class t extends ts{_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=j0(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+es(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+es(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(zl),F(H0,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var Vr=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Vr||{}),zn=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(zn||{}),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||{}),Wl={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 KL(t){return Ko(t)[Ii.LocaleId]}function XL(t,i,e){let n=Ko(t),r=[n[Ii.DayPeriodsFormat],n[Ii.DayPeriodsStandalone]],o=va(r,i);return va(o,e)}function ZL(t,i,e){let n=Ko(t),r=[n[Ii.DaysFormat],n[Ii.DaysStandalone]],o=va(r,i);return va(o,e)}function QL(t,i,e){let n=Ko(t),r=[n[Ii.MonthsFormat],n[Ii.MonthsStandalone]],o=va(r,i);return va(o,e)}function JL(t,i){let n=Ko(t)[Ii.Eras];return va(n,i)}function hg(t,i){let e=Ko(t);return va(e[Ii.DateFormat],i)}function fg(t,i){let e=Ko(t);return va(e[Ii.TimeFormat],i)}function gg(t,i){let n=Ko(t)[Ii.DateTimeFormat];return va(n,i)}function _g(t,i){let e=Ko(t),n=e[Ii.NumberSymbols][i];if(typeof n>"u"){if(i===Wl.CurrencyDecimal)return e[Ii.NumberSymbols][Wl.Decimal];if(i===Wl.CurrencyGroup)return e[Ii.NumberSymbols][Wl.Group]}return n}function e2(t){if(!t[Ii.ExtraData])throw new ce(2303,!1)}function t2(t){let i=Ko(t);return e2(i),(i[Ii.ExtraData][2]||[]).map(n=>typeof n=="string"?_I(n):[_I(n[0]),_I(n[1])])}function n2(t,i,e){let n=Ko(t);e2(n);let r=[n[Ii.ExtraData][0],n[Ii.ExtraData][1]],o=va(r,i)||[];return va(o,e)||[]}function va(t,i){for(let e=i;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new ce(2304,!1)}function _I(t){let[i,e]=t.split(":");return{hours:+i,minutes:+e}}var kY=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,z0={},RY=/((?:[^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]*)/,MY=256;function i2(t,i,e,n){let r=UY(t);NY(i),i=Gl(e,i)||i;let a=[],s;for(;i;)if(s=RY.exec(i),s){a=a.concat(s.slice(1));let f=a.pop();if(!f)break;
vendor: 5,618 bytes, line 4
4i=f}else{a.push(i);break}let d=r.getTimezoneOffset();n&&(d=o2(n,d),r=HY(r,n));let p="";return a.forEach(f=>{let b=VY(f);p+=b?b(r,e,d):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function NY(t){if(t.length>MY)throw new ce(2300,!1)}function q0(t,i,e){let n=new Date(0);return n.setFullYear(t,i,e),n.setHours(0,0,0),n}function Gl(t,i){let e=KL(t);if(z0[e]??={},z0[e][i])return z0[e][i];let n="";switch(i){case"shortDate":n=hg(t,To.Short);break;case"mediumDate":n=hg(t,To.Medium);break;case"longDate":n=hg(t,To.Long);break;case"fullDate":n=hg(t,To.Full);break;case"shortTime":n=fg(t,To.Short);break;case"mediumTime":n=fg(t,To.Medium);break;case"longTime":n=fg(t,To.Long);break;case"fullTime":n=fg(t,To.Full);break;case"short":let r=Gl(t,"shortTime"),o=Gl(t,"shortDate");n=G0(gg(t,To.Short),[r,o]);break;case"medium":let a=Gl(t,"mediumTime"),s=Gl(t,"mediumDate");n=G0(gg(t,To.Medium),[a,s]);break;case"long":let d=Gl(t,"longTime"),p=Gl(t,"longDate");n=G0(gg(t,To.Long),[d,p]);break;case"full":let f=Gl(t,"fullTime"),b=Gl(t,"fullDate");n=G0(gg(t,To.Full),[f,b]);break}return n&&(z0[e][i]=n),n}function G0(t,i){return i&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return i!=null&&n in i?i[n]:e})),t}function ns(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 OY(t,i){return ns(t,3).substring(0,i)}function Pi(t,i,e=0,n=!1,r=!1){return function(o,a){let s=FY(t,o);if((e>0||s>-e)&&(s+=e),t===3)s===0&&e===-12&&(s=12);else if(t===6)return OY(s,i);let d=_g(a,Wl.MinusSign);return ns(s,i,d,n,r)}}function FY(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=Vr.Format,n=!1){return function(r,o){return PY(r,o,t,i,e,n)}}function PY(t,i,e,n,r,o){switch(e){case 2:return QL(i,r,n)[t.getMonth()];case 1:return ZL(i,r,n)[t.getDay()];case 0:let a=t.getHours(),s=t.getMinutes();if(o){let p=t2(i),f=n2(i,r,n),b=p.findIndex(w=>{if(Array.isArray(w)){let[k,M]=w,J=a>=k.hours&&s>=k.minutes,j=a<M.hours||a===M.hours&&s<M.minutes;if(k.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 XL(i,r,n)[a<12?0:1];case 3:return JL(i,n)[t.getFullYear()<=0?0:1];default:let d=e;throw new ce(2302,!1)}}function W0(t){return function(i,e,n){let r=-1*n,o=_g(e,Wl.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+ns(a,2,o)+ns(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+ns(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+ns(a,2,o)+":"+ns(Math.abs(r%60),2,o);case 3:return n===0?"Z":(r>=0?"+":"")+ns(a,2,o)+":"+ns(Math.abs(r%60),2,o);default:throw new ce(2310,!1)}}}var LY=0,Y0=4;function BY(t){let i=q0(t,LY,1).getDay();return q0(t,0,1+(i<=Y0?Y0:Y0+7)-i)}function r2(t){let i=t.getDay(),e=i===0?-3:Y0-i;return q0(t.getFullYear(),t.getMonth(),t.getDate()+e)}function bI(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=r2(e),a=BY(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5)}return ns(r,t,_g(n,Wl.MinusSign))}}function $0(t,i=!1){return function(e,n){let o=r2(e).getFullYear();return ns(o,t,_g(n,Wl.MinusSign),i)}}var vI={};function VY(t){if(vI[t])return vI[t];let i;switch(t){case"G":case"GG":case"GGG":i=Xn(3,zn.Abbreviated);break;case"GGGG":i=Xn(3,zn.Wide);break;case"GGGGG":i=Xn(3,zn.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=$0(1);break;case"YY":i=$0(2,!0);break;case"YYY":i=$0(3);break;case"YYYY":i=$0(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,zn.Abbreviated);break;case"MMMM":i=Xn(2,zn.Wide);break;case"MMMMM":i=Xn(2,zn.Narrow);break;case"LLL":i=Xn(2,zn.Abbreviated,Vr.Standalone);break;case"LLLL":i=Xn(2,zn.Wide,Vr.Standalone);break;case"LLLLL":i=Xn(2,zn.Narrow,Vr.Standalone);break;case"w":i=bI(1);break;case"ww":i=bI(2);break;case"W":i=bI(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,zn.Abbreviated,Vr.Standalone);break;case"cccc":i=Xn(1,zn.Wide,Vr.Standalone);break;case"ccccc":i=Xn(1,zn.Narrow,Vr.Standalone);break;case"cccccc":i=Xn(1,zn.Short,Vr.Standalone);break;case"E":case"EE":case"EEE":i=Xn(1,zn.Abbreviated);break;case"EEEE":i=Xn(1,zn.Wide);break;case"EEEEE":i=Xn(1,zn.Narrow);break;case"EEEEEE":i=Xn(1,zn.Short);break;case"a":case"aa":case"aaa":i=Xn(0,zn.Abbreviated);break;case"aaaa":i=Xn(0,zn.Wide);break;case"aaaaa":i=Xn(0,zn.Narrow);break;case"b":case"bb":case"bbb":i=Xn(0,zn.Abbreviated,Vr.Standalone,!0);break;case"bbbb":i=Xn(0,zn.Wide,Vr.Standalone,!0);break;case"bbbbb":i=Xn(0,zn.Narrow,Vr.Standalone,!0);break;case"B":case"BB":case"BBB":i=Xn(0,zn.Abbreviated,Vr.Format,!0);break;case"BBBB":i=Xn(0,zn.Wide,Vr.Format,!0);break;case"BBBBB":i=Xn(0,zn.Narrow,Vr.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=W0(0);break;case"ZZZZZ":i=W0(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=W0(1);break;
vendor: 17,265 bytes, line 4
4case"OOOO":case"ZZZZ":case"zzzz":i=W0(2);break;default:return null}return vI[t]=i,i}function o2(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function jY(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function HY(t,i,e){let r=t.getTimezoneOffset(),o=o2(i,r);return jY(t,-1*(o-r))}function UY(t){if(YL(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 q0(r,o-1,a)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(kY))return zY(n)}let i=new Date(t);if(!YL(i))throw new ce(2311,!1);return i}function zY(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 YL(t){return t instanceof Date&&!isNaN(t.valueOf())}var yI=/\s+/,qL=[],dr=(()=>{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(yI):qL}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(yI):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(yI).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 ku=(()=>{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 wI(t,i){return new ce(2100,!1)}var CI=class{createSubscription(i,e,n){return Wt(()=>i.subscribe({next:e,error:n}))}dispose(i){Wt(()=>i.unsubscribe())}},DI=class{createSubscription(i,e,n){return i.then(r=>e?.(r),r=>n?.(r)),{unsubscribe:()=>{e=null,n=null}}}dispose(i){i.unsubscribe()}},GY=new DI,WY=new CI,er=(()=>{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(jl(e))return GY;if(S0(e))return WY;throw wI(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 $Y=(()=>{class t{transform(e){return e==null?null:(YY(t,e),e.toUpperCase())}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=pe({name:"uppercase",type:t,pure:!0})}return t})();function YY(t,i){if(typeof i!="string")throw wI(t,i)}var qY="mediumDate",a2=new R(""),s2=new R(""),mn=(()=>{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??qY,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return i2(e,a,o||this.locale,s)}catch(a){throw wI(t,a.message)}}static \u0275fac=function(n){return new(n||t)(E(Au,16),E(a2,24),E(s2,24))};static \u0275pipe=pe({name:"date",type:t,pure:!0})}return t})();var Xc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();function bg(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 Ru=class{};var SI="browser";function K0(t){return t===SI}var TI=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new xI(m(Ce),window)})}return t})(),xI=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(ke(P({},e),{left:i[0],top:i[1]}))}scrollToAnchor(i,e){let n=XY(this.document,i);n&&(this.scrollToElement(n,e),n.focus({preventScroll:!0}))}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch(e){console.warn(ha(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(ke(P({},e),{left:r-a[0],top:o-a[1]}))}};function XY(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 d2=t=>t.src,ZY=new R("",{factory:()=>d2});var l2=/^((\s*\d+w\s*(,|$)){1,})$/;var QY=[1,2],JY=640;var eq=1920,tq=1080;var MPe=(()=>{class t{imageLoader=m(ZY);config=nq(m(s0));renderer=m(ot);imgElement=m(Q).nativeElement;injector=m(ie);destroyRef=m(un);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(){qo("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&&l2.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=l2.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>=JY)),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 QY.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>eq||this.height>tq),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==d2&&!e}generatePlaceholder(e){let{placeholderResolution:n}=this.config;return e===!0?`url("${c2(this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0}))}")`:typeof e=="string"?`url("${c2(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()}),iq(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",rq],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",an],height:[2,"height","height",an],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",Y],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Y],fill:[2,"fill","fill",Y],placeholder:[2,"placeholder","placeholder",oq],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Ke]})}return t})();function nq(t){let i={};return t.breakpoints&&(i.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},a0,t,i)}function iq(t,i){t.complete&&t.naturalWidth&&i()}function rq(t){return typeof t=="string"?t:so(t)}function c2(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function oq(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:Y(t)}var vg=class{_doc;constructor(i){this._doc=i}manager},X0=(()=>{class t extends vg{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})(),J0=new R(""),RI=(()=>{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 X0));this._plugins=r.slice().reverse();let o=e.find(a=>a instanceof X0);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(J0),F(le))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),II="ng-app-id";function u2(t){for(let i of t)i.remove()}function m2(t,i){let e=i.createElement("style");return e.textContent=t,e}function aq(t,i,e,n){let r=t.head?.querySelectorAll(`style[${II}="${i}"],link[${II}="${i}"]`);if(r)for(let o of r)o.removeAttribute(II),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 kI(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var MI=(()=>{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,aq(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,m2);n?.forEach(r=>this.addUsage(r,this.external,kI))}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&&(u2(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])u2(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,m2(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(e,kI(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(Wc),F(xu,8),F(Ll))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),AI={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"},NI=/%COMP%/g;var h2="%COMP%",sq=`_nghost-${h2}`,lq=`_ngcontent-${h2}`,cq=!0,dq=new R("",{factory:()=>cq});function uq(t){return lq.replace(NI,t)}function mq(t){return sq.replace(NI,t)}function f2(t,i){return i.map(e=>e.replace(NI,t))}var OI=(()=>{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 yg(e,a,s,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,n);return r instanceof Q0?r.applyToHost(e):r instanceof Cg&&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 Qa.Emulated:o=new Q0(d,p,n,this.appId,f,a,s,b);break;case Qa.ShadowDom:return new Z0(d,e,n,a,s,this.nonce,b,p);case Qa.ExperimentalIsolatedShadowDom:return new Z0(d,e,n,a,s,this.nonce,b);default:o=new Cg(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(RI),F(MI),F(Wc),F(dq),F(Ce),F(le),F(xu),F(Ja,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),yg=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;
vendor: 7,563 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(AI[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(p2(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(p2(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=AI[r];o?i.setAttributeNS(o,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let r=AI[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&(Os.DashCase|Os.Important)?i.style.setProperty(e,n,r&Os.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&Os.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 p2(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Z0=class extends yg{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=f2(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=kI(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)}},Cg=class extends yg{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?f2(d,p):p,this.styleUrls=n.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Eu.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Q0=class extends Cg{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=uq(p),this.hostAttr=mq(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 ey=class t extends pg{supportsDOMEvents=!0;static makeCurrent(){fI(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=pq();return e==null?null:hq(e)}resetBaseElement(){Dg=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return bg(document.cookie,i)}},Dg=null;function pq(){return Dg=Dg||document.head.querySelector("base"),Dg?Dg.getAttribute("href"):null}function hq(t){return new URL(t,document.baseURI).pathname}var ty=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)}},fq=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),g2=["alt","control","meta","shift"],gq={"\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"},_q={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},_2=(()=>{class t extends vg{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."),g2.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=gq[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"),g2.forEach(a=>{if(a!==r){let s=_q[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 bq(){ey.makeCurrent()}function vq(){return new Br}function yq(){return hT(document),document}var Cq=[{provide:Ll,useValue:SI},{provide:o0,useValue:bq,multi:!0},{provide:Ce,useFactory:yq}],Dq=pI(VL,"browser",Cq);var Eq=[{provide:x0,useClass:ty},{provide:w0,useClass:lg},{provide:lg,useClass:lg}],wq=[{provide:Ff,useValue:"root"},{provide:Br,useFactory:vq},{provide:J0,useClass:X0,multi:!0},{provide:J0,useClass:_2,multi:!0},OI,MI,RI,{provide:gi,useExisting:OI},{provide:Ru,useClass:fq},[]],xq=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[...wq,...Eq],imports:[Xc,jL]})}return t})();var Qc=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 iy=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()}},ry=class{encodeKey(i){return b2(i)}encodeValue(i){return b2(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function Sq(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 Tq=/%(\d[a-f0-9])/gi,Iq={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function b2(t){return encodeURIComponent(t).replace(Tq,(i,e)=>Iq[e]??i)}function ny(t){return`${t}`}var rt=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new ry,i.fromString){if(i.fromObject)throw new ce(2805,!1);this.map=Sq(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(ny):[ny(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=[];
vendor: 6,702 bytes, line 5
5return 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(ny(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(ny(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 Aq(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function v2(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function y2(t){return typeof Blob<"u"&&t instanceof Blob}function C2(t){return typeof FormData<"u"&&t instanceof FormData}function kq(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var D2="Content-Type",E2="Accept",x2="text/plain",S2="application/json",Rq=`${S2}, ${x2}, */*`,up=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(Aq(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 Qc,this.context??=new iy,!this.params)this.params=new rt,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"||v2(this.body)||y2(this.body)||C2(this.body)||kq(this.body)?this.body:this.body instanceof rt?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||C2(this.body)?null:y2(this.body)?this.body.type||null:v2(this.body)?null:typeof this.body=="string"?x2:this.body instanceof rt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?S2: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,k=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,nn=i.headers||this.headers,jt=i.params||this.params,Oi=i.context??this.context;return i.setHeaders!==void 0&&(nn=Object.keys(i.setHeaders).reduce((xc,Zd)=>xc.set(Zd,i.setHeaders[Zd]),nn)),i.setParams&&(jt=Object.keys(i.setParams).reduce((xc,Zd)=>xc.set(Zd,i.setParams[Zd]),jt)),new t(e,n,j,{params:jt,headers:nn,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:k})}},Mu=(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})(Mu||{}),mp=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(i,e=200,n="OK"){this.headers=i.headers||new Qc,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}},oy=class t extends mp{constructor(i={}){super(i)}type=Mu.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})}},Eg=class t extends mp{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=Mu.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})}},Zc=class extends mp{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}},Mq=200,Nq=204;var Oq=new R("");var Fq=/^\)\]\}',?\n/;var PI=(()=>{class t{xhrFactory;tracingService=m(Ja,{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 L(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(E2)||a.setRequestHeader(E2,Rq),!e.headers.has(D2)){let j=e.detectContentTypeHeader();j!==null&&a.setRequestHeader(D2,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 Qc(a.getAllResponseHeaders()),Te=a.responseURL||e.url;return d=new oy({headers:K,status:a.status,statusText:j,url:Te}),d},f=this.maybePropagateTrace(()=>{let{headers:j,status:K,statusText:Te,url:nn}=p(),jt=null;K!==Nq&&(jt=typeof a.response>"u"?a.responseText:a.response),K===0&&(K=jt?Mq:0);let Oi=K>=200&&K<300;if(e.responseType==="json"&&typeof jt=="string"){let xc=jt;jt=jt.replace(Fq,"");try{jt=jt!==""?JSON.parse(jt):null}catch(Zd){jt=xc,Oi&&(Oi=!1,jt={error:Zd,text:jt})}}Oi?(o.next(new Eg({body:jt,headers:j,status:K,statusText:Te,url:nn||void 0})),o.complete()):o.error(new Zc({error:jt,headers:j,status:K,statusText:Te,url:nn||void 0}))}),b=this.maybePropagateTrace(j=>{let{url:K}=p(),Te=new Zc({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 Zc({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:K||void 0});o.error(Te)}));let k=!1,M=this.maybePropagateTrace(j=>{k||(o.next(p()),k=!0);let K={type:Mu.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:Mu.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:Mu.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(Ru))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Pq=new R("",{factory:()=>!0}),Lq="XSRF-TOKEN",T2=new R("",{factory:()=>Lq}),Bq="X-XSRF-TOKEN",I2=new R("",{factory:()=>Bq}),Vq=(()=>{class t{cookieName=m(T2);doc=m(Ce);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=bg(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})(),A2=(()=>{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(Vq),r},providedIn:"root"})}return t})();function k2(t,i){if(!m(Pq)||t.method==="GET"||t.method==="HEAD")return i(t);try{let r=m(zl).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(A2).getToken(),n=m(I2);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),i(t)}function R2(t,i){return i(t)}function jq(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function Hq(t,i,e){return(n,r)=>Ki(e,()=>i(n,o=>t(o,r)))}var M2=new R(""),LI=new R("",{factory:()=>[k2]}),N2=new R(""),BI=new R("",{factory:()=>!0});function Uq(){let t=null;return(i,e)=>{t===null&&(t=(m(M2,{optional:!0})??[]).reduceRight(jq,R2));let n=m(yu);if(m(BI)){let o=n.add();return t(i,e).pipe(Qr(o))}else return t(i,e)}}var VI=(()=>{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(PI),r},providedIn:"root"})}return t})();var ay=(()=>{class t{backend;injector;chain=null;pendingTasks=m(yu);contributeToStability=m(BI);constructor(e,n){this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=this.injector.get(sy,null,{skipSelf:!0}),r=n!==null&&this.backend===n,o=this.injector.get(N2,[],r?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(LI),...o]));this.chain=a.reduceRight((s,d)=>Hq(s,d,this.injector),R2)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Qr(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(F(VI),F(_n))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sy=(()=>{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(ay),r},providedIn:"root"})}return t})();function FI(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 up)o=e;else{let d;r.headers instanceof Qc?d=r.headers:d=new Qc(r.headers);let p;r.params&&(r.params instanceof rt?p=r.params:p=new rt({fromObject:r.params})),o=new up(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=L(o).pipe(Ss(d=>this.handler.handle(d)));if(e instanceof up||r.observe==="events")return a;let s=a.pipe(ae(d=>d instanceof Eg));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 rt().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,FI(r,n))}post(e,n,r={}){return this.request("POST",e,FI(r,n))}put(e,n,r={}){return this.request("PUT",e,FI(r,n))}static \u0275fac=function(n){return new(n||t)(F(sy))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ly=(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})(ly||{});function O2(t,i){return{\u0275kind:t,\u0275providers:i}}function zq(...t){let i=[ge,ay,{provide:sy,useExisting:ay},{provide:VI,useFactory:()=>m(Oq,{optional:!0})??m(PI)},{provide:LI,useValue:k2,multi:!0}];for(let e of t)i.push(...e.\u0275providers);return Lc(i)}var w2=new R("");function Gq(){return O2(ly.LegacyInterceptors,[{provide:w2,useFactory:Uq},{provide:LI,useExisting:w2,multi:!0}])}function Wq({cookieName:t,headerName:i}){let e=[];return t!==void 0&&e.push({provide:T2,useValue:t}),i!==void 0&&e.push({provide:I2,useValue:i}),O2(ly.CustomXsrfConfiguration,e)}var F2=(()=>{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 Nu=(()=>{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($q),r},providedIn:"root"})}return t})(),$q=(()=>{class t extends Nu{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case dn.NONE:return n;case dn.HTML:return Ps(n,"HTML")?so(n):u0(this._doc,String(n)).toString();case dn.STYLE:return Ps(n,"Style")?so(n):n;case dn.SCRIPT:if(Ps(n,"Script"))return so(n);throw new ce(5200,!1);case dn.URL:return Ps(n,"URL")?so(n):ig(String(n));case dn.RESOURCE_URL:if(Ps(n,"ResourceURL"))return so(n);throw new ce(5201,!1);default:throw new ce(5202,!1)}}bypassSecurityTrustHtml(e){return _T(e)}bypassSecurityTrustStyle(e){return bT(e)}bypassSecurityTrustScript(e){return vT(e)}bypassSecurityTrustUrl(e){return yT(e)}bypassSecurityTrustResourceUrl(e){return CT(e)}static \u0275fac=function(n){return new(n||t)(F(Ce))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var z2=(()=>{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})(),G2=(()=>{class t extends z2{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,features:[he]})}return t})(),tr=new R("");var Yq={provide:tr,useExisting:bn(()=>Je),multi:!0};function qq(){let t=Zo()?Zo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Kq=new R(""),Je=(()=>{class t extends z2{_compositionMode;_composing=!1;constructor(e,n,r){super(e,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!qq())}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(Kq,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([Yq]),he]})}return t})();function zI(t){return t==null||GI(t)===0}function GI(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Qo=new R(""),Rg=new R(""),Xq=/^(?=.{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 Zq(i)}static max(i){return Qq(i)}static required(i){return W2(i)}static requiredTrue(i){return Jq(i)}static email(i){return eK(i)}static minLength(i){return tK(i)}static maxLength(i){return $2(i)}static pattern(i){return nK(i)}static nullValidator(i){return dy()}static compose(i){return Q2(i)}static composeAsync(i){return J2(i)}};function Zq(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 Qq(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 W2(t){return zI(t.value)?{required:!0}:null}function Jq(t){return t.value===!0?null:{required:!0}}function eK(t){return zI(t.value)||Xq.test(t.value)?null:{email:!0}}function tK(t){return i=>{let e=i.value?.length??GI(i.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function $2(t){return i=>{let e=i.value?.length??GI(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function nK(t){if(!t)return dy;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(zI(n.value))return null;let r=n.value;return i.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function dy(t){return null}function Y2(t){return t!=null}function q2(t){return jl(t)?gn(t):t}function K2(t){let i={};return t.forEach(e=>{i=e!=null?P(P({},i),e):i}),Object.keys(i).length===0?null:i}function X2(t,i){return i.map(e=>e(t))}function iK(t){return!t.validate}function Z2(t){return t.map(i=>iK(i)?i:e=>i.validate(e))}function Q2(t){if(!t)return null;let i=t.filter(Y2);return i.length==0?null:function(e){return K2(X2(e,i))}}function WI(t){return t!=null?Q2(Z2(t)):null}function J2(t){if(!t)return null;let i=t.filter(Y2);return i.length==0?null:function(e){let n=X2(e,i).map(q2);return vf(n).pipe($(K2))}}function $I(t){return t!=null?J2(Z2(t)):null}function P2(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function eB(t){return t._rawValidators}function tB(t){return t._rawAsyncValidators}function HI(t){return t?Array.isArray(t)?t:[t]:[]}function uy(t,i){return Array.isArray(t)?t.includes(i):t===i}function L2(t,i){let e=HI(i);return HI(t).forEach(r=>{uy(e,r)||e.push(r)}),e}function B2(t,i){return HI(i).filter(e=>!uy(t,e))}var my=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=WI(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=$I(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}},Hs=class extends my{name;get formDirective(){return null}get path(){return null}},Li=class extends my{_parent=null;name=null;valueAccessor=null},py=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 py{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 py{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(E(Hs,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 wg="VALID",cy="INVALID",pp="PENDING",xg="DISABLED",Jc=class{},hy=class extends Jc{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Tg=class extends Jc{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Ig=class extends Jc{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},hp=class extends Jc{status;source;constructor(i,e){super(),this.status=i,this.source=e}},fy=class extends Jc{source;constructor(i){super(),this.source=i}},Ag=class extends Jc{source;constructor(i){super(),this.source=i}};function YI(t){return(yy(t)?t.validators:t)||null}function rK(t){return Array.isArray(t)?WI(t):t||null}function qI(t,i){return(yy(i)?i.asyncValidators:t)||null}function oK(t){return Array.isArray(t)?$I(t):t||null}function yy(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function nB(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 iB(t,i,e){t._forEachChild((n,r)=>{if(e[r]===void 0)throw new ce(-1002,"")})}var fp=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===wg}get invalid(){return this.status===cy}get pending(){return this.status===pp}get disabled(){return this.status===xg}get enabled(){return this.status!==xg}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(L2(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(L2(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(B2(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(B2(i,this._rawAsyncValidators))}hasValidator(i){return uy(this._rawValidators,i)}hasAsyncValidator(i){return uy(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(ke(P({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Ig(!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 Ig(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;i.onlySelf||this._parent?.markAsDirty(ke(P({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new Tg(!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 Tg(!0,n))}markAsPending(i={}){this.status=pp;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new hp(this.status,e)),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.markAsPending(ke(P({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=xg,this.errors=null,this._forEachChild(r=>{r.disable(ke(P({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new hy(this.value,n)),this._events.next(new hp(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ke(P({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=wg,this._forEachChild(n=>{n.enable(ke(P({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(ke(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===wg||this.status===pp)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new hy(this.value,e)),this._events.next(new hp(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.updateValueAndValidity(ke(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()?xg:wg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=pp,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 hp(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?xg:this.errors?cy:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pp)?pp:this._anyControlsHaveStatus(cy)?cy:wg}_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 Tg(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Ig(this.touched,e)),i.onlySelf||this._parent?._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){yy(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=rK(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=oK(this._rawAsyncValidators)}},Ou=class extends fp{constructor(i,e,n){super(YI(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){iB(this,!0,i),Object.keys(i).forEach(n=>{nB(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,ke(P({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Ag(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=Ou;var UI=class extends Ou{};var gp=new R("",{factory:()=>Cy}),Cy="always";function rB(t,i){return[...i.path,t]}function kg(t,i,e=Cy){KI(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),sK(t,i),cK(t,i),lK(t,i),aK(t,i)}function gy(t,i,e=!0){let n=()=>{};i?.valueAccessor?.registerOnChange(n),i?.valueAccessor?.registerOnTouched(n),by(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function _y(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function aK(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function KI(t,i){let e=eB(t);i.validator!==null?t.setValidators(P2(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=tB(t);i.asyncValidator!==null?t.setAsyncValidators(P2(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();_y(i._rawValidators,r),_y(i._rawAsyncValidators,r)}function by(t,i){let e=!1;if(t!==null){if(i.validator!==null){let r=eB(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=tB(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 _y(i._rawValidators,n),_y(i._rawAsyncValidators,n),e}function sK(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&oB(t,i)})}function lK(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&oB(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function oB(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function cK(t,i){let e=(n,r)=>{i.valueAccessor.writeValue(n),r&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function aB(t,i){t==null,KI(t,i)}function dK(t,i){return by(t,i)}function XI(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function uK(t){return Object.getPrototypeOf(t.constructor)===G2}function sB(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function ZI(t,i){if(!i)return null;Array.isArray(i);let e,n,r;return i.forEach(o=>{o.constructor===Je?e=o:uK(o)?n=o:r=o}),r||n||e||null}function mK(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var pK={provide:Hs,useExisting:bn(()=>_p)},Sg=Promise.resolve(),_p=(()=>{class t extends Hs{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 Ou({},WI(e),$I(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Sg.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),kg(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Sg.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Sg.then(()=>{let n=this._findContainer(e.path),r=new Ou({});aB(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Sg.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Sg.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),sB(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new fy(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(Rg,10),E(gp,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([pK]),he]})}return t})();function V2(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function j2(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var mo=class extends fp{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(YI(e),qI(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),yy(e)&&(e.nonNullable||e.initialValueIsDefault)&&(j2(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 Ag(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){V2(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){V2(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){j2(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=mo,hK=t=>t instanceof mo;var fK={provide:Li,useExisting:bn(()=>ed)},H2=Promise.resolve(),ed=(()=>{class t extends Li{_changeDetectorRef;callSetDisabledState;control=new mo;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=ZI(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),XI(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(){kg(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){H2.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&Y(n);H2.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?rB(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(E(Hs,9),E(Qo,10),E(Rg,10),E(tr,10),E(Ee,8),E(gp,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([fK]),he,Ke]})}return t})();var jr=(()=>{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})(),gK={provide:tr,useExisting:bn(()=>Fu),multi:!0},Fu=(()=>{class t extends G2{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([gK]),he]})}return t})();var vy=class extends fp{constructor(i,e,n){super(YI(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={}){iB(this,!1,i),i.forEach((n,r)=>{nB(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],ke(P({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Ag(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}},l2e=vy;var _K=(()=>{class t extends Hs{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&&(by(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 kg(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){gy(e.control||null,e,!1),mK(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,sB(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new fy(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(gy(n||null,e),hK(r)&&(kg(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);aB(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let n=this.form?.get(e.path);n&&dK(n,e)&&n.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){KI(this.form,this),this._oldForm&&by(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(n){return new(n||t)(E(Qo,10),E(Rg,10),E(gp,8))};static \u0275dir=N({type:t,features:[he,Ke]})}return t})();var QI=new R(""),bK={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=ZI(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let n=e.form.previousValue;n&&gy(n,this,!1),kg(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}XI(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&gy(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(Rg,10),E(tr,10),E(QI,8),E(gp,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([bK]),he,Ke]})}return t})();var vK={provide:Li,useExisting:bn(()=>Pu)},Pu=(()=>{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=ZI(this,o)}ngOnChanges(e){this._added||this._setUpControl(),XI(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 rB(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(Hs,13),E(Qo,10),E(Rg,10),E(tr,10),E(QI,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([vK]),he,Ke]})}return t})();var yK={provide:Hs,useExisting:bn(()=>qn)},qn=(()=>{class t extends _K{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([yK]),he]})}return t})();function CK(t){return typeof t=="number"?t:parseInt(t,10)}var lB=(()=>{class t{_validator=dy;_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):dy,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 DK={provide:Qo,useExisting:bn(()=>pn),multi:!0};var pn=(()=>{class t extends lB{required;inputName="required";normalizeInput=Y;createValidator=e=>W2;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([DK]),he]})}return t})();var EK={provide:Qo,useExisting:bn(()=>Bi),multi:!0},Bi=(()=>{class t extends lB{maxlength;inputName="maxlength";normalizeInput=e=>CK(e);createValidator=e=>$2(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([EK]),he]})}return t})();var cB=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();function U2(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var xr=(()=>{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 U2(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new Ou(r,o)}record(e,n=null){let r=this._reduceControls(e);return new UI(r,n)}control(e,n,r){let o={};return this.useNonNullable?(U2(n)?o=n:(o.validators=n,o.asyncValidators=r),new mo(e,ke(P({},o),{nonNullable:!0}))):new mo(e,n,r)}array(e,n,r){let o=e.map(a=>this._createControl(a));return new vy(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 mo)return e;if(e instanceof fp)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 xr{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})(),JI=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:gp,useValue:e.callSetDisabledState??Cy}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[cB]})}return t})(),is=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:QI,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:gp,useValue:e.callSetDisabledState??Cy}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[cB]})}return t})();var xt="primary",Gg=Symbol("RouteTitle"),oA=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 Bu(t){return new oA(t)}function eA(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 gB(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 eA(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!eA(o,t.slice(0,o.length),s)||!eA(a,t.slice(t.length-a.length),s)?null:{consumed:t,posParams:s}}function Ty(t){return new Promise((i,e)=>{t.pipe(Ga()).subscribe({next:n=>i(n),error:n=>e(n)})})}function wK(t,i){if(t.length!==i.length)return!1;for(let e=0;e<t.length;++e)if(!Us(t[e],i[e]))return!1;return!0}function Us(t,i){let e=t?aA(t):void 0,n=i?aA(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],!_B(t[r],i[r]))return!1;return!0}function aA(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function _B(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 xK(t){return t.length>0?t[t.length-1]:null}function ju(t){return Tl(t)?t:jl(t)?gn(Promise.resolve(t)):L(t)}function bB(t){return Tl(t)?Ty(t):Promise.resolve(t)}var SK={exact:yB,subset:CB},vB={exact:TK,subset:IK,ignored:()=>!0},yA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function CA(t,i,e){let n=t instanceof po?t:i.parseUrl(t);return Ct(()=>sA(i.lastSuccessfulNavigation()?.finalUrl??new po,n,P(P({},Pg),e)))}function sA(t,i,e){return SK[e.paths](t.root,i.root,e.matrixParams)&&vB[e.queryParams](t.queryParams,i.queryParams)&&!(e.fragment==="exact"&&t.fragment!==i.fragment)}function TK(t,i){return Us(t,i)}function yB(t,i,e){if(!Lu(t.segments,i.segments)||!wy(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]||!yB(t.children[n],i.children[n],e))return!1;return!0}function IK(t,i){return Object.keys(i).length<=Object.keys(t).length&&Object.keys(i).every(e=>_B(t[e],i[e]))}function CB(t,i,e){return DB(t,i,i.segments,e)}function DB(t,i,e,n){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Lu(r,e)||i.hasChildren()||!wy(r,e,n))}else if(t.segments.length===e.length){if(!Lu(t.segments,e)||!wy(t.segments,e,n))return!1;for(let r in i.children)if(!t.children[r]||!CB(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!Lu(t.segments,r)||!wy(t.segments,r,n)||!t.children[xt]?!1:DB(t.children[xt],i,o,n)}}function wy(t,i,e){return i.every((n,r)=>vB[e](t[r].parameters,n.parameters))}var po=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??=Bu(this.queryParams),this._queryParamMap}toString(){return RK.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 xy(this)}},td=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=Bu(this.parameters),this._parameterMap}toString(){return wB(this)}};function AK(t,i){return Lu(t,i)&&t.every((e,n)=>Us(e.parameters,i[n].parameters))}function Lu(t,i){return t.length!==i.length?!1:t.every((e,n)=>e.path===i[n].path)}function kK(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 id=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new Yl,providedIn:"root"})}return t})(),Yl=class{parse(i){let e=new cA(i);return new po(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${Mg(i.root,!0)}`,n=OK(i.queryParams),r=typeof i.fragment=="string"?`#${MK(i.fragment)}`:"";return`${e}${n}${r}`}},RK=new Yl;function xy(t){return t.segments.map(i=>wB(i)).join("/")}function Mg(t,i){if(!t.hasChildren())return xy(t);if(i){let e=t.children[xt]?Mg(t.children[xt],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==xt&&n.push(`${r}:${Mg(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=kK(t,(n,r)=>r===xt?[Mg(t.children[xt],!1)]:[`${r}:${Mg(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[xt]!=null?`${xy(t)}/${e[0]}`:`${xy(t)}/(${e.join("//")})`}}function EB(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dy(t){return EB(t).replace(/%3B/gi,";")}function MK(t){return encodeURI(t)}function lA(t){return EB(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Sy(t){return decodeURIComponent(t)}function dB(t){return Sy(t.replace(/\+/g,"%20"))}function wB(t){return`${lA(t.path)}${NK(t.parameters)}`}function NK(t){return Object.entries(t).map(([i,e])=>`;${lA(i)}=${lA(e)}`).join("")}function OK(t){let i=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(r=>`${Dy(e)}=${Dy(r)}`).join("&"):`${Dy(e)}=${Dy(n)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var tA=1073741824;function Iy(t,i,e){Number(i)>=32&&!Object.hasOwn(t,tA)&&(t[tA]=e,delete t[tA]),t[i]=e}var FK=/^[^\/()?;#]+/;function nA(t){let i=t.match(FK);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 jK=/^[^&#]+/;function HK(t){let i=t.match(jK);return i?i[0]:""}var cA=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=nA(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new ce(4009,!1);return this.capture(i),new td(Sy(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=LK(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let r=nA(this.remaining);r&&(n=r,this.capture(n))}Iy(i,Sy(e),Sy(n))}parseQueryParam(i){let e=VK(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let a=HK(this.remaining);a&&(n=a,this.capture(n))}let r=dB(e),o=dB(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=nA(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);Iy(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 xB(t){return t.segments.length>0?new En([],{[xt]:t}):t}function SB(t){let i={};for(let[n,r]of Object.entries(t.children)){let o=SB(r);if(n===xt&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))Iy(i,a,s);else(o.segments.length>0||o.hasChildren())&&Iy(i,n,o)}let e=new En(t.segments,i);return UK(e)}function UK(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 nd(t){return t instanceof po}function TB(t,i,e=null,n=null,r=new Yl){let o=IB(t);return AB(o,i,e,n,r)}function IB(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=xB(n);return i??r}function AB(t,i,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(i.length===0)return iA(o,o,o,e,n,r);let a=zK(i);if(a.toRoot())return iA(o,o,new En([],{}),e,n,r);let s=GK(a,o,t),d=s.processChildren?Og(s.segmentGroup,s.index,a.commands):RB(s.segmentGroup,s.index,a.commands);return iA(o,s.segmentGroup,d,e,n,r)}function Ay(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Lg(t){return typeof t=="object"&&t!=null&&t.outlets}function uB(t,i,e){t||="\u0275";let n=new po;return n.queryParams={[t]:i},e.parse(e.serialize(n)).queryParams[t]}function iA(t,i,e,n,r,o){let a={};for(let[p,f]of Object.entries(n??{}))a[p]=Array.isArray(f)?f.map(b=>uB(p,b,o)):uB(p,f,o);let s;t===i?s=e:s=kB(t,i,e);let d=xB(SB(s));return new po(d,a,r)}function kB(t,i,e){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===i?n[r]=e:n[r]=kB(o,i,e)}),new En(t.segments,n)}var ky=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,n){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=n,i&&n.length>0&&Ay(n[0]))throw new ce(4003,!1);let r=n.find(Lg);if(r&&r!==xK(n))throw new ce(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zK(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ky(!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 ky(e,i,n)}var vp=class{segmentGroup;processChildren;index;constructor(i,e,n){this.segmentGroup=i,this.processChildren=e,this.index=n}};function GK(t,i,e){if(t.isAbsolute)return new vp(i,!0,0);if(!e)return new vp(i,!1,NaN);if(e.parent===null)return new vp(e,!0,0);let n=Ay(t.commands[0])?0:1,r=e.segments.length-1+n;return WK(e,r,t.numberOfDoubleDots)}function WK(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 vp(n,!1,r-o)}function $K(t){return Lg(t[0])?t[0].outlets:{[xt]:t}}function RB(t,i,e){if(t??=new En([],{}),t.segments.length===0&&t.hasChildren())return Og(t,i,e);let n=YK(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),Og(o,0,r)}else return n.match&&r.length===0?new En(t.segments,{}):n.match&&!t.hasChildren()?dA(t,i,e):n.match?Og(t,0,r):dA(t,i,e)}function Og(t,i,e){if(e.length===0)return new En(t.segments,{});{let n=$K(e),r={};if(Object.keys(n).some(o=>o!==xt)&&t.children[xt]&&t.numberOfChildren===1&&t.children[xt].segments.length===0){let o=Og(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]=RB(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 YK(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(Lg(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(!pB(d,p,a))return o;n+=2}else{if(!pB(d,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function dA(t,i,e){let n=t.segments.slice(0,i),r=0;for(;r<e.length;){let o=e[r];if(Lg(o)){let d=qK(o.outlets);return new En(n,d)}if(r===0&&Ay(e[0])){let d=t.segments[i];n.push(new td(d.path,mB(e[0]))),r++;continue}let a=Lg(o)?o.outlets[xt]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&Ay(s)?(n.push(new td(a,mB(s))),r+=2):(n.push(new td(a,{})),r++)}return new En(n,{})}function qK(t){let i={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(i[e]=dA(new En([],{}),0,n))}),i}function mB(t){let i={};return Object.entries(t).forEach(([e,n])=>i[e]=`${n}`),i}function pB(t,i,e){return t==e.path&&Us(i,e.parameters)}var yp="imperative",nr=(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})(nr||{}),ea=class{id;url;constructor(i,e){this.id=i,this.url=e}},zs=class extends ea{type=nr.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=nr.NavigationEnd;constructor(i,e,n){super(i,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Hr=(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})(Hr||{}),Dp=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Dp||{}),ya=class extends ea{reason;code;type=nr.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 MB(t){return t instanceof ya&&(t.code===Hr.Redirect||t.code===Hr.SupersededByNewNavigation)}var Gs=class extends ea{reason;code;type=nr.NavigationSkipped;constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r}},Vu=class extends ea{error;target;type=nr.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})`}},Bg=class extends ea{urlAfterRedirects;state;type=nr.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})`}},Ry=class extends ea{urlAfterRedirects;state;type=nr.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})`}},My=class extends ea{urlAfterRedirects;state;shouldActivate;type=nr.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})`}},Ny=class extends ea{urlAfterRedirects;state;type=nr.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})`}},Oy=class extends ea{urlAfterRedirects;state;type=nr.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})`}},Fy=class{route;type=nr.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Py=class{route;type=nr.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ly=class{snapshot;type=nr.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},By=class{snapshot;type=nr.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vy=class{snapshot;type=nr.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jy=class{snapshot;type=nr.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ep=class{routerEvent;position;anchor;scrollBehavior;type=nr.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}')`}},wp=class{},Vg=class{},xp=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function KK(t){return!(t instanceof wp)&&!(t instanceof xp)&&!(t instanceof Vg)}var Hy=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 Hu(this.rootInjector)}},Hu=(()=>{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 Hy(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})(),Uy=class{_root;constructor(i){this._root=i}get root(){return this._root.value}
vendor: 18,005 bytes, line 5
5parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=uA(i,this._root);return e?e.children.map(n=>n.value):[]}firstChild(i){let e=uA(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=mA(i,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==i)}pathFromRoot(i){return mA(i,this._root).map(e=>e.value)}};function uA(t,i){if(t===i.value)return i;for(let e of i.children){let n=uA(t,e);if(n)return n}return null}function mA(t,i){if(t===i.value)return[i];for(let e of i.children){let n=mA(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 bp(t){let i={};return t&&t.children.forEach(e=>i[e.value.outlet]=e),i}var jg=class extends Uy{snapshot;constructor(i,e){super(i),this.snapshot=e,EA(this,i)}toString(){return this.snapshot.toString()}};function NB(t,i){let e=XK(t,i),n=new zt([new td("",{})]),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 jg(new Jo(d,[]),e)}function XK(t,i){let e={},n={},r={},a=new Sp([],e,r,"",n,xt,t,null,{},i);return new Hg("",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[Gg]))??L(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=>Bu(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe($(i=>Bu(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function DA(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&&FB(r)&&(n.resolve[Gg]=r.title),n}var Sp=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Gg]}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??=Bu(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Bu(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}')`}},Hg=class extends Uy{url;constructor(i,e){super(e),this.url=i,EA(this,e)}toString(){return OB(this._root)}};function EA(t,i){i.value._routerState=t,i.children.forEach(e=>EA(t,e))}function OB(t){let i=t.children.length>0?` { ${t.children.map(OB).join(", ")} } `:"";return`${t.value}${i}`}function rA(t){if(t.snapshot){let i=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Us(i.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Us(i.params,e.params)||t.paramsSubject.next(e.params),wK(i.url,e.url)||t.urlSubject.next(e.url),Us(i.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function pA(t,i){let e=Us(t.params,i.params)&&AK(t.url,i.url),n=!t.parent!=!i.parent;return e&&!n&&(!t.parent||pA(t.parent,i.parent))}function FB(t){return typeof t.title=="string"||t.title===null}var PB=new R(""),wA=(()=>{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=uo();parentContexts=m(Hu);location=m(Pt);changeDetector=m(Ee);inputBinder=m(Wg,{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 hA(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})(),hA=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===Hu?this.childContexts:i===PB?this.outletData:this.parent.get(i,e)}},Wg=new R(""),xA=(()=>{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=on([n.queryParams,n.params,n.data]).pipe(W(([o,a,s],d)=>(s=P(P(P({},o),a),s),d===0?L(s):Promise.resolve(s)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let a=V0(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})(),SA=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,r){n&1&&S(0,"router-outlet")},dependencies:[wA],encapsulation:2})}return t})();function TA(t){let i=t.children&&t.children.map(TA),e=i?ke(P({},t),{children:i}):P({},t);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==xt&&(e.component=SA),e}function ZK(t,i,e){let n=Ug(t,i._root,e?e._root:void 0);return new jg(n,i)}function Ug(t,i,e){if(e&&t.shouldReuseRoute(i.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=i.value;let r=QK(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=>Ug(t,s)),a}}let n=JK(i.value),r=i.children.map(o=>Ug(t,o));return new Jo(n,r)}}function QK(t,i,e){return i.children.map(n=>{for(let r of e.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return Ug(t,n,r);return Ug(t,n)})}function JK(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 Tp=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},LB="ngNavigationCancelingError";function zy(t,i){let{redirectTo:e,navigationBehaviorOptions:n}=nd(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,r=BB(!1,Hr.Redirect);return r.url=e,r.navigationBehaviorOptions=n,r}function BB(t,i){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[LB]=!0,e.cancellationCode=i,e}function eX(t){return VB(t)&&nd(t.url)}function VB(t){return!!t&&t[LB]}var fA=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),rA(this.futureState.root),this.activateChildRoutes(e,n,i)}deactivateChildRoutes(i,e,n){let r=bp(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=bp(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=bp(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=bp(e);i.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new jy(o.value.snapshot))}),i.children.length&&this.forwardEvent(new By(i.value.snapshot))}activateRoutes(i,e,n){let r=i.value,o=e?e.value:null;if(rA(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),rA(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)}},Gy=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},Cp=class{component;route;constructor(i,e){this.component=i,this.route=e}};function tX(t,i,e){let n=t._root,r=i?i._root:null;return Ng(n,r,e,[n.value])}function nX(t){let i=t.routeConfig?t.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:t,guards:i}}function Ap(t,i){let e=Symbol(),n=i.get(t,e);return n===e?typeof t=="function"&&!Tx(t)?t:i.get(t):n}function Ng(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=bp(i);return t.children.forEach(a=>{iX(a,o[a.value.outlet],e,n.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Fg(s,e.getContext(a),r)),r}function iX(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=rX(a,o,o.routeConfig.runGuardsAndResolvers);d?r.canActivateChecks.push(new Gy(n)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Ng(t,i,s?s.children:null,n,r):Ng(t,i,e,n,r),d&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Cp(s.outlet.component,a))}else a&&Fg(i,s,r),r.canActivateChecks.push(new Gy(n)),o.component?Ng(t,null,s?s.children:null,n,r):Ng(t,null,e,n,r);return r}function rX(t,i,e){if(typeof e=="function")return Ki(i._environmentInjector,()=>e(t,i));switch(e){case"pathParamsChange":return!Lu(t.url,i.url);case"pathParamsOrQueryParamsChange":return!Lu(t.url,i.url)||!Us(t.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pA(t,i)||!Us(t.queryParams,i.queryParams);default:return!pA(t,i)}}function Fg(t,i,e){let n=bp(t),r=t.value;Object.entries(n).forEach(([o,a])=>{r.component?i?Fg(a,i.children.getContext(o),e):Fg(a,null,e):Fg(a,i,e)}),r.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new Cp(i.outlet.component,r)):e.canDeactivateChecks.push(new Cp(null,r)):e.canDeactivateChecks.push(new Cp(null,r))}function $g(t){return typeof t=="function"}function oX(t){return typeof t=="boolean"}function aX(t){return t&&$g(t.canLoad)}function sX(t){return t&&$g(t.canActivate)}function lX(t){return t&&$g(t.canActivateChild)}function cX(t){return t&&$g(t.canDeactivate)}function dX(t){return t&&$g(t.canMatch)}function jB(t){return t instanceof Il||t?.name==="EmptyError"}var Ey=Symbol("INITIAL_VALUE");function Ip(){return W(t=>on(t.map(i=>i.pipe(We(1),Re(Ey)))).pipe($(i=>{for(let e of i)if(e!==!0){if(e===Ey)return Ey;if(e===!1||uX(e))return e}return!0}),ae(i=>i!==Ey),We(1)))}function uX(t){return nd(t)||t instanceof Tp}function HB(t){return t.aborted?L(void 0).pipe(We(1)):new Ne(i=>{let e=()=>{i.next(),i.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function UB(t){return xe(HB(t))}function mX(t){return ii(i=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:r,canDeactivateChecks:o}}=i;return o.length===0&&r.length===0?L(ke(P({},i),{guardsResult:!0})):pX(o,e,n).pipe(ii(a=>a&&oX(a)?hX(e,r,t):L(a)),$(a=>ke(P({},i),{guardsResult:a})))})}function pX(t,i,e){return gn(t).pipe(ii(n=>vX(n.component,n.route,e,i)),Ga(n=>n!==!0,!0))}function hX(t,i,e){return gn(i).pipe(Ss(n=>xs(gX(n.route.parent,e),fX(n.route,e),bX(t,n.path),_X(t,n.route))),Ga(n=>n!==!0,!0))}function fX(t,i){return t!==null&&i&&i(new Vy(t)),L(!0)}function gX(t,i){return t!==null&&i&&i(new Ly(t)),L(!0)}function _X(t,i){let e=i.routeConfig?i.routeConfig.canActivate:null;if(!e||e.length===0)return L(!0);let n=e.map(r=>Yn(()=>{let o=i._environmentInjector,a=Ap(r,o),s=sX(a)?a.canActivate(i,t):Ki(o,()=>a(i,t));return ju(s).pipe(Ga())}));return L(n).pipe(Ip())}function bX(t,i){let e=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(o=>nX(o)).filter(o=>o!==null).map(o=>Yn(()=>{let a=o.guards.map(s=>{let d=o.node._environmentInjector,p=Ap(s,d),f=lX(p)?p.canActivateChild(e,t):Ki(d,()=>p(e,t));return ju(f).pipe(Ga())});return L(a).pipe(Ip())}));return L(r).pipe(Ip())}function vX(t,i,e,n){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return L(!0);let o=r.map(a=>{let s=i._environmentInjector,d=Ap(a,s),p=cX(d)?d.canDeactivate(t,i,e,n):Ki(s,()=>d(t,i,e,n));return ju(p).pipe(Ga())});return L(o).pipe(Ip())}function yX(t,i,e,n,r){let o=i.canLoad;if(o===void 0||o.length===0)return L(!0);let a=o.map(s=>{let d=Ap(s,t),p=aX(d)?d.canLoad(i,e):Ki(t,()=>d(i,e)),f=ju(p);return r?f.pipe(UB(r)):f});return L(a).pipe(Ip(),zB(n))}function zB(t){return Qw(B(i=>{if(typeof i!="boolean")throw zy(t,i)}),$(i=>i===!0))}function CX(t,i,e,n,r,o){let a=i.canMatch;if(!a||a.length===0)return L(!0);let s=a.map(d=>{let p=Ap(d,t),f=dX(p)?p.canMatch(i,e,r):Ki(t,()=>p(i,e,r));return ju(f).pipe(UB(o))});return L(s).pipe(Ip(),zB(n))}var $l=class t extends Error{segmentGroup;constructor(i){super(),this.segmentGroup=i||null,Object.setPrototypeOf(this,t.prototype)}},zg=class t extends Error{urlTree;constructor(i){super(),this.urlTree=i,Object.setPrototypeOf(this,t.prototype)}};function DX(t){throw new ce(4e3,!1)}function EX(t){throw BB(!1,Hr.GuardRejected)}var gA=class{urlSerializer;urlTree;
5constructor(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 DX(`${i.redirectTo}`);r=r.children[xt]}})}applyRedirectCommands(i,e,n,r,o){return Rn(this,null,function*(){let a=yield wX(e,r,o);if(a instanceof po)throw new zg(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),i,n);if(a[0]==="/")throw new zg(s);return s})}applyRedirectCreateUrlTree(i,e,n,r){let o=this.createSegmentGroup(i,e.root,n,r);return new po(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 wX(t,i,e){if(typeof t=="string")return Promise.resolve(t);let n=t;return Ty(ju(Ki(e,()=>n(i))))}function xX(t,i){return t.providers&&!t._injector&&(t._injector=cp(t.providers,i,`Route: ${t.path}`)),t._injector??i}function rs(t){return t.outlet||xt}function SX(t,i){let e=t.filter(n=>rs(n)===i);return e.push(...t.filter(n=>rs(n)!==i)),e}var _A={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function GB(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 TX(t,i,e,n,r,o,a){let s=WB(t,i,e);if(!s.matched)return L(s);let d=GB(o(s));return n=xX(i,n),CX(n,i,e,r,d,a).pipe($(p=>p===!0?s:P({},_A)))}function WB(t,i,e){if(i.path==="")return i.pathMatch==="full"&&(t.hasChildren()||e.length>0)?P({},_A):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(i.matcher||gB)(e,t,i);if(!r)return P({},_A);let o={};Object.entries(r.posParams??{}).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 hB(t,i,e,n,r){return e.length>0&&kX(t,e,n,r)?{segmentGroup:new En(i,AX(n,new En(e,t.children))),slicedSegments:[]}:e.length===0&&RX(t,e,n)?{segmentGroup:new En(t.segments,IX(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new En(t.segments,t.children),slicedSegments:e}}function IX(t,i,e,n){let r={};for(let o of e)if($y(t,i,o)&&!n[rs(o)]){let a=new En([],{});r[rs(o)]=a}return P(P({},n),r)}function AX(t,i){let e={};e[xt]=i;for(let n of t)if(n.path===""&&rs(n)!==xt){let r=new En([],{});e[rs(n)]=r}return e}function kX(t,i,e,n){return e.some(r=>!$y(t,i,r)||!(rs(r)!==xt)?!1:!(n!==void 0&&rs(r)===n))}function RX(t,i,e){return e.some(n=>$y(t,i,n))}function $y(t,i,e){return(t.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function MX(t,i,e){return i.length===0&&!t.children[e]}var bA=class{};function NX(t,i,e,n,r,o,a="emptyOnly",s){return Rn(this,null,function*(){return new vA(t,i,e,n,r,a,o,s).recognize()})}var OX=31,vA=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 gA(this.urlSerializer,this.urlTree)}noMatchError(i){return new ce(4002,`'${i.segmentGroup}'`)}recognize(){return Rn(this,null,function*(){let i=hB(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:n}=yield this.match(i),r=new Jo(n,e),o=new Hg("",r),a=TB(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 Sp([],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 zg)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof $l?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=SX(e,d),b=yield this.processSegmentGroup(i,f,p,d,r);a.push(...b)}let s=$B(a);return FX(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 $l||jB(p))continue;throw p}if(MX(n,r,o))return new bA;throw new $l(n)})}processSegmentAgainstRoute(i,e,n,r,o,a,s,d){return Rn(this,null,function*(){if(rs(n)!==a&&(a===xt||!$y(r,o,n)))throw new $l(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 $l(r)})}
5expandSegmentAgainstRouteUsingRedirect(i,e,n,r,o,a,s){return Rn(this,null,function*(){let{matched:d,parameters:p,consumedSegments:f,positionalParamSegments:b,remainingSegments:w}=WB(e,r,o);if(!d)throw new $l(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>OX&&(this.allowRedirects=!1));let k=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,GB(k),i),J=yield this.applyRedirects.lineralizeSegments(r,M);return this.processSegment(i,n,e,J.concat(w),a,!1,s)})}createSnapshot(i,e,n,r,o){let a=new Sp(n,r,Object.freeze(P({},this.urlTree.queryParams)),this.urlTree.fragment,LX(e),rs(e),e.component??e._loadedComponent??null,e,BX(e),i),s=DA(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=nn=>this.createSnapshot(i,n,nn.consumedSegments,nn.parameters,a),d=yield Ty(TX(e,n,r,i,this.urlSerializer,s,this.abortSignal));if(n.path==="**"&&(e.children={}),!d?.matched)throw new $l(e);i=n._injector??i;let{routes:p}=yield this.getChildConfig(i,n,r),f=n._loadedInjector??i,{parameters:b,consumedSegments:w,remainingSegments:k}=d,M=this.createSnapshot(i,n,w,b,a),{segmentGroup:J,slicedSegments:j}=hB(e,w,k,p,o);if(j.length===0&&J.hasChildren()){let nn=yield this.processChildren(f,p,J,M);return new Jo(M,nn)}if(p.length===0&&j.length===0)return new Jo(M,[]);let K=rs(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 Ty(yX(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 EX(e)}return{routes:[],injector:i}})}};function FX(t){t.sort((i,e)=>i.value.outlet===xt?-1:e.value.outlet===xt?1:i.value.outlet.localeCompare(e.value.outlet))}function PX(t){let i=t.value.routeConfig;return i&&i.path===""}function $B(t){let i=[],e=new Set;for(let n of t){if(!PX(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=$B(n.children);i.push(new Jo(n.value,r))}return i.filter(n=>!e.has(n))}function LX(t){return t.data||{}}function BX(t){return t.resolve||{}}function VX(t,i,e,n,r,o,a){return ii(s=>Rn(null,null,function*(){let{state:d,tree:p}=yield NX(t,i,e,n,s.extractedUrl,r,o,a);return ke(P({},s),{targetSnapshot:d,urlAfterRedirects:p})}))}function jX(t){return ii(i=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=i;if(!n.length)return L(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 YB(s))o.add(d);let a=0;return gn(o).pipe(Ss(s=>r.has(s)?HX(s,e,t):(s.data=DA(s,s.parent,t).resolve,L(void 0))),B(()=>a++),tv(1),ii(s=>a===o.size?L(i):Ae))})}function YB(t){let i=t.children.map(e=>YB(e)).flat();return[t,...i]}function HX(t,i,e){let n=t.routeConfig,r=t._resolve;return n?.title!==void 0&&!FB(n)&&(r[Gg]=n.title),Yn(()=>(t.data=DA(t,t.parent,e).resolve,UX(r,t,i).pipe($(o=>(t._resolvedData=o,t.data=P(P({},t.data),o),null)))))}function UX(t,i,e){let n=aA(t);if(n.length===0)return L({});let r={};return gn(n).pipe(ii(o=>zX(t[o],i,e).pipe(Ga(),B(a=>{if(a instanceof Tp)throw zy(new Yl,a);r[o]=a}))),tv(1),$(()=>r),je(o=>jB(o)?Ae:rn(o)))}function zX(t,i,e){let n=i._environmentInjector,r=Ap(t,n),o=r.resolve?r.resolve(i,e):Ki(n,()=>r(i,e));return ju(o)}function fB(t){return W(i=>{let e=t(i);return e?gn(e).pipe($(()=>i)):L(i)})}var IA=(()=>{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[Gg]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(qB),providedIn:"root"})}return t})(),qB=(()=>{class t extends IA{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(F2))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rd=new R("",{factory:()=>({})}),kp=new R(""),Yy=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m(rI);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 bB(Ki(e,()=>n.loadComponent())),a=yield ZB(XB(o));return this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=a,a}finally{this.componentLoaders.delete(n)}});return this.componentLoaders.set(n,r),r})}
5loadChildren(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 KB(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 KB(t,i,e,n){return Rn(this,null,function*(){let r=yield bB(Ki(e,()=>t.loadChildren())),o=yield ZB(XB(r)),a;o instanceof D0||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(kp,[],{optional:!0,self:!0}).flat()),{routes:d.map(TA),injector:s,factory:f}})}function GX(t){return t&&typeof t=="object"&&"default"in t}function XB(t){return GX(t)?t.default:t}function ZB(t){return Rn(this,null,function*(){return t})}var qy=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(WX),providedIn:"root"})}return t})(),WX=(()=>{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})(),AA=new R(""),kA=new R("");function QB(t,i,e){let n=t.get(kA),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(),$X(t)));s.updateCallbackDone.catch(p=>{}),s.ready.catch(p=>{}),s.finished.catch(p=>{});let{onViewTransitionCreated:d}=n;return d&&Ki(t,()=>d({transition:s,from:i,to:e})),a}function $X(t){return new Promise(i=>{Et({read:()=>setTimeout(i)},{injector:t})})}var YX=()=>{},RA=new R(""),Ky=(()=>{class t{currentNavigation=Z(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Z(null);events=new O;transitionAbortWithErrorSubject=new O;configLoader=m(Yy);environmentInjector=m(_n);destroyRef=m(un);urlSerializer=m(id);rootContexts=m(Hu);location=m(js);inputBindingEnabled=m(Wg,{optional:!0})!==null;titleStrategy=m(IA);options=m(rd,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=m(qy);createViewTransition=m(AA,{optional:!0});navigationErrorHandler=m(RA,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>L(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new Fy(r)),n=r=>this.events.next(new Py(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(ke(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 L(n).pipe(W(s=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",Hr.SupersededByNewNavigation),Ae;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?ke(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 Gs(s.id,this.urlSerializer.serialize(s.rawUrl),"",Dp.IgnoredSameUrlNavigation)),s.resolve(!1),Ae;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return L(s).pipe(W(b=>(this.events.next(new zs(b.id,this.urlSerializer.serialize(b.extractedUrl),b.source,b.restoredState)),b.id!==this.navigationId?Ae:Promise.resolve(b))),VX(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),B(b=>{n.targetSnapshot=b.targetSnapshot,n.urlAfterRedirects=b.urlAfterRedirects,this.currentNavigation.update(w=>(w.finalUrl=b.urlAfterRedirects,w)),this.events.next(new Vg)}),W(b=>gn(n.routesRecognizeHandler.deferredHandle??L(void 0)).pipe($(()=>b))),B(()=>{let b=new Bg(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:k,restoredState:M,extras:J}=s,j=new zs(b,this.urlSerializer.serialize(w),k,M);this.events.next(j);let K=NB(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=n=ke(P({},s),{targetSnapshot:K,urlAfterRedirects:w,extras:ke(P({},J),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(Te=>(Te.finalUrl=w,Te)),L(n)}else return this.events.next(new Gs(s.id,this.urlSerializer.serialize(s.extractedUrl),"",Dp.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Ae}),$(s=>{let d=new Ry(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(d),this.currentTransition=n=ke(P({},s),{guards:tX(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),n}),mX(s=>this.events.next(s)),W(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw zy(this.urlSerializer,s.guardsResult);let d=new My(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(d),!a())return Ae;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",Hr.GuardRejected),Ae;if(s.guards.canActivateChecks.length===0)return L(s);let p=new Ny(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(p),!a())return Ae;let f=!1;return L(s).pipe(jX(this.paramsInheritanceStrategy),B({next:()=>{f=!0;let b=new Oy(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(b)},complete:()=>
5{f||this.cancelNavigationTransition(s,"",Hr.NoDataFromResolver)}}))}),fB(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(k=>{f.component=k}))}for(let w of f.children)b.push(...d(w));return b},p=d(s.targetSnapshot.root);return p.length===0?L(s):gn(Promise.all(p).then(()=>s))}),fB(()=>this.afterPreactivation()),W(()=>{let{currentSnapshot:s,targetSnapshot:d}=n,p=this.createViewTransition?.(this.environmentInjector,s.root,d.root);return p?gn(p).pipe($(()=>n)):L(n)}),We(1),W(s=>{let d=ZK(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);this.currentTransition=n=s=ke(P({},s),{targetRouterState:d}),this.currentNavigation.update(f=>(f.targetRouterState=d,f)),this.events.next(new wp);let p=n.beforeActivateHandler.deferredHandle;return p?gn(p.then(()=>s)):L(s)}),B(s=>{new fA(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=YX,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(HB(o.signal).pipe(ae(()=>!r&&!n.targetRouterState),B(()=>{this.cancelNavigationTransition(n,o.signal.reason+"",Hr.Aborted)}))),B({complete:()=>{r=!0}}),xe(this.transitionAbortWithErrorSubject.pipe(B(s=>{throw s}))),Qr(()=>{o.abort(),r||this.cancelNavigationTransition(n,"",Hr.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),je(s=>{if(r=!0,this.destroyed)return n.resolve(!1),Ae;if(VB(s))this.events.next(new ya(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),eX(s)?this.events.next(new xp(s.url,s.navigationBehaviorOptions)):n.resolve(!1);else{let d=new Vu(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let p=Ki(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(p instanceof Tp){let{message:f,cancellationCode:b}=zy(this.urlSerializer,p);this.events.next(new ya(n.id,this.urlSerializer.serialize(n.extractedUrl),f,b)),this.events.next(new xp(p.redirectTo,p.navigationBehaviorOptions))}else throw this.events.next(d),s}catch(p){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(p)}}return Ae}))}))}cancelNavigationTransition(e,n,r){let o=new ya(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 qX(t){return t!==yp}var JB=new R("");var eV=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>m(KX),providedIn:"root"})}return t})(),Wy=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}},KX=(()=>{class t extends Wy{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})(),Xy=(()=>{class t{urlSerializer=m(id);options=m(rd,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=m(js);urlHandlingStrategy=m(qy);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new po;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 po?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=NB(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(XX),providedIn:"root"})}return t})(),XX=(()=>{class t extends Xy{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 zs?this.updateStateMemento():e instanceof Gs?this.commitTransition(n):e instanceof Bg?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof wp?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof ya&&!MB(e)?this.restoreHistory(n):e instanceof Vu?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 Zy(t,i){t.events.pipe(ae(e=>e instanceof ta||e instanceof ya||e instanceof Vu||e instanceof Gs),$(e=>e instanceof ta||e instanceof Gs?0:(e instanceof ya?e.code===Hr.Redirect||e.code===Hr.SupersededByNewNavigation:!1)?2:1),ae(e=>e!==2),We(1)).subscribe(()=>{i()})}var Sr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m(E0);stateManager=m(Xy);options=m(rd,{optional:!0})||{};pendingTasks=m(Ms);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=m(Ky);
5urlSerializer=m(id);location=m(js);urlHandlingStrategy=m(qy);injector=m(_n);_events=new O;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m(eV);injectorCleanup=m(JB,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=m(kp,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m(Wg,{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 ya&&n.code!==Hr.Redirect&&n.code!==Hr.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof ta)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(n instanceof xp){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"||qX(r.source)},a);this.scheduleNavigation(s,yp,null,d,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}KK(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),yp,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=ke(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(TA),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=IB(w)}catch(w){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),b=this.currentUrlTree.root}return AB(b,e,f,p??null,this.urlSerializer)}navigateByUrl(e,n={skipLocationChange:!1}){let r=nd(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,yp,null,n)}navigate(e,n={skipLocationChange:!1}){return ZX(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(ha(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,n){let r;if(n===!0?r=P({},yA):n===!1?r=P({},Pg):r=P(P({},Pg),n),nd(e))return sA(this.currentUrlTree,e,r);let o=this.parseUrl(e);return sA(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 Zy(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 ZX(t){for(let i=0;i<t.length;i++)if(t[i]==null)throw new ce(4008,!1)}var QX=(()=>{class t{router=m(Sr);stateManager=m(Xy);fragment=Z("");queryParams=Z({});path=Z("");serializer=m(id);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 po(n)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qy=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=m(new ui("href"),{optional:!0});reactiveHref=oI(()=>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(rd,{optional:!0});reactiveRouterState=m(QX);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)):(nd(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:nd(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(Sr),E(ql),tg("tabindex"),E(ot),E(Q),E(ts))};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(),DT)("target",r._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Y],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Y],replaceUrl:[2,"replaceUrl","replaceUrl",Y],routerLink:"routerLink"},features:[Ke]})}return t})(),JX=(()=>{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(Qy,{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(){L(this.links.changes,L(null)).pipe(ws()).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=gn(e).pipe(ws()).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=eZ(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?P({},yA):P({},Pg);return r=>{let o=r.urlTree;return o?Wt(CA(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(Sr),E(Q),E(ot),E(Ee))};static \u0275dir=N({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Qy,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 eZ(t){let i=t;return!!(i.paths||i.matrixParams||i.queryParams||i.fragment)}var Yg=class{};var tV=(()=>{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),Ss(()=>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=cp(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 gn(r).pipe(ws())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{if(e.destroyed)return L(null);let r;n.loadChildren&&n.canLoad===void 0?r=gn(this.loader.loadChildren(e,n)):r=L(null);let o=r.pipe(ii(a=>a===null?L(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 gn([o,a]).pipe(ws())}else return o})}static \u0275fac=function(n){return new(n||t)(F(Sr),F(_n),F(Yg),F(Yy))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nV=new R(""),tZ=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=yp;restoredId=0;store={};isHydrating=m(fT,{optional:!0})??!1;urlSerializer=m(id);zone=m(le);viewportScroller=m(TI);transitions=m(Ky);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&m(Ji).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 zs?(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 Gs&&e.code===Dp.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 Ep)||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 Ep(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Iu()};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function nZ(){return m(Sr).routerState.root}function qg(t,i){return{\u0275kind:t,\u0275providers:i}}function iZ(){let t=m(ie);return i=>{let e=t.get(Ji);if(i!==e.components[0])return;let n=t.get(Sr),r=t.get(iV);t.get(NA)===1&&n.initialNavigation(),t.get(aV,null,{optional:!0})?.setUpPreloading(),t.get(nV,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var iV=new R("",{factory:()=>new O}),NA=new R("",{factory:()=>1});function rV(){let t=[{provide:l0,useValue:!0},{provide:NA,useValue:0},T0(()=>{let i=m(ie);return i.get(gI,Promise.resolve()).then(()=>new Promise(n=>{let r=i.get(Sr),o=i.get(iV);Zy(r,()=>{n(!0)}),i.get(Ky).afterPreactivation=()=>
5(n(!0),o.closed?L(void 0):o),r.initialNavigation()}))})];return qg(2,t)}function oV(){let t=[T0(()=>{m(Sr).setUpLocationChangeListener()}),{provide:NA,useValue:2}];return qg(3,t)}var aV=new R("");function sV(t){return qg(0,[{provide:aV,useExisting:tV},{provide:Yg,useExisting:t}])}function lV(){return qg(8,[xA,{provide:Wg,useExisting:xA}])}function cV(t){qo("NgRouterViewTransitions");let i=[{provide:AA,useValue:QB},{provide:kA,useValue:P({skipNextTransition:!!t?.skipInitialTransition},t)}];return qg(9,i)}var dV=[js,{provide:id,useClass:Yl},Sr,Hu,{provide:ql,useFactory:nZ},Yy,[]],rZ=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[dV,[],{provide:kp,multi:!0,useValue:e},[],n?.errorHandler?{provide:RA,useValue:n.errorHandler}:[],{provide:rd,useValue:n||{}},n?.useHash?aZ():sZ(),oZ(),n?.preloadingStrategy?sV(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?lZ(n):[],n?.bindToComponentInputs?lV().\u0275providers:[],n?.enableViewTransitions?cV().\u0275providers:[],cZ()]}}static forChild(e){return{ngModule:t,providers:[{provide:kp,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();function oZ(){return{provide:nV,useFactory:()=>{let t=m(TI),i=m(rd);return i.scrollOffset&&t.setOffset(i.scrollOffset),new tZ(i)}}}function aZ(){return{provide:ts,useClass:EI}}function sZ(){return{provide:ts,useClass:U0}}function lZ(t){return[t.initialNavigation==="disabled"?oV().\u0275providers:[],t.initialNavigation==="enabledBlocking"?rV().\u0275providers:[]]}var MA=new R("");function cZ(){return[{provide:MA,useFactory:iZ},{provide:I0,multi:!0,useExisting:MA}]}var Rp="accounts",aBe="bank-statements",sBe="current",lBe="transfer-history",cBe="cards",dBe="card-locks",uBe="operations",mBe="standing-order",pBe="deposits",hBe="gsm-boosts",fBe="transfers",gBe="signatures",_Be="approvals",bBe="execution",vBe="currency-exchange",yBe="contractors",CBe="support-tables",DBe="banks",EBe="foreign-banks",wBe="tax-office",xBe="exchange-rate",SBe="deposit-interest-rate",TBe="proposals",IBe="credit-holidays",Jy="messages",eC="view",uV="unallocated",mV="login",ABe="logout",kBe="profile",RBe="mobile-app";var od=(function(t){return t[t.ALL=0]="ALL",t[t.ANY=1]="ANY",t})(od||{});var tC=new WeakMap,Lt=(()=>{class t{_appRef;_injector=m(ie);_environmentInjector=m(_n);load(e){let n=this._appRef=this._appRef||this._injector.get(Ji),r=tC.get(n);r||(r={loaders:new Set,refs:[]},tC.set(n,r),n.onDestroy(()=>{tC.get(n)?.refs.forEach(o=>o.destroy()),tC.delete(n)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(B0(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 OA;function pV(){if(OA==null){let t=typeof document<"u"?document.head:null;OA=!!(t&&(t.createShadowRoot||t.attachShadow))}return OA}function Uu(t){if(pV()){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 mi(t){return t.composedPath?t.composedPath()[0]:t.target}function Kl(t){return t.buttons===0||t.detail===0}function Xl(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 Tr(t,i=0){return nC(t)?Number(t):arguments.length===2?i:0}function nC(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function bi(t){return t instanceof Q?t.nativeElement:t}var FA;try{FA=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){FA=!1}var gt=(()=>{class t{_platformId=m(Ll);isBrowser=this._platformId?K0(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||FA)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;
5WEBKIT=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 uZ=new R("cdk-dir-doc",{providedIn:"root",factory:()=>m(Ce)}),mZ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function hV(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?mZ.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var ln=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Z("ltr");change=new V;constructor(){let e=m(uZ,{optional:!0});if(e){let n=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(hV(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 os=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(os||{}),iC,zu;function rC(){if(zu==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return zu=!1,zu;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)zu=!0;else{let t=Element.prototype.scrollTo;t?zu=!/\{\s*\[native code\]\s*\}/.test(t.toString()):zu=!1}}return zu}function Mp(){if(typeof document!="object"||!document)return os.NORMAL;if(iC==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),iC=os.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,iC=t.scrollLeft===0?os.NEGATED:os.INVERTED),t.remove()}return iC}var Gu=class{};function Kg(t){return t&&typeof t.connect=="function"&&!(t instanceof ff)}var as=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(as||{}),oC=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?as.INSERTED:as.REPLACED}else d==null?(this._detachAndCacheView(s,e),f=as.REMOVED):(p=this._moveView(s,d,e,r(a)),f=as.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=q({})}return t})();var pZ=20,ss=(()=>{class t{_ngZone=m(le);_platform=m(gt);_renderer=m(gi).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=pZ){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(Vm(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):L()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEac
vendor: 4,536 bytes, line 5
5h((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=bi(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})(),Ws=(()=>{class t{elementRef=m(Q);scrollDispatcher=m(ss);ngZone=m(le);dir=m(ln,{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&&Mp()!=os.NORMAL?(e.left!=null&&(e.right=n.scrollWidth-n.clientWidth-e.left),Mp()==os.INVERTED?e.left=e.right:Mp()==os.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;rC()?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";return e=="start"?e=a?r:n:e=="end"&&(e=a?n:r),a&&Mp()==os.INVERTED?e==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Mp()==os.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})(),hZ=20,ji=(()=>{class t{_platform=m(gt);_listeners;_viewportSize=null;_change=new O;_document=m(Ce);constructor(){let e=m(le),n=m(gi).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=hZ){return e>0?this._change.pipe(Vm(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 fV=new R("CDK_VIRTUAL_SCROLL_VIEWPORT");var mr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})(),ad=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De,mr,De,mr]})}return t})();var PA={},pt=class t{_appId=m(Wc);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(i,e=!1){return this._appId!=="ng"&&(i+=this._appId),PA.hasOwnProperty(i)||(PA[i]=0),`${i}
5${e?t._infix+"-":""}${PA[i]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})};function Zl(t){return Array.isArray(t)?t:[t]}function VA(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"?bV(t,i):(n==="input"||n==="select"||n==="textarea")&&_V(t,i),gV("canvas",t,i,bV),gV("input, textarea, select",t,i,_V),i}function gV(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 gZ=0;function _V(t,i){i.type!=="file"&&(i.value=t.value),i.type==="radio"&&i.name&&(i.name=`mat-clone-${i.name}-${gZ++}`)}function bV(t,i){let e=i.getContext("2d");if(e)try{e.drawImage(t,0,0)}catch(n){}}function WA(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 jA(t,i,e){let{top:n,bottom:r,left:o,right:a}=t;return e>=n&&e<=r&&i>=o&&i<=a}function _Z(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 Qg(t,i,e){t.top+=i,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function vV(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 aC=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:WA(e)})})}handleScroll(i){let e=mi(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)&&Qg(p.clientRect,s,d)}),r.top=o,r.left=a,{top:s,left:d}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function kV(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 $A(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 Np(t,i){let e=i?"":"none";$A(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 yV(t,i,e){$A(t.style,{position:i?"":"fixed",top:i?"":"0",opacity:i?"":"0",left:i?"":"-999em"},e)}function sC(t,i){return i&&i!="none"?t+" "+i:t}function CV(t,i){t.style.width=`${i.width}px`,t.style.height=`${i.height}px`,t.style.transform=Jg(i.left,i.top)}function Jg(t,i){return`translate3d(${Math.round(t)}px, ${Math.round(i)}px, 0)`}var Xg={capture:!0},LA={passive:!1,capture:!0},bZ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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})(),RV=(()=>{class t{_ngZone=m(le);_document=m(Ce);_styleLoader=m(Lt);_renderer=m(gi).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,LA)})}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(bZ),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),Xg],["selectstart",this._preventDefaultWhileDragging,LA]];r?a.push(["touchend",o,Xg],["touchcancel",o,Xg]):a.push(["mouseup",o,Xg]),r||a.push(["mousemove",s=>this.pointerMove.next(s),LA]),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)},Xg);return()=>{o()}}))),mt(...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 DV(t){let i=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*i}function vZ(t){let i=getComputedStyle(t),e=BA(i,"transition-property"),n=e.find(s=>s==="transform"||s==="all");if(!n)return 0;let r=e.indexOf(n),o=BA(i,"transition-duration"),a=BA(i,"transition-delay");return DV(o[r])+DV(a[r])}function BA(t,i){return t.getPropertyValue(i).split(",").map(n=>n.trim())}var yZ=new Set(["position"]),HA=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),EV(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 vZ(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=kV(a,this._document),this._previewEmbeddedView=a,i.matchSize?CV(r,o):r.style.transform=Jg(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=VA(this._rootElement),CV(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return $A(r.style,{"pointer-events":"none",margin:EV(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},yZ),Np(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 EV(t){return"showPopover"in t}var CZ={passive:!0},wV={passive:!1},DZ={passive:!1,capture:!0},EZ=800,xV="cdk-drag-placeholder",SV=new Set(["position"]);function wZ(t,i,e={dragStartThreshold:5,pointerDirectionChangeThreshold:5}){let n=t.get(ot,null,{optional:!0})||t.get(gi).createRenderer(null,null);return new UA(i,e,t.get(Ce),t.get(le),t.get(ji),t.get(RV),n)}var UA=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=>Np(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 aC(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=>bi(n)),this._handles.forEach(n=>Np(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=bi(i);if(e!==this._rootElement){this._removeRootElementListeners();let n=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"mousedown",this._pointerDown,wV),n.listen(e,"touchstart",this._pointerDown,CZ),n.listen(e,"dragstart",this._nativeDragStart,wV)]),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?bi(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&&_Z(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=Jg(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),Np(i,!0))}enableHandle(i){this._disabledHandles.has(i)&&(this._disabledHandles.delete(i),Np(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){Zg(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",xZ,DZ)}),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 HA(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)),yV(r,!1,SV),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=Zg(e),o=!r&&e.button!==0,a=this._rootElement,s=mi(e),d=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+EZ>Date.now(),p=r?Xl(e):Kl(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=WA(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){yV(this._rootElement,!0,SV),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&&mi(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=kV(this._placeholderRef,this._document)):n=VA(this._rootElement),n.style.pointerEvents="none",n.classList.add(xV),n}_getPointerPositionInElement(i,e,n){let r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():i,a=Zg(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=Zg(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,k=s.right-(d-o);n=TV(n,w,k),r=TV(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,Np(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=Jg(i*n,e*n),o=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=o.transform&&o.transform!="none"?o.transform:""),o.transform=sC(r,this._initialTransform)}_applyPreviewTransform(i,e){let n=this._previewTemplate?.template?void 0:this._initialTransform,r=Jg(i,e);this._preview.setTransform(sC(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:Zg(i)?e.touch:e?e.mouse:0}_updateOnScroll(i){let e=this._parentPositions.handleScroll(i);if(e){let n=mi(i);this._boundaryRect&&n!==this._boundaryElement&&n.contains(this._boundaryElement)&&Qg(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=Uu(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 bi(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??=VA(this._placeholder);r.classList.remove(xV),r.classList.add("cdk-drag-anchor"),r.style.transform="",n?n.before(r):bi(e.element).appendChild(r)}}};function TV(t,i,e){return Math.max(i,Math.min(e,t))}function Zg(t){return t.type[0]==="t"}function xZ(t){t.preventDefault()}function MV(t,i,e){let n=IV(i,t.length-1),r=IV(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 IV(t,i){return Math.max(0,Math.min(i,t))}var lC=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,k=this._getItemOffsetPx(f,b,w),M=this._getSiblingOffsetPx(d,o,w),J=o.slice();return MV(o,d,a),o.forEach((j,K)=>{if(J[K]===j)return;let Te=j.drag===i,nn=Te?k:M,jt=Te?i.getPlaceholderElement():j.drag.getRootElement();j.offset+=nn;let Oi=Math.round(j.offset*(1/j.drag.scale));s?(jt.style.transform=sC(`translate3d(${Oi}px, 0, 0)`,j.initialTransform),Qg(j.clientRect,0,nn)):(jt.style.transform=sC(`translate3d(0, ${Oi}px, 0)`,j.initialTransform),Qg(j.clientRect,nn,0))}),this._previousSwap.overlaps=jA(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})=>{Qg(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:WA(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}},zA=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),MV(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=Uu(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}},AV=.05,NV=.05,Ca=(function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t})(Ca||{}),ho=(function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t})(ho||{});function SZ(t,i){return new GA(i,t.get(RV),t.get(Ce),t.get(le),t.get(ji))}var GA=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=Ca.NONE;_horizontalScrollDirection=ho.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=bi(i);this._document=n,this.withOrientation("vertical").withElementContainer(a),e.registerDropContainer(this),this._parentPositions=new aC(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 lC&&(this._sortStrategy.direction=i),this}connectedTo(i){return this._siblings=i.slice(),this}withOrientation(i){if(i==="mixed")this._sortStrategy=new zA(this._document,this._dragDropRegistry);else{let e=new lC(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=bi(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||!vV(this._domRect,AV,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=Ca.NONE,o=ho.NONE;if(this._parentPositions.positions.forEach((a,s)=>
18{s===this._document||!a.clientRect||n||vV(a.clientRect,AV,i,e)&&([r,o]=TZ(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=OV(d,e),o=FV(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(),ox(0,Fm).pipe(xe(this._stopScrollTimers)).subscribe(()=>{let i=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===Ca.UP?i.scrollBy(0,-e):this._verticalScrollDirection===Ca.DOWN&&i.scrollBy(0,e),this._horizontalScrollDirection===ho.LEFT?i.scrollBy(-e,0):this._horizontalScrollDirection===ho.RIGHT&&i.scrollBy(e,0)})};_isOverContainer(i,e){return this._domRect!=null&&jA(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||!jA(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=Uu(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 OV(t,i){let{top:e,bottom:n,height:r}=t,o=r*NV;return i>=e-o&&i<=e+o?Ca.UP:i>=n-o&&i<=n+o?Ca.DOWN:Ca.NONE}function FV(t,i){let{left:e,right:n,width:r}=t,o=r*NV;return i>=e-o&&i<=e+o?ho.LEFT:i>=n-o&&i<=n+o?ho.RIGHT:ho.NONE}function TZ(t,i,e,n,r){let o=OV(i,r),a=FV(i,n),s=Ca.NONE,d=ho.NONE;if(o){let p=t.scrollTop;o===Ca.UP?p>0&&(s=Ca.UP):t.scrollHeight-p>t.clientHeight&&(s=Ca.DOWN)}if(a){let p=t.scrollLeft;e==="rtl"?a===ho.RIGHT?p<0&&(d=ho.RIGHT):t.scrollWidth+p>t.clientWidth&&(d=ho.LEFT):a===ho.LEFT?p>0&&(d=ho.LEFT):t.scrollWidth-p>t.clientWidth&&(d=ho.RIGHT)}return[s,d]}var YA=(()=>{class t{_injector=m(ie);constructor(){}createDrag(e,n){return wZ(this._injector,e,n)}createDropList(e){return SZ(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=q({providers:[YA],imports:[mr]})}return t})();var e_;function PV(){if(e_==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>e_=!0}))}finally{e_=e_||!1}return e_}function Op(t){return PV()?t:!!t.capture}var LV=new R("cdk-input-modality-detector-options"),BV={ignoreKeys:[18,17,224,91,16]},VV=650,KA={passive:!0,capture:!0},jV=(()=>{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=>
18n===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=mi(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<VV||(this._modality.next(Kl(e)?"keyboard":"mouse"),this._mostRecentTarget=mi(e))};_onTouchstart=e=>{if(Xl(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=mi(e)};constructor(){let e=m(le),n=m(Ce),r=m(LV,{optional:!0});if(this._options=P(P({},BV),r),this.modalityDetected=this._modality.pipe(kl(1)),this.modalityChanged=this.modalityDetected.pipe(It()),this._platform.isBrowser){let o=m(gi).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(n,"keydown",this._onKeydown,KA),o.listen(n,"mousedown",this._onMousedown,KA),o.listen(n,"touchstart",this._onTouchstart,KA)])}}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})(),t_=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(t_||{}),HV=new R("cdk-focus-monitor-default-options"),cC=Op({passive:!0,capture:!0}),oi=(()=>{class t{_ngZone=m(le);_platform=m(gt);_inputModalityDetector=m(jV);_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(HV,{optional:!0});this._detectionMode=e?.detectionMode||t_.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let n=mi(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=bi(e);if(!this._platform.isBrowser||r.nodeType!==1)return L();let o=Uu(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=bi(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=bi(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===t_.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===t_.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?VV:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),o=mi(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,cC),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,cC)}),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,cC),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cC),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})(),dC=(()=>{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 $s=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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})(),uC;function AZ(){if(uC===void 0&&(uC=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(uC=t.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return uC}function Wu(t){return AZ()?.createHTML(t)||t}function UV(t,i,e){let n=e.sanitize(dn.HTML,i);t.innerHTML=Wu(n||"")}var zV=new Set,$u,Fp=(()=>{class t{_platform=m(gt);_nonce=m(xu,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):RZ}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&kZ(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})();function kZ(t,i){if(!zV.has(t))try{$u||($u=document.createElement("style"),i&&$u.setAttribute("nonce",i),$u.setAttribute("type","text/css"),document.head.appendChild($u)),$u.sheet&&($u.sheet.insertRule(`@media ${t} {body{ }}`,0),zV.add(t))}catch(e){console.error(e)}}function RZ(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Ql=(()=>{class t{_mediaMatcher=m(Fp);_zone=m(le);_queries=new Map;
37_destroySubject=new O;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return GV(Zl(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=GV(Zl(e)).map(a=>this._registerQuery(a).observable),o=on(r);return o=xs(o.pipe(We(1)),o.pipe(kl(1),fi(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 GV(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function MZ(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 WV=(()=>{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})(),$V=(()=>{class t{_mutationObserverFactory=m(WV);_observedElements=new Map;_ngZone=m(le);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){let n=bi(e);return new Ne(r=>{let a=this._observeElement(n).pipe($(s=>s.filter(d=>!MZ(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})(),n_=(()=>{class t{_contentObserver=m($V);_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=Tr(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(fi(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",Y],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),Pp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[WV]})}return t})();var Yu=(()=>{class t{_platform=m(gt);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return OZ(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=NZ(UZ(e));if(n&&(YV(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),o=YV(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!jZ(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 HZ(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 NZ(t){try{return t.frameElement}catch(i){return null}}function OZ(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function FZ(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function PZ(t){return BZ(t)&&t.type=="hidden"}function LZ(t){return VZ(t)&&t.hasAttribute("href")}function BZ(t){return t.nodeName.toLowerCase()=="input"}function VZ(t){return t.nodeName.toLowerCase()=="a"}function XV(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function YV(t){if(!XV(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function jZ(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function HZ(t){return PZ(t)?!1:FZ(t)||LZ(t)||t.hasAttribute("contenteditable")||XV(t)}function UZ(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var mC=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?Et(i,{injector:this._injector}):setTimeout(i)}},Lp=(()=>{class t{_checker=m(Yu);_ngZone=m(le);_document=m(Ce);_injector=m(ie);constructor(){m(Lt).load($s)}create(e,n=!1){return new mC(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})(),ZA=(()=>{class t{_elementRef=m(Q);_focusTrapFactory=m(Lp);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",Y],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Y]},exportAs:["cdkTrapFocus"],features:[Ke]})}return t})(),ZV=new R("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),QV=new R("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),zZ=0,i_=(()=>{class t{_ngZone=m(le);_defaultOptions=m(QV,{optional:!0});_liveElement;_document=m(Ce);_sanitizer=m(Nu);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=m(ZV,{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:UV(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-${zZ++}`,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 sd=(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})(sd||{}),qV="cdk-high-contrast-black-on-white",KV="cdk-high-contrast-white-on-black",XA="c
37dk-high-contrast-active",JV=(()=>{class t{_platform=m(gt);_hasCheckedHighContrastMode=!1;_document=m(Ce);_breakpointSubscription;constructor(){this._breakpointSubscription=m(Ql).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return sd.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 sd.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return sd.BLACK_ON_WHITE}return sd.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(XA,qV,KV),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===sd.BLACK_ON_WHITE?e.add(XA,qV):n===sd.WHITE_ON_BLACK&&e.add(XA,KV)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jl=(()=>{class t{constructor(){m(JV)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Pp]})}return t})();var GZ=200,pC=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:GZ;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(B(e=>this._pressedLetters.push(e)),fi(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 Bp=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 oo?this._itemChangesSubscription=i.changes.subscribe(n=>this._itemsChanged(n.toArray())):Ls(i)&&(this._effectRef=ro(()=>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 pC(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 Ls(this._items)?this._items():this._items instanceof oo?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 qu=class extends Bp{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var ls=class extends Bp{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var nj=" ";function Vp(t,i,e){let n=bC(t,i);e=e.trim(),!n.some(r=>r.trim()===e)&&(n.push(e),t.setAttribute(i,n.join(nj)))}function ld(t,i,e){let n=bC(t,i);e=e.trim();let r=n.filter(o=>o!==e);r.length?t.setAttribute(i,r.join(nj)):t.removeAttribute(i)}function bC(t,i){return t.getAttribute(i)?.match(/\S+/g)??[]}var ij="cdk-describedby-message",_C="cdk-describedby-host",JA=0,a_=(()=>{class t{_platform=m(gt);_document=m(Ce);_messageRegistry=new Map;_messagesContainer=null;_id=`${JA++}`;constructor(){m(Lt).load($s),this._id=m(Wc)+"-"+JA++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let o=QA(n,r);typeof n!="string"?(tj(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=QA(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(`[${_C}="${this._id}"]`);for(let n=0;n<e.length;n++)this._removeCdkDescribedByReferenceIds(e[n]),e[n].removeAttribute(_C);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,n){let r=this._document.createElement("div");tj(r,this._id),r.textContent=e,n&&r.setAttribute("role",n),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(QA(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=bC(e,"aria-describedby").filter(r=>r.indexOf(ij)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let r=this._messageRegistry.get(n);Vp(e,"aria-describedby",r.messageElement.id),e.setAttribute(_C,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,ld(e,"aria-describedby",r.messageElement.id),e.removeAttribute(_C)}_isElementDescribedByMessage(e,n){let r=bC(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 QA(t,i){return typeof t=="string"?`${i||""}/${t}`:t}function tj(t,i){t.id||(t.id=`${ij}-${i}-${JA++}`)}var pr=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 Ku=(()=>{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 vC=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=as.INSERTED}else d==null?(e.remove(s),f=as.REMOVED):(p=e.get(s),e.move(p,d),f=as.MOVED);o&&o({context:p?.context,operation:f,record:a})})}detach(){}};var WZ=["mat-internal-form-field",""],$Z=["*"],jp=(()=>{class t{labelPosition="after";static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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:WZ,ngContentSelectors:$Z,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 cs={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 YZ=new R("MATERIAL_ANIMATIONS"),rj=null;function s_(){return m(YZ,{optional:!0})?.animationsDisabled||m(ng,{optional:!0})==="NoopAnimations"?"di-disabled":(rj??=m(Fp).matchMedia("(prefers-reduced-motion)").matches,rj?"reduced-motion":"enabled")}function ct(){return s_()!=="enabled"}var pi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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 ek(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Hp,oj=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function tk(){if(Hp)return Hp;if(typeof document!="object"||!document)return Hp=new Set(oj),Hp;let t=document.createElement("input");return Hp=new Set(oj.filter(i=>(t.setAttribute("type",i),t.type===i))),Hp}function ki(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Pn(t){return t!=null&&`${t}`!="false"}function aj(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||{}),yC=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)}},sj=Op({passive:!0,capture:!0}),nk=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,sj)})}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,sj)))}_delegateEventHandler=i=>{let e=mi(i);e&&this._events.get(i.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(o=>o.handleEvent(i))})}},Up={enterDuration:225,exitDuration:150},qZ=800,lj=Op({passive:!0,capture:!0}),cj=["mousedown","touchstart"],dj=["mouseup","mouseleave","touchend","touchcancel"],KZ=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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})(),cd=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new nk;constructor(i,e,n,r,o){this._target=i,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=bi(n)),o&&o.get(Lt).load(KZ)}fadeInRipple(i,e,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=P(P({},Up),n.animation);n.centered&&(i=r.left+r.width/2,e=r.top+r.height/2);let a=n.radius||XZ(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,k=b.transitionDuration,M=w==="none"||k==="0s"||k==="0s, 0s"||r.width===0&&r.height===0,J=new yC(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(nn),this._finishRippleTransition(J)},Te=()=>this._destroyRipple(J),nn=setTimeout(Te,p+100);f.addEventListener("transitionend",K),f.addEventListener("transitioncancel",Te),j={onTransitionEnd:K,onTransitionCancel:Te,fallbackTimer:nn}}),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({},Up),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=bi(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,cj.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(()=>{dj.forEach(e=>{this._triggerElement.addEventListener(e,this,lj)})}),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=Kl(i),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+qZ;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(i.clientX,i.clientY,this._target.rippleConfig))}_onTouchStart(i){if(!this._target.rippleDisabled&&!Xl(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&&(cj.forEach(e=>t._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(dj.forEach(e=>i.removeEventListener(e,this,lj)),this._pointerUpEventsRegistered=!1))}};function XZ(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 dd=new R("mat-ripple-global-options"),Ur=(()=>{class t{_elementRef=m(Q);_animationsDisabled=ct();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(dd,{optional:!0}),o=m(ie);this._globalOptions=r||{},this._rippleRenderer=new cd(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=q({imports:[De]})}return t})();var ZZ=["input"],QZ=["formField"],JZ=["*"],CC=class{source;value;constructor(i,e){this.source=i,this.value=e}},eQ={provide:tr,useExisting:bn(()=>ik),multi:!0},uj=new R("MatRadioGroup"),tQ=new R("mat-radio-default-options",{providedIn:"root",factory:()=>({color:"accent",disabledInteractive:!1})}),ik=(()=>{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 CC(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,DC,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",Y],required:[2,"required","required",Y],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[me([eQ,{provide:uj,useExisting:t}])]})}return t})(),DC=(()=>{class t{_elementRef=m(Q);_changeDetector=m(Ee);_focusMonitor=m(oi);_radioDispatcher=m(Ku);_defaultOptions=m(tQ,{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=ct();_injector=m(ie);constructor(){m(Lt).load(pi);let e=m(uj,{optional:!0}),n=m(new ui("tabindex"),{optional:!0});this.radioGroup=e,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,n&&(this.tabIndex=an(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 CC(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,Et(()=>{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=A({type:t,selectors:[["mat-radio-button"]],viewQuery:function(n,r){if(n&1&&ve(ZZ,5)(QZ,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",Y],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:an(e)],checked:[2,"checked","checked",Y],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",Y],required:[2,"required","required",Y],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:JZ,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),S(7,"div",7)(8,"div",8),c(),u(9,"div",9),S(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:[Ur,jp],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})(),rk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Hi,DC,De]})}return t})();var ok=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();var l_=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 l_{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}},Ir=class extends l_{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()}},ak=class extends l_{element;constructor(i){super(),this.element=i instanceof Q?i.nativeElement:i}},ud=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 Ir)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof ak)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)}},zp=class extends ud{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(Fs,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=B0(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 fo=(()=>{class t extends ud{_moduleRef=m(Fs,{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})(),hr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();var mj=rC();function Ks(t){return new EC(t.get(ji),t.get(Ce))}var EC=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"),mj&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),mj&&(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 vj(t,i){return new wC(t.get(ss),t.get(le),t.get(ji),i)}var wC=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 c_=class{enable(){}disable(){}attach(){}};function sk(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 pj(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 xC(t.get(ss),t.get(ji),t.get(le),i)}var xC=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();sk(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}},yj=(()=>{class t{_injector=m(ie);constructor(){}noop=()=>new c_;close=e=>vj(this._injector,e);block=()=>Ks(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})(),go=class{positionStrategy;scrollStrategy=new c_;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 SC=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var Cj=(()=>{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})(),Dj=(()=>{class t extends Cj{_ngZone=m(le);_renderer=m(gi).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})(),Ej=(()=>{class t extends Cj{_platform=m(gt);_ngZone=m(le);_renderer=m(gi).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=mi(e)};_clickListener=e=>{let n=mi(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(hj(s.overlayElement,n)||hj(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 hj(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 wj=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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})(),IC=(()=>{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||ek()){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),ek()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}_loadStyles(){this._styleLoader.load(wj)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),lk=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 ck(t){return t&&t.nodeType===1}var Gp=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=Et(()=>{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=ke(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;ck(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 lk(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=Zl(e||[]).filter(o=>!!o);r.length&&(n?i.classList.add(...r):i.classList.remove(...r))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=Et(()=>{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?.()}},fj="cdk-overlay-connected-position-bounding-box",iQ=/([A-Za-z%]+)$/;function ds(t,i){return new Wp(i,t.get(ji),t.get(Ce),t.get(gt),t.get(IC))}var Wp=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(fj),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&&Xu(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(fj),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:ck(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=_j(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,k=s+o.height-n.height,M=this._subtractOverflows(o.width,f,b),J=this._subtractOverflows(o.height,w,k),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=gj(this._overlayRef.getConfig().minHeight),s=gj(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=_j(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||!rQ(this._lastScrollVisibility,n)){let r=new SC(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 k=Math.min(n.bottom-i.y+n.top,i.y),M=this._lastBoundingBoxSize.height;o=k*2,a=i.y-k,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 k=Math.min(n.right-i.x+n.left,i.x),M=this._lastBoundingBoxSize.width;f=k*2,b=i.x-k,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,Xu(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Xu(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Xu(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();Xu(n,this._getExactOverlayY(e,i,f)),Xu(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="")),Xu(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:pj(i,n),isOriginOutsideView:sk(i,n),isOverlayClipped:pj(e,n),isOverlayOutsideView:sk(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&&Zl(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 Xu(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function gj(t){if(typeof t!="number"&&t!=null){let[i,e]=t.split(iQ);return!e||e==="px"?parseFloat(i):null}return t||null}function _j(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 rQ(t,i){return t===i?!0:t.isOriginClipped===i.isOriginClipped&&t.isOriginOutsideView===i.isOriginOutsideView&&t.isOverlayClipped===i.isOverlayClipped&&t.isOverlayOutsideView===i.isOverlayOutsideView}var bj="cdk-global-overlay-wrapper";function Da(t){return new TC}var TC=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(bj),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",k="",M="",J="";d?J="flex-start":f==="center"?(J="center",w?M=b:k=b):w?f==="left"||f==="end"?(J="flex-end",k=b):(f==="right"||f==="start")&&(J="flex-start",M=b):f==="left"||f==="start"?(J="flex-start",k=b):(f==="right"||f==="end")&&(J="flex-end",M=b),i.position=this._cssPosition,i.marginLeft=d?"0":k,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(bj),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},xj=(()=>{class t{_injector=m(ie);constructor(){}global(){return Da()}flexibleConnectedTo(e){return ds(this._injector,e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),d_=new R("OVERLAY_DEFAULT_CONFIG");function _o(t,i){t.get(Lt).load(wj);let e=t.get(IC),n=t.get(Ce),r=t.get(pt),o=t.get(Ji),a=t.get(ln),s=t.get(ot,null,{optional:!0})||t.get(gi).createRenderer(null,null),d=new go(i),p=t.get(d_,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 ck(w)?w.after(b):w?.type==="parent"?w.element.appendChild(b):e.getContainerElement().appendChild(b),new Gp(new zp(f,o,t),b,f,d,t.get(le),t.get(Dj),n,t.get(js),t.get(Ej),i?.disableAnimations??t.get(ng,null,{optional:!0})==="NoopAnimations",t.get(_n),s)}var Sj=(()=>{class t{scrollStrategies=m(yj);_positionBuilder=m(xj);_injector=m(ie);constructor(){}create(e){return _o(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})(),oQ=[{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"}],aQ=new R("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}}),$p=(()=>{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})(),Tj=new R("cdk-connected-overlay-default-config"),AC=(()=>{class t{_dir=m(ln,{optional:!0});_injector=m(ie);_overlayRef;_templatePortal;_backdropSubscription=_e.EMPTY;_attachSubscription=_e.EMPTY;_detachSubscription=_e.EMPTY;_positionSubscription=_e.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=m(aQ);_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;
505set _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(Tj,{optional:!0}),o=m(d_,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new Ir(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=oQ);let e=this._overlayRef=_o(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=mi(n);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new go({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=ds(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof $p?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof $p?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(dx(()=>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",Y],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Y],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Y],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Y],push:[2,"cdkConnectedOverlayPush","push",Y],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Y],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",Y],_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=q({providers:[Sj],imports:[De,hr,ad,ad]})}return t})();var sQ=[[["caption"]],[["colgroup"],["col"]],"*"],lQ=["caption","colgroup, col","*"];function cQ(t,i){t&1&&re(0,2)}function dQ(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 uQ(t,i){t&1&&Di(0,1)(1,2)(2,3)(3,4)}var us=new R("CDK_TABLE");var MC=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),NC=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),kj=(()=>{class t{template=m(Zt);constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),md=(()=>{class t{_table=m(us,{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,MC,5)(o,NC,5)(o,kj,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",Y],stickyEnd:[2,"stickyEnd","stickyEnd",Y]}})}return t})(),RC=class{constructor(i,e){e.nativeElement.classList.add(...i._columnCssClassName)}},Rj=(()=>{class t extends RC{constructor(){super(m(md),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 Mj=(()=>{class t extends RC{constructor(){let e=m(md),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 uk=(()=>{class t{template=m(Zt);_differs=m(Ul);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 m_?e.headerCell.template:this instanceof mk?e.footerCell.template:e.cell.template}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,features:[Ke]})}return t})(),m_=(()=>{class t extends uk{_table=m(us,{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(Ul))}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",Y]},features:[he,Ke]})}return t})(),mk=(()=>{class t extends uk{_table=m(us,{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(Ul))}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",Y]},features:[he,Ke]})}return t})(),OC=(()=>{class t extends uk{_table=m(us,{optional:!0});when;constructor(){super(m(Zt),m(Ul))}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})(),Zu=(()=>{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})(),pk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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:[Zu],encapsulation:2})}return t})();var hk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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:[Zu],encapsulation:2})}return t})(),Nj=(()=>{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})(),Ij=["top","bottom","left","right"],dk=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));Et({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),k,M,J;o&&this._updateStickyColumnReplayQueue({rows:[...i],stickyStartStates:[...e],stickyEndStates:[...n]}),Et({earlyRead:()=>{k=this._getCellWidths(a,r),M=this._getStickyStartColumnPositions(k,e),J=this._getStickyEndColumnPositions(k,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&&k.some(j=>!!j)&&(this._positionListener.stickyColumnsUpdated({sizes:b===-1?[]:k.slice(0,b+1).map((j,K)=>e[K]?j:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:w===-1?[]:k.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=[];Et({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 k of d[f])this._addStickyStyle(k,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&&Et({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]);Ij.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 Ij)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&&mQ(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 mQ(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(i=>t.classList.contains(i))}var u_=new R("STICKY_POSITIONING_LISTENER");var fk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(us);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","rowOutlet",""]]})}return t})(),gk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(us);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),_k=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(us);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),bk=(()=>{class t{viewContainer=m(Pt);elementRef=m(Q);constructor(){let e=m(us);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),vk=(()=>{class t{_differs=m(Ul);_changeDetectorRef=m(Ee);_elementRef=m(Q);_dir=m(ln,{optional:!0});_platform=m(gt);_viewRepeater;_viewportRuler=m(ji);_injector=m(ie);_virtualScrollViewport=m(fV,{optional:!0,host:!0});_positionListener=m(u_,{optional:!0})||m(u_,{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 ui("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 oC:new vC,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(),Kg(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===as.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=Aj(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=Aj(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(),kC(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEac
505h(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=kC(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=kC(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=kC(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=[],Kg(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;Kg(this.dataSource)?e=this.dataSource.connect(this):Tl(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=L(this.dataSource)),this._renderChangeSubscription=on([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))Zu.mostRecentCellOutlet&&Zu.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 dk(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,n),(this._dir?this._dir.change:L()).pipe(xe(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let n=typeof requestAnimationFrame<"u"?Fm:Ob;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(Vm(0,n),xe(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(r,o)=>this._measureRangeSize(r,o)}),on([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`}}}),on([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 k=o.get(w+a);if(k&&k.rootNodes.length){d=p=k.rootNodes[0];break}}for(let w=s-1;w>-1;w--){let k=o.get(w+a);if(k&&k.rootNodes.length){p=k.rootNodes[k.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=A({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Nj,5)(o,md,5)(o,OC,5)(o,m_,5)(o,mk,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",Y],fixedLayout:[2,"fixedLayout","fixedLayout",Y],recycleRows:[2,"recycleRows","recycleRows",Y]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[me([{provide:us,useExisting:t},{provide:u_,useValue:null}])],ngContentSelectors:lQ,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,r){n&1&&(Ie(sQ),re(0),re(1,1),v(2,cQ,1,0),v(3,dQ,7,0)(4,uQ,4,0)),n&2&&(l(2),y(r._isServer?2:-1),l(),y(r._isNativeHtmlTable?3:4))},dependencies:[gk,fk,bk,_k],styles:[`.cdk-table-fixed-layout { 506 table-layout: fixed; 507} 508`],encapsulation:2})}return t})();function kC(t,i){return t.concat(Array.from(i))}function Aj(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 p_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[ad]})}return t})();var yk=class{dataNodes;expansionModel=new pr(!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}},Oj=class extends yk{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 h_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();var FC=(()=>{class t{_animationsDisabled=ct();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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 pQ=["text"],hQ=[[["mat-icon"]],"*"],fQ=["mat-icon","*"];function gQ(t,i){if(t&1&&S(0,"mat-pseudo-checkbox",1),t&2){let e=_();g("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function _Q(t,i){if(t&1&&S(0,"mat-pseudo-checkbox",3),t&2){let e=_();g("disabled",e.disabled)}}function bQ(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),se("(",e.group.label,")")}}var g_=new R("MAT_OPTION_PARENT_COMPONENT"),__=new R("MatOptgroup");var f_=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},Qt=(()=>{class t{_element=m(Q);_changeDetectorRef=m(Ee);_parent=m(g_,{optional:!0});group=m(__,{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(pi),e.load($s),this._signalDisableRipple=!!this._parent&&Ls(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 f_(this,e))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["mat-option"]],viewQuery:function(n,r){if(n&1&&ve(pQ,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",Y]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:fQ,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(hQ),v(0,gQ,1,2,"mat-pseudo-checkbox",1),re(1),u(2,"span",2,0),re(4,1),c(),v(5,_Q,1,1,"mat-pseudo-checkbox",3),v(6,bQ,2,1,"span",4),S(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:[FC,Ur],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 PC(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 LC(t,i,e,n){return t<e?t:t+i>e+n?Math.max(0,t-n+i):e}var Ck=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)),Jr({bufferSize:1,refCount:!0}),xe(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},BC=(()=>{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 Ck(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 vQ=["notch"],yQ=["matFormFieldNotchedOutline",""],CQ=["*"],Fj=["iconPrefixContainer"],Pj=["textPrefixContainer"],Lj=["iconSuffixContainer"],Bj=["textSuffixContainer"],DQ=["textField"],EQ=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],wQ=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function xQ(t,i){t&1&&S(0,"span",21)}function SQ(t,i){if(t&1&&(u(0,"label",20),re(1,1),v(2,xQ,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 TQ(t,i){if(t&1&&v(0,SQ,3,5,"label",20),t&2){let e=_();y(e._hasFloatingLabel()?0:-1)}}function IQ(t,i){t&1&&S(0,"div",7)}function AQ(t,i){}function kQ(t,i){if(t&1&&fe(0,AQ,0,0,"ng-template",13),t&2){_(2);let e=ye(1);g("ngTemplateOutlet",e)}}function RQ(t,i){if(t&1&&(u(0,"div",9),v(1,kQ,1,1,null,13),c()),t&2){let e=_();g("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),l(),y(e._forceDisplayInfixLabel()?-1:1)}}function MQ(t,i){t&1&&(u(0,"div",10,2),re(2,2),c())}function NQ(t,i){t&1&&(u(0,"div",11,3),re(2,3),c())}function OQ(t,i){}function FQ(t,i){if(t&1&&fe(0,OQ,0,0,"ng-template",13),t&2){_();let e=ye(1);g("ngTemplateOutlet",e)}}function PQ(t,i){t&1&&(u(0,"div",14,4),re(2,4),c())}function LQ(t,i){t&1&&(u(0,"div",15,5),re(2,5),c())}function BQ(t,i){t&1&&S(0,"div",16)}function VQ(t,i){t&1&&(u(0,"div",18),re(1,6),c())}function jQ(t,i){if(t&1&&(u(0,"mat-hint",22),h(1),c()),t&2){let e=_(2);g("id",e._hintLabelId),l(),x(e.hintLabel)}}function HQ(t,i){if(t&1&&(u(0,"div",19),v(1,jQ,2,2,"mat-hint",22),re(2,7),S(3,"div",23),re(4,8),c()),t&2){let e=_();l(),y(e.hintLabel?1:-1)}}var Ye=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["mat-label"]]})}return t})(),Wj=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:Wj,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})(),$j=new R("MatPrefix"),Dk=(()=>{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:$j,useExisting:t}])]})}return t})(),Yj=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:Yj,useExisting:t}])]})}return t})(),qj=new R("FloatingLabelParent"),Vj=(()=>{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(BC);_ngZone=m(le);_parent=m(qj);_resizeSubscription=new _e;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return UQ(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 UQ(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 jj="mdc-line-ripple--active",VC="mdc-line-ripple--deactivating",Hj=(()=>{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(VC),e.add(jj)}deactivate(){this._elementRef.nativeElement.classList.add(VC)}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,r=n.contains(VC);e.propertyName==="opacity"&&r&&n.remove(jj,VC)};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})(),Uj=(()=>{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=A({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,r){if(n&1&&ve(vQ,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:yQ,ngContentSelectors:CQ,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(),_i(0,"div",1),ft(1,"div",2,0),re(3),_t(),_i(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Yp=(()=>{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 ec=new R("MatFormField"),zQ=new R("MAT_FORM_FIELD_DEFAULT_OPTIONS"),zj="fill",GQ="auto",Gj="fixed",WQ="translateY(-50%)",Ve=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_platform=m(gt);_idGenerator=m(pt);_ngZone=m(le);_defaults=m(zQ,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Vs("iconPrefixContainer");_textPrefixContainerSignal=Vs("textPrefixContainer");_iconSuffixContainerSignal=Vs("iconSuffixContainer");_textSuffixContainerSignal=Vs("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=OL(Ye);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Pn(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||GQ}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||zj;this._appearanceSignal.set(n)}_appearanceSignal=Z(zj);
vendor: 4,415 bytes, line 735
735get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Gj}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Gj}_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=ct();constructor(){let e=this._defaults,n=m(ln);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),ro(()=>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]),nv(),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(),mt(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(){UL({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`,k=`calc(${f} * (${b} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,M=`var(--mat-mdc-form-field-label-transform, ${WQ} translateX(${k}))`,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=A({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,r,o){if(n&1&&(A0(o,r._labelChild,Ye,5),Gt(o,Yp,5)(o,$j,5)(o,Yj,5)(o,Wj,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&&(Yc(r._iconPrefixContainerSignal,Fj,5)(r._textPrefixContainerSignal,Pj,5)(r._iconSuffixContainerSignal,Lj,5)(r._textSuffixContainerSignal,Bj,5),ve(DQ,5)(Fj,5)(Pj,5)(Lj,5)(Bj,5)(Vj,5)(Uj,5)(Hj,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:ec,useExisting:t},{provide:qj,useExisting:t}])],ngContentSelectors:wQ,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(EQ),fe(0,TQ,1,1,"ng-template",null,0,ba),u(2,"div",6,1),T("click",function(a){return r._control.onContainerClick(a)}),v(4,IQ,1,0,"div",7),u(5,"div",8),v(6,RQ,2,2,"div",9),v(7,MQ,3,0,"div",10),v(8,NQ,3,0,"div",11),u(9,"div",12),v(10,FQ,1,1,null,13),re(11),c(),v(12,PQ,3,0,"div",14),v(13,LQ,3,0,"div",15),c(),v(14,BQ,1,0,"div",16),c(),u(15,"div",17),v(16,VQ,2,0,"div",18)(17,HQ,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:[Vj,Uj,ku,Hj,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 jC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var qp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Hi,jC,Qt,De]})}return t})();var $Q=["panel"],YQ=["*"];
vendor: 20,206 bytes, lines 1684-1738
1684function qQ(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 Ek=class{source;option;constructor(i,e){this.source=i,this.option=e}},Kj=new R("mat-autocomplete-default-options",{providedIn:"root",factory:()=>({autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1})}),Ea=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_defaults=m(Kj);_animationsDisabled=ct();_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 qu(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 Ek(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=A({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Qt,5)(o,__,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)($Q,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",Y],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Y],requireSelection:[2,"requireSelection","requireSelection",Y],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Y],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Y]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[me([{provide:g_,useExisting:t}])],ngContentSelectors:YQ,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(),$c(0,qQ,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 KQ={provide:tr,useExisting:bn(()=>fr),multi:!0};var XQ=new R("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}}),fr=(()=>{class t{_environmentInjector=m(_n);_element=m(Q);_injector=m(ie);_viewContainerRef=m(Pt);_zone=m(le);_changeDetectorRef=m(Ee);_dir=m(ln,{optional:!0});_formField=m(ec,{optional:!0,host:!0});_viewportRuler=m(ji);_scrollStrategy=m(XQ);_renderer=m(ot);_animationsDisabled=ct();_defaults=m(Kj,{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(Ql);_handsetLandscapeSubscription=_e.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption=null;_closeKeyEventStream=new O;_overlayPanelClass=Zl(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&&ld(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return mt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ae(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ae(()=>this._overlayAttached)):L()).pipe($(e=>e instanceof f_?e:null))}optionSelections=Yn(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Re(e),W(()=>mt(...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=mi(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=>{Et(()=>{r.next()},{injector:this._environmentInjector})}),n=this.autocomplete.options?.changes.pipe(B(()=>this._positionStrategy.reapplyLastPosition()),lx(0))??L();return mt(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;Vp(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 Ir(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=_o(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(cs.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 go({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=ds(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=PC(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=LC(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&&ld(this._trackedModal,"aria-owns",n),Vp(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;ld(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",Y]},exportAs:["matAutocompleteTrigger"],features:[me([KQ]),Ke]})}return t})(),b_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Ui,qp,mr,qp,De]})}return t})();var wk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Jl,De]})}return t})();function ZQ(t,i){}var pd=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: 9,446 bytes, lines 1738-1745
1738autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var y_=(()=>{class t extends ud{_elementRef=m(Q);_focusTrapFactory=m(Lp);_config;_interactivityChecker=m(Yu);_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(pd,{optional:!0})||new pd,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||Et(()=>{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=A({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,r){if(n&1&&ve(fo,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,ZQ,0,0,"ng-template",0)},dependencies:[fo],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})(),v_=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))}},QQ=new R("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>Ks(t)}}),JQ=new R("DialogData"),eJ=new R("DefaultDialogConfig");function tJ(t){let i=Z(t),e=new V;return{valueSignal:i,get value(){return i()},change:e,ngOnDestroy(){e.complete()}}}var C_=(()=>{class t{_injector=m(ie);_defaultOptions=m(eJ,{optional:!0});_parentDialog=m(t,{optional:!0,skipSelf:!0});_overlayContainer=m(IC);_idGenerator=m(pt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new O;_afterOpenedAtThisLevel=new O;_ariaHiddenElements=new Map;_scrollStrategy=m(QQ);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Yn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Re(void 0)));constructor(){}open(e,n){let r=this._defaultOptions||new pd;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=_o(this._injector,o),s=new v_(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(){xk(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){xk(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),xk(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let n=new go({positionStrategy:e.positionStrategy||Da().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:pd,useValue:r},{provide:v_,useValue:n},{provide:Gp,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=y_;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 Ir(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:JQ,useValue:e.data},{provide:v_,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(ln,null,{optional:!0}))&&s.push({provide:ln,useValue:tJ(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.forEac
1745h((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 xk(t,i){let e=t.length;for(;e--;)i(t[e])}var HC=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[C_],imports:[Ui,hr,Jl,hr]})}return t})();function nJ(t,i){}var Xj="_mat-bottom-sheet-enter",Zj="_mat-bottom-sheet-exit",iJ=(()=>{class t extends y_{_breakpointSubscription;_animationsDisabled=ct();_animationState="void";_animationStateChanged=new V;_destroyed=!1;constructor(){super();let e=m(Ql);this._breakpointSubscription=e.observe([cs.Medium,cs.Large,cs.XLarge]).subscribe(()=>{let n=this._elementRef.nativeElement.classList;n.toggle("mat-bottom-sheet-container-medium",e.isMatched(cs.Medium)),n.toggle("mat-bottom-sheet-container-large",e.isMatched(cs.Large)),n.toggle("mat-bottom-sheet-container-xlarge",e.isMatched(cs.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._animationsDisabled&&this._simulateAnimation(Xj))}exit(){this._destroyed||(this._elementRef.nativeElement.setAttribute("mat-exit",""),this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._animationsDisabled&&this._simulateAnimation(Zj))}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===Xj;(r||n===Zj)&&this._animationStateChanged.emit({toState:r?"visible":"hidden",phase:e?"start":"done"})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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)}),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,nJ,0,0,"ng-template",0)},dependencies:[fo],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})(),rJ=new R("MatBottomSheetData"),Sk=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},UC=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)}),mt(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}},oJ=new R("mat-bottom-sheet-default-options"),aJ=(()=>{class t{_injector=m(ie);_parentBottomSheet=m(t,{optional:!0,skipSelf:!0});_animationsDisabled=ct();_defaultOptions=m(oJ,{optional:!0});_bottomSheetRefAtThisLevel=null;_dialog=m(C_);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 Sk),n),o;return this._dialog.open(e,ke(P({},r),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:iJ,scrollStrategy:r.scrollStrategy||Ks(this._injector),positionStrategy:Da(this._injector).centerHorizontally().bottom("0"),disableAnimations:this._animationsDisabled,templateContext:()=>({bottomSheetRef:o}),providers:(a,s,d)=>(o=new UC(a,r,d),[{provide:UC,useValue:o},{provide:rJ,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})(),Tk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[aJ],imports:[HC,hr,De]})}return t})();var sJ={capture:!0},lJ=["focus","mousedown","mouseenter","touchstart"],Ik="mat-ripple-loader-uninitialized",Ak="mat-ripple-loader-class-name",Qj="mat-ripple-loader-centered",zC="mat-ripple-loader-disabled",Jj=(()=>{class t{_document=m(Ce);_animationsDisabled=ct();_globalRippleOptions=m(dd,{optional:!0});_platform=m(gt);_ngZone=m(le);_injector=m(ie);_eventCleanups;_hosts=new Map;constructor(){let e=m(gi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>lJ.map(n=>e.listen(this._document,n,this._onInteraction,sJ)))}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);this._eventCleanups.forEach(n=>n())}configureRipple(e,n){e.setAttribute(Ik,this._globalRippleOptions?.namespace??""),(n.className||!e.hasAttribute(Ak))&&e.setAttribute(Ak,n.className||""),n.centered&&e.setAttribute(Qj,""),n.disabled&&e.setAttribute(zC,"")}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(zC,""):e.removeAttribute(zC)}_onInteraction=e=>{let n=mi(e);if(n instanceof HTMLElement){let r=n.closest(`[${Ik}="${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(Ak)),e.append(n);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Up.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Up.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(zC),rippleConfig:{centered:e.hasAttribute(Qj),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},d=new cd(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(Ik)}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 cJ=["mat-icon-button",""],dJ=["*"],uJ=new R("MAT_BUTTON_CONFIG");function eH(t){return t==null?void 0:an(t)}var kk=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_animationsDisabled=ct();_config=m(uJ,{optional:!0});_focusMonitor=m(oi);_cleanupClick;_renderer=m(ot);_rippleLoader=m(Jj);_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(pi);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",Y],disabled:[2,"disabled","disabled",Y],ariaDisabled:[2,"aria-disabled","ariaDisabled",Y],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y],tabIndex:[2,"tabIndex","tabIndex",eH],_tabindex:[2,"tabindex","_tabindex",eH]}})}return t})(),gr=(()=>{class t extends kk{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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:cJ,ngContentSelectors:dJ,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(),_i(0,"span",0),re(1),_i(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 mJ=["matButton",""],pJ=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],hJ=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var tH=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"]]]),Bn=(()=>{class t extends kk{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=fJ(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let n=this._elementRef.nativeElement.classList,r=this._appearance?tH.get(this._appearance):null,o=tH.get(e);r&&n.remove(...r),n.add(...o),this._appearance=e}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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"]},exportAs:["matButton","matAnchor"],features:[he],attrs:mJ,ngContentSelectors:hJ,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(pJ),_i(0,"span",0),re(1),ft(2,"span",1),re(3,1),_t(),re(4,2),_i(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 height: 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 lette
2291r-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 fJ(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 Ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Hi,De]})}return t})();var gJ=["button"],_J=["*"];function bJ(t,i){if(t&1&&(u(0,"div",2),S(1,"mat-pseudo-checkbox",6),c()),t&2){let e=_();l(),g("disabled",e.disabled)}}var vJ=new R("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:()=>
2483({hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1})}),yJ=new R("MatButtonToggleGroup");var Rk=class{source;value;constructor(i,e){this.source=i,this.value=e}};var CJ=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_focusMonitor=m(oi);_idGenerator=m(pt);_animationDisabled=ct();_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(pi);let e=m(yJ,{optional:!0}),n=m(new ui("tabindex"),{optional:!0})||"",r=m(vJ,{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 Rk(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=A({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(n,r){if(n&1&&ve(gJ,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",Y],appearance:"appearance",checked:[2,"checked","checked",Y],disabled:[2,"disabled","disabled",Y],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:_J,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,bJ,2,1,"div",2),u(3,"span",3),re(4),c()(),S(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:[Ur,FC],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})(),Mk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Hi,CJ,De]})}return t})();var DJ=["*"];var EJ=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],wJ=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, 2759 [mat-card-title], [mat-card-subtitle], 2760 [matCardTitle], [matCardSubtitle]`,"*"],xJ=new R("MAT_CARD_CONFIG"),U4e=(()=>{class t{appearance;constructor(){let e=m(xJ,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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:DJ,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 GC=(()=>{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})(),WC=(()=>{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})(),Qu=(()=>{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})(),$C=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:wJ,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,r){n&1&&(Ie(EJ),re(0),ft(1,"div",0),re(2,1),_t(),re(3,2))},encapsulation:2,changeDetection:0})}return t})();var Nk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var SJ=["input"],TJ=["label"],IJ=["*"],Ok={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},AJ=new R("mat-checkbox-default-options",{providedIn:"root",factory:()=>Ok}),zr=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(zr||{}),Fk=class{source;checked},rr=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_ngZone=m(le);_animationsDisabled=ct();_options=m(AJ,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let n=new Fk;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=zr.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){m(Lt).load(pi);let e=m(new ui("tabindex"),{optional:!0});this._options=this._options||Ok,this.color=this._options.color||Ok.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(zr.Indeterminate):this._transitionCheckState(this.checked?zr.Checked:zr.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?zr.Checked:zr.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 zr.Init:if(n===zr.Checked)return this._animationClasses.uncheckedToChecked;if(n==zr.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case zr.Unchecked:return n===zr.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case zr.Checked:return n===zr.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case zr.Indeterminate:return n===zr.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=A({type:t,selectors:[["mat-checkbox"]],viewQuery:function(n,r){if(n&1&&ve(SJ,5)(TJ,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",Y],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",Y],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",Y],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:an(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y],checked:[2,"checked","checked",Y],disabled:[2,"disabled","disabled",Y],indeterminate:[2,"indeterminate","indeterminate",Y]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[me([{provide:tr,useExisting:bn(()=>t),multi:!0},{provide:Qo,useExisting:t,multi:!0}]),Ke],ngContentSelectors:IJ,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(),S(6,"div",7),u(7,"div",8),In(),u(8,"svg",9),S(9,"path",10),c(),$o(),S(10,"div",11),c(),S(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:[Ur,jp],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})(),D_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[rr,De]})}return t})();var Xp=(()=>
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 Zp=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 kJ=new R("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})});var Pk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[Xp,{provide:kJ,useValue:{separatorKeyCodes:[13]}}],imports:[Hi,De]})}return t})();var Ju=new R("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>m(Au)}),Qp="Method not implemented",or=class{locale;_localeChanges=new O;localeChanges=this._localeChanges;setTime(i,e,n,r){throw new Error(Qp)}getHours(i){throw new Error(Qp)}getMinutes(i){throw new Error(Qp)}getSeconds(i){throw new Error(Qp)}parseTime(i,e){throw new Error(Qp)}addSeconds(i,e){throw new Error(Qp)}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}},Xs=new R("mat-date-formats");var Lk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var RJ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,MJ=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Bk(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var NJ=(()=>{class t extends or{_matDateLocale=m(Ju,{optional:!0});constructor(){super();let e=m(Ju,{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 Bk(12,r=>this._format(n,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Bk(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 Bk(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,ke(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(RJ.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(MJ);
3403if(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),Vk(r,0,23)&&Vk(o,0,59)&&(a==null||Vk(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 Vk(t,i,e){return!isNaN(t)&&t>=i&&t<=e}var OJ={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 jk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[FJ()]})}return t})();function FJ(t=OJ){return[{provide:or,useClass:NJ},{provide:Xs,useValue:t}]}var PJ=["tooltip"],LJ=20;var BJ=new R("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t,{scrollThrottle:LJ})}}),VJ=new R("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var nH="tooltip-panel",jJ={passive:!0},HJ=8,UJ=8,zJ=24,GJ=200,Zs=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_platform=m(gt);_ariaDescriber=m(a_);_focusMonitor=m(oi);_dir=m(ln);_injector=m(ie);_viewContainerRef=m(Pt);_mediaMatcher=m(Fp);_document=m(Ce);_renderer=m(ot);_animationsDisabled=ct();_defaultOptions=m(VJ,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=iH;_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=Tr(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Tr(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=HJ}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(ss).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${nH}`,o=ds(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=_o(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(BJ)(),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=UJ,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(),Et(()=>{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}-${nH}-`;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,jJ))}_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||Et({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})(),iH=(()=>{class t{_changeDetectorRef=m(Ee);_elementRef=m(Q);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=ct();_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>zJ&&e.width>=GJ}_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=A({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(n,r){if(n&1&&ve(PJ,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),Bs("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),x(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 YC=new R("MAT_INPUT_VALUE_ACCESSOR");var WJ=["mat-calendar-body",""];function $J(t,i){return this._trackRow(i)}var dH=(t,i)=>i.id;function YJ(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 qJ(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 KJ(t,i){if(t&1){let e=Se();ft(0,"td",6)(1,"button",7),Bs("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(),_i(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 XJ(t,i){if(t&1&&(ft(0,"tr",1),v(1,qJ,2,6,"td",4),Ue(2,KJ,5,49,"td",5,dH),_t()),t&2){let e=i.$implicit,n=i.$index,r=_();l(),y(n===0&&r._firstRowOffset?1:-1),l(),ze(e)}}function ZJ(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),x(e.long),l(2),x(e.narrow)}}var QJ=["*"];function JJ(t,i){}function eee(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 tee(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 nee(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 iee(t,i){}var ree=["button"],oee=[[["","matDatepickerToggleIcon",""]]],aee=["[matDatepickerToggleIcon]"];function see(t,i){t&1&&(In(),u(0,"svg",2),S(1,"path",3),c())}var th=(()=>{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})(),lee=0,w_=class{value;displayValue;ariaLabel;enabled;compareValue;rawValue;id=lee++;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}},cee={passive:!1,capture:!0},qC={passive:!0,capture:!0},rH={passive:!0},eh=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_platform=m(gt);_intl=m(th);_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(pi),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,o=[e.listen(r,"touchmove",this._touchmoveHandler,cee),e.listen(r,"mouseenter",this._enterHandler,qC),e.listen(r,"focus",this._enterHandler,qC),e.listen(r,"mouseleave",this._leaveHandler,qC),e.listen(r,"blur",this._leaveHandler,qC),e.listen(r,"mousedown",this._mousedownHandler,rH),e.listen(r,"touchstart",this._mousedownHandler,rH)];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){Et(()=>{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 zk(e,this.startValue,this.endValue)}_isRangeEnd(e){return Gk(e,this.startValue,this.endValue)}_isInRange(e){return Wk(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return zk(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 Gk(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return Wk(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return zk(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Gk(e,this.previewStart,this.previewEnd)}_isInPreview(e){return Wk(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=oH(e),r=n?this._getCellFromElement(n):null;n!==e.target&&(this._didDragSinceMouseDown=!0),Uk(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=Uk(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=oH(e);n&&this._mouseupHandler({target:n})};_getCellFromElement(e){let n=Uk(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=A({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numC
3508ols:"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:WJ,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,YJ,3,6,"tr",0),Ue(1,XJ,4,1,"tr",1,$J,!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(),ze(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(),lo(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,` 3511`),l(),An("id",r._comparisonEndDateLabelId),l(),lo(" ",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 Hk(t){return t?.nodeName==="TD"}function Uk(t){let i;return Hk(t)?i=t:Hk(t.parentNode)?i=t.parentNode:Hk(t.parentNode?.parentNode)&&(i=t.parentNode.parentNode),i?.getAttribute("data-mat-row")!=null?i:null}function zk(t,i,e){return e!==null&&i!==e&&t<e&&t===i}function Gk(t,i,e){return i!==null&&i!==e&&t>=i&&t===e}function Wk(t,i,e,n){return n&&i!==null&&e!==null&&i!==e&&t>=i&&t<=e}function oH(t){let i=t.changedTouches[0];return document.elementFromPoint(i.clientX,i.clientY)}var wa=class{start;end;_disableStructuralEquivalency;constructor(i,e){this.start=i,this.end=e}},x_=(()=>{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){Iu()};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),dee=(()=>{class t extends x_{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(or))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var uH={provide:x_,useFactory:()=>m(x_,{optional:!0,skipSelf:!0})||new dee(m(or))};var mH=new R("MAT_DATE_RANGE_SELECTION_STRATEGY");var $k=7,uee=0,aH=(()=>{class t{_changeDetectorRef=m(Ee);_dateFormats=m(Xs,{optional:!0});_dateAdapter=m(or,{optional:!0});_dir=m(ln,{optional:!0});_rangeStrategy=m(mH,{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 wa?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($s),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 wa?(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(($k+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%$k),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:uee++}));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==$k&&(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 w_(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 wa?(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=A({type:t,selectors:[["mat-month-view"]],viewQuery:function(n,r){if(n&1&&ve(eh,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"),Ue(3,ZJ,5,2,"th",2,dH),c(),u(5,"tr",3),S(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),ze(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:[eh],encapsulation:2,changeDetection:0})}return t})(),aa=24,Yk=4,sH=(()=>{class t{_changeDetectorRef=m(Ee);_dateAdapter=m(or,{optional:!0});_dir=m(ln,{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),pH(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof wa?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)-E_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),r=[];for(let o=0,a=[];o<aa;o++)a.push(n+o),a.length==Yk&&(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,-Yk);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Yk);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-E_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,aa-E_(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 E_(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 w_(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 wa){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=A({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(n,r){if(n&1&&ve(eh,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"),S(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()))},dependencies:[eh],encapsulation:2,changeDetection:0})}return t})();function pH(t,i,e,n,r){let o=t.getYear(i),a=t.getYear(e),s=hH(t,n,r);return Math.floor((o-s)/aa)===Math.floor((a-s)/aa)}function E_(t,i,e,n){let r=t.getYear(i);return mee(r-hH(t,e,n),aa)}function hH(t,i,e){let n=0;return e?n=t.getYear(e)-aa+1:i&&(n=t.getYear(i)),n}function mee(t,i){return(t%i+i)%i}var lH=(()=>{class t{_changeDetectorRef=m(Ee);_dateFormats=m(Xs,{optional:!0});_dateAdapter=m(or,{optional:!0});_dir=m(ln,{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 wa?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 w_(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 wa?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=A({type:t,selectors:[["mat-year-view"]],viewQuery:function(n,r){if(n&1&&ve(eh,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"),S(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)))},dependencies:[eh],encapsulation:2,changeDetection:0})}return t})(),fH=(()=>{class t{_intl=m(th);calendar=m(qk);_dateAdapter=m(or,{optional:!0});_dateFormats=m(Xs,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){m(Lt).load($s);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):pH(this._dateAdapter,e,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let n=this._dateAdapter.getYear(this.calendar.activeDate)-E_(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=A({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:QJ,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-control
3803s"],["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),S(8,"polygon",6),c()(),$o(),S(9,"div",7),re(10),u(11,"button",8),T("click",function(){return r.previousClicked()}),In(),u(12,"svg",9),S(13,"path",10),c()(),$o(),u(14,"button",11),T("click",function(){return r.nextClicked()}),In(),u(15,"svg",9),S(16,"path",12),c()()()()),n&2&&(l(2),g("id",r._periodButtonLabelId),l(),x(r.periodButtonDescription),l(),oe("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),l(2),x(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:[Bn,gr,Zs],encapsulation:2,changeDetection:0})}return t})(),qk=(()=>{class t{_dateAdapter=m(or,{optional:!0});_dateFormats=m(Xs,{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 wa?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(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;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(th).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new ko(this.headerComponent||fH),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 wa||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=A({type:t,selectors:[["mat-calendar"]],viewQuery:function(n,r){if(n&1&&ve(aH,5)(lH,5)(sH,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([uH]),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,JJ,0,0,"ng-template",0),u(1,"div",1),v(2,eee,1,11,"mat-month-view",2)(3,tee,1,6,"mat-year-view",3)(4,nee,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:[fo,dC,aH,lH,sH],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})(),pee=new R("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}}),gH=(()=>{class t{_elementRef=m(Q);_animationsDisabled=ct();_changeDetectorRef=m(Ee);_globalModel=m(x_);_dateAdapter=m(or);_ngZone=m(le);_rangeSelectionStrategy=m(mH,{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($s),this._closeButtonText=m(th).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 wa;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=A({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,iee,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(),x(r._closeButtonText))},dependencies:[ZA,qk,fo,Bn],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})(),cH=(()=>{class t{_injector=m(ie);
4004_viewContainerRef=m(Pt);_dateAdapter=m(or,{optional:!0});_dir=m(ln,{optional:!0});_model=m(x_);_animationsDisabled=ct();_scrollStrategy=m(pee);_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=aj(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 Wp&&(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(gH,this._viewContainerRef),r=this._overlayRef=_o(this._injector,new go({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?Ks(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||Et(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return Da(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=ds(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 mt(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",Y],disabled:[2,"disabled","disabled",Y],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",Y],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",Y]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Ke]})}return t})(),zi=(()=>{class t extends cH{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=A({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[me([uH,{provide:cH,useExisting:t}]),he],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0})}return t})(),Jp=class{target;targetElement;value=null;constructor(i,e){this.target=i,this.targetElement=e,this.value=this.target.value}},hee=(()=>{class t{_elementRef=m(Q);_dateAdapter=m(or,{optional:!0});_dateFormats=m(Xs,{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 Jp(this,this._elementRef.nativeElement)),this.dateChange.emit(new Jp(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value,!0)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){fee(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 Jp(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Jp(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",Y]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ke]})}return t})();function fee(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 gee={provide:tr,useExisting:bn(()=>hi),multi:!0},_ee={provide:Qo,useExisting:bn(()=>hi),multi:!0},hi=(()=>{class t extends hee{_formField=m(ec,{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([gee,_ee,{provide:YC,useExisting:t}]),he]})}return t})(),bee=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),Ri=(()=>{class t{_intl=m(th);_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 ui("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:L(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:L(),r=this.datepicker?mt(this.datepicker.openedStream,this.datepicker.closedStream):L();this._stateChanges.unsubscribe(),this._stateChanges=mt(this._intl.changes,e,n,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,bee,5),n&2){let a;H(a=U())&&(r._customIcon=a.first)}},viewQuery:function(n,r){if(n&1&&ve(ree,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",Y],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Ke],ngContentSelectors:aee,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(oee),u(0,"button",1,0),v(2,see,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:[gr],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 Kk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[th],imports:[Ar,Ui,Jl,hr,gH,Ri,fH,De,mr]})}return t})();function vee(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},Xk="mdc-dialog--open",_H="mdc-dialog--opening",bH="mdc-dialog--closing",yee=150,Cee=75,Dee=(()=>{class t extends y_{_animationStateChanged=new V;_animationsEnabled=!ct();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?yH(this._config.enterAnimationDuration)??yee:0;_exitAnimationDuration=this._animationsEnabled?yH(this._config.exitAnimationDuration)??Cee:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(vH,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(_H,Xk)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Xk),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Xk),this._animationsEnabled?(this._hostElement.style.setProperty(vH,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(bH)),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(_H,bH)}_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=A({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,vee,0,0,"ng-template",2),c()())},dependencies:[fo],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})(),vH="--mat-dialog-transition-duration";function yH(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Tr(t.substring(0,t.length-2)):t.endsWith("s")?Tr(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var KC=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(KC||{}),Ze=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new Co(1);_beforeClosed=new Co(1);_result;_closeFallbackTimeout;_state=KC.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()}),mt(this.backdropClick(),this.keydownEvents().pipe(ae(r=>r.keyCode===27&&!this.disableClose&&!Ht(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),CH(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=KC.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=KC.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function CH(t,i,e){return t._closeInteractionType=i,t.close(e)}var et=new R("MatMdcDialogData"),Eee=new R("mat-mdc-dialog-default-options"),wee=new R("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>Ks(t)}}),lt=(()=>{class t{_defaultOptions=m(Eee,{optional:!0});_scrollStrategy=m(wee);_parentDialog=m(t,{optional:!0,skipSelf:!0});_idGenerator=m(pt);_injector=m(ie);_dialog=m(C_);_animationsDisabled=ct();_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=Yn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Re(void 0)));constructor(){this._dialogRefConstructor=Ze,this._dialogContainerType=Dee,this._dialogDataToken=et}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,ke(P({},n),{positionStrategy:Da(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:pd,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})(),nh=(()=>{class t{dialogRef=m(Ze,{optional:!0});_elementRef=m(Q);_dialog=m(lt);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=EH(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){CH(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})(),DH=(()=>{class t{_dialogRef=m(Ze,{optional:!0});_elementRef=m(Q);_dialog=m(lt);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=EH(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})(),ih=(()=>{class t extends DH{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})(),fd=(()=>{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([Ws])]})}return t})(),gd=(()=>{class t extends DH{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 EH(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 nc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[lt],imports:[HC,Ui,hr,De]})}return t})();var i8e=(()=>{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=A({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})(),S_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var Zk=new R("CdkAccordion"),wH=(()=>{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",Y]},exportAs:["cdkAccordion"],features:[me([{provide:Zk,useExisting:t}]),Ke]})}return t})(),xH=(()=>{class t{accordion=m(Zk,{optional:!0,skipSelf:!0});_changeDetectorRef=m(Ee);_expansionDispatcher=m(Ku);_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",Y],disabled:[2,"disabled","disabled",Y]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[me([{provide:Zk,useValue:void 0}])]})}return t})(),SH=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();var xee=["body"],See=["bodyWrapper"],Tee=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Iee=["mat-expansion-panel-header","*","mat-action-row"];function Aee(t,i){}var kee=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ree=["mat-panel-title","mat-panel-description","*"];function Mee(t,i){t&1&&(ft(0,"span",1),In(),ft(1,"svg",2),_i(2,"path",3),_t()())}var Qk=new R("MAT_ACCORDION"),TH=new R("MAT_EXPANSION_PANEL"),Nee=(()=>{class t{_template=m(Zt);_expansionPanel=m(TH,{optional:!0});constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275dir=N({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),IH=new R("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),ic=(()=>{class t extends xH{_viewContainerRef=m(Pt);_animationsDisabled=ct();_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(Qk,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=m(pt).getId("mat-expansion-panel-header-");constructor(){super();let e=m(IH,{optional:!0});this._expansionDispatcher=m(Ku),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 Ir(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=A({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Nee,5),n&2){let a;H(a=U())&&(r._lazyContent=a.first)}},viewQuery:function(n,r){if(n&1&&ve(xee,5)(See,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",Y],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[me([{provide:Qk,useValue:void 0},{provide:TH,useExisting:t}]),he,Ke],ngContentSelectors:Iee,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(Tee),re(0),u(1,"div",2,0)(3,"div",3,1)(5,"div",4),re(6,1),fe(7,Aee,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:[fo],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 rc=(()=>{class t{panel=m(ic,{host:!0});_element=m(Q);_focusMonitor=m(oi);_changeDetectorRef=m(Ee);_parentChangeSubscription=_e.EMPTY;constructor(){m(Lt).load(pi);let e=this.panel,n=m(IH,{optional:!0}),r=m(new ui("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(ae(a=>!!(a.hideToggle||a.togglePosition))):Ae;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=mt(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=A({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:an(e)]},ngContentSelectors:Ree,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(kee),ft(0,"span",0),re(1),re(2,1),re(3,2),_t(),v(4,Mee,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 _d=(()=>{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})(),P8e=(()=>{class t extends wH{_keyManager;_ownHeaders=new oo;_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 ls(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,rc,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",Y],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[me([{provide:Qk,useExisting:t}]),he]})}return t})(),Jk=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[SH,hr,De]})}return t})();var Gr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Pp,Ve,De]})}return t})();var t1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Lk,De,Lk]})}return t})();function AH(t){return Error(`Unable to find icon with the name "${t}"`)}function Oee(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function kH(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function RH(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var oc=class{url;svgText;options;svgElement=null;
4487constructor(i,e,n){this.url=i,this.svgText=e,this.options=n}},NH=(()=>{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 oc(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,o){let a=this._sanitizer.sanitize(dn.HTML,r);if(!a)throw RH(r);let s=Wu(a);return this._addSvgIconConfig(e,n,new oc("",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 oc(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){let o=this._sanitizer.sanitize(dn.HTML,n);if(!o)throw RH(n);let a=Wu(o);return this._addSvgIconSetConfig(e,new oc("",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(dn.RESOURCE_URL,e);if(!n)throw kH(e);let r=this._cachedIconsByUrl.get(n);return r?L(XC(r)):this._loadSvgIconFromConfig(new oc(e,null)).pipe(B(o=>this._cachedIconsByUrl.set(n,o)),$(o=>XC(o)))}getNamedSvgIcon(e,n=""){let r=MH(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):rn(AH(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?L(XC(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe($(n=>XC(n)))}_getSvgFromIconSetConfigs(e,n){let r=this._extractIconWithNameFromAnySet(e,n);if(r)return L(r);let o=n.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(je(s=>{let p=`Loading icon set URL: ${this._sanitizer.sanitize(dn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(p)),L(null)})));return vf(o).pipe($(()=>{let a=this._extractIconWithNameFromAnySet(e,n);if(!a)throw AH(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(B(n=>e.svgText=n),$(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?L(null):this._fetchIcon(e).pipe(B(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(Wu("<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(Wu("<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 Oee();if(n==null)throw Error(`Cannot fetch icon from URL "${n}".`);let a=this._sanitizer.sanitize(dn.RESOURCE_URL,n);if(!a)throw kH(n);let s=this._inProgressUrlFetches.get(a);if(s)return s;let d=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe($(p=>Wu(p)),Qr(()=>this._inProgressUrlFetches.delete(a)),Cf());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(MH(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 Fee(o)?new oc(o.url,null,o.options):new oc(o,null)}}static \u0275fac=function(n){return new(n||t)(F(ge,8),F(Nu),F(Ce,8),F(Br))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function XC(t){return t.cloneNode(!0)}function MH(t,i){return t+":"+i}function Fee(t){return!!(t.url&&t.options)}var Pee=["*"],Lee=new R("MAT_ICON_DEFAULT_OPTIONS"),Bee=new R("mat-icon-location",{providedIn:"root",factory:()=>{let t=m(Ce),i=t?t.location:null;return{getPathname:()=>i?i.pathname+i.search:""}}}),OH=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Vee=OH.map(t=>`[${t}]`).join(", "),jee=/^url\(['"]?#(.*?)['"]?\)$/,Wn=(()=>{class t{_elementRef=m(Q);_iconRegistry=m(NH);_location=m(Bee);_errorHandler=m(Br);_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 ui("aria-hidden"),{optional:!0}),n=m(Lee,{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(Vee),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<n.length;o++)OH.forEach(a=>{let s=n[o],d=s.getAttribute(a),p=d?d.match(jee):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=A({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",Y],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Pee,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})(),T_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var Hee=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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})(),Uee={passive:!0},FH=(()=>{class t{_platform=m(gt);_ngZone=m(le);_renderer=m(gi).createRenderer(null,null);_styleLoader=m(Lt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Ae;this._styleLoader.load(Hee);let n=bi(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,Uee)));return this._monitoredElements.set(n,{subject:o,unlisten:d}),o}stopMonitoring(e){let n=bi(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 PH=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({})}return t})();var zee=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Gee=new R("MAT_INPUT_CONFIG"),tt=(()=>{class t{_elementRef=m(Q);_platform=m(gt);ngControl=m(Li,{optional:!0,self:!0});_autofillMonitor=m(FH);_ngZone=m(le);_formField=m(ec,{optional:!0});_renderer=m(ot);_uid=m(pt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=m(Gee,{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&&tk().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=>tk().has(e));constructor(){let e=m(_p,{optional:!0}),n=m(qn,{optional:!0}),r=m(Xp),o=m(YC,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();o?Ls(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 Zp(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&&ro(()=>{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(){zee.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",Y]},exportAs:["matInput"],features:[me([{provide:Yp,useExisting:t}]),Ke]})}return t})(),ms=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Gr,Gr,PH,De]})}return t})();var LH=["*"],BH=`.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`,VH=["unscopedContent"],Wee=["text"],$ee=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Yee=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],qee=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],Kee=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"];function Xee(t,i){t&1&&re(0,4)}function Zee(t,i){if(t&1&&(u(0,"div",11),S(1,"input",12),u(2,"div",13),In(),u(3,"svg",14),S(4,"path",15),c(),$o(),S(5,"div",16),c()()),t&2){let e=_();ee("mdc-checkbox--disabled",e.disabled),l(),g("checked",e.selected)("disabled",e.disabled)}}function Qee(t,i){if(t&1&&(u(0,"div",17),S(1,"input",18),u(2,"div",19),S(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 Jee(t,i){}function ete(t,i){if(t&1&&(u(0,"span",4),fe(1,Jee,0,0,"ng-template",6),c()),t&2){_();let e=ye(3);l(),g("ngTemplateOutlet",e)}}function tte(t,i){}function nte(t,i){if(t&1&&(u(0,"span",5),fe(1,tte,0,0,"ng-template",6),c()),t&2){_();let e=ye(5);l(),g("ngTemplateOutlet",e)}}function ite(t,i){}function rte(t,i){if(t&1&&fe(0,ite,0,0,"ng-template",6),t&2){_();let e=ye(1);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(3);l(),g("ngTemplateOutlet",e)}}function ste(t,i){}function lte(t,i){if(t&1&&(u(0,"span",9),fe(1,ste,0,0,"ng-template",6),c()),t&2){_();let e=ye(5);l(),g("ngTemplateOutlet",e)}}function cte(t,i){}function dte(t,i){if(t&1&&fe(0,cte,0,0,"ng-template",6),t&2){_();let e=ye(1);g("ngTemplateOutlet",e)}}var jH=new R("ListOption"),HH=(()=>{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})(),UH=(()=>{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})(),ute=(()=>{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})(),zH=(()=>{class t{_listOption=m(jH,{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})(),mte=(()=>{class t extends zH{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})(),pte=(()=>{class t extends zH{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})(),hte=new R("MAT_LIST_CONFIG"),I_=(()=>{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(hte,{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})(),n1=(()=>{class t{_elementRef=m(Q);_ngZone=m(le);_listBase=m(I_,{optional:!0});_platform=m(gt);_hostElement;_isButtonElement;_noopAnimations=ct();_avatars;_icons;set lines(e){this._explicitLines=Tr(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(pi);let e=m(dd,{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 cd(this,this._ngZone,this._hostElement,this._platform,m(ie)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(mt(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,mte,4)(o,pte,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 p6e=(()=>{class t extends n1{_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=A({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,UH,5)(o,HH,5)(o,ute,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(VH,5)(Wee,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:Yee,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($ee),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),S(9,"div",3))},dependencies:[n_],encapsulation:2,changeDetection:0})}return t})(),GH=new R("SelectionList"),fte=(()=>{class t extends n1{_selectionList=m(GH);_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=A({type:t,selectors:[["mat-list-option"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,UH,5)(o,HH,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(VH,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:n1,useExisting:t},{provide:jH,useExisting:t}]),he],ngContentSelectors:Kee,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(qee),fe(0,Xee,1,0,"ng-template",null,0,ba)(2,Zee,6,4,"ng-template",null,1,ba)(4,Qee,5,4,"ng-template",null,2,ba),v(6,ete,2,1,"span",4)(7,nte,2,1,"span",5),v(8,rte,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,ate,2,1,"span",9)(16,lte,2,1,"span",9),v(17,dte,1,1,null,6),re(18,3),S(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:[ku,n_],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 h6e=(()=>{class t extends I_{_isNonInteractive=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=A({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:I_,useExisting:t}]),he],ngContentSelectors:LH,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[BH],encapsulation:2,changeDetection:0})}return t})(),gte={provide:tr,useExisting:bn(()=>_te),multi:!0},i1=class{source;options;constructor(i,e){this.source=i,this.options=e}},_te=(()=>{class t extends I_{_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 pr(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 pr(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 i1(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 ls(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=A({type:t,selectors:[["mat-selection-list"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,fte,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([gte,{provide:I_,useExisting:t},{provide:GH,useExisting:t}]),he,Ke],ngContentSelectors:LH,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},styles:[BH],encapsulation:2,changeDetection:0})}return t})(),r1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Pp,Hi,jC,De,S_]})}return t})();var bte=["mat-menu-item",""],vte=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],yte=["mat-icon, [matMenuItemIcon]","*"];function Cte(t,i){t&1&&(In(),u(0,"svg",2),S(1,"polygon",3),c())}var Dte=["*"];function Ete(t,i){if(t&1){let e=Se();ft(0,"div",0),Bs("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 a1=new R("MAT_MENU_PANEL"),em=(()=>{class t{_elementRef=m(Q);_document=m(Ce);_focusMonitor=m(oi);_parentMenu=m(a1,{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(pi),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=A({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",Y],disableRipple:[2,"disableRipple","disableRipple",Y]},exportAs:["matMenuItem"],attrs:bte,ngContentSelectors:yte,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(vte),re(0),u(1,"span",0),re(2,1),c(),S(3,"div",1),v(4,Cte,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:[Ur],encapsulation:2,changeDetection:0})}return t})();var WH=new R("MatMenuContent"),QC=(()=>{class t{_template=m(Zt);_appRef=m(Ji);_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 Ir(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new zp(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:WH,useExisting:t}])]})}return t})(),wte=new R("mat-menu-default-options",{providedIn:"root",factory:()=>({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),o1="_mat-menu-enter",ZC="_mat-menu-exit",Qs=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_injector=m(ie);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=ct();_allItems;_directDescendantItems=new oo;_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(wte);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 ls(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Re(this._directDescendantItems),W(e=>mt(...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=>mt(...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=Et(()=>{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=ke(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===ZC;(n||e===o1)&&(n&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(n?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(e){(e===o1||e===ZC)&&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(ZC),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(e?o1:ZC)}),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=A({type:t,selectors:[["mat-menu"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,WH,5)(o,em,5)(o,em,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",Y],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:Y(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[me([{provide:a1,useExisting:t}])],ngContentSelectors:Dte,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(),$c(0,Ete,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})(),xte=new R("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}});var rh=new WeakMap,Ste=(()=>{class t{_canHaveBackdrop;_element=m(Q);_viewContainerRef=m(Pt);_menuItemInstance=m(em,{optional:!0,self:!0});_dir=m(ln,{optional:!0});_focusMonitor=m(oi);_ngZone=m(le);_injector=m(ie);_scrollStrategy=m(xte);_changeDetectorRef=m(Ee);_animationsDisabled=ct();_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(a1,{optional:!0});this._parentMaterialMenu=n instanceof Qs?n:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&rh.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=rh.get(n);rh.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 Qs&&(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 Qs&&this._ownsMenu(r)?(this._pendingRemoval=r._animationDone.pipe(We(1)).subscribe(()=>{n.detach(),rh.has(r)||r.lazyContent?.detach()}),r._setIsOpen(!1)):(n.detach(),r?.lazyContent?.detach()),r&&this._ownsMenu(r)&&rh.delete(r),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}
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=_o(this._injector,n),this._overlayRef.keydownEvents().subscribe(r=>{this._menu instanceof Qs&&this._menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new go({positionStrategy:ds(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 k=this._parentMaterialMenu.items.first;this._parentInnerPadding=k?k._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:L(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ae(a=>this._menuOpen&&a!==this._menuItemInstance)):L();return mt(e,r,o,n)}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Ir(e.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(e){return rh.get(e)===this}_triggerIsAriaDisabled(){return Y(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(n){Iu()};static \u0275dir=N({type:t})}return t})(),bd=(()=>{class t extends Ste{_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=>{Xl(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){Kl(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 s1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Hi,Ui,De,mr]})}return t})();var Tte=["trigger"],Ite=["panel"],Ate=[[["mat-select-trigger"]],"*"],kte=["mat-select-trigger","*"];function Rte(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),x(e.placeholder)}}function Mte(t,i){t&1&&re(0)}function Nte(t,i){if(t&1&&(u(0,"span",11),h(1),c()),t&2){let e=_(2);l(),x(e.triggerValue)}}function Ote(t,i){if(t&1&&(u(0,"span",5),v(1,Mte,1,0)(2,Nte,2,1,"span",11),c()),t&2){let e=_();l(),y(e.customTrigger?1:2)}}function Fte(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 Pte=new R("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=m(ie);return()=>ra(t)}}),Lte=new R("MAT_SELECT_CONFIG"),Bte=new R("MatSelectTrigger"),l1=class{source;value;constructor(i,e){this.source=i,this.value=e}},si=(()=>
5788{class t{_viewportRuler=m(ji);_changeDetectorRef=m(Ee);_elementRef=m(Q);_dir=m(ln,{optional:!0});_idGenerator=m(pt);_renderer=m(ot);_parentFormField=m(ec,{optional:!0});ngControl=m(Li,{self:!0,optional:!0});_liveAnnouncer=m(i_);_defaultOptions=m(Lte,{optional:!0});_animationsDisabled=ct();_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=PC(e,this.options,this.optionGroups),a=n._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=LC(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new l1(this,e)}_scrollStrategyFactory=m(Pte);_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=Yn(()=>{let e=this.options;return e?e.changes.pipe(Re(e),W(()=>mt(...e.map(n=>n.onSelectionChange)))):this._initialized.pipe(W(()=>this.optionSelectionChanges))});openedChange=new V;_openedStream=this.openedChange.pipe(ae(e=>e),$(()=>{}));
5788_closedStream=this.openedChange.pipe(ae(e=>!e),$(()=>{}));selectionChange=new V;valueChange=new V;constructor(){let e=m(Xp),n=m(_p,{optional:!0}),r=m(qn,{optional:!0}),o=m(new ui("tabindex"),{optional:!0}),a=m(d_,{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Zp(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 pr(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&&ld(this._trackedModal,"aria-owns",n),Vp(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;ld(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 $p?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 qu(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=mt(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())}),mt(...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=mi(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=A({type:t,selectors:[["mat-select"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Bte,5)(o,Qt,5)(o,__,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(Tte,5)(Ite,5)(AC,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",Y],disableRipple:[2,"disableRipple","disableRipple",Y],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:an(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Y],placeholder:"placeholder",required:[2,"required","required",Y],multiple:[2,"multiple","multiple",Y],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Y],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",an],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Y]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[me([{provide:Yp,useExisting:t},{provide:g_,useExisting:t}]),Ke],ngContentSelectors:kte,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(Ate),u(0,"div",2,0),T("click",function(){return r.open()}),u(3,"div",3),v(4,Rte,2,1,"span",4)(5,Ote,3,1,"span",5),c(),u(6,"div",6)(7,"div",7),In(),u(8,"svg",8),S(9,"path",9),c()()()(),fe(10,Fte,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:[$p,AC],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.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 5822} 5823 5824.mat-mdc-se
5824lect-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 tm=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Ui,qp,De,mr,Gr,qp]})}return t})();var k_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Jl,Ui,De,mr]})}return t})();function Vte(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 jte(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))}),Ue(3,Vte,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),cg("aria-labelledby",e._pageSizeLabelId),g("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),l(2),ze(e._displayedPageSizeOptions)}}function Hte(t,i){if(t&1&&(u(0,"div",15),h(1),c()),t&2){let e=_(2);l(),x(e.pageSize)}}function Ute(t,i){if(t&1&&(u(0,"div",3)(1,"div",13),h(2),c(),v(3,jte,6,7,"mat-form-field",14),v(4,Hte,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 zte(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),S(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 Gte(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),S(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 R_=(()=>{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})(),Wte=50;var $te=new R("MAT_PAGINATOR_DEFAULT_OPTIONS"),bo=(()=>{class t{_intl=m(R_);_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=>an(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($te,{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]:Wte),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=A({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",an],length:[2,"length","length",an],pageSize:[2,"pageSize","pageSize",an],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",Y],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",Y],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",Y]},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,Ute,5,4,"div",3),u(3,"div",4)(4,"div",5),h(5),c(),v(6,zte,3,5,"button",6),u(7,"button",7),T("click",function(){return r._buttonClicked(r.pageIndex-1,r._previousButtonsDisabled())}),In(),u(8,"svg",8),S(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),S(12,"path",11),c()(),v(13,Gte,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,gr,Zs],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})(),c1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Ar,tm,k_,bo]})}return t})();function Yte(t,i){t&1&&_i(0,"div",2)}var qte=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=s_(),n=m(qte,{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=YH(e||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=YH(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=A({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",an],bufferValue:[2,"bufferValue","bufferValue",an],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),_i(1,"div",1),v(2,Yte,1,0,"div",2),_t(),ft(3,"div",3),_i(4,"span",4),_t(),ft(5,"div",5),_i(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 YH(t,i=0,e=100){return Math.max(i,Math.min(e,t))}var u1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var Xte=["determinateSpinner"];function Zte(t,i){if(t&1&&(In(),u(0,"svg",11),S(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 Qte=new R("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:KH})}),KH=100,Jte=10,oh=(()=>{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(Qte),n=s_(),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=KH;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-Jte)/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=A({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,r){if(n&1&&ve(Xte,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",an],diameter:[2,"diameter","diameter",an],strokeWidth:[2,"strokeWidth","strokeWidth",an]},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,Zte,2,8,"ng-template",null,0,ba),u(2,"div",2,1),In(),u(4,"svg",3),S(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:[ku],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 nm=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var eD=["*"],ene=["content"],tne=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],nne=["mat-drawer","mat-drawer-content","*"];function ine(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 rne(t,i){t&1&&(u(0,"mat-drawer-content"),re(1,2),c())}var one=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ane=["mat-sidenav","mat-sidenav-content","*"];function sne(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 lne(t,i){t&1&&(u(0,"mat-sidenav-content"),re(1,2),c())}var cne=`.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 dne=new R("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:()=>!1}),h1=new R("MAT_DRAWER_CONTAINER"),JC=(()=>{class t extends Ws{_platform=m(gt);_changeDetectorRef=m(Ee);_container=m(p1);constructor(){let e=m(Q),n=m(ss),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=A({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:Ws,useExisting:t}]),he],ngContentSelectors:eD,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),m1=(()=>{class t{_elementRef=m(Q);_focusTrapFactory=m(Lp);_focusMonitor=m(oi);_platform=m(gt);_ngZone=m(le);_renderer=m(ot);_interactivityChecker=m(Yu);_doc=m(Ce);_container=m(h1,{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),Um(void 0));
6681_closedStream=this.openedChange.pipe(ae(e=>!e),$(()=>{}));closedStart=this._animationStarted.pipe(ae(()=>!this.opened),Um(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":Et(()=>{!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=A({type:t,selectors:[["mat-drawer"]],viewQuery:function(n,r){if(n&1&&ve(ene,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:eD,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:[Ws],encapsulation:2,changeDetection:0})}return t})(),p1=(()=>{class t{_dir=m(ln,{optional:!0});_element=m(Q);_ngZone=m(le);_changeDetectorRef=m(Ee);_animationDisabled=ct();_transitionsEnabled=!1;_allDrawers;_drawers=new oo;_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(dne);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(fi(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(()=>{Et({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(xe(mt(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=A({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,JC,5)(o,m1,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(JC,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:h1,useExisting:t}])],ngContentSelectors:nne,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(tne),v(0,ine,1,2,"div",0),re(1),re(2,1),v(3,rne,2,0,"mat-drawer-content")),n&2&&(y(r.hasBackdrop?0:-1),l(3),y(r._content?-1:3))},dependencies:[JC],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})(),ZH=(()=>{class t extends JC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=A({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[me([{provide:Ws,useExisting:t}]),he],ngContentSelectors:eD,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),une=(()=>{class t extends m1{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Pn(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Tr(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Tr(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=A({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:m1,useExisting:t}]),he],ngContentSelectors:eD,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:[Ws],encapsulation:2,changeDetection:0})}return t})(),D9e=(()=>{class t extends p1{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=A({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(n,r,o){if(n&1&&Gt(o,ZH,5)(o,une,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:h1,useExisting:t},{provide:p1,useExisting:t}]),he],ngContentSelectors:ane,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(one),v(0,sne,1,2,"div",0),re(1),re(2,1),v(3,lne,2,0,"mat-sidenav-content")),n&2&&(y(r.hasBackdrop?0:-1),l(3),y(r._content?-1:3))},dependencies:[ZH],styles:[cne],encapsulation:2,changeDetection:0})}return t})(),f1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[mr,De,mr]})}return t})();var mne=["switch"],pne=["*"];function hne(t,i){t&1&&(u(0,"span",11),In(),u(1,"svg",13),S(2,"path",14),c(),u(3,"svg",15),S(4,"path",16),c()())}var fne=new R("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),tD=class{source;checked;constructor(i,e){this.source=i,this.checked=e}},gne=(()=>{class t{_elementRef=m(Q);_focusMonitor=m(oi);_changeDetectorRef=m(Ee);defaults=m(fne);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new tD(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=ct();_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(pi);
vendor: 4,997 bytes, lines 6855-6866
6855let e=m(new ui("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 tD(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(n,r){if(n&1&&ve(mne,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",Y],color:"color",disabled:[2,"disabled","disabled",Y],disableRipple:[2,"disableRipple","disableRipple",Y],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:an(e)],checked:[2,"checked","checked",Y],hideIcon:[2,"hideIcon","hideIcon",Y],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[me([{provide:tr,useExisting:bn(()=>t),multi:!0},{provide:Qo,useExisting:t,multi:!0}]),Ke],ngContentSelectors:pne,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()}),S(3,"div",3)(4,"span",4),u(5,"span",5)(6,"span",6)(7,"span",7),S(8,"span",8),c(),u(9,"span",9),S(10,"span",10),c(),v(11,hne,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:[Ur,jp],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})(),g1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[gne,De]})}return t})();var _1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[Hi,De]})}return t})();function _ne(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 bne=["label"];function vne(t,i){}var yne=Math.pow(2,31)-1,im=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,yne))}_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}},nD=new R("MatSnackBarData"),ah=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},Cne=(()=>{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})(),Dne=(()=>{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})(),Ene=(()=>{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})(),QH=(()=>{class t{snackBarRef=m(im);data=m(nD);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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,_ne,3,1,"div",1)),n&2&&(l(),se(" ",r.data.message,` 7284`),l(),y(r.hasAction?2:-1))},dependencies:[Bn,Cne,Dne,Ene],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})(),b1="_mat-snack-bar-enter",v1="_mat-snack-bar-exit",wne=(()=>{class t extends ud{_ngZone=m(le);_elementRef=m(Q);_changeDetectorRef=m(Ee);_platform=m(gt);_animationsDisabled=ct();snackBarConfig=m(ah);_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===v1?this._completeExit():e===b1&&(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?Et(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(b1)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(b1)},200)))}exit(){return this._destroyed?L(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?Et(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(v1)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(v1),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=A({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,r){if(n&1&&ve(fo,7)(bne,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,vne,0,0,"ng-template",4),c(),S(5,"div"),c()()),n&2&&(l(5),oe("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[fo],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})(),xne=new R("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new ah}),y1=(()=>{class t{_live=m(i_);_injector=m(ie);_breakpointObserver=m(Ql);_parentSnackBar=m(t,{optional:!0,skipSelf:!0});_defaultConfig=m(xne);_animationsDisabled=ct();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=QH;snackBarContainerComponent=wne;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:ah,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 ah),this._defaultConfig),n),o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new im(a,o);if(e instanceof Zt){let d=new Ir(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(cs.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 go;n.direction=e.direction;let r=Da(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,_o(this._injector,n)}_createInjector(e,n){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return ie.create({parent:r||this._injector,providers:[{provide:im,useValue:n},{provide:nD,useValue:e.data}]})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();
7407var C1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[y1],imports:[Ui,hr,Ar,QH,De]})}return t})();var Sne=["mat-sort-header",""],Tne=["*",[["","matSortHeaderIcon",""]]],Ine=["*","[matSortHeaderIcon]"];function Ane(t,i){t&1&&(In(),ft(0,"svg",3),_i(1,"path",4),_t())}function kne(t,i){t&1&&(ft(0,"div",2),re(1,1,null,Ane,2,0),_t())}var eU=new R("MAT_SORT_DEFAULT_OPTIONS"),kr=(()=>{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=Rne(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(eU,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",Y],disabled:[2,"matSortDisabled","disabled",Y]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Ke]})}return t})();function Rne(t,i){let e=["asc","desc"];return t=="desc"&&e.reverse(),i||e.push(""),e}var Js=(()=>{class t{_sort=m(kr,{optional:!0});_columnDef=m(md,{optional:!0});_changeDetectorRef=m(Ee);_focusMonitor=m(oi);_elementRef=m(Q);_ariaDescriber=m(a_,{optional:!0});_renderChanges;_animationsDisabled=ct();_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(pi);let e=m(eU,{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=mt(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=A({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",Y],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Y]},exportAs:["matSortHeader"],attrs:Sne,ngContentSelectors:Ine,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(Tne),ft(0,"div",0)(1,"div",1),re(2),_t(),v(3,kne,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})(),M_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var Mne=[[["caption"]],[["colgroup"],["col"]],"*"],Nne=["caption","colgroup, col","*"];function One(t,i){t&1&&re(0,2)}function Fne(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 Pne(t,i){t&1&&Di(0,1)(1,3)(2,4)(3,5)}var el=(()=>{class t extends vk{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=A({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:vk,useExisting:t},{provide:us,useExisting:t},{provide:u_,useValue:null}]),he],ngContentSelectors:Nne,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(Mne),re(0),re(1,1),v(2,One,1,0),v(3,Fne,7,0)(4,Pne,4,0)),n&2&&(l(2),y(r._isServer?2:-1),l(),y(r._isNativeHtmlTable?3:4))},dependencies:[gk,fk,bk,_k],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})(),tl=(()=>{class t extends MC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matCellDef",""]],features:[me([{provide:MC,useExisting:t}]),he]})}return t})(),nl=(()=>{class t extends NC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderCellDef",""]],features:[me([{provide:NC,useExisting:t}]),he]})}return t})();var il=(()=>{class t extends md{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 \u02
768375dir=N({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[me([{provide:md,useExisting:t}]),he]})}return t})(),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-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[he]})}return t})();var ol=(()=>{class t extends Mj{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 al=(()=>{class t extends m_{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",Y]},features:[me([{provide:m_,useExisting:t}]),he]})}return t})();var sl=(()=>{class t extends OC{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:OC,useExisting:t}]),he]})}return t})(),ll=(()=>{class t extends pk{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=A({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:pk,useExisting:t}]),he],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[Zu],encapsulation:2})}return t})();var cl=(()=>{class t extends hk{static \u0275fac=(()=>{let e;return function(r){return(e||(e=yt(t)))(r||t)}})();static \u0275cmp=A({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[me([{provide:hk,useExisting:t}]),he],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Di(0,0)},dependencies:[Zu],encapsulation:2})}return t})();var N_=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[p_,De]})}return t})(),Lne=9007199254740991,rD=class extends Gu{_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(nC(n)){let r=Number(n);return r<Lne?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?mt(this._sort.sortChange,this._sort.initialized):L(null),e=this._paginator?mt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):L(null),n=this._data,r=on([n,this._filter]).pipe($(([s])=>this._filterData(s))),o=on([r,i]).pipe($(([s])=>this._orderData(s))),a=on([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 w1=["*"];var Bne=["tabListContainer"],Vne=["tabList"],jne=["tabListInner"],Hne=["nextPaginator"],Une=["previousPaginator"];var zne=["mat-tab-nav-bar",""],Gne=["mat-tab-link",""];var D1="mdc-tab-indicator--active",tU="mdc-tab-indicator--no-transition",E1=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}}},Wne=(()=>{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(D1);return}let r=n.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;n.classList.add(tU),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),n.getBoundingClientRect(),n.classList.remove(tU),n.classList.add(D1),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(D1)}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",Y]}})}return t})();var nU={passive:!0},$ne=650,Yne=100,qne=(()=>{class t{_elementRef=m(Q);_changeDetectorRef=m(Ee);_viewportRuler=m(ji);_dir=m(ln,{optional:!0});_ngZone=m(le);_platform=m(gt);_sharedResizeObserver=m(BC);_injector=m(ie);_renderer=m(ot);_animationsDisabled=ct();_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"),nU),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),nU))}ngAfterContentInit(){let e=this._dir?this._dir.change:L("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(fi(32),xe(this._destroyed)),r=this._viewportRuler.change(150).pipe(xe(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new ls(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Et(o,{injector:this._injector}),mt(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"?Ae: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()}}))),kl(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(),za($ne,Yne).pipe(xe(mt(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",Y],selectedIndex:[2,"selectedIndex","selectedIndex",an]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})();var Kne=new R("MAT_TABS_CONFIG");var Xne=(()=>{class t extends qne{_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(Kne,{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 E1(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=A({type:t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(n,r,o){if(n&1&&Gt(o,Zne,5),n&2){let a;H(a=U())&&(r._items=a)}},viewQuery:function(n,r){if(n&1&&ve(Bne,7)(Vne,7)(jne,7)(Hne,5)(Une,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",Y],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Y],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",Y],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[he],attrs:zne,ngContentSelectors:w1,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()}),S(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()}),S(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:[Ur,n_],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}
7895)(),Zne=(()=>{class t extends Wne{_tabNavBar=m(Xne);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.rippleConfig.disabled}id=m(pt).getId("mat-tab-link-");constructor(){super(),m(Lt).load(pi);let e=m(dd,{optional:!0}),n=m(new ui("tabindex"),{optional:!0});this.rippleConfig=e||{},this.tabIndex=n==null?0:parseInt(n)||0,ct()&&(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=A({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",Y],disabled:[2,"disabled","disabled",Y],disableRipple:[2,"disableRipple","disableRipple",Y],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:an(e)],id:"id"},exportAs:["matTabLink"],features:[he],attrs:Gne,ngContentSelectors:w1,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(),S(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:[Ur],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})(),fqe=(()=>{class t{id=m(pt).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({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:w1,decls:1,vars:0,template:function(n,r){n&1&&(Ie(),re(0))},encapsulation:2,changeDetection:0})}return t})(),x1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var S1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[De]})}return t})();var T1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({imports:[h_,De]})}return t})(),iU=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}},rU=class extends Gu{_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 mt(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 Qne=Math.pow(10,8)*24*60*60*1e3,Nqe=-Qne,aD=6048e5,oU=864e5,O_=6e4,F_=36e5,aU=1e3;var Jne=3600;var sU=Jne*24,Oqe=sU*7,eie=sU*365.2425,tie=eie/12,Fqe=tie*3,I1=Symbol.for("constructDateFrom");function wt(t,i){return typeof t=="function"?t(i):t&&typeof t=="object"&&I1 in t?t[I1](i):t instanceof Date?new t.constructor(i):new Date(i)}function we(t,i){return wt(i||t,t)}function sa(t,i,e){let n=we(t,e?.in);return isNaN(i)?wt(e?.in||t,NaN):(i&&n.setDate(n.getDate()+i),n)}function sh(t,i,e){let n=we(t,e?.in);if(isNaN(i))return wt(e?.in||t,NaN);if(!i)return n;let r=n.getDate(),o=wt(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 lU(t,i,e){return wt(e?.in||t,+we(t)+i)}var nie={};function xa(){return nie}function Rr(t,i){let e=xa(),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 hs(t,i){return Rr(t,ke(P({},i),{weekStartsOn:1}))}function sD(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=wt(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let o=hs(r),a=wt(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);let s=hs(a);return e.getTime()>=o.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function rm(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 lh(t,...i){let e=wt.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 cU(t,i,e){let[n,r]=lh(e?.in,t,i),o=kn(n),a=kn(r),s=+o-rm(o),d=+a-rm(a);return Math.round((s-d)/oU)}function dU(t,i){let e=sD(t,i),n=wt(i?.in||t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),hs(n)}function uU(t,i,e){return lU(t,i*1e3,e)}function lD(t,i,e){return sh(t,i*12,e)}function cD(t,i,e){let[n,r]=lh(e?.in,t,i);return+kn(n)==+kn(r)}function dD(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ac(t){return!(!dD(t)&&typeof t!="number"||isNaN(+we(t)))}function A1(t,i){let e=we(t,i?.in);return e.setDate(1),e.setHours(0,0,0,0),e}function mU(t,i){let e=we(t,i?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}var iie={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"}},pU=(t,i,e)=>{let n,r=iie[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 vd(t){return(i={})=>{let e=i.width?String(i.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}var rie={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},oie={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},aie={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},hU={date:vd({formats:rie,defaultWidth:"full"}),time:vd({formats:oie,defaultWidth:"full"}),dateTime:vd({formats:aie,defaultWidth:"full"})};var sie={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},fU=(t,i,e,n)=>sie[t];function Sa(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 lie={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},cie={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},die={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"]},uie={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"]},mie={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"}},pie={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"}},hie=(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"},gU={ordinalNumber:hie,era:Sa({values:lie,defaultWidth:"wide"}),quarter:Sa({values:cie,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Sa({values:die,defaultWidth:"wide"}),day:Sa({values:uie,defaultWidth:"wide"}),dayPeriod:Sa({values:mie,defaultWidth:"wide",formattingValues:pie,defaultFormattingWidth:"wide"})};function Ta(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)?gie(s,b=>b.test(a)):fie(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 fie(t,i){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&i(t[e]))return e}function gie(t,i){for(let e=0;e<t.length;e++)if(i(t[e]))return e}function uD(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 _ie=/^(\d+)(th|st|nd|rd)?/i,bie=/\d+/i,vie={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},yie={any:[/^b/i,/^(a|c)/i]},Cie={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Die={any:[/1/i,/2/i,/3/i,/4/i]},Eie={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},wie={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]},xie={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},Sie={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]},Tie={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},Iie={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}},_U={ordinalNumber:uD({matchPattern:_ie,parsePattern:bie,valueCallback:t=>parseInt(t,10)}),era:Ta({matchPatterns:vie,defaultMatchWidth:"wide",parsePatterns:yie,defaultParseWidth:"any"}),quarter:Ta({matchPatterns:Cie,defaultMatchWidth:"wide",parsePatterns:Die,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ta({matchPatterns:Eie,defaultMatchWidth:"wide",parsePatterns:wie,defaultParseWidth:"any"}),day:Ta({matchPatterns:xie,defaultMatchWidth:"wide",parsePatterns:Sie,defaultParseWidth:"any"}),dayPeriod:Ta({matchPatterns:Tie,defaultMatchWidth:"any",parsePatterns:Iie,defaultParseWidth:"any"})};var P_={code:"en-US",formatDistance:pU,formatLong:hU,formatRelative:fU,localize:gU,match:_U,options:{weekStartsOn:0,firstWeekContainsDate:1}};function bU(t,i){let e=we(t,i?.in);return cU(e,mU(e))+1}function mD(t,i){let e=we(t,i?.in),n=+hs(e)-+dU(e);return Math.round(n/aD)+1}function ch(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=xa(),o=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=wt(i?.in||t,0);a.setFullYear(n+1,0,o),a.setHours(0,0,0,0);let s=Rr(a,i),d=wt(i?.in||t,0);d.setFullYear(n,0,o),d.setHours(0,0,0,0);let p=Rr(d,i);return+e>=+s?n+1:+e>=+p?n:n-1}function vU(t,i){let e=xa(),n=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,r=ch(t,i),o=wt(i?.in||t,0);return o.setFullYear(r,0,n),o.setHours(0,0,0,0),Rr(o,i)}function pD(t,i){let e=we(t,i?.in),n=+Rr(e,i)-+vU(e,i);return Math.round(n/aD)+1}function Vt(t,i){let e=t<0?"-":"",n=Math.abs(t).toString().padStart(i,"0");return e+n}var sc={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 dh={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}
vendor: 4,509 bytes, line 7995
7995,k1={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 sc.y(t,i)},Y:function(t,i,e,n){let r=ch(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=sD(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 sc.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=pD(t,n);return i==="wo"?e.ordinalNumber(r,{unit:"week"}):Vt(r,i.length)},I:function(t,i,e){let n=mD(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"}):sc.d(t,i)},D:function(t,i,e){let n=bU(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=dh.noon:n===0?r=dh.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=dh.evening:n>=12?r=dh.afternoon:n>=4?r=dh.morning:r=dh.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 sc.h(t,i)},H:function(t,i,e){return i==="Ho"?e.ordinalNumber(t.getHours(),{unit:"hour"}):sc.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"}):sc.m(t,i)},s:function(t,i,e){return i==="so"?e.ordinalNumber(t.getSeconds(),{unit:"second"}):sc.s(t,i)},S:function(t,i){return sc.S(t,i)},X:function(t,i,e){let n=t.getTimezoneOffset();if(n===0)return"Z";switch(i){case"X":return CU(n);case"XXXX":case"XX":return om(n);default:return om(n,":")}},x:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"x":return CU(n);case"xxxx":case"xx":return om(n);default:return om(n,":")}},O:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+yU(n,":");default:return"GMT"+om(n,":")}},z:function(t,i,e){let n=t.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+yU(n,":");default:return"GMT"+om(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 yU(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 CU(t,i){return t%60===0?(t>0?"-":"+")+Vt(Math.abs(t)/60,2):om(t,i)}function om(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 DU=(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"})}},EU=(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"})}},Aie=(t,i)=>{let e=t.match(/(P+)(p+)?/)||[],n=e[1],r=e[2];if(!r)return DU(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}}",DU(n,i)).replace("{{time}}",EU(r,i))},L_={p:EU,P:Aie};var kie=/^D+$/,Rie=/^Y+$/,Mie=["D","DD","YY","YYYY"];function hD(t){return kie.test(t)}function fD(t){return Rie.test(t)}function B_(t,i,e){let n=Nie(t,i,e);if(console.warn(n),Mie.includes(t))throw new RangeError(n)}function Nie(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 Oie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fie=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pie=/^'([^]*?)'?$/,Lie=/''/g,Bie=/[a-zA-Z]/;function Yt(t,i,e){let n=xa(),r=e?.locale??n.locale??P_,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(!ac(s))throw new RangeError("Invalid time value");let d=i.match(Fie).map(f=>{let b=f[0];if(b==="p"||b==="P"){let w=L_[b];return w(f,r.formatLong)}return f}).join("").match(Oie).map(f=>{if(f==="''")return{isToken:!1,value:"'"};let b=f[0];if(b==="'")return{isToken:!1,value:Vie(f)};if(k1[b])return{isToken:!0,value:f};
7995if(b.match(Bie))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&&fD(b)||!e?.useAdditionalDayOfYearTokens&&hD(b))&&B_(b,i,String(t));let w=k1[b[0]];return w(s,b,r.localize,p)}).join("")}function Vie(t){let i=t.match(Pie);return i?i[1].replace(Lie,"'"):t}function wU(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),k=o===""?"":"T",M=[f,b,w].join(d);o=`${o}${k}${M}${a}`}return o}function xU(t,i){return we(t,i?.in).getDate()}function SU(t,i){return we(t,i?.in).getDay()}function gD(t,i){let e=we(t,i?.in),n=e.getFullYear(),r=e.getMonth(),o=wt(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function TU(){return Object.assign({},xa())}function IU(t,i){return we(t,i?.in).getHours()}function AU(t,i){let e=we(t,i?.in).getDay();return e===0?7:e}function kU(t,i){return we(t,i?.in).getMinutes()}function RU(t,i){return we(t,i?.in).getMonth()}function MU(t){return we(t).getSeconds()}function NU(t,i){return we(t,i?.in).getFullYear()}function OU(t,i){return+we(t)>+we(i)}function yd(t,i){return+we(t)<+we(i)}function FU(t,i){let e=jie(i)?new i(0):wt(i,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e}function jie(t){return typeof t=="function"&&t.prototype?.constructor===t}var Hie=10,_D=class{subPriority=0;validate(i,e){return!0}},bD=class extends _D{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)}},vD=class extends _D{priority=Hie;subPriority=-1;constructor(i,e){super(),this.context=i||(n=>wt(e,n))}set(i,e){return e.timestampIsSet?i:wt(i,FU(i,this.context))}};var Pe=class{run(i,e,n,r){let o=this.parse(i,e,n,r);return o?{setter:new bD(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(i,e,n){return!0}};var yD=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 cn={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}/},Ia={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 Vn(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 Aa(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*F_+o*O_+a*aU),rest:i.slice(e[0].length)}}function CD(t){return en(cn.anyDigitsSigned,t)}function kt(t,i){switch(t){case 1:return en(cn.singleDigit,i);case 2:return en(cn.twoDigits,i);case 3:return en(cn.threeDigits,i);case 4:return en(cn.fourDigits,i);default:return en(new RegExp("^\\d{1,"+t+"}"),i)}}function uh(t,i){switch(t){case 1:return en(cn.singleDigitSigned,i);case 2:return en(cn.twoDigitsSigned,i);case 3:return en(cn.threeDigitsSigned,i);case 4:return en(cn.fourDigitsSigned,i);default:return en(new RegExp("^-?\\d{1,"+t+"}"),i)}}function mh(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function DD(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 ED(t){return t%400===0||t%4===0&&t%100!==0}var wD=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 Vn(kt(4,i),r);case"yo":return Vn(n.ordinalNumber(i,{unit:"year"}),r);default:return Vn(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=DD(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 xD=class extends Pe{priority=130;parse(i,e,n){let r=o=>({year:o,isTwoDigitYear:e==="YY"});switch(e){case"Y":return Vn(kt(4,i),r);case"Yo":return Vn(n.ordinalNumber(i,{unit:"year"}),r);default:return Vn(kt(e.length,i),r)}}validate(i,e){return e.isTwoDigitYear||e.year>0}set(i,e,n,r){let o=ch(i,r);if(n.isTwoDigitYear){let s=DD(n.year,o);return i.setFullYear(s,0,r.firstWeekContainsDate),i.setHours(0,0,0,0),Rr(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),Rr(i,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]};var SD=class extends Pe{priority=130;parse(i,e){return e==="R"?uh(4,i):uh(e.length,i)}set(i,e,n){let r=wt(i,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),hs(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]};var TD=class extends Pe{priority=130;parse(i,e){return e==="u"?uh(4,i):uh(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 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:"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 AD=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 kD=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 Vn(en(cn.month,i),r);case"MM":return Vn(kt(2,i),r);case"Mo":return Vn(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 RD=class extends Pe{priority=110;parse(i,e,n){let r=o=>o-1;switch(e){case"L":return Vn(en(cn.month,i),r);case"LL":return Vn(kt(2,i),r);case"Lo":return Vn(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 PU(t,i,e){let n=we(t,e?.in),r=pD(n,e)-i;return n.setDate(n.getDate()-r*7),we(n,e?.in)}var MD=class extends Pe{priority=100;parse(i,e,n){switch(e){case"w":return en(cn.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 Rr(PU(i,n,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]};function LU(t,i,e){let n=we(t,e?.in),r=mD(n,e)-i;return n.setDate(n.getDate()-r*7),n}var ND=class extends Pe{priority=100;parse(i,e,n){switch(e){case"I":return en(cn.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 hs(LU(i,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]};var Uie=[31,28,31,30,31,30,31,31,30,31,30,31],zie=[31,29,31,30,31,30,31,31,30,31,30,31],OD=class extends Pe{priority=90;subPriority=1;parse(i,e,n){switch(e){case"d":return en(cn.date,i);case"do":return n.ordinalNumber(i,{unit:"date"});default:return kt(e.length,i)}}validate(i,e){let n=i.getFullYear(),r=ED(n),o=i.getMonth();return r?e>=1&&e<=zie[o]:e>=1&&e<=Uie[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 FD=class extends Pe{priority=90;subpriority=1;parse(i,e,n){switch(e){case"D":case"DD":return en(cn.dayOfYear,i);case"Do":return n.ordinalNumber(i,{unit:"date"});default:return kt(e.length,i)}}validate(i,e){let n=i.getFullYear();return ED(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 ph(t,i,e){let n=xa(),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 PD=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=ph(i,n,r),i.setHours(0,0,0,0),i}incompatibleTokens=["D","i","e","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"e":case"ee":return Vn(kt(e.length,i),o);case"eo":return Vn(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=ph(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 BD=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 Vn(kt(e.length,i),o);case"co":return Vn(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=ph(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 BU(t,i,e){let n=we(t,e?.in),r=AU(n,e),o=i-r;return sa(n,o,e)}var VD=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 Vn(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 Vn(n.day(i,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Vn(n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),r);default:return Vn(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=BU(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 jD=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(mh(n),0,0,0),i}incompatibleTokens=["b","B","H","k","t","T"]};var HD=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(mh(n),0,0,0),i}incompatibleTokens=["a","B","H","k","t","T"]};var UD=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(mh(n),0,0,0),i}incompatibleTokens=["a","b","t","T"]};var zD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"h":return en(cn.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 GD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"H":return en(cn.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 WD=class extends Pe{priority=70;parse(i,e,n){switch(e){case"K":return en(cn.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 $D=class extends Pe{priority=70;parse(i,e,n){switch(e){case"k":return en(cn.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 YD=class extends Pe{priority=60;parse(i,e,n){switch(e){case"m":return en(cn.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(cn.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 KD=class extends Pe{priority=30;parse(i,e){let n=r=>Math.trunc(r*Math.pow(10,-e.length+3));return Vn(kt(e.length,i),n)}set(i,e,n){return i.setMilliseconds(n),i}incompatibleTokens=["t","T"]};var XD=class extends Pe{priority=10;parse(i,e){switch(e){case"X":return Aa(Ia.basicOptionalMinutes,i);case"XX":return Aa(Ia.basic,i);case"XXXX":return Aa(Ia.basicOptionalSeconds,i);case"XXXXX":return Aa(Ia.extendedOptionalSeconds,i);default:return Aa(Ia.extended,i)}}set(i,e,n){return e.timestampIsSet?i:wt(i,i.getTime()-rm(i)-n)}incompatibleTokens=["t","T","x"]};var ZD=class extends Pe{priority=10;parse(i,e){switch(e){case"x":return Aa(Ia.basicOptionalMinutes,i);case"xx":return Aa(Ia.basic,i);case"xxxx":return Aa(Ia.basicOptionalSeconds,i);case"xxxxx":return Aa(Ia.extendedOptionalSeconds,i);default:return Aa(Ia.extended,i)}}set(i,e,n){return e.timestampIsSet?i:wt(i,i.getTime()-rm(i)-n)}incompatibleTokens=["t","T","X"]};var QD=class extends Pe{priority=40;parse(i){return CD(i)}set(i,e,n){return[wt(i,n*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"};var JD=class extends Pe{priority=20;parse(i){return CD(i)}set(i,e,n){return[wt(i,n),{timestampIsSet:!0}]}incompatibleTokens="*"};var VU={G:new yD,y:new wD,Y:new xD,R:new SD,u:new TD,Q:new ID,q:new AD,M:new kD,L:new RD,w:new MD,I:new ND,d:new OD,D:new FD,E:new PD,e:new LD,c:new BD,i:new VD,a:new jD,b:new HD,B:new UD,h:new zD,H:new GD,K:new WD,k:new $D,m:new YD,s:new qD,S:new KD,X:new XD,x:new ZD,t:new QD,T:new JD};var Gie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wie=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$ie=/^'([^]*?)'?$/,Yie=/''/g,qie=/\S/,Kie=/[a-zA-Z]/;function jU(t,i,e,n){let r=()=>wt(n?.in||e,NaN),o=TU(),a=n?.locale??o.locale??P_,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 vD(n?.in,e)],b=i.match(Wie).map(j=>{let K=j[0];if(K in L_){let Te=L_[K];return Te(j,a.formatLong)}return j}).join("").match(Gie),w=[];for(let j of b){!n?.useAdditionalWeekYearTokens&&fD(j)&&B_(j,i,t),!n?.useAdditionalDayOfYearTokens&&hD(j)&&B_(j,i,t);let K=j[0],Te=VU[K];if(Te){let{incompatibleTokens:nn}=Te;if(Array.isArray(nn)){let Oi=w.find(xc=>nn.includes(xc.token)||xc.token===K);
7995if(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(Kie))throw new RangeError("Format string contains an unescaped latin alphabet character `"+K+"`");if(j==="''"?j="'":K==="'"&&(j=Xie(j)),t.indexOf(j)===0)t=t.slice(j.length);else return r()}}if(t.length>0&&qie.test(t))return r();let k=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 k){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 Xie(t){return t.match($ie)[1].replace(Yie,"'")}function HU(t,i,e){let[n,r]=lh(e?.in,t,i);return+Rr(n,e)==+Rr(r,e)}function UU(t,i,e){return sa(t,-i,e)}function j_(t,i){let e=()=>wt(i?.in,NaN),n=i?.additionalDigits??2,r=ere(t),o;if(r.date){let p=tre(r.date,n);o=nre(p.restDateString,p.year)}if(!o||isNaN(+o))return e();let a=+o,s=0,d;if(r.time&&(s=ire(r.time),isNaN(s)))return e();if(r.timezone){if(d=rre(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 eE={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Zie=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Qie=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Jie=/^([+-])(\d{2})(?::?(\d{2}))?$/;function ere(t){let i={},e=t.split(eE.dateTimeDelimiter),n;if(e.length>2)return i;if(/:/.test(e[0])?n=e[0]:(i.date=e[0],n=e[1],eE.timeZoneDelimiter.test(i.date)&&(i.date=t.split(eE.timeZoneDelimiter)[0],n=t.substr(i.date.length,t.length))),n){let r=eE.timezone.exec(n);r?(i.time=n.replace(r[1],""),i.timezone=r[1]):i.time=n}return i}function tre(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 nre(t,i){if(i===null)return new Date(NaN);let e=t.match(Zie);if(!e)return new Date(NaN);let n=!!e[4],r=V_(e[1]),o=V_(e[2])-1,a=V_(e[3]),s=V_(e[4]),d=V_(e[5])-1;if(n)return cre(i,s,d)?ore(i,s,d):new Date(NaN);{let p=new Date(0);return!sre(i,o,a)||!lre(i,r)?new Date(NaN):(p.setUTCFullYear(i,o,Math.max(r,a)),p)}}function V_(t){return t?parseInt(t):1}function ire(t){let i=t.match(Qie);if(!i)return NaN;let e=R1(i[1]),n=R1(i[2]),r=R1(i[3]);return dre(e,n,r)?e*F_+n*O_+r*1e3:NaN}function R1(t){return t&&parseFloat(t.replace(",","."))||0}function rre(t){if(t==="Z")return 0;let i=t.match(Jie);if(!i)return 0;let e=i[1]==="+"?-1:1,n=parseInt(i[2]),r=i[3]&&parseInt(i[3])||0;return ure(n,r)?e*(n*F_+r*O_):NaN}function ore(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 are=[31,null,31,30,31,30,31,31,30,31,30,31];function zU(t){return t%400===0||t%4===0&&t%100!==0}function sre(t,i,e){return i>=0&&i<=11&&e>=1&&e<=(are[i]||(zU(t)?29:28))}function lre(t,i){return i>=1&&i<=(zU(t)?366:365)}function cre(t,i,e){return i>=1&&i<=53&&e>=0&&e<=6}function dre(t,i,e){return t===24?i===0&&e===0:e>=0&&e<60&&i>=0&&i<60&&t>=0&&t<25}function ure(t,i){return i>=0&&i<=59}function GU(t,i,e){let n=we(t,e?.in),r=n.getFullYear(),o=n.getDate(),a=wt(e?.in||t,0);a.setFullYear(r,i,15),a.setHours(0,0,0,0);let s=gD(a);return n.setMonth(i,Math.min(o,s)),n}function WU(t,i,e){let n=we(t,e?.in);return isNaN(+n)?wt(e?.in||t,NaN):(i.year!=null&&n.setFullYear(i.year),i.month!=null&&(n=GU(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 M1(t,i,e){return sh(t,-i,e)}function N1(t,i){let e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}var mre={long:"LLLL",short:"LLL",narrow:"LLLLL"},pre={long:"EEEE",short:"EEE",narrow:"EEEEE"},hre=(()=>{class t extends or{constructor(){super();let e=m(Ju,{optional:!0});this.setLocale(e)}getYear(e){return NU(e)}getMonth(e){return RU(e)}getDate(e){return xU(e)}getDayOfWeek(e){return SU(e)}getMonthNames(e){let n=mre[e];return N1(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 N1(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=pre[e];return N1(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 gD(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 Yt(e,n,{locale:this.locale})}addCalendarYears(e,n){return lD(e,n)}addCalendarMonths(e,n){return sh(e,n)}addCalendarDays(e,n){return sa(e,n)}toIso8601(e){return wU(e,{representation:"date"})}deserialize(e){if(typeof e=="string"){if(!e)return null;let n=j_(e);if(this.isValid(n))return n}return super.deserialize(e)}isDateInstance(e){return dD(e)}isValid(e){return ac(e)}invalid(){return new Date(NaN)}setTime(e,n,r,o){return WU(this.clone(e),{hours:n,minutes:r,seconds:o,milliseconds:0})}getHours(e){return IU(e)}getMinutes(e){return kU(e)}getSeconds(e){return MU(e)}parseTime(e,n){return this._parse(e,n,!1)}addSeconds(e,n){return uU(e,n)}
7995_parse(e,n,r=!0){if(typeof e=="string"&&e.length>0){if(r){let a=j_(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=jU(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})(),fre={parse:{dateInput:"P",timeInput:"p"},display:{dateInput:"P",timeInput:"p",monthYearLabel:"LLL uuuu",dateA11yLabel:"PP",monthYearA11yLabel:"LLLL uuuu",timeOptionLabel:"p"}};var O1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=q({providers:[F1()]})}return t})();function F1(t=fre){return[{provide:or,useClass:hre},{provide:Xs,useValue:t}]}var gre={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 _re(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 P1(t,i,e){let n=_re(t,i);return(typeof n=="string"?n:n[e]).replace("{{count}}",String(i))}var $U=(t,i,e)=>{let n=gre[t];return e?.addSuffix?e.comparison&&e.comparison>0?"za "+P1(n,i,"future"):P1(n,i,"past")+" temu":P1(n,i,"regular")};var bre={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},vre={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},yre={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},YU={date:vd({formats:bre,defaultWidth:"full"}),time:vd({formats:vre,defaultWidth:"full"}),dateTime:vd({formats:yre,defaultWidth:"full"})};var Cre={masculine:"ostatni",feminine:"ostatnia"},Dre={masculine:"ten",feminine:"ta"},Ere={masculine:"nast\u0119pny",feminine:"nast\u0119pna"},wre={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function qU(t,i,e,n){let r;if(HU(i,e,n))r=Dre;else if(t==="lastWeek")r=Cre;else if(t==="nextWeek")r=Ere;else throw new Error(`Cannot determine adjectives for token ${t}`);let o=i.getDay(),a=wre[o];return`'${r[a]}' eeee 'o' p`}var xre={lastWeek:qU,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:qU,other:"P"},KU=(t,i,e,n)=>{let r=xre[t];return typeof r=="function"?r(t,i,e,n):r};var Sre={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed nasz\u0105 er\u0105","naszej ery"]},Tre={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"]},Ire={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"]},Are={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"]},kre={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,Rre={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"]},Mre={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"}},Nre={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"}},Ore=(t,i)=>String(t),XU={ordinalNumber:Ore,era:Sa({values:Sre,defaultWidth:"wide"}),quarter:Sa({values:Tre,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Sa({values:Ire,defaultWidth:"wide",formattingValues:Are,defaultFormattingWidth:"wide"}),day:Sa({values:kre,defaultWidth:"wide",formattingValues:Rre,defaultFormattingWidth:"wide"}),dayPeriod:Sa({values:Mre,defaultWidth:"wide",formattingValues:Nre,defaultFormattingWidth:"wide"})};var Fre=/^(\d+)?/i,Pre=/\d+/i,Lre={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},Bre={any:[/^p/i,/^n/i]},Vre={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(Å|l)/i},jre={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},Hre={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},Ure={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]},zre={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,Gre={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]},Wre={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},$re={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}},ZU={ordinalNumber:uD({matchPattern:Fre,parsePattern:Pre,valueCallback:t=>parseInt(t,10)}),era:Ta({matchPatterns:Lre,defaultMatchWidth:"wide",parsePatterns:Bre,defaultParseWidth:"any"}),quarter:Ta({matchPatterns:Vre,defaultMatchWidth:"wide",parsePatterns:jre,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Ta({matchPatterns:Hre,defaultMatchWidth:"wide",parsePatterns:Ure,defaultParseWidth:"any"}),day:Ta({matchPatterns:zre,defaultMatchWidth:"wide",parsePatterns:Gre,defaultParseWidth:"any"}),dayPeriod:Ta({matchPatterns:Wre,defaultMatchWidth:"any",parsePatterns:$re,defaultParseWidth:"any"})};var QU={code:"pl",formatDistance:$U,formatLong:YU,formatRelative:KU,localize:XU,match:ZU,options:{weekStartsOn:1,firstWeekContainsDate:4}};var Yre=(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}`},JU=(()=>{class t extends R_{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=Yre}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var ez=class extends Error{constructor(){super("Can't find MAT ROW element")}},tz=class extends Error{constructor(){super("Nie mo\u017Cna pobra\u0107 paczki")}},tE=class extends Error{constructor(i){super(`Wrong file format ${i}`)}},nz=class extends Error{constructor(){super("Can't choose a component")}};var ka=class extends Error{constructor(i){super(`${i} is undefined`)}},nE=class extends Error{constructor(i){super(`Invalid Date: ${i}`)}},iz=class extends Error{constructor(i){super(`Can't find dialog for ${i}`)}};var rz=class extends Error{constructor(){super("CoreModule is already loaded. Import it in the AppModule only")}};var am=class extends Error{constructor(i,e){super(`Illegal ${i} argument: ${e}`)}};var He="yyyy-MM-dd",Gtt="yyyy-MM-dd HH:mm",fs="yyyy-MM-dd HH:mm:ss";function dl(t){if(t==null)return null;if(t instanceof Date)return ac(t)?t:null;if(typeof t=="number"){let i=new Date(t);return ac(i)?i:null}if(typeof t=="string"){if(!t.trim())return null;let i=j_(t);if(ac(i))return i;let e=new Date(t);return ac(e)?e:null}return null}function qre(t){let i=dl(t);if(!i)throw new nE(t);return i}var wn=class{static keepMinDate(i,e){let n=dl(i.value),r=dl(e);n&&r&&yd(n,r)&&i.setValue(e,{emitEvent:!1})}static getTodayStartOfDay(){return kn(new Date)}static isDate(i){return dl(i)!==null}static getTodayWithTime(i=fs){return Yt(new Date,i)}static formatDate(i,e=He){return Yt(qre(i),e)}static formatDateNoError(i,e=He){let n=dl(i);return n?Yt(n,e):"Invalid Date"}static isAfter(i,e){let n=dl(i),r=dl(e);return!n||!r?!1:OU(kn(n),kn(r))}static isBeforeToday(i){let e=dl(i);return e?yd(kn(e),kn(new Date)):!1}static isSameOrAfter(i,e){let n=dl(i),r=dl(e);return!n||!r?!1:!yd(kn(n),kn(r))}};var Kre={parse:{dateInput:He},display:{dateInput:He,monthLabel:"MMMM",monthYearLabel:"yyyy MMM",dateA11yLabel:"PPP",monthYearA11yLabel:"yyyy MMMM"}},Xre=[O1,Gr,ok,p_,h_,qA,b_,wk,Tk,Ar,Mk,Nk,D_,Pk,Kk,nc,S_,Jk,t1,T_,ms,r1,s1,jk,c1,u1,nm,rk,Hi,tm,f1,_1,g1,C1,M_,N_,x1,S1,k_,T1,Ui,hr,ad],L1=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=q({providers:[{provide:Ju,useValue:QU},F1(Kre),{provide:R_,useClass:JU}],imports:[Xre,O1,Gr,ok,p_,h_,qA,b_,wk,Tk,Ar,Mk,Nk,D_,Pk,Kk,nc,S_,Jk,t1,T_,ms,r1,s1,jk,c1,u1,nm,rk,Hi,tm,f1,_1,g1,C1,M_,N_,x1,S1,k_,T1,Ui,hr,ad]})}}return t})();var nt=(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})(nt||{});var Ge=(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})(Ge||{});var B1="Wybierz ponownie plik z dysku",V1="Wybierz plik z dysku",j1="Brak ",iE="Uwaga! Numer rachunku odbiorcy zosta\u0142 wklejony. Prosimy o jego weryfikacj\u0119";var oz="60000002026";var jnt={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 rE=class{constructor(i,e){this.component=i,this.data=e}};var H1=(()=>{class t{transform(e){let n=Zre[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})(),Zre={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 Jre(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 U1=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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"),Ue(1,Jre,6,4,"div",null,at),c()),n&2&&(l(),ze(r.data))},dependencies:[H1],encapsulation:2})}}return t})();var H_=(()=>{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 lc=(()=>{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(oh)}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(Bn),E(Vl),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 toe=["*"];function noe(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),x(e.icon)}}var vi=(()=>{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=A({type:t,selectors:[["app-button"]],inputs:{disabled:"disabled",loading:"loading",icon:"icon"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:toe,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,noe,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:[Bn,Wn,lc],styles:[".icon-margin-right[_ngcontent-%COMP%]{margin-right:.2rem}"]})}}return t})();function ioe(t,i){}var z1=(()=>{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(im),E(nD),E(Vl))}}static{this.\u0275cmp=A({type:t,selectors:[["app-notification-component"]],viewQuery:function(n,r){if(n&1&&ve(H_,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,ioe,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),x(r.data.title))},dependencies:[gr,Wn,H_,vi],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(z1,P({panelClass:"warningSnackBar",data:e},this.defaultConfig))}formErrors(e){this.warningWithHTML({title:"Formularz zawiera b\u0142\u0119dy",component:new rE(U1,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 zs),B(()=>this.snackBar.dismiss()),We(1)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(F(y1),F(Sr))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();var ml=(function(t){return t.REGISTERED="REGISTERED",t.NOT_REGISTERED="NOT_REGISTERED",t.CHECK_UNSUCCESSFUL="CHECK_UNSUCCESSFUL",t.ERROR="ERROR",t})(ml||{});var roe=(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})(roe||{});var gs=(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})(gs||{}),ar=(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})(ar||{});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 U_=(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})(U_||{}),sm=(function(t){return t.SIMPLE_ACCEPT="SIMPLE_ACCEPT",t.PASSWORD="PASSWORD",t.AUTHORIZATION="AUTHORIZATION",t})(sm||{});var _s=(function(t){return t.OK="OK",t.BIC_NOT_FOUND="BIC_NOT_FOUND",t.INVALID_IBAN="INVALID_IBAN",t.INVALID_BIC="INVALID_BIC",t})(_s||{});var ht=new R("API_CONFIG");var az=(()=>{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(Jr(),Lm(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 _it=(()=>{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 rt().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 yit=(()=>{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 Eit=(()=>{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 Sit=(()=>{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 hh=class{static encode(i){let e=String.fromCharCode(...new TextEncoder().encode(i));return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}};var aE=(()=>{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 rt().set("login",e).set("password",hh.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 rt().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 sz=(()=>{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 lz=(()=>{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 sE=(()=>{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 Kit=(()=>{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 rt().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 nrt=(()=>{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 rt;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 L({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 pl=(()=>{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})();
7996var Cd=(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})(Cd||{}),dt=(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})(dt||{});var lE=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}get baseUrl(){return`${this.config.eCorpoNetApiUrl}/contractors`}existsBy(e){let n=new rt().set("name",e);return this.http.get(`${this.baseUrl}/exists`,{params:n})}importPrepare(e,n){let r=new rt().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)}saveUpdateCancel(){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 z_=(function(t){return t.TRANSACTION="TRANSACTION",t.DAILY="DAILY",t.MONTHLY="MONTHLY",t})(z_||{}),fh=(function(t){return t.CASH="CASH",t.WITHOUT_CASH="WITHOUT_CASH",t.TOGETHER="TOGETHER",t.INTERNET="INTERNET",t})(fh||{});var vrt=(()=>{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 xrt=(()=>{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 Rrt=(()=>{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 Prt=(()=>{class t{constructor(e,n){this.http=e,this.config=n,this.PATH="/deposits/deposit/confirmation-report"}getConfirmationReportFile(e){let n=new rt().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 rt().set("pageIndex",n.toString());return this.http.post(this.FOREIGN_BANKS,e,{params:r})}getBankByAccount(e){let n=new rt().set("account",e);return this.http.get(this.FOREIGN_BANK_BY_ACCOUNT_PATH,{params:n})}getBankByBic(e){let n=new rt().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 Urt=(()=>{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(Jr())}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 br=(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})(br||{}),Grt=[br.TRANSFER_COMMON,br.TRANSFER_US,br.TRANSFER_ZUS,br.TRANSFER_INTERNATIONAL,br.TRANSFER_INSTANT,br.TRANSFER_DEALING_BPS,br.TRANSFER_VAT,br.TRANSFER_VAT_TOP_UP],Wrt
7996=[br.BUNDLE,br.SALARY_BUNDLE],$rt=[br.STANDING_ORDER_OPENING,br.STANDING_ORDER_MODIFICATION,br.STANDING_ORDER_CLOSING],Yrt=[br.DEPOSIT_OPENING,br.DEPOSIT_MODIFICATION,br.DEPOSIT_CLOSING],qrt=[br.GSM_TOP_UP],ooe=(function(t){return t.TO_APPROVE="TO_APPROVE",t.APPROVED="APPROVED",t})(ooe||{}),aoe=(function(t){return t.NONE="NONE",t.DISPOSITION="DISPOSITION",t})(aoe||{});var soe=(function(t){return t.POSITIVE="POSITIVE",t.NEGATIVE="NEGATIVE",t.NO_CHECK="NO_CHECK",t})(soe||{}),loe=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(loe||{}),coe=(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})(coe||{});var doe=(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})(doe||{}),uoe=(function(t){return t.EXECUTED="EXECUTED",t.FAILED="FAILED",t})(uoe||{});var Dt=(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})(Dt||{});var iot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht)}
7996get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/items"}getApprovableItems(e){let n=new rt;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 rt().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 dot=(()=>{class t{constructor(){this.http=m(ge),this.config=m(ht),this.currentIds=[]}get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/approve"}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e).pipe(B(()=>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 _ot=(()=>{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(B(()=>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),this.currentIds=[]}get baseUrl(){return this.config.eCorpoNetApiUrl+"/approvals/convert-to-draft"}prepare(e){return this.http.post(`${this.baseUrl}/prepare`,e).pipe(B(()=>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 kot=(()=>{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 Mr=(function(t){return t.AUTH_INCORRECT="AUTH_INCORRECT",t.AUTH_BLOCKED="AUTH_BLOCKED",t.AUTH_EXPIRED="AUTH_EXPIRED",t.GENERAL="GENERAL",t})(Mr||{});var cz=(()=>{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 moe=(function(t){return t.PAIRED="PAIRED",t.PAIRING_IN_PROGRESS="PAIRING_IN_PROGRESS",t.NOT_PAIRED="NOT_PAIRED",t})(moe||{}),poe=(function(t){return t.ACTIVE_PAIRING_CODE="ACTIVE_PAIRING_CODE",t.PAIRING_ORDER_PLACED="PAIRING_ORDER_PLACED",t})(poe||{});var jot=(()=>{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 dz=(()=>{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 uz="/file/list",mz="/file/pdf",pz="/file/xml",hz="/file/homenet",fz="/file/MT940",hoe="/file/MT940allTheSame",gz="/file/MT940-day",cE="/file/duplicate",_z="/file/print",bz="/file/csv",lm="/prepare",cm="/perform",dm="/cancel",vz="/enabled",foe="/enablers",Dd="/bundles",goe="/permission",gh="/dispositions",hl="/add",bs="/update",yz="/delete",_oe="/check",Cz="/filters",dE="/audit",G1="/to-signing",W1="/unsign",$1="/to_edition",Y1="/plain",Dz="/own",_h="/vat",boe="/vat-transmission";var q1="/foreign",voe="/exchange",K1="/count",jat="api/session",Ed="api/bank-statements",Hat=Ed+uz,Uat=Ed+mz,zat=Ed+pz,Gat=Ed+hz,Wat=Ed+fz,$at=Ed+gz,Yat=Ed+cE,bh=Ed+"/plus",qat=bh+uz,Kat=bh+mz,Xat=bh+pz,Zat=bh+hz,Qat=bh+gz,Jat=bh+cE,Oo="api/accounts",Ez=Oo+"/simple-name",wz=Oo+"/turnover",X1=Oo+"/loan-schedule",W_=Oo+"/chargeable",est=W_+"/own",tst=Oo+"/chargeable_order",nst=Oo+"/update-order",xz=Oo+_h,yoe=X1+"-pfr",ist=yoe+_oe,Z1=Oo+"/statements",rst=Z1+"/l
7996ist",ost=Z1+fz,ast=Z1+hoe,Q1=Oo+"/own",Sz=Q1+_h,Tz=Oo+"/vat/chargeable",sst=Oo+"/holds/list",uE=Oo+"/bulk-statements",lst=uE+"/year",cst=uE+"/month",dst=uE+"/filename",ust=uE+"/txt",Coe="/login-page";var mst="api"+Coe+"/info",pst="api/banners",hst="api/favicon",J1="api/logo",Iz=J1+"/image",fst="api/ip-addresses",fl="api/contractors",Az=fl+"/count",kz=fl+"/exists",Rz=fl+"/groups",Mz=fl+"/changeGroup",Nz=fl+"/export/csv",Oz=fl+"/export/xml",Doe=fl+"/imports",Fz=Doe+"/uploads",$_="api/messages",Pz=$_+"/mark-as-seen",Lz=$_+"/unread-amount",gst="api"+voe,Eoe="api/banks",mE=Eoe+"/domestic",Bz=mE+"/count",vh="api/operations",yh=vh+"/history",_st=vh+_z,bst=vh+bz,Vz=vh+cE,jz=yh+cE,vst=yh+bz,yst=yh+"/file/videotel",Cst=yh+_z,ei="api/transfers",eR=ei+Dd,Hz=ei+Dd+dE,tR=ei+gh,Uz=ei+gh+dE,zz=ei+G1,um=ei+"/imports",Ch="/checks",nR="/salary",Gz=um+Ch,pE=Gz+gh,Wz=Gz+nR,$z=pE+Y1,Yz=pE+q1,qz=pE+"/us",Kz=pE+_h,Xz=um+"/uploads",hE=um+Dd,Zz=um+gh,fE=ei+"/quick-execution",Dst=fE+lm,Est=fE+vz,wst=fE+cm,xst=fE+dm,Qz=ei+hl+Y1,Jz=ei+hl+Dz,gE=ei+hl+_h,e3=ei+hl+"/us",t3=ei+hl+q1,n3=ei+bs+Y1,i3=ei+bs+Dz,_E=ei+bs+_h,r3=ei+bs+"/us",o3=ei+bs+q1,a3=ei+_h,s3=ei+boe,l3=ei+Dd+"/imports",c3=ei+"/dispositions",d3=ei+"/dispositions/whitelist",Y_="api/topups",Sst=Y_+"/update",Tst=Y_+"/operators",Ist=Y_+"/to-signing",Ast=Y_+"/enablers",iR=Y_+"/quick-execution",kst=iR+lm,Rst=iR+cm,Mst=iR+dm,Nst="/file",Wr="api/standing-orders",u3=Wr+hl+hl,m3=Wr+hl+bs,p3=Wr+hl+yz,h3=Wr+bs+hl,f3=Wr+bs+bs,g3=Wr+bs+yz,rR=Wr+"/quick-execution",_3=Wr+Dd,b3=Wr+Dd+dE,v3=Wr+G1,y3=Wr+gh+dE,Ost=rR+lm,Fst=rR+cm,Pst=rR+dm,C3=Wr+foe,bE="api/cards",Lst=bE+"/holds",woe=bE+"/extract",Bst=woe+"/dates",Vst=bE+"/limits",jst=bE+"/hasCardLimits",oR="api/us",D3=oR+Cz,E3=oR+K1,w3=oR+"/sfp",vE="api/executions",Hst=vE+G1,Ust=vE+"/bundles",zst=vE+"/dispositions",Gst=vE+"/contractors_changed",yo="api/signs",Wst=yo+lm,$st=yo+cm,Yst=yo+vz,qst=yo+dm,aR=yo+"/sign_execute",Kst=aR+lm,Xst=aR+cm,Zst=aR+dm,Qst=yo+"/to_execution",Jst=yo+W1+lm,elt=yo+W1+cm,tlt=yo+W1+dm,nlt=yo+$1+lm,ilt=yo+$1+cm,rlt=yo+$1+dm,olt=yo+Dd+Cz,alt=yo+Dd,slt=yo+gh,Ra="api/deposits",llt=Ra+"/add/add",clt=Ra+"/add/update",dlt=Ra+"/add/delete",ult=Ra+"/update/add",mlt=Ra+"/update/update",plt=Ra+"/update/delete",hlt=Ra+"/delete",flt=Ra+"/to-signing",glt=Ra+"/dispositions",sR=Ra+"/quick-execution",_lt=sR+"/prepare",blt=sR+"/perform",vlt=sR+"/cancel",ylt="api/deposits-pattern",Clt=Ra+goe,Dlt=Ra+"/deposit",Elt="api/credit-holidays",wlt="api/events/last-login-ip",xlt="api/autodealing",xoe="api/white-list",Slt="https://wl-api.mf.gov.pl/api/check",x3=xoe+"/transfers"+bs,Tlt="api/fiduciary-accounts",Ilt="api/basement";var Ma=(function(t){return t.PDF="application/pdf",t.XML="application/xml",t.TXT="text/plain",t.ZIP="application/zip",t.HTML="text/html",t})(Ma||{});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 Dh=new R("TRANSFER_DIALOG_TOKEN");var hn=(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})(hn||{});var yE=class{static parse(i){switch(i){case"PRZELEW_VAT":return hn.VAT_INVOICE;case"PRZELEW_US":return hn.US_CLO;case"PRZELEW_ZAGRANICZNY":return hn.INTERNATIONAL;case"PRZELEW_VAT_ZASILENIE":return hn.VAT_TRANSFERENCE;default:return hn.COMMON}}static parseFromContractorType(i){switch(i){case dt.FOREIGN_TRANSFER:return hn.INTERNATIONAL;case dt.US_TRANSFER:return hn.US_CLO;case dt.VAT_TRANSFER:return hn.VAT_INVOICE;default:return hn.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 cc=(()=>{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 wd=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 K_=Si(mm());var S3="hideAmount",X_="0.00",Soe="0",q_=".",Wlt=",",bt=class{static currencyFormat(i,e=" "){return i?(0,K_.default)(i,{symbol:"",separator:e,precision:2,pattern:"#!",negativePattern:"-#!"}).format():X_}static amountFormat(i,e=" "){return i?(0,K_.default)(i,{separator:e,precision:0,pattern:"#",negativePattern:"-#"}).format():Soe}static getTrimmedValue(i){return(0,K_.default)(i,{separator:"",precision:2,pattern:"#",negativePattern:"-#"}).value||0}
7996static formatAmount(i){return i===""?"":(0,K_.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===q_?e++===0?q_:"":"";return i.replace(ue.numbersCommaDotPattern,"").replace(/[,]/g,q_).replace(/[\.]/g,n)}static trimDecimalsToTwoPlaces(i){if(i.toString().includes(q_)){let[e,n]=i.toString().split(q_);i=`${+e.replace(/[\s]+/g,"")>0?e:"0"}.${n.substring(0,2)}`}return i}};var sr=class{static getFromContractor(i){let e=wd.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===dt.US_TRANSFER?cc.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):Yt(new Date,He),idNipPesel:i.vatDispositionData?.idNipPesel,vatNumber:i.vatDispositionData?.invoiceNumber,message:i.vatDispositionData?.additionalInfo,title:i.title,tax:{}}}};var la=(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.BUNDLE_NOT_PROCESSABLE=328]="BUNDLE_NOT_PROCESSABLE",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})(la||{});
7996var Wi=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}};function Toe(t,i){t&1&&(u(0,"button",4),h(1,"Zamknij"),c(),u(2,"button",5),h(3,"Od\u015Bwie\u017C list\u0119"),c()),t&2&&(l(2),g("mat-dialog-close","refresh"))}function Ioe(t,i){t&1&&(u(0,"button",3),h(1,"Zamknij"),c())}var T3=(()=>{class t{constructor(){this.data=m(et)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-bundle-error-dialog"]],decls:8,vars:2,consts:[["mat-dialog-title",""],[1,"bundle-error__message"],["align","end"],["mat-flat-button","","color","primary","type","button","mat-dialog-close","","cdkFocusInitial",""],["mat-button","","type","button","mat-dialog-close",""],["mat-flat-button","","color","primary","type","button","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(n,r){n&1&&(u(0,"h2",0),h(1,"Nie uda\u0142o si\u0119 wykona\u0107 operacji"),c(),u(2,"mat-dialog-content")(3,"p",1),h(4),c()(),u(5,"mat-dialog-actions",2),v(6,Toe,4,1)(7,Ioe,2,0,"button",3),c()),n&2&&(l(4),x(r.data.message),l(2),y(r.data.canRefresh?6:7))},dependencies:[nc,nh,ih,gd,fd,Ar,Bn],styles:[".bundle-error__message[_ngcontent-%COMP%]{margin:0}"],changeDetection:0})}}return t})();var Aoe={[la.INCORECT_BUNDLE]:"Stan wybranych paczek nie pozwala na wykonanie tej operacji. Od\u015Bwie\u017C list\u0119 i spr\xF3buj ponownie.",[la.BUNDLE_NOT_PROCESSABLE]:"Nie mo\u017Cna wykona\u0107 tej operacji dla wybranej paczki."},xd=(()=>{class t{constructor(){this.dialog=m(lt),this.listRefresh=null,this.dialogRef=null}registerListRefresh(e,n){let r={reload:e};this.listRefresh=r,n.onDestroy(()=>{this.listRefresh===r&&(this.listRefresh=null)})}tryShow(e){let n=Wi.isTypeOf(e)?Aoe[e.errorCode]:void 0;return!Wi.isTypeOf(e)||n===void 0?!1:(this.dialogRef===null&&this.open(e.messageToShow||n,e.errorCode===la.INCORECT_BUNDLE),!0)}open(e,n){let r=n?this.listRefresh:null;this.dialogRef=this.dialog.open(T3,{data:{message:e,canRefresh:r!==null},panelClass:"dialog",width:"32rem"}),this.dialogRef.afterClosed().subscribe(o=>{this.dialogRef=null,o==="refresh"&&r!==null&&this.listRefresh===r&&r.reload()})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Yr=(()=>{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 fn(t){t||(t=m(un));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 Td(t,i){let e=i?.injector??m(ie),n=new Co(1),r=ro(()=>{let o;try{o=t()}catch(a){Wt(()=>n.error(a));return}Wt(()=>n.next(o))},{injector:e,manualCleanup:!0});return e.get(un).onDestroy(()=>{r.destroy(),n.complete()}),n.asObservable()}function pm(t,i){let n=!i?.manualCleanup?i?.injector?.get(un)??m(un):null,r=koe(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 koe(t=Object.is){return(i,e)=>i.kind===1&&e.kind===1&&t(i.value,e.value)}var $n=(function(t){return t[t.HIDDEN=0]="HIDDEN",t[t.DISABLED=1]="DISABLED",t[t.VISIBLE=2]="VISIBLE",t})($n||{});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,nn=!1)=>!Te||Te.length===0?$n.VISIBLE:(nn?Te.some(Oi=>n.includes(Oi)):Te.every(Oi=>n.includes(Oi)))?$n.VISIBLE:$n.DISABLED,f=Te=>!!r.find(jt=>jt.name===Dt[Te])?.value,b=Te=>r.find(jt=>jt.name===Dt[Te])?.value??"",w=Te=>r.find(jt=>jt.name===Dt[Te])?.value??[],k=Te=>!!o.find(jt=>jt.name===Dt[Te])?.value,M=$n.HIDDEN,J=w(Dt.TOPUP_ALLOW_LOGINS),j=!J||J.length===0;!j&&a&&(j=J.includes(a.username)),j&&f(Dt.TOPUP_GSM_VISIBLE)&&(M=n.includes(Ut.FUNC_TOPUP)?$n.VISIBLE:$n.DISABLED);let K=$n.HIDDEN;return a&&(a.isMainAccount||a.isTechnicalAccount)&&n.includes(Ut.FUNC_TRANSFER_WAGES)&&(K=$n.VISIBLE),{foreignBanks:f(Dt.TRANSFER_FOREIGN_BIC_SELECTION_ENABLED)?$n.VISIBLE:$n.HIDDEN,exchangeRates:f(Dt.EXCHANGE_RATE_VISIBLE)?$n.VISIBLE:$n.HIDDEN,exchangeOffice:$n.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?$n.VISIBLE:$n.HIDDEN,carrier:$n.DISABLED,eximee:f(Dt.EXIMEE_ENABLED)?$n.VISIBLE:$n.HIDDEN,creditHolidays:b(Dt.SUBMIT)?$n.VISIBLE:$n.HIDDEN,loginOptions:n.includes(Ut.FUNC_IP_EDIT)?$n.VISIBLE:$n.HIDDEN,basement:d?$n.VISIBLE:$n.HIDDEN,mobileAp
7996p:k(Dt.MOBILE_APP_ENABLED)?$n.VISIBLE:$n.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),L(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),L(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(cz))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var qr=(()=>{class t{constructor(){this.appStore=m(Fo),this.parameters$=Td(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===Dt[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 tn={"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 I3=["sorbnet.dataWykonania.beforeOpeningHour","sorbnet.dataWykonania.afterDeadlineHour"],Roe="sorbnet.dataWykonania.outsideHours",Moe="sorbnet.dataWykonania.outsideHours.required",Noe="{TRANSFER_SORBNET_DEADLINE}",Ooe="{TRANSFER_SORBNET_OPENING_HOUR}",DE="--:--",Foe=/^\d{1,2}:\d{2}$/,EE=(()=>{class t{constructor(){this.parameterService=m(qr),this.deadlineHour=pm(this.parameterService.getParameterAsString(Dt.TRANSFER_SORBNET_DEADLINE).pipe($(e=>this.parseHour(e))),{initialValue:DE}),this.openingHour=pm(this.parameterService.getParameterAsString(Dt.TRANSFER_SORBNET_OPENING_HOUR).pipe($(e=>this.parseHour(e))),{initialValue:DE}),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),Moe)}formatHour(e){return!e||isNaN(e.getTime())?DE:`${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}`}interpolate(e,n,r=Roe){return tn[r].replace(Ooe,e).replace(Noe,n)}parseHour(e){return e?Foe.test(e)?e:this.formatHour(new Date(e)):DE}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vr=(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})(vr||{}),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 A3=Si(Kr());var dc=(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})(dc||{});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 Z_=class{static toLabel(i){switch(i){case dc.CURRENT:return hm.CURRENT;case dc.CREDIT:return hm.CREDIT;case dc.FORWARD:return hm.FORWARD;case dc.VAT:return hm.VAT;case dc.FIDUCIARY:return hm.FIDUCIARY;default:return""}}};Sn([(0,A3.default)()],Z_,"toLabel",null);var li=(()=>{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=Z_.toLabel(e)),e}}return t})();var uR="przelew.sorbnet.required",Voe="przelew.sorbnet.wlasny",Eh=(()=>{class t{constructor(){this.parameterService=m(qr),this.appStore=m(Fo)}isSorbnetRequired(e,n,r){let o=n==="COMMON"?Dt.TRANSFER_SORBNET_REQUIRED_COMMON_ENABLED:Dt.TRANSFER_SORBNET_REQUIRED_VAT_ENABLED;return on([this.parameterService.getParameterAsBoolean(Dt.TRANSFER_SORBNET_REQUIRED_ENABLED),this.parameterService.getParameterAsBoolean(o),this.parameterService.getParameterAsStringArray(Dt.TRANSFER_SORBNET_REQUIRED_LOGINS),this.parameterService.getParameterAsString(Dt.TRANSFER_SORBNET_REQUIRED_AMOUNT),this.isOwnBankAccount(r)]).pipe($(([a,s,d,p,f])=>
7996{if(!a||!s||!this.isLoginCovered(d)||f)return!1;let b=this.parseAmount(p);return b>0&&e>=b}))}findViolation(e){return e.sorbnet?this.isOwnBankAccount(e.targetAccount).pipe($(n=>n?"OWN_BANK_ACCOUNT":null)):this.isSorbnetRequired(e.amount,e.type,e.targetAccount).pipe($(n=>n?"REQUIRED":null))}getViolationError(e){return e==="OWN_BANK_ACCOUNT"?L({inputName:"rachunekOdbiorcy",errorMessage:tn[Voe]}):this.getRequiredMessage().pipe($(n=>({inputName:"kwota",errorMessage:n})))}isOwnBankAccount(e){return this.parameterService.getParameterAsStringArray(Dt.BANK_IDS).pipe($(n=>li.isOwnBankAccount(e,n)))}canDowngradeToDomestic(e){return e.length?on(e.map(n=>this.isSorbnetRequired(n.amount,this.toRequiredTransferType(n),n.targetAccount))).pipe($(n=>n.every(r=>!r)),We(1)):L(!0)}getThreshold(){return this.parameterService.getParameterAsString(Dt.TRANSFER_SORBNET_REQUIRED_AMOUNT).pipe($(e=>this.parseAmount(e)))}getRequiredMessage(){return this.getThreshold().pipe($(e=>tn[uR].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 wE=class{static removeAllErrors(i){i.setErrors(null);for(let e in i.controls)i.controls.hasOwnProperty(e)&&i.controls[e].setErrors(null)}};var R3=(()=>{class t{constructor(e,n,r){this.notificationService=e,this.sorbnetRequiredService=n,this.sorbnetDeadlineService=r,this.errorBuffer=[]}overwriteErrorsInControlsFromValidationError(e,n){this.component=n,wE.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===uR){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(()=>n.setErrors(r)),n.setErrors(r),n.markAsDirty(),n.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}cacheToBuffer(e,n){if(I3.includes(e)){this.showSorbnetOutsideHoursGlobally(n);return}let r=tn[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(Eh),F(EE))}}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,this.bundleErrors=m(xd)}processError(e,n=Ae,r=!0){return je(o=>
7996(this.spinnerService.hideSpinner(),this.printError(o,e,r),n))}processErrorWithLocalFormError(e){return n=>n.pipe(je(r=>(this.spinnerService.hideSpinner(),Wi.isTypeOf(r)?this.bundleErrors.tryShow(r)?L(r):(r.inputErrorTypes&&r.inputErrorTypes.length>0?this.formErrorsService.overwriteErrorsInControlsFromValidationError(r.inputErrorTypes,e):this.printError(r,Ge.FORM_ERROR,!0),L(r)):rn(()=>r))),ae(r=>!Wi.isTypeOf(r)))}printError(e,n,r){if(!(Wi.isTypeOf(e)&&!!e.messageToShow)&&!r||this.bundleErrors.tryShow(e))return;let a=Wi.isTypeOf(e)&&e.messageToShow?e.messageToShow:n;this.notificationService.error(a)}static{this.\u0275fac=function(n){return new(n||t)(F(Le),F(Yr),F(R3))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Id=(()=>{class t{constructor(e){this.notificationService=e,this.bundleErrors=m(xd)}save(e,n){return r=>r.pipe(B(o=>this.onSave(o,e,n)),je(this.onError()))}open(e){return n=>n.pipe(B(r=>this.onOpen(r,e)),je(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=>{if(this.bundleErrors.tryShow(e))return Ae;let n=Wi.isTypeOf(e)&&e.messageToShow?e.messageToShow:Ge.FETCHING_DATA_ERROR;return this.notificationService.error(n),Ae}}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 yr=(()=>{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(lE)}getContractorsNumber(e){return this.http.get(Az,{params:P({},e)})}getContractors(e,n=0){let r=ke(P({},e),{pageIndex:String(n)});return this.http.get(fl,{params:r}).pipe(this.errorProviderService.processError(Ge.FETCHING_DATA_ERROR,L([])))}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(kz,{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(Rz).pipe(this.errorProviderService.processError(Ge.FETCHING_DATA_ERROR,L([])))}removeContractors(e){let n=[];e.forEach(o=>{n.push(String(o.id))});let r=new rt({fromObject:{contractorIdList:n}});return this.http.delete(fl,{params:r}).pipe(B(()=>{this.notificationService.success(Ge.CONTRACTOR_REMOVE_SUCCESS)}),this.errorProviderService.processError(Ge.DELETE_ERROR,L([])))}saveCSVFile(){this.http.get(Nz,{responseType:vo}).pipe(this.fileService.save(`kontrahenci-${wn.getTodayWithTime()}.CSV`,Ma.TXT)).subscribe()}saveXMLFile(){this.http.get(Oz,{responseType:vo}).pipe(this.fileService.save(`kontrahenci-${wn.getTodayWithTime()}.XML`,Ma.XML)).subscribe()}uploadFile(e,n){let r=new rt().set("encoding",e);return this.http.post(Fz,n,{params:r})}importAuthOperation(e,n,r){return{prepare:()=>this.contractorsApi.importPrepare(e,n).pipe(B(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(Dh).openDialog(yE.parseFromContractorType(e.type),sr.getFromContractor(e),Me.NEW)}changeGroup(e){return this.http.post(Mz,e).pipe(B(()=>{this.notificationService.success(Ge.SUCCESS)}),this.errorProviderService.processError(Ge.CONTRACTOR_GROUP_CHANGE_ERROR,L([])))}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Le),F(Rt),F(Id),F(ie))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Hoe="data-confirm-button";function xE(t){return(t.closest("mat-dialog-container")??t.ownerDocument).querySelector(`[${Hoe}]`)}var fm=(()=>{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(){Et(()=>xE(this.elementRef.nativeElement)?.focus(),{injector:this.injector})}static{this.\u0275fac=function(n){return new(n||t)(E(Q),E(ie),E(fr,10),E(hi,10),E(si,10))}}static{this.\u0275dir=N({type:t,selectors:[["","appFocusConfirmOnSelect",""]],standalone:!1})}}return t})();var hR=(()=>{class t{constructor(e,n){this.elementRef=e,this.injector=n}onEnter(){Et(()=>{let e=xE(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(YA))}}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})(),zoe=(()=>{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})(),Cr=(()=>{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})(),Or=(()=>{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})(),Goe=(()=>{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 fR=(()=>{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})(),Woe=(()=>{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 M3=(()=>
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 Yoe=1e3,gR=(()=>{class t{constructor(){this.lockedMultiClick=new V,this.throttleTime=Yoe,this.lockedMultiClickSubject=new O}clickEvent(e){e.preventDefault(),e.stopPropagation(),this.lockedMultiClickSubject.next(e)}ngOnInit(){this.subscription=this.lockedMultiClickSubject.pipe(ux(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 Koe=["uploader"];function Xoe(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 Qoe(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 Joe(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=nt.CANCEL,this.buttonLabelReset=nt.CLEAR,this.buttonLabelConfirm=nt.CONFIRM,this.buttonLabelConfirmAddNext=nt.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(M3))}}static{this.\u0275cmp=A({type:t,selectors:[["app-action-buttons-panel"]],viewQuery:function(n,r){if(n&1&&ve(Koe,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,Xoe,4,2,"button",3),v(3,Zoe,4,3,"button",4),c(),u(4,"div",5),v(5,Qoe,4,2,"button",3),v(6,Joe,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:[Bn,Wn,Bt,lc,gR],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 eae=["trigger"];function tae(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 SE=(()=>{class t{constructor(e,n,r,o){this.dialogRef=e,this.notificationService=n,this.contractorService=r,this.data=o,this.ButtonLabels=nt,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(B(()=>{let n=this.contractorsForUpdateGroup.length>1?"grupy":"grup\u0119";this.notificationService.success(`Dodano ${n}`),this.close()}),je(()=>(this.notificationService.error(Ge.SAVING_ERROR),this.close(),L([])))).subscribe()}else this.dialogRef.close(this.chooseGroupFC.value)}getContractorsGroups(){this.contractorService.getAllContractorsGroups().pipe(B(e=>{e.length===0&&this.notificationService.default("Brak grup w bazie")}),je(()=>(this.notificationService.error(Ge.FETCHING_DATA_ERROR),L([])))).subscribe(e=>this.groups=e)}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Le),E(yr),E(et))}}static{this.\u0275cmp=A({type:t,selectors:[["app-assign-group-dialog"]],viewQuery:function(n,r){if(n&1&&ve(eae,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),Ue(14,tae,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),ze(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,fm,hR,Ve,Ye,Ln,Ea,Qt,fr,gr,Wn,tt,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 TE=(()=>{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 Q_=(()=>{class t{constructor(){this.IBAN_MAX_LENGTH=35,this.fb=m(xr),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 gl=(()=>{class t{constructor(e){this.http=e}getDomesticBanks(e,n){return this.http.get(mE,{params:ke(P({},e),{pageIndex:String(n)})})}getDomesticBank(e){return this.http.get(`${mE}/${e}`)}getDomesticBanksCount(e){return this.http.get(Bz,{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 bR=(()=>{class t{getBankByAccount(e){return ue.isEmpty(e)?Ae:this.banksService.getDomesticBank(e)}constructor(){this.banksService=m(gl),this.bankInputFormService=m(Q_),this.bankInputForm=this.bankInputFormService.form,this.listen()}listen(){this.bankInputForm.controls.number.valueChanges.pipe(fn(),Re(this.bankInputForm.controls.number.value),It(),fi(500),W(this.getBankByAccount.bind(this)),B(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 J_=(()=>{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 uc=(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})(uc||{});function nae(t,i){if(t&1&&(u(0,"p",0),h(1),c()),t&2){let e=_();l(),x(e.message)}}function iae(t,i){if(t&1&&(u(0,"p",0)(1,"strong"),h(2),c()()),t&2){let e=_();l(2),x(e.hint)}}function rae(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 oae(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 kd=(()=>{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=nt.CONFIRM,this.noConfirmation=nt.CANCEL,this.showCancelBtn=!0,this.CONFIRM_TYPES=uc,this.bundleErrors=m(xd),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===uc.BASIC_YES_NO_CONFIRM&&(this.okConfirmation=nt.YES,this.noConfirmation=nt.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(B(()=>{this.notificationService.success(J_.DIALOG_SUCCESS),this.spinnerService.hide
7996Spinner(),this.dialogRef.close({state:!0})}),je(r=>this.bundleErrors.tryShow(r)?(this.spinnerService.hideSpinner(),this.dialogRef.close({state:!1}),Ae):rn(()=>r)),this.errorProcessingService.processError(Ge.ERROR_OCCURED)).subscribe()}else this.dialogRef.close({state:!0})}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(Le),E(Yr),E(Rt),E(et))}}static{this.\u0275cmp=A({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,nae,2,1,"p",0),v(5,iae,3,1,"p",0),v(6,rae,2,1,"p"),v(7,oae,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),x(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),x(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 O3=(()=>{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 F3=(()=>{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 fmt=(()=>{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 IE=(()=>{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 Yn(()=>L(dt.FOREIGN_TRANSFER===e.type?this.ibanValidationService.validate(e.targetAccount):this.accountNumberValidationService.validate(e.targetAccount))).pipe(W(n=>n?L(!0):this.openConfirmationDialogForInvalidIbanOrNrb(e.type)),ae(Boolean),W(()=>this.checkShortNameUniqueness(e)),ae(Boolean),W(()=>this.contractorService.checkIfContractorExistsByAccount(e.targetAccount)),W(n=>n?this.openConfirmationDialogAndDoProperAction():L(!0)))}checkShortNameUniqueness(e){return e.id?L(!0):this.contractorService.checkIfContractorExistsByShortName(e.shortName).pipe(B(n=>{n&&this.notificationService.error(tn["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:uc.BASIC_YES_NO_CONFIRM},this.dialog.open(kd,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:uc.BASIC_YES_NO_CONFIRM},this.dialog.open(kd,n).afterClosed().pipe($(o=>o.state))}returnMessageForIbanOrNrbDialog(e){return dt.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(yr),F(lt),F(O3),F(F3),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Imt="transfer_list",Amt="transfer_sort",kmt="transfer_sort_direction",Rmt="execution_list",Mmt="execution_sort",Nmt="execution_sort_direction",Omt="sign_list",Fmt="sign_sort",Pmt="sign_sort_direction",Lmt="deposit_list",Bmt="deposit_sort",Vmt="deposit_sort_direction",jmt="standing_order_list",Hmt="standing_order_sort",Umt="standing_order_sort_direction",zmt="gsm_boost_sort",Gmt="gsm_boost_sort_direction",vR="contractors_list",yR="contractors_sort",CR="contractors_sort_direction",Wmt="bank_list",$mt="banks_sort",Ymt="banks_sort_direction",DR="foreign_bank_list",ER="foreign_banks_sort",wR="foreign_banks_sort_direction",xR="tax_office_list",SR="tax_office_sort",TR="tax_office_sort_direction",qmt="interest_rate_sort",Kmt="interest_rate_direction",Xmt="exchange_rate_sort",Zmt="exchange_rate_direction",Qmt="approvals_interface_preference",P3="selected_client_id",Jmt="mobile_app_banner_dismissed";var Na=class extends rD{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 rpt="desc";var opt=[10,20,50,100],apt=10,spt=0;var wh=(()=>{class t{constructor(e,n){this.http=e,this.notificationService=n}getTaxOfficesFilterList(e,n=0){let r=new rt().set("pageIndex",n.toString());return this.http.post(D3,e,{params:r}).pipe(je(()=>(this.notificationService.error(Ge.FETCHING_DATA_ERROR),L([]))))}getTaxOfficeFromIBAN(e){let n={accountIban:e};return this.getTaxOfficesFilterList(n)}getSymbolOfPaymentTypes(e){let n=new rt().set("sfpGrp",e.toString());return this.http.get(w3,{params:n})}getTaxOfficeCount(e){return this.http.post(E3,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 lae={authentication:"login_authentication_failed",password_expiration:"login_password_expiration_failed",session_data:"login_session_data_failed",terms:"login_terms_failed",messages:"login_messages_failed"},cae={CANCELLED:"login_cancelled_by_user",ABORTED:"login_second_stage_aborted",PREPARE_FAILED:"login_second_stage_prepare_failed",UNKNOWN:"login_second_stage_failed",[Mr.AUTH_INCORRECT]:"login_second_stage_auth_incorrect",[Mr.AUTH_EXPIRED]:"login_second_stage_auth_expired",[Mr.AUTH_BLOCKED]:"login_second_stage_auth_blocked",[Mr.GENERAL]:"login_second_stage_failed"},dae="login_failed",L3="login_terms_declined";function B3(t){return cae[t]}var gm=class extends Error{constructor(i,e){super(e instanceof Error?e.message:String(e)),this.stage=i,this.cause=e}};function xh(t){return je(i=>rn(()=>i instanceof gm?i:new gm(t,i)))}function V3(t){let i=t instanceof gm?t.cause:t;return uae(i)?i.loginFailureReason:t instanceof gm?lae[t.stage]:dae}function j3(t){return t instanceof gm?t.cause:t}function uae(t){return typeof t?.loginFailureReason=="string"}var ci=(()=>{class t{static{this.SMALL=["dialog","small"]}static{this.MEDIUM=["dialog","medium"]}static{this.LARGE=["dialog","large"]}}return t})();var mae=[ar.KIR_M_SZAFIR],H3=[{value:ar.KIR_CARBON,label:"KIR Carbon"},{value:ar.KIR_GRAPHITE,label:"KIR Graphite Szafir"},{value:ar.CRYPTOCARD_GRAPHITE,label:"CryptoCard Graphite"},{value:ar.KIR_M_SZAFIR,label:"KIR mSzafir (chmurowy)"},{value:ar.SIGILLUM_BLUE,label:"Sigillum Blue"},{value:ar.SIGILLUM_DARK,label:"Sigillum Dark"},{value:ar.SIGILLUM_M_EDO_APP,label:"Sigillum eDO App (chmurowy)"},{value:ar.ASSECO,label:"Certum (Opcja 1)"},{value:ar.ASSECO_OLD,label:"Certum (Opcja 2)"},{value:ar.ASSECO_M_SIMPLY_SIGN,label:"Asseco SimplySign (chmurowy)"},{value:ar.CENCERT_OLD,label:"CenCert (ENCARD)"},{value:ar.CENCERT,label:"CenCert (SafeNet)"},{value:ar.CENCERT_M_RSIGN,label:"CenCert rSign (chmurowy)"},{value:ar.EUROCERT,label:"EuroCert"}];function AR(t){return t!==null&&!mae.includes(t)}var pae="Aplikacja SignNetHost nie odpowiedzia\u0142a w wyznaczonym czasie. Sprawd\u017A, czy nadal dzia\u0142a, i spr\xF3buj ponownie.",hae="Rozszerzenie (wtyczka) SignNet nie mo\u017Ce po\u0142\u0105czy\u0107 si\u0119 z aplikacj\u0105 SignNetHost. Sprawd\u017A, czy jest zainstalowana i uruchomiona.",fae="Nie wykryto rozszerzenia (wtyczki) SignNet w przegl\u0105darce. Zainstaluj je, od\u015Bwie\u017C stron\u0119 i spr\xF3buj ponownie.",U3={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"}
7996,gae=[[["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 _ae(t){return t.normalize("NFD").replace(new RegExp("\\p{M}","gu"),"").replace(/Å/g,"l").replace(/Å/g,"L").toLowerCase()}function z3(t,i){let e=_ae([...t,i??""].join(" ")),n=gae.find(([r])=>r.some(o=>e.includes(o)));return n?n[1]:"FAILED"}function G3(t,i){return U3[z3(t,i)]}var mc=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=z3(i,e),r=e&&n==="FAILED"?e:null;return new t(U3[n],n,i,r)}static timeout(){return new t(pae,"TIMEOUT")}static noApplication(){return new t(hae,"NO_APPLICATION")}static noExtension(){return new t(fae,"NO_EXTENSION")}};var bae="send-message-event",W3="get-message-event",vae=12e4,yae=6e3,Cae={type:"PING"},Dae={state:"NO_APPLICATION"},$3={state:"NO_EXTENSION"},Y3=(()=>{class t{sign(e){return this.exchange(e,n=>!Eae(n)).pipe(Lm({first:vae,with:()=>rn(()=>mc.timeout())}),$(n=>xae(n)))}ping(){return this.exchange(Cae,()=>!0).pipe($(e=>wae(e)),Lm({first:yae,with:()=>L($3)}),je(()=>L($3)))}exchange(e,n){return new Ne(r=>{let o=a=>{let s=a.detail;r.next(s)};return document.addEventListener(W3,o),document.dispatchEvent(new CustomEvent(bae,{detail:{data:e},bubbles:!0,cancelable:!0})),()=>document.removeEventListener(W3,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 Eae(t){return!!t&&t.version!==void 0}function wae(t){return t?t.version?{state:"CURRENT",version:t.version}:{state:"OUTDATED"}:Dae}function xae(t){if(!t)throw mc.noApplication();let i=t.logs??[],e=Sae(t.signedData);if(t.status!=="SUCCESS"||e.length===0)throw mc.failed(i,t.errorMsg);return{signedStrings:e,logs:i}}function Sae(t){return t?(Array.isArray(t)?t:[t]).filter(e=>!!e):[]}var Tae="2.0.0",Iae={signNetState:null,signNetVersion:null,signing:!1,errorMessage:null,errorDetail:null},kR=(()=>{class t{constructor(){this.state=Z(Iae),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(Y3),this.signNetReports=m(dz),this.destroyRef=m(un),this.signNetProbe=_e.EMPTY}probeSignNet(){this.signNetProbe=this.signNet.ping().pipe(fn(this.destroyRef)).subscribe(e=>this.rememberSignNet(e))}sign(e){return Yn(()=>(this.signNetProbe.unsubscribe(),this.clearError(),this.patch({signing:!0}),this.confirmSomethingIsListening().pipe(W(()=>this.dispatchSignature(e)),je(n=>this.handleFailure(n)),Qr(()=>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"?L(void 0):this.signNet.ping().pipe(B(e=>this.rememberSignNet(e)),W(e=>
7996e.state==="NO_EXTENSION"?rn(()=>mc.noExtension()):L(void 0)))}dispatchSignature(e){return this.signNet.sign({toSign:e.toSign,publicKey:e.publicKey,certType:e.certType,param:hh.encode(e.pin)}).pipe(B(n=>this.reportAttempt("SUCCESS",n.logs)),$(n=>Aae(e.certType,n)))}rememberSignNet(e){this.patch({signNetState:e.state,signNetVersion:e.version??null})}handleFailure(e){let n=e instanceof mc?e:null;return this.reportAttempt("FAILURE",n?.logs??[],n?.kind),this.showError(n?.message??G3([]),n?.detail??null),Ae}reportAttempt(e,n,r){let o=this.state();this.signNetReports.report({outcome:e,signNetVersion:o.signNetVersion??Tae,failureKind:r,logs:n.length>0?[...n]:void 0}).pipe(je(()=>Ae),fn(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 Aae(t,i){return{authType:gs.CERTIFICATE,signedStrings:i.signedStrings,certType:t,status:"SUCCESS"}}var kae=["certTypeSelect"],Rae=["pinInput"],Mae=(t,i)=>i.value;function Nae(t,i){t&1&&(u(0,"p",3),S(1,"mat-spinner",4),u(2,"span"),h(3,"Sprawdzanie aplikacji podpisuj\u0105cej\u2026"),c()())}function Oae(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())}function Fae(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 Pae(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 Lae(t,i){if(t&1&&v(0,Oae,2,0,"p",5)(1,Fae,2,0,"p",5)(2,Pae,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 Bae(t,i){if(t&1&&(u(0,"mat-option",9),h(1),c()),t&2){let e=i.$implicit;g("value",e.value),l(),x(e.label)}}function Vae(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 jae(t,i){if(t&1&&(u(0,"p",10),S(1,"mat-spinner",4),u(2,"span"),h(3),c()()),t&2){let e=_(2);l(3),x(e.signingMessage())}}function Hae(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 Uae(t,i){if(t&1&&(u(0,"div",11)(1,"p",13),h(2),c(),v(3,Hae,2,1,"p",14),c()),t&2){let e=_(2);l(2),x(e.errorMessage()),l(),y(e.errorDetail()?3:-1)}}function zae(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),Ue(5,Bae,2,2,"mat-option",9,Mae),c(),u(7,"mat-error"),h(8,"Wybierz typ podpisu cyfrowego"),c()(),v(9,Vae,7,2,"mat-form-field",7),v(10,jae,4,1,"p",10),v(11,Uae,4,2,"div",11)),t&2){let e=_();l(3),g("formControl",e.certTypeFC),l(2),ze(e.certTypeOptions),l(4),y(e.pinRequired()?9:-1),l(),y(e.signing()?10:-1),l(),y(e.errorMessage()?11:-1)}}var q3=32,K3=(()=>{class t{constructor(){this.prepareData=uo.required(),this.submitRequested$=new O,this.certTypeOptions=H3,this.PIN_MAX_LENGTH=q3,this.certTypeFC=new mo(null,G.required),this.pinFC=new mo("",{nonNullable:!0}),this.signingService=m(kR),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(()=>AR(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=Vs("certTypeSelect"),this.pinInput=Vs("pinInput"),this.destroyRef=m(un),this.focusPlaced=!1,this.pinFC.valueChanges.pipe(fn()).subscribe(()=>this.signingService.clearError()),mt(this.certTypeFC.statusChanges,this.pinFC.statusChanges).pipe(Re(null),fn()).subscribe(()=>this.formValid.set(this.certTypeFC.valid&&this.pinFC.valid)),ro(()=>this.placeInitialFocus())}ngOnInit(){let e=this.prepareData().certType;e!==void 0&&e!==ar.EMPTY&&this.certTypeFC.setValue(e),this.certTypeFC.valueChanges.pipe(Re(this.certTypeFC.value),fn(this.destroyRef)).subscribe(n=>this.applyCertType(n)),this.signingService.probeSignNet()}collect(){return Yn(()=>
7996{if(this.probing())return Ae;let e=this.certTypeFC.value;if(e===null||this.certTypeFC.invalid||this.pinFC.invalid)return this.certTypeFC.markAsTouched(),this.pinFC.markAsTouched(),Ae;let n=this.prepareData();return!n.toSign?.length||!n.publicKey?(this.signingService.showError("Brak danych do podpisu. Zamknij okno i spr\xF3buj ponownie."),Ae):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(AR(e)?[G.required,G.maxLength(q3)]:[]),this.pinFC.setValue(""),this.pinFC.markAsUntouched(),this.pinFC.updateValueAndValidity()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-auth-certificate-form"]],viewQuery:function(n,r){n&1&&Yc(r.certTypeSelect,kae,5)(r.pinInput,Rae,5),n&2&&qc(2)},inputs:{prepareData:[1,"prepareData"]},features:[me([kR])],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,Nae,4,0,"p",3)(3,Lae,3,1),v(4,zae,12,4)),n&2&&(l(2),y(r.probing()?2:3),l(2),y(r.probing()?-1:4))},dependencies:[is,Je,Xe,Bi,$e,Gr,Ve,Ye,St,ms,tt,tm,si,Qt,nm,oh],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 Gae=["codeInput"];function Wae(t,i){if(t&1&&(u(0,"p",4),h(1),c()),t&2){let e=_();l(),x(e.errorMessage())}}var X3=(()=>{class t{constructor(){this.prepareData=uo.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(fn()).subscribe(()=>this.errorMessage.set(null)),this.codeFC.statusChanges.pipe(fn()).subscribe(()=>this.codeValid.set(this.codeFC.valid))}
7996ngAfterViewInit(){this.codeInput?.nativeElement.focus()}collect(){return Yn(()=>this.codeFC.invalid?(this.codeFC.markAsTouched(),Ae):L({authType:gs.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=A({type:t,selectors:[["app-auth-sms-form"]],viewQuery:function(n,r){if(n&1&&ve(Gae,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,Wae,2,1,"p",4)),n&2&&(l(),x(r.prompt()),l(4),g("formControl",r.codeFC),l(4),y(r.errorMessage()?9:-1))},dependencies:[is,Je,Xe,$e,Gr,Ve,Ye,St,ms,tt],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 Z3=new Map([[gs.SMS,X3],[gs.CERTIFICATE,K3]]);var $ae=["summaryHost"],Yae=["methodHost"];function qae(t,i){if(t&1&&(u(0,"p",3),h(1),c()),t&2){let e=_();l(),x(e.summaryText)}}function Kae(t,i){}function Xae(t,i){t&1&&(u(0,"div",4),S(1,"mat-spinner",9),c())}function Zae(t,i){}function Qae(t,i){t&1&&S(0,"mat-spinner",8)}function Jae(t,i){t&1&&h(0," Zatwierd\u017A ")}var Q3=(()=>{class t{constructor(){this.data=m(et),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(un),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(Qr(()=>this.collecting.set(!1)),fn(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=V0(e.component)?.inputs.some(n=>n.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=Z3.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(fn(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()),ro(()=>this.methodReady.set(e()),{injector:this.injector})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-auth-flow-dialog"]],viewQuery:function(n,r){if(n&1&&ve($ae,7,Pt)(Yae,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,qae,2,1,"p",3),fe(4,Kae,0,0,"ng-template",null,0,ba),v(6,Xae,2,0,"div",4),fe(7,Zae,0,0,"ng-template",null,1,ba),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,Qae,1,0,"mat-spinner",8)(14,Jae,1,0),c()()),n&2&&(l(),x(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:[nc,ih,gd,fd,Ar,Bn,nm,oh],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})();
7996var vs=class extends Error{constructor(i,e,n){super(e?.message??i),this.kind=i,this.response=e,this.cause=n}},_l=(()=>{class t{constructor(){this.dialog=m(lt),this.notifications=m(Le),this.bundleErrors=m(xd)}run(e,n,r){return this.runDialog(e,n,r)}failPrepare(e){let n=J3(e);return this.bundleErrors.tryShow(e)||this.notifications.error(n?.message??"Nie uda\u0142o si\u0119 rozpocz\u0105\u0107 autoryzacji"),rn(()=>new vs("PREPARE_FAILED",n??void 0,e))}runDialog(e,n,r){let o=r.size==="large",a=this.dialog.open(Q3,{data:{title:r.title,summary:r.summary},panelClass:o?ci.LARGE:"dialog",width:o?void 0:"40rem",disableClose:!0}),s=a.componentInstance,d=!0,p=e.prepare(n).pipe(Jr({bufferSize:1,refCount:!1})),f=p.pipe(B(M=>s.setPrepareData(M)),Hm(),je(M=>(d=!1,a.close("cancel"),this.failPrepare(M))),jm(yf)),b=s.submit$.pipe(Ss(M=>this.attemptPerform(e,s,M)),B(()=>d=!1),jm(yf)),w=a.afterClosed().pipe(ae(M=>M!=="success"),W(M=>(M!=="cancel"&&(d=!1),rn(()=>new vs(M==="cancel"?"CANCELLED":"ABORTED")))),jm(yf)),k=this.cancelOncePrepared(e,p);return ax(f,b,w).pipe(We(1),je(M=>(a.close("cancel"),d?k.pipe(jm(rn(()=>M))):rn(()=>M))),Qr(()=>{a.close("cancel"),d&&k.subscribe()}))}cancelOncePrepared(e,n){return n.pipe(We(1),W(()=>e.cancel()),je(()=>Ae),Hm(),Jr({bufferSize:1,refCount:!1}))}attemptPerform(e,n,r){return n.setLoading(!0),n.setError(null),e.perform(r).pipe(B(()=>n.closeAsSuccess()),je(o=>this.failPerform(o,n)))}failPerform(e,n){let r=J3(e),o=r?.kind;if(o===Mr.AUTH_INCORRECT)return n.setError(r?.message??"Nieprawid\u0142owe has\u0142o"),n.setLoa
7996ding(!1),Ae;let a=r?.message??"Autoryzacja nie powiod\u0142a si\u0119";return o===Mr.AUTH_EXPIRED?this.notifications.warning(a):this.bundleErrors.tryShow(e)||this.notifications.error(a),rn(()=>new vs(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})(),ese={[la.INCORRECT_AUTHORIZATION]:Mr.AUTH_INCORRECT,[la.EXPIRED_AUTHORIZATION]:Mr.AUTH_EXPIRED,[la.BLOCKED_AUTHORIZATION]:Mr.AUTH_BLOCKED};function J3(t){return t instanceof Zc&&t.error&&typeof t.error=="object"&&"kind"in t.error?t.error:Wi.isTypeOf(t)?{kind:ese[t.errorCode]??Mr.GENERAL,message:t.messageToShow??void 0}:null}var eb=(function(t){return t[t.SYSTEM=0]="SYSTEM",t[t.TRANSACTION=1]="TRANSACTION",t})(eb||{});function nse(t,i){t&1&&(ft(0,"p",0),h(1,"Aby przej\u015B\u0107 do systemu, nale\u017Cy zaakceptowa\u0107 regulamin."),_t())}function ise(t,i){t&1&&(ft(0,"p",0),h(1,"Aby wykona\u0107 transakcj\u0119, nale\u017Cy zaakceptowa\u0107 regulamin."),_t())}function rse(t,i){t&1&&(ft(0,"strong",2),h(1,"Pliki do pobrania:"),_t())}function ose(t,i){if(t&1){let e=Se();ft(0,"div")(1,"button",3),Bs("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),x(e.linkName)}}function ase(t,i){if(t&1&&(ft(0,"div",1)(1,"div"),h(2),_t(),v(3,rse,2,0,"strong",2),Ue(4,ose,3,1,"div",null,at),_t()),t&2){let e=i.$implicit;l(2),x(e.description),l(),y(e.files.length>0?3:-1),l(),ze(e.files)}}var eG=(()=>{class t{constructor(){this.terms=uo.required(),this.termsDialogType=uo.required(),this.TermsStateEnum=eb,this.termsApi=m(sE),this.fileService=m(Id)}openFile(e){this.termsApi.openFile(e.toString()).pipe(this.fileService.open(Ma.PDF)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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,nse,2,0,"p",0)(1,ise,2,0,"p",0),Ue(2,ase,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),ze(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 sse(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: ",wr(2,1,e.termsToAccept.acceptanceDeadline,e.dateFormat))}}function lse(t,i){t&1&&(u(0,"p"),h(1,"Regulamin nie posiada terminu akceptacji"),c())}function cse(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 dse(t,i){t&1&&(u(0,"p",5),h(1,"Po zatwierdzeniu poprosimy o autoryzacj\u0119, tak jak przy podpisywaniu operacji."),c())}var tG=(()=>{class t{constructor(){this.TermsAcceptModeEnum=sm,this.dateFormat=fs,this.data=m(et),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===sm.PASSWORD&&(this.passwordFC.setValidators(G.required),this.passwordFC.updateValueAndValidity())}
7996save(){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=A({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"),S(3,"app-terms-list",1),u(4,"form",2),v(5,sse,3,4,"p"),v(6,lse,2,0,"p"),u(7,"mat-checkbox",3),h(8,"O\u015Bwiadczam, i\u017C akceptuj\u0119 w/w regulamin"),c(),v(9,cse,6,1,"mat-form-field",4)(10,dse,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.s
7996ave()}),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:[is,jr,Je,Xe,Ai,pn,$e,qn,nc,ih,gd,fd,Ar,Bn,D_,rr,Gr,Ve,Ye,St,ms,tt,eG,mn],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 RR=class extends Error{constructor(){super("Regulamin systemowy nie zosta\u0142 zaakceptowany"),this.loginFailureReason=L3}},nG=(()=>{class t{constructor(){this.termsApi=m(sE),this.authFlow=m(_l),this.errorProcessing=m(Rt),this.dialog=m(lt)}check(){return this.isAllTermsAccepted(U_.SYSTEM,eb.SYSTEM).pipe(W(e=>e?L(void 0):rn(()=>new RR)))}isAllTermsAccepted(e,n){return e===U_.NONE?L(!0):this.termsApi.getTermsToAccept(e).pipe(W(r=>r.terms.length===0?L(!0):this.askToAccept(r,e,n)))}askToAccept(e,n,r){let o=this.dialog.open(tG,{data:{termsToAccept:e,termsTypeEnum:n,termsStateEnum:r},panelClass:ci.MEDIUM});return this.acceptOnConfirmation(o,e,n),o.afterClosed().pipe(W(a=>!a&&n===U_.SYSTEM?L(!e.acceptanceDeadline||new Date(e.acceptanceDeadline)>new Date):L(!!a)))}acceptOnConfirmation(e,n,r){e.componentInstance.acceptRequested$.pipe(ev(o=>this.accept(n,r,o).pipe(je(()=>Ae))),xe(e.afterClosed())).subscribe(()=>e.close(!0))}accept(e,n,{password:r}){switch(e.acceptanceMode){case sm.PASSWORD:return this.termsApi.passwordAccept(r).pipe(this.errorProcessing.processError(Ge.AUTHORIZATION_ERROR));case sm.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(Ge.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 use,iG=(t,i,e)=>use=t.pipe(Jr(e,i));function rG(t,i,e=1){return iG(t,i,e).pipe(Ga(null,Yn(()=>iG(t,i,e))),ii(n=>Tl(n)?n:L(n)))}var AE=(()=>{class t{constructor(e,n,r){this.http=e,this.errorProviderService=n,this.notificationService=r}getMessages(){return this.http.get($_).pipe(je(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"),L([]))))}getUnreadMessagesCount(){return this.http.get(Lz)}getBufferedUnreadMessageCount(){return this.bufferedCount$===void 0&&(this.bufferedCount$=rG(this.getUnreadMessagesCount(),3e3)),this.bufferedCount$}deleteMessages(e){let n=new rt().append("messagesIds",e.toString());return this.http.delete($_,{params:n}).pipe(this.errorProviderService.processError(Ge.FETCHING_DATA_ERROR,L([])))}markAsSeen(e){this.http.put(Pz+`/${e}`,null).pipe(this.errorProviderService.processError(Ge.FETCHING_DATA_ERROR,L([]))).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 oG=(()=>{class t{constructor(){this.document=m(Ce),this.platformId=m(Ll),this.documentIsAccessible=K0(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 MR="Przerwano proces logowania",tb=class extends Error{constructor(i){super(`Second stage of login ended without a verified code: ${i}`),this.kind=i,this.loginFailureReason=B3(i),this.messageToShow=i==="CANCELLED"?MR:null}},aG=(()=>{class t{constructor(){this.authApiService=m(aE),this.authFlow=m(_l),this.cookieService=m(oG),this.dialog=m(lt),this.notificationService=m(Le),this.token="",this.sessionEnded=!1}authenticate(e,n){return this.sessionEnded=!1,this.authApiService.authenticate(e,n).pipe(B(r=>this.saveTokenFromResponse(r)),W(()=>this.authApiService.isSecondStageRequired()),ii(r=>Yn(()=>r?this.executeSecondStage(e):L(void 0))))}logout(e,n){return this.sessionEnded=!0,n&&this.notificationService.error(n),this.authApiService.logout(e).pipe(B(()=>{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(je(n=>rn(()=>n instanceof vs?new tb(n.kind):n)))}secondStageAuthOperation(){return{prepare:()=>this.authApiService.secondStagePrepare(),perform:e=>this.authApiService.secondStagePerform(e).pipe(W(()=>e.authType===gs.CERTIFICATE?this.authApiService.updateDefaultCertType(e.certType):L(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 sG=(()=>{class t{constructor(){this.clientsFacadeService=m(kE),this.dialog=m(lt)}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=ci.MEDIUM,this.dialog.open(lG,n).afterClosed().pipe(W(()=>L(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 mse=["CANCELLED","ABORTED",Mr.AUTH_INCORRECT,Mr.AUTH_BLOCKED,Mr.AUTH_EXPIRED];function RE(){return je(t=>t instanceof vs?mse.includes(t.kind)?Ae:rn(()=>Wi.isTypeOf(t.cause)?t.cause:t):rn(()=>t))}var NR=(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})(NR||{});var ME=(()=>{class t{constructor(){this.passwordApiService=m(sz),this.dialog=m(lt),this.authenticationApiService=m(aE),this.authFlow=m(_l)}checkExpiration(){return this.passwordApiService.isPasswordExpired().pipe(W(e=>e?this.openPasswordDialog():L(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:NR.CHANGE_PASSWORD,disableClose:!0},e.hasBackdrop=!0,e.panelClass=ci.SMALL,this.dialog.open(cG,e).afterClosed().pipe(W(()=>L(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(RE())}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 pse=(()=>{class t{constructor(){this.appStore=m(Fo),this.userData$=Td(this.appStore.user).pipe(ae(e=>e!==null),It()),this.clientInfo$=Td(this.appStore.clientInfo).pipe(ae(e=>e!==null)),this.isLoggedIn$=Td(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})(),NE=pse;var OE=(()=>{class t{constructor(){this.userService=m(NE),this.notificationService=m(Le)}hasAuthorities(e,n,r){let o=this.isPermitted(e,n);return r&&!o&&this.notificationService.error(Ge.NO_PERMISSION),o}isPermitted(e,n){let r=this.userService.getUserAuthorities();return!e||e.length===0?!0:n===od.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(NE),this.authoritiesService=m(OE),this.passwordService=m(ME)}getUser(){return this.userService.getUserData()}getClientInfo(){return this.userService.getClientInfo$()}canActivate(e){return this.userService.isLoggedIn().pipe(W(n=>n?L(this.hasAuthorities(e)):L(!1)))}hasAuthorities(e){return this.authoritiesService.hasAuthorities(e,od.ALL,!1)}hasAnyAuthorities(e,n=!1){return this.authoritiesService.hasAuthorities(e,od.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 a_t=(()=>{class t{constructor(){this.authenticationService=m(aG),this.userFacadeService=m(wi),this.appStore=m(Fo),this.passwordService=m(ME),this.clientsService=m(sG),this.router=m(Sr),this.termsAcceptanceService=m(nG),this.messagesService=m(AE)}login(e,n){return this.authenticationService.authenticate(e,n).pipe(xh("authentication"),W(()=>this.passwordService.checkExpiration().pipe(xh("password_expiration"))),W(()=>this.loadSessionData().pipe(xh("session_data"))),W(()=>this.termsAcceptanceService.check().pipe(xh("terms"))),W(()=>this.messagesService.getBufferedUnreadMessageCount().pipe(xh("messages"))),B(r=>this.redirectToFirstPage(r)),W(()=>L(void 0)),je(r=>this.logout(V3(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([uV+"/"+mV]),L(void 0))))}getToken(){return this.authenticationService.getToken()}isSessionEnded(){return this.authenticationService.isSessionEnded()}getMessageFromError(e){let n=j3(e);if(n instanceof tb)return n.messageToShow??void 0;let r=n?.messageToShow;return r||(n?.message??MR)}redirectToFirstPage(e){e>0||!this.userFacadeService.hasAuthorities([Ut.FUNC_ACCOUNT_VIEW])?this.router.navigate([Jy+"/"+eC]):this.router.navigate([Rp+"/"+Rp])}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kE=(()=>{class t{constructor(){this.clientApiService=m(lz),this.appStore=m(Fo),this.authoritiesService=m(OE),this.router=m(Sr),this.messagesService=m(AE)}getAll(){return this.clientApiService.getAll()}getDefault(){return this.clientApiService.getDefault()}loadClient(e,n){return this.clientApiService.setClient({id:e.id,setDefault:n}).pipe(B(r=>this.appStore.setClientInfo(r)),B(()=>this.storeSelectedClientId(e.id)),W(()=>this.appStore.loadCustomerProfileContext()))}setClient(e,n){return this.loadClient(e,n).pipe(W(()=>this.messagesService.getBufferedUnreadMessageCount()),B(r=>this.redirectToFirstPage(r)),W(()=>L(void 0)))}storeSelectedClientId(e){localStorage.setItem(P3,e)}redirectToFirstPage(e){e>0||!this.authoritiesService.hasAuthorities([Ut.FUNC_ACCOUNT_VIEW],od.ALL,!1)?this.router.navigate([Jy+"/"+eC]):this.router.navigate([Rp+"/"+Rp])}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Rd=class{static asNumber(){return i=>i.pipe($(e=>e))}static breakIfNoData(){return i=>i.pipe(ae(e=>{if(e||!e)return!0;throw new Wi(0,la.HOMENET_SECURITY_ERROR,null,[],!1)}))}};var Md=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 hse(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}function fse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["authentication.old_password_incorrect"]," ")}}function gse(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}function _se(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 bse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["authentication.password_from_history"]," ")}}function vse(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.policyMessage()," ")}}function yse(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," Has\u0142a nie s\u0105 identyczne"),c())}var cG=(()=>{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=nt,this.ERRORS=tn,this.policyParams=null,this.disableClose=this.data.disableClose??!1,d.disableClose=this.disableClose,this.passwordMinLength$=this.parameterService.getParameter(Dt.PASSWORD_LENGTH_MIN),this.passwordMaxLength$=this.parameterService.getParameter(Dt.PASSWORD_LENGTH_MAX),this.passwordDigitCount$=this.parameterService.getParameter(Dt.PASSWORD_DIGIT_COUNT),this.passwordLowercaseCount$=this.parameterService.getParameter(Dt.PASSWORD_LOWERCASE_COUNT),this.passwordUppercaseCount$=this.parameterService.getParameter(Dt.PASSWORD_UPPERCASE_COUNT),this.oldPassword=new z("",[G.required]),this.confirmNewPassword=new z("",[G.required]),this.newPassword=new z(""),this.setNewPasswordValidators(),this.newPassword.updateV
7996alueAndValidity(),this.passwordFG=this.formBuilder.group({oldPassword:this.oldPassword,newPassword:this.newPassword,confirmNewPassword:this.confirmNewPassword},{validator:[Md.confirmEquals("newPassword","confirmNewPassword"),Md.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(B(()=>{this.notificationService.success(Ge.CHANGE_PASSWORD_SUCCESS),this.dialogRef.close(!0)}),je(e=>Wi.isTypeOf(e)&&e.errorCode===la.PASSWORD_POLICY?(this.newPassword.setErrors(ke(P({},this.newPassword.errors??{}),{specificMessage:!0})),this.spinnerService.hideSpinner(),Ae):rn(()=>e)),this.errorProviderService.processError(Ge.AUTHORIZATION_ERROR)).subscribe()}cancel(){this.disableClose||this.dialogRef.close(!1)}setNewPasswordValidators(){on([this.passwordMinLength$.pipe(Rd.asNumber()),this.passwordMaxLength$.pipe(Rd.asNumber()),this.passwordDigitCount$.pipe(Rd.asNumber()),this.passwordLowercaseCount$.pipe(Rd.asNumber()),this.passwordUppercaseCount$.pipe(Rd.asNumber())]).pipe(B(([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),Md.minDigitCount(r),Md.minLowercaseCount(o),Md.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(Yr),E(Ze),E(et))}}static{this.\u0275cmp=A({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(),S(8,"input",2),u(9,"mat-error"),v(10,hse,2,0,"span"),c(),u(11,"mat-error"),v(12,fse,2,1,"span"),c()(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nowe has\u0142o"),c(),S(16,"input",4),u(17,"mat-error"),v(18,gse,2,0,"span"),v(19,_se,2,0,"span"),v(20,bse,2,1,"span"),v(21,vse,2,1,"span"),c()(),u(22,"mat-form-field",1)(23,"mat-label"),h(24,"Powt\xF3rz has\u0142o"),c(),S(25,"input",5),u(26,"mat-error"),v(27,yse,2,0,"span"),v(28,Cse,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),x(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:[jr,Je,Xe,Ai,pn,$e,qn,Mt,Nt,Ot,Ve,Ye,St,tt,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 Dse(t,i){if(t&1&&(u(0,"mat-option",5),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),lo("",e.id,", ",e.name)}}var lG=(()=>{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=L([]),this.disableClose=!1,this.ButtonLabels=nt,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(){Et(()=>{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(B(e=>{this.clients=e}),B(()=>this.loadDefaultFromBackend())).subscribe()}loadDefaultFromBackend(){this.clientsFacadeService.getDefault().pipe(B(e=>{this.checkIfOneClient(e,this.clients)})).subscribe()}setClient(){let e=this.chooseClientFC.value;this.clientsFacadeService.setClient(e,this.defaultValueFC.value).pipe(B(()=>{this.defaultValueFC.value&&this.notificationService.success("Zapisano domy\u015Bln\u0105 firm\u0119")}),We(1),this.errorProviderService.processError(Ge.SAVING_ERROR,L([]))).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(B(()=>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(kE),E(Rt),E(ie),E(et))}}static{this.\u0275cmp=A({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()}),Ue(11,Dse,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),ze(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:[jr,Je,Xe,Ai,$e,qn,Mt,Nt,Ot,fm,Ve,Ye,Ea,Qt,fr,rr,tt,Tt,er],styles:[".flex-col[_ngcontent-%COMP%]{display:flex;flex-direction:column}",".gap-10[_ngcontent-%COMP%]{gap:10px}"]})}}return t})();var Oa=(()=>{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 Ese=["filterExpansionPanel"],wse=["contextMenu"],xse=t=>({"dialog-table":t}),Sse=t=>({"basic-table-row-highlight":t});function Tse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Numer rachunku"),c())}function Ise(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),x(Fe(3,1,e.accountIban))}}function Ase(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Typ rachunku"),c())}function kse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),x(e.accountsTypeGroup)}}function Rse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Adres"),c())}function Mse(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 Nse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Nazwa urz\u0119du"),c())}function Ose(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 Fse(t,i){t&1&&S(0,"mat-header-row",28)}function Pse(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",co(2,Sse,n.selection.selected.includes(e)))}}function Lse(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 FE=(()=>{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 pr(!0,[]),this.isDialog=!1,this.isAddButtonDisabled=!1,this.ButtonLabels=nt,this.destroy$=new O,this.dataSource=new Na,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(SR),this.storage.getItem(TR)]).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(xR,this.taxOfficeSearchFG.value),this.taxOfficeRequest=this.getFilters(),this.paginator.pageIndex=0,on([this.getTaxOffice(this.taxOfficeRequest),this.getTaxOfficeCount(this.taxOfficeRequest)]).subscribe()}openTransferDialog(){this.selection.selected.length===1&&this.injector.get(Dh).openDialog(hn.US_CLO,sr.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(){mt(Al(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(SR,this.matSortActive),this.storage.setItem(TR,this.matSortDirection)}),this.storage.getItem(xR).then(e=>{e&&this.taxOfficeSearchFG.patchValue(e)}).finally(()=>this.search())}getTaxOffice(e){return this.spinnerService.showSpinner(),this.taxOfficeService.getTaxOfficesFilterList(e,this.paginator.pageIndex).pipe(B(n=>this.dataSource.data=n),B(()=>this.spinnerService.hideSpinner()))}getTaxOfficeCount(e){return this.taxOfficeService.getTaxOfficeCount(e).pipe(je(()=>L(0)),B(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 ka("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(wh),E(lt),E(ie),E(wi),E(Yr),E(Oa))}}static{this.\u0275cmp=A({type:t,selectors:[["app-tax-office"]],viewQuery:function(n,r){if(n&1&&ve(Ese,5)(bo,5)(kr,5)(wse,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(),S(13,"input",8),c(),u(14,"mat-form-field",7)(15,"mat-label"),h(16,"Nazwa urz\u0119du"),c(),S(17,"input",8),c(),u(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),S(21,"input",8),c(),u(22,"mat-form-field",7)(23,"mat-label"),h(24,"Dokument"),c(),S(25,"input",8),c(),u(26,"div",9)(27,"mat-form-field",10)(28,"mat-label"),h(29,"Na dzie\u0144 (dokument)"),c(),S(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(),S(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()(),S(49,"mat-paginator",16),u(50,"mat-table",17),T("matSortChange",function(a){return r.showSortChange(a)}),Cn(51,18),fe(52,Tse,2,0,"mat-header-cell",19)(53,Ise,4,3,"mat-cell",20),Dn(),Cn(54,21),fe(55,Ase,2,0,"mat-header-cell",19)(56,kse,3,1,"mat-cell",20),Dn(),Cn(57,22),fe(58,Rse,2,0,"mat-header-cell",19)(59,Mse,3,1,"mat-cell",20),Dn(),Cn(60,23),fe(61,Nse,2,0,"mat-header-cell",19)(62,Ose,3,1,"mat-cell",20),Dn(),fe(63,Fse,1,0,"mat-header-row",24)(64,Pse,1,4,"mat-row",25),c()(),v(65,Lse,1,2,"app-action-buttons-panel",26),c(),S(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",co(25,xse,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 Bse=t=>({"dialog-table":t}),Vse=t=>({"basic-table-row-highlight":t});function jse(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Numer rachunku"),c())}function Hse(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),x(Fe(3,1,e.accountIban))}}function Use(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Typ rachunku"),c())}function zse(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),x(e.accountsTypeGroup)}}function Gse(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 $se(t,i){t&1&&(u(0,"mat-header-cell",27),h(1,"Nazwa urz\u0119du"),c())}function Yse(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 qse(t,i){t&1&&S(0,"mat-header-row",28)}function Kse(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",co(2,Vse,n.selection.selected.includes(e)))}}function Xse(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 Nd=(()=>{class t extends FE{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(wh),E(Ze),E(lt),E(ie),E(wi),E(Yr),E(Oa),E(et))}}static{this.\u0275cmp=A({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(),S(13,"input",8),c(),u(14,"mat-form-field",7)(15,"mat-label"),h(16,"Nazwa urz\u0119du"),c(),S(17,"input",8),c(),u(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),S(21,"input",8),c(),u(22,"mat-form-field",7)(23,"mat-label"),h(24,"Dokument"),c(),S(25,"input",8),c(),u(26,"div",9)(27,"mat-form-field",10)(28,"mat-label"),h(29,"Na dzie\u0144 (dokument)"),c(),S(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(),S(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()(),S(49,"mat-paginator",16),u(50,"mat-table",17),T("matSortChange",function(a){return r.showSortChange(a)}),Cn(51,18),fe(52,jse,2,0,"mat-header-cell",19)(53,Hse,4,3,"mat-cell",20),Dn(),Cn(54,21),fe(55,Use,2,0,"mat-header-cell",19)(56,zse,3,1,"mat-cell",20),Dn(),Cn(57,22),fe(58,Gse,2,0,"mat-header-cell",19)(59,Wse,3,1,"mat-cell",20),Dn(),Cn(60,23),fe(61,$se,2,0,"mat-header-cell",19)(62,Yse,3,1,"mat-cell",20),Dn(),fe(63,qse,1,0,"mat-header-row",24)(64,Kse,1,4,"mat-row",25),c()(),v(65,Xse,1,2,"app-action-buttons-panel",26),c(),S(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",co(25,Bse,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 PE=new Map([[dt.NORMAL_TRANSFER,"Przelew zwyk\u0142y"],[dt.FOREIGN_TRANSFER,"Przelew zagraniczny"],[dt.US_TRANSFER,"Przelew US / C\u0141O"],[dt.VAT_TRANSFER,"Faktura VAT"]]);var ca=(function(t){return t[t.ALL=0]="ALL",t[t.DEBIT=1]="DEBIT",t[t.CREDITS=2]="CREDITS",t})(ca||{}),Sbt=[{value:ca.ALL.toString(),viewValue:"Wszystkie"},{value:ca.DEBIT.toString(),viewValue:"Obci\u0105\u017Cenia"},{value:ca.CREDITS.toString(),viewValue:"Uznania"}];var Po="Pole jest wymagane",Th="Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w",Abt="(\\d+([\\,\\.]\\d{0,2})?|\\.?\\d{1,2})",Ih="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 Qse="Nieprawid\u0142owy numer PESEL",Fa=class t{static check(i){let e=i?.value;return!e||e.length===0||t.isValid(e)?null:{pesel:{message:Qse}}}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 pc=class t{constructor(i,e){this.value=i,this.type=e}
7996static from(...i){for(let e of i){let n=(e||"").replace(/[\s-]/g,"");if(Lo.isValid(n))return new t(n,vn.NIP);if(Fa.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 dt.FOREIGN_TRANSFER;case"US_CLO":case"US_TRANSFER":return dt.US_TRANSFER;case"VAT_INVOICE":case"VAT_TRANSFER":return dt.VAT_TRANSFER;case"COMMON":case"NORMAL_TRANSFER":return dt.NORMAL_TRANSFER;default:return dt.NORMAL_TRANSFER}}static getContractorTypeFromOper(i){switch(i){case"PRZELEW_VAT":case"53":return dt.VAT_TRANSFER;case"PRZELEW_US":case"71":case"74":return dt.US_TRANSFER;case"PRZELEW_ZAGRANICZNY":case"P0":case"P1":case"CS":case"ES":case"HS":return dt.FOREIGN_TRANSFER;default:return dt.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)?{}:pc.from(i.idNipPesel,i.whiteListDTO?.nip)?.toContractorFields())}static getIdentifierFromOperation(i){if(this.isIncoming(i))return{};let e=wd.parse(i.title||"","").peselNip;return pc.from(e,i.whiteListDTO?.nip)?.toContractorFields()||{}}static getTypeName(i){return PE.get(i)||""}static isIncoming(i){return i?.side===ca[ca.CREDITS]}};var Jse="Nieprawid\u0142owy numer REGON",Od=class t{static check(i){return!i.value||t.isValid(i.value)||i.value.toString().length===1&&isNaN(Number(i.value))?null:{regon:{message:Jse}}}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 Ah=(()=>{class t{constructor(){this.SHORT_NAME_MAX_LENGTH=20,this.INPUT_MAX_LENGTH=35,this.fb=m(xr),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 kh=(()=>{class t{constructor(){this.contractorService=m(yr),this.authFlow=m(_l),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(B(()=>this.notificationService.success(Ge.CONTRACTOR_CREATING_UPDATING_SUCCESS)),RE())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var OR=(()=>{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()}formatAmount(){let e=this.control.control;if(!e)return;
7996let n=e.value,r=bt.formatAmount(n);n=+n==0?X_: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 nle(t,i){t&1&&(u(0,"span"),h(1,"Kwota jest wymagana"),c())}function ile(t,i){t&1&&(u(0,"span"),h(1,"Zbyt ma\u0142a kwota"),c())}function rle(t,i){t&1&&(u(0,"span"),h(1,"Zbyt du\u017Ca kwota"),c())}function ole(t,i){t&1&&(u(0,"span"),h(1,"Zbyt ma\u0142a kwota"),c())}function ale(t,i){t&1&&(u(0,"span"),h(1,"Zbyt du\u017Ca kwota"),c())}function sle(t,i){t&1&&(u(0,"span"),h(1,"Kwota musi by\u0107 wi\u0119ksza od 0"),c())}function lle(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera niedozwolone znaki"),c())}function cle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.empty"])}}function dle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.zero"])}}function ule(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.greaterThan001"])}}function mle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.max_range"])}}function ple(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.min_range"])}}function hle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.greaterThanOne"])}}function fle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwotaVat.greaterThan0"])}}function gle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.wplata.greaterThanOne"])}}function _le(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.wyplata.greaterThanOne"])}}function ble(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.wyplata.za_duzo"])}}function vle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["error.field.amount.not_allowed"])}}function yle(t,i){t&1&&(u(0,"span"),h(1,"Kwota VAT nie mo\u017Ce by\u0107 wi\u0119ksza od kwoty brutto"),c())}function Cle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["kwota.brakSrodkow"])}}function Dle(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["error.field.amount.wrong_format_with_penny"])}}function Ele(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["error.field.amount.wrong_format"])}}var FR=(()=>{class t{constructor(){this.ERRORS=tn}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-amount-error"]],inputs:{amountFC:"amountFC"},standalone:!1,decls:22,vars:22,template:function(n,r){n&1&&(v(0,nle,2,0,"span"),v(1,ile,2,0,"span"),v(2,rle,2,0,"span"),v(3,ole,2,0,"span"),v(4,ale,2,0,"span"),v(5,sle,2,0,"span"),v(6,lle,2,0,"span"),v(7,cle,2,1,"span"),v(8,dle,2,1,"span"),v(9,ule,2,1,"span"),v(10,mle,2,1,"span"),v(11,ple,2,1,"span"),v(12,hle,2,1,"span"),v(13,fle,2,1,"span"),v(14,gle,2,1,"span"),v(15,_le,2,1,"span"),v(16,ble,2,1,"span"),v(17,vle,2,1,"span"),v(18,yle,2,0,"span"),v(19,Cle,2,1,"span"),v(20,Dle,2,1,"span"),v(21,Ele,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 xle(t,i){t&1&&(u(0,"span",2),h(1,"PLN"),c())}var Xr=(()=>{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=A({type:t,selectors:[["app-amount-input"]],inputs:{amountFC:"amountFC",isRequired:"isRequired",fieldLabel:"fieldLabel",maximumLength:"maximumLength",showPLNSuffix:[2,"showPLNSuffix","showPLNSuffix",Y],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,xle,2,0,"span",2),u(5,"mat-error"),S(6,"app-amount-error",3),c()()),n&2&&(l(2),x(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,Ye,St,Ln,tt,Je,Xe,pn,Bi,$e,Bt,OR,FR],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 Tle(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 Ile(t,i){t&1&&(u(0,"mat-error"),h(1,"Nazwa jest wymagana"),c())}function Ale(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),x(e.getInvalidCharacters(e.namePart1FC.getError("pattern")))}}function kle(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 Rle(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),x(e.getInvalidCharacters(e.namePart2FC.getError("pattern")))}}function Mle(t,i){t&1&&(u(0,"mat-error"),h(1,"Adres jest wymagany"),c())}function Nle(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),x(e.getInvalidCharacters(e.addressPart1FC.getError("pattern")))}}function Ole(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),x(e.getInvalidCharacters(e.addressPart2FC.getError("pattern")))}}var Zr=(()=>{class t{constructor(){this.isInternational=uo(!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=A({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(),S(4,"input",1),v(5,Tle,3,0,"mat-hint"),v(6,Ile,2,0,"mat-error"),v(7,Ale,4,1,"mat-error"),c(),u(8,"mat-form-field",0)(9,"mat-label"),h(10,"Nazwa cd."),c(),S(11,"input",2),v(12,kle,3,0,"mat-hint"),v(13,Rle,4,1,"mat-error"),c()(),u(14,"div")(15,"mat-form-field",0)(16,"mat-label"),h(17,"Adres"),c(),S(18,"input",3),v(19,Mle,2,0,"mat-error"),v(20,Nle,4,1,"mat-error"),c(),u(21,"mat-form-field",0)(22,"mat-label"),h(23,"Adres cd."),c(),S(24,"input",4),v(25,Ole,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,Ye,oa,St,tt,Je,Xe,pn,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 Fle(t,i){t&1&&(u(0,"span"),h(1,"Niepoprawny numer rachunku"),c())}function Ple(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 Lle(t,i){t&1&&(u(0,"span"),h(1,"Nieprawid\u0142owa d\u0142ugo\u015B\u0107 IBANu dla wybranego kraju"),c())}var ib=(()=>{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=A({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(),S(3,"input",1),u(4,"mat-error"),v(5,Fle,2,0,"span"),v(6,Ple,2,0,"span"),v(7,Lle,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,Ye,St,tt,Je,Xe,pn,Bi,$e,Bt],styles:["[_nghost-%COMP%]{display:block}","mat-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var Ble=["trigger"];function Vle(t,i){t&1&&(u(0,"span"),h(1,"Edytuj kontrahenta"),c())}function jle(t,i){t&1&&(u(0,"span"),h(1,"Dodaj kontrahenta"),c())}function Hle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.isRequiredErrorText)}}function Ule(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["nazwaSkrot.exists"])}}function zle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.INCORRECT_SIGNS_TEXT)}}function Gle(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 Wle(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(),S(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 $le(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.isRequiredErrorText)}}function Yle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.isRequiredErrorText)}}function qle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["nip.checkSumInvalid"])}}function Kle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["regon.checkSumInvalid"])}}function Xle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(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(),x(e)}}function Qle(t,i){if(t&1&&(u(0,"mat-option",29),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),x(e)}}function Jle(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.INCORRECT_SIGNS_TEXT)}}var LE=(()=>{class t{constructor(e,n,r,o){this.dialog=e,this.dialogRef=n,this.contractorService=r,this.data=o,this.ERRORS=tn,this.INCORRECT_SIGNS_TEXT=Th,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=nt,this.ContractorTypeEnum=dt,this.ValidatorUtils=Xt,this.fb=m(xr),this.contractorSaveUpdateService=m(kh),this.errorProviderService=m(Rt),this.contractorValidationService=m(IE),this.bankInputFormService=m(Q_),this.bankInputForm=this.bankInputFormService.form,this.bankSearchService=m(bR),this.contractorInputFormService=m(Ah),this.contractorInputForm=this.contractorInputFormService.form,this.nipFC=this.fb.nonNullable.control("",Lo.check),this.regonFC=this.fb.nonNullable.control("",Od.check),this.peselFC=this.fb.nonNullable.control("",Fa.check),this.groupFC=new z,this.amountFC=this.fb.nonNullable.control(""),this.currencies=m(pl).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(B(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)):L(null))).subscribe()}updateContractor(){this.contractorSaveUpdateService.updateContractor(this.createContractorForUpdate()).pipe(B(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}openDialog(e){let n=new Jt;n.panelClass=ci.MEDIUM,n.data={details:e,isDialog:!0},e===dt.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(Nd,e).afterClosed().pipe(B(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(lt),E(Ze),E(yr),E(et))}}static{this.\u0275cmp=A({type:t,selectors:[["app-common-contractor-dialog"]],viewQuery:function(n,r){if(n&1&&ve(Ble,5),n&2){let o;H(o=U())&&(r.autoComplete=o.first)}},standalone:!1,features:[me([Q_,Ah,bR,gl])],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,Vle,2,0,"span")(3,jle,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(),S(12,"input",5),c(),u(13,"mat-form-field",4)(14,"mat-label"),h(15,"Nazwa skr\xF3cona"),c(),S(16,"input",6),v(17,Hle,2,1,"mat-error"),v(18,Ule,2,1,"mat-error"),v(19,zle,2,1,"mat-error"),c()(),S(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),S(25,"app-iban-input",9),v(26,Gle,2,0,"app-button",10),c(),v(27,Wle,7,1,"div",11),u(28,"div",3)(29,"mat-form-field",4)(30,"mat-label"),h(31,"Nazwa banku"),c(),S(32,"input",12),v(33,$le,2,1,"mat-error"),c(),u(34,"mat-form-field",4),S(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(),S(41,"input",14),v(42,Yle,2,1,"mat-error"),c(),u(43,"mat-form-field",4),S(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(),S(53,"
7996input",18),v(54,qle,2,1,"mat-error"),c(),u(55,"mat-form-field",17)(56,"mat-label"),h(57,"REGON"),c(),S(58,"input",18),v(59,Kle,2,1,"mat-error"),c()(),u(60,"div",16)(61,"mat-form-field",17)(62,"mat-label"),h(63,"PESEL"),c(),S(64,"input",18),v(65,Xle,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),Ue(76,Zle,2,2,"mat-option",24,at),c()()(),u(78,"div",3),S(79,"app-amount-input",25),u(80,"mat-form-field",26)(81,"mat-label",27),h(82,"Waluta"),c(),u(83,"mat-select",28),Ue(84,Qle,2,2,"mat-option",29,at),be(86,"async"),c()()(),u(87,"mat-form-field",30)(88,"mat-label"),h(89,"Tytu\u0142em"),c(),S(90,"textarea",31),v(91,Jle,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.invalidCheckSum")?65:-1),l(4),g("formControl",r.groupFC)("matAutocomplete",o),l(7),ze(r.groups),l(3),g("amountFC",r.amountFC)("isRequired",!1),l(4),g("formControl",r.currencyFC),l(),ze(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,pn,Bi,Ve,Ye,St,Ln,Ea,Qt,fr,gr,rr,Wn,tt,si,Mt,Nt,Ot,Cr,Or,$e,qn,Pu,Xr,Zr,ib,vi,Tt,TE,er],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 Fd=(()=>{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})(),Pd=(()=>{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})(),ece=(()=>{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})(),Ld=(()=>{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})(),tce=(()=>{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})(),Bd=(()=>{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})(),nce=(()=>{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})(),rb=(()=>{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 ice=t=>({"dialog-table":t}),rce=t=>({"basic-table-row-highlight":t});function oce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1,"Numer BIC"),c())}function ace(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),x(e.bic)}}function sce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Nazwa banku"),c())}function lce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),x(e.bankName)}}function cce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Adres"),c())}function dce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),S(3,"br"),h(4),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address),l(2),lo("",e.city," ",e.country)}}function uce(t,i){t&1&&S(0,"mat-header-row")}function mce(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",co(2,rce,n.selection.selected.includes(e))),xo("ngModel",n.rowDetails)}}function pce(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 uG=(()=>{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 pr(!0,[]),this.isDialog=!1,this.ButtonLabels=nt,this.destroy$=new O,this.dataSource=new Na,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(ER),this.storage.getItem(wR)]).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(DR,this.foreignBanksSearchFG.value),this.bankRequestParam=this.getBankRequest(),this.paginator.pageIndex=0,on([this.getForeignBank(this.bankRequestParam),this.getForeignBanksCount(this.bankRequestParam)]).subscribe()}initFilterAndData(){mt(Al(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(ER,this.matSortActive),this.storage.setItem(wR,this.matSortDirection)}),this.storage.getItem(DR).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(Ge.FETCHING_DATA_ERROR,L([])),B(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 ka("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(je(()=>L(0)),B(n=>this.resultsLength=n))}static{this.\u0275fac=function(n){return new(n||t)(E(No),E(Le),E(lt),E(Oa),E(Rt))}}static{this.\u0275cmp=A({type:t,selectors:[["app-foreign-banks"]],viewQuery:function(n,r){if(n&1&&ve(bo,5)(kr,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(),S(12,"input",4),c(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nazwa banku"),c(),S(16,"input",5),c(),u(17,"div",6)(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),S(21,"input",8),c(),u(22,"mat-form-field",9)(23,"mat-label"),h(24,"Liczba rekord\xF3w"),c(),S(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()()()(),S(31,"mat-paginator",12),u(32,"mat-table",13),T("matSortChange",function(a){return r.showSortChange(a)}),Cn(33,14),fe(34,oce,2,0,"mat-header-cell",15)(35,ace,3,1,"mat-cell",16),Dn(),Cn(36,17),fe(37,sce,2,0,"mat-header-cell",15)(38,lce,3,1,"mat-cell",16),Dn(),Cn(39,18),fe(40,cce,2,0,"mat-header-cell",15)(41,dce,5,3,"mat-cell",16),Dn(),fe(42,uce,1,0,"mat-header-row",19)(43,mce,1,4,"mat-row",20),c()(),v(44,pce,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",co(18,ice,r.isDialog)),l(10),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?44:-1))},dependencies:[dr,jr,Je,Fu,Xe,Ai,ed,Ve,Ye,Qu,ic,rc,_d,tt,bo,kr,Js,el,nl,al,il,tl,sl,rl,ol,ll,cl,Fd,Pd,Ld,Bd,$e,qn,vi,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 hce=t=>({"dialog-table":t}),fce=t=>({"basic-table-row-highlight":t});function gce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1,"Numer BIC"),c())}function _ce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),x(e.bic)}}function bce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Nazwa banku"),c())}function vce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),x(e.bankName)}}function yce(t,i){t&1&&(u(0,"mat-header-cell",22),h(1," Adres"),c())}function Cce(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),S(3,"br"),h(4),c()()),t&2){let e=i.$implicit;l(2),se(" ",e.address),l(2),lo("",e.city," ",e.country)}}function Dce(t,i){t&1&&S(0,"mat-header-row")}function Ece(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",co(2,fce,n.selection.selected.includes(e))),xo("ngModel",n.rowDetails)}}function wce(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 BE=(()=>{class t extends uG{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(lt),E(Oa),E(Rt),E(et))}}static{this.\u0275cmp=A({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(),S(12,"input",4),c(),u(13,"mat-form-field",3)(14,"mat-label"),h(15,"Nazwa banku"),c(),S(16,"input",5),c(),u(17,"div",6)(18,"mat-form-field",7)(19,"mat-label"),h(20,"Adres"),c(),S(21,"input",8),c(),u(22,"mat-form-field",9)(23,"mat-label"),h(24,"Liczba rekord\xF3w"),c(),S(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()()()(),S(31,"mat-paginator",12),u(32,"mat-table",13),T("matSortChange",function(a){return r.showSortChange(a)}),Cn(33,14),fe(34,gce,2,0,"mat-header-cell",15)(35,_ce,3,1,"mat-cell",16),Dn(),Cn(36,17),fe(37,bce,2,0,"mat-header-cell",15)(38,vce,3,1,"mat-cell",16),Dn(),Cn(39,18),fe(40,yce,2,0,"mat-header-cell",15)(41,Cce,5,3,"mat-cell",16),Dn(),fe(42,Dce,1,0,"mat-header-row",19)(43,Ece,1,4,"mat-row",20),c()(),v(44,wce,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",co(18,hce,r.isDialog)),l(10),g("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0),l(),g("matRowDefColumns",r.displayedColumns),l(),y(r.isDialog?44:-1))},dependencies:[dr,jr,Je,Fu,Xe,Ai,ed,Ve,Ye,Qu,ic,rc,_d,tt,bo,kr,Js,el,nl,al,il,tl,sl,rl,ol,ll,cl,Fd,Pd,Ld,Bd,$e,qn,vi,Tt],encapsulation:2})}}return t})();var da=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 Nh=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)&&!da.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:da.isCountryCodeInForeignIbanInfos(i,n.substring(0,2))?da.checkTargetAccountIbanLength(n,i):da.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 VE=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 Vd=(()=>{class t{constructor(){this.fb=m(xr),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,VE.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([Nh.noCountrySpecified(e),Nh.incorrectLength(e),Nh.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 Oh=(()=>{class t{constructor(){this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.bankInputFormService=m(Vd),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(B(n=>
7996{n.bankInfoStatus===_s.OK&&this.bankInputForm.controls.number.setValue(e,{emitEvent:!1})})):Ae}getBankByBic(e){return this.foreignBanksService.getBankByBic(e.toUpperCase())}getBankByAccountAndCountry(e,n){return this.ibanInfos.pipe($(r=>da.setCountryCodeIfSelectedCountry(n.toUpperCase(),e,r)),W(r=>this.getBankByIban(r)))}listenForFormChange(){on([this.bankInputForm.controls.number.valueChanges.pipe(fn(),Re(this.bankInputForm.controls.number.value),It(),fi(500),$(e=>e?.replace(/\s/g,"")||""),B(e=>{this.bankInputForm.controls.number.setValue(e,{emitEvent:!1}),this.bankInputFormService.updateValidity()}),ae(()=>this.bankInputForm.controls.number.valid)),this.bankInputForm.controls.country.valueChanges.pipe(fn(),Re(this.bankInputForm.controls.country.value),It(),fi(500),B(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)?Ae:/^[0-9\s]+$/i.test(e)?ue.isEmpty(n)?Ae:this.getBankByAccountAndCountry(e,n).pipe(B(r=>{this.handleIbanSearchResult(r)}),je(()=>L())):this.getBankByIban(e).pipe(B(r=>{this.handleIbanSearchResult(r)}),je(()=>L())))).subscribe(),this.bankInputForm.controls.bic.valueChanges.pipe(fn(),Re(this.bankInputForm.controls.bic.value),It(),ae(()=>this.bankInputForm.controls.bic.valid),fi(500),W(e=>this.getBankByBic(e).pipe(B(n=>{this.handleBicSearchResult(n)}),je(()=>L())))).subscribe()}handleIbanSearchResult(e){if(e){switch(e.bankInfoStatus){case _s.OK:this.bankInputFormService.setBank(e.bankInfo);break;case _s.BIC_NOT_FOUND:this.bankInputFormService.setBank(e.bankInfo);break;case _s.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 _s.OK:this.bankInputFormService.setBank(e.bankInfo);break;case _s.BIC_NOT_FOUND:this.bankInputFormService.setBankInfo(e.bankInfo);break;case _s.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 xce={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 ob(t){return xce[t.trim()]||t}function jE(t){return[...t].sort((i,e)=>ob(i).localeCompare(ob(e),"pl"))}function Sce(t,i){if(t&1&&(u(0,"mat-option",4),h(1),c()),t&2){let e=i.$implicit,n=_();g("value",e),l(),x(n.displayWith(e))}}function Tce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.error())}}var LR=t=>t.toLowerCase().replace(/Å/g,"l").normalize("NFD").replace(new RegExp("\\p{M}","gu"),"");function Ice(t,i){let e=LR(i.trim());return e?t.filter(n=>LR(ob(n)).includes(e)||LR(n).includes(e)):t}var Fh=(()=>{class t{constructor(){this.countries=uo([]),this.placeholder=uo("Wybierz kraj"),this.error=uo(null),this.searchFC=new mo("",{nonNullable:!0}),this.errorStateMatcher={isErrorState:()=>!!this.error()},this.displayWith=e=>e?ob(e):"",this.trigger=Vs.required(fr),this.selected=Z(""),this.searchTerm=pm(this.searchFC.valueChanges,{initialValue:""}),this.filteredCountries=Ct(()=>{let e=this.searchTerm();return e===this.selected()?this.countries()??[]:Ice(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=A({type:t,selectors:[["app-country-select"]],viewQuery:function(n,r){n&1&&Yc(r.trigger,fr,5),n&2&&qc()},inputs:{countries:[1,"countries"],placeholder:[1,"placeholder"],error:[1,"error"]},features:[me([{provide:tr,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()}),Ue(4,Sce,2,2,"mat-option",4,at),c(),v(6,Tce,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),ze(r.filteredCountries()),l(2),y(r.error()?6:-1)}},dependencies:[is,Je,Xe,$e,Gr,Ve,St,ms,tt,b_,Ea,Qt,fr],styles:["[_nghost-%COMP%]{display:block}.country-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return t})();var Ace=["trigger"];function kce(t,i){t&1&&(u(0,"span"),h(1,"Edytuj kontrahenta"),c())}function Rce(t,i){t&1&&(u(0,"span"),h(1,"Dodaj kontrahenta"),c())}function Mce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.isRequiredErrorText)}}function Nce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["nazwaSkrot.exists"])}}function Oce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.INCORRECT_SIGNS_TEXT)}}
7996function Fce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.foreignBankInputForm.controls.bic.getError("invalidBic"))}}function Pce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["bic.invalid"])}}function Lce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["bic.illegal"])}}function Bce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["bic.length"])}}function Vce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.isRequiredErrorText)}}function jce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.isRequiredErrorText)}}function Hce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["nip.checkSumInvalid"])}}function Uce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["regon.checkSumInvalid"])}}function zce(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["pesel.invalidCheckSum"])}}function Gce(t,i){if(t&1&&(u(0,"mat-option",27),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),x(e)}}function Wce(t,i){if(t&1&&(u(0,"mat-option",32),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),x(e)}}function $ce(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function Yce(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),x(e.getInvalidCharacters(e.titleFC.getError("pattern")))}}var HE=(()=>{class t{constructor(e,n,r,o){this.dialog=e,this.dialogRef=n,this.contractorService=r,this.data=o,this.ERRORS=tn,this.INCORRECT_SIGNS_TEXT=Th,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=nt,this.ContractorTypeEnum=dt,this.ValidatorUtils=Xt,this.fb=m(xr),this.contractorSaveUpdateService=m(kh),this.errorProviderService=m(Rt),this.contractorValidationService=m(IE),this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.countries=this.foreignBanksService.getCountries().pipe($(jE)),this.foreignBankInputFormService=m(Vd),this.foreignBankInputForm=this.foreignBankInputFormService.form,this.foreignBankSearchService=m(Oh),this.contractorInputFormService=m(Ah),this.contractorInputForm=this.contractorInputFormService.form,this.nipFC=this.fb.nonNullable.control("",Lo.check),this.regonFC=this.fb.nonNullable.control("",Od.check),this.peselFC=this.fb.nonNullable.control("",Fa.check),this.groupFC=new z,this.amountFC=this.fb.nonNullable.control(""),this.currencies=m(pl).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=>this.contractorValidationService.validate(e).pipe($(()=>e))),W(e=>this.contractorSaveUpdateService.saveContractor(e)),B(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}updateContractor(){this.ibanInfos.pipe($(e=>this.createContractorForUpdate(e)),W(e=>this.contractorSaveUpdateService.updateContractor(e)),B(()=>this.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}openDialog(e){let n=new Jt;switch(n.panelClass=ci.MEDIUM,n.data={details:e,isDialog:!0},e){case dt.US_TRANSFER:this.openTaxOfficeDialogComponent(n);break;case dt.FOREIGN_TRANSFER:this.openForeignBanksDialogComponent(n);break}}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.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(BE,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(Nd,e).afterClosed().pipe(B(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:dt.FOREIGN_TRANSFER,onlyForLoggedUser:this.onlyForLoggedUserFC.value,checkIban:!1}}formatTargetAccount(e){return ue.removeWhitespaces(da.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(dt.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.dataDetails.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(dt.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(lt),E(Ze),E(yr),E(et))}}static{this.\u0275cmp=A({type:t,selectors:[["app-foreign-contractor-dialog"]],viewQuery:function(n,r){if(n&1&&ve(Ace,5),n&2){let o;H(o=U())&&(r.autoComplete=o.first)}},standalone:!1,features:[me([Vd,Oh,Ah])],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,kce,2,0,"span")(3,Rce,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(),S(12,"input",5),c(),u(13,"mat-form-field",4)(14,"mat-label"),h(15,"Nazwa skr\xF3cona"),c(),S(16,"input",6),v(17,Mce,2,1,"mat-error"),v(18,Nce,2,1,"mat-error"),v(19,Oce,2,1,"mat-error"),c()(),S(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),S(25,"app-country-select",9),be(26,"async"),S(27,"app-iban-input",10),c(),u(28,"div",11)(29,"mat-form-field",12)(30,"mat-label"),h(31,"Kod BIC banku"),c(),S(32,"input",13),v(33,Fce,2,1,"mat-error"),v(34,Pce,2,1,"mat-error"),v(35,Lce,2,1,"mat-error"),v(36,Bce,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(),S(43,"input",15),v(44,Vce,2,1,"mat-error"),c(),u(45,"mat-form-field",4),S(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(),S(52,"input",17),v(53,jce,2,1,"mat-error"),c(),u(54,"mat-form-field",4),S(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(),S(64,"input",21),v(65,Hce,2,1,"mat-error"),c(),u(66,"mat-form-field",20)(67,"mat-label"),h(68,"REGON"),c(),S(69,"input",21),v(70,Uce,2,1,"mat-error"),c()(),u(71,"div",19)(72,"mat-form-field",20)(73,"mat-label"),h(74,"PESEL"),c(),S(75,"input",21),v(76,zce,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),Ue(87,Gce,2,2,"mat-option",27,at),c()()(),u(89,"div",3),S(90,"app-amount-input",28),u(91,"mat-form-field",29)(92,"mat-label",30),h(93,"Waluta"),c(),u(94,"mat-select",31),Ue(95,Wce,2,2,"mat-option",32,at),be(97,"async"),c(),v(98,$ce,2,0,"mat-error"),c()(),u(99,"mat-form-field",33)(100,"mat-label"),h(101,"Tytu\u0142em"),c(),S(102,"textarea",34),v(103,Yce,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),ze(r.groups),l(3),g("amountFC",r.amountFC)("isRequired",!1),l(4),g("formControl",r.currencyFC),l(),ze(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,pn,Bi,Ve,Ye,St,Ln,Ea,Qt,fr,gr,rr,Wn,tt,si,Zs,Mt,Nt,Ot,Cr,Or,$e,qn,Pu,Xr,Zr,ib,vi,Tt,Fh,TE,er],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 pG=(function(t){return t.ELIXIR="ELIXIR",t.VIDEO_TEL="VIDEO_TEL",t.INTERNATIONAL="INTERNATIONAL",t.DBF="DBF",t})(pG||{}),Eyt=t=>t===pG.DBF?[".dbf"]:[".csv",".txt",".xml",".pli"],_m=(function(t){return t.WINDOWS_1250="WINDOWS-1250",t.UTF_8="UTF-8",t})(_m||{}),qce=(function(t){return t.NEW_BUNDLE="do nowej paczki",t.EXISTING_BUNDLE="do istniej\u0105cej paczki z listy",t.WITHOUT_BUNDLE="bez paczki",t})(qce||{}),Kce=(function(t){return t.UNCHECKED="UNCHECKED",t.VALID="VALID",t.INVALID="INVALID",t.FAILED="FAILED",t})(Kce||{});var Xce=["*"];function Zce(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),x(e.icon)}}function Qce(t,i){if(t&1&&(u(0,"span",2),h(1),c()),t&2){let e=_();l(),x(e.hint)}}var Ph=(()=>{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=A({type:t,selectors:[["app-menu-item-button"]],inputs:{disabled:"disabled",icon:"icon",hint:"hint"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:Xce,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,Qce,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:[Wn,em],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 Jce=["uploaderCSV"],ede=["uploaderTXT_DEF"],tde=["uploaderTXT_NOV"],nde=["uploaderTXT_SABA"],ide=["uploaderXML"];function rde(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 fG=(()=>{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=Cd,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(SE).afterClosed().pipe(B(n=>
7996{n===void 0?this.choosenGroupForImport="":this.choosenGroupForImport=n}),W(()=>this.ifForLogin().afterClosed().pipe(B(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(Ge.FETCHING_DATA_ERROR)).subscribe()}else this.notificationService.error(Ge.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:uc.BASIC_YES_NO_CONFIRM},this.dialog.open(kd,e)}getFileFromBrowser(e){return e===Cd.CSV?(this.uploaderCSV?.nativeElement.click(),this.encoding=_m.WINDOWS_1250):e===Cd.TXT_SABA?(this.uploaderTXT_SABA?.nativeElement.click(),this.encoding=_m.WINDOWS_1250):e===Cd.TXT_DEF?(this.uploaderTXT_DEF?.nativeElement.click(),this.encoding=_m.WINDOWS_1250):e===Cd.TXT_NOV?(this.uploaderTXT_NOV?.nativeElement.click(),this.encoding=_m.WINDOWS_1250):e===Cd.XML&&(this.uploaderXML?.nativeElement.click(),this.encoding=_m.UTF_8),L([])}importContractorsWithAuthorize(e,n,r){let o=Mi.getContractorImportRequest(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(B(()=>{this.showMessage(),this.importCompleted.emit(!0)}),je(s=>s instanceof vs?Ae:rn(()=>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(yr),E(Le),E(lt),E(_l),E(wi),E(Rt))}}static{this.\u0275cmp=A({type:t,selectors:[["app-contractors-import"]],viewQuery:function(n,r){if(n&1&&ve(Jce,5)(ede,5)(tde,5)(nde,5)(ide,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,rde,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:[Qs,QC,bd,Bt,vi,Ph],encapsulation:2})}}return t})();var qt=(()=>{class t{transform(e,n="",r=!1){return e?li.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 BR=Si(mm());var Kt=(()=>{class t{transform(e,n=""){if(e===S3)return"";{let r=e?(0,BR.default)(e,{precision:2}).format():X_;return(0,BR.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 Hd=(()=>{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})();function ade(t,i){if(t&1&&(u(0,"strong",2),h(1),u(2,"span",8),h(3,", "),c()()),t&2){let e=_();l(),x(e.account.accountShortName)}}function sde(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(),x(wr(2,1,e.account.friendlyName1,e.account.friendlyName2))}}
7999function lde(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(),x(Fe(2,1,e.account.accountNumber))}}function cde(t,i){if(t&1&&(u(0,"span",5),h(1),u(2,"span",8),h(3,", "),c()()),t&2){let e=_();l(),x(e.account.ownerShortName)}}function dde(t,i){if(t&1&&(h(0),be(1,"currencyFormatPipe")),t&2){let e=_();se(" ",Fe(1,1,e.account.availableFunds)," ")}}function ude(t,i){if(t&1&&h(0),t&2){let e=_();se(" ",e.account.currency," ")}}var VR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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,ade,4,1,"strong",2),S(3,"br"),v(4,sde,5,4,"span",3),c(),u(5,"div",4),v(6,lde,5,3,"span",2),v(7,cde,4,1,"span",5),c(),u(8,"div",6)(9,"strong",7),v(10,dde,2,3),v(11,ude,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,Hd],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 jR=(function(t){return t.PRIMARY="primary",t.WARN="warn",t.ACCENT="accent",t})(jR||{});var bm=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 gG=Si(Kr());var vm=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,gG.default)()],vm.prototype,"transform",null);var bl=(function(t){return t.D="D",t.M="M",t.R="R",t})(bl||{}),vl=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(vl||{}),HR=(()=>{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 bl.D:case vl.DAY:e+=" dzie\u0144";break;case bl.M:case vl.MONTH:e+=" miesi\u0105c";break;case bl.R:case vl.YEAR:e+=" rok";break;default:break}else if(r.test(e))switch(n){case bl.D:case vl.DAY:e+=" dni";break;case bl.M:case vl.MONTH:e+=" miesi\u0105ce";break;case bl.R:case vl.YEAR:e+=" lata";break;default:break}else if(o.test(e))switch(n){case bl.D:case vl.DAY:e+=" dni";break;case bl.M:case vl.MONTH:e+=" miesi\u0119cy";break;case bl.R:case vl.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 _G=Si(Kr());var ab=(function(t){return t.NULL="NULL",t.CZESCIOWA_WPLATA="CZESCIOWA_WPLATA",t.CZESCIOWA_WYPLATA="CZESCIOWA_WYPLATA",t})(ab||{});var sb=(function(t){return t.NULL="Brak",t.PARTIAL_DEPOSIT="Cz\u0119sciowa wp\u0142ata",t.PARTIAL_PAYOUT="Cz\u0119sciowa wyp\u0142ata",t})(sb||{});var Bh=class t{transform(i){switch(i){case ab.NULL:return sb.NULL;case ab.CZESCIOWA_WPLATA:return sb.PARTIAL_DEPOSIT;case ab.CZESCIOWA_WYPLATA:return sb.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,_G.default)()],Bh.prototype,"transform",null);var bG=(()=>{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?ml.REGISTERED:ml.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:ml.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 Vh=(()=>{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)),je(r=>{let o=r.error;return L(this.converter.toErrorMessage(e,n,o.message))}))}isWhiteListEnabled(){return L(this.appStore.whiteListEnabled())}static{this.\u0275fac=function(n){return new(n||t)(F(az),F(bG))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Cs=(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})(Cs||{}),Ud=(function(t){return t.POSITIVE="POSITIVE",t.NEGATIVE="NEGATIVE",t.NO_CHECK="NO_CHECK",t})(Ud||{});var zR=(()=>{class t{transform(e){switch(e){case Ud.POSITIVE:return"Pozytywny";case Ud.NEGATIVE:return"Negatywny";case Ud.NO_CHECK:return"-";case Cs.REGISTERED:return"Zarejestrowany";case Cs.NOT_REGISTERED:return"Niezarejestrowany";case Cs.CHECK_UNSUCCESSFUL:return"Weryfikacja nie powiod\u0142a si\u0119";case Cs.INVALID_NIP:return"Nieprawid\u0142owy NIP";case Cs.ERROR:return"B\u0142\u0105d weryfikacji";case Cs.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 ua=(function(t){return t.NEW="NEW",t.COMPLETED="COMPLETED",t.REJECTED="REJECTED",t})(ua||{});var yl=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 ka("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:ua.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 lb=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},Hd,[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},mn,[He]),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},Hd,[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},mn,[He]),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},mn,[He]),e.push(n),n=new de().leftCell({name:"Data otwarcia",value:i.openingDate},mn,[He]).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},mn,[He]).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},mn,[He]),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},mn,[He]),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},mn,[fs]).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},mn,[fs]).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},Bh)),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},mn,[He]).rightCell({name:"Data zako\u0144czenia",value:i.endDate},mn,[He])),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},vm).rightCell({name:"Kapitalizacja odsetek",value:i.capitalizationOfInterest},vm)),n}static prepareTransferDetails(i,e,n){let r=[],o;return o=new de().leftCell({name:"Rachunek \u017Ar\xF3d\u0142owy",value:i.sourceAccount},qt,[j1]),r.push(o),o=new de().leftCell({name:"Rachunek beneficjenta",value:i.targetAccount},qt,[j1]),r.push(o),e&&i?.dispositions&&(o=new de().leftCell({name:"Data wykonania",value:i?.dateOfExecution},mn,[He]),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},mn,[fs]),r.push(o),yl.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},mn,[fs]),e.push(n),n=new de().leftCell({name:"Zmodyfikowany przez ",value:i?.modifiedBy}).rightCell({name:"Data modyfikacji ",value:i?.modifiedAt},mn,[fs]),e.push(n),n=new de().leftCell({name:"Data rozpocz\u0119cia ",value:i?.startDate},mn,[He]).rightCell({name:"Data zako\u0144czenia ",value:i?.endDate},mn,[He]),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}`},HR),e.push(n)}return i?.isActive&&i?.dispositions&&(n=new de().leftCell({name:"Data nast\u0119pnego wykonania ",value:i?.executionDate},mn,[He]),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),yl.isBundle(i)&&r.rightCell({name:"Data wykonania",value:i.dateOfExecution},mn,[He]),n.push(r),r=new de().leftCell({name:"Utworzony przez",value:i.createdBy}).rightCell({name:"Data utworzenia",value:i.createdAt},mn,[fs]),n.push(r),r=new de().leftCell({name:"Zmodyfikowany przez",value:i.modifiedBy}).rightCell({name:"Data modyfikacji",value:i.modifiedAt},mn,[fs]),n.push(r);let o=yl.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},mn,[He]),e.push(n),n=new de().leftCell({name:"Data ksi\u0119gowania",value:i.accountingDate},mn,[He]),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===ca[ca.DEBIT]?"amount-debit":""}static getEndDate(i){return wn.isDate(i)?wn.formatDateNoError(i):""}static getWhiteListState(i){let e=yl.isVirtualBundle(i)?i?.dispositions[0].whiteListVerificationState:i?.whiteListVerificationState;return new de().leftCell({name:"Status weryfikacji VAT",value:e},zR)}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 hde=["uploaderCSV"],fde=["uploaderXML"],gde=["filterExpansionPanel"],_de="mat-dialog-container, .mat-mdc-dialog-container",GR=(()=>{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=dt,this.isEditButtonDisabled=!0,this.isDeleteButtonDisabled=!0,this.isCreateTransferButtonDisabled=!0,this.isCreateButtonDisabled=!1,this.isAssignGroupButtonDisabled=!0,this.selection=new pr(!0,[]),this.pageSize=100,this.contractorTypeNameMap=PE,this.ButtonLabels=nt,this.ButtonThemeType=jR,this.allContractorsCount=0,this.title="Wybierz kontrahenta",this.filterHeader="Filtry",this.detailsHeader="Szczeg\xF3\u0142y",this.dialogTitle=J_.ACCEPT_CONTRACTOR_DELETE_TITLE,this.dialogMessage=J_.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 bm,this.detailsForDialog=new bm,this.matSortDirection="asc",this.matSortActive="shortName",this.dataSource=new Na([]),this.displayedColumns=["shortName","name1","targetAccount","type","group"],Promise.all([this.storage.getItem(yR),this.storage.getItem(CR)]).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=ci.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===dt.FOREIGN_TRANSFER?HE:LE;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(vR,this.contractorSearchFG.value),this.contractorsParameters=this.getContractorsSearchParams(this.contractorsParameters.type),this.refreshData().subscribe(),this.filterExpansionPanel.close()}formatAccount(){let e=li.ibanFormat(this.accountFC.value);this.accountFC.setValue(e)}openConfirmationDialog(){let e=new Jt;e.panelClass=ci.MEDIUM,e.data={title:this.dialogTitle,message:this.dialogMessage,details:this.selection.selected},this.dialog.open(kd,e).afterClosed().pipe(ae(n=>n.state),W(()=>this.getRemoveContractors()),W(()=>this.refreshData()),je(n=>rn(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(SE,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=lb.prepareContractorDetails(e),this.detailsForDialog.rows=lb.prepareContractorDetailsForDialog(e))}initFilterAndData(){mt(Al(window,"beforeunload"),this.destroy$).subscribe(()=>{this.storage.setItem(yR,this.matSortActive),this.storage.setItem(CR,this.matSortDirection)}),gn(this.storage.getItem(vR).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(je(()=>(this.spinnerService.hideSpinner(),L([]))),B(e=>{this.spinnerService.hideSpinner(),this.dataSource.data=e}),W(()=>this.contractorService.getContractorsNumber(this.contractorsParameters).pipe(B(e=>this.allContractorsCount=e),je(()=>L(0)))))}getContractors(e,n=0){return this.contractorService.getContractors(e,n).pipe(B(()=>{this.selection.clear(),this.selectionAnchor=void 0,this.setDisablanceOfAllActionButtonsTo(!0)}),je(()=>L([])))}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(_de),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===dt.FOREIGN_TRANSFER}hasTransferPermissions(e){return this.hasPermissionToViewTransfer&&(this.isForeign(e)?this.hasForeignTransferPermission:this.hasDomesticTransferPermission)}static{this.\u0275fac=function(n){return new(n||t)(E(yr),E(wi),E(Vi),E(Le),E(Oa),E(lt),E(Yr))}}static{this.\u0275cmp=A({type:t,selectors:[["app-contractor-core"]],viewQuery:function(n,r){if(n&1&&ve(hde,5)(fde,5)(gde,5)(bo,5)(kr,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)},Yo)},standalone:!1,decls:0,vars:0,template:function(n,r){},encapsulation:2})}}return t})();function bde(t,i){if(t&1&&(u(0,"div",1),S(1,"div",2),c()),t&2){let e=_();l(),g("innerHTML",e.body,Su)}}var vde=(()=>{class t{constructor(e){this.dialogRef=e,this.body=""}static{this.\u0275fac=function(n){return new(n||t)(E(Ze))}}static{this.\u0275cmp=A({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,bde,2,1,"div",1),c()),n&2&&(l(),y(r.body?1:-1))},encapsulation:2})}}return t})();var yde=(()=>{class t{constructor(e,n){this.sanitizer=e,this.data=n,this.ButtonLabels=nt;let r=n.message.replaceAll(` 8000`,"<br>");this.message=this.sanitizer.bypassSecurityTrustHtml(r)}static{this.\u0275fac=function(n){return new(n||t)(E(Nu),E(et))}}static{this.\u0275cmp=A({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"),S(4,"div",0),c(),u(5,"app-dialog-btn-panel",1)(6,"button",2),h(7),c()()()),n&2&&(l(2),x(r.data.title),l(2),g("innerHTML",r.message,Su),l(3),x(r.ButtonLabels.OK))},dependencies:[Bn,nh,fd,Mt,Nt,Ot,fR],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})();
8000var Cde="Niepoprawny format numeru telefonu",Dde="Wprowadzony numer telefonu jest za d\u0142ugi",Ede="Wprowadzony numer telefonu jest za kr\xF3tki",UE=class t{static isPhoneValid(i){let e=i.value,n=!1,r={phoneFormat:{message:Cde}};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:Ede}};if(i.length>=9)return{phoneFormat:{message:Dde}};throw new am("phone",i)}};var wde="Nieprawid\u0142owy NIP lub PESEL",zE="Pole ma z\u0142\u0105 warto\u015B\u0107",xde="Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza",vG="Pole zawiera niedozwolone znaki lub ci\u0105gi znak\xF3w: ",Sde="Pole zawiera niedozwolone znaki: ",xi=(()=>{class t{static isBeforeToday(e){return!e||!e.value||wn.isSameOrAfter(e.value,Yt(new Date,He))?null:{isBeforeToday:{message:xde}}}static phoneValidator(e){return UE.isPhoneValid(e)}static nipPeselValidator(e){return!e||!e.value||Fa.check(e)&&Lo.check(e)?{nipAndPeselFormat:{message:wde}}: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:zE}}),{notBiggerThan:{message:zE}}):(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:zE}}),{notBiggerThan:{message:zE}}):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:vG+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:vG+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:Sde+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 WR=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.ButtonLabels=nt}chooseOption(e){this.dialogRef.close(e)}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(et))}}static{this.\u0275cmp=A({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),x(r.data.title),l(3),x(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 Cl=class{static parse(i){switch(i){case"PRZELEW_VAT":case"53":return hn.VAT_INVOICE;case"PRZELEW_US":case"71":case"74":return hn.US_CLO;case"PRZELEW_ZAGRANICZNY":case"P0":case"P1":case"CS":case"ES":case"HS":return hn.INTERNATIONAL;case"PRZELEW_VAT_ZASILENIE":return hn.VAT_TRANSFERENCE;default:return hn.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(W_)}getClientInfo(){return this.userFacadeService.getClientInfo()}pasteTransferToBundle(e){return this.http.post(ei,e)}refreshTable(){this.refreshEvent.next()}toSign(e){return this.http.post(zz,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(x3,e)}getTransferData(e){let n=new rt().set("id",e);return this.http.get(c3,{params:n}).pipe($(r=>Cl.mapCurrency(r)))}getTransfersData(e){return this.http.post(d3,e)}printAction(e){let n=e.virtual?tR:eR,r=e.virtual?e.dispositions[0].id:e.id;this.http.get(n+`/${r}/file`,{responseType:vo}).pipe(this.fileService.open(Ma.PDF)).subscribe()}savePdfAction(e){let n=e.virtual?tR:eR,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,Ma.PDF)).subscribe()}
8000getBundleDetails(e){return this.http.get(Hz+"/"+e)}getDispositionDetails(e){return this.http.get(Uz+"/"+e)}openDialogPromptAboutAddingNewContractor(){let e={data:{title:Ge.NO_SUCH_CONTRACTOR_TITLE,message:Ge.NO_SUCH_CONTRACTOR_MESSAGE,actionButtons:{confirm:nt.YES,cancel:nt.NO}},panelClass:"background-question-mark",disableClose:!0};return this.dialog.open(WR,e).afterClosed()}checkVatPermission(){return this.http.get(a3)}checkVatTransmissionPermission(){return this.http.get(s3)}saveRequest(e,n){return this.http.post(n,e)}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Le),F(Id),F(lt),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(W_)}getOwnAccount(){return this.http.get(Q1)}getOwnVatAccount(){return this.http.get(Sz)}getChargeableVatAccounts(){return this.http.get(Tz)}changeSimpleName(e,n,r){return this.http.post(Ez,{accountId:e,friendlyName1:n,friendlyName2:r})}getTurnoverAccount(){return this.http.get(wz)}getLoanSchedule(e){let n=new rt().set("accountId",e.toString());return this.http.get(X1,{params:n})}getExistingBundles(){return this.http.get(l3)}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 zd=(()=>{class t{constructor(e){this.http=e}getVatFromSelectedAccount(e){if(!e)return L({});let n=new rt().set("sourceId",e.toString());return this.http.get(xz,{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 ym=(()=>{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 $R=(()=>{class t{constructor(){this.ibanFormatPipe=new qt,this.currencyFormatPipe=new Kt,this.friendlyNamePipe=new Hd}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 Tde(t,i){t&1&&(u(0,"mat-option"),h(1,"--"),c())}function Ide(t,i){if(t&1&&(u(0,"mat-option",6),S(1,"app-source-account-option-item",7),c()),t&2){let e=i.$implicit;g("value",e.accountId),l(),g("account",e)}}function Ade(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.DEFAULT_IS_REQUIRED_TEXT)}}function kde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunek.notObciazalny"])}}function Rde(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 Mde(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 Nde(t,i){if(t&1&&v(0,Rde,4,7,"span")(1,Mde,3,3,"span"),t&2){let e=_(2);y(e.hasVatBalance(e.vatAccountInfo)?0:1)}}function Ode(t,i){if(t&1&&(u(0,"mat-hint"),v(1,Nde,2,1),c()),t&2){let e=_();l(),y(e.shouldDisplayVatAccount(e.vatAccountInfo)?1:-1)}}var Pa=(()=>{class t{constructor(){this.vatAccountInfo=null,this.fieldLabel="Rachunek obci\u0105\u017Cany",this.hasNullOption=!0,this.shouldShowVatAccount=!1,this.searchFC=new mo(""),this.DEFAULT_IS_REQUIRED_TEXT=Po,this.ERRORS=tn,this.filteredAccounts=L([]),this.accountsAsSearchString=[],this.chargeableAccounts=[],this.accountItemPipe=new $R}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===dc.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=A({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,Tde,2,0,"mat-option"),Ue(9,Ide,2,2,"mat-option",6,at),be(11,"async"),c(),u(12,"mat-error"),v(13,Ade,2,1,"span"),v(14,kde,2,1,"span"),c(),v(15,Ode,2,1,"mat-hint"),c()),n&2&&(l(2),x(r.fieldLabel),l(),g("formControl",r.sourceAccountFC),l(2),g("formControl",r.searchFC),l(3),y(r.hasNullOption?8:-1),l(),ze(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,Ye,oa,St,Dk,Qt,Wn,tt,si,Je,Xe,$e,Bt,VR,er,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 Fde(t,i){t&1&&(u(0,"span"),h(1,"Rachunek jest wymagany"),c())}function Pde(t,i){t&1&&(u(0,"span"),h(1,"Niepoprawny numer rachunku"),c())}function Lde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekUs.inactive"])}}function Bde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.empty"])}}function Vde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.maxlength"])}}function jde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.illegal"])}}function Hde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.us_illegal"])}}function Ude(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.zus_old"])}}function zde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.same_rach"])}}function Gde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.notUznawalny"])}}function Wde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.is_clo_so_use_us"])}}function $de(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.is_us_so_use_us"])}}function Yde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.invalid_iban"])}}function qde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.invalid_iban2"])}}function Kde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.notObciazalny"])}}function Xde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.elixir_expired"])}}function Zde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.noVat"])}}function Qde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.wewnetrzny"])}}function Jde(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.krajowy"])}}function eue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.same_vat_rach"])}}function tue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekOdbiorcy.invalid"])}}function nue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["przelew.sorbnet.bps"])}}function iue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["przelew.sorbnet.wlasny"])}}function rue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["sorbnet.dataWykonania.notWorkDay"])}}function oue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.sorbnetOutsideHoursMessage())}}function aue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["sorbnet.dataWykonania.empty"])}}function sue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rachunekProwizji.invalid"])}}function lue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rach.invalid_iban"])}}function cue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rach.invalid_iban2"])}}function due(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["rach.illegal"])}}function uue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["iban.duplicate"])}}var hc=(()=>{class t{constructor(){this.ERRORS=tn,this.sorbnetDeadlineService=m(EE),this.sorbnetOutsideHoursMessage=this.sorbnetDeadlineService.outsideHoursMessage}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-target-account-error"]],inputs:{targetAccount:"targetAccount"},standalone:!1,decls:31,vars:31,template:function(n,r){n&1&&(v(0,Fde,2,0,"span"),v(1,Pde,2,0,"span"),v(2,Lde,2,1,"span"),v(3,Bde,2,1,"span"),v(4,Vde,2,1,"span"),v(5,jde,2,1,"span"),v(6,Hde,2,1,"span"),v(7,Ude,2,1,"span"),v(8,zde,2,1,"span"),v(9,Gde,2,1,"span"),v(10,Wde,2,1,"span"),v(11,$de,2,1,"span"),v(12,Yde,2,1,"span"),v(13,qde,2,1,"span"),v(14,Kde,2,1,"span"),v(15,Xde,2,1,"span"),v(16,Zde,2,1,"span"),v(1
80017,Qde,2,1,"span"),v(18,Jde,2,1,"span"),v(19,eue,2,1,"span"),v(20,tue,2,1,"span"),v(21,nue,2,1,"span"),v(22,iue,2,1,"span"),v(23,rue,2,1,"span"),v(24,oue,2,1,"span"),v(25,aue,2,1,"span"),v(26,sue,2,1,"span"),v(27,lue,2,1,"span"),v(28,cue,2,1,"span"),v(29,due,2,1,"span"),v(30,uue,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 mue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["dataOstatecznejRealizacji.beforeDataWykonania"])}}function pue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["dataOstatecznejRealizacji.maxValue"])}}function hue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["dataOstatecznejRealizacji.ownAccount"])}}function fue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["dataOstatecznejRealizacji.illegal"])}}var Cm=(()=>{class t{constructor(){this.ERRORS=tn}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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,mue,2,1,"span"),v(1,pue,2,1,"span"),v(2,hue,2,1,"span"),v(3,fue,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 gue(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(),x(Fe(2,2,e.accountNumber))}}function _ue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.isRequiredErrorText)}}function bue(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function vue(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(),S(4,"mat-datepicker-toggle",15)(5,"mat-datepicker",null,1),u(7,"mat-error"),S(8,"app-last-execution-data-error",18),v(9,bue,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 yue(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(),S(4,"mat-datepicker-toggle",15)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,_ue,2,1,"span"),c()(),fe(9,vue,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 Cue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.isRequiredErrorText)}}function Due(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),x((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function Eue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.isRequiredErrorText)}}function wue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),x((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function xue(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 Sue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),x((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function Tue(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["text.invalidSubstrings"])}}function Iue(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=Ih,this.INVOICE_NUMBER_MAX_LENGTH=35,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.ERRORS=tn,this.FunctionalAuthority=Ut,this.minDate=Yt(new Date,He),this.personalVatAccounts=[],this.personalVatChargeableAccounts=[],this.validatorUtils=Xt,this.dateUtils=wn,this.ButtonLabels=nt,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(B(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(B(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,gE);break;case Me.EDIT:this.save(e,_E);break;case Me.IMPORT:break}}save(e,n){this.transferenceVatFG.valid?this.acceptTransferService.save(this.getTransferData(),n).pipe(this.errorProviderService.processErrorWithLocalFormError(this),B(()=>{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(B(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=wd.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(zd),E(et),E(Rt))}}static{this.\u0275cmp=A({type:t,selectors:[["app-transference-vat-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},Yo)},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),Ue(11,gue,3,4,"mat-option",4,at),c(),u(13,"mat-error"),S(14,"app-target-account-error",5),c(),u(15,"mat-hint")(16,"span"),h(17),be(18,"ibanFormatPipe"),c()()(),S(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),S(24,"app-amount-input",8),v(25,yue,10,6),c(),u(26,"mat-form-field",2)(27,"mat-label"),h(28,"Identyfikator ( NIP / PESEL )"),c(),S(29,"input",9),u(30,"mat-error"),v(31,Cue,2,1,"span"),v(32,Due,2,1,"span"),c()(),u(33,"mat-form-field",2)(34,"mat-label"),h(35,"Numer faktury"),c(),S(36,"input",9),u(37,"mat-error"),v(38,Eue,2,1,"span"),v(39,wue,2,1,"span"),v(40,xue,2,3,"span"),c()(),u(41,"mat-form-field",2)(42,"mat-label"),h(43,"Dodatkowa tre\u015B\u0107"),c(),S(44,"input",10),u(45,"mat-error"),v(46,Sue,2,1,"span"),v(47,Tue,2,1,"span"),v(48,Iue,2,3,"span"),c()()(),u(49,"app-dialog-section")(50,"app-dialog-section-header"),h(51,"Obci\u0105\u017Cenie"),c(),S(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(),ze(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,Ye,oa,St,Ln,Qt,zi,hi,Ri,tt,si,Mt,Nt,Ot,Cr,Or,Je,Xe,pn,$e,Bt,ym,Pa,Xr,Zr,Tt,hc,Cm,er,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 DG=Si(Kr());var jn=(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})(jn||{});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 Hh=class t{transform(i,e=!1){if(this.checkIfStandingOrderBundle(i))return i?"Aktywne":"Nieaktywne";if(e)switch(i){case jn.COMPLETED:return Ni.COMPLETED;case jn.REJECTED:return Ni.REJECTED;case jn.PARTLY_COMPLETED:return Ni.PARTLY_COMPLETED;case jn.ACCOUNTING:return Ni.ACCOUNTING;case jn.IN_PROGRESS:case jn.SUSPENDED:return Ni.IN_PROGRESS;case jn.AWAITS:return Ni.AWAITS;case jn.NEW:return Ni.NEW;case jn.ACCEPTED:case jn.IN_SIGNING:case jn.SIGNED:return Ni.IN_SIGNING;default:return""}else switch(i){case jn.COMPLETED:return Ni.COMPLETED;case jn.REJECTED:return Ni.REJECTED;case jn.PARTLY_COMPLETED:return Ni.PARTLY_COMPLETED;case jn.ACCOUNTING:return Ni.ACCOUNTING;case jn.IN_PROGRESS:return Ni.IN_PROGRESS;case jn.SUSPENDED:return Ni.SUSPENDED;case jn.AWAITS:return Ni.AWAITS;case jn.NEW:return Ni.NEW;case jn.ACCEPTED:return Ni.ACCEPTED;case jn.IN_SIGNING:return Ni.IN_SIGNING;case jn.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,DG.default)({resolver:(t,i)=>({state:t,useSimplifiedLabels:i})})],Hh.prototype,"transform",null);var fc=(function(t){return t.SHA="SHA",t.OUR="OUR",t.BEN="BEN",t})(fc||{});var EG=(()=>{class t{transform(e){switch(e){case fc.OUR:return"OUR - Zleceniodawca";case fc.BEN:return"BEN - Beneficjent";case fc.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 wG=Si(Kr());var db=(function(t){return t[t.MIXED=0]="MIXED",t[t.RENEWABLE=1]="RENEWABLE",t[t.NON_RENEWABLE=2]="NON_RENEWABLE",t})(db||{});var YE=class t{transform(i){switch(i){case db.MIXED:return"Mieszana";case db.NON_RENEWABLE:return"Nieodnawialna";case db.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,wG.default)()],YE.prototype,"transform",null);var ub=(()=>{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 KR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=q({})}}return t})();var XR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=q({})}}return t})();var SG={done:0,all:0,active:!1,message:""};var TG=(()=>
8001{class t{constructor(){this.progress=SG,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 Rue(t,i){t&1&&S(0,"div",0)}function Mue(t,i){if(t&1&&(u(0,"div",1)(1,"h2"),h(2),c(),S(3,"mat-progress-bar",2),c()),t&2){let e=_();l(2),x(e.progress.message),l(),g("mode",e.progress.all===0?"indeterminate":"determinate")("value",e.progress.done/e.progress.all*100)}}var Nue=(()=>{class t{constructor(e,n){this.progressBarService=e,this.cdRef=n}ngOnInit(){this.subscription=this.progressBarService.getProgressData().pipe(B(e=>{this.progress=e,this.cdRef.detectChanges()})).subscribe()}ngOnDestroy(){this.subscription?.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(E(TG),E(Ee))}}static{this.\u0275cmp=A({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,Rue,1,0,"div",0),v(1,Mue,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 Dm=(()=>{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 ZR=(()=>{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 Pue(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 QR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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),S(1,"span",1),v(2,Pue,3,3,"span",2),c()),n&2&&(g("ngClass",r.itemClass),l(),g("innerHtml",r.cellData,Su),l(),y(r.showNumberOfProps?2:-1))},dependencies:[dr,ZR],encapsulation:2})}}return t})();function Bue(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 JR="collapsed-icon-button",eM=(()=>{class t{constructor(){this.COLLAPSED_ICON_BUTTON_CLASS=JR}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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,Bue,3,2,"button",0),n&2&&y(r.showIconButton?0:-1)},dependencies:[dr,Wn,gr],encapsulation:2})}}return t})();function cwt(t){return t.map(i=>jue(i))}function jue(t){if(Hue(t.accounts)){let e=t.accounts.map(n=>tM(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 Uue(i,e)}}function Hue(t){return t[0]===void 0?!1:"accountId"in t[0]&&t[0].accountId!==void 0}function dwt(t){return"type"in t&&t.type!==void 0}
8001function Uue(t,i){return t.forEach(e=>{let n=zue(e),r=Gue(e),o=tM(n,r);i.children?.push(o)}),i}function zue(t){return t.accounts.find(i=>i.accountNumber===t.accountNumber)}function Gue(t){return t.accounts.filter(i=>i.accountNumber!==t.accountNumber).map(i=>tM(i))}function tM(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 Wue=typeof global=="object"&&global&&global.Object===Object&&global,qE=Wue;var $ue=typeof self=="object"&&self&&self.Object===Object&&self,Yue=qE||$ue||Function("return this")(),$i=Yue;var que=$i.Symbol,La=que;var IG=Object.prototype,Kue=IG.hasOwnProperty,Xue=IG.toString,mb=La?La.toStringTag:void 0;function Zue(t){var i=Kue.call(t,mb),e=t[mb];try{t[mb]=void 0;var n=!0}catch(o){}var r=Xue.call(t);return n&&(i?t[mb]=e:delete t[mb]),r}var AG=Zue;var Que=Object.prototype,Jue=Que.toString;function eme(t){return Jue.call(t)}var kG=eme;var tme="[object Null]",nme="[object Undefined]",RG=La?La.toStringTag:void 0;function ime(t){return t==null?t===void 0?nme:tme:RG&&RG in Object(t)?AG(t):kG(t)}var gc=ime;function rme(t){return t!=null&&typeof t=="object"}var ma=rme;var ome=Array.isArray,_c=ome;function ame(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}var Dl=ame;var sme="[object AsyncFunction]",lme="[object Function]",cme="[object GeneratorFunction]",dme="[object Proxy]";function ume(t){if(!Dl(t))return!1;var i=gc(t);return i==lme||i==cme||i==sme||i==dme}var KE=ume;var mme=$i["__core-js_shared__"],XE=mme;var MG=(function(){var t=/[^.]+$/.exec(XE&&XE.keys&&XE.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function pme(t){return!!MG&&MG in t}var NG=pme;var hme=Function.prototype,fme=hme.toString;function gme(t){if(t!=null){try{return fme.call(t)}catch(i){}try{return t+""}catch(i){}}return""}var bc=gme;var _me=/[\\^$.*+?()[\]{}|]/g,bme=/^\[object .+?Constructor\]$/,vme=Function.prototype,yme=Object.prototype,Cme=vme.toString,Dme=yme.hasOwnProperty,Eme=RegExp("^"+Cme.call(Dme).replace(_me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wme(t){if(!Dl(t)||NG(t))return!1;var i=KE(t)?Eme:bme;return i.test(bc(t))}var OG=wme;function xme(t,i){return t?.[i]}var FG=xme;function Sme(t,i){var e=FG(t,i);return OG(e)?e:void 0}var jo=Sme;var Tme=jo($i,"WeakMap"),ZE=Tme;var PG=Object.create,Ime=(function(){function t(){}return function(i){if(!Dl(i))return{};if(PG)return PG(i);t.prototype=i;var e=new t;return t.prototype=void 0,e}})(),LG=Ime;function Ame(t,i){var e=-1,n=t.length;for(i||(i=Array(n));++e<n;)i[e]=t[e];return i}var BG=Ame;var kme=(function(){try{var t=jo(Object,"defineProperty");return t({},"",{}),t}catch(i){}})(),nM=kme;function Rme(t,i){for(var e=-1,n=t==null?0:t.length;++e<n&&i(t[e],e,t)!==!1;);return t}var VG=Rme;var Mme=9007199254740991,Nme=/^(?:0|[1-9]\d*)$/;function Ome(t,i){var e=typeof t;return i=i??Mme,!!i&&(e=="number"||e!="symbol"&&Nme.test(t))&&t>-1&&t%1==0&&t<i}var jG=Ome;function Fme(t,i,e){i=="__proto__"&&nM?nM(t,i,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[i]=e}var QE=Fme;function Pme(t,i){return t===i||t!==t&&i!==i}var Uh=Pme;var Lme=Object.prototype,Bme=Lme.hasOwnProperty;function Vme(t,i,e){var n=t[i];(!(Bme.call(t,i)&&Uh(n,e))||e===void 0&&!(i in t))&&QE(t,i,e)}var JE=Vme;function jme(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?QE(e,s,d):JE(e,s,d)}return e}var Gd=jme;var Hme=9007199254740991;function Ume(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Hme}var ew=Ume;function zme(t){return t!=null&&ew(t.length)&&!KE(t)}var tw=zme;var Gme=Object.prototype;function Wme(t){var i=t&&t.constructor,e=typeof i=="function"&&i.prototype||Gme;return t===e}var zh=Wme;function $me(t,i){for(var e=-1,n=Array(t);++e<t;)n[e]=i(e);return n}var HG=$me;var Yme="[object Arguments]";function qme(t){return ma(t)&&gc(t)==Yme}var iM=qme;var UG=Object.prototype,Kme=UG.hasOwnProperty,Xme=UG.propertyIsEnumerable,Zme=iM((function(){return arguments})())?iM:function(t){return ma(t)&&Kme.call(t,"callee")&&!Xme.call(t,"callee")},zG=Zme;function Qme(){return!1}var GG=Qme;var YG=typeof exports=="object"&&exports&&!exports.nodeType&&exports,WG=YG&&typeof module=="object"&&module&&!module.nodeType&&module,Jme=WG&&WG.exports===YG,$G=Jme?$i.Buffer:void 0,epe
vendor: 9,868 bytes, line 8001
8001=$G?$G.isBuffer:void 0,tpe=epe||GG,Em=tpe;var npe="[object Arguments]",ipe="[object Array]",rpe="[object Boolean]",ope="[object Date]",ape="[object Error]",spe="[object Function]",lpe="[object Map]",cpe="[object Number]",dpe="[object Object]",upe="[object RegExp]",mpe="[object Set]",ppe="[object String]",hpe="[object WeakMap]",fpe="[object ArrayBuffer]",gpe="[object DataView]",_pe="[object Float32Array]",bpe="[object Float64Array]",vpe="[object Int8Array]",ype="[object Int16Array]",Cpe="[object Int32Array]",Dpe="[object Uint8Array]",Epe="[object Uint8ClampedArray]",wpe="[object Uint16Array]",xpe="[object Uint32Array]",di={};di[_pe]=di[bpe]=di[vpe]=di[ype]=di[Cpe]=di[Dpe]=di[Epe]=di[wpe]=di[xpe]=!0;di[npe]=di[ipe]=di[fpe]=di[rpe]=di[gpe]=di[ope]=di[ape]=di[spe]=di[lpe]=di[cpe]=di[dpe]=di[upe]=di[mpe]=di[ppe]=di[hpe]=!1;function Spe(t){return ma(t)&&ew(t.length)&&!!di[gc(t)]}var qG=Spe;function Tpe(t){return function(i){return t(i)}}var Gh=Tpe;var KG=typeof exports=="object"&&exports&&!exports.nodeType&&exports,pb=KG&&typeof module=="object"&&module&&!module.nodeType&&module,Ipe=pb&&pb.exports===KG,rM=Ipe&&qE.process,Ape=(function(){try{var t=pb&&pb.require&&pb.require("util").types;return t||rM&&rM.binding&&rM.binding("util")}catch(i){}})(),vc=Ape;var XG=vc&&vc.isTypedArray,kpe=XG?Gh(XG):qG,nw=kpe;var Rpe=Object.prototype,Mpe=Rpe.hasOwnProperty;function Npe(t,i){var e=_c(t),n=!e&&zG(t),r=!e&&!n&&Em(t),o=!e&&!n&&!r&&nw(t),a=e||n||r||o,s=a?HG(t.length,String):[],d=s.length;for(var p in t)(i||Mpe.call(t,p))&&!(a&&(p=="length"||r&&(p=="offset"||p=="parent")||o&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||jG(p,d)))&&s.push(p);return s}var iw=Npe;function Ope(t,i){return function(e){return t(i(e))}}var rw=Ope;var Fpe=rw(Object.keys,Object),ZG=Fpe;var Ppe=Object.prototype,Lpe=Ppe.hasOwnProperty;function Bpe(t){if(!zh(t))return ZG(t);var i=[];for(var e in Object(t))Lpe.call(t,e)&&e!="constructor"&&i.push(e);return i}var QG=Bpe;function Vpe(t){return tw(t)?iw(t):QG(t)}var Wh=Vpe;function jpe(t){var i=[];if(t!=null)for(var e in Object(t))i.push(e);return i}var JG=jpe;var Hpe=Object.prototype,Upe=Hpe.hasOwnProperty;function zpe(t){if(!Dl(t))return JG(t);var i=zh(t),e=[];for(var n in t)n=="constructor"&&(i||!Upe.call(t,n))||e.push(n);return e}var e4=zpe;function Gpe(t){return tw(t)?iw(t,!0):e4(t)}var $h=Gpe;var Wpe=jo(Object,"create"),yc=Wpe;function $pe(){this.__data__=yc?yc(null):{},this.size=0}var t4=$pe;function Ype(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}var n4=Ype;var qpe="__lodash_hash_undefined__",Kpe=Object.prototype,Xpe=Kpe.hasOwnProperty;function Zpe(t){var i=this.__data__;if(yc){var e=i[t];return e===qpe?void 0:e}return Xpe.call(i,t)?i[t]:void 0}var i4=Zpe;var Qpe=Object.prototype,Jpe=Qpe.hasOwnProperty;function ehe(t){var i=this.__data__;return yc?i[t]!==void 0:Jpe.call(i,t)}var r4=ehe;var the="__lodash_hash_undefined__";function nhe(t,i){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=yc&&i===void 0?the:i,this}var o4=nhe;function Yh(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])}}Yh.prototype.clear=t4;Yh.prototype.delete=n4;Yh.prototype.get=i4;Yh.prototype.has=r4;Yh.prototype.set=o4;var oM=Yh;function ihe(){this.__data__=[],this.size=0}var a4=ihe;function rhe(t,i){for(var e=t.length;e--;)if(Uh(t[e][0],i))return e;return-1}var Wd=rhe;var ohe=Array.prototype,ahe=ohe.splice;function she(t){var i=this.__data__,e=Wd(i,t);if(e<0)return!1;var n=i.length-1;return e==n?i.pop():ahe.call(i,e,1),--this.size,!0}var s4=she;function lhe(t){var i=this.__data__,e=Wd(i,t);return e<0?void 0:i[e][1]}var l4=lhe;function che(t){return Wd(this.__data__,t)>-1}var c4=che;function dhe(t,i){var e=this.__data__,n=Wd(e,t);return n<0?(++this.size,e.push([t,i])):e[n][1]=i,this}var d4=dhe;function qh(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])}}qh.prototype.clear=a4;qh.prototype.delete=s4;qh.prototype.get=l4;qh.prototype.has=c4;qh.prototype.set=d4;var $d=qh;var uhe=jo($i,"Map"),Yd=uhe;function mhe(){this.size=0,this.__data__={hash:new oM,map:new(Yd||$d),string:new oM}}var u4=mhe;function phe(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}var m4=phe;function hhe(t,i){var e=t.__data__;return m4(i)?e[typeof i=="string"?"string":"hash"]:e.map}var qd=hhe;function fhe(t){var i=qd(this,t).delete(t);return this.size-=i?1:0,i}var p4=fhe;function ghe(t){return qd(this,t).get(t)}var h4=ghe;function _he(t){return qd(this,t).has(t)}var f4=_he;function bhe(t,i){var e=qd(this,t),n=e.size;return e.set(t,i),this.size+=e.size==n?0:1,this}var g4=bhe;function Kh(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])}}Kh.prototype.clear=u4;Kh.prototype.delete=p4;Kh.prototype.get=h4;Kh.prototype.has=f4;Kh.prototype.set=g4;var ow=Kh;function vhe(t,i){for(var e=-1,n=i.length,r=t.length;++e<n;)t[r+e]=i[e];return t}var aw=vhe;var yhe=rw(Object.getPrototypeOf,Object),sw=yhe;function Che(){this.__data__=new $d,this.size=0}var _4=Che;function Dhe(t){var i=this.__data__,e=i.delete(t);return this.size=i.size,e}var b4=Dhe;function Ehe(t){return this.__data__.get(t)}var v4=Ehe;function whe(t){return this.__data__.has(t)}var y4=whe;var xhe=200;function She(t,i){var e=this.__data__;if(e instanceof $d){var n=e.__data__;if(!Yd||n.length<xhe-1)return n.push([t,i]),this.size=++e.size,this;e=this.__data__=new ow(n)}return e.set(t,i),this.size=e.size,this}var C4=She;function Xh(t){var i=this.__data__=new $d(t);this.size=i.size}Xh.prototype.clear=_4;Xh.prototype.delete=b4;Xh.prototype.get=v4;Xh.prototype.has=y4;Xh.prototype.set=C4;var Zh=Xh;function The(t,i){return t&&Gd(i,Wh(i),t)}var D4=The;function Ihe(t,i){return t&&Gd(i,$h(i),t)}var E4=Ihe;var T4=typeof exports=="object"&&exports&&!exports.nodeType&&exports,w4=T4&&typeof module=="object"&&module&&!module.nodeType&&module,Ahe=w4&&w4.exports===T4,x4=Ahe?$i.Buffer:void 0,S4=x4?x4.allocUnsafe:void 0;function khe(t,i){if(i)return t.slice();var e=t.length,n=S4?S4(e):new t.constructor(e);return t.copy(n),n}var I4=khe;function Rhe(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 A4=Rhe;function Mhe(){return[]}var lw=Mhe;var Nhe=Object.prototype,Ohe=Nhe.propertyIsEnumerable,k4=Object.getOwnPropertySymbols,Fhe=k4?function(t){return t==null?[]:(t=Object(t),A4(k4(t),function(i){return Ohe.call(t,i)}))}:lw,Qh=Fhe;function Phe(t,i){return Gd(t,Qh(t),i)}var R4=Phe;var Lhe=Object.getOwnPropertySymbols,Bhe=Lhe?function(t){for(var i=[];t;)aw(i,Qh(t)),t=sw(t);return i}:lw,cw=Bhe;function Vhe(t,i){return Gd(t,cw(t),i)}var M4=Vhe;function jhe(t,i,e){var n=i(t);return _c(t)?n:aw(n,e(t))}var dw=jhe;function Hhe(t){return dw(t,Wh,Qh)}var hb=Hhe;function Uhe(t){return dw(t,$h,cw)}var N4=Uhe;var zhe=jo($i,"DataView"),uw=zhe;var Ghe=jo($i,"Promise"),mw=Ghe;var Whe=jo($i,"Set"),pw=Whe;var O4="[object Map]",$he="[object Object]",F4="[object Promise]",P4="[object Set]",L4="[object WeakMap]",B4="[object DataView]",Yhe=bc(uw),qhe=bc(Yd),Khe=bc(mw),Xhe=bc(pw),Zhe=bc(ZE),wm=gc;(uw&&wm(new uw(new ArrayBuffer(1)))!=B4||Yd&&wm(new Yd)!=O4||mw&&wm(mw.resolve())!=F4||pw&&wm(new pw)!=P4||ZE&&wm(new ZE)!=L4)&&(wm=function(t){var i=gc(t),e=i==$he?t.constructor:void 0,n=e?bc(e):"";if(n)switch(n){case Yhe:return B4;case qhe:return O4;case Khe:return F4;case Xhe:return P4;case Zhe:return L4}return i});var Cc=wm;var Qhe=Object.prototype,Jhe=Qhe.hasOwnProperty;function efe(t){var i=t.length,e=new t.constructor(i);return i&&typeof t[0]=="string"&&Jhe.call(t,"index")&&(e.index=t.index,e.input=t.input),e}var V4=efe;var tfe=$i.Uint8Array,Jh=tfe;function nfe(t){var i=new t.constructor(t.byteLength);return new Jh(i).set(new Jh(t)),i}var ef=nfe;function ife(t,i){var e=i?ef(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}var j4=ife;var rfe=/\w*$/;function ofe(t){var i=new t.constructor(t.source,rfe.exec(t));return i.lastIndex=t.lastIndex,i}var H4=ofe;var U4=La?La.prototype:void 0,z4=U4?U4.valueOf:void 0;function afe(t){return z4?Object(z4.call(t)):{}}var G4=afe;function sfe(t,i){var e=i?ef(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}var W4=sfe;var lfe="[object Boolean]",cfe="[object Date]",dfe="[object Map]",ufe="[object Number]",mfe="[object RegExp]",pfe="[object Set]",hfe="[object String]",ffe="[object Symbol]",gfe="[object ArrayBuffer]",_fe="[object DataView]",bfe="[object Float32Array]",vfe="[object Float64Array]",yfe="[object Int8Array]",Cfe="[object Int16Array]",Dfe="[object Int32Array]",Efe="[object Uint8Array]",wfe="[object Uint8ClampedArray]",xfe="[object Uint16Array]",Sfe="[object Uint32Array]";function Tfe(t,i,e){var n=t.constructor;switch(i){case gfe:return ef(t);case lfe:case cfe:return new n(+t);case _fe:return j4(t,e);case bfe:case vfe:case yfe:case Cfe:case Dfe:case Efe:case wfe:case xfe:case Sfe:return W4(t,e);case dfe:return new n;case ufe:case hfe:return new n(t);case mfe:return H4(t);case pfe:return new n;case ffe:return G4(t)}}var $4=Tfe;function Ife(t){return typeof t.constructor=="function"&&!zh(t)?LG(sw(t)):{}}var Y4=Ife;var Afe="[object Map]";function kfe(t){return ma(t)&&Cc(t)==Afe}var q4=kfe;var K4=vc&&vc.isMap,Rfe=K4?Gh(K4):q4,X4=Rfe;var Mfe="[object Set]";function Nfe(t){return ma(t)&&Cc(t)==Mfe}var Z4=Nfe;var Q4=vc&&vc.isSet,Ofe=Q4?Gh(Q4):Z4,J4=Ofe;var Ffe=1,Pfe=2,Lfe=4,e5="[object Arguments]",Bfe="[object Array]",Vfe="[object Boolean]",jfe="[object Date]",Hfe="[object Error]",t5="[object Function]",Ufe="[object GeneratorFunction]",zfe="[object Map]",Gfe="[object Number]",n5="[object Object]",Wfe="[object RegExp]",$fe="[object Set]",Yfe="[object String]",qfe="[object Symbol]",Kfe="[object WeakMap]",Xfe="[object ArrayBuffer]",Zfe="[object DataView]",Qfe="[object Float32Array]",Jfe="[object Float64Array
8001]",ege="[object Int8Array]",tge="[object Int16Array]",nge="[object Int32Array]",ige="[object Uint8Array]",rge="[object Uint8ClampedArray]",oge="[object Uint16Array]",age="[object Uint32Array]",ti={};ti[e5]=ti[Bfe]=ti[Xfe]=ti[Zfe]=ti[Vfe]=ti[jfe]=ti[Qfe]=ti[Jfe]=ti[ege]=ti[tge]=ti[nge]=ti[zfe]=ti[Gfe]=ti[n5]=ti[Wfe]=ti[$fe]=ti[Yfe]=ti[qfe]=ti[ige]=ti[rge]=ti[oge]=ti[age]=!0;ti[Hfe]=ti[t5]=ti[Kfe]=!1;function hw(t,i,e,n,r,o){var a,s=i&Ffe,d=i&Pfe,p=i&Lfe;if(e&&(a=r?e(t,n,r,o):e(t)),a!==void 0)return a;if(!Dl(t))return t;var f=_c(t);if(f){if(a=V4(t),!s)return BG(t,a)}else{var b=Cc(t),w=b==t5||b==Ufe;if(Em(t))return I4(t,s);if(b==n5||b==e5||w&&!r){if(a=d||w?{}:Y4(t),!s)return d?M4(t,E4(a,t)):R4(t,D4(a,t))}else{if(!ti[b])return r?t:{};a=$4(t,b,s)}}o||(o=new Zh);var k=o.get(t);if(k)return k;o.set(t,a),J4(t)?t.forEach(function(j){a.add(hw(j,i,e,j,t,o))}):X4(t)&&t.forEach(function(j,K){a.set(K,hw(j,i,e,K,t,o))});var M=p?d?N4:hb:d?$h:Wh,J=f?void 0:M(t);return VG(J||t,function(j,K){J&&(K=j,j=t[K]),JE(a,K,hw(j,i,e,K,t,o))}),a}var i5=hw;var sge=1,lge=4;function cge(t){return i5(t,sge|lge)}var dge=cge;var uge="__lodash_hash_undefined__";function mge(t){return this.__data__.set(t,uge),this}var r5=mge;function pge(t){return this.__data__.has(t)}var o5=pge;function fw(t){var i=-1,e=t==null?0:t.length;for(this.__data__=new ow;++i<e;)this.add(t[i])}fw.prototype.add=fw.prototype.push=r5;fw.prototype.has=o5;var a5=fw;function hge(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 s5=hge;function fge(t,i){return t.has(i)}var l5=fge;var gge=1,_ge=2;function bge(t,i,e,n,r,o){var a=e&gge,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,k=e&_ge?new a5: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(k){if(!s5(i,function(K,Te){if(!l5(k,Te)&&(M===K||r(M,K,e,n,o)))return k.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 gw=bge;function vge(t){var i=-1,e=Array(t.size);return t.forEach(function(n,r){e[++i]=[r,n]}),e}var c5=vge;function yge(t){var i=-1,e=Array(t.size);return t.forEach(function(n){e[++i]=n}),e}var d5=yge;var Cge=1,Dge=2,Ege="[object Boolean]",wge="[object Date]",xge="[object Error]",Sge="[object Map]",Tge="[object Number]",Ige="[object RegExp]",Age="[object Set]",kge="[object String]",Rge="[object Symbol]",Mge="[object ArrayBuffer]",Nge="[object DataView]",u5=La?La.prototype:void 0,aM=u5?u5.valueOf:void 0;function Oge(t,i,e,n,r,o,a){switch(e){case Nge:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Mge:return!(t.byteLength!=i.byteLength||!o(new Jh(t),new Jh(i)));case Ege:case wge:case Tge:return Uh(+t,+i);case xge:return t.name==i.name&&t.message==i.message;case Ige:case kge:return t==i+"";case Sge:var s=c5;case Age:var d=n&Cge;if(s||(s=d5),t.size!=i.size&&!d)return!1;var p=a.get(t);if(p)return p==i;n|=Dge,a.set(t,i);var f=gw(s(t),s(i),n,r,o,a);return a.delete(t),f;case Rge:if(aM)return aM.call(t)==aM.call(i)}return!1}var m5=Oge;var Fge=1,Pge=Object.prototype,Lge=Pge.hasOwnProperty;function Bge(t,i,e,n,r,o){var a=e&Fge,s=hb(t),d=s.length,p=hb(i),f=p.length;if(d!=f&&!a)return!1;for(var b=d;b--;){var w=s[b];if(!(a?w in i:Lge.call(i,w)))return!1}var k=o.get(t),M=o.get(i);if(k&&M)return k==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 nn=a?n(Te,K,w,i,t,o):n(K,Te,w,t,i,o);if(!(nn===void 0?K===Te||r(K,Te,e,n,o):nn)){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 p5=Bge;var Vge=1,h5="[object Arguments]",f5="[object Array]",_w="[object Object]",jge=Object.prototype,g5=jge.hasOwnProperty;function Hge(t,i,e,n,r,o){var a=_c(t),s=_c(i),d=a?f5:Cc(t),p=s?f5:Cc(i);d=d==h5?_w:d,p=p==h5?_w:p;var f=d==_w,b=p==_w,w=d==p;if(w&&Em(t)){if(!Em(i))return!1;a=!0,f=!1}if(w&&!f)return o||(o=new Zh),a||nw(t)?gw(t,i,e,n,r,o):m5(t,i,d,e,n,r,o);if(!(e&Vge)){var k=f&&g5.call(t,"__wrapped__"),M=b&&g5.call(i,"__wrapped__");
8001if(k||M){var J=k?t.value():t,j=M?i.value():i;return o||(o=new Zh),r(J,j,e,n,o)}}return w?(o||(o=new Zh),p5(t,i,e,n,r,o)):!1}var _5=Hge;function b5(t,i,e,n,r){return t===i?!0:t==null||i==null||!ma(t)&&!ma(i)?t!==t&&i!==i:_5(t,i,e,n,b5,r)}var v5=b5;function Uge(t,i){return v5(t,i)}var fb=Uge;var bw=(()=>{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(B(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=>fb(s,a))&&r.push(e.data.findIndex(s=>fb(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=>fb(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 Gge(t,i){if(t&1&&(u(0,"mat-icon"),h(1),c()),t&2){let e=_();Be(Hl("",e.hasProp?"colored-bundle-mat-icon":"colored-mat-icon"," material-icons-outlined")),l(),se(" ",e.hasProp?"folder_outline":"insert_drive_file_outline"," ")}}var sM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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,Gge,2,4,"mat-icon",0),n&2&&y(r.showIcon?0:-1)},dependencies:[Wn],encapsulation:2})}}return t})();var y5=Si(Kr());var tf=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 Dm().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,y5.default)()],tf.prototype,"transform",null);var lM=(()=>{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 cM=(()=>{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 lM().transform(o,e);return new Dm().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 dM=(()=>{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 uM=(()=>{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&&cD(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 C5=Si(Kr());var nf=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,C5.default)()],nf.prototype,"transform",null);var Zge=["emptyItemForDragAndDrop"],Qge=["matHeaderRow"];function Jge(t,i){if(t&1&&(u(0,"mat-header-cell",8),be(1,"styleProperties"),h(2),c()),t&2){let e=_().$implicit;k0(Fe(1,6,e.styleProperties)),Be(e.headerClass||"x-center"),g("disabled",!!e.disableSortHeader),l(2),se("",e.caption," ")}}function e_e(t,i){if(t&1&&(u(0,"mat-cell",9),be(1,"styleProperties"),be(2,"matCellNgClass"),S(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=_();k0(Fe(1,13,n.styleProperties)),Be(n.cellClass||"x-center"),g("ngClass",iI(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",wr(6,20,e,n))("itemClass",wr(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 t_e(t,i){if(t&1&&(Cn(0,3),fe(1,Jge,3,8,"mat-header-cell",6)(2,e_e,8,26,"mat-cell",7),Dn()),t&2){let e=i.$implicit;g("matColumnDef",ri(e.column))}}function n_e(t,i){if(t&1&&S(0,"mat-header-row"),t&2){let e=_();Be(Hl("",e.tableProperties.headerRowClass||"default-sticky"," sticky-header"))}}function i_e(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",dp(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 r_e=(()=>{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 Na,this.displayedColumns=[],this.firstColumn="",this.resultsLength=0,this.arrayHoldingProp="",this.arrayHoldingPropCount="",this.excludeRowsBy="",this.matSortDirection="",this.selection=new pr(!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(JR)}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(bw),E(Ee))}}static{this.\u0275cmp=A({type:t,selectors:[["app-sn-mat-tree-table"],["sn-mat-tree-table"]],viewQuery:function(n,r){if(n&1&&ve(Zge,5)(Qge,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)},Yo)},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)}),Ue(2,t_e,3,2,"ng-container",3,at),fe(4,n_e,1,3,"mat-header-row",4)(5,i_e,2,8,"mat-row",5),c()(),S(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(),ze(r.tableProperties.columnSettings),l(2),g("matHeaderRowDef",r.displayedColumns),l(),g("matRowDefColumns",r.displayedColumns))},dependencies:[dr,el,nl,al,il,tl,sl,rl,ol,ll,cl,kr,Js,QR,sM,eM,tf,cM,dM,uM,nf],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 o_e=[Xc,N_,T_,M_,Ar],a_e=[bw],mM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=q({providers:[a_e],imports:[o_e]})}}return t})();var s_e=["*"];function l_e(t,i){if(t&1&&(u(0,"mat-icon"),h(1),c()),t&2){let e=_();l(),x(e.icon)}}var D5=(()=>{class t{constructor(){this.mainButtonName="",this.loading=!1,this.disabled=!1}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-button-menu"]],inputs:{themeType:"themeType",mainButtonName:"mainButtonName",loading:"loading",icon:"icon",disabled:"disabled"},standalone:!1,ngContentSelectors:s_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,l_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:[Bn,Wn,Qs,bd,lc],encapsulation:2})}}return t})();var pM=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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:[gr,nh,Wn],styles:[".close-button[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}"]})}}return t})();var d_e=["*"],u_e=(t,i,e,n)=>({classic:t,"classic-font-colored":i,"colored-background":e,"colored-background-thick":n});function m_e(t,i){if(t&1&&(u(0,"mat-icon",1),h(1),c()),t&2){let e=_();l(),x(e.icon)}}var p_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=A({type:t,selectors:[["app-select-button"]],inputs:{themeType:"themeType",disabled:"disabled",loading:"loading",thick:"thick",icon:"icon"},outputs:{clickAction:"clickAction"},standalone:!1,ngContentSelectors:d_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,m_e,2,1,"mat-icon",1),re(2),c()),n&2&&(g("disabled",r.disabled)("loading",r.loading)("color",r.themeType)("ngClass",nI(5,u_e,r.themeType==="primary",r.themeType==="accent",r.themeType==="warn",r.themeType==="warn"&&r.thick)),l(),y(r.icon?1:-1))},dependencies:[Bn,Wn,dr,lc],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 h_e(t,i){if(t&1&&(u(0,"mat-label",1),h(1),c()),t&2){let e=_();l(),se("",e.labelName,":")}}function f_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 g_e=(()=>{class t{constructor(){this.checkboxes=[]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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,h_e,2,1,"mat-label",1),Ue(2,f_e,2,2,"mat-checkbox",2,at),c()),n&2&&(l(),y(r.labelName?1:-1),l(),ze(r.checkboxes))},dependencies:[Ye,rr,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 Dc=(function(t){return t.CREATE_CHECKBOX="createContractorFC",t.SHORT_NAME="contractorShortNameFC",t.FOR_CURRENT_LOGIN_ONLY_CHECKBOX="contractorOnlyForLoginFC",t})(Dc||{});var Kd=(()=>{class t{constructor(e,n,r,o){this.contractorService=e,this.parameterService=n,this.transferService=r,this.contractorSaveUpdateService=o,this.SHORT_NAME=Dc.SHORT_NAME,this.ONLY_FOR_LOGIN=Dc.FOR_CURRENT_LOGIN_ONLY_CHECKBOX,this.CREATE=Dc.CREATE_CHECKBOX,this.getParameters()}validateContractorExistence(e,n){return this.checkIfContractorExists(e,n).pipe(W(r=>r?L(!1):this.transferService.openDialogPromptAboutAddingNewContractor()),B(r=>{r&&this.enableContractorInput(n)}))}saveContractor(e,n,r){if(!this.getContractorFC(r,this.CREATE)?.value)return L(!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(Dt.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):L(!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},pc.from(e.idNipPesel)?.toContractorFields());return n===dt.FOREIGN_TRANSFER&&this.setForeignTransferData(o,e),o}static{this.\u0275fac=function(n){return new(n||t)(F(yr),F(qr),F(Bo),F(kh))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function __e(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.contractorShortNameErrorMessage())}}var vw=(()=>{class t{constructor(e,n){this.userFacadeService=e,this.contractorTransferSaveService=n,this.contractorsApiService=m(lE),this.contractorShortNameErrorMessage=Z(""),this.destroyRef=m(un),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),mt(this.contractorShortNameFC.statusChanges,this.contractorShortNameFC.valueChanges).pipe(fn()).subscribe(()=>this.updateContractorShortNameErrorMessage())}updateContractorShortNameErrorMessage(){this.contractorShortNameFC.hasError("required")?this.contractorShortNameErrorMessage.set("Skr\xF3t nazwy kontrahenta jest wymagany"):this.contractorShortNameFC.hasError("email")?this.contractorShortNameErrorMessage.set(Th):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(fn(this.destroyRef),kl(1),fi(500),It(),W(e=>this.contractorsApiService.existsBy(e)),ae(e=>e),B(()=>{this.contractorShortNameFC.setErrors({exists:!0})})).subscribe()}initForm(){this.contractorShortNameFC.disable(),this.contractorOnlyForLoginFC.disable(),this.contractorFG.setControl(Dc.CREATE_CHECKBOX,this.createContractorFC),this.contractorFG.setControl(Dc.SHORT_NAME,this.contractorShortNameFC),this.contractorFG.setControl(Dc.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(Kd))}}static{this.\u0275cmp=A({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(),S(6,"input",3),v(7,__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,Ye,St,GC,rr,tt,Je,Xe,pn,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 b_e(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.targetAccountFC.getError("invalidIban"))}}function v_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Niepoprawny numer rachunku"),c())}function y_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 C_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Nieprawid\u0142owa d\u0142ugo\u015B\u0107 IBANu dla wybranego kraju"),c())}
8003function D_e(t,i){t&1&&(u(0,"mat-error"),h(1,"Kraj IBANu nie odpowiada kodowi BIC"),c())}function E_e(t,i){if(t&1&&(u(0,"span",4),h(1),c()),t&2){let e=_();l(),se(" ",e.TARGET_ACCOUNT_PASTED)}}var rf=(()=>{class t{constructor(){this.bankName="",this.buttonClickAction=new V,this.TARGET_ACCOUNT_PASTED=iE,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=A({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,b_e,2,1,"mat-error"),v(6,v_e,2,0,"mat-error"),v(7,y_e,2,0,"mat-error"),v(8,C_e,2,0,"mat-error"),v(9,D_e,2,0,"mat-error"),u(10,"mat-error"),S(11,"app-target-account-error",3),c(),u(12,"mat-hint"),v(13,E_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,Ye,oa,St,Bn,tt,Je,Xe,pn,Bi,$e,Bt,hc],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 x_e(t,i){t&1&&(u(0,"span"),h(1,"Pole nie mo\u017Ce by\u0107 puste"),c())}var S_e=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.minDate=new Date,this.dateFormat=He,this.details=[],this.ButtonLabels=nt,this.newExecutionDateFC=new z}ngOnInit(){this.newExecutionDateFC.setValue(Yt(new Date,He)),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(et))}}static{this.\u0275cmp=A({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(),S(9,"input",4)(10,"mat-datepicker-toggle",5)(11,"mat-datepicker",6,0),u(13,"mat-error"),v(14,x_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),x(r.data.title),l(3),x(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,Ye,St,Ln,zi,hi,Ri,tt,Mt,Nt,Ot,Je,Xe,pn,$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 T_e=t=>({"basic-table-row-highlight":t});function I_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Skr\xF3t nazwy"),c())}function A_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),x(e.shortName)}}function k_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Nazwa"),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),x(e.name1)}}function M_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Rachunek"),c())}function N_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),x(Fe(4,5,e.targetAccount))}}function O_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Typ kontrahenta"),c())}function F_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),x(Fe(3,1,e.type))}}function P_e(t,i){t&1&&(u(0,"mat-header-cell",36),h(1," Grupa"),c())}function L_e(t,i){if(t&1&&(u(0,"mat-cell")(1,"span"),h(2),c()()),t&2){let e=i.$implicit;l(2),x(e.group)}}function B_e(t,i){t&1&&S(0,"mat-header-row",38)}function V_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",co(1,T_e,n.selection.selected.includes(e)))}}var Ba=(()=>{class t extends GR{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(yr),E(wi),E(Vi),E(Le),E(lt),E(Ze),E(Oa),E(Yr),E(et))}}static{this.\u0275cmp=A({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(),S(14,"input",4),c(),u(15,"mat-form-field",3)(16,"mat-label"),h(17,"Pe\u0142na nazwa"),c(),S(18,"input",5),c(),u(19,"mat-form-field",3)(20,"mat-label"),h(21,"Grupa"),c(),S(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()(),S(63,"mat-paginator",18),u(64,"div",19)(65,"div",20)(66,"mat-table",21),Cn(67,22),fe(68,I_e,2,0,"mat-header-cell",23)(69,A_e,3,1,"mat-cell",24),Dn(),Cn(70,25),fe(71,k_e,2,0,"mat-header-cell",23)(72,R_e,3,1,"mat-cell",24),Dn(),Cn(73,26),fe(74,M_e,2,0,"mat-header-cell",23)(75,N_e,5,7,"mat-cell",27),Dn(),Cn(76,28),fe(77,O_e,2,0,"mat-header-cell",23)(78,F_e,4,3,"mat-cell",24),Dn(),Cn(79,29),fe(80,P_e,2,0,"mat-header-cell",23)(81,L_e,3,1,"mat-cell",24),Dn(),fe(82,B_e,1,0,"mat-header-row",30)(83,V_e,1,3,"mat-row",31),c()(),u(84,"div",32)(85,"mat-expansion-panel",33)(86,"mat-expansion-panel-header"),h(87),c(),S(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),x(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 j_e=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.chosenDateFC=new mo(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(et))}}static{this.\u0275cmp=A({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(),S(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),x(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,Ye,Ln,zi,hi,Ri,tt,Mt,Nt,Ot,Je,Xe,$e,Bt,Tt],encapsulation:2})}}return t})();function H_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(" ",wr(2,2,e,n.dateFormat)," ")}}function U_e(t,i){t&1&&(u(0,"span"),h(1,"Wybierz dat\u0119"),c())}var z_e=(()=>{class t{constructor(e,n,r){this.dialogRef=e,this.notificationService=n,this.data=r,this.availableDates=[],this.dateFormat=He,this.ButtonLabels=nt,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(et))}}static{this.\u0275cmp=A({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),Ue(6,H_e,3,5,"mat-option",2,at),u(8,"mat-error"),v(9,U_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(),ze(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,fm,Tt,mn],styles:[".available-date-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();function G_e(t,i){t&1&&(u(0,"span"),h(1,":"),c())}function W_e(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"dynamicPipe"),c()),t&2){let e=_();Be(Hl("value ",e.cell.cellContent.class)),l(),se(" ",e.cell.pipeToken?dp(2,4,e.cell.cellContent.value,e.cell.pipeToken,e.cell.pipeArgs):e.cell.cellContent.value," ")}}function $_e(t,i){if(t&1&&(u(0,"span"),h(1),be(2,"dynamicPipe"),c()),t&2){let e=_().$implicit,n=_(2);Be(Hl("value ",n.cell.cellContent.class)),l(),se(" ",n.cell.pipeToken?dp(2,4,e,n.cell.pipeToken,n.cell.pipeArgs):e," ")}}function Y_e(t,i){if(t&1&&(u(0,"div"),h(1),c()),t&2){let e=_().$implicit,n=_(2);
8003Be(Hl("value-additions ",n.cell.cellContent.class)),l(),se(" ",e," ")}}function q_e(t,i){if(t&1&&(v(0,$_e,3,8,"span",1),v(1,Y_e,2,4,"div",1)),t&2){let e=i.$index;y(e===0?0:-1),l(),y(e!==0?1:-1)}}function K_e(t,i){if(t&1&&(u(0,"div",2),Ue(1,q_e,2,2,null,null,at),c()),t&2){let e=_();l(),ze(e.cell.cellContent.value)}}var fM=(()=>{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=A({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,G_e,2,0,"span"),c(),v(3,W_e,3,8,"span",1),v(4,K_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:[Dm],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 Z_e(t,i){if(t&1&&S(0,"app-details-row-cell",1),t&2){let e=_();g("cell",e.leftCell)}}function Q_e(t,i){if(t&1&&S(0,"app-details-row-cell",1),t&2){let e=_();g("cell",e.rightCell)}}var gM=(()=>{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=A({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,Z_e,1,1,"app-details-row-cell",1),v(2,Q_e,1,1,"app-details-row-cell",1),c()),n&2&&(l(),y(r.leftCell?1:-1),l(),y(r.rightCell?2:-1))},dependencies:[fM],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 ebe(t,i){if(t&1&&S(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 tbe(t,i){if(t&1&&(u(0,"div",0),Ue(1,ebe,1,3,"app-details-row",2,at),c()),t&2){let e=_();l(),ze(e.details.rows)}}function nbe(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),x(e.currency),l(2),x(Fe(5,3,e.currentBalance)),l(3),x(Fe(8,5,e.availableFunds))}}function ibe(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()(),Ue(12,nbe,9,7,"div",8,at),c()()),t&2){let e=_();l(12),ze(e.dataSourceSummary)}}var yw=(()=>{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=A({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,tbe,3,0,"div",0),v(1,ibe,14,0,"div",1)),n&2&&(y(r.areDetailsVisible?0:-1),l(),y(r.isSummaryVisible?1:-1))},dependencies:[gM,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 obe=(()=>{class t{constructor(e,n){this.dialogRef=e,this.data=n,this.details=new bm,this.okConfirmation=nt.CONFIRM,this.noConfirmation=nt.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(et))}}static{this.\u0275cmp=A({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"),S(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,yw],encapsulation:2})}}return t})();
8003var _M=(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})(_M||{});var E5=["P0","P1","CS","ES","HS"],abe=["53","51","71","74"],xm=class{static isCorrectType(i,e){return abe.includes(i)||E5.includes(e)}static getTransferType(i){return E5.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 of=(function(t){return t.TI="TI",t.OKR="OKR",t.SFP="SFP",t.TXT="TXT",t})(of||{});var af=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 of.TI:i.identifier=this.getIdentifier(e[r+1]);break;case of.OKR:i.period=this.getPeriod(e[r+1]);break;case of.SFP:i.sfp=e[r+1];break;case of.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 w5=(()=>{class t{constructor(e,n,r){this.http=e,this.fileService=n,this.notificationService=r}openDuplicatesFile(e,n,r){this.notificationService.default(Ge.DATA_DOWNLOADING);let o=this.getParams(n,r);this.http.get(e,{params:o,responseType:vo}).pipe(this.fileService.open(Ma.PDF)).subscribe()}saveDuplicatesFile(e,n,r){this.notificationService.default(Ge.DATA_DOWNLOADING);let o=this.getParams(n,r);this.http.get(e,{params:o,responseType:vo}).pipe(this.fileService.save(`wtorniki-hist-${wn.getTodayWithTime()}`,Ma.PDF)).subscribe()}getParams(e,n){return new rt().set("accountId",e).set("operationList",n.toString())}static{this.\u0275fac=function(n){return new(n||t)(F(ge),F(Id),F(Le))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var x5=(()=>{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 S5=(()=>{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+K1,n)}sendIban(e){this.ibanToShare.next(e)}getIban(){return this.ibanToShare$}getSingleTransfer(e,n,r){let o=new rt().set("accountId",r).set("operationId",n);return this.http.get(e,{params:o}).pipe($(a=>Cl.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 Va=class extends Jt{constructor(i=""){super(),this.data={appearance:"dialog",isDialog:!0,message:i},this.panelClass=ci.MEDIUM}};var gb=(()=>{class t{transform(e){switch(e){case ml.REGISTERED:return"Zarejestrowany";case ml.NOT_REGISTERED:return"Niezarejestrowany";case ml.CHECK_UNSUCCESSFUL:return"Sprawdzenie rachunku odbiorcy w wykazie podatnik\xF3w VAT nie powiod\u0142o si\u0119";case ml.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 dbe(t,i){if(t&1&&(u(0,"p",4),h(1),c()),t&2){let e=_();l(),x(e.errorMessage())}}var _b=(()=>{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=nt,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(Ge.FETCHING_DATA_ERROR)).subscribe()}
8003getTargetAccount(){return ue.removeWhitespaces(this.data.details.account)}getNip(){return this.data.details.nip}setInformationOnFrontAndSetWhiteListData(){return B(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(Yr),E(Vh),E(Ze),E(et),E(Rt))}}static{this.\u0275cmp=A({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,dbe,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),x(r.title),l(14),x(r.verificationResult),l(),g("whiteList",r.whiteListDTO),l(),x(Fe(19,12,r.verificationState)),l(3),x(r.verificationId),l(2),x(wr(24,14,r.verificationDate,"yyyy-MM-dd HH:mm:ss")),l(2),y(r.errorMessage()?25:-1),l(2),x(r.message),l(),g("buttonLabelCancel",r.buttonLabels.CANCEL)("buttonLabelConfirm",r.buttonLabels.CONFIRM)("focusConfirmInitially",!0)("withResetButton",!1))},dependencies:[Mt,Nt,Ot,ub,Tt,mn,gb],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 bM=(()=>{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=pm(this.parameterService.getParameterAsStringArray(Dt.BANK_IDS),{initialValue:[]}),this.isTargetAccountExternal=Ct(()=>{if(!this.accountControlValid())return!1;let e=this.accountValue(),n=li.stripToNrb(e),r=this.bankIds();return!n||n.length<6||r.length===0?!1:!li.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(fn(),Re(n.value),B(()=>this.syncAccount(n))).subscribe(),n.statusChanges.pipe(fn(),It(),B(()=>this.syncAccount(n))).subscribe(),r.valueChanges.pipe(fn(),Re(r.value),It(),B(d=>this.currencyValue.set(d||""))).subscribe(),a.pipe(fn(),B(d=>this.allCurrencies.set(d))).subscribe(),o.valueChanges.pipe(fn(),Re(o.value),It(),B(()=>this.syncSourceAccount(o))).subscribe(),o.statusChanges.pipe(fn(),It(),B(()=>this.syncSourceAccount(o))).subscribe(),s.pipe(fn(),B(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 Xd=(()=>{class t{constructor(e){this.http=e}uploadFile(e,n,r,o){let a=new FormData;a.append("file",e);let s=new rt().set("encoding",n).set("handleInvalidChars",String(r));return o&&(s=s.set("transferFileType",o)),this.http.post(Xz,a,{params:s})}importNoBundle(e){return this.http.post(Zz+Ch,e)}importToBundle(e,n){return this.http.post(hE+`/${e}`+Ch,n)}importNewBundle(e){return this.http.post(hE+Ch,e)}saveImportTransfers(e,n){let r=new rt().set("validOnly",String(e)).set("checkWhiteList",String(n));return this.http.post(um,null,{params:r})}getInvalidDispositions(){return this.http.get(um+Ch)}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(hE+nR,e)}salaryImportEnable(){return this.http.get(Wz)}static{this.\u0275fac=function(n){return new(n||t)(F(ge))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}}return t})();function ube(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),x((e=n.idNipFC.getError("nip"))==null?null:e.message)}}function mbe(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,ube,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 pbe(t,i){if(t&1&&(u(0,"mat-option",20),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),x(e)}}function hbe(t,i){if(t&1&&(u(0,"mat-form-field",6)(1,"mat-label",19),h(2,"Waluta"),c(),u(3,"mat-select",9),Ue(4,pbe,2,2,"mat-option",20,at),c()()),t&2){let e=_();l(3),g("formControl",e.currencyFC),l(),ze(e.externalAccountCurrencyService.availableCurrencies())}}function fbe(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(),S(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 gbe(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function _be(t,i){if(t&1&&(u(0,"mat-form-field",7)(1,"mat-label"),h(2,"Data ost. realizacji"),c(),S(3,"input",24)(4,"mat-datepicker-toggle",22)(5,"mat-datepicker",null,1),u(7,"mat-error"),S(8,"app-last-execution-data-error",25),v(9,gbe,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 bbe(t,i){if(t&1&&fe(0,_be,10,6,"mat-form-field",23),t&2){let e=_();g("appShowIfHasAuthority",e.FunctionalAuthority.FUNC_MLYNEK)}}function vbe(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 ybe(t,i){t&1&&(u(0,"span"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function Cbe(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera nieprawid\u0142owe znaki"),c())}function Dbe(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 Ebe(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 sf=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b,w,k,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=k,this.vatService=M,this.fb=m(xr),this.FunctionalAuthority=Ut,this.allCurrencies$=m(pl).getCurrencies(),this.accountService=m(Vo),this.chargedAccounts$=this.accountService.getChargeableAccounts().pipe(Jr(1)),this.sorbnetRequiredService=m(Eh),this.sorbnetViolation=null,this.externalAccountCurrencyService=m(bM),this.currencyFC=this.fb.nonNullable.control(""),this.minExectionDate=Yt(new Date,He),this.bankName="",this.TITLE_MAX_LENGTH=140,this.AMOUNT_MAX_LENGTH=15,this.withConfirmAddNextButton=!0,this.isSaveAndAddButtonDisabled=!1,this.ButtonLabels=nt,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(B(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(B(()=>{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(_b,e).afterClosed().pipe(B(n=>{n.state?this.setFieldsWhenStateIsTrue(n):this.setFieldsWhenStateIsFalse()})).subscribe()}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}checkExecuteDateFC(){yd(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 Va(xn.PRZELEW_ZWYKLY);this.dialog.open(Ba,e).afterClosed().subscribe(n=>{n&&(this.allTransfer=sr.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=sr.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(B(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(){on([this.amountFC.valueChanges.pipe(Re(this.amountFC.value)),this.sorbnetFC.valueChanges.pipe(Re(this.sorbnetFC.value)),this.targetAccountFC.valueChanges.pipe(Re(this.targetAccountFC.value))]).pipe(xe(this.destroyed$),W(([e,n,r])=>this.sorbnetRequiredService.findViolation({amount:bt.getTrimmedValue(e),type:"COMMON",targetAccount:r,sorbnet:this.isTransferSorbnetEnabled&&!!n}))).subscribe(e=>{this.sorbnetViolation=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(),B(()=>{this.applyIbanFormatInAccount(this.targetAccountFC),this.bankName="",this.syncAccountSignals()}),ae(()=>this.targetAccountFC.valid),W(()=>
8003this.bankService.getDomesticBank(ue.removeWhitespaces(this.targetAccountFC.value))),B(e=>{this.bankName=e?.bankName||"",this.isTargetAccountZus=oz.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,Qz);case Me.EDIT:return this.save(e,n3);case Me.IMPORT:return this.actionForImportMode($z)}}actionForImportMode(e){return this.updateAction(e).pipe(B(n=>this.dialogRef.close(n)),this.errorProviderService.processError(Ge.EDITING_ERROR))}save(e,n){if(ue.replaceDoubleQuotesInName([this.recipientName1FC,this.recipientName2FC]),this.sorbnetViolation)return this.sorbnetRequiredService.getViolationError(this.sorbnetViolation).pipe(We(1)).subscribe(o=>this.notificationService.formErrors([o])),Ae;let r=this.getTransferData();return this.allLayoutFG.valid?this.contractorTransferService.saveContractor(r,dt.NORMAL_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(r,n)),this.errorProviderService.processErrorWithLocalFormError(this),B(()=>{this.hasSavedChanges=!0,e?this.reset():this.closeDialog()})):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),Ae)}updateAction(e){let n=this.getTransferData();return this.contractorTransferService.saveContractor(n,dt.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(li.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=pc.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(Dt.TRANSFER_SORBNET_ENABLED).pipe(B(e=>this.isTransferSorbnetEnabled=e)).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(E(lt),E(Le),E(Vi),E(Ze),E(Xd),E(et),E(gl),E(Bo),E(Kd),E(Rt),E(Vh),E(qr),E(zd))}}static{this.\u0275cmp=A({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},Yo)},standalone:!1,features:[me([bM])],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(),S(8,"app-recipant-input",3),v(9,mbe,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),S(14,"app-amount-input",5),v(15,hbe,6,1,"mat-form-field",6),v(16,fbe,7,4,"mat-form-field",7),v(17,bbe,1,1,"mat-form-field",7),u(18,"div",8),v(19,vbe,2,1,"mat-checkbox",9),c()(),u(20,"mat-form-field",10)(21,"mat-label"),h(22,"Tytu\u0142em"),c(),S(23,"textarea",11),u(24,"mat-error"),v(25,ybe,2,0,"span"),v(26,Cbe,2,0,"span"),c()()(),u(27,"app-dialog-section")(28,"app-dialog-section-header"),h(29,"Obci\u0105\u017Cenie"),c(),S(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,Dbe,2,0,"div",14),v(34,Ebe,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),x(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 yM=(function(t){return t.SPOT="Spot",t.TODAY="Dzi\u015B",t.TOMORROW="Jutro",t})(yM||{});var I5=(()=>{class t{constructor(){this.appStore=m(Fo),this.parameters$=Td(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===Dt[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 wbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.foreignBankInputForm.controls.bic.getError("invalidBic"))}}function xbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["bic.invalid"])}}function Sbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["bic.illegal"])}}function Tbe(t,i){if(t&1&&(u(0,"mat-error"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["bic.length"])}}function Ibe(t,i){t&1&&(u(0,"mat-form-field",10)(1,"mat-label"),h(2,"Numer banku (SortCode, BLZ)"),c(),S(3,"input",34),c())}function Abe(t,i){if(t&1&&(u(0,"mat-option",22),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),x(e)}}function kbe(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function Rbe(t,i){if(t&1&&(u(0,"mat-form-field",23)(1,"mat-label"),h(2,"Data wykonania"),c(),S(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 Mbe(t,i){t&1&&(u(0,"mat-error"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function Nbe(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),x(e.getInvalidCharacters(e.titleFC.getError("pattern")))}}function Obe(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(),x(Fe(2,2,e))}}function Fbe(t,i){if(t&1&&(u(0,"mat-option",29),h(1),c()),t&2){let e=i.$implicit;g("value",e.value),l(),x(e.viewValue)}}function Pbe(t,i){if(t&1&&(u(0,"mat-form-field",27)(1,"mat-label"),h(2,"Data waluty"),c(),u(3,"mat-select",21),Ue(4,Fbe,2,2,"mat-option",29,at),be(6,"enumToArray"),c()()),t&2){let e=_();l(3),g("formControl",e.currencyDateFC),l(),ze(Fe(6,1,e.currencyDataEnum))}}function Lbe(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 Cw=(()=>{class t{constructor(e,n,r){this.intDialogRef=e,this.data=n,this.dialog=r,this.perLoginParameterService=m(I5),this.fb=m(xr),this.getInvalidCharacters=ue.getInvalidCharacters,this.transferImportService=m(Xd),this.parameters=m(qr),this.contractorTransferService=m(Kd),this.errorProviderService=m(Rt),this.accountService=m(Vo),this.transferService=m(Bo),this.notificationService=m(Le),this.foreignBankInputFormService=m(Vd),this.foreignBankInputForm=this.foreignBankInputFormService.form,this.foreignBankSearchService=m(Oh),this.foreignBanksService=m(No),this.ibanInfos=this.foreignBanksService.getForeignIbanInfos(),this.countries=this.foreignBanksService.getCountries().pipe($(jE)),this.allowPlIbanTransferInPln=this.perLoginParameterService.get(Dt.TRANSFER_FOREIGN_CURRENCY_TRANSFER_ENABLED).pipe($(Boolean)),this.dialogHeader=this.allowPlIbanTransferInPln.pipe($(o=>o?"Przelew walutowy":"Przelew zagraniczny")),this.destroyRef=m(un),this.commissionCovererOptions=Z([]),this.currencyDataEnum=yM,this.chargedAccounts=[],this.currencyFC=this.fb.nonNullable.control("",G.required),this.currencies=m(pl).getCurrencies(),this.allowedCurrencies=on([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=Yt(new Date,He),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=nt,this.ERRORS=tn,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(Dt.CURRENCY_DATE_ENABLED),this.isPreferRateInput$=this.parameters.getParameter(Dt.EXCHANGE_PREFER_ENABLED),this.isBankNumberInput$=this.parameters.getParameter(Dt.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(Ge.SAVING_ERROR)).subscribe()}openForeignBanksDialogComponent(){let e=new Jt;e.panelClass=ci.MEDIUM,e.data={isDialog:!0},this.dialog.open(BE,e).afterClosed().pipe(ae(n=>n),$(t.toBankInfo),B(n=>{this.foreignBankInputFormService.setBank(n),this.isBicBtnDisable=!1})).subscribe()}openContractorsDialog(){let e=new Va(xn.PRZELEW_ZAGRANICZNY);this.dialog.open(Ba,e).afterClosed().pipe(ae(n=>n),B(n=>{let r=sr.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(t3,e)}update(e){return this.processTransfer(o3,e)}processTransfer(e,n){return this.layoutFG.valid?this.contractorTransferService.saveContractor(n,dt.FOREIGN_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(n,e)),this.errorProviderService.processErrorWithLocalFormError(this),B(()=>this.closeDialog(!0))):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),Ae)}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(da.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(B(n=>this.intDialogRef.close(n)),this.errorProviderService.processError(Ge.EDITING_ERROR))}updateAction(e){return this.contractorTransferService.saveContractor(e,dt.FOREIGN_TRANSFER,this.contractorFG).pipe(W(()=>this.transferImportService.update(e,this.data.transferData.dispositionId,Yz)))}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(B(e=>{this.chargedAccounts=e})).subscribe()}checkCommisionCoverer(){on([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(fn(this.destroyRef),$(([e,n,r])=>this.getCommissionCovererOptions(e||!1,n||!1,r)),B(e=>this.commissionCovererOptions.set(e)),B(e=>this.setDefaultAndDisableCommissionCovererSelectIfListHasOneOption(e))).subscribe()}getCommissionCovererOptions(e,n,r){let o=[fc.SHA];return n&&r==="EUR"||(e||o.push(fc.OUR),e||o.push(fc.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(fn(this.destroyRef)).subscribe({next:n=>{this.commissionFlagsPending=!1,n?.bankInfoStatus===_s.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(et),E(lt))}}static{this.\u0275cmp=A({type:t,selectors:[["app-international-transfer-dialog"]],standalone:!1,features:[me([Vd,Oh])],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),S(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(),S(18,"input",7),v(19,wbe,2,1,"mat-error"),v(20,xbe,2,1,"mat-error"),v(21,Sbe,2,1,"mat-error"),v(22,Tbe,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,Ibe,4,0,"mat-form-field",10),be(27,"async"),c(),S(28,"app-recipant-input",11),u(29,"div",12)(30,"mat-form-field",13)(31,"mat-label"),h(32,"Nazwa Banku"),c(),S(33,"input",14),c(),u(34,"mat-form-field",13)(35,"mat-label"),h(36,"Nazwa Banku cd."),c(),S(37,"input",15),c()(),u(38,"div",12)(39,"mat-form-field",13)(40,"mat-label"),h(41,"Adres Banku"),c(),S(42,"input",16),c(),u(43,"mat-form-field",13)(44,"mat-label"),h(45,"Adres Banku cd."),c(),S(46,"input",17),c()()()(),u(47,"app-dialog-section")(48,"app-dialog-section-header"),h(49,"Tre\u015B\u0107"),c(),u(50,"div",12),S(51,"app-amount-input",18),u(52,"mat-form-field",19)(53,"mat-label",20),h(54,"Waluta"),c(),u(55,"mat-select",21),Ue(56,Abe,2,2,"mat-option",22,at),be(58,"async"),c(),v(59,kbe,2,0,"mat-error"),c(),v(60,Rbe,7,4,"mat-form-field",23),c(),u(61,"mat-form-field",24)(62,"mat-label"),h(63,"Tytu\u0142em"),c(),S(64,"textarea",25),v(65,Mbe,2,0,"mat-error"),v(66,Nbe,4,1,"mat-error"),c(),S(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),Ue(73,Obe,3,4,"mat-option",29,at),c()(),v(75,Pbe,7,3,"mat-form-field",27),be(76,"async"),v(77,Lbe,3,1,"div",30),be(78,"async"),c()(),u(79,"app-dialog-section")(80,"app-dialog-section-header"),h(81,"Obci\u0105\u017Cenie"),c(),S(82,"a
8003pp-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),x(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(),ze(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(),ze(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.invalid)("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 Bbe(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 Vbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.REQUIRED_ERROR_MESSAGE)}}function jbe(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(),S(4,"mat-datepicker-toggle",21)(5,"mat-datepicker",null,1),u(7,"mat-error"),S(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 Hbe(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=_();
8003return ne(r.dateUtils.keepMinDate(r.executionDateFC,r.minDate))}),c(),S(4,"mat-datepicker-toggle",21)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,Vbe,2,1,"span"),c()(),fe(9,jbe,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 Ube(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 zbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.REQUIRED_ERROR_MESSAGE)}}function Gbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),x((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function Wbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.REQUIRED_ERROR_MESSAGE)}}function $be(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),x((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function Ybe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["vatNr.invalidSubstrings"])}}function qbe(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 Kbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_();l(),x((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function Xbe(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["text.invalidSubstrings"])}}function Zbe(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 Dw=(()=>{class t{constructor(e,n,r,o,a,s,d,p,f,b,w,k,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=k,this.whiteListFacadeService=M,this.errorProviderService=J,this.sorbnetRequiredService=j,this.bankName="",this.REQUIRED_ERROR_MESSAGE=Po,this.MAX_LENGTH_ERROR_MESSAGE=Ih,this.ERRORS=tn,this.minDate=Yt(new Date,He),this.INVOICE_NUMBER_MAX_LENGTH=35,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.chargedAccounts=[],this.validatorUtils=Xt,this.dateUtils=wn,this.ButtonLabels=nt,this.FunctionalAuthority=Ut,this.withConfirmAddNextButton=!0,this.isSaveAndAddButtonDisabled=!1,this.isPacked=!1,this.sorbnetViolation=null,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.additionalMessageFC=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(B(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
8003()}openWhiteListDialog(e,n){let r=new Jt;r.data={details:{account:e,nip:n,transferType:hn.VAT_TRANSFERENCE}},this.whiteListCheckBoxCheckedFC.value===!0&&this.dialog.open(_b,r).afterClosed().pipe(B(o=>{o.state?this.setFieldsWhenStateIsTrue(o):this.setFieldsWhenStateIsFalse()})).subscribe()}isDialogInImportMode(){return this.dialogMode===Me.IMPORT}applyIbanFormatInAccount(){let e=li.ibanFormat(this.targetAccountFC.value);this.targetAccountFC.setValue(e)}openContractorsDialog(){let e=new Va(xn.PRZELEW_VAT);this.dialog.open(Ba,e).afterClosed().subscribe(n=>{n&&(this.allTransfer=sr.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=sr.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,gE);case Me.EDIT:return this.save(e,_E);case Me.IMPORT:return this.actionForImportMode(Kz)}}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.sorbnetViolation)return this.sorbnetRequiredService.getViolationError(this.sorbnetViolation).pipe(We(1)).subscribe(o=>this.notificationService.formErrors([o])),Ae;let r=this.getTransferData();return this.invoiceFG.valid?this.contractorTransferService.saveContractor(r,dt.VAT_TRANSFER,this.contractorFG).pipe(this.errorProviderService.processErrorWithLocalFormError(this),W(()=>this.transferService.save(r,n)),this.errorProviderService.processErrorWithLocalFormError(this),B(()=>{this.hasSavedChanges=!0,e?this.resetData():this.closeDialog()})):(this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),Ae)}observeSorbnetRequirement(){on([this.amountGrossFC.valueChanges.pipe(Re(this.amountGrossFC.value)),this.sorbnetFC.valueChanges.pipe(Re(this.sorbnetFC.value)),this.targetAccountFC.valueChanges.pipe(Re(this.targetAccountFC.value))]).pipe(xe(this.destroyed$),W(([e,n,r])=>this.sorbnetRequiredService.findViolation({amount:bt.getTrimmedValue(e),type:"VAT",targetAccount:r,sorbnet:this.isTransferSorbnetEnabled&&!!n}))).subscribe(e=>{this.sorbnetViolation=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()}getTransferData(){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,
8003name1: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(B(n=>this.orderDialogRef.close(n)),this.errorProviderService.processErrorWithLocalFormError(this)):(this.markAllAsTouched(),this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo"),Ae)}updateAction(e){let n=this.getTransferData();return this.contractorTransferService.saveContractor(n,dt.VAT_TRANSFER,this.contractorFG).pipe(W(()=>this.transferImportService.update(n,this.data.transferData.dispositionId,e)))}observeValues(){this.targetAccountFC.valueChanges.pipe(xe(this.destroyed$),It(),B(()=>{this.applyIbanFormatInAccount(),this.bankName=""}),ae(()=>this.targetAccountFC.valid),W(()=>this.bankService.getDomesticBank(ue.removeWhitespaces(this.targetAccountFC.value))),B(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(li.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,additionalMessageFC: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(Dt.TRANSFER_SORBNET_ENABLED).subscribe(e=>this.isTransferSorbnetEnabled=e)}static{this.\u0275fac=function(n){return new(n||t)(E(Vi),E(Ze),E(lt),E(et),E(Kd),E(Le),E(Xd),E(Vo),E(gl),E(zd),E(Bo),E(qr),E(Vh),E(Rt),E(Eh))}}static{this.\u0275cmp=A({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},Yo)},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(),S(8,"app-recipant-input",3),v(9,Bbe,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),S(14,"app-amount-input",6),u(15,"app-amount-input",7),T("handleFocusoutEvent",function(){return r.calculateAmou
8003ntFCValue()}),c()(),u(16,"div",8)(17,"app-amount-input",9),T("handleFocusoutEvent",function(){return r.calculateAmountFCValue()}),c(),v(18,Hbe,10,6),v(19,Ube,2,1,"mat-checkbox",10),c(),u(20,"mat-form-field",11)(21,"mat-label"),h(22,"Identyfikator ( NIP / PESEL )"),c(),S(23,"input",12),u(24,"mat-error"),v(25,zbe,2,1,"span"),v(26,Gbe,2,1,"span"),c()(),u(27,"mat-form-field",11)(28,"mat-label"),h(29,"Numer faktury"),c(),S(30,"input",13),u(31,"mat-error"),v(32,Wbe,2,1,"span"),v(33,$be,2,1,"span"),v(34,Ybe,2,1,"span"),v(35,qbe,2,3,"span"),c()(),u(36,"mat-form-field",11)(37,"mat-label"),h(38,"Dodatkowa tre\u015B\u0107"),c(),S(39,"input",14),u(40,"mat-error"),v(41,Kbe,2,1,"span"),v(42,Xbe,2,1,"span"),v(43,Zbe,2,3,"span"),c()()(),u(44,"app-dialog-section")(45,"app-dialog-section-header"),h(46,"Obci\u0105\u017Cenie"),c(),S(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.invalidSubstrings")?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 Qbe(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(),lo("",Fe(2,3,e.accountNumber),", ",e.friendlyName1," ")}}function Jbe(t,i){if(t&1&&(u(0,"mat-option",11),h(1),c()),t&2){let e=i.$implicit;g("value",e),l(),x(e)}}function eve(t,i){t&1&&(u(0,"mat-error"),h(1,"Pole wymagane"),c())}function tve(t,i){t&1&&(u(0,"span"),h(1,"Pole wymagane"),c())}function nve(t,i){t&1&&(u(0,"span"),h(1,"Data jest niew\u0142a\u015Bciwa"),c())}function ive(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(),S(4,"mat-datepicker-toggle",17)(5,"mat-datepicker",null,0),u(7,"mat-error"),v(8,tve,2,0,"span"),v(9,nve,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 rve(t,i){t&1&&(u(0,"span"),h(1,"Tytu\u0142 przelewu jest wymagany"),c())}function ove(t,i){t&1&&(u(0,"span"),h(1,"Pole zawiera nieprawid\u0142owe znaki"),c())}var CM=(()=>{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(xr),this.minExectionDate=Yt(new Date,He),this.ButtonLabels=nt,this.ValidatorUtils=Xt,this.currencies=m(pl).getCurrencies(),this.currencyFC=this.fb.nonNullable.control("PLN",G.required),this.withConfirmAddNextButton=!0,this.isPacked=!1,this.ERRORS=tn,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(B(e=>{this.defaultUserData=e,this.setInitialValues()})).subscribe())}checkExecuteDateFC(){yd(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,Jz);break;case Me.EDIT:this.save(e,i3);break;case Me.IMPORT:break}}save(e,n){this.personalTransferFG.valid?(ue.replaceDoubleQuotesInName([this.recipientName1FC,this.recipientName2FC]),this.transferService.save(this.createOwnTransferData(),n).pipe(B(()=>{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(B(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 ka("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(et))}}static{this.\u0275cmp=A({type:t,selectors:[["app-common-transfer-dialog"]],hostBindings:function(n,r){n&1&&T("keydown.escape",function(){return r.onEscapeKey()},Yo)},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),Ue(12,Qbe,3,5,"mat-option",3,at),c(),u(14,"mat-error"),S(15,"app-target-account-error",4),c()(),S(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),S(21,"app-amount-input",7),u(22,"mat-form-field",8)(23,"mat-label",9),h(24,"Waluta"),c(),u(25,"mat-select",10),Ue(26,Jbe,2,2,"mat-option",11,at),be(28,"async"),c(),v(29,eve,2,0,"mat-error"),c(),v(30,ive,10,6,"mat-form-field",12),c(),u(31,"mat-form-field",1)(32,"mat-label"),h(33,"Tytu\u0142em"),c(),S(34,"textarea",13),u(35,"mat-error"),v(36,rve,2,0,"span"),v(37,ove,2,0,"span"),c()()(),u(38,"app-dialog-section")(39,"app-dialog-section-header"),h(40,"Obci\u0105\u017Cenie"),c(),S(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(),ze(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(),ze(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,Ye,St,Ln,Qt,zi,hi,Ri,tt,si,Mt,Nt,Ot,Cr,Or,Je,Xe,pn,$e,Bt,Pa,Xr,Zr,Tt,hc,er,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 bb=(function(t){return t[t.NOT_FOUND=-1]="NOT_FOUND",t[t.IRP_ACCOUNT=13]="IRP_ACCOUNT",t})(bb||{});var Ew=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 ave=/^[a-zA-Z0-9]*$/,sve=/^.{3,14}$/,lve=/^[^\s]{1,14}$/,ww=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 Fa.isValid(i)?null:{"identyfikator.pesel.invalid":!0};case vn.REGON:return Od.isValid(i)?null:{"identyfikator.regon.invalid":!0};case vn.DOWOD_OSOBISTY:return Ew.isValid(i)?null:{"identyfikator.dowod_osobisty.invalid":!0};case vn.PASZPORT:return t.validatePassport(i);case vn.INNY:return lve.test(i)?null:{"identyfikator.illegalChar":!0};default:return null}}static validatePassport(i){let e={};return ave.test(i)||(e["identyfikator.paszport.illegalChar"]=!0),sve.test(i)||(e["identyfikator.paszport.invalid"]=!0),Object.keys(e).length?e:null}};function cve(t,i){if(t&1&&(u(0,"mat-hint",7),h(1),c()),t&2){let e=_();l(),x(e.TARGET_ACCOUNT_PASTED)}}function dve(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 uve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["dataWykonania.empty"])}}function mve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["dataWykonania.beforeToday"])}}function pve(t,i){t&1&&(u(0,"span"),h(1,"Nie mo\u017Cna ustawi\u0107 przesz\u0142ej daty"),c())}function hve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Data ost. realizacji"),c(),S(3,"input",34)(4,"mat-datepicker-toggle",32)(5,"mat-datepicker",null,2),u(7,"mat-error"),S(8,"app-last-execution-data-error",35),v(9,pve,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 fve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Data wykonania"),c(),S(3,"input",31)(4,"mat-datepicker-toggle",32)(5,"mat-datepicker",null,1),u(7,"mat-error"),v(8,uve,2,1,"span"),v(9,mve,2,1,"span"),c()(),fe(10,hve,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 gve(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 _ve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["sfp.maxlength"])}}function bve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["sfp.inactive"])}}function vve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["sfp.illegal"])}}function yve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["sfp.empty"])}}function Cve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["sfp.notINNE"])}}function Dve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["okresRok.empty"])}}function Eve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["okresRok.notEmpty"])}}function wve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["okresRok.invalid"])}}function xve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),se(" ",e.ERRORS["okresRok.invalid"]," ")}}function Sve(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 Tve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["okresTyp.invalid"])}}function Ive(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["okresTyp.notEmpty"])}}function Ave(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["okresMiesiac.empty"])}}function kve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["okresMiesiac.invalid"])}}function Rve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2,"Miesi\u0105c"),c(),S(3,"input",17),u(4,"mat-error"),v(5,Ave,2,1,"span"),v(6,kve,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 Mve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["okresNumer.empty"])}}function Nve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["okresNumer.notEmpty"])}}function Ove(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["okresNumer.invalid"])}}function Fve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["okresNumer.invalid"])}}function Pve(t,i){if(t&1&&(u(0,"mat-form-field",16)(1,"mat-label"),h(2),c(),S(3,"input",17),u(4,"mat-error"),v(5,Mve,2,1,"span"),v(6,Nve,2,1,"span"),v(7,Ove,2,1,"span"),v(8,Fve,2,1,"span"),c()()),t&2){let e=_();l(2),x(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 Lve(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 Bve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["typIdentyfikatora.required"])}}function Vve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["typIdentyfikatora.empty"])}}function jve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["typIdentyfikatora.invalid"])}}function Hve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.maxlength"])}}function Uve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.empty"])}}function zve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.nip.invalid"])}}function Gve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();
8003l(),x(e.ERRORS["identyfikator.pesel.invalid"])}}function Wve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.regon.invalid"])}}function $ve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.dowod_osobisty.invalid"])}}function Yve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.paszport.illegal"])}}function qve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.paszport.illegalChar"])}}function Kve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.paszport.invalid"])}}function Xve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.inny_dokument.invalid"])}}function Zve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["identyfikator.illegalChar"])}}function Qve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["idZobowiazania.clo.illegal"])}}function Jve(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["idZobowiazania.clo.empty"])}}function e0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.ERRORS["idZobowiazania.illegal"])}}var DM=(()=>{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=Yt(new Date,He),this.ERRORS=tn,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=iE,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=nt,this.withConfirmAddNextButton=!1,this.contractorBtnDisabled=!1,this.usBtnDisabled=!1,this.isPacked=!1,this.cycleRequired=!1,this.importedSFP="",this.sfpGroupId=bb.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,ww.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,k)=>w?.accountId!==k?.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(),fi(200),B(e=>this.ibanChange(e))).subscribe())}initSelectedTransferChangeListener(){this.subscription.add(this.selectedTransferFC.valueChanges.subscribe(e=>{this.recipientAccountFC.setValue(li.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=ci.MEDIUM,this.dialog.open(Nd,e).afterClosed().pipe(ae(n=>n),W(n=>this.setTaxOffice(n))).subscribe()}clear(){this.transferUsCloFG.reset(),this.cycleRequired=!1,this.transfer=sr.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(e3);break;case Me.EDIT:this.save(r3);break;case Me.IMPORT:this.actionForImportMode(qz);break}}save(e){this.transferUsCloFG.valid?this.acceptTransferService.save(this.createTaxOfficeTransfer(),e).pipe(B(()=>{this.close(!0)}),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe():this.notificationService.default("Formularz jest wype\u0142niony nieprawid\u0142owo")}applyIbanFormatInAccount(e=this.recipientAccountFC.value){let n=li.ibanFormat(e);this.recipientAccountFC.setValue(n,{emitEvent:!1})}onRecipientAccountPaste(){this.isRecipientAccountPasted=!0}openIdentificatorDialog(){this.getContractorsDialog().pipe(B(e=>this.setIdentifier(e))).subscribe()}openContractorsDialog(){this.getContractorsDialog(xn.PRZELEW_US).pipe(B(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(B(e=>{e[0]?.accountsTypeGroup?this.sfpGroupId=e[0]?.accountsTypeGroup:cc.isIRPAccount(this.transfer.targetAccount)&&this.setIRP(this.transfer.targetAccount)}),W(()=>this.getSymbolOfPaymentTypes()),B(()=>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=cc.getSpecificIdentifier(e,this.complementaryIdentifierTypeFC.value);n?this.complementaryIdentifierFC.setValue(n):this.setDefaultIdentifier(e)}setDefaultIdentifier(e){let n=cc.getDefaultIdentifier(e);this.complementaryIdentifierTypeFC.setValue(n.type),this.complementaryIdentifierFC.setValue(n.value)}getContractorsDialog(e){let n=new Va(e||"");return this.dialog.open(Ba,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=bb.NOT_FOUND,this.symbolOrPaymentTypes=[]}
8003setFormControlValues(){if(this.transfer){this.recipientAccountFC.setValue(li.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=af.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(),cc.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]):Ae))).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(B(e=>this.chargeableAccounts=e)).subscribe()}getSymbolOfPaymentTypes(){return this.taxOfficeService.getSymbolOfPaymentTypes(this.sfpGroupId).pipe(B(e=>this.symbolOrPaymentTypes=e),ae(e=>e.length>0))}disableIdentifierInput(){this.complementaryIdentifierTypeFC.disable(),this.complementaryIdentifierFC.disable(),this.disableIdentifierBtn=!0}setIRP(e){let n=cc.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:bb.IRP_ACCOUNT,name1:this.transfer.name1,name2:this.transfer.name2,address:this.recipientAddress1FC.value}).subscribe()}setContractorIntoForm(e){this.transfer=sr.getFromContractor(e),cc.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(),fi(200),B(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(wh),E(Ze),E(et),E(lt),E(Xd),E(Rt),E(zd))}}static{this.\u0275cmp=A({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"),S(13,"app-target-account-error",6),c(),v(14,cve,2,1,"mat-hint",7),c(),u(15,"mat-autocomplete",null,0),Ue(17,dve,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()(),S(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),S(28,"app-amount-input",12),v(29,fve,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(),Ue(36,gve,2,2,"mat-option",8,at),c(),u(38,"mat-error"),v(39,_ve,2,1,"span"),v(40,bve,2,1,"span"),v(41,vve,2,1,"span"),v(42,yve,2,1,"span"),v(43,Cve,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(),S(51,"input",17),u(52,"mat-error"),v(53,Dve,2,1,"span"),v(54,Eve,2,1,"span"),v(55,wve,2,1,"span"),v(56,xve,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(),Ue(63,Sve,2,2,"mat-option",8,at),c(),u(65,"mat-error"),v(66,Tve,2,1,"span"),v(67,Ive,2,1,"span"),c()(),v(68,Rve,7,4,"mat-form-field",16),v(69,Pve,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),Ue(75,Lve,2,2,"mat-option",23,at),c(),u(77,"mat-error"),v(78,Bve,2,1,"span"),v(79,Vve,2,1,"span"),v(80,jve,2,1,"span"),c()(),u(81,"div",24)(82,"mat-form-field",25)(83,"mat-label"),h(84,"Identyfikator uzupe\u0142niaj\u0105cy"),c(),S(85,"input",26),u(86,"mat-error"),v(87,Hve,2,1,"span"),v(88,Uve,2,1,"span"),v(89,zve,2,1,"span"),v(90,Gve,2,1,"span"),v(91,Wve,2,1,"span"),v(92,$ve,2,1,"span"),v(93,Yve,2,1,"span"),v(94,qve,2,1,"span"),v(95,Kve,2,1,"span"),v(96,Xve,2,1,"span"),v(97,Zve,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(),S(104,"input",17),u(105,"mat-error"),v(106,Qve,2,1,"span"),v(107,Jve,2,1,"span"),v(108,e0e,2,1,"span"),c()()(),u(109,"app-dialog-section")(110,"app-dialog-section-header"),h(111,"Obci\u0105\u017Cenie"),c(),S(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),ze(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),ze(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),ze(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(),ze(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,Ye,oa,St,Ln,Ea,Qt,fr,Bn,$C,WC,zi,hi,Ri,Wn,tt,si,Mt,Nt,Ot,Cr,Or,Je,Xe,pn,$e,Bt,ym,Pa,Xr,Zr,vi,Tt,hc,Cm,er,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 A5=(()=>{class t{constructor(e){this.dialog=e}openDialog(e,n,r){switch(e){case hn.COMMON:return this.dialog.open(sf,this.addCommonConfig(n,r));case hn.SORBNET:return this.dialog.open(sf,this.addCommonConfig(n,r,!0));case hn.INTERNATIONAL:return this.dialog.open(Cw,this.addCommonConfig(n,r));case hn.PERSONAL:return this.dialog.open(CM,this.addCommonConfig(n,r));case hn.VAT_INVOICE:return this.dialog.open(Dw,this.addCommonConfig(n,r));case hn.US_CLO:return this.dialog.open(DM,this.addCommonConfig(n,r));case hn.VAT_TRANSFERENCE:return this.dialog.open(qR,this.addCommonConfig(n,r));default:return this.dialog.open(sf,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=ci.LARGE,o}static{this.\u0275fac=function(n){return new(n||t)(F(lt))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var k5=(()=>{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=ci.MEDIUM,r.data.dialogVariant===dt.FOREIGN_TRANSFER?this.dialog.open(HE,r):this.dialog.open(LE,r)}static{this.\u0275fac=function(n){return new(n||t)(F(lt))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function i0e(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),x(e.targetBank==null?null:e.targetBank.bankName),l(2),x(e.targetBank==null?null:e.targetBank.address),l(2),x(e.targetBank==null?null:e.targetBank.address2),l(2),lo("",e.targetBank==null?null:e.targetBank.city," ",e.targetBank==null?null:e.targetBank.country),l(2),x(e.targetBank==null?null:e.targetBank.bic)}}function r0e(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),x(e.targetBank==null?null:e.targetBank.bankName),l(2),x(e.targetBank==null?null:e.targetBank.address),l(2),x(e.targetBank==null?null:e.targetBank.address2)}}function o0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Rachunek odbiorcy"),c(),S(3,"input",3),be(4,"ibanFormatPipe"),v(5,i0e,11,6,"div",4),v(6,r0e,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 a0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Nazwa odbiorcy"),c(),S(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.rowDetails.targetName1.trim()+e.space+e.rowDetails.targetName2.trim()))}}function s0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Tytu\u0142"),c(),S(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.rowDetails.title))}}function l0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Typ identyfikatora"),c(),S(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.identifier.type))}}function c0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"NIP lub identyfikator uzupe\u0142niaj\u0105cy"),c(),S(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.identifier.value))}}function d0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Okres rozliczenia"),c(),S(3,"input",2),c()),t&2){let e=_();l(3),g("value",tI("",e.usTitleData.period.number,"",e.usTitleData.period.type.slice(0,1),"",e.usTitleData.period.year))}}function u0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Symbol formularza lub p\u0142atno\u015Bci"),c(),S(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.sfp))}}function m0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Identyfikator zobowi\u0105zania"),c(),S(3,"input",2),c()),t&2){let e=_();l(3),g("value",ri(e.usTitleData.commitmentIdentification))}}function p0e(t,i){if(t&1&&(u(0,"mat-form-field",1)(1,"mat-label"),h(2,"Status weryfikacji VAT"),c(),S(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 h0e=(()=>{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=He,this.isOperationTransfer=!1,this.isCreateTransferButtonEnabled=!1,this.isCreateContractorButtonEnabled=!0,this.space=" ",n.details[0].side===ca[ca.DEBIT]?this.amount=0-n.details[0].amount:this.amount=n.details[0].amount,this.isCurrentLayout=n.dialogVariant===_M.CURRENT,this.isUSTransfer=Cl.parse(xm.getTransferType(this.data.details[0]))===hn.US_CLO,this.isUSTransfer&&(this.usTitleData=af.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?Vz:jz;this.duplicatesFileService.openDuplicatesFile(e,this.accountId,[this.data.details[0].operationId])}close(){this.dialogRef.close()}createTransfer(){this.getDataOfSingleTransfer().pipe(W(e=>this.transferDialogService.openDialog(Cl.parse(xm.getTransferType(this.data.details[0])),e,Me.NEW).afterClosed())).subscribe()}createContractorFromTransfer(){this.getDataOfSingleTransfer().pipe(W(e=>this.contractorDialogService.openDialog(Cl.parse(xm.getTransferType(this.data.details[0])),Mi.parseTransferToContractor(e,this.data.details[0])).afterClosed())).subscribe()}checkIfOperationIsTransfer(){this.isOperationTransfer=xm.isCorrectType(this.data.details[0].td,this.data.details[0].to1)}getDataOfSingleTransfer(){let e=this.isCurrentLayout?vh:yh;return this.transferService.getSingleTransfer(e,this.data.details[0].operationId,this.accountId)}importBankDetails(e){return this.bankService.getDomesticBank(e).pipe(W(n=>n.result?L(n):this.foreignBankService.getBankByAccount(e)),this.errorProviderService.processError(Ge.FETCHING_DATA_ERROR))}static{this.\u0275fac=function(n){return new(n||t)(E(Ze),E(et),E(w5),E(x5),E(S5),E(A5),E(gl),E(No),E(k5),E(Rt),E(wi))}}static{this.\u0275cmp=A({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"),S(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(),S(8,"input",2),be(9,"date"),c(),u(10,"mat-form-field",1)(11,"mat-label"),h(12,"Data ksi\u0119gowania"),c(),S(13,"input",2),be(14,"date"),c(),u(15,"mat-form-field",1)(16,"mat-label"),h(17,"Typ operacji"),c(),S(18,"input",2),c(),u(19,"mat-form-field",1)(20,"mat-label"),h(21,"Nr referencyjny"),c(),S(22,"input",2),c(),u(23,"mat-form-field",1)(24,"mat-label"),h(25,"Kwota operacji"),c(),S(26,"input",2),be(27,"currencyFormatPipe"),c(),u(28,"mat-form-field",1)(29,"mat-label"),h(30,"Saldo po operacji"),c(),S(31,"input",3),be(32,"currencyFormatPipe"),c(),u(33,"mat-form-field",1)(34,"mat-label"),h(35,"Rachunek nadawcy"),c(),S(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(),S(48,"input",2),c(),v(49,o0e,7,6,"mat-form-field",1),v(50,a0e,4,2,"mat-form-field",1),v(51,s0e,4,2,"mat-form-field",1),v(52,l0e,4,2,"mat-form-field",1),v(53,c0e,4,2,"mat-form-field",1),v(54,d0e,4,4,"mat-form-field",1),v(55,u0e,4,2,"mat-form-field",1),v(56,m0e,4,2,"mat-form-field",1),u(57,"mat-form-field",1)(58,"mat-label"),h(59,"Dodatkowa tre\u015B\u0107"),c(),S(60,"input",2),c(),v(61,p0e,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(wr(9,34,r.rowDetails.operationDate,r.dateFormat))),l(5),g("value",ri(wr(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(wr(27,40,r.amount,r.rowDetails.currency))),l(5),g("value",ri(wr(32,43,r.rowDetails.saldo,r.rowDetails.currency))),l(5),g("value",ri(Fe(37,46,r.rowDetails.sourceAccount))),l(4),x(r.sourceBank==null?null:r.sourceBank.bankName),l(2),x(r.sourceBank==null?null:r.sourceBank.address),l(2),x(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,Ye,gd,tt,Mt,Nt,Ot,ub,Bt,vi,pM,mn,qt,Kt,gb],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 xw=(function(t){return t.DAY="Dzie\u0144",t.MONTH="Miesi\u0105c",t.YEAR="Rok",t})(xw||{}),Sw=(function(t){return t.DAY="DAY",t.MONTH="MONTH",t.YEAR="YEAR",t})(Sw||{}),R5=[{value:Sw.DAY,viewValue:xw.DAY},{value:Sw.MONTH,viewValue:xw.MONTH},{value:Sw.YEAR,viewValue:xw.YEAR}];var El=(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})(El||{});var f0e=(function(t){return t.NULL="NULL",t.TRANSFER="PRZELEW",t.DEPOSIT="LOKATA",t.STANDING_ORDER="ZLECENIE_STALE",t.TOPUP="DOLADOWANIE_GSM",t})(f0e||{}),Ec=(function(t){return t.NULL="NULL",t.TRANSFER="TRANSFER",t.DEPOSIT="DEPOSIT",t.STANDING_ORDER="STANDING_ORDER",t.TOPUP="TOPUP",t})(Ec||{}),lf=(function(t){return t.NULL="NULL",t.TRANSFER="Przelew",t.DEPOSIT="Lokata",t.STANDING_ORDER="Zlecenie sta\u0142e",t.TOPUP="Do\u0142adowanie",t})(lf||{});var M5=(()=>{class t{constructor(e,n){this.http=e,this.errorProviderService=n}getStandingOrders(e){return this.http.post(Wr,e)}getStandingOrderBundles(e="",n){let r=new rt().set("accountId",e.toString()).set("dispTypes",n.toString());return this.http.get(_3,{params:r})}toSigning(e){return this.http.post(v3,e).pipe(this.errorProviderService.processError(Ge.SIGNING_ERROR))}updateCreateDisposition(e){return this.http.put(h3,e).pipe(this.errorProviderService.processError(Ge.EDITING_ERROR))}updateModifyDisposition(e){return this.http.put(f3,e)}updateDeleteDisposition(e){return this.http.put(g3,e)}addModifyDisposition(e){return this.http.post(m3,e)}addNewStandardStandingOrder(e){return this.http.post(u3,e)}addDeleteDisposition(e){return this.http.post(p3,e)}deleteDisposition(e){let n=e.id;return this.http.delete(Wr+`/${n}`)}getForEditById(e,n){let r=new rt;return e&&(r=r.set("dispositionId",e?.toString())),n&&(r=r.set("standingOrderId",n?.toString())),this.http.get(Wr,{params:r})}getDispositionAudit(e){return this.http.get(y3+`/${e}`)}getStandingOrderAudit(e){return this.http.get(b3+`/${e}`)}checkAllEnablers(e=null,n=null){let r=new rt;return e&&e.length>0&&(r=r.set("dispositionId",e?.toString())),n&&n.length>0&&(r=r.set("standingOrderId",n?.toString())),this.http.get(C3,{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 _0e(t,i){t&1&&(u(0,"span"),h(1," - przelew zwyk\u0142y"),c())}function b0e(t,i){t&1&&(u(0,"span"),h(1," - faktura VAT"),c())}function v0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.REQUIRED_ERROR_MESSAGE)}}function y0e(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 C0e(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),S(4,"app-amount-input",17),u(5,"mat-form-field",18)(6,"mat-label"),h(7,"Data wykonania dyspozycji"),c(),S(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(),S(15,"textarea",21),u(16,"mat-error"),v(17,v0e,2,1,"span"),v(18,y0e,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 D0e(t,i){if(t&1&&(u(0,"mat-form-field",18)(1,"mat-label"),h(2,"Data ost. realizacij"),c(),S(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 E0e(t,i){if(t&1&&(u(0,"mat-checkbox",15),h(1,"Sorbnet"),c()),t&2){let e=_(2);g("formControl",e.sorbnetFC)}}function w0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.REQUIRED_ERROR_MESSAGE)}}function x0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),x((e=n.idNipPeselFC.getError("nipAndPeselFormat"))==null?null:e.message)}}function S0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.REQUIRED_ERROR_MESSAGE)}}function T0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),x((e=n.invoiceNumberFC.getError("pattern"))==null?null:e.message)}}function I0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);
8003l(),x(e.ERRORS["vatNr.invalidSubstrings"])}}function A0e(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 k0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e,n=_(2);l(),x((e=n.additionalMessageFC.getError("pattern"))==null?null:e.message)}}function R0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_(2);l(),x(e.ERRORS["text.invalidSubstrings"])}}function M0e(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 N0e(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),S(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(),S(11,"input",25)(12,"mat-datepicker-toggle",10)(13,"mat-datepicker",null,2),c(),v(15,D0e,7,3,"mat-form-field",18),v(16,E0e,2,1,"mat-checkbox",15),c(),u(17,"mat-form-field",20)(18,"mat-label"),h(19,"Identyfikator ( NIP / PESEL )"),c(),S(20,"input",26),u(21,"mat-error"),v(22,w0e,2,1,"span"),v(23,x0e,2,1,"span"),c()(),u(24,"mat-form-field",20)(25,"mat-label"),h(26,"Numer faktury"),c(),S(27,"input",21),u(28,"mat-error"),v(29,S0e,2,1,"span"),v(30,T0e,2,1,"span"),v(31,I0e,2,1,"span"),v(32,A0e,2,3,"span"),c()(),u(33,"mat-form-field",20)(34,"mat-label"),h(35,"Dodatkowa tre\u015B\u0107"),c(),S(36,"input",27),u(37,"mat-error"),v(38,k0e,2,1,"span"),v(39,R0e,2,1,"span"),v(40,M0e,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 O0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.REQUIRED_ERROR_MESSAGE)}}function F0e(t,i){t&1&&(u(0,"span"),h(1,"Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza"),c())}function P0e(t,i){if(t&1&&(u(0,"span"),h(1),c()),t&2){let e=_();l(),x(e.REQUIRED_ERROR_MESSAGE)}}function L0e(t,i){t&1&&(u(0,"span"),h(1,"Data nie mo\u017Ce by\u0107 wcze\u015Bniejsza"),c())}function B0e(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 V0e=(()=>{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=Ih,this.ERRORS=tn,this.ADDITIONAL_MESSAGE_MAX_LENGTH=33,this.INVOICE_NUMBER_MAX_LENGTH=35,this.TITTLE_MESSAGE_MAX_LENGTH=140,this.chargeableAccounts=[],this.intervalUnits=R5,this.StandingOrderDialogTypeEnum=El,this.minStartDate=Yt(sa(new Date,1),He),this.minEndDate=Yt(sa(new Date,1),He),this.minExecutionDate=Yt(new Date,He),this.ButtonLabels=nt,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:Yt(new Date,He),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(Yt(sa(new Date,1),He),[G.required,xi.isBeforeToday]),this.endDateFC=new z(Yt(lD(sa(new Date,1),1),He),[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 Va;this.dialog.open(Ba,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=li.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===El.STANDARD?this.createStandingOrderStandard():this.createVatStandingOrder();this.apiService.addNewStandardStandingOrder(n).pipe(B(()=>this.orderDialogRef.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}disableFormFields(e,n){switch(e.type){case vr.STANDING_ORDER_OPENING:this.executionDateFC.disable();break;case vr.STANDING_ORDER_MODIFICATION:this.recipientFG.disable(),this.executionDateFC.enable(),this.startDateFC.disable();break;case vr.STANDING_ORDER_BREACH:this.recipientFG.disable(),this.amountFC.disable(),this.executionDateFC.enable(),this.chargeFG.disable(),this.chargeableAccountFC.enable();break;case Ec.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 vr.STANDING_ORDER_OPENING:let o=this.createStandingOrderByType(e);n=this.apiService.updateCreateDisposition(o);break;case vr.STANDING_ORDER_MODIFICATION:let a=this.createStandingOrderByType(e);
8003n=this.apiService.updateModifyDisposition(a);break;case vr.STANDING_ORDER_BREACH:let s=this.createStandingOrderByType(e);n=this.apiService.updateDeleteDisposition(s);break;case Ec.STANDING_ORDER:let d=e===El.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(B(()=>this.orderDialogRef.close(!0)),this.errorProviderService.processErrorWithLocalFormError(this)).subscribe()}createStandingOrderByType(e){return e===El.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===El.VAT&&this.allDataFG.setControl("contentVatFG",this.contentVatFG),this.dispositionType===El.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 vr.TRANSFER_COMMON:this.dispositionType=El.STANDARD;break;case vr.TRANSFER_VAT:this.dispositionType=El.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=vr.TRANSFER_COMMON),n}createVatStandingOrder(e){let n=this.createBasicStandingOrder(e);return e||(n.standingOrderType=vr.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)===vr.TRANSFER_COMMON?this.accountService.getChargeableAccounts():this.accountService.getChargeableVatAccounts()}setInitialFCValuesToChange(e){let n=null,r=null;yl.isBundle(e)?r=e.id:yl.isDispositionFromStandingOrder(e)?r=e.standingOrderId:n=e.id,this.apiService.getForEditById(n,r).pipe(B(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(Yt(new Date,He)),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===vr.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(Ge.EDITING_ERROR)).subscribe()}getChargedAccounts(e){return li.findAccountById(String(e.sourceAccountId),this.chargeableAccounts)||li.findAccountByIban(String(this.dataDetails?.sourceAccount),this.chargeableAccounts)}observeValues(){this.recipientAccount.valueChanges.pipe(xe(this.destroyed$),It(),B(()=>{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(lt),E(et),E(Vo),E(M5),E(Rt))}}static{this.\u0275cmp=A({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,_0e,2,0,"span"),v(5,b0e,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(),S(11,"app-recipant-input",5),c(),v(12,C0e,19,7,"app-dialog-section"),v(13,N0e,41,24,"app-dialog-section"),u(14,"app-dialog-section")(15,"app-dialog-section-header"),h(16,"Obci\u0105\u017Cenie"),c(),S(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(),S(23,"mat-datepicker-toggle",10)(24,"mat-datepicker",null,0),u(26,"mat-error"),v(27,O0e,2,1,"span"),v(28,F0e,2,0,"span"),c()(),u(29,"mat-form-field",8)(30,"mat-label"),h(31,"Data zako\u0144czenia"),c(),S(32,"input",11)(33,"mat-datepicker-toggle",10)(34,"mat-datepicker",null,1),u(36,"mat-error"),v(37,P0e,2,1,"span"),v(38,L0e,2,0,"span"),c()()(),u(39,"div",7)(40,"mat-form-field",8)(41,"mat-label"),h(42,"Wykonuj co:"),c(),S(43,"input",12),c(),u(44,"mat-form-field",8)(45,"mat-label"),h(46,"Okres:"),c(),u(47,"mat-select",13),Ue(48,B0e,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(),ze(r.intervalUnits),l(2),g("formControl",r.isActiveFC),l(2),g("withResetButton",!1)("confirmDisabled",r.isFormValid())("buttonLabelConfirm",r.ButtonLabels.SAVE)}},dependencies:[Ve,Ye,St,Ln,Qt,rr,zi,hi,Ri,tt,si,Mt,Nt,Ot,Cr,Or,Je,Fu,Xe,pn,$e,Bt,Pa,Xr,Zr,Tt,rf],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 j0e(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 EM=(()=>{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(Dh).openDialog(hn.US_CLO,sr.getFromTaxOffice(this.taxOffice),Me.NEW)}static{this.\u0275fac=function(n){return new(n||t)(E(lt),E(ie))}}static{this.\u0275cmp=A({type:t,selectors:[["app-tax-office-context-menu"]],viewQuery:function(n,r){if(n&1&&ve(bd,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&&(S(0,"div",1),u(1,"mat-menu",2,0),fe(3,j0e,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:[Qs,QC,bd,Ph],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 Sm=(function(t){return t.DATE_RANGE="DATE_RANGE",t.DAY="DAY",t.MONTH="MONTH",t})(Sm||{});var H0e=10,U0e=3,z0e=(()=>{class t{constructor(e){this.formBuilder=e,this.fromDatePattern=A1(M1(new Date,1)),this.SearchTypeEnum=Sm,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 Sm.DATE_RANGE:default:return{from:wn.formatDate(this.fromDateFC.value),to:wn.formatDate(this.toDateFC.value)};case Sm.DAY:return{from:Yt(UU(new Date,this.lastDaysFC.value),He),to:Yt(new Date,He)};case Sm.MONTH:return{from:Yt(A1(M1(new Date,this.lastMonthsFC.value)),He),to:Yt(new Date,He)}}}initDefaultValues(){this.searchTypeFC.patchValue(Sm.DATE_RANGE),this.fromDateFC.patchValue(wn.formatDate(this.fromDatePattern)),this.toDateFC.patchValue(Yt(new Date,He)),this.lastDaysFC.patchValue(H0e),this.lastMonthsFC.patchValue(U0e)}static{this.\u0275fac=function(n){return new(n||t)(E(Vi))}}static{this.\u0275cmp=A({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(),S(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(),S(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)}),S(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)}),S(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,Ye,Ln,GC,$C,WC,zi,hi,Ri,tt,ik,DC,jr,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 wM=(function(t){return t.PDF_FORMAT="application/pdf",t.JPEG_FORMAT="image/jpeg",t.PNG_FORMAT="image/png",t})(wM||{});var Tw=class{constructor(i,e){this.format=i,this.acceptedFilesFormats=e}validate(){if(!this.acceptedFilesFormats)throw new am("acceptedFilesFormats",this.acceptedFilesFormats);if(!this.acceptedFilesFormats.includes(this.translateFormatFile(this.format)))throw new am("file format",this.format)}translateFormatFile(i){if(i==="application/pdf")return wM.PDF_FORMAT;throw new tE(i)}};var G0e=(()=>{class t{constructor(e){this.notificationService=e,this.loadedData=new V,this.MAX_FILE_SIZE_IN_MB=5,this.textOnButton=V1}ngOnChanges(){this.isFileUploaded?this.textOnButton=B1:this.textOnButton=V1}chooseFileFromGUI(e){let n=e.target;if(this.fileToUpload=n.files[0],this.fileToUpload)if(this.isProperFileSize(this.fileToUpload))try{new Tw(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=B1}else this.notificationService.error(Ge.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 ka("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=A({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:[Bn,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 N5=Si(mm());var W0e=(()=>{class t{constructor(e){this.control=e}onInputChange(e){let n=this.control.control;if(!n)return;let r=n.value,o=(0,N5.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 O5=Si(Kr());var wc=(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})(wc||{});var vb=(function(t){return t.CAN_SIGN="CAN_SIGN",t.CAN_NOT_SIGN="CAN_NOT_SIGN",t.I_SIGNED="I_SIGNED",t})(vb||{});var Iw=class t{transform(i,e,n){let r=n??i;if(e===vb.CAN_NOT_SIGN)return r===jn.SIGNED?wc.READY_TO_EXECUTION:wc.DURING_SIGNING;switch(r){case jn.ACCEPTED:return e===vb.I_SIGNED?wc.SIGNED_BY_ME:wc.TO_SIGN;case jn.IN_SIGNING:return e===vb.CAN_SIGN?wc.HALF_SIGNED:wc.SIGNED_BY_ME;case jn.SIGNED:return wc.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,O5.default)({resolver:(t,i,e)=>({state:t,signState:i,bundleState:e})})],Iw.prototype,"transform",null);var F5=Si(Kr());var ja=(function(t){return t.ALL="",t.CREDIT="CREDIT",t.DEBIT="DEBIT",t})(ja||{}),nLt=[{value:ja.ALL.toString(),viewValue:"Wszystkie"},{value:ja.DEBIT.toString(),viewValue:"Debetowe"},{value:ja.CREDIT.toString(),viewValue:"Kredytowe"}],xM=[{value:ja.DEBIT.toString(),viewValue:"Debetowa"},{value:ja.CREDIT.toString(),viewValue:"Kredytowa"}];var cf=class t{transform(i){switch(i){case ja.DEBIT:return xM[0].viewValue;case ja.CREDIT:return xM[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,F5.default)()],cf.prototype,"transform",null);var $0e=(()=>{class t{transform(e){return e===ja.DEBIT||e===ja.CREDIT?new cf().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 Y0e=(()=>{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 P5=Si(Kr());var yb=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,P5.default)()],yb.prototype,"transform",null);
8004var Aw=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 q0e=(()=>{class t{transform(e){return Aw.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 L5=Si(Kr());var Cb=(function(t){return t.NEW="W trakcie realizacji",t.COMPLETED="Zrealizowana",t.REJECTED="Odrzucona",t})(Cb||{});var df=class t{transform(i,e=!0){if(e)switch(i){case ua.NEW:return Cb.NEW;case ua.COMPLETED:return Cb.COMPLETED;case ua.REJECTED:return Cb.REJECTED;default:return""}else switch(i){case ua.NEW:return ua.NEW;case ua.COMPLETED:return ua.COMPLETED;case ua.REJECTED:return ua.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,L5.default)({resolver:(t,i)=>({state:t,useSimplifiedLabels:i})})],df.prototype,"transform",null);var B5=Si(Kr());var cr=(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})(cr||{});var kw=class t{transform(i,e=!1){switch(i){case xn.PRZELEW_ZWYKLY:return e?cr.TRANSFER_COMMON+" sorbnet":cr.TRANSFER_COMMON;case xn.PRZELEW_US:return cr.TRANSFER_US;case xn.PRZELEW_ZUS:return cr.TRANSFER_ZUS;case xn.PRZELEW_ZAGRANICZNY:return cr.TRANSFER_INTERNATIONAL;case xn.LOKATA_ZALOZENIE:return cr.DEPOSIT_OPENING;case xn.LOKATA_MODYFIKACJA:return cr.DEPOSIT_MODIFICATION;case xn.LOKATA_ZERWANIE:return cr.DEPOSIT_BREACH;case xn.ZLECENIE_STALE_ZALOZENIE:case vr.STANDING_ORDER_OPENING:return cr.STANDING_ORDER_OPENING;case xn.ZLECENIE_STALE_MODYFIKACJA:case vr.STANDING_ORDER_MODIFICATION:return cr.STANDING_ORDER_MODIFICATION;case xn.ZLECENIE_STALE_ZERWANIE:case vr.STANDING_ORDER_BREACH:return cr.STANDING_ORDER_BREACH;case xn.DOLADOWANIE_GSM:return cr.GSM_TOP_UP;case xn.PRZELEW_EKSPRES:return cr.TRANSFER_INSTANT;case xn.PRZELEW_DEALING_BPS:return cr.TRANSFER_DEALING_BPS;case xn.PRZELEW_VAT:return e?cr.TRANSFER_VAT+" sorbnet":cr.TRANSFER_VAT;case xn.PRZELEW_VAT_ZASILENIE:return cr.TRANSFER_VAT_TOP_UP;case Ec.STANDING_ORDER:return lf.STANDING_ORDER;case Ec.TRANSFER:return lf.TRANSFER;case Ec.DEPOSIT:return lf.DEPOSIT;case Ec.TOPUP:return lf.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,B5.default)({resolver:(t,i)=>({type:t,sorbnet:i})})],kw.prototype,"transform",null);var V5=(()=>{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 j5=Si(mm());var K0e=(()=>{class t{transform(e){return e?(0,j5.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 H5=Si(Kr());var Rw=class t{transform(i,e=!0,n=!1,r){return r||n?new Hh().transform(i,e):new df().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,H5.default)({resolver:(t,i,e,n)=>({state:t,useSimplifiedLabels:i,virtual:e,dispositions:n})})],Rw.prototype,"transform",null);var X0e=(()=>{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 U5=Si(Kr());var Mw=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 fh.CASH:return"Got\xF3wkowy";case fh.WITHOUT_CASH:return"Bezgot\xF3wkowy";case fh.TOGETHER:return"Pe\u0142ny";case fh.INTERNET:return"Internetowy";default:return this.UNKNOWN}}getLimitPeriodName(i){switch(i){case z_.DAILY:return"Dzienny";case z_.MONTHLY:return"Miesi\u0119czny";case z_.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,U5.default)()],Mw.prototype,"transform",null);var z5=Si(Kr());var Ds=(function(t){return t.HIGH="HIGH",t.NORMAL="NORMAL",t.LOW="LOW",t})(Ds||{}),Nw=new Map([[Ds.HIGH,"Wysoki"],[Ds.NORMAL,"Normalny"],[Ds.LOW,"Niski"]]);var Ow=class t{transform(i){switch(i){case Ds.HIGH:return Nw.get(Ds.HIGH);case Ds.NORMAL:return Nw.get(Ds.NORMAL);case Ds.LOW:return Nw.get(Ds.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,z5.default)()],Ow.prototype,"transform",null);var G5=Si(mm());var Z0e=(()=>{class t{transform(e){return e?(0,G5.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 W5=Si(mm());var Q0e=(()=>{class t{transform(e){return new RegExp(/^\d+$/).test(e)?this.transformPhone(e):""}transformPhone(e){return"+48 "+(0,W5.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 J0e=(()=>{class t{constructor(){this.NEW_LINE=` 8005`}transform(e){return e?this.format(e):""}format(e){return this.isMultiline(e)?this.formatMultiline(e):li.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>${li.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 eye=(()=>{class t{transform(e,n=He){if(!e)return"";let r=cD(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 tye=(()=>{class t{transform(e){return e!==Ud.POSITIVE&&e!==Ud.NO_CHECK&&e!==Cs.REGISTERED&&e!==Cs.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 nye=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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),x(r.data.successCount),l(4),x(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 iye(t,i){if(t&1&&(u(0,"p",0),h(1),c()),t&2){let e=i.$implicit;l(),x(e)}}var rye=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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(),Ue(12,iye,2,1,"p",0,at),c()()),n&2&&(l(4),x(r.data.successCount),l(4),x(r.data.invalidCount),l(4),ze(r.data.errorMessages))},encapsulation:2})}}return t})();var oye=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({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),x(r.data.successCount),l(4),x(r.data.invalidCount))},encapsulation:2})}}return t})();var vVt=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=q({providers:[{provide:Ze,useValue:{}},{provide:et,useValue:{}}],imports:[L1,XR,KR,Xc,JI,is,mM,Fh,L1,XR,KR,Xc,JI,is,mM]})}}return t})();Kc(Ba,[Ve,Ye,ic,rc,_d,tt,em,bo,kr,Js,el,nl,al,il,tl,sl,rl,ol,ll,cl,Zs,rb,Mt,Nt,Ot,Cr,dr,jr,Je,Xe,Ai,$e,qn,Bt,vi,D5,Tt,fG,Ph,yw],[qt,yb]);Kc(FE,[Ve,Ye,Ln,Qu,zi,hi,Ri,ic,rc,_d,tt,bo,kr,Js,el,nl,al,il,tl,sl,rl,ol,ll,cl,Fd,Pd,Ld,rb,Bd,dr,jr,Je,Xe,Ai,ed,$e,qn,Bt,vi,Tt,EM],[qt]);Kc(Nd,[Ve,Ye,Ln,Qu,zi,hi,Ri,ic,rc,_d,tt,bo,kr,Js,el,nl,al,il,tl,sl,rl,ol,ll,cl,Fd,Pd,Ld,rb,Bd,dr,jr,Je,Xe,Ai,ed,$e,qn,Bt,vi,Tt,EM],[qt]);Kc(sf,[Ve,Ye,St,Ln,Qt,rr,zi,hi,Ri,tt,si,Mt,Nt,Ot,Cr,Or,Je,Xe,pn,Bi,$e,Bt,ym,Pa,Xr,Zr,Tt,rf,vw,Cm],[er]);Kc(Cw,[Ve,Ye,St,Ln,Qt,rr,zi,hi,Ri,tt,si,Zs,Mt,Nt,Ot,Cr,Or,dr,Je,Xe,Ai,pn,Bi,$e,qn,Pu,Bt,Fh,Pa,Xr,Zr,vi,Tt,rf,vw],[er,EG,V5]);
8005Kc(Dw,[Ve,Ye,St,Ln,rr,zi,hi,Ri,tt,Mt,Nt,Ot,Cr,Or,Je,Xe,pn,$e,Bt,ym,Pa,Xr,Zr,Tt,rf,vw,Cm],[er]);var Fw=class{constructor(i,e){this.name=i,this.bytes=e}fromFile(i){this.name=i.name,this.bytes=i}};var Pw=class extends Fw{constructor(i,e){super(" ",i),this.variant=e}},aye=(function(t){return t[t.FULLY_WIDE=0]="FULLY_WIDE",t[t.HALF_PAGE=1]="HALF_PAGE",t})(aye||{});var IVt=(()=>{class t{constructor(e){this.http=e}getLogoData(){let e=this.getLogoMetadata(),n=this.getLogoImage();return on([e,n]).pipe($(([r,o])=>new Pw(o,r.variant)))}getLogoMetadata(){return this.http.get(J1)}getLogoImage(){return this.http.get(Iz,{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,ke as b,Q5 as c,IM as d,Si as e,Rn as f,_e as g,O as h,zt as i,Ae as j,Sn as k,gn as l,L as m,rn as n,DW as o,$ as p,on as q,ii as r,vf as s,Al as t,VW as u,mt as v,ae as w,je as x,zW as y,Ss as z,fi as A,We as B,It as C,ev as D,Qr as E,Jr as F,W as G,xe as H,B as I,ce as J,D as K,q as L,F as M,m as N,te as O,ne as P,ie as Q,Ce as R,un as S,V as T,le as U,Z as V,ro as W,Ke as X,Q as Y,ng as Z,Su as _,OF as $,H$ as aa,Yo as ba,l as ca,Et as da,Zt as ea,gi as fa,ot as ga,E as ha,A as ia,X as ja,N as ka,pe as la,he as ma,fe as na,T0 as oa,cg as pa,oe as qa,v as ra,y as sa,YP as ta,at as ua,Ue as va,ze as wa,g as xa,u as ya,c as za,S as Aa,ft as Ba,_t as Ca,_i as Da,Cn as Ea,Dn as Fa,Di as Ga,Se as Ha,T as Ia,Bs as Ja,_ as Ka,Ie as La,re as Ma,ve as Na,H as Oa,U as Pa,A0 as Qa,Yc as Ra,qc as Sa,ye as Ta,Fn as Ua,ee as Va,Be as Wa,h as Xa,x as Ya,se as Za,lo as _a,dL as $a,mL as ab,B9 as bb,V9 as cb,ri as db,Hl as eb,me as fb,co as gb,z9 as hb,be as ib,Fe as jb,wr as kb,dp as lb,ba as mb,Wt as nb,Ct as ob,rFe as pb,uo as qb,Vs as rb,OL as
8005sb,oFe as tb,aFe as ub,sFe as vb,Ee as wb,Y as xb,ts as yb,EI as zb,dr as Ab,ku as Bb,er as Cb,$Y as Db,mn as Eb,Xc as Fb,MPe as Gb,OI as Hb,Dq as Ib,xq as Jb,Qc as Kb,rt as Lb,Eg as Mb,Zc as Nb,A2 as Ob,M2 as Pb,ge as Qb,zq as Rb,Gq as Sb,Wq as Tb,Nu as Ub,ht as Vb,Je as Wb,G as Xb,Xe as Yb,Ai as Zb,Ou as _b,Qn as $b,_p as ac,mo as bc,z as cc,jr as dc,vy as ec,l2e as fc,$e as gc,Pu as hc,qn as ic,pn as jc,Bi as kc,Vi as lc,JI as mc,is as nc,ql as oc,wA as pc,Sr as qc,Qy as rc,JX as sc,rZ as tc,ml as uc,roe as vc,Ut as wc,U_ as xc,_it as yc,yit as zc,Eit as Ac,Sit as Bc,vo as Cc,Kit as Dc,nrt as Ec,dt as Fc,fh as Gc,vrt as Hc,xrt as Ic,Rrt as Jc,Prt as Kc,No as Lc,Urt as Mc,br as Nc,Grt as Oc,Wrt as Pc,$rt as Qc,Yrt as Rc,qrt as Sc,ooe as Tc,aoe as Uc,soe as Vc,loe as Wc,coe as Xc,doe as Yc,uoe as Zc,Dt as _c,iot as $c,dot as ad,_ot as bd,wot as cd,kot as dd,moe as ed,poe as fd,jot as gd,$n as hd,Fo as id,Jt as jd,Ze as kd,et as ld,lt as md,ih as nd,fd as od,gd as pd,nc as qd,Ge as rd,sh as sd,kn as td,Yt as ud,yd as vd,UU as wd,j_ as xd,M1 as yd,Wi as zd,Ur as Ad,gr as Bd,Hi as Cd,Bn as Dd,Ar as Ed,xd as Fd,rE as Gd,NH as Hd,Wn as Id,T_ as Jd,oh as Kd,nm as Ld,vi as Md,Le as Nd,Yr as Od,fn as Pd,Td as Qd,pm as Rd,qr as Sd,tn as Td,EE as Ud,vr as Vd,xn as Wd,mm as Xd,j1 as Yd,jnt as Zd,ue as _d,S3 as $d,X_ as ae,q_ as be,Wlt as ce,bt as de,Kr as ee,dc as fe,li as ge,uR as he,Eh as ie,Rt as je,ci as ke,Ye as le,St as me,Dk as ne,Ln as oe,Ve as pe,Gr as qe,tt as re,ms as se,pr as te,Qt as ue,si as ve,tm as we,vs as xe,_l as ye,rr as ze,D_ as Ae,ez as Be,tz as Ce,nz as De,ka as Ee,iz as Fe,rz as Ge,He,Gtt as Ie,fs as Je,wn as Ke,Ma as Le,Id as Me,eb as Ne,nG as Oe,Rp as Pe,aBe as Qe,sBe as Re,lBe as Se,cBe as Te,dBe as Ue,uBe as Ve,mBe as We,pBe as Xe,hBe as Ye,fBe as Ze,gBe as _e,_Be as $e,bBe as af,vBe as bf,yBe as cf,CBe as df,DBe as ef,EBe as ff,wBe as gf,xBe as hf,SBe as if,TBe as jf,IBe as kf,Jy as lf,eC as mf,uV as nf,mV as of,ABe as pf,kBe as qf,RBe as rf,jat as sf,Ed as tf,Hat as uf,Uat as vf,zat as wf,Gat as xf,Wat as yf,$at as zf,Yat as Af,bh as Bf,qat as Cf,Kat as Df,Xat as Ef,Zat as Ff,Qat as Gf,Jat as Hf,W_ as If,est as Jf,tst as Kf,nst as Lf,yoe as Mf,ist as Nf,Z1 as Of,rst as Pf,ost as Qf,ast as Rf,sst as Sf,lst as Tf,cst as Uf,dst as Vf,ust as Wf,mst as Xf,pst as Yf,hst as Zf,fst as _f,gst as $f,vh as ag,yh as bg,_st as cg,bst as dg,Vz as eg,jz as fg,vst as gg,yst as hg,Cst as ig,eR as jg,Dst as kg,Est as lg,wst as mg,xst as ng,Y_ as og,Sst as pg,Tst as qg,Ist as rg,Ast as sg,kst as tg,Rst as ug,Mst as vg,Nst as wg,Ost as xg,Fst as yg,Pst as zg,bE as Ag,Lst as Bg,woe as Cg,Bst as Dg,Vst as Eg,jst as Fg,vE as Gg,Hst as Hg,Ust as Ig,zst as Jg,Gst as Kg,yo as Lg,Wst as Mg,$st as Ng,Yst as Og,qst as Pg,Kst as Qg,Xst as Rg,Zst as Sg,Qst as Tg,Jst as Ug,elt as Vg,tlt as Wg,nlt as Xg,ilt as Yg,rlt as Zg,olt as _g,alt as $g,slt as ah,Ra as bh,llt as ch,clt as dh,dlt as eh,ult as fh,mlt as gh,plt as hh,hlt as ih,flt as jh,glt as kh,_lt as lh,blt as mh,vlt as nh,ylt as oh,Clt as ph,Dlt as qh,Elt as rh,wlt as sh,xlt as th,Slt as uh,Tlt as vh,Ilt as wh,AE as xh,oG as yh,aG as zh,RE as Ah,NR as Bh,od as Ch,wi as Dh,a_t as Eh,Imt as Fh,Amt as Gh,kmt as Hh,Rmt as Ih,Mmt as Jh,Nmt as Kh,Omt as Lh,Fmt as Mh,Pmt as Nh,Lmt as Oh,Bmt as Ph,Vmt as Qh,jmt as Rh,Hmt as Sh,Umt as Th,zmt as Uh,Gmt as Vh,Wmt as Wh,$mt as Xh,Ymt as Yh,qmt as Zh,Kmt as _h,Xmt as $h,Zmt as ai,Qmt as bi,P3 as ci,Jmt as di,nt as ei,qA as fi,Mt as gi,Nt as hi,zoe as ii,Ot as ji,Cr as ki,Or as li,Goe as mi,fR as ni,Woe as oi,M3 as pi,gR as qi,Tt as ri,cG as si,Zs as ti,zi as ui,hi as vi,Ri as wi,Kk as xi,lG as yi,KR as zi,Oj as Ai,U4e as Bi,GC as Ci,WC as Di,Qu as Ei,Nk as Fi,i8e as Gi,S_ as Hi,ic as Ii,rc as Ji,_d as Ki,P8e as Li,p6e as Mi,fte as Ni,h6e as Oi,_te as Pi,em as Qi,QC as Ri,Qs as Si,bd as Ti,s1 as Ui,k_ as Vi,bo as Wi,ik as Xi,DC as Yi,rk as Zi,ZH as _i,une as $i,D9e as aj,kr as bj,Js as cj,M_ as dj,el as ej,tl as fj,nl as gj,il as hj,rl as ij,ol as jj,al as kj,sl as lj,ll as mj,cl as nj,N_ as oj,Xne as pj,Zne as qj,fqe as rj,x1 as sj,iU as tj,rU as uj,L1 as vj,pG as wj,Eyt as xj,_m as yj,qce as zj,Kce as Aj,J_ as Bj,uc as Cj,kd as Dj,ca as Ej,Sbt as Fj,Po as Gj,Abt as Hj,Xt as Ij,Mi as Jj,Me as Kj,Dh as Lj,hn as Mj,sr as Nj,yr as Oj,hR as Pj,Ph as Qj,fG as Rj,qt as Sj,Kt as Tj,gl as Uj,fmt as Vj,IE as Wj,Na as Xj,rpt as Yj,opt as Zj,apt as _j,spt as $j,wh as ak,Oa as bk,FE as ck,FR as dk,Xr as ek,TE as fk,LE as gk,Fd as hk,Pd as ik,ece as jk,Ld as kk,tce as lk,Bd as mk,nce as nk,rb as ok,uG as pk,HE as qk,jR as rk,bm as sk,de as tk,vm as uk,bl as vk,HR as wk,ab as xk,Bh as yk,Vh as zk,Cs as Ak,Ud as Bk,zR as Ck,ua as Dk,yl as Ek,lb as Fk,GR as Gk,vde as Hk,yde as Ik,xi as Jk,Cl as Kk,Bo as Lk,Vo as Mk,zd as Nk,ym as Ok,Pa as Pk,jn as Qk,Hh as Rk,db as Sk,YE as Tk,TG as Uk,Nue as Vk,cwt as Wk,Hue as Xk,dwt as Yk,dge as Zk,bw as _k,r_e as $k,D5 as al,pM as bl,p_e as cl,g_e as dl,S_e as el,Ba as fl,j_e as gl,z_e as hl,yw as il,obe as jl,_M as kl,E5 as ll,xm as ml,w5 as nl,x5 as ol,S5 as pl,Va as ql,Xd as rl,sf as sl,I5 as tl,A5 as ul,k5 as vl,h0e as wl,f0e as xl,Ec as yl,M5 as zl,V0e as Al,z0e as Bl,wM as Cl,G0e as Dl,W0e as El,vb as Fl,Iw as Gl,ja as Hl,$0e as Il,Y0e as Jl,yb as Kl,Aw as Ll,q0e as Ml,kw as Nl,V5 as Ol,K0e as Pl,Rw as Ql,X0e as Rl,Mw as Sl,Ds as Tl,Ow as Ul,Z0e as Vl,Q0e as Wl,J0e as Xl,eye as Yl,tye as Zl,nye as _l,rye as $l,oye as am,vVt as bm,aye as cm,IVt as dm};
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.