PageSourceSearch

https://www.4rent.be/DesktopModules/duotix.Beheer/Skins/App/frn-afmelden/main.js?v=0.0.58

js 4rent.be collected 2026-10-06 02:35:42 UTC 827,521 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkfrn_afmelden=self.webpackChunkfrn_afmelden||[]).push([[792],{670:(ec,tc,Gr)=>{function fn(e,t){return Object.is(e,t)}let ct=null,Wr=!1,es=1;const Ue=Symbol("SIGNAL");function Z(e){const t=ct;return ct=e,t}const Ba={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function nc(e){if(Wr)throw new Error("");if(null===ct)return;ct.consumerOnSignalRead(e);const t=ct.nextProducerIndex++;sc(ct),t<ct.producerNode.length&&ct.producerNode[t]!==e&&qa(ct)&&oc(ct.producerNode[t],ct.producerIndexOfThis[t]),ct.producerNode[t]!==e&&(ct.producerNode[t]=e,ct.producerIndexOfThis[t]=qa(ct)?ry(e,ct,t):0),ct.producerLastReadVersion[t]=e.version}function ey(e){if((!qa(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==es)){if(!e.producerMustRecompute(e)&&!Vf(e))return e.dirty=!1,void(e.lastCleanEpoch=es);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=es}}function ty(e){if(void 0===e.liveConsumerNode)return;const t=Wr;Wr=!0;try{for(const n of e.liveConsumerNode)n.dirty||ny(n)}finally{Wr=t}}function iy(){var e;return!1!==(null===(e=ct)||void 0===e?void 0:e.consumerAllowSignalWrites)}function ny(e){var t;e.dirty=!0,ty(e),null===(t=e.consumerMarkedDirty)||void 0===t||t.call(e,e)}function rc(e){return e&&(e.nextProducerIndex=0),Z(e)}function Of(e,t){if(Z(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(qa(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)oc(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Vf(e){sc(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(ey(n),i!==n.version))return!0}return!1}function jf(e){if(sc(e),qa(e))for(let t=0;t<e.producerNode.length;t++)oc(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function ry(e,t,n){if(oy(e),0===e.liveConsumerNode.length&&sy(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=ry(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function oc(e,t){if(oy(e),1===e.liveConsumerNode.length&&sy(e))for(let i=0;i<e.producerNode.length;i++)oc(e.producerNode[i],e.producerIndexOfThis[i]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];sc(r),r.producerIndexOfThis[i]=t}}function qa(e){var t,n;return e.consumerIsAlwaysLive||(null!==(t=null==e||null===(n=e.liveConsumerNode)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0}function sc(e){var t,n,i;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(n=e.producerIndexOfThis)&&void 0!==n||(e.producerIndexOfThis=[]),null!==(i=e.producerLastReadVersion)&&void 0!==i||(e.producerLastReadVersion=[])}function oy(e){var t,n;null!==(t=e.liveConsumerNode)&&void 0!==t||(e.liveConsumerNode=[]),null!==(n=e.liveConsumerIndexOfThis)&&void 0!==n||(e.liveConsumerIndexOfThis=[])}function sy(e){return void 0!==e.producerNode}const Bf=Symbol("UNSET"),qf=Symbol("COMPUTING"),ac=Symbol("ERRORED"),Ik={...Ba,value:Bf,dirty:!0,error:null,equal:fn,producerMustRecompute:e=>e.value===Bf||e.value===qf,producerRecomputeValue(e){if(e.value===qf)throw new Error("Detected cycle in computations.");const t=e.value;e.value=qf;const n=rc(e);let i;try{i=e.computation()}catch(r){i=ac,e.error=r}finally{Of(e,n)}t!==Bf&&t!==ac&&i!==ac&&e.equal(t,i)?e.value=t:(e.value=i,e.version++)}};let ay=function Tk(){throw new Error};function ly(){ay()}let lc=null;function zf(e,t){iy()||ly(),e.equal(e.value,t)||(e.value=t,function Pk(e){var t;e.version++,function Mk(){es++}(),ty(e),null===(t=lc)||void 0===t||t()}(e))}const dy={...Ba,equal:fn,value:void 0};const Uf=()=>{},Nk={...Ba,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Uf};function Te(e){return"function"==typeof e}function $f(e){const n=e(i=>{Error.call(i),i.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Hf=$f(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function dc(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Xe{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}
vendor: 5,260 bytes, line 1
1unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(Te(i))try{i()}catch(o){t=o instanceof Hf?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{hy(o)}catch(s){t=null!=t?t:[],s instanceof Hf?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Hf(t)}}add(t){var n;if(t&&t!==this)if(this.closed)hy(t);else{if(t instanceof Xe){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&dc(n,t)}remove(t){const{_finalizers:n}=this;n&&dc(n,t),t instanceof Xe&&t._removeParent(this)}}Xe.EMPTY=(()=>{const e=new Xe;return e.closed=!0,e})();const cy=Xe.EMPTY;function uy(e){return e instanceof Xe||e&&"closed"in e&&Te(e.remove)&&Te(e.add)&&Te(e.unsubscribe)}function hy(e){Te(e)?e():e.unsubscribe()}const Yr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},cc={setTimeout(e,t,...n){const{delegate:i}=cc;return null!=i&&i.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=cc;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function fy(e){cc.setTimeout(()=>{const{onUnhandledError:t}=Yr;if(!t)throw e;t(e)})}function uc(){}const Lk=Gf("C",void 0,void 0);function Gf(e,t,n){return{kind:e,value:t,error:n}}let Zr=null;function hc(e){if(Yr.useDeprecatedSynchronousErrorHandling){const t=!Zr;if(t&&(Zr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=Zr;if(Zr=null,n)throw i}}else e()}class Wf extends Xe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,uy(t)&&t.add(this)):this.destination=Uk}static create(t,n,i){return new ts(t,n,i)}next(t){this.isStopped?Zf(function Vk(e){return Gf("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Zf(function Ok(e){return Gf("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Zf(Lk,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Bk=Function.prototype.bind;function Yf(e,t){return Bk.call(e,t)}class qk{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){fc(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){fc(i)}else fc(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){fc(n)}}}class ts extends Wf{constructor(t,n,i){let r;if(super(),Te(t)||!t)r={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=i?i:void 0};else{let o;this&&Yr.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Yf(t.next,o),error:t.error&&Yf(t.error,o),complete:t.complete&&Yf(t.complete,o)}):r=t}this.destination=new qk(r)}}function fc(e){Yr.useDeprecatedSynchronousErrorHandling?function jk(e){Yr.useDeprecatedSynchronousErrorHandling&&Zr&&(Zr.errorThrown=!0,Zr.error=e)}(e):fy(e)}function Zf(e,t){const{onStoppedNotification:n}=Yr;n&&cc.setTimeout(()=>n(e,t))}const Uk={closed:!0,next:uc,error:function zk(e){throw e},complete:uc},Kf="function"==typeof Symbol&&Symbol.observable||"@@observable";function Un(e){return e}function py(e){return 0===e.length?Un:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}let Ae=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){const o=function Gk(e){return e&&e instanceof Wf||function Hk(e){return e&&Te(e.next)&&Te(e.error)&&Te(e.complete)}(e)&&uy(e)}(n)?n:new ts(n,i,r);return hc(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=my(i))((r,o)=>{const s=new ts({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[Kf](){return this}pipe(...n){return py(n)(this)}toPromise(n){return new(n=my(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function my(e){var t;return null!==(t=null!=e?e:Yr.Promise)&&void 0!==t?t:Promise}const Wk=$f(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ce=(()=>{class e extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new _y(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Wk}next(n){hc(()=>
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){hc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){hc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:i,isStopped:r,observers:o}=this;return i||r?cy:(this.currentObservers=null,o.push(n),new Xe(()=>{this.currentObservers=null,dc(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new Ae;return n.source=this,n}}return e.create=(t,n)=>new _y(t,n),e})();class _y extends Ce{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===i||i.call(n,t)}error(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===i||i.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,i;return null!==(i=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==i?i:cy}}class Gt extends Ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function gy(e){return Te(null==e?void 0:e.lift)}function lt(e){return t=>{if(gy(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function We(e,t,n,i,r){return new Yk(e,t,n,i,r)}class Yk extends Wf{constructor(t,n,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function H(e,t){return lt((n,i)=>{let r=0;n.subscribe(We(i,o=>{i.next(e.call(t,o,r++))}))})}var is,za;const yy="https://g.co/ng/security#xss";class L extends Error{constructor(t,n){super(function ns(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const pc=Symbol("InputSignalNode#UNSET"),Cy={...dy,transformFn:void 0,applyValueToInputSignal(e,t){zf(e,t)}};function by(e,t){const n=Object.create(Cy);function i(){if(nc(n),n.value===pc)throw new L(-950,!1);return n.value}return n.value=e,n.transformFn=null==t?void 0:t.transform,i[Ue]=n,i}function $n(e){return{toString:e}.toString()}const os="__parameters__";function as(e,t,n){return $n(()=>{const i=function Qf(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,d,c){const u=l.hasOwnProperty(os)?l[os]:Object.defineProperty(l,os,{value:[]})[os];for(;u.length<=c;)u.push(null);return(u[c]=u[c]||[]).push(s),l}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Je=globalThis;function Oe(e){for(let t in e)if(e[t]===Oe)return t;throw Error("Could not find renamed property on target object.")}function Zk(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function wt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(wt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Xf(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Kk=Oe({__forward_ref__:Oe});function Le(e){return e.__forward_ref__=Le,e.toString=function(){return wt(this())},e}
1function ne(e){return mc(e)?e():e}function mc(e){return"function"==typeof e&&e.hasOwnProperty(Kk)&&e.__forward_ref__===Le}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function De(e){return{providers:e.providers||[],imports:e.imports||[]}}function _c(e){return wy(e,vc)||wy(e,Dy)}function wy(e,t){return e.hasOwnProperty(t)?e[t]:null}function gc(e){return e&&(e.hasOwnProperty(Jf)||e.hasOwnProperty(n2))?e[Jf]:null}const vc=Oe({\u0275prov:Oe}),Jf=Oe({\u0275inj:Oe}),Dy=Oe({ngInjectableDef:Oe}),n2=Oe({ngInjectorDef:Oe});class R{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function rp(e){return e&&!!e.\u0275providers}const Ua=Oe({\u0275cmp:Oe}),op=Oe({\u0275dir:Oe}),sp=Oe({\u0275pipe:Oe}),My=Oe({\u0275mod:Oe}),Hn=Oe({\u0275fac:Oe}),$a=Oe({__NG_ELEMENT_ID__:Oe}),Ey=Oe({__NG_ENV_ID__:Oe});function ae(e){return"string"==typeof e?e:null==e?"":String(e)}function ap(e,t){throw new L(-201,!1)}var _e=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_e||{});let lp;function Iy(){return lp}function pi(e){const t=lp;return lp=e,t}function Ty(e,t,n){const i=_c(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&_e.Optional?null:void 0!==t?t:void ap()}const Ha={},dp="__NG_DI_FLAG__",yc="ngTempTokenPath",d2=/\n/gm,Ay="__source";let ls;function fr(e){const t=ls;return ls=e,t}function h2(e,t=_e.Default){if(void 0===ls)throw new L(-203,!1);return null===ls?Ty(e,void 0,t):ls.get(e,t&_e.Optional?null:void 0,t)}function k(e,t=_e.Default){return(Iy()||h2)(ne(e),t)}function S(e,t=_e.Default){return k(e,Cc(t))}function Cc(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function cp(e){const t=[];for(let n=0;n<e.length;n++){const i=ne(e[n]);if(Array.isArray(i)){if(0===i.length)throw new L(900,!1);let r,o=_e.Default;for(let s=0;s<i.length;s++){const a=i[s],l=f2(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}t.push(k(r,o))}else t.push(k(i))}return t}function Ga(e,t){return e[dp]=t,e.prototype[dp]=t,e}function f2(e){return e[dp]}const bc=Ga(as("Optional"),8),xc=Ga(as("SkipSelf"),4);function Kr(e,t){return e.hasOwnProperty(Hn)?e[Hn]:null}function ds(e,t){e.forEach(n=>Array.isArray(n)?ds(n,t):t(n))}function ky(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Di(e,t,n){let i=cs(e,t);return i>=0?e[1|i]=n:(i=~i,function Py(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function hp(e,t){const n=cs(e,t);if(n>=0)return e[1|n]}function cs(e,t){return function Ry(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<n];if(t===s)return o<<n;s>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const pn={},Se=[],mn=new R(""),Ny=new R("",-1),fp=new R("");class Sc{get(t,n=Ha){if(n===Ha){const i=new Error(`NullInjectorError: No provider for ${wt(t)}!`);throw i.name="NullInjectorError",i}return n}}var Mc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Mc||{}),Ki=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ki||{}),pr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(pr||{});function C2(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}function pp(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],s=n[i++],a=n[i++];e.setAttribute(t,s,a,o)}else{const o=r,s=n[++i];Oy(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),i++}}return i}function Ly(e){return 3===e||4===e||6===e}function Oy(e){return 64===e.charCodeAt(0)}function Wa(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Vy(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Vy(e,t,n,i,r){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const jy="ng-template";function b2(e,t,n,i){let r=0;if(i){for(;r<t.length&&"string"==typeof t[r];r+=2)if("class"===t[r]&&-1!==C2(t[r+1].toLowerCase(),n,0))return!0}else if(mp(e))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&"string"==typeof(o=t[r]);)if(o.toLowerCase()===n)return!0}return!1}function mp(e){return 4===e.type&&e.value!==jy}function x2(e,t,n){return t===(4!==e.type||n?e.value:jy)}function w2(e,t,n){let i=4;const r=e.attrs,o=null!==r?function M2(e){for(let t=0;t<e.length;t++)if(Ly(e[t]))return t;return e.length}(r):0;let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!x2(e,l,n)||""===l&&1===t.length){if(Qi(i))return!1;s=!0}}
vendor: 1,256 bytes, line 1
1else if(8&i){if(null===r||!b2(e,r,l,n)){if(Qi(i))return!1;s=!0}}else{const d=t[++a],c=D2(l,r,mp(e),n);if(-1===c){if(Qi(i))return!1;s=!0;continue}if(""!==d){let u;if(u=c>o?"":r[c+1].toLowerCase(),2&i&&d!==u){if(Qi(i))return!1;s=!0}}}}else{if(!s&&!Qi(i)&&!Qi(l))return!1;if(s&&Qi(l))continue;s=!1,i=l|1&i}}return Qi(i)||s}function Qi(e){return!(1&e)}function D2(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const s=t[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function E2(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function By(e,t,n=!1){for(let i=0;i<t.length;i++)if(w2(e,t[i],n))return!0;return!1}function I2(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function qy(e,t){return e?":not("+t.trim()+")":t}function T2(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const a=e[++n];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);
1else""!==r&&!Qi(s)&&(t+=qy(o,r),r=""),i=s,o=o||!Qi(i);n++}return""!==r&&(t+=qy(o,r)),t}function Ve(e){return $n(()=>{var t;const n=Uy(e),i={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Mc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||Ki.Emulated,styles:e.styles||Se,_:null,schemas:e.schemas||null,tView:null,id:""};$y(i);const r=e.dependencies;return i.directiveDefs=Ec(r,!1),i.pipeDefs=Ec(r,!0),i.id=function N2(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of n)t=Math.imul(31,t)+r.charCodeAt(0)|0;return t+=2147483648,"c"+t}(i),i})}function k2(e){return pe(e)||Dt(e)}function P2(e){return null!==e}function Me(e){return $n(()=>({type:e.type,bootstrap:e.bootstrap||Se,declarations:e.declarations||Se,imports:e.imports||Se,exports:e.exports||Se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function zy(e,t){if(null==e)return pn;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let s,a,l=pr.None;var i;Array.isArray(o)?(l=o[0],s=o[1],a=null!==(i=o[2])&&void 0!==i?i:s):(s=o,a=o),t?(n[s]=l!==pr.None?[r,l]:r,t[s]=a):n[s]=r}return n}function te(e){return $n(()=>{const t=Uy(e);return $y(t),t})}function Ot(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function pe(e){return e[Ua]||null}function Dt(e){return e[op]||null}function Vt(e){return e[sp]||null}function Wt(e,t){const n=e[My]||null;if(!n&&!0===t)throw new Error(`Type ${wt(e)} does not have '\u0275mod' property.`);return n}function Uy(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||pn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zy(e.inputs,t),outputs:zy(e.outputs),debugInfo:null}}function $y(e){var t;null===(t=e.features)||void 0===t||t.forEach(n=>n(e))}function Ec(e,t){if(!e)return null;const n=t?Vt:k2;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(P2)}function Gn(e){return{\u0275providers:e}}function L2(...e){return{\u0275providers:_p(0,e),\u0275fromNgModule:!0}}function _p(e,...t){const n=[],i=new Set;let r;const o=s=>{n.push(s)};return ds(t,s=>{const a=s;Ic(a,o,[],i)&&(r||(r=[]),r.push(a))}),void 0!==r&&Hy(r,o),n}function Hy(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];gp(r,o=>{t(o,i)})}}function Ic(e,t,n,i){if(!(e=ne(e)))return!1;let r=null,o=gc(e);const s=!o&&pe(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=gc(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const d of l)Ic(d,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let d;i.add(r);try{ds(o.imports,c=>{Ic(c,t,n,i)&&(d||(d=[]),d.push(c))})}finally{}void 0!==d&&Hy(d,t)}if(!a){const d=Kr(r)||(()=>new r);t({provide:r,useFactory:d,deps:Se},r),t({provide:fp,useValue:r,multi:!0},r),t({provide:mn,useValue:()=>k(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const d=e;gp(l,c=>{t(c,d)})}}}return r!==e&&void 0!==e.providers}function gp(e,t){for(let n of e)rp(n)&&(n=n.\u0275providers),Array.isArray(n)?gp(n,t):t(n)}const O2=Oe({provide:String,useValue:Oe});function vp(e){return null!==e&&"object"==typeof e&&O2 in e}function Qr(e){return"function"==typeof e}const yp=new R(""),Tc={},j2={};let Cp;function Ac(){return void 0===Cp&&(Cp=new Sc),Cp}class Yt{}class us extends Yt{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xp(t,s=>this.processProvider(s)),this.records.set(Ny,hs(void 0,this)),r.has("environment")&&this.records.set(Yt,hs(void 0,this));const o=this.records.get(yp);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(fp,Se,_e.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=Z(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=fr(this),i=pi(void 0);try{return t()}finally{fr(n),pi(i)}}get(t,n=Ha,i=_e.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ey))return t[Ey](this);i=Cc(i);const o=fr(this),s=pi(void 0);try{if(!(i&_e.SkipSelf)){let l=this.records.get(t);if(void 0===l){const d=function $2(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&_c(t);l=d&&this.injectableDefInScope(d)?hs(bp(t),Tc):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(i&_e.Self?Ac():this.parent).get(t,n=i&_e.Optional&&n===Ha?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[yc]=a[yc]||[]).unshift(wt(t)),o)throw a;return function p2(e,t,n,i){const r=e[yc];throw t[Ay]&&r.unshift(t[Ay]),e.message=function m2(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=wt(t);if(Array.isArray(t))r=t.map(wt).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];
1o.push(s+":"+("string"==typeof a?JSON.stringify(a):wt(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(d2,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[yc]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{pi(s),fr(o)}}resolveInjectorInitializers(){const t=Z(null),n=fr(this),i=pi(void 0);try{const o=this.get(mn,Se,_e.Self);for(const s of o)s()}finally{fr(n),pi(i),Z(t)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(wt(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new L(205,!1)}processProvider(t){let n=Qr(t=ne(t))?t:ne(t&&t.provide);const i=function q2(e){return vp(e)?hs(void 0,e.useValue):hs(Yy(e),Tc)}(t);if(!Qr(t)&&!0===t.multi){let r=this.records.get(n);r||(r=hs(void 0,Tc,!0),r.factory=()=>cp(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){const i=Z(null);try{return n.value===Tc&&(n.value=j2,n.value=n.factory()),"object"==typeof n.value&&n.value&&function U2(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Z(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ne(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function bp(e){const t=_c(e),n=null!==t?t.factory:Kr(e);
1if(null!==n)return n;if(e instanceof R)throw new L(204,!1);if(e instanceof Function)return function B2(e){if(e.length>0)throw new L(204,!1);const n=function t2(e){return e&&(e[vc]||e[Dy])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new L(204,!1)}function Yy(e,t,n){let i;if(Qr(e)){const r=ne(e);return Kr(r)||bp(r)}if(vp(e))i=()=>ne(e.useValue);else if(function Wy(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...cp(e.deps||[]));else if(function Gy(e){return!(!e||!e.useExisting)}(e))i=()=>k(ne(e.useExisting));else{const r=ne(e&&(e.useClass||e.provide));if(!function z2(e){return!!e.deps}(e))return Kr(r)||bp(r);i=()=>new r(...cp(e.deps))}return i}function hs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function xp(e,t){for(const n of e)Array.isArray(n)?xp(n,t):n&&rp(n)?xp(n.\u0275providers,t):t(n)}function _n(e,t){e instanceof us&&e.assertNotDestroyed();const i=fr(e),r=pi(void 0);try{return t()}finally{fr(i),pi(r)}}function Zy(){return void 0!==Iy()||null!=function u2(){return ls}()}function Fc(e){if(!Zy())throw new L(-203,!1)}const tt=0,q=1,ee=2,gt=3,Xi=4,jt=5,ri=6,Xr=7,Ye=8,vt=9,gn=10,re=11,Za=12,Qy=13,ps=14,it=15,Jr=16,ms=17,vn=18,_s=19,Xy=20,_r=21,Ka=22,Bi=23,Y=25,Dp=1,yn=7,gs=9,ut=10;var Rc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Rc||{});function Mt(e){return Array.isArray(e)&&"object"==typeof e[Dp]}function Zt(e){return Array.isArray(e)&&!0===e[Dp]}function Sp(e){return!!(4&e.flags)}function eo(e){return e.componentOffset>-1}function Nc(e){return!(1&~e.flags)}function Ji(e){return!!e.template}function Xa(e){return!!(512&e[ee])}class iP{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function nC(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function je(){return rC}function rC(e){return e.type.prototype.ngOnChanges&&(e.setInput=rP),nP}function nP(){const e=sC(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===pn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function rP(e,t,n,i,r){const o=this.declaredInputs[i],s=sC(e)||function oP(e,t){return e[oC]=t}(e,{previous:pn,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new iP(d&&d.currentValue,n,l===pn),nC(e,t,r,n)}je.ngInherit=!0;const oC="__ngSimpleChanges__";function sC(e){return e[oC]||null}const Cn=function(e,t,n){},aC="svg";function Ee(e){for(;Array.isArray(e);)e=e[tt];return e}function Ja(e,t){return Ee(t[e])}function oi(e,t){return Ee(t[e.index])}function el(e,t){return e.data[t]}function to(e,t){return e[t]}function Si(e,t){const n=t[e];return Mt(n)?n:n[tt]}function Ap(e){return!(128&~e[ee])}function qi(e,t){return null==t?null:e[t]}function dC(e){e[ms]=0}function cC(e){1024&e[ee]||(e[ee]|=1024,Ap(e)&&Oc(e))}function Lc(e){var t;return!!(9216&e[ee]||null!==(t=e[Bi])&&void 0!==t&&t.dirty)}function Fp(e){var t;null===(t=e[gn].changeDetectionScheduler)||void 0===t||t.notify(8),64&e[ee]&&(e[ee]|=1024),Lc(e)&&Oc(e)}function Oc(e){var t;null===(t=e[gn].changeDetectionScheduler)||void 0===t||t.notify(0);let n=Wn(e);for(;null!==n&&!(8192&n[ee])&&(n[ee]|=8192,Ap(n));)n=Wn(n)}function Vc(e,t){if(!(256&~e[ee]))throw new L(911,!1);null===e[_r]&&(e[_r]=[]),e[_r].push(t)}function Wn(e){const t=e[gt];return Zt(t)?t[gt]:t}const oe={lFrame:wC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let hC=!1;function fC(){return oe.bindingsEnabled}function io(){return null!==oe.skipHydrationRootTNode}function F(){return oe.lFrame.lView}function fe(){return oe.lFrame.tView}function X(e){return oe.lFrame.contextLView=e,e[Ye]}function J(e){return oe.lFrame.contextLView=null,e}function Be(){let e=pC();for(;null!==e&&64===e.type;)e=e.parent;return e}function pC(){return oe.lFrame.currentTNode}function en(e,t){const n=oe.lFrame;n.currentTNode=e,n.isParent=t}function Rp(){return oe.lFrame.isParent}function Np(){oe.lFrame.isParent=!1}function mC(){return oe.lFrame.contextLView}function gC(){return hC}function vC(e){hC=e}function si(){const e=oe.lFrame;let t=e.bindingRootIndex;
vendor: 5,170 bytes, line 1
1return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yn(){return oe.lFrame.bindingIndex}function yC(e){return oe.lFrame.bindingIndex=e}function tn(){return oe.lFrame.bindingIndex++}function Zn(e){const t=oe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function yP(e,t){const n=oe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Lp(t)}function Lp(e){oe.lFrame.currentDirectiveIndex=e}function Vp(){return oe.lFrame.currentQueryIndex}function Bc(e){oe.lFrame.currentQueryIndex=e}function bP(e){const t=e[q];return 2===t.type?t.declTNode:1===t.type?e[jt]:null}function bC(e,t,n){if(n&_e.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&_e.Host||(r=bP(o),null===r||(o=o[ps],10&r.type))););if(null===r)return!1;t=r,e=o}const i=oe.lFrame=xC();return i.currentTNode=t,i.lView=e,!0}function jp(e){const t=xC(),n=e[q];oe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xC(){const e=oe.lFrame,t=null===e?null:e.child;return null===t?wC(e):t}function wC(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function DC(){const e=oe.lFrame;return oe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const SC=DC;function Bp(){const e=DC();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Bt(){return oe.lFrame.selectedIndex}function no(e){oe.lFrame.selectedIndex=e}function Ze(){const e=oe.lFrame;return el(e.tView,e.selectedIndex)}function qt(){oe.lFrame.currentNamespace=aC}function qp(){!function DP(){oe.lFrame.currentNamespace=null}()}let EC=!0;function il(){return EC}function bn(e){EC=e}function qc(e,t){for(let d=t.directiveStart,c=t.directiveEnd;d<c;d++){const f=e.data[d].type.prototype,{ngAfterContentInit:p,ngAfterContentChecked:m,ngAfterViewInit:y,ngAfterViewChecked:_,ngOnDestroy:w}=f;var n,i,r,o,s,a,l;p&&(null!==(n=e.contentHooks)&&void 0!==n?n:e.contentHooks=[]).push(-d,p),m&&((null!==(i=e.contentHooks)&&void 0!==i?i:e.contentHooks=[]).push(d,m),(null!==(r=e.contentCheckHooks)&&void 0!==r?r:e.contentCheckHooks=[]).push(d,m)),y&&(null!==(o=e.viewHooks)&&void 0!==o?o:e.viewHooks=[]).push(-d,y),_&&((null!==(s=e.viewHooks)&&void 0!==s?s:e.viewHooks=[]).push(d,_),(null!==(a=e.viewCheckHooks)&&void 0!==a?a:e.viewCheckHooks=[]).push(d,_)),null!=w&&(null!==(l=e.destroyHooks)&&void 0!==l?l:e.destroyHooks=[]).push(d,w)}}function zc(e,t,n){IC(e,t,3,n)}function Uc(e,t,n,i){(3&e[ee])===n&&IC(e,t,n,i)}function zp(e,t){let n=e[ee];(3&n)===t&&(n&=16383,n+=1,e[ee]=n)}function IC(e,t,n,i){const o=null!=i?i:-1,s=t.length-1;let a=0;for(let l=void 0!==i?65535&e[ms]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else t[l]<0&&(e[ms]+=65536),(a<o||-1==o)&&(MP(e,n,t,l),e[ms]=(4294901760&e[ms])+l+2),l++}function TC(e,t){Cn(4,e,t);const n=Z(null);try{t.call(e)}finally{Z(n),Cn(5,e,t)}}function MP(e,t,n,i){const r=n[i]<0,o=n[i+1],a=e[r?-n[i]:n[i]];r?e[ee]>>14<e[ms]>>16&&(3&e[ee])===t&&(e[ee]+=16384,TC(a,o)):TC(a,o)}const vs=-1;class nl{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}const $p={};class ro{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=Cc(i);const r=this.injector.get(t,$p,i);return r!==$p||n===$p?r:this.parentInjector.get(t,n,i)}}function Hp(e){return e!==vs}function rl(e){return 32767&e}function ol(e,t){let n=function FP(e){return e>>16}(e),i=t;for(;n>0;)i=i[ps],n--;return i}let Gp=!0;function $c(e){const t=Gp;return Gp=e,t}const FC=255,kC=5;let PP=0;const xn={};function Hc(e,t){const n=PC(e,t);if(-1!==n)return n;const i=t[q];i.firstCreatePass&&(e.injectorIndex=t.length,Wp(i.data,e),Wp(t,null),Wp(i.blueprint,null));const r=Gc(e,t),o=e.injectorIndex;if(Hp(r)){const s=rl(r),a=ol(r,t),l=a[q].data;for(let d=0;d<8;d++)t[o+d]=a[s+d]|l[s+d]}return t[o+8]=r,o}function Wp(e,t){e.push(0,0,0,0,0,0,0,0,t)}function PC(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Gc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=BC(r),null===i)return vs;if(n++,r=r[ps],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return vs}function Yp(e,t,n){!function RP(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty($a)&&(i=n[$a]),null==i&&(i=n[$a]=PP++);const r=i&FC;t.data[e+(r>>kC)]|=1<<r}(e,t,n)}function RC(e,t,n){if(n&_e.Optional||void 0!==e)return e;ap()}function NC(e,t,n,i){if(n&_e.Optional&&void 0===i&&(i=null),!(n&(_e.Self|_e.Host))){const r=e[vt],o=pi(void 0);try{return r?r.get(t,i,n&_e.Optional):Ty(t,i,n&_e.Optional)}finally{pi(o)}}return RC(i,0,n)}function LC(e,t,n,i=_e.Default,r){if(null!==e){if(2048&t[ee]&&!(i&_e.Self)){const s=function jP(e,t,n,i,r){let o=e,s=t;
1for(;null!==o&&null!==s&&2048&s[ee]&&!(512&s[ee]);){const a=OC(o,s,n,i|_e.Self,xn);if(a!==xn)return a;let l=o.parent;if(!l){const d=s[Xy];if(d){const c=d.get(n,xn,i);if(c!==xn)return c}l=BC(s),s=s[ps]}o=l}return r}(e,t,n,i,xn);if(s!==xn)return s}const o=OC(e,t,n,i,xn);if(o!==xn)return o}return NC(t,n,i,r)}function OC(e,t,n,i,r){const o=function OP(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty($a)?e[$a]:void 0;return"number"==typeof t?t>=0?t&FC:VP:t}(n);if("function"==typeof o){if(!bC(t,e,i))return i&_e.Host?RC(r,0,i):NC(t,n,i,r);try{let s;if(s=o(i),null!=s||i&_e.Optional)return s;ap()}finally{SC()}}else if("number"==typeof o){let s=null,a=PC(e,t),l=vs,d=i&_e.Host?t[it][jt]:null;for((-1===a||i&_e.SkipSelf)&&(l=-1===a?Gc(e,t):t[a+8],l!==vs&&jC(i,!1)?(s=t[q],a=rl(l),t=ol(l,t)):a=-1);-1!==a;){const c=t[q];if(VC(o,a,c.data)){const u=LP(a,t,n,s,i,d);if(u!==xn)return u}l=t[a+8],l!==vs&&jC(i,t[q].data[a+8]===d)&&VC(o,a,t)?(s=c,a=rl(l),t=ol(l,t)):a=-1}}return r}function LP(e,t,n,i,r,o){const s=t[q],a=s.data[e+8],c=Wc(a,s,n,null==i?eo(a)&&Gp:i!=s&&!!(3&a.type),r&_e.Host&&o===a);return null!==c?oo(t,s,c,a):xn}function Wc(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,c=o>>20,f=r?a+c:e.directiveEnd;for(let p=i?a:a+c;p<f;p++){const m=s[p];if(p<l&&n===m||p>=l&&m.type===n)return p}if(r){const p=s[l];if(p&&Ji(p)&&p.type===n)return l}return null}function oo(e,t,n,i){let r=e[n];const o=t.data;if(function EP(e){return e instanceof nl}(r)){const s=r;s.resolving&&function s2(e,t){throw t&&t.join(" > "),new L(-200,e)}(function ke(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}(o[n]));const a=$c(s.canSeeViewProviders);s.resolving=!0;const d=s.injectImpl?pi(s.injectImpl):null;bC(e,i,_e.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function SP(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){var s,a;const u=rC(t);(null!==(s=n.preOrderHooks)&&void 0!==s?s:n.preOrderHooks=[]).push(e,u),(null!==(a=n.preOrderCheckHooks)&&void 0!==a?a:n.preOrderCheckHooks=[]).push(e,u)}var l,d,c;r&&(null!==(l=n.preOrderHooks)&&void 0!==l?l:n.preOrderHooks=[]).push(0-e,r),o&&((null!==(d=n.preOrderHooks)&&void 0!==d?d:n.preOrderHooks=[]).push(e,o),(null!==(c=n.preOrderCheckHooks)&&void 0!==c?c:n.preOrderCheckHooks=[]).push(e,o))}(n,o[n],t)}finally{null!==d&&pi(d),$c(a),s.resolving=!1,SC()}}return r}function VC(e,t,n){return!!(n[t+(e>>kC)]&1<<e)}function jC(e,t){return!(e&_e.Self||e&_e.Host&&t)}class Et{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return LC(this._tNode,this._lView,t,Cc(i),n)}}function VP(){return new Et(Be(),F())}function ht(e){return $n(()=>{const t=e.prototype.constructor,n=t[Hn]||Zp(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Hn]||Zp(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Zp(e){return mc(e)?()=>{const t=Zp(ne(e));return t&&t()}:Kr(e)}function BC(e){const t=e[q],n=t.type;return 2===n?t.declTNode:1===n?e[jt]:null}function HC(e,t=null,n=null,i){const r=GC(e,t,n,i);return r.resolveInjectorInitializers(),r}function GC(e,t=null,n=null,i,r=new Set){const o=[n||Se,L2(e)];return i=i||("object"==typeof e?void 0:wt(e)),new us(o,t||Ac(),i||null,r)}class ft{static create(t,n){if(Array.isArray(t))return HC({name:""},n,t,"");{var i;const r=null!==(i=t.name)&&void 0!==i?i:"";return HC({name:r},t.parent,t.providers,r)}}}(is=ft).THROW_IF_NOT_FOUND=Ha,is.NULL=new Sc,is.\u0275prov=j({token:is,providedIn:"any",factory:()=>k(Ny)}),is.__NG_ELEMENT_ID__=-1,new R("").__NG_ELEMENT_ID__=e=>{const t=Be();if(null===t)throw new L(204,!1);if(2&t.type)return t.value;if(e&_e.Optional)return null;throw new L(204,!1)};function Qp(e){return e.ngOriginalError}const YC=!0;let Kn=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=ZP,e.__NG_ENV_ID__=n=>n,t})();class YP extends Kn{constructor(t){super(),this._lView=t}onDestroy(t){return Vc(this._lView,t),()=>function kp(e,t){if(null===e[_r])return;const n=e[_r].indexOf(t);-1!==n&&e[_r].splice(n,1)}(this._lView,t)}}function ZP(){return new YP(F())}let Qn=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Gt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}return(e=t).\u0275prov=j({token:e,providedIn:"root",factory:()=>new e}),t})();const G=class KP extends Ce{constructor(t=!1){var n,i;super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Zy()&&(this.destroyRef=null!==(n=S(Kn,{optional:!0}))&&void 0!==n?n:void 0,this.pendingTasks=null!==(i=S(Qn,{optional:!0}))&&void 0!==i?i:void 0)}emit(t){const n=Z(null);try{super.next(t)}finally{Z(n)}}subscribe(t,n,i){let r=t,o=n||(()=>null),s=i;if(t&&"object"==typeof t){var a,l,d;const u=t;r=null===(a=u.next)||void 0===a?void 0:a.bind(u),o=null===(l=u.error)||void 0===l?void 0:l.bind(u),s=null===(d=u.complete)||void 0===d?void 0:d.bind(u)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const c=super.subscribe({next:r,error:o,complete:s});return t instanceof Xe&&t.add(c),c}wrapInTimeout(t){return n=>{var i;const r=null===(i=this.pendingTasks)||void 0===i?void 0:i.add();setTimeout(()=>{var o;t(n),void 0!==r&&(null===(o=this.pendingTasks)||void 0===o||o.remove(r))})}}};function Zc(...e){}function ZC(e){let t,n;function i(){e=Zc;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),i()}
vendor: 2,080 bytes, line 1
1)),()=>i()}function KC(e){return queueMicrotask(()=>e()),()=>{e=Zc}}const Xp="isAngularZone",Kc=Xp+"_ID";let QP=0;class ue{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new G(!1),this.onMicrotaskEmpty=new G(!1),this.onStable=new G(!1),this.onError=new G(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=YC}=t;if(typeof Zone>"u")throw new L(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function eR(e){const t=()=>{!function JP(e){function t(){ZC(()=>{e.callbackScheduled=!1,em(e),e.isCheckStableRunning=!0,Jp(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),em(e))}(e)},n=QP++;e._inner=e._inner.fork({name:"angular",properties:{[Xp]:!0,[Kc]:n,[Kc+n]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function tR(e){return JC(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return QC(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),XC(e)}},onInvoke:(i,r,o,s,a,l,d)=>{try{return QC(e),i.invoke(o,s,a,l,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function iR(e){return JC(e,"__scheduler_tick__")}(l)&&t(),XC(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,em(e),Jp(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Xp)}
1static assertInAngularZone(){if(!ue.isInAngularZone())throw new L(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new L(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,XP,Zc,Zc);try{return o.runTask(s,n,i)}finally{o.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const XP={};function Jp(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function em(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function QC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function XC(e){e._nesting--,Jp(e)}class tm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new G,this.onMicrotaskEmpty=new G,this.onStable=new G,this.onError=new G}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}function JC(e,t){var n;return!(!Array.isArray(e)||1!==e.length)&&!0===(null===(n=e[0])||void 0===n||null===(n=n.data)||void 0===n?void 0:n[t])}class wn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Qp(t);for(;n&&Qp(n);)n=Qp(n);return n||null}}const rR=new R("",{providedIn:"root",factory:()=>{const e=S(ue),t=S(wn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function tb(e,t){return by(e,t)}const ye=(tb.required=function oR(e){return by(pc,e)},tb);function sR(){return bs(Be(),F())}function bs(e,t){return new et(oi(e,t))}let et=(()=>{class t{constructor(i){this.nativeElement=i}}return t.__NG_ELEMENT_ID__=sR,t})();function ib(e){return e instanceof et?e.nativeElement:e}function aR(){return this._results[Symbol.iterator]()}class xs{get changes(){var t;return null!==(t=this._changes)&&void 0!==t?t:this._changes=new G}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=xs.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=aR)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const i=function mi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function y2(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(this._results,i,n))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){var t;this.dirty=!0,null===(t=this._onDirty)||void 0===t||t.call(this)}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function ll(e){return!(128&~e.flags)}const nm=new Map;let dR=0;function rm(e){nm.delete(e[_s])}const Qc="__ngContext__";function Kt(e,t){Mt(t)?(e[Qc]=t[_s],function uR(e){nm.set(e[_s],e)}(t)):e[Qc]=t}function hb(e){return pb(e[Za])}function fb(e){return pb(e[Xi])}function pb(e){for(;null!==e&&!Zt(e);)e=e[Xi];return e}let sm;function gr(){if(void 0!==sm)return sm;if(typeof document<"u")return document;throw new L(210,!1)}const Ds=new R("",{providedIn:"root",factory:()=>IR}),IR="ng",xb=new R(""),nn=new R("",{providedIn:"platform",factory:()=>"unknown"}),am=new R(""),lm=new R("",{providedIn:"root",factory:()=>{var e;return(null===(e=gr().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let wb=()=>null;function fm(e,t,n=!1){return wb(e,t,n)}const Fb=new R("",{providedIn:"root",factory:()=>!1});let ru,ou;function Ts(e){var t;return(null===(t=function vm(){if(void 0===ru&&(ru=null,Je.trustedTypes))try{ru=Je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ru}())||void 0===t?void 0:t.createHTML(e))||e}function Rb(e){var t;
vendor: 5,968 bytes, line 1
1return(null===(t=function ym(){if(void 0===ou&&(ou=null,Je.trustedTypes))try{ou=Je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ou}())||void 0===t?void 0:t.createHTML(e))||e}class ao{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${yy})`}}class zR extends ao{getTypeName(){return"HTML"}}class UR extends ao{getTypeName(){return"Style"}}class $R extends ao{getTypeName(){return"Script"}}class HR extends ao{getTypeName(){return"URL"}}class GR extends ao{getTypeName(){return"ResourceURL"}}function Mi(e){return e instanceof ao?e.changingThisBreaksApplicationSecurity:e}function Dn(e,t){const n=function WR(e){return e instanceof ao&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${yy})`)}return n===t}class JR{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{var n;const i=(new window.DOMParser).parseFromString(Ts(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(null===(n=i.firstChild)||void 0===n||n.remove(),i)}catch{return null}}}class eN{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ts(t),n}}const iN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function su(e){return(e=String(e)).match(iN)?e:"unsafe:"+e}function Xn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function _l(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Vb=Xn("area,br,col,hr,img,wbr"),jb=Xn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bb=Xn("rp,rt"),Cm=_l(Vb,_l(jb,Xn("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")),_l(Bb,Xn("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")),_l(Bb,jb)),bm=Xn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qb=_l(bm,Xn("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"),Xn("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")),nN=Xn("script,style,template");class rN{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0,r=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)r.push(n),n=aN(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=sN(n);if(o){n=o;break}n=r.pop()}return this.buf.join("")}startElement(t){const n=zb(t).toLowerCase();if(!Cm.hasOwnProperty(n))return this.sanitizedSomething=!0,!nN.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!qb.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;bm[a]&&(l=su(l)),this.buf.push(" ",s,'="',$b(l),'"')}return this.buf.push(">"),!0}endElement(t){const n=zb(t).toLowerCase();Cm.hasOwnProperty(n)&&!Vb.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push($b(t))}}function sN(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ub(t);return t}function aN(e){const t=e.firstChild;if(t&&function oN(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Ub(t);return t}function zb(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Ub(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const lN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dN=/([^\#-~ |!])/g;function $b(e){return e.replace(/&/g,"&amp;").replace(lN,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(dN,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let au;function Hb(e,t){let n=null;try{au=au||function Ob(e){const t=new eN(e);return function tN(){try{return!!(new window.DOMParser).parseFromString(Ts(""),"text/html")}catch{return!1}}()?new JR(t):t}(e);let i=t?String(t):"";n=au.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=au.getInertBodyElement(i)}while(i!==o);return Ts((new rN).sanitizeChildren(xm(n)||n))}finally{if(n){const i=xm(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}
1function xm(e){return"content"in e&&function cN(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ei=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ei||{});function It(e){const t=gl();return t?Rb(t.sanitize(Ei.HTML,e)||""):Dn(e,"HTML")?Rb(Mi(e)):Hb(gr(),ae(e))}function Qt(e){const t=gl();return t?t.sanitize(Ei.URL,e)||"":Dn(e,"URL")?Mi(e):su(ae(e))}function gl(){const e=F();return e&&e[gn].sanitizer}const _N=/^>|^->|<!--|-->|--!>|<!-$/g,gN=/(<|>)/g,vN="\u200b$1\u200b";function Xb(e){return e.ownerDocument}function Ii(e){return e instanceof Function?e():e}function Ti(e){return"browser"===(null!=e?e:S(ft)).get(nn)}var vr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(vr||{});let Sm;function Mm(e,t){return Sm(e,t)}function Fs(e,t,n,i,r){if(null!=i){let o,s=!1;Zt(i)?o=i:Mt(i)&&(s=!0,i=i[tt]);const a=Ee(i);0===e&&null!==n?null==r?l1(t,n,a):lo(t,n,a,r||null,!0):1===e&&null!==n?lo(t,n,a,r||null,!0):2===e?function yl(e,t,n){e.removeChild(null,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function ON(e,t,n,i,r){const o=n[yn];o!==Ee(n)&&Fs(t,e,i,o,r);for(let a=ut;a<n.length;a++){const l=n[a];fu(l[q],l,e,t,i,o)}}(t,e,o,n,r)}}function Im(e,t){return e.createComment(function Yb(e){return e.replace(_N,t=>t.replace(gN,vN))}(t))}function cu(e,t,n){return e.createElement(t,n)}function o1(e,t){var n;null===(n=t[gn].changeDetectionScheduler)||void 0===n||n.notify(9),fu(e,t,t[re],2,null,null)}function s1(e,t){const n=e[gs],i=t[gt];(Mt(i)||t[it]!==i[gt][it])&&(e[ee]|=Rc.HasTransplantedViews),null===n?e[gs]=[t]:n.push(t)}function Tm(e,t){const n=e[gs],i=n.indexOf(t);n.splice(i,1)}function vl(e,t){if(e.length<=ut)return;const n=ut+t,i=e[n];if(i){const r=i[Jr];null!==r&&r!==e&&Tm(r,i),t>0&&(e[n-1][Xi]=i[Xi]);const o=wc(e,ut+t);!function TN(e,t){o1(e,t),t[tt]=null,t[jt]=null}(i[q],i);const s=o[vn];null!==s&&s.detachView(o[q]),i[gt]=null,i[Xi]=null,i[ee]&=-129}return i}function uu(e,t){if(!(256&t[ee])){const n=t[re];n.destroyNode&&fu(e,t,n,3,null,null),function FN(e){let t=e[Za];if(!t)return Am(e[q],e);for(;t;){let n=null;if(Mt(t))n=t[Za];else{const i=t[ut];i&&(n=i)}if(!n){for(;t&&!t[Xi]&&t!==e;)Mt(t)&&Am(t[q],t),t=t[gt];null===t&&(t=e),Mt(t)&&Am(t[q],t),n=t&&t[Xi]}t=n}}(t)}}function Am(e,t){if(256&t[ee])return;const n=Z(null);try{t[ee]&=-129,t[ee]|=256,t[Bi]&&jf(t[Bi]),function RN(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof nl)){const o=n[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];Cn(4,a,l);try{l.call(a)}finally{Cn(5,a,l)}}else{Cn(4,r,o);try{o.call(r)}finally{Cn(5,r,o)}}}}}(e,t),function PN(e,t){const n=e.cleanup,i=t[Xr];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else n[o].call(i[n[o+1]]);null!==i&&(t[Xr]=null);const r=t[_r];if(null!==r){t[_r]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(e,t),1===t[q].type&&t[re].destroy();const i=t[Jr];if(null!==i&&Zt(t[gt])){i!==t[gt]&&Tm(i,t);const r=t[vn];null!==r&&r.detachView(e)}rm(t)}finally{Z(n)}}function Fm(e,t,n){return function a1(e,t,n){let i=t;for(;null!==i&&168&i.type;)i=(t=i).parent;if(null===i)return n[tt];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ki.None||o===Ki.Emulated)return null}return oi(i,n)}}(e,t.parent,n)}function lo(e,t,n,i,r){e.insertBefore(t,n,i,r)}function l1(e,t,n){e.appendChild(t,n)}function d1(e,t,n,i,r){null!==i?lo(e,t,n,i,r):l1(e,t,n)}function km(e,t){return e.parentNode(t)}function c1(e,t,n){return h1(e,t,n)}let Pm,h1=function u1(e,t,n){return 40&e.type?oi(e,n):null};function hu(e,t,n,i){const r=Fm(e,i,t),o=t[re],a=c1(i.parent||t[jt],i,t);if(null!=r)if(Array.isArray(n))for(let l=0;l<n.length;l++)d1(o,r,n[l],a,!1);else d1(o,r,n,a,!1);void 0!==Pm&&Pm(o,i,t,n,r)}function co(e,t){if(null!==t){const n=t.type;if(3&n)return oi(t,e);if(4&n)return Rm(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return co(e,i);{const r=e[t.index];return Zt(r)?Rm(-1,r):Ee(r)}}if(128&n)return co(e,t.next);if(32&n)return Mm(t,e)()||Ee(e[t.index]);{const i=p1(e,t);return null!==i?Array.isArray(i)?i[0]:co(Wn(e[it]),i):co(e,t.next)}}return null}function p1(e,t){return null!==t?e[it][jt].projection[t.projection]:null}function Rm(e,t){const n=ut+e+1;if(n<t.length){const i=t[n],r=i[q].firstChild;if(null!==r)return co(i,r)}return t[yn]}function Nm(e,t,n,i,r,o,s){for(;null!=n;){if(128===n.type){n=n.next;continue}const a=i[n.index],l=n.type;if(s&&0===t&&(a&&Kt(Ee(a),i),n.flags|=2),32&~n.flags)if(8&l)Nm(e,t,n.child,i,r,o,!1),Fs(t,e,r,a,o);else if(32&l){const d=Mm(n,i);let c;for(;c=d();)Fs(t,e,r,c,o);Fs(t,e,r,a,o)}else 16&l?_1(e,t,i,n,r,o):Fs(t,e,r,a,o);n=s?n.projectionNext:n.next}}function fu(e,t,n,i,r,o){Nm(n,i,e.firstChild,t,r,o,!1)}function _1(e,t,n,i,r,o){const s=n[it],l=s[jt].projection[i.projection];if(Array.isArray(l))for(let d=0;d<l.length;d++)Fs(t,e,r,l[d],o);else{let d=l;const c=s[gt];ll(i)&&(d.flags|=128),Nm(e,t,d,c,r,o,!0)}}
1function g1(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function v1(e,t,n){const{mergedAttrs:i,classes:r,styles:o}=n;null!==i&&pp(e,t,i),null!==r&&g1(e,t,r),null!==o&&function jN(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}const le={};function g(e=1){y1(fe(),F(),Bt()+e,!1)}function y1(e,t,n,i){if(!i)if(3&~t[ee]){const o=e.preOrderHooks;null!==o&&Uc(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&zc(t,o,n)}no(n)}function I(e,t=_e.Default){const n=F();return null===n?k(e,t):LC(Be(),n,ne(e),t)}function b1(e,t,n,i,r,o){const s=Z(null);try{let a=null;r&pr.SignalBased&&(a=t[i][Ue]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),r&pr.HasDecoratorInputTransform&&(o=e.inputTransforms[i].call(t,o)),null!==e.setInput?e.setInput(t,a,o,n,i):nC(t,a,i,o)}finally{Z(s)}}function pu(e,t,n,i,r,o,s,a,l,d,c){const u=t.blueprint.slice();return u[tt]=r,u[ee]=204|i,(null!==d||e&&2048&e[ee])&&(u[ee]|=2048),dC(u),u[gt]=u[ps]=e,u[Ye]=n,u[gn]=s||e&&e[gn],u[re]=a||e&&e[re],u[vt]=l||e&&e[vt]||null,u[jt]=o,u[_s]=function cR(){return dR++}(),u[ri]=c,u[Xy]=d,u[it]=2==t.type?e[it]:u,u}function uo(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Lm(e,t,n,i,r){const o=pC(),s=Rp(),l=e.data[t]=function WN(e,t,n,i,r,o){let s=t?t.injectorIndex:-1,a=0;return io()&&(a|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,t,n,i,r),function vP(){return oe.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const s=function tl(){const e=oe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return en(o,!0),o}function Cl(e,t,n,i){if(0===n)return-1;const r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function x1(e,t,n,i,r){const o=Bt(),s=2&i;try{no(-1),s&&t.length>Y&&y1(e,t,Y,!1),Cn(s?2:0,r),n(i,r)}finally{no(o),Cn(s?3:1,r)}}function Om(e,t,n){if(Sp(t)){const i=Z(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{Z(i)}}}function Vm(e,t,n){fC()&&(function eL(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;eo(n)&&function aL(e,t,n){const i=oi(t,e),r=w1(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=mu(e,pu(e,r,null,s,i,t,null,e[gn].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=a}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Hc(n,t),Kt(i,t);const s=n.initialInputs;for(let a=r;a<o;a++){const l=e.data[a],d=oo(t,e,a,n);Kt(d,t),null!==s&&lL(0,a-r,d,l,0,s),Ji(l)&&(Si(n.index,t)[Ye]=oo(t,e,a,n))}}(e,t,n,oi(n,t)),!(64&~n.flags)&&I1(e,t,n))}function jm(e,t,n=oi){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?n(t,e):e[s];e[r++]=a}}}function w1(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Bm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Bm(e,t,n,i,r,o,s,a,l,d,c){const u=Y+i,f=u+r,p=function qN(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:le);return n}(u,f),m="function"==typeof d?d():d;return p[q]={type:e,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1,ssrId:c}}let D1=()=>null;function S1(e,t,n,i,r){for(let o in t){if(!t.hasOwnProperty(o))continue;const s=t[o];if(void 0===s)continue;null!=i||(i={});let a,l=pr.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let d=o;if(null!==r){if(!r.hasOwnProperty(o))continue;d=r[o]}0===e?M1(i,n,d,a,l):M1(i,n,d,a)}return i}function M1(e,t,n,i,r){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,i):o=e[n]=[t,i],void 0!==r&&o.push(r)}function gi(e,t,n,i,r,o,s,a){const l=oi(t,n);let c,d=t.inputs;!a&&null!=d&&(c=d[i])?(Hm(e,n,c,i,r),eo(t)&&function KN(e,t){const n=Si(t,e);16&n[ee]||(n[ee]|=64)}(n,t.index)):3&t.type&&(i=function ZN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,t.value||"",i):r,o.setProperty(l,i,r))}function qm(e,t,n,i){if(fC()){const r=null===i?null:{"":-1},o=function iL(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let s=0;s<n.length;s++){const a=n[s];if(By(t,a.selectors,!1))if(i||(i=[]),Ji(a))if(null!==a.findHostDirectiveDefs){const l=[];r=r||new Map,a.findHostDirectiveDefs(a,l,r),i.unshift(...l,a),zm(e,t,l.length)}else i.unshift(a),zm(e,t,0);else{var o;r=r||new Map,null===(o=a.findHostDirectiveDefs)||void 0===o||o.call(a,a,i,r),i.push(a)}}return null===i?null:[i,r]}(e,n);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&E1(e,t,n,s,r,a),r&&function nL(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const o=n[t[r+1]];if(null==o)throw new L(-301,!1);i.push(t[r],o)}}}(n,i,r)}n.mergedAttrs=Wa(n.mergedAttrs,n.attrs)}function E1(e,t,n,i,r,o){for(let u=0;u<i.length;u++)Yp(Hc(n,t),e,i[u].type);!function oL(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t
1+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let u=0;u<i.length;u++){const f=i[u];f.providersResolver&&f.providersResolver(f)}let s=!1,a=!1,l=Cl(e,t,i.length,null);for(let u=0;u<i.length;u++){const f=i[u];n.mergedAttrs=Wa(n.mergedAttrs,f.hostAttrs),sL(e,n,t,l,f),rL(l,f,r),null!==f.contentQueries&&(n.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(n.flags|=64);const p=f.type.prototype;var d,c;!s&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((null!==(d=e.preOrderHooks)&&void 0!==d?d:e.preOrderHooks=[]).push(n.index),s=!0),a||!p.ngOnChanges&&!p.ngDoCheck||((null!==(c=e.preOrderCheckHooks)&&void 0!==c?c:e.preOrderCheckHooks=[]).push(n.index),a=!0),l++}!function YN(e,t,n){const r=t.directiveEnd,o=e.data,s=t.attrs,a=[];let l=null,d=null;for(let c=t.directiveStart;c<r;c++){const u=o[c],f=n?n.get(u):null,m=f?f.outputs:null;l=S1(0,u.inputs,c,l,f?f.inputs:null),d=S1(1,u.outputs,c,d,m);const y=null===l||null===s||mp(t)?null:dL(l,c,s);a.push(y)}null!==l&&(l.hasOwnProperty("class")&&(t.flags|=8),l.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=l,t.outputs=d}(e,n,o)}function I1(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,s=function CP(){return oe.lFrame.currentDirectiveIndex}();try{no(o);for(let a=i;a<r;a++){const l=e.data[a],d=t[a];Lp(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&tL(l,d)}}finally{no(-1),Lp(s)}}function tL(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function zm(e,t,n){var i;t.componentOffset=n,(null!==(i=e.components)&&void 0!==i?i:e.components=[]).push(t.index)}function rL(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Ji(t)&&(n[""]=e)}}function sL(e,t,n,i,r){e.data[i]=r;const o=r.factory||(r.factory=Kr(r.type)),s=new nl(o,Ji(r),I);e.blueprint[i]=s,n[i]=s,function XN(e,t,n,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function JN(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,i,o)}}(e,t,i,Cl(e,n,r.hostVars,le),r)}function Sn(e,t,n,i,r,o){const s=oi(e,t);!function Um(e,t,n,i,r,o,s){if(null==o)e.removeAttribute(t,r,n);else{const a=null==s?ae(o):s(o,i||"",r);e.setAttribute(t,r,a,n)}}(t[re],s,o,e.value,n,i,r)}function lL(e,t,n,i,r,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;)b1(i,n,s[a++],s[a++],s[a++],s[a++])}function dL(e,t,n){let i=null,r=0;for(;r<n.length;){const o=n[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const s=e[o];for(let a=0;a<s.length;a+=3)if(s[a]===t){i.push(o,s[a+1],s[a+2],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function T1(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function A1(e,t){const n=e.contentQueries;if(null!==n){const i=Z(null);try{for(let r=0;r<n.length;r+=2){const s=n[r+1];if(-1!==s){const a=e.data[s];Bc(n[r]),a.contentQueries(2,t[s],s)}}}finally{Z(i)}}}function mu(e,t){return e[Za]?e[Qy][Xi]=t:e[Za]=t,e[Qy]=t,t}function $m(e,t,n){Bc(0);const i=Z(null);try{t(e,n)}finally{Z(i)}}function F1(e){var t;return null!==(t=e[Xr])&&void 0!==t?t:e[Xr]=[]}function k1(e){var t;return null!==(t=e.cleanup)&&void 0!==t?t:e.cleanup=[]}function _u(e,t){const n=e[vt],i=n?n.get(wn,null):null;i&&i.handleError(t)}function Hm(e,t,n,i,r){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=n[o++];b1(e.data[s],t[s],i,a,l,r)}}function cL(e,t){const n=Si(t,e),i=n[q];!function uL(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[tt];
1null!==r&&null===n[ri]&&(n[ri]=fm(r,n[vt])),Gm(i,n,n[Ye])}function Gm(e,t,n){jp(t);try{var i;const r=e.viewQuery;null!==r&&$m(1,r,n);const o=e.template;null!==o&&x1(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),null===(i=t[vn])||void 0===i||i.finishViewCreation(e),e.staticContentQueries&&A1(e,t),e.staticViewQueries&&$m(2,e.viewQuery,n);const s=e.components;null!==s&&function hL(e,t){for(let n=0;n<t.length;n++)cL(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ee]&=-5,Bp()}}function ks(e,t,n,i){const r=Z(null);try{var o,s,a;const l=t.tView,u=pu(e,l,n,4096&e[ee]?4096:16,null,t,null,null,null!==(o=null==i?void 0:i.injector)&&void 0!==o?o:null,null!==(s=null==i?void 0:i.embeddedViewInjector)&&void 0!==s?s:null,null!==(a=null==i?void 0:i.dehydratedView)&&void 0!==a?a:null);u[Jr]=e[t.index];const p=e[vn];return null!==p&&(u[vn]=p.createEmbeddedView(l)),Gm(l,u,n),u}finally{Z(r)}}function R1(e,t){const n=ut+t;if(n<e.length)return e[n]}function ho(e,t){return!t||null===t.firstChild||ll(e)}function Ps(e,t,n,i=!0){const r=t[q];if(function kN(e,t,n,i){const r=ut+i,o=n.length;i>0&&(n[r-1][Xi]=t),i<o-ut?(t[Xi]=n[r],ky(n,ut+i,t)):(n.push(t),t[Xi]=null),t[gt]=n;const s=t[Jr];null!==s&&n!==s&&s1(s,t);const a=t[vn];null!==a&&a.insertView(e),Fp(t),t[ee]|=128}(r,t,e,n),i){const s=Rm(n,e),a=t[re],l=km(a,e[yn]);null!==l&&function AN(e,t,n,i,r,o){i[tt]=r,i[jt]=t,fu(e,i,n,1,r,o)}(r,e[jt],a,t,l,s)}const o=t[ri];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Wm(e,t){const n=vl(e,t);return void 0!==n&&uu(n[q],n),n}function bl(e,t,n,i,r=!1){for(;null!==n;){if(128===n.type){n=r?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&i.push(Ee(o)),Zt(o)&&N1(o,i);const s=n.type;if(8&s)bl(e,t,n.child,i);else if(32&s){const a=Mm(n,t);let l;for(;l=a();)i.push(l)}else if(16&s){const a=p1(t,n);if(Array.isArray(a))i.push(...a);else{const l=Wn(t[it]);bl(l[q],l,a,i,!0)}}n=r?n.projectionNext:n.next}return i}function N1(e,t){for(let n=ut;n<e.length;n++){const i=e[n],r=i[q].firstChild;null!==r&&bl(i[q],i,r,t)}e[yn]!==e[tt]&&t.push(e[yn])}let L1=[];const _L={...Ba,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Oc(e.lView)},consumerOnSignalRead(){this.lView[Bi]=this}},vL={...Ba,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Wn(e.lView);for(;t&&!O1(t[q]);)t=Wn(t);t&&cC(t)},consumerOnSignalRead(){this.lView[Bi]=this}};function O1(e){return 2!==e.type}const yL=100;function gu(e,t=!0,n=0){const i=e[gn],r=i.rendererFactory;var s;null===(s=r.begin)||void 0===s||s.call(r);try{!function CL(e,t){const n=gC();try{vC(!0),Ym(e,t);let i=0;for(;Lc(e);){if(i===yL)throw new L(103,!1);i++,Ym(e,1)}}finally{vC(n)}}(e,n)}catch(d){throw t&&_u(e,d),d}finally{var a,l;null===(a=r.end)||void 0===a||a.call(r),null===(l=i.inlineEffectRunner)||void 0===l||l.flush()}}function bL(e,t,n,i){var r;const o=t[ee];if(!(256&~o))return;null===(r=t[gn].inlineEffectRunner)||void 0===r||r.flush(),jp(t);let l=!0,d=null,c=null;O1(e)?(c=function fL(e){var t;return null!==(t=e[Bi])&&void 0!==t?t:function pL(e){var t;const n=null!==(t=L1.pop())&&void 0!==t?t:Object.create(_L);return n.lView=e,n}(e)}(t),d=rc(c)):null===function zn(){return ct}()?(l=!1,c=function gL(e){var t;const n=null!==(t=e[Bi])&&void 0!==t?t:Object.create(vL);return n.lView=e,n}(t),d=rc(c)):t[Bi]&&(jf(t[Bi]),t[Bi]=null);try{dC(t),yC(e.bindingStartIndex),null!==n&&x1(e,t,n,2,i);const u=!(3&~o);if(u){const m=e.preOrderCheckHooks;null!==m&&zc(t,m,null)}else{const m=e.preOrderHooks;null!==m&&Uc(t,m,0,null),zp(t,0)}if(function xL(e){for(let t=hb(e);null!==t;t=fb(t)){if(!(t[ee]&Rc.HasTransplantedViews))continue;const n=t[gs];for(let i=0;i<n.length;i++)cC(n[i])}}(t),j1(t,0),null!==e.contentQueries&&A1(e,t),u){const m=e.contentCheckHooks;null!==m&&zc(t,m)}else{const m=e.contentHooks;null!==m&&Uc(t,m,1),zp(t,1)}!function BN(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)no(~r);else{const o=r,s=n[++i],a=n[++i];yP(s,o),a(2,t[o])}}}finally{no(-1)}}(e,t);const f=e.components;null!==f&&q1(t,f,0);const p=e.viewQuery;if(null!==p&&$m(2,p,i),u){const m=e.viewCheckHooks;null!==m&&zc(t,m)}else{const m=e.viewHooks;null!==m&&Uc(t,m,2),zp(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Ka]){for(const m of t[Ka])m();t[Ka]=null}t[ee]&=-73}catch(u){throw Oc(t),u}finally{null!==c&&(Of(c,d),l&&function mL(e){e.lView[Bi]!==e&&(e.lView=null,L1.push(e))}(c)),Bp()}}function j1(e,t){for(let n=hb(e);null!==n;n=fb(n))for(let i=ut;i<n.length;i++)B1(n[i],t)}function wL(e,t,n){B1(Si(t,e),n)}function B1(e,t){Ap(e)&&Ym(e,t)}function Ym(e,t){const i=e[q],r=e[ee],o=e[Bi];let s=!!(0===t&&16&r);
1if(s||(s=!!(64&r&&0===t)),s||(s=!!(1024&r)),s||(s=!(null==o||!o.dirty||!Vf(o))),s||(s=!1),o&&(o.dirty=!1),e[ee]&=-9217,s)bL(i,e,i.template,e[Ye]);else if(8192&r){j1(e,1);const a=i.components;null!==a&&q1(e,a,1)}}function q1(e,t,n){for(let i=0;i<t.length;i++)wL(e,t[i],n)}function xl(e,t){var n;const i=gC()?64:1088;for(null===(n=e[gn].changeDetectionScheduler)||void 0===n||n.notify(t);e;){e[ee]|=i;const r=Wn(e);if(Xa(e)&&!r)return e;e=r}return null}class wl{get rootNodes(){const t=this._lView,n=t[q];return bl(n,t,n.firstChild,[])}constructor(t,n,i=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ye]}set context(t){this._lView[Ye]=t}get destroyed(){return!(256&~this._lView[ee])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[gt];if(Zt(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(vl(t,i),wc(n,i))}this._attachedToViewContainer=!1}uu(this._lView[q],this._lView)}onDestroy(t){Vc(this._lView,t)}markForCheck(){xl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ee]&=-129}reattach(){Fp(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,gu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new L(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Xa(this._lView),n=this._lView[Jr];null!==n&&!t&&Tm(n,this._lView),o1(this._lView[q],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new L(902,!1);this._appRef=t;const n=Xa(this._lView),i=this._lView[Jr];null!==i&&!n&&s1(i,this._lView),Fp(this._lView)}}let zi=(()=>{class t{}return t.__NG_ELEMENT_ID__=ML,t})();const DL=zi,SL=class extends DL{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const r=ks(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new wl(r)}};function ML(){return vu(Be(),F())}function vu(e,t){return 4&e.type?new SL(t,e,bs(e,t)):null}let lx=()=>null;function po(e,t){return lx(e,t)}class Ns{}const Fl=new R("",{providedIn:"root",factory:()=>!1}),dx=new R(""),o_=new R("");class vO{}class cx{}class CO{resolveComponentFactory(t){throw function yO(e){const t=Error(`No component factory found for ${wt(e)}.`);return t.ngComponent=e,t}(t)}}class Ls{}Ls.NULL=new CO;class s_{}let Ai=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function bO(){const e=F(),n=Si(Be().index,e);return(Mt(n)?n:e)[re]}(),t})(),xO=(()=>{var e;class t{}return(e=t).\u0275prov=j({token:e,providedIn:"root",factory:()=>null}),t})();function Su(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?r=Xf(r,a):2==o&&(i=Xf(i,a+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}class px extends Ls{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=pe(t);return new Rl(n,this.ngModule)}}function mx(e,t){const n=[];for(const i in e){if(!e.hasOwnProperty(i))continue;const r=e[i];if(void 0===r)continue;const o=Array.isArray(r),s=o?r[0]:r;n.push(t?{propName:s,templateName:i,isSignal:!!((o?r[1]:pr.None)&pr.SignalBased)}:{propName:s,templateName:i})}return n}class Rl extends cx{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=mx(t.inputs,!0);if(null!==n)for(const r of i)n.hasOwnProperty(r.propName)&&(r.transform=n[r.propName]);return i}get outputs(){return mx(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function A2(e){return e.map(T2).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){const o=Z(null);try{var a;let l=(r=r||this.ngModule)instanceof Yt?r:null===(a=r)||void 0===a?void 0:a.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const d=l?new ro(t,l):t,c=d.get(s_,null);if(null===c)throw new L(407,!1);const p={rendererFactory:c,sanitizer:d.get(xO,null),inlineEffectRunner:null,changeDetectionScheduler:d.get(Ns,null)},m=c.createRenderer(null,this.componentDef),y=this.componentDef.selectors[0][0]||"div",_=i?function zN(e,t,n,i){const o=i.get(Fb,!1)||n===Ki.ShadowDom,s=e.selectRootElement(t,o);return function UN(e){D1(e)}(s),s}(m,i,this.componentDef.encapsulation,d):cu(m,y,function SO(e){const t=e.toLowerCase();return"svg"===t?aC:"math"===t?"math":null}(y));let w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let D=null;null!==_&&(D=fm(_,d,!0));const O=Bm(0,null,null,1,0,null,null,null,null,null,null),B=pu(null,O,null,w,null,null,p,m,d,null,D);jp(B);let K,me,ve=null;try{const Ne=this.componentDef;let Rt,fi=null;Ne.findHostDirectiveDefs?(Rt=[],fi=new Map,Ne.findHostDirectiveDefs(Ne,Rt,fi),Rt.push(Ne)):Rt=[Ne];const Ht=function EO(e,t){const n=e[q],i=Y;return e[i]=t,uo(n,i,2,"#host",null)}(B,_);ve=function IO(e,t,n,i,r,o,s){const a=r[q];!function TO(e,t,n,i){for(const r of e)t.mergedAttrs=Wa(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Su(t,t.mergedAttrs,!0),null!==n&&v1(i,n,t))}(i,e,t,s);let l=null;null!==t&&(l=fm(t,r[vt]));const d=o.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);
1const u=pu(r,w1(n),null,c,r[e.index],e,o,d,null,null,l);return a.firstCreatePass&&zm(a,e,i.length-1),mu(r,u),r[e.index]=u}(Ht,_,Ne,Rt,B,p,m),me=el(O,Y),_&&function FO(e,t,n,i){if(i)pp(e,n,["ng-version","18.2.13"]);else{const{attrs:r,classes:o}=function F2(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!Qi(r))break;r=o}i++}return{attrs:t,classes:n}}(t.selectors[0]);r&&pp(e,n,r),o&&o.length>0&&g1(e,n,o.join(" "))}}(m,Ne,_,i),void 0!==n&&function kO(e,t,n){const i=e.projection=[];for(let r=0;r<t.length;r++){const o=n[r];i.push(null!=o?Array.from(o):null)}}(me,this.ngContentSelectors,n),K=function AO(e,t,n,i,r,o){const s=Be(),a=r[q],l=oi(s,r);E1(a,r,s,n,null,i);for(let c=0;c<n.length;c++)Kt(oo(r,a,s.directiveStart+c,s),r);I1(a,r,s),l&&Kt(l,r);const d=oo(r,a,s.directiveStart+s.componentOffset,s);if(e[Ye]=r[Ye]=d,null!==o)for(const c of o)c(d,t);return Om(a,s,r),d}(ve,Ne,Rt,fi,B,[PO]),Gm(O,B,null)}catch(Ne){throw null!==ve&&rm(ve),rm(B),Ne}finally{Bp()}return new MO(this.componentType,K,bs(me,B),B,me)}finally{Z(o)}}}class MO extends vO{constructor(t,n,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new wl(r,void 0,!1),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){var o;if(null!==(o=this.previousInputValues)&&void 0!==o||(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Hm(s[q],s,r,t,n),this.previousInputValues.set(t,n),xl(Si(this._tNode.index,s),1)}}get injector(){return new Et(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function PO(){const e=Be();qc(F()[q],e)}let Fi=(()=>{class t{}return t.__NG_ELEMENT_ID__=RO,t})();function RO(){return vx(Be(),F())}const NO=Fi,_x=class extends NO{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return bs(this._hostTNode,this._hostLView)}get injector(){return new Et(this._hostTNode,this._hostLView)}get parentInjector(){const t=Gc(this._hostTNode,this._hostLView);if(Hp(t)){const n=ol(t,this._hostLView),i=rl(t);return new Et(n[q].data[i+8],n)}return new Et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=gx(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ut}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=po(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,r,ho(this._hostTNode,s)),a}createComponent(t,n,i,r,o){var s,a,l;const d=t&&!function Ya(e){return"function"==typeof e}(t);let c;if(d)c=n;else{const w=n||{};c=w.index,i=w.injector,r=w.projectableNodes,o=w.environmentInjector||w.ngModuleRef}const u=d?t:new Rl(pe(t)),f=i||this.parentInjector;if(!o&&null==u.ngModule){const D=(d?f:this.parentInjector).get(Yt,null);D&&(o=D)}const p=pe(null!==(s=u.componentType)&&void 0!==s?s:{}),m=po(this._lContainer,null!==(a=null==p?void 0:p.id)&&void 0!==a?a:null),y=null!==(l=null==m?void 0:m.firstChild)&&void 0!==l?l:null,_=u.create(f,r,y,o);return this.insertImpl(_.hostView,c,ho(this._hostTNode,m)),_}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const r=t._lView;if(function dP(e){return Zt(e[gt])}(r)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=r[gt],d=new _x(l,l[jt],l[gt]);d.detach(d.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;return Ps(s,r,o,i),t.attachToViewContainerRef(),ky(d_(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=gx(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=vl(this._lContainer,n);i&&(wc(d_(this._lContainer),n),uu(i[q],i))}detach(t){const n=this._adjustIndex(t,-1),i=vl(this._lContainer,n);return i&&null!=wc(d_(this._lContainer),n)?new wl(i):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function gx(e){return e[8]}function d_(e){return e[8]||(e[8]=[])}function vx(e,t){let n;const i=t[e.index];return Zt(i)?n=i:(n=T1(i,t,null,e),t[e.index]=n,mu(t,n)),yx(n,t,e,i),new _x(n,e,t)}let yx=function bx(e,t,n,i){if(e[yn])return;let r;r=8&n.type?Ee(i):function LO(e,t){const n=e[re],i=n.createComment(""),r=oi(t,e);return lo(n,km(n,r),i,function NN(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n),e[yn]=r},c_=()=>!1;class u_{constructor(t){this.queryList=t,this.matches=null}clone(){return new u_(this.queryList)}setDirty(){this.queryList.setDirty()}}class h_{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let o=0;o<i;o++){const s=n.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new h_(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==g_(t,n).matches&&this.queries[n].setDirty()}}class xx{constructor(t,n,i=null){this.flags=n,this.read=i,this.predicate="string"==typeof t?function $O(e){return e.split(",").map(t=>t.trim())}(t):t}}class f_{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new f_(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class p_{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new p_(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}
1matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,n,BO(n,o)),this.matchTNodeWithReadOption(t,n,Wc(n,t,o,!1,!1))}else i===zi?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Wc(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===et||r===Fi||r===zi&&4&n.type)this.addMatch(n.index,-2);else{const o=Wc(n,t,r,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function BO(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function zO(e,t,n,i){return-1===n?function qO(e,t){return 11&e.type?bs(e,t):4&e.type?vu(e,t):null}(t,e):-2===n?function UO(e,t,n){return n===et?bs(t,e):n===zi?vu(t,e):n===Fi?vx(t,e):void 0}(e,t,i):oo(e,e[q],n,t)}function wx(e,t,n,i){const r=t[vn].queries[i];if(null===r.matches){const o=e.data,s=n.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const d=s[l];a.push(d<0?null:zO(t,o[d],s[l+1],n.metadata.read))}r.matches=a}return r.matches}function m_(e,t,n,i){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const s=wx(e,t,r,n);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const d=o[a+1],c=t[-l];for(let u=ut;u<c.length;u++){const f=c[u];f[Jr]===f[gt]&&m_(f[q],f,d,i)}if(null!==c[gs]){const u=c[gs];for(let f=0;f<u.length;f++){const p=u[f];m_(p[q],p,d,i)}}}}}return i}function Dx(e,t,n){var i;const r=new xs(!(4&~n));return function GN(e,t,n,i){const r=F1(t);r.push(n),e.firstCreatePass&&k1(e).push(i,r.length-1)}(e,t,r,r.destroy),(null!==(i=t[vn])&&void 0!==i?i:t[vn]=new h_).queries.push(new u_(r))-1}function Ex(e,t,n){null===e.queries&&(e.queries=new f_),e.queries.track(new p_(t,n))}function g_(e,t){return e.queries.getByIndex(t)}function Ix(e,t){const n=e[q],i=g_(n,t);return i.crossesNgTemplate?m_(n,e,t,[]):wx(n,e,i,t)}const Tx=new Set;function ai(e){var t,n;Tx.has(e)||(Tx.add(e),null===(t=performance)||void 0===t||null===(n=t.mark)||void 0===n||n.call(t,"mark_feature_usage",{detail:{feature:e}}))}function Mu(e){return"function"==typeof e&&void 0!==e[Ue]}function br(e,t){ai("NgSignals");const n=function Fk(e){const t=Object.create(dy);t.value=e;const n=()=>(nc(t),t.value);return n[Ue]=t,n}(e),i=n[Ue];return null!=t&&t.equal&&(i.equal=t.equal),n.set=r=>zf(i,r),n.update=r=>function kk(e,t){iy()||ly(),zf(e,t(e.value))}(i,r),n.asReadonly=Ax.bind(n),n}function Ax(){const e=this[Ue];if(void 0===e.readonlyFn){const t=()=>this();t[Ue]=e,e.readonlyFn=t}return e.readonlyFn}function be(e){let t=function zx(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(Ji(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new L(903,!1);r=t.\u0275dir}if(r){if(n){i.push(r);const s=e;s.inputs=Iu(e.inputs),s.inputTransforms=Iu(e.inputTransforms),s.declaredInputs=Iu(e.declaredInputs),s.outputs=Iu(e.outputs);const a=r.hostBindings;a&&o3(e,a);const l=r.viewQuery,d=r.contentQueries;if(l&&n3(e,l),d&&r3(e,d),t3(e,r),Zk(e.outputs,r.outputs),Ji(r)&&r.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===be&&(n=!1)}}t=Object.getPrototypeOf(t)}!function i3(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Wa(r.hostAttrs,n=Wa(n,r.hostAttrs))}}(i)}function t3(e,t){for(const i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const r=t.inputs[i];if(void 0!==r&&(e.inputs[i]=r,e.declaredInputs[i]=t.declaredInputs[i],null!==t.inputTransforms)){var n;const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;null!==(n=e.inputTransforms)&&void 0!==n||(e.inputTransforms={}),e.inputTransforms[o]=t.inputTransforms[o]}}}function Iu(e){return e===pn?{}:e===Se?[]:e}function n3(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function r3(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function o3(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}function Ll(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];Array.isArray(r)&&r[3]&&(n[i]=r[3])}e.inputTransforms=n}class mo{}class Wx{}class C_ extends mo{constructor(t,n,i,r=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new px(this);const o=Wt(t);this._bootstrapComponents=Ii(o.bootstrap),this._r3Injector=GC(t,n,[{provide:mo,useValue:this},{provide:Ls,useValue:this.componentFactoryResolver},...i],wt(t),new Set(["environment"])),r&&this.resolveInjectorInitializer
1s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class b_ extends Wx{constructor(t){super(),this.moduleType=t}create(t){return new C_(this.moduleType,t,[])}}class Yx extends mo{constructor(t){super(),this.componentFactoryResolver=new px(this),this.instance=null;const n=new us([...t.providers,{provide:mo,useValue:this},{provide:Ls,useValue:this.componentFactoryResolver}],t.parent||Ac(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Tu(e,t,n=null){return new Yx({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Au(e){return!!function x_(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Mn(e,t,n){return e[t]=n}function pt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function _o(e,t,n,i){const r=pt(e,t,n);return pt(e,t+1,i)||r}function Fu(e,t,n,i,r){const o=_o(e,t,n,i);return pt(e,t+2,r)||o}function Ui(e,t,n,i,r,o){const s=_o(e,t,n,i);return _o(e,t+2,r,o)||s}function Vl(e,t,n,i,r,o,s,a,l,d){const c=n+Y,u=t.firstCreatePass?function g3(e,t,n,i,r,o,s,a,l){const d=t.consts,c=uo(t,e,4,s||null,a||null);qm(t,n,c,qi(d,l)),qc(t,c);const u=c.tView=Bm(2,c,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return null!==t.queries&&(t.queries.template(t,c),u.queries=t.queries.embeddedTView(c)),c}(c,t,e,i,r,o,s,a,l):t.data[c];en(u,!1);const f=Zx(t,e,u,n);il()&&hu(t,e,f,u),Kt(f,e);const p=T1(f,e,f,u);return e[c]=p,mu(e,p),function Cx(e,t,n){return c_(e,t,n)}(p,u,e),Nc(u)&&Vm(t,e,u),null!=l&&jm(e,u,d),u}function T(e,t,n,i,r,o,s,a){const l=F(),d=fe();return Vl(l,d,e,t,n,i,r,qi(d.consts,o),s,a),T}let Zx=function Kx(e,t,n,i){return bn(!0),t[re].createComment("")};var Bs=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Bs||{});let iw=(()=>{var e;class t{constructor(){this.impl=null}execute(){var i;null===(i=this.impl)||void 0===i||i.execute()}}return(e=t).\u0275prov=j({token:e,providedIn:"root",factory:()=>new e}),t})();class Nu{constructor(){this.ngZone=S(ue),this.scheduler=S(Ns),this.errorHandler=S(wn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(const n of Nu.PHASES)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[n])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>i.hooks[n](i.pipelinedValue))}catch(r){var t;i.erroredOrDestroyed=!0,null===(t=this.errorHandler)||void 0===t||t.handleError(r)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}}(za=Nu).PHASES=[Bs.EarlyRead,Bs.Write,Bs.MixedReadWrite,Bs.Read],za.\u0275prov=j({token:za,providedIn:"root",factory:()=>new za});class b3{constructor(t,n,i,r){this.impl=t,this.hooks=n,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=null==r?void 0:r.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){var t;this.impl.unregister(this),null===(t=this.unregisterOnDestroy)||void 0===t||t.call(this)}}function go(e,t){var n;(null==t||!t.injector)&&Fc();const i=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:S(ft);
1return Ti(i)?(ai("NgAfterNextRender"),rw(e,i,t,!0)):ow}function rw(e,t,n,i){var r,o;const s=t.get(iw);null!==(r=s.impl)&&void 0!==r||(s.impl=t.get(Nu));const a=null!==(o=null==n?void 0:n.phase)&&void 0!==o?o:Bs.MixedReadWrite,l=!0!==(null==n?void 0:n.manualCleanup)?t.get(Kn):null,d=new b3(s.impl,function x3(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,a),i,l);return s.impl.register(d),d}const ow={destroy(){}};function nt(e,t,n,i){const r=F();return pt(r,tn(),t)&&(fe(),Sn(Ze(),r,e,t,n,i)),nt}function Ws(e,t,n,i){return pt(e,tn(),n)?t+ae(n)+i:le}function Ys(e,t,n,i,r,o){const a=_o(e,Yn(),n,r);return Zn(2),a?t+ae(n)+i+ae(r)+o:le}function Zs(e,t,n,i,r,o,s,a){const d=Fu(e,Yn(),n,r,s);return Zn(3),d?t+ae(n)+i+ae(r)+o+ae(s)+a:le}function Vu(e,t){return e<<17|t<<2}function wr(e){return e>>17&32767}function P_(e){return 2|e}function yo(e){return(131068&e)>>2}function R_(e,t){return-131069&e|t<<2}function N_(e){return 1|e}function Fw(e,t,n,i){const r=e[n+1],o=null===t;let s=i?wr(r):yo(r),a=!1;for(;0!==s&&(!1===a||o);){const d=e[s+1];rV(e[s],t)&&(a=!0,e[s+1]=i?N_(d):P_(d)),s=i?wr(d):yo(d)}a&&(e[n+1]=i?P_(r):N_(r))}function rV(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&cs(e,t)>=0}const Tt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kw(e){return e.substring(Tt.key,Tt.keyEnd)}function oV(e){return e.substring(Tt.value,Tt.valueEnd)}function Pw(e,t){const n=Tt.textEnd;return n===t?-1:(t=Tt.keyEnd=function lV(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Tt.key=t,n),ta(e,t,n))}function Rw(e,t){const n=Tt.textEnd;let i=Tt.key=ta(e,t,n);return n===i?-1:(i=Tt.keyEnd=function dV(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=Lw(e,i,n),i=Tt.value=ta(e,i,n),i=Tt.valueEnd=function cV(e,t,n){let i=-1,r=-1,o=-1,s=t,a=s;for(;s<n;){const l=e.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=Ow(e,l,s,n):t===s-4&&85===o&&82===r&&76===i&&40===l?a=s=Ow(e,41,s,n):l>32&&(a=s),o=r,r=i,i=-33&l}return a}(e,i,n),Lw(e,i,n))}function Nw(e){Tt.key=0,Tt.keyEnd=0,Tt.value=0,Tt.valueEnd=0,Tt.textEnd=e.length}function ta(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Lw(e,t,n,i){return(t=ta(e,t,n))<n&&t++,t}function Ow(e,t,n,i){let r=-1,o=n;for(;o<i;){const s=e.charCodeAt(o++);if(s==t&&92!==r)return o;r=92==s&&92===r?0:s}throw new Error}function A(e,t,n){const i=F();return pt(i,tn(),t)&&gi(fe(),Ze(),i,e,t,i[re],n,!1),A}function L_(e,t,n,i,r){const s=r?"class":"style";Hm(e,n,t.inputs[s],s,i)}function O_(e,t,n){return on(e,t,n,!1),O_}function Dr(e,t){return on(e,t,null,!0),Dr}function uV(e,t){for(let n=function aV(e){return Nw(e),Rw(e,ta(e,0,Tt.textEnd))}(t);n>=0;n=Rw(t,n))Bw(e,kw(t),oV(t))}function rn(e){sn(gV,In,e,!0)}function In(e,t){for(let n=function sV(e){return Nw(e),Pw(e,ta(e,0,Tt.textEnd))}(t);n>=0;n=Pw(t,n))Di(e,kw(t),!0)}function on(e,t,n,i){const r=F(),o=fe(),s=Zn(2);o.firstUpdatePass&&jw(o,e,s,i),t!==le&&pt(r,s,t)&&qw(o,o.data[Bt()],r,r[re],e,r[s+1]=function yV(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=wt(Mi(e)))),e}(t,n),i,s)}function sn(e,t,n,i){const r=fe(),o=Zn(2);r.firstUpdatePass&&jw(r,null,o,i);const s=F();if(n!==le&&pt(s,o,n)){const a=r.data[Bt()];if(Uw(a,i)&&!Vw(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Xf(l,n||"")),L_(r,a,s,n,i)}else!function vV(e,t,n,i,r,o,s,a){r===le&&(r=Se);let l=0,d=0,c=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;null!==c||null!==u;){const f=l<r.length?r[l+1]:void 0,p=d<o.length?o[d+1]:void 0;let y,m=null;c===u?(l+=2,d+=2,f!==p&&(m=u,y=p)):null===u||null!==c&&c<u?(l+=2,m=c):(d+=2,m=u,y=p),null!==m&&qw(e,t,n,i,m,y,s,a),c=l<r.length?r[l]:null,u=d<o.length?o[d]:null}}(r,a,s,s[re],s[o+1],s[o+1]=function _V(e,t,n){if(null==n||""===n)return Se;const i=[],r=Mi(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}
vendor: 4,522 bytes, line 1
1(e,t,n),i,o)}}function Vw(e,t){return t>=e.expandoStartIndex}function jw(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Bt()],s=Vw(e,n);Uw(o,i)&&null===t&&!s&&(t=!1),t=function hV(e,t,n,i){const r=function Op(e){const t=oe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=zl(n=V_(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=V_(r,e,t,n,i),null===o){let l=function fV(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==yo(i))return e[wr(i)]}(e,t,i);void 0!==l&&Array.isArray(l)&&(l=V_(null,e,t,l[1],i),l=zl(l,t.attrs,i),function pV(e,t,n,i){e[wr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,l))}else o=function mV(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=zl(i,e[o].hostAttrs,n);return zl(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function iV(e,t,n,i,r,o){let s=o?t.classBindings:t.styleBindings,a=wr(s),l=yo(s);e[i]=n;let c,d=!1;if(Array.isArray(n)?(c=n[1],(null===c||cs(n,c)>0)&&(d=!0)):c=n,r)if(0!==l){const f=wr(e[a+1]);e[i+1]=Vu(f,a),0!==f&&(e[f+1]=R_(e[f+1],i)),e[a+1]=function eV(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=Vu(a,0),0!==a&&(e[a+1]=R_(e[a+1],i)),a=i;else e[i+1]=Vu(l,0),0===a?a=i:e[l+1]=R_(e[l+1],i),l=i;d&&(e[i+1]=P_(e[i+1])),Fw(e,c,i,!0),Fw(e,c,i,!1),function nV(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&cs(o,t)>=0&&(n[i+1]=N_(n[i+1]))}(t,c,e,i,o),s=Vu(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function V_(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],i=zl(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function zl(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Di(e,s,!!n||t[++o]))}return void 0===e?null:e}function Bw(e,t,n){Di(e,t,Mi(n))}function gV(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&Di(e,i,n)}function qw(e,t,n,i,r,o,s,a){if(!(3&t.type))return;const l=e.data,d=l[a+1],c=function tV(e){return!(1&~e)}(d)?zw(l,t,n,r,yo(d),s):void 0;ju(c)||(ju(o)||function J3(e){return!(2&~e)}(d)&&(o=zw(l,null,n,r,a,s)),function VN(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let o=-1===i.indexOf("-")?void 0:vr.DashCase;null==r?e.removeStyle(n,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=vr.Important),e.setStyle(n,i,r,o))}}(i,s,Ja(Bt(),n),r,o))}function zw(e,t,n,i,r,o){const s=null===t;let a;for(;r>0;){const l=e[r],d=Array.isArray(l),c=d?l[1]:l,u=null===c;let f=n[r+1];f===le&&(f=u?Se:void 0);let p=u?hp(f,i):c===i?f:void 0;if(d&&!ju(p)&&(p=hp(l,i)),ju(p)&&(a=p,s))return a;const m=e[r+1];r=s?wr(m):yo(m)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=hp(l,i))}return a}function ju(e){return void 0!==e}function Uw(e,t){return!!(e.flags&(t?8:16))}function E(e,t,n){sn(Di,In,Ws(F(),e,t,n),!0)}function zt(e,t,n,i,r){sn(Di,In,Ys(F(),e,t,n,i,r),!0)}class EV{destroy(t){}updateValue(t,n){}swap(t,n){const i=Math.min(t,n),r=Math.max(t,n),o=this.detach(r);if(r-i>1){const s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(t,n){this.attach(n,this.detach(t))}}function j_(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function B_(e,t,n,i){return!(void 0===t||!t.has(i)||(e.attach(n,t.get(i)),t.delete(i),0))}function Hw(e,t,n,i,r){if(B_(e,t,i,n(i,r)))e.updateValue(i,r);else{const o=e.create(i,r);e.attach(i,o)}}function Gw(e,t,n,i){const r=new Set;for(let o=t;o<=n;o++)r.add(i(o,e.at(o)));return r}class Ww{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,n)}}}function M(e,t){ai("NgControlFlow");const n=F(),i=tn(),r=n[i]!==le?n[i]:-1,o=-1!==r?Bu(n,Y+r):void 0;if(pt(n,i,e)){const a=Z(null);
1try{if(void 0!==o&&Wm(o,0),-1!==e){const l=Y+e,d=Bu(n,l),c=q_(n[q],l),u=po(d,c.tView.ssrId);Ps(d,ks(n,c,t,{dehydratedView:u}),0,ho(c,u))}}finally{Z(a)}}else if(void 0!==o){const a=R1(o,0);void 0!==a&&(a[Ye]=t)}}class TV{constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-ut}}function rt(e){return e}class FV{constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}}function ot(e,t,n,i,r,o,s,a,l,d,c,u,f){ai("NgControlFlow");const p=F(),m=fe(),y=void 0!==l,_=F(),w=a?s.bind(_[it][Ye]):s,D=new FV(y,w);_[Y+e]=D,Vl(p,m,e+1,t,n,i,r,qi(m.consts,o)),y&&Vl(p,m,e+2,l,d,c,u,qi(m.consts,f))}class kV extends EV{constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ut}at(t){return this.getLView(t)[Ye].$implicit}attach(t,n){const i=n[ri];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Ps(this.lContainer,n,t,ho(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),function PV(e,t){return vl(e,t)}(this.lContainer,t)}create(t,n){var i;const r=po(this.lContainer,this.templateTNode.tView.ssrId),o=ks(this.hostLView,this.templateTNode,new TV(this.lContainer,n,t),{dehydratedView:r});return null===(i=this.operationsCounter)||void 0===i||i.recordCreate(),o}destroy(t){var n;uu(t[q],t),null===(n=this.operationsCounter)||void 0===n||n.recordDestroy()}updateValue(t,n){this.getLView(t)[Ye].$implicit=n}reset(){var t;this.needsIndexUpdate=!1,null===(t=this.operationsCounter)||void 0===t||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Ye].$index=t}getLView(t){return function RV(e,t){return R1(e,t)}(this.lContainer,t)}}function st(e){const t=Z(null),n=Bt();try{const r=F(),o=r[q],s=r[n],a=n+1,l=Bu(r,a);if(void 0===s.liveCollection){const c=q_(o,a);s.liveCollection=new kV(l,r,c)}else s.liveCollection.reset();const d=s.liveCollection;if(function IV(e,t,n){var i;let r,o,s=0,a=e.length-1;if(Array.isArray(t)){let d=t.length-1;for(;s<=a&&s<=d;){const c=e.at(s),u=t[s],f=j_(s,c,s,u,n);if(0!==f){f<0&&e.updateValue(s,u),s++;continue}const p=e.at(a),m=t[d],y=j_(a,p,d,m,n);if(0!==y){y<0&&e.updateValue(a,m),a--,d--;continue}const _=n(s,c),w=n(a,p),D=n(s,u);if(Object.is(D,w)){const O=n(d,m);Object.is(O,_)?(e.swap(s,a),e.updateValue(a,m),d--,a--):e.move(a,s),e.updateValue(s,u),s++}else if(null!=r||(r=new Ww),null!=o||(o=Gw(e,s,a,n)),B_(e,r,s,D))e.updateValue(s,u),s++,a++;else if(o.has(D))r.set(_,e.detach(s)),a--;else{const O=e.create(s,t[s]);e.attach(s,O),s++,a++}}for(;s<=d;)Hw(e,r,n,s,t[s]),s++}else if(null!=t){const d=t[Symbol.iterator]();let c=d.next();for(;!c.done&&s<=a;){const u=e.at(s),f=c.value,p=j_(s,u,s,f,n);if(0!==p)p<0&&e.updateValue(s,f),s++,c=d.next();else{null!=r||(r=new Ww),null!=o||(o=Gw(e,s,a,n));const m=n(s,f);if(B_(e,r,s,m))e.updateValue(s,f),s++,a++,c=d.next();else if(o.has(m)){const y=n(s,u);r.set(y,e.detach(s)),a--}else e.attach(s,e.create(s,f)),s++,a++,c=d.next()}}for(;!c.done;)Hw(e,r,n,e.length,c.value),c=d.next()}for(;s<=a;)e.destroy(e.detach(a--));null===(i=r)||void 0===i||i.forEach(d=>{e.destroy(d)})}(d,e,s.trackByFn),d.updateIndexes(),s.hasEmptyBlock){const c=tn(),u=0===d.length;if(pt(r,c,u)){const f=n+2,p=Bu(r,f);if(u){const m=q_(o,f),y=po(p,m.tView.ssrId);Ps(p,ks(r,m,void 0,{dehydratedView:y}),0,ho(m,y))}else Wm(p,0)}}}finally{Z(t)}}function Bu(e,t){return e[t]}function q_(e,t){return el(e,t)}function C(e,t,n,i){const r=F(),o=fe(),s=Y+e,a=r[re],l=o.firstCreatePass?function NV(e,t,n,i,r,o){const s=t.consts,l=uo(t,e,2,i,qi(s,r));return qm(t,n,l,qi(s,o)),null!==l.attrs&&Su(l,l.attrs,!1),null!==l.mergedAttrs&&Su(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,r,t,n,i):o.data[s],d=Yw(o,r,l,a,t,e);r[s]=d;const c=Nc(l);return en(l,!0),v1(a,d,l),!function Vs(e){return!(32&~e.flags)}(l)&&il()&&hu(o,r,d,l),0===function cP(){return oe.lFrame.elementDepthCount}()&&Kt(d,r),function uP(){oe.lFrame.elementDepthCount++}(),c&&(Vm(o,r,l),Om(o,l,r)),null!==i&&jm(r,l),C}function x(){let e=Be();Rp()?Np():(e=e.parent,en(e,!1));const t=e;(function fP(e){return oe.skipHydrationRootTNode===e})(t)&&function gP(){oe.skipHydrationRootTNode=null}(),function hP(){oe.lFrame.elementDepthCount--}();const n=fe();return n.firstCreatePass&&(qc(n,e),Sp(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function TP(e){return!!(8&e.flags)}(t)&&L_(n,t,F(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function AP(e){return!!(16&e.flags)}(t)&&L_(n,t,F(),t.stylesWithoutHost,!1),x}function P(e,t,n,i){return C(e,t,n,i),x(),P}let Yw=(e,t,n,i,r,o)=>(bn(!0),cu(i,r,function MC(){return oe.lFrame.currentNamespace}()));function Co(e,t,n){const i=F(),r=fe(),o=e+Y,s=r.firstCreatePass?function VV(e,t,n,i,r){const o=t.consts,s=qi(o,i),a=uo(t,e,8,"ng-container",s);return null!==s&&Su(a,s,!0),qm(t,n,a,qi(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,r,i,t,n):r.data[o];en(s,!0);const a=Kw(r,i,s,e);return i[o]=a,il()&&hu(r,i,a,s),Kt(a,i),Nc(s)&&(Vm(r,i,s),Om(r,s,i)),null!=n&&jm(i,s),Co}function bo(){let e=Be();const t=fe();return Rp()?Np():(e=e.parent,en(e,!1)),t.firstCreatePass&&(qc(t,e),Sp(e)&&t.queries.elementEnd(e)),bo}let Kw=(e,t,n,i)=>(bn(!0),Im(t[re],""));function se(){return F()}function z_(e,t,n){const i=F();return pt(i,tn(),t)&&gi(fe(),Ze(),i,e,t,i[re],n,!0),z_}const qu="en-US";let eD=qu,vD=(e,t,n)=>{};function U(e,t,n,i){const r=F(),o=fe(),s=Be();return function H_(e,t,n,i,r,o,s){const a=Nc(i),d=e.firstCreatePass&&k1(e),c=t[Ye],u=F1(t);let f=!0;if(3&i.type||s){const y=oi(i,t),_=s?s(y):y,w=u.length,D=s?B=>s(Ee(B[i.index])):i.index;let O=null;if(!s&&a&&(O=function Fj(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===n&&r[o+1]===i){const a=t[Xr],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,t,r,i.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=o,O.__ngLastListenerFn__=o,f=!1;else{o=xD(i,t,c,o),vD(y,r,o);const B=n.listen(_,r,o);u.push(o,B),d&&d.push(r,D,w,w+1)}}else o=xD(i,t,c,o);const p=i.outputs;let m;if(f&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let _=0;_<y;_+=2){const K=t[m[_]][m[_+1]].subscribe(o),me=u.length;u.push(o,K),d&&d.push(r,i.index,me,-(me+1))}}}(o,r,r[re],s,e,t,i),U}function bD(e,t,n,i){const r=Z(null);try{return Cn(6,t,n),!1!==n(i)}catch(o){return _u(e,o),!1}finally{Cn(7,t,n),Z(r)}}function xD(e,t,n,i){return function r(o){if(o===Function)return i;
1xl(e.componentOffset>-1?Si(e.index,t):t,5);let a=bD(t,n,i,o),l=r.__ngNextListenerFn__;for(;l;)a=bD(t,n,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function v(e=1){return function xP(e){return(oe.lFrame.contextLView=function uC(e,t){for(;e>0;)t=t[ps],e--;return t}(e,oe.lFrame.contextLView))[Ye]}(e)}function kj(e,t){let n=null;const i=function S2(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let r=0;r<t.length;r++){const o=t[r];if("*"!==o){if(null===i?By(e,o,!0):I2(i,o))return r}else n=r}return n}function na(e){const t=F()[it][jt];if(!t.projection){const i=t.projection=function Dc(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(e?e.length:1,null),r=i.slice();let o=t.child;for(;null!==o;){if(128!==o.type){const s=e?kj(o,e):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function er(e,t=0,n,i,r,o){const s=F(),a=fe(),l=i?e+1:null;null!==l&&Vl(s,a,l,i,r,o,null,n);const d=uo(a,Y+e,16,null,n||null);null===d.projection&&(d.projection=t),Np();const u=!s[ri]||io();null===s[it][jt].projection[d.projection]&&null!==l?function Pj(e,t,n){const i=Y+n,r=t.data[i],o=e[i],s=po(o,r.tVie
1w.ssrId);Ps(o,ks(e,r,void 0,{dehydratedView:s}),0,ho(r,s))}(s,a,l):u&&32&~d.flags&&function LN(e,t,n){_1(t[re],0,t,n,Fm(e,n,t),c1(n.parent||t[jt],n,t))}(a,s,d)}function ge(e,t,n){return wo(e,"",t,"",n),ge}function wo(e,t,n,i,r){const o=F(),s=Ws(o,t,n,i);return s!==le&&gi(fe(),Ze(),o,e,s,o[re],r,!1),wo}function Pi(e,t,n,i,r,o,s){const a=F(),l=Ys(a,t,n,i,r,o);return l!==le&&gi(fe(),Ze(),a,e,l,a[re],s,!1),Pi}function Tn(e,t,n,i,r,o,s,a,l){const d=F(),c=Zs(d,t,n,i,r,o,s,a);return c!==le&&gi(fe(),Ze(),d,e,c,d[re],l,!1),Tn}function G_(e,t,n,i,r,o,s,a,l,d,c){const u=F(),f=function Ks(e,t,n,i,r,o,s,a,l,d){const u=Ui(e,Yn(),n,r,s,l);return Zn(4),u?t+ae(n)+i+ae(r)+o+ae(s)+a+ae(l)+d:le}(u,t,n,i,r,o,s,a,l,d);return f!==le&&gi(fe(),Ze(),u,e,f,u[re],c,!1),G_}function Hu(e,t,n,i){!function Mx(e,t,n,i){const r=fe();if(r.firstCreatePass){const o=Be();Ex(r,new xx(t,n,i),o.index),function HO(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),!(2&~n)&&(r.staticContentQueries=!0)}return Dx(r,F(),n)}(e,t,n,i)}function Gu(e,t,n){!function Sx(e,t,n){const i=fe();return i.firstCreatePass&&(Ex(i,new xx(e,t,n),-1),!(2&~t)&&(i.staticViewQueries=!0)),Dx(i,F(),t)}(e,t,n)}function Do(e){const t=F(),n=fe(),i=Vp();Bc(i+1);const r=g_(n,i);if(e.dirty&&function lP(e){return!(4&~e[ee])}(t)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=Ix(t,i);e.reset(o,ib),e.notifyOnChanges()}return!0}return!1}function So(){return function __(e,t){return e[vn].queries[t].queryList}(F(),Vp())}function W_(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function TD(e){!function En(e){sn(Bw,uV,e,!1)}(function Gs(e,t){let n=!1,i=Yn();for(let o=1;o<t.length;o+=2)n=pt(e,i++,t[o])||n;if(yC(i),!n)return le;let r=t[0];for(let o=1;o<t.length;o+=2)r+=ae(t[o])+t[o+1];return r}(F(),e))}function V(e,t=""){const n=F(),i=fe(),r=e+Y,o=i.firstCreatePass?uo(i,r,1,t,null):i.data[r],s=jD(i,n,o,t,e);n[r]=s,il()&&hu(i,n,s,o),en(o,!1)}let jD=(e,t,n,i,r)=>(bn(!0),function Em(e,t){return e.createText(t)}(t[re],i));function Ie(e){return xe("",e,""),Ie}function xe(e,t,n){const i=F(),r=Ws(i,e,t,n);return r!==le&&function Jn(e,t,n){const i=Ja(t,e);!function r1(e,t,n){e.setValue(t,n)}(e[re],i,n)}(i,Bt(),r),xe}const KD={};function Y_(e){const t=fe(),n=F(),i=e+Y;return en(uo(t,i,128,null,null),!1),W_(t,n,i,KD),Y_}function Z_(e,t,n,i,r){if(e=ne(e),Array.isArray(e))for(let o=0;o<e.length;o++)Z_(e[o],t,n,i,r);else{const o=fe(),s=F(),a=Be();let l=Qr(e)?e:ne(e.provide);const d=Yy(e),c=1048575&a.providerIndexes,u=a.directiveStart,f=a.providerIndexes>>20;if(Qr(e)||!e.multi){const p=new nl(d,r,I),m=Q_(l,t,r?c:c+f,u);-1===m?(Yp(Hc(a,s),o,l),K_(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{const p=Q_(l,t,c+f,u),m=Q_(l,t,c,c+f),_=m>=0&&n[m];if(r&&!_||!r&&!(p>=0&&n[p])){Yp(Hc(a,s),o,l);const w=function Qj(e,t,n,i,r){const o=new nl(e,n,I);return o.multi=[],o.index=t,o.componentProviders=0,JD(o,r,i&&!n),o}(r?Kj:Zj,n.length,r,i,d);!r&&_&&(n[m].providerFactory=w),K_(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else K_(o,e,p>-1?p:m,JD(n[r?m:p],d,!r&&i));!r&&i&&_&&n[m].componentProviders++}}}function K_(e,t,n,i){const r=Qr(t),o=function V2(e){return!!e.useClass}(t);if(r||o){const l=(o?ne(t.useClass):t).prototype.ngOnDestroy;if(l){const d=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const c=d.indexOf(n);-1===c?d.push(n,[i,l]):d[c+1].push(i,l)}else d.push(n,l)}}}function JD(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Q_(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function Zj(e,t,n,i){return X_(this.multi,[])}function Kj(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=oo(n,n[q],this.providerFactory.index,i);o=a.slice(0,s),X_(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],X_(r,o);return o}function X_(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function qe(e,t=[]){return n=>{n.providersResolver=(i,r)=>
1function Yj(e,t,n){const i=fe();if(i.firstCreatePass){const r=Ji(e);Z_(n,i.data,i.blueprint,r,!0),Z_(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}let Xj=(()=>{var e;class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const r=_p(0,i.type),o=r.length>0?Tu([r],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,o)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=j({token:e,providedIn:"environment",factory:()=>new e(k(Yt))}),t})();function Mo(e){ai("NgStandalone"),e.getStandaloneInjector=t=>t.get(Xj).getOrCreateStandaloneInjector(e)}function Xt(e,t,n,i){return nS(F(),si(),e,t,n,i)}function ra(e,t,n,i,r){return rS(F(),si(),e,t,n,i,r)}function Zu(e,t,n,i,r,o){return function oS(e,t,n,i,r,o,s,a){const l=t+n;return Fu(e,l,r,o,s)?Mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Yl(e,l+3)}(F(),si(),e,t,n,i,r,o)}function iS(e,t,n,i,r,o,s){return function sS(e,t,n,i,r,o,s,a,l){const d=t+n;return Ui(e,d,r,o,s,a)?Mn(e,d+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):Yl(e,d+4)}(F(),si(),e,t,n,i,r,o,s)}function Yl(e,t){const n=e[t];return n===le?void 0:n}function nS(e,t,n,i,r,o){const s=t+n;return pt(e,s,r)?Mn(e,s+1,o?i.call(o,r):i(r)):Yl(e,s+1)}function rS(e,t,n,i,r,o,s){const a=t+n;return _o(e,a,r,o)?Mn(e,a+2,s?i.call(s,r,o):i(r,o)):Yl(e,a+2)}function Ri(e,t){const n=fe();let i;const r=e+Y;var o;n.firstCreatePass?(i=function l4(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(null!==(o=n.destroyHooks)&&void 0!==o?o:n.destroyHooks=[]).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=Kr(i.type)),l=pi(I);try{const d=$c(!1),c=s();return $c(d),W_(n,F(),r,c),c}finally{pi(l)}}function Zl(e,t,n){const i=e+Y,r=F(),o=to(r,i);return Kl(r,i)?nS(r,si(),t,o.transform,n,o):o.transform(n)}function tr(e,t,n,i){const r=e+Y,o=F(),s=to(o,r);return Kl(o,r)?rS(o,si(),t,s.transform,n,i,s):s.transform(n,i)}function Kl(e,t){return e[q].data[t].pure}let wS=(()=>{var e;class t{log(i){console.log(i)}warn(i){console.warn(i)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const ES=new R(""),Xu=new R("");let ag,og=(()=>{var e;class t{constructor(i,r,o){this._ngZone=i,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ag||(function s5(e){ag=e}(o),o.addToWindow(r)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(i)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),i()},r)),this._callbacks.push({doneCb:i,timeoutId:s,updateCb:o})}whenStable(i,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,r,o),this._runCallbacksIfReady()}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,r,o){return[]}}return(e=t).\u0275fac=function(i){return new(i||e)(k(ue),k(sg),k(Xu))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})(),sg=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(i,r){this._applications.set(i,r)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,r=!0){var o,s;return null!==(o=null===(s=ag)||void 0===s?void 0:s.findTestabilityInTree(this,i,r))&&void 0!==o?o:null}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function Jl(e){return!!e&&"function"==typeof e.then}function IS(e){return!!e&&"function"==typeof e.subscribe}const lg=new R("");let TS=(()=>{var e;class t{constructor(){var i;this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=null!==(i=S(lg,{optional:!0}))&&void 0!==i?i:[]}
1runInitializers(){if(this.initialized)return;const i=[];for(const o of this.appInits){const s=o();if(Jl(s))i.push(s);else if(IS(s)){const a=new Promise((l,d)=>{s.subscribe({complete:l,error:d})});i.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{r()}).catch(o=>{this.reject(o)}),0===i.length&&r(),this.initialized=!0}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Ju=new R("");function FS(e,t){return Array.isArray(t)?t.reduce(FS,e):{...e,...t}}let an=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=S(rR),this.afterRenderManager=S(iw),this.zonelessEnabled=S(Fl),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Ce,this.afterTick=new Ce,this.componentTypes=[],this.components=[],this.isStable=S(Qn).hasPendingTasks.pipe(H(i=>!i)),this._injector=S(Yt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let i;return new Promise(r=>{i=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{i.unsubscribe()})}get injector(){return this._injector}bootstrap(i,r){const o=i instanceof cx;if(!this._injector.get(TS).done)throw!o&&function mr(e){const t=pe(e)||Dt(e)||Vt(e);return null!==t&&t.standalone}(i),new L(405,!1);let a;a=o?i:this._injector.get(Ls).resolveComponentFactory(i),this.componentTypes.push(a.componentType);const l=function a5(e){return e.isBoundToModule}(a)?void 0:this._injector.get(mo),c=a.create(ft.NULL,[],r||a.selector,l),u=c.location.nativeElement,f=c.injector.get(ES,null);return null==f||f.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),eh(this.components,c),null==f||f.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new L(101,!1);const i=Z(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,Z(i),this.afterTick.next()}}synchronize(){let i=null;this._injector.destroyed||(i=this._injector.get(s_,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(i)}synchronizeOnce(i){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const s=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)c5(a,l,s,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else{var r,o;null==i||null===(r=i.begin)||void 0===r||r.call(i),null==i||null===(o=i.end)||void 0===o||o.call(i)}8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:i})=>Lc(i))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(i){const r=i;this._views.push(r),r.attachToAppRef(this)}detachView(i){const r=i;eh(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const r=this._injector.get(Ju,[]);[...this._bootstrapListeners,...r].forEach(o=>o(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>eh(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new L(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function eh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function c5(e,t,n,i){(n||Lc(e))&&gu(e,t,n&&!i?0:1)}class u5{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let PS=(()=>{var e;class t{compileModuleSync(i){return new b_(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const r=this.compileModuleSync(i),s=Ii(Wt(i).declarations).reduce((a,l)=>{const d=pe(l);return d&&a.push(new Rl(d)),a},[]);return new u5(r,s)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),p5=(()=>{var e;class t{constructor(){this.zone=S(ue),this.changeDetectionScheduler
1=S(Ns),this.applicationRef=S(an)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;null===(i=this._onMicrotaskEmptySubscription)||void 0===i||i.unsubscribe()}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function dg({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return null!=e||(e=()=>new ue({...cg(),scheduleInRootZone:n})),[{provide:ue,useFactory:e},{provide:mn,multi:!0,useFactory:()=>{const i=S(p5,{optional:!0});return()=>i.initialize()}},{provide:mn,multi:!0,useFactory:()=>{const i=S(_5);return()=>{i.initialize()}}},!0===t?{provide:dx,useValue:!0}:[],{provide:o_,useValue:null!=n?n:YC}]}function cg(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(n=null==e?void 0:e.runCoalescing)&&void 0!==n&&n}}let _5=(()=>{var e;class t{constructor(){this.subscription=new Xe,this.initialized=!1,this.zone=S(ue),this.pendingTasks=S(Qn)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),null!=i||(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),ed=(()=>{var e;class t{constructor(){var i,r,o;this.appRef=S(an),this.taskService=S(Qn),this.ngZone=S(ue),this.zonelessEnabled=S(Fl),this.disableScheduling=null!==(i=S(dx,{optional:!0}))&&void 0!==i&&i,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Xe,this.angularZoneId=this.zoneIsDefined?null===(r=this.ngZone._inner)||void 0===r?void 0:r.get(Kc):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&null!==(o=S(o_,{optional:!0}))&&void 0!==o&&o,this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof tm||!this.zoneIsDefined))}notify(i){if(!this.zonelessEnabled&&5===i)return;switch(i){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?KC:ZC;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Kc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(i),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,KC(()=>
1{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,null===(i=this.cancelScheduledCallback)||void 0===i||i.call(this),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const ir=new R("",{providedIn:"root",factory:()=>S(ir,_e.Optional|_e.SkipSelf)||function g5(){return typeof $localize<"u"&&$localize.locale||qu}()}),th=new R("");function ih(e){return!e.moduleRef}let jS=(()=>{var e;class t{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,r){const o=null==r?void 0:r.scheduleInRootZone,l=[dg({ngZoneFactory:()=>function nR(e="zone.js",t){return"noop"===e?new tm:"zone.js"===e?new ue(t):e}(null==r?void 0:r.ngZone,{...cg({eventCoalescing:null==r?void 0:r.ngZoneEventCoalescing,runCoalescing:null==r?void 0:r.ngZoneRunCoalescing}),scheduleInRootZone:o}),ignoreChangesOutsideZone:null==r?void 0:r.ignoreChangesOutsideZone}),{provide:Ns,useExisting:ed}],d=function h3(e,t,n){return new C_(e,t,n,!1)}(i.moduleType,this.injector,l);return function VS(e){const t=ih(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ue);return n.run(()=>{ih(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=t.get(wn,null);let r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:o=>{i.handleError(o)}})}),ih(e)){const o=()=>t.destroy(),s=e.platformInjector.get(th);s.add(o),t.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(th);s.add(o),e.moduleRef.onDestroy(()=>{eh(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function d5(e,t,n){try{const i=n();return Jl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(i,n,()=>{const o=t.get(TS);return o.runInitializers(),o.donePromise.then(()=>{if(function WV(e){"string"==typeof e&&(eD=e.toLowerCase().replace(/_/g,"-"))}(t.get(ir,qu)||qu),ih(e)){const a=t.get(an);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function w5(e,t){const n=e.injector.get(an);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new L(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:d,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(i,r=[]){const o=FS({},r);return function f5(e,t,n){const i=new b_(n);return Promise.resolve(i)}(0,0,i).then(s=>this.bootstrapModuleFactory(s,o))}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new L(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const i=this._injector.get(th,null);i&&(i.forEach(r=>r()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(i){return new(i||e)(k(ft))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Sr=null;const BS=new R("");function qS(e,t,n=[]){const i=`Platform: ${t}`,r=new R(i);return(o=[])=>{let s=hg();if(!s||s.injector.get(BS,!1)){const a=[...n,...o,{provide:r,useValue:!0}];e?e(a):function D5(e){if(Sr&&!Sr.get(BS,!1))throw new L(400,!1);(function AS(){!function Ak(e){ay=e}(()=>{throw new L(600,!1)})})(),Sr=e;const t=e.get(jS);(function US(e){const t=e.get(xb,null);null==t||t.forEach(n=>n())})(e)}(function zS(e=[],t){return ft.create({name:t,providers:[{provide:yp,useValue:"platform"},{provide:th,useValue:new Set([()=>Sr=null])},...e]})}(a,i))}return function S5(){const t=hg();if(!t)throw new L(401,!1);return t}()}}function hg(){var e,t;return null!==(e=null===(t=Sr)||void 0===t?void 0:t.get(jS))&&void 0!==e?e:null}let Ni=(()=>{class t{}return t.__NG_ELEMENT_ID__=E5,t})();function E5(e){return function I5(e,t,n){if(eo(e)&&!n){const i=Si(e.index,t);return new wl(i,i)}return 175&e.type?new wl(t[it],t):null}(Be(),F(),!(16&~e))}class YS{constructor(){}supports(t){return Au(t)}
vendor: 7,561 bytes, line 1
1create(t){return new P5(t)}}const k5=(e,t)=>t;class P5{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||k5}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){const s=!i||n&&n.currentIndex<KS(i,r,o)?n:i,a=KS(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(n=n._next,null==s.previousIndex)r++;else{o||(o=[]);const d=a-r,c=l-r;if(d!=c){for(let f=0;f<d;f++){const p=f<o.length?o[f]:o[f]=0,m=p+f;c<=m&&m<d&&(o[f]=p+1)}o[s.previousIndex]=c-d}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Au(t))throw new L(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,o,s,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),i=!0),n=n._next}else r=0,function m3(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,a=>{s=this._trackByFn(r,a),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,a,s,r)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new R5(n,i),o,r),t}_verifyReinsertion(t,n,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ZS),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ZS),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class R5{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class N5{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class ZS{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new N5,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function KS(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}function XS(){return new gg([new YS])}let gg=(()=>{var e;class t{constructor(i){this.factories=i}static create(i,r){if(null!=r){const o=r.factories.slice();i=i.concat(o)}return new t(i)}static extend(i){return{provide:t,useFactory:r=>t.create(i,r||XS()),deps:[[t,new xc,new bc]]}}find(i){const r=this.factories.find(o=>o.supports(i));if(null!=r)return r;throw new L(901,!1)}}return(e=t).\u0275prov=j({token:e,providedIn:"root",factory:XS}),t})();const B5=qS(null,"core",[]);let q5=(()=>{var e;class t{constructor(i){}}return(e=t).\u0275fac=function(i){return new(i||e)(k(an))},e.\u0275mod=Me({type:e}),e.\u0275inj=De({}),t})();function Li(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function rd(e,t){ai("NgSignals");const n=function Ek(e){const t=Object.create(Ik);t.computation=e;const n=()=>
1{if(ey(t),nc(t),t.value===ac)throw t.error;return t.value};return n[Ue]=t,n}(e);return null!=t&&t.equal&&(n[Ue].equal=t.equal),n}function ln(e){const t=Z(null);try{return e()}finally{Z(t)}}const y6=new R("",{providedIn:"root",factory:()=>S(C6)});let C6=(()=>{var e;class t{}return(e=t).\u0275prov=j({token:e,providedIn:"root",factory:()=>new b6}),t})();class b6{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=S(Qn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const i=this.queues.get(n);i.has(t)||(this.queuedEffectCount++,i.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class x6{constructor(t,n,i,r,o,s){this.scheduler=t,this.effectFn=n,this.creationZone=i,this.injector=o,this.watcher=function Rk(e,t,n){const i=Object.create(Nk);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const r=l=>{i.cleanupFn=l};return i.ref={notify:()=>ny(i),run:()=>{if(null===i.fn)return;if(function ic(){return Wr}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Vf(i))return;i.hasRun=!0;const l=rc(i);try{i.cleanupFn(),i.cleanupFn=Uf,i.fn(r)}finally{Of(i,l)}},cleanup:()=>i.cleanupFn(),destroy:()=>function s(l){(function o(l){return null===l.fn&&null===l.schedule})(l)||(jf(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Uf)}(i),[Ue]:i},i.ref}(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=null==r?void 0:r.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){const i=this.injector.get(wn,null,{optional:!0});null==i||i.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){var t;this.watcher.destroy(),null===(t=this.unregisterOnDestroy)||void 0===t||t.call(this)}}let od=null;function Mr(){return od}class S6{}const Fe=new R("");let Cg=(()=>{var e;class t{historyGo(i){throw new Error("")}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:()=>S(E6),providedIn:"platform"}),t})();const M6=new R("");let E6=(()=>{var e;class t extends Cg{constructor(){super(),this._doc=S(Fe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Mr().getBaseHref(this._doc)}onPopState(i){const r=Mr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){const r=Mr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",i,!1),()=>r.removeEventListener("hashchange",i)}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(i){this._location.pathname=i}pushState(i,r,o){this._history.pushState(i,r,o)}replaceState(i,r,o){this._history.replaceState(i,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:()=>new e,providedIn:"platform"}),t})();function bg(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function wM(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function nr(e){return e&&"?"!==e[0]?"?"+e:e}let Ao=(()=>{var e;class t{historyGo(i){throw new Error("")}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:()=>S(SM),providedIn:"root"}),t})();const DM=new R("");let SM=(()=>{var e;class t extends Ao{constructor(i,r){var o,s,a;super(),this._platformLocation=i,this._removeListenerFns=[],this._baseHref=null!==(o=null!==(s=null!=r?r:this._platformLocation.getBaseHrefFromDOM())&&void 0!==s?s:null===(a=S(Fe).location)||void 0===a?void 0:a.origin)&&void 0!==o?o:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.on
1HashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return bg(this._baseHref,i)}path(i=!1){const r=this._platformLocation.pathname+nr(this._platformLocation.search),o=this._platformLocation.hash;return o&&i?`${r}${o}`:r}pushState(i,r,o,s){const a=this.prepareExternalUrl(o+nr(s));this._platformLocation.pushState(i,r,a)}replaceState(i,r,o,s){const a=this.prepareExternalUrl(o+nr(s));this._platformLocation.replaceState(i,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var r,o;null===(r=(o=this._platformLocation).historyGo)||void 0===r||r.call(o,i)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Cg),k(DM,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),I6=(()=>{var e;class t extends Ao{constructor(i,r){super(),this._platformLocation=i,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}path(i=!1){var r;const o=null!==(r=this._platformLocation.hash)&&void 0!==r?r:"#";return o.length>0?o.substring(1):o}prepareExternalUrl(i){const r=bg(this._baseHref,i);return r.length>0?"#"+r:r}pushState(i,r,o,s){let a=this.prepareExternalUrl(o+nr(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(i,r,a)}replaceState(i,r,o,s){let a=this.prepareExternalUrl(o+nr(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(i,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var r,o;null===(r=(o=this._platformLocation).historyGo)||void 0===r||r.call(o,i)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Cg),k(DM,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})(),aa=(()=>{var e;class t{constructor(i){this._subject=new G,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=i;const r=this._locationStrategy.getBaseHref();this._basePath=function F6(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(wM(MM(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){var i;null===(i=this._urlChangeSubscription)||void 0===i||i.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,r=""){return this.path()==this.normalize(i+nr(r))}normalize(i){return t.stripTrailingSlash(function A6(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,MM(i)))}prepareExternalUrl(i){return i&&"/"!==i[0]&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,r="",o=null){this._locationStrategy.pushState(o,"",i,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+nr(r)),o)}replaceState(i,r="",o=null){this._locationStrategy.replaceState(o,"",i,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+nr(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){var r,o;null===(r=(o=this._locationStrategy).historyGo)||void 0===r||r.call(o,i)}onUrlChange(i){var r;return this._urlChangeListeners.push(i),null!==(r=this._urlChangeSubscription)&&void 0!==r||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{const o=this._urlChangeListeners.indexOf(i);var s;this._urlChangeListeners.splice(o,1),0===this._urlChangeListeners.length&&(null===(s=this._urlChangeSubscription)||void 0===s||s.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",r){this._urlChangeListeners.forEach(o=>o(i,r))}subscribe(i,r,o){return this._subject.subscribe({next:i,error:r,complete:o})}}return(e=t).normalizeQueryParams=nr,e.joinWithSlash=bg,e.stripTrailingSlash=wM,e.\u0275fac=function(i){return new(i||e)(k(Ao))},e.\u0275prov=j({token:e,factory:()=>function T6(){return new aa(k(Ao))}(),providedIn:"root"}),t})();function MM(e){return e.replace(/\/index.html$/,"")}
vendor: 4,169 bytes, line 1
1function NM(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[r,o]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const Fg=/\s+/,LM=[];let An=(()=>{var e;class t{constructor(i,r){this._ngEl=i,this._renderer=r,this.initialClasses=LM,this.stateMap=new Map}set klass(i){this.initialClasses=null!=i?i.trim().split(Fg):LM}set ngClass(i){this.rawClass="string"==typeof i?i.trim().split(Fg):i}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(const r of i)this._updateState(r,!0);else if(null!=i)for(const r of Object.keys(i))this._updateState(r,!!i[r]);this._applyStateDiff()}_updateState(i,r){const o=this.stateMap.get(i);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(i,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const i of this.stateMap){const r=i[0],o=i[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(i,r){(i=i.trim()).length>0&&i.split(Fg).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return(e=t).\u0275fac=function(i){return new(i||e)(I(et),I(Ai))},e.\u0275dir=te({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class _7{constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ld=(()=>{var e;class t{set ngForOf(i){this._ngForOf=i,this._ngForOfDirty=!0}set ngForTrackBy(i){this._trackByFn=i}get ngForTrackBy(){return this._trackByFn}constructor(i,r,o){this._viewContainer=i,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(i){i&&(this._template=i)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;!this._differ&&i&&(this._differ=this._differs.find(i).create(this.ngForTrackBy))}if(this._differ){const i=this._differ.diff(this._ngForOf);i&&this._applyChanges(i)}}_applyChanges(i){const r=this._viewContainer;i.forEachOperation((o,s,a)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new _7(o.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)r.remove(null===s?void 0:s);else if(null!==s){const l=r.get(s);r.move(l,a),VM(l,o)}});for(let o=0,s=r.length;o<s;o++){const l=r.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}i.forEachIdentityChange(o=>{VM(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(i,r){return!0}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Fi),I(zi),I(gg))},e.\u0275dir=te({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function VM(e,t){e.context.$implicit=t.item}let dd=(()=>{var e;class t{constructor(i,r){this._viewContainer=i,this._context=new g7,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(i){this._context.$implicit=this._context.ngIf=i,this._updateView()}set ngIfThen(i){jM("ngIfThen",i),this._thenTemplateRef=i,this._thenViewRef=null,this._updateView()}set ngIfElse(i){jM("ngIfElse",i),this._elseTemplateRef=i,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(i,r){return!0}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Fi),I(zi))},e.\u0275dir=te({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThe
1n:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class g7{constructor(){this.$implicit=null,this.ngIf=null}}function jM(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${wt(t)}'.`)}class C7{createSubscription(t,n){return ln(()=>t.subscribe({next:n,error:i=>{throw i}}))}dispose(t){ln(()=>t.unsubscribe())}}class b7{createSubscription(t,n){return t.then(n,i=>{throw i})}dispose(t){}}const x7=new b7,w7=new C7;let qM=(()=>{var e;class t{constructor(i){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=i}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(i){if(!this._obj){if(i)try{this.markForCheckOnValueUpdate=!1,this._subscribe(i)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return i!==this._obj?(this._dispose(),this.transform(i)):this._latestValue}_subscribe(i){this._obj=i,this._strategy=this._selectStrategy(i),this._subscription=this._strategy.createSubscription(i,r=>this._updateLatestValue(i,r))}_selectStrategy(i){if(Jl(i))return x7;if(IS(i))return w7;throw function cn(e,t){return new L(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(i,r){var o;i===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate)&&(null===(o=this._ref)||void 0===o||o.markForCheck())}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Ni,16))},e.\u0275pipe=Ot({name:"async",type:e,pure:!1,standalone:!0}),t})(),Fn=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({}),t})();const UM="browser";function $M(e){return e===UM}function Lg(e){return"server"===e}let z7=(()=>{var e;class t{}return(e=t).\u0275prov=j({token:e,providedIn:"root",factory:()=>$M(S(nn))?new U7(S(Fe),window):new H7}),t})();class U7{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){const n=function $7(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){const n=t.getBoundingClientRect(),i=n.left+this.window.pageXOffset,r=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}}class H7{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}class HM{}class y8 extends S6{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Bg extends y8{static makeCurrent(){!function D6(e){null!=od||(od=e)}(new Bg)}onAndCancel(t,n,i){return t.addEventListener(n,i),()=>{t.removeEventListener(n,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function C8(){return hd=hd||document.querySelector("base"),hd?hd.getAttribute("href"):null}();return null==n?null:function b8(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){hd=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return NM(document.cookie,t)}}let hd=null,w8=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();const qg=new R("");let iE=(()=>{var e;class t{constructor(i,r){this._zone=r,this._eventNameToPlugin=new Map,i.forEac
1h(o=>{o.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,r,o){return this._findPluginFor(r).addEventListener(i,r,o)}getZone(){return this._zone}_findPluginFor(i){let r=this._eventNameToPlugin.get(i);if(r)return r;if(r=this._plugins.find(s=>s.supports(i)),!r)throw new L(5101,!1);return this._eventNameToPlugin.set(i,r),r}}return(e=t).\u0275fac=function(i){return new(i||e)(k(qg),k(ue))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();class nE{constructor(t){this._doc=t}}const zg="ng-app-id";let rE=(()=>{var e;class t{constructor(i,r,o,s={}){this.doc=i,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Lg(s),this.resetHostNodes()}addStyles(i){for(const r of i)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(i){for(const r of i)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const i=this.styleNodesInDOM;i&&(i.forEach(r=>r.remove()),i.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(i){this.hostNodes.add(i);for(const r of this.getAllStyles())this.addStyleToHost(i,r)}removeHost(i){this.hostNodes.delete(i)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(i){for(const r of this.hostNodes)this.addStyleToHost(r,i)}onStyleRemoved(i){var r;const o=this.styleRef;null===(r=o.get(i))||void 0===r||null===(r=r.elements)||void 0===r||r.forEach(s=>s.remove()),o.delete(i)}collectServerRenderedStyles(){var i;const r=null===(i=this.doc.head)||void 0===i?void 0:i.querySelectorAll(`style[${zg}="${this.appId}"]`);if(null!=r&&r.length){const o=new Map;return r.forEach(s=>{null!=s.textContent&&o.set(s.textContent,s)}),o}return null}changeUsageCount(i,r){const o=this.styleRef;if(o.has(i)){const s=o.get(i);return s.usage+=r,s.usage}return o.set(i,{usage:r,elements:[]}),r}getStyleElement(i,r){const o=this.styleNodesInDOM,s=null==o?void 0:o.get(r);if((null==s?void 0:s.parentNode)===i)return o.delete(r),s.removeAttribute(zg),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(zg,this.appId),i.appendChild(a),a}}addStyleToHost(i,r){var o;const s=this.getStyleElement(i,r),a=this.styleRef,l=null===(o=a.get(r))||void 0===o?void 0:o.elements;l?l.push(s):a.set(r,{elements:[s],usage:1})}resetHostNodes(){const i=this.hostNodes;i.clear(),i.add(this.doc.head)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe),k(Ds),k(lm,8),k(nn))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();const Ug={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"},$g=/%COMP%/g,E8=new R("",{providedIn:"root",factory:()=>!0});function sE(e,t){return t.map(n=>n.replace($g,e))}let aE=(()=>{var e;class t{constructor(i,r,o,s,a,l,d,c=null){this.eventManager=i,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Lg(l),this.defaultRenderer=new Hg(i,a,d,this.platformIsServer)}createRenderer(i,r){if(!i||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ki.ShadowDom&&(r={...r,encapsulation:Ki.Emulated});const o=this.getOrCreateRenderer(i,r);return o instanceof dE?o.applyToHost(i):o instanceof Gg&&o.applyStyles(),o}getOrCreateRenderer(i,r){const o=this.rendererByCompId;let s=o.get(r.id);if(!s){const a=this.doc,l=this.ngZone,d=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(r.encapsulation){case Ki.Emulated:s=new dE(d,c,r,this.appId,u,a,l,f);break;case Ki.ShadowDom:return new F8(d,c,i,r,a,l,this.nonce,f);default:s=new Gg(d,c,r,u,a,l,f)}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(i){return new(i||e)(k(iE),k(rE),k(Ds),k(E8),k(Fe),k(nn),k(ue),k(lm))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();
vendor: 4,594 bytes, line 1
1class Hg{constructor(t,n,i,r){this.eventManager=t,this.doc=n,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Ug[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(lE(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(lE(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){n.remove()}selectRootElement(t,n){let i="string"==typeof t?this.doc.querySelector(t):t;if(!i)throw new L(-5104,!1);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;const o=Ug[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const r=Ug[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(vr.DashCase|vr.Important)?t.style.setProperty(n,i,r&vr.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&vr.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){null!=t&&(t[n]=i)}setValue(t,n){t.nodeValue=n}listen(t,n,i){if("string"==typeof t&&!(t=Mr().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(i))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function lE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class F8 extends Hg{constructor(t,n,i,r,o,s,a,l){super(t,o,s,l),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const d=sE(r.id,r.styles);for(const c of d){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=c,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Gg extends Hg{constructor(t,n,i,r,o,s,a,l){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=r,this.styles=l?sE(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class dE extends Gg{constructor(t,n,i,r,o,s,a,l){const d=r+"-"+i.id;super(t,n,i,o,s,a,l,d),this.contentAttr=function I8(e){return"_ngcontent-%COMP%".replace($g,e)}(d),this.hostAttr=function T8(e){return"_nghost-%COMP%".replace($g,e)}(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}}let k8=(()=>{var e;class t extends nE{constructor(i){super(i)}supports(i){return!0}addEventListener(i,r,o){return i.addEventListener(r,o,!1),()=>this.removeEventListener(i,r,o)}removeEventListener(i,r,o){return i.removeEventListener(r,o)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();const cE=["alt","control","meta","shift"],P8={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},R8={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let N8=(()=>{var e;class t extends nE{constructor(i){super(i)}supports(i){return null!=t.parseEventName(i)}addEventListener(i,r,o){const s=t.parseEventName(r),a=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mr().onAndCancel(i,s.domEventName,a))}static parseEventName(i){const r=i.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const s=t._normalizeKey(r.pop());let a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),cE.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),a+=c+".")}),a+=s,0!=r.length||0===s.length)return null;const d={};return d.domEventName=o,d.fullKey=a,d}
1static matchEventFullKeyCode(i,r){let o=P8[i.key]||i.key,s="";return r.indexOf("code.")>-1&&(o=i.code,s="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),cE.forEach(a=>{a!==o&&(0,R8[a])(i)&&(s+=a+".")}),s+=o,s===r)}static eventCallback(i,r,o){return s=>{t.matchEventFullKeyCode(s,i)&&o.runGuarded(()=>r(s))}}static _normalizeKey(i){return"esc"===i?"escape":i}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();const j8=qS(B5,"browser",[{provide:nn,useValue:UM},{provide:xb,useValue:function L8(){Bg.makeCurrent()},multi:!0},{provide:Fe,useFactory:function V8(){return function ER(e){sm=e}(document),document},deps:[]}]),B8=new R(""),fE=[{provide:Xu,useClass:class x8{addToWindow(t){Je.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new L(5103,!1);return o},Je.getAllAngularTestabilities=()=>t.getAllTestabilities(),Je.getAllAngularRootElements=()=>t.getAllRootElements(),Je.frameworkStabilizers||(Je.frameworkStabilizers=[]),Je.frameworkStabilizers.push(i=>{const r=Je.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,i){if(null==n)return null;const r=t.getTestability(n);return null!=r?r:i?Mr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}},deps:[]},{provide:ES,useClass:og,deps:[ue,sg,Xu]},{provide:og,useClass:og,deps:[ue,sg,Xu]}],pE=[{provide:yp,useValue:"root"},{provide:wn,useFactory:function O8(){return new wn},deps:[]},{provide:qg,useClass:k8,multi:!0,deps:[Fe,ue,nn]},{provide:qg,useClass:N8,multi:!0,deps:[Fe]},aE,rE,iE,{provide:s_,useExisting:aE},{provide:HM,useClass:w8,deps:[]},[]];let q8=(()=>{var e;class t{constructor(i){}static withServerTransition(i){return{ngModule:t,providers:[{provide:Ds,useValue:i.appId}]}}}return(e=t).\u0275fac=function(i){return new(i||e)(k(B8,12))},e.\u0275mod=Me({type:e}),e.\u0275inj=De({providers:[...pE,...fE],imports:[Fn,q5]}),t})(),z8=(()=>{var e;class t{constructor(i){this._doc=i}getTitle(){return this._doc.title}setTitle(i){this._doc.title=i||""}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),kn=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:function(i){let r=null;return r=i?new(i||e):k(G8),r},providedIn:"root"}),t})(),G8=(()=>{var e;class t extends kn{constructor(i){super(),this._doc=i}sanitize(i,r){if(null==r)return null;switch(i){case Ei.NONE:return r;case Ei.HTML:return Dn(r,"HTML")?Mi(r):Hb(this._doc,String(r)).toString();case Ei.STYLE:return Dn(r,"Style")?Mi(r):r;case Ei.SCRIPT:if(Dn(r,"Script"))return Mi(r);throw new L(5200,!1);case Ei.URL:return Dn(r,"URL")?Mi(r):su(String(r));case Ei.RESOURCE_URL:if(Dn(r,"ResourceURL"))return Mi(r);throw new L(5201,!1);default:throw new L(5202,!1)}}bypassSecurityTrustHtml(i){return function YR(e){return new zR(e)}(i)}bypassSecurityTrustStyle(i){return function ZR(e){return new UR(e)}(i)}bypassSecurityTrustScript(i){return function KR(e){return new $R(e)}(i)}bypassSecurityTrustUrl(i){return function QR(e){return new HR(e)}(i)}bypassSecurityTrustResourceUrl(i){return function XR(e){return new GR(e)}(i)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const ca={production:!0,fullHostname:""};function Er(e){return this instanceof Er?(this.v=e,this):new Er(e)}function CE(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Kg(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(d){o({value:d,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Xg=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function bE(e){return Te(null==e?void 0:e.then)}function xE(e){return Te(e[Kf])}function wE(e){return Symbol.asyncIterator&&Te(null==e?void 0:e[Symbol.asyncIterator])}function DE(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invali
1d object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const SE=function yB(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ME(e){return Te(null==e?void 0:e[SE])}function EE(e){return function yE(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(p){return function(m){return Promise.resolve(m).then(p,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,m){i[p]&&(r[p]=function(y){return new Promise(function(_,w){o.push([p,y,_,w])>1||l(p,y)})},m&&(r[p]=m(r[p])))}function l(p,m){try{!function d(p){p.value instanceof Er?Promise.resolve(p.value.v).then(c,u):f(o[0][2],p)}(i[p](m))}catch(y){f(o[0][3],y)}}function c(p){l("next",p)}function u(p){l("throw",p)}function f(p,m){p(m),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield Er(n.read());if(r)return yield Er(void 0);yield yield Er(i)}}finally{n.releaseLock()}})}function IE(e){return Te(null==e?void 0:e.getReader)}function Ut(e){if(e instanceof Ae)return e;if(null!=e){if(xE(e))return function CB(e){return new Ae(t=>{const n=e[Kf]();if(Te(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Xg(e))return function bB(e){return new Ae(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(bE(e))return function xB(e){return new Ae(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,fy)})}(e);if(wE(e))return TE(e);if(ME(e))return function wB(e){return new Ae(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(IE(e))return function DB(e){return TE(EE(e))}(e)}throw DE(e)}function TE(e){return new Ae(t=>{(function SB(e,t){var n,i,r,o;return function gE(e,t,n,i){return new(n||(n=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):function r(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,l)}d((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=CE(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}
1finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function sr(e,t,n,i=0,r=!1){const o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function AE(e,t=0){return lt((n,i)=>{n.subscribe(We(i,r=>sr(i,e,()=>i.next(r),t),()=>sr(i,e,()=>i.complete(),t),r=>sr(i,e,()=>i.error(r),t)))})}function FE(e,t=0){return lt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function kE(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ae(n=>{sr(n,t,()=>{const i=e[Symbol.asyncIterator]();sr(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function at(e,t){return t?function FB(e,t){if(null!=e){if(xE(e))return function MB(e,t){return Ut(e).pipe(FE(t),AE(t))}(e,t);if(Xg(e))return function IB(e,t){return new Ae(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(bE(e))return function EB(e,t){return Ut(e).pipe(FE(t),AE(t))}(e,t);if(wE(e))return kE(e,t);if(ME(e))return function TB(e,t){return new Ae(n=>{let i;return sr(n,t,()=>{i=e[SE](),sr(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void n.error(s)}o?n.complete():n.next(r)},0,!0)}),()=>Te(null==i?void 0:i.return)&&i.return()})}(e,t);if(IE(e))return function AB(e,t){return kE(EE(e),t)}(e,t)}throw DE(e)}(e,t):Ut(e)}const{isArray:kB}=Array,{getPrototypeOf:PB,prototype:RB,keys:NB}=Object;function PE(e){if(1===e.length){const t=e[0];if(kB(t))return{args:t,keys:null};if(function LB(e){return e&&"object"==typeof e&&PB(e)===RB}(t)){const n=NB(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function RE(e){return e&&Te(e.schedule)}function Jg(e){return e[e.length-1]}function NE(e){return Te(Jg(e))?e.pop():void 0}function fd(e){return RE(Jg(e))?e.pop():void 0}const{isArray:VB}=Array;function ev(e){return H(t=>function jB(e,t){return VB(t)?e(...t):e(t)}(e,t))}function LE(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}function ko(...e){const t=NE(e),{args:n,keys:i}=PE(e),r=new Ae(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let l=s,d=s;for(let c=0;c<s;c++){let u=!1;Ut(n[c]).subscribe(We(o,f=>{u||(u=!0,d--),a[c]=f},()=>l--,void 0,()=>{(!l||!u)&&(d||o.next(i?LE(i,a):a),o.complete())}))}});return t?r.pipe(ev(t)):r}let OE=(()=>{var e;class t{constructor(i,r){this._renderer=i,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(i,r){this._renderer.setProperty(this._elementRef.nativeElement,i,r)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Ai),I(et))},e.\u0275dir=te({type:e}),t})(),Po=(()=>{var e;class t extends OE{}return(e=t).\u0275fac=(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})(),e.\u0275dir=te({type:e,features:[be]}),t})();const yi=new R(""),BB={provide:yi,useExisting:Le(()=>Mh),multi:!0};let Mh=(()=>{var e;class t extends Po{writeValue(i){this.setProperty("checked",i)}}return(e=t).\u0275fac=(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})(),e.\u0275dir=te({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&U("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[qe([BB]),be]}),t})();const qB={provide:yi,useExisting:Le(()=>Ro),multi:!0},UB=new R("");let Ro=(()=>{var e;class t extends OE{constructor(i,r,o){super(i,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function zB(){const e=Mr()?Mr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(i){this.setProperty("value",null==i?"":i)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Ai),I(et),I(UB,8))},e.\u0275dir=te({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&U("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[qe([qB]),be]}),t})();function Ir(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function VE(e){return null!=e&&"number"==typeof e.length}const Lt=new R(""),Tr=new R(""),$B=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class pd{static min(t){return function jE(e){return t=>{if(Ir(t.value)||Ir(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function BE(e){return t=>{if(Ir(t.value)||Ir(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function qE(e){return Ir(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function zE(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function UE(e){return Ir(e.value)||$B.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function $E(e){return t=>Ir(t.value)||!VE(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function HE(e){return t=>VE(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function GE(e){if(!e)return Eh;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),i=>
vendor: 1,255 bytes, line 1
1{if(Ir(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return XE(t)}static composeAsync(t){return JE(t)}}function Eh(e){return null}function WE(e){return null!=e}function YE(e){return Jl(e)?at(e):e}function ZE(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function KE(e,t){return t.map(n=>n(e))}function QE(e){return e.map(t=>function HB(e){return!e.validate}(t)?t:n=>t.validate(n))}function XE(e){if(!e)return null;const t=e.filter(WE);return 0==t.length?null:function(n){return ZE(KE(n,t))}}function tv(e){return null!=e?XE(QE(e)):null}function JE(e){if(!e)return null;const t=e.filter(WE);return 0==t.length?null:function(n){return ko(KE(n,t).map(YE)).pipe(H(ZE))}}function iv(e){return null!=e?JE(QE(e)):null}function eI(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function tI(e){return e._rawValidators}function iI(e){return e._rawAsyncValidators}function nv(e){return e?Array.isArray(e)?e:[e]:[]}function Ih(e,t){return Array.isArray(e)?e.includes(t):e===t}function nI(e,t){const n=nv(t);return nv(e).forEach(r=>{Ih(n,r)||n.push(r)}),n}function rI(e,t){return nv(t).filter(n=>
1!Ih(e,n))}class oI{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=tv(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=iv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class ui extends oI{get formDirective(){return null}get path(){return null}}class Ar extends oI{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class sI{constructor(t){this._cd=t}get isTouched(){var t,n,i;return null===(t=this._cd)||void 0===t||null===(t=t.control)||void 0===t||null===(n=t._touched)||void 0===n||n.call(t),!(null===(i=this._cd)||void 0===i||null===(i=i.control)||void 0===i||!i.touched)}get isUntouched(){var t;return!(null===(t=this._cd)||void 0===t||null===(t=t.control)||void 0===t||!t.untouched)}get isPristine(){var t,n,i;return null===(t=this._cd)||void 0===t||null===(t=t.control)||void 0===t||null===(n=t._pristine)||void 0===n||n.call(t),!(null===(i=this._cd)||void 0===i||null===(i=i.control)||void 0===i||!i.pristine)}get isDirty(){var t;return!(null===(t=this._cd)||void 0===t||null===(t=t.control)||void 0===t||!t.dirty)}get isValid(){var t,n,i;return null===(t=this._cd)||void 0===t||null===(t=t.control)||void 0===t||null===(n=t._status)||void 0===n||n.call(t),!(null===(i=this._cd)||void 0===i||null===(i=i.control)||void 0===i||!i.valid)}get isInvalid(){var t;return!(null===(t=this._cd)||void 0===t||null===(t=t.control)||void 0===t||!t.invalid)}get isPending(){var t;return!(null===(t=this._cd)||void 0===t||null===(t=t.control)||void 0===t||!t.pending)}get isSubmitted(){var t,n,i;return null===(t=this._cd)||void 0===t||null===(n=t._submitted)||void 0===n||n.call(t),!(null===(i=this._cd)||void 0===i||!i.submitted)}}let No=(()=>{var e;class t extends sI{constructor(i){super(i)}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Ar,2))},e.\u0275dir=te({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Dr("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[be]}),t})(),Fr=(()=>{var e;class t extends sI{constructor(i){super(i)}}return(e=t).\u0275fac=function(i){return new(i||e)(I(ui,10))},e.\u0275dir=te({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&Dr("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[be]}),t})();const md="VALID",Ah="INVALID",ua="PENDING",_d="DISABLED";class ha{}class lI extends ha{constructor(t,n){super(),this.value=t,this.source=n}}class sv extends ha{constructor(t,n){super(),this.pristine=t,this.source=n}}class av extends ha{constructor(t,n){super(),this.touched=t,this.source=n}}class Fh extends ha{constructor(t,n){super(),this.status=t,this.source=n}}class KB extends ha{constructor(t){super(),this.source=t}}class QB extends ha{constructor(t){super(),this.source=t}}function lv(e){return(kh(e)?e.validators:e)||null}function dv(e,t){return(kh(t)?t.asyncValidators:e)||null}function kh(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}
1function dI(e,t,n){const i=e.controls;if(!(t?Object.keys(i):i).length)throw new L(1e3,"");if(!i[n])throw new L(1001,"")}function cI(e,t,n){e._forEachChild((i,r)=>{if(void 0===n[r])throw new L(1002,"")})}class Ph{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=rd(()=>this.statusReactive()),this.statusReactive=br(void 0),this._pristine=rd(()=>this.pristineReactive()),this.pristineReactive=br(!0),this._touched=rd(()=>this.touchedReactive()),this.touchedReactive=br(!1),this._events=new Ce,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return ln(this.statusReactive)}set status(t){ln(()=>this.statusReactive.set(t))}get valid(){return this.status===md}get invalid(){return this.status===Ah}get pending(){return this.status==ua}get disabled(){return this.status===_d}get enabled(){return this.status!==_d}get pristine(){return ln(this.pristineReactive)}set pristine(t){ln(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return ln(this.touchedReactive)}set touched(t){ln(()=>this.touchedReactive.set(t))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(nI(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(nI(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(rI(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(rI(t,this._rawAsyncValidators))}hasValidator(t){return Ih(this._rawValidators,t)}hasAsyncValidator(t){return Ih(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){var n;const i=!1===this.touched;this.touched=!0;const r=null!==(n=t.sourceControl)&&void 0!==n?n:this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:r}),i&&!1!==t.emitEvent&&this._events.next(new av(!0,r))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){var n;const i=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=null!==(n=t.sourceControl)&&void 0!==n?n:this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),i&&!1!==t.emitEvent&&this._events.next(new av(!1,r))}markAsDirty(t={}){var n;const i=!0===this.pristine;this.pristine=!1;const r=null!==(n=t.sourceControl)&&void 0!==n?n:this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:r}),i&&!1!==t.emitEvent&&this._events.next(new sv(!1,r))}markAsPristine(t={}){var n;const i=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=null!==(n=t.sourceControl)&&void 0!==n?n:this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),i&&!1!==t.emitEvent&&this._events.next(new sv(!0,r))}markAsPending(t={}){var n;this.status=ua;const i=null!==(n=t.sourceControl)&&void 0!==n?n:this;!1!==t.emitEvent&&(this._events.next(new Fh(this.status,i)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:i})}disable(t={}){var n;const i=this._parentMarkedDirty(t.onlySelf);this.status=_d,this.errors=null,this._forEachChild(o=>{o.disable({...t,onlySelf:!0})}),this._updateValue();const r=null!==(n=t.sourceControl)&&void 0!==n?n:this;!1!==t.emitEvent&&(this._events.next(new lI(this.value,r)),this._events.next(new Fh(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:i},this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);
1this.status=md,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){var n;if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===md||this.status===ua)&&this._runAsyncValidator(r,t.emitEvent)}const i=null!==(n=t.sourceControl)&&void 0!==n?n:this;!1!==t.emitEvent&&(this._events.next(new lI(this.value,i)),this._events.next(new Fh(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:i})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?_d:md}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=ua,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n};const i=YE(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){var t,n;this._asyncValidationSubscription.unsubscribe();const i=null!==(t=null===(n=this._hasOwnPendingAsyncValidator)||void 0===n?void 0:n.emitEvent)&&void 0!==t&&t;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(t,n){const i=n?this.get(n):this;return i&&i.errors?i.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new Fh(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,i)}_initObservables(){this.valueChanges=new G,this.statusChanges=new G}_calculateStatus(){return this._allControlsDisabled()?_d:this.errors?Ah:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ua)?ua:this._anyControlsHaveStatus(Ah)?Ah:md}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),r&&this._events.next(new sv(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new av(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){kh(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function XB(e){return Array.isArray(e)?tv(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function JB(e){return Array.isArray(e)?iv(e):e||null}(this._rawAsyncValidators)}}class fa extends Ph{constructor(t,n,i){super(lv(n),dv(i,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControl
1s(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,i={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){cI(this,0,t),Object.keys(t).forEach(i=>{dI(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,i)=>(t[i]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,i)=>!!i._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const i=this.controls[n];i&&t(i,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,i]of Object.entries(this.controls))if(this.contains(n)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(t,n){let i=t;return this._forEachChild((r,o)=>{i=n(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const cv=fa;class uI extends fa{}const Lo=new R("CallSetDisabledState",{providedIn:"root",factory:()=>gd}),gd="always";function vd(e,t,n=gd){var i,r;uv(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&(null===(i=(r=t.valueAccessor).setDisabledState)||void 0===i||i.call(r,e.disabled)),function t9(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hI(e,t)})}(e,t),function n9(e,t){const n=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function i9(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hI(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function e9(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Nh(e,t,n=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Oh(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Lh(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function uv(e,t){const n=tI(e);null!==t.validator?e.setValidators(eI(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=iI(e);null!==t.asyncValidator?e.setAsyncValidators(eI(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Lh(t._rawValidators,r),Lh(t._rawAsyncValidators,r)}function Oh(e,t){let n=!1;if(null!==e){if(null!==t.validator){const r=tI(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(n=!0,e.setValidators(o))}}if(null!==t.asyncValidator){const r=iI(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(n=!0,e.setAsyncValidators(o))}}}const i=()=>{};return Lh(t._rawValidators,i),Lh(t._rawAsyncValidators,i),n}function hI(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mI(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function _I(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const pa=class extends Ph{constructor(t=null,n,i){super(lv(n),dv(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initOb
1servables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),kh(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=_I(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){mI(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){mI(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){_I(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},_v=pa;Promise.resolve();const p9={provide:yi,useExisting:Le(()=>Vh),multi:!0};let m9=(()=>{var e;class t{constructor(){this._accessors=[]}add(i,r){this._accessors.push([i,r])}remove(i){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===i)return void this._accessors.splice(r,1)}select(i){this._accessors.forEach(r=>{this._isSameGroup(r,i)&&r[1]!==i&&r[1].fireUncheck(i.value)})}_isSameGroup(i,r){return!!i[0].control&&i[0]._parent===r._control._parent&&i[1].name===r.name}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Vh=(()=>{var e;class t extends Po{constructor(i,r,o,s){var a;super(i,r),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=null!==(a=S(Lo,{optional:!0}))&&void 0!==a?a:gd}ngOnInit(){this._control=this._injector.get(Ar),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(i){this._state=i===this.value,this.setProperty("checked",this._state)}registerOnChange(i){this._fn=i,this.onChange=()=>{i(this.value),this._registry.select(this)}}setDisabledState(i){(this.setDisabledStateFired||i||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",i),this.setDisabledStateFired=!0}fireUncheck(i){this.writeValue(i)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Ai),I(et),I(m9),I(ft))},e.\u0275dir=te({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){1&i&&U("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[qe([p9]),be]}),t})();const gv=new R(""),v9={provide:ui,useExisting:Le(()=>Pn)};let Pn=(()=>{var e;class t extends ui{get submitted(){return ln(this._submittedReactive)}set submitted(i){this._submittedReactive.set(i)}constructor(i,r,o){super(),this.callSetDisabledState=o,this._submitted=rd(()=>this._submittedReactive()),this._submittedReactive=br(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new G,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Oh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){const r=this.form.get(i.path);return vd(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}
1removeControl(i){Nh(i.control||null,i,!1),function a9(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){var r;return this._submittedReactive.set(!0),function pI(e,t){e._syncPendingControls(),t.forEach(n=>{const i=n.control;"submit"===i.updateOn&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(i),this.form._events.next(new KB(this.control)),"dialog"===(null==i||null===(r=i.target)||void 0===r?void 0:r.method)}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this._submittedReactive.set(!1),this.form._events.next(new QB(this.form))}_updateDomValue(){this.directives.forEach(i=>{const r=i.control,o=this.form.get(i.path);r!==o&&(Nh(r||null,i),(e=>e instanceof pa)(o)&&(vd(o,i,this.callSetDisabledState),i.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){const r=this.form.get(i.path);(function fI(e,t){uv(e,t)})(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){const r=this.form.get(i.path);r&&function r9(e,t){return Oh(e,t)}(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){uv(this.form,this),this._oldForm&&Oh(this._oldForm,this)}_checkFormPresent(){}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Lt,10),I(Tr,10),I(Lo,8))},e.\u0275dir=te({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&U("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qe([v9]),be,je]}),t})();const b9={provide:Ar,useExisting:Le(()=>kr)};let kr=(()=>{var e;class t extends Ar{set isDisabled(i){}constructor(i,r,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new G,this._ngModelWarningSent=!1,this._parent=i,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function pv(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Ro?n=o:function s9(e){return Object.getPrototypeOf(e.constructor)===Po}(o)?i=o:r=o}),r||i||n||null}(0,s)}ngOnChanges(i){this._added||this._setUpControl(),function fv(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(i,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}get path(){return function Rh(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return(e=t)._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(I(ui,13),I(Lt,10),I(Tr,10),I(yi,10),I(gv,8))},e.\u0275dir=te({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[qe([b9]),be,je]}),t})();const x9={provide:yi,useExisting:Le(()=>jh),multi:!0};function SI(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let jh=(()=>{var e;class t extends Po{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(i){this._compareWith=i}writeValue(i){this.value=i;const o=SI(this._getOptionId(i),i);this.setProperty("value",o)}registerOnChange(i){this.onChange=r=>{this.value=this._getOptionValue(r),i(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(i){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),i))return r;return null}_getOptionValue(i){const r=function w9(e){return e.split(":")[0]}(i);return this._optionMap.has(r)?this._optionMap.get(r):i}}return(e=t).\u0275fac=(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})(),e.\u0275dir=te({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&U("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[qe([x9]),be]}),t})(),MI=(()=>{var e;class t{constructor(i,r,o){this._element=i,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(i){null!=this._select&&(this._select._optionMap.set(this.id,i),this._setElementValue(SI(this.id,i)),this._select.writeValue(this._select.value))}set value(i){this._setElementValue(i),this._select&&this._select.writeValue(this._select.value)}_setElementValue(i){this._renderer.setProperty(this._element.nativeElement,"value",i)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(i){return new(i||e)(I(et),I(Ai),I(jh,9))},e.\u0275dir=te({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const D9={provide:yi,useExisting:Le(()=>Cv),multi:!0};function EI(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Cv=(()=>{var e;class t extends Po{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(i){this._compareWith=i}writeValue(i){let r;if(this.value=i,Array.isArray(i)){const o=i.map(s=>this._getOptionId(s));r=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else r=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(i){this.onChange=r=>{const o=[],s=r.selectedOptions;if(void 0!==s){const a=s;for(let l=0;l<a.length;l++){const c=this._getOptionValue(a[l].value);o.push(c)}}else{const a=r.options;for(let l=0;l<a.length;l++){const d=a[l];if(d.selected){const c=this._getOptionValue(d.value);o.push(c)}}}this.value=o,i(o)}}_registerOption(i){const r=(this._idCounter++).toString();return this._optionMap.set(r,i),r}_getOptionId(i){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,i))return r;return null}_getOptionValue(i){const r=function S9(e){return e.split(":")[0]}(i);return this._optionMap.has(r)?this._optionMap.get(r)._value:i}}return(e=t).\u0275fac=(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})(),e.\u0275dir=te({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&U("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[qe([D9]),be]}),t})(),II=(()=>{var e;class t{constructor(i,r,o){this._element=i,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(i){null!=this._select&&(this._value=i,this._setElementValue(EI(this.id,i)),this._select.writeValue(this._select.value))}set value(i){this._select?(this._value=i,this._setElementValue(EI(this.id,i)),this._select.writeValue(this._select.value)):this._setElementValue(i)}_setElementValue(i){this._renderer.setProperty(this._element.nativeElement,"value",i)}_setSelected(i){this._renderer.setProperty(this._element.nativeElement,"selected",i)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(e=t).\u0275fac=function(i){return new(i||e)(I(et),I(Ai),I(Cv,9))},e.\u0275dir=te({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),VI=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({}),t})();class xv extends Ph{constructor(t,n,i){super(lv(n),dv(i,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,i={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,n={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),n&&(this.controls.splice(r,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){cI(this,0,t),t.forEach((i,r)=>{dI(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:n.emitEvent})}
1),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,i)=>!!i._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,i)=>{t(n,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){var n;return null!==(n=this.at(t))&&void 0!==n?n:null}}const R9=xv;function jI(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let BI=(()=>{var e;class t{constructor(){this.useNonNullable=!1}get nonNullable(){const i=new t;return i.useNonNullable=!0,i}group(i,r=null){const o=this._reduceControls(i);let s={};return jI(r)?s=r:null!==r&&(s.validators=r.validator,s.asyncValidators=r.asyncValidator),new fa(o,s)}record(i,r=null){const o=this._reduceControls(i);return new uI(o,r)}control(i,r,o){let s={};return this.useNonNullable?(jI(r)?s=r:(s.validators=r,s.asyncValidators=o),new pa(i,{...s,nonNullable:!0})):new pa(i,r,o)}array(i,r,o){const s=i.map(a=>this._createControl(a));return new xv(s,r,o)}_reduceControls(i){const r={};
1return Object.keys(i).forEach(o=>{r[o]=this._createControl(i[o])}),r}_createControl(i){return i instanceof pa||i instanceof Ph?i:Array.isArray(i)?this.control(i[0],i.length>1?i[1]:null,i.length>2?i[2]:null):this.control(i)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),N9=(()=>{var e;class t extends BI{group(i,r=null){return super.group(i,r)}control(i,r,o){return super.control(i,r,o)}array(i,r,o){return super.array(i,r,o)}}return(e=t).\u0275fac=(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})(),e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Pr=(()=>{var e;class t{static withConfig(i){var r;return{ngModule:t,providers:[{provide:Lo,useValue:null!==(r=i.callSetDisabledState)&&void 0!==r?r:gd}]}}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({imports:[VI]}),t})(),ar=(()=>{var e;class t{static withConfig(i){var r,o;return{ngModule:t,providers:[{provide:gv,useValue:null!==(r=i.warnOnNgModelWithFormControl)&&void 0!==r?r:"always"},{provide:Lo,useValue:null!==(o=i.callSetDisabledState)&&void 0!==o?o:gd}]}}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({imports:[VI]}),t})();function qI(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(d){return void n(d)}a.done?t(l):Promise.resolve(l).then(i,r)}function ma(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(l){qI(o,i,r,s,a,"next",l)}function a(l){qI(o,i,r,s,a,"throw",l)}s(void 0)})}}var h=Gr(842);function bt(e,t,n=1/0){return Te(t)?bt((i,r)=>H((o,s)=>t(i,o,r,s))(Ut(e(i,r))),n):("number"==typeof t&&(n=t),lt((i,r)=>function L9(e,t,n,i,r,o,s,a){const l=[];let d=0,c=0,u=!1;const f=()=>{u&&!l.length&&!d&&t.complete()},p=y=>d<i?m(y):l.push(y),m=y=>{o&&t.next(y),d++;let _=!1;Ut(n(y,c++)).subscribe(We(t,w=>{null==r||r(w),o?p(w):t.next(w)},()=>{_=!0},void 0,()=>{if(_)try{for(d--;l.length&&d<i;){const w=l.shift();s?sr(t,s,()=>m(w)):m(w)}f()}catch(w){t.error(w)}}))};return e.subscribe(We(t,p,()=>{u=!0,f()})),()=>{null==a||a()}}(i,r,e,n)))}function _a(e=1/0){return bt(Un,e)}function Cd(...e){return function O9(){return _a(1)}()(at(e,fd(e)))}function Bh(...e){const t=fd(e);return lt((n,i)=>{(t?Cd(e,n,t):Cd(e,n)).subscribe(i)})}function Q(...e){return at(e,fd(e))}function ga(e,t){return Te(t)?bt(e,t,1):bt(e,1)}function Jt(e,t){return lt((n,i)=>{let r=0;n.subscribe(We(i,o=>e.call(t,o,r++)&&i.next(o)))})}function bd(e){return lt((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ft(e,t){return lt((n,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();n.subscribe(We(i,l=>{null==r||r.unsubscribe();let d=0;const c=o++;Ut(e(l,c)).subscribe(r=We(i,u=>i.next(t?t(l,u,c,d++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}class qh{}class zh{}class $t{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const i=n.indexOf(":");if(i>0){const r=n.slice(0,i),o=r.toLowerCase(),s=n.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.setHeaderEntries(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof $t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}
vendor: 6,328 bytes, line 1
1copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new $t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof $t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,n);const r=("a"===t.op?this.headers.get(n):void 0)||[];r.push(...i),this.headers.set(n,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const i=(Array.isArray(n)?n:[n]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class V9{encodeKey(t){return zI(t)}encodeValue(t){return zI(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const B9=/%(\d[a-f0-9])/gi,q9={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zI(e){return encodeURIComponent(e).replace(B9,(t,n)=>{var i;return null!==(i=q9[n])&&void 0!==i?i:t})}function Uh(e){return`${e}`}class Rr{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new V9,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function j9(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const i=t.fromObject[n],r=Array.isArray(i)?i.map(Uh):[Uh(i)];this.map.set(n,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{n.push({param:i,value:o,op:"a"})}):n.push({param:i,value:r,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Rr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Uh(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(Uh(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class z9{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function UI(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function $I(e){return typeof Blob<"u"&&e instanceof Blob}function HI(e){return typeof FormData<"u"&&e instanceof FormData}class va{constructor(t,n,i,r){var o,s;let a;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function U9(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),null!==(o=this.headers)&&void 0!==o||(this.headers=new $t),null!==(s=this.context)&&void 0!==s||(this.context=new z9),this.params){const l=this.params.toString();if(0===l.length)this.urlWithParams=n;else{const d=n.indexOf("?");this.urlWithParams=n+(-1===d?"?":d<n.length-1?"&":"")+l}}else this.params=new Rr,this.urlWithParams=n}serializeBody(){return null===this.body?null:"string"==typeof this.body||UI(this.body)||$I(this.body)||HI(this.body)||function $9(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Rr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||HI(this.body)?null:$I(this.body)?this.body.type||null:UI(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Rr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var n,i,r,o;const s=t.method||this.method,a=t.url||this.url,l=t.responseType||this.responseType,d=null!==(n=t.transferCache)&&void 0!==n?n:this.transferCache,c=void 0!==t.body?t.body:this.body,u=null!==(i=t.withCredentials)&&void 0!==i?i:this.withCredentials,f=null!==(r=t.reportProgress)&&void 0!==r?r:this.reportProgress;let p=t.headers||this.headers,m=t.params||this.params;const y=null!==(o=t.context)&&void 0!==o?o:this.context;return void 0!==t.setHeaders&&(p=Object.keys(t.setHeaders).reduce((_,w)=>_.set(w,t.setHeaders[w]),p)),t.setParams&&(m=Object.keys(t.setParams).reduce((_,w)=>
1_.set(w,t.setParams[w]),m)),new va(s,a,c,{params:m,headers:p,context:y,reportProgress:f,responseType:l,withCredentials:u,transferCache:d})}}var Rn=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Rn||{});class wv{constructor(t,n=200,i="OK"){this.headers=t.headers||new $t,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class $h extends wv{constructor(t={}){super(t),this.type=Rn.ResponseHeader}clone(t={}){return new $h({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Vo extends wv{constructor(t={}){super(t),this.type=Rn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Vo({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ya extends wv{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Dv(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Nn=(()=>{var e;class t{constructor(i){this.handler=i}request(i,r,o={}){let s;if(i instanceof va)s=i;else{let d,c;d=o.headers instanceof $t?o.headers:new $t(o.headers),o.params&&(c=o.params instanceof Rr?o.params:new Rr({fromObject:o.params})),s=new va(i,r,void 0!==o.body?o.body:null,{headers:d,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const a=Q(s).pipe(ga(d=>this.handler.handle(d)));if(i instanceof va||"events"===o.observe)return a;const l=a.pipe(Jt(d=>d instanceof Vo));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(H(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(H(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(H(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return l.pipe(H(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(i,r={}){return this.request("DELETE",i,r)}get(i,r={}){return this.request("GET",i,r)}head(i,r={}){return this.request("HEAD",i,r)}jsonp(i,r){return this.request("JSONP",i,{params:(new Rr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,r={}){return this.request("OPTIONS",i,r)}patch(i,r,o={}){return this.request("PATCH",i,Dv(o,r))}post(i,r,o={}){return this.request("POST",i,Dv(o,r))}put(i,r,o={}){return this.request("PUT",i,Dv(o,r))}}return(e=t).\u0275fac=function(i){return new(i||e)(k(qh))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();const W9=/^\)\]\}',?\n/;function WI(e){if(e.url)return e.url;const t="X-Request-URL".toLocaleLowerCase();return e.headers.get(t)}let Sv=(()=>{var e;class t{constructor(){var i,r;this.fetchImpl=null!==(i=null===(r=S(Z9,{optional:!0}))||void 0===r?void 0:r.fetch)&&void 0!==i?i:(...o)=>globalThis.fetch(...o),this.ngZone=S(ue)}handle(i){return new Ae(r=>{const o=new AbortController;return this.doRequest(i,o.signal,r).then(Mv,s=>r.error(new ya({error:s}))),()=>o.abort()})}doRequest(i,r,o){var s=this;return ma(function*(){var a;const l=s.createRequestInit(i);let d;try{const O=s.ngZone.runOutsideAngular(()=>s.fetchImpl(i.urlWithParams,{signal:r,...l}));(function K9(e){e.then(Mv,Mv)})(O),o.next({type:Rn.Sent}),d=yield O}catch(O){var c;return void o.error(new ya({error:O,status:null!==(c=O.status)&&void 0!==c?c:0,statusText:O.statusText,url:i.urlWithParams,headers:O.headers}))}const u=new $t(d.headers),f=d.statusText,p=null!==(a=WI(d))&&void 0!==a?a:i.urlWithParams;let m=d.status,y=null;if(i.reportProgress&&o.next(new $h({headers:u,status:m,statusText:f,url:p})),d.body){const O=d.headers.get("content-length"),B=[],K=d.body.getReader();let ve,Ne,me=0;const Rt=typeof Zone<"u"&&Zone.current;yield s.ngZone.runOutsideAngular(ma(function*(){for(;;){const{done:Ht,value:ni}=yield K.read();if(Ht)break;
1if(B.push(ni),me+=ni.length,i.reportProgress){Ne="text"===i.responseType?(null!=Ne?Ne:"")+(null!=ve?ve:ve=new TextDecoder).decode(ni,{stream:!0}):void 0;const $r=()=>o.next({type:Rn.DownloadProgress,total:O?+O:void 0,loaded:me,partialText:Ne});Rt?Rt.run($r):$r()}}}));const fi=s.concatChunks(B,me);try{var _;const Ht=null!==(_=d.headers.get("Content-Type"))&&void 0!==_?_:"";y=s.parseBody(i,fi,Ht)}catch(Ht){var w;return void o.error(new ya({error:Ht,headers:new $t(d.headers),status:d.status,statusText:d.statusText,url:null!==(w=WI(d))&&void 0!==w?w:i.urlWithParams}))}}0===m&&(m=y?200:0),m>=200&&m<300?(o.next(new Vo({body:y,headers:u,status:m,statusText:f,url:p})),o.complete()):o.error(new ya({error:y,headers:u,status:m,statusText:f,url:p}))})()}parseBody(i,r,o){switch(i.responseType){case"json":const s=(new TextDecoder).decode(r).replace(W9,"");return""===s?null:JSON.parse(s);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(i){const r={},o=i.withCredentials?"include":void 0;if(i.headers.forEach((s,a)=>r[s]=a.join(",")),i.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!i.headers.has("Content-Type")){const s=i.detectContentTypeHeader();null!==s&&(r["Content-Type"]=s)}return{body:i.serializeBody(),method:i.method,headers:r,credentials:o}}concatChunks(i,r){const o=new Uint8Array(r);let s=0;for(const a of i)o.set(a,s),s+=a.length;return o}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();class Z9{}function Mv(){}function YI(e,t){return t(e)}function Q9(e,t){return(n,i)=>t.intercept(n,{handle:r=>e(r,i)})}const J9=new R(""),xd=new R(""),ZI=new R(""),KI=new R("",{providedIn:"root",factory:()=>!0});function eq(){let e=null;return(t,n)=>{var i;null===e&&(e=(null!==(i=S(J9,{optional:!0}))&&void 0!==i?i:[]).reduceRight(Q9,YI));const r=S(Qn);if(S(KI)){const s=r.add();return e(t,n).pipe(bd(()=>r.remove(s)))}return e(t,n)}}let QI=(()=>{var e;class t extends qh{constructor(i,r){super(),this.backend=i,this.injector=r,this.chain=null,this.pendingTasks=S(Qn),this.contributeToStability=S(KI)}handle(i){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(xd),...this.injector.get(ZI,[])]));this.chain=r.reduceRight((o,s)=>function X9(e,t,n){return(i,r)=>_n(n,()=>t(i,o=>e(o,r)))}(o,s,this.injector),YI)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(i,o=>this.backend.handle(o)).pipe(bd(()=>this.pendingTasks.remove(r)))}return this.chain(i,r=>this.backend.handle(r))}}return(e=t).\u0275fac=function(i){return new(i||e)(k(zh),k(Yt))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();const oq=/^\)\]\}',?\n/;let JI=(()=>{var e;class t{constructor(i){this.xhrFactory=i}handle(i){if("JSONP"===i.method)throw new L(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?at(r.\u0275loadImpl()):Q(null)).pipe(Ft(()=>new Ae(s=>{const a=r.build();if(a.open(i.method,i.urlWithParams),i.withCredentials&&(a.withCredentials=!0),i.headers.forEach((_,w)=>a.setRequestHeader(_,w.join(","))),i.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){const _=i.detectContentTypeHeader();null!==_&&a.setRequestHeader("Content-Type",_)}if(i.responseType){const _=i.responseType.toLowerCase();a.responseType="json"!==_?_:"text"}const l=i.serializeBody();let d=null;const c=()=>{if(null!==d)return d;const _=a.statusText||"OK",w=new $t(a.getAllResponseHeaders()),D=function sq(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||i.url;return d=new $h({headers:w,status:a.status,statusText:_,url:D}),d},u=()=>{let{headers:_,status:w,statusText:D,url:O}=c(),B=null;204!==w&&(B=typeof a.response>"u"?a.responseText:a.response),0===w&&(w=B?200:0);let K=w>=200&&w<300;if("json"===i.responseType&&"string"==typeof B){const me=B;B=B.replace(oq,"");try{B=""!==B?JSON.parse(B):null}catch(ve){B=me,K&&(K=!1,B={error:ve,text:B})}}K?(s.next(new Vo({body:B,headers:_,status:w,statusText:D,url:O||void 0})),s.complete()):s.error(new ya({error:B,headers:_,status:w,statusText:D,url:O||void 0}))},f=_=>{const{url:w}=c(),D=new ya({error:_,status:a.status||0,statusText:a.statusText||"Unknown Error",url:w||void 0});s.error(D)};let p=!1;const m=_=>{p||(s.next(c()),p=!0);let w={type:Rn.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(w.total=_.total),"text"===i.responseType&&a.responseText&&(w.partialText=a.responseText),s.next(w)},y=_=>{let w={type:Rn.UploadProgress,loaded:_.loaded};_.lengthComputable&&(w.total=_.total),s.next(w)};return a.addEventListener("load",u),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),i.reportProgress&&(a.addEventListener("progress",m),null!==l&&a.upload&&a.upload.addEventListener("progress",y)),a.send(l),s.next({type:Rn.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",u),a.removeEventListener("timeout",f),i.reportProgress&&(a.removeEventListener("progress",m),null!==l&&a.upload&&a.upload.removeEventListener("progress",y)),a.readyState!==a.DONE&&a.abort()}})))}}return(e=t).\u0275fac=function(i){return new(i||e)(k(HM))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();const Ev=new R(""),eT=new R("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}
1),tT=new R("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class iT{}let dq=(()=>{var e;class t{constructor(i,r,o){this.doc=i,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=NM(i,this.cookieName),this.lastCookieString=i),this.lastToken}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe),k(nn),k(eT))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();function cq(e,t){const n=e.url.toLowerCase();if(!S(Ev)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const i=S(iT).getToken(),r=S(tT);return null!=i&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),t(e)}var Nr=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Nr||{});function nT(...e){const t=[Nn,JI,QI,{provide:qh,useExisting:QI},{provide:zh,useFactory:()=>{var n;return null!==(n=S(Sv,{optional:!0}))&&void 0!==n?n:S(JI)}},{provide:xd,useValue:cq,multi:!0},{provide:Ev,useValue:!0},{provide:iT,useClass:dq}];for(const n of e)t.push(...n.\u0275providers);return Gn(t)}const rT=new R("");function oT(){return function jo(e,t){return{\u0275kind:e,\u0275providers:t}}(Nr.LegacyInterceptors,[{provide:rT,useFactory:eq},{provide:xd,useExisting:rT,multi:!0}])}function Lr(e){return lt((t,n)=>{let o,i=null,r=!1;i=t.subscribe(We(n,void 0,void 0,s=>{o=Ut(e(s,Lr(e)(t))),i?(i.unsubscribe(),i=null,o.subscribe(n)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(n))})}function wd(e,t){const n=Te(e)?e:()=>e,i=r=>r.error(n());return new Ae(t?r=>t.schedule(i,0,r):i)}class yq extends Xe{constructor(t,n){super()}schedule(t,n=0){return this}}const Gh={setInterval(e,t,...n){const{delegate:i}=Gh;return null!=i&&i.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Gh;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};class Iv extends yq{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,i=0){return Gh.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,n,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return n;null!=n&&Gh.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,n);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,dc(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}const Tv={now:()=>(Tv.delegate||Date).now(),delegate:void 0};class Dd{constructor(t,n=Dd.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}Dd.now=Tv.now;class Av extends Dd{constructor(t,n=Dd.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,i){for(;t=n.shift();)t.unsubscribe();throw i}}}const Wh=new Av(Iv),Cq=Wh;function Or(e,t=Wh){return lt((n,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const d=o;o=null,i.next(d)}};function l(){const d=s+e,c=t.now();if(c<d)return r=this.schedule(void 0,d-c),void i.add(r);a()}n.subscribe(We(i,d=>{o=d,s=t.now(),r||(r=t.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function Yh(e,t=Un){return e=null!=e?e:bq,lt((n,i)=>{let r,o=!0;n.subscribe(We(i,s=>{const a=t(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function bq(e,t){return e===t}let Fv;try{Fv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Fv=!1}let Sd,Bo,lr=(()=>{var e;class t{constructor(i){this._platformId=i,this.isBrowser=this._platformId?$M(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Fv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return(e=t).\u0275fac=function(i){return new(i||e)(k(nn))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Zh(e){return function xq(){if(null==Sd&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Sd=!0}))}finally{Sd=Sd||!1}return Sd}()?e:!!e.capture}function wq(){if(null==Bo){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Bo=!1,Bo;if("scrollBehavior"in document.documentElement.style)Bo=!0;else{const e=Element.prototype.scrollTo;Bo=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Bo}function Qh(e){return e.composedPath?e.composedPath()[0]:e.target}function Pv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Ed(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}function Xh(e){return!!e&&(e instanceof Ae||Te(e.lift)&&Te(e.subscribe))}function kt(e,t,n){const i=Te(e)||t||n?{next:e,error:t,complete:n}:e;return i?lt((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(We(o,l=>{var d;null===(d=i.next)||void 0===d||d.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var d;a=!1,null===(d=i.error)||void 0===d||d.call(i,l),o.error(l)},()=>{var l,d;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(d=i.finalize)||void 0===d||d.call(i)}))}):Un}const Gi=new Ae(e=>e.complete());function Ci(e){return e<=0?()=>Gi:lt((t,n)=>{let i=0;t.subscribe(We(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}function Jh(e){return Array.isArray(e)?e:[e]}function xt(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Nv(e){return e instanceof et?e.nativeElement:e}function Id(...e){const t=fd(e),n=NE(e),{args:i,keys:r}=PE(e);if(0===i.length)return at([],t);const o=new Ae(function Uq(e,t,n=Un){return i=>{yT(t,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)yT(t,()=>{const d=at(e[l],t);let c=!1;d.subscribe(We(i,u=>{o[l]=u,c||(c=!0,a--),a||i.next(n(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>LE(r,s):Un));return n?o.pipe(ev(n)):o}function yT(e,t,n){e?sr(n,e,t):t()}function ef(e){return lt((t,n)=>{Ut(e).subscribe(We(n,()=>n.complete(),uc)),!n.closed&&t.subscribe(n)})}const CT=new Set;let qo,Hq=(()=>{var e;class t{constructor(i,r){this._platform=i,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Wq}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&function Gq(e,t){if(!CT.has(e))try{qo||(qo=document.createElement("style"),t&&qo.setAttribute("nonce",t),qo.setAttribute("type","text/css"),document.head.appendChild(qo)),qo.sheet&&(qo.sheet.insertRule(`@media ${e} {body{ }}`,0),CT.add(e))}catch(n){console.error(n)}}(i,this._nonce),this._matchMedia(i)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(lr),k(lm,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Wq(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let bT=(()=>{var e;class t{constructor(i,r){this._mediaMatcher=i,this._zone=r,this._queries=new Map,this._destroySubject=new Ce}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return xT(Jh(i)).some(o=>this._registerQuery(o).mql.matches)}observe(i){let s=Id(xT(Jh(i)).map(a=>this._registerQuery(a).observable));return s=Cd(s.pipe(Ci(1)),s.pipe(function $q(e){return Jt((t,n)=>e<=n)}(1),Or(0))),s.pipe(H(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:c})=>{l.matches=l.matches||d,l.breakpoints[c]=d}),l}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);const r=this._mediaMatcher.matchMedia(i),s={observable:new Ae(a=>{const l=d=>this._zone.run(()=>a.next(d));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(Bh(r),H(({matches:a})=>({query:i,matches:a})),ef(this._destroySubject)),mql:r};return this._queries.set(i,s),s}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Hq),k(ue))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function xT(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}function DT(e,t,n){const i=ST(e,t);n=n.trim(),!i.some(r=>r.trim()===n)&&(i.push(n),e.setAttribute(t,i.join(" ")))}function Lv(e,t,n){const i=ST(e,t);n=n.trim();const r=i.filter(o=>o!==n);r.length?e.setAttribute(t,r.join(" ")):e.removeAttribute(t)}function ST(e,t){var n;const i=e.getAttribute(t);return null!==(n=null==i?void 0:i.match(/\S+/g))&&void 0!==n?n:[]}class MT{constructor(t,n){this._letterKeyStream=new Ce,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new Ce,this.selectedItem=this._selectedItem;const i="number"==typeof(null==n?void 0:n.debounceInterval)?n.debounceInterval:200;null!=n&&n.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),this.setItems(t),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){const n=t.keyCode;t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(kt(n=>this._pressedLetters.push(n)),Or(t),Jt(()=>this._pressedLetters.length>0),H(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(n=>{for(let o=1;o<this._items.length+1;o++){var i,r;const a=this._items[(this._selectedItemIndex+o)%this._items.length];if((null===(i=this._skipPredicateFn)||void 0===i||!i.call(this,a))&&0===(null===(r=a.getLabel)||void 0===r?void 0:r.call(a).toLocaleUpperCase().trim().indexOf(n))){this._selectedItem.next(a);break}}this._pressedLetters=[]})}}class ET{constructor(t,n){this._items=t,this._activeItemIndex=-1,this._activeItem=br(null),this._wrap=!1,this._typeaheadSub
1scription=Xe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this.tabOut=new Ce,this.change=new Ce,t instanceof xs?this._itemChangesSubscription=t.changes.subscribe(i=>this._itemsChanged(i.toArray())):Mu(t)&&(this._effectRef=function xM(e,t){var n,i;ai("NgSignals"),(null==t||!t.injector)&&Fc();const r=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:S(ft),o=!0!==(null==t?void 0:t.manualCleanup)?r.get(Kn):null,s=new x6(r.get(y6),e,typeof Zone>"u"?null:Zone.current,o,r,null!==(i=null==t?void 0:t.allowSignalWrites)&&void 0!==i&&i),a=r.get(Ni,null,{optional:!0});var l,d;return a&&8&a._lView[ee]?(null!==(d=(l=a._lView)[Ka])&&void 0!==d?d:l[Ka]=[]).push(s.watcher.notify):s.watcher.notify(),s}(()=>this._itemsChanged(t()),{injector:n}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();const n=this._getItemsArray();return this._typeahead=new MT(n,{debounceInterval:"number"==typeof t?t:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){var t;return null===(t=this._typeahead)||void 0===t||t.reset(),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,n=10){return this._pageUpAndDown={enabled:t,delta:n},this}setActiveItem(t){const n=this._activeItem();this.updateActiveItem(t),this._activeItem()!==n&&this.change.next(this._activeItemIndex)}onKeydown(t){var n;const i=t.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!t[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(i){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&o){const a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&o){const a=this._activeItemIndex+this._pageUpAndDown.delta,l=this._getItemsArray().length;this._setActiveItemByIndex(a<l?a:l-1,-1);break}return;default:var s;return void((o||Ed(t,"shiftKey"))&&(null===(s=this._typeahead)||void 0===s||s.handleKey(t)))}null===(n=this._typeahead)||void 0===n||n.reset(),t.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(t){var n;const i=this._getItemsArray(),r="number"==typeof t?t:i.indexOf(t),o=i[r];this._activeItem.set(null==o?null:o),this._activeItemIndex=r,null===(n=this._typeahead)||void 0===n||n.setCurrentSelectedItemIndex(r)}destroy(){var t,n,i;this._typeaheadSubscription.unsubscribe(),null===(t=this._itemChangesSubscription)||void 0===t||t.unsubscribe(),null===(n=this._effectRef)||void 0===n||n.destroy(),null===(i=this._typeahead)||void 0===i||i.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const n=this._getItemsArray();for(let i=1;i<=n.length;i++){const r=(this._activeItemIndex+t*i+n.length)%n.length;if(!this._skipPredicateFn(n[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,n){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=n])return;this.setActiveItem(t)}}_getItemsArray(){return Mu(this._items)?this._items():this._items instanceof xs?this._items.toArray():this._items}_itemsChanged(t){var n;null===(n=this._typeahead)||void 0===n||n.setItems(t);const i=this._activeItem();if(i){const o=t.indexOf(i);var r;o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o,null===(r=this._typeahead)||void 0===r||r.setCurrentSelectedItemIndex(o))}}}
1class Xq extends ET{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}var zo=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(zo||{});const FT="cdk-high-contrast-black-on-white",kT="cdk-high-contrast-white-on-black",Ov="cdk-high-contrast-active";let hz=(()=>{var e;class t{constructor(i,r){this._platform=i,this._document=r,this._breakpointSubscription=S(bT).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return zo.NONE;const i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);const r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(i):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(i.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return zo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return zo.BLACK_ON_WHITE}return zo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const i=this._document.body.classList;i.remove(Ov,FT,kT),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();r===zo.BLACK_ON_WHITE?i.add(Ov,FT):r===zo.WHITE_ON_BLACK&&i.add(Ov,kT)}}}return(e=t).\u0275fac=function(i){return new(i||e)(k(lr),k(Fe))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const fz=new R("cdk-dir-doc",{providedIn:"root",factory:function pz(){return S(Fe)}}),mz=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let PT=(()=>{var e;class t{constructor(i){this.value="ltr",this.change=new G,i&&(this.value=function _z(e){var t;const n=(null==e?void 0:e.toLowerCase())||"";return"auto"===n&&typeof navigator<"u"&&null!==(t=navigator)&&void 0!==t&&t.language?mz.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((i.body?i.body.dir:null)||(i.documentElement?i.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(e=t).\u0275fac=function(i){return new(i||e)(k(fz,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Td=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({}),t})();const gz=["text"],vz=[[["mat-icon"]],"*"],yz=["mat-icon","*"];function Cz(e,t){if(1&e&&P(0,"mat-pseudo-checkbox",1),2&e){const n=v();A("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function bz(e,t){1&e&&P(0,"mat-pseudo-checkbox",3),2&e&&A("disabled",v().disabled)}function xz(e,t){if(1&e&&(C(0,"span",4),V(1),x()),2&e){const n=v();g(),xe("(",n.group.label,")")}}const Dz=new R("mat-sanity-checks",{providedIn:"root",factory:function wz(){return!0}});let ba=(()=>{var e;class t{constructor(i,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,i._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(i){return!Pv()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[i])}}return(e=t).\u0275fac=function(i){return new(i||e)(k(hz),k(Dz,8),k(Fe))},e.\u0275mod=Me({type:e}),e.\u0275inj=De({imports:[Td,Td]}),t})();var Wi=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(Wi||{});class Fz{constructor(t,n,i,r=!1){this._renderer=t,this.element=n,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=Wi.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const OT=Zh({passive:!0,capture:!0});class kz{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const n=Qh(t);var i;
vendor: 4,897 bytes, line 1
1n&&(null===(i=this._events.get(t.type))||void 0===i||i.forEach((r,o)=>{(o===n||o.contains(n))&&r.forEach(s=>s.handleEvent(t))}))}}addHandler(t,n,i,r){const o=this._events.get(n);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(n,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,OT)})}removeHandler(t,n,i){const r=this._events.get(t);if(!r)return;const o=r.get(n);o&&(o.delete(i),0===o.size&&r.delete(n),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,OT)))}}const VT={enterDuration:225,exitDuration:150},jT=Zh({passive:!0,capture:!0}),BT=["mousedown","touchstart"],qT=["mouseup","mouseleave","touchend","touchcancel"];class Fd{constructor(t,n,i,r){this._target=t,this._ngZone=n,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Nv(i))}fadeInRipple(t,n,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...VT,...i.animation};i.centered&&(t=r.left+r.width/2,n=r.top+r.height/2);const s=i.radius||function Rz(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(t,n,r),a=t-r.left,l=n-r.top,d=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-s+"px",c.style.top=l-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(c);const u=window.getComputedStyle(c),p=u.transitionDuration,m="none"===u.transitionProperty||"0s"===p||"0s, 0s"===p||0===r.width&&0===r.height,y=new Fz(this,c,i,m);c.style.transform="scale3d(1, 1, 1)",y.state=Wi.FADING_IN,i.persistent||(this._mostRecentTransientRipple=y);let _=null;return!m&&(d||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const w=()=>{_&&(_.fallbackTimer=null),clearTimeout(O),this._finishRippleTransition(y)},D=()=>this._destroyRipple(y),O=setTimeout(D,d+100);c.addEventListener("transitionend",w),c.addEventListener("transitioncancel",D),_={onTransitionEnd:w,onTransitionCancel:D,fallbackTimer:O}}),this._activeRipples.set(y,_),(m||!d)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(t.state===Wi.FADING_OUT||t.state===Wi.HIDDEN)return;const n=t.element,i={...VT,...t.config.animation};n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=Wi.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const n=Nv(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,BT.forEach(i=>{Fd._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{qT.forEach(n=>{this._triggerElement.addEventListener(n,this,jT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Wi.FADING_IN?this._startFadeOutTransition(t):t.state===Wi.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){const n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=Wi.VISIBLE,!i&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){var n;const i=null!==(n=this._activeRipples.get(t))&&void 0!==n?n:null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Wi.HIDDEN,null!==i&&(t.element.removeEventListener("transitionend",i.onTransitionEnd),t.element.removeEventListener("transitioncancel",i.onTransitionCancel),null!==i.fallbackTimer&&clearTimeout(i.fallbackTimer)),t.element.remove()}_onMousedown(t){const n=function lz(e){return 0===e.buttons||0===e.detail}(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!function dz(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const n=t.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEac
1h(t=>{!t.config.persistent&&(t.state===Wi.VISIBLE||t.config.terminateOnPointerUp&&t.state===Wi.FADING_IN)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(BT.forEach(n=>Fd._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(qT.forEach(n=>t.removeEventListener(n,this,jT)),this._pointerUpEventsRegistered=!1))}}Fd._eventManager=new kz;const Nz=new R("mat-ripple-global-options");let Lz=(()=>{var e;class t{get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}constructor(i,r,o,s,a){this._elementRef=i,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Fd(this,r,i,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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(i,r=0,o){return"number"==typeof i?this._rippleRenderer.fadeInRipple(i,r,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...i})}}return(e=t).\u0275fac=function(i){return new(i||e)(I(et),I(ue),I(lr),I(Nz,8),I(am,8))},e.\u0275dir=te({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&Dr("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"],standalone:!0}),t})(),Oz=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({imports:[ba,ba]}),t})(),Vz=(()=>{var e;class t{constructor(i){this._animationMode=i,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return(e=t).\u0275fac=function(i){return new(i||e)(I(am,8))},e.\u0275cmp=Ve({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){2&i&&Dr("mat-pseudo-checkbox-indeterminate","indeterminate"===r.state)("mat-pseudo-checkbox-checked","checked"===r.state)("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal","minimal"===r.appearance)("mat-pseudo-checkbox-full","full"===r.appearance)("_mat-animation-noopable","NoopAnimations"===r._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Mo],decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.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{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.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{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;
1height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),t})(),jz=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({imports:[ba]}),t})();const zT=new R("MAT_OPTION_PARENT_COMPONENT"),UT=new R("MatOptgroup");let Bz=0;class $T{constructor(t,n=!1){this.source=t,this.isUserInput=n}}let HT=(()=>{var e;class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(i){this._disabled=i}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(i,r,o,s){this._element=i,this._changeDetectorRef=r,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Bz++,this.onSelectionChange=new G,this._stateChanges=new Ce}get active(){return this._active}get viewValue(){var i;return((null===(i=this._text)||void 0===i?void 0:i.nativeElement.textContent)||"").trim()}select(i=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}deselect(i=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}focus(i,r){const o=this._getHostElement();"function"==typeof o.focus&&o.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(i){(13===i.keyCode||32===i.keyCode)&&!Ed(i)&&(this._selectViaInteraction(),i.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const i=this.viewValue;i!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=i)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(i=!1){this.onSelectionChange.emit(new $T(this,i))}}return(e=t).\u0275fac=function(i){return new(i||e)(I(et),I(Ni),I(zT,8),I(UT,8))},e.\u0275cmp=Ve({type:e,selectors:[["mat-option"]],viewQuery:function(i,r){if(1&i&&Gu(gz,7),2&i){let o;Do(o=So())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){1&i&&U("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(z_("id",r.id),nt("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),Dr("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",Li]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Ll,Mo],ngContentSelectors:yz,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-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){1&i&&(na(vz),T(0,Cz,1,2,"mat-pseudo-checkbox",1),er(1),C(2,"span",2,0),er(4,1),x(),T(5,bz,1,1,"mat-pseudo-checkbox",3)(6,xz,2,1,"span",4),P(7,"div",5)),2&i&&(M(r.multiple?0:-1),g(5),M(r.multiple||!r.selected||r.hideSingleSelectionIndicator?-1:5),g(),M(r.group&&r.group._inert?6:-1),g(),A("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[Vz,Lz],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.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{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),GT=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({imports:[Oz,ba,jz]}),t})();const Uz=["addListener","removeListener"],$z=["addEventListener","removeEventListener"],Hz=["on","off"];
1function Yi(e,t,n,i){if(Te(n)&&(i=n,n=void 0),i)return Yi(e,t,n).pipe(ev(i));const[r,o]=function Yz(e){return Te(e.addEventListener)&&Te(e.removeEventListener)}(e)?$z.map(s=>a=>e[s](t,a,n)):function Gz(e){return Te(e.addListener)&&Te(e.removeListener)}(e)?Uz.map(WT(e,t)):function Wz(e){return Te(e.on)&&Te(e.off)}(e)?Hz.map(WT(e,t)):[];if(!r&&Xg(e))return bt(s=>Yi(s,t,n))(Ut(e));if(!r)throw new TypeError("Invalid event target");return new Ae(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function WT(e,t){return n=>i=>e[n](t,i)}const kd={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=kd;i&&(t=i.requestAnimationFrame,n=i.cancelAnimationFrame);const r=t(o=>{n=void 0,e(o)});return new Xe(()=>null==n?void 0:n(r))},requestAnimationFrame(...e){const{delegate:t}=kd;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=kd;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame)(...e)},delegate:void 0};new class Kz extends Av{flush(t){let n;this._active=!0,t?n=t.id:(n=this._scheduled,this._scheduled=void 0);const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw r}}}(class Zz extends Iv{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,i=0){return null!==i&&i>0?super.requestAsyncId(t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=kd.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:o}=t;null!=n&&n===t._scheduled&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==n&&(kd.cancelAnimationFrame(n),t._scheduled=void 0)}});let Vv,Xz=1;const tf={};function YT(e){return e in tf&&(delete tf[e],!0)}const Jz={setImmediate(e){const t=Xz++;return tf[t]=!0,Vv||(Vv=Promise.resolve()),Vv.then(()=>YT(t)&&e()),t},clearImmediate(e){YT(e)}},{setImmediate:eU,clearImmediate:tU}=Jz,nf={setImmediate(...e){const{delegate:t}=nf;return((null==t?void 0:t.setImmediate)||eU)(...e)},clearImmediate(e){const{delegate:t}=nf;return((null==t?void 0:t.clearImmediate)||tU)(e)},delegate:void 0};new class nU extends Av{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw r}}}(class iU extends Iv{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,i=0){return null!==i&&i>0?super.requestAsyncId(t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=nf.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:o}=t;null!=n&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==n&&(nf.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}});function jv(e=0,t,n=Cq){let i=-1;return null!=t&&(RE(t)?n=t:i=t),new Ae(r=>{let o=function sU(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function ZT(e,t=Wh){return function oU(e){return lt((t,n)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(null==o||o.unsubscribe(),o=null,i){i=!1;const d=r;r=null,n.next(d)}s&&n.complete()},l=()=>{o=null,s&&n.complete()};t.subscribe(We(n,d=>{i=!0,r=d,o||Ut(e(d)).subscribe(o=We(n,a,l))},()=>{s=!0,(!i||!o||o.closed)&&n.complete()}))})}(()=>jv(e,t))}let lU=(()=>{var e;class t{constructor(i,r,o){this._ngZone=i,this._platform=r,this._scrolled=new Ce,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){const r=this.scrollContainers.get(i);r&&(r.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=20){return this._platform.isBrowser?new Ae(r=>{this._globalSubscription||this._addGlobalListener();const o=i>0?this._scrolled.pipe(ZT(i)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Q()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEac
1h((i,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(i,r){const o=this.getAncestorScrollContainers(i);return this.scrolled(r).pipe(Jt(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(i){const r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,i)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(i,r){let o=Nv(r),s=i.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Yi(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(ue),k(lr),k(Fe,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),Bv=(()=>{var e;class t{constructor(i,r,o){this._platform=i,this._change=new Ce,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(i.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const i=this._getWindow();i.removeEventListener("resize",this._changeListener),i.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){const i=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+o,right:i.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const i=this._document,r=this._getWindow(),o=i.documentElement,s=o.getBoundingClientRect();return{top:-s.top||i.body.scrollTop||r.scrollY||o.scrollTop||0,left:-s.left||i.body.scrollLeft||r.scrollX||o.scrollLeft||0}}change(i=20){return i>0?this._change.pipe(ZT(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}}return(e=t).\u0275fac=function(i){return new(i||e)(k(lr),k(ue),k(Fe,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),qv=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({}),t})(),KT=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({imports:[Td,qv,Td,qv]}),t})();class zv{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class cU extends zv{constructor(t,n,i,r,o){super(),this.component=t,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class QT extends zv{constructor(t,n,i,r){super(),this.templateRef=t,this.viewContainerRef=n,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class uU extends zv{constructor(t){super(),this.element=t instanceof et?t.nativeElement:t}}class hU{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof cU?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof QT?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof uU?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDis
1poseFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class fU extends hU{constructor(t,n,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||ft.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=n.indexOf(i);-1!==r&&n.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let pU=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({}),t})();function Pd(...e){const t=fd(e),n=function OB(e,t){return"number"==typeof Jg(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?Ut(i[0]):_a(n)(at(i,t)):Gi}const XT=wq();class mU{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=xt(-this._previousScrollPosition.left),t.style.top=xt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),XT&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),XT&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,i=this._viewportRuler.getViewportSize();return n.scrollHeight>i.height||n.scrollWidth>i.width}}class _U{constructor(t,n,i,r){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(Jt(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class JT{enable(){}disable(){}attach(){}}function Uv(e,t){return t.some(n=>e.bottom<n.top||e.top>n.bottom||e.right<n.left||e.left>n.right)}function eA(e,t){return t.some(n=>e.top<n.top||e.bottom>n.bottom||e.left<n.left||e.right>n.right)}class gU{constructor(t,n,i,r){this._scrollDispatcher=t,this._viewportRuler
1=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Uv(n,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let vU=(()=>{var e;class t{constructor(i,r,o,s){this._scrollDispatcher=i,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new JT,this.close=a=>new _U(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new mU(this._viewportRuler,this._document),this.reposition=a=>new gU(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}}return(e=t).\u0275fac=function(i){return new(i||e)(k(lU),k(Bv),k(ue),k(Fe))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class tA{constructor(t){if(this.scrollStrategy=new JT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const i of n)void 0!==t[i]&&(this[i]=t[i])}}}class yU{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let iA=(()=>{var e;class t{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){const r=this._attachedOverlays.indexOf(i);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),CU=(()=>{var e;class t extends iA{constructor(i,r){super(i),this._ngZone=r,this._keydownListener=o=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){const l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(i){super.add(i),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe),k(ue,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),bU=(()=>{var e;class t extends iA{constructor(i,r,o){super(i),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Qh(s)},this._clickListener=s=>{const a=Qh(s),l="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const d=this._attachedOverlays.slice();for(let c=d.length-1;c>-1;c--){const u=d[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(nA(u.overlayElement,a)||nA(u.overlayElement,l))break;const f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(s)):f.next(s)}}}add(i){if(super.add(i),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe),k(lr),k(ue,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function nA(e,t){const n=typeof ShadowRoot<"u"&&ShadowRoot;let i=t;for(;i;){if(i===e)return!0;
1i=n&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}let rA=(()=>{var e;class t{constructor(i,r){this._platform=r,this._document=i}ngOnDestroy(){var i;null===(i=this._containerElement)||void 0===i||i.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i="cdk-overlay-container";if(this._platform.isBrowser||Pv()){const o=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}const r=this._document.createElement("div");r.classList.add(i),Pv()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Fe),k(lr))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class xU{constructor(t,n,i,r,o,s,a,l,d,c=!1,u){this._portalOutlet=t,this._host=n,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=d,this._animationsDisabled=c,this._injector=u,this._backdropElement=null,this._backdropClick=new Ce,this._attachments=new Ce,this._detachments=new Ce,this._locationChanges=Xe.EMPTY,this._backdropClickHandler=f=>this._backdropClick.next(f),this._backdropTransitionendHandler=f=>{this._disposeBackdrop(f.target)},this._keydownEvents=new Ce,this._outsidePointerEvents=new Ce,this._renders=new Ce,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=ln(()=>function nw(e,t){var n;(null==t||!t.injector)&&Fc();const i=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:S(ft);return Ti(i)?(ai("NgAfterRender"),rw(e,i,t,!1)):ow}(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){var n;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const i=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),null===(n=this._afterNextRenderRef)||void 0===n||n.destroy(),this._afterNextRenderRef=go(()=>{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._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof(null==i?void 0:i.onDestroy)&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var t,n;const i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(t=this._host)||void 0===t||t.remove(),null===(n=this._afterNextRenderRef)||void 0===n||n.destroy(),this._previousHostParent=this._pane=this._host=null,i&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}
1keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=xt(this._config.width),t.height=xt(this._config.height),t.minWidth=xt(this._config.minWidth),t.minHeight=xt(this._config.minHeight),t.maxWidth=xt(this._config.maxWidth),t.maxHeight=xt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,n,i){const r=Jh(n||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const t=this._renders.pipe(ef(Pd(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const oA="cdk-overlay-connected-position-bounding-box",wU=/([A-Za-z%]+)$/;class DU{get positions(){return this._preferredPositions}constructor(t,n,i,r,o){this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ce,this._resizeSubscription=Xe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}
vendor: 10,627 bytes, line 1
1attach(t){this._validatePositions(),t.hostElement.classList.add(oA),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,n=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),d=this._getOverlayPoint(l,n,a),c=this._getOverlayFit(d,n,i,a);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(c,d,i)?o.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<c.visibleArea)&&(s={overlayFit:c,overlayPoint:d,originPoint:l,position:a,overlayRect:n})}if(o.length){let a=null,l=-1;for(const d of o){const c=d.boundingBoxRect.width*d.boundingBoxRect.height*(d.position.weight||1);c>l&&(l=c,a=d)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Uo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(oA),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return n.left<0&&(r-=n.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,n.top<0&&(o-=n.top),{x:r,y:o}}_getOverlayPoint(t,n,i){let r,o;return r="center"==i.overlayX?-n.width/2:"start"===i.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,o="center"==i.overlayY?-n.height/2:"top"==i.overlayY?0:-n.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,n,i,r){const o=aA(n);let{x:s,y:a}=t,l=this._getOffset(r,"x"),d=this._getOffset(r,"y");l&&(s+=l),d&&(a+=d);let f=0-a,p=a+o.height-i.height,m=this._subtractOverflows(o.width,0-s,s+o.width-i.width),y=this._subtractOverflows(o.height,f,p),_=m*y;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(t,n,i){if(this._hasFlexibleDimensions){const r=i.bottom-n.y,o=i.right-n.x,s=sA(this._overlayRef.getConfig().minHeight),a=sA(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=r)&&(t.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(t,n,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=aA(n),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),d=Math.max(o.left-i.left-t.x,0);let c=0,u=0;return c=r.width<=o.width?d||-s:t.x<this._viewportMargin?o.left-i.left-t.x:0,u=r.height<=o.height?l||-a:t.y<this._viewportMargin?o.top-i.top-t.y:0,this._previousPushAmount={x:c,y:u},{x:t.x+c,y:t.y+u}}_applyPosition(t,n){if(this._setTransformOrigin(t),this._setOverlayElementStyles(n,t),this._setBoundingBoxStyles(n,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!function SU(e,t){return e===t||e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new yU(t,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const n=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<n.length;o++)n[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(t,n){const i=this._viewportRect,r=this._isRtl();let o,s,a,c,u,f;if("top"===n.overlayY)s=t.y,o=i.height-s+this._viewportMargin;else if("bottom"===n.overlayY)a=i.height-t.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const p=Math.min(i.bottom-t.y+i.top,t.y),m=this._lastBoundingBoxSize.height;o=2*p,s=t.y-p,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-m/2)}if("end"===n.overlayX&&!r||"start"===n.overlayX&&r)f=i.width-t.x+2*this._viewportMargin,c=t.x-this._viewportMargin;else if("start"===n.overlayX&&!r||"end"===n.overlayX&&r)u=t.x,c=i.right-t.x;else{const p=Math.min(i.right-t.x+i.left,t.x),m=this._lastBoundingBoxSize.width;c=2*p,u=t.x-p,c>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-m/2)}return{top:s,left:u,bottom:a,right:f,width:c,height:o}}_setBoundingBoxStyles(t,n){const i=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=xt(i.height),r.top=xt(i.top),r.bottom=xt(i.bottom),r.width=xt(i.width),r.left=xt(i.left),r.right=xt(i.right),r.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",r.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=xt(o)),s&&(r.maxWidth=xt(s))}this._lastBoundingBoxSize=i,Uo(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Uo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Uo(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const c=this._viewportRuler.getViewportScrollPosition();Uo(i,this._getExactOverlayY(n,t,c)),Uo(i,this._getExactOverlayX(n,t,c))}else i.position="static";let a="",l=this._getOffset(n,"x"),d=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),d&&(a+=`translateY(${d}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=xt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=xt(s.maxWidth):o&&(i.maxWidth="")),Uo(this._pane.style,i)}_getExactOverlayY(t,n,i){let r={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=xt(o.y),r}_getExactOverlayX(t,n,i){let s,r={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=xt(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:eA(t,i),isOriginOutsideView:Uv(t,i),isOverlayClipped:eA(n,i),isOverlayOutsideView:Uv(n,i)}}_subtractOverflows(t,...n){return n.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Jh(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1h(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof et)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+n,height:i,width:n}}}function Uo(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function sA(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(wU);return n&&"px"!==n?null:parseFloat(t)}return e||null}function aA(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const lA="cdk-global-overlay-wrapper";class MU{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(lA),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),d=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),c=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let p="",m="",y="";l?y="flex-start":"center"===c?(y="center",f?m=u:p=u):f?"left"===c||"end"===c?(y="flex-end",p=u):("right"===c||"start"===c)&&(y="flex-start",m=u):"left"===c||"start"===c?(y="flex-start",p=u):("right"===c||"end"===c)&&(y="flex-end",m=u),t.position=this._cssPosition,t.marginLeft=l?"0":p,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":m,n.justifyContent=y,n.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,i=n.style;n.classList.remove(lA),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let EU=(()=>{var e;class t{constructor(i,r,o,s){this._viewportRuler=i,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new MU}flexibleConnectedTo(i){return new DU(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Bv),k(Fe),k(lr),k(rA))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),IU=0,xa=(()=>{var e;class t{constructor(i,r,o,s,a,l,d,c,u,f,p,m){this.scrollStrategies=i,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=d,this._document=c,this._directionality=u,this._location=f,this._outsideClickDispatcher=p,this._animationsModuleType=m}create(i){const r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new tA(i);return a.direction=a.direction||this._directionality.value,new xU(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(Yt))}position(){return this._positionBuilder}_createPaneElement(i){const r=this._document.createElement("div");return r.id="cdk-overlay-"+IU++,r.classList.add("cdk-overlay-pane"),i.appendChild(r),r}_createHostElement(){const i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(an)),new fU(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(vU),k(rA),k(Ls),
1k(EU),k(CU),k(ft),k(ue),k(Fe),k(PT),k(aa),k(bU),k(am,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const FU={provide:new R("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=S(xa);return()=>e.scrollStrategies.reposition()}}),deps:[xa],useFactory:function AU(e){return()=>e.scrollStrategies.reposition()}};let kU=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({providers:[xa,FU],imports:[Td,pU,KT,KT]}),t})();var bi=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(bi||{});function $v(e,t){return{type:bi.Trigger,name:e,definitions:t,options:{}}}function wa(e,t=null){return{type:bi.Animate,styles:t,timings:e}}function PU(e,t=null){return{type:bi.Group,steps:e,options:t}}function dr(e){return{type:bi.Style,styles:e,offset:null}}function dA(e,t,n){return{type:bi.State,name:e,styles:t,options:n}}function Rd(e,t,n=null){return{type:bi.Transition,expr:e,animation:t,options:n}}function rf(e){return new Ae(t=>{Ut(e()).subscribe(t)})}const $U=new R("MatFormField");function cA(e){return H(()=>e)}function uA(e,t){return t?n=>Cd(t.pipe(Ci(1),function HU(){return lt((e,t)=>{e.subscribe(We(t,uc))})}()),n.pipe(uA(e))):bt((n,i)=>Ut(e(n,i)).pipe(Ci(1),cA(n)))}const WU=["panel"],YU=["*"];function ZU(e,t){if(1&e){const n=se();C(0,"div",1,0),U("@panelAnimation.done",function(r){return X(n),J(v()._animationDone.next(r))}),er(2),x()}if(2&e){const n=t.id,i=v();rn(i._classList),Dr("mat-mdc-autocomplete-visible",i.showPanel)("mat-mdc-autocomplete-hidden",!i.showPanel)("mat-primary","primary"===i._color)("mat-accent","accent"===i._color)("mat-warn","warn"===i._color),A("id",i.id)("@panelAnimation",i.isOpen?"visible":"hidden"),nt("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(n))}}const KU=$v("panelAnimation",[dA("void, hidden",dr({opacity:0,transform:"scaleY(0.8)"})),Rd(":enter, hidden => visible",[PU([wa("0.03s linear",dr({opacity:1})),wa("0.12s cubic-bezier(0, 0, 0.2, 1)",dr({transform:"scaleY(1)"}))])]),Rd(":leave, visible => hidden",[wa("0.075s linear",dr({opacity:0}
1))])]);let QU=0;class XU{constructor(t,n){this.source=t,this.option=n}}const hA=new R("mat-autocomplete-default-options",{providedIn:"root",factory:function JU(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let e$=(()=>{var e;class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(i){this._color=i,this._changeDetectorRef.markForCheck()}set classList(i){this._classList=i,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const i of this.options)i._changeDetectorRef.markForCheck()}constructor(i,r,o,s){var a;this._changeDetectorRef=i,this._elementRef=r,this._defaults=o,this._activeOptionChanges=Xe.EMPTY,this._animationDone=new G,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new G,this.opened=new G,this.closed=new G,this.optionActivated=new G,this.id="mat-autocomplete-"+QU++,this.inertGroups=(null==s?void 0:s.SAFARI)||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=null!==(a=this._defaults.hideSingleSelectionIndicator)&&void 0!==a&&a}ngAfterContentInit(){this._keyManager=new Xq(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(i=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[i]||null})}),this._setVisibility()}ngOnDestroy(){var i;null===(i=this._keyManager)||void 0===i||i.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(i){this.panel&&(this.panel.nativeElement.scrollTop=i)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(i){const r=new XU(this,i);this.optionSelected.emit(r)}_getPanelAriaLabelledby(i){return this.ariaLabel?null:this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_skipPredicate(){return!1}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Ni),I(et),I(hA),I(lr))},e.\u0275cmp=Ve({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(i,r,o){if(1&i&&(Hu(o,HT,5),Hu(o,UT,5)),2&i){let s;Do(s=So())&&(r.options=s),Do(s=So())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(1&i&&(Gu(zi,7),Gu(WU,5)),2&i){let o;Do(o=So())&&(r.template=o.first),Do(o=So())&&(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",Li],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Li],requireSelection:[2,"requireSelection","requireSelection",Li],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Li],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Li]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[qe([{provide:zT,useExisting:e}]),Ll,Mo],ngContentSelectors:YU,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,r){1&i&&(na(),T(0,ZU,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[KU]},changeDetection:0}),t})();const t$={provide:yi,useExisting:Le(()=>pA),multi:!0},fA=new R("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const e=S(xa);return()=>e.scrollStrategies.reposition()}}),n$={provide:fA,deps:[xa],useFactory:function i$(e){return()=>e.scrollStrategies.reposition()}};let pA=(()=>{var e;class t{constructor(i,r,o,s,a,l,d,c,u,f,p){this._element=i,this._overlay=r,this._viewContainerRef
1=o,this._zone=s,this._changeDetectorRef=a,this._dir=d,this._formField=c,this._document=u,this._viewportRuler=f,this._defaults=p,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Xe.EMPTY,this._breakpointObserver=S(bT),this._handsetLandscapeSubscription=Xe.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ce,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new Ce,this._injector=S(ft),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=rf(()=>{const m=this.autocomplete?this.autocomplete.options:null;return m?m.changes.pipe(Bh(m),Ft(()=>Pd(...m.map(y=>y.onSelectionChange)))):this._initialized.pipe(Ft(()=>this.optionSelections))}),this._handlePanelKeydown=m=>{var y;(27===m.keyCode&&!Ed(m)||38===m.keyCode&&Ed(m,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(null!==(y=this._valueBeforeAutoSelection)&&void 0!==y?y:""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),m.stopPropagation(),m.preventDefault())},this._trackedModal=null,this._scrollStrategy=l}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();const i=this._getWindow();typeof i<"u"&&this._zone.runOutsideAngular(()=>i.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(i){i.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const i=this._getWindow();typeof i<"u"&&i.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}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&&Lv(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Pd(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Jt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Jt(()=>this._overlayAttached)):Q()).pipe(H(i=>i instanceof $T?i:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Pd(Yi(this._document,"click"),Yi(this._document,"auxclick"),Yi(this._document,"touchend")).pipe(Jt(i=>{const r=Qh(i),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,s=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&r!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(r))&&(!s||!s.contains(r))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(r)}))}writeValue(i){Promise.resolve(null).then(()=>this._assignOptionValue(i))}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this._element.nativeElement.disabled=i}_handleKeydown(i){const r=i.keyCode,o=Ed(i);if(27===r&&!o&&i.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&13===r&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),i.preventDefault();else if(this.autocomplete){const s=this.autocomplete._keyManager.activeItem,a=38===r||40===r;9===r||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(i):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==s)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pe
1ndingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(i){let r=i.target,o=r.value;if("number"===r.type&&(o=""==o?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),o){if(this.panelOpen&&!this.autocomplete.requireSelection){var s;const l=null===(s=this.autocomplete.options)||void 0===s?void 0:s.find(d=>d.selected);l&&o!==this._getDisplayValue(l.value)&&l.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===i.target){var a;const l=null!==(a=this._valueOnLastKeydown)&&void 0!==a?a:this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(l)}}}_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()}_floatLabel(i=!1){this._formField&&"auto"===this._formField.floatLabel&&(i?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const i=new Ae(o=>{go(()=>{o.next()},{injector:this._injector})}),r=this.autocomplete.options.changes.pipe(kt(()=>this._positionStrategy.reapplyLastPosition()),function GU(e,t=Wh){const n=jv(e,t);return uA(()=>n)}(0));return Pd(i,r).pipe(Ft(()=>this._zone.run(()=>{const o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ci(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(i){const r=this.autocomplete;return r&&r.displayWith?r.displayWith(i):i}_assignOptionValue(i){const r=this._getDisplayValue(i);null==i&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(null!=r?r:"")}_updateNativeInputValue(i){this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(i){const r=this.autocomplete,o=i?i.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),r._emitSelectEvent(o),this._element.nativeElement.focus()):r.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),r._animationDone?r._animationDone.pipe(Ci(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(i,r){var o;null===(o=this.autocomplete)||void 0===o||null===(o=o.options)||void 0===o||o.forEach(s=>{s!==i&&s.selected&&s.deselect(r)})}_openPanelInternal(i=this._element.nativeElement.value){this._attachOverlay(i),this._floatLabel(),this._trackedModal&&DT(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(i){var r;let o=this._overlayRef;var s;o?(this._positionStrategy.setOrigin(this._getConnectedElement()),o.updateSize({width:this._getPanelWidth()})):(this._portal=new QT(this.autocomplete.template,this._viewContainerRef,{id:null===(s=this._formField)||void 0===s?void 0:s.getLabelId()}),o=this._overlay.create(this._getOverlayConfig()),this._overlayRef=o,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&o&&o.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe("(max-width: 959.98px) and (orientation: landscape)").subscribe(l=>{l.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),o&&!o.hasAttached()&&(o.attach(this._portal),this._valueOnAttach=i,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const a=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(null===(r=this._formField)||void 0===r?void 0:r.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&a!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const o=this._overlayRef;
1this._keydownSubscription||(this._keydownSubscription=o.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=o.outsidePointerEvents().subscribe())}else{var i,r;null===(i=this._keydownSubscription)||void 0===i||i.unsubscribe(),null===(r=this._outsideClickSubscription)||void 0===r||r.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}}_getOverlayConfig(){var i,r;return new tA({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:null!==(i=this._dir)&&void 0!==i?i:void 0,panelClass:null===(r=this._defaults)||void 0===r?void 0:r.overlayPanelClass})}_getOverlayPosition(){const i=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(i),this._positionStrategy=i,i}_setStrategyPositions(i){const r=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,s=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}];let a;a="above"===this.position?s:"below"===this.position?r:[...r,...s],i.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(){const i=this.autocomplete;if(i.autoActiveFirstOption){let r=-1;for(let o=0;o<i.options.length;o++)if(!i.options.get(o).disabled){r=o;break}i._keyManager.setActiveItem(r)}else i._keyManager.setActiveItem(-1)}_canOpen(){const i=this._element.nativeElement;return!i.readOnly&&!i.disabled&&!this.autocompleteDisabled}_getWindow(){var i;return(null===(i=this._document)||void 0===i?void 0:i.defaultView)||window}_scrollToOption(i){const r=this.autocomplete,o=function qz(e,t,n){if(n.length){let i=t.toArray(),r=n.toArray(),o=0;for(let s=0;s<e+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}(i,r.options,r.optionGroups);if(0===i&&1===o)r._setScrollTop(0);else if(r.panel){const s=r.options.toArray()[i];if(s){const a=s._getHostElement(),l=function zz(e,t,n,i){return e<n?e:e+t>n+i?Math.max(0,e-i+t):n}(a.offsetTop,a.offsetHeight,r._getScrollTop(),r.panel.nativeElement.offsetHeight);r._setScrollTop(l)}}}_applyModalPanelOwnership(){const i=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!i)return;const r=this.autocomplete.id;this._trackedModal&&Lv(this._trackedModal,"aria-owns",r),DT(i,"aria-owns",r),this._trackedModal=i}_clearFromModal(){this._trackedModal&&(Lv(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return(e=t).\u0275fac=function(i){return new(i||e)(I(et),I(xa),I(Fi),I(ue),I(Ni),I(fA),I(PT,8),I($U,9),I(Fe,8),I(Bv),I(hA,8))},e.\u0275dir=te({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,r){1&i&&U("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(s){return r._handleInput(s)})("keydown",function(s){return r._handleKeydown(s)})("click",function(){return r._handleClick()}),2&i&&nt("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||null==r.autocomplete?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",Li]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[qe([t$]),Ll,je]}),t})(),r$=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({providers:[n$],imports:[kU,GT,ba,Fn,qv,GT,ba]}),t})();var b=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(b||{});const sf=new R("ngx-mask config"),mA=new R("new ngx-mask config"),_A=new R("initial ngx-mask config"),o$={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new G,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},s$=[b.HOURS_MINUTES_SECONDS,b.HOURS_MINUTES,b.MINUTES_SECONDS],a$=[b.PERCENT,b.HOURS_HOUR,b.SECONDS,b.MINUTES,b.SEPARATOR,b.DAYS_MONTHS_YEARS,b.DAYS_MONTHS,b.DAYS,b.MONTHS];let l$=(()=>{var e;class t{constructor(){(0,h.A)(this,"_config",S(sf)),(0,h.A)(this,"dropSpecialCharacters",this._config.dropSpecialCharacters),(0,h.A)(this,"hiddenInput",this._config.hiddenInput),(0,h.A)(this,"showTemplate",void 0),(0,h.A)(this,"clearIfNotMatch",this._config.clearIfNotMatch),(0,h.A)(this,"specialCharacters",this._config.specialCharacters),(0,h.A)(this,"patterns",this._config.patterns),(0,h.A)(this,"prefix",this._config.prefix),(0,h.A)(this,"suffix",this._config.suffix),(0,h.A)(this,"thousandSeparator",this._config.thousandSeparator),(0,h.A)(this,"decimalMarker",this._config.decimalMarker),(0,h.A)(this,"customPattern",void 0),(0,h.A)(this,"showMaskTyped",this._config.showMaskTyped),(0,h.A)(this,"placeHolderCharacter",this._config.placeHolderCharacter),(0,h.A)(this,"validation",this._config.validation),(0,h.A)(this,"separatorLimit",this._config.separatorLimit),(0,h.A)(this,"allowNegativeNumbers",this._config.allowNegativeNumbers),(0,h.A)(this,"leadZeroDateTime",this._config.leadZeroDateTime),(0,h.A)(this,"leadZero",this._config.leadZero),(0,h.A)(this,"apm",this._config.apm),
1(0,h.A)(this,"inputTransformFn",this._config.inputTransformFn),(0,h.A)(this,"outputTransformFn",this._config.outputTransformFn),(0,h.A)(this,"keepCharacterPositions",this._config.keepCharacterPositions),(0,h.A)(this,"_shift",new Set),(0,h.A)(this,"plusOnePosition",!1),(0,h.A)(this,"maskExpression",""),(0,h.A)(this,"actualValue",""),(0,h.A)(this,"showKeepCharacterExp",""),(0,h.A)(this,"shownMaskExpression",""),(0,h.A)(this,"deletedSpecialCharacter",!1),(0,h.A)(this,"ipError",void 0),(0,h.A)(this,"cpfCnpjError",void 0),(0,h.A)(this,"_formatWithSeparators",(i,r,o,s)=>{var a;let l=[],d="";if(Array.isArray(o)){var c,u;const _=new RegExp(o.map(w=>"[\\^$.|?*+()".indexOf(w)>=0?`\\${w}`:w).join("|"));l=i.split(_),d=null!==(c=null===(u=i.match(_))||void 0===u?void 0:u[0])&&void 0!==c?c:b.EMPTY_STRING}else l=i.split(o),d=o;const f=l.length>1?`${d}${l[1]}`:b.EMPTY_STRING;let p=null!==(a=l[0])&&void 0!==a?a:b.EMPTY_STRING;const m=this.separatorLimit.replace(/\s/g,b.EMPTY_STRING);m&&+m&&(p=p[0]===b.MINUS?`-${p.slice(1,p.length).slice(0,m.length)}`:p.slice(0,m.length));const y=/(\d+)(\d{3})/;for(;r&&y.test(p);)p=p.replace(y,"$1"+r+"$2");return typeof s>"u"?p+f:0===s?p:p+f.substring(0,s+1)}),(0,h.A)(this,"percentage",i=>{const r=i.replace(",","."),o=Number(this.allowNegativeNumbers&&i.includes(b.MINUS)?r.slice(1,i.length):r);return!isNaN(o)&&o>=0&&o<=100}),(0,h.A)(this,"getPrecision",i=>{const r=i.split(b.DOT);return r.length>1?Number(r[r.length-1]):1/0}),(0,h.A)(this,"checkAndRemoveSuffix",i=>{for(let l=(null===(r=this.suffix)||void 0===r?void 0:r.length)-1;l>=0;l--){var r,o,s,a;const d=this.suffix.substring(l,null===(o=this.suffix)||void 0===o?void 0:o.length);if(i.includes(d)&&l!==(null===(s=this.suffix)||void 0===s?void 0:s.length)-1&&(l-1<0||!i.includes(this.suffix.substring(l-1,null===(a=this.suffix)||void 0===a?void 0:a.length))))return i.replace(d,b.EMPTY_STRING)}return i}),(0,h.A)(this,"checkInputPrecision",(i,r,o)=>{let s=i,a=o;if(r<1/0){var l,d;if(Array.isArray(a)){const p=a.find(m=>m!==this.thousandSeparator);a=p||a[0]}const c=new RegExp(this._charToRegExpExpression(a)+`\\d{${r}}.*$`),u=s.match(c),f=null!==(l=u&&(null===(d=u[0])||void 0===d?void 0:d.length))&&void 0!==l?l:0;f-1>r&&(s=s.substring(0,s.length-(f-1-r))),0===r&&this._compareOrIncludes(s[s.length-1],a,this.thousandSeparator)&&(s=s.substring(0,s.length-1))}return s})}applyMaskWithPattern(i,r){const[o,s]=r;return this.customPattern=s,this.applyMask(i,o)}applyMask(i,r,o=0,s=!1,a=!1,l=()=>{}){var d;if(!r||"string"!=typeof i)return b.EMPTY_STRING;let c=0,u="",f=!1,p=!1,m=1,y=!1,_=i,w=o;_.slice(0,this.prefix.length)===this.prefix&&(_=_.slice(this.prefix.length,_.length)),this.suffix&&_.length>0&&(_=this.checkAndRemoveSuffix(_)),"("===_&&this.prefix&&(_="");const D=_.toString().split(b.EMPTY_STRING);if(this.allowNegativeNumbers&&_.slice(c,c+1)===b.MINUS&&(u+=_.slice(c,c+1)),r===b.IP){const ze=_.split(b.DOT);this.ipError=this._validIP(ze),r="099.099.099.099"}const O=[];for(let ze=0;ze<_.length;ze++){var B,K;null!==(B=_[ze])&&void 0!==B&&B.match("\\d")&&O.push(null!==(K=_[ze])&&void 0!==K?K:b.EMPTY_STRING)}if(r===b.CPF_CNPJ&&(this.cpfCnpjError=11!==O.length&&14!==O.length,r=O.length>11?"00.000.000/0000-00":"000.000.000-00"),r.startsWith(b.PERCENT)){if(_.match("[a-z]|[A-Z]")||_.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!a){_=this._stripToDecimal(_);const ur=this.getPrecision(r);_=this.checkInputPrecision(_,ur,this.decimalMarker)}const ze="string"==typeof this.decimalMarker?this.decimalMarker:b.DOT;if(_.indexOf(ze)>0&&!this.percentage(_.substring(0,_.indexOf(ze)))){let ur=_.substring(0,_.indexOf(ze)-1);this.allowNegativeNumbers&&_.slice(c,c+1)===b.MINUS&&!a&&(ur=_.substring(0,_.indexOf(ze))),_=`${ur}${_.substring(_.indexOf(ze),_.length)}`}let ce="";ce=this.allowNegativeNumbers&&_.slice(c,c+1)===b.MINUS?`${b.MINUS}${_.slice(c+1,c+_.length)}`:_,u=this.percentage(ce)?this._splitPercentZero(_):this._splitPercentZero(_.substring(0,_.length-1))}else if(r.startsWith(b.SEPARATOR)){(_.match("[w\u0430-\u044f\u0410-\u042f]")||_.match("[\u0401\u0451\u0410-\u044f]")||_.match("[a-z]|[A-Z]")||_.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||_.match("[^A-Za-z0-9,]"))&&(_=this._stripToDecimal(_));
1const ze=this.getPrecision(r),ce=Array.isArray(this.decimalMarker)?this.thousandSeparator===b.DOT?b.COMMA:b.DOT:this.decimalMarker;if(0===ze?_=this.allowNegativeNumbers?_.length>2&&_[0]===b.MINUS&&_[1]===b.NUMBER_ZERO&&_[2]!==this.thousandSeparator&&_[2]!==b.COMMA&&_[2]!==b.DOT?"-"+_.slice(2,_.length):_[0]===b.NUMBER_ZERO&&_.length>1&&_[1]!==this.thousandSeparator&&_[1]!==b.COMMA&&_[1]!==b.DOT?_.slice(1,_.length):_:_.length>1&&_[0]===b.NUMBER_ZERO&&_[1]!==this.thousandSeparator&&_[1]!==b.COMMA&&_[1]!==b.DOT?_.slice(1,_.length):_:(_[0]===ce&&_.length>1&&(_=b.NUMBER_ZERO+_.slice(0,_.length+1),this.plusOnePosition=!0),_[0]===b.NUMBER_ZERO&&_[1]!==ce&&_[1]!==this.thousandSeparator&&(_=_.length>1?_.slice(0,1)+ce+_.slice(1,_.length+1):_,this.plusOnePosition=!0),this.allowNegativeNumbers&&_[0]===b.MINUS&&(_[1]===ce||_[1]===b.NUMBER_ZERO)&&(_=_[1]===ce&&_.length>2?_.slice(0,1)+b.NUMBER_ZERO+_.slice(1,_.length):_[1]===b.NUMBER_ZERO&&_.length>2&&_[2]!==ce?_.slice(0,2)+ce+_.slice(2,_.length):_,this.plusOnePosition=!0)),a){const Nt=_.slice(this._findFirstNonZeroDigitIndex(_),_.length),Jo=_[w]===b.NUMBER_ZERO||_[w]===ce,Hr=_[0]===b.NUMBER_ZERO,ja=_[0]===b.MINUS,Nf=_[0]===this.thousandSeparator,Lf=_[1]===b.NUMBER_ZERO,J0=_[2]===ce;Hr&&_[1]===ce&&Jo&&w<2&&(_=Nt),ja&&Lf&&J0&&Jo&&w<3&&(_=b.MINUS+Nt),Nt!==b.MINUS&&(0===w&&(Hr||Nf)||this.allowNegativeNumbers&&1===w&&ja&&!Lf)&&(_=ja?b.MINUS+Nt:Nt)}const ur=this._charToRegExpExpression(this.thousandSeparator);let ji='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(ur,"");if(Array.isArray(this.decimalMarker))for(const Nt of this.decimalMarker)ji=ji.replace(this._charToRegExpExpression(Nt),b.EMPTY_STRING);else ji=ji.replace(this._charToRegExpExpression(this.decimalMarker),"");const Va=new RegExp("["+ji+"]");_.match(Va)&&(_=_.substring(0,_.length-1)),_=this.checkInputPrecision(_,ze,this.decimalMarker);const Xo=_.replace(new RegExp(ur,"g"),"");u=this._formatWithSeparators(Xo,this.thousandSeparator,this.decimalMarker,ze);const X0=u.indexOf(b.COMMA)-_.indexOf(b.COMMA),qn=u.length-_.length;if((u[w-1]===this.thousandSeparator||u[w-this.prefix.length])&&this.prefix&&a)w-=1;else if(qn>0&&u[w]!==this.thousandSeparator||a&&u.length<i.length&&this.separatorLimit){p=!0;let Nt=0;do{this._shift.add(w+Nt),Nt++}while(Nt<qn)}else u[w-1]===this.thousandSeparator||-4===qn||-3===qn||u[w]===this.thousandSeparator?(this._shift.clear(),this._shift.add(w-1)):0!==X0&&w>0&&!(u.indexOf(b.COMMA)>=w&&w>3)||!(u.indexOf(b.DOT)>=w&&w>3)&&qn<=0?(this._shift.clear(),p=!0,m=qn,w+=qn,this._shift.add(w)):this._shift.clear()}else for(let ze=0,ce=D[0];ze<D.length;ze++,ce=null!==(me=D[ze])&&void 0!==me?me:b.EMPTY_STRING){var me,ve,Ne,Rt,fi,Ht,ni,$r,H0,G0,W0,Y0;if(c===r.length)break;const ur=b.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(ce,null!==(ve=r[c])&&void 0!==ve?ve:b.EMPTY_STRING)&&r[c+1]===b.SYMBOL_QUESTION)u+=ce,c+=2;else if(r[c+1]===b.SYMBOL_STAR&&f&&this._checkSymbolMask(ce,null!==(Ne=r[c+2])&&void 0!==Ne?Ne:b.EMPTY_STRING))u+=ce,c+=3,f=!1;else if(this._checkSymbolMask(ce,null!==(Rt=r[c])&&void 0!==Rt?Rt:b.EMPTY_STRING)&&r[c+1]===b.SYMBOL_STAR&&!ur)u+=ce,f=!0;else if(r[c+1]===b.SYMBOL_QUESTION&&this._checkSymbolMask(ce,null!==(fi=r[c+2])&&void 0!==fi?fi:b.EMPTY_STRING))u+=ce,c+=3;else if(this._checkSymbolMask(ce,null!==(Ht=r[c])&&void 0!==Ht?Ht:b.EMPTY_STRING)){if(r[c]===b.HOURS&&(this.apm?Number(ce)>9:Number(ce)>2)){w=this.leadZeroDateTime?w:w+1,c+=1,this._shiftStep(r,c,D.length),ze--,this.leadZeroDateTime&&(u+="0");continue}if(r[c]===b.HOUR&&(this.apm?1===u.length&&Number(u)>1||"1"===u&&Number(ce)>2||1===_.slice(c-1,c).length&&Number(_.slice(c-1,c))>2||"1"===_.slice(c-1,c)&&Number(ce)>2:"2"===u&&Number(ce)>3||("2"===u.slice(c-2,c)||"2"===u.slice(c-3,c)||"2"===u.slice(c-4,c)||"2"===u.slice(c-1,c))&&Number(ce)>3&&c>10)){w+=1,c+=1,ze--;continue}if((r[c]===b.MINUTE||r[c]===b.SECOND)&&Number(ce)>5){w=this.leadZeroDateTime?w:w+1,c+=1,this._shiftStep(r,c,D.length),ze--,this.leadZeroDateTime&&(u+="0");continue}const ji=31,Va=_[c],Xo=_[c+1],X0=_[c+2],qn=_[c-1],Rf=_[c-2],Nt=_.slice(c-3,c-1),Jo=_.slice(c-1,c+1),Hr=_.slice(c,c+2),ja=_.slice(c-2,c);if(r[c]===b.DAY){const Nf=r.slice(0,2)===b.MONTHS,Jd=r.slice(0,2)===b.MONTHS&&this.specialCharacters.includes(Rf);if(Number(ce)>3&&this.leadZeroDateTime||!Nf&&(Number(Hr)>ji||Number(Jo)>ji||this.specialCharacters.includes(Xo))||(Jd?Number(Jo)>ji||!this.specialCharacters.includes(Va)&&this.specialCharacters.includes(X0)||this.specialCharacters.includes(Va):Number(Hr)>ji||this.specialCharacters.includes(Xo)&&!a)){w=this.leadZeroDateTime?w:w+1,c+=1,this._shiftStep(r,c,D.length),ze--,this.leadZeroDateTime&&(u+="0");continue}}if(r[c]===b.MONTH){const Jd=0===c&&(Number(ce)>2||Number(Hr)>12||this.specialCharacters.includes(Xo)&&!a),Lf=r.slice(c+2,c+3),J0=Nt.includes(Lf)&&r.includes("d0")&&(this.specialCharacters.includes(Rf)&&Number(Jo)>12&&!this.specialCharacters.includes(Va)||this.specialCharacters.includes(Va)),Ate=Number(Nt)<=ji&&!this.specialCharacters.includes(Nt)&&this.specialCharacters.includes(qn)&&(Number(Hr)>12||this.specialCharacters.includes(Xo)),Fte=Number(Hr)>12&&5===c||this.specialCharacters.includes(Xo)&&5===c,kte=Number(Nt)>ji&&!this.specialCharacters.includes(Nt)&&!this.specialCharacters.includes(ja)&&Number(ja)>12&&r.includes("d0"),Pte=Number(Nt)<=ji&&!this.specialCharacters.includes(Nt)&&!this.specialCharacters.includes(qn)&&Number(Jo)>12;if(Number(ce)>1&&this.leadZeroDateTime||Jd||J0||Pte||kte||Ate||Fte&&!this.leadZeroDateTime){w=this.leadZeroDateTime?w:w+1,c+=1,this._shiftStep(r,c,D.length),ze--,this.leadZeroDateTime&&(u+="0");continue}}u+=ce,c++}else if(this.specialCharacters.includes(ce)&&r[c]===ce)u+=ce,c++;else if(-1!==this.specialCharacters.indexOf(null!==(ni=r[c])&&void 0!==ni?ni:b.EMPTY_STRING))u+=r[c],c++,this._shiftStep(r,c,D.length),ze--;else if(r[c]===b.NUMBER_NINE&&this.showMaskTyped)this._shiftStep(r,c,D.length);else if(this.patterns[null!==($r=r[c])&&void 0!==$r?$r:b.EMPTY_STRING]&&null!==(H0=this.patterns[null!==(G0=r[c])&&void 0!==G0?G0:b.EMPTY_STRING])&&void 0!==H0&&H0.optional){var Z0,K0;D[c]&&"099.099.099.099"!==r&&"000.000.000-00"!==r&&"00.000.000/0000-00"!==r&&!r.match(/^9+\.0+$/)&&!(null!==(Z0=this.patterns[null!==(K0=r[c])&&void 0!==K0?K0:b.EMPTY_STRING])&&void 0!==Z0&&Z0.optional)&&(u+=D[c]),r.includes(b.NUMBER_NINE+b.SYMBOL_STAR)&&r.includes(b.NUMBER_ZERO+b.SYMBOL_STAR)&&c++,c++,ze--}else this.maskExpression[c+1]===b.SYMBOL_STAR&&this._findSpecialChar(null!==(W0=this.maskExpression[c+2])&&void 0!==W0?W0:b.EMPTY_STRING)&&this._findSpecialChar(ce)===this.maskExpression[c+2]&&f||this.maskExpression[c+1]===b.SYMBOL_QUESTION&&this._findSpecialChar(null!==(Y0=this.maskExpression[c+2])&&void 0!==Y0?Y0:b.EMPTY_STRING)&&this._findSpecialChar(ce)===this.maskExpression[c+2]&&f?(c+=3,u+=ce):this.showMaskTyped&&this.specialCharacters.indexOf(ce)<0&&ce!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(y=!0)}u.length+1===r.length&&-1!==this.specialCharacters.indexOf(null!==(d=r[r.length-1])&&void 0!==d?d:b.EMPTY_STRING)&&(u+=r[r.length-1]);let wk=w+1;for(;this._shift.has(wk);)m++,wk++;let Dk=s&&!r.startsWith(b.SEPARATOR)?c:this._shift.has(w)?m:0;y&&Dk--,l(Dk,p),m<0&&this._shift.clear();let Sk=!1;a&&(Sk=D.every(ze=>this.specialCharacters.includes(ze)));let Q0=`${this.prefix}${Sk?b.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;0===u.length&&(Q0=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);const Tte=1===_.length&&this.specialCharacters.includes(r[0])&&_!==r[0];if(!this._checkSymbolMask(_,r[1])&&Tte)return"";if(u.includes(b.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(a&&u===b.MINUS)return"";Q0=`${b.MINUS}${this.prefix}${u.split(b.MINUS).join(b.EMPTY_STRING)}${this.suffix}`}return Q0}_findDropSpecialChar(i){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===i):this._findSpecialChar(i)}_findSpecialChar(i){return this.specialCharacters.find(r=>r===i)}_checkSymbolMask(i,r){var o,s,a;return this.patterns=this.customPattern?this.customPattern:this.patterns,null!==(o=(null===(s=this.patterns[r])||void 0===s?void 0:s.pattern)&&(null===(a=this.patterns[r])||void 0===a?void 0:a.pattern.test(i)))&&void 0!==o&&o}_stripToDecimal(i){return i.split(b.EMPTY_STRING).filter((r,o)=>{const s="string"==typeof this.decimalMarker?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||s||r===b.MINUS&&0===o&&this.allowNegativeNumbers}).join(b.EMPTY_STRING)}_charToRegExpExpression(i){return i&&(" "===i?"\\s":"[\\^$.|?*+()".indexOf(i)>=0?`\\${i}`:i)}_shiftStep(i,r,o){const s=/[*?]/g.test(i.slice(0,r))?o:r;this._shift.add(s+this.prefix.length||0)}_compareOrIncludes(i,r,o){return Array.isArray(r)?r.filter(s=>s!==o).includes(i):i===r}_validIP(i){return!(4===i.length&&!i.some((r,o)=>i.length!==o+1?r===b.EMPTY_STRING||Number(r)>255:r===b.EMPTY_STRING||Number(r.substring(0,3))>
1255))}_splitPercentZero(i){if(i===b.MINUS&&this.allowNegativeNumbers)return i;const r=i.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:b.DOT),o=this.allowNegativeNumbers&&i.includes(b.MINUS)?"-":"";if(-1===r){const s=parseInt(o?i.slice(1,i.length):i,10);return isNaN(s)?b.EMPTY_STRING:`${o}${s}`}{const s=parseInt(i.replace("-","").substring(0,r),10),a=i.substring(r+1),l=isNaN(s)?"":s.toString();return l===b.EMPTY_STRING?b.EMPTY_STRING:`${o}${l}${"string"==typeof this.decimalMarker?this.decimalMarker:b.DOT}${a}`}}_findFirstNonZeroDigitIndex(i){for(let r=0;r<i.length;r++){const o=i[r];if(o&&o>="1"&&o<="9")return r}return-1}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac})),t})(),Hv=(()=>{var e;class t extends l${constructor(...i){super(...i),(0,h.A)(this,"isNumberValue",!1),(0,h.A)(this,"maskIsShown",""),(0,h.A)(this,"selStart",null),(0,h.A)(this,"selEnd",null),(0,h.A)(this,"writingValue",!1),(0,h.A)(this,"maskChanged",!1),(0,h.A)(this,"_maskExpressionArray",[]),(0,h.A)(this,"triggerOnMaskChange",!1),(0,h.A)(this,"_previousValue",""),(0,h.A)(this,"_currentValue",""),(0,h.A)(this,"_emitValue",!1),(0,h.A)(this,"_start",void 0),(0,h.A)(this,"_end",void 0),(0,h.A)(this,"onChange",r=>{}),(0,h.A)(this,"_elementRef",S(et,{optional:!0})),(0,h.A)(this,"document",S(Fe)),(0,h.A)(this,"_config",S(sf)),(0,h.A)(this,"_renderer",S(Ai,{optional:!0}))}applyMask(i,r,o=0,s=!1,a=!1,l=()=>{}){var d,c;if(!r)return i!==this.actualValue?this.actualValue:i;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():b.EMPTY_STRING,this.maskExpression===b.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||b.HASH)),this.maskExpression===b.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||b.HASH)),!i&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;const u=i&&"number"==typeof this.selStart&&null!==(d=i[this.selStart])&&void 0!==d?d:b.EMPTY_STRING;let f="",p=o;if(null!==this.hiddenInput&&!this.writingValue){let w=i&&1===i.length?i.split(b.EMPTY_STRING):this.actualValue.split(b.EMPTY_STRING);"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):i!==b.EMPTY_STRING&&w.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(i.length>w.length?w.splice(this.selStart,0,u):i.length<w.length&&(w.length-i.length==1?w.splice(a?this.selStart-1:i.length-1,1):w.splice(this.selStart,this.selEnd-this.selStart))):w=[],this.showMaskTyped&&!this.hiddenInput&&(f=this.removeMask(i)),f=this.actualValue.length&&w.length<=i.length?this.shiftTypedSymbols(w.join(b.EMPTY_STRING)):i}if(s&&(this.hiddenInput||!this.hiddenInput)&&(f=i),a&&-1!==this.specialCharacters.indexOf(null!==(c=this.maskExpression[p])&&void 0!==c?c:b.EMPTY_STRING)&&this.showMaskTyped&&!this.prefix&&(f=this._currentValue),this.deletedSpecialCharacter&&p&&(this.specialCharacters.includes(this.actualValue.slice(p,p+1))?p+=1:r.slice(p-1,p+1)!==b.MONTHS&&(p-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(f=this.removeMask(i)),f=this.maskChanged?i:f&&f.length?f:i,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!s&&!this.writingValue){const w=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(w),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}const m=super.applyMask(f,r,p,s,a,l);if(this.actualValue=this.getActualValue(m),this.thousandSeparator===b.DOT&&this.decimalMarker===b.DOT&&(this.decimalMarker=b.COMMA),this.maskExpression.startsWith(b.SEPARATOR)&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(w=>!this._compareOrIncludes(w,this.decimalMarker,this.thousandSeparator))),(m||""===m)&&(this._previousValue=this._currentValue,this._currentValue=m,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&s),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(m)):this.formControlResult(m)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?a?this.hideInput(m,this.maskExpression):`${this.hideInput(m,this.maskExpression)}${this.maskIsShown.slice(m.length)}`:m;const y=m.length,_=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(b.HOURS)){const w=this._numberSki
1pedSymbols(m);return`${m}${_.slice(y+w)}`}return this.maskExpression===b.IP||this.maskExpression===b.CPF_CNPJ?`${m}${_}`:`${m}${_.slice(y)}`}_numberSkipedSymbols(i){const r=/(^|\D)(\d\D)/g;let o=r.exec(i),s=0;for(;null!=o;)s+=1,o=r.exec(i);return s}applyValueChanges(i,r,o,s=()=>{}){var a;const l=null===(a=this._elementRef)||void 0===a?void 0:a.nativeElement;l&&(l.value=this.applyMask(l.value,this.maskExpression,i,r,o,s),l!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(i,r){return i.split(b.EMPTY_STRING).map((o,s)=>{var a,l,d,c,u;return this.patterns&&this.patterns[null!==(a=r[s])&&void 0!==a?a:b.EMPTY_STRING]&&null!==(l=this.patterns[null!==(d=r[s])&&void 0!==d?d:b.EMPTY_STRING])&&void 0!==l&&l.symbol?null===(c=this.patterns[null!==(u=r[s])&&void 0!==u?u:b.EMPTY_STRING])||void 0===c?void 0:c.symbol:o}).join(b.EMPTY_STRING)}getActualValue(i){const r=i.split(b.EMPTY_STRING).filter((o,s)=>{var a;const l=null!==(a=this.maskExpression[s])&&void 0!==a?a:b.EMPTY_STRING;return this._checkSymbolMask(o,l)||this.specialCharacters.includes(l)&&o===l});return r.join(b.EMPTY_STRING)===i?r.join(b.EMPTY_STRING):i}shiftTypedSymbols(i){let r="";return(i&&i.split(b.EMPTY_STRING).map((s,a)=>{var l;if(this.specialCharacters.includes(null!==(l=i[a+1])&&void 0!==l?l:b.EMPTY_STRING)&&i[a+1]!==this.maskExpression[a+1])return r=s,i[a+1];if(r.length){const d=r;return r=b.EMPTY_STRING,d}return s})||[]).join(b.EMPTY_STRING)}numberToString(i){return!i&&0!==i||this.maskExpression.startsWith(b.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(b.SEPARATOR)&&this.separatorLimit.length>14&&String(i).length>14?String(i):Number(i).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${b.MINUS}/`,b.MINUS)}showMaskInInput(i){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(i){if(this.maskExpression===b.IP)return this._checkForIp(i);if(this.maskExpression===b.CPF_CNPJ)return this._checkForCpfCnpj(i)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var i;const r=null===(i=this._elementRef)||void 0===i?void 0:i.nativeElement;r&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==r.value.replace(this.placeHolderCharacter,b.EMPTY_STRING).length&&(this.formElementProperty=["value",b.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([i,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,s;return null===(o=this._renderer)||void 0===o?void 0:o.setProperty(null===(s=this._elementRef)||void 0===s?void 0:s.nativeElement,i,r)})}checkDropSpecialCharAmount(i){return i.split(b.EMPTY_STRING).filter(o=>this._findDropSpecialChar(o)).length}removeMask(i){return this._removeMask(this._removeSuffix(this._removePrefix(i)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(i){if(i===b.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const r=[];for(let s=0;s<i.length;s++){var o;const a=null!==(o=i[s])&&void 0!==o?o:b.EMPTY_STRING;a&&a.match("\\d")&&r.push(a)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(i){const r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(i===b.HASH)return r;const s=[];for(let l=0;l<i.length;l++){var a;const d=null!==(a=i[l])&&void 0!==a?a:b.EMPTY_STRING;d&&d.match("\\d")&&s.push(d)}return s.length<=3?r.slice(s.length,r.length):s.length>3&&s.length<=6?r.slice(s.length+1,r.length):s.length>6&&s.length<=9?r.slice(s.length+2,r.length):s.length>9&&s.length<11?r.slice(s.length+3,r.length):11===s.length?"":12===s.length?o.slice(17===i.length?16:15,o.length):s.length>12&&s.length<=14?o.slice(s.length+4,o.length):""}_getActiveElement(i=this.document){var r;const o=null==i||null===(r=i.activeElement)||void 0===r?void 0:r.shadowRoot;return null!=o&&o.activeElement?this._getActiveElement(o):i.activeElement}formControlResult(i){if(!this.writingValue||i)return this.writingValue||!this.triggerOnMaskChange&&this.maskChanged?(this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbol
1s(this._removeSuffix(this._removePrefix(i)))))),void(this.maskChanged=!1)):void(Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(i)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===i?this._checkSymbols(this._removeSuffix(this._removePrefix(i))):i))));this.onChange("")}_toNumber(i){if(!this.isNumberValue||i===b.EMPTY_STRING||this.maskExpression.startsWith(b.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return i;if(String(i).length>14&&this.maskExpression.startsWith(b.SEPARATOR))return String(i);const r=Number(i);if(this.maskExpression.startsWith(b.SEPARATOR)&&Number.isNaN(r)){const o=String(i).replace(",",".");return Number(o)}return Number.isNaN(r)?i:r}_removeMask(i,r){return this.maskExpression.startsWith(b.PERCENT)&&i.includes(b.DOT)?i:i&&i.replace(this._regExpForRemove(r),b.EMPTY_STRING)}_removePrefix(i){return this.prefix?i&&i.replace(this.prefix,b.EMPTY_STRING):i}_removeSuffix(i){return this.suffix?i&&i.replace(this.suffix,b.EMPTY_STRING):i}_retrieveSeparatorValue(i){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&i.includes(b.WHITE_SPACE)&&this.maskExpression.includes(b.SYMBOL_STAR)&&(r=r.filter(o=>o!==b.WHITE_SPACE)),this._removeMask(i,r)}_regExpForRemove(i){return new RegExp(i.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(i){const r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return i.replace(this._regExpForRemove(r),b.DOT)}_checkSymbols(i){let r=i;if(r===b.EMPTY_STRING)return r;this.maskExpression.startsWith(b.PERCENT)&&this.decimalMarker===b.COMMA&&(r=r.replace(b.COMMA,b.DOT));const o=this._retrieveSeparatorPrecision(this.maskExpression),s=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&o?r===this.decimalMarker?null:s.length>14?String(s):this._checkPrecision(this.maskExpression,s):s}_checkPatternForSpace(){for(const s in this.patterns){var i;if(this.patterns[s]&&null!==(i=this.patterns[s])&&void 0!==i&&i.hasOwnProperty("pattern")){var r,o;const a=null===(r=this.patterns[s])||void 0===r?void 0:r.pattern.toString(),l=null===(o=this.patterns[s])||void 0===o?void 0:o.pattern;if(null!=a&&a.includes(b.WHITE_SPACE)&&null!=l&&l.test(this.maskExpression))return!0}}return!1}_retrieveSeparatorPrecision(i){const r=i.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(i,r){const o=this.getPrecision(i);let s=r;return i.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===b.COMMA&&this.leadZero&&(s=s.replace(",",".")),this.leadZero?Number(s).toFixed(Number(o)):Number(s).toFixed(2)):this.numberToString(s)}_repeatPatternSymbols(i){return i.match(/{[0-9]+}/)&&i.split(b.EMPTY_STRING).reduce((r,o,s)=>{if(this._start=o===b.CURLY_BRACKETS_LEFT?s:this._start,o!==b.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?r+o:r;this._end=s;const a=Number(i.slice(this._start+1,this._end)),l=new Array(a+1).join(i[this._start-1]);if(i.slice(0,this._start).length>1&&i.includes(b.LETTER_S)){const d=i.slice(0,this._start-1);return d.includes(b.CURLY_BRACKETS_LEFT)?r+l:d+r+l}return r+l},"")||i}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}}return e=t,(0,h.A)(t,"\u0275fac",(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})()),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac})),t})();function d$(){const e=S(_A),t=S(mA);return t instanceof Function?{...e,...t()}:{...e,...t}}function Gv(e){return[{provide:mA,useValue:e},{provide:_A,useValue:o$},{provide:sf,useFactory:d$},Hv]}let gA=(()=>{var e;class t{constructor(){(0,h.A)(this,"maskExpression",""),(0,h.A)(this,"specialCharacters",[]),(0,h.A)(this,"patterns",{}),(0,h.A)(this,"prefix",""),(0,h.A)(this,"suffix",""),(0,h.A)(this,"thousandSeparator"," "),(0,h.A)(this,"decimalMarker","."),(0,h.A)(this,"dropSpecialCharacters",null),(0,h.A)(this,"hiddenInput",null),(0,h.A)(this,"showMaskTyped",null),(0,h.A)(this,"placeHolderCharacter",null),(0,h.A)(this,"shownMaskExpression",null),(0,h.A)(this,"showTemplate",null),(0,h.A)(this,"clearIfNotMatch",null),(0,h.A)(this,"validation",null),(0,h.A)(this,"separatorLimit",null),(0,h.A)(this,"allowNegativeNumbers",null),(0,h.A)(this,"leadZeroDateTime",null),(0,h.A)(this,"leadZero",null),(0,h.A)(this,"triggerOnMaskChange",null),(0,h.A)(this,"apm",null),(0,h.A)(this,"inputTransformFn",null),(0,h.A)(this,"outputTransformFn",null),(0,h.A)(this,"keepCharacterPositions",null),(0,h.A)(this,"maskFilled",new G),(0,h.A)(this,"_maskValue",""),(0,h.A)(this,"_inputValue",void 0),(0,h.A)(this,"_position",null),(0,h.A)(this,"_code",void 0),(0,h.A)(this,"_maskExpressionArray",[]),(0,h.A)(this,"_allowFewMaskChangeMask",!1),(0,h.A)(this,"_justPasted",!1),(0,h.A)(this,"_isFocused",!1),(0,h.A)(this,"_isComposing",!1),(0,h.A)(this,"document",S(Fe)),(0,h.A)(this,"_maskService",S(Hv,{self:!0})),(0,h.A)(this,"_config",S(sf)),(0,h.A)(this,"onChange",i=>{}),(0,h.A)(this,"onTouch",()=>{})}ngOnChanges(i){const{maskExpression:r,specialCharacters:o,patterns:s,prefix:a,suffix:l,thousandSeparator:d,decimalMarker:c,dropSpecialCharacters:u,hiddenInput:f,showMaskTyped:p,placeHolderCharacter:m,shownMaskExpression:y,showTemplate:_,clearIfNotMatch:w,validation:D,separatorLimit:O,allowNegativeNumbers:B,leadZeroDateTime:K,leadZero:me,triggerOnMaskChange:ve,apm:Ne,inputTransformFn:Rt,outputTransformFn:fi,keepCharacterPositions:Ht}=i;if(r&&(r.currentValue!==r.previousValue&&!r.firstChange&&(this._maskService.maskChanged=!0),r.currentValue&&r.currentValue.split(b.OR).length>1?(this._maskExpressionArray=r.currentValue.split(b.OR).sort((ni,$r)=>ni.length-$r.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=r.currentValue||b.EMPTY_STRING,this._maskService.maskExpression=this._maskValue)),o){if(!o.currentValue||!Array.isArray(o.currentValue))return;this._maskService.specialCharacters=o.currentValue||[]}B&&(this._maskService.allowNegativeNumbers=B.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(ni=>ni!==b.MINUS))),s&&s.currentValue&&(this._maskService.patterns=s.currentValue),Ne&&Ne.currentValue&&(this._maskService.apm=Ne.currentValue),a&&(this._maskService.prefix=a.currentValue),l&&(this._maskService.suffix=l.currentValue),d&&(this._maskService.thousandSeparator=d.currentValue),c&&(this._maskService.decimalMarker=c.currentValue),u&&(this._maskService.dropSpecialCharacters=u.currentValue),f&&(this._maskService.hiddenInput=f.currentValue),p&&(this._maskService.showMaskTyped=p.currentValue,!1===p.previousValue&&!0===p.currentValue&&this._isFocused&&requestAnimationFrame(()=>{var ni;null===(ni=this._maskService._elementRef)||void 0===ni||ni.nativeElement.click()})),m&&(this._maskService.placeHolderCharacter=m.currentValue),y&&(this._maskService.shownMaskExpression=y.currentValue),_&&(this._maskService.showTemplate=_.currentValue),w&&(this._maskService.clearIfNotMatch=w.currentValue),D&&(this._maskService.validation=D.currentValue),O&&(this._maskService.separatorLimit=O.currentValue),K&&(this._maskService.leadZeroDateTime=K.currentValue),me&&(this._maskService.leadZero=me.currentValue),ve&&(this._maskService.triggerOnMaskChange=ve.currentValue),Rt&&(this._maskService.inputTransformFn=Rt.currentValue),fi&&(this._maskService.outputTransformFn=fi.currentValue),Ht&&(this._maskService.keepCharacterPositions=Ht.currentValue),this._applyMask()}validate({value:i}){const r="number"==typeof i?String(i):i;if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(r);if(this._maskService.cpfCnpjError)return this._createValidationError(r);if(this._maskValue.startsWith(b.SEPARATOR)||a$.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;
1if(s$.includes(this._maskValue))return this._validateTime(r);if(this._maskValue===b.EMAIL_MASK)return!/^[^@]+@[^@]+\.[^@]+$/.test(r)&&r?this._createValidationError(r):null;if(r&&r.length>=1){let a=0;if(this._maskValue.includes(b.CURLY_BRACKETS_LEFT)&&this._maskValue.includes(b.CURLY_BRACKETS_RIGHT))return this._maskValue.slice(this._maskValue.indexOf(b.CURLY_BRACKETS_LEFT)+1,this._maskValue.indexOf(b.CURLY_BRACKETS_RIGHT))===String(r.length)?null:this._createValidationError(r);if(this._maskValue.startsWith(b.PERCENT))return null;for(const l in this._maskService.patterns){var o;if(null!==(o=this._maskService.patterns[l])&&void 0!==o&&o.optional&&(this._maskValue.indexOf(l)!==this._maskValue.lastIndexOf(l)?a+=this._maskValue.split(b.EMPTY_STRING).filter(c=>c===l).join(b.EMPTY_STRING).length:-1!==this._maskValue.indexOf(l)&&a++,-1!==this._maskValue.indexOf(l)&&r.length>=this._maskValue.indexOf(l)||a===this._maskValue.length))return null}if(this._maskValue.indexOf(b.SYMBOL_STAR)>1&&r.length<this._maskValue.indexOf(b.SYMBOL_STAR)||this._maskValue.indexOf(b.SYMBOL_QUESTION)>1&&r.length<this._maskValue.indexOf(b.SYMBOL_QUESTION))return this._createValidationError(r);if(-1===this._maskValue.indexOf(b.SYMBOL_STAR)||-1===this._maskValue.indexOf(b.SYMBOL_QUESTION)){const l=this._maskValue.split("*"),d=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-a:this.prefix?this._maskValue.length+this.prefix.length-a:this._maskValue.length-a;if(1===l.length&&r.length<d)return this._createValidationError(r);if(l.length>1){var s;const c=l[l.length-1];if(c&&this._maskService.specialCharacters.includes(c[0])&&String(r).includes(null!==(s=c[0])&&void 0!==s?s:"")&&!this.dropSpecialCharacters){const u=i.split(c[0]);return u[u.length-1].length===c.length-1?null:this._createValidationError(r)}return(c&&!this._maskService.specialCharacters.includes(c[0])||!c||this._maskService.dropSpecialCharacters)&&r.length>=d-1?null:this._createValidationError(r)}}if(1===this._maskValue.indexOf(b.SYMBOL_STAR)||1===this._maskValue.indexOf(b.SYMBOL_QUESTION))return null}return i&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(i){(i===b.EMPTY_STRING||null===i||typeof i>"u")&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(b.EMPTY_STRING))}onInput(i){if(this._isComposing)return;const r=i.target,o=this._maskService.inputTransformFn(r.value);if("number"!==r.type)if("string"==typeof o||"number"==typeof o){if(r.value=o.toString(),this._inputValue=r.value,this._setMask(),!this._maskValue)return void this.onChange(r.value);let d=1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){var s,a;const p=r.value.slice(d-1,d),m=this.prefix.length,y=this._maskService._checkSymbolMask(p,null!==(s=this._maskService.maskExpression[d-1-m])&&void 0!==s?s:b.EMPTY_STRING),_=this._maskService._checkSymbolMask(p,null!==(a=this._maskService.maskExpression[d+1-m])&&void 0!==a?a:b.EMPTY_STRING),w=this._maskService.selStart===this._maskService.selEnd,D=Number(this._maskService.selStart)-m,O=Number(this._maskService.selEnd)-m,B=this._code===b.BACKSPACE||this._code===b.DELETE;if(B){if(w){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(d-this.prefix.length,d+1-this.prefix.length))&&w)if(1===D&&this.prefix)this._maskService.actualValue=`${this.prefix}${this._maskService.placeHolderCharacter}${r.value.split(this.prefix).join("").split(this.suffix).join("")}${this.suffix}`,d-=1;else{const K=r.value.substring(0,d),me=r.value.substring(d);this._maskService.actualValue=`${K}${this._maskService.placeHolderCharacter}${me}`}}else this._maskService.actualValue=this._maskService.selStart===m?`${this.prefix}${this._maskService.maskIsShown.slice(0,O)}${this._inputValue.split(this.prefix).join("")}`:this._maskService.selStart===this._maskService.maskIsShown.length+m?`${this._inputValue}${this._maskService.maskIsShown.slice(D,O)}`:`${this.prefix}${this._inputValue.split(this.prefix).join("").slice(0,D)}${this._maskService.maskIsShown.slice(D,O)}${this._maskService.actualValue.slice(O+m,this._maskService.maskIsShown.length+m)}${this.suffix}`;d=this._code===b.DELETE?d+1:d}var l;B||(y||_||!w?this._maskService.specialCharacters.includes(r.value.slice(d,d+1))&&_&&!this._maskService.specialCharacters.includes(r.value.slice(d+1,d+2))?(this._maskService.actualValue=`${r.value.slice(0,d-1)}${r.value.slice(d,d+1)}${p}${r.value.slice(d+2)}`,d+=1):y?this._maskService.actualValue=1===r.value.length&&1===d?`${this.prefix}${p}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`:`${r.value.slice(0,d-1)}${p}
1${r.value.slice(d+1).split(this.suffix).join("")}${this.suffix}`:this.prefix&&1===r.value.length&&d-m==1&&this._maskService._checkSymbolMask(r.value,null!==(l=this._maskService.maskExpression[d-1-m])&&void 0!==l?l:b.EMPTY_STRING)&&(this._maskService.actualValue=`${this.prefix}${r.value}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`):d=Number(r.selectionStart)-1)}let c=0,u=!1;if(this._code===b.DELETE&&b.SEPARATOR&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&this._code!==b.BACKSPACE&&this._maskService.maskExpression===b.DAYS_MONTHS_YEARS&&d<10){const p=this._inputValue.slice(d-1,d);r.value=this._inputValue.slice(0,d-1)+p+this._inputValue.slice(d+1)}if(this._maskService.maskExpression===b.DAYS_MONTHS_YEARS&&this.leadZeroDateTime&&(d<3&&Number(r.value)>31&&Number(r.value)<40||5===d&&Number(r.value.slice(3,5))>12)&&(d+=2),this._maskService.maskExpression===b.HOURS_MINUTES_SECONDS&&this.apm&&(this._justPasted&&r.value.slice(0,2)===b.DOUBLE_ZERO&&(r.value=r.value.slice(1,2)+r.value.slice(2,r.value.length)),r.value=r.value===b.DOUBLE_ZERO?b.NUMBER_ZERO:r.value),this._maskService.applyValueChanges(d,this._justPasted,this._code===b.BACKSPACE||this._code===b.DELETE,(p,m)=>{this._justPasted=!1,c=p,u=m}),this._getActiveElement()!==r)return;if(this._maskService.plusOnePosition&&(d+=1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length)if(this._code===b.BACKSPACE){const p=this.specialCharacters.includes(this._maskService.actualValue.slice(d-1,d)),m=this.specialCharacters.includes(this._maskService.actualValue.slice(d,d+1));this._allowFewMaskChangeMask&&!m?(d=r.selectionStart+1,this._allowFewMaskChangeMask=!1):d=p?d-1:d}else d=1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart;this._position=1===this._position&&1===this._inputValue.length?null:this._position;let f=this._position?this._inputValue.length+d+c:d+(this._code!==b.BACKSPACE||u?c:0);f>this._getActualInputLength()&&(f=r.value===this._maskService.decimalMarker&&1===r.value.length?this._getActualInputLength()+1:this._getActualInputLength()),f<0&&(f=0),r.setSelectionRange(f,f),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof o);else{if(!this._maskValue)return void this.onChange(r.value);this._maskService.applyValueChanges(r.value.length,this._justPasted,this._code===b.BACKSPACE||this._code===b.DELETE)}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(i){this._isComposing=!1,this._justPasted=!0,this.onInput(i)}onBlur(i){if(this._maskValue){const r=i.target;if(this._maskService.leadZero&&r.value.length>0&&"string"==typeof this._maskService.decimalMarker){const o=this._maskService.maskExpression,s=Number(this._maskService.maskExpression.slice(o.length-1,o.length));if(s>0){r.value=this._maskService.suffix?r.value.split(this._maskService.suffix).join(""):r.value;const a=r.value.split(this._maskService.decimalMarker)[1];r.value=r.value.includes(this._maskService.decimalMarker)?r.value+b.NUMBER_ZERO.repeat(s-a.length)+this._maskService.suffix:r.value+this._maskService.decimalMarker+b.NUMBER_ZERO.repeat(s)+this._maskService.suffix,this._maskService.actualValue=r.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(i){if(!this._maskValue)return;const r=i.target;null!==r&&null!==r.selectionStart&&r.selectionStart===r.selectionEnd&&r.selectionStart>this._maskService.prefix.length&&38!==i.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),r.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===r.value?(r.focus(),r.setSelectionRange(0,0)):r.selectionStart>this._maskService.actualValue.length&&r.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const a=r&&(r.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:r.value);if(r&&r.value!==a&&(r.value=a),r&&"number"!==r.type&&(r.selectionStart||r.selectionEnd)<=this._maskService.prefix.length){var l;const d=(null===(l=this._maskService.maskExpression.match(new RegExp(`^[${this._maskService.specialCharacters.map(c=>`\\${c}`).join("")}]+`)))||void 0===l?void 0:l[0].length)||0;r.selectionStart=this._maskService.prefix.length+d}else r&&r.selectionEnd>this._getActualInputLength()&&(r.selectionEnd=this._getActualInputLength())}onKeyDown(i){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===i.key&&this.onCompositionEnd(i));this._code=i.code?i.code:i.key;const r=i.target;if(this._inputValue=r.value,this._setMask(),"number"!==r.type){if(i.key===b.ARROW_UP&&i.preventDefault(),i.key===b.ARROW_LEFT||i.key===b.BACKSPACE||i.key===b.DELETE){var o;if(i.key===b.BACKSPACE&&0===r.value.length&&(r.selectionStart=r.selectionEnd),i.key===b.BACKSPACE&&0!==r.
1selectionStart)if(this.specialCharacters=null!==(o=this.specialCharacters)&&void 0!==o&&o.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&r.selectionStart<=this.prefix.length)r.setSelectionRange(this.prefix.length,r.selectionEnd);else if(this._inputValue.length!==r.selectionStart&&1!==r.selectionStart)for(;this.specialCharacters.includes((null!==(s=this._inputValue[r.selectionStart-1])&&void 0!==s?s:b.EMPTY_STRING).toString())&&(this.prefix.length>=1&&r.selectionStart>this.prefix.length||0===this.prefix.length);){var s;r.setSelectionRange(r.selectionStart-1,r.selectionEnd)}this.checkSelectionOnDeletion(r),this._maskService.prefix.length&&r.selectionStart<=this._maskService.prefix.length&&r.selectionEnd<=this._maskService.prefix.length&&i.preventDefault(),i.key===b.BACKSPACE&&!r.readOnly&&0===r.selectionStart&&r.selectionEnd===r.value.length&&0!==r.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<r.selectionStart?r.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===i.code&&i.ctrlKey||"KeyA"===i.code&&i.metaKey)&&(r.setSelectionRange(0,this._getActualInputLength()),i.preventDefault()),this._maskService.selStart=r.selectionStart,this._maskService.selEnd=r.selectionEnd}}writeValue(i){var r=this;return ma(function*(){let o=i;if("object"==typeof o&&null!==o&&"value"in o&&("disable"in o&&r.setDisabledState(!!o.disable),o=o.value),null!==o&&(o=r.inputTransformFn?r.inputTransformFn(o):o),"string"==typeof o||"number"==typeof o||null===o||typeof o>"u"){(null===o||typeof o>"u"||""===o)&&(r._maskService._currentValue="",r._maskService._previousValue="");let a=o;if("number"==typeof a||r._maskValue.startsWith(b.SEPARATOR)){var s;a=String(a);const l=r._maskService.currentLocaleDecimalMarker();Array.isArray(r._maskService.decimalMarker)||(a=r._maskService.decimalMarker!==l?a.replace(l,r._maskService.decimalMarker):a),r._maskService.leadZero&&a&&r.maskExpression&&!1!==r.dropSpecialCharacters&&(a=r._maskService._checkPrecision(r._maskService.maskExpression,a)),(r._maskService.decimalMarker===b.COMMA||Array.isArray(r._maskService.decimalMarker)&&r._maskService.thousandSeparator===b.DOT)&&(a=a.toString().replace(b.DOT,b.COMMA)),null!==(s=r.maskExpression)&&void 0!==s&&s.startsWith(b.SEPARATOR)&&r.leadZero&&requestAnimationFrame(()=>{var d,c;r._maskService.applyMask(null!==(d=null===(c=a)||void 0===c?void 0:c.toString())&&void 0!==d?d:"",r._maskService.maskExpression)}),r._maskService.isNumberValue=!0}"string"!=typeof a&&(a=""),r._inputValue=a,r._setMask(),a&&r._maskService.maskExpression||r._maskService.maskExpression&&(r._maskService.prefix||r._maskService.showMaskTyped)?("function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!0),r._maskService.formElementProperty=["value",r._maskService.applyMask(a,r._maskService.maskExpression)],"function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!1)):r._maskService.formElementProperty=["value",a],r._inputValue=a}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof o)})()}registerOnChange(i){this._maskService.onChange=this.onChange=i}registerOnTouched(i){this.onTouch=i}_getActiveElement(i=this.document){var r;const o=null==i||null===(r=i.activeElement)||void 0===r?void 0:r.shadowRoot;return null!=o&&o.activeElement?this._getActiveElement(o):i.activeElement}checkSelectionOnDeletion(i){i.selectionStart=Math.min(Math.max(this.prefix.length,i.selectionStart),this._inputValue.length-this.suffix.length),i.selectionEnd=Math.min(Math.max(this.prefix.length,i.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(i){this._maskService.formElementProperty=["disabled",i]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyM
1ask(this._inputValue,this._maskService.maskExpression)]}_validateTime(i){var r;const o=this._maskValue.split(b.EMPTY_STRING).filter(s=>":"!==s).length;return i&&(0==+(null!==(r=i[i.length-1])&&void 0!==r?r:-1)&&i.length<o||i.length<=o-2)?this._createValidationError(i):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(i){return{mask:{requiredMask:this._maskValue,actualValue:i}}}_setMask(){this._maskExpressionArray.some(i=>{if(i.split(b.EMPTY_STRING).some(d=>this._maskService.specialCharacters.includes(d))&&this._inputValue&&this._areAllCharactersInEachStringSame(this._maskExpressionArray)||i.includes(b.CURLY_BRACKETS_LEFT)){var o,s;const d=(null===(o=this._maskService.removeMask(this._inputValue))||void 0===o?void 0:o.length)<=(null===(s=this._maskService.removeMask(i))||void 0===s?void 0:s.length);if(d)return this._maskValue=this.maskExpression=this._maskService.maskExpression=i.includes(b.CURLY_BRACKETS_LEFT)?this._maskService._repeatPatternSymbols(i):i,d;{var a;this._code===b.BACKSPACE&&(this._allowFewMaskChangeMask=!0);const c=null!==(a=this._maskExpressionArray[this._maskExpressionArray.length-1])&&void 0!==a?a:b.EMPTY_STRING;this._maskValue=this.maskExpression=this._maskService.maskExpression=c.includes(b.CURLY_BRACKETS_LEFT)?this._maskService._repeatPatternSymbols(c):c}}else{var l;const d=null===(l=this._maskService.removeMask(this._inputValue))||void 0===l?void 0:l.split(b.EMPTY_STRING).every((c,u)=>{const f=i.charAt(u);return this._maskService._checkSymbolMask(c,f)});if(d||this._justPasted)return this._maskValue=this.maskExpression=this._maskService.maskExpression=i,d}})}_areAllCharactersInEachStringSame(i){const r=this._maskService.specialCharacters;return i.map(function o(a){const l=new RegExp(`[${r.map(d=>`\\${d}`).join("")}]`,"g");return a.replace(l,"")}).every(a=>1===new Set(a).size)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275dir",te({type:e,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(i,r){1&i&&U("paste",function(){return r.onPaste()})("focus",function(s){return r.onFocus(s)})("ngModelChange",function(s){return r.onModelChange(s)})("input",function(s){return r.onInput(s)})("compositionstart",function(s){return r.onCompositionStart(s)})("compositionend",function(s){return r.onCompositionEnd(s)})("blur",function(s){return r.onBlur(s)})("click",function(s){return r.onClick(s)})("keydown",function(s){return r.onKeyDown(s)})},inputs:{maskExpression:[0,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],standalone:!0,features:[qe([{provide:yi,useExisting:e,multi:!0},{provide:Lt,useExisting:e,multi:!0},Hv]),je]})),t})();var vA=function yA(){var e=[].slice.call(arguments),t=!1;"boolean"==typeof e[0]&&(t=e.shift());var n=e[0];if(CA(n))throw new Error("extendee must be an object");for(var i=e.slice(1),r=i.length,o=0;o<r;o++){var s=i[o];for(var a in s)if(Object.prototype.hasOwnProperty.call(s,a)){var l=s[a];if(t&&c$(l)){var d=Array.isArray(l)?[]:{};n[a]=yA(!0,Object.prototype.hasOwnProperty.call(n,a)&&!CA(n[a])?n[a]:d,l)}else n[a]=l}}return n};function c$(e){return Array.isArray(e)||"[object Object]"=={}.toString.call(e)}function CA(e){return!e||"object"!=typeof e&&"function"!=typeof e}
1function u$(e){return e&&e.__esModule?e.default:e}class bA{on(t,n){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(n),this}emit(t,...n){this._callbacks=this._callbacks||{};let i=this._callbacks[t];if(i)for(let r of i)r.apply(this,n);return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+t,{args:n})),this}makeEvent(t,n){let i={bubbles:!0,cancelable:!0,detail:n};if("function"==typeof window.CustomEvent)return new CustomEvent(t,i);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,i.bubbles,i.cancelable,i.detail),r}off(t,n){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;let i=this._callbacks[t];if(!i)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(let r=0;r<i.length;r++)if(i[r]===n){i.splice(r,1);break}return this}}var h$={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2097152,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,defaultHeaders:!0,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init(){},params(e,t,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:(e,t)=>t(),chunksUploaded:function(e,t){t()},binaryBody:!1,fallback(){let e;this.element.className=`${this.element.className} dz-browser-not-supported`;for(let n of this.element.getElementsByTagName("div"))if(/(^| )dz-message($| )/.test(n.className)){e=n,n.className="dz-message";break}e||(e=z.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));let t=e.getElementsByTagName("span")[0];return t&&(null!=t.textContent?t.textContent=this.options.dictFallbackMessage:null!=t.innerText&&(t.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize(e,t,n,i){let r={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},o=e.width/e.height;null==t&&null==n?(t=r.srcWidth,n=r.srcHeight):null==t?t=n*o:null==n&&(n=t/o);let s=(t=Math.min(t,r.srcWidth))/(n=Math.min(n,r.srcHeight));if(r.srcWidth>t||r.srcHeight>n)if("crop"===i)o>s?(r.srcHeight=e.height,r.srcWidth=r.srcHeight*s):(r.srcWidth=e.width,r.srcHeight=r.srcWidth/s);else{if("contain"!==i)throw new Error(`Unknown resizeMethod '${i}'`);o>s?n=t/o:t=n*o}return r.srcX=(e.width-r.srcWidth)/2,r.srcY=(e.height-r.srcHeight)/2,r.trgWidth=t,r.trgHeight=n,r},transformFile(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:u$('<div class="dz-preview dz-file-preview">\n  <div class="dz-image"><img data-dz-thumbnail=""></div>\n  <div class="dz-details">\n    <div class="dz-size"><span data-dz-size=""></span></div>\n    <div class="dz-filename"><span data-dz-name=""></span></div>\n  </div>\n  <div class="dz-progress">\n    <span class="dz-upload" data-dz-uploadprogress=""></span>\n  </div>\n  <div class="dz-error-message"><span data-dz-errormessage=""></span></div>\n  <div class="dz-success-mark">\n    <svg width="54" height="54" viewBox="0 0 54 54" fill="white" xmlns="http://www.w3.org/2000/svg">\n      <path d="M10.2071 29.7929L14.2929 25.7071C14.6834 25.3166 15.3166 25.3166 15.7071 25.7071L21.2929 31.2929C21.6834 31.6834 22.3166 31.6834 22.7071 31.2929L38.2929 15.7071C38.6834 15.3166 39.3166 15.3166 39.7071 15.7071L43.7929 19.7929C44.1834 20.1834 44.1834 20.8166 43.7929 21.2071L22.7071 42.2929C22.3166 42.6834 21.6834 42.6834 21.2929 42.2929L10.2071 31.2071C9.81658 30.8166 9.81658 30.1834 10.2071 29.7929Z"></path>\n    </svg>\n  </div>\n  <div class="dz-error-mark">\n    <svg width="54" height="54" viewBox="0 0 54 54" fill="white" xmlns="http://www.w3.org/2000/svg">\n      <path d="M26.2929 20.2929L19.2071 13.2071C18.8166 12.8166 18.1834 12.8166 17.7929 13.2071L13.2071 17.7929C12.8166 18.1834 12.8166 18.8166 13.2071 19.2071L20.2929 26.2929C20.6834 26.6834 20.6834 27.3166 20.2929 27.7071L13.2071 34.7929C12.8166 35.1834 12.8166 35.8166 13.2071 36.2071L17.7929 40.7929C18.1834 41.1834 18.8166 41.1834 19.2071 40.7929L26.2929 33.7071C26.6834 33.3166 27.3166 33.3166 27.7071 33.7071L34.7929 40.7929C35.1834 41.1834 35.8166 41.1834 36.2071 40.7929L40.7929 36.2071C41.1834 35.8166 41.1834 35.1834 40.7929 34.7929L33.7071 27.7071C33.3166 27.3166 33.3166 26.6834 33.7071 26.2929L40.7929 19.2071C41.1834 18.8166 41.1834 18.1834 40.7929 17.7929L36.2071 13.2071C35.8166 12.8166 35.1834 12.8166 34.7929 13.2071L27.7071 20.2929C27.3166 20.6834 26.6834 20.6834 26.2929 20.2929Z"></path>\n    </svg>\n  </div>\n</div>\n'),drop(e){return this.element.classList.remove("dz-drag-hover")},dragstart(e){},dragend(e){return this.element.classList.remove("dz-drag-hover")},dragenter(e){return this.element.classList.add("dz-drag-hover")},dragover(e){return this.element.classList.add("dz-drag-hover")},dragleave(e){return this.element.classList.remove("dz-drag-hover")},paste(e){},reset(){return this.element.classList.remove("dz-started")},addedfile(e){if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){for(var t of(e.previewElement=z.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),e.previewElement.querySelectorAll("[data-dz-name]")))t.textContent=e.name;for(t of e.previewElement.querySelectorAll("[data-dz-size]"))t.innerHTML=this.filesize(e.size);this.options.addRemoveLinks&&(e._removeLink=z.createElement(`<a class="dz-remove" href="javascript:undefined;" data-dz-remove>${this.options.dictRemoveFile}</a>`),e.previewElement.appendChild(e._removeLink));let n=i=>(i.preventDefault(),i.stopPropagation(),e.status===z.UPLOADING?z.confirm(this.options.dictCancelUploadConfirmation,()=>this.removeFile(e)):this.options.dictRemoveFileConfirmation?z.confirm(this.options.dictRemoveFileConfirmation,()=>this.removeFile(e)):this.removeFile(e));for(let i of e.previewElement.querySelectorAll("[data-dz-remove]"))i.addEventListener("click",n)}},removedfile(e){return null!=e.previewElement&&null!=e.previewElement.parentNode&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");for(let n of e.previewElement.querySelectorAll("[data-dz-thumbnail]"))n.alt=e.name,n.src=t;return setTimeout(()=>e.previewElement.classList.add("dz-image-preview"),1)}},error(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"string"!=typeof t&&t.error&&(t=t.error);for(let n of e.previewElement.querySelectorAll("[data-dz-errormessage]"))n.textContent=t}},errormultiple(){},processing(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple(){},uploadprogress(e,t,n){if(e.previewElement)for(let i of e.previewElement.querySelectorAll("[data-dz-uploadprogress]"))"PROGRESS"===i.nodeName?i.value=t:i.style.width=`${t}%`},totaluploadprogress(){},sending(){},sendingmultiple(){},success(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple(){}
1,canceled(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple(){},complete(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple(){},maxfilesexceeded(){},maxfilesreached(){},queuecomplete(){},addedfiles(){}};class z extends bA{static initClass(){this.prototype.Emitter=bA,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}getAcceptedFiles(){return this.files.filter(t=>t.accepted).map(t=>t)}getRejectedFiles(){return this.files.filter(t=>!t.accepted).map(t=>t)}getFilesWithStatus(t){return this.files.filter(n=>n.status===t).map(n=>n)}getQueuedFiles(){return this.getFilesWithStatus(z.QUEUED)}getUploadingFiles(){return this.getFilesWithStatus(z.UPLOADING)}getAddedFiles(){return this.getFilesWithStatus(z.ADDED)}getActiveFiles(){return this.files.filter(t=>t.status===z.UPLOADING||t.status===z.QUEUED).map(t=>t)}init(){if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(z.createElement(`<div class="dz-default dz-message"><button class="dz-button" type="button">${this.options.dictDefaultMessage}</button></div>`)),this.clickableElements.length){let i=()=>{this.hiddenFileInput&&this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=document.createElement("input"),this.hiddenFileInput.setAttribute("type","file"),(null===this.options.maxFiles||this.options.maxFiles>1)&&this.hiddenFileInput.setAttribute("multiple","multiple"),this.hiddenFileInput.className="dz-hidden-input",null!==this.options.acceptedFiles&&this.hiddenFileInput.setAttribute("accept",this.options.acceptedFiles),null!==this.options.capture&&this.hiddenFileInput.setAttribute("capture",this.options.capture),this.hiddenFileInput.setAttribute("tabindex","-1"),this.hiddenFileInput.style.visibility="hidden",this.hiddenFileInput.style.position="absolute",this.hiddenFileInput.style.top="0",this.hiddenFileInput.style.left="0",this.hiddenFileInput.style.height="0",this.hiddenFileInput.style.width="0",z.getElement(this.options.hiddenInputContainer,"hiddenInputContainer").appendChild(this.hiddenFileInput),this.hiddenFileInput.addEventListener("change",()=>{let{files:r}=this.hiddenFileInput;if(r.length)for(let o of r)this.addFile(o);this.emit("addedfiles",r),i()})};i()}this.URL=null!==window.URL?window.URL:window.webkitURL;for(let i of this.events)this.on(i,this.options[i]);this.on("uploadprogress",()=>this.updateTotalUploadProgress()),this.on("removedfile",()=>this.updateTotalUploadProgress()),this.on("canceled",i=>
1this.emit("complete",i)),this.on("complete",i=>{if(0===this.getAddedFiles().length&&0===this.getUploadingFiles().length&&0===this.getQueuedFiles().length)return setTimeout(()=>this.emit("queuecomplete"),0)});let n=function(i){if(function(i){if(i.dataTransfer.types)for(var r=0;r<i.dataTransfer.types.length;r++)if("Files"===i.dataTransfer.types[r])return!0;return!1}(i))return i.stopPropagation(),i.preventDefault?i.preventDefault():i.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:i=>this.emit("dragstart",i),dragenter:i=>(n(i),this.emit("dragenter",i)),dragover:i=>{let r;try{r=i.dataTransfer.effectAllowed}catch{}return i.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",n(i),this.emit("dragover",i)},dragleave:i=>this.emit("dragleave",i),drop:i=>(n(i),this.drop(i)),dragend:i=>this.emit("dragend",i)}}],this.clickableElements.forEach(i=>this.listeners.push({element:i,events:{click:r=>((i!==this.element||r.target===this.element||z.elementInside(r.target,this.element.querySelector(".dz-message")))&&this.hiddenFileInput.click(),!0)}})),this.enable(),this.options.init.call(this)}destroy(){return this.disable(),this.removeAllFiles(!0),null!=this.hiddenFileInput&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,z.instances.splice(z.instances.indexOf(this),1)}updateTotalUploadProgress(){let t,n=0,i=0;if(this.getActiveFiles().length){for(let o of this.getActiveFiles())n+=o.upload.bytesSent,i+=o.upload.total;t=100*n/i}else t=100;return this.emit("totaluploadprogress",t,i,n)}_getParamName(t){return"function"==typeof this.options.paramName?this.options.paramName(t):`${this.options.paramName}${this.options.uploadMultiple?`[${t}]`:""}`}_renameFile(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}getFallbackForm(){let t,n;if(t=this.getExistingFallback())return t;let i='<div class="dz-fallback">';this.options.dictFallbackText&&(i+=`<p>${this.options.dictFallbackText}</p>`),i+=`<input type="file" name="${this._getParamName(0)}" ${this.options.uploadMultiple?'multiple="multiple"':void 0} /><input type="submit" value="Upload!"></div>`;let r=z.createElement(i);return"FORM"!==this.element.tagName?(n=z.createElement(`<form action="${this.options.url}" enctype="multipart/form-data" method="${this.options.method}"></form>`),n.appendChild(r)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=n?n:r}getExistingFallback(){let t=function(i){for(let r of i)if(/(^| )fallback($| )/.test(r.className))return r};for(let i of["div","form"]){var n;if(n=t(this.element.getElementsByTagName(i)))return n}}setupEventListeners(){return this.listeners.map(t=>(()=>{let n=[];for(let i in t.events)n.push(t.element.addEventListener(i,t.events[i],!1));return n})())}removeEventListeners(){return this.listeners.map(t=>(()=>{let n=[];for(let i in t.events)n.push(t.element.removeEventListener(i,t.events[i],!1));return n})())}disable(){return this.clickableElements.forEach(t=>t.classList.remove("dz-clickable")),this.removeEventListeners(),this.disabled=!0,this.files.map(t=>this.cancelUpload(t))}enable(){return delete this.disabled,this.clickableElements.forEach(t=>t.classList.add("dz-clickable")),this.setupEventListeners()}filesize(t){let n=0,i="b";if(t>0){let r=["tb","gb","mb","kb","b"];for(let o=0;o<r.length;o++){let s=r[o];if(t>=Math.pow(this.options.filesizeBase,4-o)/10){n=t/Math.pow(this.options.filesizeBase,4-o),i=s;break}}n=Math.round(10*n)/10}return`<strong>${n}</strong> ${this.options.dictFileSizeUnits[i]}`}_updateMaxFilesReachedClass(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}drop(t){if(!t.dataTransfer)return;this.emit("drop",t);let n=[];for(let i=0;i<t.dataTransfer.files.length;i++)n[i]=t.dataTransfer.files[i];if(n.length){let{items:i}=t.dataTransfer;i&&i.length&&null!=i[0].webkitGetAsEntry?this._addFilesFromItems(i):this.handleFiles(n)}
1this.emit("addedfiles",n)}paste(t){if(null==function g$(e,t){return typeof e<"u"&&null!==e?t(e):void 0}(null!=t?t.clipboardData:void 0,i=>i.items))return;this.emit("paste",t);let{items:n}=t.clipboardData;return n.length?this._addFilesFromItems(n):void 0}handleFiles(t){for(let n of t)this.addFile(n)}_addFilesFromItems(t){return(()=>{let n=[];for(let r of t){var i;null!=r.webkitGetAsEntry&&(i=r.webkitGetAsEntry())?n.push(i.isFile?this.addFile(r.getAsFile()):i.isDirectory?this._addFilesFromDirectory(i,i.name):void 0):n.push(null==r.getAsFile||null!=r.kind&&"file"!==r.kind?void 0:this.addFile(r.getAsFile()))}return n})()}_addFilesFromDirectory(t,n){let i=t.createReader(),r=s=>function v$(e,t,n){if(typeof e<"u"&&null!==e&&"function"==typeof e[t])return n(e,t)}(console,"log",a=>a.log(s));var o=()=>i.readEntries(s=>{if(s.length>0){for(let a of s)a.isFile?a.file(l=>{if(!this.options.ignoreHiddenFiles||"."!==l.name.substring(0,1))return l.fullPath=`${n}/${l.name}`,this.addFile(l)}):a.isDirectory&&this._addFilesFromDirectory(a,`${n}/${a.name}`);o()}return null},r);return o()}accept(t,n){this.options.maxFilesize&&t.size>1048576*this.options.maxFilesize?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):z.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,n):n(this.options.dictInvalidFileType)}addFile(t){t.upload={uuid:z.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=z.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,n=>{n?(t.accepted=!1,this._errorProcessing([t],n)):(t.accepted=!0,this.options.autoQueue&&this.enqueueFile(t)),this._updateMaxFilesReachedClass()})}enqueueFiles(t){for(let n of t)this.enqueueFile(n);return null}enqueueFile(t){if(t.status!==z.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=z.QUEUED,this.options.autoProcessQueue)return setTimeout(()=>this.processQueue(),0)}_enqueueThumbnail(t){if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1048576*this.options.maxThumbnailFilesize)return this._thumbnailQueue.push(t),setTimeout(()=>this._processThumbnailQueue(),0)}_processThumbnailQueue(){if(this._processingThumbnail||0===this._thumbnailQueue.length)return;this._processingThumbnail=!0;let t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,n=>(this.emit("thumbnail",t,n),this._processingThumbnail=!1,this._processThumbnailQueue()))}removeFile(t){if(t.status===z.UPLOADING&&this.cancelUpload(t),this.files=f$(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}removeAllFiles(t){null==t&&(t=!1);for(let n of this.files.slice())(n.status!==z.UPLOADING||t)&&this.removeFile(n);return null}resizeImage(t,n,i,r,o){return this.createThumbnail(t,n,i,r,!0,(s,a)=>{if(null==a)return o(t);{let{resizeMimeType:l}=this.options;null==l&&(l=t.type);let d=a.toDataURL(l,this.options.resizeQuality);return("image/jpeg"===l||"image/jpg"===l)&&(d=wA.restore(t.dataURL,d)),o(z.dataURItoBlob(d))}})}createThumbnail(t,n,i,r,o,s){let a=new FileReader;a.onload=()=>{t.dataURL=a.result,"image/svg+xml"!==t.type?this.createThumbnailFromUrl(t,n,i,r,o,s):null!=s&&s(a.result)},a.readAsDataURL(t)}displayExistingFile(t,n,i,r,o=!0){if(this.emit("addedfile",t),this.emit("complete",t),o){let s=a=>{this.emit("thumbnail",t,a),i&&i()};t.dataURL=n,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,s,r)}else this.emit("thumbnail",t,n),i&&i()}createThumbnailFromUrl(t,n,i,r,o,s,a){let l=document.createElement("img");return a&&(l.crossOrigin=a),o="from-image"!=getComputedStyle(document.body).imageOrientation&&o,l.onload=()=>{let d=c=>c(1);return typeof EXIF<"u"&&null!==EXIF&&o&&(d=c=>EXIF.getData(l,function(){return c(EXIF.getTag(this,"Orientation"))})),d(c=>{t.width=l.width,t.height=l.height;let u=this.options.resize.call(this,t,n,i,r),f=document.createElement("canvas"),p=f.getContext("2d");switch(f.width=u.trgWidth,f.height=u.trgHeight,c>4&&(f.width=u.trgHeight,f.height=u.trgWidth),c){case 2:p.translate(f.width,0),p.scale(-1,1);break;case 3:p.translate(f.width,f.height),p.rotate(Math.PI);break;case 4:p.translate(0,f.height),p.scale(1,-1);break;case 5:p.rotate(.5*Math.PI),p.scale(1,-1);break;case 6:p.rotate(.5*Math.PI),p.translate(0,-f.width);break;case 7:p.rotate(.5*Math.PI),p.translate(f.height,-f.width),p.scale(-1,1);break;case 8:p.rotate(-.5*Math.PI),p.translate(-f.height,0)}_$(p,l,null!=u.srcX?u.srcX:0,null!=u.srcY?u.srcY:0,u.srcWidth,u.srcHeight,null!=u.trgX?u.trgX:0,null!=u.trgY?u.trgY:0,u.trgWidth,u.trgHeight);let m=f.toDataURL("image/png");if(null!=s)return s(m,f)})},null!=s&&(l.onerror=s),l.src=t.dataURL}processQueue(){let{parallelUploads:t}=this.options,n=this.getUploadingFiles().length,i=n;if(n>=t)return;let r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;i<t;){if(!r.length)return;this.processFile(r.shift()),i++}}}processFile(t){return this.processFiles([t])}processFiles(t){for(let n of t)n.processing=!0,n.status=z.UPLOADING,this.emit
1("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}_getFilesWithXhr(t){return this.files.filter(i=>i.xhr===t).map(i=>i)}cancelUpload(t){if(t.status===z.UPLOADING){let n=this._getFilesWithXhr(t.xhr);for(let i of n)i.status=z.CANCELED;typeof t.xhr<"u"&&t.xhr.abort();for(let i of n)this.emit("canceled",i);this.options.uploadMultiple&&this.emit("canceledmultiple",n)}else(t.status===z.ADDED||t.status===z.QUEUED)&&(t.status=z.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}resolveOption(t,...n){return"function"==typeof t?t.apply(this,n):t}uploadFile(t){return this.uploadFiles([t])}uploadFiles(t){this._transformFiles(t,n=>{if(this.options.chunking){let i=n[0];t[0].upload.chunked=this.options.chunking&&(this.options.forceChunking||i.size>this.options.chunkSize),t[0].upload.totalChunkCount=Math.ceil(i.size/this.options.chunkSize)}if(t[0].upload.chunked){let i=t[0],r=n[0],o=0;i.upload.chunks=[];let s=()=>{let a=0;for(;void 0!==i.upload.chunks[a];)a++;if(a>=i.upload.totalChunkCount)return;o++;let l=a*this.options.chunkSize,d=Math.min(l+this.options.chunkSize,r.size),c={name:this._getParamName(0),data:r.webkitSlice?r.webkitSlice(l,d):r.slice(l,d),filename:i.upload.filename,chunkIndex:a};i.upload.chunks[a]={file:i,index:a,dataBlock:c,status:z.UPLOADING,progress:0,retries:0},this._uploadData(t,[c])};if(i.upload.finishedChunkUpload=(a,l)=>{let d=!0;a.status=z.SUCCESS,a.dataBlock=null,a.response=a.xhr.responseText,a.responseHeaders=a.xhr.getAllResponseHeaders(),a.xhr=null;for(let c=0;c<i.upload.totalChunkCount;c++){if(void 0===i.upload.chunks[c])return s();i.upload.chunks[c].status!==z.SUCCESS&&(d=!1)}d&&this.options.chunksUploaded(i,()=>{this._finished(t,l,null)})},this.options.parallelChunkUploads)for(let a=0;a<i.upload.totalChunkCount;a++)s();else s()}else{let i=[];for(let r=0;r<t.length;r++)i[r]={name:this._getParamName(r),data:n[r],filename:t[r].upload.filename};this._uploadData(t,i)}})}_getChunk(t,n){for(let i=0;i<t.upload.totalChunkCount;i++)if(void 0!==t.upload.chunks[i]&&t.upload.chunks[i].xhr===n)return t.upload.chunks[i]}_uploadData(t,n){let i=new XMLHttpRequest;for(let d of t)d.xhr=i;t[0].upload.chunked&&(t[0].upload.chunks[n[0].chunkIndex].xhr=i);let r=this.resolveOption(this.options.method,t,n),o=this.resolveOption(this.options.url,t,n);i.open(r,o,!0),this.resolveOption(this.options.timeout,t)&&(i.timeout=this.resolveOption(this.options.timeout,t)),i.withCredentials=!!this.options.withCredentials,i.onload=d=>{this._finishedUploading(t,i,d)},i.ontimeout=()=>{this._handleUploadError(t,i,`Request timedout after ${this.options.timeout/1e3} seconds`)},i.onerror=()=>{this._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=d=>this._updateFilesUploadProgress(t,i,d);let l=this.options.defaultHeaders?{Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"}:{};this.options.binaryBody&&(l["Content-Type"]=t[0].type),this.options.headers&&vA(l,this.options.headers);for(let d in l){let c=l[d];c&&i.setRequestHeader(d,c)}if(this.options.binaryBody){for(let d of t)this.emit("sending",d,i);this.options.uploadMultiple&&this.emit("sendingmultiple",t,i),this.submitRequest(i,null,t)}else{let d=new FormData;if(this.options.params){let c=this.options.params;"function"==typeof c&&(c=c.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null));for(let u in c){let f=c[u];if(Array.isArray(f))for(let p=0;p<f.length;p++)d.append(u,f[p]);else d.append(u,f)}}for(let c of t)this.emit("sending",c,i,d);this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,d),this._addFormElementData(d);for(let c=0;c<n.length;c++){let u=n[c];d.append(u.name,u.data,u.filename)}this.submitRequest(i,d,t)}}_transformFiles(t,n){let i=[],r=0;for(let o=0;o<t.length;o++)this.options.transformFile.call(this,t[o],s=>{i[o]=s,++r===t.length&&n(i)})}_addFormElementData(t){if("FORM"===this.element.tagName)for(let n of this.element.querySelectorAll("input, textarea, select, button")){let i=n.getAttribute("name"),r=n.getAttribute("type");if(r&&(r=r.toLowerCase()),!(typeof i>"u"||null===i))if("SELECT"===n.tagName&&n.hasAttribute("multiple"))for(let o of n.options)o.selected&&t.append(i,o.value);else(!r||"checkbox"!==r&&"radio"!==r||n.checked)&&t.append(i,n.value)}}_updateFilesUploadProgress(t,n,i){if(t[0].upload.chunked){let r=t[0],o=this._getChunk(r,n);i?(o.progress=100*i.loaded/i.total,o.total=i.total,o.bytesSent=i.loaded):(o.progress=100,o.bytesSent=o.total),r.upload.progress=0,r.upload.total=0,r.upload.b
1ytesSent=0;for(let s=0;s<r.upload.totalChunkCount;s++)r.upload.chunks[s]&&typeof r.upload.chunks[s].progress<"u"&&(r.upload.progress+=r.upload.chunks[s].progress,r.upload.total+=r.upload.chunks[s].total,r.upload.bytesSent+=r.upload.chunks[s].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent)}else for(let r of t)r.upload.total&&r.upload.bytesSent&&r.upload.bytesSent==r.upload.total||(i?(r.upload.progress=100*i.loaded/i.total,r.upload.total=i.total,r.upload.bytesSent=i.loaded):(r.upload.progress=100,r.upload.bytesSent=r.upload.total),this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent))}_finishedUploading(t,n,i){let r;if(t[0].status!==z.CANCELED&&4===n.readyState){if("arraybuffer"!==n.responseType&&"blob"!==n.responseType&&(r=n.responseText,n.getResponseHeader("content-type")&&~n.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(o){i=o,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t,n),200<=n.status&&n.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],n),r):this._finished(t,r,i):this._handleUploadError(t,n,r)}}_handleUploadError(t,n,i){if(t[0].status!==z.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){let r=this._getChunk(t[0],n);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(t,i||this.options.dictResponseError.replace("{{statusCode}}",n.status),n)}}submitRequest(t,n,i){if(1==t.readyState)if(this.options.binaryBody)if(i[0].upload.chunked){const r=this._getChunk(i[0],t);t.send(r.dataBlock.data)}else t.send(i[0]);else t.send(n);else console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.")}_finished(t,n,i){for(let r of t)r.status=z.SUCCESS,this.emit("success",r,n,i),this.emit("complete",r);
1if(this.options.uploadMultiple&&(this.emit("successmultiple",t,n,i),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}_errorProcessing(t,n,i){for(let r of t)r.status=z.ERROR,this.emit("error",r,n,i),this.emit("complete",r);if(this.options.uploadMultiple&&(this.emit("errormultiple",t,n,i),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}static uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let n=16*Math.random()|0;return("x"===t?n:3&n|8).toString(16)})}constructor(t,n){let i,r;if(super(),this.element=t,this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");z.instances.push(this),this.element.dropzone=this;let o=null!=(r=z.optionsForElement(this.element))?r:{};if(this.options=vA(!0,{},h$,o,null!=n?n:{}),this.options.previewTemplate=this.options.previewTemplate.replace(/\n*/g,""),this.options.forceFallback||!z.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(this.options.uploadMultiple&&this.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");if(this.options.binaryBody&&this.options.uploadMultiple)throw new Error("You cannot set both: binaryBody and uploadMultiple.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),null!=this.options.renameFilename&&(this.options.renameFile=s=>this.options.renameFilename.call(this,s.name,s)),"string"==typeof this.options.method&&(this.options.method=this.options.method.toUpperCase()),(i=this.getExistingFallback())&&i.parentNode&&i.parentNode.removeChild(i),!1!==this.options.previewsContainer&&(this.previewsContainer=this.options.previewsContainer?z.getElement(this.options.previewsContainer,"previewsContainer"):this.element),this.options.clickable&&(this.clickableElements=!0===this.options.clickable?[this.element]:z.getElements(this.options.clickable,"clickable")),this.init()}}z.initClass(),z.options={},z.optionsForElement=function(e){if(e.getAttribute("id"))return z.options[p$(e.getAttribute("id"))]},z.instances=[],z.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},z.discover=function(){let e;if(document.querySelectorAll)e=document.querySelectorAll(".dropzone");else{e=[];let t=n=>(()=>{let i=[];for(let r of n)/(^| )dropzone($| )/.test(r.className)?i.push(e.push(r)):i.push(void 0);return i})();t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))}return(()=>{let t=[];for(let n of e)!1!==z.optionsForElement(n)?t.push(new z(n)):t.push(void 0);return t})()},z.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],z.isBrowserSupported=function(){let e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){void 0!==z.blacklistedBrowsers&&(z.blockedBrowsers=z.blacklistedBrowsers);for(let t of z.blockedBrowsers)if(t.test(navigator.userAgent)){e=!1;continue}}else e=!1;else e=!1;return e},z.dataURItoBlob=function(e){let t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";
1")[0],i=new ArrayBuffer(t.length),r=new Uint8Array(i);for(let o=0,s=t.length,a=0<=s;a?o<=s:o>=s;a?o++:o--)r[o]=t.charCodeAt(o);return new Blob([i],{type:n})};const f$=(e,t)=>e.filter(n=>n!==t).map(n=>n),p$=e=>e.replace(/[\-_](\w)/g,t=>t.charAt(1).toUpperCase());z.createElement=function(e){let t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},z.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},z.getElement=function(e,t){let n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error(`Invalid \`${t}\` option provided. Please provide a CSS selector or a plain HTML element.`);return n},z.getElements=function(e,t){let n,i;if(e instanceof Array){i=[];try{for(n of e)i.push(this.getElement(n,t))}catch{i=null}}else if("string"==typeof e)for(n of(i=[],document.querySelectorAll(e)))i.push(n);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error(`Invalid \`${t}\` option provided. Please provide a CSS selector, a plain HTML element or a list of those.`);return i},z.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},z.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");let n=e.type,i=n.replace(/\/.*$/,"");for(let r of t)if(r=r.trim(),"."===r.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(i===r.replace(/\/.*$/,""))return!0}else if(n===r)return!0;return!1},typeof jQuery<"u"&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each(function(){return new z(this,e)})}),z.ADDED="added",z.QUEUED="queued",z.ACCEPTED=z.QUEUED,z.UPLOADING="uploading",z.PROCESSING=z.UPLOADING,z.CANCELED="canceled",z.ERROR="error",z.SUCCESS="success";var _$=function(e,t,n,i,r,o,s,a,l,d){let c=function(e){let n=e.naturalHeight,i=document.createElement("canvas");i.width=1,i.height=n;let r=i.getContext("2d");r.drawImage(e,0,0);let{data:o}=r.getImageData(1,0,1,n),s=0,a=n,l=n;for(;l>s;)0===o[4*(l-1)+3]?a=l:s=l,l=a+s>>1;let d=l/n;return 0===d?1:d}(t);return e.drawImage(t,n,i,r,o,s,a,l,d/c)};class wA{static initClass(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}static encode64(t){let i,r,s,a,l,n="",o="",d="",c=0;for(;i=t[c++],r=t[c++],o=t[c++],s=i>>2,a=(3&i)<<4|r>>4,l=(15&r)<<2|o>>6,d=63&o,isNaN(r)?l=d=64:isNaN(o)&&(d=64),n=n+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(l)+this.KEY_STR.charAt(d),i=r=o="",s=a=l=d="",c<t.length;);return n}static restore(t,n){if(!t.match("data:image/jpeg;base64,"))return n;let i=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(i),o=this.exifManipulation(n,r);return`data:image/jpeg;base64,${this.encode64(o)}`}static exifManipulation(t,n){let i=this.getExifArray(n),r=this.insertExif(t,i);return new Uint8Array(r)}static getExifArray(t){let n,i=0;for(;i<t.length;){if(n=t[i],255===n[0]&225===n[1])return n;i++}return[]}static insertExif(t,n){let i=t.replace("data:image/jpeg;base64,",""),r=this.decode64(i),o=r.indexOf(255,3),s=r.slice(0,o),a=r.slice(o),l=s;return l=l.concat(n),l=l.concat(a),l}static slice2Segments(t){let n=0,i=[];for(;!(255===t[n]&218===t[n+1]);){if(255===t[n]&216===t[n+1])n+=2;else{let o=n+(256*t[n+2]+t[n+3])+2,s=t.slice(n,o);i.push(s),n=o}if(n>t.length)break}return i}static decode64(t){let i,r,s,a,l,o="",d="",c=0,u=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");s=this.KEY_STR.indexOf(t.charAt(c++)),a=this.KEY_STR.indexOf(t.charAt(c++)),l=this.KEY_STR.indexOf(t.charAt(c++)),d=this.KEY_STR.indexOf(t.charAt(c++)),i=s<<2|a>>4,r=(15&a)<<4|l>>2,o=(3&l)<<6|d,u.push(i),64!==l&&u.push(r),64!==d&&u.push(o),i=r=o="",s=a=l=d="",c<t.length;);return u}}wA.initClass();const Wv={toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"],["table"]]},Yv=new R("config",{providedIn:"root",factory:()=>({modules:Wv})});function Vr(e){e||(Fc(),e=S(Kn));const t=new Ae(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(ef(t))}const Nd=$f(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});class D$ extends Ce{constructor(t=1/0,n=1/0,i=Tv){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;n||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=n.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}function Zv(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new ts({next:()=>{i.unsubscribe(),e()}});return Ut(t(...n)).subscribe(i)}function DA(e,t,n){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:n}=e):i=null!=e?e:1/0,function S$(e={}){const{connector:t=()=>new Ce,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,d=0,c=!1,u=!1;const f=()=>{null==a||a.unsubscribe(),a=void 0},p=()=>{f(),s=l=void 0,c=u=!1},m=()=>{const y=s;p(),null==y||y.unsubscribe()};return lt((y,_)=>{d++,!u&&!c&&f();const w=l=null!=l?l:t();_.add(()=>{d--,0===d&&!u&&!c&&(a=Zv(m,r))}),w.subscribe(_),!s&&d>0&&(s=new ts({next:D=>w.next(D),error:D=>{u=!0,f(),a=Zv(p,n,D),w.error(D)},complete:()=>{c=!0,f(),a=Zv(p,i),w.complete()}}),Ut(y).subscribe(s))})(o)}}({connector:()=>new D$(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}const M$=[[["","above-quill-editor-toolbar",""]],[["","quill-editor-toolbar",""]],[["","below-quill-editor-toolbar",""]]],E$=["[above-quill-editor-toolbar]","[quill-editor-toolbar]","[below-quill-editor-toolbar]"];function I$(e,t){1&e&&P(0,"div",0)}function T$(e,t){1&e&&P(0,"div",0)}const af=(e,t)=>
1e||t||"html";let F$=(()=>{var e;class t{constructor(){var i=this;this.config=S(Yv)||{modules:Wv},this.document=S(Fe),this.quill$=rf(ma(function*(){var r;if(!i.Quill){var o,s,a;const l=i.document.addEventListener;i.document.addEventListener=i.document.__zone_symbol__addEventListener||i.document.addEventListener;const d=yield Gr.e(206).then(Gr.bind(Gr,206));i.document.addEventListener=l,i.Quill=null!==(o=null!==(s=null===(a=d.default)||void 0===a?void 0:a.default)&&void 0!==s?s:d.default)&&void 0!==o?o:d}return null===(r=i.config.customOptions)||void 0===r||r.forEach(l=>{const d=i.Quill.import(l.import);d.whitelist=l.whitelist,i.Quill.register(d,!0,i.config.suppressGlobalRegisterWarning)}),function w$(e,t){const n="object"==typeof t;return new Promise((i,r)=>{const o=new ts({next:s=>{i(s),o.unsubscribe()},error:r,complete:()=>{n?i(t.defaultValue):r(new Nd)}});e.subscribe(o)})}(i.registerCustomModules(i.Quill,i.config.customModules,i.config.suppressGlobalRegisterWarning))})).pipe(DA({bufferSize:1,refCount:!1})),this.registeredModules=new Set}getQuill(){return this.quill$}beforeRender(i,r,o=this.config.beforeRender){const s=[this.registerCustomModules(i,r)];return o&&s.push(at(o())),ko(s).pipe(H(()=>i))}registerCustomModules(i,r,o){if(!Array.isArray(r))return Q(i);const s=[];for(const a of r){const{path:l,implementation:d}=a;this.registeredModules.has(l)||(this.registeredModules.add(l),Xh(d)?s.push(d.pipe(kt(c=>{i.register(l,c,o)}))):i.register(l,d,o))}return s.length>0?ko(s).pipe(H(()=>i)):Q(i)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),k$=(()=>{var e;class t{constructor(){this.format=ye(void 0),this.theme=ye(void 0),this.modules=ye(void 0),this.debug=ye(!1),this.readOnly=ye(!1),this.placeholder=ye(void 0),this.maxLength=ye(void 0),this.minLength=ye(void 0),this.required=ye(!1),this.formats=ye(void 0),this.customToolbarPosition=ye("top"),this.sanitize=ye(void 0),this.beforeRender=ye(void 0),this.styles=ye(null),this.registry=ye(void 0),this.bounds=ye(void 0),this.customOptions=ye([]),this.customModules=ye([]),this.trackChanges=ye(void 0),this.classes=ye(void 0),this.trimOnValidation=ye(!1),this.linkPlaceholder=ye(void 0),this.compareValues=ye(!1),this.filterNull=ye(!1),this.debounceTime=ye(void 0),this.defaultEmptyValue=ye(null),this.onEditorCreated=new G,this.onEditorChanged=new G,this.onContentChanged=new G,this.onSelectionChanged=new G,this.onFocus=new G,this.onBlur=new G,this.onNativeFocus=new G,this.onNativeBlur=new G,this.disabled=!1,this.toolbarPosition=br("top"),this.subscription=null,this.quillSubscription=null,this.elementRef=S(et),this.document=S(Fe),this.cd=S(Ni),this.domSanitizer=S(kn),this.platformId=S(nn),this.renderer=S(Ai),this.zone=S(ue),this.service=S(F$),this.destroyRef=S(Kn),this.valueGetter=ye(i=>{let r=i.getSemanticHTML();this.isEmptyValue(r)&&(r=this.defaultEmptyValue());let o=r;const s=af(this.format(),this.service.config.format);if("text"===s)o=i.getText();else if("object"===s)o=i.getContents();else if("json"===s)try{o=JSON.stringify(i.getContents())}catch{o=i.getText()}return o}),this.valueSetter=ye((i,r)=>{const o=af(this.format(),this.service.config.format);if("html"===o)return([!0,!1].includes(this.sanitize())?this.sanitize():this.service.config.sanitize||!1)&&(r=this.domSanitizer.sanitize(Ei.HTML,r)),i.clipboard.convert({html:r});if("json"===o)try{return JSON.parse(r)}catch{return[{insert:r}]}return r}),this.selectionChangeHandler=(i,r,o)=>{const s=this.trackChanges()||this.service.config.trackChanges,a=!i&&!!this.onModelTouched&&("user"===o||s&&"all"===s);!this.onBlur.observed&&!this.onFocus.observed&&!this.onSelectionChanged.observed&&!a||this.zone.run(()=>{null===i?this.onBlur.emit({editor:this.quillEditor,source:o}):null===r&&this.onFocus.emit({editor:this.quillEditor,source:o}),this.onSelectionChanged.emit({editor:this.quillEditor,oldRange:r,range:i,source:o}),a&&this.onModelTouched(),this.cd.markForCheck()})},this.textChangeHandler=(i,r,o)=>{const s=this.quillEditor.getText(),a=this.quillEditor.getContents();let l=this.quillEditor.getSemanticHTML();this.isEmptyValue(l)&&(l=this.defaultEmptyValue());const d=this.trackChanges()||this.service.config.trackChanges,c=("user"===o||d&&"all"===d)&&!!this.onModelChange;!this.onContentChanged.observed&&!c||this.zone.run(()=>
1{if(c){const u=this.valueGetter();this.onModelChange(u(this.quillEditor))}this.onContentChanged.emit({content:a,delta:i,editor:this.quillEditor,html:l,oldDelta:r,source:o,text:s}),this.cd.markForCheck()})},this.editorChangeHandler=(i,r,o,s)=>{if(this.onEditorChanged.observed)if("text-change"===i){const a=this.quillEditor.getText(),l=this.quillEditor.getContents();let d=this.quillEditor.getSemanticHTML();this.isEmptyValue(d)&&(d=this.defaultEmptyValue()),this.zone.run(()=>{this.onEditorChanged.emit({content:l,delta:r,editor:this.quillEditor,event:i,html:d,oldDelta:o,source:s,text:a}),this.cd.markForCheck()})}else this.zone.run(()=>{this.onEditorChanged.emit({editor:this.quillEditor,event:i,oldRange:o,range:r,source:s}),this.cd.markForCheck()})}}static normalizeClassNames(i){return i.trim().split(" ").reduce((o,s)=>{const a=s.trim();return a&&o.push(a),o},[])}ngOnInit(){this.toolbarPosition.set(this.customToolbarPosition())}ngAfterViewInit(){Lg(this.platformId)||(this.quillSubscription=this.service.getQuill().pipe(bt(i=>this.service.beforeRender(i,this.customModules(),this.beforeRender()))).subscribe(i=>{this.editorElem=this.elementRef.nativeElement.querySelector("[quill-editor-element]");const r=this.elementRef.nativeElement.querySelector("[quill-editor-toolbar]"),o=Object.assign({},this.modules()||this.service.config.modules);r?o.toolbar=r:void 0===o.toolbar&&(o.toolbar=Wv.toolbar);let s=void 0!==this.placeholder()?this.placeholder():this.service.config.placeholder;void 0===s&&(s="Insert text here ...");const a=this.styles();a&&Object.keys(a).forEach(f=>{this.renderer.setStyle(this.editorElem,f,a[f])}),this.classes()&&this.addClasses(this.classes()),this.customOptions().forEach(f=>{const p=i.import(f.import);p.whitelist=f.whitelist,i.register(p,!0)});let l=this.bounds()&&"self"===this.bounds()?this.editorElem:this.bounds();l||(l=this.service.config.bounds?this.service.config.bounds:this.document.body);let d=this.debug();!d&&!1!==d&&this.service.config.debug&&(d=this.service.config.debug);let c=this.readOnly();!c&&!1!==this.readOnly()&&(c=void 0!==this.service.config.readOnly&&this.service.config.readOnly);let u=this.formats();if(!u&&void 0===u&&(u=this.service.config.formats?[...this.service.config.formats]:null===this.service.config.formats?null:void 0),this.zone.runOutsideAngular(()=>{if(this.quillEditor=new i(this.editorElem,{bounds:l,debug:d,formats:u,modules:o,placeholder:s,readOnly:c,registry:this.registry(),theme:this.theme()||(this.service.config.theme?this.service.config.theme:"snow")}),this.onNativeBlur.observed){Yi(this.quillEditor.scroll.domNode,"blur").pipe(Vr(this.destroyRef)).subscribe(()=>this.onNativeBlur.next({editor:this.quillEditor,source:"dom"}));const m=this.quillEditor.getModule("toolbar");m.container&&Yi(m.container,"mousedown").pipe(Vr(this.destroyRef)).subscribe(y=>y.preventDefault())}if(this.onNativeFocus.observed&&Yi(this.quillEditor.scroll.domNode,"focus").pipe(Vr(this.destroyRef)).subscribe(()=>this.onNativeFocus.next({editor:this.quillEditor,source:"dom"})),this.linkPlaceholder()){var f,p;const m=null===(f=this.quillEditor)||void 0===f||null===(f=f.theme)||void 0===f?void 0:f.tooltip,y=null==m||null===(p=m.root)||void 0===p?void 0:p.querySelector("input[data-link]");null!=y&&y.dataset&&(y.dataset.link=this.linkPlaceholder())}}),this.content){if("text"===af(this.format(),this.service.config.format))this.quillEditor.setText(this.content,"silent");else{const y=this.valueSetter()(this.quillEditor,this.content);this.quillEditor.setContents(y,"silent")}this.quillEditor.getModule("history").clear()}this.setDisabledState(),this.addQuillEventListeners(),(this.onEditorCreated.observed||this.onValidatorChanged)&&new Ae(e=>{const t=requestAnimationFrame(()=>{e.next(),e.complete()});return()=>cancelAnimationFrame(t)}).pipe(Vr(this.destroyRef)).subscribe(()=>{this.onValidatorChanged&&this.onValidatorChanged(),this.onEditorCreated.emit(this.quillEditor)})}))}ngOnDestroy(){var i;this.dispose(),null===(i=this.quillSubscription)||void 0===i||i.unsubscribe(),this.quillSubscription=null}ngOnChanges(i){if(this.quillEditor){if(i.readOnly&&this.quillEditor.enable(!i.readOnly.currentValue),i.placeholder&&(this.quillEditor.root.dataset.placeholder=i.placeholder.currentValue),i.styles){const r=i.styles.currentValue,o=i.styles.previousValue;
1o&&Object.keys(o).forEach(s=>{this.renderer.removeStyle(this.editorElem,s)}),r&&Object.keys(r).forEach(s=>{this.renderer.setStyle(this.editorElem,s,this.styles()[s])})}if(i.classes){const r=i.classes.currentValue,o=i.classes.previousValue;o&&this.removeClasses(o),r&&this.addClasses(r)}i.debounceTime&&this.addQuillEventListeners()}}addClasses(i){t.normalizeClassNames(i).forEach(r=>{this.renderer.addClass(this.editorElem,r)})}removeClasses(i){t.normalizeClassNames(i).forEach(r=>{this.renderer.removeClass(this.editorElem,r)})}writeValue(i){if(this.filterNull()&&null===i||(this.content=i,!this.quillEditor))return;const r=af(this.format(),this.service.config.format),s=this.valueSetter()(this.quillEditor,i);if(this.compareValues()){const a=this.quillEditor.getContents();if(JSON.stringify(a)===JSON.stringify(s))return}i?"text"===r?this.quillEditor.setText(i):this.quillEditor.setContents(s):this.quillEditor.setText("")}setDisabledState(i=this.disabled){this.disabled=i,this.quillEditor&&(i?(this.quillEditor.disable(),this.renderer.setAttribute(this.elementRef.nativeElement,"disabled","disabled")):(this.readOnly()||this.quillEditor.enable(),this.renderer.removeAttribute(this.elementRef.nativeElement,"disabled")))}registerOnChange(i){this.onModelChange=i}registerOnTouched(i){this.onModelTouched=i}registerOnValidatorChange(i){this.onValidatorChanged=i}validate(){var i;if(!this.quillEditor)return null;const r={};let o=!0;const s=this.quillEditor.getText(),a=this.trimOnValidation()?s.trim().length:1===s.length&&0===s.trim().length?0:s.length-1,l=this.quillEditor.getContents().ops,d=!!l&&1===l.length&&["\n",""].includes(null===(i=l[0].insert)||void 0===i?void 0:i.toString());return this.minLength()&&a&&a<this.minLength()&&(r.minLengthError={given:a,minLength:this.minLength()},o=!1),this.maxLength()&&a>this.maxLength()&&(r.maxLengthError={given:a,maxLength:this.maxLength()},o=!1),this.required()&&!a&&d&&(r.requiredError={empty:!0},o=!1),o?null:r}addQuillEventListeners(){this.dispose(),this.zone.runOutsideAngular(()=>{this.subscription=new Xe,this.subscription.add(Yi(this.quillEditor,"selection-change").subscribe(([o,s,a])=>{this.selectionChangeHandler(o,s,a)}));let i=Yi(this.quillEditor,"text-change"),r=Yi(this.quillEditor,"editor-change");"number"==typeof this.debounceTime()&&(i=i.pipe(Or(this.debounceTime())),r=r.pipe(Or(this.debounceTime()))),this.subscription.add(i.subscribe(([o,s,a])=>{this.textChangeHandler(o,s,a)})),this.subscription.add(r.subscribe(([o,s,a,l])=>{this.editorChangeHandler(o,s,a,l)}))})}dispose(){null!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}isEmptyValue(i){return"<p></p>"===i||"<div></div>"===i||"<p><br></p>"===i||"<div><br></div>"===i}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275dir=te({type:e,inputs:{format:[1,"format"],theme:[1,"theme"],modules:[1,"modules"],debug:[1,"debug"],readOnly:[1,"readOnly"],placeholder:[1,"placeholder"],maxLength:[1,"maxLength"],minLength:[1,"minLength"],required:[1,"required"],formats:[1,"formats"],customToolbarPosition:[1,"customToolbarPosition"],sanitize:[1,"sanitize"],beforeRender:[1,"beforeRender"],styles:[1,"styles"],registry:[1,"registry"],bounds:[1,"bounds"],customOptions:[1,"customOptions"],customModules:[1,"customModules"],trackChanges:[1,"trackChanges"],classes:[1,"classes"],trimOnValidation:[1,"trimOnValidation"],linkPlaceholder:[1,"linkPlaceholder"],compareValues:[1,"compareValues"],filterNull:[1,"filterNull"],debounceTime:[1,"debounceTime"],defaultEmptyValue:[1,"defaultEmptyValue"],valueGetter:[1,"valueGetter"],valueSetter:[1,"valueSetter"]},outputs:{onEditorCreated:"onEditorCreated",onEditorChanged:"onEditorChanged",onContentChanged:"onContentChanged",onSelectionChanged:"onSelectionChanged",onFocus:"onFocus",onBlur:"onBlur",onNativeFocus:"onNativeFocus",onNativeBlur:"onNativeBlur"},features:[je]}),t})(),P$=(()=>{var e;class t extends k${}return(e=t).\u0275fac=(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})(),e.\u0275cmp=Ve({type:e,selectors:[["quill-editor"]],standalone:!0,features:[qe([{multi:!0,provide:yi,useExisting:Le(()=>e)},{multi:!0,provide:Lt,useExisting:Le(()=>e)}]),be,Mo],ngContentSelectors:E$,decls:5,vars:2,consts:[["quill-editor-element",""]],template:function(i,r){1&i&&(na(M$),T(0,I$,1,0,"div",0),er(1),er(2,1),er(3,2),T(4,T$,1,0,"div",0)),2&i&&(M("top"!==r.toolbarPosition()?0:-1),g(4),M("top"===r.toolbarPosition()?4:-1))},styles:["[_nghost-%COMP%]{display:inline-block}"]}),t})(),R$=(()=>{var e;class t{static forRoot(i){return{ngModule:t,providers:[{provide:Yv,useValue:i}]}}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({}),t})();function N$(e,t){if(1&e&&(C(0,"mat-option",5),V(1),x()),2&e){const n=t.$
1implicit;A("value",n),g(),xe(" ",n.Waarde," ")}}function L$(e,t){1&e&&P(0,"small",4),2&e&&A("innerHTML",v().$implicit.Info,It)}function O$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",6)(2,"g",7),P(3,"path",8)(4,"circle",9)(5,"circle",10)(6,"path",11),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function V$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",6)(2,"g",7),P(3,"path",12)(4,"path",13),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function j$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",6)(2,"g",14),P(3,"path",15)(4,"path",16),C(5,"g",17),P(6,"path",18)(7,"path",19),x()()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function B$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",20)(2,"linearGradient",21),P(3,"stop",22)(4,"stop",23),x(),C(5,"g",7),P(6,"path",24)(7,"path",25),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function q$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",6)(2,"g",7),P(3,"path",26)(4,"path",27),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function z$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",6)(2,"g",14),P(3,"path",28)(4,"path",29),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function U$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",6)(2,"g",14),P(3,"path",30)(4,"path",16),C(5,"g",17),P(6,"path",31)(7,"path",32)(8,"path",33)(9,"path",34),C(10,"g",35),P(11,"path",36),x()()()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function $$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",6)(2,"g",14),P(3,"path",30)(4,"path",16),C(5,"g",17),P(6,"path",37)(7,"path",38),C(8,"g",39),P(9,"path",40),x()()()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function H$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",41)(2,"g",14),P(3,"path",42)(4,"path",43),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function G$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",44)(2,"g",14),P(3,"rect",45)(4,"path",46),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function W$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",47),P(2,"rect",48)(3,"path",49)(4,"path",50),x()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function Y$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",51)(2,"g",52),P(3,"rect",53)(4,"path",54)(5,"path",55)(6,"path",56),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function Z$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",51)(2,"g",57),P(3,"rect",58)(4,"path",59)(5,"path",60),x()()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function K$(e,t){1&e&&(C(0,"div"),qt(),C(1,"svg",61),P(2,"rect",62)(3,"path",63)(4,"path",64)(5,"path",65),x()()),2&e&&E("",v(3).classPrefix,"-input-radios--payment__option__image")}function Q$(e,t){if(1&e&&(C(0,"div")(1,"div")(2,"label"),P(3,"input",3),V(4),T(5,L$,1,1,"small",4),x(),C(6,"div"),T(7,O$,7,3,"div",5)(8,V$,5,3,"div",5)(9,j$,8,3,"div",5)(10,B$,8,3,"div",5)(11,q$,5,3,"div",5)(12,z$,5,3,"div",5)(13,U$,12,3,"div",5)(14,$$,10,3,"div",5)(15,H$,5,3,"div",5)(16,G$,5,3,"div",5)(17,W$,5,3,"div",5)(18,Y$,7,3,"div",5)(19,Z$,6,3,"div",5)(20,K$,6,3,"div",5),x()()()),2&e){const n=t.$implicit,i=v(2);E("",i.classPrefix,"-input-radios--payment__option"),g(),E("",i.classPrefix,"-input-radios--payment__option__radiobutton"),g(2),E("",i.classPrefix,"-input-radio"),ge("value",n.Code),ge("formControlName",i.controlName),Pi("id","",i.classPrefix,"-form-row-control__",i.controlName,""),A("name",i.controlName),g(),xe(" ",n.Omschrijving," "),g(),M(n.Info?5:-1),g(),E("",i.classPrefix,"-input-radios--payment__option__images"),g(),A("ngIf","creditcard"==n.Code),g(),A("ngIf","creditcard"==n.Code),g(),A("ngIf","bancontact"==n.Code),g(),A("ngIf","paypal"==n.Code),g(),A("ngIf","banktransfer"==n.Code),g(),A("ngIf","belfius"==n.Code),g(),A("ngIf","ideal"==n.Code),g(),A("ngIf","kbc"==n.Code),g(),A("ngIf","sofort"==n.Code),g(),A("ngIf","applepay"==n.Code),g(),A("ngIf","klarnapaynow"==n.Code),g(),A("ngIf","eps"==n.Code),g(),A("ngIf","giropay"==n.Code),g(),A("ngIf","przelewy24"==n.Code)}}
1function X$(e,t){if(1&e&&(C(0,"div",1),T(1,Q$,21,34,"div",2),P(2,"div"),x()),2&e){const n=v();zt("",n.classPrefix,"-input-radios ",n.classPrefix,"-input-radios--payment"),A("formGroup",n.myFormGroup),g(),A("ngForOf",n.betaalMethodeLijst)}}function J$(e,t){if(1&e&&(C(0,"label",3),P(1,"input",4)(2,"span",5),C(3,"span"),V(4),x()()),2&e){const n=t.$implicit,i=v(2);Pi("for","",i.veld.Naam,"-",n.Id,""),g(),E("",i.classPrefix,"-input-checkbox"),Pi("id","",i.veld.Naam,"-",n.Id,""),Pi("formControlName","",i.veld.Naam,"-",n.Id,""),g(3),Ie(n.Waarde)}}function eH(e,t){if(1&e&&(C(0,"div",1)(1,"div"),T(2,J$,5,13,"label",2),x()()),2&e){const n=v();E("",n.classPrefix,"-row-control__checkboxes--wrapper"),A("formGroup",n.myForm),nt("data-columns",n.veld.OptieVeldExtraData.DataColumns?n.veld.OptieVeldExtraData.DataColumns:1),g(),E("",n.classPrefix,"-input-checkboxes"),nt("data-columns",n.veld.OptieVeldExtraData.DataColumns?n.veld.OptieVeldExtraData.DataColumns:1),g(),A("ngForOf",n.veld.OptieVeldExtraData.OptieLijst)}}const SA=(e,t)=>({disabled:e,error:t}),uH=e=>({show:e}),MA=(e,t,n)=>({disabled:e,"disabled-month":t,"disabled-year":n}),hH=(e,t,n)=>({days:e,months:t,years:n}),fH=(e,t,n,i)=>({hide:e,unavailable:t,"current-day":n,active:i}),EA=(e,t)=>({active:e,unavailable:t}),pH=e=>({"today-active":e});function mH(e,t){if(1&e){const n=se();C(0,"input",6),U("click",function(r){return X(n),J(v(4).toggleDatepicker(r))}),x()}if(2&e){const n=v(4);E("",n.datepickerConfig.classPrefix,"-input-text"),Pi("id","",n.datepickerConfig.classPrefix,"-form-row-control__",n.controlName,""),ge("formControlName",n.controlName),A("readonly",!0)("name",n.controlName)("placeholder",n.datepickerConfig.placeholder)("ngClass",ra(11,SA,n.datepickerConfig.disabled,n.myFormGroup&&!n.myFormGroup.get(n.controlName).valid&&n.bewaard))}}function _H(e,t){if(1&e){const n=se();C(0,"input",7),U("click",function(r){return X(n),J(v(4).toggleDatepicker(r))}),x()}if(2&e){const n=v(4);E("",n.datepickerConfig.classPrefix,"-input-text"),Pi("id","",n.datepickerConfig.classPrefix,"-form-row-control__",n.controlName,""),ge("formControlName",n.controlName),A("name",n.controlName)("ngClass",ra(11,SA,n.datepickerConfig.disabled,n.myFormGroup&&!n.myFormGroup.get(n.controlName).valid&&n.bewaard))("showMaskTyped",!0)("dropSpecialCharacters",!1)}}function gH(e,t){1&e&&T(0,mH,1,14,"input",4)(1,_H,1,14,"input",5),2&e&&M(v(3).datepickerConfig.readonly?0:1)}function vH(e,t){if(1&e&&(Co(0,2),T(1,gH,2,1),bo()),2&e){const n=v(2);A("formGroup",n.myFormGroup),g(),M(n.datepickerConfig.metToggle?1:-1)}}function yH(e,t){1&e&&P(0,"i",18)}function CH(e,t){1&e&&P(0,"i",18)}function bH(e,t){if(1&e&&(C(0,"span"),V(1),x()),2&e){const n=t.$implicit;g(),Ie(n)}}function xH(e,t){if(1&e&&(C(0,"div"),ot(1,bH,2,1,"span",null,rt),x()),2&e){const n=v(3);E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar__labels"),g(),st(n.daysLabels)}}function wH(e,t){if(1&e){const n=se();C(0,"div")(1,"button",19),U("click",function(r){const o=X(n).$implicit;return J(v(4).setSelectedDate(r,o))}),V(2),x()()}if(2&e){const n=t.$implicit,i=v(4);E("",i.datepickerConfig.classPrefix,"-input-datepicker-calendar__grid-item"),nt("data-status",n.StatusCode),g(),A("tabindex",n.VorigeMaand||n.VolgendeMaand||i.isDayNotBetweenMinAndMax(n)?"-1":"0")("ngClass",iS(7,fH,n.VorigeMaand||n.VolgendeMaand,i.isDayNotBetweenMinAndMax(n)||i.isStatusDisabled(n),i.isToday(n),i.isDaySameAsSelectedDay(n))),g(),xe(" ",n.Dag," ")}}function DH(e,t){if(1&e&&(C(0,"div"),ot(1,wH,3,12,"div",17,rt),x()),2&e){const n=v(3);E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar__grid"),g(),st(n.days)}}function SH(e,t){if(1&e){const n=se();C(0,"div")(1,"button",19),U("click",function(r){const o=X(n).$implicit;return J(v(4).setSelectedMonth(r,o))}),V(2),x()()}if(2&e){const n=t.$implicit,i=v(4);E("",i.datepickerConfig.classPrefix,"-input-datepicker-calendar__grid-item"),g(),A("tabindex",i.isMonthNotBetweenMinAndMax(n.MaandNummer)?"-1":"0")("ngClass",ra(6,EA,n.MaandNummer==i.selectedMonthNumber,i.isMonthNotBetweenMinAndMax(n.MaandNummer))),g(),xe(" ",n.Maand," ")}}function MH(e,t){if(1&e&&(C(0,"div"),ot(1,SH,3,9,"div",17,rt),x()),2&e){const n=v(3);E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar__grid"),g(),st(n.months)}}function EH(e,t){if(1&e){const n=se();C(0,"div")(1,"button",19),U("click",function(r){const o=X(n).$implicit;return J(v(4).setSelectedYear(r,o))}),V(2),x()()}
1if(2&e){const n=t.$implicit,i=v(4);E("",i.datepickerConfig.classPrefix,"-input-datepicker-calendar__grid-item"),g(),A("tabindex",i.isYearBeforeMinOrAfterMax(n)?"-1":"0")("ngClass",ra(6,EA,n==i.selectedYear,i.isYearBeforeMinOrAfterMax(n))),g(),xe(" ",n," ")}}function IH(e,t){if(1&e&&(C(0,"div"),ot(1,EH,3,9,"div",17,rt),x()),2&e){const n=v(3);E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar__grid"),g(),st(n.years)}}function TH(e,t){if(1&e){const n=se();C(0,"div")(1,"button",20),U("click",function(){return X(n),J(v(3).selecteerVandaag())}),V(2),x()()}if(2&e){const n=v(3);E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar__buttons"),g(),A("ngClass",Xt(5,pH,n.isTodayActive())),g(),xe(" ",n.getTodayLabel()," ")}}function AH(e,t){if(1&e){const n=se();C(0,"div",8),U("click",function(r){return X(n),J(v(2).clickedInside(r))}),C(1,"div")(2,"div")(3,"button",9),P(4,"i",10),x()(),C(5,"div")(6,"button",11),U("click",function(){return X(n),J(v(2).goToPrevious())}),P(7,"i",12),x()(),C(8,"div")(9,"button",13),U("click",function(){return X(n),J(v(2).showMonthsView())}),V(10),T(11,yH,1,0,"i",14),x(),C(12,"button",13),U("click",function(){return X(n),J(v(2).showYearsView())}),V(13),T(14,CH,1,0,"i",14),x()(),C(15,"div")(16,"button",11),U("click",function(){return X(n),J(v(2).goToNext())}),P(17,"i",15),x()()(),C(18,"div",16),T(19,xH,3,3,"div",17)(20,DH,3,3,"div",17)(21,MH,3,3,"div",17)(22,IH,3,3,"div",17)(23,TH,3,7,"div",17),x()()}if(2&e){const n=v(2);E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar"),A("@fadeInOut",void 0)("ngClass",Xt(42,uH,n.show)),nt("data-position",n.datepickerConfig.position),g(),E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar--header"),g(),E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar--header-top"),g(3),E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar--header-left"),g(),A("disabled",n.daysView&&n.isPrevMonthBeforeMinDate(n.selectedMonthNumber)||n.monthsView&&n.isPrevYearBeforeMin()||n.yearsView&&n.isPrevYearInYears())("tabindex",n.daysView&&n.isPrevMonthBeforeMinDate(n.selectedMonthNumber)||n.monthsView&&n.isPrevYearBeforeMin()||n.yearsView&&n.isPrevYearInYears()?"-1":"0")("ngClass",Zu(44,MA,n.daysView&&n.isPrevMonthBeforeMinDate(n.selectedMonthNumber),n.monthsView&&n.isPrevYearBeforeMin(),n.yearsView&&n.isPrevYearInYears())),g(2),E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar--header-middle"),g(),A("tabindex",n.datepickerConfig.metHeader?"0":"-1"),g(),xe(" ",n.selectedMonth," "),g(),A("ngIf",n.datepickerConfig.metHeader),g(),A("tabindex",n.datepickerConfig.metHeader?"0":"-1"),g(),xe(" ",n.selectedYear," "),g(),A("ngIf",n.datepickerConfig.metHeader),g(),E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar--header-right"),g(),A("disabled",n.daysView&&n.isNextMonthAfterMaxDate(n.selectedMonthNumber)||n.monthsView&&n.isNextYearAfterMax()||n.yearsView&&n.isNextYearInYears())("tabindex",n.daysView&&n.isNextMonthAfterMaxDate(n.selectedMonthNumber)||n.monthsView&&n.isNextYearAfterMax()||n.yearsView&&n.isNextYearInYears()?"-1":"0")("ngClass",Zu(48,MA,n.daysView&&n.isNextMonthAfterMaxDate(n.selectedMonthNumber),n.monthsView&&n.isNextYearAfterMax(),n.yearsView&&n.isNextYearInYears())),g(2),E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar--body"),A("ngClass",Zu(52,hH,n.daysView,n.monthsView,n.yearsView)),g(),M(n.daysLabels.length>0?19:-1),g(),M(n.daysView?20:-1),g(),M(n.monthsView?21:-1),g(),M(n.yearsView?22:-1),g(),M(n.isTodayButtonAvailable()?23:-1)}}function FH(e,t){if(1&e&&(C(0,"div",1),T(1,vH,2,2,"ng-container",2)(2,AH,24,56,"div",3),P(3,"div"),x()),2&e){const n=v();E("",n.datepickerConfig.classPrefix,"-input-datepicker"),A("id",n.uniqueId),nt("data-type",n.datepickerConfig.type)("data-placement",n.datepickerConfig.metToggle?"popup":n.datepickerConfig.placement),g(),M(n.myFormGroup?1:-1),g(),M(n.show?2:-1),g(),E("",n.datepickerConfig.classPrefix,"-input-datepicker-calendar__overlay")}}const IA=["*"],kH=e=>({shrink:e});function PH(e,t){1&e&&(C(0,"div",9),er(1),x())}function RH(e,t){if(1&e&&(C(0,"div",0)(1,"div",1)(2,"div",2),T(3,PH,2,0,"div",3),x(),C(4,"div",4)(5,"div",5),qt(),C(6,"svg",6),P(7,"path",7),x(),qp(),P(8,"p",8)(9,"p",8),x()()()()),2&e){const n=v();ge("id",n.fileuploadData.containerName),g(),wo("id","dropzone-drop-area-",n.uniqueId,""),g(),wo("id","dropzone-preview-area-",n.uniqueId,""),g(),A("ngIf",!n.fileDropped),g(),E("dropzone-nofile-area ",n.classPrefix,"-flex tooltip-toggle"),wo("id","dropzone-nofile-area-",n.uniqueId,""),A("ngClass",Xt(20,kH,n.fileDropped)),nt("aria-label",n.fileuploadData.fileuploadDictionary.dictAriaLabel.replace("{{maxFilesize}}",n.fileuploadData.maxFilesize.toString())),g(),wo("id","dropzone-nofile-area-inner-",n.uniqueId,""),g(3),A("innerHtml",n.fileuploadData.fileuploadDictionary.dictZin1,It),g(),E("",n.classPrefix,"-dropzone--info"),A("innerHtml",n.fileuploadData.fileuploadDictionary.dictZin2.replace("{{maxFilesize}}",n.fileuploadData.maxFilesize.toString()),It)}}const Da=e=>({"{{classPrefix}}-dropzone-preview-item-inner--error":e});function NH(e,t){if(1&e&&P(0,"div",10),2&e){const n=v().$implicit,i=v(3);E("",i.classPrefix,"-dropzone-preview-item-info"),A("innerHTML",i.sanitizeBestand(n.File.previewElement.innerHTML),It)}}function LH(e,t){1&e&&(C(0,"i",7),V(1,"image"),x())}function OH(e,t){1&e&&P(0,"i",13)}function VH(e,t){if(1&e&&T(0,LH,2,0,"i",7)(1,OH,1,0,"i",13),2&e){let n;const i=v(5);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function jH(e,t){1&e&&(C(0,"i",7),V(1,"insert_drive_file"),x())}function BH(e,t){1&e&&P(0,"i",14)}function qH(e,t){if(1&e&&T(0,jH,2,0,"i",7)(1,BH,1,0,"i",14),2&e){let n;const i=v(5);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function zH(e,t){if(1&e&&(C(0,"div")(1,"div"),P(2,"img",15),x()()),2&e){const n=v(2).$implicit,i=v(3);E("",i.classPrefix,"-block--dropzone__preview"),g(),E("",i.classPrefix,"-block--dropzone__preview-img"),g(),A("src",i.getSavedBestand(n),Qt)}}function UH(e,t){if(1&e&&(C(0,"div",4)(1,"div",11)(2,"div",12),T(3,VH,2,1)(4,qH,2,1),x(),T(5,zH,3,7,"div",1),x()()),2&e){const n=v().$implicit,i=v(3);g(3),M(i.fileuploadData.isAcceptedFilesImages()?3:4),g(2),M(n.bestand?5:-1)}}function $H(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function HH(e,t){1&e&&P(0,"i",8)}function GH(e,t){1&e&&(C(0,"i",7),V(1,"error"),x())}function WH(e,t){1&e&&P(0,"i",17)}function YH(e,t){if(1&e&&(C(0,"div",9)(1,"div",16),T(2,GH,2,0,"i",7)(3,WH,1,0,"i",17),x(),C(4,"div",18),V(5),x()()),2&e){let n;const i=v().$implicit,r=v(3);g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?2:n===r.IconLibrary.FontAwesome?3:-1),g(3),Ie(i.ErrorMelding)}}function ZH(e,t){if(1&e){const n=se();C(0,"div")(1,"div",2),T(2,NH,1,4,"div",3)(3,UH,6,2,"div",4),C(4,"div",5)(5,"button",6),U("click",function(){const r=X(n).$implicit;return J(v(3).deleteBestand(r))}),C(6,"span"),T(7,$H,2,0,"i",7)(8,HH,1,0,"i",8),x()()(),T(9,YH,6,2,"div",9),x()()}if(2&e){let n;const i=t.$implicit,r=v(3);E("",r.classPrefix,"-dropzone-preview-item"),g(),E("",r.classPrefix,"-dropzone-preview-item-inner"),A("ngClass",Xt(14,Da,null!=i.Dropzone&&!i.File.accepted)),g(),M(i.Dropzone?2:3),g(3),zt("",r.classPrefix,"-btn ",r.classPrefix,"-btn-danger"),g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?7:n===r.IconLibrary.FontAwesome?8:-1),g(2),M(null==i.Dropzone||i.File.accepted?-1:9)}}function KH(e,t){if(1&e&&(C(0,"div"),ot(1,ZH,10,16,"div",1,rt),Ri(3,"dropzonefileUploadAccecptedFilter"),x()),2&e){const n=v(2);E("",n.classPrefix,"-dropzone-preview"),g(),st(tr(3,3,n.bestandLijst,!0))}}function QH(e,t){if(1&e&&P(0,"div",10),2&e){const n=v().$implicit,i=v(3);E("",i.classPrefix,"-dropzone-preview-item-info"),A("innerHTML",i.sanitizeBestand(n.File.previewElement.innerHTML),It)}}function XH(e,t){1&e&&(C(0,"i",7),V(1,"image"),x())}function JH(e,t){1&e&&P(0,"i",13)}function eG(e,t){if(1&e&&T(0,XH,2,0,"i",7)(1,JH,1,0,"i",13),2&e){let n;const i=v(5);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function tG(e,t){1&e&&(C(0,"i",7),V(1,"insert_drive_file"),x())}function iG(e,t){1&e&&P(0,"i",14)}function nG(e,t){if(1&e&&T(0,tG,2,0,"i",7)(1,iG,1,0,"i",14),2&e){let n;const i=v(5);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function rG(e,t){if(1&e&&(C(0,"div")(1,"div"),P(2,"img",15),x()()),2&e){const n=v(2).$implicit,i=v(3);E("",i.classPrefix,"-block--dropzone__preview"),g(),E("",i.classPrefix,"-block--dropzone__preview-img"),g(),A("src",i.getSavedBestand(n),Qt)}}function oG(e,t){if(1&e&&(C(0,"div",4)(1,"div",11)(2,"div",12),T(3,eG,2,1)(4,nG,2,1),x(),T(5,rG,3,7,"div",1),x()()),2&e){const n=v().$implicit,i=v(3);g(3),M(i.fileuploadData.isAcceptedFilesImages()?3:4),g(2),M(n.bestand?5:-1)}}function sG(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function aG(e,t){1&e&&P(0,"i",8)}function lG(e,t){1&e&&(C(0,"i",7),V(1,"error"),x())}function dG(e,t){1&e&&P(0,"i",17)}function cG(e,t){if(1&e&&(C(0,"div",9)(1,"div",16),T(2,lG,2,0,"i",7)(3,dG,1,0,"i",17),x(),C(4,"div",18),V(5),x()()),2&e){let n;const i=v().$implicit,r=v(3);g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?2:n===r.IconLibrary.FontAwesome?3:-1),g(3),Ie(i.ErrorMelding)}}function uG(e,t){if(1&e){const n=se();C(0,"div")(1,"div",2),T(2,QH,1,4,"div",3)(3,oG,6,2,"div",4),C(4,"div",5)(5,"button",6),U("click",function(){const r=X(n).$implicit;return J(v(3).deleteBestand(r))}),C(6,"span"),T(7,sG,2,0,"i",7)(8,aG,1,0,"i",8),x()()(),T(9,cG,6,2,"div",9),x()()}if(2&e){let n;const i=t.$implicit,r=v(3);E("",r.classPrefix,"-dropzone-preview-item"),g(),E("",r.classPrefix,"-dropzone-preview-item-inner"),A("ngClass",Xt(14,Da,null!=i.Dropzone&&!i.File.accepted)),g(),M(i.Dropzone?2:3),g(3),zt("",r.classPrefix,"-btn ",r.classPrefix,"-btn-danger"),g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?7:n===r.IconLibrary.FontAwesome?8:-1),g(2),M(null==i.Dropzone||i.File.accepted?-1:9)}}function hG(e,t){if(1&e&&(C(0,"div"),ot(1,uG,10,16,"div",1,rt),Ri(3,"dropzonefileUploadAccecptedFilter"),x()),2&e){const n=v(2);E("",n.classPrefix,"-dropzone-preview--error"),g(),st(tr(3,3,n.bestandLijst,!1))}}function fG(e,t){if(1&e&&(T(0,KH,4,6,"div",1),Ri(1,"dropzonefileUploadAccecptedFilter"),T(2,hG,4,6,"div",1),Ri(3,"dropzonefileUploadAccecptedFilter")),2&e){const n=v();M(tr(1,2,n.bestandLijst,!0).length>0?0:-1),g(2),M(tr(3,5,n.bestandLijst,!1).length>0?2:-1)}}function pG(e,t){if(1&e&&P(0,"div",10),2&e){const n=v().$implicit,i=v(2);E("",i.classPrefix,"-dropzone-preview-item-info"),A("innerHTML",i.sanitizeBestand(n.File.previewElement.innerHTML),It)}}function mG(e,t){1&e&&(C(0,"i",7),V(1,"image"),x())}function _G(e,t){1&e&&P(0,"i",15)}function gG(e,t){if(1&e&&T(0,mG,2,0,"i",7)(1,_G,1,0,"i",15),2&e){let n;const i=v(4);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function vG(e,t){1&e&&(C(0,"i",7),V(1,"insert_drive_file"),x())}function yG(e,t){1&e&&P(0,"i",16)}function CG(e,t){if(1&e&&T(0,vG,2,0,"i",7)(1,yG,1,0,"i",16),2&e){let n;const i=v(4);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function bG(e,t){if(1&e&&(C(0,"span"),V(1),x()),2&e){const n=v(2).$implicit,i=v(2);g(),Ie(i.getFileSize(n))}}function xG(e,t){if(1&e&&(C(0,"div",4)(1,"div",11)(2,"div",12),T(3,gG,2,1)(4,CG,2,1),x(),C(5,"div",13)(6,"a",14),V(7),x(),T(8,bG,2,1,"span"),x()()()),2&e){const n=v().$implicit,i=v(2);g(3),M(i.fileuploadData.isAcceptedFilesImages()?3:4),g(3),ge("href",i.getSavedBestand(n),Qt),g(),Ie(i.getTrimNaam(n)),g(),M(n&&n.File&&n.File.size?8:-1)}}function wG(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function DG(e,t){1&e&&P(0,"i",8)}function SG(e,t){1&e&&(C(0,"i",7),V(1,"error"),x())}function MG(e,t){1&e&&P(0,"i",18)}function EG(e,t){if(1&e&&(C(0,"div",9)(1,"div",17),T(2,SG,2,0,"i",7)(3,MG,1,0,"i",18),x(),C(4,"div",19),V(5),x()()),2&e){let n;const i=v().$implicit,r=v(2);g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?2:n===r.IconLibrary.FontAwesome?3:-1),g(3),Ie(i.ErrorMelding)}}function IG(e,t){if(1&e){const n=se();C(0,"div")(1,"div",2),T(2,pG,1,4,"div",3)(3,xG,9,4,"div",4),C(4,"div",5)(5,"button",6),U("click",function(){const r=X(n).$implicit;return J(v(2).deleteBestand(r))}),C(6,"span"),T(7,wG,2,0,"i",7)(8,DG,1,0,"i",8),x()()(),T(9,EG,6,2,"div",9),x()()}if(2&e){let n;const i=t.$implicit,r=v(2);E("",r.classPrefix,"-dropzone-preview-item"),g(),E("",r.classPrefix,"-dropzone-preview-item-inner"),A("ngClass",Xt(14,Da,null!=i.Dropzone&&!i.File.accepted)),g(),M(i.Dropzone?2:3),g(3),zt("",r.classPrefix,"-btn ",r.classPrefix,"-btn-danger"),g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?7:n===r.IconLibrary.FontAwesome?8:-1),g(2),M(null==i.Dropzone||i.File.accepted?-1:9)}}function TG(e,t){if(1&e&&(C(0,"div"),ot(1,IG,10,16,"div",1,rt),x()),2&e){const n=v();E("",n.classPrefix,"-dropzone-preview"),g(),st(n.bestandLijst)}}const TA=e=>({empty:e});function AG(e,t){if(1&e&&(C(0,"div")(1,"div"),P(2,"img",4),x()()),2&e){const n=v(2);E("",n.classPrefix,"-block--dropzone__preview"),g(),E("",n.classPrefix,"-block--dropzone__preview-img"),g(),A("src",n.showPreviewUrl(),Qt)}}function FG(e,t){if(1&e&&P(0,"dtx-fileupload-ratio-coordinates",2),2&e){const n=v(2);A("classPrefix",n.classPrefix)("classBody","block--dropzone")("imageRatioCoordinates",n.imageRatioCoordinates)}}function kG(e,t){1&e&&(C(0,"i",7),V(1,"error"),x())}function PG(e,t){1&e&&P(0,"i",8)}function RG(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function NG(e,t){1&e&&P(0,"i",11)}function LG(e,t){if(1&e){const n=se();C(0,"div",5)(1,"div",6),T(2,kG,2,0,"i",7)(3,PG,1,0,"i",8),x(),C(4,"div",9),V(5),x(),C(6,"div")(7,"a",10),U("click",function(){return X(n),J(v(3).deleteBestand(null))}),T(8,RG,2,0,"i",7)(9,NG,1,0,"i",11),x()()()}if(2&e){let n,i;const r=v(3);g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?2:n===r.IconLibrary.FontAwesome?3:-1),g(3),Ie(r.getDropzoneError()),g(),E("",r.classPrefix,"-block--dropzone__image"),g(),E("",r.classPrefix,"-btn-primary"),g(),M((i=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?8:i===r.IconLibrary.FontAwesome?9:-1)}}function OG(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function VG(e,t){1&e&&P(0,"i",11)}function jG(e,t){if(1&e){const n=se();C(0,"div")(1,"a",10),U("click",function(){return X(n),J(v(3).deleteBestand(null))}),T(2,OG,2,0,"i",7)(3,VG,1,0,"i",11),x()()}if(2&e){let n;const i=v(3);E("",i.classPrefix,"-block--dropzone__image"),g(),E("",i.classPrefix,"-btn-primary"),g(),M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?2:n===i.IconLibrary.FontAwesome?3:-1)}}function BG(e,t){1&e&&T(0,LG,10,9,"div",5)(1,jG,4,7,"div",0),2&e&&M(v(2).getDropzoneError()?0:1)}function qG(e,t){if(1&e){const n=se();C(0,"div",1),T(1,AG,3,7,"div",0)(2,FG,1,3,"dtx-fileupload-ratio-coordinates",2),C(3,"div")(4,"upload-dropzone",3),U("addedfile",function(r){return X(n),J(v().fileAdded(r))})("removedFile",function(r){return X(n),J(v().fileRemoved(r))})("success",function(r){return X(n),J(v().fileUploadSuccess(r))}),x()()(),T(5,BG,2,1)}if(2&e){const n=v();E("",n.classPrefix,"-block--dropzone"),A("ngClass",Xt(12,TA,!n.bevatDropzoneBestand(!0))),g(),M(n.showPreviewUrl()&&n.bestandLijst&&n.bestandLijst.length>0&&n.bestandLijst[0].File.accepted?1:-1),g(),M(n.imageRatioCoordinates?2:-1),g(),E("",n.classPrefix,"-block--dropzone__file"),g(),A("fileuploadData",n.fileuploadData)("uniqueId",n.fileuploadData.uniqueId),g(),M(n.bevatDropzoneBestand(!1)?5:-1)}}function zG(e,t){if(1&e&&P(0,"dtx-fileupload-ratio-coordinates",2),2&e){const n=v(2);A("classPrefix",n.classPrefix)("classBody","block--dropzone")("imageRatioCoordinates",n.imageRatioCoordinates)}}function UG(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function $G(e,t){1&e&&P(0,"i",11)}function HG(e,t){if(1&e){const n=se();C(0,"div"),P(1,"img",4),T(2,zG,1,3,"dtx-fileupload-ratio-coordinates",2),C(3,"a",10),U("click",function(){return X(n),J(v().deleteBestand(null))}),T(4,UG,2,0,"i",7)(5,$G,1,0,"i",11),x()()}if(2&e){let n;const i=v();E("",i.classPrefix,"-block--dropzone__image"),g(),A("src",i.getSavedBestandFLijst(),Qt),g(),M(i.imageRatioCoordinates?2:-1),g(),E("",i.classPrefix,"-btn-primary"),g(),M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?4
1:n===i.IconLibrary.FontAwesome?5:-1)}}function GG(e,t){if(1&e){const n=se();C(0,"div",1)(1,"div",2)(2,"input",3,0),U("change",function(r){return X(n),J(v().fileAdded(r))}),x(),C(4,"div",4),qt(),C(5,"svg",5),P(6,"path",6),x()(),qp(),P(7,"p",7)(8,"p",7),x()()}if(2&e){const n=v();g(2),A("id",n.fileuploadData.uniqueId)("multiple",n.isMultiple)("accept",n.fileuploadData.fileuploadAcceptedFiles),g(5),A("innerHtml",n.fileuploadData.fileuploadDictionary.dictZin1,It),g(),E("",n.classPrefix,"-dropzone--info"),A("innerHtml",n.fileuploadData.fileuploadDictionary.dictZin2.replace("{{maxFilesize}}",n.fileuploadData.maxFilesize.toString()),It)}}function WG(e,t){if(1&e&&(C(0,"div",0)(1,"span",1),V(2,"Uploading:"),x(),C(3,"p",2),V(4),x()(),P(5,"div",3)),2&e){const n=v();g(4),xe(" ",n.bestand.UploadProgress,"% "),g(),O_("width",n.bestand.UploadProgress+"%")}}function YG(e,t){if(1&e&&(C(0,"div"),P(1,"img",10)(2,"dtx-fileupload-upload-progress",11),x()),2&e){const n=v().$implicit,i=v(3);E("",i.classPrefix,"-dropzone-preview-item-info"),g(),A("src",n.FileUrl,Qt),g(),A("uploading",i.uploading)("bestand",i.bestandLijst[0])}}function ZG(e,t){1&e&&(C(0,"i",7),V(1,"image"),x())}function KG(e,t){1&e&&P(0,"i",14)}function QG(e,t){if(1&e&&T(0,ZG,2,0,"i",7)(1,KG,1,0,"i",14),2&e){let n;const i=v(5);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function XG(e,t){1&e&&(C(0,"i",7),V(1,"insert_drive_file"),x())}function JG(e,t){1&e&&P(0,"i",15)}function eW(e,t){if(1&e&&T(0,XG,2,0,"i",7)(1,JG,1,0,"i",15),2&e){let n;const i=v(5);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function tW(e,t){if(1&e&&(C(0,"div")(1,"div"),P(2,"img",10),x()()),2&e){const n=v(2).$implicit,i=v(3);E("",i.classPrefix,"-block--dropzone__preview"),g(),E("",i.classPrefix,"-block--dropzone__preview-img"),g(),A("src",i.getSavedBestand(n),Qt)}}function iW(e,t){if(1&e&&(C(0,"div",4)(1,"div",12)(2,"div",13),T(3,QG,2,1)(4,eW,2,1),x(),T(5,tW,3,7,"div",1),x()()),2&e){const n=v().$implicit,i=v(3);g(3),M(i.fileuploadData.isAcceptedFilesImages()?3:4),g(2),M(n.bestand?5:-1)}}function nW(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function rW(e,t){1&e&&P(0,"i",8)}function oW(e,t){1&e&&(C(0,"i",7),V(1,"error"),x())}function sW(e,t){1&e&&P(0,"i",17)}function aW(e,t){if(1&e&&(C(0,"div",9)(1,"div",16),T(2,oW,2,0,"i",7)(3,sW,1,0,"i",17),x(),C(4,"div",18),V(5),x()()),2&e){let n;const i=v().$implicit,r=v(3);g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?2:n===r.IconLibrary.FontAwesome?3:-1),g(3),Ie(i.ErrorMelding)}}function lW(e,t){if(1&e){const n=se();C(0,"div",2),U("click",function(){const r=X(n).$implicit;return J(v(3).deleteBestand(r))}),C(1,"div",3),T(2,YG,3,6,"div",1)(3,iW,6,2,"div",4),C(4,"div",5)(5,"button",6)(6,"span"),T(7,nW,2,0,"i",7)(8,rW,1,0,"i",8),x()()(),T(9,aW,6,2,"div",9),x()()}if(2&e){let n;const i=t.$implicit,r=v(3);E("",r.classPrefix,"-dropzone-preview-item"),g(),E("",r.classPrefix,"-dropzone-preview-item-inner"),A("ngClass",Xt(14,Da,null!=i.Dropzone&&!i.File.accepted)),g(),M(i.Dropzone?2:3),g(3),zt("",r.classPrefix,"-btn ",r.classPrefix,"-btn-danger"),g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?7:n===r.IconLibrary.FontAwesome?8:-1),g(2),M(null==i.Dropzone||i.File.accepted?-1:9)}}function dW(e,t){if(1&e&&(C(0,"div"),ot(1,lW,10,16,"div",1,rt),Ri(3,"vanillafileUploadAccecptedFilter"),x()),2&e){const n=v(2);E("",n.classPrefix,"-dropzone-preview"),g(),st(tr(3,3,n.bestandLijst,!0))}}function cW(e,t){if(1&e&&(C(0,"div"),P(1,"img",10),x()),2&e){const n=v().$implicit;E("",v(3).classPrefix,"-dropzone-preview-item-info"),g(),A("src",n.FileUrl,Qt)}}function uW(e,t){1&e&&(C(0,"i",7),V(1,"image"),x())}function hW(e,t){1&e&&P(0,"i",14)}function fW(e,t){if(1&e&&T(0,uW,2,0,"i",7)(1,hW,1,0,"i",14),2&e){let n;const i=v(5);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function pW(e,t){1&e&&(C(0,"i",7),V(1,"insert_drive_file"),x())}function mW(e,t){1&e&&P(0,"i",15)}function _W(e,t){if(1&e&&T(0,pW,2,0,"i",7)(1,mW,1,0,"i",15),2&e){let n;const i=v(5);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function gW(e,t){if(1&e&&(C(0,"div")(1,"div"),P(2,"img",10),x()()),2&e){const n=v(2).$implicit,i=v(3);E("",i.classPrefix,"-block--dropzone__preview"),g(),E("",i.classPrefix,"-block--dropzone__preview-img"),g(),A("src",i.getSavedBestand(n),Qt)}}function vW(e,t){if(1&e&&(C(0,"div",4)(1,"div",12)(2,"div",13),T(3,fW,2,1)(4,_W,2,1),x(),T(5,gW,3,7,"div",1),x()()),2&e){const n=v().$implicit,i=v(3);g(3),M(i.fileuploadData.isAcceptedFilesImages()?3:4),g(2),M(n.bestand?5:-1)}}function yW(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function CW(e,t){1&e&&P(0,"i",8)}function bW(e,t){1&e&&(C(0,"i",7),V(1,"error"),x())}function xW(e,t){1&e&&P(0,"i",17)}function wW(e,t){if(1&e&&(C(0,"div",9)(1,"div",16),T(2,bW,2,0,"i",7)(3,xW,1,0,"i",17),x(),C(4,"div",18),V(5),x()()),2&e){let n;const i=v().$implicit,r=v(3);g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?2:n===r.IconLibrary.FontAwesome?3:-1),g(3),Ie(i.ErrorMelding)}}function DW(e,t){if(1&e){const n=se();C(0,"div",2),U("click",function(){const r=X(n).$implicit;return J(v(3).deleteBestand(r))}),C(1,"div",3),T(2,cW,2,4,"div",1)(3,vW,6,2,"div",4),C(4,"div",5)(5,"button",6)(6,"span"),T(7,yW,2,0,"i",7)(8,CW,1,0,"i",8),x()()(),T(9,wW,6,2,"div",9),x()()}if(2&e){let n;const i=t.$implicit,r=v(3);E("",r.classPrefix,"-dropzone-preview-item"),g(),E("",r.classPrefix,"-dropzone-preview-item-inner"),A("ngClass",Xt(14,Da,null!=i.Dropzone&&!i.File.accepted)),g(),M(i.Dropzone?2:3),g(3),zt("",r.classPrefix,"-btn ",r.classPrefix,"-btn-danger"),g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?7:n===r.IconLibrary.FontAwesome?8:-1),g(2),M(null==i.Dropzone||i.File.accepted?-1:9)}}function SW(e,t){if(1&e&&(C(0,"div"),ot(1,DW,10,16,"div",1,rt),Ri(3,"vanillafileUploadAccecptedFilter"),x()),2&e){const n=v(2);E("",n.classPrefix,"-dropzone-preview--error"),g(),st(tr(3,3,n.bestandLijst,!1))}}function MW(e,t){if(1&e&&(T(0,dW,4,6,"div",1),Ri(1,"vanillafileUploadAccecptedFilter"),T(2,SW,4,6,"div",1),Ri(3,"vanillafileUploadAccecptedFilter")),2&e){const n=v();M(tr(1,2,n.bestandLijst,!0).length>0?0:-1),g(2),M(tr(3,5,n.bestandLijst,!1).length>0?2:-1)}}function EW(e,t){if(1&e&&(C(0,"span"),V(1),x()),2&e){const n=v(2).$implicit,i=v(2);g(),Ie(i.getFileSize(n))}}function IW(e,t){if(1&e&&(C(0,"div")(1,"div",9),V(2),T(3,EW,2,1,"span"),x(),P(4,"dtx-fileupload-upload-progress",10),x()),2&e){const n=v().$implicit,i=v(2);E("",i.classPrefix,"-dropzone-preview-item-info"),g(2),xe(" ",n.File.name," "),g(),M(n&&n.File&&n.File.size?3:-1),g(),A("uploading",i.uploading)("bestand",i.bestandLijst[0])}}function TW(e,t){1&e&&(C(0,"i",6),V(1,"image"),x())}function AW(e,t){1&e&&P(0,"i",14)}function FW(e,t){if(1&e&&T(0,TW,2,0,"i",6)(1,AW,1,0,"i",14),2&e){let n;const i=v(4);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function kW(e,t){1&e&&(C(0,"i",6),V(1,"insert_drive_file"),x())}function PW(e,t){1&e&&P(0,"i",15)}function RW(e,t){if(1&e&&T(0,kW,2,0,"i",6)(1,PW,1,0,"i",15),2&e){let n;const i=v(4);M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?0:n===i.IconLibrary.FontAwesome?1:-1)}}function NW(e,t){if(1&e&&(C(0,"span"),V(1),x()),2&e){const n=v(2).$implicit,i=v(2);g(),Ie(i.getFileSize(n))}}function LW(e,t){if(1&e&&(C(0,"div",3)(1,"div",11)(2,"div",12),T(3,FW,2,1)(4,RW,2,1),x(),C(5,"div",9)(6,"a",13),V(7),x(),T(8,NW,2,1,"span"),x()()()),2&e){const n=v().$implicit,i=v(2);g(3),M(i.fileuploadData.isAcceptedFilesImages()?3:4),g(3),ge("href",i.getSavedBestand(n),Qt),g(),Ie(i.getTrimNaam(n)),g(),M(n&&n.File&&n.File.size?8:-1)}}function OW(e,t){1&e&&(C(0,"i",6),V(1,"delete"),x())}function VW(e,t){1&e&&P(0,"i",7)}function jW(e,t){1&e&&(C(0,"i",6),V(1,"error"),x())}function BW(e,t){1&e&&P(0,"i",17)}function qW(e,t){if(1&e&&(C(0,"div",8)(1,"div",16),T(2,jW,2,0,"i",6)(3,BW,1,0,"i",17),x(),C(4,"div",18),V(5),x()()),2&e){let n;const i=v().$implicit,r=v(2);g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?2:n===r.IconLibrary.FontAwesome?3:-1),g(3),Ie(i.ErrorMelding)}}function zW(e,t){if(1&e){const n=se();C(0,"div")(1,"div",2),T(2,IW,5,7,"div",1)(3,LW,9,4,"div",3),C(4,"div",4)(5,"button",5),U("click",function(){const r=X(n).$implicit;return J(v(2).deleteBestand(r))}),C(6,"span"),T(7,OW,2,0,"i",6)(8,VW,1,0,"i",7),x()()(),T(9,qW,6,2,"div",8),x()()}if(2&e){let n;const i=t.$implicit,r=v(2);E("",r.classPrefix,"-dropzone-preview-item"),g(),E("",r.classPrefix,"-dropzone-preview-item-inner"),A("ngClass",Xt(14,Da,null!=i.Dropzone&&!i.File.accepted)),g(),M(i.Dropzone?2:3),g(3),zt("",r.classPrefix,"-btn ",r.classPrefix,"-btn-danger"),g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?7:n===r.IconLibrary.FontAwesome?8:-1),g(2),M(null==i.Dropzone||i.File.accepted?-1:9)}}function UW(e,t){if(1&e&&(C(0,"div"),ot(1,zW,10,16,"div",1,rt),x()),2&e){const n=v();E("",n.classPrefix,"-dropzone-preview"),g(),st(n.bestandLijst)}}function $W(e,t){if(1&e&&(C(0,"div")(1,"div"),P(2,"img",4),x()()),2&e){v();const n=function XD(e){const n=to(mC(),Y+e);if(n===KD)throw new L(314,!1);return n}(0),i=v(2);E("",i.classPrefix,"-block--dropzone__preview"),g(),E("",i.classPrefix,"-block--dropzone__preview-img"),g(),A("src",n.FileUrl,Qt)}}function HW(e,t){if(1&e&&(Y_(0),T(1,$W,3,7,"div",0)),2&e){const n=function QD(e){return ai("NgLet"),W_(fe(),F(),Bt(),e),e}(v(2).bestandLijst[0]);g(),M(n.FileUrl&&!n.ErrorMelding?1:-1)}}function GW(e,t){if(1&e&&P(0,"dtx-fileupload-ratio-coordinates",2),2&e){const n=v(2);A("classPrefix",n.classPrefix)("classBody","block--dropzone")("imageRatioCoordinates",n.imageRatioCoordinates)}}function WW(e,t){1&e&&(C(0,"i",7),V(1,"error"),x())}function YW(e,t){1&e&&P(0,"i",8)}function ZW(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function KW(e,t){1&e&&P(0,"i",11)}function QW(e,t){if(1&e){const n=se();C(0,"div",5)(1,"div",6),T(2,WW,2,0,"i",7)(3,YW,1,0,"i",8),x(),C(4,"div",9),V(5),x(),C(6,"div")(7,"a",10),U("click",function(){return X(n),J(v(3).deleteBestand(null))}),T(8,ZW,2,0,"i",7)(9,KW,1,0,"i",11),x()()()}if(2&e){let n,i;const r=v(3);g(2),M((n=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?2:n===r.IconLibrary.FontAwesome?3:-1),g(3),Ie(r.getDropzoneError()),g(),E("",r.classPrefix,"-block--dropzone__image"),g(),E("",r.classPrefix,"-btn-primary"),g(),M((i=r.fileuploadData.iconLibrary)===r.IconLibrary.Material?8:i===r.IconLibrary.FontAwesome?9:-1)}}function XW(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function JW(e,t){1&e&&P(0,"i",11)}function eY(e,t){if(1&e){const n=se();C(0,"div")(1,"a",10),U("click",function(){return X(n),J(v(3).deleteBestand(null))}),T(2,XW,2,0,"i",7)(3,JW,1,0,"i",11),x()()}if(2&e){let n;const i=v(3);E("",i.classPrefix,"-block--dropzone__image"),g(),E("",i.classPrefix,"-btn-primary"),g(),M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?2:n===i.IconLibrary.FontAwesome?3:-1)}}function tY(e,t){1&e&&T(0,QW,10,9,"div",5)(1,eY,4,7,"div",0),2&e&&M(v(2).getDropzoneError()?0:1)}function iY(e,t){if(1&e){const n=se();C(0,"div",1),T(1,HW,2,2)(2,GW,1,3,"dtx-fileupload-ratio-coordinates",2),C(3,"div")(4,"upload-vanilla",3),U("addedfile",function(r){return X(n),J(v().fileAdded(r))})("removedFile",function(r){return X(n),J(v().fileRemoved(r))}),x()()(),T(5,tY,2,1)}if(2&e){const n=v();E("",n.classPrefix,"-block--dropzone"),A("ngClass",Xt(12,TA,!n.bevatDropzoneBestand(!0))),g(),M(n.bestandLijst&&n.bestandLijst.length>0?1:-1),g(),M(n.imageRatioCoordinates?2:-1),g(),E("",n.classPrefix,"-block--dropzone__file"),g(),A("fileuploadData",n.fileuploadData)("uniqueId",n.fileuploadData.uniqueId),g(),M(n.bevatDropzoneBestand(!1)?5:-1)}}function nY(e,t){if(1&e&&P(0,"dtx-fileupload-ratio-coordinates",2),2&e){const n=v(2);A("classPrefix",n.classPrefix)("classBody","block--dropzone")("imageRatioCoordinates",n.imageRatioCoordinates)}}function rY(e,t){1&e&&(C(0,"i",7),V(1,"delete"),x())}function oY(e,t){1&e&&P(0,"i",11)}function sY(e,t){if(1&e){const n=se();C(0,"div"),P(1,"img",4),T(2,nY,1,3,"dtx-fileupload-ratio-coordinates",2),P(3,"dtx-fileupload-upload-progress",12),C(4,"a",10),U("click",function(){return X(n),J(v().deleteBestand(null))}),T(5,rY,2,0,"i",7)(6,oY,1,0,"i",11),x()()}if(2&e){let n;const i=v();E("",i.classPrefix,"-block--dropzone__image"),g(),A("src",i.getSavedBestandFLijst(),Qt),g(),M(i.imageRatioCoordinates?2:-1),g(),A("uploading",i.uploading)("bestand",i.bestandLijst[0]),g(),E("",i.classPrefix,"-btn-primary"),g(),M((n=i.fileuploadData.iconLibrary)===i.IconLibrary.Material?5:n===i.IconLibrary.FontAwesome?6:-1)}}function aY(e,t){if(1&e){const n=se();C(0,"dtx-fileupload-no-preview",1),U("uploadKlaar",function(r){return X(n),J(v().fileuploadControlKlaar(r))}),x()}if(2&e){const n=v();A("classPrefix",n.classPrefix)("fileuploadData",n.fileuploadData)("myFormGroup",n.myFormGroup)("controlName",n.controlName)("bewaard",n.bewaard)("DocumentPath",n.DocumentPath)("UploadAPI",n.UploadAPI)("UploadParams",n.UploadParams)("UploadHeaders",n.UploadHeaders)("events",n.events)}}function lY(e,t){if(1&e){const n=se();C(0,"dtx-fileupload-multi-preview",1),U("uploadKlaar",function(r){return X(n),J(v().fileuploadControlKlaar(r))}),x()}if(2&e){const n=v();A("classPrefix",n.classPrefix)("fileuploadData",n.fileuploadData)("myFormGroup",n.myFormGroup)("controlName",n.controlName)("bewaard",n.bewaard)("DocumentPath",n.DocumentPath)("UploadAPI",n.UploadAPI)("UploadParams",n.UploadParams)("UploadHeaders",n.UploadHeaders)("events",n.events)}}function dY(e,t){if(1&e){const n=se();C(0,"dtx-fileupload-single-preview",1),U("uploadKlaar",function(r){return X(n),J(v().fileuploadControlKlaar(r))}),x()}if(2&e){const n=v();A("classPrefix",n.classPrefix)("fileuploadData",n.fileuploadData)("myFormGroup",n.myFormGroup)("controlName",n.controlName)("bewaard",n.bewaard)("DocumentPath",n.DocumentPath)("UploadAPI",n.UploadAPI)("UploadParams",n.UploadParams)("UploadHeaders",n.UploadHeaders)("events",n.events)}}function cY(e,t){if(1&e){const n=se();C(0,"dtx-fileupload-vanilla-upload-no-preview",1),U("uploadKlaar",function(r){return X(n),J(v().fileuploadControlKlaar(r))}),x()}if(2&e){const n=v();A("classPrefix",n.classPrefix)("fileuploadData",n.fileuploadData)("myFormGroup",n.myFormGroup)("controlName",n.controlName)("bewaard",n.bewaard)("DocumentPath",n.DocumentPath)("UploadAPI",n.UploadAPI)("UploadParams",n.UploadParams)("UploadHeaders",n.UploadHeaders)("events",n.events)}}function uY(e,t){if(1&e){const n=se();C(0,"dtx-fileupload-vanilla-upload-multi-preview",1),U("uploadKlaar",function(r){return X(n),J(v().fileuploadControlKlaar(r))}),x()}if(2&e){const n=v();A("classPrefix",n.classPrefix)("fileuploadData",n.fileuploadData)("myFormGroup",n.myFormGroup)("controlName",n.controlName)("bewaard",n.bewaard)("DocumentPath",n.DocumentPath)("UploadAPI",n.UploadAPI)("UploadParams",n.UploadParams)("UploadHeaders",n.UploadHeaders)("events",n.events)}}function hY(e,t){if(1&e){const n=se();C(0,"dtx-fileupload-vanilla-upload-single-preview",1),U("uploadKlaar",function(r){return X(n),J(v().fileuploadControlKlaar(r))}),x()}if(2&e){const n=v();A("classPrefix",n.classPrefix)("fileuploadData",n.fileuploadData)("myFormGroup",n.myFormGroup)("controlName",n.controlName)("bewaard",n.bewaard)("DocumentPath",n.DocumentPath)("UploadAPI",n.UploadAPI)("UploadParams",n.UploadParams)("UploadHeaders",n.UploadHeaders)("events",n.events)}}function fY(e,t){if(1&e){const n=se();C(0,"strong",4),U("click",function(){const r=X(n).$implicit;return J(v(3).copyToClipboard(r))}),V(1),x(),V(2),P(3,"br")}
1if(2&e){const n=t.$implicit;g(),xe("",n.token,":"),g(),xe(" ",n.omschrijving,"")}}function pY(e,t){1&e&&(V(0," /"),P(1,"br"))}function mY(e,t){if(1&e&&(C(0,"p"),V(1),P(2,"br"),ot(3,fY,4,2,null,null,rt,!1,pY,2,0,"br"),x()),2&e){const n=v(2);g(),xe(" ",n.textareaRichConfig().TitelBeschikbaar,""),g(2),st(n.getTokenList(!1))}}function _Y(e,t){if(1&e){const n=se();C(0,"strong",4),U("click",function(){const r=X(n).$implicit;return J(v(3).copyToClipboard(r))}),V(1),x(),V(2),P(3,"br")}if(2&e){const n=t.$implicit;g(),xe("",n.token,":"),g(),xe(" ",n.omschrijving,"")}}function gY(e,t){1&e&&(V(0," /"),P(1,"br"))}function vY(e,t){if(1&e&&(C(0,"p"),V(1),P(2,"br"),ot(3,_Y,4,2,null,null,rt,!1,gY,2,0,"br"),x()),2&e){const n=v(2);g(),xe(" ",n.textareaRichConfig().TitelGebruikt,""),g(2),st(n.getTokenList(!0))}}function yY(e,t){if(1&e&&(C(0,"strong"),V(1),x()),2&e){const n=t.$implicit;g(),Ie(n)}}function CY(e,t){if(1&e&&(C(0,"p"),V(1),P(2,"br"),ot(3,yY,2,1,"strong",null,rt),x()),2&e){const n=v(2);g(),xe(" ",n.textareaRichConfig().TitelOngeldig,""),g(2),st(n.textareaRichConfig().TokenListOngeldig)}}function bY(e,t){if(1&e&&(C(0,"div")(1,"span",3)(2,"div"),T(3,mY,6,2,"p")(4,vY,6,2,"p")(5,CY,5,1,"p"),x()()()),2&e){const n=v();E("",n.classPrefix(),"-input-textarearich __note dtx-input-textarearich-custom-quill__note"),g(3),M(n.textareaRichConfig().TitelBeschikbaar?3:-1),g(),M(n.textareaRichConfig().TitelGebruikt?4:-1),g(),M(n.textareaRichConfig().TitelOngeldig&&n.textareaRichConfig().TokenListOngeldig.length>0?5:-1)}}const xY=(e,t)=>({error:e,required:t}),lf=e=>({disabled:e}),wY=e=>({"{{data.ClassPrefix}}-visible":e});function DY(e,t){1&e&&P(0,"div",1),2&e&&A("innerHtml",v(4).data.Titel,It)}function SY(e,t){if(1&e&&(C(0,"h2"),V(1),x()),2&e){const n=v(4);g(),Ie(n.data.Titel)}}function MY(e,t){1&e&&T(0,DY,1,1,"div",1)(1,SY,2,1,"h2"),2&e&&M(v(3).data.TitelRich?0:1)}function EY(e,t){1&e&&P(0,"div",1),2&e&&A("innerHtml",v(4).data.Info,It)}function IY(e,t){if(1&e&&(C(0,"p"),V(1),x()),2&e){const n=v(4);g(),Ie(n.data.Info)}}function TY(e,t){1&e&&T(0,EY,1,1,"div",1)(1,IY,2,1,"p"),2&e&&M(v(3).data.InfoRich?0:1)}function AY(e,t){if(1&e&&(C(0,"div"),T(1,MY,2,1)(2,TY,2,1),x()),2&e){const n=v(2);E("",n.data.ClassPrefix,"-form--intro"),g(),M(n.data.Titel?1:-1),g(),M(n.data.Info?2:-1)}}function FY(e,t){if(1&e&&(C(0,"div",5)(1,"div",6),er(2),x()()),2&e){const n=v().$implicit,i=v(4);zt("",i.data.ClassPrefix,"-form-row ",n.VeldRijClass,""),A("dtxDynamicAttributes",i.data.AttributeList)}}function kY(e,t){if(1&e&&(C(0,"h3"),V(1),x()),2&e){const n=v(3).$implicit;g(),Ie(n.Label)}}function PY(e,t){1&e&&P(0,"div",1),2&e&&A("innerHtml",v(4).$implicit.Info,It)}function RY(e,t){if(1&e&&(C(0,"p"),V(1),x()),2&e){const n=v(4).$implicit;g(),Ie(n.Info)}}function NY(e,t){1&e&&T(0,PY,1,1,"div",1)(1,RY,2,1,"p"),2&e&&M(v(3).$implicit.InfoRich?0:1)}function LY(e,t){if(1&e&&(C(0,"div")(1,"a",10),V(2),x()()),2&e){const n=v(3).$implicit;E("",v(6).data.ClassPrefix,"-form-row-control__link"),g(),ge("href",n.Link.Url,Qt),ge("target",n.Link.Target),g(),Ie(n.Link.Label)}}function OY(e,t){if(1&e&&(C(0,"div"),T(1,kY,2,1,"h3",9)(2,NY,2,1),x(),T(3,LY,3,6,"div",0)),2&e){const n=v(2).$implicit;E("",v(6).data.ClassPrefix,"-form-row-control__intro"),g(),A("ngIf",n.Label),g(),M(n.Info?2:-1),g(),M(n.Link?3:-1)}}function VY(e,t){1&e&&P(0,"div",1),2&e&&A("innerHtml",v(4).$implicit.Info,It)}function jY(e,t){if(1&e&&(C(0,"p"),V(1),x()),2&e){const n=v(4).$implicit;g(),Ie(n.Info)}}function BY(e,t){if(1&e&&(C(0,"div"),T(1,VY,1,1,"div",1)(2,jY,2,1,"p"),x()),2&e){const n=v(3).$implicit;E("",v(6).data.ClassPrefix,"-form-row-control__intro"),g(),M(n.InfoRich?1:2)}}function qY(e,t){if(1&e){const n=se();T(0,BY,3,4,"div",0),C(1,"div")(2,"button",11),U("click",function(){X(n);const r=v(2).$implicit;return J(v(6).formulierKnopClick(r.FormulierKnopVeldExtraData))}),V(3),x()()}if(2&e){const n=v(2).$implicit,i=v(6);M(n.Info?0:-1),g(),E("",i.data.ClassPrefix,"-form-row-control__input"),g(),rn(n.FormulierKnopVeldExtraData.classnames),A("ngClass",Xt(10,lf,i.processing||i.inVerwerking)),nt("id",n.FormulierKnopVeldExtraData.id&&n.FormulierKnopVeldExtraData.metValidatie&&i.myForm.valid?n.FormulierKnopVeldExtraData.id:null),g(),xe(" ",n.FormulierKnopVeldExtraData.label," ")}}function zY(e,t){1&e&&P(0,"div",27),2&e&&A("innerHTML",v(5).$implicit.Tooltip,It)}function UY(e,t){if(1&e&&(C(0,"p"),V(1),x()),2&e){const n=v(5).$implicit;g(),Ie(n.Tooltip)}}function $Y(e,t){if(1&e&&(C(0,"div",24)(1,"button",25),P(2,"i",26),x(),C(3,"div"),T(4,zY,1,1,"div",27)(5,UY,2,1,"p"),x()()),2&e){const n=v(4).$implicit,i=v(6);E("",i.data.ClassPrefix,"-tooltip"),g(),E("",i.data.ClassPrefix,"-tooltip-button"),g(2),E("",i.data.ClassPrefix,"-tooltip-container"),g(),M(n.TooltipRich?4:5)}}function HY(e,t){if(1&e){const n=se();C(0,"div",28),U("click",function(){X(n);const r=v(4).$implicit;return J(v(6).labelIconClassClick(r))}),P(1,"i"),x()}if(2&e){const n=v(4).$implicit;E("",v(6).data.ClassPrefix,"-form-row-control__label__icon"),g(),rn(n.LabelIconClass)}}function GY(e,t){if(1&e&&(C(0,"div")(1,"label",22),V(2),T(3,$Y,6,10,"div",23)(4,HY,2,6,"div",0),x()()),2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-form-row-control__label"),g(),Pi("for","",i.data.ClassPrefix,"-form-row-control__",n.Naam,""),g(),xe(" ",n.Label," "),g(),M(n.Tooltip?3:-1),g(),M(n.LabelIconClass?4:-1)}}function WY(e,t){if(1&e&&(C(0,"div")(1,"span"),P(2,"i"),x()()),2&e){const n=v(3).$implicit;E("",v(6).data.ClassPrefix,"-form-row-control__input__icon--prefix"),g(2),rn(n.IconPrefix.FaIcon)}}
1function YY(e,t){if(1&e){const n=se();C(0,"input",29),U("keydown",function(r){return X(n),J(v(9).onInputKeydownEnter(r))}),x()}if(2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-input-text"),Tn("id","",i.data.ClassPrefix,"-",i.data.FormUniqueId,"-form-row-control__",n.Naam,""),ge("name",n.Naam),ge("formControlName",n.Naam),ge("placeholder",n.Placeholder),A("dtxDynamicAttributes",i.data.AttributeList)}}function ZY(e,t){if(1&e){const n=se();C(0,"input",30),U("keydown",function(r){return X(n),J(v(9).onInputKeydownEnter(r))}),x()}if(2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-input-text"),Tn("id","",i.data.ClassPrefix,"-",i.data.FormUniqueId,"-form-row-control__",n.Naam,""),ge("name",n.Naam),ge("formControlName",n.Naam),ge("placeholder",n.Placeholder),ge("mask",n.InputMaskVeldExtraData.mask),A("dtxDynamicAttributes",i.data.AttributeList)("showMaskTyped",n.InputMaskVeldExtraData.showMaskTyped)("dropSpecialCharacters",n.InputMaskVeldExtraData.dropSpecialCharacters)}}function KY(e,t){if(1&e){const n=se();C(0,"i",28),U("click",function(){return X(n),J(v(4).$implicit.WachtwoordVeldExtraData.UpdateZichtbaar())}),x()}2&e&&rn(v(4).$implicit.WachtwoordVeldExtraData.faIconZetZichtbaar)}function QY(e,t){if(1&e){const n=se();C(0,"i",28),U("click",function(){return X(n),J(v(4).$implicit.WachtwoordVeldExtraData.UpdateZichtbaar())}),x()}2&e&&rn(v(4).$implicit.WachtwoordVeldExtraData.faIconZetOnzichtbaar)}function XY(e,t){if(1&e&&(C(0,"div")(1,"div",8),P(2,"div")(3,"div")(4,"div")(5,"div"),x(),C(6,"div")(7,"p"),V(8),x()()()),2&e){const n=v(4).$implicit,i=v(6);E("",i.data.ClassPrefix,"-form-row-control__input__passwordstrength"),g(),E("",i.data.ClassPrefix,"-form-row-control__input__passwordstrength__list"),A("ngClass",n.WachtwoordVeldExtraData.SterkteClass(n)),g(),E("",i.data.ClassPrefix,"-form-row-control__input__passwordstrength__list__item"),g(),E("",i.data.ClassPrefix,"-form-row-control__input__passwordstrength__list__item"),g(),E("",i.data.ClassPrefix,"-form-row-control__input__passwordstrength__list__item"),g(),E("",i.data.ClassPrefix,"-form-row-control__input__passwordstrength__list__item"),g(),E("",i.data.ClassPrefix,"-form-row-control__input__passwordstrength__info"),g(2),Ie(n.WachtwoordVeldExtraData.SterkteOmschrijving(n))}}function JY(e,t){if(1&e){const n=se();C(0,"input",31),U("keydown",function(r){return X(n),J(v(9).onInputKeydownEnter(r))}),x(),C(1,"div",8),T(2,KY,1,3,"i",0)(3,QY,1,3,"i",0),x(),T(4,XY,9,23,"div",0)}if(2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-input-text"),ge("type",n.WachtwoordVeldExtraData.isZichtbaar?"text":"password"),Tn("id","",i.data.ClassPrefix,"-",i.data.FormUniqueId,"-form-row-control__",n.Naam,""),ge("name",n.Naam),ge("formControlName",n.Naam),ge("placeholder",n.Placeholder),A("dtxDynamicAttributes",i.data.AttributeList),g(),E("",i.data.ClassPrefix,"-form-row-control__input__icon--button"),A("ngClass",Xt(18,wY,n.WachtwoordVeldExtraData.isZichtbaar)),g(),M(n.WachtwoordVeldExtraData.isZichtbaar?3:2),g(2),M(n.WachtwoordVeldExtraData.metSterkte?4:-1)}}function eZ(e,t){if(1&e&&(C(0,"textarea",32),V(1,"                                                        "),x()),2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-input-text"),Tn("id","",i.data.ClassPrefix,"-",i.data.FormUniqueId,"-form-row-control__",n.Naam,""),ge("name",n.Naam),ge("formControlName",n.Naam),ge("placeholder",n.Placeholder),A("dtxDynamicAttributes",i.data.AttributeList)}}function tZ(e,t){if(1&e&&P(0,"dtx-textarea-rich",15),2&e){const n=v(3).$implicit,i=v(6);A("veld",n)("myFormGroup",i.myForm)("controlName",n.Naam)("placeholder",n.Placeholder)("editorConfig",i.textareaRichEditorConfig)("textareaRichConfig",null==n.TextareaRichVeldExtraData?null:n.TextareaRichVeldExtraData.TextareaRichConfig)}}function iZ(e,t){if(1&e&&(C(0,"option",36),V(1),x()),2&e){const n=v(4).$implicit;g(),Ie(n.Placeholder)}}function nZ(e,t){if(1&e&&(C(0,"option",37),V(1),x()),2&e){const n=t.$implicit;A("value",n.Id)("disabled",n.Disabled),g(),Ie(n.Waarde)}}function rZ(e,t){if(1&e&&(C(0,"div")(1,"select",33),T(2,iZ,2,1,"option",34)(3,nZ,2,3,"option",35),x()()),2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-input-dropdown"),g(),Tn("id","",i.data.ClassPrefix,"-",i.data.FormUniqueId,"-form-row-control__",n.Naam,""),ge("name",n.Naam),ge("formControlName",n.Naam),A("dtxDynamicAttributes",i.data.AttributeList),g(),A("ngIf",n.Placeholder),g(),A("ngForOf",n.OptieVeldExtraData.OptieLijst)}}function oZ(e,t){if(1&e){const n=se();C(0,"label",22)(1,"input",39),U("click",function(){const r=X(n).$implicit,o=v(4).$implicit;return J(v(6).toggleRadioSelection(o,r.Id))}),x(),V(2),P(3,"span",40),x()}
1if(2&e){const n=t.$implicit,i=t.index,r=v(4).$implicit,o=v(6);Tn("for","",o.data.ClassPrefix,"-form-row-control__",r.Naam,"-",i,""),g(),E("",o.data.ClassPrefix,"-input-radio"),G_("id","",o.data.ClassPrefix,"-",o.data.FormUniqueId,"-form-row-control__",r.Naam,"-",i,""),ge("name",r.Naam),ge("formControlName",r.Naam),A("dtxDynamicAttributes",o.data.AttributeList)("value",n.Id)("disabled",n.Disabled),g(),xe(" ",n.Waarde," ")}}function sZ(e,t){if(1&e&&(C(0,"div"),T(1,oZ,4,18,"label",38),x()),2&e){const n=v(3).$implicit;E("",v(6).data.ClassPrefix,"-input-radios"),nt("data-columns",n.getDataColumns()),g(),A("ngForOf",n.OptieVeldExtraData.OptieLijst)}}function aZ(e,t){if(1&e&&P(0,"dtx-autocomplete",16),2&e){const n=v(3).$implicit,i=v(6);A("myFormGroup",i.myForm)("controlName",n.Naam)("optieLijst",n.OptieVeldExtraData.OptieLijst)("filterZoekwoorden",n.OptieVeldExtraData.AutoCompleteZoekwoorden)("classPrefix",i.data.ClassPrefix)}}function lZ(e,t){if(1&e&&P(0,"dtx-betaalmethodes",17),2&e){const n=v(3).$implicit,i=v(6);A("myFormGroup",i.myForm)("controlName",n.Naam)("betaalMethodeLijst",n.BetaalMethodeVeldExtraData.betaalMethodeLijst)("classPrefix",i.data.ClassPrefix)}}function dZ(e,t){if(1&e&&P(0,"dtx-googleplaces",18),2&e){const n=v(3).$implicit,i=v(6);A("myFormGroup",i.myForm)("controlName",n.Naam)("placeholder",n.Placeholder)("classPrefix",i.data.ClassPrefix)("googlePlacesVeldExtraData",n.GooglePlacesVeldExtraData)}}function cZ(e,t){if(1&e&&P(0,"dtx-datepicker",41),2&e){const n=v(4).$implicit,i=v(6);A("datepickerConfig",n.DatepickerVeldExtraData.datepickerConfig)("myFormGroup",i.myForm)("controlName",n.Naam)("bewaard",i.bewaard)}}function uZ(e,t){1&e&&T(0,cZ,1,4,"dtx-datepicker",41),2&e&&M(v(3).$implicit.DatepickerVeldExtraData.datepickerConfig?0:-1)}function hZ(e,t){if(1&e){const n=se();C(0,"dtx-fileupload",43),U("uploadKlaar",function(r){return X(n),J(v(10).fileuploadControlKlaar(r))}),x()}if(2&e){const n=v(4).$implicit,i=v(6);A("classPrefix",i.data.ClassPrefix)("fileuploadData",n.FileuploadVeldExtraDataV2.fileuploadData)("myFormGroup",i.myForm)("controlName",n.Naam)("bewaard",i.bewaard)("DocumentPath",n.FileuploadVeldExtraDataV2.documentPath)("UploadAPI",n.FileuploadVeldExtraDataV2.uploadAPI)("UploadParams",n.FileuploadVeldExtraDataV2.uploadParams)("UploadHeaders",n.FileuploadVeldExtraDataV2.uploadHeaders)("events",i.fileuploadBewaarSubject.asObservable())}}function fZ(e,t){1&e&&T(0,hZ,1,10,"dtx-fileupload",42),2&e&&M(v(3).$implicit.FileuploadVeldExtraDataV2?0:-1)}function pZ(e,t){if(1&e&&(C(0,"div",44)(1,"label",22),P(2,"input",45)(3,"span",46)(4,"span",1),x()()),2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-input-checkboxes"),g(),Pi("for","",i.data.ClassPrefix,"-form-row-control__",n.Naam,""),g(),E("",i.data.ClassPrefix,"-input-checkbox"),Tn("id","",i.data.ClassPrefix,"-",i.data.FormUniqueId,"-form-row-control__",n.Naam,""),ge("name",n.Naam),ge("formControlName",n.Naam),A("dtxDynamicAttributes",i.data.AttributeList),g(2),A("innerHtml",n.Label,It)}}function mZ(e,t){if(1&e){const n=se();C(0,"dtx-checklist",47),U("updateList",function(r){return X(n),J(v(9).updateList(r))}),x()}if(2&e){const n=v(3).$implicit,i=v(6);A("veld",n)("classPrefix",i.data.ClassPrefix)}}function _Z(e,t){if(1&e&&(C(0,"div",44)(1,"label",22),P(2,"input",45)(3,"span",46)(4,"span",1),x()()),2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-input-checkboxes"),g(),Pi("for","",i.data.ClassPrefix,"-form-row-control__",n.Naam,""),g(),E("",i.data.ClassPrefix,"-input-checkbox"),Tn("id","",i.data.ClassPrefix,"-",i.data.FormUniqueId,"-form-row-control__",n.Naam,""),ge("name",n.Naam),ge("formControlName",n.Naam),A("dtxDynamicAttributes",i.data.AttributeList),g(2),A("innerHtml",n.Label,It)}}function gZ(e,t){if(1&e){const n=se();C(0,"div")(1,"button",28),U("click",function(){X(n);const r=v(3).$implicit;return J(v(6).iconButtonClick(r))}),P(2,"i"),x()()}if(2&e){const n=v(3).$implicit,i=v(6);E("",i.data.ClassPrefix,"-form-row-control__input__icon--button"),g(),E("",i.data.ClassPrefix,"-btn-primary"),g(),rn(n.IconButton.FaIcon)}}function vZ(e,t){if(1&e&&(C(0,"div")(1,"a",10),V(2),x()()),2&e){const n=v(3).$implicit;E("",v(6).data.ClassPrefix,"-form-row-control__link"),g(),ge("href",n.Link.Url,Qt),ge("target",n.Link.Target),g(),Ie(n.Link.Label)}}function yZ(e,t){1&e&&P(0,"div",27),2&e&&A("innerHTML",v(4).$implicit.Info,It)}function CZ(e,t){1&e&&V(0),2&e&&xe(" ",v(4).$implicit.Info," ")}function bZ(e,t){if(1&e&&(C(0,"span",21),T(1,yZ,1,1,"div",27)(2,CZ,1,1),x()),2&e){const n=v(3).$implicit;g(),M(n.InfoRich?1:2)}}function xZ(e,t){if(1&e&&(C(0,"span",48),P(1,"i",50),V(2),x()),2&e){const n=v(4).$implicit;g(2),xe(" ",n.Opmerking," ")}}function wZ(e,t){if(1&e&&(C(0,"span",49),P(1,"i",51),V(2),x()),2&e){const n=v(4).$implicit;g(2),xe(" ",n.Opmerking," ")}}function DZ(e,t){if(1&e&&T(0,xZ,3,1,"span",48)(1,wZ,3,1,"span",49),2&e){const n=v(3).$implicit;M(v(6).getControl(n).valid?0:1)}}function SZ(e,t){if(1&e&&(C(0,"span",52),V(1),x()),2&e){const n=v().$implicit;g(),xe(" ",n.Melding," ")}}
1function MZ(e,t){if(1&e&&T(0,SZ,2,1,"span",52),2&e){const n=t.$implicit,i=v(4).$implicit,r=v(6);M(r.getControl(i).hasError(n.Check)&&(r.getControl(i).touched||r.bewaard||n.AutoCheck)?0:-1)}}function EZ(e,t){1&e&&ot(0,MZ,1,1,null,null,rt),2&e&&st(v(3).$implicit.ValidatorMeldingLijst)}function IZ(e,t){if(1&e&&(C(0,"span",52),V(1),x()),2&e){const n=v().$implicit;g(),xe(" ",n.Melding," ")}}function TZ(e,t){if(1&e&&T(0,IZ,2,1,"span",52),2&e){const n=t.$implicit,i=v(4).$implicit,r=v(6);M(r.myForm.hasError(n.Check)&&(r.getControl(i).touched||r.bewaard||n.AutoCheck)?0:-1)}}function AZ(e,t){1&e&&ot(0,TZ,1,1,null,null,rt),2&e&&st(v(3).$implicit.ValidatorMeldingLijstFFormulier)}function FZ(e,t){if(1&e&&(T(0,GY,5,9,"div",0),C(1,"div"),T(2,WY,3,6,"div",0)(3,YY,1,11,"input",12)(4,ZY,1,14,"input",13)(5,JY,5,20)(6,eZ,2,11,"textarea",14)(7,tZ,1,6,"dtx-textarea-rich",15)(8,rZ,4,12,"div",0)(9,sZ,2,5,"div",0)(10,aZ,1,5,"dtx-autocomplete",16)(11,lZ,1,4,"dtx-betaalmethodes",17)(12,dZ,1,5,"dtx-googleplaces",18)(13,uZ,1,1)(14,fZ,1,1)(15,pZ,5,17,"div",19)(16,mZ,1,2,"dtx-checklist",20)(17,_Z,5,17,"div",19)(18,gZ,3,9,"div",0),x(),T(19,vZ,3,6,"div",0),C(20,"div"),T(21,bZ,3,1,"span",21)(22,DZ,2,1)(23,EZ,2,0)(24,AZ,2,0),x()),2&e){let n;const i=v(2).$implicit,r=v(6);M(i.Label&&"cdCheck"!=i.TypeCode&&"cdVoorwaarden"!=i.TypeCode?0:-1),g(),E("",r.data.ClassPrefix,"-form-row-control__input"),g(),M(i.IconPrefix?2:-1),g(),M("cdInput"===(n=i.TypeCode)?3:"cdInputMask"===n?4:"cdWachtwoord"===n?5:"cdTextarea"===n?6:"cdTextareaRich"===n?7:"cdOptieSelect"===n?8:"cdOptieRadio"===n?9:"cdOptieAutocomplete"===n?10:"cdBetaalmethodes"===n?11:"cdGooglePlaces"===n?12:"cdDatepicker"===n?13:"cdFileupload"===n?14:"cdCheck"===n?15:"cdCheckList"===n?16:"cdVoorwaarden"===n?17:-1),g(15),M(i.IconButton?18:-1),g(),M(i.Link?19:-1),g(),E("",r.data.ClassPrefix,"-form-row-control__note"),g(),M(i.Info?21:-1),g(),M(i.Opmerking?22:-1),g(),M(r.getControl(i)&&!r.getControl(i).valid?23:-1),g(),M(i.ValidatorLijstFFormulier?24:-1)}}function kZ(e,t){if(1&e&&(C(0,"div",8),T(1,OY,4,6)(2,qY,4,12,"div",0)(3,FZ,25,15),x()),2&e){const n=v().$implicit,i=v(6);zt("",i.data.ClassPrefix,"-form-row-control ",n.VeldClass,""),A("ngClass",ra(7,xY,i.hasError(n),n.Verplicht)),nt("data-columns",n.Gewicht),g(),M("cdTitel"==n.TypeCode?1:"cdFormulierKnop"==n.TypeCode?2:3)}}function PZ(e,t){1&e&&T(0,kZ,4,10,"div",7),2&e&&M(t.$implicit.Actief?0:-1)}function RZ(e,t){if(1&e&&(C(0,"div")(1,"span",52),V(2),x()()),2&e){const n=v().$implicit;E("",v(7).data.ClassPrefix,"-form-row__note error"),g(2),xe(" ",n.Melding," ")}}function NZ(e,t){if(1&e&&T(0,RZ,3,4,"div",0),2&e){const n=t.$implicit,i=v(7);M(i.myForm.hasError(n.Check)&&(i.bewaard||n.AutoCheck)?0:-1)}}function LZ(e,t){1&e&&ot(0,NZ,1,1,null,null,rt),2&e&&st(v(2).$implicit.ValidatorMeldingLijstFFormulier)}function OZ(e,t){if(1&e&&(C(0,"div",5),ot(1,PZ,1,1,null,null,rt),T(3,LZ,2,0),x()),2&e){const n=v().$implicit,i=v(4);zt("",i.data.ClassPrefix,"-form-row ",n.VeldRijClass,""),A("dtxDynamicAttributes",i.data.AttributeList),g(),st(n.FormulierVeldLijst),g(2),M(n.ValidatorLijstFFormulier&&n.ValidatorLijstFFormulier.length>0?3:-1)}}function VZ(e,t){if(1&e&&T(0,FY,3,5,"div",4)(1,OZ,4,6,"div",4),2&e){const n=t.$implicit;M(n.isInnerContent?0:n.isActief()?1:-1)}}function jZ(e,t){if(1&e&&(C(0,"div")(1,"div")(2,"div")(3,"span",52),V(4),x()()()()),2&e){const n=v().$implicit,i=v(4);zt("",i.data.ClassPrefix,"-form-row ",i.data.FormulierValidatieClass,""),g(),E("",i.data.ClassPrefix,"-form-row-control error"),g(),E("",i.data.ClassPrefix,"-form-row-control__note"),g(2),xe(" ",n.Melding," ")}}function BZ(e,t){if(1&e&&T(0,jZ,5,11,"div",0),2&e){const n=t.$implicit,i=v(4);M(i.checkError(n.Check,"normal")&&(i.bewaard||n.AutoCheck)?0:-1)}}function qZ(e,t){if(1&e&&(C(0,"div")(1,"div")(2,"div")(3,"span",52),V(4),x()()()()),2&e){const n=v().$implicit,i=v(4);zt("",i.data.ClassPrefix,"-form-row ",i.data.FormulierValidatieClass,""),g(),E("",i.data.ClassPrefix,"-form-row-control error"),g(),E("",i.data.ClassPrefix,"-form-row-control__note"),g(2),xe(" ",n.Melding," ")}}
1function zZ(e,t){if(1&e&&T(0,qZ,5,11,"div",0),2&e){const n=t.$implicit,i=v(4);M(i.checkError(n.Check,"async")&&(i.bewaard||n.AutoCheck||i.myForm.valid)?0:-1)}}function UZ(e,t){if(1&e&&(C(0,"div")(1,"div")(2,"div")(3,"span",52),V(4),x()()()()),2&e){const n=t.$implicit,i=v(5);zt("",i.data.ClassPrefix,"-form-row ",i.data.FormulierValidatieClass,""),g(),E("",i.data.ClassPrefix,"-form-row-control error"),g(),E("",i.data.ClassPrefix,"-form-row-control__note"),g(2),xe(" ",n," ")}}function $Z(e,t){1&e&&ot(0,UZ,5,11,"div",0,rt),2&e&&st(v(4).OnExecuteAsyncErrorLijst)}function HZ(e,t){if(1&e){const n=se();C(0,"button",11),U("click",function(){X(n);const r=v().$implicit;return J(v(5).formulierKnopClick(r))}),V(1),x()}if(2&e){const n=v().$implicit,i=v(5);rn(n.classnames),A("ngClass",Xt(6,lf,i.processing||i.inVerwerking||!n.testEnabled())),nt("id",n.id&&n.metValidatie&&i.myForm.valid?n.id:null),g(),xe(" ",n.label," ")}}function GZ(e,t){1&e&&T(0,HZ,2,8,"button",53),2&e&&M(t.$implicit.testZichtbaar()?0:-1)}function WZ(e,t){if(1&e&&(C(0,"div")(1,"div",5),ot(2,GZ,1,1,null,null,rt),x()()),2&e){const n=v(4);zt("",n.data.ClassPrefix,"-form-row ",n.data.FormulierKnopLijstClass,""),g(),E("",n.data.ClassPrefix,"-form-row-buttons"),A("dtxDynamicAttributes",n.data.FormulierKnopRijAttributeList),g(),st(n.data.FormulierKnopLijst)}}function YZ(e,t){if(1&e&&(C(0,"div",3),ot(1,VZ,2,1,null,null,rt),ot(3,BZ,1,1,null,null,rt),ot(5,zZ,1,1,null,null,rt),T(7,$Z,2,0)(8,WZ,4,8,"div",0),x()),2&e){const n=v(3);E("",n.data.ClassPrefix,"-form"),Pi("id","",n.data.ClassPrefix,"-",n.data.FormUniqueId,"-form"),A("formGroup",n.myForm)("dtxDynamicAttributes",n.data.AttributeList),g(),st(n.data.FormulierVeldRijLijst),g(2),st(n.data.ValidatorMeldingLijst),g(2),st(n.data.AsyncValidatorMeldingLijst),g(2),M(n.OnExecuteAsyncErrorLijst&&n.OnExecuteAsyncErrorLijst.length>0?7:-1),g(),M("cdNormaal"==n.data.FormulierKnopLijstTypeCode&&n.data.FormulierKnopLijst&&n.data.FormulierKnopLijst.length>0?8:-1)}}function ZZ(e,t){if(1&e){const n=se();C(0,"button",11),U("click",function(){X(n);const r=v().$implicit;return J(v(4).formulierKnopClick(r))}),V(1),x()}if(2&e){const n=v().$implicit,i=v(4);rn(n.classnames),A("ngClass",Xt(6,lf,i.processing||i.inVerwerking||!n.testEnabled())),nt("id",n.id&&n.metValidatie&&i.myForm.valid?n.id:null),g(),xe(" ",n.label," ")}}function KZ(e,t){1&e&&T(0,ZZ,2,8,"button",53),2&e&&M(t.$implicit.testZichtbaar()?0:-1)}function QZ(e,t){if(1&e&&(C(0,"div")(1,"div",5),ot(2,KZ,1,1,null,null,rt),x()()),2&e){const n=v(3);(function $w(e,t,n,i,r,o,s){sn(Di,In,Zs(F(),e,t,n,i,r,o,s),!0)})("",n.data.ClassPrefix,"-form-row ",n.data.ClassPrefix,"-form-row__outside ",n.data.FormulierKnopLijstClass,""),g(),E("",n.data.ClassPrefix,"-form-row-buttons"),A("dtxDynamicAttributes",n.data.FormulierKnopRijAttributeList),g(),st(n.data.FormulierKnopLijst)}}function XZ(e,t){if(1&e&&T(0,YZ,9,10,"div",2)(1,QZ,4,9,"div",0),2&e){const n=v(2);M(n.myForm?0:-1),g(),M("cdOutside"==n.data.FormulierKnopLijstTypeCode&&n.data.FormulierKnopLijst&&n.data.FormulierKnopLijst.length>0?1:-1)}}function JZ(e,t){if(1&e&&(C(0,"h2"),V(1),x()),2&e){const n=v(3);g(),Ie(n.data.BedanktTitel)}}function eK(e,t){1&e&&P(0,"p",1),2&e&&A("innerHtml",v(3).data.BedanktInfo,It)}function tK(e,t){if(1&e&&(C(0,"div"),T(1,JZ,2,1,"h2")(2,eK,1,1,"p",1),x()),2&e){const n=v(2);E("",n.data.ClassPrefix,"-form--success"),g(),M(n.data.BedanktTitel?1:-1),g(),M(n.data.BedanktInfo?2:-1)}}function iK(e,t){if(1&e&&T(0,AY,3,5,"div",0)(1,XZ,2,2)(2,tK,3,5,"div",0),2&e){const n=v();M(!n.data.Titel&&!n.data.Info||n.inBedankt&&!n.data.MetBedanktIntro?-1:0),g(),M(n.inBedankt?2:1)}}class df{constructor(){(0,h.A)(this,"protocol",""),(0,h.A)(this,"hostnameAPI",""),(0,h.A)(this,"skinFolderName",""),(0,h.A)(this,"localStorageKeyPrefix",""),(0,h.A)(this,"hostnameMedia",""),(0,h.A)(this,"websocketRoot",""),(0,h.A)(this,"routingMeertalig",!0),(0,h.A)(this,"routingIndividueel",!0),(0,h.A)(this,"routingToLower",!1)}}class N{static delay(t){return ma(function*(){yield new Promise(n=>setTimeout(()=>n(null),t))})()}static decodeHtmlTag(t){return null==t?"":t.toString().replace("&lt;","<").replace("&gt;",">")}static removeHtmlTags(t){return t.replace(/<[^>]*>/g,"")}static trimTekst(t,n){return t.length>
1n&&(t=t.substring(0,n-3)+"..."),t}static getNumber(t){return null==t||""==t.toString()?NaN:isNaN(t)?Number(t.toString().replace(",",".")):t}static modulo(t,n){for(;t.length>10;){var r=t.substring(0,10);t=r%n+t.substring(10)}return t%n}static getUniqueString(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var i=16*Math.random()|0;return("x"==n?i:3&i|8).toString(16)})}static getLongStringFromDate(t){return this.stuffIntToString(t.getFullYear())+this.stuffIntToString(t.getMonth()+1)+this.stuffIntToString(t.getDate())+this.stuffIntToString(t.getHours())+this.stuffIntToString(t.getMinutes())+this.stuffIntToString(t.getSeconds())+this.stuffIntToString(t.getUTCMilliseconds())}static logMessage(t,...n){n&&n.length>0?console.log(t,n):console.log(t)}static stuffIntToString(t){return 1==t.toString().length?"0"+t.toString():t.toString()}static myOwnJSONObjectParse(t){try{return JSON.parse(t)}catch{return t}}static myOwnJSONBestandenParse(t,n){try{return t[n]=JSON.parse(t[n]),t}catch{return t}}static myOwnJSONParse(t){try{let i="string"==typeof t||t instanceof String;return null==t||""==t&&i?"":i?(t=(t=(t=t.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"),JSON.parse(t)):t}catch(n){return N.logMessage("myOwnJSONParse error",n,t),t}}static ownStringContain(t,n){return!!t&&t.toString().toLowerCase().indexOf(n.toLowerCase())>=0}static parseStringToURLSafe(t){let n=t;for(n=n.replace(/\W/g," ").split(" ").join("-");n.split("--").length>1;)n=n.split("--").join("-");return"-"==n.charAt(0)&&(n=n.substr(1)),"-"==n.charAt(n.length-1)&&(n=n.substring(0,n.length-1)),n}static randomNumber(t){return Math.floor(Math.random()*t)+1}static roundNumber(t,n){let i=Math.pow(10,n||0);return Math.round(t*i)/i}static formatDatum(t){return t.length<=10?t:t.substring(0,10)}static formatNumber(t,n){return Number(t).toFixed(n)}static formatToEuro(t,n){const r=new Intl.NumberFormat("nl-BE",{style:"currency",currency:"EUR",minimumFractionDigits:2}).format(t);return n?r.replace(/\./g," "):r.substring(2).replace(/\./g," ")}static formatReadableNumber(t,n){var i=(""+t).replace(",","."),r=i.split(".");if(1==r.length){for(var o=r[0],s=0;s<Math.floor((o.length-(1+s))/3);s++)o=o.substring(0,o.length-(4*s+3))+"."+o.substring(o.length-(4*s+3));return n?o+",00":o}if(2==r.length){for(o=r[0],s=0;s<Math.floor((o.length-(1+s))/3);s++)o=o.substring(0,o.length-(4*s+3))+"."+o.substring(o.length-(4*s+3));return o+","+(0==r[1].length?"00":1==r[1].length?r[1]+"0":2==r[1].length?r[1]:r[1].substr(0,2))}return i}static stringToDateSimple(t){var n=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;if(n.test(t)){let i=t.match(n);return new Date(Number(i[3]),Number(i[2])-1,Number(i[1]))}return null}static stringToDate(t,n,i){var o=n.toLowerCase().split(i),s=t.split(i),a=o.indexOf("mm"),l=o.indexOf("dd"),d=o.indexOf("yyyy"),c=parseInt(s[a])-1;return new Date(Number(s[d]),c,Number(s[l]))}static dateToString(t){return[t.getDate().toString().padStart(2,"0"),(t.getMonth()+1).toString().padStart(2,"0"),t.getFullYear()].join("/")}static isJsonString(t){try{JSON.parse(t)}catch{return!1}return!0}static isNullOrEmpty(t){return!t}static isLocalHost(t){return"localhost"==t||!t.includes(".")||!!t.startsWith("10.0.")||!!t.startsWith("192.168.")}static isDatumVoorDatum(t,n){return!(N.stringToDate(t,"dd/MM/yyyy","/")>N.stringToDate(n,"dd/MM/yyyy","/"))}static isDatumGeldig(t,n=!0){if(n&&this.isNullOrEmpty(t))return!1;if(!n&&this.isNullOrEmpty(t))return!0;var i=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;if(!i.test(t))return!1;let r=t.match(i),o=new Date(Number(r[3]),Number(r[2])-1,Number(r[1]));return!(o.getFullYear()!=Number(r[3])||o.getMonth()+1!=Number(r[2])||o.getDate()!=Number(r[1]))}static isGeldigIban(t){if(!t)return!0;let i=String(t);if(i=i.replace(/\./g,"").replace(/ /g,"").replace(/-/g,"").replace(/_/g,""),i.length<15||0==new RegExp("^[a-zA-Z0-9]+$").test(i))return!1;i=(i.substring(4)+i.substring(0,4)).toUpperCase();let o="";for(var s=0;s<i.length;s++){let l=i.charCodeAt(s);o+=l>64&&l<91?String(l-55):String.fromCharCode(l)}return 1===N.modulo(o,97)}static isGeldigRRNr(t){if(!t)return!0;let r,o,i=String(t);return i=i.replace(/\./g,"").replace(/ /g,"").replace(/-/g,"").replace(/_/g,""),11==i.length&&(r=i.substring(0,9),o=i.substring(9),N.isGeldigRRNrCheckModulo(r,o))}static isGeldigRRNrCheckModulo(t,n){let i,r;
1return i=Number(t)+Number(n),r=Math.round(i/97),97*r==i||"0"==t.substring(0,1)&&this.isGeldigRRNrCheckModulo("2"+t,n)}static isGeldigVATBE(t){if(!t)return!0;let r,o,s,a,i=String(t);return"BE"==i.substring(0,2).toUpperCase()&&(i=i.substring(2)),i=i.replace(/\./g,"").replace(/ /g,"").replace(/-/g,"").replace(/_/g,""),!(i.length<9||i.length>10||isNaN(N.getNumber(i)))&&(9==i.length&&(i="0"+i),r=i.substring(0,8),o=i.substring(8),s=Number(r)+Number(o),a=Math.round(s/97),97*a==s)}static isGeldigVAT(t,n){if(!t)return!0;let r=String(t).toUpperCase().replace(/\W/g,"");!n&&/^\d/.test(r)&&(r="BE"+r);const o=r.substring(0,2),s=r.substring(2),a={AT:/^[0-9]{8}$/,BE:/^[0-9]{9,10}$/,BG:/^[0-9]{9,10}$/,CY:/^[0-9]{8}[A-Z]$/,CZ:/^[0-9]{8,10}$/,DE:/^[0-9]{9}$/,DK:/^[0-9]{8}$/,EE:/^[0-9]{9}$/,EL:/^[0-9]{9}$/,ES:/^[0-9A-Z][0-9]{7}[0-9A-Z]$/,FI:/^[0-9]{8}$/,FR:/^[0-9A-Z]{2}[0-9]{9}$/,GB:/^[0-9]{9,12}$/,HU:/^[0-9]{8}$/,IE:/^[0-9A-Z]{8,9}$/,IT:/^[0-9]{11}$/,LT:/^[0-9]{9,12}$/,LU:/^[0-9]{8}$/,LV:/^[0-9]{11}$/,MT:/^[0-9]{8}$/,NL:/^[0-9]{9}B[0-9]{2}$/,PL:/^[0-9]{10}$/,PT:/^[0-9]{9}$/,RO:/^[0-9]{2,10}$/,SE:/^[0-9]{12}$/,SI:/^[0-9]{8}$/,SK:/^[0-9]{10}$/};if(a[o]){if(!a[o].test(s))return!1;if("BE"==r.substring(0,2).toUpperCase()){if(r=r.substring(2),r=r.replace(/\./g,"").replace(/ /g,"").replace(/-/g,"").replace(/_/g,""),r.length<9||r.length>10||isNaN(N.getNumber(r)))return!1;let l,d,c,u;if(9==r.length&&(r="0"+r),l=r.substring(0,8),d=r.substring(8),c=Number(l)+Number(d),u=Math.round(c/97),97*u!=c)return!1}return!0}return!!/^[A-Z]{2}[0-9]+$/.test(r)}static isValidTime(t,n="",i=""){if(!t)return!0;if(!/^([01]\d|2[0-3]):([0-5]\d)$/.test(t))return!1;const[s,a]=t.split(":").map(Number);if(n){const[l,d]=n.split(":").map(Number);if(s<l||s==l&&a<d)return!1}if(i){const[l,d]=i.split(":").map(Number);if(s>l||s==l&&a>d)return!1}return!0}static isBotUserAgent(){const t=navigator.userAgent.toLowerCase();return/bot|crawl|spider|slurp|ahrefs|semrush|facebookexternalhit|embedly|linkedinbot|twitterbot|applebot|pingdom|crawler|yeti|naver|puppeteer|headless/.test(t)}static compareRoute(t,n){return t&&decodeURIComponent(t).startsWith(n)}static prefix(t,n,i,r,o){return i?r?"/"+n+"/"+t:"/"+t:o?"":"/"+t}static focusFirstErrorField(t,n){for(let i of Object.keys(n)){let o,r=t.controls[i];if(r)if(r instanceof cv){if(r.invalid){this.focusFirstErrorField(r,n[i]);break}}else if(r instanceof R9){let s=r;for(let a=0;a<s.controls.length;a++){const l=s.controls[a];if(l.invalid&&l instanceof cv){this.focusFirstErrorField(l,l.value);break}}}
1else if(r.invalid){o=document.querySelector('.ng-invalid[formcontrolname="'+i+'"]'),o||(o=document.querySelector('.ng-invalid[ng-reflect-name="'+i+'"]')),o&&o.focus();break}}}static standaardCKEditorConfig(t,n){let i;return i=n?{items:["undo","redo","|","bold","italic","|","removeFormat","|","numberedList","bulletedList","|","specialCharacters","|","link"]}:{items:["undo","redo","|","bold","italic","|","removeFormat","|","numberedList","bulletedList","|","specialCharacters"]},{title:"Teksteditor",placeholder:t,toolbar:i,link:{addTargetToExternalLinks:!0},language:"nl"}}static standaardQuillEditorConfig(t,n){let i;return i=n?{toolbar:[["bold","italic","underline"],[{list:"ordered"},{list:"bullet"}],[{header:[1,2,3,!1]}],["link","clean"]]}:{toolbar:[["bold","italic","underline"],[{list:"ordered"},{list:"bullet"}],[{header:[1,2,3,!1]}],["clean"]]},i}}var ei=function(e){return e.Decimal="cdDecimal",e.DecimalWhitespace="cdDecimalWhitespace",e.DecimalPositive2="cdDecimalPositive2",e.Email="cdEmail",e.Website="cdWebsite",e.WebsiteIntern="cdWebsiteIntern",e.Link="cdLink",e.TelefoonBe="cdTelefoonBe",e.Int="cdInt",e.Wachtwoord="cdWachtwoord",e.WachtwoordMatig="cdWachtwoordMatig",e.WachtwoordMoeilijk="cdWachtwoordMoeilijk",e.WachtwoordZeerMoeilijk="cdWachtwoordZeerMoeilijk",e.YouTube="cdYouTube",e.Vimeo="cdVimeo",e}(ei||{});class ti{static getPattern(t){return t==ei.Decimal?/^[+-]?((\d+([\.\,]\d*)?)|(\.\d+))$/:t==ei.DecimalWhitespace?/^[\d ]*[\.\,]?\d*$/:t==ei.DecimalPositive2?/^\d+([\.\,]\d{1,2})?$/:t==ei.Email?/^[A-Za-z0-9](\.?[A-Za-z0-9_-]){0,}@[A-Za-z0-9-]+(\.[A-Za-z0-9-]{1,63})?(\.[A-Za-z0-9-]{1,63})?(\.[A-Za-z]{1,63})$/:t==ei.WebsiteIntern?/^\/.*$/:t==ei.Website?/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[A-Za-z0-9]+([\-\.]{1}[A-Za-z0-9]+)*\.[A-Za-z]{1,63}(:[0-9]{1,63})?(\/.*)?$/:t==ei.Link?/^[A-Za-z0-9](\.?[A-Za-z0-9_-]){0,}@[A-Za-z0-9-]+(\.[A-Za-z0-9-]{1,63})?(\.[A-Za-z0-9-]{1,63})?(\.[A-Za-z]{1,63})$|(\/.*$)|((http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[A-Za-z0-9]+([\-\.]{1}[A-Za-z0-9]+)*\.[A-Za-z]{1,63}(:[0-9]{1,63})?(\/.*)?$)/:t==ei.TelefoonBe?/^(((\+|00)32[ ]?(?:\(0\)[ ]?)?)|0){1}(4(60|[789]\d)\/?(\s?\d{2}\.?){2}(\s?\d{2})|(\d\/?\s?\d{3}|\d{2}\/?\s?\d{2})(\.?\s?\d{2}){2})$/:t==ei.Int?/^[-+]?\d+$/:t==ei.Wachtwoord?/^(?=.*?[A-Za-z])(?=(.*[\d]){1,})(?!.*\s).{8,}$/:t==ei.WachtwoordMatig?/^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?!.*\s).{8,}$/:t==ei.WachtwoordMoeilijk?/^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W]){1,})(?!.*\s).{10,}$/:t==ei.WachtwoordZeerMoeilijk?/^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W]){1,})(?!.*\s).{12,}$/:t==ei.YouTube?/(?:youtube(?:-nocookie)?\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/:t==ei.Vimeo?/https?:\/\/(?:www\.)?(?:vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/[^\/]+\/videos\/|album\/\d+\/video\/)?|player\.vimeo\.com\/video\/)(\d+)(?:$|\/|\?)/:(console.error("onbekend patroon ("+t+")"),alert("onbekend patroon ("+t+")"),/^.*/)}static bevatLeveringKost(t,n){return r=>t||n||r.value&&-1!=r.value.Id?null:{geenLeveringKost:!0}}static bevatVerhandelkeuzeCode(t){return i=>t||i.value&&""!=i.value?null:{geenVerhandelkeuzeCode:!0}}static isLeveringskostLogisch(){return n=>{const i=n.get("zonderlevering").value,r=n.get("verhandelkeuzecode").value,o=n.get("leveringkost").value;return i?""==r?null:{leveringskostFout:!0}:"cdLevering"==r?null!=o?null:{leveringskostFout:!0}:"cdAfhaling"==r&&null==o?null:{leveringskostFout:!0}}}static isAfhalingPuntLogisch(){return n=>{const i=n.get("zonderlevering").value,r=n.get("verhandelkeuzecode").value,o=n.get("afhalingpuntid");return i?""==r?null:{afhalingPuntFout:!0}:"cdLevering"==r||"cdAfhaling"==r&&null!=o&&o.value?null:{afhalingPuntFout:!0}}}static uniekInLijst(t,n,i){return o=>{let s=o.value;return s&&("cdOmschrijving"==n&&null!=i.find(a=>a.Id!=t&&a.Omschrijving.toLowerCase()==s.toLowerCase())||"cdNaam"==n&&null!=i.find(a=>a.Id!=t&&a.Naam.toLowerCase()==s.toLowerCase())||"cdWoord"==n&&null!=i.find(a=>a.Id!=t&&a.Woord.toLowerCase()==s.toLowerCase())||"cdCode"==n&&null!=i.find(a=>a.Id!=t&&a.Code.toLowerCase()==s.toLowerCase()))?{nietUniekInLijst:!0}:null}}static elementInLijst(t){return i=>{let r=i.value;return r&&null==t.find(o=>o.toLowerCase()==r.toLowerCase())?{nietElementInLijst:!0}:null}}static elementNietUitgeschakeld(t){return i=>{let r=i.value;return r&&null!=t.find(o=>o.toLowerCase()==r.toLowerCase())?{elementUitgeschakeld:!0}:null}}static bedrijfsgegevensVerplicht(){return t=>"cdZakelijk"!=t.get("klanttypecode").value||t.get("factuurbedrijfsnaam").value&&""!=t.get("factuurbedrijfsnaam").value&&t.get("factuurbtwnr").value&&""!=t.get("factuurbtwnr").value?null:{bedrijfsgegevensFout:!0}}static hasOneOfMultiplePattern(t){return n=>{const i=n.value;let r={multiplePatternInvalid:!0};return t.forEach(o=>{o.test(i)&&(r=null)}),r}}static isIntBetween(t,n){return i=>{let r=N.getNumber(i.value);return isNaN(r)||Number(r)>
1=Number(t)&&Number(r)<=Number(n)?null:{intNotBetween:!0}}}static isFloatBetween(t,n){return i=>{let r=N.getNumber(i.value);return isNaN(r)||r>=t&&r<=n?null:{floatNotBetween:!0}}}static isGeldigDatum(){return t=>N.isDatumGeldig(t.value,!1)?null:{invalidDate:!0}}static isDatumVoorDatumString(t,n,i="nietIsDatumVoorDatumString"){return r=>{if(r.value){let o=N.stringToDate(r.value,"dd/MM/yyyy","/"),s=N.stringToDate(t,"dd/MM/yyyy","/"),a={};return n?o>s&&(a[i]=!0):o<s&&(a[i]=!0),a}return null}}static isValidTime(t="",n=""){return i=>{let r=!0;return i.value&&(r=N.isValidTime(i.value,t,n)),r?null:{notIsValidTime:!0}}}static isGeldigEmail(){return t=>null==t.value||""==t.value||ti.getPattern("cdEmail").test(t.value)?null:{invalidEmail:!0}}static isGeldigEmailLijst(){return t=>{let n=!0;return t.value&&t.value.split(",").forEach(r=>{ti.getPattern("cdEmail").test(r.trim())||(n=!1)}),n?null:{invalidEmailLijst:!0}}}static isGeldigJson(){return t=>null==t.value||""==t.value||N.isJsonString(t.value)?null:{invalidJson:!0}}static isGeldigWachtwoord(){return t=>ti.getPattern("cdWachtwoord").test(t.value)?null:{invalidPassword:!0}}static isGeldigPercentage(){return t=>{if(ti.getPattern("cdDecimalWhitespace"))return Number(N.getNumber(t.value))>=0&&Number(N.getNumber(t.value))<=100?null:{invalidPercent:!0}}}static isSelectieChecked(){return t=>1==t.value?null:{noCheck:!0}}static isSelectLeeg(){return t=>null!=t.value&&"null"!=t.value?null:{noSelect:!0}}static isGeldigIban(){return t=>N.isGeldigIban(t.value)?null:{invalidIban:!0}}static isGeldigRRNr(){return t=>N.isGeldigRRNr(t.value)?null:{invalidRRNr:!0}}static isGeldigVATBE(){return t=>N.isGeldigVATBE(t.value)?null:{invalidVat:!0}}static isGeldigVAT(t){return n=>N.isGeldigVAT(n.value,t)?null:{invalidVat:!0}}static isGoogleResultZonderErrorCode(){return t=>{let n=t.value;return n&&n.FormattedAddress&&n.Latitude&&n.Longitude?n.ErrorCode?new Error(n.ErrorCode):null:{cdNoResult:!0}}}static stringLength(t=0,n=Number.MAX_VALUE){return i=>null!=i.value&&"null"!=i.value&&""!=i.value&&(i.value.length<t||i.value.length>n)?{stringLengthError:!0}:null}static bevatEnkelGeldigeTokens(t){return n=>t.TokenListOngeldig&&t.TokenListOngeldig.length>0?{invalidTokens:!0}:null}static validationWrapper(t,n,i){return r=>{let o=r.get(t);return o&&n(o)?{[i]:!0}:null}}static isWachtwoordGelijk(t="password",n="passwordrepeat"){return i=>{var r,o;return(null===(r=i.get(t))||void 0===r?void 0:r.value)==(null===(o=i.get(n))||void 0===o?void 0:o.value)?null:{passwordNotEqual:!0}}}static isDatumVoorDatum(t="startdatum",n="einddatum"){return i=>i.get(t)&&i.get(t).value&&i.get(n)&&i.get(n).value&&N.stringToDate(i.get(t).value,"dd/MM/yyyy","/")>N.stringToDate(i.get(n).value,"dd/MM/yyyy","/")?{nietIsDatumVoorDatum:!0}:null}static isTimeBeforeTime(t,n,i,r=!0){return o=>{let s=!0;if(o.get(t)&&o.get(t).value&&o.get(n)&&o.get(n).value){const[a,l]=o.get(t).value.split(":").map(Number),[d,c]=o.get(n).value.split(":").map(Number);(a>d||a==d&&l>c||!r&&a==d&&l==c)&&(s=!1)}if(s)return null;if(i){let a={};return a[i]=!0,a}return{notIsTimeBeforeTime:!0}}}static isPostcodeBelgieGeldig(t="postcode",n="land",i){return r=>{var o;if(null!==(o=r.get(n))&&void 0!==o&&o.value){if("BE"==i.find(a=>a.Id==r.get(n).value).Code){let a=N.getNumber(r.get(t).value);return isNaN(a)||!ti.getPattern("cdInt").test(r.get(t).value)?{nietIsPostcodeBelgieGeldig:!0}:Number(a)>=1e3&&Number(a)<=9999?null:{nietIsPostcodeBelgieGeldig:!0}}return null}return null}}static is2FieldsEmptyOrProvided(t,n,i){return r=>{var o,s,a,l;if(null!==(o=r.get(t))&&void 0!==o&&o.value&&null!==(s=r.get(n))&&void 0!==s&&s.value)return null;if(null!==(a=r.get(t))&&void 0!==a&&a.value||null===(l=r.get(n))||void 0===l||!l.value)return null;{let d={};return d[i]=!0,d}}}}class cf{constructor(t){(0,h.A)(this,"straat",void 0),(0,h.A)(this,"nummer",void 0),(0,h.A)(this,"postcode",void 0),(0,h.A)(this,"plaats",void 0),(0,h.A)(this,"land",void 0),t&&(this.straat=this.getAddressComponent(t,"route"),this.nummer=this.getAddressComponent(t,"street_number"),this.postcode=this.getAddressComponent(t,"postal_code"),this.plaats=this.getAddressComponent(t,"locality"),this.land=this.getAddressComponent(t,"country"))}static fromFields(t,n,i,r,o){let s=new cf(null);return s.straat=t,s.nummer=n,s.postcode=i,s.plaats=r,s.land=o,s}getAddressComponent(t,n){const i=t.find(r=>r.types.includes(n));return i?i.long_name:""}}class AA{constructor(){(0,h.A)(this,"FormattedAddress",void 0),(0,h.A)(this,"Latitude",void 0),(0,h.A)(this,"Longitude",void 0),(0,h.A)(this,"ErrorCode",void 0),(0,h.A)(this,"GoogleData",void 0),(0,h.A)(this,"Object",void 0)}}class SQ extends AA{constructor(t){super(),this.FormattedAddress=null==t?void 0:t.formatted_address,this.GoogleData=t,this.FormattedAddress&&(t&&t.geometry&&t.geometry.location&&this.validGeoresultTypes(t)?(this.Latitude=t.geometry.location.lat(),this.Longitude=t.geometry.location.lng(),this.ErrorCode=this.Latitude&&this.Longitude?"":"cdNoLatLong"):this.ErrorCode="c
1dInvalidTypesList")}extractAdressSegments(){return new cf(this.GoogleData.address_components)}validGeoresultTypes(t){let n=["point_of_interest","establishment","premise","street_address"];for(let i of t.types)if(n.includes(i))return!0;return!1}}class MQ extends AA{constructor(t,n,i,r=null){if(super(),this.FormattedAddress=i,this.Object=r,"OK"===t&&n.length>=1){let o;n.length>1?(o=n.find(s=>null!=s.types.find(a=>"premise"==a)),o||(o=n[0])):o=n[0],this.isResultComplete(o)?(this.Longitude=o.geometry.location.toJSON().lng.toString().replace(",","."),this.Latitude=o.geometry.location.toJSON().lat.toString().replace(",","."),this.ErrorCode="",this.GoogleData=o):(this.Latitude=null,this.Longitude=null,this.ErrorCode="cdResultIncomplete",this.GoogleData=o)}else this.Latitude=null,this.Longitude=null,this.ErrorCode="cdNoResult",this.GoogleData=null}isResultComplete(t){let n=t.address_components,i=n.find(o=>null!=o.types.find(s=>"street_number"==s)),r=n.find(o=>null!=o.types.find(s=>"route"==s));return i&&r}extractAdressSegments(){return new cf(this.GoogleData.address_components)}}class EQ{get moduleId(){return this._moduleId}get taalcodeportal(){return this._taalcodeportal}get isHost(){return this._isHost}get metricsGoogle(){return this._metricsGoogle}get googlecloudstorageHosturl(){return this._googlecloudstorageHosturl}get hosturl(){return this._hosturl}get ngVersion(){return this._ngVersion}constructor(t){(0,h.A)(this,"_moduleId",void 0),(0,h.A)(this,"_taalcodeportal",void 0),(0,h.A)(this,"_isHost",!1),(0,h.A)(this,"_metricsGoogle",!1),(0,h.A)(this,"_googlecloudstorageHosturl",void 0),(0,h.A)(this,"_hosturl",void 0),(0,h.A)(this,"_ngVersion",void 0),this._moduleId=t.getAttribute("moduleid"),this._taalcodeportal=t.getAttribute("taalcodeportal"),this._isHost=t.getAttribute("ishost")&&"true"==t.getAttribute("ishost"),this._metricsGoogle=t.getAttribute("metrics-google")&&"true"==t.getAttribute("metrics-google"),this._googlecloudstorageHosturl=t.getAttribute("googlecloudstorage-hosturl"),this._hosturl=t.getAttribute("hosturl"),this._ngVersion=t.getAttribute("ng-version")}toString(){const t={};return this._moduleId&&(t.moduleid=this._moduleId),this._taalcodeportal&&(t.taalcodeportal=this._taalcodeportal),this._isHost&&(t.ishost=this._isHost.toString()),this._metricsGoogle&&(t["metrics-google"]=this._metricsGoogle.toString()),this._googlecloudstorageHosturl&&(t["googlecloudstorage-hosturl"]=this._googlecloudstorageHosturl),this._hosturl&&(t.hosturl=this._hosturl),this._ngVersion&&(t["ng-version"]=this._ngVersion),JSON.stringify(t)}}class IQ{constructor(){(0,h.A)(this,"loggingListInclude_Warn",void 0),(0,h.A)(this,"loggingListExclude_Warn",void 0),(0,h.A)(this,"loggingListInclude_Error",void 0),(0,h.A)(this,"loggingListExclude_Error",void 0),this.loggingListInclude_Warn=[],this.loggingListExclude_Warn=[],this.loggingListInclude_Error=[],this.loggingListExclude_Error=[]}initListsDefault(){return this.initError(null,["[webpack-dev-server]","Timeout",["unexpected end of json","facebook.net"],["Object Not Found Matching Id:","MethodName:update","ParamCount:"]]).initWarn(["Missing translation","missing key"],["[webpack-dev-server]","MetaMask extension not found","connectChrome error","Could not find Angular Material core theme."]),this}initWarnAll(){return this.loggingListInclude_Warn=null,this.loggingListExclude_Warn=null,this}initWarn(t,n){return this.loggingListInclude_Warn=t,this.loggingListExclude_Warn=n,this}addWarn(t,n){return this.loggingListInclude_Warn||(this.loggingListInclude_Warn=[]),this.loggingListExclude_Warn||(this.loggingListExclude_Warn=[]),this.loggingListInclude_Warn.push(...t),this.loggingListExclude_Warn.push(...n),this}initErrorAll(){return this.loggingListInclude_Error=null,this.loggingListExclude_Error=null,this}initError(t,n){return this.loggingListInclude_Error=t,this.loggingListExclude_Error=n,this}addError(t,n){return this.loggingListInclude_Error||(this.loggingListInclude_Error=[]),this.loggingListExclude_Error||(this.loggingListExclude_Error=[]),this.loggingListInclude_Error.push(...t),this.loggingListExclude_Error.push(...n),this}}class TQ{constructor(){(0,h.A)(this,"lijst",[])}add(t,n,i,r,o,s,a,l){let d=new AQ(t,n,i,r,o,s,a,l);return this.lijst.find(u=>u.typeCode==d.typeCode&&u.argumenten==d.argumenten&&u.url==d.url&&u.attributes==d.attributes)?null:(this.lijst.push(d),d)}}class AQ{constructor(t,n,i,r,o,s,a,l){(0,h.A)(this,"typeCode",void 0),(0,h.A)(this,"argumenten",void 0),(0,h.A)(this,"url",void 0),(0,h.A)(this,"attributes",void 0),(0,h.A)(this,"coreServiceConfig",void 0),(0,h.A)(this,"userAgent",void 0),(0,h.A)(this,"isBot",void 0),(0,h.A)(this,"deviceType",void 0),this.typeCode=t,this.argumenten=n,this.url=i,this.attributes=r,this.coreServiceConfig=o,this.userAgent=s,this.isBot=a,this.deviceType=l}}var dt=function(e){return e.api="cdApi",e.duotixBeheer="cdDuotixBeheer",e.duotixBeheerPublic="cdDuotixBeheerPublic",e.portal="cdPortal",e.portalPublic="cdPortalPublic",e.skin="cdSkin",e}(dt||{});class Jv{get moduleAttributes(){return this._moduleAttributes}get coreServiceConfig(){return this._coreServiceConfig}get serviceRoot(){return this._serviceRoot}constructor(t,n){(0,h.A)(this,"dtxModuleService",void 0),(0,h.A)(this,"http",void 0),(0,h.A)(this,"_moduleAttributes",void 0),(0,h.A)(this,"_coreServiceConfig",void 0),(0,h.A)(this,"_serviceRoot",""),(0,h.A)(this,"serviceRootName","duotix.ModuleNaam"),(0,h.A)(this,"serviceRootDevAdd",""),(0,h.A)(this,"apiController","WS"),(0,h.A)(this,"apiControllerPrefix",void 0),(0,h.A)(this,"sf",void 0),(0,h.A)(this,"getOptions",{headers:new $t}),(0,h.A)(this,"postOptions",{headers:new $t}),(0,h.A)(this,"deleteOptions",{headers:new $t}),(0,h.A)(this,"otherheaders",void 0),(0,h.A)(this,"public",!1),(0,h.A)(this,"development",void 0),this.dtxModuleService=t,this.http=n}initModule(t){this._coreServiceConfig=t,this.dtxModuleService.moduleConfigObservable.subscribe(n=>{null!=n&&null!=n&&(null!=n||N.isLocalHost(window.location.hostname))&&this.setModuleAttributes(n)})}setModuleAttributes(t){this._moduleAttributes=t;var n=t.moduleId;this.public?""==n||"-1"==n||null==n?(this.development=!0,this.apiControllerPrefix="",this._serviceRoot=this.coreServiceConfig.protocol+this.coreServiceConfig.hostnameAPI+"/DesktopModules/"):(this.development=!1,this.apiControllerPrefix="",this._serviceRoot=N.isLocalHost(window.location.hostname)?this.coreServiceConfig.protocol+this.coreServiceConfig.hostnameAPI+"/DesktopModules/":window.location.protocol+"//"+window.location.hostname+"/DesktopModules/"):""==n||"-1"==n||null==n?(this.development=!0,this.apiControllerPrefix="Dev",this._serviceRoot=this._coreServiceConfig.protocol+this.coreServiceConfig.hostnameAPI+"/DesktopModules/"):(this.development=!1,this.apiControllerPrefix="",this.sf=$.ServicesFramework(n),this._serviceRoot=this.sf.getServiceRoot(this.serviceRootName)),this.createHeaders()}createHeaders(){let t=new $t({"Content-Type":"application/json"});t=t.append("Cache-control","no-cache"),t=t.append("Cache-control","no-store"),t=t.append("Pragma","no-cache"),t=t.append("Expires","0");let n=new $t({"Content-Type":"application/json"});this.development||this.public?this.otherheaders={}:(t=t.append("ModuleId",this.sf.getModuleId()),t=t.append("TabId",this.sf.getTabId()),t=t.append("RequestVerificationToken",this.sf.getAntiForgeryValue()),n=n.append("ModuleId",this.sf.getModuleId()),n=n.append("TabId",this.sf.getTabId()),n=n.append("RequestVerificationToken",this.sf.getAntiForgeryValue()),this.otherheaders={ModuleId:this.sf.getModuleId(),TabId:this.sf.getTabId(),RequestVerificationToken:this.sf.getAntiForgeryValue()}),this.getOptions.headers=t,this.postOptions.headers=n,this.deleteOptions.headers=n}getBlokDocumentFolderPath(t=dt.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-document/bestand/"}getBlokAfbeeldingFolderPath(t=dt.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-afbeelding/bestand/"}getBlokAfbeeldingPath(t,n,i=dt.duotixBeheer){if(t&&t.length>0){let r=t.find(o=>o.omschrijving==n);if(r){let o=r.bestand;return this.getBlokAfbeeldingFolderPath(i)+o}return""}return""}getBlokGalerijAfbeeldingFolderPath(t=dt.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-galerij/afbeelding/bestand/"}getBlokGalerijAfbeeldingPath(t,n,i=dt.duotixBeheer){if(t&&t.length>0){let r=t.find(o=>o.omschrijving==n).bestand;return this.getBlokGalerijAfbeeldingFolderPath(i)+r}return""}getBlokGalerijVideoFolderPath(t=dt.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-galerij/video/bestand/"}getBlokLijstFolderPath(t=dt.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-lijst/item/bestand/"}getLijstItemAfbeeldingPath(t,n,i=dt.duotixBeheer){if(null!=t&&t.length>0){let r=t.find(o=>o.omschrijving==n).bestand;return this.getBlokLijstFolderPath(i)+r}return""}getAPIPath(){return this.urlPrefix(dt.api)}urlPrefix(t){if(this.development)switch(t){case dt.api:return this.serviceRoot+(this.development||this.public?this.serviceRootDevAdd:"")+this.apiControllerPrefix+this.apiController+"/";case dt.duotixBeheer:return this.moduleAttributes.googlecloudstorageHosturl?this.moduleAttributes.googlecloudstorageHosturl:this.coreServiceConfig.hostnameMedia;default:return this.coreServiceConfig.hostnameMedia}else{let n=window.location.protocol+"//"+window.location.hostname;switch(t){case dt.api:return this.serviceRoot+(this.development||this.public?this.serviceRootDevAdd:"")+this.apiControllerPrefix+this.apiController+"/";case dt.duotixBeheer:return this.moduleAttributes.googlecloudstorageHosturl?this.moduleAttributes.googlecloudstorageHosturl:"";case dt.duotixBeheerPublic:return this.moduleAttributes.googlecloudstorageHosturl?this.moduleAttributes.googlecloudstorageHosturl:n;case dt.portal:return"";case dt.portalPublic:return n;default:return""}}}getSkinPath(){return this.urlPrefix(dt.skin)+"/Portals/_default/Skins/"+(this.coreServiceConfig.skinFolderName?this.coreServiceConfig.skinFolderName:"dtx")+"/"}getOtherheaders(){let t;return t=this.development?{}:{ModuleId:this.sf.getModuleId(),TabId:this.sf.getTabId(),RequestVerificationToken:this.sf.getAntiForgeryValue()},t}getAPIParamConnection(){return"?"}getEmptyString(t){return null==t?"":t}getSingleRecord(t){return 1==t.length?t[0]:(this.addLog("1 record verwacht, "+t.length.toString()+" records teruggekregen."),null)}encodeHtmlTag(t){return null==t?"":t.toString().replace("<","&lt;").replace(">","&gt;")}decodeHtmlTag(t){return null==t?"":t.toString().replace("&lt;","<").replace("&gt;",">")}cleanInput(t){return t.toString().replace(/\u0003/g,"").trim()}cleanBody(t){return Object.keys(t).forEach(i=>
1{"string"==typeof t[i]&&(t[i]=this.cleanInput(t[i]))}),t}addLog(t){}}let FQ=(()=>{var e;class t extends Jv{constructor(i,r,o){super(i,r),(0,h.A)(this,"dtxModuleService",void 0),(0,h.A)(this,"http",void 0),this.dtxModuleService=i,this.http=r,this.apiController="WSCustom",this.serviceRootName="duotix.Beheer",this.serviceRootDevAdd="duotix.Beheer/API/",this.initModule(o)}FStoredProcedure(i,r,o,s=""){if(i.includes(" "))throw new Error("niet uitgevoerd - spatie in de naam");let a={Naam:i,Parameters:r.data,TaalCodeB:o,ConnectionStringAlias:s};return this.http.post(this.getAPIPath()+"FStoredProcedure",a,this.postOptions).pipe(Lr(l=>(console.error("[FStoredProcedure] \u274c API call failed",{naam:i,parameterLijst:null==r?void 0:r.data,taalCodeB:o,connectionStringAlias:s,body:a,error:l,url:this.getAPIPath()+"FStoredProcedure",userAgent:navigator.userAgent,location:location.href}),wd(()=>l))))}SkinsAppDeleteBestandF(i,r){let o={Naam:i,FolderPath:r};return this.http.post(this.getAPIPath()+"SkinsAppDeleteBestandF",o,this.postOptions).pipe(H(s=>this.getSingleRecord(s)))}SkinsAppDeleteFolderF(i){let r={FolderPath:i};return this.http.post(this.getAPIPath()+"SkinsAppDeleteFolderF",r,this.postOptions).pipe(H(o=>this.getSingleRecord(o)))}SkinsAppSelectBestandF(i){let r={FolderPath:i};return this.http.post(this.getAPIPath()+"SkinsAppSelectBestandF",r,this.postOptions)}SkinsAppUpdateBestandF(i,r,o){let s={Naam:i,Inhoud:r,FolderPath:o};return this.http.post(this.getAPIPath()+"SkinsAppUpdateBestandF",s,this.postOptions).pipe(H(a=>this.getSingleRecord(a)))}PDF_Duotix_V1_SelectFJson(i){return this.http.post("https://pdf.duotix.be/api/v1/Pdf/SelectFJson",i,{...this.postOptions,responseType:"blob"}).pipe(H(r=>new Blob([r],{type:"application/pdf"})))}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(k(uf),k(Nn),k(df,8))}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac,providedIn:"root"})),t})(),e0=(()=>{var e;class t extends Jv{constructor(i,r,o,s){super(i,r),(0,h.A)(this,"dtxModuleService",void 0),(0,h.A)(this,"http",void 0),(0,h.A)(this,"customAPIService",void 0),this.dtxModuleService=i,this.http=r,this.customAPIService=o,this.apiController="WSBeheer",this.serviceRootName="duotix.Beheer",this.serviceRootDevAdd="duotix.Beheer/API/",this.initModule(s)}ConsoleInterceptorLogInsert(i){let r={TypeCode:i.typeCode,Argumenten:i.argumenten,Url:i.url,Attributes:i.attributes,CoreServiceConfig:i.coreServiceConfig,UserAgent:i.userAgent,IsBot:i.isBot,DeviceType:i.deviceType};return this.http.post(this.getAPIPath()+"ConsoleInterceptorLogInsert",r,this.postOptions)}EmailWachtrijInsert(i,r,o,s,a,l,d,c,u,f,p){let m={ModuleCode:i,LinkTypeCode:r,LinkId:o,Code:s,VerstuurdVan:a,VerstuurdNaar:l,VerstuurdOnderwerp:d,VerstuurdInhoud:c,VerstuurdReplyTo:u,VerstuurdCC:f,VerstuurdBCC:p};return this.http.post(this.getAPIPath()+"EmailWachtrijInsert",m,this.postOptions).pipe(H(y=>this.getSingleRecord(y)))}EmailWachtrijInsertFFormulier(i,r,o,s,a,l,d,c,u,f){let p={Code:i,VanafMinutes:r,VerstuurdNaar:o,VerstuurdReplyTo:s,VerstuurdCC:a,VerstuurdBCC:l,VerstuurdOnderwerp:d,Skin:c,Formulier:{...u},Bijlages:f};return this.http.post(this.getAPIPath()+"EmailWachtrijInsertFFormulier",p,this.postOptions).pipe(H(m=>this.getSingleRecord(m)))}GoogleRecaptchaCheck(i,r,o,s){let a={Token:i,SiteKey:r,ActieCode:o,Data:s};return this.http.post(this.getAPIPath()+"GoogleRecaptchaCheck",a,this.postOptions).pipe(H(l=>this.getSingleRecord(l)))}GoogleRecaptchaVerify(i){let r={response:i};return this.http.post(this.getAPIPath()+"GoogleRecaptchaVerify",r,this.postOptions)}GoogleRecaptchaVerifyEnterprise(i,r,o){let s={token:i,siteKey:r,action:o};return this.http.post(this.getAPIPath()+"GoogleRecaptchaVerify",s,this.postOptions)}InstellingSelectFCode(i,r,o){return this.http.get(this.getAPIPath()+"InstellingSelectFCode"+this.getAPIParamConnection()+"TaalCode="+i+"&Code="+r+"&ModuleCode="+o,this.getOptions)}LandSelectFLijst(){return this.http.get(this.getAPIPath()+"LandSelectFLijst",this.getOptions)}LocaleSelect(){return this.http.get(this.getAPIPath()+"LocaleSelect",this.getOptions).pipe(H(i=>i.filter(r=>r.Actief)))}NieuwsbriefWachtrijInsert(i,r,o,s,a,l,d,c){let f={TypeCode:i,LijstCo
1de:r,Email:o,LinkTypeCode:s,LinkId:a,MetaData:{merge_tags:l,interests:d,tags:c}};return this.http.post(this.getAPIPath()+"NieuwsbriefWachtrijInsert",f,this.postOptions).pipe(H(p=>this.getSingleRecord(p)))}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(k(uf),k(Nn),k(FQ),k(df,8))}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac,providedIn:"root"})),t})(),PQ=(()=>{var e;class t{constructor(i,r){(0,h.A)(this,"injector",void 0),(0,h.A)(this,"http",void 0),(0,h.A)(this,"beheerAPIService",void 0),(0,h.A)(this,"config",void 0),(0,h.A)(this,"originalWarn",console.warn),(0,h.A)(this,"originalError",console.error),(0,h.A)(this,"loggedItemLijst",new TQ),this.injector=i,this.http=r}initialize(i){return this.config=i,this.interceptConsoleWarn(),this.interceptConsoleError(),this}interceptConsoleWarn(){console.warn=(...i)=>{var r,o,s,a;null!==(r=this.config)&&void 0!==r&&r.loggingListExclude_Warn&&this.matchAny(i,null===(o=this.config)||void 0===o?void 0:o.loggingListExclude_Warn)||(null==(null===(s=this.config)||void 0===s?void 0:s.loggingListInclude_Warn)||this.matchAny(i,null===(a=this.config)||void 0===a?void 0:a.loggingListInclude_Warn))&&this.sendToLoggingService("warn",i)}}interceptConsoleError(){console.error=(...i)=>{var r,o,s,a;const l=i.map(d=>String(d)).join(" ").toLowerCase();if(!(this.shouldSuppress(i)||null!==(r=this.config)&&void 0!==r&&r.loggingListExclude_Error&&this.matchAny(i,null===(o=this.config)||void 0===o?void 0:o.loggingListExclude_Error))){if(l.includes("timeout")){const d=(new Error).stack;return this.originalError.call(console,"[Intercepted Timeout]"),void this.sendToLoggingService("error",[...i,"\nStack Trace:",d])}(null==(null===(s=this.config)||void 0===s?void 0:s.loggingListInclude_Error)||this.matchAny(i,null===(a=this.config)||void 0===a?void 0:a.loggingListInclude_Error))&&this.sendToLoggingService("error",i)}}}shouldSuppress(i){return!!N.isBotUserAgent()||i.some(r=>{var o;return 0===(null==r?void 0:r.status)&&!0===(null==r||null===(o=r.error)||void 0===o?void 0:o.isTrusted)&&"HttpErrorResponse"===(null==r?void 0:r.name)})}sendToLoggingService(i,r){const o=JSON.stringify(r,this.errorSerializer,2);this.beheerAPIService||(this.beheerAPIService=this.injector.get(e0));const s=navigator.userAgent||"unknown";let a=this.loggedItemLijst.add(i,o,location.href,this.beheerAPIService.moduleAttributes.toString(),JSON.stringify({hostnameAPI:this.beheerAPIService.coreServiceConfig.hostnameAPI,hostnameMedia:this.beheerAPIService.coreServiceConfig.hostnameMedia,isDevelopment:this.beheerAPIService.development}),s,N.isBotUserAgent(),this.getDeviceType(s));a&&this.beheerAPIService.ConsoleInterceptorLogInsert(a).subscribe({next:()=>{"error"==i?this.originalError.apply(console,r):"warn"==i&&this.originalWarn.apply(console,r)},error:()=>{"error"==i?this.originalError.apply(console,r):"warn"==i&&this.originalWarn.apply(console,r)}})}matchAny(i,r=[]){const o=this.safeStringify(i).toLowerCase();return r.some(s=>"string"==typeof s?o.includes(s.toLowerCase()):!!Array.isArray(s)&&s.every(a=>o.includes(a.toLowerCase())))}safeStringify(i){const r=new WeakSet;return JSON.stringify(i,(o,s)=>{if("object"==typeof s&&null!==s){if(r.has(s))return"[Circular]";r.add(s)}return s},2)}errorSerializer(i,r){return r instanceof Error?{name:r.name,message:r.message,stack:r.stack}:r}getEnvironmentInfo(){var i;const r=navigator.userAgent||"unknown",o=navigator.platform||"unknown",s=navigator.language||"unknown",a=(null===(i=navigator.languages)||void 0===i?void 0:i.join(", "))||"unknown",l=`${screen.width}x${screen.height}`,d=`${window.innerWidth}x${window.innerHeight}`,c=window.devicePixelRatio||1,u=navigator.onLine?"Online":"Offline",f=navigator.hardwareConcurrency||"unknown",p=navigator.vendor||"unknown",m=(new Date).toISOString(),y=this.getDeviceType(r);return`\n            <p><strong>Timestamp:</strong> ${m}</p>\n            <p><strong>User Agent:</strong> ${r}</p>\n            <p><strong>Is Bot:</strong> ${N.isBotUserAgent()?"Yes":"No"}</p>\n            <p><strong>Platform:</strong> ${o}</p>\n            <p><strong>Vendor:</strong> ${p}</p>\n            <p><strong>Language:</strong> ${s}</p>\n            <p><strong>Languages:</strong> ${a}</p>\n            <p><strong>Device Type:</strong> ${y}</p>\n            <p><strong>Screen Size:</strong> ${l}</p>\n            <p><strong>Viewport Size:</strong> ${d}</p>\n            <p><strong>Pixel Ratio:</strong> ${c}</p>\n            <p><strong>CPU Cores:</strong> ${f}</p>\n            <p><strong>Online:</strong> ${u}</p>\n        `}getDeviceType(i){const r=navigator.maxTouchPoints>0,o=/Mobi|Android/i.test(i)||screen.width<=768&&r,s=screen.width>768&&screen.width<=1024&&r;return o?"Mobile":s?"Tablet":"Desktop"}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(k(ft),k(Nn))}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac,providedIn:"root"})),t})(),uf=(()=>{var e;class t{constructor(i){(0,h.A)(this,"dtxConsoleInterceptorService",void 0),(0,h.A)(this,"moduleConfig",new Gt(null)),(0,h.A)(this,"moduleConfigObservable",this.moduleConfig.asObservable()),(0,h.A)(this,"consoleInterceptorConfig",void 0),this.dtxConsoleInterceptorService=i}getModuleConfig(){return this.moduleConfig}setModuleConfigFNativeElement(i,r,o){let s=new EQ(i);this.moduleConfig.next(s),this.consoleInterceptorConfig=o,this.initConsoleInterceptor(r)}setModuleConfigFModuleAttributes(i,r,o){this.moduleConfig.next(i),this.consoleInterceptorConfig=o,this.initConsoleInterceptor(r)}initConsoleInterceptor(i){i&&this.dtxConsoleInterceptorService.initialize(this.consoleInterceptorConfig)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(k(PQ))}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac,providedIn:"root"})),t})(),FA=(()=>{var e;class t{constructor(i){(0,h.A)(this,"document",void 0),(0,h.A)(this,"isUnloading",!1),(0,h.A)(this,"reportedFailedScripts",new Set),this.document=i,window.addEventListener("beforeunload",()=>{this.isUnloading=!0})}loadScript(i,r=!1,o=15e3){return new Ae(s=>{const a=this.document.querySelector(`script[src="${i}"]`);if(a&&"true"!==a.dataset.failed)return s.next(a),void s.complete();const l=this.document.createElement("script");l.type="text/javascript",l.src=i,l.async=!0,l.defer=!0;const d=setTimeout(()=>{!l.dataset.failed&&!this.isUnloading&&(l.dataset.failed="true",this.reportedFailedScripts.add(i),console.error("\u23f0 Script load timeout - "+i,"autoload",r),s.next(""),s.complete())},o);l.onload=()=>{clearTimeout(d),s.next(l),s.complete()},l.onerror=c=>{if(clearTimeout(d),this.isUnloading)s.complete();else if(l.dataset.failed="true",!N.isBotUserAgent()){if(!this.reportedFailedScripts.has(i)){this.reportedFailedScripts.add(i);const u=Array.from(this.document.getElementsByTagName("script")).filter(p=>"true"!==p.dataset.failed).map(p=>p.src).filter(p=>!!p),f=Array.from(this.document.getElementsByTagName("script")).filter(p=>"true"==p.dataset.failed).map(p=>p.src).filter(p=>!!p);(r||!l.src.startsWith("https://www.google.com/recaptcha/enterprise.js"))&&console.error("Script load failed - "+i,c,"loadedscripts",u,"failedscripts",f,"autoload",r)}s.next(""),s.complete()}},this.document.body.appendChild(l)})}loadStyle(i){return new Ae(r=>{const o=this.document.querySelector(`link[href="${i}"]`);if(o)return r.next(o),void r.complete();const s=this.document.createElement("link");s.rel="stylesheet",s.href=i,s.onload=()=>{r.next(s),r.complete()},s.onerror=()=>{r.error(new Error("CSS load failed"))},this.document.head.appendChild(s)})}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(k(Fe))}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac,providedIn:"root"})),t})(),RQ=(()=>{var e;class t{constructor(i,r){(0,h.A)(this,"beheerAPIService",void 0),(0,h.A)(this,"scriptLoaderService",void 0),(0,h.A)(this,"recaptchaExecutionSubscription",void 0),this.beheerAPIService=i,this.scriptLoaderService=r}recaptchaCheck(i,r,o,s,a=1){return new Ae(l=>{this.beheerAPIService.development?(this.recaptchaIsLoaded()||(console.error("Recaptcha script not loaded"),alert("Recaptcha script not loaded")),l.next(!0)):(this.recaptchaExecutionSubscription&&this.recaptchaExecutionSubscription.unsubscribe(),this.recaptchaIsLoaded()?this.executeRecaptcha(i,r,o,s,a,l):this.scriptLoaderService.loadScript("https://www.google.com/recaptcha/enterprise.js?render="+i.recaptchaSiteKey,!0).subscribe(d=>{this.executeRecaptcha(i,r,o,s,a,l)}))})}executeRecaptcha(i,r,o,s,a,l){this.recaptchaExecutionSubscription=this.recaptchaGetToken(i.recaptchaSiteKey,o).subscribe({next:d=>{this.beheerAPIService.GoogleRecaptchaVerifyEnterprise(d,i.recaptchaSiteKey,o).subscribe({next:c=>{this.recaptchaIsResultOk(c,i.minRecaptchaScore)||i.zonderBlokkeren()?l.next(!0):this.recaptchaErrorTrigger("Recaptcha error - Result success/score","Result success/score",`<strong>Result: </strong>${JSON.stringify(c)}<br/><strong>Token: </strong>${d}<br/><strong>Counter: </strong>${a}<br/><strong>Data: </strong>${JSON.stringify(r)}`).subscribe(()=>{a>=s?l.next(!1):setTimeout(()=>{this.recaptchaCheck(i,r,o,s,a+1).subscribe(u=>l.next(u))},250*a)})},error:c=>{i.zonderBlokkeren()?l.next(!0):this.recaptchaErrorTrigger("Recaptcha error - Verify","Verify",`<strong>Error: </strong>${JSON.stringify(c)}<br/><strong>Token: </strong>${d}<br/><strong>Counter: </strong>${a}<br/><strong>Data: </strong>${JSON.stringify(r)}`).subscribe(()=>{a>=s?l.next(!1):setTimeout(()=>{this.recaptchaCheck(i,r,o,s,a+1).subscribe(u=>l.next(u))},250*a)})}})},error:d=>{i.zonderBlokkeren()?l.next(!0):this.recaptchaErrorTrigger("Recaptcha error - Token","Token",`<strong>Error: </strong>${JSON.stringify(d)}<br/><strong>Counter: </strong>${a}<br/><strong>Data: </strong>${JSON.stringify(r)}`).subscribe(()=>{a>=s?l.next(!1):setTimeout(()=>{this.recaptchaCheck(i,r,o,s,a+1).subscribe(c=>l.next(c))},250*a)})}})}recaptchaCheckV2(i,r,o){return new Ae(s=>{this.beheerAPIService.development?(this.recaptchaIsLoaded()||(console.error("Recaptcha script not loaded"),alert("Recaptcha script not loaded")),s.next(!0)):(this.recaptchaExecutionSubscription&&this.recaptchaExecutionSubscription.unsubscribe(),this.recaptchaIsLoaded()?this.executeRecaptchaV2(i,r,o,s):this.scriptLoaderService.loadScript("https://www.google.com/recaptcha/enterprise.js?render="+i,!0).subscribe(a=>{this.executeRecaptchaV2(i,r,o,s)}))})}executeRecaptchaV2(i,r,o,s){this.recaptchaExecutionSubscription=this.recaptchaGetToken(i,r).subscribe({next:a=>{this.beheerAPIService.GoogleRecaptchaCheck(a,i,r,JSON.stringify(o)).subscribe({next:l=>
1{s.next("cdOk"==l.ReturnCode)},error:l=>{s.next(!1)}})},error:a=>{this.recaptchaErrorTrigger("Recaptcha error - Token","Token","<strong>Error: </strong>"+JSON.stringify(a)+"<br/><strong>Data: </strong>"+JSON.stringify(o)).subscribe(l=>{s.next(!1)})}})}recaptchaGetToken(i,r){return new Ae(o=>{try{grecaptcha.enterprise.ready(ma(function*(){const s=yield grecaptcha.enterprise.execute(i,{action:r});o.next(s)}))}catch(s){o.error(s)}})}recaptchaIsResultOk(i,r){return(!i.error||!i.error.code)&&(Number(i.riskAnalysis.score)>=r||"BROWSER_ERROR"==i.tokenProperties.invalidReason)}recaptchaErrorTrigger(i,r,o){return this.beheerAPIService.EmailWachtrijInsert("cdCustom","cdRecaptchaError",1,"cdCustom","","[email protected]",i,"<h>Recaptcha error</h1><p>Type: "+r+"</p><p>"+o+"</p><p>"+location.href+"</p><p>User agent: "+window.navigator.userAgent+"</p>",null,null,null)}recaptchaIsLoaded(){return Array.from(document.scripts).some(r=>r.src.startsWith("https://www.google.com/recaptcha/enterprise.js")&&"true"!==r.dataset.failed)&&typeof grecaptcha<"u"&&!!grecaptcha.enterprise}gtagEvent(i,r){const o=window.gtag;(location.hostname.includes(".sayhey.be")&&!location.hostname.includes("www.sayhey.be")||location.hostname.includes("localhost"))&&N.logMessage("gtagEvent",i,r,"gtagFn:",o,"isgtagFn:","function"==typeof o),"function"==typeof o&&gtag("event",i,r)}gtagPageload(i,r){const o=window.gtag;(location.hostname.includes(".sayhey.be")&&!location.hostname.includes("www.sayhey.be")||location.hostname.includes("localhost"))&&N.logMessage("gtagPageload",i,r,"gtagFn:",o,"isgtagFn:","function"==typeof o),"function"==typeof o&&gtag("page_load",i,r)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(k(e0),k(FA))}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac,providedIn:"root"})),t})(),NQ=(()=>{var e;class t{static forRoot(i){return{ngModule:t,providers:[{provide:df,useValue:i}]}}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({})),t})(),LQ=(()=>{var e;class t{constructor(){(0,h.A)(this,"loading",!1),(0,h.A)(this,"optieLijst",void 0),(0,h.A)(this,"myFormGroup",void 0),(0,h.A)(this,"controlName",""),(0,h.A)(this,"classPrefix","dtx"),(0,h.A)(this,"placeholder",""),(0,h.A)(this,"filterZoekwoorden",!1),(0,h.A)(this,"filteredOptieLijstAsync",void 0),(0,h.A)(this,"optieGeselecteerd",void 0),(0,h.A)(this,"filteredOptieLijst",[])}ngOnInit(){this.filteredOptieLijstAsync=this.myFormGroup.get(this.controlName).valueChanges.pipe(Bh(""),H(i=>this._filterOptieLijst(i?"string"==typeof i?i:i.Waarde:""))),this.myFormGroup.get(this.controlName).valueChanges.subscribe(i=>{"string"==typeof i&&(this.optieGeselecteerd=null)}),this.filteredOptieLijstAsync.subscribe(i=>{this.filteredOptieLijst=i})}ngOnChanges(i){}_filterOptieLijst(i){const r=i.toLowerCase().trim();if(this.filterZoekwoorden){let o=r.split(" ");return this.optieLijst.filter(s=>{const a=s.Waarde.toLowerCase();return o.every(l=>a.includes(l))})}return this.optieLijst.filter(o=>o.Waarde.toLowerCase().includes(r))}displayOptie(i){return i&&i.Waarde?i.Waarde:""}processSelectedOption(i){this.optieGeselecteerd=i.option.value}get dynamicHeight(){return 50*Math.min(this.filteredOptieLijst.length,5)+"px"}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-autocomplete"]],inputs:{loading:"loading",optieLijst:"optieLijst",myFormGroup:"myFormGroup",controlName:"controlName",classPrefix:"classPrefix",placeholder:"placeholder",filterZoekwoorden:"filterZoekwoorden"},features:[je],decls:6,vars:17,consts:[["auto","matAutocomplete"],[3,"formGroup"],["type","text",3,"id","name","placeholder","formControlName","matAutocomplete"],["autoActiveFirstOption","","disableRipple","",3,"optionSelected","displayWith"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){if(1&i){const o=se();Co(0,1),P(1,"input",2),C(2,"mat-autocomplete",3,0),U("optionSelected",function(a){return X(o),J(r.processSelectedOption(a))}),T(4,N$,2,2,"mat-option",4),Ri(5,"async"),x(),bo()}if(2&i){const o=function ID(e){return to(mC(),Y+e)}(3);A("formGroup",r.myFormGroup),g(),E("",r.classPrefix,"-input-text"),Pi("id","",r.classPrefix,"-form-row-control__",r.controlName,""),ge("formControlName",r.controlName),A("name",r.controlName)("placeholder",r.placeholder)("matAutocomplete",o),g(),rn(r.classPrefix+"-form-row-control__autocomplete"),A("displayWith",r.dis
1playOptie),g(2),A("ngForOf",Zl(5,15,r.filteredOptieLijstAsync))}},dependencies:[ld,Ro,No,Fr,Pn,kr,e$,HT,pA,qM],styles:[".dtx-form-row-control__autocomplete,.cdk-overlay-connected-position-bounding-box .dtx-form-row-control__autocomplete{z-index:9999}.cdk-overlay-container .cdk-overlay-connected-position-bounding-box{z-index:9998}.cdk-overlay-container,.cdk-global-overlay-wrapper{--mat-autocomplete-background-color: #ffffff;top:0;left:0;height:100%;width:100%;pointer-events:none}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important;position:absolute;overflow-y:scroll!important;pointer-events:auto!important;z-index:auto!important}.cdk-overlay-pane{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;max-height:100%;width:100%;max-width:100%!important;pointer-events:auto;box-sizing:border-box;z-index:1002}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;transition:opacity .42s cubic-bezier(.25,.8,.25,1);z-index:1000}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast: active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#565555cc}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:absolute;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%}.mat-dialog-container{padding:24px;max-width:840px;margin:0 auto;overflow:inherit!important}.mat-mdc-autocomplete-panel{background-color:#fff;border:solid 1px #DDDDDD}\n"],encapsulation:2})),t})(),OQ=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({imports:[Fn,Pr,ar,r$]})),t})(),VQ=(()=>{var e;class t{constructor(){(0,h.A)(this,"loading",!1),(0,h.A)(this,"betaalMethodeLijst",void 0),(0,h.A)(this,"myFormGroup",void 0),(0,h.A)(this,"controlName",""),(0,h.A)(this,"classPrefix","dtx")}ngOnInit(){}ngOnChanges(i){}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-betaalmethodes"]],inputs:{loading:"loading",betaalMethodeLijst:"betaalMethodeLijst",myFormGroup:"myFormGroup",controlName:"controlName",classPrefix:"classPrefix"},features:[je],decls:1,vars:1,consts:[[3,"formGroup","class",4,"ngIf"],[3,"formGroup"],[3,"class",4,"ngFor","ngForOf"],["type","radio",3,"value","formControlName","id","name"],[3,"innerHTML"],[3,"class",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 30 30"],["fill","none"],["d","M9.57184 0h10.85632c3.32834 0 4.53527.34655 5.75206.9973s2.17174 1.60569 2.82248 2.82248S30 6.2435 30 9.57184v10.85632c0 3.32834-.34655 4.53527-.9973 5.75206s-1.60569 2.17174-2.82248 2.82248S23.7565 30 20.42816 30H9.57184c-3.32834 0-4.53527-.34655-5.75206-.9973S1.64804 27.39701.9973 26.18022 0 23.7565 0 20.42816V9.57184C0 6.2435.34655 5.03657.9973 3.81978 1.64804 2.60298 2.60299 1.64804 3.81978.9973 5.03657.34655 6.2435 0 9.57184 0z","fill","#000"],["cx","11.25","cy","15","fill","#e7001a","r","5.625"],["cx","18.75","cy","15","fill","#f49b1c","r","5.625"],["d","M15.01127 10.81459c1.13951 1.0384 1.86373 2.55335 1.86373 4.25846 0 1.62676-.72422 3.10538-1.86373 4.12694-1.16205-1.02156-1.88627-2.50018-1.88627-4.12694 0-1.70511.72422-3.22006 1.88627-4.25846z","fill","#e7001a","opacity",".3"],["d","M9.57184 0h10.85632c3.32834 0 4.53527.34655 5.75206.9973s2.17174 1.60569 2.82248 2.82248S30 6.2435 30 9.57184v10.85632c0 3.32834-.34655 4.53527-.9973 5.75206s-1.60569 2.17174-2.82248 2.82248S23.7565 30 20.42816 30H9.57184c-3.32834 0-4.53527-.34655-5.75206-.9973S1.64804 27.39701.9973 26.18022 
10 23.7565 0 20.42816V9.57184C0 6.2435.34655 5.03657.9973 3.81978S2.60299 1.64804 3.81978.9973 6.2435 0 9.57184 0z","fill","#1d18f5"],["d","M14.81945 13.93617c-.01317 1.04473.9251 1.62777 1.63192 1.97438.72622.35569.97014.58374.96737.90176-.00554.4868-.57931.7016-1.11636.70997-.93688.01465-1.48154-.25456-1.91464-.4582l-.33748 1.5894c.43449.20156 1.23902.3773 2.07334.38498 1.9583 0 3.23958-.9729 3.24651-2.4814.00762-1.9144-2.63116-2.02041-2.61315-2.87614.00624-.25944.25224-.53631.79136-.60675.2668-.03557 1.0034-.06277 1.83842.3243l.32777-1.5378c-.44904-.1646-1.02627-.3222-1.74487-.3222-1.84327 0-3.1398.98614-3.15019 2.3977m8.04456-2.2652c-.35757 0-.659.20992-.79344.53213l-2.79747 6.72238H21.23l.38945-1.08309h2.3914l.2259 1.08309h1.72478l-1.5051-7.25451zm.27372 1.95974l.56476 2.7241h-1.54668zm-10.69097-1.95974l-1.54253 7.25451h1.86475l1.54184-7.25451zm-2.75867 0l-1.94098 4.9377-.78512-4.19844c-.09217-.46866-.45597-.73926-.85997-.73926H2.92896l-.04434.21062c.65138.14227 1.39146.37172 1.8398.61721.27441.14995.35272.28106.4428.63744l1.4871 5.78924h1.97077l3.0213-7.25451z","fill","#fff"],["fill","none","fill-rule","evenodd"],["d","M7.73816 0h14.52368C26.53551 0 30 3.46618 30 7.74194v14.51612C30 26.53382 26.5355 30 22.26184 30H7.73816C3.46449 30 0 26.53382 0 22.25806V7.74194C0 3.46618 3.4645 0 7.73816 0z","fill","#fff"],["d","M7.73816.5C3.74069.5.5 3.74227.5 7.74194v14.51612C.5 26.25773 3.74069 29.5 7.73816 29.5h14.52368c3.99747 0 7.23816-3.24227 7.23816-7.24194V7.74194C29.5 3.74227 26.25931.5 22.26184.5z","stroke","#000","stroke-opacity",".1"],["fill-rule","nonzero"],["d","M2.67321 16.7126c0-.62721.5118-1.13568 1.14142-1.13568h3.47615L5.55919 17.3077h6.92635l3.46318-4.03846h7.50354l-5.00548 5.50343c-.42331.46543-1.27439.84272-1.90676.84272H3.8135c-.62976 0-1.14029-.51147-1.14029-1.13568z","fill","#00549d"],["d","M26.91544 13.85912c0 .63009-.50755 1.14088-1.14001 1.14088h-4.05475l1.73158-1.73077h-7.50354l-2.88598 4.03846H5.55919l5.04094-6.04626c.40373-.48425 1.24068-.87681 1.86436-.87681H25.7821c.62593 0 1.13334.51156 1.13334 1.14088z","fill","#ffd800"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24"],["id","dtx-best-paypal","x1","0%","y1","0%","y2","100%"],["offset","0","stop-color","#00457c"],["offset","1","stop-color","#0079c1"],["d","M6 0h12c3.3137 0 6 2.6863 6 6v12c0 3.3137-2.6863 6-6 6H6c-3.3137 0-6-2.6863-6-6V6c0-3.3137 2.6863-6 6-6z","fill","url(#dtx-best-paypal)"],["d","M9.47947 13.23021c-.1094.59273-.54388 3.35568-.67203 4.13671-.00938.05557-.03126.07718-.09377.07718H6.38188c-.23755 0-.40947-.20375-.3782-.4291L7.83533 5.53407c.04689-.29636.3157-.52171.62514-.52171 4.76046 0 5.16056-.11423 6.37646.35192 1.87855.7193 2.05047 2.45425 1.37531 4.3312-.67203 1.93253-2.26614 2.76296-4.37912 2.78765-1.35656.02161-2.17237-.2161-2.35366.74708zm7.67987-4.44233c-.05626-.04014-.07814-.05557-.09377.04013-.06251.35193-.1594.6946-.27506 1.03726-1.24716 3.51312-4.7042 3.2075-6.39208 3.2075-.19067 0-.3157.10187-.3407.29019-.70642 4.33428-.84708 5.2388-.84708 5.2388-.03125.21919.1094.39824.33133.39824h1.98483c.2688 0 .49073-.19449.54387-.45998.02188-.1667-.03438.18832.4501-2.81852.14379-.67916.44698-.60816.91584-.60816 2.21926 0 3.9509-.88908 4.46664-3.4668.20318-1.07432.14379-2.2042-.74392-2.85866z","fill","#fff"],["d","M7.5 0h15C26.64214 0 30 3.35786 30 7.5v15c0 4.14214-3.35786 7.5-7.5 7.5h-15C3.35786 30 0 26.64214 0 22.5v-15C0 3.35786 3.35786 0 7.5 0z","fill","#007aff"],["d","M20.3681 11.94073l.7631-1.65676C19.93756 9.1417 18.31335 8.4375 16.52175 8.4375c-2.78946 0-5.17582 1.70589-6.155 4.12066h-1.4881L8 14.46555h1.91432c-.01436.17694-.02377.35404-.02377.5347 0 .21862.01133.43466.03255.64812h-.96195l-.87849 1.90804h2.32971c1.00711 2.35369 3.36363 4.00609 6.10937 4.00609 1.38371 0 2.6677-.4198 3.73082-1.13693v-2.33835c-.85615.98698-2.10837 1.61071-3.50438 1.61071-1.63203 0-3.06745-.85205-3.90317-2.14152h4.87836l.87865-1.90804h-6.4748c-.03335-.22961-.05123-.46424-.05123-.70323 0-.16159.00814-.32156.02362-.4796h7.0469l.87849-1.90738h-7.31611c.80923-1.4139 2.3147-2.36533 4.03929-2.36533 1.46 0 2.76313.6811 3.61991 1.7479z","fill","#fc0"],["d","M9.57184 0h10.85632c3.32834 0 4.53527.34655 5.75206.9973s2.17174 1.60569 2.82248 2.82248S30 6.2435 30 9.57184v10.85632c0 3.32834-.34655 4.53527-.9973 5.75206s-1.60569 2.17174-2.82248 2.82248S23.7565 30 20.42816 30H9.57184c-3.32834 0-4.53527-.34655-5.75206-.9973S1.64804 27.39701.9973 26.18022 
10 23.7565 0 20.42816V9.57184C0 6.2435.34655 5.03657.9973 3.81978S2.60299 1.64804 3.81978.9973 6.2435 0 9.57184 0z","fill","#d50043","fill-rule","nonzero"],["d","M7.78125 9.73037c0-1.35261 1.08516-2.44912 2.44912-2.44912h9.53926c1.35261 0 2.44912 1.08516 2.44912 2.44912v11.98838H10.23037c-1.35261 0-2.44912-1.08516-2.44912-2.44912zM10.875 12.3169v.2412c0 .51297.4094.91065.91442.91065h6.42116c.5165 0 .91442-.40771.91442-.91065v-.2412c0-.51297-.4094-.91065-.91442-.91065h-6.42116c-.5165 0-.91442.40771-.91442.91065zm0 4.125v.2412c0 .51297.4094.91065.91442.91065h6.42116c.5165 0 .91442-.40771.91442-.91065v-.2412c0-.51297-.4094-.91065-.91442-.91065h-6.42116c-.5165 0-.91442.40771-.91442.91065z","fill","#fff"],["d","M7.73816 0h14.52368C26.53551 0 30 3.46618 30 7.74194v14.51612C30 26.53382 26.5355 30 22.26184 30H7.73816C3.46449 30 0 26.53382 0 22.25806V7.74194C0 3.46618 3.4645 0 7.73816 0z","fill","#fff","fill-rule","nonzero"],["d","M6.06448 6.01712v17.21664h11.41297c2.49296-.03712 4.468-.65312 5.8694-1.8392 1.70446-1.4425 2.56878-3.71996 2.56878-6.76915 0-1.45755-.22728-2.76497-.67567-3.88586-.42886-1.07228-1.0626-1.98399-1.88375-2.70983-1.44609-1.27833-3.47586-1.96955-5.87876-2.00882 0-.00002-3.80432-.00128-11.41297-.00379z","fill","#fff"],["d","M8.271 20.962h3.181v-5.254H8.271zM11.69214 13.08107c0 .98913-.80623 1.79146-1.80065 1.79146-.99436 0-1.80063-.80233-1.80063-1.79146 0-.98914.80627-1.7911 1.80063-1.7911.99442 0 1.80065.80196 1.80065 1.7911z","fill","#0a0b09"],["d","M17.2615 7.16059c2.21187 0 4.0553.5961 5.33117 1.7239 1.4421 1.27487 2.17333 3.20637 2.17333 5.74092 0 5.02304-2.45465 7.4649-7.5045 7.4649H7.21403V7.1606zm.21595-1.14348H6.06448v17.21666h11.41297v-.0033c2.49296-.03383 4.468-.64983 5.8694-1.8359 1.70446-1.44252 2.56878-3.71997 2.56878-6.76916 0-1.45755-.22728-2.76497-.67567-3.88586-.42886-1.07228-1.0626-1.98398-1.88375-2.70983-1.44609-1.27833-3.47586-1.96955-5.87876-2.00882v-.00378z","fill","#0a0b09"],["d","M16.9475 20.96778h-4.03493V8.5526h4.03493-.16284c3.36498 0 6.94679 1.32097 6.94679 6.22391 0 5.18328-3.58181 6.19127-6.9468 6.19127z","fill","#cd0067"],["fill","#fffffe"],["d","M12.8228 12.26386v1.97452h.45367c.16968 0 .29216-.00949.36744-.02846.09853-.02441.18028-.06577.24531-.12406.06497-.05828.11805-.1542.1591-.28773s.0616-.31552.0616-.54599c0-.23045-.02054-.40737-.0616-.53076-.04105-.12333-.09853-.21958-.17243-.28871-.0739-.06917-.16767-.11592-.28125-.14035-.08487-.01895-.25113-.02846-.49881-.02846zm-.60556-.5064h1.10781c.24985 0 .44029.01902.57137.05705.17608.05162.32693.14332.45254.27512.12559.13176.22114.29308.28668.48395.06554.19086.09832.42622.09832.70604 0 .24592-.03075.45782-.09217.63577-.07508.21739-.18226.3933-.32148.5278-.10514.1019-.24712.18134-.42596.2384-.13381.04214-.31262.06317-.53652.06317h-1.1406zM15.419 14.745v-2.988h2.223v.507h-1.617v.661h1.504v.507h-1.504v.806H17.7v.507zM19.97463 13.56046l-.41399-1.10672-.40565 1.10672zm1.11635 1.1843h-.65968l-.26207-.67791h-1.19982l-.24856.67791h-.64336l1.16707-2.9873h.64542zM21.597 14.745v-2.963h.606v2.456h1.509v.507z"],["d","M15.11252 12.9554c2.22904 0 4.03587-1.80555 4.03587-4.03273 0-2.22702-1.80683-4.03264-4.03587-4.03264-2.22898 0-4.0358 1.80562-4.0358 4.03264 0 2.22718 1.80682 4.03272 4.0358 4.03272z","fill","#019acc"],["d","M14.2248 13.85136c-1.34975 0-2.51214-.52417-3.25134-1.10684-4.40621.46203-7.68311 1.11689-7.68311 1.11689v1.71467h23.41941v-3.61019s-4.04937-.0248-8.62042.21953c-.76877.83284-2.12483 1.66594-3.86454 1.66594z","fill","#019acc"],["fill","#003466"],["d","M6.067 23.109H3.29v-6.457h2.777v2.906l1.651-2.906h3.329l-2.438 3.337 2.3 3.12H7.732l-1.646-2.427zM26.6657 22.7659c-.65532.21543-1.51656.34277-2.28718.34277-2.74716 0-4.76402-.84085-4.76402-3.28633 0-2.20999 1.95485-3.17019 4.62714-3.17019.74273 0 1.6861.08827 2.42407.34197l-.001 2.14063c-.54689-.35671-1.09378-.57906-1.877-.57906-1.01924 0-2.0379.54052-2.0379 1.32507 0 .78661 1.01412 1.32527 2.0379 1.32527.77068 0 1.33011-.22982 1.877-.5701zm-12.38722-3.37747h1.383c.5345 0 .74388-.24176.74388-.6125 0-.42486-.21127-.63697-.7053-.63697h-1.42174zm0 2.4076h1.4478c.5426 0 .72748-.25086.72748-.6214 0-.37074-.1867-.63707-.7213-.63707h-1.45414zm-2.77676-5.14388h5.61314c1.4581 0 1.93597.63302 1.93597 1.6185
15 0 1.10318-.883 1.58255-1.79008 1.6366v.01822c.93133.08148 1.83858.19886 1.83858 1.50099 0 .85019-.47787 1.68216-2.08168 1.68216h-5.51593z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 29 29"],["d","M7.23816 0C3.24069 0 0 3.24227 0 7.24194v14.51612C0 25.75773 3.24069 29 7.23816 29h14.52368C25.75931 29 29 25.75773 29 21.75806V7.24194C29 3.24227 25.75931 0 21.76184 0z","fill","#ff821e"],["d","M17.44035 9c-1.0343 0-2.03906 0-2.93948.43913-.89976.43922-1.69456 1.31832-2.30622 3.07647-.13257.378-.20269.70368-.21188.9864-.00918.28335.04203.52438.1536.7339.13781.25559.36096.49603.63988.69861.27958.2032.61354.36797.97384.47336.01378.00379.20287.0555.43258.1186.22838.06311.49545.13876.66477.18798.09909.02903.20794.06694.3064.12437.09908.05617.18774.13185.24353.2366.03675.06942.05647.1458.05844.22722.00262.08203-.0119.17046-.04536.26386-.084.23855-.21134.39252-.45417.48654-.24151.09403-.59783.12422-1.13861.128H7.0671L6 20h7.22567c.67992 0 1.9229 0 3.11734-.48836 1.19443-.48781 2.34046-1.46282 2.82545-3.4147.18248-.7333.12589-1.33094-.17269-1.80045-.29992-.46888-.84195-.80959-1.63147-1.0273 0 0-.17651-.04937-.38456-.10679-.20673-.05743-.4463-.123-.56836-.15708-.20214-.05554-.3577-.16
1788-.44958-.31114-.09123-.14262-.1188-.31617-.06696-.4935.05447-.18427.18576-.33132.37476-.43292.19032-.10098.4397-.15647.73109-.15647h4.2002c.02947-.04102.05647-.08577.08595-.12679C22.05409 10.44071 22.98277 9.59636 24 9z","fill","#fff"],["xmlns","http://www.w3.org/2000/svg","width","32","height","32","viewBox","0 0 32 32"],["width","31","height","31","x","0.5","y","0.5","fill","#FFF","stroke","#333","rx","8"],["fill","#000","fill-rule","nonzero","d","M8.34216393 12.7568096C8.61266031 12.4184964 8.79621694 11.964212 8.74781212 11.5 8.35184104 11.5197012 7.86866031 11.7612241 7.58891092 12.0998265 7.33773019 12.3897735 7.1154073 12.8630651 7.17335429 13.3078265 7.61784586 13.3463807 8.0619326 13.0856578 8.34216393 12.7568096M8.74276152 13.3946699C8.09724827 13.356212 7.54842899 13.761012 7.24014947 13.761012 6.93173501 13.761012 6.45967718 13.4140434 5.94912297 13.4233928 5.28460248 13.433147 4.6680049 13.8088771 4.33077116 14.4064482 3.6371808 15.6019181 4.14773502 17.3752 4.82222176 18.3488289 5.14977839 18.8305253 5.54451574 19.3608964 6.06466995 19.3418313 6.55612056 19.3225542 6.74873742 19.0236241 7.34611574 19.0236241 7.94305068 19.0236241 8.11656393 19.3418313 8.63679525 19.3321928 9.17628441 19.3225542 9.5135567 18.8502651 9.84111333 18.3681253 10.2168627 17.8190169 10.3706748 17.2888193 10.3803519 17.2597108 10.3706748 17.2500723 9.340082 16.8546988 9.33052056 15.6691759 9.32078562 14.6765205 10.1396579 14.2043663 10.1781928 14.1750843 9.71577357 13.4911518 8.99324827 13.4140434 8.74276152 13.3946699M14.7108819 12C16.1138698 12 17.0909108 12.967094 17.0909108 14.3751132 17.0909108 15.7881638 16.0938602 16.7603277 14.6757976 16.7603277L13.1224096 16.7603277 13.1224096 19.2305349 12 19.2305349 12 12 14.7108819 12zM13.1224096 15.8182168L14.4101976 15.8182168C15.3873349 15.8182168 15.9434602 15.2921446 15.9434602 14.3801446 15.9434602 13.468241 15.3873349 12.9470843 14.4152096 12.9470843L13.1224096 12.9470843 13.1224096 15.8182168zM17.3693686 17.7324337C17.3693686 16.805359 18.0758939 16.2742168 19.3786409 16.1941012L20.7766168 16.1088385 20.7766168 15.7080289C20.7766168 15.1217542 20.3907855 14.8010602 19.7043662 14.8010602 19.1380819 14.8010602 18.7272096 15.0916819 18.6420626 15.5376385L17.6298409 15.5376385C17.6599903 14.6005976 18.5418409 13.9192096 19.7344192 13.9192096 21.0171759 13.9192096 21.8539759 14.5906506 21.8539759 15.6328289L21.8539759 19.2305349 20.8167132 19.2305349 20.8167132 18.363759 20.7916915 18.363759C20.4960385 18.929947 19.8446072 19.2856289 19.1380819 19.2856289 18.0958843 19.2856289 17.3693686 18.664347 17.3693686 17.7324337zM20.7766168 17.2663903L20.7766168 16.860453 19.5289445 16.940665C18.8274506 16.9857156 18.4617253 17.2462843 18.4617253 17.7022843 18.4617253 18.1432096 18.8425253 18.4289156 19.4387662 18.4289156 20.2003662 18.4289156 20.7766168 17.942747 20.7766168 17.2663903zM22.8075373 21.1647229L22.8075373 20.297947C22.877706 20.3078168 23.0480192 20.3178602 23.1381783 20.3178602 23.6342939 20.3178602 23.9148723 20.107547 24.0852819 19.5663036L24.1855036 19.2456096 22.2864 13.984347 23.4588723 13.984347 24.7817445 18.2533976 24.8067662 18.2533976 26.1296385 13.984347 27.2721542 13.984347 25.3028819 19.5112096C24.8519132 20.7788915 24.3357879 21.1948723 23.2434313 21.1948723 23.1582843 21.1948723 22.8826409 21.1848289 22.8075373 21.1647229z"],["width","40","height","40","viewBox","0 0 40 40","fill","none","xmlns","http://www.w3.org/2000/svg"],["width","40","height","40","rx","8","fill","#F4B6C7"],["fill-rule","evenodd","clip-rule","evenodd","d","M16.25 28.75H12.5V11.25H16.25V28.75ZM16.9446 20.0371C20.2718 18.3985 22.4224 15.0873 22.4999 11.2515H26.4386C26.3852 14.8936 24.8821 18.2723 22.2358 20.7788L27.4999 28.75H22.4999L16.9446 20.0371Z","fill","black"],["fill-rule","evenodd","clip-rule","evenodd","d","M27.5 26.2502C27.5 27.6306 28.6194 28.75 30.0002 28.75C31.3806 28.75 32.5 27.6306 32.5 26.2502C32.5 24.8694 31.3806 23.75 30.0002 23.75C28.6194 23.75 27.5 24.8694 27.5 26.2502Z","fill","black"],["width","32px","height","32px","viewBox","0 0 32 32","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","EPS","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Rectangle-15","fill","#DE378C","x","0","y","0","width","32","height","32","rx","8"],["d","M11.597968,19.9244737 C11.597968,19.9244737 11.457712,19.2506563 11.457712,18.8070274 C11.457712,18.3633493 11.59048,17.6826356 11.59048,17.6826356 C12.079264,15.6498044 13.870432,14.1360674 16.000048,14.1360674 C18.504688,14.1360674 20.56,16.2255467 20.56,18.7958948 L20.56,19.9262963 L13.90552,19.9262963 C14.298496,20.7144444 15.093232,21.1577778 16.009744,21.1577778 L21.991792,21.1577778 L22,14.4920641 C22,13.4982585 21.207712,12.6851852 20.239312,12.6851852 L11.760688,12.6851852 C10.792336,12.6851852 10,13.4736289 10,14.4674344 L10,23.1684915 C10,24.162297 10.792336,25 11.760688,25 L20.239312,25 C21.1084,25 21.833344,24.3596296 21.97336,23.5222222 L16.009744,23.5222222 C13.876624,23.5222222 12.083248,21.9623293 11.597968,19.9244737 Z","id","Fill-4","fill","#FFFFFF"],["d","M15.8285244,16.2037037 C14.9348499,16.2037037 14.1576538,16.818771 13.7714286,17.6111111 L17.8857143,17.6111111 C17.499489,16.818771 16.7222929,16.2037037 15.8285244,16.2037037","id","Fill-5","fill","#FFFFFF"],["d","M19.6,9.90500527 C19.6,7.74832017 17.9110251,6 15.8276197,6 C13.7787217,6 12.1123274,7.69114007 12.0575965,9.79839916 C12.0567008,9.80730384 12.0574079,9.8159584 12.0574079,9.82511322 L12.0574079,10.9986309 C12.0574079,11.1390047 12.1651256,11.2777778 12.3007037,11.2777778 L13.6885877,11.2777778 C13.8241658,11.2777778 13.9430559,11.1390047 13.9430559,10.9986309 L13.9430559,9.90500527 C13.9430559,8.82803844 14.7882977,7.95182728 15.828704,7.95182728 C16.8691103,7.95182728 17.714352,8.82803844 17.714352,9.90500527 L17.714352,10.9986309 C17.714352,11.1390047 17.8243324,11.2777778 17.9599105,11.2777778 L19.3478417,11.2777778 C19.4834198,11.2777778 19.6,11.1390047 19.6,10.9986309 L19.6,9.90500527","id","Fill-6","fill","#FFFFFF"],["id","giropay","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Rectangle-15","fill","#0F4CA1","x","0","y","0","width","32","height","32","rx","8"],["d","M17,23 L20,23 L20,18.0490243 C20.5814393,19.1337736 21.8549312,19.5355988 22.9316707,19.5355988 C25.5813229,19.5355988 27,17.2960492 27,14.6013162 C27,12.3972392 25.6505835,10 23.1886331,10 C21.7868347,10 20.6151966,10.5774002 20,11.8547156 L20,10 L17,10 L17,23 Z M23.8209993,14.6716654 C23.8209993,16.1242576 23.1199546,17.1210704 21.95824,17.12
110704 C20.9321363,17.1210704 20.0765649,16.1242576 20.0765649,14.7938823 C20.0765649,13.4295247 20.8294095,12.4145284 21.95824,12.4145284 C23.1542939,12.4145284 23.8209993,13.463805 23.8209993,14.6716654 Z","id","Fill-6-Copy-4","fill","#FFFFFE"],["d","M15,10.2065122 L12.1744262,10.2065122 L12.1744262,11.824582 L12.1404968,11.824582 C11.4816782,10.7230859 10.4068567,10 9.07269723,10 C6.26541571,10 5,11.9967732 5,14.6658844 C5,17.3185685 6.54245589,19.1765914 9.02106568,19.1765914 C10.2687791,19.1765914 11.3084912,18.6958052 12.0531658,17.6441772 L12.0882752,17.6441772 L12.0882752,18.1273101 C12.0882752,19.8835436 11.118192,20.7268994 9.31551307,20.7268994 C8.01557798,20.7268994 7.21838674,20.4517454 6.26541571,19.9867996 L6.10904585,22.4320915 C6.83719832,22.6893517 8.06779961,23 9.55803387,23 C13.1976161,23 15,21.8113816 15,18.1273101 L15,10.2065122 Z M8.22357939,14.613963 C8.22357939,13.3919038 8.83017643,12.3760634 9.99144391,12.3760634 C11.3949372,12.3760634 11.984422,13.4942798 11.984422,14.4933998 C11.984422,15.8715166 11.1001947,16.8011147 9.99144391,16.8011147 C9.05558506,16.8011147 8.22357939,16.0082136 8.22357939,14.613963 Z","id","Fill-9-Copy-3","fill","#FFFFFE"],["width","32","height","32","viewBox","0 0 32 32","fill","none","xmlns","http://www.w3.org/2000/svg"],["width","32","height","32","rx","8","fill","#D13239"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.446 11.7201C11.3188 11.5854 11.1355 11.4807 10.9335 11.3984C10.7203 11.3161 10.4847 11.2563 10.2528 11.2151C9.96102 11.1628 9.67674 11.1403 9.47476 11.1328C9.28773 11.1254 9.16804 11.1254 9.16804 11.1254H6.60956H4.70566L3 21.4266H4.59344L5.22184 17.6113L8.31147 17.6263C8.31147 17.6263 9.5159 17.6749 10.3687 17.2223C11.2216 16.7697 11.4497 15.7411 11.4497 15.7411C11.4497 15.7411 11.5432 15.3596 11.6218 14.8958C11.7078 14.3833 11.7939 13.7699 11.8387 13.4445C11.8574 13.3023 11.8687 13.2125 11.8687 13.2125C11.8687 13.2125 11.8911 13.1078 11.8911 12.9432C11.8948 12.7151 11.8612 12.3709 11.6816 12.0418C11.618 11.9258 11.5432 11.8211 11.446 11.7201ZM10.2191 13.538C10.2191 13.5567 10.077 14.3833 9.88995 15.3633C9.81888 15.7374 9.53087 15.9394 9.2017 16.0104C8.65559 16.1264 8.06834 16.1039 8.06834 16.1039L5.48741 16.0965L6.05597 12.6739L8.39376 12.6814C8.39376 12.6814 8.55086 12.6777 8.77155 12.6814C9.02216 12.6851 9.35506 12.6964 9.62812 12.7338C9.86377 12.7637 10.0508 12.8123 10.1106 12.8871C10.1892 12.9844 10.2191 13.1116 10.2303 13.2238C10.2453 13.3884 10.2191 13.5267 10.2191 13.538Z","fill","white"],["fill-rule","evenodd","clip-rule","evenodd","d","M12.9909 14.7349L14.603 14.7386L14.7003 14.114C14.7003 14.114 14.8723 12.9844 15.2576 12.7674C15.381 12.6963 15.5793 12.6328 15.8075 12.5916C16.2301 12.5168 16.765 12.5093 17.2027 12.5243C17.8722 12.5467 18.1266 12.5542 18.8073 12.6328C19.4881 12.7113 19.316 13.3696 19.316 13.3696L19.1814 14.3534C19.1814 14.3534 19.1215 14.7948 18.9644 15.0678C18.826 15.3109 18.4445 15.4755 18.2238 15.5466C17.6927 15.7186 15.8748 16.1825 15.8748 16.1825L14.4459 16.5939C14.4459 16.5939 13.5669 16.8483 13.0769 17.3906C12.5832 17.9367 12.3887 18.5539 12.3213 18.8756C12.254 19.1973 11.8762 21.4229 11.8762 21.4229L19.5891 21.4266L19.8472 19.8855L13.7465 19.893L13.8549 19.2646C13.8549 19.2646 13.926 18.6175 14.1878 18.4043C14.2701 18.337 14.3113 18.2472 14.7975 18.0751C15.0893 17.9704 16.0843 17.7048 16.0843 17.7048L18.3846 17.0764C18.3846 17.0764 19.6414 16.7548 20.1352 16.0665C20.6289 15.382 20.8197 14.0691 20.8197 14.0691C20.8197 14.0691 20.9543 12.7936 20.8496 12.3934C20.7486 11.9931 20.3708 11.5144 19.9108 11.3086C19.4507 11.1029 18.9719 10.9832 17.5842 11.0019C16.1965 11.0206 15.5082 11.0842 14.805 11.346C14.1018 11.6041 13.6941 12.0754 13.436 12.7412C13.1555 13.3734 12.9909 14.7349 12.9909 14.7349Z","fill","#D4D4D4"],["fill-rule","evenodd","clip-rule","evenodd","d","M27.5113 17.6001L28.5923 11.1216H26.6772L20.7149 17.5253L20.4456 19.1487H25.6598L25.2783 21.4229L26.8792 21.4266L27.257 19.1487L28.7344 19.1524L29 17.6001H27.5113ZM25.9179 17.6039L22.5477 17.6001L26.651 13.2275L25.9179 17.6039Z","fill","#D4D4D4"]],template:function(i,r){1&i&&T(0,X$,3,6,"div",0),2&i&&A("ngIf",!r.loading)},dependencies:[ld,dd,Ro,Vh,No,Fr,Pn,kr],encapsulation:2})),t})(),jQ=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({imports:[Fn,Pr,ar]})),t})(),BQ=(()=>{var e;class t{constructor(i){(0,h.A)(this,"fb",void 0),(0,h.A)(this,"myForm",void 0),(0,h.A)(this,"veld",void 0),(0,h.A)(this,"classPrefix","dtx"),(0,h.A)(this,"updateList",new G),this.fb=i}ngOnChanges(){if(this.veld.OptieVeldExtraData&&this.veld.OptieVeldExtraData.OptieLijst&&!this.myForm){let i=this.veld.Waarde?this.isJsonString(this.veld.Waarde)?JSON.parse(this.veld.Waarde):this.veld.Waarde:[];this.myForm=this.fb.group({}),this.veld.OptieVeldExtraData.OptieLijst.forEach(r=>{let o=null!=i.find(s=>s==r.Id);this.myForm.addControl(this.veld.Naam+"-"+r.Id,new _v({value:o,disabled:r.Disabled},[]))}),this.veld.Ctrl.valueChanges.subscribe(r=>{let o=r;this.veld.OptieVeldExtraData.OptieLijst.forEach(s=>{this.myForm.get(this.veld.Naam+"-"+s.Id)&&(null!=o.find(a=>a==s.Id)?0==this.myForm.get(this.veld.Naam+"-"+s.Id).value&&this.myForm.get(this.veld.Naam+"-"+s.Id).setValue(!0,{emitEvent:!1}):1==this.myForm.get(this.veld.Naam+"-"+s.Id).value&&this.myForm.get(this.veld.Naam+"-"+s.Id).setValue(!1,{emitEvent:!1}))})}),this.myForm.valueChanges.subscribe(r=>{let o=[];this.veld.OptieVeldExtraData.OptieLijst.forEach(s=>{this.myForm.get(this.veld.Naam+"-"+s.Id).value&&o.push(s.Id)}),this.updateList.emit({veld:this.veld,optieSelectie:o})})}}isJsonString(i){return("string"==typeof i||i instanceof String)&&N.isJsonString(this.veld.Waarde)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(BI))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-checklist"]],inputs:{veld:"veld",classPrefix:"classPrefix"},outputs:{updateList:"updateList"},features:[je],decls:1,vars:1,consts:[[3,"class","formGroup"],[3,"formGroup"],[3,"for",4,"ngFor","ngForOf"],[3,"for"],["type","checkbox","name","checkbox",3,"id","formControlName"],[1,"checkmark"]
1],template:function(i,r){1&i&&T(0,eH,3,10,"div",0),2&i&&M(r.myForm?0:-1)},dependencies:[ld,Mh,No,Fr,Pn,kr],encapsulation:2})),t})(),qQ=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({imports:[Fn,Pr,ar]})),t})();class zQ{static getUniqueString(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var n=16*Math.random()|0;return("x"==t?n:3&n|8).toString(16)})}}let UQ=(()=>{var e;class t{clickedOutside(){this.show&&this.datepickerConfig.metToggle&&(this.show=!1)}constructor(i){(0,h.A)(this,"cdr",void 0),(0,h.A)(this,"uniqueId",zQ.getUniqueString()),(0,h.A)(this,"selectedYear",void 0),(0,h.A)(this,"selectedMonthNumber",void 0),(0,h.A)(this,"selectedMonth",""),(0,h.A)(this,"days",[]),(0,h.A)(this,"daysLabels",[]),(0,h.A)(this,"months",[]),(0,h.A)(this,"years",[]),(0,h.A)(this,"daysView",!0),(0,h.A)(this,"monthsView",!1),(0,h.A)(this,"yearsView",!1),(0,h.A)(this,"show",!1),(0,h.A)(this,"dtMinDate",void 0),(0,h.A)(this,"dtMaxDate",void 0),(0,h.A)(this,"datepickerConfig",void 0),(0,h.A)(this,"loading",!1),(0,h.A)(this,"myFormGroup",void 0),(0,h.A)(this,"controlName",""),(0,h.A)(this,"date",void 0),(0,h.A)(this,"bewaard",!1),(0,h.A)(this,"onDagClick",new G),this.cdr=i}ngOnInit(){}ngOnChanges(i){this.getDayLabels(),this.getMonths(),this.loadData(),this.datepickerConfig.metToggle||(this.show=!0),null!=i.date&&""!=i.date.currentValue&&this.loadData()}loadData(){this.myFormGroup?(this.date=this.myFormGroup.get(this.controlName).value,this.myFormGroup.get(this.controlName).valueChanges.subscribe(i=>{this.date=(this.myFormGroup.get(this.controlName),i)})):this.datepickerConfig.metToggle&&N.logMessage("Enkel metToggle mogelijk als ook myFormGroup aanwezig"),this.isMinValid()&&(this.dtMinDate=N.stringToDate(this.datepickerConfig.minimumDatum,this.datepickerConfig.dateFormat,"/")),this.isMaxValid()&&(this.dtMaxDate=N.stringToDate(this.datepickerConfig.maximumDatum,this.datepickerConfig.dateFormat,"/")),this.date&&N.isDatumGeldig(this.date)?this.processDate():this.datepickerConfig.minimumDatumAlsStandaard?(this.date=this.datepickerConfig.minimumDatum&&N.isDatumVoorDatum(N.dateToString(new Date),this.datepickerConfig.minimumDatum)?this.datepickerConfig.minimumDatum:N.dateToString(new Date),this.processDate()):this.processDate()}processDate(){this.myFormGroup&&this.myFormGroup.get(this.controlName).value!=this.date&&this.myFormGroup.get(this.controlName).setValue(this.date);let i=this.date;i||(i=N.dateToString(new Date));let r=N.stringToDate(i,"dd/MM/yyyy","/");this.selectedMonthNumber=r.getMonth(),this.selectedMonth=this.getStringMonth(this.selectedMonthNumber),this.selectedYear=r.getFullYear(),this.getYears(),this.days=this.getDaysOfMonth(r)}getYears(){let i=[];i.push(this.selectedYear-5),i.push(this.selectedYear-4),i.push(this.selectedYear-3),i.push(this.selectedYear-2),i.push(this.selectedYear-1),i.push(this.selectedYear),i.push(this.selectedYear+1),i.push(this.selectedYear+2),i.push(this.selectedYear+3),i.push(this.selectedYear+4),i.push(this.selectedYear+5),i.push(this.selectedYear+6),this.years=i}getMonths(){"nl"==this.datepickerConfig.taal?(this.months.push({Maand:"jan",MaandNummer:0}),this.months.push({Maand:"feb",MaandNummer:1}),this.months.push({Maand:"mrt",MaandNummer:2}),this.months.push({Maand:"apr",MaandNummer:3}),this.months.push({Maand:"mei",MaandNummer:4}),this.months.push({Maand:"jun",MaandNummer:5}),this.months.push({Maand:"jul",MaandNummer:6}),this.months.push({Maand:"aug",MaandNummer:7}),this.months.push({Maand:"sep",MaandNummer:8}),this.months.push({Maand:"okt",MaandNummer:9}),this.months.push({Maand:"nov",MaandNummer:10}),this.months.push({Maand:"dec",MaandNummer:11})):"fr"==this.datepickerConfig.taal?(this.months.push({Maand:"jan",MaandNummer:0}),this.months.push({Maand:"f\xe9v",MaandNummer:1}),this.months.push({Maand:"mars",MaandNummer:2}),this.months.push({Maand:"avr",MaandNummer:3}),this.months.push({Maand:"mai",MaandNummer:4}),this.months.push({Maand:"juin",MaandNummer:5}),this.months.push({Maand:"juil",MaandNummer:6}),this.months.push({Maand:"ao\xfbt",MaandNummer:7}),this.months.push({Maand:"sep",MaandNummer:8}),this.months.push({Maand:"oct",MaandNummer:9}),this.months.push({Maand:"nov",MaandNummer:10}),this.months.push({Maand:"d\xe9c",MaandNummer:11})):"en"==this.datepickerConfig.taal&&(this.months.push({Maand:"Jan",MaandNummer:0}),this.months.push({Maand:"Feb",MaandNummer:1}),this.months.push({Maand:"Mar",MaandNummer:2}),this.months.push({Maand:"Apr",MaandNummer:3}),this.months.push({Maand:"May",MaandNummer:4}),this.months.push({Maand:"Jun",MaandNummer:5}),this.months.push({Maand:"Jul",MaandNummer:6}),this.months.push({Maand:"Aug",MaandNummer:7}),this.months.push({Maand:"Sep",MaandNummer:8}),this.months.push({Maand:"Oct",MaandNummer:9}),this.months.push({Maand:"Nov",MaandNummer:10}),this.months.push({Maand:"Dec",MaandNummer:11}))}getStringMonth(i){return"nl"==this.datepickerConfig.taal?0==i?"januari":1==i?"februari":2==i?"maart":3==i?"april":4==i?"mei":5==i?"juni":6==i?"juli":7==i?"augustus":8==i?"september":9==i?"oktober":10==i?"november":11==i?"december":"":"fr"==this.datepickerConfig.taal?0==i?"janvier":1==i?"f\xe9vrier":2==i?"mars":3==i?"avril":4==i?"mai":5==i?"juin":6==i?"juillet":7==i?"ao\xfbt":8==i?"septembre":9==i?"octobre":10==i?"novembre":11==i?"d\xe9cembre":"":"en"==this.datepickerConfig.taal?0==i?"January":1==i?"February":2==i?"March":3==i?"April":4==i?"May":5==i?"June":6==i?"July":7==i?"August":8==i?"September":9==i?"October":10==i?"November":11==i?"December":"":""}getDayLabels(){let i=[];"nl"==this.datepickerConfig.taal?(i.push("Ma"),i.push("Di"),i.push("Wo"),i.push("Do"),i.push("Vr"),i.push("Za"),i.push("Zo")):"fr"==this.datepickerConfig.taal?(i.push("L"),i.push("M"),i.push("M"),i.push("J"),i.push("V"),i.push("S"),i.push("D")):"en"==this.datepickerConfig.taal&&(i.push("M"),i.push("T"),i.push("W"),i.push("T"),i.push("F"),i.push("S"),i.push("S")),this.daysLabels=i}getTodayLabel(){return"nl"==this.datepickerConfig.taal?"Vandaag":"fr"==this.datepickerConfig.taal?"Aujourd'hui":"en"==this.datepickerConfig.taal?"Today":void 0}
1addDays(i,r){var o=new Date(i);return o.setDate(o.getDate()+r),o}addMonths(i,r){var o=new Date(i);return o.setMonth(o.getMonth()+r),o}firstdayOfWeek(i){let r=i.getDay(),o=i;return 0==r&&(r=7),1!=r&&(o=this.addDays(i,-(r+-1))),o}lastdayOfWeek(i){let r=i.getDay(),o=i;return 0==r&&(r=7),7!=r&&(o=this.addDays(i,7-r)),o}howManyDays(i,r){return i||N.logMessage("start ontbreekt",i,r,this.dtMinDate,this.dtMaxDate,this.isMinValid(),this.isMaxValid()),r||N.logMessage("end ontbreekt",i,r,this.dtMinDate,this.dtMaxDate,this.isMinValid(),this.isMaxValid()),(r.getTime()-i.getTime())/864e5}getDaysOfMonth(i){let r=i.getFullYear(),o=i.getMonth(),s=this.daysInMonth(o,r),a=new Date(r,o,1),l=this.firstdayOfWeek(a),d=this.addDays(a,s-1),c=this.lastdayOfWeek(d),u=Math.round(1+this.howManyDays(l,c)),f=[];for(var p=0;p<u;p++){let m=this.addDays(l,p),y=N.dateToString(m),D=!1,O=!1;this.howManyDays(a,m)<0&&(D=!0),this.howManyDays(m,d)<0&&(O=!0),f.push({Datum:m,DatumFormat:y,Dag:m.getDate(),VorigeMaand:D,VolgendeMaand:O,StatusCode:this.getDateStatus(y)})}return f}daysInMonth(i,r){return 11==i?(i=0,r+=1):i+=1,new Date(r,i,0).getDate()}isMinValid(){return!(!this.datepickerConfig.minimumDatum||""==this.datepickerConfig.minimumDatum||!N.isDatumGeldig(this.datepickerConfig.minimumDatum))}isMaxValid(){return!(!this.datepickerConfig.maximumDatum||""==this.datepickerConfig.maximumDatum||!N.isDatumGeldig(this.datepickerConfig.maximumDatum))}getDateStatus(i){let o=this.datepickerConfig.kalenderDatumStatusLijst?this.datepickerConfig.kalenderDatumStatusLijst.find(s=>
1s.DatumC==i):null;return o?o.StatusCode:"cdBeschikbaar"}isPrevMonthBeforeMinDate(i){if(this.isMinValid()){let r=this.dtMinDate.getFullYear(),o=this.dtMinDate.getMonth(),s=this.addMonths(new Date(this.selectedYear,i,1),-1);return!(this.selectedYear>r||this.selectedYear==r&&this.selectedMonthNumber!=o&&(s.getMonth()>=o||s.getFullYear()>r))}return!1}isNextMonthAfterMaxDate(i){if(this.isMaxValid()){let r=this.dtMaxDate.getFullYear(),o=this.dtMaxDate.getMonth(),s=this.addMonths(new Date(this.selectedYear,i,1),1);return this.selectedYear>r||this.selectedYear==r&&(s.getMonth()>o||s.getFullYear()>r)}return!1}isStatusDisabled(i){return!!this.datepickerConfig.disabledStatusCodeLijst&&null!=this.datepickerConfig.disabledStatusCodeLijst.find(r=>r==i.StatusCode)}isDayNotBetweenMinAndMax(i){let r=!1;return this.isMinValid()&&this.isMaxValid()?(this.howManyDays(this.dtMaxDate,i.Datum)>0||this.howManyDays(this.dtMinDate,i.Datum)<0)&&(r=!0):this.isMinValid()?this.howManyDays(this.dtMinDate,i.Datum)<0&&(r=!0):this.isMaxValid()&&this.howManyDays(this.dtMaxDate,i.Datum)>0&&(r=!0),r}isDaySameAsSelectedDay(i){return i.DatumFormat==this.date}isToday(i){return i.DatumFormat==N.dateToString(new Date)}isTodayActive(){return this.date==N.dateToString(new Date)}isTodayButtonAvailable(){return this.datepickerConfig.metToday&&this.daysView&&(!this.datepickerConfig.disabledStatusCodeLijst||null==this.datepickerConfig.disabledStatusCodeLijst.find(i=>N.dateToString(new Date)==i))}isMonthNotBetweenMinAndMax(i){let r=!0;if(this.isMinValid()){let o=this.dtMinDate.getFullYear(),s=this.dtMinDate.getMonth();if(this.isMaxValid()){let a=this.dtMaxDate.getFullYear(),l=this.dtMaxDate.getMonth();return this.selectedYear>o?!(this.selectedYear<a)&&(this.selectedYear==a?!(i<=l):this.selectedYear>a||r):this.selectedYear==o?this.selectedYear>a||!(i>=s&&i<=l):this.selectedYear<o||r}return!(this.selectedYear>o)&&(this.selectedYear==o?!(i>=s):this.selectedYear<o||r)}if(this.isMaxValid()){let o=this.dtMaxDate.getFullYear(),s=this.dtMaxDate.getMonth();return!(this.selectedYear<o)&&(this.selectedYear==o?!(i<=s):this.selectedYear>o||r)}return!1}isPrevYearBeforeMin(){return!!this.isMinValid()&&this.selectedYear-1<this.dtMinDate.getFullYear()}isNextYearAfterMax(){return!!this.isMaxValid()&&this.selectedYear+1>this.dtMaxDate.getFullYear()}isYearBeforeMinOrAfterMax(i){if(this.isMinValid()){let r=this.dtMinDate.getFullYear();if(this.isMaxValid()){let o=this.dtMaxDate.getFullYear();return!(i>=r&&i<=o)}return!(i>=r)}return!!this.isMaxValid()&&!(i<=this.dtMaxDate.getFullYear())}isPrevYearInYears(){if(this.isMinValid()){let i=this.dtMinDate.getFullYear();return null!=this.years.find(r=>r==i)}return!1}isNextYearInYears(){if(this.isMaxValid()){let i=this.dtMaxDate.getFullYear();return null!=this.years.find(r=>r==i)}return!1}toggleDatepicker(i){i.preventDefault(),i.stopPropagation(),!this.datepickerConfig.disabled&&this.datepickerConfig.metToggle&&(this.show=!this.show,this.show&&this.myFormGroup.get(this.controlName).value&&N.isDatumGeldig(this.myFormGroup.get(this.controlName).value,!1)&&(this.date=this.myFormGroup.get(this.controlName).value,this.processDate())),this.cdr.detectChanges()}showMonthsView(){this.monthsView||(this.daysView=!1,this.monthsView=!0,this.yearsView=!1)}showYearsView(){this.yearsView||(this.daysView=!1,this.monthsView=!1,this.yearsView=!0)}clickedInside(i){i.preventDefault(),i.stopPropagation()}goToPrevious(){if(this.daysView&&!this.isPrevMonthBeforeMinDate(this.selectedMonthNumber)){this.selectedMonthNumber>0?this.selectedMonthNumber=this.selectedMonthNumber-1:(this.selectedMonthNumber=11,this.selectedYear=this.selectedYear-1),this.selectedMonth=this.getStringMonth(this.selectedMonthNumber);let i=new Date(this.selectedYear,this.selectedMonthNumber,1);this.days=this.getDaysOfMonth(i)}this.monthsView&&!this.isPrevYearBeforeMin()&&(this.selectedYear=this.selectedYear-1),this.yearsView&&!this.isPrevYearInYears()&&(this.selectedYear=this.selectedYear-12,this.getYears()),this.cdr.detectChanges()}goToNext(){if(this.daysView&&!this.isNextMonthAfterMaxDate(this.selectedMonthNumber)){this.selectedMonthNumber<11?this.selectedMonthNumber=this.selectedMonthNumber+1:(this.selectedMonthNumber=0,this.selectedYear=this.selectedYear+1),this.selectedMonth=this.getStringMonth(this.selectedMonthNumber);let i=new Date(this.selectedYear,this.selectedMonthNumber,1);this.days=this.getDaysOfMonth(i)}this.monthsView&&!this.isNextYearAfterMax()&&(this.selectedYear=this.selectedYear+1),this.yearsView&&!this.isNextYearInYears()&&(this.selectedYear=this.selectedYear+12,this.getYears()),this.cdr.detectChanges()}setSelectedYear(i,r){i.preventDefault(),i.stopPropagation(),i.srcElement.classList.contains("disabled")||(this.selectedYear=r,this.yearsView=!1,this.monthsView=!0),this.cdr.detectChanges()}setSelectedMonth(i,r){if(i.preventDefault(),i.stopPropagation(),!i.srcElement.classList.contains("disabled")){this.selectedMonth=this.getStringMonth(r.MaandNummer),this.selectedMonthNumber=r.MaandNummer;let o=new Date(this.selectedYear,this.selectedMonthNumber,1);this.days=this.getDaysOfMonth(o),this.monthsView=!1,this.daysView=!0}this.cdr.detectChanges()}setSelectedDate(i,r){i.preventDefault(),i.stopPropagation(),this.onDagClick.emit(r.DatumFormat),this.myFormGroup&&(!this.datepickerConfig.disabledStatusCodeLijst||null==this.datepickerConfig.disabledStatusCodeLijst.find(o=>i.target.dataset.status==o))&&!i.srcElement.classList.contains("disabled")&&!i.srcElement.classList.contains("does-not-apply")&&(this.date=r.DatumFormat,this.processDate(),this.show&&this.datepickerConfig.metToggle&&(this.show=!1)),this.cdr.detectChanges()}selecteerVandaag(){this.onDagClick.emit(N.dateToString(new Date)),this.date=N.dateToString(new Date),this.processDate(),this.show&&this.datepickerConfig.metToggle&&(this.show=!1),this.cdr.detectChanges()}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(Ni))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-datepicker"]],hostBindings:function(i,r){1&i&&U("click",function(s){return r.clickedOutside(s)},0,Xb)},inputs:{datepickerConfig:"datepickerConfig",loading:"loading",myFormGroup:"myFormGroup",controlName:"controlName",date:"date",bewaard:"bewaard"},outputs:{onDagClick:"onDagClick"},features:[je],decls:1,vars:1,consts:[[3,"id","class"],[3,"id"],[3,"formGroup"],[3,"class","ngClass"],["type","text",3,"readonly","class","id","name","formControlName","placeholder","ngClass"],["type","text","mask","00/00/0000",3,"class","id","name","formControlName","ngClass","showMaskTyped","dropSpecialCharacters"],["type","text",3,"click","readonly","id","name","formControlName","placeholder","ngClass"],["type","text","mask","00/00/0000",3,"click","id","name","formControlName","ngClass","showMaskTyped","dropSpecialCharacters"],[3,"click","ngClass"],["type","button"],[1,"fa-solid","fa-close"],["type","button",3,"click","disabled","tabindex","ngClass"],[1,"fa-solid","fa-angle-left"],["type","button",3,"click","tabindex"],["class","fa-solid fa-caret-down",4,"ngIf"],[1,"fa-solid","fa-angle-right"],[3,"ngClass"],[3,"class"],[1,"fa-solid","fa-caret-down"],["type","button",3,"click","tabindex","ngClass"],["type","button",3,"click","ngClass"]],template:function(i,r){1&i&&T(0,FH,4,11,"div",0),2&i&&M(r.loading?-1:0)},dependencies:[An,dd,Ro,No,Fr,Pn,kr,gA],encapsulation:2,data:{animation:[$v("fadeInOut",[Rd(":enter",[dr({opacity:0}
1),wa("500ms ease-in",dr({opacity:1}))]),Rd(":leave",[wa("500ms ease-out",dr({opacity:0}))])])]}})),t})(),$Q=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({providers:[Gv()],imports:[Fn,Pr,ar]})),t})();class t0{constructor(){(0,h.A)(this,"_metHeader",!0),(0,h.A)(this,"_classPrefix","dtx"),(0,h.A)(this,"_metToggle",void 0),(0,h.A)(this,"_dateFormat","DD/MM/YYYY"),(0,h.A)(this,"_placeholder","DD/MM/YYYY"),(0,h.A)(this,"_taal","nl"),(0,h.A)(this,"_readonly",!0),(0,h.A)(this,"_disabled",!1),(0,h.A)(this,"_type",""),(0,h.A)(this,"_placement","popup"),(0,h.A)(this,"_position","left"),(0,h.A)(this,"_metToday",!1),(0,h.A)(this,"_kalenderDatumStatusLijst",void 0),(0,h.A)(this,"_required",!1),(0,h.A)(this,"_requiredError",void 0),(0,h.A)(this,"_requiredAutoCheck",void 0),(0,h.A)(this,"_minimumDatum",void 0),(0,h.A)(this,"_minimumDatumError",void 0),(0,h.A)(this,"_minimumDatumAlsStandaard",void 0),(0,h.A)(this,"_minimumDatumAutoCheck",void 0),(0,h.A)(this,"_maximumDatum",void 0),(0,h.A)(this,"_maximumDatumError",void 0),(0,h.A)(this,"_maximumDatumAutoCheck",void 0),(0,h.A)(this,"_disabledStatusCodeLijst",void 0),(0,h.A)(this,"_disabledStatusCodeError",void 0),(0,h.A)(this,"_disabledStatusCodeAutoCheck",void 0)}get metHeader(){return this._metHeader}get classPrefix(){return this._classPrefix}get metToggle(){return this._metToggle}get dateFormat(){return this._dateFormat}get placeholder(){return this._placeholder}get taal(){return this._taal}get readonly(){return this._readonly}get disabled(){return this._disabled}get type(){return this._type}get placement(){return this._placement}get position(){return this._position}get metToday(){return this._metToday}get kalenderDatumStatusLijst(){return this._kalenderDatumStatusLijst}get required(){return this._required}get requiredError(){return this._requiredError}get requiredAutoCheck(){return this._requiredAutoCheck}get minimumDatum(){return this._minimumDatum}get minimumDatumError(){return this._minimumDatumError}get minimumDatumAlsStandaard(){return this._minimumDatumAlsStandaard}get minimumDatumAutoCheck(){return this._minimumDatumAutoCheck}get maximumDatum(){return this._maximumDatum}get maximumDatumError(){return this._maximumDatumError}get maximumDatumAutoCheck(){return this._maximumDatumAutoCheck}get disabledStatusCodeLijst(){return this._disabledStatusCodeLijst}get disabledStatusCodeError(){return this._disabledStatusCodeError}get disabledStatusCodeAutoCheck(){return this._disabledStatusCodeAutoCheck}init(t,n,i,r,o){return this._metHeader=t,this._metToggle=n,this._placeholder=i,this._taal=r,this._readonly=o,this}initReadOnly(t,n,i,r){return this.init(t,n,i,r,!0)}initInput(t,n){return this.init(t,!0,"",n,!1)}clone(){let t=(new t0).init(this._metHeader,this._metToggle,this._placeholder,this._taal,this._readonly);return t._classPrefix=this.classPrefix,t._dateFormat=this._dateFormat,t._disabled=this.disabled,t._type=this.t
1ype,t._placement=this.placement,t._position=this.position,t._metToday=this.metToday,t._kalenderDatumStatusLijst=this.kalenderDatumStatusLijst?[...this.kalenderDatumStatusLijst]:null,t._required=this.required,t._requiredError=this.requiredError,t._requiredAutoCheck=this.requiredAutoCheck,t._minimumDatum=this.minimumDatum,t._minimumDatumError=this.minimumDatumError,t._minimumDatumAlsStandaard=this.minimumDatumAlsStandaard,t._minimumDatumAutoCheck=this.minimumDatumAutoCheck,t._maximumDatum=this.maximumDatum,t._maximumDatumError=this.maximumDatumError,t._maximumDatumAutoCheck=this.maximumDatumAutoCheck,t._disabledStatusCodeLijst=this.disabledStatusCodeLijst,t._disabledStatusCodeError=this.disabledStatusCodeError,t._disabledStatusCodeAutoCheck=this.disabledStatusCodeAutoCheck,t}zetKalenderDatumStatusLijst(t,n,i,r=!1){return this._kalenderDatumStatusLijst=t,this._disabledStatusCodeLijst=n,this._disabledStatusCodeError=i,this._disabledStatusCodeAutoCheck=r,this.clone()}zetMetToday(){return this._metToday=!0,this.clone()}zetDisabled(){return this._disabled=!0,this.clone()}zetType(t){return this._type=t,this.clone()}zetPlacementEnPosition(t,n){return this._placement=t,this._position=n,this.clone()}zetClassPrefix(t){return this._classPrefix=t,this.clone()}zetRequired(t,n,i=!1){return this._required=t,this._requiredError=n,this._requiredAutoCheck=i,this.clone()}zetMinimum(t,n,i,r=!1){return this._minimumDatum=t,this._minimumDatumError=n,this._minimumDatumAlsStandaard=i,this._minimumDatumAutoCheck=r,this.clone()}zetMaximum(t,n,i=!1){return this._maximumDatum=t,this._maximumDatumError=n,this._maximumDatumAutoCheck=i,this.clone()}}var Zi=function(e){return e.SinglePreview="cdSinglePreview",e.NoPreview="cdNoPreview",e.MultiPreview="cdMultiPreview",e.VanillaNoPreview="cdVanillaNoPreview",e.VanillaMultiPreview="cdVanillaMultiPreview",e.VanillaSinglePreview="cdVanillaSinglePreview",e}(Zi||{}),de=function(e){return e.DNNUpload="cdDNNUpload",e.DNNUploadResize="cdDNNUploadResize",e.DotNetCoreSingleFile_FileName="cdDotNetCoreSingleFile_FileName",e.DotNetCoreSingleFile_FilePath="cdDotNetCoreSingleFile_FilePath",e.DotNetCoreSingleFile_FileList="cdDotNetCoreSingleFile_FileList",e}(de||{}),jr=function(e){return e.Material="cdMaterial",e.FontAwesome="cdFontAwesome",e}(jr||{}),Ld=function(e){return e.Images="image/jpg, image/gif, image/png, image/jpeg",e.All="image/jpg, image/gif, image/png, image/jpeg, application/pdf, application/zip, application/x-zip-compressed, application/octet-stream, application/x-rar-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/x-vcard, text/vcard",e.Pdf="application/pdf",e.Jpg="image/jpg, image/jpeg",e.Png="image/png",e.Gif="image/gif",e}(Ld||{});class Br{constructor(t){(0,h.A)(this,"UniqueId",void 0),(0,h.A)(this,"File",void 0),(0,h.A)(this,"Dropzone",void 0),(0,h.A)(this,"ErrorMelding",void 0),(0,h.A)(this,"FileUrl",void 0),(0,h.A)(this,"UploadProgress",void 0),(0,h.A)(this,"bestand",void 0),t&&(t.File&&(this.File={accepted:t.File.accepted,height:t.File.height,previewElement:t.File.previewElement,previewTemplate:t.File.previewTemplate,status:t.File.status,upload:t.File.upload,width:t.File.width,name:t.File.name,size:t.File.size,type:t.File.type}),this.UniqueId=t.UniqueId,this.Dropzone=t.Dropzone,this.ErrorMelding=t.ErrorMelding,this.FileUrl=t.FileUrl,this.bestand=t.bestandLijst,this.UploadProgress=t.UploadProgress)}init(t,n,i,r,o){this.UniqueId=t,this.FileUrl=r,this.Dropzone=n,this.ErrorMelding=o,this.File=i,this.UploadProgress=0,this.bestand=i}}class RA{constructor(t,n,i,r){(0,h.A)(this,"x1",void 0),(0,h.A)(this,"y1",void 0),(0,h.A)(this,"x2",void 0),(0,h.A)(this,"y2",void 0),(0,h.A)(this,"x3",void 0),(0,h.A)(this,"y3",void 0),(0,h.A)(this,"x4",void 0),(0,h.A)(this,"y4",void 0),(0,h.A)(this,"x5",void 0),(0,h.A)(this,"y5",void 0),(0,h.A)(this,"x6",void 0),(0,h.A)(this,"y6",void 0),(0,h.A)(this,"x7",void 0),(0,h.A)(this,"y7",void 0),(0,h.A)(this,"x8",void 0),(0,h.A)(this,"y8",void 0),(0,h.A)(this,"x9",void 0),(0,h.A)(this,"y9",void 0),(0,h.A)(this,"x10",void 0),(0,h.A)(this,"y10",void 0),this.x4=t.toString()+"%",this.y4=n.toString()+"%",this.x
15=i.toString()+"%",this.y5=n.toString()+"%",this.x6=i.toString()+"%",this.y6=r.toString()+"%",this.x7=t.toString()+"%",this.y7=r.toString()+"%",this.x3=t.toString()+"%",this.y3="100%",this.x8=t.toString()+"%",this.y8="100%",this.x1="0%",this.y1="0%",this.x2="0%",this.y2="100%",this.x9="100%",this.y9="100%",this.x10="100%",this.y10="0%"}}class Pt{static getTrimNaam(t,n){let i="";if(!t.Dropzone)switch(n){case de.DNNUpload:i=t.bestand;break;case de.DNNUploadResize:i=t.bestand[0].bestand;break;case de.DotNetCoreSingleFile_FileName:case de.DotNetCoreSingleFile_FilePath:i=t.bestand;break;case de.DotNetCoreSingleFile_FileList:let r=t.bestand,o=r&&r.length>0?r[0]:"";i=null==o?void 0:o.FilePath;break;default:i=t.bestand}return i.length>20?i.substring(0,15)+"..."+i.substring(i.length-4,i.length):i}static getFileSize(t){return t&&t.File?(t.File.size/1024/1024).toFixed(1)+"Mb":""}static isUploadVisible(t){let n=!0;return t.length>=1&&(t[0].Dropzone||(n=!1)),n}static getSavedBestandFLijst(t,n,i){let r=null;return t.length>=1&&(r=Pt.getSavedBestand(t[0],n,i)),r}static getSavedBestand(t,n,i){let r=null;if(!t.Dropzone)switch(n){case de.DNNUpload:r=i+t.bestand;break;case de.DNNUploadResize:r=i+t.bestand[0].bestand;break;case de.DotNetCoreSingleFile_FileName:case de.DotNetCoreSingleFile_FilePath:r=t.bestand;break;case de.DotNetCoreSingleFile_FileList:let o=t.bestand,s=o&&o.length>0?o[0]:"";r=null==s?void 0:s.FilePath;break;default:r=t.bestand}return r}static getFileuploadBestand(t){let n=null;return 1==t.length&&t[0].Dropzone&&(n=t[0]),n}static showPreviewUrl(t){let n="",i=Pt.getFileuploadBestand(t);return i&&(n=i.File.dataURL),n}static getDropzoneError(t){let n="",i=Pt.getFileuploadBestand(t);return i&&(n=i.ErrorMelding),n}}let n0=(()=>{var e;class t{constructor(i){(0,h.A)(this,"sanitizer",void 0),(0,h.A)(this,"eventsSubscription",void 0),(0,h.A)(this,"bestandLijst",void 0),(0,h.A)(this,"uploading",!1),(0,h.A)(this,"fileUploadCountToDo",0),(0,h.A)(this,"laatsteKnop",void 0),(0,h.A)(this,"FileuploadAcceptedFiles",Ld),(0,h.A)(this,"FileuploadViewType",Zi),(0,h.A)(this,"FileuploadReturnType",de),(0,h.A)(this,"IconLibrary",jr),(0,h.A)(this,"classPrefix","dtx"),(0,h.A)(this,"fileuploadData",void 0),(0,h.A)(this,"loading",!1),(0,h.A)(this,"myFormGroup",void 0),(0,h.A)(this,"controlName",""),(0,h.A)(this,"bewaard",!1),(0,h.A)(this,"DocumentPath",""),(0,h.A)(this,"UploadAPI",""),(0,h.A)(this,"UploadParams",{}),(0,h.A)(this,"UploadHeaders",void 0),(0,h.A)(this,"events",void 0),(0,h.A)(this,"uploadKlaar",new G),this.sanitizer=i}ngOnInit(){this.eventsSubscription=this.events.subscribe(i=>{this.laatsteKnop=i,this.bewaar(i)})}ngOnChanges(i){if(!this.bestandLijst)if(this.myFormGroup&&this.myFormGroup.get(this.controlName).value){let r=N.isJsonString(this.myFormGroup.get(this.controlName).value)?JSON.parse(this.myFormGroup.get(this.controlName).value):this.myFormGroup.get(this.controlName).value;r=r.filter(o=>"1"!=o.Dropzone),this.bestandLijst=r,this.processImage()}else this.bestandLijst=JSON.parse("[]")}ngOnDestroy(){this.eventsSubscription.unsubscribe()}deleteBestand(i){i||(i=this.bestandLijst[0]),null!=i.Dropzone?(document.getElementById(this.fileuploadData.containerName).dropzone.removeFile(i.File),this.bestandLijst=this.bestandLijst.filter(o=>o!=i),this.updateMyFormGroupControl()):(this.bestandLijst=this.bestandLijst.filter(r=>r!=i),this.updateMyFormGroupControl())}fileAdded(i){this.bestandLijst.length>=this.fileuploadData.maxFiles&&(this.bestandLijst=this.bestandLijst.slice(0,this.fileuploadData.maxFiles-1)),this.bestandLijst.push(i),this.updateMyFormGroupControl(),this.fileuploadData.previewRatio&&this.fileAddedWait(0),this.setChanged()}updateMyFormGroupControl(){this.myFormGroup.controls[this.controlName].setValue(JSON.stringify(this.bestandLijst.map(i=>new Br(i))))}fileRemoved(i){}fileUploadSuccess(i){let r;switch(this.fileuploadData.fileuploadReturnType){case de.DNNUpload:r=JSON.parse(i.xhr.response)[0].bestand;break;case de.DNNUploadResize:r=JSON.parse(i.xhr.response);break;case de.DotNetCoreSingleFile_FileName:r=JSON.parse(i.xhr.response).FileName;break;case de.DotNetCoreSingleFile_FilePath:r=JSON.parse(i.xhr.response).FilePath;break;case de.DotNetCoreSingleFile_FileList:r=JSON.parse(i.xhr.response).FileList;break;default:r=JSON.parse(i.xhr.response)[0].bestand}this.fileUploadCountToDo--;let o=this.bestandLijst.find(a=>a.File==i),s=document.getElementById(this.fileuploadData.containerName);o&&(o.bestand=r,o.Dropzone=null,o.File=null),null!=s&&s.dropzone.getQueuedFiles().length>0?s.dropzone.processQueue():0==this.fileUploadCountToDo&&this.uploading&&this.bewaarSub(this.laatsteKnop)}sanitizeBestand(i){return this.sanitizer.bypassSecurityTrustHtml(i)}setChanged(){}getFileSize(i){return Pt.getFileSize(i)}getSavedBestand(i){return Pt.getSavedBestand(i,this.fileuploadData.fileuploadReturnType,this.DocumentPath)}
1getTrimNaam(i){return Pt.getTrimNaam(i,this.fileuploadData.fileuploadReturnType)}bewaar(i){this.bewaard=!0;let r=document.getElementById(this.fileuploadData.containerName);if(r&&r.dropzone.getAcceptedFiles().length>0){r.dropzone.options.url=this.UploadAPI,r.dropzone.options.params=this.UploadParams,r.dropzone.options.headers=this.UploadHeaders;var o=r.dropzone.getAcceptedFiles();this.uploading=!0,this.fileUploadCountToDo=o.length,o.length>0?r.dropzone.processQueue():(r.dropzone.removeAllFiles(),this.bewaarSub(i))}else this.bestandLijst.length>0&&this.bestandLijst[0].Dropzone&&this.myFormGroup.controls[this.controlName].setValue("[]"),this.bewaarSub(i)}bewaarSub(i){var r,o,s;let a;switch(this.fileuploadData.fileuploadReturnType){case de.DNNUpload:case de.DNNUploadResize:a=JSON.stringify(this.bestandLijst.filter(l=>!l.Dropzone&&l.bestand));break;case de.DotNetCoreSingleFile_FileName:a=null===(r=this.bestandLijst.find(l=>!l.Dropzone&&l.bestand))||void 0===r?void 0:r.bestand;break;case de.DotNetCoreSingleFile_FilePath:a=null===(o=this.bestandLijst.find(l=>!l.Dropzone&&l.bestand))||void 0===o?void 0:o.bestand;break;case de.DotNetCoreSingleFile_FileList:a=null===(s=this.bestandLijst.find(l=>!l.Dropzone&&l.bestand))||void 0===s?void 0:s.bestand;break;default:a=JSON.stringify(this.bestandLijst.filter(l=>!l.Dropzone&&l.bestand))}this.myFormGroup.controls[this.controlName].setValue(a),this.uploadKlaar.emit(i)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(kn))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["ng-component"]],inputs:{classPrefix:"classPrefix",fileuploadData:"fileuploadData",loading:"loading",myFormGroup:"myFormGroup",controlName:"controlName",bewaard:"bewaard",DocumentPath:"DocumentPath",UploadAPI:"UploadAPI",UploadParams:"UploadParams",UploadHeaders:"UploadHeaders",events:"events"},outputs:{uploadKlaar:"uploadKlaar"},features:[je],decls:0,vars:0,template:function(i,r){},encapsulation:2})),t})(),r0=(()=>{var e;class t{get fileDropped(){return!!this.myDropzone&&this.myDropzone.files.length>0}constructor(i){(0,h.A)(this,"cd",void 0),(0,h.A)(this,"myDropzone",void 0),(0,h.A)(this,"myDropzoneOptions",void 0),(0,h.A)(this,"bViewInitDone",!1),(0,h.A)(this,"bDataLoaded",!1),(0,h.A)(this,"fileuploadData",void 0),(0,h.A)(this,"classPrefix","dtx"),(0,h.A)(this,"uniqueId",""),(0,h.A)(this,"initDropzone",new G),(0,h.A)(this,"addedfile",new G),(0,h.A)(this,"queuecomplete",new G),(0,h.A)(this,"success",new G),(0,h.A)(this,"errorProcessingFile",new G),(0,h.A)(this,"removedFile",new G),(0,h.A)(this,"maxfilesexceeded",new G),(0,h.A)(this,"totalUploadProgress",new G),this.cd=i}ngOnInit(){}ngAfterViewInit(){this.bViewInitDone=!0,this.loadData()}ngOnChanges(){this.fileuploadData&&(this.bDataLoaded=!0,this.loadData())}loadData(){this.bDataLoaded&&this.bViewInitDone&&(this.initOptions(),this.myDropzone||(this.myDropzone=new z("div#"+this.fileuploadData.containerName,this.myDropzoneOptions),this.myDropzone.autoDiscover=!1,this.cd.detectChanges(),this.myDropzone.on("addedfile",i=>{let r=this.fileuploadData.maxFiles;for(;null!=this.myDropzone.files[r];)this.myDropzone.removeFile(this.myDropzone.files[r-1]);setTimeout(()=>{let o="";if(i.size>1024*this.fileuploadData.maxFilesize*1024?o=this.fileuploadData.fileuploadDictionary.dictFileTooBig.replace("{{filesize}}",Math.round(i.size/1024/1024).toString()).replace("{{maxFilesize}}",this.fileuploadData.maxFilesize.toString()):(i.accepted||""!=i.type)&&i.accepted||(o=this.fileuploadData.fileuploadDictionary.dictInvalidFileType),i.previewElement){const s=i.previewElement.querySelector(".dz-name");s&&(s.innerHTML=this.getTrimNaam(i.name))}if(this.addedfile){let s=new Br(null);s.init(N.getUniqueString(),1,i,i.dataURL,o),this.addedfile.emit(s)}},1)}),this.myDropzone.on("queuecomplete",()=>{0==this.myDropzone.getRejectedFiles().length&&(this.queuecomplete&&this.queuecomplete.emit(!0),this.myDropzone.removeAllFiles())}),this.myDropzone.on("success",i=>{this.success&&this.success.emit(i)}),this.myDropzone.on("error",i=>{this.errorProcessingFile&&this.errorProcessingFile.emit(i)}),this.myDropzone.on("removedfile",i=>{this.myDropzone.files=this.myDropzone.files.filter(r=>r!==i),this.removedFile&&this.removedFile.emit(i)}),this.myDropzone.on("maxfilesexceeded",i=>
1{this.maxfilesexceeded&&this.maxfilesexceeded.emit(i)}),this.myDropzone.on("totaluploadprogress",(i,r,o)=>{this.totalUploadProgress&&this.totalUploadProgress.emit({uploadProgress:i,totalBytes:r,totalBytesSent:o})}),this.myDropzone.on("accept",(i,r)=>{this.fileuploadData.metLogs&&N.logMessage("accept",i,r)}),this.myDropzone.on("params",(i,r,o)=>{this.fileuploadData.metLogs&&N.logMessage("params",i,r,o)}),this.myDropzone.on("chunksUploaded",(i,r)=>{this.fileuploadData.metLogs&&N.logMessage("chunksUploaded",i,r)}),this.myDropzone.on("fallback",()=>{this.fileuploadData.metLogs&&N.logMessage("fallback")}),this.myDropzone.on("resize",(i,r,o,s)=>{this.fileuploadData.metLogs&&N.logMessage("resize",i,r,o,s)}),this.myDropzone.on("transformFile",(i,r)=>{this.fileuploadData.metLogs&&N.logMessage("transformFile",i,r)}),this.myDropzone.on("drop",i=>{this.fileuploadData.metLogs&&N.logMessage("drop",i)}),this.myDropzone.on("dragstart",i=>{this.fileuploadData.metLogs&&N.logMessage("dragstart",i)}),this.myDropzone.on("dragend",i=>{this.fileuploadData.metLogs&&N.logMessage("dragend",i)}),this.myDropzone.on("dragenter",i=>{this.fileuploadData.metLogs&&N.logMessage("dragenter",i)}),this.myDropzone.on("dragover",i=>{this.fileuploadData.metLogs&&N.logMessage("dragover",i)}),this.myDropzone.on("dragleave",i=>{this.fileuploadData.metLogs&&N.logMessage("dragleave",i)}),this.myDropzone.on("paste",i=>{this.fileuploadData.metLogs&&N.logMessage("paste",i)}),this.myDropzone.on("reset",()=>{this.fileuploadData.metLogs&&N.logMessage("reset")}),this.myDropzone.on("thumbnail",(i,r)=>{this.fileuploadData.metLogs&&N.logMessage("thumbnail",i,r)}),this.myDropzone.on("errormultiple",()=>{this.fileuploadData.metLogs&&N.logMessage("errormultiple")}),this.myDropzone.on("processing",i=>{this.fileuploadData.metLogs&&N.logMessage("processing",i)}),this.myDropzone.on("processingmultiple",()=>{this.fileuploadData.metLogs&&N.logMessage("processingmultiple")}),this.myDropzone.on("uploadprogress",(i,r,o)=>{this.fileuploadData.metLogs&&N.logMessage("uploadprogress",i,r,o)}),this.myDropzone.on("sending",()=>{this.fileuploadData.metLogs&&N.logMessage("sending")}),this.myDropzone.on("sendingmultiple",()=>{this.fileuploadData.metLogs&&N.logMessage("sendingmultiple")}),this.myDropzone.on("canceled",i=>{this.fileuploadData.metLogs&&N.logMessage("canceled",i)}),this.myDropzone.on("canceledmultiple",()=>{this.fileuploadData.metLogs&&N.logMessage("canceledmultiple")}),this.myDropzone.on("complete",i=>{this.fileuploadData.metLogs&&N.logMessage("complete",i)}),this.myDropzone.on("completemultiple",()=>{this.fileuploadData.metLogs&&N.logMessage("completemultiple")}),this.myDropzone.on("addedfiles",()=>{this.fileuploadData.metLogs&&N.logMessage("addedfiles")})))}getTrimNaam(i){return i.length>20?i.substring(0,15)+"..."+i.substring(i.length-4,i.length):i}initOptions(){this.myDropzoneOptions={url:this.fileuploadData.url,parallelUploads:this.fileuploadData.parallelUploads,maxFilesize:this.fileuploadData.maxFilesize,uploadMultiple:this.fileuploadData.uploadMultiple,previewsContainer:this.fileuploadData.previewsContainer,hiddenInputContainer:this.fileuploadData.hiddenInputContainer,clickable:this.fileuploadData.clickable,createImageThumbnails:this.fileuploadData.createImageThumbnails,acceptedFiles:this.fileuploadData.fileuploadAcceptedFiles,maxFiles:this.fileuploadData.maxFiles,autoProcessQueue:this.fileuploadData.autoProcessQueue,previewTemplate:this.fileuploadData.previewTemplate,dictInvalidFileType:this.fileuploadData.fileuploadDictionary.dictInvalidFileType,dictFileTooBig:this.fileuploadData.fileuploadDictionary.dictFileTooBig,dictMaxFilesExceeded:this.fileuploadData.fileuploadDictionary.dictMaxFilesExceeded,dictDefaultMessage:this.fileuploadData.fileuploadDictionary.dictDefaultMessage,dictFallbackMessage:this.fileuploadData.fileuploadDictionary.dictFallbackMessage,dictFallbackText:this.fileuploadData.fileuploadDictionary.dictFallbackText,dictResponseError:this.fileuploadData.fileuploadDictionary.dictResponseError,dictCancelUpload:this.fileuploadData.fileuploadDictionary.dictCancelUpload,dictUploadCanceled:this.fileuploadData.fileuploadDictionary.dictUploadCanceled,dictCancelUploadConfirmation:this.fileuploadData.fileuploadDictionary.dictCancelUploadConfirmation,dictRemoveFile:this.fileuploadData.fileuploadDictionary.dictRemoveFile,dictRemoveFileConfirmation:this.fileuploadData.fileuploadDictionary.dictRemoveFileConfirmation,dictFileSizeUnits:this.fileuploadData.fileuploadDictionary.dictFileSizeUnits,init(){this.initDropzone&&this.initDropzone.emit()}}}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(Ni))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["upload-dropzone"]],inputs:{fileuploadData:"fileuploadData",classPrefix:"classPrefix",uniqueId:"uniqueId"},outputs:{initDropzone:"initDropzone",addedfile:"addedfile",queuecomplete:"queuecomplete",success:"success",errorProcessingFile:"errorProcessingFile",removedFile:"removedFile",maxfilesexceeded:"maxfilesexceeded",totalUploadProgress:"totalUploadProgress"},features:[je],ngContentSelectors:IA,decls:1,vars:1,consts:[[1,"dropzone-container",3,"id"],[1,"dropzone-drop-area",3,"id"],[1,"dropzone-preview-area","hidden",3,"id"],["class","centered noselect clickthrough",4,"ngIf"],[3,"id","ngClass"],[1,"dropzone-nofile-area-inner",3,"id"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 27 21"],["d","M24.469.7
15c.703 0 1.3.246 1.793.738.492.492.738 1.09.738 1.793V18.47c0 .703-.246 1.3-.738 1.793a2.441 2.441 0 0 1-1.793.738H2.53c-.703 0-1.3-.246-1.793-.738A2.441 2.441 0 0 1 0 18.469V3.28c0-.703.246-1.3.738-1.793S1.828.75 2.531.75zm-.317 17.719c.211 0 .317-.106.317-.317V3.598c0-.211-.106-.317-.317-.317H2.848c-.211 0-.317.106-.317.317v14.554c0 .211.106.317.317.317zM5.221 6.023c.422-.421.931-.632 1.529-.632s1.099.202 1.503.606c.404.404.606.905.606 1.503s-.202 1.099-.606 1.503c-.404.404-.905.606-1.503.606s-1.099-.202-1.503-.606c-.404-.404-.606-.905-.606-1.503s.193-1.09.58-1.477zm-.159 9.915v-2.532l2.11-2.11c.281-.28.562-.28.844 0l2.109 2.11 6.328-6.328c.281-.281.563-.281.844 0l4.64 4.64v4.22z","fill","#001b35","opacity",".1"],[3,"innerHtml"],[1,"centered","noselect","clickthrough"]],template:function(i,r){1&i&&(na(),T(0,RH,10,22,"div",0)),2&i&&M(r.fileuploadData?0:-1)},dependencies:[An,dd],encapsulation:2})),t})(),HQ=(()=>{var e;class t{transform(i,r){return i.filter(r?o=>null==o.Dropzone||o.File.accepted:o=>null!=o.Dropzone&&!o.File.accepted)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275pipe",Ot({name:"dropzonefileUploadAccecptedFilter",type:e,pure:!1})),t})(),GQ=(()=>{var e;class t extends n0{constructor(i){super(i),(0,h.A)(this,"sanitizer",void 0),this.sanitizer=i}fileAddedWait(i){}processImage(){}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(kn))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload-multi-preview"]],features:[be],decls:3,vars:6,consts:[[3,"addedfile","removedFile","success","fileuploadData","uniqueId"],[3,"class"],[3,"ngClass"],[3,"class","innerHTML"],[1,"dz-preview","dz-image-preview"],[1,"dz-details-button"],["type","button",3,"click"],[1,"material-icons"],[1,"fa-regular","fa-xmark"],[1,"dz-error-message"],[3,"innerHTML"],[1,"dz-details"],[1,"dz-details-img"],[1,"fa-regular","fa-image"],[1,"fa-solid","fa-file"],[3,"src"],[1,"dz-error-message-icon"],[1,"fa-solid","fa-circle-exclamation"],[1,"dz-error-message-text"]],template:function(i,r){1&i&&(C(0,"div")(1,"upload-dropzone",0),U("addedfile",function(s){return r.fileAdded(s)})("removedFile",function(s){return r.fileRemoved(s)})("success",function(s){return r.fileUploadSuccess(s)}),x(),T(2,fG,4,8),x()),2&i&&(E("",r.classPrefix,"-dropzone"),g(),A("fileuploadData",r.fileuploadData)("uniqueId",r.fileuploadData.uniqueId),g(),M(r.bestandLijst&&r.bestandLijst.length>0?2:-1))},dependencies:[An,r0,HQ],encapsulation:2})),t})(),WQ=(()=>{var e;class t extends n0{constructor(i){super(i),(0,h.A)(this,"sanitizer",void 0),this.sanitizer=i}fileAddedWait(i){}processImage(){}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(kn))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload-no-preview"]],features:[be],decls:3,vars:6,consts:[[3,"addedfile","removedFile","success","fileuploadData","uniqueId"],[3,"class"],[3,"ngClass"],[3,"class","innerHTML"],[1,"dz-preview","dz-image-preview"],[1,"dz-details-button"],["type","button",3,"click"],[1,"material-icons"],[1,"fa-regular","fa-xmark"],[1,"dz-error-message"],[3,"innerHTML"],[1,"dz-details"],[1,"dz-details-img"],[1,"dz-details-name"],["target","_blank",3,"href"],[1,"fa-regular","fa-image"],[1,"fa-solid","fa-file"],[1,"dz-error-message-icon"],[1,"fa-solid","fa-circle-exclamation"],[1,"dz-error-message-text"]],template:function(i,r){1&i&&(C(0,"div")(1,"upload-dropzone",0),U("addedfile",function(s){return r.fileAdded(s)})("removedFile",function(s){return r.fileRemoved(s)})("success",function(s){return r.fileUploadSuccess(s)}),x(),T(2,TG,3,3,"div",1),x()),2&i&&(E("",r.classPrefix,"-dropzone"),g(),A("fileuploadData",r.fileuploadData)("uniqueId",r.fileuploadData.uniqueId),g(),M(r.bestandLijst&&r.bestandLijst.length>0?2:-1))},dependencies:[An,r0],encapsulation:2})),t})(),NA=(()=>{var e;class t{constructor(){(0,h.A)(this,"imageRatioCoordinates",void 0),(0,h.A)(this,"classPrefix",void 0),(0,h.A)(this,"classBody",void 0)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload-ratio-coordinates"]],inputs:{imageRatioCoordinates:"imageRatioCoordinates",classPrefix:"classPrefix",classBody:"classBody"},decls:2,vars:30,template:function(i,r){1&i&&(C(0,"div"),P(1,"div"),x()),2&i&&(zt("",r.classPrefix,"-",r.classBody,"__ratio"),g(),TD(["--x1: ",r.imageRatioCoordinates.x1,";\n                    --y1: ",r.imageRatioCoordinates.y1,";\n                    --x2: ",r.imageRatioCoordinates.x2,";\n                    --y2: ",r.imageRatioCoordinates.y2,";\n                    --x3: ",r.imageRatioCoordinates.x3,";\n                    --y3: ",r.imageRatioCoordinates.y3,";\n                    --x4: ",r.imageRatioCoordinates.x4,";\n                    --y4: ",r.imageRatioCoordinates.y4,";\n                    --x5: ",r.imageRatioCoordinates.x5,";\n                    --y5: ",r.imageRatioCoordinates.y5,";\n                    --x6: ",r.imageRatioCoordinates.x6,";\n                    --y6: ",r.imageRatioCoordinates.y6,";\n                    --x7: ",r.imageRatioCoordinates.x7,";\n                    --y7: ",r.imageRatioCoordinates.y7,";\n                    --x8: ",r.imageRatioCoordinates.x8,";\n                    --y8: ",r.imageRatioCoordinates.y8,";\n                    --x9: ",r.imageRatioCoordinates.x9,";\n                    --y9: ",r.imageRatioCoordinates.y9,";\n                    --x10: ",r.imageRatioCoordinates.x10,";\n                    --y10: ",r.imageRatioCoordinates.y10,""]),zt("",r.classPrefix,"-",r.classBody,"__ratio-clip"))},encapsulation:2})),t})(),YQ=(()=>{var e;class t extends n0{constructor(i){super(i),(0,h.A)(this,"sanitizer",void 0),(0,h.A)(this,"imageRatioCoordinates",void 0),this.sanitizer=i}isUploadVisible(){return Pt.isUploadVisible(this.bestandLijst)}bevatDropzoneBestand(i=!1){return i?this.bestandLijst.filter(r=>r.Dropzone&&r.File.accepted).length>0:this.bestandLijst.filter(r=>r.Dropzone).length>0}getDropzoneError(){return Pt.getDropzoneError(this.bestandLijst)}showPreviewUrl(){return Pt.showPreviewUrl(this.bestandLijst)}getSavedBestandFLijst(){return Pt.getSavedBestandFLijst(this.bestandLijst,this.fileuploadData.fileuploadReturnType,this.DocumentPath)}fileAddedWait(i){setTimeout(()=>{let r=Pt.getFileuploadBestand(this.bestandLijst);r&&r.File&&r.File.height?this.processImage():i<15&&this.fileAddedWait(i+1)},100)}processImage(){let i=this.bestandLijst&&1==this.bestandLijst.length?this.bestandLijst[0]:null;if(this.fileuploadData.previewRatio&&i)if(i.Dropzone){let r=Number(i.File.width)/Number(i.File.height)*100;this.processImageRatio(this.fileuploadData.previewRatio,r)}else i.FileUrl&&this.getImageDimensionsFromUrl(i.FileUrl).then(r=>{let o=r.width/r.height*100;o&&this.processImageRatio(this.fileuploadData.previewRatio,o)})}getImageDimensionsFromUrl(i){return new Promise((r,o)=>{const s=new Image;s.onload=()=>{r({width:s.width,height:s.height})},s.onerror=o,s.src=i})}processImageRatio(i,r){let o=100,s=100,a=150;r>a?(s=100-(r-a)/r*100,o=s*(100/a)*(i/100),s>100?(o=o/s*100,s=100):o>100&&(s=s/o*100,o=100)):r==a?i>r?(o=100,s=100-(i-a)/i*100):(s=100,o=s/a*100*(i/100)):r<a&&(o=100-(a-r)/a*100,s=1.5*o/(i/100),s>100?(o=o/s*100,s=100):o>100&&(s=s/o*100,o=100));let l=50-o/2,c=50-s/2;this.imageRatioCoordinates=new RA(l,c,100-l,100-c)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(kn))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload-single-preview"]],features:[be],decls:3,vars:4,consts:[[3,"class"],[3,"ngClass"],[3,"classPrefix","classBody","imageRatioCoordinates"],[3,"addedfile","removedFile","success","fileuploadData","uniqueId"],[3,"src"],[1,"dz-error-message"],[1,"dz-error-message-icon"],[1,"material-icons"],[1,"fa-solid","fa-circle-exclamation"],[1,"dz-error-message-text"],[3,"click"],[1,"fa-regular","fa-xmark"]],template:function(i,r){1&i&&(C(0,"div"),T(1,qG,6,14)(2,HG,6,9,"div",0),x()),2&i&&(E("",r.classPrefix,"-dropzone"),g(),M(r.isUploadVisible()?1:2))},dependencies:[An,r0,NA],encapsulation:2})),t})(),o0=(()=>{var e;class t{constructor(i,r){(0,h.A)(this,"sanitizer",void 0),(0,h.A)(this,"http",void 0),(0,h.A)(this,"eventsSubscription",void 0),(0,h.A)(this,"bestandLijst",void 0),(0,h.A)(this,"uploading",!1),(0,h.A)(this,"fileUploadCountToDo",0),(0,h.A)(this,"FileuploadAcceptedFiles",Ld),(0,h.A)(this,"FileuploadViewType",Zi),(0,h.A)(this,"FileuploadReturnType",de),(0,h.A)(this,"IconLibrary",jr),(0,h.A)(this,"classPrefix","dtx"),(0,h.A)(this,"fileuploadData",void 0),(0,h.A)(this,"loading",!1),(0,h.A)(this,"myFormGroup",void 0),(0,h.A)(this,"controlName",""),(0,h.A)(this,"bewaard",!1),(0,h.A)(this,"DocumentPath",""),(0,h.A)(this,"UploadAPI",""),(0,h.A)(this,"UploadParams",{}),(0,h.A)(this,"UploadHeaders",void 0),(0,h.A)(this,"events",void 0),(0,h.A)(this,"uploadKlaar",new G),this.sanitizer=i,this.http=r}ngOnInit(){this.eventsSubscription=this.events.subscribe(i=>{this.bewaar(i)})}
1ngOnChanges(i){if(!this.bestandLijst)if(this.myFormGroup&&this.myFormGroup.get(this.controlName).value){let r=N.isJsonString(this.myFormGroup.get(this.controlName).value)?JSON.parse(this.myFormGroup.get(this.controlName).value):this.myFormGroup.get(this.controlName).value;r=r.filter(o=>"1"!=o.Dropzone),this.bestandLijst=r,this.processImage()}else this.bestandLijst=JSON.parse("[]")}ngOnDestroy(){this.eventsSubscription.unsubscribe()}deleteBestand(i){i||(i=this.bestandLijst[0]),this.bestandLijst=this.bestandLijst.filter(r=>r!=i),this.updateMyFormGroupControl()}fileAdded(i){this.bestandLijst.length>=this.fileuploadData.maxFiles&&(this.bestandLijst=this.bestandLijst.slice(0,this.fileuploadData.maxFiles-1)),this.bestandLijst.push(i),this.updateMyFormGroupControl(),this.fileuploadData.previewRatio&&this.fileAddedWait(0),this.setChanged()}updateMyFormGroupControl(){this.myFormGroup.controls[this.controlName].setValue(JSON.stringify(this.bestandLijst.map(i=>new Br(i))))}fileRemoved(i){}setChanged(){}getFileSize(i){return Pt.getFileSize(i)}getSavedBestand(i){return Pt.getSavedBestand(i,this.fileuploadData.fileuploadReturnType,this.DocumentPath)}getTrimNaam(i){return Pt.getTrimNaam(i,this.fileuploadData.fileuploadReturnType)}bewaar(i){this.bewaard=!0;let r=[],o=this.bestandLijst.filter(s=>s.Dropzone&&!s.ErrorMelding);if(o&&o.length>0){let s=0;o.forEach((a,l)=>{let d=new FormData;d.append("file"+s,a.File),d.append("title"+s,a.File.name),Object.keys(this.UploadParams).forEach(f=>{d.append(f,this.UploadParams[f])}),s++;const c=new va("POST",this.UploadAPI,d,{reportProgress:!0}),u=this.http.request(c).pipe(H(f=>({event:f,fileIndex:l,fileUniqueId:a.UniqueId})));r.push(u)}),this.uploading=!0,at(r).pipe(bt(a=>a)).subscribe({next:({event:a,fileUniqueId:d})=>{let c=this.bestandLijst.find(u=>u.UniqueId==d);if(a.type===Rn.Response){let u;switch(this.fileuploadData.fileuploadReturnType){case de.DNNUpload:u=a.body[0].bestand;break;case de.DNNUploadResize:u=a.body;break;case de.DotNetCoreSingleFile_FileName:u=a.body.FileName;break;case de.DotNetCoreSingleFile_FilePath:u=a.body.FilePath;break;case de.DotNetCoreSingleFile_FileList:u=a.body.FileList;break;default:u=a.body[0].bestand}this.fileUploadCountToDo--,c&&(c.bestand=u,c.Dropzone=null,c.File=null)}else a.type===Rn.UploadProgress&&a.total&&c&&(c.UploadProgress=Math.round(100*a.loaded/a.total))},error:a=>{this.uploading=!1,console.error("Uploading error:",a)},complete:()=>{this.uploading=!1}}),this.fileUploadCountToDo=o.length,this.bewaarSub(i)}else this.bestandLijst.length>0&&this.bestandLijst[0].Dropzone&&this.myFormGroup.controls[this.controlName].setValue("[]"),this.bewaarSub(i)}bewaarSub(i){var r,o,s;let a;switch(this.fileuploadData.fileuploadReturnType){case de.DNNUpload:case de.DNNUploadResize:a=JSON.stringify(this.bestandLijst.filter(l=>!l.Dropzone&&l.bestand));break;case de.DotNetCoreSingleFile_FileName:a=null===(r=this.bestandLijst.find(l=>!l.Dropzone&&l.bestand))||void 0===r?void 0:r.bestand;break;case de.DotNetCoreSingleFile_FilePath:a=null===(o=this.bestandLijst.find(l=>!l.Dropzone&&l.bestand))||void 0===o?void 0:o.bestand;break;case de.DotNetCoreSingleFile_FileList:a=null===(s=this.bestandLijst.find(l=>!l.Dropzone&&l.bestand))||void 0===s?void 0:s.bestand;break;default:a=JSON.stringify(this.bestandLijst.filter(l=>!l.Dropzone&&l.bestand))}this.myFormGroup.controls[this.controlName].setValue(a),this.uploadKlaar.emit(i)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(kn),I(Nn))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["ng-component"]],inputs:{classPrefix:"classPrefix",fileuploadData:"fileuploadData",loading:"loading",myFormGroup:"myFormGroup",controlName:"controlName",bewaard:"bewaard",DocumentPath:"DocumentPath",UploadAPI:"UploadAPI",UploadParams:"UploadParams",UploadHeaders:"UploadHeaders",events:"events"},outputs:{uploadKlaar:"uploadKlaar"},features:[je],decls:0,vars:0,template:function(i,r){},encapsulation:2})),t})(),s0=(()=>{var e;class t{constructor(){(0,h.A)(this,"bViewInitDone",!1),(0,h.A)(this,"bDataLoaded",!1),(0,h.A)(this,"isMultiple",!1),(0,h.A)(this,"classPrefix","dtx"),(0,h.A)(this,"fileuploadData",void 0),(0,h.A)(this,"uniqueId",""),(0,h.A)(this,"addedfile",new G),(0,h.A)(this,"success",new G),(0,h.A)(this,"removedFile",new G)}ngOnInit(){}ngAfterViewInit(){this.bViewInitDone=!0,this.loadData()}ngOnChanges(){this.fileuploadData&&(this.bDataLoaded=!0,this.isMultiple=this.fileuploadData.maxFiles>1,this.loadData())}loadData(){}fileAdded(i){const o=i.target.files;if(o){const s=Array.from(o);let a=1;
1s.forEach(l=>{if(l.size<=1024*this.fileuploadData.maxFilesize*1024){let d=new Br(null);d.init(N.getUniqueString(),1,l,URL.createObjectURL(l),""),this.addedfile.emit(d),this.addedfile&&this.addedfile.emit(d)}else if(a>this.fileuploadData.maxFiles){let d=new Br(null);d.init(N.getUniqueString(),1,l,URL.createObjectURL(l),`Only the first ${this.fileuploadData.maxFiles} files will be accepted.`),this.addedfile&&this.addedfile.emit(d)}else{let d=new Br(null),c=this.fileuploadData.fileuploadDictionary.dictFileTooBig.replace("{{filesize}}",(l.size/1024/1024).toFixed(2)).replace("{{maxFilesize}}",this.fileuploadData.maxFilesize.toFixed(2));d.init(N.getUniqueString(),1,l,URL.createObjectURL(l),c),this.addedfile&&this.addedfile.emit(d)}a++})}}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["upload-vanilla"]],inputs:{classPrefix:"classPrefix",fileuploadData:"fileuploadData",uniqueId:"uniqueId"},outputs:{addedfile:"addedfile",success:"success",removedFile:"removedFile"},features:[je],decls:1,vars:1,consts:[["fileInput",""],[1,"flex","mx-auto"],[1,"relative","flex","flex-col","items-center","justify-center","min-h-[350px]","border-2","px-40"],["type","file",1,"absolute","top-0","left-0","w-full","h-full","cursor-pointer","opacity-0",3,"change","id","multiple","accept"],[1,"h-12","w-12",2,"width","500px"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 27 21"],["d","M24.469.75c.703 0 1.3.246 1.793.738.492.492.738 1.09.738 1.793V18.47c0 .703-.246 1.3-.738 1.793a2.441 2.441 0 0 1-1.793.738H2.53c-.703 0-1.3-.246-1.793-.738A2.441 2.441 0 0 1 0 18.469V3.28c0-.703.246-1.3.738-1.793S1.828.75 2.531.75zm-.317 17.719c.211 0 .317-.106.317-.317V3.598c0-.211-.106-.317-.317-.317H2.848c-.211 0-.317.106-.317.317v14.554c0 .211.106.317.317.317zM5.221 6.023c.422-.421.931-.632 1.529-.632s1.099.202 1.503.606c.404.404.606.905.606 1.503s-.202 1.099-.606 1.503c-.404.404-.905.606-1.503.606s-1.099-.202-1.503-.606c-.404-.404-.606-.905-.606-1.503s.193-1.09.58-1.477zm-.159 9.915v-2.532l2.11-2.11c.281-.28.562-.28.844 0l2.109 2.11 6.328-6.328c.281-.281.563-.281.844 0l4.64 4.64v4.22z","fill","#001b35","opacity",".1"],[3,"innerHtml"]],template:function(i,r){1&i&&T(0,GG,9,8,"div",1),2&i&&M(r.fileuploadData?0:-1)},encapsulation:2})),t})(),a0=(()=>{var e;class t{constructor(){(0,h.A)(this,"bestand",void 0),(0,h.A)(this,"uploading",!1)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload-upload-progress"]],inputs:{bestand:"bestand",uploading:"uploading"},decls:1,vars:1,consts:[[1,"flex","items-center","h-8","mb-4"],[1,"text-sm","mr-2"],[1,""],[1,"h-4","flex","items-end","rounded","bg-pink-300"]],template:function(i,r){1&i&&T(0,WG,6,3),2&i&&M(r.uploading?0:-1)},encapsulation:2})),t})(),ZQ=(()=>{var e;class t{transform(i,r){return i.filter(r?o=>null==o.Dropzone||o.File.accepted:o=>null!=o.Dropzone&&!o.File.accepted)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275pipe",Ot({name:"vanillafileUploadAccecptedFilter",type:e,pure:!1})),t})(),KQ=(()=>{var e;class t extends o0{constructor(i,r){super(i,r),(0,h.A)(this,"sanitizer",void 0),(0,h.A)(this,"http",void 0),this.sanitizer=i,this.http=r}fileAddedWait(i){}processImage(){}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(kn),I(Nn))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload-vanilla-upload-multi-preview"]],features:[be],decls:3,vars:6,consts:[[3,"addedfile","removedFile","fileuploadData","uniqueId"],[3,"class"],[3,"click"],[3,"ngClass"],[1,"dz-preview","dz-image-preview"],[1,"dz-details-button"],["type","button"],[1,"material-icons"],[1,"fa-regular","fa-xmark"],[1,"dz-error-message"],[3,"src"],[3,"uploading","bestand"],[1,"dz-details"],[1,"dz-details-img"],[1,"fa-regular","fa-image"],[1,"fa-solid","fa-file"],[1,"dz-error-message-icon"],[1,"fa-solid","fa-circle-exclamation"],[1,"dz-error-message-text"]],template:function(i,r){1&i&&(C(0,"div")(1,"upload-vanilla",0),U("addedfile",function(s){return r.fileAdded(s)})("removedFile",function(s){return r.fileRemoved(s)}),x(),T(2,MW,4,8),x()),2&i&&(E("",r.classPrefix,"-dropzone"),g(),A("fileuploadData",r.fileuploadData)("uniqueId",r.fileuploadData.uniqueId),g(),M(r.bestandLijst&&r.bestandLijst.length>0?2:-1))},dependencies:[An,s0,a0,ZQ],encapsulation:2})),t})(),QQ=(()=>{var e;class t extends o0{constructor(i,r){super(i,r),(0,h.A)(this,"sanitizer",void 0),(0,h.A)(this,"http",void 0),this.sanitizer=i,this.http=r}fileAddedWait(i){}processImage(){}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(kn),I(Nn))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload-vanilla-upload-no-preview"]],features:[be],decls:3,vars:6,consts:[[3,"addedfile","removedFile","fileuploadData","uniqueId"],[3,"class"],[3,"ngClass"],[1,"dz-preview","dz-image-preview"],[1,"dz-details-button"],["type","button",3,"click"],[1,"material-icons"],[1,"fa-regular","fa-xmark"],[1,"dz-error-message"],[1,"dz-details-name"],[3,"uploading","bestand"],[1,"dz-details"],[1,"dz-details-img"],["target","_blank",3,"href"],[1,"fa-regular","fa-image"],[1,"fa-solid","fa-file"],[1,"dz-error-message-icon"],[1,"fa-solid","fa-circle-exclamation"],[1,"dz-error-message-text"]],template:function(i,r){1&i&&(C(0,"div")(1,"upload-vanilla",0),U("addedfile",function(s){return r.fileAdded(s)})("removedFile",function(s){return r.fileRemoved(s)}),x(),T(2,UW,3,3,"div",1),x()),2&i&&(E("",r.classPrefix,"-dropzone"),g(),A("fileuploadData",r.fileuploadData)("uniqueId",r.fileuploadData.uniqueId),g(),M(r.bestandLijst&&r.bestandLijst.length>0?2:-1))},dependencies:[An,s0,a0],encapsulation:2})),t})(),XQ=(()=>{var e;class t extends o0{constructor(i,r){super(i,r),(0,h.A)(this,"sanitizer",void 0),(0,h.A)(this,"http",void 0),(0,h.A)(this,"imageRatioCoordinates",void 0),this.sanitizer=i,this.http=r}isUploadVisible(){return Pt.isUploadVisible(this.bestandLijst)}bevatDropzoneBestand(i=!1){return i?this.bestandLijst.filter(r=>r.Dropzone&&r.File.accepted).length>0:this.bestandLijst.filter(r=>r.Dropzone).length>0}getDropzoneError(){return Pt.getDropzoneError(this.bestandLijst)}showPreviewUrl(){return URL.createObjectURL(this.bestandLijst[0].File)}getSavedBestandFLijst(){return Pt.getSavedBestandFLijst(this.bestandLijst,this.fileuploadData.fileuploadReturnType,this.DocumentPath)}fileAddedWait(i){setTimeout(()=>{let r=Pt.getFileuploadBestand(this.bestandLijst);r&&r.File&&r.File.height?this.processImage():i<15&&this.fileAddedWait(i+1)},100)}processImage(){let i=this.bestandLijst&&1==this.bestandLijst.length?this.bestandLijst[0]:null;if(this.fileuploadData.previewRatio&&i)if(i.Dropzone){let r=Number(i.File.width)/Number(i.File.height)*100;this.processImageRatio(this.fileuploadData.previewRatio,r)}else i.FileUrl&&this.getImageDimensionsFromUrl(i.FileUrl).then(r=>{let o=r.width/r.height*100;o&&this.processImageRatio(this.fileuploadData.previewRatio,o)})}getImageDimensionsFromUrl(i){return new Promise((r,o)=>{const s=new Image;s.onload=()=>{r({width:s.width,height:s.height})},s.onerror=o,s.src=i})}processImageRatio(i,r){let o=100,s=100,a=150;r>a?(s=100-(r-a)/r*100,o=s*(100/a)*(i/100),s>100?(o=o/s*100,s=100):o>100&&(s=s/o*100,o=100)):r==a?i>r?(o=100,s=100-(i-a)/i*100):(s=100,o=s/a*100*(i/100)):r<a&&(o=100-(a-r)/a*100,s=1.5*o/(i/100),s>100?(o=o/s*100,s=100):o>100&&(s=s/o*100,o=100));let l=50-o/2,c=50-s/2;this.imageRatioCoordinates=new RA(l,c,100-l,100-c)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(kn),I(Nn))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload-vanilla-upload-single-preview"]],features:[be],decls:3,vars:4,consts:[[3,"class"],[3,"ngClass"],[3,"classPrefix","classBody","imageRatioCoordinates"],[3,"addedfile","removedFile","fileuploadData","uniqueId"],[3,"src"],[1,"dz-error-message"],[1,"dz-error-message-icon"],[1,"material-icons"],[1,"fa-solid","fa-circle-exclamation"],[1,"dz-error-message-text"],[3,"click"],[1,"fa-regular","fa-xmark"],[3,"uploading","bestand"]],template:function(i,r){1&i&&(C(0,"div"),T(1,iY,6,14)(2,sY,7,11,"div",0),x()),2&i&&(E("",r.classPrefix,"-dropzone"),g(),M(r.isUploadVisible()?1:2))},dependencies:[An,s0,NA,a0],encapsulation:2})),t})(),JQ=(()=>{var e;class t{constructor(){(0,h.A)(this,"FileuploadViewType",Zi),(0,h.A)(this,"classPrefix","dtx"),(0,h.A)(this,"fileuploadData",void 0),(0,h.A)(this,"loading",!1),(0,h.A)(this,"myFormGroup",void 0),(0,h.A)(this,"controlName",""),(0,h.A)(this,"bewaard",!1),(0,h.A)(this,"DocumentPath",""),(0,h.A)(this,"UploadAPI",""),(0,h.A)(this,"UploadParams",{}),(0,h.A)(this,"UploadHeaders",void 0),(0,h.A)(this,"events",void 0),(0,h.A)(this,"uploadKlaar",new G)}ngOnChanges(){}fileuploadControlKlaar(i){this.uploadKlaar.emit(i)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-fileupload"]],inputs:{classPrefix:"classPrefix",fileuploadData:"fileuploadData",loading:"loading",myFormGroup:"myFormGroup",controlName:"controlName",bewaard:"bewaard",DocumentPath:"DocumentPath",UploadAPI:"UploadAPI",UploadParams:"UploadParams",UploadHeaders:"UploadHeaders",events:"events"},outputs:{uploadKlaar:"uploadKlaar"},features:[je],decls:6,vars:1,consts:[[3,"classPrefix","fileuploadData","myFormGroup","controlName","bewaard","DocumentPath","UploadAPI","UploadParams","UploadHeaders","events"],[3,"uploadKlaar","classPrefix","fileuploadData","myFormGroup","controlName","bewaard","DocumentPath","UploadAPI","UploadParams","UploadHeaders","events"]],template:function(i,r){if(1&i&&T(0,aY,1,10,"dtx-fileupload-no-preview",0)(1,lY,1,10,"dtx-fileupload-multi-preview",0)(2,dY,1,10,"dtx-fileupload-single-preview",0)(3,cY,1,10,"dtx-fileupload-vanilla-upload-no-preview",0)(4,uY,1,10,"dtx-fileupload-vanilla-upload-multi-preview",0)(5,hY,1,10,"dtx-fileupload-vanilla-upload-single-preview",0),2&i){let o;M((o=r.fileuploadData.fileuploadViewType)===r.FileuploadViewType.NoPreview?0:o===r.FileuploadViewType.MultiPreview?1:o===r.FileuploadViewType.SinglePreview?2:o===r.FileuploadViewType.VanillaNoPreview?3:o===r.FileuploadViewType.VanillaMultiPreview?4:o===r.FileuploadViewType.VanillaSinglePreview?5:-1)}},dependencies:[GQ,WQ,YQ,KQ,QQ,XQ],encapsulation:2})),t})(),LA=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({imports:[Fn,Pr,ar]})),t})();class eX{constructor(t){(0,h.A)(this,"betaalMethodeLijst",void 0),this.betaalMethodeLijst=t}}class OA{constructor(t){(0,h.A)(this,"datepickerConfig",void 0),this.datepickerConfig=t}}class tX{constructor(t,n,i){(0,h.A)(this,"mask",void 0),(0,h.A)(this,"showMaskTyped",void 0),(0,h.A)(this,"dropSpecialCharacters",void 0),this.mask=t,this.showMaskTyped=n,this.dropSpecialCharacters=i}}class Vd{get AutoCompleteZoekwoorden(){return this._AutoCompleteZoekwoorden}constructor(t,n){(0,h.A)(this,"OptieLijst",void 0),(0,h.A)(this,"DataColumns",void 0),(0,h.A)(this,"_AutoCompleteZoekwoorden",!1),this.OptieLijst=t,this.DataColumns=n}setAutoCompleteZoekwoorden(t){return this._AutoCompleteZoekwoorden=t,this}}class Sa{get name(){return this._name}get value(){return this._value}get dataAttribute(){return this._dataAttribute}constructor(t,n,i){(0,h.A)(this,"_name",void 0),(0,h.A)(this,"_value",void 0),(0,h.A)(this,"_dataAttribute",void 0),this._name=t,this._value=n,this._dataAttribute=i}}var W=function(e){return e.Titel="cdTitel",e.Input="cdInput",e.InputMask="cdInputMask",e.Textarea="cdTextarea",e.TextareaRich="cdTextareaRich",e.Check="cdCheck",e.CheckList="cdCheckList",e.OptieSelect="cdOptieSelect",e.OptieAutocomplete="cdOptieAutocomplete",e.OptieRadio="cdOptieRadio",e.Datepicker="cdDatepicker",e.Voorwaarden="cdVoorwaarden",e.Betaalmethodes="cdBetaalmethodes",e.Fileupload="cdFileupload",e.Wachtwoord="cdWachtwoord",e.FormulierKnop="cdFormulierKnop",e.GooglePlaces="cdGooglePlaces",e}(W||{}
1),jA=function(e){return e.Normaal="cdNormaal",e.Outside="cdOutside",e}(jA||{});class iX{get FormUniqueId(){return this._FormUniqueId}get Titel(){return this._Titel}get Info(){return this._Info}get TitelRich(){return this._TitelRich}get InfoRich(){return this._InfoRich}get ClassPrefix(){return this._ClassPrefix}get TaalCode(){return this._TaalCode}get MetBedankt(){return this._MetBedankt}get BedanktTitel(){return this._BedanktTitel}get BedanktInfo(){return this._BedanktInfo}get MetBedanktIntro(){return this._MetBedanktIntro}get FormulierKnopLijstTypeCode(){return this._FormulierKnopLijstTypeCode}get FormulierKnopLijst(){return this._FormulierKnopLijst||(this._FormulierKnopLijst=[]),this._FormulierKnopLijst}get FormulierKnopLijstClass(){return this._FormulierKnopLijstClass}get FormulierOnKeydownEnterFDefault(){return this._FormulierOnKeydownEnterFDefault}get FormulierVeldRijLijst(){return this._FormulierVeldRijLijst}get FormulierValidatieClass(){return this._FormulierValidatieClass}get AttributeList(){return this._AttributeList}get FormulierKnopRijAttributeList(){return this._FormulierKnopRijAttributeList}get ValidatorLijst(){return this._ValidatorLijst}get ValidatorMeldingLijst(){return this._ValidatorMeldingLijst}get AsyncValidatorLijst(){return this._AsyncValidatorLijst}get AsyncValidatorMeldingLijst(){return this._AsyncValidatorMeldingLijst}get OnExecuteAsyncValidatorLijst(){return this._OnExecuteAsyncValidatorLijst}get OnExecuteAsyncValidatorMeldingLijst(){return this._OnExecuteAsyncValidatorMeldingLijst}get FormulierLocalStorageData(){return this._FormulierLocalStorageData}get ResetInactieveVelden(){return this._ResetInactieveVelden}get veldLijstInactiefSubject(){return this._veldLijstInactiefSubject}get veldWaardeUpdateLijstSubject(){return this._veldWaardeUpdateLijstSubject}constructor(t,n,i,r,o){(0,h.A)(this,"_FormUniqueId",void 0),(0,h.A)(this,"_Titel",void 0),(0,h.A)(this,"_Info",void 0),(0,h.A)(this,"_TitelRich",!1),(0,h.A)(this,"_InfoRich",!1),(0,h.A)(this,"_ClassPrefix","dtx"),(0,h.A)(this,"_TaalCode",void 0),(0,h.A)(this,"_MetBedankt",!1),(0,h.A)(this,"_BedanktTitel",void 0),(0,h.A)(this,"_BedanktInfo",void 0),(0,h.A)(this,"_MetBedanktIntro",!1),(0,h.A)(this,"_FormulierKnopLijstTypeCode",jA.Normaal),(0,h.A)(this,"_FormulierKnopLijst",void 0),(0,h.A)(this,"_FormulierKnopLijstClass",void 0),(0,h.A)(this,"_FormulierOnKeydownEnterFDefault",!0),(0,h.A)(this,"_FormulierVeldRijLijst",void 0),(0,h.A)(this,"_FormulierValidatieClass",void 0),(0,h.A)(this,"_AttributeList",void 0),(0,h.A)(this,"_FormulierKnopRijAttributeList",void 0),(0,h.A)(this,"_ValidatorLijst",void 0),(0,h.A)(this,"_ValidatorMeldingLijst",void 0),(0,h.A)(this,"_AsyncValidatorLijst",void 0),(0,h.A)(this,"_AsyncValidatorMeldingLijst",void 0),(0,h.A)(this,"_OnExecuteAsyncValidatorLijst",void 0),(0,h.A)(this,"_OnExecuteAsyncValidatorMeldingLijst",void 0),(0,h.A)(this,"_FormulierLocalStorageData",void 0),(0,h.A)(this,"_ResetInactieveVelden",!1),(0,h.A)(this,"_veldLijstInactiefSubject",new Gt([])),(0,h.A)(this,"_veldWaardeUpdateLijstSubject",new Gt([])),this._FormUniqueId=N.getUniqueString(),this._Titel=t,this._Info=n,this._TitelRich=i,this._InfoRich=r,this._TaalCode=o,this._FormulierVeldRijLijst=[]}knopToevoegen(t,n,i,r,o,s){this.FormulierKnopLijst||(this._FormulierKnopLijst=[]),o&&this._FormulierKnopLijst.filter(l=>l.isDefault).forEach(l=>l.setIsDefault(!1));let a=new aX(t,n,i,r,o,s);return this.FormulierKnopLijst.push(a),a}rijToevoegen(){let t=new BA;return this.FormulierVeldRijLijst.push(t),t}rijInnerContentToevoegen(t=""){if(null!=this._FormulierVeldRijLijst.find(i=>i.isInnerContent))console.error("Er kan maar 1 innercontent rij bestaan"),alert("Er kan maar 1 innercontent rij bestaan");else{let i=new BA(!0);i.setVeldRijClass(t),this.FormulierVeldRijLijst.push(i)}}addLocalstorage(t,n,i){return this._FormulierLocalStorageData=new nX(t,n,i),this._FormulierLocalStorageData}veldUpdateActief(t,n){let r=this.FormulierVeldRijLijst.find(o=>null!=o.FormulierVeldLijst.find(s=>
1s.Naam==t)).FormulierVeldLijst.find(o=>o.Naam==t);r.Actief!=n&&r.setActief(n)}addAttribute(t,n,i){return this._AttributeList||(this._AttributeList=[]),this._AttributeList.push(new Sa(t,n,i)),this}addFormulierKnopRijAttributeList(t){return null==t.find(n=>"align"==n.name&&1==n.dataAttribute||"data-align"==n.name&&0==n.dataAttribute)&&t.push(new Sa("align",this.FormulierKnopLijst.length>1?"space-between":"start",!0)),this._FormulierKnopRijAttributeList=t,this}addValidator(t,n){null==this._ValidatorLijst&&(this._ValidatorLijst=[]),null==this._ValidatorMeldingLijst&&(this._ValidatorMeldingLijst=[]),this._ValidatorLijst.push(t),this._ValidatorMeldingLijst=this._ValidatorMeldingLijst.concat(n)}addValidators(t,n,i=!0){(null==this._ValidatorLijst||i)&&(this._ValidatorLijst=[]),(null==this._ValidatorMeldingLijst||i)&&(this._ValidatorMeldingLijst=[]),this._ValidatorLijst=this._ValidatorLijst.concat(t),this._ValidatorMeldingLijst=this._ValidatorMeldingLijst.concat(n)}addAsyncValidator(t,n){null==this._AsyncValidatorLijst&&(this._AsyncValidatorLijst=[]),null==this._AsyncValidatorMeldingLijst&&(this._AsyncValidatorMeldingLijst=[]),this._AsyncValidatorLijst.push(t),this._AsyncValidatorMeldingLijst=this._AsyncValidatorMeldingLijst.concat(n)}addAsyncValidators(t,n,i=!0){(null==this._AsyncValidatorLijst||i)&&(this._AsyncValidatorLijst=[]),(null==this._AsyncValidatorMeldingLijst||i)&&(this._AsyncValidatorMeldingLijst=[]),this._AsyncValidatorLijst=this._AsyncValidatorLijst.concat(t),this._AsyncValidatorMeldingLijst=this._AsyncValidatorMeldingLijst.concat(n)}addOnExecuteAsyncValidator(t,n){null==this._OnExecuteAsyncValidatorLijst&&(this._OnExecuteAsyncValidatorLijst=[]),null==this._OnExecuteAsyncValidatorMeldingLijst&&(this._OnExecuteAsyncValidatorMeldingLijst=[]),this._OnExecuteAsyncValidatorLijst.push(t),this._OnExecuteAsyncValidatorMeldingLijst=this._OnExecuteAsyncValidatorMeldingLijst.concat(n)}addOnExecuteAsyncValidators(t,n,i=!0){(null==this._OnExecuteAsyncValidatorLijst||i)&&(this._OnExecuteAsyncValidatorLijst=[]),(null==this._OnExecuteAsyncValidatorMeldingLijst||i)&&(this._OnExecuteAsyncValidatorMeldingLijst=[]),this._OnExecuteAsyncValidatorLijst=this._OnExecuteAsyncValidatorLijst.concat(t),this._OnExecuteAsyncValidatorMeldingLijst=this._OnExecuteAsyncValidatorMeldingLijst.concat(n)}getVeld(t){return this.FormulierVeldRijLijst.reduce(function(i,r){return i.concat(r.FormulierVeldLijst)},[]).find(i=>i.Naam==t)}getDefaultKnop(){let t=this.FormulierKnopLijst.find(n=>n.isDefault);return t||(t=this.FormulierKnopLijst.find(n=>n.metValidatie),t)}heeftDubbeleVelden(){let n=this.FormulierVeldRijLijst.reduce(function(o,s){return o.concat(s.FormulierVeldLijst)},[]).map(o=>o.Naam);const i=n.filter((o,s)=>n.indexOf(o)!==s);return[...new Set(i)]}getVeldFileUploadResult(t,n){let r=this.FormulierVeldRijLijst.reduce(function(o,s){return o.concat(s.FormulierVeldLijst)},[]).find(o=>o.Naam==t);if(r.TypeCode==W.Fileupload){if(!r.FileuploadVeldExtraDataV2)return console.error("Niet voorzien"),alert("Nog niet voorzien"),null;if(r.FileuploadVeldExtraDataV2.fileuploadData.fileuploadReturnType==de.DNNUpload)return r.Ctrl.value;if(r.FileuploadVeldExtraDataV2.fileuploadData.fileuploadReturnType==de.DNNUploadResize){if(n){let o="";if(r.Ctrl.value&&N.isJsonString(r.Ctrl.value)){let s=JSON.parse(r.Ctrl.value);s.length>0&&s[0].bestand.length>0&&(o=JSON.parse(r.Ctrl.value)[0].bestand[0].bestand)}return o}return r.Ctrl.value}}return null}zetMetBedankt(t,n,i){return this._MetBedankt=!0,this._MetBedanktIntro=t,this._BedanktTitel=n,this._BedanktInfo=i,this}setFormulierOnKeydownEnterFDefault(t){return this._FormulierOnKeydownEnterFDefault=t,this}setVeldLijstInactief(t){this._veldLijstInactiefSubject.next(t)}setVeldWaardeUpdateLijst(t){this._veldWaardeUpdateLijstSubject.next(t)}setClassPrefix(t){return this._ClassPrefix=t,this}setFormulierKnopLijstClass(t){return this._FormulierKnopLijstClass=t,this}setFormulierKnopLijstTypeCode(t){return this._FormulierKnopLijstTypeCode=t,this}}class nX{get myFormValue(){return this._myFormValue}get myFormHash(){return this._myFormHash}constructor(t,n,i){(0,h.A)(this,"_LocalStorageKey",void 0),(0,h.A)(this,"_myFormValue",void 0),(0,h.A)(this,"_myFormValid",!1),(0,h.A)(this,"_myFormHash",void 0),(0,h.A)(this,"_myStorageVersie",""),(0,h.A)(this,"_myStorageDatum",void 0),this._LocalStorageKey=t;let r=localStorage.getItem(t);if(r&&N.isJsonString(r)){let o=JSON.parse(r);this.checkFormVersion(o.myStorageVersie,n)&&this.checkFormTimeStamp(o.myStorageDatum,i)?(this._myFormValue=o.myFormValue&&N.isJsonString(o.myFormValue)?JSON.parse(o.myFormValue):{},this._myFormHash=o.myFormHash,this._myFormValid=o.myFormValid,this._myStorageVersie=o.myStorageVersie,this._myStorageDatum=N.stringToDate(o.myStorageDatum,"dd/MM/yyyy","/")):this.reset(n)}else this.reset(n)}getValue(t){return this.myFormValue[t]}reset(t){this._myFormValue={},this._myFormValid=!1,this._myFormHash=N.getUniqueString(),this._myStorageVersie=t,this._myStorageDatum=new Date,this.saveStorage()}updateStorage(t,n=!0){this._myFormValue=t,this._myFormValid=n,this._myStorageDatum=new Date,this.saveStorage()}updateStorageVeld(t,n){this._myFormValue[t]=n,this._myStorageDatum=new Date,this.saveStorage()}saveStorage(){localStorage.setItem(this._LocalStorageKey,JSON.stringify({myFormValue:this._myFormValue,myFormValid:this._myFormValid,myFormHash:this._myFormHash,myStorageVersie:this._myStorageVersie,myStorageDatum:N.dateToString(this._myStorageDatum)}))}checkFormVersion(t,n){return!t||t==n}checkFormTimeStamp(t,n){return!(!t||!N.isDatumGeldig(t,!0))&&N.stringToDate(t,"dd/MM/yyyy","/")>this.getHistoryDate(n)}getHistoryDate(t){const n=new Date,i=new Date(n);return i.setDate(n.getDate()-t),i}}class BA{get FormulierVeldLijst(){return this._FormulierVeldLijst}get VeldRijClass(){return this._VeldRijClass}
1get ValidatorLijstFFormulier(){return this._ValidatorLijstFFormulier}get ValidatorMeldingLijstFFormulier(){return this._ValidatorMeldingLijstFFormulier}get isInnerContent(){return this._isInnerContent}get AttributeList(){return this._AttributeList}constructor(t=!1){(0,h.A)(this,"_FormulierVeldLijst",void 0),(0,h.A)(this,"_VeldRijClass",void 0),(0,h.A)(this,"_ValidatorLijstFFormulier",void 0),(0,h.A)(this,"_ValidatorMeldingLijstFFormulier",void 0),(0,h.A)(this,"_isInnerContent",!1),(0,h.A)(this,"_AttributeList",void 0),this._FormulierVeldLijst=[],this._isInnerContent=t}setVeldRijClass(t){return this._VeldRijClass=t,this}addAttribute(t,n,i){return this._AttributeList||(this._AttributeList=[]),this._AttributeList.push(new Sa(t,n,i)),this}veldToevoegen(t,n,i,r,o,s=12){let a=new Ln(t,n,i,r,o,s);return this.FormulierVeldLijst.push(a),a}veldToevoegenFInputMask(t,n,i,r,o,s=!0,a=!1,l=12){let d=new Ln(t,n,i,W.InputMask,r,l);return d.addInputMaskVeldExtraData(new tX(o,s,a)),this.FormulierVeldLijst.push(d),d}veldToevoegenFOptieSelect(t,n,i,r,o,s,a=12){let l=new Ln(t,n,i,W.OptieSelect,r,a);return l.addOptieExtraData(new Vd(o,s)),this.FormulierVeldLijst.push(l),l}veldToevoegenFOptieRadio(t,n,i,r,o,s,a=12){let l=new Ln(t,n,i,W.OptieRadio,r,a);return l.addOptieExtraData(new Vd(o,s)),this.FormulierVeldLijst.push(l),l}veldToevoegenFOptieAutocomplete(t,n,i,r,o,s=12){let a=new Ln(t,n,"",W.OptieAutocomplete,i,s);return a.addOptieExtraData(new Vd(r,o)),this.FormulierVeldLijst.push(a),a}veldToevoegenFDatepicker(t,n,i,r,o=12){!i&&r.minimumDatum&&r.minimumDatumAlsStandaard&&(i=r.minimumDatum);let s=new Ln(t,n,"",W.Datepicker,i,o);return s.addDatepickerExtraData(new OA(r)),this.FormulierVeldLijst.push(s),s}veldToevoegenFBetaalMethode(t,n,i,r,o=12){let s=new Ln(t,n,"",W.Betaalmethodes,i,o);return s.addBetaalMethodeExtraData(new eX(r)),this.FormulierVeldLijst.push(s),s}veldToevoegenFWachtwoord(t,n,i,r,o=12){let s=new Ln(t,n,"",W.Wachtwoord,i,o);return s.addWachtwoordVeldExtraData(r),this.FormulierVeldLijst.push(s),s}veldToevoegenFTitel(t,n=12){let i=new Ln(N.getUniqueString(),t,"",W.Titel,"",n);return this.FormulierVeldLijst.push(i),i}veldToevoegenFFormulierKnop(t,n=12){let i=new Ln(N.getUniqueString(),"","",W.FormulierKnop,"",n);return i.addFormulierKnopVeldExtraData(t),this.FormulierVeldLijst.push(i),i}addValidatorFFormulier(t,n){return null==this._ValidatorLijstFFormulier&&(this._ValidatorLijstFFormulier=[]),null==this._ValidatorMeldingLijstFFormulier&&(this._ValidatorMeldingLijstFFormulier=[]),this._ValidatorLijstFFormulier.push(t),this._ValidatorMeldingLijstFFormulier=this._ValidatorMeldingLijstFFormulier.concat(n),this}addValidatorLijstFFormulier(t,n,i=!0){return(null==this._ValidatorLijstFFormulier||i)&&(this._ValidatorLijstFFormulier=[]),(null==this._ValidatorMeldingLijstFFormulier||i)&&(this._ValidatorMeldingLijstFFormulier=[]),this._ValidatorLijstFFormulier=this._ValidatorLijstFFormulier.concat(t),this._ValidatorMeldingLijstFFormulier=this._ValidatorMeldingLijstFFormulier.concat(n),this}isActief(){return null!=this.FormulierVeldLijst.find(t=>t.Actief)}}class Ln{get Naam(){return this._Naam}get Info(){return this._Info}get InfoRich(){return this._InfoRich}get Opmerking(){return this._Opmerking}get LabelIconClass(){return this._LabelIconClass}get Tooltip(){return this._Tooltip}get TooltipRich(){return this._TooltipRich}get Label(){return this._Label}get Placeholder(){return this._Placeholder}get TypeCode(){return this._TypeCode}get Waarde(){return this._Waarde}get Gewicht(){return this._Gewicht}get VeldClass(){return this._VeldClass}get BetaalMethodeVeldExtraData(){return this._BetaalMethodeVeldExtraData}get DatepickerVeldExtraData(){return this._DatepickerVeldExtraData}get FileuploadVeldExtraDataV2(){return this._FileuploadVeldExtraDataV2}get FormulierKnopVeldExtraData(){return this._FormulierKnopVeldExtraData}get GooglePlacesVeldExtraData(){return this._GooglePlacesVeldExtraData}get InputMaskVeldExtraData(){return this._InputMaskVeldExtraData}get OptieVeldExtraData(){return this._OptieVeldExtraData}get TextareaRichVeldExtraData(){return this._TextareaRichVeldExtraData}get WachtwoordVeldExtraData(){return this._WachtwoordVeldExtraData}get IconPrefix(){return this._IconPrefix}get IconButton(){return this._IconButton}get Link(){return this._Link}
1get ValidatorLijst(){return this._ValidatorLijst}get ValidatorMeldingLijst(){return this._ValidatorMeldingLijst}get ValidatorLijstFFormulier(){return this._ValidatorLijstFFormulier}get ValidatorMeldingLijstFFormulier(){return this._ValidatorMeldingLijstFFormulier}get Verplicht(){return this._Verplicht}get Ctrl(){return this._Ctrl}get Actief(){return this._Actief}get Readonly(){return this._Readonly}get AttributeList(){return this._AttributeList}constructor(t,n,i,r,o,s){(0,h.A)(this,"_Naam",void 0),(0,h.A)(this,"_Info",void 0),(0,h.A)(this,"_InfoRich",void 0),(0,h.A)(this,"_Opmerking",void 0),(0,h.A)(this,"_LabelIconClass",void 0),(0,h.A)(this,"_Tooltip",void 0),(0,h.A)(this,"_TooltipRich",void 0),(0,h.A)(this,"_Label",void 0),(0,h.A)(this,"_Placeholder",void 0),(0,h.A)(this,"_TypeCode",void 0),(0,h.A)(this,"_Waarde",void 0),(0,h.A)(this,"_Gewicht",void 0),(0,h.A)(this,"_VeldClass",void 0),(0,h.A)(this,"_BetaalMethodeVeldExtraData",void 0),(0,h.A)(this,"_DatepickerVeldExtraData",void 0),(0,h.A)(this,"_FileuploadVeldExtraDataV2",void 0),(0,h.A)(this,"_FormulierKnopVeldExtraData",void 0),(0,h.A)(this,"_GooglePlacesVeldExtraData",void 0),(0,h.A)(this,"_InputMaskVeldExtraData",void 0),(0,h.A)(this,"_OptieVeldExtraData",void 0),(0,h.A)(this,"_TextareaRichVeldExtraData",void 0),(0,h.A)(this,"_WachtwoordVeldExtraData",void 0),(0,h.A)(this,"_IconPrefix",void 0),(0,h.A)(this,"_IconButton",void 0),(0,h.A)(this,"_Link",void 0),(0,h.A)(this,"_ValidatorLijst",void 0),(0,h.A)(this,"_ValidatorMeldingLijst",void 0),(0,h.A)(this,"_ValidatorLijstFFormulier",void 0),(0,h.A)(this,"_ValidatorMeldingLijstFFormulier",void 0),(0,h.A)(this,"_Verplicht",void 0),(0,h.A)(this,"_Ctrl",void 0),(0,h.A)(this,"_Actief",!0),(0,h.A)(this,"_Readonly",!1),(0,h.A)(this,"_AttributeList",void 0),r==W.OptieSelect&&null==o&&(o=""),r==W.Check&&null==o&&(o=!1),this._InfoRich=!1,this._TooltipRich=!1,this._Naam=t,this._Label=n,this._Placeholder=i,this._TypeCode=r,this._Waarde=o,this._Gewicht=s,this._ValidatorLijst=[],this._Verplicht=!1}addLabel(t){return this._Label=t,this}addInfo(t,n=!1){return this._Info=t,this._InfoRich=n,this}addOpmerking(t){return this._Opmerking=t,this}addTooltip(t,n=!1){return this._Tooltip=t,this._TooltipRich=n,this}addClass(t){return this._VeldClass=t,this}addLabelIconClass(t){return this._LabelIconClass=t,this}addBetaalMethodeExtraData(t){return this._BetaalMethodeVeldExtraData=t,this}addDatepickerExtraData(t){let n=t.datepickerConfig;if(n.minimumDatum&&n.minimumDatumError&&this.addValidator(ti.isDatumVoorDatumString(n.minimumDatum,!1,"nietIsDatumVoorDatumStringMinimum"),n.minimumDatumError,"nietIsDatumVoorDatumStringMinimum",n.minimumDatumAutoCheck),n.maximumDatum&&n.maximumDatumError&&this.addValidator(ti.isDatumVoorDatumString(n.maximumDatum,!0,"nietIsDatumVoorDatumStringMaximum"),n.maximumDatumError,"nietIsDatumVoorDatumStringMaximum",n.maximumDatumAutoCheck),n.kalenderDatumStatusLijst&&n.disabledStatusCodeLijst&&n.disabledStatusCodeError){let i=n.kalenderDatumStatusLijst.filter(r=>null!=n.disabledStatusCodeLijst.find(o=>o==r.StatusCode)).map(r=>r.DatumC);this.addValidator(ti.elementNietUitgeschakeld(i),n.disabledStatusCodeError,"elementUitgeschakeld",n.disabledStatusCodeAutoCheck)}return n.required&&n.requiredError&&this.addValidatorRequired(n.requiredError,n.requiredAutoCheck),this._DatepickerVeldExtraData=t,this}addFileuploadExtraDataV2(t){return this._FileuploadVeldExtraDataV2=t,this}addFormulierKnopVeldExtraData(t){return this._FormulierKnopVeldExtraData=t,this}addGooglePlacesVeldExtraData(t){this._GooglePlacesVeldExtraData=t;let n=[];return n.push(new hi("cdInvalidTypesList","Geen geldig type poi",!0)),n.push(new hi("cdNoLatLong","Geen co\xf6rdinaten gevonden",!0)),n.push(new hi("cdResultIncomplete","Onvolledig adres",!0)),n.push(new hi("cdNoResult","Geen resulaten gevonden",!0)),this.addValidatorMultiMelding(ti.isGoogleResultZonderErrorCode(),n),this}addInputMaskVeldExtraData(t){return this._InputMaskVeldExtraData=t,this}addOptieExtraData(t){return this._OptieVeldExtraData=t,this}addTextareaRichVeldExtraData(t){return this._TextareaRichVeldExtraData=t.clone(),this}addWachtwoordVeldExtraData(t){return this._WachtwoordVeldExtraData=t,this}addIconPrefix(t){return this.TypeCode==W.Voorwaarden||this.TypeCode==W.Check||this.TypeCode==W.CheckList||this.TypeCode==W.OptieRadio||this.TypeCode==W.Betaalmethodes||this.TypeCode==W.Fileupload?console.error(`Dit type veld ${this.TypeCode} laat geen icon prefix toe`):this._IconPrefix=new rX(t),this}addIconButton(t){return this.TypeCode==W.Voorwaarden||this.TypeCode==W.Check||this.TypeCode==W.CheckList||this.TypeCode==W.OptieRadio||this.TypeCode==W.Betaalmethodes||this.TypeCode==W.Fileupload?console.error(`Dit type veld ${this.TypeCode} laat geen icon button toe`):this._IconButton=new oX(t),this}addLink(t,n,i){return this.TypeCode==W.Voorwaarden||this.TypeCode==W.Check||this.TypeCode==W.CheckList||this.TypeCode==W.OptieRadio||this.TypeCode==W.Betaalmethodes?console.error(`Dit type veld ${this.TypeCode} laat geen link toe`):this._Link=new sX(t,n,i),this}
1clearValidator(){this._ValidatorLijst=[],this._ValidatorMeldingLijst=[]}resetValidator(){this.Ctrl&&(this.Ctrl.setValidators(this.ValidatorLijst),this.Ctrl.updateValueAndValidity())}addValidator(t,n,i,r=!1){return null==this._ValidatorLijst&&(this._ValidatorLijst=[]),null==this._ValidatorMeldingLijst&&(this._ValidatorMeldingLijst=[]),t==pd.required&&(this._Verplicht=!0),this._ValidatorLijst.push(t),this._ValidatorMeldingLijst.push(new hi(i,n,r)),this.resetValidator(),this}addValidatorMultiMelding(t,n){return null==this._ValidatorLijst&&(this._ValidatorLijst=[]),null==this._ValidatorMeldingLijst&&(this._ValidatorMeldingLijst=[]),t==pd.required&&(this._Verplicht=!0),this._ValidatorLijst.push(t),this._ValidatorMeldingLijst=this._ValidatorMeldingLijst.concat(n),this.resetValidator(),this}addValidatorFFormulier(t,n,i,r=!1){return null==this._ValidatorLijstFFormulier&&(this._ValidatorLijstFFormulier=[]),null==this._ValidatorMeldingLijstFFormulier&&(this._ValidatorMeldingLijstFFormulier=[]),this._ValidatorLijstFFormulier.push(t),this._ValidatorMeldingLijstFFormulier.push(new hi(i,n,r)),this.resetValidator(),this}addValidatorFFormulierMultiMelding(t,n){return null==this._ValidatorLijstFFormulier&&(this._ValidatorLijstFFormulier=[]),null==this._ValidatorMeldingLijstFFormulier&&(this._ValidatorMeldingLijstFFormulier=[]),this._ValidatorLijstFFormulier.push(t),this._ValidatorMeldingLijstFFormulier=this._ValidatorMeldingLijstFFormulier.concat(n),this.resetValidator(),this}addValidatorRequired(t,n=!1){return this.addValidator(pd.required,t,"required",n),this}addValidatorPattern(t,n,i=!1){return this.addValidator(pd.pattern(ti.getPattern(t)),n,"pattern",i),this}addValidatorUniekCheck(t,n,i,r,o=!1){return r&&r.forEach(s=>{i.push({Id:"",Waarde:s})}),this.addValidator(ti.uniekInLijst(t,this._Naam,i),n,"nietUniekInLijst",o),this}addAttribute(t,n,i){return this._AttributeList||(this._AttributeList=[]),(this.TypeCode==W.Titel||this.TypeCode==W.TextareaRich||this.TypeCode==W.FormulierKnop||this.TypeCode==W.OptieAutocomplete||this.TypeCode==W.Datepicker||this.TypeCode==W.Voorwaarden||this.TypeCode==W.Betaalmethodes||this.TypeCode==W.Fileupload||this.TypeCode==W.GooglePlaces||this.TypeCode==W.CheckList)&&console.error(`Dit type veld ${this.TypeCode} laat geen attributen toe`),this._AttributeList.push(new Sa(t,n,i)),this}getDataColumns(){return this._OptieVeldExtraData&&this._OptieVeldExtraData.DataColumns?this._OptieVeldExtraData.DataColumns:4}setActief(t){return this._Actief=t,this}setCtrl(t){return this._Ctrl=t,this}setGewicht(t){return this._Gewicht=t,this}setReadonly(){return this._Readonly=!0,this}setWaarde(t){return this._Waarde=t,this}setVeldClass(t){return this._VeldClass=t,this}}class rX{get FaIcon(){return this._FaIcon}constructor(t){(0,h.A)(this,"_FaIcon",void 0),this._FaIcon=t}}class oX{get FaIcon(){return this._FaIcon}constructor(t){(0,h.A)(this,"_FaIcon",void 0),this._FaIcon=t}}class sX{get Label(){return this._Label}get Target(){return this._Target}get Url(){return this._Url}constructor(t,n,i){(0,h.A)(this,"_Label",void 0),(0,h.A)(this,"_Target",void 0),(0,h.A)(this,"_Url",void 0),this._Label=t,this._Target=n,this._Url=i}}class aX{get id(){return this._id}get label(){return this._label}get classnames(){return this._classnames}get code(){return this._code}get metValidatie(){return this._metValidatie}get isDefault(){return this._isDefault}get gtagEventNaam(){return this._gtagEventNaam}constructor(t,n,i,r,o,s){(0,h.A)(this,"_id",void 0),(0,h.A)(this,"_label",void 0),(0,h.A)(this,"_classnames",void 0),(0,h.A)(this,"_code",void 0),(0,h.A)(this,"_metValidatie",void 0),(0,h.A)(this,"_isDefault",void 0),(0,h.A)(this,"_gtagEventNaam",void 0),(0,h.A)(this,"ZichtbaarVoorwaardePredicate",void 0),(0,h.A)(this,"EnabledVoorwaardePredicate",void 0),this._label=t,this._classnames=n,this._code=i,this._metValidatie=r,this._isDefault=o,this._gtagEventNaam=s.startsWith("form_submit_")?s:"form_submit_"+s}setId(t){return this._id=t,this}setIsDefault(t){return this._isDefault=t,this}setZichtbaarVoorwaardePredicate(t){return this.ZichtbaarVoorwaardePredicate=t,this}setEnabledVoorwaardePredicate(t){return this.EnabledVoorwaardePredicate=t,this}testZichtbaar(){return!this.ZichtbaarVoorwaardePredicate||this.ZichtbaarVoorwaardePredicate()}testEnabled(){return!this.EnabledVoorwaardePredicate||this.EnabledVoorwaardePredicate()}}class l0{constructor(t,n){(0,h.A)(this,"Value",void 0),(0,h.A)(this,"Valid",void 0),this.Value=t,this.Valid=n}}class lX{constructor(t,n,i,r,o){(0,h.A)(this,"Veld",void 0),(0,h.A)(this,"Waarde",void 0),(0,h.A)(this,"Valid",void 0),(0,h.A)(this,"FormulierStatus",void 0),this.Veld=t,this.Waarde=n,this.Valid=i,this.FormulierStatus=new l0(r,o)}}class d0{constructor(t,n){(0,h.A)(this,"Knop",void 0),(0,h.A)(this,"Value",void 0),this.Knop=t,this.Value=n}}class hi{get AutoCheck(){return this._AutoCheck}get Check(){return this._Check}get Melding(){return this._Melding}constructor(t,n,i=!1){(0,h.A)(this,"_AutoCheck",!1),(0,h.A)(this,"_Check",void 0),(0,h.A)(this,"_Melding",void 0),this._AutoCheck=i,this._Check=t,this._Melding=n}}let dX=(()=>{var e;class t{constructor(i){(0,h.A)(this,"scriptLoaderService",void 0),(0,h.A)(this,"autocomplete",void 0),(0,h.A)(this,"placeChangedFired",!1),(0,h.A)(this,"uniqueId",void 0),(0,h.A)(this,"componentId",void 0),(0,h.A)(this,"loading",!1),(0,h.A)(this,"myFormGroup",void 0),(0,h.A)(this,"controlName",""),(0,h.A)(this,"classPrefix","dtx"),(0,h.A)(this,"placeholder",""),(0,h.A)(this,"googlePlacesVeldExtraData",ye.required()),this.scriptLoaderService=i}ngOnInit(){this.uniqueId=N.getUniqueString(),this.componentId=this.classPrefix+"-form-row-control__"+this.controlName+"__"+this.uniqueId,this.placesScriptIsLoaded()?setTimeout(()=>{this.mapsAutocompleteLoad()},1):this.scriptLoaderService.loadScript("https://maps.googleapis.com/ma
1ps/api/js?key="+this.googlePlacesVeldExtraData().google_api_key+"&libraries=places&loading=async").subscribe(i=>{setTimeout(()=>{this.mapsAutocompleteLoad()},1)})}ngOnChanges(i){}ngOnDestroy(){this.destroyAutocomplete()}destroyAutocomplete(){this.autocomplete&&(google.maps.event.clearInstanceListeners(this.autocomplete),this.autocomplete=null)}showFormattedAddress(i){const r=document.getElementById(this.componentId);r&&i&&"object"==typeof i&&(r.value=i.FormattedAddress||"")}geocodeAddress(i){return new Promise((r,o)=>{(new google.maps.Geocoder).geocode({address:i},(a,l)=>{r(new MQ(l,a,i))})})}mapsAutocompleteLoad(){try{const i=document.getElementById(this.componentId);i&&!this.autocomplete&&(typeof google<"u"&&google.maps.places&&this.myFormGroup.get(this.controlName)?(this.myFormGroup.get(this.controlName).value&&this.showFormattedAddress(this.myFormGroup.get(this.controlName).value),this.mapsAutocompleteFinish(i)):setTimeout(()=>{this.mapsAutocompleteLoad()},10))}catch(i){console.error("error mapsAutocompleteLoad",i),setTimeout(()=>{this.mapsAutocompleteLoad()},10)}}setValue(i){this.myFormGroup.get(this.controlName).setValue(i,{emitEvent:!0}),this.myFormGroup.get(this.controlName).markAsTouched(),this.myFormGroup.get(this.controlName).markAsDirty(),this.showFormattedAddress(this.myFormGroup.get(this.controlName).value)}mapsAutocompleteFinish(i){this.autocomplete=new google.maps.places.Autocomplete(i,this.googlePlacesVeldExtraData().optie_config),this.autocomplete.setComponentRestrictions({country:this.googlePlacesVeldExtraData().county_lijst}),this.autocomplete.addListener("place_changed",()=>{this.placeChangedFired=!0;const r=this.autocomplete.getPlace(),o=new SQ(r);this.setValue(o),setTimeout(()=>{this.placeChangedFired=!1},200)})}placesScriptIsLoaded(){return Array.from(document.scripts).some(i=>i.src.startsWith("https://maps.googleapis.com/maps/api/js"))}onInputBlur(){setTimeout(()=>{if(this.placeChangedFired)return;const i=this.myFormGroup.get(this.controlName),r=document.getElementById(this.componentId);if(!r||!i)return;const o=r.value,s=i.value;(!s||o!==s.formatted_address)&&this.geocodeAddress(o).then(a=>{this.setValue(a)})},100)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(FA))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-googleplaces"]],inputs:{loading:"loading",myFormGroup:"myFormGroup",controlName:"controlName",classPrefix:"classPrefix",placeholder:"placeholder",googlePlacesVeldExtraData:[1,"googlePlacesVeldExtraData"]},features:[je],decls:2,vars:7,consts:[[3,"formGroup"],["type","text",3,"blur","id","name","placeholder"]],template:function(i,r){1&i&&(Co(0,0),C(1,"input",1),U("blur",function(){return r.onInputBlur()}),x(),bo()),2&i&&(A("formGroup",r.myFormGroup),g(),E("",r.classPrefix,"-input-text"),ge("id",r.componentId),A("name",r.controlName)("placeholder",r.placeholder))},dependencies:[Fr,Pn],styles:[".pac-container{z-index:9998}\n"],encapsulation:2})),t})(),cX=(()=>{var e;class t{constructor(){(0,h.A)(this,"isEditorBlured",!1),(0,h.A)(this,"isEditorFocused",!1),(0,h.A)(this,"uniqueId",void 0),(0,h.A)(this,"toolbarTimeout",void 0),(0,h.A)(this,"isMouseOverToolbar",!1),(0,h.A)(this,"editorElement",void 0),(0,h.A)(this,"veld",ye(null)),(0,h.A)(this,"loading",ye(!1)),(0,h.A)(this,"myFormGroup",ye.required()),(0,h.A)(this,"controlName",ye.required()),(0,h.A)(this,"classPrefix",ye("dtx")),(0,h.A)(this,"placeholder",ye("")),(0,h.A)(this,"editorConfig",ye.required()),(0,h.A)(this,"textareaRichConfig",ye(null)),(0,h.A)(this,"onChange",i=>{}),(0,h.A)(this,"onTouched",()=>{})}ngOnChanges(){this.uniqueId=this.classPrefix()+"-form-row-control__"+this.controlName()}ngAfterViewInit(){this.editorElement=document.getElementById(this.uniqueId),this.textareaRichConfig()&&this.textareaRichConfig().TokenList.length>0&&(setTimeout(()=>{this.textareaRichConfig().checkInGebruik(this.myFormGroup().get(this.controlName()).value)},1),this.myFormGroup().get(this.controlName()).valueChanges.pipe(Or(300),Yh()).subscribe(i=>{this.textareaRichConfig().checkInGebruik(i)}))}writeValue(i){N.logMessage("writeValue called with:",i)}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}getTokenList(i){return this.textareaRichConfig().TokenList.filter(r=>r.inGebruik==i)}onEditorCreated(i){this.addToolbarListeners()}onEditorFocus(i){clearTimeout(this.toolbarTimeout),this.isEditorFocused=!0,this.isEditorBlured=!1,this.toggleToolbar(!0)}onEditorBlur(i){this.isEditorFocused=!1,this.isEditorBlured=!0,this.toolbarTimeout=setTimeout(()=>{this.isMouseOverToolbar||this.toggleToolbar(!1)},500)}toggleToolbar(i){this.editorElement&&(i?this.editorElement.classList.add("focused"):this.editorElement.classList.remove("focused"))}
1addToolbarListeners(){const i=this.editorElement.querySelector(".ql-toolbar");i&&(i.addEventListener("mouseenter",()=>{this.isMouseOverToolbar=!0,clearTimeout(this.toolbarTimeout)}),i.addEventListener("mouseleave",()=>{this.isMouseOverToolbar=!1,this.toolbarTimeout=setTimeout(()=>{this.isEditorFocused||this.toggleToolbar(!1)},500)}))}copyToClipboard(i){navigator.clipboard.writeText(i.token)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-textarea-rich"]],inputs:{veld:[1,"veld"],loading:[1,"loading"],myFormGroup:[1,"myFormGroup"],controlName:[1,"controlName"],classPrefix:[1,"classPrefix"],placeholder:[1,"placeholder"],editorConfig:[1,"editorConfig"],textareaRichConfig:[1,"textareaRichConfig"]},features:[qe([{provide:yi,useExisting:Le(()=>e),multi:!0}]),je],decls:3,vars:9,consts:[[3,"formGroup"],[3,"onFocus","onBlur","onEditorCreated","id","placeholder","formControlName","modules"],[3,"class"],[1,"info"],[3,"click"]],template:function(i,r){1&i&&(Co(0,0),C(1,"quill-editor",1),U("onFocus",function(s){return r.onEditorFocus(s)})("onBlur",function(s){return r.onEditorBlur(s)})("onEditorCreated",function(s){return r.onEditorCreated(s)}),x(),T(2,bY,6,6,"div",2),bo()),2&i&&(A("formGroup",r.myFormGroup()),g(),E("",r.classPrefix(),"-input-textarearich dtx-input-textarearich-custom-quill"),ge("formControlName",r.controlName()),A("id",r.uniqueId)("placeholder",r.placeholder())("modules",r.editorConfig()),g(),M(r.textareaRichConfig()&&r.textareaRichConfig().TokenList&&r.textareaRichConfig().TokenList.length>0?2:-1))},dependencies:[No,Fr,Pn,kr,P$],styles:['.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li>.ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked]>.ql-ui,.ql-editor li[data-list=unchecked]>.ql-ui{color:#777}.ql-editor li[data-list=bullet]>.ql-ui:before{content:"\\2022"}.ql-editor li[data-list=checked]>.ql-ui:before{content:"\\2611"}.ql-editor li[data-list=unchecked]>.ql-ui:before{content:"\\2610"}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal) ". "}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8>
1.ql-ui:before{content:counter(list-8,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl>.ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .q
1l-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.dtx-input-textarearich-custom-quill{width:100%;box-sizing:border-box}.dtx-input-textarearich-custom-quill .ql-editor{min-height:7.5em;overflow-y:auto}.dtx-input-textarearich-custom-quill .ql-toolbar{display:block;height:0;padding:0;opacity:0;transition:opacity .5s ease,visibility .5s ease,height .5s ease .5s;visibility:hidden}.dtx-input-textarearich-custom-quill .ql-toolbar .ql-formats{margin:8px 15px 8px 8px}.dtx-input-textarearich-custom-quill .ql-container{border-top:1px solid #ccc!important;box-sizing:border-box}.dtx-input-textarearich-custom-quill.focused .ql-toolbar{height:fit-content;display:block;opacity:1;visibility:visible;transition:opacity .5s ease .5s,visibility .5s ease .5s,height .5s ease}.dtx-input-textarearich-custom-quill.focused .ql-container{border-top:none}.dtx-input-textarearich-custom-quill__note{order:4;position:relative;display:block;width:100%}.dtx-input-textarearich-custom-quill__note span{display:none;font-size:14px;font-weight:400;margin-top:3px}.dtx-input-textarearich-custom-quill__note span.show{display:block}.dtx-input-textarearich-custom-quill__note span.invalid,.dtx-input-textarearich-custom-quill__note span.error{color:#d84236}.dtx-input-textarearich-custom-quill__note span.invalid{display:block}.dtx-input-textarearich-custom-quill__note span.info{display:block;color:#616161}.dtx-input-textarearich-custom-quill__note span.valid{display:block;color:#8bc34a}.dtx-input-textarearich-custom-quill__note span.warning{display:block;color:#ff9800}\n/*!\n * Quill Editor v2.0.3\n * https://quilljs.com\n * Copyright (c) 2017-2024, Slab\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n'],encapsulation:2})),t})(),uX=(()=>{var e;class t{constructor(i,r){(0,h.A)(this,"el",void 0),(0,h.A)(this,"renderer",void 0),(0,h.A)(this,"dtxDynamicAttributes",[]),this.el=i,this.renderer=r}ngOnChanges(){var i;
1null===(i=this.dtxDynamicAttributes)||void 0===i||i.forEach(r=>{this.renderer.setAttribute(this.el.nativeElement,r.dataAttribute?`data-${r.name}`:r.name,r.value)})}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(et),I(Ai))}),(0,h.A)(t,"\u0275dir",te({type:e,selectors:[["","dtxDynamicAttributes",""]],inputs:{dtxDynamicAttributes:"dtxDynamicAttributes"},features:[je]})),t})(),hX=(()=>{var e;class t{constructor(i,r){(0,h.A)(this,"fb",void 0),(0,h.A)(this,"dtxGoogleService",void 0),(0,h.A)(this,"processing",!1),(0,h.A)(this,"myForm",void 0),(0,h.A)(this,"subscriptionList",[]),(0,h.A)(this,"fileuploadBewaarSubject",new Ce),(0,h.A)(this,"fileuploadComponentsToDo",0),(0,h.A)(this,"OnExecuteAsyncErrorLijst",void 0),(0,h.A)(this,"formulierVeldInactiefLijst",void 0),(0,h.A)(this,"formulierVeldWaardeUpdateLijst",void 0),(0,h.A)(this,"textareaRichEditorConfig",{}),(0,h.A)(this,"dataAttributes",void 0),(0,h.A)(this,"data",void 0),(0,h.A)(this,"bewaard",!1),(0,h.A)(this,"inVerwerking",!1),(0,h.A)(this,"inBedankt",!1),(0,h.A)(this,"ongeldigFormulier",new G),(0,h.A)(this,"verwerkFormulierKnop",new G),(0,h.A)(this,"veldValueChange",new G),(0,h.A)(this,"formValueChange",new G),(0,h.A)(this,"formLoaded",new G),(0,h.A)(this,"onIconButtonClick",new G),(0,h.A)(this,"onLabelIconClassClick",new G),this.fb=i,this.dtxGoogleService=r}ngOnInit(){this.textareaRichEditorConfig=N.standaardQuillEditorConfig("",!0)}ngOnChanges(i){i.data&&this.loadData()}ngOnDestroy(){this.subscriptionList.forEach(i=>i.unsubscribe())}loadData(){if(this.data&&!this.myForm){this.myForm=this.fb.group({});let i=this.data.ValidatorLijst?[...this.data.ValidatorLijst]:[];if(this.data.FormulierVeldRijLijst.forEach(r=>{r.ValidatorLijstFFormulier&&r.ValidatorLijstFFormulier.forEach(o=>{i.push(o)}),r.FormulierVeldLijst.forEach(o=>{o.ValidatorLijstFFormulier&&o.ValidatorLijstFFormulier.forEach(s=>{i.push(s)}),o.setActief(!this.formulierVeldInactiefLijst||null==this.formulierVeldInactiefLijst.find(s=>
1s.Naam==o.Naam)),o.TypeCode!=W.Titel&&(o.setCtrl(new _v(o.Readonly||o.TypeCode==W.Datepicker&&o.DatepickerVeldExtraData.datepickerConfig&&o.DatepickerVeldExtraData.datepickerConfig.disabled?{value:o.Waarde,disabled:!0}:o.Waarde,o.ValidatorLijst)),this.subscriptionList.push(o.Ctrl.valueChanges.pipe(Or(300),Yh()).subscribe(s=>{o.setWaarde(s),this.veldValueChange.emit(new lX(o,o.Waarde,o.Ctrl.valid,this.myForm.value,this.myForm.valid))})),(!this.formulierVeldInactiefLijst||null==this.formulierVeldInactiefLijst.find(s=>s.Naam==o.Naam))&&this.myForm.addControl(o.Naam,o.Ctrl))})}),this.subscriptionList.push(this.myForm.valueChanges.pipe(Or(300),Yh()).subscribe(r=>{this.formValueChange.emit(new l0(this.myForm.value,this.myForm.valid))})),this.myForm.setValidators(i),this.myForm.setAsyncValidators(this.data.AsyncValidatorLijst),this.data.FormulierLocalStorageData&&this.subscriptionList.push(this.myForm.valueChanges.pipe(Or(300),Yh()).subscribe(r=>{this.data.FormulierLocalStorageData.updateStorage(JSON.stringify(r),this.myForm.valid)})),this.formLoaded.emit(new l0(this.myForm.value,this.myForm.valid)),this.data.veldLijstInactiefSubject.value&&this.veldLijstInactiefUpdate(),this.subscriptionList.push(this.data.veldLijstInactiefSubject.subscribe(r=>{this.formulierVeldInactiefLijst=r,this.veldLijstInactiefUpdate()})),this.data.veldWaardeUpdateLijstSubject.value&&this.veldWaardeUpdateLijstUpdate(),this.subscriptionList.push(this.data.veldWaardeUpdateLijstSubject.subscribe(r=>{this.formulierVeldWaardeUpdateLijst=r,this.veldWaardeUpdateLijstUpdate()})),location.href.includes("localhost:")){let r=this.data.heeftDubbeleVelden();r&&r.length>0&&(console.error("Meerdere velden met eenzelfde naam! - "+r.join(" | ")),alert("Meerdere velden met eenzelfde naam! - "+r.join(" | ")))}}}veldWaardeUpdateLijstUpdate(){this.formulierVeldWaardeUpdateLijst||(this.formulierVeldWaardeUpdateLijst=[]),this.formulierVeldWaardeUpdateLijst&&this.formulierVeldWaardeUpdateLijst.forEach(i=>{let r=this.data.getVeld(i.Naam);r&&r.Ctrl.setValue(i.Waarde)})}veldLijstInactiefUpdate(){this.formulierVeldInactiefLijst||(this.formulierVeldInactiefLijst=[]),this.data.FormulierVeldRijLijst.forEach(i=>{i.FormulierVeldLijst.forEach(r=>{let o=this.formulierVeldInactiefLijst.find(l=>l.Naam==r.Naam),s=!!o&&!o.Zichtbaar,a=o?o.Zichtbaar:r.Readonly;r.Actief&&s?(r.setActief(!1),r.Ctrl&&(this.myForm.removeControl(r.Naam),this.data.ResetInactieveVelden&&r.Ctrl.setValue(""))):!r.Actief&&!s&&(r.setActief(!0),r.Ctrl&&this.myForm.addControl(r.Naam,r.Ctrl)),r.Ctrl&&(a&&!r.Ctrl.disabled?r.Ctrl.disable():!a&&r.Ctrl.disabled&&r.Ctrl.enable())})})}getControl(i,r=""){let o=this.myForm.get(i.Naam);return o||N.logMessage("veldnaam niet gevonden:*"+i.Naam+"*",JSON.stringify(this.myForm.value),"info:"+r),o}hasError(i){if("cdTitel"==i.TypeCode)return!1;let r=this.getControl(i);return r&&!i.Readonly&&(!r.valid||!this.veldFormulierValid(i))&&(r.touched||this.bewaard)}checkError(i,r){return this.myForm.hasError(i)}updateList(i){let o=i.optieSelectie;this.myForm.get(i.veld.Naam).setValue(o)}veldFormulierValid(i){let r=!0;return i.ValidatorLijstFFormulier&&i.ValidatorMeldingLijstFFormulier.forEach(o=>{this.myForm.hasError(o.Check)&&(r=!1)}),r}fileuploadControlKlaar(i){this.fileuploadComponentsToDo--,0==this.fileuploadComponentsToDo&&(this.processing=!1,this.data.FormulierLocalStorageData&&this.data.FormulierLocalStorageData.updateStorage(JSON.stringify(this.myForm.value),this.myForm.valid),this.gtagEvent(i),this.verwerkFormulierKnop.emit(new d0(i,this.myForm.value)))}formulierKnopClick(i){this.bewaard=!0,i.metValidatie?this.myForm.valid?this.processing||(this.processing=!0,this.myForm.valid&&this.data.OnExecuteAsyncValidatorLijst&&this.data.OnExecuteAsyncValidatorLijst.length>0?ko(this.data.OnExecuteAsyncValidatorLijst.map(r=>r.Validator)).subscribe(r=>{let o=!0;this.OnExecuteAsyncErrorLijst=[],r.forEach(s=>{s&&(this.OnExecuteAsyncErrorLijst.push(this.data.OnExecuteAsyncValidatorMeldingLijst.find(a=>a.Check==s).Melding),o=!1)}),o?this.formulierKnopClickSub(i):(this.processing=!1,this.ongeldigFormulier.emit(this.myForm))}):this.formulierKnopClickSub(i)):(this.focusFirstErrorField(this.myForm,this.myForm.value),this.processing=!1,this.ongeldigFormulier.emit(this.myForm)):(this.processing=!1,this.berekendFileuploadComponentAantal(),0!=this.fileuploadComponentsToDo&&location.href.includes("localhost:")&&N.logMessage("No upload as button is without validation"),this.verwerkFormulierKnop.emit(new d0(i,this.myForm.value)))}formulierKnopClickSub(i){if(this.berekendFileuploadComponentAantal(),0==this.fileuploadComponentsToDo){this.processing=!1;let r=this.myForm.value;this.data.FormulierVeldRijLijst.forEach(o=>{o.FormulierVeldLijst.forEach(s=>{s.Readonly&&(r[s.Naam]=s.Waarde)})}),this.gtagEvent(i),this.verwerkFormulierKnop.emit(new d0(i,r))}else this.fileuploadBewaarSubject.next(i)}focusFirstErrorField(i,r){for(let o of Object.keys(r)){let a,s=i.controls[o];if(s instanceof cv){if(s.invalid){this.focusFirstErrorField(s,r[o]);break}}else if(s.invalid){a=document.getElementById(this.data.ClassPrefix+"-"+this.data.FormUniqueId+"-form-row-control__"+o),a&&a.focus();break}}}berekendFileuploadComponentAantal(){this.fileuploadComponentsToDo=0,this.data.FormulierVeldRijLijst.forEach(i=>
1{i.FormulierVeldLijst.forEach(r=>{r.Actief&&r.TypeCode==W.Fileupload&&this.fileuploadComponentsToDo++})})}onInputKeydownEnter(i){if(this.data.FormulierOnKeydownEnterFDefault&&("Enter"===i.key||"NumpadEnter"===i.code)){let r=this.data.getDefaultKnop();r&&this.formulierKnopClick(r)}}iconButtonClick(i){this.onIconButtonClick.emit(i)}labelIconClassClick(i){this.onLabelIconClassClick.emit(i)}gtagEvent(i){i.gtagEventNaam&&this.dtxGoogleService.gtagEvent(i.gtagEventNaam,{language:this.data.TaalCode})}toggleRadioSelection(i,r){const o=this.myForm.get(i.Naam);(null==o?void 0:o.value)===r&&o.setValue(null)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(N9),I(RQ))}),(0,h.A)(t,"\u0275cmp",Ve({type:e,selectors:[["dtx-formulier"]],inputs:{data:"data",bewaard:"bewaard",inVerwerking:"inVerwerking",inBedankt:"inBedankt"},outputs:{ongeldigFormulier:"ongeldigFormulier",verwerkFormulierKnop:"verwerkFormulierKnop",veldValueChange:"veldValueChange",formValueChange:"formValueChange",formLoaded:"formLoaded",onIconButtonClick:"onIconButtonClick",onLabelIconClassClick:"onLabelIconClassClick"},features:[je],ngContentSelectors:IA,decls:1,vars:1,consts:[[3,"class"],[3,"innerHtml"],["role","form",3,"id","class","formGroup","dtxDynamicAttributes"],["role","form",3,"id","formGroup","dtxDynamicAttributes"],[3,"class","dtxDynamicAttributes"],[3,"dtxDynamicAttributes"],["data-columns","12",1,"dtx-form-row-control"],[3,"class","ngClass"],[3,"ngClass"],[4,"ngIf"],[3,"href","target"],["type","button","data-type","submit",3,"click","ngClass"],["type","text",3,"class","id","dtxDynamicAttributes","name","formControlName","placeholder","autocomplete"],["type","text",3,"class","id","dtxDynamicAttributes","name","formControlName","placeholder","mask","showMaskTyped","dropSpecialCharacters"],[3,"class","id","dtxDynamicAttributes","name","formControlName","placeholder"],[3,"veld","myFormGroup","controlName","placeholder","editorConfig","textareaRichConfig"],[3,"myFormGroup","controlName","optieLijst","filterZoekwoorden","classPrefix"],[3,"myFormGroup","controlName","betaalMethodeLijst","classPrefix"],[3,"myFormGroup","controlName","placeholder","classPrefix","googlePlacesVeldExtraData"],["data-columns","1",3,"class"],[3,"veld","classPrefix"],[1,"info"],[3,"for"],["data-place","top",3,"class"],["data-place","top"],["type","button"],[1,"fas","fa-info-circle"],[3,"innerHTML"],[3,"click"],["type","text",3,"keydown","id","dtxDynamicAttributes","name","formControlName","placeholder","autocomplete"],["type","text",3,"keydown","id","dtxDynamicAttributes","name","formControlName","placeholder","mask","showMaskTyped","dropSpecialCharacters"],[3,"keydown","type","id","dtxDynamicAttributes","name","formControlName","placeholder"],[3,"id","dtxDynamicAttributes","name","formControlName","placeholder"],[3,"id","dtxDynamicAttributes","name","formControlName"],["value","",4,"ngIf"],[3,"value","disabled",4,"ngFor","ngForOf"],["value",""],[3,"value","disabled"],[3,"for",4,"ngFor","ngForOf"],["type","radio",3,"click","id","dtxDynamicAttributes","name","formControlName","value","disabled"],[1,"radio-checkmark"],[3,"datepickerConfig","myFormGroup","controlName","bewaard"],[3,"classPrefix","fileuploadData","myFormGroup","controlName","bewaard","DocumentPath","UploadAPI","UploadParams","UploadHeaders","events"],[3,"uploadKlaar","classPrefix","fileuploadData","myFormGroup","controlName","bewaard","DocumentPath","UploadAPI","UploadParams","UploadHeaders","events"],["data-columns","1"],["type","checkbox",3,"id","dtxDynamicAttributes","name","formControlName"],[1,"checkmark"],[3,"updateList","veld","classPrefix"],[1,"valid"],[1,"invalid"],[1,"fa-solid","fa-circle-check"],[1,"fa-solid","fa-circle-xmark"],[1,"error"],["type","button","data-type","submit",3,"class","ngClass"]],template:function(i,r){1&i&&(na(),T(0,iK,3,2)),2&i&&M(r.data?0:-1)},dependencies:[An,ld,dd,MI,II,Ro,Mh,jh,Vh,No,Fr,Pn,kr,JQ,UQ,BQ,VQ,LQ,dX,cX,gA,uX],encapsulation:2})),t})(),fX=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({imports:[Fn,Pr,ar,R$.forRoot()]})),t})(),pX=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({imports:[Fn,Pr,ar]})),t})(),mX=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({})),t})(),_X=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({providers:[Gv()],imports:[Fn,ar,LA,$Q,qQ,jQ,OQ,pX,fX,mX]})),t})();class SX{constructor(t){(0,h.A)(this,"translations",void 0),this.translations=t}getTranslation(t){return Q(this.translations.get(t)||{})}}const u0=new R("");function h0(e,t){return e&&(Object.prototype.hasOwnProperty.call(e,t)?e[t]:t.split(".").reduce((n,i)=>null==n?void 0:n[i],e))}function UA(e){return e?Array.isArray(e)?e.length:hf(e)?Object.keys(e).length:e?e.length:0:0}function $o(e){return"string"==typeof e}function hf(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}function $A(e){return e.replace(/(?:^\w|[A-Z]|\b\w)/g,(t,n)=>0==n?t.toLowerCase():t.toUpperCase()).replace(/\s+|_|-|\//g,"")}function f0(e){return null==e}function GA(e){return!1===f0(e)}function WA(e){return e&&"string"==typeof e.scope}function YA(e){const t={};return function n(i,r){if(null===i)t[r]=null;else if(hf(i))for(const[o,s]of Object.entries(i))n(s,r?`${r}.${o}`:o);else t[r]=i}(e,""),t}const Ho=new R("",{providedIn:"root",factory:()=>Ea}
1),Ea={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};const KA=new R("");let QA=(()=>{var e;class t{constructor(){var i;(0,h.A)(this,"config",null!==(i=S(Ho,{optional:!0}))&&void 0!==i?i:Ea)}get interpolationMatcher(){return function kX(e){const[t,n]=e.interpolation;return new RegExp(`${t}([^${t}${n}]*?)${n}`,"g")}(this.config)}transpile({value:i,params:r={},translation:o,key:s}){if($o(i)){let a,l=i;for(;null!==(a=this.interpolationMatcher.exec(l));){const[d,c]=a;l=l.replace(d,()=>{const u=c.trim(),f=h0(r,u);return GA(f)?f:GA(o[u])?this.transpile({params:r,translation:o,key:s,value:o[u]}):""})}return l}return r&&(hf(i)?i=this.handleObject({value:i,params:r,translation:o,key:s}):Array.isArray(i)&&(i=this.handleArray({value:i,params:r,translation:o,key:s}))),i}handleObject({value:i,params:r={},translation:o,key:s}){let a=i;return Object.keys(r).forEach(l=>{const d=this.transpile({value:h0(a,l),params:h0(r,l),translation:o,key:s});a=function MX(e,t,n){e={...e};const i=t.split("."),r=i.length-1;return i.reduce((o,s,a)=>(o[s]=a===r?n:Array.isArray(o[s])?o[s].slice():{...o[s]},o&&o[s]),e),e}(a,l,d)}),a}handleArray({value:i,...r}){return i.map(o=>this.transpile({value:o,...r}))}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac})),t})();const XA=new R("");let JA=(()=>{var e;class t{handle(i,r){return r.missingHandler.logMissingKey&&!r.prodMode&&console.warn(`%c Missing translation for '${i}'`,"font-size: 12px; color: red"),i}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac})),t})();const eF=new R("");let tF=(()=>{var e;class t{preSaveTranslation(i){return i}preSaveTranslationKey(i,r){return r}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac})),t})();const iF=new R("");let g0,nF=(()=>{var e;class t{constructor(i){(0,h.A)(this,"userConfig",void 0),this.userConfig=i}getNextLangs(){const i=this.userConfig.fallbackLang;if(!i)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(i)?i:[i]}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(k(Ho))}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac})),t})();
1function jd(e){if(!e)return"";const t=e.split("/");return t.pop(),t.join("/")}function qr(e){return e?e.split("/").pop():""}function p0(e,t,n="|"){if($o(e)){const i=e.split(n),r=i.pop();return r===t?[!0,i.toString()]:[!1,r]}return[!1,""]}function m0(e,t){return function AX(e){return e&&hf(e.loader)}(e)?function PX(e,t){return Object.keys(e).reduce((n,i)=>(n[`${t}/${i}`]=e[i],n),{})}(e.loader,t):void 0}function _0(e){return{scope:jd(e)||null,langName:qr(e)}}function sF(e){const{path:t,inlineLoader:n,mainLoader:i,data:r}=e;if(n){if(!1===function IX(e){return"function"==typeof e}(n[t]))throw`You're using an inline loader but didn't provide a loader for ${t}`;return n[t]().then(s=>s.default?s.default:s)}return i.getTranslation(t,r)}let Ia=(()=>{var e;class t{constructor(i,r,o,s,a,l){(0,h.A)(this,"loader",void 0),(0,h.A)(this,"parser",void 0),(0,h.A)(this,"missingHandler",void 0),(0,h.A)(this,"interceptor",void 0),(0,h.A)(this,"fallbackStrategy",void 0),(0,h.A)(this,"langChanges$",void 0),(0,h.A)(this,"translations",new Map),(0,h.A)(this,"cache",new Map),(0,h.A)(this,"firstFallbackLang",void 0),(0,h.A)(this,"defaultLang",""),(0,h.A)(this,"availableLangs",[]),(0,h.A)(this,"isResolvedMissingOnce",!1),(0,h.A)(this,"lang",void 0),(0,h.A)(this,"failedLangs",new Set),(0,h.A)(this,"events",new Ce),(0,h.A)(this,"events$",this.events.asObservable()),(0,h.A)(this,"config",void 0),(0,h.A)(this,"destroyRef",S(Kn)),this.loader=i,this.parser=r,this.missingHandler=o,this.interceptor=s,this.fallbackStrategy=l,this.loader||(this.loader=new SX(this.translations)),g0=this,this.config=JSON.parse(JSON.stringify(a)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Gt(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.subscribe(d=>{"translationLoadSuccess"===d.type&&d.wasFailure&&this.setActiveLang(d.payload.langName)}),this.destroyRef.onDestroy(()=>{this.lang.complete(),this.events.complete(),this.cache.clear()})}getDefaultLang(){return this.defaultLang}setDefaultLang(i){this.defaultLang=i}getActiveLang(){return this.lang.getValue()}setActiveLang(i){var r,o;return null===(r=(o=this.parser).onLangChanged)||void 0===r||r.call(o,i),this.lang.next(i),this.events.next({type:"langChanged",payload:_0(i)}),this}setAvailableLangs(i){this.availableLangs=i}getAvailableLangs(){return this.availableLangs}load(i,r={}){const o=this.cache.get(i);if(o)return o;let s;const a=this._isLangScoped(i);let l;a&&(l=jd(i));const d={path:i,mainLoader:this.loader,inlineLoader:r.inlineLoader,data:a?{scope:l}:void 0};if(this.useFallbackTranslation(i)){const u=a?`${l}/${this.firstFallbackLang}`:this.firstFallbackLang,f=function RX({mainLoader:e,path:t,data:n,fallbackPath:i,inlineLoader:r}){return(i?[t,i]:[t]).map(s=>at(sF({path:s,mainLoader:e,inlineLoader:r,data:n})).pipe(H(l=>({translation:l,lang:s}))))}({...d,fallbackPath:u});s=ko(f)}else s=at(sF(d));const c=s.pipe(function DX(e=1/0){let t;t=e&&"object"==typeof e?e:{count:e};const{count:n=1/0,delay:i,resetOnSuccess:r=!1}=t;return n<=0?Un:lt((o,s)=>{let l,a=0;const d=()=>{let c=!1;l=o.subscribe(We(s,u=>{r&&(a=0),s.next(u)},void 0,u=>{if(a++<n){const f=()=>{l?(l.unsubscribe(),l=null,d()):c=!0};if(null!=i){const p="number"==typeof i?jv(i):Ut(i(u,a)),m=We(s,()=>{m.unsubscribe(),f()},()=>{s.complete()});p.subscribe(m)}else f()}else s.error(u)})),c&&(l.unsubscribe(),l=null,d())};d()})}(this.config.failedRetries),kt(u=>{Array.isArray(u)?u.forEach(f=>{this.handleSuccess(f.lang,f.translation),f.lang!==i&&this.cache.set(f.lang,Q({}))}):this.handleSuccess(i,u)}),Lr(u=>(this.config.prodMode||console.error(`Error while trying to load "${i}"`,u),this.handleFailure(i,r))),DA(1),Vr(this.destroyRef));return this.cache.set(i,c),c}translate(i,r={},o=this.getActiveLang()){if(!i)return i;const{scope:s,resolveLang:a}=this.resolveLangAndScope(o);if(Array.isArray(i))return i.map(c=>this.translate(s?`${s}.${c}`:c,r,a));i=s?`${s}.${i}`:i;const l=this.getTranslation(a),d=l[i];return d?this.parser.transpile({value:d,params:r,translation:l,key:i}
1):this._handleMissingKey(i,d,r)}selectTranslate(i,r,o,s=!1){let a;const l=(c,u)=>this.load(c,u).pipe(H(()=>s?this.translateObject(i,r,c):this.translate(i,r,c)));if(f0(o))return this.langChanges$.pipe(Ft(c=>l(c)));if(WA(o=Array.isArray(o)?o[0]:o)){const c=o;o=c.scope,a=m0(c,c.scope)}if(this.isLang(o)||this.isScopeWithLang(o))return l(o);const d=o;return this.langChanges$.pipe(Ft(c=>l(`${d}/${c}`,{inlineLoader:a})))}isScopeWithLang(i){return this.isLang(qr(i))}translateObject(i,r={},o=this.getActiveLang()){if($o(i)||Array.isArray(i)){const{resolveLang:a,scope:l}=this.resolveLangAndScope(o);if(Array.isArray(i))return i.map(u=>this.translateObject(l?`${l}.${u}`:u,r,a));const d=this.getTranslation(a),c=function FX(e){const t={};for(const[n,i]of Object.entries(e)){const r=n.split(".");let o=t;r.forEach((s,a)=>{var l,d;a===r.length-1?o[s]=i:(null!==(d=(l=o)[s])&&void 0!==d||(l[s]={}),o=o[s])})}return t}(this.getObjectByKey(d,i=l?`${l}.${i}`:i));return function EX(e){return 0===UA(e)}(c)?this.translate(i,r,o):this.parser.transpile({value:c,params:r,translation:d,key:i})}const s=[];for(const[a,l]of this.getEntries(i))s.push(this.translateObject(a,l,o));return s}selectTranslateObject(i,r,o){if($o(i)||Array.isArray(i))return this.selectTranslate(i,r,o,!0);const[[s,a],...l]=this.getEntries(i);return this.selectTranslateObject(s,a,o).pipe(H(d=>{const c=[d];for(const[u,f]of l)c.push(this.translateObject(u,f,o));return c}))}getTranslation(i){if(i){if(this.isLang(i))return this.translations.get(i)||{};{const{scope:r,resolveLang:o}=this.resolveLangAndScope(i),s=this.translations.get(o)||{};return this.getObjectByKey(s,r)}}return this.translations}selectTranslation(i){let r=this.langChanges$;if(i){const o=qr(i)!==i;r=this.isLang(i)||o?Q(i):this.langChanges$.pipe(H(s=>`${i}/${s}`))}return r.pipe(Ft(o=>this.load(o).pipe(H(()=>this.getTranslation(o)))))}setTranslation(i,r=this.getActiveLang(),o={}){const a={merge:!0,emitChange:!0,...o},l=jd(r);let d=i;if(l){const m=this.getMappedScope(l);d=YA({[m]:i})}const c=l?qr(r):r,u={...a.merge&&this.getTranslation(c),...d},f=this.config.flatten.aot?u:YA(u),p=this.interceptor.preSaveTranslation(f,c);this.translations.set(c,p),a.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(i,r,o={}){const s=o.lang||this.getActiveLang(),a=this.interceptor.preSaveTranslationKey(i,r,s);this.setTranslation({[i]:a},s,{...o,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:i}){const r=Array.isArray(i)?i[0]:i;i&&this.useFallbackTranslation(r)&&(this.firstFallbackLang=r)}_handleMissingKey(i,r,o){if(this.config.missingHandler.allowEmpty&&""===r)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const s=this.translate(i,o,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,s}return this.missingHandler.handle(i,this.getMissingHandlerData(),o)}_isLangScoped(i){return-1===this.getAvailableLangsIds().indexOf(i)}isLang(i){return-1!==this.getAvailableLangsIds().indexOf(i)}_loadDependencies(i,r){const o=qr(i);return this._isLangScoped(i)&&!this.isLoadedTranslation(o)?Id([this.load(o),this.load(i,{inlineLoader:r})]):this.load(i,{inlineLoader:r})}_completeScopeWithLang(i){return this._isLangScoped(i)&&!this.isLang(qr(i))?`${i}/${this.getActiveLang()}`:i}_setScopeAlias(i,r){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[i]=r}isLoadedTranslation(i){return UA(this.getTranslation(i))}getAvailableLangsIds(){return $o(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(r=>r.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(i){return this.config.missingHandler.useFallbackTranslation&&i!==this.firstFallbackLang}handleSuccess(i,r){this.setTranslation(r,i,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:_0(i)}),this.failedLangs.forEach(o=>this.cache.delete(o)),this.failedLangs.clear()}handleFailure(i,r){f0(r.failedCounter)&&(r.failedCounter=0,r.fallbackLangs||(r.fallbackLangs=this.fallbackStrategy.getNextLangs(i)));const o=i.split("/"),a=r.fallbackLangs[r.failedCounter];if(this.failedLangs.add(i),this.cache.has(a))return this.handleSuccess(a,this.getTranslation(a)),Gi;if(!a||a===o[o.length-1]){let c="Unable to load translation and all the fallback languages";throw o.length>1&&(c+=", did you misspelled the scope name?"),new Error(c)}let d=a;return o.length>1&&(o[o.length-1]=a,d=o.join("/")),r.failedCounter++,this.events.next({type:"translationLoadFailure",payload:_0(i)}),this.load(d,r)}getMappedScope(i){const{scopeMapping:r={},scopes:o={keepCasing:!1}}=this.config;return r[i]||(o.keepCasing?i:$A(i))}resolveLangAndScope(i){let o,r=i;if(this._isLangScoped(i)){const s=qr(i),a=this.isLang(s);r=a?s:this.getActiveLang(),o=this.getMappedScope(a?jd(i):i)}return{scope:o,resolveLang:r}}getObjectByKey(i,r){const o={},s=`${r}.`;for(const a in i)a.startsWith(s)&&(o[a.replace(s,"")]=i[a]);return o}getEntries(i){return i instanceof Map?i.entries():Object.entries(i)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(k(u0,8),k(KA),k(XA),k(eF),k(Ho),k(iF))}),(0,h.A)(t,"\u0275prov",j({token:e,factory:e.\u0275fac,providedIn:"root"})),t})();const v0=new R(""),ff=(new R(""),new R(""));class lF{constructor(){(0,h.A)(this,"initialized",!1)}resolve({inline:t,provider:n,active:i}){let r=i;if(this.initialized)return r=i,r;if(n){const[,o]=p0(n,"static");r=o}if(t){const[,o]=p0(t,"static");r=o}return this.initialized=!0,r}resolveLangBasedOnScope(t){return jd(t)?qr(t):t}resolveLangPath(t,n){return n?`${n}/${t}`:t}}class dF{constructor(t){(0,h.A)(this,"service",void 0),this.service=t}resolve(t){const{inline:n,provider:i}=t;if(n)return n;if(i){if(WA(i)){const{scope:r,alias:o=(this.service.config.scopes.keepCasing?r:$A(r))}=i;return this.service._setScopeAlias(r,o),r}return i}}}let cF=(()=>{var e;class t{constructor(i,r,o,s){(0,h.A)(this,"service",void 0),(0,h.A)(this,"providerScope",void 0),(0,h.A)(this,"providerLang",void 0),(0,h.A)(this,"cdr",void 0),(0,h.A)(this,"subscription",null),(0,h.A)(this,"lastValue",""),(0,h.A)(this,"lastKey",void 0),(0,h.A)(this,"path",void 0),(0,h.A)(this,"langResolver",new lF),(0,h.A)(this,"scopeResolver",void 0),this.service=i,this.providerScope=r,this.providerLang=o,this.cdr=s,this.scopeResolver=new dF(this.service)}transform(i,r,o){var s;if(!i)return i;const a=r?`${i}${JSON.stringify(r)}`:i;if(a===this.lastKey)return this.lastValue;this.lastKey=a,null===(s=this.subscription)||void 0===s||s.unsubscribe();const l=function rF(e,t){const[n]=p0(t,"static");
1return!n&&!!e.config.reRenderOnLangChange}(this.service,this.providerLang||o);return this.subscription=this.service.langChanges$.pipe(Ft(d=>{const c=this.langResolver.resolve({inline:o,provider:this.providerLang,active:d});return Array.isArray(this.providerScope)?ko(this.providerScope.map(u=>this.resolveScope(c,u))):this.resolveScope(c,this.providerScope)}),function oF(e){return e?t=>t:Ci(1)}(l)).subscribe(()=>this.updateValue(i,r)),this.lastValue}ngOnDestroy(){var i;null===(i=this.subscription)||void 0===i||i.unsubscribe(),this.subscription=null}updateValue(i,r){const o=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(i,r,o),this.cdr.markForCheck()}resolveScope(i,r){const o=this.scopeResolver.resolve({inline:void 0,provider:r});this.path=this.langResolver.resolveLangPath(i,o);const s=m0(r,o);return this.service._loadDependencies(this.path,s)}}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)(I(Ia,16),I(ff,24),I(v0,24),I(Ni,16))}),(0,h.A)(t,"\u0275pipe",Ot({name:"transloco",type:e,pure:!1,standalone:!0})),t})(),VX=(()=>{var e;class t{}return e=t,(0,h.A)(t,"\u0275fac",function(i){return new(i||e)}),(0,h.A)(t,"\u0275mod",Me({type:e})),(0,h.A)(t,"\u0275inj",De({})),t})();function uF(e){return Gn([{provide:KA,useClass:e,deps:[Ho]}])}function hF(e){return Gn([{provide:iF,useClass:e,deps:[Ho]}])}function fF(e){return Gn([{provide:XA,useClass:e}])}function pF(e){return Gn([{provide:eF,useClass:e}])}var zr;new R("TRANSLOCO_TEST_LANGS - Available testing languages"),new R("TRANSLOCO_TEST_OPTIONS - Testing options");class ii{static getConsoleInterceptorConfig(){return(new IQ).initListsDefault()}static getTranslocoConfiguration(){return function ZA(e={}){return{...Ea,...e,missingHandler:{...Ea.missingHandler,...e.missingHandler},flatten:{...Ea.flatten,...e.flatten},scopes:{...Ea.scopes,...e.scopes}}}({availableLangs:["nl","en"],defaultLang:"nl",reRenderOnLangChange:!0,prodMode:ca.production})}static getAfbeeldingPath(t,n,i){if(t&&t.length>0){let r=t.find(o=>o.omschrijving==n);if(r){let o=r.bestand;return this.getBlokAfbeeldingFolderPath(i)+o}return""}return""}static getBlokAfbeeldingFolderPath(t){return this.dev||t?this.config.hostnameMedia+"/Portals/0/dtxArt/blok-afbeelding/bestand/":"/Portals/0/dtxArt/blok-afbeelding/bestand/"}static getBlokGalerijFolderPath(){return this.dev?this.config.hostnameMedia+"/Portals/0/dtxArt/blok-galerij/afbeelding/bestand/":"/Portals/0/dtxArt/blok-galerij/afbeelding/bestand/"}static getGalerijAfbeeldingPath(t,n){if(t&&t.length>0){let i=t.find(r=>r.omschrijving==n).bestand;return this.getBlokGalerijFolderPath()+i}return""}}(zr=ii).dev=!ca.production,zr.minRecaptchaScore=.3,zr.config={protocol:"https://",hostnameAPI:"www.4rent.be",hostnameMedia:"http://www.4rent.be",websocketRoot:"http://dtx-f05-shopdevsockets/duotix.ShopDevSockets/Sockets/hubs",routingMeertalig:!1,routingIndividueel:!0,routingToLower:!1,localStorageKeyPrefix:"4rent",skinFolderName:""},zr.isConsoleInterceptorActief=!0,zr.googleRecaptchaEnterpiseConfig=new class DQ{get minRecaptchaScore(){return this._minRecaptchaScore}get recaptchaSiteKey(){return this._recaptchaSiteKey}get recaptchaCooldownDate(){return this._recaptchaCooldownDate}constructor(t,n,i){(0,h.A)(this,"_minRecaptchaScore",void 0),(0,h.A)(this,"_recaptchaSiteKey",void 0),(0,h.A)(this,"_recaptchaCooldownDate",void 0),this._minRecaptchaScore=t,this._recaptchaSiteKey=n,this._recaptchaCooldownDate=i}zonderBlokkeren(){return N.isDatumVoorDatum(N.dateToString(new Date),this.recaptchaCooldownDate)}}(.3,"6Lfqlv8qAAAAAFoAuDicAxdXxWg33cKXdVT9YP3q","20/06/2025"),zr.FORM_VERSION="1.0.0",zr.FORM_CACHE_DAYS=10;let YX=(()=>{var e;class t{constructor(i){this.http=i}getTranslation(i){return this.http.get(ca.production?`/DesktopModules/duotix.Beheer/Skins/App/i18n/${i}.json?ts=`+(new Date).getTime():`${ca.fullHostname}/DesktopModules/duotix.Beheer/Skins/App/i18n/${i}.json?ts=`+(new Date).getTime())}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Nn))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),ZX=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({providers:[{provide:Ho,useValue:ii.getTranslocoConfiguration()},{provide:u0,useClass:YX},uF(QA),fF(JA),pF(tF),hF(nF),nT(oT())],imports:[VX]}),t})();function y0(){return lt((e,t)=>
1{let n=null;e._refCount++;const i=We(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const r=e._connection,o=n;n=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});e.subscribe(i),i.closed||(n=e.connect())})}class gF extends Ae{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,gy(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Xe;const n=this.getSubject();t.add(this.source.subscribe(We(n,void 0,()=>{this._teardown(),n.complete()},i=>{this._teardown(),n.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Xe.EMPTY)}return t}refCount(){return y0()(this)}}function pf(e){return lt((t,n)=>{let i=!1;t.subscribe(We(n,r=>{i=!0,n.next(r)},()=>{i||n.next(e),n.complete()}))})}function vF(e=KX){return lt((t,n)=>{let i=!1;t.subscribe(We(n,r=>{i=!0,n.next(r)},()=>i?n.complete():n.error(e())))})}function KX(){return new Nd}function Go(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Jt((r,o)=>e(r,o,i)):Un,Ci(1),n?pf(t):vF(()=>new Nd))}function C0(e){return e<=0?()=>Gi:lt((t,n)=>{let i=[];t.subscribe(We(n,r=>{i.push(r),e<i.length&&i.shift()},()=>{for(const r of i)n.next(r);n.complete()},void 0,()=>{i=null}))})}const he="primary",Bd=Symbol("RouteTitle");class eJ{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Ta(e){return new eJ(e)}function tJ(e,t,n){const i=n.path.split("/");if(i.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;const r={};for(let o=0;o<i.length;o++){const s=i[o],a=e[o];if(":"===s[0])r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function On(e,t){const n=e?b0(e):void 0,i=t?b0(t):void 0;if(!n||!i||n.length!=i.length)return!1;let r;for(let o=0;o<n.length;o++)if(r=n[o],!yF(e[r],t[r]))return!1;return!0}function b0(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function yF(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),i=[...t].sort();return n.every((r,o)=>i[o]===r)}return e===t}function CF(e){return e.length>0?e[e.length-1]:null}function Ur(e){return Xh(e)?e:Jl(e)?at(Promise.resolve(e)):Q(e)}const nJ={exact:function wF(e,t,n){if(!Yo(e.segments,t.segments)||!mf(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!e.children[i]||!wF(e.children[i],t.children[i],n))return!1;return!0},subset:DF},bF={exact:function rJ(e,t){return On(e,t)},subset:function oJ(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yF(e[n],t[n]))},ignored:()=>!0};function xF(e,t,n){return nJ[n.paths](e.root,t.root,n.matrixParams)&&bF[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function DF(e,t,n){return SF(e,t,t.segments,n)}function SF(e,t,n,i){if(e.segments.length>n.length){const r=e.segments.slice(0,n.length);return!(!Yo(r,n)||t.hasChildren()||!mf(r,n,i))}if(e.segments.length===n.length){if(!Yo(e.segments,n)||!mf(e.segments,n,i))return!1;for(const r in t.children)if(!e.children[r]||!DF(e.children[r],t.children[r],i))return!1;return!0}{const r=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!(Yo(e.segments,r)&&mf(e.segments,r,i)&&e.children[he])&&SF(e.children[he],t,o,i)}}function mf(e,t,n){return t.every((i,r)=>bF[n](e[r].parameters,i.parameters))}class Wo{constructor(t=new $e([],{}),n={},i=null){this.root=t,this.queryParams=n,this.fragment=i}get queryParamMap(){var t;return null!==(t=this._queryParamMap)&&void 0!==t||(this._queryParamMap=Ta(this.queryParams)),this._queryParamMap}toString(){return lJ.serialize(this)}}class $e{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEac
1h(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gf(this)}}class qd{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){var t;return null!==(t=this._parameterMap)&&void 0!==t||(this._parameterMap=Ta(this.parameters)),this._parameterMap}toString(){return IF(this)}}function Yo(e,t){return e.length===t.length&&e.every((n,i)=>n.path===t[i].path)}let Aa=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:()=>new _f,providedIn:"root"}),t})();class _f{parse(t){const n=new yJ(t);return new Wo(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${zd(t.root,!0)}`,i=function uJ(e){const t=Object.entries(e).map(([n,i])=>Array.isArray(i)?i.map(r=>`${vf(n)}=${vf(r)}`).join("&"):`${vf(n)}=${vf(i)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${i}${"string"==typeof t.fragment?`#${function dJ(e){return encodeURI(e)}(t.fragment)}`:""}`}}const lJ=new _f;function gf(e){return e.segments.map(t=>IF(t)).join("/")}function zd(e,t){if(!e.hasChildren())return gf(e);if(t){const n=e.children[he]?zd(e.children[he],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==he&&i.push(`${r}:${zd(o,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=function aJ(e,t){let n=[];return Object.entries(e.children).forEach(([i,r])=>{i===he&&(n=n.concat(t(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==he&&(n=n.concat(t(r,i)))}),n}(e,(i,r)=>r===he?[zd(e.children[he],!1)]:[`${r}:${zd(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[he]?`${gf(e)}/${n[0]}`:`${gf(e)}/(${n.join("//")})`}}function MF(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function vf(e){return MF(e).replace(/%3B/gi,";")}function x0(e){return MF(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yf(e){return decodeURIComponent(e)}function EF(e){return yf(e.replace(/\+/g,"%20"))}function IF(e){return`${x0(e.path)}${function cJ(e){return Object.entries(e).map(([t,n])=>`;${x0(t)}=${x0(n)}`).join("")}(e.parameters)}`}const hJ=/^[^\/()?;#]+/;function w0(e){const t=e.match(hJ);return t?t[0]:""}const fJ=/^[^\/()?;=#]+/,mJ=/^[^=?&#]+/,gJ=/^[^&#]+/;class yJ{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new $e([],{}):new $e([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(i[he]=new $e(t,n)),i}parseSegment(){const t=w0(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new L(4009,!1);return this.capture(t),new qd(yf(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function pJ(e){const t=e.match(fJ);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let i="";if(this.consumeOptional("=")){const r=w0(this.remaining);r&&(i=r,this.capture(i))}t[yf(n)]=yf(i)}parseQueryParam(t){const n=function _J(e){const t=e.match(mJ);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let i="";if(this.consumeOptional("=")){const s=function vJ(e){const t=e.match(gJ);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=EF(n),o=EF(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=w0(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new L(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=he);const s=this.parseChildren();n[o]=1===Object.keys(s).length?s[he]:new $e([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new L(4011,!1)}}function TF(e){return e.segments.length>0?new $e([],{[he]:e}):e}function AF(e){const t={};for(const[i,r]of Object.entries(e.children)){const o=AF(r);if(i===he&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function CJ(e){if(1===e.numberOfChildren&&e.children[he]){const t=e.children[he];return new $e(e.segments.concat(t.segments),t.children)}return e}(new $e(e.segments,t))}function Zo(e){return e instanceof Wo}function FF(e){let t;const r=TF(function n(o){const s={};for(const l of o.children){const d=n(l);s[l.outlet]=d}const a=new $e(o.url,s);return o===e&&(t=a),a}(e.root));return null!=t?t:r}function kF(e,t,n,i){let r=e;for(;r.parent;)r=r.parent;if(0===t.length)return D0(r,r,r,n,i);const o=function xJ(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new RF(!0,0,e);let t=0,n=!1;const i=e.reduce((r,o,s)=>
1{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,d])=>{a[l]="string"==typeof d?d.split("/"):d}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new RF(n,t,i)}(t);if(o.toRoot())return D0(r,r,new $e([],{}),n,i);const s=function wJ(e,t,n){if(e.isAbsolute)return new bf(t,!0,0);if(!n)return new bf(t,!1,NaN);if(null===n.parent)return new bf(n,!0,0);const i=Cf(e.commands[0])?0:1;return function DJ(e,t,n){let i=e,r=t,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new L(4005,!1);r=i.segments.length}return new bf(i,!1,r-o)}(n,n.segments.length-1+i,e.numberOfDoubleDots)}(o,r,e),a=s.processChildren?$d(s.segmentGroup,s.index,o.commands):NF(s.segmentGroup,s.index,o.commands);return D0(r,s.segmentGroup,a,n,i)}function Cf(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ud(e){return"object"==typeof e&&null!=e&&e.outlets}function D0(e,t,n,i,r){let s,o={};i&&Object.entries(i).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(c=>`${c}`):`${d}`}),s=e===t?n:PF(e,t,n);const a=TF(AF(s));return new Wo(a,o,r)}function PF(e,t,n){const i={};return Object.entries(e.children).forEach(([r,o])=>{i[r]=o===t?n:PF(o,t,n)}),new $e(e.segments,i)}class RF{constructor(t,n,i){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=i,t&&i.length>0&&Cf(i[0]))throw new L(4003,!1);const r=i.find(Ud);if(r&&r!==CF(i))throw new L(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class bf{constructor(t,n,i){this.segmentGroup=t,this.processChildren=n,this.index=i}}function NF(e,t,n){if(null!=e||(e=new $e([],{})),0===e.segments.length&&e.hasChildren())return $d(e,t,n);const i=function MJ(e,t,n){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=n.length)return o;const s=e.segments[r],a=n[i];if(Ud(a))break;const l=`${a}`,d=i<n.length-1?n[i+1]:null;if(r>0&&void 0===l)break;if(l&&d&&"object"==typeof d&&void 0===d.outlets){if(!OF(l,d,s))return o;i+=2}else{if(!OF(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const o=new $e(e.segments.slice(0,i.pathIndex),{});return o.children[he]=new $e(e.segments.slice(i.pathIndex),e.children),$d(o,0,r)}return i.match&&0===r.length?new $e(e.segments,{}):i.match&&!e.hasChildren()?S0(e,t,n):i.match?$d(e,0,r):S0(e,t,n)}function $d(e,t,n){if(0===n.length)return new $e(e.segments,{});{const i=function SJ(e){return Ud(e[0])?e[0].outlets:{[he]:e}}(n),r={};if(Object.keys(i).some(o=>o!==he)&&e.children[he]&&1===e.numberOfChildren&&0===e.children[he].segments.length){const o=$d(e.children[he],t,n);return new $e(e.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=NF(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new $e(e.segments,r)}}function S0(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r<n.length;){const o=n[r];if(Ud(o)){const l=EJ(o.outlets);return new $e(i,l)}if(0===r&&Cf(n[0])){i.push(new qd(e.segments[t].path,LF(n[0]))),r++;continue}const s=Ud(o)?o.outlets[he]:`${o}`,a=r<n.length-1?n[r+1]:null;s&&a&&Cf(a)?(i.push(new qd(s,LF(a))),r+=2):(i.push(new qd(s,{})),r++)}return new $e(i,{})}function EJ(e){const t={};return Object.entries(e).forEach(([n,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(t[n]=S0(new $e([],{}),0,i))}),t}function LF(e){const t={};return Object.entries(e).forEach(([n,i])=>t[n]=`${i}`),t}function OF(e,t,n){return e==n.path&&On(t,n.parameters)}const Hd="imperative";var we=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(we||{});class Vn{constructor(t,n){this.id=t,this.url=n}}class xf extends Vn{constructor(t,n,i="imperative",r=null){super(t,n),this.type=we.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class cr extends Vn{constructor(t,n,i){super(t,n),this.urlAfterRedirects=i,this.type=we.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Vi=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
1solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(Vi||{}),wf=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(wf||{});class Ko extends Vn{constructor(t,n,i,r){super(t,n),this.reason=i,this.code=r,this.type=we.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fa extends Vn{constructor(t,n,i,r){super(t,n),this.reason=i,this.code=r,this.type=we.NavigationSkipped}}class M0 extends Vn{constructor(t,n,i,r){super(t,n),this.error=i,this.target=r,this.type=we.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class VF extends Vn{constructor(t,n,i,r){super(t,n),this.urlAfterRedirects=i,this.state=r,this.type=we.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class IJ extends Vn{constructor(t,n,i,r){super(t,n),this.urlAfterRedirects=i,this.state=r,this.type=we.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class TJ extends Vn{constructor(t,n,i,r,o){super(t,n),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=we.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class AJ extends Vn{constructor(t,n,i,r){super(t,n),this.urlAfterRedirects=i,this.state=r,this.type=we.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class FJ extends Vn{constructor(t,n,i,r){super(t,n),this.urlAfterRedirects=i,this.state=r,this.type=we.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kJ{constructor(t){this.route=t,this.type=we.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class PJ{constructor(t){this.route=t,this.type=we.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class RJ{constructor(t){this.snapshot=t,this.type=we.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class NJ{constructor(t){this.snapshot=t,this.type=we.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class LJ{constructor(t){this.snapshot=t,this.type=we.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class OJ{constructor(t){this.snapshot=t,this.type=we.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jF{constructor(t,n,i){this.routerEvent=t,this.position=n,this.anchor=i,this.type=we.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class E0{}class Df{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}}function un(e){return e.outlet||he}function Gd(e){var t;if(!e)return null;if(null!==(t=e.routeConfig)&&void 0!==t&&t._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const i=n.routeConfig;if(null!=i&&i._loadedInjector)return i._loadedInjector;if(null!=i&&i._injector)return i._injector}return null}class UJ{get injector(){var t,n;return null!==(t=Gd(null===(n=this.route)||void 0===n?void 0:n.snapshot))&&void 0!==t?t:this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new Wd(this.rootInjector),this.attachRef=null}}let Wd=(()=>{var e;class t{constructor(i){this.rootInjector=i,this.contexts=new Map}onChildOutletCreated(i,r){const o=this.getOrCreateContext(i);o.outlet=r,this.contexts.set(i,o)}onChildOutletDestroyed(i){const r=this.getContext(i);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const i=this.contexts;return this.contexts=new Map,i}onOutletReAttached(i){this.contexts=i}getOrCreateContext(i){let r=this.getContext(i);return r||(r=new UJ(this.rootInjector),this.contexts.set(i,r)),r}getContext(i){return this.contexts.get(i)||null}}return(e=t).\u0275fac=function(i){return new(i||e)(k(Yt))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class BF{constructor(t){this._root=t}get root(){return this._root.value}
1parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=I0(t,this._root);return n?n.children.map(i=>i.value):[]}firstChild(t){const n=I0(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=T0(t,this._root);return n.length<2?[]:n[n.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return T0(t,this._root).map(n=>n.value)}}function I0(e,t){if(e===t.value)return t;for(const n of t.children){const i=I0(e,n);if(i)return i}return null}function T0(e,t){if(e===t.value)return[t];for(const n of t.children){const i=T0(e,n);if(i.length)return i.unshift(t),i}return[]}class hn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function ka(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class qF extends BF{constructor(t,n){super(t),this.snapshot=n,A0(this,t)}toString(){return this.snapshot.toString()}}function zF(e){const t=function $J(e){const o=new Mf([],{},{},"",{},he,e,null,{});return new UF("",new hn(o,[]))}(e),n=new Gt([new qd("",{})]),i=new Gt({}),r=new Gt({}),o=new Gt({}),s=new Gt(""),a=new Qo(n,i,o,s,r,he,e,t.root);return a.snapshot=t.root,new qF(new hn(a,[]),t)}class Qo{constructor(t,n,i,r,o,s,a,l){var d,c;this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=null!==(d=null===(c=this.dataSubject)||void 0===c?void 0:c.pipe(H(u=>u[Bd])))&&void 0!==d?d:Q(void 0),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var t;return null!==(t=this._paramMap)&&void 0!==t||(this._paramMap=this.params.pipe(H(n=>Ta(n)))),this._paramMap}get queryParamMap(){var t;return null!==(t=this._queryParamMap)&&void 0!==t||(this._queryParamMap=this.queryParams.pipe(H(n=>Ta(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Sf(e,t,n="emptyOnly"){var i;let r;const{routeConfig:o}=e;var s;return r=null===t||"always"!==n&&""!==(null==o?void 0:o.path)&&(t.component||null!==(i=t.routeConfig)&&void 0!==i&&i.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...null!==(s=e._resolvedData)&&void 0!==s?s:{}}}:{params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.data,...null==o?void 0:o.data,...e._resolvedData}},o&&HF(o)&&(r.resolve[Bd]=o.title),r}class Mf{get title(){var t;return null===(t=this.data)||void 0===t?void 0:t[Bd]}constructor(t,n,i,r,o,s,a,l,d){this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}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(){var t;return null!==(t=this._paramMap)&&void 0!==t||(this._paramMap=Ta(this.params)),this._paramMap}get queryParamMap(){var t;return null!==(t=this._queryParamMap)&&void 0!==t||(this._queryParamMap=Ta(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class UF extends BF{constructor(t,n){super(n),this.url=t,A0(this,n)}toString(){return $F(this._root)}}function A0(e,t){t.value._routerState=e,t.children.forEach(n=>A0(e,n))}function $F(e){const t=e.children.length>0?` { ${e.children.map($F).join(", ")} } `:"";return`${e.value}${t}`}function F0(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,On(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),On(t.params,n.params)||e.paramsSubject.next(n.params),function iJ(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!On(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.urlSubject.next(n.url),On(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function k0(e,t){const n=On(e.params,t.params)&&function sJ(e,t){return Yo(e,t)&&e.every((n,i)=>On(n.parameters,t[i].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||k0(e.parent,t.parent))}function HF(e){return"string"==typeof e.title||null===e.title}let P0=(()=>{var e;class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new G,this.deactivateEvents=new G,this.attachEvents=new G,this.detachEvents=new G,this.parentContexts=S(Wd),this.location=S(Fi),this.changeDetector=S(Ni),this.inputBinder=S(Ef,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}
1ngOnChanges(i){if(i.name){const{firstChange:r,previousValue:o}=i.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){var i;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(i=this.inputBinder)||void 0===i||i.unsubscribeFromRouteData(this)}isTrackedInParentContexts(i){var r;return(null===(r=this.parentContexts.getContext(i))||void 0===r?void 0:r.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const i=this.parentContexts.getContext(this.name);null!=i&&i.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new L(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new L(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new L(4012,!1);this.location.detach();const i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,r){var o;this.activated=i,this._activatedRoute=r,this.location.insert(i.hostView),null===(o=this.inputBinder)||void 0===o||o.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){const i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,r){var o;if(this.isActivated)throw new L(4013,!1);this._activatedRoute=i;const s=this.location,l=i.snapshot.component,d=this.parentContexts.getOrCreateContext(this.name).children,c=new R0(i,d,s.injector);this.activated=s.createComponent(l,{index:s.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),null===(o=this.inputBinder)||void 0===o||o.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275dir=te({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[je]}),t})();class R0{__ngOutletInjector(t){return new R0(this.route,this.childContexts,t)}constructor(t,n,i){this.route=t,this.childContexts=n,this.parent=i}get(t,n){return t===Qo?this.route:t===Wd?this.childContexts:this.parent.get(t,n)}}const Ef=new R("");let GF=(()=>{var e;class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(i){this.unsubscribeFromRouteData(i),this.subscribeToRouteData(i)}unsubscribeFromRouteData(i){var r;null===(r=this.outletDataSubscriptions.get(i))||void 0===r||r.unsubscribe(),this.outletDataSubscriptions.delete(i)}subscribeToRouteData(i){const{activatedRoute:r}=i,o=Id([r.queryParams,r.params,r.data]).pipe(Ft(([s,a,l],d)=>(l={...s,...a,...l},0===d?Q(l):Promise.resolve(l)))).subscribe(s=>{if(!i.isActivated||!i.activatedComponentRef||i.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(i);const a=function w6(e){const t=pe(e);if(!t)return null;const n=new Rl(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(r.component);if(a)for(const{templateName:l}of a.inputs)i.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(i)});this.outletDataSubscriptions.set(i,o)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();function Yd(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=t.value;const r=function GJ(e,t,n){return t.children.map(i=>{for(const r of n.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return Yd(e,i,r);return Yd(e,i)})}
1(e,t,n);return new hn(i,r)}{if(e.shouldAttach(t.value)){const o=e.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Yd(e,a)),s}}const i=function WJ(e){return new Qo(new Gt(e.url),new Gt(e.params),new Gt(e.queryParams),new Gt(e.fragment),new Gt(e.data),e.outlet,e.component,e)}(t.value),r=t.children.map(o=>Yd(e,o));return new hn(i,r)}}class N0{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}}const WF="ngNavigationCancelingError";function If(e,t){const{redirectTo:n,navigationBehaviorOptions:i}=Zo(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=YF(!1,Vi.Redirect);return r.url=n,r.navigationBehaviorOptions=i,r}function YF(e,t){const n=new Error(`NavigationCancelingError: ${e||""}`);return n[WF]=!0,n.cancellationCode=t,n}function ZF(e){return!!e&&e[WF]}class KJ{constructor(t,n,i,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){const n=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,i,t),F0(this.futureState.root),this.activateChildRoutes(n,i,t)}deactivateChildRoutes(t,n,i){const r=ka(n);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,n,i){const r=t.value,o=n?n.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,i);else o&&this.deactivateRouteAndItsChildren(n,i)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const i=n.getContext(t.value.outlet),r=i&&t.value.component?i.children:n,o=ka(t);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const i=n.getContext(t.value.outlet),r=i&&t.value.component?i.children:n,o=ka(t);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,n,i){const r=ka(n);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new OJ(o.value.snapshot))}),t.children.length&&this.forwardEvent(new NJ(t.value.snapshot))}activateRoutes(t,n,i){const r=t.value,o=n?n.value:null;if(F0(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),F0(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,i)}}class KF{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Tf{constructor(t,n){this.component=t,this.route=n}}function QJ(e,t,n){const i=e._root;return Zd(i,t?t._root:null,n,[i.value])}function Pa(e,t){const n=Symbol(),i=t.get(e,n);return i===n?"function"!=typeof e||function e2(e){return null!==_c(e)}(e)?t.get(e):e:i}function Zd(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=ka(t);return e.children.forEach(s=>{(function JJ(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function eee(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Yo(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Yo(e.url,t.url)||!On(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!k0(e,t)||!On(e.queryParams,t.queryParams);default:return!k0(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new KF(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Zd(e,t,o.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Tf(a.outlet.component,s))}else s&&Kd(t,a,r),r.canActivateChecks.push(new KF(i)),Zd(e,null,o.component?a?a.children:null:n,i,r)})(s,o[s.value.outlet],n,i.concat([s.value]),r),delete o[s.value.outlet]}
1),Object.entries(o).forEach(([s,a])=>Kd(a,n.getContext(s),r)),r}function Kd(e,t,n){const i=ka(e),r=e.value;Object.entries(i).forEach(([o,s])=>{Kd(s,r.component?t?t.children.getContext(o):null:t,n)}),n.canDeactivateChecks.push(new Tf(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function Qd(e){return"function"==typeof e}function QF(e){return e instanceof Nd||"EmptyError"===(null==e?void 0:e.name)}const Af=Symbol("INITIAL_VALUE");function Ra(){return Ft(e=>Id(e.map(t=>t.pipe(Ci(1),Bh(Af)))).pipe(H(t=>{for(const n of t)if(!0!==n){if(n===Af)return Af;if(!1===n||aee(n))return n}return!0}),Jt(t=>t!==Af),Ci(1)))}function aee(e){return Zo(e)||e instanceof N0}function XF(e){return function $k(...e){return py(e)}(kt(t=>{if("boolean"!=typeof t)throw If(0,t)}),H(t=>!0===t))}class L0{constructor(t){this.segmentGroup=t||null}}class Ff extends Error{constructor(t){super(),this.urlTree=t}}function Na(e){return wd(new L0(e))}class Cee{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let i=[],r=n.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Q(i);if(r.numberOfChildren>1||!r.children[he])return wd(new L(4e3,!1));r=r.children[he]}}applyRedirectCommands(t,n,i,r,o){if("string"!=typeof n){const a=n,{queryParams:l,fragment:d,routeConfig:c,url:u,outlet:f,params:p,data:m,title:y}=r,_=_n(o,()=>a({params:p,data:m,queryParams:l,fragment:d,routeConfig:c,url:u,outlet:f,title:y}));if(_ instanceof Wo)throw new Ff(_);n=_}const s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,i);if("/"===n[0])throw new Ff(s);return s}applyRedirectCreateUrlTree(t,n,i,r){const o=this.createSegmentGroup(t,n.root,i,r);return new Wo(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const i={};return Object.entries(t).forEach(([r,o])=>{if("string"==typeof o&&":"===o[0]){const a=o.substring(1);i[r]=n[a]}else i[r]=o}),i}createSegmentGroup(t,n,i,r){const o=this.createSegments(t,n.segments,i,r);let s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,i,r)}),new $e(o,s)}createSegments(t,n,i,r){return n.map(o=>":"===o.path[0]?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,n,i){const r=i[n.path.substring(1)];if(!r)throw new L(4001,!1);return r}findOrReturn(t,n){let i=0;for(const r of n){if(r.path===t.path)return n.splice(i),r;i++}return t}}const O0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function bee(e,t,n,i,r){const o=JF(e,t,n);return o.matched?(i=function VJ(e,t){var n;return e.providers&&!e._injector&&(e._injector=Tu(e.providers,t,`Route: ${e.path}`)),null!==(n=e._injector)&&void 0!==n?n:t}(t,i),function gee(e,t,n,i){const r=t.canMatch;return r&&0!==r.length?Q(r.map(s=>{const a=Pa(s,e);return Ur(function see(e){return e&&Qd(e.canMatch)}(a)?a.canMatch(t,n):_n(e,()=>a(t,n)))})).pipe(Ra(),XF()):Q(!0)}(i,t,n).pipe(H(s=>!0===s?o:{...O0}))):Q(o)}function JF(e,t,n){var i,r;if("**"===t.path)return function xee(e){return{matched:!0,parameters:e.length>0?CF(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...O0}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const s=(t.matcher||tJ)(n,e,t);if(!s)return{...O0};const a={};Object.entries(null!==(i=s.posParams)&&void 0!==i?i:{}).forEach(([d,c])=>{a[d]=c.path});const l=s.consumed.length>0?{...a,...s.consumed[s.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:s.consumed,remainingSegments:n.slice(s.consumed.length),parameters:l,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function ek(e,t,n,i){return n.length>0&&function See(e,t,n){return n.some(i=>kf(e,t,i)&&un(i)!==he)}(e,n,i)?{segmentGroup:new $e(t,Dee(i,new $e(n,e.children))),slicedSegments:[]}:0===n.length&&function Mee(e,t,n){return n.some(i=>kf(e,t,i))}(e,n,i)?{segmentGroup:new $e(e.segments,wee(e,n,i,e.children)),slicedSegments:n}:{segmentGroup:new $e(e.segments,e.children),slicedSegments:n}}function wee(e,t,n,i){const r={};for(const o of n)if(kf(e,t,o)&&!i[un(o)]){const s=new $e([],{});r[un(o)]=s}return{...i,...r}}function Dee(e,t){const n={};n[he]=t;for(const i of e)if(""===i.path&&un(i)!==he){const r=new $e([],{});n[un(i)]=r}return n}function kf(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class Iee{}class Fee{constructor(t,n,i,r,o,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
1=a,this.applyRedirects=new Cee(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new L(4002,`'${t.segmentGroup}'`)}recognize(){const t=ek(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(H(({children:n,rootSnapshot:i})=>{const r=new hn(i,n),o=new UF("",r),s=function bJ(e,t,n=null,i=null){return kF(FF(e),t,n,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){const n=new Mf([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),he,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,he,n).pipe(H(i=>({children:i,rootSnapshot:n})),Lr(i=>{if(i instanceof Ff)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof L0?this.noMatchError(i):i}))}processSegmentGroup(t,n,i,r,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,n,i,o):this.processSegment(t,n,i,i.segments,r,!0,o).pipe(H(s=>s instanceof hn?[s]:[]))}processChildren(t,n,i,r){const o=[];for(const s of Object.keys(i.children))"primary"===s?o.unshift(s):o.push(s);return at(o).pipe(ga(s=>{const a=i.children[s],l=function zJ(e,t){const n=e.filter(i=>un(i)===t);return n.push(...e.filter(i=>un(i)!==t)),n}(n,s);return this.processSegmentGroup(t,l,a,s,r)}),function XX(e,t){return lt(function QX(e,t,n,i,r){return(o,s)=>{let a=n,l=t,d=0;o.subscribe(We(s,c=>{const u=d++;l=a?e(l,c,u):(a=!0,c),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((s,a)=>(s.push(...a),s)),pf(null),function JX(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Jt((r,o)=>e(r,o,i)):Un,C0(1),n?pf(t):vF(()=>new Nd))}(),bt(s=>{if(null===s)return Na(i);const a=tk(s);return function kee(e){e.sort((t,n)=>t.value.outlet===he?-1:n.value.outlet===he?1:t.value.outlet.localeCompare(n.value.outlet))}(a),Q(a)}))}processSegment(t,n,i,r,o,s,a){return at(n).pipe(ga(l=>{var d;return this.processSegmentAgainstRoute(null!==(d=l._injector)&&void 0!==d?d:t,n,l,i,r,o,s,a).pipe(Lr(c=>{if(c instanceof L0)return Q(null);throw c}))}),Go(l=>!!l),Lr(l=>{if(QF(l))return function Eee(e,t,n){return 0===t.length&&!e.children[n]}(i,r,o)?Q(new Iee):Na(i);throw l}))}processSegmentAgainstRoute(t,n,i,r,o,s,a,l){return un(i)===s||s!==he&&kf(r,o,i)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,n,i,o,s,l):Na(r):Na(r)}expandSegmentAgainstRouteUsingRedirect(t,n,i,r,o,s,a){var l,d;const{matched:c,parameters:u,consumedSegments:f,positionalParamSegments:p,remainingSegments:m}=JF(n,r,o);if(!c)return Na(n);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const y=new Mf(o,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ik(r),un(r),null!==(l=null!==(d=r.component)&&void 0!==d?d:r._loadedComponent)&&void 0!==l?l:null,r,nk(r)),_=Sf(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(_.params),y.data=Object.freeze(_.data);const w=this.applyRedirects.applyRedirectCommands(f,r.redirectTo,p,y,t);return this.applyRedirects.lineralizeSegments(r,w).pipe(bt(D=>this.processSegment(t,i,n,D.concat(m),s,!1,a)))}matchSegmentAgainstRoute(t,n,i,r,o,s){const a=bee(n,i,r,t);return"**"===i.path&&(n.children={}),a.pipe(Ft(l=>{var d;return l.matched?(t=null!==(d=i._injector)&&void 0!==d?d:t,this.getChildConfig(t,i,r).pipe(Ft(({routes:c})=>{var u,f,p;const m=null!==(u=i._loadedInjector)&&void 0!==u?u:t,{parameters:y,consumedSegments:_,remainingSegments:w}=l,D=new Mf(_,y,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ik(i),un(i),null!==(f=null!==(p=i.component)&&void 0!==p?p:i._loadedComponent)&&void 0!==f?f:null,i,nk(i)),O=Sf(D,s,this.paramsInheritanceStrategy);D.params=Object.freeze(O.params),D.data=Object.freeze(O.data);const{segmentGroup:B,slicedSegments:K}=ek(n,_,w,c);if(0===K.length&&B.hasChildren())return this.processChildren(m,c,B,D).pipe(H(ve=>new hn(D,ve)));if(0===c.length&&0===K.length)return Q(new hn(D,[]));const me=un(i)===o;return this.processSegment(m,c,B,K,me?he:o,!0,D).pipe(H(ve=>new hn(D,ve instanceof hn?[ve]:[])))}))):Na(n)}))}getChildConfig(t,n,i){return n.children?Q({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?Q({routes:n._loadedRoutes,injector:n._loadedInjector}):function _ee(e,t,n,i){const r=t.canLoad;return void 0===r||0===r.length?Q(!0):Q(r.map(s=>{const a=Pa(s,e);return Ur(function iee(e){return e&&Qd(e.canLoad)}(a)?a.canLoad(t,n):_n(e,()=>a(t,n)))})).pipe(Ra(),XF())}(t,n,i).pipe(bt(r=>r?this.configLoader.loadChildren(t,n).pipe(kt(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):function yee(){return wd(YF(!1,Vi.GuardRejected))}
1())):Q({routes:[],injector:t})}}function Pee(e){const t=e.value.routeConfig;return t&&""===t.path}function tk(e){const t=[],n=new Set;for(const i of e){if(!Pee(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),n.add(r)):t.push(i)}for(const i of n){const r=tk(i.children);t.push(new hn(i.value,r))}return t.filter(i=>!n.has(i))}function ik(e){return e.data||{}}function nk(e){return e.resolve||{}}function rk(e){const t=e.children.map(n=>rk(n)).flat();return[e,...t]}function V0(e){return Ft(t=>{const n=e(t);return n?at(n).pipe(H(()=>t)):Q(t)})}let ok=(()=>{var e;class t{buildTitle(i){let r,o=i.root;for(;void 0!==o;){var s;r=null!==(s=this.getResolvedTitleForRoute(o))&&void 0!==s?s:r,o=o.children.find(a=>a.outlet===he)}return r}getResolvedTitleForRoute(i){return i.data[Bd]}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:()=>S(jee),providedIn:"root"}),t})(),jee=(()=>{var e;class t extends ok{constructor(i){super(),this.title=i}updateTitle(i){const r=this.buildTitle(i);void 0!==r&&this.title.setTitle(r)}}return(e=t).\u0275fac=function(i){return new(i||e)(k(z8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const La=new R("",{providedIn:"root",factory:()=>({})});let sk=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ve({type:e,selectors:[["ng-component"]],standalone:!0,features:[Mo],decls:1,vars:0,template:function(i,r){1&i&&P(0,"router-outlet")},dependencies:[P0],encapsulation:2}),t})();function j0(e){const t=e.children&&e.children.map(j0),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==he&&(n.component=sk),n}const Oa=new R("");let B0=(()=>{var e;class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=S(PS)}loadComponent(i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Q(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);const r=Ur(i.loadComponent()).pipe(H(ak),kt(s=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=s}),bd(()=>{this.componentLoaders.delete(i)})),o=new gF(r,()=>new Ce).pipe(y0());return this.componentLoaders.set(i,o),o}loadChildren(i,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Q({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const s=function Bee(e,t,n,i){return Ur(e.loadChildren()).pipe(H(ak),bt(r=>r instanceof Wx||Array.isArray(r)?Q(r):at(t.compileModuleAsync(r))),H(r=>{i&&i(e);let o,s,a=!1;return Array.isArray(r)?(s=r,!0):(o=r.create(n).injector,s=o.get(Oa,[],{optional:!0,self:!0}).flat()),{routes:s.map(j0),injector:o}}))}(r,this.compiler,i,this.onLoadEndListener).pipe(bd(()=>{this.childrenLoaders.delete(r)})),a=new gF(s,()=>new Ce).pipe(y0());return this.childrenLoaders.set(r,a),a}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ak(e){return function qee(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let q0=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:()=>S(zee),providedIn:"root"}),t})(),zee=(()=>{var e;class t{shouldProcessUrl(i){return!0}extract(i){return i}merge(i,r){return i}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const lk=new R(""),dk=new R("");function Uee(e,t,n){const i=e.get(dk),r=e.get(Fe);return e.get(ue).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(d=>setTimeout(d));let o;const s=new Promise(d=>{o=d}),a=r.startViewTransition(()=>(o(),function $ee(e){return new Promise(t=>{go({read:()=>setTimeout(t)},{injector:e})})}(e))),{onViewTransitionCreated:l}=i;return l&&_n(e,()=>l({transition:a,from:t,to:n})),s})}const ck=new R("");let Pf=(()=>{var e;class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce,this.transitionAbortSubject=ne
1w Ce,this.configLoader=S(B0),this.environmentInjector=S(Yt),this.urlSerializer=S(Aa),this.rootContexts=S(Wd),this.location=S(aa),this.inputBindingEnabled=null!==S(Ef,{optional:!0}),this.titleStrategy=S(ok),this.options=S(La,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=S(q0),this.createViewTransition=S(lk,{optional:!0}),this.navigationErrorHandler=S(ck,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Q(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new PJ(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new kJ(o))}complete(){var i;null===(i=this.transitions)||void 0===i||i.complete()}handleNavigationRequest(i){var r;const o=++this.navigationId;null===(r=this.transitions)||void 0===r||r.next({...this.transitions.value,...i,id:o})}setupNavigations(i,r,o){return this.transitions=new Gt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Hd,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Jt(s=>0!==s.id),H(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ft(s=>{let a=!1,l=!1;return Q(s).pipe(Ft(d=>{var c;if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Vi.SupersededByNewNavigation),Gi;this.currentTransition=s,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,targetBrowserUrl:"string"==typeof d.extras.browserUrl?this.urlSerializer.parse(d.extras.browserUrl):d.extras.browserUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const u=!i.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=null!==(c=d.extras.onSameUrlNavigation)&&void 0!==c?c:i.onSameUrlNavigation;if(!u&&"reload"!==f){const p="";return this.events.next(new Fa(d.id,this.urlSerializer.serialize(d.rawUrl),p,wf.IgnoredSameUrlNavigation)),d.resolve(!1),Gi}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return Q(d).pipe(Ft(p=>{var m,y;const _=null===(m=this.transitions)||void 0===m?void 0:m.getValue();return this.events.next(new xf(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),_!==(null===(y=this.transitions)||void 0===y?void 0:y.getValue())?Gi:Promise.resolve(p)}),function Ree(e,t,n,i,r,o){return bt(s=>function Tee(e,t,n,i,r,o,s="emptyOnly"){return new Fee(e,t,n,i,r,s,o).recognize()}(e,t,n,i,s.extractedUrl,r,o).pipe(H(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,i.config,this.urlSerializer,this.paramsInheritanceStrategy),kt(p=>{s.targetSnapshot=p.targetSnapshot,s.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:p.urlAfterRedirects};const m=new VF(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(m)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){const{id:p,extractedUrl:m,source:y,restoredState:_,extras:w}=d,D=new xf(p,this.urlSerializer.serialize(m),y,_);this.events.next(D);const O=zF(this.rootComponentType).snapshot;return this.currentTransition=s={...d,targetSnapshot:O,urlAfterRedirects:m,extras:{...w,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=m,Q(s)}{const p="";return this.events.next(new Fa(d.id,this.urlSerializer.serialize(d.extractedUrl),p,wf.IgnoredByUrlHandlingStrategy)),d.resolve(!1),Gi}}),kt(d=>{const c=new IJ(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(c)}),H(d=>(this.currentTransition=s={...d,guards:QJ(d.targetSnapshot,d.currentSnapshot,this.rootContexts)},s)),function lee(e,t){return bt(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return 0===s.length&&0===o.length?Q({...n,guardsResult:!0}
1):function dee(e,t,n,i){return at(e).pipe(bt(r=>function mee(e,t,n,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Q(o.map(a=>{var l;const d=null!==(l=Gd(t))&&void 0!==l?l:r,c=Pa(a,d);return Ur(function oee(e){return e&&Qd(e.canDeactivate)}(c)?c.canDeactivate(e,t,n,i):_n(d,()=>c(e,t,n,i))).pipe(Go())})).pipe(Ra()):Q(!0)}(r.component,r.route,n,t,i)),Go(r=>!0!==r,!0))}(s,i,r,e).pipe(bt(a=>a&&function tee(e){return"boolean"==typeof e}(a)?function cee(e,t,n,i){return at(t).pipe(ga(r=>Cd(function hee(e,t){return null!==e&&t&&t(new RJ(e)),Q(!0)}(r.route.parent,i),function uee(e,t){return null!==e&&t&&t(new LJ(e)),Q(!0)}(r.route,i),function pee(e,t,n){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function XJ(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>rf(()=>Q(s.guards.map(l=>{var d;const c=null!==(d=Gd(s.node))&&void 0!==d?d:n,u=Pa(l,c);return Ur(function ree(e){return e&&Qd(e.canActivateChild)}(u)?u.canActivateChild(i,e):_n(c,()=>u(i,e))).pipe(Go())})).pipe(Ra())));return Q(o).pipe(Ra())}(e,r.path,n),function fee(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Q(!0);const r=i.map(o=>rf(()=>{var s;const a=null!==(s=Gd(t))&&void 0!==s?s:n,l=Pa(o,a);return Ur(function nee(e){return e&&Qd(e.canActivate)}(l)?l.canActivate(t,e):_n(a,()=>l(t,e))).pipe(Go())}));return Q(r).pipe(Ra())}(e,r.route,n))),Go(r=>!0!==r,!0))}(i,o,e,t):Q(a)),H(a=>({...n,guardsResult:a})))})}(this.environmentInjector,d=>this.events.next(d)),kt(d=>{if(s.guardsResult=d.guardsResult,d.guardsResult&&"boolean"!=typeof d.guardsResult)throw If(0,d.guardsResult);const c=new TJ(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(c)}),Jt(d=>!!d.guardsResult||(this.cancelNavigationTransition(d,"",Vi.GuardRejected),!1)),V0(d=>{if(d.guards.canActivateChecks.length)return Q(d).pipe(kt(c=>{const u=new AJ(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Ft(c=>{let u=!1;return Q(c).pipe(function Nee(e,t){return bt(n=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=n;if(!r.length)return Q(n);const o=new Set(r.map(l=>l.route)),s=new Set;for(const l of o)if(!s.has(l))for(const d of rk(l))s.add(d);let a=0;return at(s).pipe(ga(l=>o.has(l)?function Lee(e,t,n,i){const r=e.routeConfig,o=e._resolve;return void 0!==(null==r?void 0:r.title)&&!HF(r)&&(o[Bd]=r.title),function Oee(e,t,n,i){const r=b0(e);if(0===r.length)return Q({});const o={};return at(r).pipe(bt(s=>function Vee(e,t,n,i){var r;const o=null!==(r=Gd(t))&&void 0!==r?r:i,s=Pa(e,o);return Ur(s.resolve?s.resolve(t,n):_n(o,()=>s(t,n)))}(e[s],t,n,i).pipe(Go(),kt(a=>{if(a instanceof N0)throw If(new _f,a);o[s]=a}))),C0(1),cA(o),Lr(s=>QF(s)?Gi:wd(s)))}(o,e,t,i).pipe(H(s=>(e._resolvedData=s,e.data=Sf(e,e.parent,n).resolve,null)))}(l,i,e,t):(l.data=Sf(l,l.parent,e).resolve,Q(void 0))),kt(()=>a++),C0(1),bt(l=>a===s.size?Q(n):Gi))})}(this.paramsInheritanceStrategy,this.environmentInjector),kt({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",Vi.NoDataFromResolver)}}))}),kt(c=>{const u=new FJ(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),V0(d=>{const c=u=>{var f;const p=[];null!==(f=u.routeConfig)&&void 0!==f&&f.loadComponent&&!u.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(u.routeConfig).pipe(kt(m=>{u.component=m}),H(()=>{})));for(const m of u.children)p.push(...c(m));return p};return Id(c(d.targetSnapshot.root)).pipe(pf(null),Ci(1))}),V0(()=>this.afterPreactivation()),Ft(()=>{var d;const{currentSnapshot:c,targetSnapshot:u}=s,f=null===(d=this.createViewTransition)||void 0===d?void 0:d.call(this,this.environmentInjector,c.root,u.root);return f?at(f).pipe(H(()=>s)):Q(s)}),H(d=>{const c=function HJ(e,t,n){const i=Yd(e,t._root,n?n._root:void 0);return new qF(i,t)}(i.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=s={...d,targetRouterState:c},this.currentNavigation.targetRouterState=c,s}),kt(()=>{this.events.next(new E0)}),((e,t,n,i)=>H(r=>(new KJ(t,r.targetRouterState,r.currentRouterState,n,i).activate(e),r)))(this.rootContexts,i.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Ci(1),kt({next:d=>{var c;a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new cr(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),null===(c=this.titleStrategy)||void 0===c||c.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{a=!0}}),ef(this.transitionAbortSubject.pipe(kt(d=>{throw d}))),bd(()=>{var d;!a&&!l&&this.cancelNavigationTransition(s,"",Vi.SupersededByNewNavigation),(null===(d=this.currentTransition)||void 0===d?void 0:d.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Lr(d=>{if(l=!0,ZF(d))this.events.next(new Ko(s.id,this.urlSerializer.serialize(s.extractedUrl),d.message,d.cancellationCode)),function YJ(e){return ZF(e)&&Zo(e.url)}(d)?this.events.next(new Df(d.url,d.navigationBehaviorOptions)):s.resolve(!1);else{var c;const u=new M0(s.id,this.urlSerializer.serialize(s.extractedUrl),d,null!==(c=s.targetSnapshot)&&void 0!==c?c:void 0);try{const f=_n(this.environmentInjector,()=>{var p;return null===(p=this.navigationErrorHandler)||void 0===p?void 0:p.call(this,u)});if(f instanceof N0){const{message:p,cancellationCode:m}=If(0,f);this.events.next(new Ko(s.id,this.urlSerializer.serialize(s.extractedUrl),p,m)),this.events.next(new Df(f.redirectTo,f.navigationBehaviorOptions))}else{this.events.next(u);const p=i.errorHandler(d);s.resolve(!!p)}}catch(f){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(f)}}return Gi}))}))}cancelNavigationTransition(i,r,o){const s=new Ko(i.id,this.urlSerializer.serialize(i.extractedUrl),r,o);this.events.next(s),i.resolve(!1)}isUpdatingInternalState(){var i,r;return(null===(i=this.currentTransition)||void 0===i?void 0:i.extractedUrl.toString())!==(null===(r=this.currentTransition)||void 0===r?void 0:r.currentUrlTree.toString())}isUpdatedBrowserUrl(){var i,r,o,s;const a=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),l=null!==(i=null===(r=this.currentNavigation)||void 0===r?void 0:r.targetBrowserUrl)&&void 0!==i?i:null===(o=this.currentNavigation)||void 0===o?void 0:o.extractedUrl;return a.toString()!==(null==l?void 0:l.toString())&&!(null!==(s=this.currentNavigation)&&void 0!==s&&s.extras.skipLocationChange)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Hee(e){return e!==Hd}let Gee=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:()=>S(Yee),providedIn:"root"}),t})();class Wee{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let Yee=(()=>{var e;class t extends Wee{}return(e=t).\u0275fac=(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})(),e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),uk=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:()=>S(Zee),providedIn:"root"}),t})(),Zee=(()=>{var e;class t extends uk{constructor(){super(...arguments),this.location=S(aa),this.urlSerializer
1=S(Aa),this.options=S(La,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=S(q0),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Wo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=zF(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var i,r;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(i=null===(r=this.restoredState())||void 0===r?void 0:r.\u0275routerPageId)&&void 0!==i?i:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(i){return this.location.subscribe(r=>{"popstate"===r.type&&i(r.url,r.state)})}handleRouterEvent(i,r){if(i instanceof xf)this.stateMemento=this.createStateMemento();else if(i instanceof Fa)this.rawUrlTree=r.initialUrl;else if(i instanceof VF){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){var o;const a=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(null!==(o=r.targetBrowserUrl)&&void 0!==o?o:a,r)}}else if(i instanceof E0){var s;this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"!==this.urlUpdateStrategy||r.extras.skipLocationChange||this.setBrowserUrl(null!==(s=r.targetBrowserUrl)&&void 0!==s?s:this.rawUrlTree,r)}else i instanceof Ko&&(i.code===Vi.GuardRejected||i.code===Vi.NoDataFromResolver)?this.restoreHistory(r):i instanceof M0?this.restoreHistory(r,!0):i instanceof cr&&(this.lastSuccessfulId=i.id,this.currentPageId=this.browserPageId)}setBrowserUrl(i,r){const o=i instanceof Wo?this.urlSerializer.serialize(i):i;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const a={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",a)}else{const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",s)}}restoreHistory(i,r=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===i.finalUrl&&0===s&&(this.resetState(i),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(i),this.resetUrlToCurrentUrlTree())}resetState(i){var r;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(r=i.finalUrl)&&void 0!==r?r:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(i,r){return"computed"===this.canceledNavigationResolution?{navigationId:i,\u0275routerPageId:r}:{navigationId:i}}}return(e=t).\u0275fac=(()=>{let n;return function(r){return(n||(n=ht(e)))(r||e)}})(),e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();var Xd=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Xd||{});function hk(e,t){e.events.pipe(Jt(n=>n instanceof cr||n instanceof Ko||n instanceof M0||n instanceof Fa),H(n=>n instanceof cr||n instanceof Fa?Xd.COMPLETE:n instanceof Ko&&(n.code===Vi.Redirect||n.code===Vi.SupersededByNewNavigation)?Xd.REDIRECTING:Xd.FAILED),Jt(n=>n!==Xd.REDIRECTING),Ci(1)).subscribe(()=>{t()})}function Kee(e){throw e}const Qee={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Xee={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let jn=(()=>{var e;class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var i,r;this.disposed=!1,this.console=S(wS),this.stateManager=S(uk),this.options=S(La,{optional:!0})||{},this.pendingTasks=S(Qn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=S(Pf),this.urlSerializer
1=S(Aa),this.location=S(aa),this.urlHandlingStrategy=S(q0),this._events=new Ce,this.errorHandler=this.options.errorHandler||Kee,this.navigated=!1,this.routeReuseStrategy=S(Gee),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(i=null===(r=S(Oa,{optional:!0}))||void 0===r?void 0:r.flat())&&void 0!==i?i:[],this.componentInputBindingEnabled=!!S(Ef,{optional:!0}),this.eventsSubscription=new Xe,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:o=>{this.console.warn(o)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const i=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(null!==o&&null!==s)if(this.stateManager.handleRouterEvent(r,s),r instanceof Ko&&r.code!==Vi.Redirect&&r.code!==Vi.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof cr)this.navigated=!0;else if(r instanceof Df){const a=r.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),d={browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Hee(o.source),...a};this.scheduleNavigation(l,Hd,null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function ete(e){return!(e instanceof E0||e instanceof Df)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Hd,this.stateManager.restoredState())}setUpLocationChangeListener(){var i;null!==(i=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==i||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)}))}navigateToSyncWithBrowser(i,r,o){const s={replaceUrl:!0},a=null!=o&&o.navigationId?o:null;if(o){const d={...o};delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(s.state=d)}const l=this.parseUrl(i);this.scheduleNavigation(l,r,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(j0),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(i,r={}){const{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:d}=r,c=d?this.currentUrlTree.fragment:a;let f,u=null;switch(null!=l?l:this.options.defaultQueryParamsHandling){case"merge":u={...this.currentUrlTree.queryParams,...s};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}null!==u&&(u=this.removeEmptyProps(u));try{f=FF(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof i[0]||"/"!==i[0][0])&&(i=[]),f=this.currentUrlTree.root}return kF(f,i,u,null!=c?c:null)}
1navigateByUrl(i,r={skipLocationChange:!1}){const o=Zo(i)?i:this.parseUrl(i),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Hd,null,r)}navigate(i,r={skipLocationChange:!1}){return function Jee(e){for(let t=0;t<e.length;t++)if(null==e[t])throw new L(4008,!1)}(i),this.navigateByUrl(this.createUrlTree(i,r),r)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,r){let o;if(o=!0===r?{...Qee}:!1===r?{...Xee}:r,Zo(i))return xF(this.currentUrlTree,i,o);const s=this.parseUrl(i);return xF(this.currentUrlTree,s,o)}removeEmptyProps(i){return Object.entries(i).reduce((r,[o,s])=>(null!=s&&(r[o]=s),r),{})}scheduleNavigation(i,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,d,c;a?(l=a.resolve,d=a.reject,c=a.promise):c=new Promise((f,p)=>{l=f,d=p});const u=this.pendingTasks.add();return hk(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:s,resolve:l,reject:d,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class fk{}let nte=(()=>{var e;class t{constructor(i,r,o,s,a){this.router=i,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Jt(i=>i instanceof cr),ga(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(i,r){const o=[];for(const d of r){var s,a;d.providers&&!d._injector&&(d._injector=Tu(d.providers,i,`Route: ${d.path}`));const c=null!==(s=d._injector)&&void 0!==s?s:i,u=null!==(a=d._loadedInjector)&&void 0!==a?a:c;var l;(d.loadChildren&&!d._loadedRoutes&&void 0===d.canLoad||d.loadComponent&&!d._loadedComponent)&&o.push(this.preloadConfig(c,d)),(d.children||d._loadedRoutes)&&o.push(this.processRoutes(u,null!==(l=d.children)&&void 0!==l?l:d._loadedRoutes))}return at(o).pipe(_a())}preloadConfig(i,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(i,r):Q(null);const s=o.pipe(bt(a=>{var l;return null===a?Q(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(null!==(l=a.injector)&&void 0!==l?l:i,a.routes))}));return r.loadComponent&&!r._loadedComponent?at([s,this.loader.loadComponent(r)]).pipe(_a()):s})}}return(e=t).\u0275fac=function(i){return new(i||e)(k(jn),k(PS),k(Yt),k(fk),k(B0))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const U0=new R("");let pk=(()=>{var e;class t{constructor(i,r,o,s,a={}){this.urlSerializer=i,this.transitions=r,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||(a.scrollPositionRestoration="disabled"),a.anchorScrolling||(a.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof xf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=i.navigationTrigger,this.restoredId=i.restoredState?i.restoredState.navigationId:0):i instanceof cr?(this.lastId=i.id,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.urlAfterRedirects).fragment)):i instanceof Fa&&i.code===wf.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof jF&&(i.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(i.position):i.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(i.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(i,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new jF(i,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){var i,r;null===(i=this.routerEventsSubscription)||void 0===i||i.unsubscribe(),null===(r=this.scrollEventsSubscription)||void 0===r||r.unsubscribe()}}return(e=t).\u0275fac=function(i){!function C1(){throw new Error("invalid")}()},e.\u0275prov=j({token:e,factory:e.\u0275fac}),t})();function Bn(e,t){return{\u0275kind:e,\u0275providers:t}}function _k(){const e=S(ft);return t=>{var n,i;const r=e.get(an);if(t!==r.components[0])return;const o=e.get(jn),s=e.get(gk);1===e.get($0)&&o.initialNavigation(),null===(n=e.get(vk,null,_e.Optional))||void 0===n||n.setUpPreloading(),null===(i=e.get(U0,null,_e.Optional))||void 0===i||i.init(),o.resetRootComponentType(r.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const gk=new R("",{factory:()=>new Ce}),$0=new R("",{providedIn:"root",factory:()=>1}),vk=new R("");function ate(e){return Bn(0,[{provide:vk,useExisting:nte},{provide:fk,useExisting:e}])}function dte(e){return Bn(9,[{provide:lk,useValue:Uee},{provide:dk,useValue:{skipNextTransition:!(null==e||!e.skipInitialTransition),...e}}])}const yk=new R("ROUTER_FORROOT_GUARD"),cte=[aa,{provide:Aa,useClass:_f},jn,Wd,{provide:Qo,useFactory:function mk(e){return e.routerState.root},deps:[jn]},B0,[]];let Ck=(()=>{var e;class t{constructor(i){}static forRoot(i,r){return{ngModule:t,providers:[cte,[],{provide:Oa,multi:!0,useValue:i},{provide:yk,useFactory:pte,deps:[[jn,new bc,new xc]]},{provide:La,useValue:r||{}},null!=r&&r.useHash?{provide:Ao,useClass:I6}:{provide:Ao,useClass:SM},{provide:U0,useFactory:()=>{const e=S(z7),t=S(ue),n=S(La),i=S(Pf),r=S(Aa);return n.scrollOffset&&e.setOffset(n.scrollOffset),new pk(r,i,e,t,n)}},null!=r&&r.preloadingStrategy?ate(r.preloadingStrategy).\u0275providers:[],null!=r&&r.initialNavigation?mte(r):[],null!=r&&r.bindToComponentInputs?Bn(8,[GF,{provide:Ef,useExisting:GF}]).\u0275providers:[],null!=r&&r.enableViewTransitions?dte().\u0275providers:[],[{provide:bk,useFactory:_k},{provide:Ju,multi:!0,useExisting:bk}]]}}static forChild(i){return{ngModule:t,providers:[{provide:Oa,multi:!0,useValue:i}]}}}return(e=t).\u0275fac=function(i){return new(i||e)(k(yk,8))},e.\u0275mod=Me({type:e}),e.\u0275inj=De({}),t})();function pte(e){return"guarded"}function mte(e){return["disabled"===e.initialNavigation?Bn(3,[{provide:lg,multi:!0,useFactory:()=>{const t=S(jn);return()=>{t.setUpLocationChangeListener()}}},{provide:$0,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Bn(2,[{provide:$0,useValue:0},{provide:lg,multi:!0,deps:[ft],useFactory:t=>{const n=t.get(M6,Promise.resolve());return()=>n.then(()=>new Promise(i=>{const r=t.get(jn),o=t.get(gk);hk(r,()=>{i(!0)}),t.get(Pf).afterPreactivation=()=>(i(!0),o.closed?Q(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const bk=new R("");let gte=(()=>{var e;class t{constructor(i,r,o){this.elementRef=i,this.dtxModuleService=r,this.translate=o,this.dtxModuleService.setModuleConfigFNativeElement(this.elementRef.nativeElement,ii.isConsoleInterceptorActief,ii.getConsoleInterceptorConfig()),ca.fullHostname=ii.config.hostnameMedia,this.translate.setActiveLang(this.elementRef.nativeElement.getAttribute("taalcodeportal"))}}return(e=t).\u0275fac=function(i){return new(i||e)(I(et),I(uf),I(Ia))},e.\u0275cmp=Ve({type:e,selectors:[["frn-afmelden"]],decls:1,vars:0,template:function(i,r){1&i&&P(0,"router-outlet")},dependencies:[P0],encapsulation:2}),t})();class vte{constructor(t){this.Id=t.Id,this.Titel=t.Titel,this.Kort=t.Kort,this.HoofdAfbeeldingBestanden=JSON.parse(t.HoofdAfbeeldingBestanden),this.Url=t.Url,this.Pad=t.Pad,this.AantalProducten=t.AantalProducten,this.HoofdspecificatieData=JSON.parse(t.HoofdspecificatieData),this.HoofdAfbeeldingPath=ii.getAfbeeldingPath(this.HoofdAfbeeldingBestanden,"klein",!1)}}class yte{constructor(t){this.Id=t.Id,this.Titel=t.Titel,this.AantalProducten=t.AantalProducten,this.HoofdspecificatieData=t.HoofdspecificatieData?JSON.parse(t.HoofdspecificatieData):[],this.AandrijvingData=t.AandrijvingData?JSON.parse(t.AandrijvingData):[],this.AfmetingenData=t.AfmetingenData?JSON.parse(t.AfmetingenData):[],this.GewichtData=t.GewichtData?JSON.parse(t.GewichtData):[],this.EigenschappenData=t.EigenschappenData?JSON.parse(t.EigenschappenData):[],this.OptiesData=t.OptiesData?JSON.parse(t.OptiesData):[]}}class Cte{constructor(t){this.Id=t.Id,this.Titel=t.Titel,this.HoofdAfbeeldingBestanden=JSON.parse(t.HoofdAfbeeldingBestanden),this.Url=t.Url,this.HoofdspecificatieData=t.HoofdspecificatieData?JSON.parse(t.HoofdspecificatieData):[],this.AandrijvingData=t.AandrijvingData?JSON.parse(t.AandrijvingData):[],this.AfmetingenData=t.AfmetingenData?JSON.parse(t.AfmetingenData):[],this.Gewicht=t.Gewicht,this.EigenschappenData=t.EigenschappenData?JSON.parse(t.EigenschappenData):[],this.OptiesData=t.OptiesData?JSON.parse(t.OptiesData):[],this.HoofdAfbeeldingPath=ii.getAfbeeldingPath(this.HoofdAfbeeldingBestanden,"medium",!1)}}class bte{constructor(t){this.Id=t.Id,this.Titel=t.Titel,this.HoofdAfbeeldingBestanden=JSON.parse(t.HoofdAfbeeldingBestanden),this.Url=t.Url,this.HoofdspecificatieData=JSON.parse(t.HoofdspecificatieData),this.AandrijvingData=JSON.parse(t.AandrijvingData),this.AfmetingenData=JSON.parse(t.AfmetingenData),this.Gewicht=t.Gewicht,this.EigenschappenData=t.EigenschappenData?JSON.parse(t.EigenschappenData):[],this.OptiesData=t.OptiesData?JSON.parse(t.OptiesData):[],this.HoofdAfbeeldingPath=ii.getAfbeeldingPath(this.HoofdAfbeeldingBestanden,"medium",!1)}}let xte=(()=>{var e;class t extends Jv{constructor(i,r,o){super(i,r),this.moduleService=i,this.http=r,this.public=!1,this.apiController="WSFrnApp",this.serviceRootName="duotix.FrnApp",this.serviceRootDevAdd="duotix.FrnApp/API/",this.localStorageKeyPrefix=ii.config.localStorageKeyPrefix,this.initModule(o)}EmailWachtrijDeleteF(i,r){return this.http.delete(this.getAPIPath()+"EmailWachtrijDeleteF"+this.getAPIParamConnection()+"LinkId="+i+"&LinkTypeCode="+r,this.deleteOptions)}ItemSelectFGammaCategorieFAlle(){return this.http.get(this.getAPIPath()+"ItemSelectFGammaCategorieFAlle",this.getOptions).pipe(H(i=>{let r=[];
1return i.forEach(o=>{r.push(new vte(o))}),r}))}ItemSelectFFiltersFCategorie(i){return this.http.get(this.getAPIPath()+"ItemSelectFFiltersFCategorie"+this.getAPIParamConnection()+"CategorieItemId="+i,this.getOptions).pipe(H(r=>this.getSingleRecord(r)),H(r=>new yte(r)))}ItemSelectFProductFCategorie(i){return this.http.get(this.getAPIPath()+"ItemSelectFProductFCategorie"+this.getAPIParamConnection()+"CategorieItemId="+i,this.getOptions).pipe(H(r=>{let o=[];return r.forEach(s=>{o.push(new Cte(s))}),o}))}ItemSelectFProduct(i){return this.http.get(this.getAPIPath()+"ItemSelectFProduct"+this.getAPIParamConnection()+"ProductItemId="+i,this.getOptions).pipe(H(r=>this.getSingleRecord(r)),H(r=>r?new bte(r):null))}ItemSelectFMachine(i){return this.http.get(this.getAPIPath()+"ItemSelectFMachine"+this.getAPIParamConnection()+"Machinenummer="+i,this.getOptions).pipe(H(r=>this.getSingleRecord(r)))}}return(e=t).\u0275fac=function(i){return new(i||e)(k(uf),k(Nn),k(df,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function wte(e,t){if(1&e){const n=se();C(0,"h1"),V(1),Ri(2,"transloco"),x(),C(3,"dtx-formulier",0),U("veldValueChange",function(r){return X(n),J(v(2).veldValueChange(r))})("ongeldigFormulier",function(r){return X(n),J(v(2).ongeldigFormulier(r))})("verwerkFormulierKnop",function(r){return X(n),J(v(2).verwerkFormulierKnop(r))}),x()}if(2&e){const n=v(2);g(),Ie(Zl(2,3,"afmelden.titel")),g(2),A("data",n.formulierData)("inVerwerking",n.inVerwerking)}}function Dte(e,t){1&e&&(C(0,"h1"),V(1),Ri(2,"transloco"),x(),C(3,"p"),V(4),Ri(5,"transloco"),x()),2&e&&(g(),Ie(Zl(2,2,"afmelden.bedankt_titel")),g(3),Ie(Zl(5,4,"afmelden.bedankt_info")))}function Ste(e,t){if(1&e&&(C(0,"div"),T(1,wte,4,5)(2,Dte,6,6),x()),2&e){const n=v();g(),M(n.bedankt?2:1)}}let xk=(()=>{var e;class t{constructor(i,r,o,s){this.route=i,this.translate=r,this.beheerAPIService=o,this.appAPIService=s,this.bedankt=!1,this.inVerwerking=!1,this.loading=!0}ngOnInit(){this.currentTaal=this.translate.getActiveLang(),this.route.params.subscribe(i=>{this.machinenummer=i.machinenummer,this.machinenummer?this.appAPIService.ItemSelectFMachine(this.machinenummer).subscribe(r=>{this.machine=r,this.loadData()}):this.loadData()})}loadData(){this.translate.selectTranslateObject("afmelden").subscribe(i=>{this.translationLijst=i,this.initForm()})}initForm(){var i;let r=new iX("","",!1,!1,this.currentTaal),o=r.addLocalstorage(ii.config.localStorageKeyPrefix+"afmelden",ii.FORM_VERSION,ii.FORM_CACHE_DAYS),s=localStorage.getItem(ii.config.localStorageKeyPrefix+"laatsteklant"),a=s?JSON.parse(s):{naam:o.getValue("naam"),voornaam:o.getValue("voornaam")},l=o.getValue("klanttype")?o.getValue("klanttype"):"cdBedrijf";r.setVeldLijstInactief("cdBedrijf"==l?[]:[{Naam:"bedrijf",Zichtbaar:!1},{Naam:"telefoonnummer",Zichtbaar:!1}]),r.rijToevoegen().veldToevoegen("titelgegevens",this.translationLijst.labels.titel_gegevens,"",W.Titel,"",12),console.log(this.translationLijst);let d=r.rijToevoegen().veldToevoegen("klanttype",this.translationLijst.labels.klanttype,"",W.OptieSelect,l,12);d.addValidatorRequired(this.translationLijst.errors.klanttype),this.klanttypeOptieLijst=[{Id:"cdBedrijf",Waarde:this.translationLijst.labels.klanttype_bedrijf,Disabled:!1},{Id:"cdParticulier",Waarde:this.translationLijst.labels.klanttype_particulier,Disabled:!1}];let c=new Vd(this.klanttypeOptieLijst,1);d.addOptieExtraData(c);let u=r.rijToevoegen();u.veldToevoegen("bedrijf",this.translationLijst.labels.bedrijf,"",W.Input,o.getValue("bedrijf"),6).addValidatorRequired(this.translationLijst.errors.bedrijf),u.veldToevoegen("telefoonnummer",this.translationLijst.labels.telefoonnummer,"",W.Input,o.getValue("telefoonnummer"),6).addValidatorRequired(this.translationLijst.errors.telefoonnummer);let m=r.rijToevoegen();m.veldToevoegen("voornaam",this.translationLijst.labels.voornaam,"",W.Input,null==a?void 0:a.voornaam,6).addValidatorRequired(this.translationLijst.errors.voornaam),m.veldToevoegen("naam",this.translationLijst.labels.naam,"",W.Input,null==a?void 0:a.naam,6).addValidatorRequired(this.translationLijst.errors.naam);let y=r.rijToevoegen().veldToevoegen("email",this.translationLijst.labels.email,"",W.Input,o.getValue("email"),12);y.addValidatorPattern("cdEmail",this.translationLijst.errors.email_pattern),y.addValidatorRequired(this.translationLijst.errors.email_verplicht);let _=r.rijToevoegen();_.veldToevoegen("machinetype",this.translationLijst.labels.machinetype,"",W.Input,null===(i=this.machine)||void 0===i?void 0:i.TypeMachine,6).addValidatorRequired(this.translationLijst.errors.machinetype),_.veldToevoegen("machinenummer",this.translationLijst.labels.machinenummer,"",W.Input,this.machinenummer,6).addValidatorRequired(this.translationLijst.errors.machinenummer);let w=r.rijToevoegen(),D=w.veldToevoegen("datum",this.translationLijst.labels.datum,"",W.Datepicker,N.dateToString(new Date),6);D.addValidatorRequired(this.translationLijst.errors.datum);let O=(new t0).initReadOnly(!0,!0,"DD/MM/YYYY",this.currentTaal);O.zetClassPrefix("dtx"),O.zetRequired(!0,this.translationLijst.errors.datum,!1),O.zetMinimum(N.dateToString(new Date),null,!1,!1),O.zetPlacementEnPosition("","left");
1let B=new OA(O);D.addDatepickerExtraData(B);let K=w.veldToevoegen("tijd",this.translationLijst.labels.tijd,"",W.InputMask,o.getValue("tijd"),6);K.addValidatorRequired(this.translationLijst.errors.tijd),K.addInputMaskVeldExtraData({mask:"00:00",showMaskTyped:!0,dropSpecialCharacters:!0}),r.rijToevoegen().veldToevoegen("titellocatie",this.translationLijst.labels.titel_locatie,"",W.Titel,"",12);let ve=o.getValue("locatietype")?o.getValue("locatietype"):"cdZelfdeLocatie",Ne=r.rijToevoegen().veldToevoegen("locatietype","","",W.OptieRadio,ve,12);Ne.addValidatorRequired(this.translationLijst.errors.locatietype),this.locatietypeOptieLijst=[{Id:"cdZelfdeLocatie",Waarde:this.translationLijst.labels.locatietype_zelfdelocatie,Disabled:!1},{Id:"cdAndereLocatie",Waarde:this.translationLijst.labels.locatietype_anderelocatie,Disabled:!1}];let Rt=new Vd(this.locatietypeOptieLijst,1);Ne.addOptieExtraData(Rt);let fi=r.rijToevoegen();fi.veldToevoegen("straat",this.translationLijst.labels.straat,"",W.Input,o.getValue("straat"),8).addValidatorRequired(this.translationLijst.errors.straat),fi.veldToevoegen("huisnummer",this.translationLijst.labels.huisnummer,"",W.Input,o.getValue("huisnummer"),4).addValidatorRequired(this.translationLijst.errors.huisnummer);let Ht=r.rijToevoegen();Ht.veldToevoegen("postcode",this.translationLijst.labels.postcode,"",W.Input,o.getValue("postcode"),6).addValidatorRequired(this.translationLijst.errors.straat),Ht.veldToevoegen("gemeente",this.translationLijst.labels.gemeente,"",W.Input,o.getValue("gemeente"),6).addValidatorRequired(this.translationLijst.errors.gemeente),r.rijToevoegen().veldToevoegen("locatieopmerking",this.translationLijst.labels.locatieopmerking,"",W.Textarea,o.getValue("locatieopmerking"),12),r.rijToevoegen().veldToevoegen("voorwaarden",this.translationLijst.labels.voorwaarden,"",W.Check,!1,12).addValidator(pd.requiredTrue,this.translationLijst.errors.voorwaarden,"required"),r.knopToevoegen(this.translationLijst.labels.knop_afmelden,"dtx-btn dtx-btn-secondary","cdAfmelden",!0,!0,""),this.formulierData=r,this.zetVeldlijstInactief()}veldValueChange(i){("locatietype"==i.Veld.Naam||"klanttype"==i.Veld.Naam)&&this.zetVeldlijstInactief()}zetVeldlijstInactief(){let i=[];"cdZelfdeLocatie"==this.formulierData.getVeld("locatietype").Waarde&&(i=i.concat([{Naam:"straat",Zichtbaar:!1},{Naam:"huisnummer",Zichtbaar:!1},{Naam:"postcode",Zichtbaar:!1},{Naam:"gemeente",Zichtbaar:!1},{Naam:"leveringopmerking",Zichtbaar:!1}])),"cdParticulier"==this.formulierData.getVeld("klanttype").Waarde&&(i=i.concat([{Naam:"bedrijf",Zichtbaar:!1},{Naam:"telefoonnummer",Zichtbaar:!1}])),this.formulierData.setVeldLijstInactief(i),this.loading=!1}ongeldigFormulier(i){this.appAPIService.development&&console.log("ongeldig formulier",i)}verwerkFormulierKnop(i){var r;"cdAfmelden"==i.Knop.code&&(i.Value.taalCode=this.currentTaal,i.Value.locatieTypeOmschrijving=this.locatietypeOptieLijst.find(o=>o.Id==i.Value.locatietype).Waarde,i.Value.locatieopmerkingC=null===(r=i.Value.locatieopmerking)||void 0===r?void 0:r.replace(/(?:\r\n|\r|\n)/g,"<br/>"),i.Value.klanttypeC="cdParticulier"==i.Value.klanttype?"Particulier":"Bedrijf",this.beheerAPIService.InstellingSelectFCode(this.currentTaal,"cdEmailAfmelden","cdApps").subscribe(o=>{let s=o.find(l=>"cdEmailAfmelden"==l.Code);this.beheerAPIService.EmailWachtrijInsertFFormulier("cdMachineAfmelden",0,i.Value.email,"",s?s.Data:"[email protected]","","4Rent - Machine afmelden","frn_MachineAfmelden.nl",i.Value,null).subscribe(l=>{localStorage.removeItem(ii.config.localStorageKeyPrefix+"afmelden"),localStorage.setItem(ii.config.localStorageKeyPrefix+"laatsteklant",JSON.stringify({naam:i.Value.naam,voornaam:i.Value.voornaam})),this.bedankt=!0})}))}}return(e=t).\u0275fac=function(i){return new(i||e)(I(Qo),I(Ia),I(e0),I(xte))},e.\u0275cmp=Ve({type:e,selectors:[["afmelden"]],decls:1,vars:1,consts:[[3,"veldValueChange","ongeldigFormulier","verwerkFormulierKnop","data","inVerwerking"]],template:function(i,r){1&i&&T(0,Ste,3,1,"div"),2&i&&M(r.loading?-1:0)},dependencies:[hX,cF],encapsulation:2}),t})();const Mte=[{path:"",component:xk},{path:":machinenummer",component:xk},{path:"**",redirectTo:""}];let Ete=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e}),e.\u0275inj=De({imports:[Ck.forRoot(Mte),Ck]}),t})(),Ite=(()=>{var e;class t{}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275mod=Me({type:e,bootstrap:[gte]}
1),e.\u0275inj=De({providers:[nT(oT())],imports:[q8,Ete,Pr,ar,NQ.forRoot(ii.config),ZX,_X,LA]}),t})();j8().bootstrapModule(Ite).catch(e=>console.log(e))},842:(ec,tc,Gr)=>{function fn(Ue){return(fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Z){return typeof Z}:function(Z){return Z&&"function"==typeof Symbol&&Z.constructor===Symbol&&Z!==Symbol.prototype?"symbol":typeof Z})(Ue)}function es(Ue,Z,zn){return(Z=function Wr(Ue){var Z=function ct(Ue,Z){if("object"!=fn(Ue)||!Ue)return Ue;var zn=Ue[Symbol.toPrimitive];if(void 0!==zn){var ic=zn.call(Ue,Z||"default");if("object"!=fn(ic))return ic;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Z?String:Number)(Ue)}(Ue,"string");return"symbol"==fn(Z)?Z:Z+""}(Z))in Ue?Object.defineProperty(Ue,Z,{value:zn,enumerable:!0,configurable:!0,writable:!0}):Ue[Z]=zn,Ue}Gr.d(tc,{A:()=>es})}},ec=>{ec(ec.s=670)}]);

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.